/* Salva-Plantão Pediatria — estilos (prancheta aprovada: design/prancheta/*.dc.html).
   Tipografia IBM Plex Sans / Condensed / Mono; modo claro e noturno; layout responsivo único. */

:root {
  --bg: #eef1f5; --surface: #ffffff; --surface-2: #f4f6f9; --surface-3: #f1f4f8;
  --border: #d7dde6; --line: #edf0f4; --input: #b9c3d0; --input-bg: #ffffff;
  --text: #14202e; --text-2: #3d4756; --muted: #5b6778; --heading: #13315c;
  --primary: #13315c; --on-primary: #ffffff; --link: #1d5fb8;
  --red: #c62828; --red-dark: #8d1010; --red-bg: #fbe9e9; --red-border: #ecb4b4;
  --green: #2f7d32; --green-dark: #2f6a32; --green-bg: #e8f4e8; --green-border: #b6d8b6;
  --amber: #8a5a00; --amber-bg: #fff4dc; --amber-border: #e6b85c;
  --teal: #0e7c73; --teal-dark: #0b625b; --teal-bg: #e3f4f2;
  --blue: #1d5fb8; --blue-dark: #174f9a; --blue-bg: #e7f0fd; --blue-border: #b7cdee;
  --av-bg: #fde7c8; --av-fg: #7a3e00; --chip-bg: #e7ecf4; --chip-fg: #13315c;
  --mav-bg: #b54708; --mav-fg: #ffffff; --mav-borda: #8a3300; --mav-cheio-bg: #fff3e6; --mav-cheio-fg: #6b2a00; --mav-borda-leve: #f0c89c;
  --verde-c: #e2efda; --verde-b: #538135; --amar-c: #fff2cc; --amar-b: #bf9000; --verm-c: #f8dcdc; --verm-b: #c62828;
  --lar-c: #fdf0e3; --lar-b: #efc39a; --azul-c: #e7f0fd; --azul-b: #8eaadb;
  --hl: #ffe14d; --hl-b: #b38f00;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --cond: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(16,32,56,.06), 0 6px 18px rgba(16,32,56,.06);
  --gutter: 32px;
  color-scheme: light;
}
:root[data-tema="noturno"] {
  --bg: #0f1621; --surface: #18212e; --surface-2: #1d2735; --surface-3: #1d2735;
  --border: #2a3546; --line: #222c3a; --input: #3a4658; --input-bg: #1d2735;
  --text: #e6ebf2; --text-2: #c3ccd9; --muted: #9aa6b8; --heading: #dbe6f7;
  --primary: #23406e; --on-primary: #ffffff; --link: #8fb8ff;
  --red: #e0453f; --red-dark: #ff7b7b; --red-bg: #2e1716; --red-border: #5a2a28;
  --green: #3f9a44; --green-dark: #8fd694; --green-bg: #16271a; --green-border: #2f5a33;
  --amber: #ffc27a; --amber-bg: #33240f; --amber-border: #7a5a20;
  --teal: #4fc1b6; --teal-dark: #7fd8cf; --teal-bg: #12302d;
  --blue: #5aa9ff; --blue-dark: #a9d0ff; --blue-bg: #13243a; --blue-border: #2c4a70;
  --av-bg: #4a3210; --av-fg: #ffc27a; --chip-bg: #263246; --chip-fg: #dbe6f7;
  --mav-bg: #ffb020; --mav-fg: #1a1200; --mav-borda: #ffd27a; --mav-cheio-bg: #33230a; --mav-cheio-fg: #ffe2b0; --mav-borda-leve: #6e4a12;
  --verde-c: #1b2e1d; --verde-b: #5fa463; --amar-c: #2f2810; --amar-b: #c9a400; --verm-c: #2e1716; --verm-b: #ff7b7b;
  --lar-c: #2c1f0f; --lar-b: #7a5a20; --azul-c: #13243a; --azul-b: #2c4a70;
  --hl: #6b5a00; --hl-b: #ffd34d;
  --shadow: 0 1px 2px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.4; font-size: 15px; }
a { color: var(--link); }
a:hover { color: var(--heading); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffb300; outline-offset: 2px; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
h1, h2, h3 { color: var(--heading); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cond { font-family: var(--cond); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

#app { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Topo ---------- */
.topo { background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px var(--gutter); display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; position: relative; z-index: 20; }
.topo > * { flex-shrink: 0; }
.topo > .busca { flex-shrink: 1; }
.topo .logo-upa { height: 48px; width: auto; display: block; }
.topo .logo-pref { height: 42px; width: auto; display: block; }
:root[data-tema="noturno"] .topo .logo-upa, :root[data-tema="noturno"] .topo .logo-pref, :root[data-tema="noturno"] .login-topo img { background: #fff; border-radius: 8px; padding: 2px 6px; }
.topo .sep { width: 1px; height: 38px; background: var(--border); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca-nome { display: flex; flex-direction: column; gap: 3px; }
.marca-nome b { font-family: var(--cond); font-weight: 700; font-size: 22px; line-height: 1; color: var(--heading); }
.marca-nome small { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; color: var(--muted); }
.busca { flex: 1 1 240px; min-width: 160px; max-width: 560px; position: relative; }
.busca label { display: flex; align-items: center; gap: 8px; background: var(--surface-3); border: 1.5px solid var(--input); border-radius: 10px; padding: 0 12px; color: var(--muted); }
.busca input { flex: 1; border: 0; background: transparent; color: var(--text); padding: 10px 0; font-size: 15px; min-width: 0; }
.busca input:focus { outline: none; }
.busca label:focus-within { outline: 3px solid #ffb300; outline-offset: 1px; }
.busca-res { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 40px rgba(10,25,50,.18); max-height: 70vh; overflow: auto; padding: 6px; z-index: 40; }
.busca-res .grupo { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; color: var(--muted); padding: 8px 10px 4px; }
.busca-res a { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--text); min-height: 44px; justify-content: center; }
.busca-res a:hover, .busca-res a.ativo { background: var(--blue-bg); }
.busca-res a small { color: var(--muted); font-size: 12.5px; }
.busca-res .vazio { padding: 12px; color: var(--muted); font-size: 14px; }
.espaco { flex: 1; }
.tema { display: flex; gap: 2px; padding: 2px; border: 1.5px solid var(--input); border-radius: 999px; }
.tema button { display: flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 600; color: var(--heading); background: transparent; min-height: 32px; }
.tema button[aria-pressed="true"] { color: var(--on-primary); background: var(--primary); }
.btn-pilula { background: var(--surface); color: var(--heading); font-size: 14px; font-weight: 600; border: 1.5px solid var(--input); border-radius: 999px; padding: 6px 12px; min-height: 36px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-pilula:hover { border-color: var(--heading); }
.usuario { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; min-width: 0; }
.usuario .nome-u { max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usuario { gap: 4px; font-size: 13.5px; }
.usuario button, .usuario a { font-size: 13px; white-space: nowrap; }
@media (max-width: 1360px) { .usuario .nome-u { display: none; } }
.usuario button { border: 0; background: none; color: var(--link); font-weight: 600; padding: 6px 4px; min-height: 36px; }
.so-cel { display: none !important; }
.icone-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--surface-3); color: var(--heading); }
.menu-cel { position: absolute; right: 12px; top: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 40px rgba(10,25,50,.2); padding: 6px; min-width: 220px; z-index: 50; display: flex; flex-direction: column; }
.menu-cel a, .menu-cel button { text-align: left; background: none; border: 0; padding: 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; min-height: 44px; }
.menu-cel a:hover, .menu-cel button:hover { background: var(--surface-2); }

/* ---------- Faixa da criança ---------- */
.faixa { background: var(--z-fundo); border-bottom: 3px solid var(--z-cor); padding: 10px var(--gutter); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--z-texto); }
.faixa .barra { width: 18px; height: 54px; border-radius: 5px; background: var(--z-cor); border: 1px solid rgba(0,0,0,.15); flex: none; }
.faixa .peso { font-family: var(--cond); font-weight: 700; font-size: 42px; line-height: 1; }
.faixa .idade { font-size: 18px; }
.faixa .grupo1 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.faixa .grupo2 { display: flex; flex-direction: column; gap: 2px; }
.faixa .grupo2 b { font-size: 15px; }
.faixa .grupo2 span { font-size: 14px; }
.faixa .estimado { font-size: 12px; font-weight: 700; background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); border-radius: 999px; padding: 2px 8px; }
.faixa .dengue { font-size: 12px; font-weight: 700; background: var(--red-bg); color: var(--red-dark); border: 1px solid var(--red-border); border-radius: 999px; padding: 2px 8px; }
.btn-pcr { display: inline-flex; align-items: center; gap: 8px; background: #c62828; color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 9px 18px; font-size: 15px; border: 0; min-height: 44px; }
.btn-pcr:hover { background: #a31f1f; }
.btn-trocar { background: var(--surface); color: var(--heading); font-weight: 600; text-decoration: none; border-radius: 999px; padding: 9px 16px; font-size: 15px; border: 1px solid rgba(0,0,0,.15); min-height: 44px; display: inline-flex; align-items: center; }
.regua-mini { display: none; }
/* peso e idade na faixa: um toque abre os sinais vitais da idade (23/10/2026) */
.faixa .faixa-vitais { background: none; border: 0; padding: 4px 6px; margin: -4px -6px; color: inherit; text-align: left; font: inherit; border-radius: 10px; cursor: pointer; }
.faixa .faixa-vitais:hover { background: rgba(0,0,0,.05); }
:root[data-tema="noturno"] .faixa .faixa-vitais:hover { background: rgba(255,255,255,.06); }
.faixa .vitais-dica { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; opacity: .9; }
.vitais-modal { margin: 0; }
.janela-vitais .modal-corpo { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Abas ---------- */
.abas { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 var(--gutter); display: flex; gap: 4px; flex-wrap: wrap; }
.abas a { padding: 14px 18px; font-weight: 600; font-size: 16px; color: var(--muted); text-decoration: none; border-bottom: 4px solid transparent; display: flex; align-items: center; gap: 6px; min-height: 44px; }
.abas a svg { display: none; }
.abas a[data-aba="gestao"] svg { display: inline; }
.abas a[aria-current="page"] { font-weight: 700; color: var(--aba-cor); border-bottom-color: var(--aba-cor); }
.abas a[data-aba="emergencia"] { --aba-cor: #c62828; }
.abas a[data-aba="medicamentos"] { --aba-cor: var(--green); }
.abas a[data-aba="condutas"] { --aba-cor: var(--teal); }
.abas a[data-aba="calculadoras"], .abas a[data-aba="doses"] { --aba-cor: var(--blue); }
.abas a[data-aba="gestao"] { --aba-cor: var(--heading); }
.subabas { background: var(--chip-bg); border-bottom: 1px solid var(--border); padding: 10px var(--gutter); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.subabas .rot { font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--muted); margin-right: 6px; }
.subabas a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--heading); border: 1.5px solid var(--input); min-height: 36px; display: inline-flex; align-items: center; }
.subabas a[aria-current="page"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* ---------- Conteúdo ---------- */
main.conteudo { flex: 1; width: 100%; max-width: 1380px; margin: 0 auto; padding: 22px var(--gutter); display: flex; flex-direction: column; gap: 16px; }
main.estreito { max-width: 1080px; }
.titulo { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.titulo h1 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 34px; color: var(--heading); line-height: 1.1; }
.titulo .sub { font-size: 14.5px; color: var(--muted); }
.cartao { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.cartao > h2, .cartao-tit { margin: 0 0 8px; font-size: 15px; color: var(--heading); }
.cartao p { margin: 0; }
.duas-col { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.duas-col > .principal { flex: 999 1 760px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.duas-col > .lateral { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grade-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grade-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aviso { border-radius: 10px; padding: 9px 12px; font-size: 14px; line-height: 1.45; }
.aviso.info { background: var(--blue-bg); color: var(--blue-dark); border: 1px solid var(--blue-border); }
.aviso.atencao { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.aviso.perigo { background: var(--red-bg); color: var(--red-dark); border: 1px solid var(--red-border); }
.aviso.ok { background: var(--green-bg); color: var(--green-dark); border: 1px solid var(--green-border); }
.nota-diretor { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue-dark); background: var(--blue-bg); border: 1px dashed var(--blue-border); border-radius: 6px; padding: 2px 8px; }
.legenda { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.legenda b:first-child { color: var(--heading); }
.verificar { display: inline-block; font-size: 12px; font-weight: 700; color: var(--amber); background: var(--amber-bg); border: 1px dashed var(--amber-border); border-radius: 6px; padding: 1px 7px; }
.av { font-size: 10.5px; font-weight: 700; letter-spacing: .4px; color: var(--av-fg); background: var(--av-bg); border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.chip { justify-self: end; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-fg); }
.chip.insulina { background: var(--av-bg); color: var(--av-fg); }
.pill { font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; display: inline-block; }
.pill.PODE { background: var(--green-bg); color: var(--green-dark); }
.pill.CAUTELA { background: var(--amber-bg); color: var(--amber); }
.pill.NAO, .pill.SUSPENSO { background: #c62828; color: #fff; }
.pill.IDADE, .pill.PESO, .pill.CRITERIO { background: var(--surface); color: var(--red-dark); border: 1.5px solid var(--red); }
.pill.cheia { font-size: 13px; padding: 4px 10px; }
.pill.cheia.PODE { background: var(--green); color: #fff; }
.num { font-family: var(--cond); font-weight: 700; color: var(--heading); line-height: 1.05; white-space: nowrap; }
.teto { font-size: 11px; font-weight: 700; color: var(--red-dark); margin-top: 2px; letter-spacing: .3px; }
.bloqueio { background: var(--red-bg); border: 1.5px solid var(--red-border); color: var(--red-dark); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 700; font-size: 17px; padding: 13px 18px; border-radius: 10px; border: 0; min-height: 48px; }
.botao:hover { filter: brightness(1.1); color: var(--on-primary); }
.botao:disabled, .botao[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; }
.botao.sec { background: var(--surface); color: var(--heading); border: 1.5px solid var(--input); }
.botao.perigo { background: var(--surface); color: var(--red-dark); border: 1.5px solid var(--red); }
.botao.ok { background: var(--green); }
.botao.peq { font-size: 13px; padding: 5px 11px; min-height: 34px; border-radius: 999px; }
.botao.peq.verde { background: var(--green); color: #fff; }
.botao.peq.contorno { background: var(--surface); color: var(--heading); border: 1.5px solid var(--heading); }
.botao.peq.ambar { background: var(--surface); color: var(--amber); border: 1.5px solid var(--amber); }
.botao.peq.vermelho { background: var(--surface); color: var(--red-dark); border: 1.5px solid var(--red); }
.botao.peq.verde-c { background: var(--surface); color: var(--green-dark); border: 1.5px solid var(--green-dark); }
.campo { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--heading); }
.campo input, .campo select, .campo textarea { padding: 12px 14px; border: 1.5px solid var(--input); border-radius: 10px; font-size: 17px; background: var(--input-bg); color: var(--text); font-weight: 400; min-height: 48px; }
.campo textarea { min-height: 120px; resize: vertical; }
.campo small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.erro-form { color: var(--red-dark); font-size: 14px; font-weight: 600; }
.mem { font-family: var(--mono); font-size: 13.5px; background: var(--surface-2); border-radius: 8px; padding: 10px 12px; white-space: pre-line; overflow-wrap: anywhere; color: var(--text); }
.fonte { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Rodapé, marca d'água, faixa de versão ---------- */
.rodape { border-top: 1px solid var(--border); background: var(--surface); padding: 10px var(--gutter); font-size: 13px; color: var(--muted); }
.rodape .versao { white-space: nowrap; }
.marca-dagua { position: fixed; inset: auto 0 50% 0; text-align: center; font-family: var(--cond); font-weight: 700; font-size: clamp(40px, 10vw, 140px); color: rgba(198,40,40,.07); transform: rotate(-18deg); pointer-events: none; z-index: 1; letter-spacing: 6px; user-select: none; }
.faixa-demo { background: #c62828; color: #fff; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; padding: 3px 8px; }
.faixa-off { background: #5b6778; color: #fff; text-align: center; font-size: 13px; padding: 4px 8px; }
.faixa-atualizar { background: var(--blue-bg); color: var(--blue-dark); text-align: center; font-size: 14px; padding: 6px 8px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--blue-border); }

/* ---------- Modal ---------- */
.veu { position: fixed; inset: 0; background: rgba(15,25,45,.62); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.caixa { background: var(--surface); color: var(--text); max-width: 620px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 22px 24px; border-radius: 16px; border-top: 6px solid var(--heading); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.caixa h2 { margin: 0; font-family: var(--cond); font-size: 26px; }
.caixa .acoes { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: #13315c; color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 120; box-shadow: 0 8px 30px rgba(0,0,0,.3); max-width: 90vw; }

/* ---------- Entrar / Termo ---------- */
.login-topo { background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 48px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.login-topo .upa { height: 76px; width: auto; }
.login-topo .pref { height: 82px; width: auto; }
.login-topo .txt { font-size: 15px; line-height: 1.4; color: var(--text-2); }
.login-topo .txt b { color: var(--heading); }
.login-corpo { flex: 1; display: flex; flex-wrap: wrap; }
.login-marca { flex: 1 1 560px; background: #13315c; color: #fff; padding: 64px 72px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.login-marca .nome { font-family: var(--cond); font-weight: 700; font-size: 76px; line-height: .95; letter-spacing: -.5px; }
.login-marca .fita { display: flex; height: 8px; width: 100%; border-radius: 2px; overflow: hidden; }
.login-marca .fita span { flex: 1; }
.login-marca .sub { font-size: 18px; font-weight: 600; letter-spacing: 5px; color: #c9d6ea; }
.login-marca p { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: #dbe4f2; }
.login-marca .tags { display: flex; gap: 10px; flex-wrap: wrap; }
.login-marca .tags span { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.login-form-area { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.login-form { width: 100%; max-width: 440px; background: var(--surface); border-radius: 16px; padding: 36px; box-shadow: 0 14px 40px rgba(10,25,50,.12); display: flex; flex-direction: column; gap: 16px; }
.login-form h1 { margin: 0; font-family: var(--cond); font-size: 32px; }
.login-form p { margin: 0; color: var(--muted); font-size: 15px; }
.termo-grade { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; align-items: start; }
.termo-texto { height: 600px; overflow: auto; font-size: 14px; line-height: 1.55; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--surface-2); }
.termo-texto p { margin: 0; }
.termo-texto h3 { margin: 8px 0 0; font-size: 14px; color: var(--heading); }
.pontos > div { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.pontos .n { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pontos b { font-size: 15px; color: var(--heading); }
.pontos div div { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; cursor: pointer; min-height: 44px; }
.check input { width: 24px; height: 24px; margin-top: 1px; flex: none; accent-color: var(--green); }

/* ---------- Código de recuperação ---------- */
.codigo-rec { display: flex; flex-direction: column; gap: 14px; }
.codigo-grande { font-family: var(--mono); font-weight: 700; font-size: 44px; letter-spacing: 6px; text-align: center; color: var(--heading); background: var(--surface-2); border: 2px dashed var(--heading); border-radius: 12px; padding: 16px 8px; user-select: all; overflow-wrap: anywhere; }
.link-sutil { border: 0; background: none; color: var(--link); font-size: 13px; font-weight: 600; padding: 6px 4px; min-height: 36px; text-decoration: underline; }
@media (max-width: 760px) { .codigo-grande { font-size: 34px; letter-spacing: 4px; } }

/* ---------- Nova criança ---------- */
.crianca-cartao { background: var(--surface); border-radius: 16px; padding: 28px 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow); }
.crianca-linha { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-end; }
.crianca-linha .grp { display: flex; flex-direction: column; gap: 8px; }
.crianca-linha .grp > span { font-size: 15px; font-weight: 600; color: var(--heading); }
.crianca-linha .ent { display: flex; gap: 10px; align-items: flex-end; }
.crianca-linha label.mini { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.ent-grande { width: 96px; padding: 10px 12px; border: 1.5px solid var(--input); border-radius: 10px; font-size: 30px; font-weight: 700; font-family: var(--cond); color: var(--heading); background: var(--input-bg); min-height: 56px; }
.ent-grande.peso { width: 130px; }
.ent-grande:disabled { opacity: .35; cursor: not-allowed; background: var(--input-bg); }
label.mini.desligado { color: var(--muted); opacity: .6; }
.seg { display: flex; border: 1.5px solid var(--primary); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); color: var(--heading); padding: 14px 16px; font-weight: 600; font-size: 15px; min-height: 52px; }
.seg button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.previa-faixa { flex: 1 1 260px; display: flex; align-items: center; gap: 14px; background: var(--z-fundo, var(--surface-2)); border: 2px solid var(--z-cor, var(--border)); border-radius: 12px; padding: 12px 16px; color: var(--z-texto, var(--text)); min-height: 76px; }
.previa-faixa .barra { width: 18px; height: 52px; border-radius: 5px; background: var(--z-cor, var(--border)); flex: none; border: 1px solid rgba(0,0,0,.12); }
.previa-faixa b { font-size: 17px; }
.previa-faixa div div { font-size: 14px; }
.ciente { display: flex; gap: 14px; align-items: flex-start; background: var(--green-bg); border: 2px solid var(--green); border-radius: 12px; padding: 16px 18px; font-size: 16px; line-height: 1.45; cursor: pointer; }
.ciente input { width: 26px; height: 26px; margin-top: 2px; flex: none; accent-color: var(--green); }
.ciente.desligado { opacity: .55; cursor: not-allowed; }
.situacoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.situacoes .check { border: 1.5px solid var(--input); border-radius: 10px; padding: 9px 12px; background: var(--surface); }
.atalhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.atalho { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,32,56,.05), 0 8px 20px rgba(16,32,56,.06); }
.atalho .corpo { padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.atalho .ico { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.atalho b { font-family: var(--cond); font-size: 25px; }
.atalho .desc { font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
.atalho .pe { font-weight: 600; font-size: 14px; padding: 11px 20px; }
.atalho[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.atalho.emg { border-color: #e3c4c4; } .atalho.emg .ico, .atalho.emg .pe { background: #c62828; color: #fff; } .atalho.emg b { color: #b71c1c; }
.atalho.med .ico, .atalho.med .pe { background: var(--green-bg); color: var(--green-dark); } .atalho.med b { color: var(--green-dark); }
.atalho.con .ico, .atalho.con .pe { background: var(--teal-bg); color: var(--teal-dark); } .atalho.con b { color: var(--teal-dark); }
.atalho.cal .ico, .atalho.cal .pe { background: var(--blue-bg); color: var(--blue-dark); } .atalho.cal b { color: var(--blue-dark); }
:root[data-tema="noturno"] .atalho.emg b { color: #ff9e9e; }

/* ---------- Emergência ---------- */
.regua { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; align-items: end; }
.regua .z { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.regua .seta { font-size: 12px; font-weight: 700; text-align: center; color: var(--heading); visibility: hidden; }
.regua .z.atual .seta { visibility: visible; }
.regua .bloco { border-radius: 6px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(0,0,0,.18); }
.regua .z.atual .bloco { height: 64px; border: 3px solid var(--heading); }
.regua .bloco b { font-size: 13px; letter-spacing: .5px; }
.regua .bloco span { font-size: 12px; }
.grupo-doses { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.grupo-doses > h2 { margin: 0; padding: 10px 16px; font-size: 15px; letter-spacing: .5px; color: var(--heading); background: var(--surface-2); border-bottom: 1px solid var(--border); }
.linha-dose { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 2fr) 120px; gap: 14px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.linha-dose:first-of-type { border-top: 0; }
.linha-dose .droga { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.linha-dose .droga a { color: inherit; text-decoration: none; }
.linha-dose .droga a:hover { text-decoration: underline; }
.linha-dose .via { font-size: 13px; color: var(--muted); }
.linha-dose .num { font-size: 27px; }
.linha-dose .detalhe { font-size: 13.5px; color: var(--text-2); line-height: 1.35; }
.como { margin-top: 6px; background: var(--surface-2); border-left: 3px solid var(--heading); border-radius: 6px; padding: 5px 8px; }
.como .rot { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--heading); cursor: pointer; min-height: 28px; display: list-item; }
.como[open] .rot { margin-bottom: 2px; }
.como ol { margin: 2px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.4; color: var(--text); }
.como ol small { color: var(--muted); }
.energia .item { background: var(--lar-c); border-radius: 10px; padding: 9px 12px; }
.energia .item + .item { margin-top: 8px; }
.energia .item .t { font-size: 13px; color: var(--muted); }
.energia .item .t b { font-size: 14px; color: var(--av-fg); }
.energia .item .num { font-size: 28px; }
.material { border-top: 5px solid var(--z-cor); border-radius: 0; }
.material .sec { font-size: 11.5px; font-weight: 700; letter-spacing: .5px; color: var(--muted); margin: 6px 0 2px; }
.material .item { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.material .item span { font-size: 14px; color: var(--text-2); }
.material .item b { font-family: var(--cond); font-weight: 700; font-size: 20px; color: var(--heading); text-align: right; }
.material .item b.conferir { font-size: 16px; color: var(--amber); border: 1.5px dashed var(--amber-border); border-radius: 6px; padding: 1px 7px; }
.vitais { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vitais > div { background: #13315c; color: #fff; border-radius: 8px; padding: 8px 10px; }
.vitais > div.pas { background: var(--surface); color: var(--red); border: 2px solid var(--red); padding: 6px 10px; }
.vitais .r { font-size: 11px; }
.vitais .v { font-family: var(--cond); font-weight: 700; font-size: 20px; white-space: nowrap; }
.nao-usar { display: block; background: var(--surface); border: 2px solid var(--red); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.nao-usar b { color: var(--red); font-size: 15px; }
.nao-usar div { font-size: 14px; color: var(--text-2); margin-top: 4px; }

/* ---------- Medicamentos ---------- */
.filtros { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filtros > span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.filtros button { border: 1.5px solid var(--input); background: var(--surface); color: var(--heading); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; min-height: 40px; }
.filtros button.f-PODE { border-color: #9cc79e; color: var(--green-dark); }
.filtros button.f-CAUTELA { border-color: var(--amber-border); color: var(--amber); }
.filtros button.f-NAO { border-color: var(--red-border); color: var(--red-dark); }
.filtros button[aria-pressed="true"] { border: 2px solid var(--primary); background: var(--primary); color: var(--on-primary); font-weight: 700; }
.filtros input { flex: 1 1 220px; min-width: 0; padding: 9px 12px; border: 1.5px solid var(--input); border-radius: 10px; background: var(--input-bg); min-height: 40px; }
.tabela { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.tabela .cab, .tabela .lin { display: grid; gap: 12px; align-items: center; padding: 10px 16px; }
.tabela .cab { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--muted); }
.tabela .lin { border-top: 1px solid var(--line); font-size: 14px; }
.tabela .lin:first-of-type { border-top: 0; }
.tabela .lin.alerta { background: color-mix(in srgb, var(--red-bg) 40%, var(--surface)); }
.tabela .lin > * { min-width: 0; }
.tabela .rot-cel { display: none; }
.t-meds .cab, .t-meds .lin { grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) minmax(0, 1.5fr) 120px 100px; }
.t-meds.com-farmacia .cab, .t-meds.com-farmacia .lin { grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) minmax(0, 1.5fr) 120px 100px 120px; }
.t-meds .nome a { font-weight: 700; font-size: 15.5px; color: var(--heading); text-decoration: none; }
.t-meds .nome a:hover { text-decoration: underline; }
.t-meds .nome small { display: block; font-size: 12.5px; color: var(--muted); }
.t-meds .sit { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.t-meds .sit small { font-size: 12.5px; color: var(--muted); max-width: 100%; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lista-az { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; max-height: calc(100vh - 260px); overflow: auto; position: sticky; top: 12px; display: block !important; }
.lista-az > *, .lateral > * { flex-shrink: 0; }
.lista-az a span { flex: 1; min-width: 0; line-height: 1.3; }
.lista-az .rot { font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--muted); margin: 2px 6px 6px; }
.lista-az a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); text-decoration: none; border-radius: 6px; min-height: 40px; }
.lista-az a[aria-current="page"] { background: var(--green-bg); font-weight: 700; }
.lista-az .bola { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lista-az small { margin-left: auto; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.recentes { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 6px 12px; }
.recentes a { font-size: 13px; color: var(--text); text-decoration: none; background: var(--bg); border-radius: 999px; padding: 4px 10px; border: 0; min-height: 0; }
.apres-barra { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.apres-barra .rot { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .4px; }
.apres-barra button { font-size: 14px; font-weight: 700; color: var(--heading); background: var(--surface); border: 1.5px solid var(--input); border-radius: 999px; padding: 6px 12px; min-height: 40px; }
.apres-barra button[aria-pressed="true"] { color: var(--on-primary); background: var(--primary); border-color: var(--primary); }
.apres-barra button .sug { font-size: 11px; font-weight: 600; opacity: .85; margin-left: 4px; }
.cartoes-via { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.cartao-via { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.cartao-via.destaque { border: 2px solid var(--heading); }
.cartao-via .cab { font-size: 14px; color: var(--muted); }
.cartao-via .num { font-size: 46px; line-height: 1; white-space: normal; }
.cartao-via .dose { font-size: 15px; }
.gotas { display: flex; gap: 3px; flex-wrap: wrap; }
.gotas-leg { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 4px; flex-wrap: wrap; }
.seringa-svg { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; }
.seringa-leg { font-size: 12px; color: var(--muted); text-align: center; margin-top: 2px; }
.sugestao { background: var(--amber-bg); border: 1.5px solid var(--amber-border); border-radius: 12px; padding: 12px 16px; }
.sugestao .rot { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--amber); }
.sugestao div:last-child { font-size: 17px; margin-top: 4px; }
.cartao.perigo { background: var(--red-bg); border-color: var(--red-border); }
.cartao.perigo h2 { color: var(--red-dark); }
.cartao.tracejado { border: 1.5px dashed var(--muted); }
.passos-ev { margin: 0; padding: 0; list-style: none; }
.passos-ev li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.passos-ev li:first-child { border-top: 0; }
.passos-ev .n { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.passos-ev .t { font-size: 16px; line-height: 1.4; }
.passos-ev .d { font-size: 13px; color: var(--muted); margin-top: 2px; }
.faixas-tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.faixas-tab td, .faixas-tab th { border-top: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.faixas-tab tr.ativa td { background: var(--hl); font-weight: 700; color: #14202e; }
:root[data-tema="noturno"] .faixas-tab tr.ativa td { color: #fff; }

/* ---------- Condutas (conteúdo do guia com o visual NOVO da prancheta, não o do guia antigo) ---------- */
.lista-condutas a { display: block; padding: 9px 8px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; border-radius: 8px; min-height: 40px; }
.lista-condutas a:first-of-type { border-top: 0; }
.lista-condutas a[aria-current="page"] { background: var(--teal-bg); font-weight: 700; color: var(--teal); }
.lista-condutas a small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.guia { --zc: #13315c; --zf: #e7ecf4; --zt: #ffffff; display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.guia .tema { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.guia .tt { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 24px; line-height: 1.15; color: var(--heading); padding: 2px 0 2px 12px; border-left: 5px solid var(--primary); background: none; }
.guia .tt.red { border-left-color: #c62828; color: var(--red-dark); }
.guia .tt.verde { border-left-color: var(--green); color: var(--green-dark); }
.guia .tt.roxo { border-left-color: #7030a0; }
.guia .bx { margin: 0; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.45; background: var(--surface); }
.guia .bx > b:first-child { font-size: 13px; letter-spacing: .4px; }
.guia .bx.azul { background: var(--blue-bg); border-color: var(--blue-border); } .guia .bx.azul > b:first-child { color: var(--blue-dark); }
.guia .bx.amar { background: var(--amber-bg); border-color: var(--amber-border); } .guia .bx.amar > b:first-child { color: var(--amber); }
.guia .bx.verm { background: var(--red-bg); border-color: var(--red-border); } .guia .bx.verm > b:first-child { color: var(--red-dark); }
.guia .bx.verde { background: var(--green-bg); border-color: var(--green-border); } .guia .bx.verde > b:first-child { color: var(--green-dark); }
.guia .bx.lar { background: var(--lar-c); border-color: var(--lar-b); } .guia .bx.lar > b:first-child { color: #8a4510; }
:root[data-tema="noturno"] .guia .bx.lar > b:first-child { color: #ffc27a; }
.guia .bx.cinza { background: var(--surface-2); }
.guia .bx.dt { background: var(--surface); border: 2px solid var(--blue); border-left-width: 6px; }
.guia .bx.dt > b:first-child { color: var(--blue-dark); font-size: 14px; }
.guia .subst { display: inline-block; background: #c62828; color: #fff; font-size: 11.5px; font-weight: 700; padding: 0 6px; border-radius: 4px; white-space: nowrap; letter-spacing: .2px; }
.guia s { color: var(--muted); }
.guia .bx p { margin: 0 0 6px; } .guia .bx p:last-child { margin: 0; }
.guia .bx ul, .guia .bx ol { margin: 4px 0 0; padding-left: 20px; }
.guia .duas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guia .tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guia .duas > .bx, .guia .tres > .bx { margin: 0; }
.guia ol.flux { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.guia ol.flux > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--surface); font-size: 15px; }
.guia ol.flux .num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #fff; background: var(--primary); font-family: var(--sans); }
.guia ol.flux > li > div { padding: 4px 0 0; min-width: 0; }
.guia ol.flux > li.azul { background: color-mix(in srgb, var(--blue-bg) 60%, var(--surface)); border-color: var(--blue-border); } .guia ol.flux > li.azul .num { background: var(--blue); }
.guia ol.flux > li.amar { background: color-mix(in srgb, var(--amber-bg) 70%, var(--surface)); border-color: var(--amber-border); } .guia ol.flux > li.amar .num { background: #b45309; }
.guia ol.flux > li.verm { background: color-mix(in srgb, var(--red-bg) 70%, var(--surface)); border-color: var(--red-border); } .guia ol.flux > li.verm .num { background: #c62828; }
.guia ol.flux > li.verde { background: color-mix(in srgb, var(--green-bg) 70%, var(--surface)); border-color: var(--green-border); } .guia ol.flux > li.verde .num { background: var(--green); }
.guia ol.flux > li.lar { background: color-mix(in srgb, var(--lar-c) 70%, var(--surface)); border-color: var(--lar-b); } .guia ol.flux > li.lar .num { background: #c55a11; }
.guia ol.flux .duas { margin: 8px 0 0; }
.guia .tw { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.guia table.t { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.guia table.t caption { background: var(--primary); color: #fff; font-weight: 700; text-align: left; padding: 6px 10px; }
.guia table.t th, .guia table.t td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 7px 10px; vertical-align: top; text-align: left; }
.guia table.t tr > :last-child { border-right: 0; }
.guia table.t tbody tr:last-child > * { border-bottom: 0; }
.guia table.t thead th { background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.guia table.t tbody th { background: var(--surface); color: var(--heading); font-weight: 700; }
.guia table.t th small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.guia table.t .c-verde { background: var(--green-bg); } .guia table.t .c-amar { background: var(--amber-bg); } .guia table.t .c-verm { background: var(--red-bg); }
.guia table.t .c-azul { background: var(--blue-bg); } .guia table.t .c-lar { background: var(--lar-c); }
.guia table.peso td, .guia table.peso thead th[data-kg] { text-align: center; font-variant-numeric: tabular-nums; }
/* coluna do peso da criança na COR DA FAIXA */
.guia table.peso .kg-on { background: var(--zf) !important; box-shadow: inset 2px 0 0 var(--zc), inset -2px 0 0 var(--zc); font-weight: 800; color: var(--text); }
.guia table.peso thead .kg-on { background: var(--zc) !important; color: var(--zt) !important; }
.guia table.peso .kg-viz { background: color-mix(in srgb, var(--zf) 55%, var(--surface)) !important; box-shadow: inset 2px 0 0 color-mix(in srgb, var(--zc) 55%, transparent), inset -2px 0 0 color-mix(in srgb, var(--zc) 55%, transparent); }
.guia table.peso thead .kg-viz { background: color-mix(in srgb, var(--zc) 45%, var(--surface)) !important; }
.guia tr.faixa-on > * { background: var(--zf) !important; font-weight: 700; color: var(--text); }
.guia tr.faixa-on > :first-child { box-shadow: inset 5px 0 0 var(--zc); }
.guia .aviso-kg { background: var(--zf); border: 2px dashed var(--zc); color: var(--text); padding: 7px 12px; font-size: 14px; border-radius: 8px; }
.escore .grade { display: grid; gap: 6px; font-size: 14px; align-items: stretch; }
.escore .grade > b { align-self: center; }
.escore button.op { text-align: left; border: 1.5px solid var(--input); border-radius: 8px; padding: 7px 10px; background: var(--surface); color: var(--text); min-height: 44px; }
.escore button.op[aria-pressed="true"].c0 { border: 2px solid var(--verde-b); background: var(--verde-c); font-weight: 700; }
.escore button.op[aria-pressed="true"].c1 { border: 2px solid var(--amar-b); background: var(--amar-c); font-weight: 700; }
.escore button.op[aria-pressed="true"].c2 { border: 2px solid var(--verm-b); background: var(--verm-c); font-weight: 700; }
.escore button.op:disabled { opacity: .35; cursor: default; }
.resultado { border-radius: 10px; padding: 10px 14px; font-size: 17px; margin-top: 12px; }
.resultado.c0 { background: var(--verde-c); border: 2px solid var(--verde-b); }
.resultado.c1 { background: var(--amar-c); border: 2px solid var(--amar-b); }
.resultado.c2 { background: var(--verm-c); border: 2px solid var(--verm-b); }
.doses-conduta { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.doses-conduta li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.doses-conduta li a { color: var(--heading); font-weight: 700; text-decoration: none; }
.doses-conduta li small { display: block; color: var(--muted); font-size: 13px; }
.doses-conduta .num { font-size: 26px; text-align: right; }
.doses-conduta li.bloq { background: var(--red-bg); }
.doses-conduta .chip { display: inline-block; margin-top: 4px; }

/* ---------- Calculadoras ---------- */
.menu-calc a { display: flex; flex-direction: column; gap: 2px; padding: 9px 8px; border-radius: 8px; border-top: 1px solid var(--line); text-decoration: none; min-height: 44px; }
.menu-calc a:first-of-type { border-top: 0; }
.menu-calc a span { font-size: 15px; font-weight: 600; color: var(--heading); }
.menu-calc a small { font-size: 12.5px; color: var(--muted); }
.menu-calc a[aria-current="page"] { background: var(--blue-bg); }
.menu-calc a[aria-current="page"] span { color: var(--blue); font-weight: 700; }
.plano { border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.plano.A { background: var(--verde-c); border: 2px solid var(--verde-b); }
.plano.B { background: var(--amar-c); border: 2px solid var(--amar-b); }
.plano.C { background: var(--verm-c); border: 2px solid var(--verm-b); }
.plano .cab b { font-family: var(--cond); font-size: 30px; }
.plano .caixas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.plano .caixas > div { background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.plano .caixas small { font-size: 12px; color: var(--muted); display: block; }
.plano .caixas .num { font-size: 28px; white-space: normal; }
.kg { font-weight: 700; color: var(--heading); background: var(--chip-bg); border-radius: 4px; padding: 0 4px; white-space: nowrap; }
.t-simples { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.t-simples th, .t-simples td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); }
.t-simples th { font-size: 12px; letter-spacing: .4px; color: var(--muted); border-top: 0; }
.t-simples td.num { font-size: 20px; }

/* ---------- Doses rápidas (23/10/2026) ---------- */
.dr-rotulo { background: var(--amber-bg); border: 2px solid var(--amber-border); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; }
.dr-rotulo b { font-size: 15px; letter-spacing: 1px; color: var(--amber); }
.dr-rotulo span { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.dr-grupos { display: flex; gap: 8px; flex-wrap: wrap; }
.dr-grupos button { border: 1.5px solid var(--input); background: var(--surface); color: var(--heading); border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: 14px; min-height: 40px; }
.dr-grupos button:hover { border-color: var(--heading); }
.dr-grupo > h2 small { font-weight: 500; letter-spacing: 0; color: var(--muted); font-size: 13px; }
.dr-item { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 3.4fr) auto; gap: 8px 16px; align-items: start; padding: 12px 16px; border-top: 1px solid var(--line); }
.dr-grupo > h2 + .dr-item { border-top: 0; }
.dr-nome { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.dr-nome a { font-weight: 700; font-size: 16.5px; color: var(--heading); text-decoration: none; }
.dr-nome a:hover { text-decoration: underline; }
.dr-nome small { font-size: 12.5px; color: var(--muted); }
.dr-nome .dr-cautela { color: var(--amber); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dr-corpo { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dr-linhas { display: flex; flex-direction: column; gap: 8px; }
.dr-linha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, auto); gap: 2px 14px; align-items: baseline; background: var(--surface-2); border-radius: 10px; padding: 8px 12px; }
.dr-apres { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.dr-num { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.dr-num .num { font-size: 27px; white-space: normal; }
.dr-num .chip { margin-top: 2px; }
.dr-det { font-size: 13.5px; color: var(--text-2); line-height: 1.4; display: flex; flex-wrap: wrap; gap: 2px 12px; }
.dr-det .dr-esq { color: var(--red-dark); }
.dr-det .dr-aviso { color: var(--amber); }
.dr-sug { grid-column: 1 / -1; font-size: 14px; background: var(--amber-bg); border: 1px solid var(--amber-border); border-radius: 8px; padding: 6px 10px; line-height: 1.4; }
.dr-sug b { font-size: 12px; letter-spacing: .4px; color: var(--amber); }
.dr-conta { grid-column: 1 / -1; margin-top: 2px; }
.dr-conta .mem { margin-top: 4px; font-size: 12.5px; padding: 6px 8px; }
.dr-info { font-size: 13.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.dr-espera { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border: 1.5px dashed var(--amber-border); background: var(--amber-bg); color: var(--amber); border-radius: 10px; padding: 9px 12px; font-size: 14.5px; }
.dr-espera small { flex-basis: 100%; }
.dr-espera .botao { background: var(--surface); color: var(--heading); border: 2px solid var(--heading); font-size: 14px; min-height: 40px; }
.dr-bloq { font-weight: 500; }
.dr-bloq b { font-weight: 700; }
.dr-ver { font-size: 13.5px; font-weight: 600; white-space: nowrap; text-decoration: none; padding-top: 3px; }
.dr-ver:hover { text-decoration: underline; }
.dr-conta-grupo { display: block; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--blue-bg); color: var(--blue-dark); text-decoration: none; font-size: 14px; }
.dr-conta-grupo span { font-weight: 700; }
.outras-contas { display: flex; flex-direction: column; gap: 10px; }
.outras-contas > h2 { margin: 6px 0 0; font-family: var(--cond); font-size: 24px; }
.conta-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); border-left: 5px solid var(--blue); }
.conta-link b { color: var(--blue-dark); font-size: 16px; }
.conta-link span { font-size: 13.5px; color: var(--text-2); }
.conta-link:hover { border-color: var(--heading); }
.onde-ficou h3 { margin: 0 0 6px; font-size: 15px; }
.onde-ficou ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.menu-calc a.voltar-doses span { color: var(--blue-dark); }
/* conta dentro da conduta */
.calc-embutida { display: flex; flex-direction: column; gap: 12px; background: color-mix(in srgb, var(--blue-bg) 45%, var(--bg)); border: 2px solid var(--blue-border); border-radius: 14px; padding: 14px 16px; scroll-margin-top: 12px; transition: box-shadow .4s; }
.calc-embutida.destacada { box-shadow: 0 0 0 4px #ffb300; }
.calc-cab { display: flex; flex-direction: column; gap: 2px; }
.calc-cab .calc-rot { font-size: 11.5px; font-weight: 700; letter-spacing: .8px; color: var(--blue-dark); }
.calc-cab h2 { margin: 0; font-family: var(--cond); font-size: 25px; color: var(--heading); }
.calc-cab .sub { font-size: 14px; color: var(--muted); }
.calc-mais > summary { cursor: pointer; font-weight: 700; color: var(--heading); min-height: 40px; display: list-item; padding: 8px 0; }
.calc-mais-corpo { display: flex; flex-direction: column; gap: 12px; }
/* tutorial de 1 minuto */
.veu-tutorial { z-index: 110; }
.caixa.tutorial { max-width: 560px; gap: 12px; border-top-color: var(--blue); }
.tut-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tut-passo { font-size: 12.5px; font-weight: 700; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.tut-desenho { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; min-height: 120px; pointer-events: none; }
.tutorial h2 { font-size: 26px; }
.tut-texto { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.tut-pontos { display: flex; gap: 6px; justify-content: center; }
.tut-pontos span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.tut-pontos span.on { background: var(--blue); width: 22px; border-radius: 999px; }
.tut-marca { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tut-marca b { display: block; font-family: var(--cond); font-size: 26px; color: var(--heading); }
.tut-marca small { font-size: 10.5px; letter-spacing: 2px; color: var(--muted); font-weight: 600; }
.tut-selo { border: 3px solid var(--red); color: var(--red-dark); font-weight: 700; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 8px; transform: rotate(-4deg); }
.tut-faixa { display: flex; align-items: center; gap: 10px; background: #fff8db; color: #5c4700; border-bottom: 3px solid #f2c200; border-radius: 8px; padding: 6px 12px; width: 100%; }
:root[data-tema="noturno"] .tut-faixa { background: #2a2410; color: #ffe58a; }
.tut-faixa b { font-family: var(--cond); font-size: 28px; }
.tut-barra { width: 12px; height: 34px; border-radius: 4px; background: #f2c200; }
.tut-ciente { width: 100%; padding: 10px 12px; font-size: 14px; }
.tut-linha { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.tut-aba { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; border-radius: 999px; padding: 8px 14px; background: var(--surface); border: 2px solid var(--border); }
.tut-aba.emg { color: #c62828; border-color: #e3c4c4; } .tut-aba.dos { color: var(--blue-dark); border-color: var(--blue-border); } .tut-aba.con { color: var(--teal-dark); }
.tut-perg { width: 100%; padding: 10px; gap: 8px; }
.tut-perg-tit { color: var(--amber); font-size: 16px; }
.tut-perg .perg { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 10px; }
.tut-perg .perg-bt { min-width: 0; grid-template-columns: auto auto; }
.tut-bt { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 56px; border-radius: 10px; border: 2px solid var(--heading); color: var(--heading); font-weight: 700; }
.tut-bt.sim { border-color: var(--red); color: var(--red-dark); }
.tut-rot { width: 100%; text-align: center; }
.tut-menu { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface-3); color: var(--heading); }

/* ---------- Gestão ---------- */
/* Resumo da semana (23/10/2026) */
.resumo { display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--heading); }
.resumo .res-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.resumo h2 { margin: 0; font-family: var(--cond); font-size: 24px; }
.resumo .res-topo .sub { font-size: 13.5px; color: var(--muted); }
.resumo h3 { margin: 4px 0 8px; font-size: 15px; color: var(--heading); }
.seg.seg-peq button { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.res-top { margin: 0; padding: 0; list-style: none; counter-reset: r; display: flex; flex-direction: column; gap: 6px; }
.res-top li { counter-increment: r; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(60px, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.res-top li .res-nome::before { content: counter(r) ". "; color: var(--muted); font-weight: 700; }
.res-top .res-nome { min-width: 0; overflow-wrap: anywhere; }
.res-barra { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.res-barra span { display: block; height: 8px; background: var(--blue); border-radius: 999px; }
.res-n { text-align: right; white-space: nowrap; }
.res-n small, .res-resp small { color: var(--muted); font-size: 12px; }
.res-resp { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.res-resp li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 5px 0; font-size: 14px; }
.res-resp li:first-child { border-top: 0; }
.indicadores > div { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--c); border-radius: 12px; padding: 10px 14px; }
.indicadores .num { font-size: 32px; color: var(--c); }
.indicadores small { font-size: 13px; color: var(--text-2); }
.t-pend .cab, .t-pend .lin { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 130px 210px; }
.t-usu .cab, .t-usu .lin { grid-template-columns: minmax(0, 1.2fr) 130px 140px 150px 180px 200px; }
.t-err .cab, .t-err .lin { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) 110px 230px; }
.t-aud .cab, .t-aud .lin { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) 100px; }
.sit { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.sit.ativo { background: var(--green-bg); color: var(--green-dark); }
.sit.pendente, .sit.aceite { background: var(--amber-bg); color: var(--amber); }
.sit.suspenso, .sit.revogado { background: var(--red-bg); color: var(--red-dark); }
.sit.novo { background: var(--blue-bg); color: var(--blue-dark); }
.filtros-aud { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto auto; gap: 10px; align-items: end; }
.filtros-aud label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.filtros-aud input, .filtros-aud select { font-size: 14px; background: var(--input-bg); border: 1.5px solid var(--input); border-radius: 8px; padding: 8px 10px; min-height: 40px; color: var(--text); }
.hash { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }

/* ---------- Modo PCR (sempre escuro) ---------- */
.pcr { min-height: 100vh; display: flex; flex-direction: column; background: #0f1720; color: #fff; font-family: var(--sans); }
.pcr a { color: #9cc2ff; }
.pcr-faixa { background: var(--z-fundo); color: var(--z-texto); display: flex; align-items: center; gap: 16px; padding: 10px 28px; flex-wrap: wrap; border-bottom: 4px solid var(--z-cor); }
.pcr-faixa .tag { background: #c62828; color: #fff; font-weight: 700; border-radius: 6px; padding: 4px 10px; letter-spacing: 1px; }
.pcr-faixa .tag.ok { background: #2f7d32; }
.pcr-faixa .peso { font-family: var(--cond); font-weight: 700; font-size: 28px; }
.pcr-faixa .seg2 { display: flex; border: 1.5px solid currentColor; border-radius: 999px; overflow: hidden; }
.pcr-faixa .seg2 a { color: inherit; font-weight: 600; text-decoration: none; padding: 6px 14px; min-height: 36px; display: inline-flex; align-items: center; }
.pcr-faixa .seg2 a.on { background: var(--z-texto); color: var(--z-fundo); }
.pcr-faixa .sair { color: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 14px; background: transparent; min-height: 40px; }
.pcr-corpo { display: flex; flex-wrap: wrap; gap: 20px; padding: 24px 28px; }
.pcr-col { display: flex; flex-direction: column; gap: 12px; }
.pcr-col.a { flex: 1 1 300px; } .pcr-col.b { flex: 2 1 460px; } .pcr-col.c { flex: 1 1 300px; }
.relogio { background: #17222d; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.relogio .rot { font-size: 13px; letter-spacing: 1.5px; color: #9fb0c6; text-align: center; }
.relogio .tempo { font-family: var(--mono); font-weight: 500; font-size: 104px; line-height: 1; color: #ffd34d; font-variant-numeric: tabular-nums; }
.relogio .tempo.alerta { color: #ff6b6b; animation: pisca 1s steps(2) infinite; }
@keyframes pisca { 50% { opacity: .45; } }
.relogio .barra { width: 100%; height: 10px; background: #24313f; border-radius: 999px; overflow: hidden; }
.relogio .barra div { height: 10px; background: #ffd34d; }
.relogio .total { font-size: 15px; color: #c9d6ea; }
.relogio .total b { font-family: var(--mono); font-size: 20px; color: #fff; }
.pcr button { font-family: inherit; }
.pcr .b-azul { background: #1d5fb8; color: #fff; border: 0; border-radius: 12px; padding: 16px; font-size: 20px; font-weight: 700; text-align: left; min-height: 56px; }
.pcr .b-azul span, .pcr .b-ritmo span { display: block; font-size: 14px; font-weight: 500; }
.pcr .b-cinza { background: #24313f; color: #fff; border: 0; border-radius: 12px; padding: 14px 16px; font-size: 18px; font-weight: 600; text-align: left; min-height: 52px; }
.pcr .b-cinza[aria-pressed="true"] { outline: 3px solid #46a758; }
.pcr .dica { margin: 0; font-size: 14px; color: #9fb0c6; line-height: 1.5; }
.ritmos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pcr .b-ritmo { background: #17222d; color: #fff; border: 3px solid #33414f; border-radius: 12px; padding: 14px; font-size: 20px; font-weight: 700; text-align: left; min-height: 64px; }
.pcr .b-ritmo span { color: #c9d6ea; }
.pcr .b-ritmo[aria-pressed="true"].choc { border-color: #f5a524; background: #3a2a0b; }
.pcr .b-ritmo[aria-pressed="true"].nchoc { border-color: #5aa9ff; background: #0d2a45; }
.proximo { background: #17222d; border-radius: 12px; padding: 12px 16px; font-size: 18px; }
.proximo b { color: #ffd34d; }
.b-droga { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; color: #fff; border: 0; border-radius: 14px; padding: 16px 18px; text-align: left; min-height: 64px; width: 100%; }
.b-droga b { font-size: 22px; }
.b-droga .d { display: block; font-size: 14px; }
.b-droga .st { display: block; font-size: 14px; font-weight: 700; color: #b9f6c5; }
.b-droga .v { font-family: var(--cond); font-weight: 700; font-size: 40px; white-space: nowrap; }
.b-droga.adr { background: #b3261e; } .b-droga.choque { background: #b56a09; } .b-droga.amio { background: #6a3591; } .b-droga.lido { background: #4a3a7a; } .b-droga.glic { background: #2f7d32; }
.b-droga:disabled { opacity: .5; cursor: not-allowed; }
.b-droga.bloq { background: #3a1d1d; }
.registro { background: #fff; color: #14202e; border-radius: 12px; padding: 12px 14px; font-family: var(--mono); font-size: 14px; line-height: 1.7; min-height: 240px; max-height: 420px; overflow: auto; }
.registro .vazio { color: #5b6778; }
.cincoht { background: #17222d; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #c9d6ea; line-height: 1.5; }
.cincoht b { color: #fff; }
.pcr .b-rce { display: block; text-align: center; background: #1e8449; color: #fff; border: 0; border-radius: 12px; padding: 14px; font-size: 18px; font-weight: 700; width: 100%; min-height: 52px; }
.pcr .b-fim { display: block; text-align: center; color: #ff9c94; background: transparent; border: 1.5px solid #ff9c94; border-radius: 12px; padding: 12px; font-size: 15px; font-weight: 600; width: 100%; min-height: 48px; }
.pcr .b-desfazer { background: transparent; color: #9fb0c6; border: 1px dashed #4a5a6c; border-radius: 10px; padding: 8px 12px; font-size: 13px; min-height: 40px; }
.fluxo { margin: 0 28px 28px; background: #121c27; border: 1px solid #24313f; border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fluxo h2 { margin: 0; font-family: var(--cond); font-size: 26px; color: #fff; }
.fluxo .cab { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fluxo .cab span { font-size: 13px; color: #9fb0c6; }
.fluxo .no { background: #24313f; border-radius: 10px; padding: 10px 18px; text-align: center; font-size: 15px; max-width: 900px; }
.fluxo .seta { color: #6c7d92; }
.fluxo .ramos { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fluxo .ramo { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.fluxo .ramo .t { border-radius: 10px; padding: 9px; font-weight: 700; font-size: 17px; }
.fluxo .ramo .t.choc { background: #3a2a0b; border: 2px solid #f5a524; }
.fluxo .ramo .t.nchoc { background: #0d2a45; border: 2px solid #5aa9ff; }
.fluxo .ramo .p { border: 1px solid #33414f; border-radius: 10px; padding: 9px; font-size: 15px; }
.fluxo .p.aqui, .fluxo .no.aqui { border: 3px solid #ffd34d; background: #2b2610; }
.fluxo .rce { background: #1e5a2b; border: 2px solid #46a758; }
.fluxo .extras { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.fluxo .extras > div { background: #17222d; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.fluxo .extras b:first-child { color: #ffd34d; }
/* fluxograma clicável: registrar o que foi feito; 5 H e 5 T; regulação depois do retorno da circulação */
.fluxo .acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.fluxo .ck { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid #5b6b80; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.fluxo button.ck:hover { border-color: #ffd34d; }
.fluxo .ck.ok { border-color: #46a758; background: #16351f; cursor: default; font-weight: 500; }
.fluxo .tag-ht { display: inline-block; margin-top: 6px; color: #ffb4ac; font-weight: 700; font-size: 14px; }
.fluxo .ht { width: 100%; max-width: 900px; background: #2a1414; border: 2px solid #e5534b; border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.fluxo .ht-cab { font-size: 16px; color: #ffd0cb; }
.fluxo .ht-cab b { color: #fff; }
.fluxo .ht-quando { font-size: 14px; color: #f3d9d6; }
.fluxo .ht-quando ol { margin: 4px 0 0; padding-left: 20px; }
.fluxo .ht-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.fluxo .ht-item { border-radius: 10px; width: 100%; font-weight: 400; }
.fluxo .regula { text-align: left; margin-top: 8px; background: #123d1d; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.fluxo .regula ul { margin: 4px 0 0; padding-left: 18px; }
.fluxo .regula small { color: #b8dcbf; }
.pcr-rodape { border-top: 1px solid #24313f; padding: 10px 28px; font-size: 13px; color: #9fb0c6; margin-top: auto; }
.relatorio { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 20px; align-items: start; max-width: 1240px; width: 100%; margin: 0 auto; padding: 22px 28px; }
.relatorio h1 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 30px; color: #fff; }
.relatorio .texto { background: #fff; color: #14202e; border-radius: 12px; padding: 14px 16px; font-family: var(--mono); font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.relatorio .fmt { display: flex; gap: 6px; flex-wrap: wrap; }
.relatorio .fmt button { font-size: 14px; font-weight: 700; border-radius: 999px; padding: 6px 12px; border: 1.5px solid #9fb0c6; background: transparent; color: #fff; min-height: 40px; }
.relatorio .fmt button[aria-pressed="true"] { background: #ffd34d; color: #14202e; border-color: #ffd34d; }
.relatorio .copiar { width: 100%; background: #ffd34d; color: #14202e; border: 0; border-radius: 12px; padding: 15px; font-size: 18px; font-weight: 700; min-height: 52px; }
.relatorio .copiado { text-align: center; font-size: 14px; font-weight: 700; color: #b9f6c5; }
.relatorio .antes { background: #17222d; border-radius: 12px; padding: 14px 16px; }
.relatorio .antes h2 { margin: 0 0 8px; font-size: 15px; color: #ffd34d; }
.relatorio .antes ul { margin: 0; padding-left: 18px; color: #dbe4f0; font-size: 14px; line-height: 1.45; }
.relatorio .voltar { display: block; text-align: center; color: #fff; border: 1.5px solid #9fb0c6; border-radius: 12px; padding: 12px; font-size: 15px; font-weight: 700; background: transparent; width: 100%; min-height: 48px; }
.relatorio .apagar { display: block; text-align: center; color: #ff9e9e; border: 1.5px solid #ff9e9e; border-radius: 12px; padding: 12px; font-size: 15px; font-weight: 700; background: transparent; width: 100%; min-height: 48px; }

/* ---------- Perguntas de segurança na hora do remédio (decisão de 23/10/2026) ---------- */
.perguntas { background: var(--amber-bg); border: 2px solid var(--amber-border); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.perguntas.feito { background: var(--surface); border: 1px solid var(--border); padding: 8px 12px; }
.perguntas h2 { margin: 0; font-size: 20px; color: var(--amber); }
.perguntas .perg-sub { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.perg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; background: var(--surface); border: 1px solid var(--amber-border); border-radius: 12px; padding: 12px 14px; }
.perg-txt { display: flex; flex-direction: column; gap: 4px; }
.perg-txt > b { font-size: 18px; color: var(--heading); line-height: 1.3; }
.perg-txt small { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.perg-txt small.perg-ajuda { color: var(--muted); }
.perg-bt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 220px; }
.perg-bt button { min-height: 52px; border-radius: 12px; font-size: 18px; font-weight: 700; background: var(--surface); border: 2px solid var(--heading); color: var(--heading); padding: 8px 14px; }
.perg-bt button.sim { border-color: var(--red); color: var(--red-dark); }
.perg-bt button:hover { filter: brightness(.97); }
.perg-bt button:disabled { opacity: .5; cursor: wait; }
.perg-feitas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.perg-feitas > span { font-weight: 600; color: var(--text-2); }
.resp-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--input); border-radius: 999px; background: var(--surface); color: var(--text); padding: 2px 10px; font-size: 12.5px; min-height: 28px; line-height: 1.2; white-space: nowrap; }
.resp-chip b { font-weight: 700; }
.resp-chip.sim { border-color: var(--red-border); background: var(--red-bg); color: var(--red-dark); }
.resp-chip:hover { border-color: var(--heading); }
.faixa-resp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 5px var(--gutter); background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.faixa-resp > span { font-weight: 600; }
.perg-bloq { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.perg-bloq > b { font-weight: 700; }
.perg-bloq .perg-porque { font-size: 13px; font-weight: 400; }
.perg-alt { font-size: 15px; font-weight: 600; color: var(--text); }
.perg-alt a { font-weight: 700; }
.perg-espera { border: 1.5px dashed var(--amber-border); background: var(--amber-bg); color: var(--amber); border-radius: 10px; padding: 9px 12px; font-size: 14.5px; line-height: 1.4; }
.perg-espera.grande { font-size: 16px; font-weight: 600; text-align: center; padding: 14px; }
.cartao-via.aguarda { border-style: dashed; }
.doses-conduta li.espera { background: var(--amber-bg); }
/* Infusão com preparo em revisão (medida provisória de 23/10/2026: bomba de infusão convencional) */
.aviso-revisao { font-size: 15px; border-width: 2px; }
.revisao-dose .num { font-size: 40px; }
.revisao-dose table.niveis { margin-top: 4px; }
.em-revisao-trecho { display: inline-block; font-weight: 700; color: var(--red-dark); background: var(--red-bg); border: 1px dashed var(--red-border); border-radius: 6px; padding: 0 6px; }
.guia tr.em-revisao-linha td { background: var(--red-bg); color: var(--red-dark); font-size: 13.5px; }

/* ---------- Aprimoramentos de 23/10/2026: MAV, motivo do "não usar", busca da aba, Condutas por subcategoria, linha reta ---------- */
/* MAV — Medicamento de Alta Vigilância: selo forte (âmbar escuro com ícone), selo cheio na página e legenda uma vez por tela */
.mav { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; color: var(--mav-fg); background: var(--mav-bg); border: 1px solid var(--mav-borda); border-radius: 5px; padding: 2px 6px; white-space: nowrap; vertical-align: middle; font-family: var(--sans); }
.mav .mav-ic { flex: none; }
.mav-cheio { display: flex; align-items: center; gap: 12px; background: var(--mav-cheio-bg); color: var(--mav-cheio-fg); border: 2px solid var(--mav-bg); border-left-width: 8px; border-radius: 12px; padding: 10px 14px; }
.mav-cheio .mav-ic { color: var(--mav-bg); flex: none; }
.mav-cheio > span { display: flex; flex-direction: column; gap: 2px; }
.mav-cheio b { font-size: 17px; letter-spacing: .2px; }
.mav-cheio b + span { font-size: 15px; font-weight: 600; }
.mav-legenda { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); background: var(--mav-cheio-bg); border: 1px solid var(--mav-borda-leve); border-radius: 10px; padding: 7px 12px; }
.mav-legenda .mav { margin-right: 2px; }
.pcr .mav-pcr { --mav-bg: #ffb020; --mav-fg: #1a1200; --mav-borda: #ffd27a; font-size: 12.5px; padding: 2px 7px; margin-left: 6px; }
.pcr .mav-pcr-leg { font-size: 13px; color: #c9d6ea; }
.pcr .mav-pcr-leg b { color: #fff; }

/* Motivo de não usar (lista, página, Emergência) */
/* a classe .sit também é o selo de situação da Gestão (nowrap, padding): na lista de remédios o motivo precisa quebrar a linha */
.t-meds .sit { white-space: normal; padding: 0; border-radius: 0; font-size: inherit; font-weight: inherit; }
.t-meds .sit small { align-self: stretch; }
.t-meds .sit small.motivo-nao { color: var(--red-dark); font-weight: 500; display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: none; line-height: 1.35; }
.t-meds .sit small.motivo-nao b { font-weight: 700; }
.sem-motivo { font-style: italic; }
.bloqueio-motivo { display: flex; flex-direction: column; gap: 4px; font-size: 16px; border-left-width: 8px; }
.bloqueio-motivo > b { font-size: 18px; letter-spacing: .4px; }
.bloqueio-motivo > span { font-weight: 500; color: var(--text); }
.bloqueio-motivo > span b { color: var(--red-dark); }
.bloqueio-motivo small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.lista-az small.az-motivo { display: block; margin: 2px 0 0; white-space: normal; font-size: 11.5px; font-weight: 500; color: var(--red-dark); line-height: 1.3; }
.lista-az a .mav { font-size: 10px; padding: 1px 4px; }
section.nao-usar ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
section.nao-usar li { font-size: 13.5px; line-height: 1.35; color: var(--text-2); }
section.nao-usar li a { font-weight: 700; color: var(--red-dark); margin-right: 6px; }
section.nao-usar li span { display: block; }
section.nao-usar > a { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--red-dark); }

/* Busca da aba: sempre logo abaixo do título */
.busca-aba { position: relative; display: flex; align-items: center; background: var(--input-bg); border: 2px solid var(--input); border-radius: 12px; min-height: 50px; }
.busca-aba:focus-within { border-color: var(--heading); }
.busca-aba-ic { display: inline-flex; padding: 0 4px 0 14px; color: var(--muted); }
.busca-aba input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font-size: 17px; padding: 12px 10px; outline: none; }
.busca-aba input:focus-visible { outline: none; }
.busca-aba-res { padding: 0 14px 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.busca-aba-res:empty { display: none; }
.lista-condutas .busca-aba { min-height: 46px; }
.lista-condutas .busca-aba input { font-size: 16px; padding: 10px 8px; }

/* Medicamentos por classe */
.classes-med { display: flex; gap: 6px; flex-wrap: wrap; }
.classes-med a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--heading); text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; min-height: 34px; }
.classes-med a small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.classes-med a:hover { border-color: var(--heading); }
.tabela h2.grupo-med { margin: 0; display: flex; align-items: baseline; gap: 8px; padding: 9px 16px 7px; background: var(--surface-3); border-top: 1px solid var(--border); font-size: 13px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--heading); scroll-margin-top: 12px; }
.tabela h2.grupo-med small { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.tabela h2.grupo-med + .lin { border-top: 0; }

/* Condutas por subcategoria */
.cond-dica { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.cat-ic { display: inline-flex; align-items: center; justify-content: center; color: var(--teal); flex: none; }
.cat-atalhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cat-atalho { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; min-height: 52px; text-decoration: none; color: var(--heading); font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.cat-atalho:hover { border-color: var(--teal); color: var(--heading); }
.cat-atalho .cat-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-bg); }
.cat-atalho > span:nth-child(2) { flex: 1; min-width: 0; }
.cat-atalho small { font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 2px 8px; }
.cat-cond { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; scroll-margin-top: 12px; }
.cat-cond > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; min-height: 56px; }
.cat-cond > summary::-webkit-details-marker { display: none; }
.cat-cond > summary .cat-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-bg); }
.cat-cond .cat-tit { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cat-cond .cat-tit b { font-family: var(--cond); font-size: 21px; color: var(--heading); line-height: 1.15; }
.cat-cond .cat-tit small { font-size: 13px; color: var(--muted); }
.cat-cond .cat-n { font-size: 14px; font-weight: 700; color: var(--teal); background: var(--teal-bg); border-radius: 999px; padding: 3px 11px; }
.cat-cond .cat-seta { width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); margin: 0 4px 4px; transition: transform .15s; flex: none; }
.cat-cond[open] .cat-seta { transform: rotate(225deg); margin-bottom: -4px; }
.cat-cond[open] > summary { border-bottom: 1px solid var(--line); }
.cat-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px 16px 16px; }
.cond-cartao { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: 10px; padding: 10px 12px; text-decoration: none; color: var(--text); min-height: 52px; }
.cond-cartao b { color: var(--teal-dark); font-size: 15px; line-height: 1.25; }
.cond-cartao small { color: var(--muted); font-size: 12.5px; }
.cond-cartao:hover { border-color: var(--teal); background: var(--teal-bg); color: var(--text); }
.cat-lat + .cat-lat { margin-top: 6px; }
.cat-lat-cab { display: flex; align-items: center; gap: 8px; margin: 6px 4px 2px; padding: 6px 4px 4px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--heading); border-bottom: 2px solid var(--teal-bg); }
.cat-lat-cab small { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.lista-condutas .cat-lat a:first-of-type { border-top: 0; }
.trilha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.trilha > a { font-weight: 600; text-decoration: none; }
.trilha-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--teal); background: var(--teal-bg); border-radius: 999px; padding: 3px 10px 3px 6px; }

/* Modo PCR: "Linha reta? Confirme a assistolia" (ramo não chocável) */
.linha-reta { background: #0d2a45; border: 2px solid #5aa9ff; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.linha-reta .lr-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.linha-reta .lr-cab > b { font-size: 18px; color: #fff; }
.linha-reta .lr-mn { font-family: var(--mono); font-size: 13px; font-weight: 700; color: #0d2a45; background: #a9d0ff; border-radius: 6px; padding: 1px 7px; }
.linha-reta .lr-fechar { margin-left: auto; background: transparent; color: #c9d6ea; border: 1.5px solid #5b6b80; border-radius: 999px; padding: 4px 12px; min-height: 36px; font-size: 13.5px; font-weight: 600; }
.linha-reta .lr-quando { margin: 0; font-size: 13.5px; color: #c9d6ea; line-height: 1.4; }
.linha-reta .lr-itens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.linha-reta .lr-item { display: flex; align-items: flex-start; gap: 8px; text-align: left; background: #17222d; color: #fff; border: 1.5px solid #5b6b80; border-radius: 10px; padding: 8px 10px; min-height: 52px; font: inherit; font-size: 14px; }
.linha-reta button.lr-item { cursor: pointer; }
.linha-reta button.lr-item:hover { border-color: #ffd34d; }
.linha-reta .lr-item > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.linha-reta .lr-item small { font-size: 12.5px; color: #c9d6ea; line-height: 1.3; }
.linha-reta .lr-item.ok { border-color: #46a758; background: #16351f; }
.linha-reta .lr-sg { flex: none; min-width: 34px; text-align: center; font-family: var(--mono); font-size: 14px; color: #14202e; background: #ffd34d; border-radius: 6px; padding: 3px 4px; }
.linha-reta .lr-item.ok .lr-sg { background: #46a758; color: #fff; }
.linha-reta .lr-nota { margin: 0; font-size: 13.5px; color: #ffd34d; font-weight: 600; }
.linha-reta .lr-nota abbr { color: inherit; }
.fluxo .p.lr-no { border: 2px dashed #5aa9ff; background: #0f2236; }

@media (max-width: 1100px) { .cat-atalhos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Celular (390 px): abas embaixo, faixa compacta ---------- */
@media (max-width: 760px) {
  :root { --gutter: 14px; }
  body { font-size: 15px; }
  .so-desk { display: none !important; }
  .so-cel { display: inline-flex !important; }
  .topo { padding: 8px 14px; gap: 10px; flex-wrap: nowrap; }
  .topo .logo-upa { height: 32px; }
  .topo .marca svg { width: 28px; height: 28px; }
  .topo .icone-btn { width: 44px; height: 44px; }
  .topo:has([data-acao="menu-cel"]) > .icone-btn[data-acao="tema-cel"] { display: none !important; }
  html, body { overflow-x: hidden; }
  .topo .logo-pref, .topo .sep.s2, .marca-nome small { display: none; }
  .topo .sep { height: 26px; }
  .marca-nome b { font-size: 19px; }
  .busca { position: absolute; left: 0; right: 0; top: 100%; max-width: none; background: var(--surface); padding: 8px 14px; border-bottom: 1px solid var(--border); display: none; }
  .busca.aberta { display: block; }
  .busca-res { left: 14px; right: 14px; }
  .faixa { padding: 8px 14px; gap: 10px; flex-wrap: nowrap; }
  .faixa .barra { width: 12px; height: 40px; border-radius: 4px; }
  .faixa .peso { font-size: 28px; }
  .faixa .grupo1 { flex-direction: column; gap: 0; align-items: flex-start; flex: 1; min-width: 0; }
  .faixa .idade { font-size: 12.5px; }
  .faixa .grupo2 { display: none; }
  .faixa .espaco { display: none; }
  .btn-pcr { padding: 9px 12px; font-size: 14px; gap: 5px; }
  .btn-trocar { padding: 9px 12px; font-size: 14px; }
  .regua-mini { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 2px; padding: 8px 14px 0; align-items: end; }
  .regua-mini span { height: 10px; border-radius: 2px; }
  .regua-mini span.atual { height: 18px; outline: 2px solid var(--heading); }
  .abas { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(var(--n-abas, 4), minmax(0, 1fr)); gap: 0; padding: 0 0 max(6px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); border-bottom: 0; }
  .abas a { flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; font-size: 12px; border-bottom: 0; border-top: 3px solid transparent; min-height: 56px; justify-content: center; }
  .abas a svg { display: inline; }
  .abas a[aria-current="page"] { border-top-color: var(--aba-cor); border-bottom: 0; }
  #app.com-abas { padding-bottom: 72px; }
  .subabas { padding: 8px 14px; overflow-x: auto; flex-wrap: nowrap; }
  .subabas .rot { display: none; }
  .subabas a { white-space: nowrap; }
  main.conteudo { padding: 12px 14px 16px; gap: 10px; }
  .titulo h1 { font-size: 26px; }
  .rodape { padding: 6px 14px; font-size: 11px; line-height: 1.35; }
  .grade-2, .grade-3, .grade-4, .atalhos { grid-template-columns: minmax(0, 1fr); }
  .indicadores.grade-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duas-col { gap: 12px; }
  .duas-col > .lateral.recolher { order: 2; }
  .lista-az { position: static; max-height: none; display: none !important; }
  .regua, .regua-cartao { display: none !important; }
  .linha-dose { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 12px; }
  .linha-dose .detalhe { grid-column: 1 / -1; }
  .linha-dose .chip { grid-column: 1 / -1; justify-self: start; }
  .linha-dose .num { font-size: 24px; text-align: right; }
  .tabela .cab { display: none; }
  .tabela .lin { grid-template-columns: minmax(0, 1fr) !important; gap: 4px; padding: 10px 12px; }
  .tabela .rot-cel { display: inline; font-size: 12px; color: var(--muted); font-weight: 600; }
  .login-topo { padding: 12px 14px; gap: 12px; }
  .login-topo .upa { height: 48px; } .login-topo .pref { height: 50px; } .login-topo .txt { display: none; }
  .login-marca { padding: 28px 20px; gap: 16px; flex-basis: 100%; }
  .login-marca .nome { font-size: 48px; }
  .login-marca .sub { font-size: 13px; letter-spacing: 3px; }
  .login-marca p { font-size: 16px; }
  .login-marca .tags, .login-marca svg { display: none; }
  .login-form-area { padding: 16px 14px 24px; }
  .login-form { padding: 22px 18px; }
  .termo-grade { grid-template-columns: minmax(0, 1fr); }
  .termo-texto { height: 340px; }
  .crianca-cartao { padding: 18px 16px; gap: 16px; }
  .crianca-linha { gap: 16px; }
  .ent-grande { width: 84px; }
  .ent-grande.peso { width: 120px; }
  .cartao-via .num { font-size: 40px; }
  .cartoes-via { grid-template-columns: minmax(0, 1fr); }
  .filtros { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; }
  .filtros > span { display: none; }
  .filtros button { flex: none; white-space: nowrap; }
  .filtros input { flex: 0 0 180px; }
  .guia .duas, .guia .tres, .fluxo .ramos, .fluxo .extras, .fluxo .ht-lista { grid-template-columns: minmax(0, 1fr); }
  .guia .tema { padding: 12px; }
  .guia .tt { font-size: 21px; }
  .escore .grade { grid-template-columns: minmax(0, 1fr) !important; }
  .escore .grade .cabcol { display: none; }
  .filtros-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcr-faixa { padding: 8px 12px; gap: 8px; }
  .pcr-faixa .info { display: none; }
  .pcr-faixa .seg2 { display: none; }
  .pcr-corpo { padding: 12px; gap: 10px; flex-direction: column; flex-wrap: nowrap; }
  .pcr-col { display: contents; }
  .pcr-col > * { order: 10; }
  .pcr-col .relogio { order: 1; } .pcr-col .ritmos { order: 2; } .pcr-col #proximo { order: 3; } .pcr-col #botoes-drogas { order: 4; }
  .pcr-col .b-azul { order: 5; } .pcr-col .metro-grupo { order: 6; } .pcr-col .b-rce { order: 7; } .pcr-col .b-fim { order: 8; }
  .pcr-faixa .sair { padding: 6px 12px; }
  .relogio .tempo { font-size: 72px; }
  .b-droga .v { font-size: 30px; }
  .b-droga b { font-size: 17px; }
  .b-droga .d, .b-droga .st { font-size: 12px; }
  .fluxo { margin: 0 12px 12px; padding: 14px; }
  .relatorio { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .relatorio .texto { font-size: 13px; }
  .pcr-rodape { padding: 8px 12px; font-size: 11px; }
  .caixa { padding: 18px 16px; }
  .perguntas { padding: 12px; gap: 8px; }
  .perguntas h2 { font-size: 19px; }
  .perg { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .perg-bt { min-width: 0; }
  .perg-bt button { min-height: 56px; font-size: 19px; }
  .faixa-resp { flex-wrap: nowrap; overflow-x: auto; padding: 4px 14px; }
  .revisao-dose .num { font-size: 34px; }
  .faixa .vitais-dica { font-size: 11.5px; }
  .faixa .faixa-vitais { flex: 1; min-width: 0; }
  .dr-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; }
  .dr-ver { justify-self: start; }
  .dr-linha { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 10px; }
  .dr-num .num { font-size: 24px; }
  .dr-grupos { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; }
  .dr-grupos button { flex: none; white-space: nowrap; }
  .calc-embutida { padding: 12px; margin: 0 -4px; }
  .calc-cab h2 { font-size: 22px; }
  .caixa.tutorial { padding: 16px; }
  .tutorial h2 { font-size: 23px; }
  .tut-texto { font-size: 15px; }
  .tut-desenho { min-height: 96px; padding: 10px; }
  .resumo .res-topo { flex-direction: column; align-items: flex-start; }
  .res-top li { grid-template-columns: minmax(0, 1fr) auto; }
  .res-top .res-barra { grid-column: 1 / -1; grid-row: 2; }
}
@media print {
  .topo, .abas, .faixa, .rodape, .subabas, .faixa-demo { display: none !important; }
}

/* Toque (celular/tablet): alvos de pelo menos 44 px */
@media (pointer: coarse) {
  .botao.peq, .filtros button, .tema button, .apres-barra button, .subabas a, .relatorio .fmt button, .busca-res a, .lista-condutas a, .menu-calc a { min-height: 44px; }
}

/* Celular (390 px): aprimoramentos de 23/10/2026 */
@media (max-width: 760px) {
  .cat-atalhos { display: none; }
  .cat-cond > summary { padding: 10px 12px; gap: 10px; min-height: 60px; }
  .cat-cond > summary .cat-ic { width: 40px; height: 40px; }
  .cat-cond .cat-tit b { font-size: 19px; }
  .cat-cond .cat-tit small { font-size: 12px; }
  .cat-grade { grid-template-columns: minmax(0, 1fr); padding: 10px 12px 12px; gap: 8px; }
  .classes-med { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; }
  .classes-med a { flex: none; white-space: nowrap; }
  .tabela h2.grupo-med { padding: 9px 12px 7px; }
  .mav-cheio { padding: 9px 12px; gap: 10px; }
  .mav-cheio b { font-size: 16px; }
  .mav-cheio b + span { font-size: 14px; }
  .busca-aba input { font-size: 16px; }
  /* celular: quadro compacto (sigla + nome), para não empurrar a adrenalina para baixo; o texto de cada item fica no computador */
  .linha-reta { padding: 8px 10px; gap: 6px; }
  .linha-reta .lr-cab > b { font-size: 16px; }
  .linha-reta .lr-quando, .linha-reta .lr-item small { display: none; }
  .linha-reta .lr-itens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .linha-reta .lr-item { flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 6px 4px; font-size: 13px; line-height: 1.2; min-height: 64px; }
  .linha-reta .lr-item > span { align-items: center; }
  .linha-reta .lr-nota { font-size: 12.5px; }
  .pcr-col #linha-reta { order: 3; }
}

/* Frente 7A (23/10/2026): nome Puerícia e tela de entrada; 5 ferramentas (Doses rápidas + Calculadoras); aba
 * Calculadoras; tutorial de 4 telas. Só acréscimos: nada acima foi alterado. */
/* abas: Doses rápidas em âmbar (raio), Calculadoras em azul */
.abas a[data-aba="doses"] { --aba-cor: var(--amber); }
.abas a[data-aba="calculadoras"] { --aba-cor: var(--blue); }
/* entrada */
.login-marca .entrada-titulo { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 40px; line-height: 1.1; color: #fff; max-width: 620px; }
.login-marca .entrada-sub { margin: 0; max-width: 580px; font-size: 19px; line-height: 1.5; color: #dbe4f2; }
.entrada-provas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.entrada-provas li { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #fff; }
.entrada-provas li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ffd34d; box-shadow: 0 0 0 4px rgba(255,211,77,.18); }
.login-marca .entrada-faixa { font-size: 14px; color: #a9bad3; }
/* Nova criança: 5 atalhos */
.atalhos.atalhos-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.atalhos-5 .atalho .corpo { padding: 18px 16px 14px; }
.atalhos-5 .atalho b { font-size: 22px; }
.atalho.dos .ico, .atalho.dos .pe { background: var(--amber-bg); color: var(--amber); } .atalho.dos b { color: var(--amber); } .atalho.dos { border-color: var(--amber-border); }
@media (max-width: 1240px) { .atalhos.atalhos-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* aba Calculadoras */
.calc-grupos { margin-top: -2px; }
.calc-grupo { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 12px; }
.calc-grupo > h2 { margin: 6px 0 0; font-size: 13px; letter-spacing: 1.2px; color: var(--muted); font-weight: 700; }
.calc-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc-cartao { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--blue); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,32,56,.05); }
.calc-cartao[hidden] { display: none; }
.calc-abrir { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--text); min-height: 64px; }
.calc-abrir:hover { background: var(--surface-2); }
.calc-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--blue-bg); color: var(--blue-dark); }
.calc-ic.c-hidratacao { background: var(--teal-bg); color: var(--teal-dark); }
.calc-ic.c-escores { background: var(--green-bg); color: var(--green-dark); }
.calc-ic.c-infusao { background: var(--red-bg); color: var(--red-dark); }
.calc-txt { display: flex; flex-direction: column; gap: 3px; }
.calc-txt b { font-size: 17px; color: var(--heading); }
.calc-txt small { font-size: 14px; line-height: 1.4; color: var(--text-2); }
.calc-seta { font-size: 28px; color: var(--muted); line-height: 1; }
.calc-tambem { display: block; padding: 8px 16px 10px 78px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.calc-tambem a { font-weight: 600; }
.calc-voltar { font-size: 14px; font-weight: 600; text-decoration: none; }
.calc-tambem-pe { margin: 0; font-size: 14px; color: var(--text-2); }
.menu-calc-g { font-size: 11.5px; font-weight: 700; letter-spacing: .8px; color: var(--muted); margin: 12px 6px 6px; }
.dr-ir-calc { margin-top: 4px; }
/* tutorial: 4 telas com o exemplo de 13 kg; "Pular" sempre visível no topo */
.caixa.tutorial { padding-top: 0; }
.tut-topo { position: sticky; top: 0; z-index: 2; background: var(--surface); padding: 14px 0 8px; margin-bottom: -4px; }
.tut-pular { flex: none; }
.tut-faixa { background: var(--z-fundo, #fff8db); color: var(--z-texto, #5c4700); border-bottom-color: var(--z-cor, #f2c200); flex-wrap: wrap; }
:root[data-tema="noturno"] .tut-faixa { background: var(--z-fundoN, #2a2410); color: var(--z-textoN, #ffe58a); }
.tut-faixa .tut-barra { background: var(--z-cor, #f2c200); }
.tut-faixa b.tut-zona { font-family: var(--sans); font-size: 13px; letter-spacing: .6px; }
.tut-ciente span { font-size: 13px; line-height: 1.4; }
.tut-dose { width: 100%; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--red); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.tut-dose-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tut-dose-cab small { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.tut-dose-num { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tut-dose-num .num { font-size: 32px; font-weight: 700; color: var(--heading); }
.tut-seringa svg { width: 100%; height: auto; max-height: 90px; }
.tut-mav { font-size: 14px; color: var(--text-2); }
.tut-abas { gap: 6px; }
.tut-aba-mini { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 6px 4px; border-radius: 10px; background: var(--surface); border: 2px solid var(--border); font-weight: 700; }
.tut-aba-mini small { font-size: 11px; }
.tut-aba-mini.emg { color: #c62828; } .tut-aba-mini.med { color: var(--green-dark); } .tut-aba-mini.con { color: var(--teal-dark); } .tut-aba-mini.dos { color: var(--amber); } .tut-aba-mini.cal { color: var(--blue-dark); }
:root[data-tema="noturno"] .tut-aba-mini.emg { color: #ff9e9e; }
@media (max-width: 760px) {
  /* barra de baixo: as 5 ferramentas; Gestão fica no menu ⋮ */
  .abas { grid-template-columns: repeat(var(--n-abas-cel, 5), minmax(0, 1fr)); }
  .abas a[data-aba="gestao"] { display: none; }
  .abas a { font-size: 11px; line-height: 1.15; text-align: center; padding: 7px 2px; letter-spacing: -.1px; }
  .login-marca svg { display: block; width: 60px; height: 60px; flex: none; }
  .login-marca > div:first-child { gap: 14px !important; flex-wrap: nowrap !important; }
  .login-marca .entrada-titulo { font-size: 28px; }
  .login-marca .entrada-sub { font-size: 16px; }
  .entrada-provas li { font-size: 15px; }
  .atalhos.atalhos-5 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  /* 5 atalhos no celular: compactos (ícone ao lado do nome), para caberem sem rolar demais */
  .atalhos-5 .atalho { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
  .atalhos-5 .atalho .corpo { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 12px 12px; align-items: center; }
  .atalhos-5 .atalho .ico { width: 44px; height: 44px; border-radius: 12px; grid-row: span 2; }
  .atalhos-5 .atalho .ico svg { width: 24px; height: 24px; }
  .atalhos-5 .atalho b { font-size: 20px; }
  .atalhos-5 .atalho .desc { font-size: 13px; line-height: 1.35; }
  .atalhos-5 .atalho .pe { display: flex; align-items: center; padding: 0 12px; font-size: 22px; }
  .atalhos-5 .atalho .pe { font-size: 0; } .atalhos-5 .atalho .pe::after { content: "›"; font-size: 26px; }
  .calc-grade { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .calc-abrir { gap: 12px; padding: 12px; }
  .calc-ic { width: 42px; height: 42px; }
  .calc-tambem { padding-left: 66px; }
  .caixa.tutorial { gap: 10px; }
  .tutorial h2 { font-size: 23px; }
  .tut-texto { font-size: 15px; }
  .tut-aba-mini { min-width: 0; flex: 1 1 0; }
  .tut-aba-mini small { font-size: 10px; }
}

/* Frente 7B — Emergência em gavetas (topo fixo com resumo e sinais vitais), modo PCR com ritmo único e pós-parada,
   Sepse com a calculadora de hidratação. Só acrescenta; usa as variáveis do tema (claro e noturno). */
.emg-topo { position: sticky; top: 0; z-index: 15; background: var(--surface); border: 1px solid var(--border); border-bottom: 4px solid var(--z-cor, var(--heading)); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); margin-top: 10px; }
@media (min-width: 761px) {
  .emg-topo { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
  .emg-resumo { flex: 1 1 520px; }
  .emg-vitais { flex: 0 1 auto; }
}
.emg-resumo { display: flex; flex-wrap: wrap; gap: 4px 18px; min-width: 0; }
.emg-resumo > span { display: flex; flex-direction: column; min-width: 0; }
.emg-resumo small { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.emg-resumo b { font-family: var(--cond); font-size: 21px; line-height: 1.15; color: var(--heading); white-space: nowrap; }
.emg-resumo .alerta b { color: var(--amber); }
.emg-vitais { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.emg-vitais > span { display: flex; flex-direction: column; justify-content: center; background: var(--primary); color: var(--on-primary); border-radius: 10px; padding: 5px 14px; min-width: 0; }
.emg-vitais small { font-size: 11.5px; font-weight: 600; opacity: .9; white-space: nowrap; }
.emg-vitais b { font-family: var(--cond); font-size: 28px; line-height: 1.05; white-space: nowrap; }
.emg-vitais i { font-style: normal; font-size: 12px; opacity: .85; }
.emg-vitais .pas { background: var(--surface); color: var(--red); border: 2px solid var(--red); }
.emg-vitais .idade { background: transparent; color: var(--text-2); padding-left: 4px; }
.emg-vitais .idade b { font-size: 17px; font-family: var(--sans); }
.gav-atalhos { display: none; }
.gav-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 22px; margin-top: 14px; align-items: start; }
.gav-menu { position: sticky; top: var(--emg-topo-h, 150px); display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; max-height: calc(100vh - var(--emg-topo-h, 150px) - 16px); overflow: auto; }
.gav-menu a { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; min-height: 38px; }
.gav-menu a:hover, .gav-menu a.on { background: var(--surface-2); color: var(--heading); }
.gav-n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 12.5px; font-weight: 700; }
.gav-principal { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gavetas { display: flex; flex-direction: column; gap: 12px; }
details.gaveta { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; scroll-margin-top: var(--emg-topo-h, 150px); }
details.gaveta > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; min-height: 60px; }
details.gaveta > summary::-webkit-details-marker { display: none; }
details.gaveta > summary .gav-n { width: 32px; height: 32px; font-size: 15px; }
.gav-tit { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.gav-tit b { font-size: 19px; color: var(--heading); }
.gav-tit small { font-size: 13px; color: var(--muted); }
.gav-seta { width: 12px; height: 12px; border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: rotate(45deg); margin: 0 6px 6px; flex: none; transition: transform .15s; }
details.gaveta[open] > summary .gav-seta { transform: rotate(225deg); margin-bottom: 0; margin-top: 6px; }
details.gaveta[open] > summary { border-bottom: 1px solid var(--line); }
.gav-corpo { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 12px; }
.gav-bloco h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--heading); }
.gav-lista { margin: 4px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.gav-nota { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.gav-resumo { margin: 0; font-size: 15.5px; color: var(--text); }
.gav-tab { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gav-tab th, .gav-tab td { border-top: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.gav-tab thead th { border-top: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.tabela-rolar { overflow-x: auto; max-width: 100%; }
details.gav-sub { border: 1px dashed var(--border); border-radius: 12px; }
details.gav-sub > summary { padding: 10px 14px; font-weight: 700; cursor: pointer; color: var(--heading); min-height: 44px; }
details.gav-sub > .grupo-doses, details.gav-sub > .cartao { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.gav-pcr { justify-content: center; font-size: 17px; border-radius: 12px; padding: 12px; }
.gav-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); border-left: 5px solid var(--red); }
.gav-link span { color: var(--link); font-weight: 600; font-size: 14px; }
.ciatox .tel { font-family: var(--cond); font-size: 22px; font-weight: 700; color: var(--heading); text-decoration: none; white-space: nowrap; }
.ht-duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pas-linha, .ml-regra { margin: 0; }
.legenda-det > summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--link); min-height: 32px; }
.sete-p .sp-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sete-p .sp-cab h3 { margin: 0; flex: 1; }
.sp-cont { font-size: 13px; font-weight: 700; background: var(--chip-bg); color: var(--chip-fg); border-radius: 999px; padding: 3px 10px; }
.sete-p.completo { border-color: var(--green-border); }
.sete-p.completo .sp-cont { background: var(--green-bg); color: var(--green-dark); }
.sp-itens { list-style: none; margin: 8px 0 0; padding: 0; }
.sp-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 4px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; cursor: pointer; }
.sp-item input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.sp-item b { color: var(--heading); }
.sp-meds { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; }
.sp-extra { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.sp-extra.pend { color: var(--amber); font-weight: 600; }
@media (max-width: 760px) {
  /* "hidden" no html e no body faz do body uma caixa de rolagem e desliga o topo fixo (sticky); "clip" corta igual sem isso
     (navegador antigo sem "clip" ignora esta linha e fica com o "hidden" de antes) */
  html, body { overflow-x: clip; }
  .emg-topo { padding: 8px 10px; gap: 6px; border-radius: 10px; }
  .emg-resumo { flex-wrap: wrap; gap: 2px 14px; }
  .emg-resumo b { font-size: 18px; }
  .emg-resumo > span { flex: none; }
  .emg-resumo small { font-size: 10px; letter-spacing: .3px; }
  .emg-vitais { flex-wrap: nowrap; gap: 6px; }
  .emg-vitais > span { padding: 4px 8px; flex: 1 1 0; }
  .emg-vitais small { font-size: 10.5px; white-space: normal; line-height: 1.15; }
  .emg-vitais b { font-size: 21px; }
  .emg-vitais .idade { display: none; }
  .gav-atalhos { display: flex; gap: 6px; overflow-x: auto; margin: 0 -4px; padding: 2px 4px; scrollbar-width: none; }
  .gav-atalhos::-webkit-scrollbar, .emg-resumo::-webkit-scrollbar { display: none; }
  .emg-resumo { scrollbar-width: none; }
  .gav-atalhos a { flex: none; white-space: nowrap; font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--heading); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; min-height: 36px; display: inline-flex; align-items: center; }
  .gav-atalhos a.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
  .gav-layout { grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
  .gav-menu { display: none; }
  details.gaveta > summary { padding: 10px 12px; min-height: 56px; }
  .gav-tit b { font-size: 17px; }
  .gav-tit small { font-size: 12px; }
  .gav-corpo { padding: 10px 8px 12px; }
  .ht-duas { grid-template-columns: minmax(0, 1fr); }
}

/* Seções numeradas nas outras abas: o mesmo padrão da Emergência (componente js/secoes.js; pedido do Diretor Técnico de
   23/10/2026). Computador: menu lateral numerado, fixo, com a seção visível destacada. Celular: atalhos fixos no topo
   (chips roláveis) e seções recolhíveis (details.gaveta). */
.gav-menu a { position: relative; }
.gav-menu a:focus-visible, .gav-atalhos a:focus-visible { outline-offset: -3px; }
.sec-layout { --emg-topo-h: 12px; }
.sec-layout [id] { scroll-margin-top: var(--emg-topo-h, 12px); }
.sec-barra { display: none; }
.sec-fim { height: 1px; }
.sec-layout .cond-dica { margin-top: 0; }
.gav-menu .sec-nome { flex: 1; min-width: 0; line-height: 1.25; }
.gav-menu .sec-conta { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; }
.gav-menu a.on .sec-conta { background: var(--surface); }
.gav-menu a[aria-current="page"] { background: var(--surface-2); color: var(--heading); box-shadow: inset 3px 0 0 var(--primary); }
/* Condutas: o ícone e a cor sutil da subcategoria (as variáveis --cat-cor e --cat-fundo vêm de [data-ir-cat] em identidade.css) */
.gav-menu .cat-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--cat-fundo, var(--surface-2)); }
.gav-menu .cat-ic svg { width: 17px; height: 17px; }
.gav-menu a[data-ir-cat] .gav-n { background: var(--cat-fundo, var(--surface-2)); color: var(--cat-cor, var(--heading)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cat-cor, var(--border)) 35%, transparent); }
.gav-menu a[data-ir-cat]:hover, .gav-menu a[data-ir-cat].on { background: color-mix(in srgb, var(--cat-fundo, var(--surface-2)) 70%, var(--surface)); box-shadow: inset 3px 0 0 var(--cat-cor, var(--primary)); }
.gav-atalhos a[data-ir-cat] { border-color: color-mix(in srgb, var(--cat-cor, var(--border)) 45%, var(--border)); }
.gav-atalhos a[data-ir-cat].on { background: var(--cat-fundo, var(--primary)); color: var(--cat-cor, var(--on-primary)); border-color: var(--cat-cor, var(--primary)); }
/* título da seção como h2 (Medicamentos, Doses rápidas, Calculadoras) no lugar do <b> das gavetas */
.gav-tit h2 { margin: 0; font-size: 19px; line-height: 1.2; color: var(--heading); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; letter-spacing: 0; text-transform: none; }
.gav-tit h2 small { font-size: 13px; font-weight: 700; color: var(--muted); }
/* Medicamentos: a tabela da classe ocupa a gaveta inteira */
details.gaveta > .gav-corpo.sec-tabela { padding: 0; }
.sec-tabela > .tabela { border: 0; border-radius: 0 0 14px 14px; box-shadow: none; }
#vazio[hidden] { display: none; }
/* Doses rápidas: os remédios do grupo em linhas, como antes */
details.dr-grupo > .gav-corpo { padding: 0; gap: 0; }
details.dr-grupo > .gav-corpo > .dr-item:first-child { border-top: 0; }
details.dr-grupo > .gav-corpo > .dr-conta-grupo { border-radius: 0 0 14px 14px; }
/* Calculadoras: os cartões das contas dentro da gaveta do grupo */
details.calc-sec > .gav-corpo > .calc-grupo { gap: 0; }
/* Gestão: o menu leva às telas da Gestão; no computador ele substitui a barra de sub-abas (no celular ela continua) */
.ges-bloco { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 761px) { .subabas { display: none; } }
@media (max-width: 760px) {
  .sec-layout { display: flex; flex-direction: column; gap: 10px; margin-top: 0; --emg-topo-h: 66px; width: 100%; min-width: 0; }
  .sec-layout > * { min-width: 0; max-width: 100%; }
  .sec-layout.ges-layout { --emg-topo-h: 12px; }
  .sec-barra { display: block; position: sticky; top: 0; z-index: 14; background: var(--bg); margin: -4px -14px 0; padding: 8px 14px; border-bottom: 1px solid var(--line); }
  .sec-barra .gav-atalhos { margin: 0; padding: 0; }
  .gav-tit h2 { font-size: 17px; }
}

/* Modo PCR: ritmo único (chocável, assistolia, AESP), drogas no momento certo, pós-parada */
.ritmo-atual { font-size: 16px; color: #c9d6ea; margin-bottom: 8px; }
.ritmo-atual b { color: #fff; }
.ritmo-atual small { color: #9fb0c6; }
.ritmos.ritmos3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcr .b-ritmo em { display: block; font-style: normal; font-size: 12px; letter-spacing: 1.5px; color: #ffd34d; }
.pcr .b-ritmo[aria-pressed="true"] { box-shadow: 0 0 0 3px #ffd34d; }
.pcr .b-ritmo.r-aesp[aria-pressed="true"] { border-color: #e5534b; background: #2a1414; }
.b-droga .quando { display: block; font-size: 14px; font-weight: 700; color: #ffd34d; margin-top: 2px; }
.b-droga.espera { background: transparent !important; border: 2px dashed #f5a524; color: #ffe2b3; }
.b-droga.espera .quando { color: #f5a524; }
.b-droga.espera .v { opacity: .55; font-size: 30px; }
.b-droga.espera .st { color: #c9d6ea; }
.fluxo .ramo.apagado { opacity: .32; filter: grayscale(.7); }
.fluxo .ramo.atual > .t { box-shadow: 0 0 0 3px #ffd34d; }
.fluxo .p.aesp-no { border: 2px solid #e5534b; background: #2a1414; }
.aesp-caixa { background: #2a1414; border: 2px solid #e5534b; border-radius: 12px; padding: 10px 12px; font-size: 16px; color: #ffd0cb; }
.aesp-caixa b { color: #fff; }
.aesp-caixa a { display: inline-block; margin-top: 4px; color: #ffb4ac; font-weight: 700; }
.pos-parada { background: #123d1d; border: 2px solid #46a758; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; color: #e3f4e5; }
.pos-parada .pp-cab { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pos-parada .pp-cab b { color: #fff; font-size: 18px; letter-spacing: 1px; }
.cuidados { display: flex; flex-direction: column; gap: 6px; text-align: left; margin-top: 8px; }
.cuidados .cu-cab { display: flex; justify-content: space-between; gap: 10px; color: #fff; }
.cuidados .cu-quando { margin: 0; font-size: 13.5px; color: #c9e9cf; }
.cu-itens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pos-parada .ck, .fluxo .cu-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 48px; width: 100%; padding: 8px 12px; border-radius: 10px; border: 1.5px solid #5b6b80; background: transparent; color: #fff; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.pos-parada button.ck:hover, .fluxo button.cu-item:hover { border-color: #ffd34d; }
.pos-parada .ck.ok, .fluxo .cu-item.ok { border-color: #46a758; background: #16351f; cursor: default; }
.cu-item small { display: block; font-size: 12.5px; color: #c9d6ea; font-weight: 400; line-height: 1.35; }
.cu-item.off { opacity: .55; cursor: default; }
.cu-fonte { color: #b8dcbf; font-size: 12px; }
.sete-p-pcr { text-align: left; margin-top: 6px; }
.sete-p-pcr > summary { cursor: pointer; color: #c9d6ea; font-weight: 600; min-height: 40px; }
.sete-p-pcr .cu-itens { margin-top: 6px; }
.caixa.pcr-escolha .acoes { flex-wrap: wrap; }
.caixa.pcr-escolha .acoes .botao { min-height: 52px; flex: 1 1 140px; font-size: 16px; }
@media (max-width: 760px) {
  .pcr-col .ritmos-caixa { order: 2; } .pcr-col #pos-parada-painel { order: 3; }
  .pcr .b-ritmo { font-size: 16px; padding: 10px 8px; min-height: 58px; }
  .pcr .b-ritmo span { font-size: 11.5px; }
  .cu-itens { grid-template-columns: minmax(0, 1fr); }
  .b-droga.espera .v { font-size: 22px; }
}

/* Sepse e choque séptico: conduta completa e calculadora de hidratação */
.sepse-conduta { display: flex; flex-direction: column; gap: 12px; }
.sepse-conduta .cartao h2 { margin: 0 0 8px; font-size: 18px; }
.sep-passos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sep-passo { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; }
.sep-passo > div > ul { margin: 4px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.45; }
.sep-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--red); color: var(--on-primary); font-size: 16px; }
.sep-doses { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.sep-doses ul { margin: 2px 0 0; padding-left: 18px; font-size: 14.5px; }
.sepse-calc { margin-top: 10px; }
.sep-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sep-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sep-bot { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.sep-bolus { display: inline-flex; flex-direction: column; align-items: flex-start; min-height: 58px; padding: 8px 14px; text-align: left; }
.sep-bolus b { font-size: 21px; font-family: var(--cond); }
.sep-bolus small { font-size: 12.5px; font-weight: 500; }
.sep-aviso { align-self: center; color: var(--amber); font-weight: 600; }
.sep-cardio { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.sep-cardio input, .sep-sobre input { width: 20px; height: 20px; flex: none; }
.sep-cardio small { color: var(--muted); }
.sep-lim b { font-family: var(--cond); font-size: 22px; color: var(--heading); }
.sep-barra { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.sep-barra > div { height: 100%; background: var(--red); transition: width .2s; }
.sep-total { font-size: 16px; font-weight: 700; }
.sep-feitos { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--text-2); }
.sep-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
fieldset.sep-sobre { border: 1px solid var(--red-border); border-radius: 10px; padding: 8px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
fieldset.sep-sobre legend { font-weight: 700; color: var(--red-dark); padding: 0 4px; font-size: 14px; }
fieldset.sep-sobre label { display: flex; gap: 8px; align-items: center; min-height: 36px; font-size: 14px; }
details.guia-extra { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
details.guia-extra > summary { padding: 12px 14px; cursor: pointer; font-weight: 700; color: var(--heading); min-height: 44px; }
details.guia-extra > .guia { padding: 0 14px 14px; }
.sep-sec > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 18px; }
.sep-sec > h2 .sep-n { flex: none; }
.sep-vitais { margin: 4px 0 6px; font-size: 14.5px; }
.sep-pega { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.sep-ck-itens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.sep-ck { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; min-height: 52px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.sep-ck small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.sep-ck[aria-pressed="true"] { border-color: var(--green-border); background: var(--green-bg); }
.sep-ck[aria-pressed="true"] small[data-sep-ck-info] { color: var(--green-dark); font-weight: 700; }
.sep-ck.atrasado { border-color: var(--red-border); background: var(--red-bg); }
.sep-ck.atrasado small[data-sep-ck-info] { color: var(--red-dark); }
.sep-kit .sep-ck-itens { padding: 0 10px 10px; }
.sep-kit > .gav-nota { padding: 0 12px 12px; }
.gav-tab tr.fora-idade { opacity: .5; }
.sep-focos td div + div { margin-top: 2px; }
@media (max-width: 760px) {
  .sep-pega, .sep-ck-itens { grid-template-columns: minmax(0, 1fr); }
  .sep-sec > h2 { font-size: 16.5px; }
}
@media (max-width: 760px) {
  .sep-grade { grid-template-columns: minmax(0, 1fr); }
  .sep-passo { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .sep-n { width: 28px; height: 28px; font-size: 14px; }
}

/* Nova criança: Modo PCR junto das 5 ferramentas (6 atalhos) */
.atalhos.atalhos-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atalho.pcr-at { border-color: #e3c4c4; } .atalho.pcr-at .ico, .atalho.pcr-at .pe { background: #c62828; color: #fff; } .atalho.pcr-at b { color: #b71c1c; }
:root[data-tema="noturno"] .atalho.pcr-at b { color: #ff9e9e; }
@media (max-width: 760px) { .atalhos.atalhos-6 { grid-template-columns: minmax(0, 1fr); } }

/* "Instalar o app" (instalar.js): cartão com o ícone e o passo a passo do navegador */
.cartao-instalar { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
.cartao-instalar .inst-icone { border-radius: 14px; flex: none; }
.cartao-instalar .inst-corpo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cartao-instalar .inst-tit { font-size: 17px; color: var(--heading); }
.cartao-instalar .inst-sub { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.cartao-instalar .inst-passos { margin: 4px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.55; }
.cartao-instalar .inst-ico { display: inline-flex; vertical-align: -4px; color: var(--heading); }
.cartao-instalar .inst-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

/* Instalar o app: pílula no topo, faixa no alto da entrada e página #/instalar */
.btn-instalar { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--primary); color: var(--on-primary) !important; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; flex: none; }
.faixa-instalar { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 10px 14px; border-radius: 14px; background: var(--primary); color: var(--on-primary) !important; text-decoration: none; }
.faixa-instalar img { border-radius: 10px; flex: none; background: #fff; }
.faixa-instalar .fi-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.faixa-instalar small { opacity: .92; font-size: 13px; }
.faixa-instalar .fi-seta { font-size: 30px; line-height: 1; }
@media (min-width: 900px) { .faixa-instalar { display: none; } }
.inst-pagina { width: 100%; max-width: 720px; margin: 0 auto; padding: 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; }
.inst-cab { display: flex; gap: 16px; align-items: center; }
.inst-cab h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; color: var(--heading); }
.inst-cab p { margin: 0; color: var(--muted); line-height: 1.5; }
.inst-cab .inst-icone { border-radius: 18px; flex: none; }
.inst-bloco { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.inst-bloco h2 { margin: 0 0 12px; font-size: 19px; color: var(--heading); }
.inst-bloco > p { margin: 0 0 12px; line-height: 1.5; }
.inst-alerta { border: 2px solid var(--amber); }
.inst-lista { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.inst-p { display: flex; gap: 12px; align-items: flex-start; }
.inst-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.inst-p .inst-ico { display: inline-flex; vertical-align: middle; }
.inst-grande { width: 100%; min-height: 56px; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; }
.inst-rodape { text-align: center; margin: 0; }
@media (max-width: 760px) { .topo .btn-instalar { padding: 6px 10px; font-size: 13px; } .inst-cab { align-items: flex-start; } .inst-cab .inst-icone { width: 56px; height: 56px; } }
@media (max-width: 400px) { .topo .btn-instalar span { display: none; } }

/* Tutorial no celular (23/10/2026): a pergunta de segurança espremia numa coluna estreita e invadia o título; os nomes
   das 5 abas cortavam. Pergunta em cima e botões embaixo; abas em 3 colunas com o nome quebrando linha. */
.tut-perg .perg { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.tut-perg .perg-txt { min-width: 0; }
.tut-perg .perg-bt { display: flex; gap: 8px; justify-content: flex-start; }
.tut-desenho { overflow: hidden; }
@media (max-width: 760px) {
  .tut-abas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .tut-aba-mini { min-width: 0; padding: 6px 2px; }
  .tut-aba-mini small { font-size: 11px; line-height: 1.15; text-align: center; white-space: normal; overflow-wrap: anywhere; }
}


/* Nova criança no celular (23/10/2026): "Medido / Estimar pela idade" embaixo do peso, na largura toda (antes quebrava em 3 linhas) */
@media (max-width: 760px) {
  .crianca-linha .grp { width: 100%; }
  .crianca-linha .grp .ent:has(.seg) { flex-wrap: wrap; }
  .crianca-linha .ent .seg { flex: 1 1 100%; }
  .crianca-linha .ent .seg button { flex: 1 1 0; padding: 10px 8px; min-height: 48px; font-size: 15px; }
  .ent-grande.peso { width: 100%; max-width: 180px; }
}
.nota-pagina { margin: 0 0 10px; font-size: 14px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
.mav .mav-dc { font-weight: 700; letter-spacing: 0; text-transform: none; }

/* Via de administração em destaque (DT, 23/10/2026) */
.via-chip { display: inline-flex; align-items: center; font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .4px; line-height: 1.2; color: var(--on-primary); background: var(--primary); border-radius: 6px; padding: 2px 8px; white-space: nowrap; vertical-align: middle; margin: 0 2px; }
.via-chip.grande { font-size: 18px; padding: 4px 12px; border-radius: 8px; }
.via-chip.via-pcr { background: #ffffff; color: #0f1720; margin-left: 6px; }

/* "ver quadro do Diretor ↑": botão que leva ao quadro "Decisão do Diretor Técnico" e o faz piscar */
.guia button.ver-quadro { border: 0; cursor: pointer; font-family: var(--sans); min-height: 24px; text-decoration: underline; }
.guia .bx.dt.piscar { animation: piscar-dt 1.6s ease-out 1; }
@keyframes piscar-dt { 0%, 40% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--blue) 45%, transparent); } 100% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .guia .bx.dt.piscar { animation: none; outline: 3px solid var(--blue); } }

/* Tabelas do guia: "anywhere" (herdado de .guia) deixava a coluna com largura mínima de 1 letra e o cabeçalho
   "SEM DESIDRATAÇÃO" quebrava letra por letra; na tabela, quebra só palavra longa demais */
.guia table th, .guia table td { overflow-wrap: break-word; }
.guia table th { hyphens: auto; }
.regra-vz { font-size: 14.5px; line-height: 1.45; }
.regra-vz small.fonte { display: block; margin-top: 4px; font-size: 12px; opacity: .85; }

/* TEP da porta na tela Nova criança */
.tep-rapido { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tep-cab { display: flex; flex-direction: column; gap: 2px; }
.tep-cab b { color: var(--heading); font-size: 15px; }
.tep-cab small { color: var(--muted); font-size: 13px; }
.tep-bt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tep-bt button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; border: 1.5px solid var(--input); border-radius: 10px; background: var(--surface); color: var(--heading); font-size: 15px; cursor: pointer; padding: 6px 4px; }
.tep-bt button small { font-size: 12px; color: var(--muted); }
.tep-bt button[aria-pressed="true"] { background: var(--red, #c62828); border-color: var(--red, #c62828); color: #fff; }
.tep-bt button[aria-pressed="true"] small { color: #fff; }
.tep-vz { margin-top: 6px; }
.guia a.link-pagina { font-weight: 700; color: var(--link); text-decoration: underline; white-space: nowrap; }
.conta-gestao { font-weight: 700; color: var(--primary) !important; }

/* Conduta completa (formato guia) */
.cc { display: flex; flex-direction: column; gap: 14px; }
.cc-resumo { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text); background: var(--surface-2); border-left: 5px solid var(--primary); border-radius: 10px; padding: 12px 14px; }
.cc-bloco h2 { font-size: 19px; margin: 0 0 10px; }
.cc-fluxo { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.cc-fluxo li span { display: block; line-height: 1.5; color: var(--text); }
.cc-meds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cc-med { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: var(--surface); }
.cc-med-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; }
.cc-med-cab a { color: var(--heading); }
.cc-papel { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; border-radius: 6px; padding: 2px 8px; background: var(--surface-3); color: var(--text-2); }
.cc-papel.primeira { background: var(--green-bg, #e6f2ef); color: var(--green-dark, #1f5c45); }
.cc-med-dose { display: flex; flex-direction: column; margin: 6px 0; }
.cc-med-dose .num { font-size: 22px; color: var(--heading); }
.cc-med-dose small { color: var(--muted); }
.cc-med p { margin: 4px 0 0; line-height: 1.45; font-size: 14.5px; }
.cc-nao-bloco { border-left: 5px solid var(--red, #c62828); }
.cc-regular { border-left: 5px solid var(--red, #c62828); }
.cc-guia-tit { font-size: 18px; margin: 8px 0 0; color: var(--muted); }
.bloq-txt { color: var(--red-dark, #8e1b1b); }
