/* GuiaFarma — telas de acesso (login, convite, recuperação, MFA, conta, sem conexão) e administração.
   Mundo visual: "laboratório à noite" — palco petróleo com malha molecular (anéis hexagonais) e uma luz
   que varre a malha; a marca se monta uma vez ao abrir. O formulário fica num lado claro e calmo. */

@font-face { font-family: "Schibsted Grotesk"; src: url("/acesso/fontes/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/acesso/fontes/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("/acesso/fontes/atkinson-hyperlegible-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #F1F4F2; --surface: #FFFFFF; --surface-2: #F6F9F7; --line: rgba(20, 32, 27, .14); --line-forte: rgba(20, 32, 27, .26);
  --ink: #14201B; --ink-2: #3F4C47; --ink-3: #56635E;
  --brand: #155E4E; --brand-2: #0F4C3F; --brand-ink: #0E4A3D; --brand-soft: #E3EFEA; --on-brand: #FFFFFF;
  --menta: #9FE3BE; --suporte: #237A4B;
  --palco-0: #04140F; --palco-1: #0A2421; --palco-2: #0F3B3A; --palco-ink: #E8F5EE; --palco-ink-2: #A9C9BC;
  --danger: #B42318; --danger-soft: #FCEFED; --danger-line: #F0C7C1;
  --ok: #1D6B45; --ok-soft: #E5F4EC; --aviso-soft: #FFF6DD; --aviso-line: #EDD48A; --aviso-ink: #6B4A00;
  --f-corpo: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-titulo: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --f-num: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --raio: 16px; --raio-c: 10px;
  --sai: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07110F; --surface: #0E1916; --surface-2: #12201C; --line: rgba(232, 245, 238, .12); --line-forte: rgba(232, 245, 238, .24);
    --ink: #E7EFEB; --ink-2: #B5C6BF; --ink-3: #93A69E;
    --brand: #5DB49C; --brand-2: #73C4AD; --brand-ink: #8FD5C1; --brand-soft: #14302A; --on-brand: #04140F;
    --danger: #FF8A7E; --danger-soft: #2A1210; --danger-line: #5A2622;
    --ok: #8FD5C1; --ok-soft: #12302A; --aviso-soft: #2A2410; --aviso-line: #5C4E1E; --aviso-ink: #F2D58A;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-corpo); font-size: 16.5px; line-height: 1.5; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
::selection { background: color-mix(in srgb, var(--menta) 70%, transparent); color: #04140F; }
input, textarea { caret-color: var(--brand); }
a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.15; margin: 0 0 .35em; text-wrap: balance; letter-spacing: -.012em; }
h1 { font-size: 1.75rem; font-weight: 750; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
html { scrollbar-color: var(--line-forte) transparent; }

/* ---------- Estrutura: palco (marca) + lado do formulário ---------- */
.tela-acesso { min-height: 100dvh; }
.estrutura { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.palco { position: relative; overflow: hidden; isolation: isolate; color: var(--palco-ink);
  background: radial-gradient(120% 90% at 18% 8%, #134A43 0%, rgba(19, 74, 67, 0) 55%), linear-gradient(160deg, var(--palco-1) 0%, var(--palco-0) 100%);
  display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 88px); }
.palco-fundo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.malha { position: absolute; inset: -2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66 0 50V18L28 2l28 16v32L28 66zm0 32V66' fill='none' stroke='%239FE3BE' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 98px; opacity: .07;
  -webkit-mask-image: radial-gradient(120% 100% at 30% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 100% at 30% 40%, #000 30%, transparent 85%); }
/* A luz que varre a malha: mesma malha, mais forte, vista só por uma janela que se move. */
.malha-luz { opacity: .5;
  -webkit-mask-image: radial-gradient(260px 260px at var(--luz-x, 30%) var(--luz-y, 40%), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
  mask-image: radial-gradient(260px 260px at var(--luz-x, 30%) var(--luz-y, 40%), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
  animation: varrer 16s ease-in-out infinite alternate; }
@property --luz-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --luz-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@keyframes varrer { 0% { --luz-x: 12%; --luz-y: 22%; } 50% { --luz-x: 72%; --luz-y: 48%; } 100% { --luz-x: 34%; --luz-y: 82%; } }
.brilho { position: absolute; width: 46vmax; height: 46vmax; left: 4%; top: 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 227, 190, .16) 0%, rgba(159, 227, 190, 0) 62%); filter: blur(8px); }

.palco-conteudo { position: relative; max-width: 560px; }
.marca-animada { width: clamp(112px, 13vw, 168px); margin-bottom: 26px; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .45)); }
.marca-svg { display: block; width: 100%; height: auto; overflow: visible; }
.wordmark { display: block; width: clamp(240px, 26vw, 360px); height: auto; }
.slogan { margin: 10px 0 0; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--palco-ink-2); letter-spacing: .005em; }
.recursos { list-style: none; margin: clamp(28px, 4vh, 44px) 0 0; padding: 0; display: grid; gap: 14px; }
.recursos li { display: flex; align-items: center; gap: 12px; color: #D3E7DD; font-size: 1rem; }
.recursos svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; fill: none; stroke: var(--menta); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(159, 227, 190, .08); box-shadow: inset 0 0 0 1px rgba(159, 227, 190, .16); }
.palco-rodape { position: absolute; left: clamp(32px, 6vw, 88px); right: 24px; bottom: 24px; margin: 0; font-size: .82rem; color: rgba(212, 232, 222, .62); }

.lado-form { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(24px, 5vw, 64px) 20px; }
.cartao { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); padding: 30px 28px 26px;
  box-shadow: 0 1px 2px rgba(10, 36, 33, .04), 0 18px 48px -18px rgba(10, 36, 33, .22); }
.cartao:has(.largo) { width: min(560px, 100%); }
.cartao-cab { margin-bottom: 18px; }
.cartao-cab p { margin: 0; }

/* ---------- Formulário ---------- */
.campo { display: block; margin-bottom: 16px; }
.campo > span { display: block; font-weight: 700; font-size: .94rem; margin-bottom: 6px; }
.campo small { display: block; color: var(--ink-3); margin-top: 6px; font-size: .84rem; }
input, select { width: 100%; font: inherit; font-size: 16px; color: inherit; background: var(--surface-2); border: 1.5px solid var(--line-forte); border-radius: var(--raio-c);
  padding: 11px 14px; min-height: 50px; transition: border-color .16s var(--sai), box-shadow .16s var(--sai), background-color .16s var(--sai); }
input::placeholder { color: var(--ink-3); }
input:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line-forte)); }
input:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
input[aria-invalid="true"] { border-color: var(--danger); }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--surface) inset; -webkit-text-fill-color: var(--ink); }
input[inputmode=numeric] { font-family: var(--f-num); font-size: 1.35rem; letter-spacing: .32em; text-align: center; font-variant-numeric: tabular-nums; }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--brand); }
.senha-caixa { position: relative; }
.senha-caixa input { padding-right: 56px; }
.senha-caixa button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 42px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--ink-2); border-radius: 8px; }
.senha-caixa button:hover { background: var(--brand-soft); color: var(--brand-ink); }
.senha-caixa svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.caps { display: none; color: var(--aviso-ink); font-size: .84rem; margin-top: 6px; }
.caps.on { display: block; }

button, .botao { font: inherit; font-weight: 700; cursor: pointer; border-radius: var(--raio-c); min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line-forte); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  transition: background-color .16s var(--sai), border-color .16s var(--sai), color .16s var(--sai), transform .12s var(--sai), box-shadow .16s var(--sai); }
button:hover, .botao:hover { border-color: var(--brand); }
button:active, .botao:active { transform: translateY(1px); }
button.primario, .botao.primario { position: relative; overflow: hidden; width: 100%; min-height: 52px; border-color: transparent; color: var(--on-brand); font-size: 1.02rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff) 0%, var(--brand) 55%, var(--brand-2) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 22px -12px color-mix(in srgb, var(--brand) 80%, #000); }
button.primario::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); }
button.primario:hover::after { transform: translateX(120%); transition: transform .8s var(--sai); }
button.primario:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 14px 26px -12px color-mix(in srgb, var(--brand) 85%, #000); }
button.perigo { color: var(--danger); border-color: var(--danger-line); }
button.perigo:hover { background: var(--danger-soft); border-color: var(--danger); }
button.link { border: 0; background: none; color: var(--brand-ink); padding: 0; min-height: 40px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
button[disabled] { opacity: .55; cursor: not-allowed; }
button[aria-busy="true"] { cursor: progress; opacity: 1; }
button[aria-busy="true"] .rot { opacity: .0; }
button[aria-busy="true"]::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 16px; }

.alerta { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--raio-c); padding: 11px 13px; margin: 0 0 16px; border: 1px solid; font-size: .95rem; }
.alerta::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.alerta.erro { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger);
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E"); }
.alerta.ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 40%, transparent); color: var(--ink);
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.3 2.6 2.6L16.2 9.5'/%3E%3C/svg%3E"); }
.alerta.ok::before { background: var(--ok); }
.alerta.aviso { background: var(--aviso-soft); border-color: var(--aviso-line); color: var(--ink);
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.8 19.5h18.4L12 3.5Z'/%3E%3Cpath d='M12 10v4.5M12 17v.01'/%3E%3C/svg%3E"); }
.alerta.aviso::before { background: var(--aviso-ink); }

.qr { display: block; margin: 10px auto 14px; background: #fff; padding: 10px; border-radius: 12px; width: 220px; height: 220px; box-shadow: 0 0 0 1px var(--line); }
.segredo { font-family: var(--f-num); word-break: break-all; background: var(--surface-2); border: 1px dashed var(--line-forte); padding: 9px 11px; border-radius: 8px; font-size: .9rem; }
.codigos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-family: var(--f-num); list-style: none; padding: 0; margin: 12px 0 16px; font-variant-numeric: tabular-nums; }
.codigos li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; text-align: center; }
.mudo { color: var(--ink-2); font-size: .94rem; }
ol { padding-left: 1.25em; } ol li { margin-bottom: 4px; }
details summary { cursor: pointer; color: var(--brand-ink); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: center; margin: 16px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.lista-sessoes { list-style: none; padding: 0; margin: 0 0 12px; }
.lista-sessoes li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lista-sessoes small { display: block; color: var(--ink-3); }
.selo { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }

/* Instalar o app */
.instalar { width: min(420px, 100%); margin-top: 16px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--raio); border: 1px dashed var(--line-forte); color: var(--ink-2); font-size: .92rem; }
.instalar[hidden] { display: none; }
.instalar img { flex: none; border-radius: 10px; }
.instalar p { margin: 0; flex: 1; }
.instalar button { min-height: 40px; padding: 0 14px; }

/* ---------- Animação da marca (um momento, ao abrir) ---------- */
.marca-svg g { transform-box: fill-box; }
.marca-svg .gf-camada, .marca-svg .gf-escudo { transform-origin: 50% 100%; animation: sobe .9s var(--sai) both; }
.marca-svg .gf-camada { animation-delay: .05s; }
.marca-svg .gf-escudo { animation-delay: .12s; }
.marca-svg .gf-flag { transform-origin: 0% 100%; animation: bandeira 1.1s var(--sai) .3s both; }
.marca-svg .gf-pag-e { transform-origin: 100% 100%; animation: pagina-e 1.1s var(--sai) .42s both; }
.marca-svg .gf-pag-d { transform-origin: 0% 100%; animation: pagina-d 1.1s var(--sai) .42s both; }
.marca-svg .gf-cruz { transform-origin: 50% 50%; animation: cruz 1s var(--sai) .78s both; }
@keyframes sobe { from { opacity: 0; transform: translateY(14%) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes bandeira { from { opacity: 0; transform: rotate(-14deg) translateY(10%); } to { opacity: 1; transform: none; } }
@keyframes pagina-e { from { opacity: 0; transform: rotate(-28deg) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes pagina-d { from { opacity: 0; transform: rotate(28deg) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes cruz { 0% { opacity: 0; transform: scale(.4); filter: drop-shadow(0 0 0 rgba(159, 227, 190, 0)); }
  60% { opacity: 1; transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(159, 227, 190, .85)); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 0 0 rgba(159, 227, 190, 0)); } }
.wordmark { animation: revela 1s var(--sai) .9s both; }
@keyframes revela { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.slogan { animation: surge .8s var(--sai) 1.15s both; }
.recursos li { animation: surge .7s var(--sai) both; }
.recursos li:nth-child(1) { animation-delay: 1.3s; } .recursos li:nth-child(2) { animation-delay: 1.4s; } .recursos li:nth-child(3) { animation-delay: 1.5s; }
@keyframes surge { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.cartao { animation: cartao .7s var(--sai) .15s both; }
@keyframes cartao { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.troca { animation: troca .32s var(--sai) both; }
@keyframes troca { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .malha-luz { display: none; }
}

/* ---------- Celular: palco vira cabeçalho; formulário sobe como folha ---------- */
@media (max-width: 899px) {
  .estrutura { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .palco { padding: max(28px, env(safe-area-inset-top)) 20px 64px; justify-content: flex-start; }
  .palco-conteudo { display: flex; align-items: center; gap: 16px; }
  .marca-animada { width: 76px; margin: 0; }
  .wordmark { width: min(210px, 52vw); }
  .slogan { margin-top: 6px; font-size: .95rem; }
  .recursos, .palco-rodape { display: none; }
  .lado-form { margin-top: -36px; padding: 0 0 max(24px, env(safe-area-inset-bottom)); justify-content: flex-start; z-index: 1; }
  .cartao { width: 100%; border-radius: 24px 24px 0 0; border-width: 1px 0 0; padding: 26px 20px 20px; box-shadow: 0 -12px 32px -18px rgba(4, 20, 15, .55); min-height: 100%; }
  .cartao:has(.largo) { width: 100%; }
  .instalar { width: auto; margin: 16px 20px 0; }
}
@media (max-width: 899px) and (min-width: 560px) { .cartao { width: min(520px, 100%); border-radius: 24px; border-width: 1px; } .lado-form { align-items: center; } }

/* Conta: palco compacto também no computador. */
.tela-conta .estrutura { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.tela-conta .palco { padding: 28px clamp(20px, 5vw, 64px) 64px; justify-content: flex-start; }
.tela-conta .palco-conteudo { display: flex; align-items: center; gap: 16px; max-width: none; }
.tela-conta .marca-animada { width: 64px; margin: 0; }
.tela-conta .wordmark { width: 200px; }
.tela-conta .recursos, .tela-conta .palco-rodape { display: none; }
.tela-conta .lado-form { margin-top: -36px; justify-content: flex-start; z-index: 1; }
.tela-conta .cartao { width: min(680px, 100%); }

/* ---------- Administração ---------- */
.tela-admin { min-height: 100dvh; }
.adm-topo { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 10px 16px; color: var(--palco-ink);
  background: linear-gradient(160deg, var(--palco-1), var(--palco-0)); box-shadow: 0 6px 18px -12px rgba(4, 20, 15, .7); }
.adm-marca { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; font-family: var(--f-titulo); font-weight: 800; letter-spacing: -.01em; }
.adm-marca img { border-radius: 8px; }
.adm-marca em { font-style: normal; font-weight: 600; color: var(--palco-ink-2); font-size: .9rem; }
.adm-abas { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.adm-abas button { min-height: 38px; border-color: transparent; background: none; color: var(--palco-ink-2); padding: 0 12px; }
.adm-abas button:hover { color: var(--palco-ink); background: rgba(159, 227, 190, .08); border-color: transparent; }
.adm-abas button[aria-current=page] { background: rgba(159, 227, 190, .14); color: #fff; box-shadow: inset 0 -2px 0 var(--menta); }
.adm-eu { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--palco-ink-2); }
.adm-eu a { color: var(--menta); }
.adm-eu button { min-height: 36px; padding: 0 12px; background: transparent; color: var(--palco-ink); border-color: rgba(159, 227, 190, .3); }
.adm { max-width: 1120px; margin: 0 auto; padding: 24px 16px 56px; }
.adm h1 { font-size: 1.6rem; margin-bottom: 16px; }
.blocos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.bloco { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.bloco b { display: block; font-family: var(--f-titulo); font-size: 1.8rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.bloco span { color: var(--ink-2); font-size: .9rem; }
.painel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); padding: 18px; margin-bottom: 16px; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filtros input, .filtros select { width: auto; flex: 1 1 200px; min-height: 44px; }
.filtros button { min-height: 44px; }
.tabela-rolagem { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 700; }
tbody tr:hover { background: var(--surface-2); }
td .mudo { font-size: .82rem; }
td.acoes-linha { white-space: nowrap; }
td.acoes-linha button { min-height: 34px; padding: 0 10px; font-size: .85rem; margin: 2px; }
td select { min-height: 38px; padding: 6px 10px; }
.st-ativo { color: var(--ok); font-weight: 700; } .st-bloqueado, .st-desativado { color: var(--danger); font-weight: 700; }
.res-negado, .res-falha { color: var(--danger); font-weight: 700; }
code { font-family: var(--f-num); font-size: .84em; }
.dlg { border: 1px solid var(--line); border-radius: var(--raio); padding: 24px; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(4, 20, 15, .5); }
.dlg[open] { animation: cartao .3s var(--sai) both; }
.dlg::backdrop { background: rgba(4, 20, 15, .5); backdrop-filter: blur(2px); }
.copiar { display: flex; gap: 8px; }
.copiar input { font-family: var(--f-num); font-size: .85rem; }
.eq-lista { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.eq-item { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 14px; border-radius: 12px; text-align: left; }
.eq-item:hover { background: var(--brand-soft); }
.eq-nome { font-weight: 700; } .eq-n { color: var(--ink-3); font-weight: 600; font-size: .86rem; }
.eq-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.eq-cab .acoes { margin-top: 0; }
@media (max-width: 640px) { .adm-abas { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; } }

/* Política de privacidade */
.palco-rodape a{ color:inherit; text-decoration:underline; text-underline-offset:2px; }
.politica h2{ font-size:1.05rem; margin:1.4em 0 .4em; }
.politica ul{ margin:0 0 .8em; padding-left:1.2em; }
.politica li{ margin:.3em 0; }
.politica p, .politica li{ line-height:1.55; }
.aviso-rascunho{ border:1px solid var(--aviso-line, #EDD48A); background:var(--aviso-soft, #FFF6DD); border-radius:10px; padding:10px 12px; margin-bottom:16px; font-size:.92rem; color:inherit; }
