/* ============================================================
   SIRENE — Manual do sistema
   ============================================================ */
[data-manual] { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.man-sumario { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 10px; }
.man-busca { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--ipad-fill-tertiary); }
.man-busca input { flex: 1; border: 0; background: transparent; color: var(--ipad-text-primary); font: 14px var(--font); outline: none; }
.man-busca i { color: var(--ipad-text-tertiary); }
.man-nav { display: flex; flex-direction: column; gap: 2px; }
.man-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 0; background: transparent; color: var(--ipad-text-primary); font: 500 13.5px var(--font); text-align: left; cursor: pointer; }
.man-item:hover { background: var(--ipad-fill-tertiary); }
.man-item.on { background: color-mix(in srgb, var(--ipad-blue) 16%, transparent); color: var(--ipad-blue); font-weight: 700; }
.man-item i { width: 18px; text-align: center; color: var(--ipad-text-secondary); } .man-item.on i { color: var(--ipad-blue); }
.man-num { width: 20px; height: 20px; border-radius: 6px; background: var(--ipad-fill-secondary); font: 700 11px var(--font-mono); display: grid; place-items: center; color: var(--ipad-text-secondary); flex: 0 0 auto; }
.man-rodape { line-height: 1.4; }
.man-conteudo { padding: 24px 28px; min-height: 60vh; }
.man-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.man-md { font-size: 14.5px; line-height: 1.6; max-width: 900px; }
.man-md h1 { font-size: 26px; margin: 4px 0 14px; letter-spacing: -.01em; }
.man-md h2 { font-size: 19px; margin: 26px 0 10px; padding-top: 12px; border-top: 0.5px solid var(--ipad-separator); }
.man-md h3 { font-size: 15.5px; margin: 18px 0 8px; }
.man-md p { margin: 0 0 10px; } .man-md ul, .man-md ol { margin: 0 0 12px; padding-left: 22px; } .man-md li { margin: 3px 0; }
.man-md code { font-family: var(--font-mono); font-size: 12.5px; background: var(--ipad-fill-tertiary); padding: 1px 6px; border-radius: 6px; }
.man-md pre { background: #0b0d12; color: #e6e9ef; padding: 12px 14px; border-radius: 12px; overflow-x: auto; font-size: 12.5px; line-height: 1.5; margin: 8px 0 14px; }
.man-md pre code { background: transparent; padding: 0; color: inherit; }
.man-md blockquote { margin: 0 0 12px; padding: 8px 14px; border-left: 4px solid var(--ipad-blue); background: var(--ipad-fill-tertiary); border-radius: 8px; }
.man-md a { color: var(--ipad-blue); text-decoration: none; } .man-md a:hover { text-decoration: underline; }
.man-tabela { overflow-x: auto; margin: 6px 0 16px; border: 0.5px solid var(--ipad-separator); border-radius: 12px; }
.man-md table { border-collapse: collapse; width: 100%; font-size: 13px; }
.man-md th, .man-md td { padding: 8px 10px; border-bottom: 0.5px solid var(--ipad-separator); text-align: left; vertical-align: top; }
.man-md th { background: var(--ipad-fill-tertiary); font-weight: 700; } .man-md tr:last-child td { border-bottom: 0; }
.man-md mark { background: color-mix(in srgb, var(--ipad-yellow) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.man-pager { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 14px; border-top: 0.5px solid var(--ipad-separator); }
.man-resultados { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.man-hit { display: flex; flex-direction: column; text-align: left; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--ipad-separator); background: var(--ipad-card); color: var(--ipad-text-primary); cursor: pointer; font-size: 13px; }
.man-hit span { color: var(--ipad-text-secondary); font-size: 12.5px; }
@media (max-width: 991.98px) { [data-manual] { grid-template-columns: 1fr; } .man-sumario { position: static; } .man-nav { flex-direction: row; flex-wrap: wrap; } }
@media print { .ipad-sidebar, .ipad-status, .ipad-navbar, .man-sumario, .man-topo, .man-pager, .comms-dock { display: none !important; } .man-conteudo { box-shadow: none; border: 0; } }
