/* Estilo único do site desde 05/11/2026: "Mantine" (criado em 04/11/2026), inspirado no tema padrão do Mantine v7: azul #228BE6, fonte Inter
   (SIL OFL, servida pelo site), cantos de 8 px (defaultRadius "md", pedido dele), bordas finas, sombras leves,
   variante "light" (cor a 10%) para o secundário, transições curtas ("pop", "fade", "slide"), ícones Tabler
   (MIT). No celular a navegação vai para um menu lateral aberto pelo ☰ (padrão AppShell + Burger).
   Só vale com <html data-visual="mantine">. */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(fontes/inter-400.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(fontes/inter-500.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(fontes/inter-600.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(fontes/inter-700.woff2) format("woff2")}
/* ---- tokens: escuro (paleta "dark" do Mantine 7) ---- */
:root[data-visual=mantine]{--bg:#242424;--card:#2e2e2e;--card2:#3b3b3b;--campo:#2e2e2e;--line:#424242;--forte:#696969;
--ink:#c9c9c9;--forte-ink:#ffffff;--mut:#828282;--acc:#228be6;--acc2:#1c7ed6;--acc-bg:rgba(34,139,230,.15);--acc-txt:#4dabf7;--link:#4dabf7;
--ok:#51cf66;--okbg:rgba(64,192,87,.15);--okln:rgba(64,192,87,.4);--warn:#fcc419;--err:#ff6b6b;--perigo:#fa5252;
--a-bg:rgba(250,82,82,.15);--a-fg:#ff8787;--a-ln:rgba(250,82,82,.35);--t-bg:rgba(250,176,5,.15);--t-fg:#ffd43b;--t-ln:rgba(250,176,5,.35);
--n-bg:rgba(34,139,230,.15);--n-fg:#74c0fc;--n-ln:rgba(34,139,230,.35);--chg:rgba(250,176,5,.18);--chgln:#fab005;--foco:#228be6;
--pac:#2e2e2e;--pacln:#424242;--edit:#262626;--barra:rgba(36,36,36,.95);--toast:#2e2e2e;--num:#66d9e8;--achado:#b197fc;--sug:#fcc419;
--sombra:rgba(0,0,0,.4);--hover:#3b3b3b;--hdr:#242424;
--sh-sm:0 1px 3px rgba(0,0,0,.25),0 1px 2px rgba(0,0,0,.3);
--sh-md:0 1px 3px rgba(0,0,0,.2),0 10px 15px -5px rgba(0,0,0,.35),0 7px 7px -5px rgba(0,0,0,.3);
--r-xs:2px;--r-sm:4px;--r:8px;--r-lg:16px;--ease:ease;--t:150ms}
/* ---- tokens: claro ---- */
:root[data-visual=mantine][data-tema=claro]{--bg:#ffffff;--card:#ffffff;--card2:#f8f9fa;--campo:#ffffff;--line:#dee2e6;--forte:#ced4da;
--ink:#000000;--forte-ink:#000000;--mut:#868e96;--acc:#228be6;--acc2:#1c7ed6;--acc-bg:rgba(34,139,230,.1);--acc-txt:#228be6;--link:#228be6;
--ok:#2f9e44;--okbg:rgba(64,192,87,.1);--okln:rgba(64,192,87,.35);--warn:#e67700;--err:#e03131;--perigo:#fa5252;
--a-bg:rgba(250,82,82,.1);--a-fg:#e03131;--a-ln:rgba(250,82,82,.3);--t-bg:rgba(250,176,5,.12);--t-fg:#e67700;--t-ln:rgba(250,176,5,.4);
--n-bg:rgba(34,139,230,.1);--n-fg:#1971c2;--n-ln:rgba(34,139,230,.3);--chg:rgba(250,176,5,.2);--chgln:#fab005;--foco:#228be6;
--pac:#ffffff;--pacln:#dee2e6;--edit:#fffdf4;--barra:rgba(255,255,255,.95);--toast:#ffffff;--num:#1098ad;--achado:#7950f2;--sug:#e67700;
--sombra:rgba(0,0,0,.1);--hover:#f1f3f5;--hdr:#ffffff;
--sh-sm:0 1px 3px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.1);
--sh-md:0 1px 3px rgba(0,0,0,.05),0 10px 15px -5px rgba(0,0,0,.05),0 7px 7px -5px rgba(0,0,0,.04)}

/* ---- base e tipografia (h1 34 · h2 26 · h3 22 · h4 18, peso 700, altura 1.3; corpo 14 px / 1.55) ---- */
:root[data-visual=mantine] body{font:14px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"cv11","ss01"}
:root[data-visual=mantine] a{color:var(--link);text-decoration:none}
:root[data-visual=mantine] a:hover{text-decoration:underline}
:root[data-visual=mantine] h1{font-size:34px;line-height:1.3;font-weight:700;color:var(--forte-ink);margin:16px 0 8px;letter-spacing:-.5px}
:root[data-visual=mantine] h2{font-size:18px;line-height:1.45;font-weight:700;text-transform:none;letter-spacing:0;color:var(--forte-ink);margin:28px 0 12px}
:root[data-visual=mantine] .mut,:root[data-visual=mantine] .dica{color:var(--mut)}
:root[data-visual=mantine] .mut{font-size:13px}
:root[data-visual=mantine] .dica{font-size:14px;max-width:75ch}
:root[data-visual=mantine] kbd{font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid var(--line);border-bottom-width:3px;
border-radius:var(--r-sm);padding:2px 6px;background:var(--card2);color:var(--ink)}
:root[data-visual=mantine] :focus-visible{outline:2px solid var(--foco);outline-offset:2px}
:root[data-visual=mantine] ::selection{background:var(--acc-bg)}
:root[data-visual=mantine] .wrap{padding-top:0}

/* ---- cabeçalho (AppShell header, 60 px) ---- */
:root[data-visual=mantine] .nav{min-height:60px;margin:0 0 24px;gap:4px;align-items:center;background:var(--hdr);
border-bottom:1px solid var(--line);box-shadow:0 0 0 100vmax var(--hdr);clip-path:inset(0 -100vmax)}
:root[data-visual=mantine] .nav .marca{font-size:18px;font-weight:700;color:var(--forte-ink);margin-right:16px;letter-spacing:-.3px}
:root[data-visual=mantine] .nav a{padding:8px 12px;border-radius:var(--r);font-size:14px;font-weight:500;color:var(--ink);text-decoration:none;
transition:background-color var(--t) var(--ease),color var(--t) var(--ease)}
:root[data-visual=mantine] .nav a:hover{background:var(--hover)}
:root[data-visual=mantine] .nav a.on{background:var(--acc-bg);color:var(--acc-txt);font-weight:600}
:root[data-visual=mantine] .nav .emo{display:none}
/* ActionIcon "default": quadradinho com borda, ícone Tabler */
:root[data-visual=mantine] .nav .tema,:root[data-visual=mantine] .nav .sair:not(.pub){width:34px;height:34px;min-width:34px;padding:0;margin:0 0 0 6px;
display:inline-flex;align-items:center;justify-content:center;font-size:0;border:1px solid var(--line);border-radius:var(--r);
background:var(--card);color:var(--ink);transition:background-color var(--t) var(--ease)}
:root[data-visual=mantine] .nav .tema:hover,:root[data-visual=mantine] .nav .sair:not(.pub):hover{background:var(--hover);text-decoration:none}
:root[data-visual=mantine] .nav .tema::before,:root[data-visual=mantine] .nav .sair:not(.pub)::before{content:"";width:18px;height:18px;background:currentColor;
-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
:root[data-visual=mantine] #tema{--ic:var(--ic-lua)}
:root[data-visual=mantine][data-escolha=claro] #tema{--ic:var(--ic-sol)}
:root[data-visual=mantine][data-escolha=auto] #tema{--ic:var(--ic-auto)}
:root[data-visual=mantine] #avisos{--ic:var(--ic-sino-off)}
:root[data-visual=mantine] #avisos[data-on="1"]{--ic:var(--ic-sino)}
:root[data-visual=mantine] #visual{--ic:var(--ic-paleta)}
:root[data-visual=mantine] #smike{--ic:var(--ic-smike)}
:root[data-visual=mantine] #smike.on{color:var(--ok);border-color:var(--okln)}
:root[data-visual=mantine] .nav .sair{--ic:var(--ic-sair)}
:root[data-visual=mantine] .nav .sair.pub{background:var(--perigo);color:#fff;border-radius:var(--r)}
:root[data-visual=mantine] .burger{--ic:var(--ic-menu)}
:root[data-visual=mantine].nav-aberta .burger{--ic:var(--ic-x)}
:root[data-visual=mantine] .nav .mut{padding:0 6px}

/* ---- botões: filled · light · outline vermelho; 30/36/42 px; cedem 1 px ao clicar ---- */
:root[data-visual=mantine] .btn{height:auto;min-height:36px;padding:0 18px;border:1px solid transparent;border-radius:var(--r);
background:var(--acc);color:#fff;font:600 14px/1 Inter,system-ui,sans-serif;letter-spacing:0;
transition:background-color var(--t) var(--ease),transform 80ms var(--ease),color var(--t) var(--ease)}
:root[data-visual=mantine] .btn:hover{background:var(--acc2);text-decoration:none}
:root[data-visual=mantine] .btn:active{transform:translateY(1px)}
:root[data-visual=mantine] .btn.mini{min-height:30px;padding:0 14px;font-size:13px}
:root[data-visual=mantine] .btn.grande{min-height:42px;padding:0 22px;font-size:16px}
:root[data-visual=mantine] .btn.ghost{background:var(--acc-bg);color:var(--acc-txt);border-color:transparent}
:root[data-visual=mantine] .btn.ghost:hover{background:rgba(34,139,230,.2)}
:root[data-visual=mantine] .btn.contorno{background:transparent;color:var(--forte-ink);border-color:var(--forte)}
:root[data-visual=mantine] .btn.contorno:hover{background:var(--hover);border-color:var(--acc)}
:root[data-visual=mantine] .btn.contorno:not(:disabled):hover{box-shadow:none}
:root[data-visual=mantine] .btn.rec{background:var(--perigo);color:#fff}
:root[data-visual=mantine] .btn.rec:hover{background:#f03e3e}
:root[data-visual=mantine] .btn.perigo{background:var(--a-bg);color:var(--a-fg);border-color:transparent}
:root[data-visual=mantine] .btn.perigo:hover{background:rgba(250,82,82,.2)}
:root[data-visual=mantine] .btn:disabled{opacity:1;background:var(--card2);color:var(--mut);border-color:var(--line);cursor:not-allowed;transform:none}
:root[data-visual=mantine] .btn.on{background:var(--acc);color:#fff}

/* ---- campos: borda 1 px, 36 px, foco azul; select com seta própria ---- */
:root[data-visual=mantine] textarea,:root[data-visual=mantine] input[type=text],:root[data-visual=mantine] input[type=search],
:root[data-visual=mantine] input[type=password],:root[data-visual=mantine] input[type=date],:root[data-visual=mantine] select{
background:var(--campo);border:1px solid var(--line);border-radius:var(--r);color:var(--forte-ink);font:inherit;font-size:14px;
transition:border-color var(--t) var(--ease)}
:root[data-visual=mantine] input[type=text],:root[data-visual=mantine] input[type=search],:root[data-visual=mantine] input[type=password]{min-height:36px;padding:6px 12px}
:root[data-visual=mantine] textarea{padding:10px 12px;line-height:1.55}
:root[data-visual=mantine] textarea:focus,:root[data-visual=mantine] input:focus,:root[data-visual=mantine] select:focus{outline:none;border-color:var(--acc)}
:root[data-visual=mantine] ::placeholder{color:var(--mut);opacity:1}
:root[data-visual=mantine] select{appearance:none;-webkit-appearance:none;min-height:36px;padding:0 32px 0 12px;
background-image:linear-gradient(45deg,transparent 50%,var(--mut) 50%),linear-gradient(135deg,var(--mut) 50%,transparent 50%);
background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px;background-repeat:no-repeat}
:root[data-visual=mantine] input[type=checkbox],:root[data-visual=mantine] input[type=radio]{accent-color:var(--acc);width:20px;height:20px}
:root[data-visual=mantine] .campo-rot{font-size:14px;font-weight:500;color:var(--forte-ink)}

/* ---- Paper / Card: borda, sombra sm, 8 px ---- */
:root[data-visual=mantine] .card,:root[data-visual=mantine] .status,:root[data-visual=mantine] .conf-geral,:root[data-visual=mantine] .indice,
:root[data-visual=mantine] .est-vis,:root[data-visual=mantine] .est-lado,:root[data-visual=mantine] .est-pacs,:root[data-visual=mantine] .notas,
:root[data-visual=mantine] .laudo,:root[data-visual=mantine] .pfonte,:root[data-visual=mantine] .ghead{background:var(--card);
border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh-sm)}
:root[data-visual=mantine] .card{padding:16px}
:root[data-visual=mantine] .laudo{overflow:hidden;margin-bottom:16px}
/* Card.Section de cabeçalho */
:root[data-visual=mantine] .laudo .lhead{background:var(--card);border-bottom:1px solid var(--line);padding:10px 16px;gap:8px}
:root[data-visual=mantine] .laudo .lhead h4{font-size:12px;font-weight:600;letter-spacing:.3px;color:var(--mut)}
:root[data-visual=mantine] .laudo .lhead h4 .lpac{font-size:14px;color:var(--forte-ink);letter-spacing:0}
:root[data-visual=mantine] .laudo .corpo{padding:16px 20px 20px;font-size:var(--fs);line-height:1.6;color:var(--forte-ink)}
:root[data-visual=mantine] .laudo.atual{border-color:var(--acc);box-shadow:0 0 0 1px var(--acc),var(--sh-sm)}
:root[data-visual=mantine] .laudo.copiado{border-color:var(--okln)}
:root[data-visual=mantine] .laudo.copiado .lhead{background:var(--okbg)}
:root[data-visual=mantine] .laudo .estado{font-size:12px;font-weight:600}
:root[data-visual=mantine] .laudo .selo{border-radius:var(--r-sm)}
:root[data-visual=mantine] .ghead{padding:10px 16px}
:root[data-visual=mantine] .ghead h3{font-size:16px;font-weight:700;color:var(--forte-ink)}
:root[data-visual=mantine] .grupo{margin-bottom:32px}
:root[data-visual=mantine] .status{padding:12px 16px}
:root[data-visual=mantine] .status .fase{font-weight:600;color:var(--forte-ink)}
/* Progress: 8 px arredondada */
:root[data-visual=mantine] .status .bar{height:8px;border-radius:var(--r-lg);background:var(--card2)}
:root[data-visual=mantine] .status .bar i{border-radius:var(--r-lg);background:var(--acc)}
:root[data-visual=mantine] progress{appearance:none;height:8px;border:0;border-radius:var(--r-lg);overflow:hidden;background:var(--card2)}
:root[data-visual=mantine] progress::-webkit-progress-bar{background:var(--card2)}
:root[data-visual=mantine] progress::-webkit-progress-value{background:var(--acc);border-radius:var(--r-lg)}
:root[data-visual=mantine] progress::-moz-progress-bar{background:var(--acc)}
/* Loader "oval" */
:root[data-visual=mantine] .spin{width:18px;height:18px;border:2px solid var(--acc-bg);border-top-color:var(--acc);animation-duration:.8s}

/* ---- Alert "light" (notas do laudo) e Notification (faixas, avisos) ---- */
:root[data-visual=mantine] .notas{padding:0;overflow:hidden}
:root[data-visual=mantine] .notas .nota{padding:12px 16px;border-bottom:1px solid var(--line);font-size:14px;gap:12px}
:root[data-visual=mantine] .notas .nota:has(.tag.ALERTA){background:var(--a-bg)}
:root[data-visual=mantine] .notas .nota:has(.tag.ATENCAO){background:var(--t-bg)}
:root[data-visual=mantine] .notas .nota:has(.tag.NOTA){background:var(--n-bg)}
:root[data-visual=mantine] .aviso{background:var(--n-bg);border:0;border-radius:var(--r);color:var(--forte-ink);padding:12px 16px;font-size:14px}
:root[data-visual=mantine] .faixa,:root[data-visual=mantine] .aviso-notif,:root[data-visual=mantine] .aviso-pronto{background:var(--card);border:1px solid var(--line);
border-radius:var(--r);box-shadow:var(--sh-md);padding:10px 12px 10px 22px;position:relative;font-size:14px}
:root[data-visual=mantine] .faixa::before,:root[data-visual=mantine] .aviso-notif::before,:root[data-visual=mantine] .aviso-pronto::before{content:"";position:absolute;
left:8px;top:10px;bottom:10px;width:4px;border-radius:4px;background:var(--acc)}
:root[data-visual=mantine] .faixa::before{background:var(--chgln)}
:root[data-visual=mantine] .aviso-pronto::before{background:var(--ok)}
:root[data-visual=mantine] .toast{background:var(--toast);color:var(--forte-ink);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh-md);
padding:10px 16px 10px 22px}
:root[data-visual=mantine] .toast::before{content:"";position:absolute;left:8px;top:9px;bottom:9px;width:4px;border-radius:4px;background:var(--acc)}
:root[data-visual=mantine] .toast .toast-b{color:var(--acc-txt);border-color:var(--line)}

/* ---- Badge: pílula, maiúsculas, 11 px 700; "light" e "dot" ---- */
:root[data-visual=mantine] .tag,:root[data-visual=mantine] .pill,:root[data-visual=mantine] .sit{border:0;border-radius:999px;padding:0 10px;height:20px;
display:inline-flex;align-items:center;font-size:11px;line-height:1;font-weight:700;letter-spacing:.25px;text-transform:uppercase;white-space:nowrap}
:root[data-visual=mantine] .tag.ALERTA{background:var(--a-bg);color:var(--a-fg)}
:root[data-visual=mantine] .tag.ATENCAO{background:var(--t-bg);color:var(--t-fg)}
:root[data-visual=mantine] .tag.NOTA{background:var(--n-bg);color:var(--n-fg)}
:root[data-visual=mantine] .pill,:root[data-visual=mantine] .sit{background:transparent;color:var(--ink);border:1px solid var(--line);gap:6px}
:root[data-visual=mantine] .pill::before,:root[data-visual=mantine] .sit::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mut)}
:root[data-visual=mantine] .pill.ok::before,:root[data-visual=mantine] .sit.laudo::before,:root[data-visual=mantine] .sit.pronto::before,:root[data-visual=mantine] .sit.conf::before,:root[data-visual=mantine] .sit.conferido::before{background:var(--ok)}
:root[data-visual=mantine] .pill.erro::before,:root[data-visual=mantine] .pill.cancelado::before{background:var(--err)}
:root[data-visual=mantine] .pill.rodando::before,:root[data-visual=mantine] .pill.fila::before,:root[data-visual=mantine] .sit.fila::before{background:var(--warn)}
:root[data-visual=mantine] .sit.dit::before,:root[data-visual=mantine] .sit.ditado::before{background:var(--acc)}
:root[data-visual=mantine] .sit.conf,:root[data-visual=mantine] .sit.conferido{background:var(--okbg);border-color:transparent;color:var(--ok)}
:root[data-visual=mantine] .chip{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--card2);font-size:12px}
:root[data-visual=mantine] .chip:hover{border-color:var(--acc)}
:root[data-visual=mantine] .ant-selo{border-radius:999px;background:var(--acc-bg);color:var(--acc-txt);font-weight:600}

/* ---- Table highlightOnHover (listas) e NavLink (índices) ---- */
:root[data-visual=mantine] .lista{padding:0;overflow:hidden}
:root[data-visual=mantine] .lista a.lt{padding:12px 16px;border-bottom:1px solid var(--line);transition:background-color var(--t) var(--ease)}
:root[data-visual=mantine] .lista a.lt:hover,:root[data-visual=mantine] .pd:hover,:root[data-visual=mantine] .jt-l:hover,:root[data-visual=mantine] .gres .gitem:hover{background:var(--hover);text-decoration:none}
:root[data-visual=mantine] .lista .l1 b,:root[data-visual=mantine] .pd .l1 b{color:var(--forte-ink);font-weight:600}
:root[data-visual=mantine] .pd{padding:10px 16px;border-bottom:1px solid var(--line);transition:background-color var(--t) var(--ease)}
:root[data-visual=mantine] .jt-l{padding:10px 16px;transition:background-color var(--t) var(--ease)}
:root[data-visual=mantine] .pfonte{padding:0;overflow:hidden}
:root[data-visual=mantine] .pfonte h2{margin:0;padding:14px 16px 6px;font-size:20px}
:root[data-visual=mantine] .pfonte>.row{margin:6px 16px 12px}
:root[data-visual=mantine] .pmod{border-top:1px solid var(--line);padding:0}
:root[data-visual=mantine] .pmod summary{padding:10px 16px;font-weight:600;background:var(--card2)}
:root[data-visual=mantine] .gres .gitem{padding:12px 16px;border-radius:var(--r)}
:root[data-visual=mantine] .indice,:root[data-visual=mantine] .est-pacs{padding:8px}
:root[data-visual=mantine] .indice .ih,:root[data-visual=mantine] .est-pacs .ih{font-size:12px;font-weight:700;color:var(--mut);text-transform:uppercase;letter-spacing:.4px;padding:6px 10px}
:root[data-visual=mantine] .indice a,:root[data-visual=mantine] .est-pacs a{border-radius:var(--r-sm);padding:7px 10px;font-size:14px;text-decoration:none;
transition:background-color var(--t) var(--ease)}
:root[data-visual=mantine] .indice a:hover,:root[data-visual=mantine] .est-pacs a:hover{background:var(--hover)}
:root[data-visual=mantine] .indice a.vendo,:root[data-visual=mantine] .est-pacs a.on{background:var(--acc-bg);color:var(--acc-txt);font-weight:600}
:root[data-visual=mantine] .ajuda table,:root[data-visual=mantine] .smike-ajuda table{border-collapse:collapse;width:100%}
:root[data-visual=mantine] .ajuda td,:root[data-visual=mantine] .smike-ajuda td{padding:8px 10px;border-bottom:1px solid var(--line);font-size:14px}

/* ---- cartões selecionáveis (dias do Trabalho) ---- */
:root[data-visual=mantine] .tdias .tdia{border:1px solid var(--line);border-radius:var(--r);background:var(--card);padding:12px 16px;box-shadow:var(--sh-sm);
transition:border-color var(--t) var(--ease),background-color var(--t) var(--ease);text-decoration:none}
:root[data-visual=mantine] .tdias .tdia:hover{background:var(--hover);text-decoration:none}
:root[data-visual=mantine] .tdias .tdia.on{border-color:var(--acc);background:var(--acc-bg);box-shadow:none}
:root[data-visual=mantine] .tdias .tdia b{font-size:16px;color:var(--forte-ink)}
:root[data-visual=mantine] .tdias .tdia span{color:var(--mut);opacity:1;font-size:13px}

/* ---- Tabs padrão (Estação) e barra do lote ---- */
:root[data-visual=mantine] .est-abas{border-bottom:2px solid var(--line);gap:0}
:root[data-visual=mantine] .est-abas button{padding:10px 16px;margin-bottom:-2px;border-bottom:2px solid transparent;font-weight:500;color:var(--ink);
border-radius:var(--r-sm) var(--r-sm) 0 0;transition:background-color var(--t) var(--ease),border-color var(--t) var(--ease)}
:root[data-visual=mantine] .est-abas button:hover{background:var(--hover);border-bottom-color:var(--forte)}
:root[data-visual=mantine] .est-abas button.on{border-bottom-color:var(--acc);color:var(--forte-ink);font-weight:600}
:root[data-visual=mantine] .barra{background:var(--barra);border-bottom:1px solid var(--line);backdrop-filter:blur(8px);padding:10px 0;gap:8px;flex-wrap:nowrap}
:root[data-visual=mantine] .barra .rot{font-size:16px;font-weight:700;color:var(--forte-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}
:root[data-visual=mantine] .barra .renomear{min-height:30px;width:30px;padding:0;justify-content:center;flex:none}
:root[data-visual=mantine] .barra .cont{font-size:13px;color:var(--mut);white-space:nowrap;flex:none}
:root[data-visual=mantine] .barra .cont b{color:var(--forte-ink)}
:root[data-visual=mantine] .barra .alertas{flex:none;font-size:11px;font-weight:700;padding:0 10px;height:20px;display:inline-flex;align-items:center;border-radius:999px;background:var(--a-bg);color:var(--a-fg)}
:root[data-visual=mantine] .barra select{min-height:30px;font-size:13px;max-width:170px;flex:none}
:root[data-visual=mantine] .barra .ico{min-height:30px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:var(--r);
background:var(--card);color:var(--ink);font-size:13px;font-weight:500;flex:none;white-space:nowrap;transition:background-color var(--t) var(--ease)}
:root[data-visual=mantine] .barra .ico:hover,:root[data-visual=mantine] .barra .ico.on{background:var(--hover);border-color:var(--line);color:var(--forte-ink);text-decoration:none}

/* ---- Menu, Modal, Drawer ---- */
:root[data-visual=mantine] .pop .menu,:root[data-visual=mantine] .menu-visual,:root[data-visual=mantine] .ant-pop{background:var(--card);border:1px solid var(--line);
border-radius:var(--r);box-shadow:var(--sh-md);padding:4px}
:root[data-visual=mantine] .menu label,:root[data-visual=mantine] .menu-visual button{border-radius:var(--r-sm);padding:8px 12px;font-size:14px;color:var(--ink)}
:root[data-visual=mantine] .menu label:hover,:root[data-visual=mantine] .menu-visual button:hover{background:var(--hover)}
:root[data-visual=mantine] .menu-visual button.on{color:var(--acc-txt);background:var(--acc-bg);font-weight:600}
:root[data-visual=mantine] .menu hr{border-top:1px solid var(--line);margin:4px 0}
:root[data-visual=mantine] .menu .lin button,:root[data-visual=mantine] .menu .lin select{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--card);color:var(--ink)}
:root[data-visual=mantine] .ajuda,:root[data-visual=mantine] .smike-ajuda{background:rgba(0,0,0,.6)}
:root[data-visual=mantine] .ajuda .card,:root[data-visual=mantine] .smike-ajuda .card{border:0;border-radius:var(--r);box-shadow:var(--sh-md);padding:20px}
:root[data-visual=mantine] .ajuda .card>b:first-child,:root[data-visual=mantine] .smike-ajuda .card>b:first-child{display:block;font-size:16px;font-weight:700;margin-bottom:12px;color:var(--forte-ink)}
:root[data-visual=mantine] .gaveta{background:var(--card);border-left:1px solid var(--line);box-shadow:var(--sh-md)}
:root[data-visual=mantine] .gaveta .gh{min-height:60px;padding:0 16px;border-bottom:1px solid var(--line)}
:root[data-visual=mantine] .gaveta .gh b{font-size:16px;font-weight:700;color:var(--forte-ink)}
:root[data-visual=mantine] .gaveta .gh button{border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
:root[data-visual=mantine] .gaveta .gt h5{text-transform:none;letter-spacing:0;font-size:13px;font-weight:700}

/* ---- Estação ---- */
:root[data-visual=mantine] .est-bloco{border:1px solid var(--line);border-radius:var(--r);padding:8px 12px;background:var(--card)}
:root[data-visual=mantine] .est-bloco.on{border-color:var(--acc);background:var(--acc-bg)}
:root[data-visual=mantine] .est-bloco .cab{font-weight:600;color:var(--forte-ink)}
:root[data-visual=mantine] .est-med{border-radius:var(--r-sm)}
:root[data-visual=mantine] .est-med.img-on{background:var(--acc-bg)}
:root[data-visual=mantine] .est-med .btn.mini{min-height:28px;padding:0 10px}
:root[data-visual=mantine] .est-med.ok .btn.ok{background:var(--okbg);color:var(--ok)}
:root[data-visual=mantine] .est-med.nao .btn.nao{background:var(--a-bg);color:var(--a-fg)}
:root[data-visual=mantine] .est-tela,:root[data-visual=mantine] .est-cmp{border-radius:var(--r)}
:root[data-visual=mantine] .est-th{border-radius:var(--r-sm)}
:root[data-visual=mantine] .est-topo h1{font-size:22px;line-height:1.3}
:root[data-visual=mantine] .capta,:root[data-visual=mantine] .est-capta{border:1px solid var(--line);border-radius:var(--r);background:var(--card2)}
:root[data-visual=mantine] .nivel{height:8px;border-radius:var(--r-lg)}
:root[data-visual=mantine] ol.arqs li{border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
:root[data-visual=mantine] .conf-geral summary{padding:12px 16px;font-weight:600;color:var(--forte-ink)}
:root[data-visual=mantine] .conf-geral pre{padding:0 16px 16px}

/* ---- movimento: transições do Mantine (pop · fade · slide), 150–200 ms, "ease" ---- */
@keyframes mt-pop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
@keyframes mt-fade{from{opacity:0}}
@keyframes mt-slide-up{from{opacity:0;transform:translateY(12px)}}
@keyframes mt-slide-down{from{opacity:0;transform:translateY(-8px)}}
:root[data-visual=mantine] .menu-visual{transform-origin:top right;animation:mt-pop var(--t) var(--ease) both}
:root[data-visual=mantine] .pop.on .menu,:root[data-visual=mantine] .ant-pop{transform-origin:top right;animation:mt-pop var(--t) var(--ease) both}
:root[data-visual=mantine] .ajuda.on,:root[data-visual=mantine] .smike-ajuda{animation:mt-fade 200ms var(--ease) both}
:root[data-visual=mantine] .ajuda.on .card,:root[data-visual=mantine] .smike-ajuda .card{animation:mt-pop 200ms var(--ease) both}
:root[data-visual=mantine] .toast{transform:translate(-50%,12px);transition:opacity 200ms var(--ease),transform 200ms var(--ease)}
:root[data-visual=mantine] .toast.on{transform:translate(-50%,0)}
:root[data-visual=mantine] .aviso-pronto,:root[data-visual=mantine] .capta.flutua{animation:mt-slide-up 200ms var(--ease) both}
:root[data-visual=mantine] .aviso,:root[data-visual=mantine] .faixa,:root[data-visual=mantine] .aviso-notif{animation:mt-slide-down 200ms var(--ease) both}
:root[data-visual=mantine] .gaveta{transition:transform 200ms var(--ease)}
:root[data-visual=mantine] details[open]>*:not(summary){animation:mt-fade 150ms var(--ease) both}
:root[data-visual=mantine] .laudo.novo{animation:mt-slide-up 300ms var(--ease) both}
:root[data-visual=mantine] .laudo{transition:border-color var(--t) var(--ease),box-shadow var(--t) var(--ease)}
:root[data-visual=mantine] .status .bar i{transition:width 300ms var(--ease)}
/* Skeleton: bloco cinza pulsando enquanto o lote carrega */
@keyframes mt-pulsa{50%{opacity:.4}}
:root[data-visual=mantine] #app:empty::before,:root[data-visual=mantine] #app:empty::after{content:"";display:block;border-radius:var(--r);
background:var(--card2);animation:mt-pulsa 1.5s linear infinite}
:root[data-visual=mantine] #app:empty::before{height:44px;margin-bottom:16px}
:root[data-visual=mantine] #app:empty::after{height:50vh;max-height:480px}
/* entre páginas: só um fade curto */
:root[data-visual=mantine]::view-transition-old(root){animation:120ms var(--ease) both mt-sai}
:root[data-visual=mantine]::view-transition-new(root){animation:150ms var(--ease) both mt-fade}
@keyframes mt-sai{to{opacity:0}}
@media (prefers-reduced-motion:reduce){
 :root[data-visual=mantine] *,:root[data-visual=mantine] *::before,:root[data-visual=mantine] *::after{animation:none!important;transition:none!important}
 :root[data-visual=mantine] .toast{transform:translate(-50%,0)}
}

/* ---- celular: AppShell com Burger — o ☰ abre um menu lateral (Drawer + NavLink) com as páginas ---- */
@media (max-width:640px){
 :root[data-visual=mantine] .nav{flex-wrap:nowrap;min-height:56px;gap:2px;position:sticky;top:0;z-index:60;
  box-shadow:none;clip-path:none;margin:0 -12px 20px;padding:0 12px}   /* sem clip-path: ele cortaria o menu lateral */
 :root[data-visual=mantine].nav-aberta .nav{z-index:70}
 :root[data-visual=mantine] .burger{display:inline-flex!important;margin:0 4px 0 0!important}
 :root[data-visual=mantine] .nav .marca{margin-right:auto;font-size:17px}
 :root[data-visual=mantine] .nav .esp{display:none}
 :root[data-visual=mantine] .nav .tema,:root[data-visual=mantine] .nav .sair:not(.pub){margin-left:4px;width:32px;height:32px;min-width:32px}
 :root[data-visual=mantine] .nav-links{display:flex;flex-direction:column;gap:2px;position:fixed;z-index:62;top:0;left:0;bottom:0;
  width:min(300px,82vw);padding:72px 12px 16px;background:var(--card);border-right:1px solid var(--line);box-shadow:var(--sh-md);
  transform:translateX(-102%);transition:transform 200ms var(--ease);overflow-y:auto}
 :root[data-visual=mantine].nav-aberta .nav-links{transform:none}
 :root[data-visual=mantine] .nav-links a{padding:10px 12px;font-size:15px;border-radius:var(--r-sm)}
 :root[data-visual=mantine] .nav-links::before{content:"Páginas";font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
  color:var(--mut);padding:0 12px 6px}
 :root[data-visual=mantine] .burger{position:relative;z-index:63}
 :root[data-visual=mantine].nav-aberta body::after{content:"";position:fixed;inset:0;z-index:61;background:rgba(0,0,0,.55);animation:mt-fade 200ms var(--ease) both}
 :root[data-visual=mantine] .wrap{padding-left:12px;padding-right:12px}
 :root[data-visual=mantine] h1{font-size:26px}
 :root[data-visual=mantine] .barra{flex-wrap:wrap;row-gap:8px}
 :root[data-visual=mantine] .barra .rot{flex:1 1 0}
 :root[data-visual=mantine] .barra .esp{flex-basis:100%;height:0}
 :root[data-visual=mantine] .barra select{flex:1 1 calc(50% - 4px);max-width:none;min-width:0}
 :root[data-visual=mantine] .btn{min-height:36px}
 :root[data-visual=mantine] .btn.mini{min-height:32px}
 :root[data-visual=mantine] .laudo .corpo{padding:14px 16px 18px}
}

/* ícones Tabler (MIT) desenhados com a cor do texto */
:root[data-visual=mantine]{--ic-lua:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z' /%3E%3C/svg%3E");--ic-sol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0' /%3E%3Cpath d='M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7' /%3E%3C/svg%3E");--ic-auto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9.173 14.83a4 4 0 1 1 5.657 -5.657' /%3E%3Cpath d='M11.294 12.707l.174 .247a7.5 7.5 0 0 0 8.845 2.492a9 9 0 0 1 -14.671 2.914' /%3E%3Cpath d='M3 12h1' /%3E%3Cpath d='M12 3v1' /%3E%3Cpath d='M5.6 5.6l.7 .7' /%3E%3Cpath d='M3 21l18 -18' /%3E%3C/svg%3E");--ic-sino:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6' /%3E%3Cpath d='M9 17v1a3 3 0 0 0 6 0v-1' /%3E%3C/svg%3E");--ic-sino-off:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9.346 5.353c.21 -.129 .428 -.246 .654 -.353a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3m-1 3h-13a4 4 0 0 0 2 -3v-3a6.996 6.996 0 0 1 1.273 -3.707' /%3E%3Cpath d='M9 17v1a3 3 0 0 0 6 0v-1' /%3E%3Cpath d='M3 3l18 18' /%3E%3C/svg%3E");--ic-paleta:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25' /%3E%3Cpath d='M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' /%3E%3Cpath d='M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' /%3E%3Cpath d='M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' /%3E%3C/svg%3E");--ic-smike:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 14v-3a8 8 0 1 1 16 0v3' /%3E%3Cpath d='M18 19c0 1.657 -2.686 3 -6 3' /%3E%3Cpath d='M4 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z' /%3E%3Cpath d='M15 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z' /%3E%3C/svg%3E");--ic-sair:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2' /%3E%3Cpath d='M9 12h12l-3 -3' /%3E%3Cpath d='M18 15l3 -3' /%3E%3C/svg%3E");--ic-menu:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 6l16 0' /%3E%3Cpath d='M4 12l16 0' /%3E%3Cpath d='M4 18l16 0' /%3E%3C/svg%3E");--ic-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M18 6l-12 12' /%3E%3Cpath d='M6 6l12 12' /%3E%3C/svg%3E");--ic-busca:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0' /%3E%3Cpath d='M21 21l-6 -6' /%3E%3C/svg%3E");}
/* a etiqueta de situação "laudo" tem a classe .laudo: não herda o cartão do laudo */
:root[data-visual=mantine] .sit.laudo{margin:0;box-shadow:none;overflow:visible;border:0;background:var(--okbg);color:var(--ok)}

/* ==== movimento extra (04/11/2026, pedido dele): mais vivo, no espírito do Mantine ======================== */
/* 1) entre páginas a aba ativa desliza até a nova (View Transitions); o cabeçalho fica parado */
:root[data-visual=mantine] .nav{view-transition-name:barra-mantine}
:root[data-visual=mantine] .nav a.on{view-transition-name:aba-mantine}
:root[data-visual=mantine]::view-transition-group(aba-mantine){animation-duration:250ms;animation-timing-function:cubic-bezier(.4,0,.2,1)}
:root[data-visual=mantine]::view-transition-group(barra-mantine){animation-duration:0s}
/* 2) "FloatingIndicator": um realce que desliza até o item sob o mouse (barra, menus, abas); posto pelo comum.js */
@media (min-width:641px){
 :root[data-visual=mantine] .nav-links{display:flex;align-items:center;gap:4px;position:relative}
}
/* .menu-visual (fixed) e .pop .menu (absolute) já servem de referência ao realce: não mudar a posição deles */
:root[data-visual=mantine] .est-abas{position:relative}
:root[data-visual=mantine] .mt-realce{position:absolute;z-index:0;pointer-events:none;border-radius:var(--r);background:var(--hover);opacity:0;
transition:transform 180ms cubic-bezier(.4,0,.2,1),width 180ms cubic-bezier(.4,0,.2,1),height 180ms cubic-bezier(.4,0,.2,1),opacity 150ms ease}
:root[data-visual=mantine] .mt-realce.on{opacity:1}
:root[data-visual=mantine] .menu-visual .mt-realce,:root[data-visual=mantine] .pop .menu .mt-realce{border-radius:var(--r-sm)}
:root[data-visual=mantine] .mt-com-realce>*:not(.mt-realce){position:relative;z-index:1}
:root[data-visual=mantine] .mt-com-realce a:hover,:root[data-visual=mantine] .mt-com-realce button:hover,:root[data-visual=mantine] .mt-com-realce label:hover{background-color:transparent}
:root[data-visual=mantine] .mt-com-realce a.on:hover,:root[data-visual=mantine] .mt-com-realce button.on:hover{background-color:var(--acc-bg)}
:root[data-visual=mantine] .est-abas.mt-com-realce button.on:hover{background-color:transparent}
/* 3) listas entram em sequência rápida (30 ms entre itens, até o 12º) */
/* a coluna "Pacientes" do lote não anima: ela é redesenhada a cada atualização do lote e ficava
   transparente (sumindo) a cada redesenho e nas capturas de tela (07/11/2026) */
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo){animation:mt-slide-up 220ms ease both}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(2){animation-delay:30ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(3){animation-delay:60ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(4){animation-delay:90ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(5){animation-delay:120ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(6){animation-delay:150ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(7){animation-delay:180ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(8){animation-delay:210ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(9){animation-delay:240ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(10){animation-delay:270ms}
:root[data-visual=mantine] :is(.lista a.lt,.pd,.tdias .tdia,.notas .nota,.gres .gitem,.jt-l,.est-pacs a,.grupo):nth-child(n+11){animation-delay:300ms}
/* 4) esqueleto com brilho passando, além do pulso */
@keyframes mt-brilho{from{background-position:150% 0}to{background-position:-50% 0}}
:root[data-visual=mantine] #app:empty::before,:root[data-visual=mantine] #app:empty::after{
background:linear-gradient(90deg,var(--card2) 0%,var(--hover) 45%,var(--line) 50%,var(--hover) 55%,var(--card2) 100%) 0 0/250% 100%;
animation:mt-brilho 1.4s ease-in-out infinite}
/* menu ☰ do celular: os itens entram em sequência */
@media (max-width:640px){
 :root[data-visual=mantine].nav-aberta .nav-links a{animation:mt-slide-left 220ms ease both}
 :root[data-visual=mantine].nav-aberta .nav-links a:nth-child(2){animation-delay:30ms}
 :root[data-visual=mantine].nav-aberta .nav-links a:nth-child(3){animation-delay:60ms}
 :root[data-visual=mantine].nav-aberta .nav-links a:nth-child(4){animation-delay:90ms}
 :root[data-visual=mantine].nav-aberta .nav-links a:nth-child(5){animation-delay:120ms}
 :root[data-visual=mantine].nav-aberta .nav-links a:nth-child(n+6){animation-delay:150ms}
}
@keyframes mt-slide-left{from{opacity:0;transform:translateX(-12px)}}
@media (prefers-reduced-motion:reduce){:root[data-visual=mantine] .mt-realce{transition:none}}

/* ---- mais movimento no PC (pedido dele, 05/11/2026): só com mouse e sem "reduzir movimento".
   Tudo curto (150–300 ms) e com a curva do Mantine; no celular nada disso roda. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 /* cartões sobem de leve sob o mouse; o laudo só ganha sombra (transform atrapalharia a edição) */
 :root[data-visual=mantine] :is(.tdias .tdia,.gres .gitem,.pacs-item,.indice-dia){transition:transform 180ms var(--ease),box-shadow 180ms var(--ease),background-color var(--t) var(--ease)}
 :root[data-visual=mantine] :is(.tdias .tdia,.gres .gitem):hover{transform:translateY(-2px);box-shadow:var(--sh-md,0 6px 16px rgba(0,0,0,.25))}
 :root[data-visual=mantine] .laudo:hover:not(.atual){box-shadow:0 4px 14px rgba(0,0,0,.18)}
 :root[data-visual=mantine] :is(.card,.mais,.conf-geral){transition:box-shadow 200ms var(--ease),border-color var(--t) var(--ease)}
 :root[data-visual=mantine] .card:focus-within{box-shadow:0 0 0 1px var(--acc),0 6px 18px rgba(0,0,0,.18)}
 /* laudo da vez (J/K, depois de copiar): anel azul que pulsa uma vez ao chegar */
 @keyframes mt-anel{0%{box-shadow:0 0 0 0 rgba(34,139,230,.55)}100%{box-shadow:0 0 0 10px rgba(34,139,230,0),0 0 0 1px var(--acc)}}
 :root[data-visual=mantine] .laudo.atual{animation:mt-anel 600ms var(--ease)}
 /* "✓ copiado" entra com um pop */
 :root[data-visual=mantine] .laudo .lhead .estado{display:inline-block;animation:mt-pop 260ms cubic-bezier(.34,1.56,.64,1) both}
 /* botões: brilho ao passar, cedem ao clicar (já cediam 1 px) */
 :root[data-visual=mantine] .btn{transition:background-color var(--t) var(--ease),transform 80ms var(--ease),color var(--t) var(--ease),box-shadow 180ms var(--ease)}
 :root[data-visual=mantine] .btn:not(:disabled):hover{box-shadow:0 3px 10px rgba(34,139,230,.28)}
 :root[data-visual=mantine] .btn.ghost:not(:disabled):hover,:root[data-visual=mantine] .btn.perigo:not(:disabled):hover{box-shadow:none}
 :root[data-visual=mantine] .btn:not(:disabled):active{transform:translateY(1px) scale(.98)}
 /* gravando: anel vermelho que respira */
 @keyframes mt-rec{0%{box-shadow:0 0 0 0 rgba(250,82,82,.55)}70%{box-shadow:0 0 0 8px rgba(250,82,82,0)}100%{box-shadow:0 0 0 0 rgba(250,82,82,0)}}
 :root[data-visual=mantine] .btn.rec{animation:mt-rec 1.4s ease-out infinite}
 :root[data-visual=mantine] .ptt:not(.pausado){animation:mt-slide-down 200ms var(--ease) both,mt-rec 1.4s 200ms ease-out infinite}
 /* ícones da barra: o tema gira, os demais crescem um pouco */
 :root[data-visual=mantine] .nav .tema{transition:background-color var(--t) var(--ease),transform 200ms var(--ease)}
 :root[data-visual=mantine] .nav .tema:hover{transform:scale(1.08)}
 :root[data-visual=mantine] .nav #tema:hover{transform:rotate(-20deg) scale(1.08)}
 :root[data-visual=mantine] .nav .tema:active{transform:scale(.94)}
 /* campos: anel de foco aparece suave */
 :root[data-visual=mantine] :is(textarea,input[type=text],input[type=search],input[type=password],input[type=date],select){transition:border-color var(--t) var(--ease),box-shadow 180ms var(--ease)}
 :root[data-visual=mantine] :is(textarea,input[type=text],input[type=search],input[type=password],select):focus{box-shadow:0 0 0 3px rgba(34,139,230,.18)}
 /* índice lateral e listas: o item desliza 3 px sob o mouse */
 :root[data-visual=mantine] .indice a{transition:background-color var(--t) var(--ease),padding-left 150ms var(--ease)}
 :root[data-visual=mantine] .indice a:hover{padding-left:17px}
 :root[data-visual=mantine] .lista a.lt:hover,:root[data-visual=mantine] .pd:hover{box-shadow:inset 3px 0 0 var(--acc)}
 /* etiquetas e anexos: pop pequeno */
 :root[data-visual=mantine] :is(.chip,.tag,.pill){transition:transform 150ms var(--ease),border-color var(--t) var(--ease)}
 :root[data-visual=mantine] :is(.chip,.tag):hover{transform:scale(1.04)}
 /* seções que abrem (conferência, "ver ditado"): conteúdo desce em vez de só aparecer */
 :root[data-visual=mantine] details[open]>*:not(summary){animation:mt-slide-down 200ms var(--ease) both}
 :root[data-visual=mantine] details>summary{transition:color var(--t) var(--ease)}
 :root[data-visual=mantine] details>summary:hover{color:var(--acc)}
 /* menus: itens entram em cascata */
 :root[data-visual=mantine] :is(.menu-visual button,.pop.on .menu label){animation:mt-slide-down 180ms var(--ease) both}
 :root[data-visual=mantine] :is(.menu-visual button,.pop.on .menu label):nth-child(2){animation-delay:20ms}
 :root[data-visual=mantine] :is(.menu-visual button,.pop.on .menu label):nth-child(3){animation-delay:40ms}
 :root[data-visual=mantine] :is(.menu-visual button,.pop.on .menu label):nth-child(4){animation-delay:60ms}
 :root[data-visual=mantine] :is(.menu-visual button,.pop.on .menu label):nth-child(5){animation-delay:80ms}
 :root[data-visual=mantine] :is(.menu-visual button,.pop.on .menu label):nth-child(n+6){animation-delay:100ms}
 /* toast sobe com mola */
 :root[data-visual=mantine] .toast{transition:opacity 200ms var(--ease),transform 320ms cubic-bezier(.34,1.56,.64,1)}
}

/* troca de página animada (antes vinha do vidro.css, apagado em 05/11/2026) */
@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}
/* "você está aqui" (B3, 07/11/2026): no computador o item do menu fica em cor + peso; no celular,
   com o menu no ☰, o nome da página aparece ao lado da marca */
:root[data-visual=mantine] .nav-aqui{display:none}
@media (max-width:640px){
 :root[data-visual=mantine] .nav .marca{margin-right:0}
 :root[data-visual=mantine] .nav-aqui{display:inline;margin:0 auto 0 8px;padding-left:8px;border-left:1px solid var(--line);
  font-size:15px;font-weight:600;color:var(--acc-txt)}
}
/* título da página = nome do item do menu (B2, 07/11/2026) */
:root[data-visual=mantine] h1.tit-pag{font-size:26px;margin:4px 0 16px}
:root[data-visual=mantine] .pg-mesa h1.tit-pag{font-size:22px;margin:0 0 10px}
:root[data-visual=mantine] h2.sec-novo{margin-top:8px}
@media (max-width:640px){:root[data-visual=mantine] h1.tit-pag{font-size:20px;margin:0 0 10px}}
/* dica de uma linha + "?" (B4, 07/11/2026) */
:root[data-visual=mantine] .ajuda-bt{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;
 margin-left:4px;border-radius:50%;border:1px solid var(--forte);background:transparent;color:var(--ink);font:600 12px/1 inherit;
 cursor:pointer;vertical-align:middle}
:root[data-visual=mantine] .ajuda-bt:hover{border-color:var(--acc);color:var(--acc-txt)}
:root[data-visual=mantine] .ajuda .card ul{margin:8px 0;padding-left:20px}
:root[data-visual=mantine] .ajuda .card li{margin:4px 0}
/* rótulo visível acima do campo (B5, 07/11/2026) */
:root[data-visual=mantine] label.campo-rot{display:block;margin:0 0 4px;font-size:13px;font-weight:600;color:var(--forte-ink)}
:root[data-visual=mantine] .pg-login label.campo-rot{margin-top:8px}
:root[data-visual=mantine] .mesa-ident-box{display:flex;flex-direction:column;flex:0 1 240px;min-width:140px}
:root[data-visual=mantine] .mesa-ident-box label.campo-rot{font-size:11.5px;margin:0 0 2px}
:root[data-visual=mantine] .mesa-ident-box .mesa-ident,:root[data-visual] .pg-mesa .mesa-cab .mesa-ident-box .mesa-ident{width:100%;flex:none;min-width:0}
:root[data-visual=mantine] .mesa-box-h label{cursor:pointer}
:root[data-visual=mantine] #mais > label{cursor:pointer}
/* fila / lentidão / limite (B6, 07/11/2026): discreto, sem cor de alarme */
:root[data-visual=mantine] .mesa-servico{order:99;flex-basis:100%;font-size:12.5px;color:var(--mut)}
:root[data-visual=mantine] .status .servico{flex-basis:100%;font-size:12.5px}
:root[data-visual=mantine] details.mut summary{cursor:pointer;font-size:12.5px}
/* largura de leitura do laudo: ~75 caracteres por linha (C1, D1; Refactoring UI p.99) */
:root[data-visual=mantine] .laudo .corpo{max-width:75ch;margin-inline:auto;box-sizing:content-box}
/* uma ação principal por área (C2, D14; Refactoring UI p.52–54): só ela fica cheia (azul). O
   secundário ("ghost") passa a ser contorno neutro, sem fundo colorido */
:root[data-visual=mantine] .btn.ghost{background:transparent;color:var(--forte-ink);border-color:var(--forte)}
:root[data-visual=mantine] .btn.ghost:hover{background:var(--hover);border-color:var(--acc)}
:root[data-visual=mantine] .btn.ghost.on{background:var(--acc-bg);color:var(--acc-txt);border-color:var(--acc)}
:root[data-visual=mantine] .btn.ghost:disabled{background:var(--card2);color:var(--mut);border-color:var(--line)}
/* dois moldes de página (C3): mesma largura de cabeçalho em todas, para a marca e o menu não
   mudarem de lugar; "lista" limita o conteúdo a 960 px, alinhado à esquerda, sob o título */
:root[data-visual=mantine] :is(.molde-trabalho,.molde-lista) .wrap{max-width:none;padding-left:24px;padding-right:24px}
:root[data-visual=mantine] .molde-lista .wrap>:not(.nav):not(.ajuda):not(.com-img){max-width:960px;margin-right:auto}
:root[data-visual=mantine] h1.tit-pag{font-size:24px;line-height:1.3;margin:4px 0 16px}
:root[data-visual=mantine] .pg-mesa h1.tit-pag{font-size:24px;margin:0 0 10px}
:root[data-visual=mantine] .barra h1.tit-pag{margin:0;font-size:24px;letter-spacing:-.3px}
@media (max-width:640px){:root[data-visual=mantine] h1.tit-pag,:root[data-visual=mantine] .barra h1.tit-pag{font-size:20px}}
@media (max-width:640px){:root[data-visual=mantine] :is(.molde-trabalho,.molde-lista) .wrap{padding-left:12px;padding-right:12px}}
/* ícones Tabler (MIT) com texto, no lugar de emoji (C4, D19; Refactoring UI p.206) */
:root[data-visual=mantine]{--ic-mic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z' /%3E%3Cpath d='M5 10a7 7 0 0 0 14 0' /%3E%3Cpath d='M8 21l8 0' /%3E%3Cpath d='M12 17l0 4' /%3E%3C/svg%3E");
--ic-aovivo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8v-2a2 2 0 0 1 2 -2h2' /%3E%3Cpath d='M4 16v2a2 2 0 0 0 2 2h2' /%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v2' /%3E%3Cpath d='M16 20h2a2 2 0 0 0 2 -2v-2' /%3E%3Cpath d='M12 16v-7' /%3E%3Cpath d='M9 9h6' /%3E%3C/svg%3E");
--ic-anexo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5' /%3E%3C/svg%3E");
--ic-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3v4a1 1 0 0 0 1 1h4' /%3E%3Cpath d='M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z' /%3E%3Cpath d='M9 9l1 0' /%3E%3Cpath d='M9 13l6 0' /%3E%3Cpath d='M9 17l6 0' /%3E%3C/svg%3E");
--ic-lapis:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4' /%3E%3Cpath d='M13.5 6.5l4 4' /%3E%3C/svg%3E");
--ic-desfazer:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14l-4 -4l4 -4' /%3E%3Cpath d='M5 10h11a4 4 0 1 1 0 8h-1' /%3E%3C/svg%3E");
--ic-atualizar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4' /%3E%3Cpath d='M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4' /%3E%3C/svg%3E");
--ic-sino2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6' /%3E%3Cpath d='M9 17v1a3 3 0 0 0 6 0v-1' /%3E%3C/svg%3E");
--ic-foto:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 8h.01' /%3E%3Cpath d='M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z' /%3E%3Cpath d='M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5' /%3E%3Cpath d='M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3' /%3E%3C/svg%3E");
--ic-baixar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2' /%3E%3Cpath d='M7 11l5 5l5 -5' /%3E%3Cpath d='M12 4l0 12' /%3E%3C/svg%3E");
--ic-lista:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2' /%3E%3Cpath d='M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z' /%3E%3Cpath d='M9 12l.01 0' /%3E%3Cpath d='M13 12l2 0' /%3E%3Cpath d='M9 16l.01 0' /%3E%3Cpath d='M13 16l2 0' /%3E%3C/svg%3E");
--ic-pasta:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2' /%3E%3C/svg%3E");
--ic-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0' /%3E%3Cpath d='M12 9h.01' /%3E%3Cpath d='M11 12h1v4h1' /%3E%3C/svg%3E");
--ic-celular:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14z' /%3E%3Cpath d='M11 4h2' /%3E%3Cpath d='M12 17v.01' /%3E%3C/svg%3E")}
:root[data-visual=mantine] .ic{display:inline-block;flex:none;width:1.15em;height:1.15em;vertical-align:-.2em;margin-right:.4em;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
:root[data-visual=mantine] .ic.so{margin-right:0}
:root[data-visual=mantine] .ic-mic{--ic:var(--ic-mic)}
:root[data-visual=mantine] .ic-aovivo{--ic:var(--ic-aovivo)}
:root[data-visual=mantine] .ic-anexo{--ic:var(--ic-anexo)}
:root[data-visual=mantine] .ic-doc{--ic:var(--ic-doc)}
:root[data-visual=mantine] .ic-lapis{--ic:var(--ic-lapis)}
:root[data-visual=mantine] .ic-desfazer{--ic:var(--ic-desfazer)}
:root[data-visual=mantine] .ic-atualizar{--ic:var(--ic-atualizar)}
:root[data-visual=mantine] .ic-sino2{--ic:var(--ic-sino2)}
:root[data-visual=mantine] .ic-foto{--ic:var(--ic-foto)}
:root[data-visual=mantine] .ic-baixar{--ic:var(--ic-baixar)}
:root[data-visual=mantine] .ic-lista{--ic:var(--ic-lista)}
:root[data-visual=mantine] .ic-pasta{--ic:var(--ic-pasta)}
:root[data-visual=mantine] .ic-info{--ic:var(--ic-info)}
:root[data-visual=mantine] .ic-celular{--ic:var(--ic-celular)}
/* menos bordas (C4; Refactoring UI p.206): cartões se separam pelo fundo e pela sombra, não por linha.
   Campos e botões de contorno continuam com borda (é ela que diz "clicável / digitável") */
:root[data-visual=mantine] :is(.card,.laudo,.indice,.grupo .gcab,.conf-geral,.status,.faixa,.aviso){border-color:transparent}
:root[data-visual=mantine][data-tema=claro] :is(.card,.laudo,.indice,.conf-geral,.status,.faixa){box-shadow:var(--sh-sm)}
/* texto sobre fundo colorido feito com a cor do próprio fundo, não com cinza (C5; Refactoring UI p.36) */
:root[data-visual=mantine]{--a-ink:#ffc9c9;--t-ink:#ffe8a3;--n-ink:#d0ebff;--chg-ink:#ffe8a3}
:root[data-visual=mantine][data-tema=claro]{--a-ink:#8f1d1d;--t-ink:#6b4400;--n-ink:#14457a;--chg-ink:#5c3d00}
:root[data-visual=mantine] .notas .nota:has(.tag.ALERTA) .tx{color:var(--a-ink)}
:root[data-visual=mantine] .notas .nota:has(.tag.ATENCAO) .tx{color:var(--t-ink)}
:root[data-visual=mantine] .notas .nota:has(.tag.NOTA) .tx,:root[data-visual=mantine] .aviso{color:var(--n-ink)}
:root[data-visual=mantine] .faixa,:root[data-visual=mantine] .faixa .mut{color:var(--chg-ink)}
:root[data-visual=mantine] .mesa-alterado{color:var(--chg-ink)}
/* colunas de número das tabelas do laudo alinhadas à direita (C6) */
:root[data-visual=mantine] .laudo .corpo .tb .tc.tn{text-align:right;font-variant-numeric:tabular-nums}
/* telas vazias com o próximo passo (C7, D20; Refactoring UI p.203) */
:root[data-visual=mantine] .vazio-pag{padding:20px 4px}
:root[data-visual=mantine] .vazio-pag>b{display:block;font-size:15px;color:var(--forte-ink);margin-bottom:4px}
:root[data-visual=mantine] .vazio-pag .mut{margin:0;font-size:14px}
/* botões que eram só ícone (✎, ↶, ✏️) agora têm ícone + palavra: largura pelo conteúdo (C4) */
:root[data-visual=mantine] .barra .renomear,:root[data-visual] .pg-mesa .mesa-ico,:root[data-visual=mantine] .mesa-ico{width:auto;padding:0 12px}
/* Lotes recentes: "Juntar lotes" junto do título, busca à direita (C3, 08/11/2026) */
:root[data-visual=mantine] .top2{align-items:center}
:root[data-visual=mantine] .top2>h2+.btn{margin-right:auto}
/* celular (D, 08/11/2026): a tabela do laudo (linhas sem quebra, colunas de largura fixa) esticava
   o cartão da Mesa além da tela; agora ela rola dentro do próprio laudo */
:root[data-visual=mantine] :is(.mesa-laudo,.mesa-cartao,.mesa-papel-wrap,.mesa-papel,.laudo,.laudo .corpo){min-width:0}
:root[data-visual=mantine] .laudo .corpo .tb{max-width:100%}
@media (max-width:640px){
 :root[data-visual=mantine] .laudo .corpo .tb .tc0{width:7em}
 :root[data-visual=mantine] .laudo .corpo .tb .tc{width:5.5em}
}
/* lote no celular: barra fixa Gravar · Copiar · ⋯ do paciente na tela (D1) */
:root[data-visual=mantine] .lote-barra-fixa{display:none}
@media (max-width:640px){
 :root[data-visual=mantine] .lote-barra-fixa{display:flex;gap:10px;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:50;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line)}
 :root[data-visual=mantine] .lote-fixa-mic{width:48px;height:48px;border-radius:50%;border:1px solid var(--a-ln);background:var(--a-bg);
  color:var(--a-ink);display:flex;align-items:center;justify-content:center;flex:none;cursor:pointer}
 :root[data-visual=mantine] .lote-fixa-mic .ic{width:22px;height:22px}
 :root[data-visual=mantine] .lote-barra-fixa .btn:not(.lote-fixa-mais){flex:1;justify-content:center;height:48px;font-size:16px}
 :root[data-visual=mantine] .lote-barra-fixa .lote-fixa-mais{flex:0 0 48px;height:48px;justify-content:center}
 :root[data-visual=mantine] .pg-lote .wrap{padding-bottom:110px}
 :root[data-visual=mantine] .lote-mais{position:fixed;z-index:95;right:12px;bottom:76px}
}
/* alvos de toque ≥ 44×44 px no celular (D2; nossa meta — a WCAG 2.2 pede 24 px no AA e 44 px no AAA) */
@media (max-width:640px){
 :root[data-visual=mantine] :is(.btn,.btn.mini,label.btn,select,input[type=text],input[type=search],input[type=password],[id^=mesa-aba]){min-height:44px}
 :root[data-visual=mantine] :is(.nav .tema,.nav .sair:not(.pub),.burger,.ajuda-bt,.ico,.lote-fixa-mais,#mesa-fixa-mais){min-width:44px;min-height:44px}
 :root[data-visual=mantine] .nav .tema,:root[data-visual=mantine] .nav .sair:not(.pub){width:44px;height:44px;margin-left:2px}
 :root[data-visual=mantine] .burger{width:44px;height:44px}
 :root[data-visual=mantine] .ajuda-bt{width:44px;height:44px;margin-left:0;border-color:transparent;position:relative}
 :root[data-visual=mantine] .ajuda-bt::after{content:"";position:absolute;inset:10px;border:1px solid var(--forte);border-radius:50%}
 :root[data-visual=mantine] .nav-aqui{font-size:14px;margin-left:6px;padding-left:6px}
}
/* contraste ≥ 4,5:1 para todo texto (D3; WCAG AA): cinza secundário, azul do botão cheio e dos
   links no claro, etiquetas ALERTA/NOTA e números realçados */
:root[data-visual=mantine]{--mut:#a3a3a3;--acc:#1971c2;--acc2:#1864ab;--a-fg:#ffa8a8}
:root[data-visual=mantine][data-tema=claro]{--mut:#5f6770;--acc:#1971c2;--acc2:#1864ab;--acc-txt:#1971c2;--link:#1971c2;
 --a-fg:#c92a2a;--n-fg:#1864ab;--num:#0b7285}
:root[data-visual=mantine] .barra .alertas{color:var(--a-fg)}
:root[data-visual=mantine] .pg-mesa{--m-prim:#1971c2}
:root[data-visual=mantine][data-tema=claro]{--acc-txt:#1864ab;--link:#1864ab;--a-fg:#b02525}
/* "Pular para o conteúdo" (D3): aparece só com o foco do teclado */
:root[data-visual=mantine] .pular{position:absolute;left:12px;top:-60px;z-index:200;padding:10px 16px;border-radius:var(--r);
 background:var(--acc);color:#fff;font-weight:600;text-decoration:none}
:root[data-visual=mantine] .pular:focus{top:8px}
:root[data-visual=mantine] #conteudo:focus{outline:none}
/* nada só no passar do mouse (D4; Krug cap. 10): o "é padrão" da linha realçada também aparece com
   foco do teclado e, em tela de toque (sem hover), fica à vista no laudo tocado */
:root[data-visual=mantine] .realca-achados .laudo .corpo .ach:focus-within .padrao{display:inline-block}
@media (hover:none){:root[data-visual=mantine] .realca-achados .laudo.atual .corpo .ach .padrao{display:inline-block;position:static;margin-left:8px}}
:root[data-visual=mantine] .laudo .corpo .ach .padrao{color:var(--forte-ink)}

/* página Sobre (09/11/2026) */
:root[data-visual=mantine] #sobre{--ic:var(--ic-info)}
.pg-sobre .sobre-indice{margin:0 0 16px;font-size:14px}
.pg-sobre .sobre{margin-bottom:16px}
.pg-sobre .sobre h2{margin-top:0}
.pg-sobre .sobre h3{font-size:15px;margin:20px 0 6px}
.pg-sobre .refs{padding-left:1.6em;margin:0}
.pg-sobre .refs li{margin:0 0 6px;line-height:1.5;overflow-wrap:anywhere}
.pg-sobre .refs-curtas li{margin:0 0 6px;line-height:1.5}
.nav-links .so-cel{display:none}
@media (max-width:640px){.nav #sobre,.nav #conta,.nav #configuracoes{display:none!important}.nav-links .so-cel{display:block}}
/* Configurações (13/11/2026): engrenagem (tabler "settings") */
:root[data-visual=mantine] #configuracoes{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z' /%3E%3Cpath d='M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0' /%3E%3C/svg%3E")}
/* Minha conta (11/11/2026): ícone de pessoa (tabler "user") */
:root[data-visual=mantine] #conta{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0' /%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2' /%3E%3C/svg%3E")}

/* níveis da conferência com ícone + palavra (glossário G4, 09/11/2026) */
:root[data-visual=mantine]{--ic-decidir:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.802 2.165l5.575 2.389c.48 .206 .863 .589 1.07 1.07l2.388 5.574c.22 .512 .22 1.092 0 1.604l-2.389 5.575c-.206 .48 -.589 .863 -1.07 1.07l-5.574 2.388c-.512 .22 -1.092 .22 -1.604 0l-5.575 -2.389a2.036 2.036 0 0 1 -1.07 -1.07l-2.388 -5.574a2.036 2.036 0 0 1 0 -1.604l2.389 -5.575c.206 -.48 .589 -.863 1.07 -1.07l5.574 -2.388a2.036 2.036 0 0 1 1.604 0z' /%3E%3Cpath d='M12 8v4' /%3E%3Cpath d='M12 16h.01' /%3E%3C/svg%3E");--ic-conferir:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4' /%3E%3Cpath d='M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z' /%3E%3Cpath d='M12 16h.01' /%3E%3C/svg%3E")}
:root[data-visual=mantine] .ic-decidir{--ic:var(--ic-decidir)}
:root[data-visual=mantine] .ic-conferir{--ic:var(--ic-conferir)}
.ic.nv-decidir,.alertas .ic{color:var(--a-fg)}
.ic.nv-conferir{color:var(--t-fg)}

/* ajuste 2.2 (09/11/2026): no celular o título do lote quebra linha em vez de cortar; "Renomear" vira só o lápis */
@media (max-width:640px){
 :root[data-visual=mantine] .barra h1.rot{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;flex:1 1 calc(100% - 56px)}
 :root[data-visual=mantine] .barra .renomear{width:44px;min-height:44px;align-self:flex-start}
 :root[data-visual=mantine] .barra .renomear .ic{margin-right:0}
 .barra .renomear .so-pc{display:none}
}

/* ajuste 2.3 (09/11/2026): cabeçalho do paciente preso sob a barra no PC, no lugar do nome repetido no laudo */
@media (min-width:641px){.grupo>.ghead{position:sticky;top:var(--barra-h,0px);z-index:15}}

/* "lista + prévia" (tela larga, 09/11/2026): a partir de lg (75em) lista ~400 px | prévia; abaixo, só a lista */
.lp-previa{display:none}
.lp-itens{display:flex;flex-direction:column;outline:none}
.lp-item{display:block;color:inherit;text-decoration:none;padding:10px 12px;border-radius:8px;border:1px solid transparent}
.lp-item:hover{background:var(--hover,rgba(127,127,127,.08))}
.lp-item:focus-visible{outline:2px solid var(--acento,#228be6);outline-offset:-2px}
.lp-item template{display:none}
.lp-grupo{font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--mut);margin:14px 12px 4px}
@media (min-width:75em){
 :root[data-visual=mantine] :is(.molde-trabalho,.molde-lista) .wrap>:not(.nav){max-width:1920px;margin-left:auto;margin-right:auto}
 :root[data-visual=mantine] .molde-lista .wrap:has(>.lp)>:not(.nav):not(.ajuda):not(.com-img){max-width:1920px;margin-left:auto;margin-right:auto}
 .lp{display:grid;grid-template-columns:400px minmax(0,1fr);gap:24px;align-items:start}
 .lp.vazio{grid-template-columns:minmax(0,1fr)}
 .lp.vazio .lp-previa{display:none}
 .lp-previa{display:block;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;background:var(--card);
  border:1px solid var(--line);border-radius:12px;padding:20px 24px;min-height:240px}
 .lp-item.sel,.lp-item[aria-selected=true]{background:var(--sel-bg,rgba(34,139,230,.14));border-color:var(--sel-ln,rgba(34,139,230,.45))}
 .lp-previa .laudo-previa{max-width:75ch}
 .lp-previa-acoes{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
}

/* Lotes = lista + prévia (tela larga 2, 09/11/2026). Abaixo de lg: formulário em cima e a lista, como antes */
.lp-lotes{display:flex;flex-direction:column}
.lp-lotes .lp-novo{order:-1}
.lp-topo{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0 8px}
.lp-topo input[type=search]{flex:1 1 180px;min-width:0}
.lp-tit{font-size:15px;margin:12px 0 8px}
.lp-lotes #bt-novo{display:none}
.pv-cab{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pv-tit{margin:0;font-size:20px}
.pv-pacs{padding-left:1.4em;margin:8px 0 0;line-height:1.5}
.pv-pacs li{margin:0 0 8px}
.pv-nv{font-size:13px;font-weight:600;white-space:nowrap}
.pv-nv.decidir{color:var(--a-fg)}.pv-nv.conferir{color:var(--t-fg)}
.pv-mais{position:relative}
.pv-mais>summary{list-style:none;cursor:pointer}
.pv-mais>summary::-webkit-details-marker{display:none}
.pv-mais .menu-visual{position:absolute;z-index:30;top:calc(100% + 4px);left:0;display:flex;flex-direction:column;min-width:200px}
.pv-mais .menu-visual>*{text-align:left;padding:8px 12px;background:none;border:0;color:inherit;font:inherit;cursor:pointer;text-decoration:none}
.pv-mais .menu-visual>*:hover{background:var(--hover)}
@media (min-width:75em){
 .lp-lotes{display:grid}
 .lp-lotes .lp-lista{grid-column:1;grid-row:1}
 .lp-lotes .lp-previa,.lp-lotes .lp-novo{grid-column:2;grid-row:1}
 .lp-lotes .lp-novo{display:none}
 .lp-lotes.mostra-novo .lp-novo{display:block}
 .lp-lotes.mostra-novo .lp-previa{display:none}
 .lp-lotes.vazio{grid-template-columns:400px minmax(0,1fr)}
 .lp-lotes #bt-novo{display:inline-flex}
 .lp-lotes .lp-novo .sec-novo{margin-top:0}
}

/* Buscar = resultados + prévia do laudo (tela larga 3, 09/11/2026) */
.lp-busca .gbusca{width:100%;margin:0 0 12px}
@media (min-width:75em){
 .lp-busca .gres .gitem{margin:0 0 8px}
 .lp-previa .laudo-previa{line-height:1.6}
 .lp-previa .laudo-previa mark{background:var(--chg,#fde68a);color:inherit;border-radius:2px;padding:0 1px}
}

/* Modelos = lista por modalidade + texto (tela larga 4, 09/11/2026) */
.lp-modelos .busca-modelo{display:flex;gap:8px;margin:0 0 8px}
.lp-modelos .busca-modelo input{flex:1;min-width:0}
.mod-item{font-size:14px;padding:8px 12px}
.modelo-txt{white-space:pre-wrap;font-family:inherit;font-size:14px;line-height:1.55;max-width:75ch;margin:0}
.pv-vaga-editar{display:inline-block;min-width:96px}
.modelo-pag{padding:20px}

/* Trabalho = exames do dia + prévia do paciente (tela larga 5, 09/11/2026) */
.pv-exames{padding-left:1.2em;margin:4px 0 12px;line-height:1.6}
.pv-sub{font-size:15px;margin:18px 0 8px}
.pv-ant{border-top:1px solid var(--line);padding:8px 0}
.pv-ant>summary{cursor:pointer}
.pv-ant .pv-ver{margin-left:8px;color:var(--link,#4dabf7);font-size:13px}
.pv-ant[open] .pv-ver{display:none}
.pv-ant-txt{white-space:pre-wrap;font-size:14px;margin:8px 0 0}
@media (min-width:75em){
 .lp-trabalho .pfonte{margin:0}
 .lp-trabalho .pfonte>.row{flex-wrap:wrap}
 .lp-trabalho .tpac .l1 .btn,.lp-trabalho .tpac .l1 .sit,.lp-trabalho .tpac .l1 .err{display:none}
 .lp-trabalho .tpac{cursor:pointer}
}

/* Sobre (tela larga 6, 09/11/2026): coluna de leitura de ~760 px, centrada; a partir de lg o índice vira
   menu fixo à esquerda, acompanhando a rolagem */
.pg-sobre .sobre-txt{max-width:760px}
@media (min-width:75em){
 :root[data-visual=mantine] .molde-lista.pg-sobre .wrap>.sobre-pag:not(.nav):not(.ajuda):not(.com-img){max-width:1200px;margin-left:auto;margin-right:auto}
 .pg-sobre .sobre-pag{display:grid;grid-template-columns:200px minmax(0,760px);grid-template-areas:". tit" "ind txt";column-gap:40px;justify-content:center;align-items:start}
 .pg-sobre .sobre-pag>h1{grid-area:tit}
 .pg-sobre .sobre-txt{grid-area:txt}
 .pg-sobre .sobre-indice{grid-area:ind;position:sticky;top:24px;display:flex;flex-direction:column;gap:2px;margin:0;font-size:14px}
 .pg-sobre .sobre-indice>span{display:none}
 .pg-sobre .sobre-indice a{padding:6px 10px;border-radius:6px;text-decoration:none;color:var(--mut)}
 .pg-sobre .sobre-indice a:hover,.pg-sobre .sobre-indice a:focus-visible{background:var(--hover);color:inherit}
 .pg-sobre .sobre-indice a.on{color:inherit;background:var(--hover);font-weight:600}
}

/* Lote com a Conferência ao lado de cada laudo (tela larga 7, adendo 09/11/2026). xl = 88em */
.g-corpo{display:flex;flex-direction:column}
.g-conf .notas{display:flex;flex-direction:column}
.g-conf .notas>.nota{order:var(--niv,3)}
.g-conf .notas>.notas-info{order:9}
.g-conf .notas>.notas-mais{order:8}
.g-conf .sem-pend{display:none}
.g-conf .nota.tem-trecho{cursor:pointer}
.g-conf .nota.on{outline:2px solid var(--acento,#228be6);outline-offset:-2px}
.laudo .corpo .trecho-on{background:var(--sel-bg,rgba(34,139,230,.16));box-shadow:-3px 0 0 var(--acento,#228be6);border-radius:2px}
.laudo .corpo .trecho{cursor:pointer}
.conf-indice .ci-tit{font-size:16px;margin:0 0 8px}
.conf-indice .ci-lista{list-style:none;padding:0;margin:0 0 6px}
.conf-indice .ci-lista li{display:flex;gap:10px;flex-wrap:wrap;align-items:baseline;padding:4px 0}
.conf-indice .ci-n{font-size:13px;color:var(--mut)}
.conf-indice .ci-sem{margin:4px 0 0}
.conf-indice .ci-auto{margin-top:8px}
.mais-alvo-linha{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0}
.mais-alvo{max-width:280px}
@media (min-width:75em) and (max-width:87.99em){
 :root[data-visual=mantine] .pg-lote .wrap>:not(.nav){max-width:1400px;margin-left:auto;margin-right:auto}
}
@media (min-width:88em){
 :root[data-visual=mantine] .pg-lote .wrap>:not(.nav){max-width:1920px;margin-left:auto;margin-right:auto}
 .g-corpo{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
 .g-corpo>.g-laudos{grid-column:1;grid-row:1}
 .g-corpo>.g-conf{grid-column:2;grid-row:1;position:sticky;top:calc(var(--barra-h,0px) + 64px);max-height:calc(100vh - var(--barra-h,0px) - 80px);overflow:auto}
 .g-conf .notas>.nota{order:var(--pos,9999)}
 .g-conf .notas>.notas-mais{order:10000}.g-conf .notas>.notas-info{order:10001}
 .g-conf .sem-pend{display:block;margin:8px 4px}
 .g-conf .notas .nota{flex-direction:column;align-items:stretch}
}

/* larguras (tela larga 8, 09/11/2026): Mesa até 1920 px, centrada no ultrawide; Juntar centrado em até 1200 px */
@media (min-width:75em){
 :root[data-visual=mantine] .pg-mesa .wrap>:not(.nav){max-width:1920px;margin-left:auto;margin-right:auto}
 :root[data-visual=mantine] .molde-lista.pg-juntar .wrap>:not(.nav):not(.ajuda):not(.com-img){max-width:1200px;margin-left:auto;margin-right:auto}
}
