/* TB Processos — protótipo. Marca do Grupo TB (grupotbhub.com.br): marinho #07436E, azul #046BD2, verde #76C04E. */
:root {
  --navy: #07436E; --navy-2: #0A3D62; --navy-9: #042A45;
  --blue: #046BD2; --blue-h: #0559AE; --blue-50: #EAF4FF; --blue-100: #D3E8FD; --sky: #ACDCFF;
  --green: #76C04E; --green-d: #2F7D14; --green-50: #EDF8E6;
  --amber: #F0A43A; --amber-d: #9A5B00; --amber-50: #FFF4E0;
  --red: #E0464E; --red-d: #B42129; --red-50: #FDECEC;
  --bg: #F2F5F9; --surface: #FFFFFF; --surface-2: #F7F9FC; --line: #E1E8F0; --line-2: #EDF1F6;
  --ink: #0F2235; --ink-2: #3A4B5D; --ink-3: #5E7085; --ink-4: #76869A;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 26px;
  --sh-1: 0 1px 2px rgba(15,34,53,.06), 0 1px 1px rgba(15,34,53,.03);
  --sh-2: 0 10px 28px -12px rgba(7,67,110,.22), 0 2px 6px rgba(15,34,53,.05);
  --sh-3: 0 30px 70px -24px rgba(4,42,69,.45), 0 8px 20px rgba(4,42,69,.12);
  --t: Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --d: 'Be Vietnam Pro', Roboto, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --side: 252px; --cop: 400px; --top: 68px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--t); -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--blue); text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 2px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 16px; height: 16px; } .ic.lg { width: 24px; height: 24px; } .ic.xl { width: 32px; height: 32px; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------- casca ------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0,1fr) var(--cop); height: 100dvh; transition: grid-template-columns .35s var(--ease); }
.app.cop-fechado { grid-template-columns: var(--side) minmax(0,1fr) 0px; }
.lado { background: radial-gradient(120% 60% at 0% 0%, #0b5a92 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-9) 100%); color: #DCEBF8; display: flex; flex-direction: column; padding: 20px 14px 14px; min-height: 0; position: relative; overflow: hidden; }
.lado::after { content: ''; position: absolute; inset: auto -60px -80px auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(118,192,78,.22), transparent 65%); pointer-events: none; }
.lado-logo { padding: 4px 10px 22px; }
.lado-logo img { height: 40px; width: auto; }
.lado-app { display: flex; align-items: center; gap: 8px; margin: 0 10px 18px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.07); font: 600 13px var(--d); color: #fff; }
.lado-app small { display: block; font: 500 11px var(--t); color: #9FC3E2; }
.lado-app .bola { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; color: #fff; }
.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; scrollbar-width: none; }
.nav-sec { font: 600 10.5px var(--d); letter-spacing: .1em; text-transform: uppercase; color: #7FA6C8; padding: 14px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #CFE2F3; font: 500 14.5px var(--d); position: relative; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a.ativo { background: #fff; color: var(--navy); box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.nav a.ativo .ic { color: var(--blue); }
.nav .conta { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--green); color: #fff; font: 700 11.5px var(--d); display: grid; place-items: center; }
.nav a.ativo .conta { background: var(--blue); }
.lado-pe { border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; margin-top: 8px; position: relative; z-index: 1; }
.vercomo { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 12px; text-align: left; color: #fff; transition: background .2s; }
.vercomo:hover { background: rgba(255,255,255,.08); }
.vercomo small { display: block; color: #9FC3E2; font-size: 11.5px; }
.vercomo b { font: 600 13.5px var(--d); }

.centro { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.topo { height: var(--top); flex: none; display: flex; align-items: center; gap: 14px; padding: 0 28px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; position: relative; z-index: 5; transition: border-color .2s; }
.topo.rolou { border-bottom-color: var(--line); }
.topo-marca { display: none; }
.busca { flex: 1; min-width: 0; max-width: 460px; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); font-size: 14px; box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s; }
.busca:hover { border-color: var(--sky); }
.busca span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.busca kbd { white-space: nowrap; flex: none;  margin-left: auto; font: 600 11px var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-3); }
.topo-acoes { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.selo-demo { font: 600 11px var(--d); letter-spacing: .04em; color: var(--amber-d); background: var(--amber-50); border: 1px solid #F6D9A8; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.bt-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); position: relative; transition: background .2s; }
.bt-ic:hover { background: var(--surface); box-shadow: var(--sh-1); }
.bt-ic .ponto { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--bg); }
.bt-assist { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 6px; border-radius: 99px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font: 600 14px var(--d); box-shadow: 0 10px 24px -10px rgba(4,107,210,.8); transition: transform .2s var(--ease), box-shadow .2s; }
.bt-assist:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(4,107,210,.9); }
.bt-assist .orbe { width: 30px; height: 30px; }
.conteudo { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px 28px 48px; scroll-behavior: smooth; container: principal / inline-size; }
.tela { max-width: 1240px; margin: 0 auto; animation: entra .38s var(--ease) both; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------- tipografia e cabeçalhos ------- */
h1, h2, h3, h4 { font-family: var(--d); margin: 0; letter-spacing: -.02em; color: var(--ink); }
.cab { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 14px 0 22px; }
.cab h1 { font-size: 30px; font-weight: 700; line-height: 1.15; }
.cab p { margin: 6px 0 0; color: var(--ink-3); font-size: 15px; }
.cab .dir { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.migalha { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13.5px; margin-top: 10px; }
.migalha a { color: var(--ink-3); font-weight: 500; } .migalha a:hover { color: var(--blue); }
.sub { font: 600 12px var(--d); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ------- botões ------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font: 600 14.5px var(--d); white-space: nowrap; transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s; user-select: none; }
.btn:active { transform: scale(.98); }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(4,107,210,.7); }
.btn-p:hover { background: var(--blue-h); }
.btn-s { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.btn-s:hover { border-color: var(--sky); }
.btn-g { color: var(--ink-2); } .btn-g:hover { background: var(--line-2); }
.btn-ok { background: var(--green-d); color: #fff; } .btn-ok:hover { filter: brightness(1.08); }
.btn-perigo { background: var(--red-50); color: var(--red-d); } .btn-perigo:hover { background: #fbdcdc; }
.btn-ia { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #2a9d6a 100%); color: #fff; box-shadow: 0 10px 22px -10px rgba(4,107,210,.8); }
.btn-ia:hover { filter: brightness(1.08); }
.btn.sm { height: 36px; padding: 0 13px; font-size: 13.5px; border-radius: 10px; }
.btn.lg { height: 54px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn[disabled], .btn.travado { opacity: .45; pointer-events: none; }

/* ------- cartões ------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card-p { padding: 22px; }
.card-cab { display: flex; align-items: center; gap: 10px; padding: 18px 22px 0; }
.card-cab h3 { font-size: 16.5px; font-weight: 700; }
.card-cab .dir { margin-left: auto; }
.grade { display: grid; gap: 18px; }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-21 { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
.g-12 { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); }
.g-12.g-dto { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
.grade > * { min-width: 0; }

/* boas-vindas */
.hero { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 30px 32px; color: #fff; background: radial-gradient(90% 140% at 100% 0%, rgba(118,192,78,.35) 0%, transparent 55%), radial-gradient(70% 120% at 0% 100%, rgba(4,107,210,.75) 0%, transparent 60%), linear-gradient(120deg, var(--navy-9), var(--navy) 55%, #0a5c97); box-shadow: var(--sh-2); margin-bottom: 18px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero > * { position: relative; }
.hero h1 { color: #fff; font-size: 30px; font-weight: 700; }
.hero p { color: #CFE4F6; margin: 8px 0 0; font-size: 16px; max-width: 560px; }
.hero-acoes { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero .btn-s { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.hero .btn-s:hover { background: rgba(255,255,255,.2); }
.hero .btn-branco { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.hero { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 28px; align-items: center; }
.hero > h1, .hero > p, .hero > .hero-acoes { grid-column: 1; }
.hero-ilu { grid-column: 2; grid-row: 1 / span 3; width: 236px; opacity: .97; }

/* KPIs */
.kpi { padding: 18px 20px; position: relative; overflow: hidden; }
.kpi .rot { min-height: 42px; display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13.5px; font-weight: 500; }
.kpi .rot .ic-bola { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.kpi .val { font: 700 34px/1.1 var(--d); letter-spacing: -.03em; margin-top: 12px; }
.kpi .val small { font-size: 16px; color: var(--ink-3); font-weight: 600; margin-left: 4px; }
.kpi .det { font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.kpi .det .sobe, .kpi .det .desce { white-space: nowrap; margin-right: 4px; }
.sobe { color: var(--green-d); font-weight: 600; } .desce { color: var(--red-d); font-weight: 600; }
.tom-azul { background: var(--blue-50); color: var(--blue); } .tom-verde { background: var(--green-50); color: var(--green-d); }
.tom-ambar { background: var(--amber-50); color: var(--amber-d); } .tom-verm { background: var(--red-50); color: var(--red-d); }
.tom-marinho { background: #E3EEF7; color: var(--navy); }
.barra { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.barra > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: left; animation: cresce 1s var(--ease) both; }
@keyframes cresce { from { transform: scaleX(0); } }

/* pendências */
.pend { display: flex; flex-direction: column; }
.pend-item { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line-2); transition: background .2s; }
.pend-item:first-child { border-top: 0; }
.pend-item:hover { background: var(--surface-2); }
.pend-item .ic-bola { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.pend-item .txt { min-width: 0; flex: 1; }
.pend-item b { font: 600 14.5px var(--d); display: block; }
.pend-item span { color: var(--ink-3); font-size: 13.5px; }

/* pílulas */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font: 600 12px var(--d); white-space: nowrap; }
.pill .pt { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-ok { background: var(--green-50); color: var(--green-d); } .p-aviso { background: var(--amber-50); color: var(--amber-d); }
.p-ruim { background: var(--red-50); color: var(--red-d); } .p-info { background: var(--blue-50); color: var(--blue); }
.p-neutra { background: var(--line-2); color: var(--ink-2); } .p-ia { background: linear-gradient(135deg, #e7f1ff, #e9f7e2); color: var(--navy); }
.cls-imediato { background: var(--red-50); color: var(--red-d); } .cls-pontual { background: var(--amber-50); color: var(--amber-d); } .cls-multiplicador { background: var(--green-50); color: var(--green-d); }

/* filtros */
.filtros { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.campo-busca { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 280px; flex: 1; max-width: 420px; color: var(--ink-3); }
.campo-busca input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; color: var(--ink); font-size: 14.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font: 500 13.5px var(--d); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.chip:hover { border-color: var(--sky); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { font-size: 11.5px; opacity: .7; }

/* tabela */
.tabela { width: 100%; border-collapse: separate; border-spacing: 0; }
.tabela th { text-align: left; font: 600 12px var(--d); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tabela th:first-child { border-top-left-radius: var(--r-lg); } .tabela th:last-child { border-top-right-radius: var(--r-lg); }
.tabela td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: 14.5px; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela tbody tr { transition: background .15s; }
.tabela tbody tr.click { cursor: pointer; }
.tabela tbody tr.click:hover { background: #F5F9FE; }
.tabela .nome b { font: 600 14.5px var(--d); display: block; color: var(--ink); }
.tabela .nome span { color: var(--ink-3); font-size: 13px; }
.nota-mini { font: 700 15px var(--d); }
.lista-cards { display: none; }

/* avatar */
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 12.5px var(--d); flex: none; }
.av.lg { width: 48px; height: 48px; font-size: 16px; }
span.av { color: #fff !important; font-size: 12.5px !important; } span.av.lg { font-size: 16px !important; }
.pessoa { display: flex; align-items: center; gap: 10px; }
.pessoa b { font: 600 14px var(--d); display: block; } .pessoa span { font-size: 12.5px; color: var(--ink-3); }

/* processo detalhe */
.doc-wrap { background: linear-gradient(180deg, #E9EEF4, #DDE5EE); border-radius: var(--r-lg); padding: 26px; display: flex; justify-content: center; position: relative; overflow: hidden; min-height: 520px; }
.folha { background: #fff; width: 100%; max-width: 560px; border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(15,34,53,.45), 0 2px 6px rgba(15,34,53,.08); padding: 34px 38px; font-size: 13px; color: #24313f; position: relative; }
.folha-cab { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 16px; }
.folha-cab img { height: 30px; width: auto; }
.folha-cab .meta { margin-left: auto; text-align: right; font: 600 10.5px var(--mono); color: var(--ink-3); line-height: 1.5; }
.folha h4 { font-size: 15px; margin: 0 0 12px; color: var(--navy); }
.folha h5 { font: 700 11px var(--d); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 16px 0 6px; }
.folha p, .folha li { margin: 0 0 6px; line-height: 1.55; }
.folha ol { padding-left: 18px; margin: 0; }
.scan { position: absolute; left: 0; right: 0; height: 90px; top: -90px; background: linear-gradient(180deg, transparent, rgba(4,107,210,.18) 70%, rgba(118,192,78,.55) 100%); border-bottom: 2px solid var(--green); animation: scan 1.6s linear infinite; pointer-events: none; }
@keyframes scan { to { top: 100%; } }
.marca-agua { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.marca-agua span { transform: rotate(-32deg); font: 800 44px var(--d); color: rgba(7,67,110,.07); white-space: nowrap; letter-spacing: .06em; }
.info-lista { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.info-lista dt { color: var(--ink-3); } .info-lista dd { margin: 0; font-weight: 500; text-align: right; }
.linha-tempo { position: relative; padding-left: 22px; }
.linha-tempo::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.lt-item { position: relative; padding: 0 0 16px; }
.lt-item::before { content: ''; position: absolute; left: -20px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--sky); }
.lt-item.atual::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.lt-item b { font: 600 14px var(--d); } .lt-item p { margin: 2px 0 0; color: var(--ink-3); font-size: 13px; }

/* DTO */
.perg { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 8px; transition: border-color .2s, box-shadow .2s; }
.perg:hover { border-color: var(--sky); }
.perg .num { width: 28px; height: 28px; border-radius: 9px; background: var(--blue-50); color: var(--blue); font: 700 12.5px var(--d); display: grid; place-items: center; flex: none; }
.perg .txt { flex: 1; min-width: 0; padding-top: 3px; }
.perg textarea { width: 100%; border: 0; outline: 0; resize: none; background: transparent; font-size: 14.5px; line-height: 1.45; padding: 0; }
.perg .opc { display: flex; gap: 6px; margin-top: 8px; }
.perg .opc span { font: 600 11px var(--d); padding: 3px 8px; border-radius: 6px; }
.perg .opc .a { background: var(--green-50); color: var(--green-d); } .perg .opc .n { background: var(--red-50); color: var(--red-d); }
.perg.nova { animation: aparece .45s var(--ease) both; }
@keyframes aparece { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* auditoria — assistente */
.wiz { max-width: 820px; margin: 0 auto; }
.passos { display: flex; gap: 8px; margin: 10px 0 24px; }
.passos .pa { flex: 1; display: flex; align-items: center; gap: 8px; font: 600 13px var(--d); color: var(--ink-4); }
.passos .pa i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 12px; flex: none; background: var(--surface); }
.passos .pa.feito { color: var(--green-d); } .passos .pa.feito i { background: var(--green); border-color: var(--green); color: #fff; }
.passos .pa.atual { color: var(--navy); } .passos .pa.atual i { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.passos .pa::after { content: ''; flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.passos .pa:last-child::after { display: none; }
.escolha { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.op-card { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); transition: all .2s var(--ease); display: flex; gap: 12px; align-items: flex-start; }
.op-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--sh-2); }
.op-card.on { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px var(--blue-100); }
.op-card b { font: 600 14.5px var(--d); display: block; } .op-card span { color: var(--ink-3); font-size: 13px; }
.campos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.campo label { display: block; font: 600 13px var(--d); color: var(--ink-2); margin-bottom: 6px; }
.campo label small { font: 400 12px var(--t); color: var(--ink-4); margin-left: 4px; }
.campo input, .campo select, .campo textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); outline: 0; transition: border-color .2s, box-shadow .2s; font-size: 15px; }
.campo textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.campo.cheio { grid-column: 1 / -1; }
.campo .erro { color: var(--red-d); font-size: 12.5px; margin-top: 4px; display: none; }
.campo.invalido input, .campo.invalido select { border-color: var(--red); } .campo.invalido .erro { display: block; }
.pergunta-grande { text-align: center; padding: 34px 30px 28px; }
.pergunta-grande .cont { font: 600 13px var(--d); color: var(--ink-3); letter-spacing: .04em; }
.pergunta-grande h2 { font-size: 26px; line-height: 1.3; font-weight: 700; margin: 14px auto 26px; max-width: 620px; }
.resp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
.resp button { height: 92px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface); font: 700 19px var(--d); display: flex; align-items: center; justify-content: center; gap: 12px; transition: all .18s var(--ease); }
.resp .sim:hover, .resp .sim.on { border-color: var(--green); background: var(--green-50); color: var(--green-d); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(47,125,20,.6); }
.resp .nao:hover, .resp .nao.on { border-color: var(--red); background: var(--red-50); color: var(--red-d); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(180,33,41,.55); }
.resp kbd { font: 600 11px var(--mono); padding: 2px 6px; border-radius: 6px; background: rgba(15,34,53,.06); color: var(--ink-3); }
.resp .sim .ic { color: var(--green-d); } .resp .nao .ic { color: var(--red-d); }
.extras { max-width: 560px; margin: 18px auto 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.anexo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--blue-50); color: var(--navy); font-size: 13px; font-weight: 500; }
.progresso-aud { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progresso-aud i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: inherit; transition: width .4s var(--ease); }
.mini-mapa { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.mini-mapa button { width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--line); font: 600 12px var(--d); color: var(--ink-3); background: var(--surface); }
.mini-mapa button.ok { background: var(--green-50); border-color: var(--green); color: var(--green-d); }
.mini-mapa button.no { background: var(--red-50); border-color: var(--red); color: var(--red-d); }
.mini-mapa button.agora { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }

/* resultado */
.resultado { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: center; padding: 28px; }
.medidor { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.medidor svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.medidor .trilho { stroke: var(--line-2); }
.medidor .arco { transition: stroke-dashoffset 1.4s var(--ease); }
.medidor .meio { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.medidor .meio b { font: 800 64px/1 var(--d); letter-spacing: -.04em; display: block; }
.medidor .meio span { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.cls-grande { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; font: 700 17px var(--d); }
.plano { margin-top: 16px; border-radius: 16px; background: linear-gradient(135deg, #F1F7FF, #F1FAEC); border: 1px solid #D5E7F7; padding: 16px 18px; }
.plano h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.plano ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.plano li { margin: 4px 0; }
.trava { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line); color: var(--ink-2); font-size: 14px; }

/* gráficos */
.graf-barras { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 22px; }
.gb-linha { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; font-size: 13.5px; }
.gb-linha span { color: var(--ink-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-linha b { font: 700 14px var(--d); text-align: right; }
.gb-trilho { height: 12px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.gb-trilho i { display: block; height: 100%; border-radius: inherit; transform-origin: left; animation: cresce 1.1s var(--ease) both; }
.rosca { display: flex; align-items: center; gap: 22px; padding: 18px 22px 22px; }
.rosca svg { width: 150px; height: 150px; flex: none; transform: rotate(-90deg); }
.rosca .leg { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; flex: 1; min-width: 0; }
.rosca .leg div { display: flex; align-items: center; gap: 8px; }
.rosca .leg i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.rosca .leg b { margin-left: auto; font: 700 14px var(--d); }
.linha-graf { padding: 10px 18px 16px; }
.linha-graf svg { width: 100%; height: 190px; overflow: visible; }

/* trilha */
.ev { display: flex; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line-2); align-items: flex-start; }
.ev:first-child { border-top: 0; }
.ev .ic-bola { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ev .txt { flex: 1; min-width: 0; }
.ev .txt b { font-weight: 600; font-family: var(--d); font-size: 14px; }
.ev .txt p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.ev time { font-size: 12.5px; color: var(--ink-4); white-space: nowrap; }
.dia-sep { padding: 12px 20px 6px; font: 600 12px var(--d); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); border-top: 1px solid var(--line-2); }

/* permissões */
.matriz { width: 100%; border-collapse: collapse; font-size: 14px; }
.matriz th, .matriz td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: center; }
.matriz th:first-child, .matriz td:first-child { text-align: left; }
.matriz th { font: 600 13px var(--d); color: var(--ink-2); }
.sim-ic { color: var(--green-d); } .nao-ic { color: var(--ink-4); }

/* vazio */
.vazio { text-align: center; padding: 44px 20px; color: var(--ink-3); }
.vazio .ic-bola { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin: 0 auto 14px; }
.vazio h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ------- copiloto ------- */
.cop { background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; position: relative; z-index: 20; }
.app.cop-fechado .cop { border-left-color: transparent; }
.cop-in { width: var(--cop); display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cop-cab { padding: 16px 18px 0; flex: none; }
.cop-cab .l1 { display: flex; align-items: center; gap: 12px; }
.orbe { width: 40px; height: 40px; border-radius: 50%; position: relative; flex: none; background: conic-gradient(from 210deg, #046BD2, #76C04E, #ACDCFF, #046BD2); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(4,107,210,.7); }
.orbe::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2f8de6, var(--navy) 70%); }
.orbe .ic { position: relative; z-index: 1; color: #fff; width: 55%; height: 55%; }
.orbe.vivo { animation: pulsa 2.2s ease-in-out infinite; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 7px rgba(118,192,78,.18), 0 6px 18px -6px rgba(4,107,210,.7); } }
.cop-cab h3 { font-size: 16px; } .cop-cab .l1 small { display: flex; align-items: center; gap: 6px; color: var(--green-d); font-size: 12.5px; font-weight: 500; }
.cop-cab .l1 small i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.cop-cab .fechar { margin-left: auto; }
.abas { display: flex; gap: 4px; margin-top: 14px; padding: 4px; background: var(--line-2); border-radius: 12px; }
.abas button { flex: 1; height: 34px; border-radius: 9px; font: 600 13.5px var(--d); color: var(--ink-3); display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .2s; }
.abas button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.abas .conta { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 10.5px; display: grid; place-items: center; }
.cop-corpo { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 92%; font-size: 14.5px; line-height: 1.5; animation: aparece .35s var(--ease) both; }
.msg.eu { align-self: flex-end; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 18px 18px 4px 18px; }
.msg.ia { align-self: flex-start; display: flex; gap: 10px; }
.msg.ia .orbe { width: 28px; height: 28px; box-shadow: none; }
.msg.ia .bolha { background: var(--surface-2); border: 1px solid var(--line-2); padding: 11px 14px; border-radius: 4px 18px 18px 18px; color: var(--ink); }
.msg.ia .bolha p { margin: 0 0 6px; } .msg.ia .bolha p:last-child { margin: 0; }
.msg.ia .bolha ul { margin: 4px 0 6px; padding-left: 18px; } .msg.ia .bolha li { margin: 3px 0; }
.digitando { display: inline-flex; gap: 4px; padding: 4px 2px; }
.digitando i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); animation: pula 1s infinite; }
.digitando i:nth-child(2) { animation-delay: .15s; } .digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pula { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.acoes-msg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.acoes-msg .btn { height: 34px; font-size: 13px; padding: 0 12px; border-radius: 10px; }
.exec { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); width: 100%; animation: aparece .35s var(--ease) both; }
.exec-cab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #F3F8FF, #F2FAEE); border-bottom: 1px solid var(--line-2); }
.exec-cab b { font: 600 13.5px var(--d); flex: 1; min-width: 0; }
.exec-cab time { font: 500 11.5px var(--mono); color: var(--ink-3); }
.exec-passos { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.ep { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
.ep .st { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--line); }
.ep.rodando { color: var(--ink); font-weight: 500; } .ep.rodando .st { border-color: var(--blue-100); border-top-color: var(--blue); animation: gira .8s linear infinite; }
.ep.feito { color: var(--ink-2); } .ep.feito .st { background: var(--green); border-color: var(--green); color: #fff; }
.ep.espera .st { background: var(--amber-50); border-color: var(--amber); color: var(--amber-d); }
.ep .st .ic { width: 12px; height: 12px; stroke-width: 3; }
@keyframes gira { to { transform: rotate(360deg); } }
.exec-fim { padding: 0 14px 14px; }
.exec-fim .previa { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; max-height: 340px; overflow-y: auto; scrollbar-width: thin; }
.exec-fim .previa ol { margin: 0; padding-left: 18px; } .exec-fim .previa li { margin: 4px 0; }
.st-pill { font: 600 11px var(--d); padding: 3px 8px; border-radius: 99px; }
.st-rodando { background: var(--blue-50); color: var(--blue); } .st-aguardando { background: var(--amber-50); color: var(--amber-d); } .st-concluida { background: var(--green-50); color: var(--green-d); } .st-cancelada { background: var(--line-2); color: var(--ink-3); }
.sugestoes { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 2px 18px 10px; flex: none; mask-image: linear-gradient(90deg, #000 88%, transparent); }
.sugestoes::-webkit-scrollbar { display: none; }
.sug { flex: none; }
.sug { height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 12.8px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; transition: all .2s; white-space: nowrap; }
.sug:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.sug .ic { width: 14px; height: 14px; color: var(--blue); }
.cop-pe { padding: 0 14px 14px; flex: none; }
.compor { display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 14px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.compor:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.compor textarea { scrollbar-width: none; overflow-y: auto; flex: 1; border: 0; outline: 0; resize: none; max-height: 120px; min-height: 24px; padding: 8px 0; font-size: 14.5px; line-height: 1.4; background: none; }
.compor .enviar { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; transition: background .2s, transform .15s; }
.compor .enviar:hover { background: var(--blue-h); } .compor .enviar:active { transform: scale(.94); }
.cop-aviso { text-align: center; font-size: 11.5px; color: var(--ink-4); margin-top: 8px; }
.cop-vazio { text-align: center; padding: 26px 10px 6px; }
.cop-vazio .orbe { width: 64px; height: 64px; margin: 0 auto 14px; }
.cop-vazio h3 { font-size: 18px; } .cop-vazio p { color: var(--ink-3); font-size: 14px; margin: 6px 0 0; }
.cop-cards { display: grid; gap: 8px; margin-top: 18px; text-align: left; }
.cop-card { text-align: left; width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: all .2s var(--ease); }
.cop-card:hover { border-color: var(--blue); box-shadow: var(--sh-2); transform: translateY(-1px); }
.cop-card > div { flex: 1; min-width: 0; }
.cop-card .ic-bola { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.cop-card b { font: 600 13.5px var(--d); display: block; } .cop-card span { font-size: 12.5px; color: var(--ink-3); }
.fab-cop { display: none; }

/* ------- modal, toast, paleta ------- */
.fundo { position: fixed; inset: 0; background: rgba(4,26,43,.45); backdrop-filter: blur(4px); z-index: 80; display: grid; place-items: center; padding: 20px; animation: fade .2s both; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-3); width: 100%; max-width: 560px; max-height: calc(100dvh - 40px); display: flex; flex-direction: column; animation: sobe .32s var(--ease) both; overflow: hidden; }
.modal.lg { max-width: 860px; }
@keyframes sobe { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-cab { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px 8px; }
.modal-cab h2 { font-size: 21px; } .modal-cab p { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
.modal-cab .bt-ic { margin-left: auto; margin-top: -6px; }
.modal-corpo { padding: 14px 24px 8px; overflow-y: auto; }
.modal-pe { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 24px 22px; flex-wrap: wrap; }
.solta { border: 2px dashed var(--sky); border-radius: 18px; padding: 30px; text-align: center; background: var(--blue-50); transition: all .2s; cursor: pointer; display: block; }
.solta:hover, .solta.arrastando { border-color: var(--blue); background: #dcecfd; }
.solta b { font: 600 15px var(--d); display: block; margin-top: 8px; color: var(--navy); } .solta span { font-size: 13px; color: var(--ink-3); }
.arquivo-ok { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--green-50); border: 1px solid #CBE8B9; }
#camada-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--sh-3); font-size: 14.5px; animation: sobe .3s var(--ease) both; max-width: 100%; }
.toast .ic-bola { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.toast.ok .ic-bola { background: var(--green); } .toast.info .ic-bola { background: var(--blue); } .toast.ia .ic-bola { background: linear-gradient(135deg, var(--blue), var(--green)); }
.toast button { color: var(--sky); font: 600 13.5px var(--d); margin-left: 6px; }
.toast.sai { animation: some .25s ease both; }
@keyframes some { to { opacity: 0; transform: translateY(8px); } }
.paleta { max-width: 620px; align-self: start; margin-top: 10vh; }
.paleta-busca { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.paleta-busca input { flex: 1; border: 0; outline: 0; font-size: 17px; background: none; }
.paleta-lista { max-height: 54vh; overflow-y: auto; padding: 8px; }
.paleta-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; text-align: left; }
.paleta-item:hover, .paleta-item.sel { background: var(--blue-50); }
.paleta-item b { font: 600 14px var(--d); } .paleta-item span { font-size: 12.5px; color: var(--ink-3); }
.paleta-grupo { font: 600 11px var(--d); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); padding: 10px 12px 4px; }
.menu-perfil { position: fixed; z-index: 90; background: var(--surface); border-radius: 18px; box-shadow: var(--sh-3); padding: 8px; width: 290px; animation: sobe .2s var(--ease) both; }
.menu-perfil button { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 12px; text-align: left; }
.menu-perfil button:hover { background: var(--surface-2); }
.menu-perfil button.on { background: var(--blue-50); }
.menu-perfil b { font: 600 14px var(--d); display: block; } .menu-perfil span { font-size: 12.5px; color: var(--ink-3); }
.menu-perfil hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 0; }
.confete { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confete i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: cai 1.8s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes cai { to { transform: translateY(105vh) rotate(720deg); opacity: .9; } }

/* nav do celular */
.nav-cel { display: none; }

/* ------- responsivo ------- */
@media (min-width: 1361px) {
  .app:not(.cop-fechado) .bt-assist { display: none; }
}
@media (max-width: 1360px) {
  .app, .app.cop-fechado { grid-template-columns: var(--side) minmax(0,1fr) 0px; }
  .cop { position: fixed; right: 0; top: 0; bottom: 0; width: var(--cop); max-width: 100vw; transform: translateX(105%); transition: transform .35s var(--ease); box-shadow: var(--sh-3); }
  .app:not(.cop-fechado) .cop { transform: none; }
  .app:not(.cop-fechado)::after { content: ''; position: fixed; inset: 0; background: rgba(4,26,43,.25); z-index: 15; }
}
@container principal (max-width: 1020px) {
  .g-21, .g-12, .g-12.g-dto { grid-template-columns: minmax(0,1fr); }
}
@container principal (max-width: 700px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@container principal (max-width: 860px) {
  .fluxo-rev { grid-template-columns: repeat(2, minmax(0,1fr)) !important; row-gap: 16px !important; }
  .hero { grid-template-columns: 1fr; }
  .hero-ilu { grid-column: 1; grid-row: auto; width: auto; margin-top: 18px; }
  .hero-ilu > div { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .t-usuarios .area { display: none; }
  .t-usuarios .pessoa div span { display: block; max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .t-usuarios select { max-width: 136px; font-size: 13px; padding-left: 10px; }
  .t-usuarios td:last-child { padding-left: 0; text-align: right; }
  .t-usuarios td { padding-left: 12px; padding-right: 12px; }
  .fluxo-rev { grid-template-columns: 1fr !important; }
  :root { --top: 60px; }
  body { font-size: 15px; }
  .app, .app.cop-fechado { grid-template-columns: minmax(0,1fr); }
  .lado { display: none; }
  .topo { padding: 0 16px; gap: 10px; }
  .topo-marca { display: flex; align-items: center; gap: 8px; }
  .topo-marca img { height: 30px; width: auto; }
  .busca { display: none; }
  .selo-demo { display: none; }
  .bt-assist { width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center; font-size: 0; background: none; box-shadow: none; }
  .bt-assist:hover { transform: none; box-shadow: none; }
  .bt-assist .orbe { width: 38px; height: 38px; }
  .conteudo { padding: 4px 16px calc(96px + env(safe-area-inset-bottom)); }
  .cab h1 { font-size: 25px; }
  .cab .dir { margin-left: 0; width: 100%; }
  .cab .dir .btn { flex: 1; }
  .hero { padding: 24px 20px; border-radius: 22px; }
  .hero h1 { font-size: 25px; }
  .hero-acoes .btn { flex: 1; }
  .g-4 { gap: 12px; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .kpi { padding: 14px 16px; } .kpi .val { font-size: 27px; }
  .tabela-wrap { display: none; }
  .lista-cards { display: flex; flex-direction: column; gap: 10px; }
  .lc { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); text-align: left; width: 100%; }
  .lc .txt { flex: 1; min-width: 0; }
  .lc b { font: 600 14.5px var(--d); display: block; } .lc span { font-size: 12.5px; color: var(--ink-3); }
  .lc .lado-dir { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
  .campo-busca { min-width: 0; max-width: none; width: 100%; }
  .filtros .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .escolha, .campos { grid-template-columns: 1fr; }
  .resultado { grid-template-columns: 1fr; padding: 20px; text-align: center; }
  .resultado .plano, .resultado .trava { text-align: left; }
  .pergunta-grande { padding: 24px 16px 22px; }
  .pergunta-grande h2 { font-size: 21px; }
  .resp button { height: 80px; font-size: 17px; }
  .resp kbd { display: none; }
  .passos .pa span { display: none; }
  .doc-wrap { padding: 12px; min-height: 0; }
  .folha { padding: 22px 18px; font-size: 12.5px; }
  .gb-linha { grid-template-columns: 96px 1fr 38px; }
  .rosca { flex-direction: column; }
  .modal-cab, .modal-corpo, .modal-pe { padding-left: 18px; padding-right: 18px; }
  .fundo { padding: 0; align-items: end; }
  .modal { border-radius: 24px 24px 0 0; max-height: 92dvh; }
  .paleta { margin-top: 0; align-self: end; }
  .modal-pe .btn { flex: 1; }
  .nav-cel { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-3); padding: 6px; justify-content: space-around; align-items: center; }
  .nav-cel a, .nav-cel button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; color: var(--ink-3); font: 600 10.5px var(--d); border-radius: 14px; }
  .nav-cel a.ativo { color: var(--blue); }
  .nav-cel .meio-bt { flex: none; width: 56px; height: 56px; margin-top: -26px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(4,107,210,.9); }
  .cop { position: fixed; inset: 0; width: 100%; transform: translateY(102%); border-left: 0; z-index: 60; }
  .app:not(.cop-fechado) .cop { transform: none; }
  .app:not(.cop-fechado)::after { display: none; }
  .cop-in { width: 100%; padding-bottom: env(safe-area-inset-bottom); }
  #camada-toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* re-render sem mudar de rota não repete a entrada */
.tela.fixa, .tela.fixa .barra > i, .tela.fixa .gb-trilho i, .tela.fixa path[style*="dashoffset"], .tela.fixa .kpi, .tela.fixa .card { animation: none !important; }
.tela.fixa path[style*="dashoffset"] { stroke-dashoffset: 0 !important; }
@keyframes traco { to { stroke-dashoffset: 0; } }
