/* Fluxa Assistência — tema (frio/tecnológico) e componentes próprios do segmento */
:root {
  --bg: #f3f5f9; --surface: #fff; --ink: #141a26; --ink-2: #4a5568; --muted: #7a8599; --line: #e2e7ef;
  --side: #0f1626; --side-2: #1b2538; --accent-ink: #fff; --accent-soft: #e6eefc;
}
.sidebar { color: #c7d0e0; display: flex; flex-direction: column; }
.sidebar .brand { border-bottom-color: #1e2a40; }
.sidebar .brand .logo { color: #fff; }
.sidebar a { color: #c7d0e0; }
.sidebar .group { color: #6f7d96; }
.sidebar a.locked { opacity: .55; }
.sidebar a .lock { margin-left: auto; display: inline-flex; }
.sidebar nav { flex: 1; }
.plano-tag { font-size: 11px; color: #6f7d96; padding: 12px 20px 18px; border-top: 1px solid #1e2a40; }
.topbar .avatar { color: var(--accent); }
.busca-rapida { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--muted); }
.busca-rapida input { border: 0; background: transparent; margin: 0; padding: 7px 0; width: 210px; outline: none; box-shadow: none; }
@media (max-width: 760px) { .busca-rapida { display: none; } }

/* OS */
.os-num { font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .3px; }
.os-head { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.os-head h1 { margin: 0; }
.status-flow { display: flex; flex-wrap: wrap; gap: 6px; }
.status-flow button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; }
.status-flow button:hover { border-color: var(--accent); color: var(--accent); }
.status-flow button.atual { background: var(--accent); color: #fff; border-color: var(--accent); cursor: default; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 14px; font-size: 13.5px; }
.timeline li::before { content: ''; position: absolute; left: -22px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--surface); }
.timeline li.interno::before { background: var(--gray); }
.timeline .quando { color: var(--muted); font-size: 12px; }
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 14px; }
.checklist-grid .ck { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding: 4px 0; font-size: 13px; }
.checklist-grid select { width: auto; margin: 0; padding: 4px 6px; font-size: 12.5px; }
.fotos-os { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.fotos-os figure { margin: 0; position: relative; }
.fotos-os img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.fotos-os figcaption { font-size: 11.5px; color: var(--muted); }
.fotos-os form { position: absolute; top: 4px; right: 4px; }
.totais-os { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; max-width: 320px; margin-left: auto; font-size: 14px; }
.totais-os .grande { font-size: 19px; font-weight: 800; }
.senha-box { font-family: ui-monospace, monospace; background: var(--bg); padding: 2px 8px; border-radius: 6px; }
.kanban-resumo { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.kanban-resumo a { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--ink); }
.kanban-resumo a b { font-size: 16px; margin-left: 6px; }
.kanban-resumo a.ativo { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
tr.urgente td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.travado-card { text-align: center; padding: 26px; }
