/* DesafogAI — duas vozes visuais:
   1. Apresentação: azul, lima, tipografia expandida, cartões de vidro.
   2. Aplicativo demonstrativo: sóbrio, no padrão iPadOS, com a fonte do sistema. */

:root {
  --azul: #0131cd;
  --azul-fundo: #0029b3;
  --lima: #b9fc01;
  --tinta: #0a1033;
  --papel: #fff;
  --nevoa: #f2f4fa;
  --linha: #dfe3ee;
  --cinza: #59607a;

  --app-fundo: #f1f2f6;
  --sep: rgba(10, 16, 51, 0.1);
  --txt2: #5b6278;
  --ok: #157a43;
  --ok-f: #e1f5e9;
  --pend: #9a5b00;
  --pend-f: #fff0d2;
  --erro: #c4281c;
  --erro-f: #fde7e4;

  --topo: 56px;
  --wrap: 1140px;
  --margem: clamp(18px, 4vw, 52px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --marca: "Plus Jakarta Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sistema: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 12px); }
body { margin: 0; font-family: var(--marca); font-size: 1.0625rem; line-height: 1.5; font-weight: 500; color: var(--tinta); background: var(--azul); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button, a, summary, label { touch-action: manipulation; }
button, summary, .btn, .bt { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; }
.lencol :focus-visible, .app :focus-visible, dialog :focus-visible { outline-color: var(--azul); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
svg { flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--margem)); margin-inline: auto; padding-inline: var(--margem); }
.pular { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--lima); color: var(--tinta); padding: 12px 16px; font-weight: 700; border-radius: 12px; }
.pular:focus { top: 12px; }

/* ================= barra superior ================= */
.topo {
  position: sticky; top: 0; z-index: 50;
  height: calc(var(--topo) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(var(--margem), env(safe-area-inset-right, 0px)) 0 max(var(--margem), env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--azul); color: var(--papel);
}
.marca { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.marca img { height: 23px; width: auto; }
.vistas { display: inline-flex; padding: 3px; gap: 2px; background: rgba(255, 255, 255, 0.14); border-radius: 999px; }
.vistas a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 clamp(12px, 2.4vw, 20px); border-radius: 999px;
  font-size: 0.9375rem; font-weight: 640; text-decoration: none; color: var(--papel); white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 120ms var(--ease-out);
}
.vistas a:active { transform: scale(0.96); }
.vistas a[aria-current="true"] { background: var(--papel); color: var(--azul); }
.vistas-home { background: none; }
.btn-topo {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; flex: none;
  border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 999px; color: var(--papel);
  font-size: 0.9375rem; font-weight: 640; text-decoration: none;
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}
.btn-topo:active { transform: scale(0.96); }
@media (max-width: 759px) { .vistas-home { display: none; } .btn-topo[data-abrir-nichos] span { display: none; } .btn-topo[data-abrir-nichos] { padding: 0 12px; } .marca img { height: 20px; } }
@media (max-width: 379px) { .marca img { height: 17px; } .vistas a { padding: 0 10px; font-size: 0.875rem; } }

/* ================= botões ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--marca); font-size: 1.0625rem; font-weight: 720; font-stretch: 104%; line-height: 1.15; text-decoration: none; text-align: center;
  transition: transform 120ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-lima { background: var(--lima); color: var(--tinta); }
.btn-vidro { border-color: rgba(255, 255, 255, 0.6); color: var(--papel); background: rgba(255, 255, 255, 0.08); }
.btn-azul { background: var(--azul); color: var(--papel); }
.btn-contorno { border-color: var(--linha); color: var(--tinta); background: var(--papel); }
.btn-grande { min-height: 60px; width: 100%; }
.btn:disabled { opacity: 0.35; cursor: default; }
.link-azul { display: inline-flex; align-items: center; min-height: 44px; color: var(--azul); font-weight: 640; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .btn-lima:hover { background: #cbff3a; }
  .btn-vidro:hover, .btn-topo:hover { background: rgba(255, 255, 255, 0.18); }
  .btn-azul:hover { background: var(--azul-fundo); }
  .btn-contorno:hover { border-color: var(--azul); }
  .vistas a:not([aria-current="true"]):hover { background: rgba(255, 255, 255, 0.14); }
}

/* ================= palco azul (apresentação) ================= */
.palco {
  background-color: var(--azul); color: var(--papel);
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
}
.heroi { padding: clamp(28px, 5vh, 64px) 0 calc(clamp(40px, 7vh, 88px) + 36px); min-height: calc(100svh - var(--topo)); display: grid; align-items: center; }
.heroi-grade { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1000px) { .heroi-grade { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }
.rotulo { display: inline-block; margin-bottom: 20px; padding: 6px 14px 5px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 999px; font-size: 0.875rem; font-weight: 620; line-height: 1.25; }
.cartaz { font-size: clamp(2.05rem, 5vw, 3.75rem); line-height: 0.95; font-weight: 900; font-stretch: 112%; letter-spacing: -0.022em; text-transform: uppercase; overflow-wrap: anywhere; }
.cartaz span { display: block; }
.cartaz span:last-child { color: var(--lima); }
.cartaz-m { font-size: clamp(1.8rem, 4.2vw, 3.1rem); }
.heroi-sub { margin-top: 22px; max-width: 44ch; font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.3125rem); line-height: 1.35; font-weight: 520; color: rgba(255, 255, 255, 0.94); }
.heroi-acoes { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.cartaz span { animation: subir 640ms var(--ease-out) both; }
.cartaz span:nth-child(2) { animation-delay: 70ms; }
.cartaz span:nth-child(3) { animation-delay: 130ms; }
.rotulo { animation: surgir 420ms ease both; }
.heroi-sub { animation: subir-leve 560ms var(--ease-out) 180ms both; }
.heroi-acoes { animation: subir-leve 520ms var(--ease-out) 250ms both; }

/* cartões de vidro */
.cena-vidro { position: relative; display: grid; gap: 14px; }
.vidro {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.36); border-radius: 24px;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 26px 50px -24px rgba(0, 8, 70, 0.6);
  animation: chegar 620ms var(--ease-out) both; animation-delay: calc(300ms + var(--i) * 140ms);
}
.vidro-de { font-weight: 750; font-size: 0.9375rem; line-height: 1.3; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.vidro-de span { font-weight: 520; font-size: 0.8125rem; opacity: 0.8; }
.vidro-txt { font-size: 1rem; line-height: 1.35; margin-top: 2px; }
.vidro-ia { display: block; background: var(--lima); color: var(--tinta); border-color: transparent; border-bottom-right-radius: 8px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vidro-ia .vidro-txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vidro-rot { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 780; margin-bottom: 4px; }
.vidro-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--papel); color: var(--azul); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--papel); color: var(--azul); font-weight: 800; font-size: 1rem; flex: none; }
.espera { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; background: rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.espera i { width: 8px; height: 8px; border-radius: 50%; background: var(--lima); animation: piscar 1.6s ease-in-out infinite; }
.espera b { font-weight: 850; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.rabisco { display: none; stroke: var(--lima); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.rabisco path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: riscar 700ms var(--ease-in-out) 760ms forwards; }
.rabisco path + path { animation-delay: 1380ms; animation-duration: 260ms; }
.selo-giro { display: none; }
@media (min-width: 1000px) {
  .cena-vidro { display: block; min-height: min(470px, 62svh); }
  .cena-vidro .vidro { position: absolute; }
  .v1 { top: 2%; left: 0; width: 80%; rotate: -5deg; }
  .v2 { top: 37%; right: 0; width: 72%; rotate: 4deg; }
  .v3 { bottom: 7%; left: 5%; width: 62%; rotate: -3deg; }
  .cena-home .v2 { top: 34%; right: 0; left: auto; }
  .cena-home .v3 { bottom: 5%; }
  .rabisco { display: block; position: absolute; width: 130px; }
  .cena-vidro .rabisco-laco { top: 15%; right: 2%; rotate: 18deg; }
  .selo-giro { display: block; position: absolute; right: 0; bottom: -4%; width: 138px; height: 138px; border-radius: 50%; background: var(--lima); color: var(--tinta); transition: transform 160ms var(--ease-out); animation: surgir 500ms ease 900ms both; }
  .selo-giro:active { transform: scale(0.95); }
  .selo-giro svg { width: 100%; height: 100%; }
  .selo-giro text { font-family: var(--marca); font-size: 17.5px; font-weight: 820; font-stretch: 112%; fill: currentColor; letter-spacing: 0.02em; }
  .giro { transform-origin: 100px 100px; animation: girar 22s linear infinite; }
  .selo-seta { fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
}

/* lençol branco que sobe sobre o azul */
.lencol { position: relative; margin-top: -36px; background: var(--papel); border-radius: 36px 36px 0 0; overflow: hidden; }
.sec { padding-block: clamp(48px, 8vh, 92px); scroll-margin-top: var(--topo); }
.sec-nevoa { background: var(--nevoa); }
.sec-topo { margin-bottom: clamp(22px, 3.6vh, 38px); }
.sec-topo h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); line-height: 1.08; font-weight: 820; letter-spacing: -0.022em; max-width: 22ch; }
.sec-topo p { margin-top: 10px; max-width: 60ch; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--cinza); }

/* situações (dores) */
.dores { display: grid; gap: 12px; }
@media (min-width: 640px) { .dores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .dores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dor {
  width: 100%; height: 100%; min-height: 132px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; text-align: left;
  background: var(--nevoa); border: 1.5px solid transparent; border-radius: 22px;
  transition: transform 120ms var(--ease-out), border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.dor:active { transform: scale(0.985); }
.dor-t { font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem); line-height: 1.15; font-weight: 760; letter-spacing: -0.012em; }
.dor-mod { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 660; color: var(--azul); }
.dor-estado { font-size: 0.875rem; font-weight: 620; }
.dor-estado:empty { display: none; }
.dor[data-estado="marcada"] { background: var(--azul); color: var(--papel); }
.dor[data-estado="marcada"] .dor-mod { color: var(--lima); }
.dor[data-estado="ok"] .dor-estado { color: var(--ok); }
@media (hover: hover) and (pointer: fine) { .dor:hover { border-color: var(--azul); } }

/* a conta */
.conta-grade { display: grid; gap: clamp(26px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .conta-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.conta-entrada .sec-topo { margin-bottom: 6px; }
.campo { margin-top: 24px; }
.campo label { display: block; font-size: 1.0625rem; font-weight: 640; line-height: 1.3; margin-bottom: 10px; max-width: 36ch; }
.passo-num { display: inline-flex; border: 1.5px solid var(--linha); border-radius: 16px; overflow: hidden; background: var(--papel); }
.passo-num button { width: 58px; height: 58px; font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--azul); transition: background-color 120ms ease; }
.passo-num button:active { background: var(--nevoa); }
.passo-num input { width: 100px; height: 58px; border: 0; border-inline: 1.5px solid var(--linha); text-align: center; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--papel); border-radius: 0; }
.dinheiro { display: flex; max-width: 280px; border: 1.5px solid var(--linha); border-radius: 16px; overflow: hidden; background: var(--papel); }
.dinheiro > span { display: grid; place-items: center; padding: 0 14px; background: var(--nevoa); font-weight: 750; color: var(--cinza); }
.dinheiro input { flex: 1; min-width: 0; height: 58px; border: 0; padding: 0 14px; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--papel); border-radius: 0; }
.passo-num input:focus-visible, .dinheiro input:focus-visible { outline-offset: -3px; }
.passo-num:focus-within, .dinheiro:focus-within { border-color: var(--azul); }
.conta-saida { background: var(--azul); color: var(--papel); padding: clamp(24px, 4vw, 44px); border-radius: 30px; }
.conta-formula { color: rgba(255, 255, 255, 0.78); font-size: 1rem; font-variant-numeric: tabular-nums; min-height: 1.5em; }
.conta-total { margin-top: 6px; font-size: clamp(2.6rem, 1.6rem + 5vw, 4.75rem); line-height: 1; font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; transition: color 240ms ease; }
.conta-saida[data-cheia] .conta-total { color: var(--lima); }
.conta-frase { margin-top: 12px; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.3; font-weight: 620; max-width: 26ch; }
.conta-ano { margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-variant-numeric: tabular-nums; min-height: 1.5em; }
.conta-nota { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; }

/* relatos */
.relatos { display: grid; gap: 12px; }
@media (min-width: 760px) { .relatos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.relato { background: var(--papel); padding: 22px 24px; border-radius: 22px; }
.relato h3 { font-size: 1.1875rem; line-height: 1.2; font-weight: 760; margin-bottom: 8px; }
.relato-saida { margin-top: 10px; }
.relato-fonte { margin-top: 12px; font-size: 0.875rem; color: var(--cinza); }
.relato-fonte a { color: var(--azul); text-underline-offset: 3px; display: inline-block; padding-block: 6px; }

/* dúvidas */
.duv-grade { display: grid; gap: 8px clamp(28px, 5vw, 60px); }
@media (min-width: 900px) { .duv-grade { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: start; } }
.duvidas details { border-top: 1.5px solid var(--linha); }
.duvidas details:last-child { border-bottom: 1.5px solid var(--linha); }
.duvidas summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; min-height: 62px; cursor: pointer; list-style: none; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.25; font-weight: 700; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary svg { color: var(--azul); transition: transform 220ms var(--ease-out); }
.duvidas details[open] summary svg { transform: rotate(45deg); }
.duvidas details p { padding-bottom: 22px; max-width: 62ch; color: var(--cinza); }
.duvidas details[open] p { animation: surgir 260ms ease both; }

/* fecho */
.sec-fecho { padding-top: 0; }
.fecho { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(30px, 6vw, 68px); }
.fecho > p { margin-top: 16px; max-width: 46ch; font-size: 1.125rem; font-weight: 500; color: rgba(255, 255, 255, 0.92); }
.fecho .rabisco { display: block; position: absolute; right: clamp(8px, 5vw, 70px); top: 50%; translate: 0 -50%; width: clamp(110px, 18vw, 230px); opacity: 0.95; }
.fecho .rabisco path { animation: none; stroke-dashoffset: 0; }
@media (max-width: 719px) { .fecho .rabisco { display: none; } }

/* rodapé */
.rodape { background: var(--tinta); color: #aab0cb; padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 0.9375rem; }
.rodape-grade { display: grid; gap: 22px; }
@media (min-width: 860px) { .rodape-grade { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; } }
.rodape-logo { width: 150px; }
.rodape-lema { color: var(--papel); font-weight: 700; font-size: 1.0625rem; margin-bottom: 6px; }
.rodape a { color: var(--papel); text-underline-offset: 3px; display: inline-block; padding-block: 6px; }
.rodape-aviso { font-size: 0.875rem; }

/* ================= vistas ================= */
.vista { animation: surgir 240ms ease both; }
.vista-app { height: calc(100dvh - var(--topo) - env(safe-area-inset-top, 0px)); background: var(--app-fundo); }
html[data-app] { overflow: hidden; }

/* ================= folhas (diálogos) ================= */
html.travada { overflow: hidden; }
dialog { color: var(--tinta); }
.folha { width: min(720px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--papel); overflow: hidden; overscroll-behavior: contain; }
.folha[open] { display: flex; flex-direction: column; animation: folha-entra 280ms var(--ease-out); }
.folha.saindo { animation: folha-sai 150ms ease-out forwards; }
dialog::backdrop { background: rgba(4, 10, 50, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: surgir 200ms ease both; }
dialog.saindo::backdrop { animation: sumir 150ms ease forwards; }
.folha-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 0 clamp(20px, 4vw, 30px); }
.folha-pos { font-size: 0.875rem; color: var(--cinza); font-variant-numeric: tabular-nums; font-weight: 620; }
.folha-topo h3 { font-size: 1.25rem; font-weight: 800; }
.fechar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nevoa); color: var(--cinza); transition: transform 120ms var(--ease-out); }
.fechar:active { transform: scale(0.92); }
.folha-corpo { padding: 6px clamp(20px, 4vw, 30px) 24px; overflow-y: auto; overscroll-behavior: contain; }
.folha-corpo > h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); line-height: 1.08; font-weight: 830; letter-spacing: -0.022em; max-width: 22ch; }
.bloco { margin-top: 20px; }
.bloco h4 { font-size: 0.875rem; font-weight: 720; color: var(--cinza); margin-bottom: 6px; }
.bloco p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.42; }
.bloco-sol { background: #eef2ff; padding: 18px 20px 20px; border-radius: 20px; }
.bloco-sol h4 { color: var(--azul); }
.bloco-sol .btn { margin-top: 16px; min-height: 48px; padding: 0 20px; font-size: 1rem; }
.bloco-pergunta .pergunta { font-weight: 660; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { min-height: 44px; padding: 0 16px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: 999px; font-size: 0.9375rem; font-weight: 640; transition: transform 120ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: var(--papel); }
.folha-pe { display: flex; justify-content: space-between; gap: 10px; padding: 12px clamp(20px, 4vw, 30px) calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linha); }
.folha-pe .btn { min-height: 46px; padding: 0 20px; font-size: 0.9375rem; }
.folha-lista .busca { margin: 12px clamp(20px, 4vw, 30px) 4px; }
.indice-lista { overflow-y: auto; overscroll-behavior: contain; padding: 8px clamp(20px, 4vw, 30px); display: grid; column-gap: 20px; }
@media (min-width: 560px) { .indice-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.indice-lista li.fav-on { order: -1; }
.indice-lista a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; font-weight: 620; text-decoration: none; }
.indice-lista a[aria-current="page"] { background: var(--azul); color: var(--papel); }
.folha-lista .link-azul { margin: 4px clamp(20px, 4vw, 30px) calc(14px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 639px) {
  .folha { width: 100vw; margin: auto 0 0; max-height: 92dvh; border-radius: 28px 28px 0 0; }
  .folha[open] { animation: gaveta-entra 440ms var(--ease-drawer); }
  .folha.saindo { animation: gaveta-sai 220ms var(--ease-drawer) forwards; }
  .folha-pe .btn { flex: 1; }
}
@media (hover: hover) and (pointer: fine) { .indice-lista a:not([aria-current]):hover { background: var(--nevoa); } .chip:hover { border-color: var(--azul); } }

/* ================= página inicial ================= */
.filtros { display: grid; gap: 12px; margin-bottom: 20px; }
@media (min-width: 900px) { .filtros { grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); align-items: center; } }
.busca { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1.5px solid var(--linha); border-radius: 999px; background: var(--papel); color: var(--cinza); }
.busca input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 1.0625rem; color: var(--tinta); outline: none; -webkit-appearance: none; appearance: none; }
.busca:focus-within { border-color: var(--azul); }
.grupos { display: flex; flex-wrap: wrap; gap: 8px; }
.grupos button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--linha); border-radius: 999px; font-size: 0.9375rem; font-weight: 640; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.grupos button[aria-pressed="true"] { background: var(--azul); color: var(--papel); border-color: var(--azul); }
.tiles { display: grid; gap: 12px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { position: relative; }
.tile.fav-on { order: -1; }
.tile a { display: flex; flex-direction: column; height: 100%; min-height: 148px; padding: 20px 52px 18px 20px; border-radius: 22px; text-decoration: none; background: var(--nevoa); transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.tile a:active { transform: scale(0.985); }
.tile h3 { font-size: 1.1875rem; line-height: 1.16; font-weight: 780; letter-spacing: -0.012em; }
.tile p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.35; color: var(--cinza); }
.tile-mod { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 660; color: var(--azul); }
.tile-destaque a { background: var(--azul); color: var(--papel); }
.tile-destaque p { color: rgba(255, 255, 255, 0.82); }
.tile-destaque .tile-mod { color: var(--lima); }
.fav { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 46px; height: 46px; color: #9aa1b8; border-radius: 50%; transition: transform 120ms var(--ease-out), color 160ms ease; }
.fav:active { transform: scale(0.88); }
.fav[aria-pressed="true"] { color: var(--azul); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.tile-destaque .fav { color: rgba(255, 255, 255, 0.7); }
.tile-destaque .fav[aria-pressed="true"] { color: var(--lima); }
.tiles-vazio { padding: 28px 0; color: var(--cinza); font-size: 1.125rem; max-width: 52ch; }
@media (hover: hover) and (pointer: fine) { .tile a:hover { transform: translateY(-2px); } .grupos button:hover { border-color: var(--azul); } }

.padrao { display: grid; gap: 12px; }
@media (min-width: 620px) { .padrao { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .padrao { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.padrao li { background: var(--papel); border-radius: 22px; padding: 22px; }
.padrao-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--azul); color: var(--papel); margin-bottom: 16px; }
.padrao h3, .principios h3, .passos h3 { font-size: 1.125rem; line-height: 1.2; font-weight: 760; margin-bottom: 6px; }
.padrao p, .principios p, .passos p { color: var(--cinza); font-size: 1rem; }
.principios { display: grid; gap: 24px 28px; }
@media (min-width: 700px) { .principios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .principios { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.principios li { border-top: 2px solid var(--azul); padding-top: 16px; }

/* ================= proposta ================= */
.prop-topo { padding: clamp(28px, 5vh, 56px) 0 calc(clamp(28px, 5vh, 56px) + 36px); }
.prop-topo .heroi-sub { max-width: 60ch; }
.prop-grade { display: grid; gap: clamp(26px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .prop-grade { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.prop-mods { display: grid; gap: 10px; }
.prop-mod { display: grid; grid-template-columns: 46px minmax(0, 1fr) 28px; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--linha); border-radius: 20px; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, transform 120ms var(--ease-out); }
.prop-mod:active { transform: scale(0.99); }
.prop-mod input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.prop-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--nevoa); color: var(--cinza); transition: background-color 180ms ease, color 180ms ease; }
.prop-corpo { display: grid; gap: 2px; }
.prop-corpo b { font-size: 1.0625rem; font-weight: 740; line-height: 1.25; }
.prop-corpo span { font-size: 0.9375rem; color: var(--cinza); line-height: 1.38; }
.prop-corpo small { margin-top: 4px; font-size: 0.8125rem; font-weight: 600; color: var(--azul); line-height: 1.35; }
.prop-marca { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--linha); color: transparent; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 200ms var(--ease-out); }
.prop-mod:has(input:checked) { border-color: var(--azul); background: #f3f6ff; }
.prop-mod:has(input:checked) .prop-ic { background: var(--azul); color: var(--papel); }
.prop-mod:has(input:checked) .prop-marca { background: var(--azul); border-color: var(--azul); color: var(--papel); }
.prop-mod:has(input:focus-visible) { outline: 3px solid var(--azul); outline-offset: 3px; }
/* cartão explicado (construtoras): objetivo em destaque e como cada função resolve; só o topo marca/desmarca */
.prop-rico { display: block; padding: 0; cursor: default; }
.prop-rico:active { transform: none; }
.prop-cab { display: grid; grid-template-columns: 46px minmax(0, 1fr) 28px; gap: 14px; align-items: center; padding: 16px 18px 10px; cursor: pointer; }
.prop-base .prop-cab { cursor: default; }
.prop-nome { font-size: 0.75rem !important; font-weight: 760 !important; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cinza) !important; margin: 0 0 2px !important; }
.prop-rico .prop-corpo b { font-size: 1.125rem; }
.prop-rico .prop-corpo .prop-texto { display: block; margin-top: 2px; font-size: 1.0625rem; font-weight: 640; color: var(--tinta, #0a1033); line-height: 1.38; }
.prop-como { padding: 0 18px 16px calc(18px + 46px + 14px); }
.prop-como-t { font-size: 0.8125rem; font-weight: 760; color: var(--azul); margin: 2px 0 6px; }
.prop-funcoes { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.prop-funcoes li { position: relative; padding-left: 16px; font-size: 0.9375rem; line-height: 1.42; color: var(--cinza); }
.prop-funcoes li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--azul); }
.prop-funcoes b { color: var(--tinta, #0a1033); font-weight: 700; }
.prop-resolve { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: 0.8125rem; font-weight: 600; color: var(--azul); line-height: 1.35; }
.prop-resolve svg { flex: none; margin-top: 1px; }
.prop-fixo { display: none; }
@media (max-width: 959px) {
  .prop-fixo { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; justify-content: center; box-shadow: 0 10px 30px -8px rgba(10, 16, 51, 0.45); }
  body[data-vista="proposta"] .lencol { padding-bottom: 84px; }
}
@media (max-width: 560px) {
  .prop-cab { grid-template-columns: 38px minmax(0, 1fr) 26px; gap: 10px; padding: 14px 14px 8px; }
  .prop-cab .prop-ic { width: 38px; height: 38px; }
  .prop-como { padding: 0 14px 14px; }
  .prop-rico .prop-corpo b { font-size: 1.0625rem; }
  .prop-funcoes li { font-size: 0.9rem; }
}
.prop-base { cursor: default; }
.prop-sub { margin: 30px 0 12px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.012em; }
.prop-manual { display: grid; gap: 10px; }
.prop-manual li { display: flex; gap: 10px; align-items: flex-start; color: var(--cinza); }
.prop-manual svg { color: var(--azul); margin-top: 3px; }
.prop-manual b { color: var(--tinta); font-weight: 700; }
.prop-resumo { background: var(--azul); color: var(--papel); border-radius: 30px; padding: clamp(22px, 3vw, 30px); }
@media (min-width: 960px) { .prop-resumo { position: sticky; top: calc(var(--topo) + 16px); } }
.prop-resumo h3 { font-size: 1.375rem; font-weight: 830; letter-spacing: -0.015em; }
.prop-conta { margin-top: 4px; color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; }
.prop-lista { margin-top: 14px; display: grid; gap: 7px; }
.prop-lista li { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 0.9375rem; animation: surgir 240ms ease both; }
.prop-lista svg { color: var(--lima); }
.prop-extra { display: grid; gap: 8px; margin-top: 14px; }
.prop-extra:empty { display: none; }
.prop-extra p { padding: 10px 12px; background: rgba(255, 255, 255, 0.12); border-radius: 14px; font-size: 0.9375rem; line-height: 1.35; }
.prop-extra b { color: var(--lima); font-variant-numeric: tabular-nums; }
.prop-resumo h4 { margin-top: 20px; font-size: 1rem; font-weight: 760; }
.prop-valores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.prop-valores label > span:first-child { display: block; font-size: 0.8125rem; font-weight: 620; color: rgba(255, 255, 255, 0.82); margin-bottom: 5px; }
.prop-valores .dinheiro { max-width: none; border: 0; border-radius: 14px; }
.prop-valores .dinheiro > span { padding: 0 10px; font-size: 0.875rem; }
.prop-valores input { height: 48px; font-size: 1.0625rem; padding: 0 10px; color: var(--tinta); }
.prop-valores input::placeholder { font-weight: 500; font-size: 0.9375rem; color: #8a90a8; }
.prop-nota { margin-top: 10px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.78); line-height: 1.4; }
.prop-resumo .btn-grande { margin-top: 18px; }
.prop-contato { margin-top: 10px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); text-align: center; }
.prop-contato a { font-weight: 720; color: var(--papel); display: inline-block; padding-block: 8px; }
.passos { display: grid; gap: 22px; counter-reset: passo; }
@media (min-width: 800px) { .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.passos li { counter-increment: passo; }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lima); color: var(--tinta); font-weight: 850; margin-bottom: 14px; }

/* ================= aplicativo demonstrativo ================= */
.app { position: relative; height: 100%; display: grid; grid-template-columns: 232px minmax(0, 1fr); font-family: var(--sistema); font-size: 15px; line-height: 1.4; font-weight: 400; color: var(--tinta); letter-spacing: -0.005em; }
.app b, .app strong { font-weight: 600; }
.app-lado { display: flex; flex-direction: column; gap: 14px; padding: 16px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.78); border-right: 1px solid var(--sep); overflow-y: auto; }
.app-emp { display: grid; gap: 6px; padding: 4px 10px 0; }
.app-emp b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.app-nav { display: grid; gap: 2px; }
.app-nav button, .app-acao { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 500; text-align: left; text-decoration: none; color: var(--tinta); transition: background-color 140ms ease, color 140ms ease, transform 120ms var(--ease-out); }
.app-nav button:active, .app-acao:active { transform: scale(0.98); }
.app-nav button svg { color: var(--azul); }
.app-nav button[aria-current="page"] { background: var(--azul); color: var(--papel); font-weight: 600; }
.app-nav button[aria-current="page"] svg { color: var(--papel); }
.ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 0 2px var(--tinta); margin-left: auto; animation: pulso 420ms var(--ease-out); }
.app-lado-pe { margin-top: auto; display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--sep); }
.app-acao { color: var(--txt2); }
.app-acao-prop { background: var(--lima); color: var(--tinta); font-weight: 600; }
.app-conteudo { overflow-y: auto; overscroll-behavior: contain; padding: 22px clamp(14px, 2.4vw, 30px) 44px; container-type: inline-size; }
.app-conteudo:focus { outline: none; }
.app-mod { animation: mod-entra 240ms var(--ease-out) both; display: grid; gap: 18px; max-width: 1080px; margin-inline: auto; }
.app-abas { display: none; }

.mt { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
.mt h2 { font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.028em; }
.mt p { color: var(--txt2); font-size: 15px; margin-top: 3px; }
.mt-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.bl-t { font-size: 13px; font-weight: 600; color: var(--txt2); margin: 0 4px 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bl-t button { color: var(--azul); font-weight: 600; font-size: 13px; min-height: 30px; }
.cx { background: var(--papel); border-radius: 18px; padding: 4px 16px; box-shadow: 0 1px 2px rgba(10, 16, 51, 0.04); }
.cx-p { padding: 16px; }
.duas { display: grid; gap: 18px; }
@container (min-width: 720px) { .duas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.st { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; background: rgba(10, 16, 51, 0.07); color: var(--txt2); }
.st-ok { background: var(--ok-f); color: var(--ok); }
.st-pend { background: var(--pend-f); color: var(--pend); }
.st-erro { background: var(--erro-f); color: var(--erro); }
.st-ia { background: var(--lima); color: var(--tinta); }
.st-azul { background: #e6ecff; color: var(--azul); }

.bt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: 14px; font-weight: 600; background: #e6ecff; color: var(--azul); white-space: nowrap; text-decoration: none; transition: transform 120ms var(--ease-out), background-color 140ms ease, opacity 140ms ease; }
.bt:active { transform: scale(0.96); }
.bt-cheio { background: var(--azul); color: var(--papel); }
.bt-lima { background: var(--lima); color: var(--tinta); }
.bt-quieto { background: rgba(10, 16, 51, 0.06); color: var(--tinta); }
.bt[disabled] { opacity: 0.5; cursor: default; }
.bt-g { min-height: 46px; padding: 0 18px; font-size: 15px; border-radius: 13px; }

.ln { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sep); }
.ln:last-child { border-bottom: 0; }
.ln-c { display: grid; gap: 1px; min-width: 0; }
.ln-c b { font-size: 15px; line-height: 1.3; }
.ln-c small { font-size: 13px; color: var(--txt2); line-height: 1.35; }
.ln-f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ln-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #e6ecff; color: var(--azul); }
.ic-pend { background: var(--pend-f); color: var(--pend); }
.ic-erro { background: var(--erro-f); color: var(--erro); }
.ic-ia { background: var(--lima); color: var(--tinta); }
.hora { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; min-width: 46px; }
.hora small { display: block; font-size: 11.5px; font-weight: 500; color: var(--txt2); }
.ln.novo, .cartao.novo { animation: realce 2200ms ease-out both; }
.porque { display: inline-flex; align-items: center; gap: 4px; color: var(--azul); font-size: 12.5px; font-weight: 600; min-height: 26px; text-align: left; }
@container (max-width: 520px) { .ln { grid-template-columns: auto minmax(0, 1fr); } .ln-f { grid-column: 1 / -1; justify-content: flex-start; } }

/* guia */
.guia { background: var(--azul); color: var(--papel); border-radius: 20px; padding: 16px 18px; display: grid; gap: 12px; }
.guia-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; opacity: 0.9; }
.guia ol { display: grid; gap: 8px; }
@container (min-width: 720px) { .guia ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.guia button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 8px 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.13); font-size: 13.5px; font-weight: 500; line-height: 1.25; text-align: left; transition: transform 120ms var(--ease-out), background-color 160ms ease; }
.guia button:active { transform: scale(0.97); }
.guia button i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.6); font-style: normal; font-size: 12px; font-weight: 700; flex: none; }
.guia li[data-feito] button { background: rgba(255, 255, 255, 0.06); opacity: 0.85; }
.guia li[data-feito] i { background: var(--lima); border-color: var(--lima); color: var(--tinta); }
.guia li[data-atual] button { background: var(--papel); color: var(--tinta); font-weight: 600; }
.guia li[data-atual] i { border-color: var(--azul); color: var(--azul); }

/* indicadores */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@container (min-width: 720px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { display: grid; gap: 2px; align-content: start; padding: 14px 16px; text-align: left; width: 100%; transition: transform 120ms var(--ease-out); }
.kpi:active { transform: scale(0.98); }
.kpi small { font-size: 13px; font-weight: 600; color: var(--txt2); }
.kpi b { font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -0.028em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--txt2); line-height: 1.35; }
.kpi.mudou { animation: realce 2400ms ease-out both; }
.kpi.mudou small::after { content: "atualizado"; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-size: 11px; }

/* barras */
.barras { display: grid; gap: 12px; padding: 14px 0; }
.barra { display: grid; gap: 5px; }
.barra-t { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.barra-t span:last-child { color: var(--txt2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.barra-f { height: 9px; border-radius: 5px; background: rgba(10, 16, 51, 0.07); overflow: hidden; }
.barra-f i { display: block; height: 100%; border-radius: 5px; background: var(--azul); transform-origin: left; animation: crescer 600ms var(--ease-out) both; }
.colunas { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; align-items: end; height: 150px; padding: 16px 0 8px; }
.colunas div { display: grid; gap: 6px; justify-items: center; align-content: end; height: 100%; font-size: 12px; color: var(--txt2); font-variant-numeric: tabular-nums; }
.colunas i { display: block; width: min(34px, 70%); border-radius: 7px 7px 3px 3px; background: #c9d4fb; transform-origin: bottom; animation: subir-barra 600ms var(--ease-out) both; }
.colunas div[data-hoje] i { background: var(--azul); }
.colunas div[data-hoje] { color: var(--tinta); font-weight: 600; }

/* atendimento */
.at { display: grid; gap: 14px; }
@container (min-width: 640px) { .at { grid-template-columns: 236px minmax(0, 1fr); align-items: start; } }
@container (min-width: 840px) { .at { grid-template-columns: 218px minmax(0, 1fr) 250px; } }
.at-lista { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.at-lista::-webkit-scrollbar { display: none; }
@container (min-width: 640px) { .at-lista { display: grid; overflow: visible; } }
.at-item { display: grid; gap: 3px; flex: 0 0 210px; padding: 12px 14px; border-radius: 16px; background: var(--papel); text-align: left; border: 1.5px solid transparent; transition: border-color 160ms ease, transform 120ms var(--ease-out); }
.at-item:active { transform: scale(0.98); }
.at-item[aria-current="true"] { border-color: var(--azul); }
.at-item b { font-size: 14.5px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.at-item p { font-size: 13px; color: var(--txt2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.at-item .st { margin-top: 3px; }
.at-item .st b { font-size: inherit; font-variant-numeric: tabular-nums; display: inline; }
.at-sim { background: var(--azul); color: var(--papel); }
.at-sim p { color: rgba(255, 255, 255, 0.84); }
.at-sim[aria-current="true"] { border-color: var(--lima); }
.at-chat { display: flex; flex-direction: column; background: var(--papel); border-radius: 18px; overflow: hidden; height: min(560px, calc(100dvh - var(--topo) - 190px)); min-height: 380px; }
@container (min-width: 640px) and (max-width: 839px) { .at-ficha { grid-column: 2; } }
.at-chat-t { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--sep); }
.at-chat-t .avatar { width: 36px; height: 36px; font-size: 15px; background: #e6ecff; }
.at-chat-t b { display: block; font-size: 15px; line-height: 1.2; }
.at-chat-t small { font-size: 12.5px; color: var(--txt2); }
.chat { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 7px; scrollbar-width: thin; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.34; }
.msg.nova { animation: msg-entra 280ms var(--ease-out) both; }
.msg-c { align-self: flex-start; background: #e9eaf0; border-bottom-left-radius: 5px; transform-origin: left bottom; }
.msg-a { align-self: flex-end; background: var(--azul); color: var(--papel); border-bottom-right-radius: 5px; transform-origin: right bottom; }
.msg-a small { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; opacity: 0.85; margin-bottom: 1px; }
.msg-s { align-self: center; max-width: 94%; text-align: center; padding: 5px 11px; font-size: 12.5px; font-weight: 600; color: var(--tinta); background: var(--lima); border-radius: 999px; }
.digitando { align-self: flex-end; display: inline-flex; gap: 5px; padding: 13px 15px; background: var(--azul); border-radius: 18px; border-bottom-right-radius: 5px; }
.digitando i { width: 7px; height: 7px; border-radius: 50%; background: var(--papel); animation: ponto 1s ease-in-out infinite; }
.digitando i:nth-child(2) { animation-delay: 140ms; }
.digitando i:nth-child(3) { animation-delay: 280ms; }
.at-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sep); }
.at-pe small { color: var(--txt2); font-size: 12.5px; font-variant-numeric: tabular-nums; margin-left: auto; }
.at-ficha { display: grid; gap: 12px; align-content: start; background: var(--papel); border-radius: 18px; padding: 16px; }
.at-ficha h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.at-ficha h3 svg { color: var(--azul); }
.etapas { display: grid; gap: 6px; }
.etapas li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--txt2); }
.etapas li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(10, 16, 51, 0.14); flex: none; transition: background-color 240ms ease; }
.etapas li.feita { color: var(--tinta); }
.etapas li.feita::before { background: var(--azul); }
.etapas li.atual { color: var(--tinta); font-weight: 600; }
.etapas li.atual::before { background: var(--lima); box-shadow: 0 0 0 2px var(--tinta); }
.campos { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: 13.5px; }
.campos dt { color: var(--txt2); }
.campos dd { font-weight: 600; }
.campos .novo { animation: realce 1600ms ease-out both; border-radius: 4px; }
.tarefa { border-radius: 13px; padding: 11px 13px; background: var(--pend-f); font-size: 13.5px; }
.tarefa small { display: block; font-weight: 600; color: var(--pend); margin-bottom: 2px; }
.notas { display: grid; gap: 5px; font-size: 12.5px; color: var(--txt2); }
.notas li { display: flex; gap: 7px; }
.notas li::before { content: ""; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: currentColor; flex: none; }
.vazio { color: var(--txt2); font-size: 13.5px; }
.at-fim { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #eef2ff; font-size: 13.5px; }
.at-fim div { display: flex; flex-wrap: wrap; gap: 6px; }

/* CRM */
.quadro { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(196px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.coluna { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 16px; background: rgba(10, 16, 51, 0.045); scroll-snap-align: start; }
.coluna-t { display: grid; gap: 1px; padding: 2px 4px 4px; }
.coluna-t b { font-size: 13.5px; display: flex; justify-content: space-between; gap: 8px; }
.coluna-t b span { color: var(--txt2); font-weight: 500; }
.coluna-t small { font-size: 12px; color: var(--txt2); font-variant-numeric: tabular-nums; }
.cartao { display: grid; gap: 4px; width: 100%; padding: 12px; border-radius: 13px; background: var(--papel); text-align: left; box-shadow: 0 1px 2px rgba(10, 16, 51, 0.06); transition: transform 120ms var(--ease-out); }
.cartao:active { transform: scale(0.98); }
.cartao b { font-size: 14.5px; line-height: 1.25; }
.cartao p { font-size: 13px; color: var(--txt2); line-height: 1.3; }
.cartao-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cartao-pe .st { margin-left: auto; }
.coluna-vazia { font-size: 12.5px; color: var(--txt2); padding: 10px 4px; }

.card-topo { display: flex; align-items: center; gap: 12px; padding: 20px 14px 0 22px; }
.card-topo .avatar { background: #e6ecff; }
.card-topo div { flex: 1; min-width: 0; font-family: var(--sistema); }
.card-topo b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.card-topo small { color: var(--txt2); font-size: 14px; }
.card-corpo { font-family: var(--sistema); padding: 14px 22px 8px; display: grid; gap: 14px; font-size: 15px; overflow-y: auto; }
.card-etapas { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.card-etapas li { padding-top: 8px; border-top: 4px solid rgba(10, 16, 51, 0.1); font-size: 12px; color: var(--txt2); line-height: 1.25; }
.card-etapas li.feita { border-color: var(--azul); color: var(--tinta); }
.card-etapas li.atual { border-color: var(--azul); color: var(--tinta); font-weight: 600; }
.linha-tempo { display: grid; gap: 10px; }
.linha-tempo li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.linha-tempo li::before { content: ""; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--azul); }
.linha-tempo li.ia::before { background: var(--lima); box-shadow: 0 0 0 2px var(--tinta); }
.card-pe { font-family: var(--sistema); display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px calc(18px + env(safe-area-inset-bottom, 0px)); }
.card-pe .bt { flex: 1 1 180px; }

/* automações */
.autos { display: grid; gap: 12px; }
@container (min-width: 720px) { .autos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auto { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px; }
.auto b { font-size: 15.5px; }
.auto p { font-size: 13.5px; color: var(--txt2); grid-column: 1; }
.auto-pe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 4px; }
.chave { position: relative; width: 51px; height: 31px; border-radius: 999px; background: rgba(10, 16, 51, 0.16); transition: background-color 220ms ease; flex: none; }
.chave::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: var(--papel); box-shadow: 0 2px 5px rgba(10, 16, 51, 0.25); transition: transform 260ms var(--ease-out); }
.chave[aria-checked="true"] { background: var(--azul); }
.chave[aria-checked="true"]::after { transform: translateX(20px); }

/* equipe */
.pessoas { display: grid; gap: 12px; }
@container (min-width: 560px) { .pessoas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 860px) { .pessoas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pessoa { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 16px; align-items: center; }
.pessoa .avatar { background: #e6ecff; grid-row: span 2; }
.pessoa b { font-size: 15.5px; }
.pessoa small { color: var(--txt2); font-size: 13px; }
.pessoa p { grid-column: 1 / -1; font-size: 13px; color: var(--txt2); margin-top: 6px; }
.pessoa p b { font-size: inherit; color: var(--tinta); }
.marca-t { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(10, 16, 51, 0.25); color: transparent; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 200ms var(--ease-out); }
.ln[data-feito] .marca-t { background: var(--azul); border-color: var(--azul); color: var(--papel); }
.ln[data-feito] .ln-c b { text-decoration: line-through; color: var(--txt2); font-weight: 400; }
.toque { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin: -6px; }
.nota-equipe { padding: 14px 16px; border-radius: 16px; background: #eef2ff; font-size: 14px; color: var(--tinta); }
.app-rodape { font-size: 12.5px; color: var(--txt2); text-align: center; padding-top: 6px; }
.perguntas { display: grid; gap: 0; }

/* avisos do sistema (estilo notificação) */
.app-avisos { position: absolute; top: 10px; left: 50%; translate: -50% 0; z-index: 30; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.aviso { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 18px; background: rgba(13, 18, 48, 0.92); color: var(--papel); font-size: 14px; line-height: 1.3; text-align: left; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 40px -14px rgba(4, 10, 50, 0.55); animation: aviso-entra 420ms var(--ease-drawer) both; }
.aviso svg { color: var(--lima); }
.aviso.saindo { animation: aviso-sai 240ms ease forwards; }

/* trilho estreito (iPad em pé) */
@media (max-width: 1023px) and (min-width: 760px) {
  .app { grid-template-columns: 88px minmax(0, 1fr); }
  .app-lado { padding-inline: 8px; align-items: stretch; }
  .app-emp b { display: none; }
  .app-emp { padding: 0; justify-items: center; }
  .app-emp .st { font-size: 0; padding: 5px; }
  .app-emp .st::before { content: "Demo"; font-size: 11px; }
  .app-nav button, .app-acao { flex-direction: column; justify-content: center; gap: 4px; min-height: 60px; padding: 6px 2px; font-size: 10.5px; text-align: center; line-height: 1.15; position: relative; }
  .app-nav .ponto { position: absolute; top: 8px; right: 18px; margin: 0; }
}
/* celular */
@media (max-width: 759px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .app-lado { display: none; }
  .app-conteudo { padding: 16px 14px 28px; }
  .mt h2 { font-size: 26px; }
  .app-abas { display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.92); border-top: 1px solid var(--sep); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .app-abas button { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 50px; padding: 6px 0 4px; font-size: 10.5px; font-weight: 500; color: var(--txt2); border-radius: 12px; }
  .app-abas button[aria-current="page"] { color: var(--azul); font-weight: 600; }
  .app-abas .ponto { position: absolute; top: 5px; left: calc(50% + 8px); margin: 0; }
  .at-chat { height: min(480px, calc(100dvh - var(--topo) - 250px)); min-height: 340px; }
}
.mais-lista { display: grid; gap: 4px; padding: 8px 14px 6px; font-family: var(--sistema); }
.mais-lista button, .mais-lista a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px; border-radius: 14px; font-size: 16px; font-weight: 500; text-decoration: none; color: var(--tinta); }
.mais-lista svg { color: var(--azul); }

@media (hover: hover) and (pointer: fine) {
  .app-nav button:not([aria-current]):hover, .app-acao:not(.app-acao-prop):hover { background: rgba(10, 16, 51, 0.06); }
  .bt:hover { background: #d7e0ff; }
  .bt-cheio:hover { background: var(--azul-fundo); }
  .bt-lima:hover { background: #cbff3a; }
  .at-item:hover, .cartao:hover { border-color: rgba(1, 49, 205, 0.35); }
  .cartao:hover { transform: translateY(-1px); }
}

/* ================= movimento ================= */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } }
@keyframes subir-leve { from { opacity: 0; transform: translateY(8px); } }
@keyframes surgir { from { opacity: 0; } }
@keyframes sumir { to { opacity: 0; } }
@keyframes chegar { from { opacity: 0; transform: translateY(22px) scale(0.96); } }
@keyframes piscar { 50% { opacity: 0.25; } }
@keyframes riscar { to { stroke-dashoffset: 0; } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes pulso { 0% { transform: scale(0.4); } 60% { transform: scale(1.25); } }
@keyframes folha-entra { from { opacity: 0; transform: translateY(14px) scale(0.975); } }
@keyframes folha-sai { to { opacity: 0; transform: translateY(8px) scale(0.985); } }
@keyframes gaveta-entra { from { transform: translateY(100%); } }
@keyframes gaveta-sai { to { transform: translateY(100%); } }
@keyframes mod-entra { from { opacity: 0; transform: translateY(6px); } }
@keyframes msg-entra { from { opacity: 0; transform: translateY(8px) scale(0.95); } }
@keyframes ponto { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes realce { 0%, 30% { box-shadow: 0 0 0 2px var(--lima), 0 0 0 6px rgba(185, 252, 1, 0.35); background-color: #f6ffd9; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes crescer { from { transform: scaleX(0); } }
@keyframes subir-barra { from { transform: scaleY(0); } }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(-120%); } }
@keyframes aviso-sai { to { opacity: 0; transform: translateY(-40%); } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  @view-transition { navigation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .vidro { background: rgba(20, 60, 215, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .app-lado, .app-abas { background: var(--papel); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =====================================================================
   Tipografia nova, painel com gráficos, demonstração guiada, calendário e fichas.
   Este arquivo é somado ao estilo.css na geração do site.
   ===================================================================== */
.cartaz { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.042em; text-transform: none; }
.cartaz-m { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.sec-topo h2, .folha-corpo > h3 { font-weight: 800; letter-spacing: -0.032em; }
.btn { font-weight: 700; letter-spacing: -0.012em; font-size: 1rem; }
.btn-grande { padding: 0 18px; min-height: 58px; }
.heroi-sub { font-weight: 500; }
.dor-t, .tile h3, .relato h3 { letter-spacing: -0.022em; }
.conta-total { font-weight: 800; letter-spacing: -0.045em; }

/* personalização (nome e logo do cliente) */
.perso { margin-top: 26px; max-width: 470px; animation: subir-leve 520ms var(--ease-out) 320ms both; }
.perso > label { font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.perso-linha { display: flex; gap: 8px; margin-top: 8px; }
.perso-linha > input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); color: var(--papel); font-size: 1rem; font-weight: 600; }
.perso-linha > input::placeholder { color: rgba(255, 255, 255, 0.62); font-weight: 500; }
.perso-linha > input:focus-visible { outline-offset: 2px; border-color: var(--lima); }
.perso-logo { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, 0.5); font-size: 0.875rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.perso-logo img { height: 30px; max-width: 60px; object-fit: contain; border-radius: 6px; background: var(--papel); }
.perso-limpar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); color: var(--papel); flex: none; }
@media (max-width: 479px) { .perso-linha { flex-wrap: wrap; } .perso-linha > input { flex: 1 1 100%; } }

/* proposta: valores e desconto */
.prop-valores { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.prop-valores label { display: block; min-width: 0; }
.prop-valores label > span:first-child small { font-weight: 500; opacity: 0.75; }
.prop-valores .dinheiro { width: 100%; max-width: none; }
.prop-valores input { width: 100%; min-width: 0; font-weight: 700; }
.prop-tab { display: block; margin-top: 5px; min-height: 1.4em; font-size: 0.75rem; color: rgba(255, 255, 255, 0.82); }
.prop-tab s { opacity: 0.7; margin-right: 4px; }
.prop-desc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.prop-desc > span { font-size: 0.8125rem; font-weight: 600; margin-right: 4px; }
.prop-desc button { min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.4); color: var(--papel); font-size: 0.8125rem; font-weight: 600; transition: background-color 160ms ease, color 160ms ease, transform 120ms var(--ease-out); }
.prop-desc button:active { transform: scale(0.95); }
.prop-desc button[aria-pressed="true"] { background: var(--lima); border-color: var(--lima); color: var(--tinta); }

/* aplicativo: base mais limpa */
.app { background: #f4f5f9; font-feature-settings: "cv11", "ss01"; }
.vista-app { background: #f4f5f9; }
.app-lado { background: var(--papel); border-right: 1px solid #e8eaf1; }
.app-emp { display: flex; align-items: center; gap: 10px; padding: 2px 6px 4px; }
.app-emp img { height: 40px; max-width: 64px; object-fit: contain; border-radius: 10px; border: 1px solid #e8eaf1; background: var(--papel); }
.app-emp .avatar { background: var(--azul); color: var(--papel); }
.app-emp > div { display: grid; gap: 4px; min-width: 0; }
.app-emp b { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-nav button svg { color: #7a8198; }
.app-nav button[aria-current="page"] { background: #eaf0ff; color: var(--azul); font-weight: 600; }
.app-nav button[aria-current="page"] svg { color: var(--azul); }
.ponto { box-shadow: 0 0 0 2px #0a1033; }
.app-mod.parado { animation: none; }
.app-conteudo { overflow-x: hidden; }
.app-mod { max-width: 1120px; gap: 16px; }
.mt h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; }
.cx { border: 1px solid #e8eaf1; box-shadow: none; border-radius: 20px; }
.leve { font-weight: 400 !important; color: var(--txt2); }
.ln-c.larga { grid-column: 1 / -1; }
.cd { background: var(--papel); border: 1px solid #e8eaf1; border-radius: 22px; padding: 18px 20px; min-width: 0; }
.cd > h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.cd > h3 .st, .cd > h3 .conta-bolha { margin-left: auto; }
.cd > h3 svg { color: var(--azul); }
.cd .ln:first-child { padding-top: 6px; }
.seg2 { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: rgba(10, 16, 51, 0.06); }
.seg2 button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--txt2); transition: background-color 160ms ease, color 160ms ease; }
.seg2 button[aria-pressed="true"] { background: var(--papel); color: var(--tinta); box-shadow: 0 1px 3px rgba(10, 16, 51, 0.14); }

/* painel */
.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.dash > * { grid-column: 1 / -1; }
@container (min-width: 860px) {
  .dash > .cd-principal { grid-column: span 7; }
  .dash > .cd-atencao { grid-column: span 5; }
  .dash > .cd-lima { grid-column: span 7; }
  .dash > .cd-vivo { grid-column: span 5; }
  .dash > .cd-graf { grid-column: span 7; }
  .dash > .cd-rank { grid-column: span 5; }
}
.cd-principal { padding: 22px 24px; }
.numero { font-size: clamp(40px, 6.2cqw, 60px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; margin-top: 10px; }
.moeda { color: #9aa1b5; font-weight: 600; margin-right: 8px; letter-spacing: -0.02em; }
.delta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ok); }
.segs { display: flex; gap: 4px; height: 12px; margin-top: 22px; }
.segs i { min-width: 8px; border-radius: 6px; transform-origin: left; animation: crescer 700ms var(--ease-out) both; animation-delay: calc(var(--i) * 80ms); }
.segs-leg { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px 16px; margin-top: 14px; }
.segs-leg li { display: grid; gap: 2px; }
.segs-leg span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--txt2); }
.segs-leg i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.segs-leg b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.conta-bolha { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--erro); color: var(--papel); font-size: 12px; font-weight: 700; }
.cd-atencao .ln { grid-template-columns: auto minmax(0, 1fr) auto; }
.cd-atencao .ln-c b { font-size: 14px; }
.cd-atencao .ln-c b, .cd-atencao .ln-c small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-atencao .ln { padding: 10px 0; }
.cd-atencao .bt { min-height: 36px; padding: 0 11px; font-size: 13px; }
.kps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@container (min-width: 860px) { .kps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kps.kps-op { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.kp { display: grid; gap: 3px; align-content: start; padding: 16px 18px; }
.kp-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #e9eeff; color: var(--azul); margin-bottom: 8px; }
.kp small { font-size: 13px; font-weight: 600; color: var(--txt2); }
.kp b { font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.kp p { font-size: 12.5px; line-height: 1.35; color: var(--txt2); }
.kp-erro .kp-ic { background: var(--erro-f); color: var(--erro); }
.kp-erro b { color: var(--erro); }
.cd-lima { background: var(--lima); border-color: transparent; border-radius: 28px; padding: 20px 22px; }
.cd-lima > h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.cd-lima ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
@container (min-width: 520px) { .cd-lima ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cd-lima li { display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid rgba(10, 16, 51, 0.18); }
.cd-lima li:first-child { padding-left: 0; border-left: 0; }
.cd-lima small { font-size: 12.5px; font-weight: 600; opacity: 0.72; }
.cd-lima b { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.cd-lima span { font-size: 12.5px; opacity: 0.72; }
.cd-vivo { display: grid; gap: 16px; align-content: center; background: #0b1024; border-color: transparent; border-radius: 28px; color: var(--papel); padding: 20px 22px; }
.cd-vivo > * { min-width: 0; }
.vivo-t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.vivo-t span { font-size: 15px; font-weight: 600; color: #9db0ff; }
.vivo-t b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.vivo-trilho { position: relative; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.vivo-trilho i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4f6ff2, var(--lima)); transition: width 700ms var(--ease-out); }
.vivo-trilho span { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -16px; border-radius: 50%; background: #2a3157; border: 3px solid #0b1024; transition: background-color 300ms ease; }
.vivo-trilho span.on { background: var(--lima); }
.vivo-espera i { background: linear-gradient(90deg, #ffb020, #ff5d5d); animation: piscar 1.8s ease-in-out infinite; }
.vivo-pe { display: flex; align-items: center; gap: 12px; }
.vivo-pe .avatar { background: #1c2447; color: var(--papel); }
.vivo-pe > div { flex: 1; min-width: 0; }
.vivo-pe b { display: block; font-size: 16px; }
.vivo-pe small { display: block; font-size: 13px; color: #aab3d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.graf { display: block; width: 100%; height: auto; }
.graf-guia { stroke: rgba(10, 16, 51, 0.07); stroke-width: 1; }
.graf-linha { fill: none; stroke: var(--azul); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: riscar 1100ms var(--ease-in-out) 150ms forwards; }
.graf-area { animation: surgir 900ms ease 500ms both; }
.graf-pt { fill: var(--papel); stroke: var(--azul); stroke-width: 2.5; animation: surgir 300ms ease both; animation-delay: calc(400ms + var(--i) * 90ms); }
.graf-pt-hoje { fill: var(--lima); stroke: var(--tinta); }
.graf-rot { font-size: 12px; fill: var(--txt2); font-family: var(--sistema); }
.graf-rot-hoje { fill: var(--tinta); font-weight: 600; }
.graf-val { font-size: 15px; font-weight: 700; fill: var(--tinta); font-family: var(--sistema); }
.parado .graf-linha { animation: none; stroke-dashoffset: 0; }
.parado .graf-area, .parado .graf-pt, .parado .segs i, .parado .barra-f i { animation: none; }
.rank li { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 0; }
.rank .avatar { width: 36px; height: 36px; font-size: 15px; background: #e9eeff; }
.rk-pos { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12.5px; font-weight: 700; color: var(--txt2); }
.rank li:first-child .rk-pos { background: var(--lima); color: var(--tinta); }
.rk-c { display: grid; gap: 5px; min-width: 0; }
.rk-c > div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.rk-c b { font-size: 14.5px; }
.rk-c span { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rk-c small { font-size: 12px; color: var(--txt2); }

/* demonstração guiada */
.app-guia { position: absolute; left: calc(232px + 16px); right: 16px; bottom: 16px; z-index: 20; pointer-events: none; }
.guia-barra { pointer-events: auto; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; max-width: 1040px; margin-inline: auto; padding: 18px 20px 16px; border-radius: 24px; background: #0b1024; color: var(--papel); font-family: var(--sistema); box-shadow: 0 24px 60px -18px rgba(4, 10, 50, 0.6); animation: guia-entra 480ms var(--ease-drawer) both; }
.guia-prog { position: absolute; inset: 0 0 auto 0; height: 4px; background: rgba(255, 255, 255, 0.12); }
.guia-prog i { display: block; height: 100%; background: var(--lima); transition: width 500ms var(--ease-out); }
.guia-txt small { font-size: 12.5px; font-weight: 600; color: #9db0ff; }
.guia-txt b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin-top: 2px; }
.guia-txt p { font-size: 14.5px; line-height: 1.4; color: #cbd2ea; margin-top: 3px; max-width: 64ch; }
.guia-bts { display: flex; align-items: center; gap: 8px; }
.guia-bts .bt-quieto { background: rgba(255, 255, 255, 0.1); color: var(--papel); }
.guia-bts .bt[disabled] { opacity: 0.7; }
.guia-x { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--papel); }
.app[data-guiando] .app-conteudo { padding-bottom: 190px; }
.app[data-guiando] .at-chat { height: calc(100dvh - var(--topo) - 318px); min-height: 300px; }
.foco { position: relative; z-index: 2; outline: 3px solid var(--lima); outline-offset: 4px; border-radius: 18px; animation: foco 1500ms ease-in-out infinite; }
@media (max-width: 1023px) and (min-width: 760px) { .app-guia { left: calc(88px + 14px); } }
@media (max-width: 759px) {
  .app-guia { left: 8px; right: 8px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .guia-barra { grid-template-columns: minmax(0, 1fr); padding: 16px 14px 12px; border-radius: 20px; }
  .guia-txt b { font-size: 17px; }
  .guia-txt p { font-size: 13.5px; }
  .guia-bts .bt-g { flex: 1; }
  .app[data-guiando] .app-conteudo { padding-bottom: 250px; }
}

/* calendário */
.cd-cal { padding: 14px 14px 12px; }
.cal-rolo { overflow-x: auto; scrollbar-width: thin; }
.cal { min-width: 640px; }
.cal-dias, .cal-corpo { display: grid; grid-template-columns: 50px repeat(6, minmax(0, 1fr)); column-gap: 6px; }
.cal-dias { padding-bottom: 8px; }
.cal-dias b { display: grid; justify-items: center; gap: 2px; font-size: 12.5px; font-weight: 600; color: var(--txt2); }
.cal-dias small { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; font-weight: 600; color: var(--tinta); }
.cal-dias b.hoje { color: var(--azul); }
.cal-dias b.hoje small { background: var(--azul); color: var(--papel); }
.cal-corpo { background-image: linear-gradient(var(--sep) 1px, transparent 1px); background-size: 100% 54px; }
.cal-h { grid-column: 1; padding-top: 4px; font-size: 11.5px; color: var(--txt2); font-variant-numeric: tabular-nums; }
.cal-col { grid-row: 1 / -1; border-radius: 10px; background: rgba(10, 16, 51, 0.022); }
.cal-col.hoje { background: rgba(1, 49, 205, 0.06); }
.ev { z-index: 1; margin: 2px; padding: 5px 8px; border-radius: 9px; border: 1px solid transparent; text-align: left; font-size: 12px; line-height: 1.25; overflow: hidden; display: grid; align-content: start; transition: transform 120ms var(--ease-out); }
.ev[data-a]:active { transform: scale(0.97); }
.ev:not([data-a]) { cursor: default; }
.ev b, .ev span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev b { font-weight: 600; }
.ev span { opacity: 0.82; }
.ev-ok { background: #e6ecff; border-color: var(--azul); color: #0a2a9e; }
.ev-pend { background: var(--pend-f); border-color: #f0a020; color: var(--pend); }
.ev-env { background: #eef2ff; border-color: #9fb1ff; color: var(--azul); }
.ev-livre { background: var(--papel); border: 1.5px dashed #b9c0d6; color: var(--txt2); }
.ev-ia { background: var(--lima); border-color: var(--tinta); color: var(--tinta); }
.cal-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--txt2); }
.cal-leg span { display: inline-flex; align-items: center; gap: 6px; }
.cal-leg i { width: 12px; height: 12px; border-radius: 4px; border: 1px solid transparent; }

/* fichas do módulo do segmento (veículos, imóveis, unidades) */
.fichas { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; }
.ficha { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.ficha-arte { position: relative; padding: 30px 18px 6px; background: linear-gradient(180deg, #eef2fb, #e1e7f5); }
.ficha-arte svg { display: block; width: 100%; height: 104px; }
.ficha-arte .st { position: absolute; top: 12px; left: 12px; }
.ficha-ilus { position: absolute; top: 14px; right: 12px; font-size: 10.5px; font-weight: 500; color: #7f88a6; }
.ficha-c { display: grid; gap: 3px; padding: 14px 16px 16px; flex: 1; align-content: start; }
.ficha-c > b { font-size: 16px; letter-spacing: -0.015em; }
.ficha-c > small { font-size: 13px; color: var(--txt2); }
.ficha-preco { font-size: 22px; font-weight: 700; letter-spacing: -0.035em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; }
.tags li { padding: 3px 8px; border-radius: 7px; background: rgba(10, 16, 51, 0.06); color: var(--txt2); font-size: 12px; font-weight: 500; }
.tags .tag-ok { background: var(--ok-f); color: var(--ok); }
.tags .tag-pend { background: var(--pend-f); color: var(--pend); }
.ficha-obs { font-size: 13px; color: var(--txt2); }
.ficha .bt { margin-top: 10px; width: 100%; }
.ficha-fim { opacity: 0.74; }

@keyframes guia-entra { from { opacity: 0; transform: translateY(40px); } }
@keyframes foco { 0%, 100% { box-shadow: 0 0 0 0 rgba(185, 252, 1, 0.6); } 50% { box-shadow: 0 0 0 12px rgba(185, 252, 1, 0); } }

/* caixa de entrada ao vivo */
.at-chegou { animation: chegou .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes chegou { from { opacity: 0; transform: translateY(-14px); background: #eaf7c7; } to { opacity: 1; transform: none; } }
.at-pe .st-ia { display: inline-flex; align-items: center; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .at-chegou { animation: none; } }

.st-fu { background: #0131cd; color: #fff; margin-left: 6px; font-size: .68rem; }
.prop-ajuste { margin-top: 6px; }
.prop-ajuste summary { list-style: none; cursor: pointer; display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .9rem; letter-spacing: 2px; opacity: .35; user-select: none; }
.prop-ajuste summary::-webkit-details-marker { display: none; }
.prop-ajuste[open] summary { opacity: .7; }
.prop-ajuste .prop-desc { margin-top: 6px; }
.prop-ajuste .prop-desc button { min-height: 32px; padding: 0 11px; font-size: .75rem; }

/* =====================================================================
   CCA · Central de Crédito (app próprio do segmento cca, src/cca.js)
   Reaproveita a casca do app (app-lado, app-conteudo, cd, bt, st, seg2).
   ===================================================================== */
.app.cc[data-sem-login] .app-abas { display: none; }
.cc-lado { gap: 12px; }
.cc-marca { display: flex; align-items: center; gap: 10px; padding: 2px 6px; }
.cc-marca img { height: 40px; max-width: 64px; object-fit: contain; border-radius: 10px; border: 1px solid #e8eaf1; }
.cc-marca > div { display: grid; min-width: 0; }
.cc-marca b { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-marca small { font-size: 12px; color: var(--txt2); }
.cc-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--azul); color: var(--lima); flex: none; }
.cc-logo-g { width: 64px; height: 64px; border-radius: 20px; }
.cc-quem { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 16px; background: #f3f5fb; border: 1px solid #e8eaf1; text-align: left; transition: background-color 140ms var(--ease-out), transform 120ms var(--ease-out); }
.cc-quem:active { transform: scale(0.98); }
.cc-quem .avatar { width: 36px; height: 36px; font-size: 15px; background: var(--azul); color: var(--papel); }
.cc-quem > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.cc-quem b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-quem small { font-size: 11.5px; color: var(--txt2); line-height: 1.25; }
.cc-quem > svg { color: var(--azul); flex: none; }
.app-nav button { position: relative; }
.cc-bolha { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: auto; border-radius: 10px; background: var(--erro); color: var(--papel); font-size: 11.5px; font-style: normal; font-weight: 700; }

/* barra do topo do conteúdo */
.cc-barra { display: flex; align-items: center; gap: 8px; margin-bottom: -4px; }
.cc-barra > .st { margin-right: auto; }
.cc-sino { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--papel); border: 1px solid #e8eaf1; color: var(--tinta); }
.cc-sino .cc-bolha { position: absolute; top: -4px; right: -4px; margin: 0; }
.cc-eu { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 4px; border-radius: 21px; background: var(--papel); border: 1px solid #e8eaf1; }
.cc-eu .avatar { width: 34px; height: 34px; font-size: 14px; background: var(--azul); color: var(--papel); }
.cc-eu > span:nth-child(2) { display: grid; text-align: left; line-height: 1.15; }
.cc-eu b { font-size: 13.5px; }
.cc-eu small { font-size: 11px; color: var(--txt2); }
.cc-eu > svg { color: var(--azul); }

/* portal do parceiro: largura de celular */
.cc-mod-cel { max-width: 760px; }

/* login */
.cc-login { display: grid; gap: 18px; max-width: 920px; margin-inline: auto; width: 100%; }
.cc-login-t { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 18px 0 4px; }
.cc-login-t h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.035em; }
.cc-login-t p { color: var(--txt2); max-width: 46ch; }
.cc-perfis { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cc-perfil { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid #e8eaf1; background: var(--papel); text-align: left; transition: border-color 140ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.cc-perfil:active { transform: scale(0.98); }
.cc-perfil.on { border-color: var(--azul); background: #f2f5ff; }
.cc-perfil .avatar { background: #e6ecff; color: var(--azul); }
.cc-perfil-c { display: grid; gap: 1px; flex: 1; min-width: 0; }
.cc-perfil-c b { font-size: 15px; }
.cc-perfil-c small { font-size: 12.5px; font-weight: 600; color: var(--azul); }
.cc-perfil-c em { font-style: normal; font-size: 12.5px; color: var(--txt2); line-height: 1.3; }
.cc-perfil > svg { color: #9aa1b5; flex: none; }
.cc-perfis-t { margin: 14px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--txt2); }
.cc-perfis-t:first-of-type { margin-top: 4px; }
.cc-login-nota { margin-top: 14px; font-size: 13px; color: var(--txt2); }
.cc-link { color: var(--azul); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* início do corretor */
.cc-nova { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; border-radius: 24px; background: var(--lima); color: var(--tinta); text-align: left; transition: transform 120ms var(--ease-out); }
.cc-nova:active { transform: scale(0.985); }
.cc-nova > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.cc-nova b { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }
.cc-nova small { font-size: 14px; opacity: 0.75; }
.cc-nova-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tinta); color: var(--lima); flex: none; }
.cc-rasc { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.cc-rasc > span { flex: 1; display: grid; }
.cc-rasc small { color: var(--txt2); font-size: 13px; }
.cc-rasc > svg:first-child { color: var(--azul); }
.cc-pend-l { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--sep); text-align: left; }
li:last-child > .cc-pend-l { border-bottom: 0; }
.cc-pend-c { display: grid; gap: 1px; flex: 1; min-width: 0; }
.cc-pend-c b { font-size: 15px; }
.cc-pend-c small { font-size: 12.5px; color: var(--txt2); }
.cc-pend-c em { font-style: normal; font-size: 13px; color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-vazio { color: var(--txt2); font-size: 14px; padding: 6px 0; }
.cc-tl li button { display: flex; gap: 12px; width: 100%; padding: 9px 0; text-align: left; }
.cc-tl i { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--azul); flex: none; box-shadow: 0 0 0 4px #e6ecff; }
.cc-tl span { display: grid; min-width: 0; }
.cc-tl b { font-size: 14px; font-weight: 600; }
.cc-tl small { font-size: 12.5px; color: var(--txt2); }

/* formulários */
.cc-passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cc-passos button { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 6px 2px; font-size: 12.5px; font-weight: 600; color: var(--txt2); text-align: center; }
.cc-passos i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e3e7f2; font-style: normal; font-size: 13px; color: var(--txt2); }
.cc-passos button[aria-current] { color: var(--azul); }
.cc-passos button[aria-current] i { background: var(--azul); color: var(--papel); }
.cc-passos button.feito i { background: var(--lima); color: var(--tinta); }
.cc-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 14px; }
.cc-form-top { margin-top: 14px; }
.cc-campo { display: grid; gap: 5px; min-width: 0; align-content: start; }
.cc-campo.larga { grid-column: 1 / -1; }
.cc-campo > span:first-child { font-size: 13px; font-weight: 600; color: var(--txt2); }
.cc-campo > span:first-child i { color: var(--erro); font-style: normal; }
.cc-campo small { font-size: 12px; color: var(--txt2); }
.app.cc input:not([type=checkbox]):not([type=file]):not([type=range]):not(.sim *), .app.cc select:not(.sim *), .app.cc textarea:not(.sim *) { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #dfe3ee; background: var(--papel); font: inherit; font-size: 16px; color: var(--tinta); }
.app.cc textarea { resize: vertical; line-height: 1.4; }
.app.cc input:not(.sim *):focus, .app.cc select:not(.sim *):focus, .app.cc textarea:not(.sim *):focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(1, 49, 205, 0.12); }
.app.cc input:not(.sim *):disabled, .app.cc select:not(.sim *):disabled, .app.cc textarea:not(.sim *):disabled { background: #f4f5f9; color: var(--txt2); }
.cc-din { position: relative; display: flex; align-items: center; }
.cc-din > i { position: absolute; left: 12px; font-style: normal; font-size: 14px; font-weight: 600; color: #9aa1b5; pointer-events: none; }
.cc-din > input { padding-left: 38px !important; }
.cc-prazos .cc-din > i { position: static; margin-left: 8px; }
.cc-prazos .cc-din > input { padding-left: 12px !important; width: 90px !important; }
.cc-seg { flex-wrap: wrap; }
.cc-troca { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.cc-troca input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--azul); flex: none; }
.cc-troca span { display: grid; }
.cc-troca small { font-size: 13px; color: var(--txt2); }
.cc-dica { font-size: 13px; color: var(--txt2); line-height: 1.4; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cc-dica svg { flex: none; }
.cc-dica b { color: var(--tinta); }
.cc-salvo { display: inline-block; margin-left: 4px; font-size: 12.5px; color: var(--ok); font-weight: 600; }
.cc-pe { display: flex; justify-content: space-between; gap: 10px; }
.cc-pe .bt-g { min-width: 140px; }
.cc-check li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sep); }
.cc-check li:last-child { border-bottom: 0; }
.cc-check-m { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfd5e4; color: var(--tinta); }
.cc-check li.ok .cc-check-m { background: var(--lima); border-color: var(--lima); }
.cc-check-c { display: grid; gap: 2px; min-width: 0; }
.cc-check-c b { font-size: 14.5px; }
.cc-check-c small { font-size: 12.5px; color: var(--txt2); }
.cc-check-b { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cc-check-b label { cursor: pointer; }
.cc-arqs { display: grid; gap: 4px; margin-top: 6px; }
.cc-arqs li, .cc-arq { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; padding: 4px 6px 4px 8px; border-radius: 8px; background: #eef2ff; color: var(--azul); font-size: 12.5px; font-weight: 600; border: 0; }
.cc-arqs li span, .cc-arq { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-arqs button, .cc-arq button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: var(--txt2); }
.cc-arqs-l { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cc-faltam { border-color: #f6c6a0; background: #fff8f1; }
.cc-faltam h3 svg { color: var(--pend); }
.cc-pronto { border-color: #b8e6c9; background: #f2fbf5; }
.cc-pronto h3 svg { color: var(--ok); }
.cc-falta li button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 0; border-bottom: 1px solid rgba(154, 91, 0, 0.14); font-size: 14.5px; font-weight: 600; text-align: left; }
.cc-falta li:last-child button { border-bottom: 0; }
.cc-falta span { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--txt2); }
.cc-duas { display: grid; gap: 16px; }
@container (min-width: 720px) { .cc-duas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-dl li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--sep); font-size: 14px; }
.cc-dl li:last-child { border-bottom: 0; }
.cc-dl span { color: var(--txt2); flex: none; }
.cc-dl b { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.cc-sub { font-size: 13px; color: var(--txt2); margin: 14px 0 2px; }

/* envio */
.cc-ok { display: grid; justify-items: center; gap: 6px; padding: 30px 20px; text-align: center; }
.cc-ok h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.cc-ok p { color: var(--txt2); }
.cc-ok-ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--lima); color: var(--tinta); margin-bottom: 4px; animation: cc-pop 420ms var(--ease-out) both; }
.cc-num { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--azul); padding: 4px 16px; border-radius: 14px; background: #eef2ff; }
.cc-ok-bts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.cc-repetido p { font-size: 14px; color: var(--txt2); margin-bottom: 10px; }

/* listas e filtros */
.cc-filtros { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cc-busca { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.cc-busca svg { position: absolute; left: 12px; color: var(--txt2); }
.cc-busca input { padding-left: 38px !important; }
.cc-filtro { flex: 0 1 190px; }
.cc-filtro select { min-height: 44px !important; font-size: 14px !important; }
.cc-lista, .cc-fila { display: grid; gap: 10px; }
.cc-caso { display: grid; gap: 6px; width: 100%; text-align: left; transition: border-color 140ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.cc-caso:active, .cc-ccard-a:active { transform: scale(0.99); }
.cc-caso-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-caso-t b { font-size: 16px; letter-spacing: -0.015em; }
.cc-caso > small { font-size: 13px; color: var(--txt2); }
.cc-caso-p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.cc-caso-u { font-size: 12px !important; }
.cc-et { background: #eef2ff; color: var(--azul); }
.cc-et-0 { background: #f1e9ff; color: #6b2fd6; }
.cc-et-3, .cc-et-4 { background: #fff0d2; color: var(--pend); }
.cc-et-5 { background: #e9fbc2; color: #3d5600; }
.cc-et-6 { background: var(--ok-f); color: var(--ok); }

/* central */
.cc-raps { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.cc-rap { display: grid; gap: 0; padding: 12px 14px; border-radius: 16px; background: var(--papel); border: 1px solid #e8eaf1; text-align: left; transition: border-color 140ms var(--ease-out), background-color 140ms var(--ease-out); }
.cc-rap b { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cc-rap span { font-size: 12.5px; color: var(--txt2); font-weight: 600; line-height: 1.25; }
.cc-rap[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: var(--papel); }
.cc-rap[aria-pressed="true"] span { color: #cdd7ff; }
.cc-ccard { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 16px; }
.cc-ccard-a { display: grid; gap: 5px; text-align: left; min-width: 0; }
.cc-ccard-a > small { font-size: 13px; color: var(--txt2); }
.cc-ccard-l { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-resp { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.cc-resp .avatar { width: 24px; height: 24px; font-size: 11px; background: #e6ecff; }
.cc-resp em { font-style: normal; color: #6b2fd6; }
.cc-ccard-p { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--tinta); }
.cc-ccard-p svg { color: var(--azul); flex: none; }
.cc-ccard .st-ia { justify-self: start; }
.cc-atraso { border-color: #f2c4bf; }
.cc-novo { box-shadow: 0 0 0 2px var(--lima); }
.cc-quadro { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.cc-col { display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: 18px; background: rgba(10, 16, 51, 0.04); }
.cc-col h3 { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; padding: 2px 4px; }
.cc-col h3 span { color: var(--txt2); }
.cc-col ul { display: grid; gap: 8px; }
.cc-col .cc-ccard { grid-template-columns: 1fr; padding: 12px; border-radius: 16px; }
.cc-col .cc-ccard-b .bt { width: 100%; }

/* caso */
.cc-voltar { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -12px 0 -18px -8px; padding: 0 10px 0 8px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--azul); transition: background-color 140ms var(--ease-out); }
.cc-voltar:active { background: #eaeef9; }
.cc-caso-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cc-caso-cab h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.cc-caso-cab p { font-size: 13.5px; color: var(--txt2); margin-top: 2px; }
.cc-caso-st { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-esteira { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 14px 12px; border-radius: 20px; background: var(--papel); border: 1px solid #e8eaf1; }
.cc-esteira li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 11.5px; font-weight: 600; line-height: 1.2; color: var(--txt2); }
.cc-esteira li::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 3px; background: #e3e7f2; z-index: 0; }
.cc-esteira li:first-child::before { display: none; }
.cc-esteira li.feito::before, .cc-esteira li.atual::before { background: var(--azul); }
.cc-esteira i { position: relative; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--papel); border: 2.5px solid #d3d9e8; color: var(--papel); }
.cc-esteira li.feito i { background: var(--azul); border-color: var(--azul); }
.cc-esteira li.atual i { background: var(--lima); border-color: var(--tinta); box-shadow: 0 0 0 5px rgba(185, 252, 1, 0.35); }
.cc-esteira li.atual { color: var(--tinta); }
.cc-prox { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: #eef2ff; color: var(--tinta); font-size: 14.5px; }
.cc-prox > svg { color: var(--azul); }
.cc-prox span { flex: 1 1 200px; }
.cc-prox-p { background: var(--pend-f); }
.cc-prox-p > svg { color: var(--pend); }
.cc-abas-caso { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border-radius: 14px; background: rgba(10, 16, 51, 0.06); scrollbar-width: none; }
.cc-abas-caso::-webkit-scrollbar { display: none; }
.cc-abas-caso[data-mais-dir] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.cc-abas-caso[data-mais-esq] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 48px), transparent); }
.cc-abas-caso[data-mais-esq][data-mais-dir] { -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.cc-abas-caso button { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 13px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--txt2); white-space: nowrap; }
.cc-abas-caso button[aria-current] { background: var(--papel); color: var(--tinta); box-shadow: 0 1px 3px rgba(10, 16, 51, 0.14); }
.cc-abas-caso button i { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--azul); color: var(--papel); font-style: normal; font-size: 11.5px; }
.cc-aba { display: grid; gap: 16px; }
.cc-bts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.cc-bts-topo { margin-top: 0; }
.cc-bt-erro { background: var(--erro-f); color: var(--erro); }
.cc-tres { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.cc-tres li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #f4f6fb; }
.cc-tres small { font-size: 12px; font-weight: 600; color: var(--txt2); text-transform: uppercase; letter-spacing: 0.03em; }
.cc-tres b { font-size: 17px; letter-spacing: -0.02em; }
.cc-tres span { font-size: 12.5px; color: var(--txt2); }
.cc-pubs > li { padding: 10px 0; border-bottom: 1px solid var(--sep); }
.cc-pubs > li:last-child { border-bottom: 0; }
.cc-pubs small { font-size: 12.5px; color: var(--txt2); }
.cc-pubs ul li { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; margin-top: 4px; }
.cc-pubs ul svg { color: var(--ok); flex: none; }
.cc-pubs p { font-size: 14px; color: var(--txt2); margin-top: 4px; }

/* documentos */
.cc-leg { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--txt2); }
.cc-leg span { display: inline-flex; align-items: center; gap: 6px; }
.cc-subst { background: #eceef4; color: #7a8198; text-decoration: line-through; }
.cc-docs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sep); }
.cc-docs li:last-child { border-bottom: 0; }
.cc-doc-c { display: grid; gap: 2px; min-width: 0; }
.cc-doc-c b { font-size: 14.5px; }
.cc-doc-c small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--txt2); overflow: hidden; }
.cc-doc-c em { font-style: normal; font-size: 13px; color: var(--erro); }
.cc-doc-b { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.cc-doc-b:empty { display: none; }
@container (min-width: 640px) { .cc-docs li { grid-template-columns: minmax(0, 1fr) auto auto; } .cc-doc-b { grid-column: auto; } }
.cc-doc-modal { display: grid; gap: 16px; }
@media (min-width: 820px) { .cc-doc-modal { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.cc-doc-info { display: grid; gap: 10px; align-content: start; }
.cc-doc-info > p small { color: var(--txt2); font-size: 13px; margin-left: 6px; }
.cc-doc-info h4 { font-size: 13px; color: var(--txt2); margin-top: 4px; }
.cc-motivo { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--erro-f); color: var(--erro); font-size: 13.5px; font-weight: 600; }
.cc-motivo svg { flex: none; margin-top: 1px; }
.cc-motivo-p { background: var(--pend-f); color: var(--pend); }
.cc-versoes { display: grid; gap: 6px; }
.cc-versoes button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #e8eaf1; text-align: left; }
.cc-versoes button[aria-current] { border-color: var(--azul); background: #f2f5ff; }
.cc-versoes span:first-child { display: grid; min-width: 0; }
.cc-versoes b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-versoes small { font-size: 12px; color: var(--txt2); }
.cc-doc-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-doc-acoes .bt-g { flex: 1 1 160px; }
.cc-previa { min-width: 0; }
.cc-previa-img { width: 100%; max-height: 520px; object-fit: contain; border-radius: 14px; background: #eef0f6; }
.cc-papel { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; min-height: 360px; padding: 22px 22px 18px; border-radius: 14px; background: #fdfdfb; border: 1px solid #e3e5ec; box-shadow: 0 18px 40px -24px rgba(10, 16, 51, 0.4); font-size: 13px; }
.cc-papel-vazio { place-items: center; text-align: center; color: var(--txt2); }
.pp-marca { position: absolute; top: 42%; left: 50%; translate: -50% -50%; rotate: -24deg; font-size: 30px; font-weight: 800; letter-spacing: 0.08em; color: rgba(1, 49, 205, 0.08); white-space: nowrap; pointer-events: none; }
.pp-cab { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--tinta); }
.pp-cab b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-cab small { font-size: 11px; font-weight: 700; color: var(--txt2); }
.pp-t { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 2px; }
.pp-l { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed #d8dbe5; }
.pp-l span { color: #7a8198; }
.pp-l b { text-align: right; }
.pp-tab { margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: #f2f4f9; }
.pp-id { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #e8f0e4, #dfe9f6); }
.pp-foto { display: grid; place-items: center; height: 110px; border-radius: 8px; background: #c9d2e3; color: #7b88a6; }
.pp-foto-g { height: 200px; }
.pp-linhas { display: grid; gap: 7px; margin-top: auto; padding-top: 12px; }
.pp-linhas i { height: 6px; border-radius: 3px; background: #eceef4; }
.pp-linhas i:nth-child(2) { width: 82%; }
.pp-linhas i:nth-child(3) { width: 60%; }

/* pendências */
.cc-grupo { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--txt2); margin-top: 2px; }
.cc-grupo span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(10, 16, 51, 0.08); font-size: 12px; color: var(--tinta); }
.cc-pends { display: grid; gap: 10px; }
.cc-pend { display: grid; gap: 8px; }
.cc-pend-aguardando { border-color: #f3d29a; }
.cc-pend-revisao { border-color: #c3cffb; }
.cc-pend-resolvida { opacity: 0.82; }
.cc-pend-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cc-pend-t b { font-size: 15.5px; }
.cc-pend-m { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--txt2); }
.cc-pend-m b { color: var(--tinta); }
.cc-fios { display: grid; gap: 6px; }
.cc-fio { padding: 9px 12px; border-radius: 12px; background: #f4f6fb; }
.cc-fio small { font-size: 12px; color: var(--txt2); font-weight: 600; }
.cc-fio p { font-size: 14px; margin-top: 2px; }
.cc-fio-resposta { background: #f3fde0; }
.cc-fio-devolvida { background: var(--erro-f); }
.cc-fio-validada { background: var(--ok-f); }
.cc-resp-f { display: grid; gap: 8px; }
.cc-resp-f > .cc-bts { margin-top: 0; }

/* conversa e notas */
.cc-chat { display: grid; gap: 12px; }
.cc-msgs { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; padding: 4px; }
.cc-msgs li { max-width: 82%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: #f1f3f8; justify-self: start; }
.cc-msgs li.cca { background: #e9eeff; }
.cc-msgs li.eu { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--azul); color: var(--papel); }
.cc-msgs li.eu small { color: #cdd7ff; }
.cc-msgs li.cc-vazio { background: none; max-width: none; }
.cc-msgs small { font-size: 11.5px; color: var(--txt2); }
.cc-msgs p { font-size: 14.5px; margin-top: 2px; }
.cc-chat-in { display: grid; gap: 8px; }
.cc-chat-in > .cc-bts { margin-top: 0; justify-content: flex-end; }
.cc-notas ul li { padding: 10px 12px; border-radius: 12px; background: #fff9e8; margin-bottom: 8px; }
.cc-notas ul li.cc-vazio { background: none; }
.cc-notas small { font-size: 12px; color: var(--txt2); font-weight: 600; }
.cc-notas p { font-size: 14px; margin-top: 2px; }

/* renda, parecer, formulários */
.cc-renda { display: grid; gap: 12px; }
.cc-renda-p { border: 1px solid #e8eaf1; border-radius: 16px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.cc-renda-p legend { padding: 0 6px; font-size: 13.5px; font-weight: 700; }
.cc-renda-tot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 14px; color: var(--txt2); }
.cc-renda-tot b { color: var(--tinta); font-size: 17px; margin-left: 4px; }
.cc-conf .cd { background: #f8f9fc; }
.cc-conf p { font-size: 14px; margin-top: 4px; }
.cc-fcampos { display: grid; gap: 6px; margin-top: 12px; }
.cc-fcampos li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 10px; align-items: center; }
.cc-fcampos span { font-size: 13px; color: var(--txt2); font-weight: 600; }
.cc-fcampos input { min-height: 40px !important; font-size: 14px !important; }
@container (max-width: 520px) { .cc-fcampos li { grid-template-columns: 1fr; gap: 2px; } }
.cc-emit li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--sep); }
.cc-emit li:last-child { border-bottom: 0; }
.cc-emit li > div:nth-child(2) { display: grid; flex: 1 1 200px; min-width: 0; }
.cc-emit small { font-size: 12.5px; color: var(--txt2); }
.cc-emit .cc-bts { margin-top: 0; }
.cc-pdf { display: grid; place-items: center; width: 42px; height: 50px; border-radius: 8px; background: var(--erro-f); color: var(--erro); font-size: 11px; font-weight: 800; flex: none; }

/* histórico */
.cc-hist li { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.cc-hist li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: #e3e7f2; }
.cc-hist li:last-child::before { display: none; }
.cc-hist i { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--azul); }
.cc-hist li.interno i { background: #f0a020; }
.cc-hist b { font-size: 14.5px; }
.cc-hist p { font-size: 13.5px; color: var(--tinta); margin-top: 2px; }
.cc-hist small { font-size: 12.5px; color: var(--txt2); }
.cc-hist small b { font-size: 12.5px; color: var(--pend); }

/* painel */
.cc-kps { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important; }
.cc-barras { display: grid; gap: 10px; }
.cc-barras li { display: grid; grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.6fr) 28px; gap: 10px; align-items: center; font-size: 13.5px; }
.cc-barras b { text-align: right; font-variant-numeric: tabular-nums; }
.cc-barra-t { position: relative; height: 12px; border-radius: 6px; background: #eef0f6; overflow: hidden; }
.cc-barra-t i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--azul); transform-origin: left; animation: crescer 700ms var(--ease-out) both; }
.cc-barra-t .cc-barra-a { background: var(--erro); }
.cc-leg .cc-k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--azul); }
.cc-leg .cc-k-a { background: var(--erro); }
.cc-h3-esp { margin-top: 20px !important; }
.parado .cc-barra-t i { animation: none; }

/* gestor e admin */
.cc-tabela-w { padding: 6px 8px; overflow-x: auto; }
.cc-tabela { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.cc-tabela th { text-align: left; font-size: 12px; font-weight: 600; color: var(--txt2); padding: 10px 10px; border-bottom: 1px solid var(--sep); }
.cc-tabela td { padding: 11px 10px; border-bottom: 1px solid var(--sep); vertical-align: middle; }
.cc-tabela tr:last-child td { border-bottom: 0; }
.cc-tabela td b { display: block; }
.cc-tabela td small { font-size: 12.5px; color: var(--txt2); }
.cc-tabela tbody tr[data-c] { cursor: pointer; transition: background-color 120ms var(--ease-out); }
.cc-tabela tbody tr[data-c]:hover, .cc-tabela tbody tr[data-c]:focus-visible { background: #f5f7fc; outline: none; }
.cc-tabela tbody tr[data-c]:focus-visible { box-shadow: inset 0 0 0 2px var(--azul); }
.cc-perms td:not(:first-child), .cc-perms th:not(:first-child) { text-align: center; }
.cc-tg { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--txt2); }
.cc-tg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-tg i { position: relative; width: 40px; height: 24px; border-radius: 12px; background: #d3d9e8; transition: background-color 160ms var(--ease-out); flex: none; }
.cc-tg i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--papel); box-shadow: 0 1px 3px rgba(10, 16, 51, 0.25); transition: transform 180ms var(--ease-out); }
.cc-tg input:checked + i { background: var(--azul); }
.cc-tg input:checked + i::after { transform: translateX(16px); }
.cc-tg input:focus-visible + i { outline: 2px solid var(--azul); outline-offset: 2px; }
.cc-cfgcheck li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 0; border-bottom: 1px solid var(--sep); }
.cc-cfgcheck li b { flex: 1 1 220px; font-size: 14.5px; }
.cc-x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(10, 16, 51, 0.06); color: var(--txt2); }
.cc-check-novo { display: flex; gap: 8px; margin-top: 12px; }
.cc-check-novo input { flex: 1; }
.cc-prazos li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sep); font-size: 14.5px; font-weight: 600; }
.cc-av-p { width: 36px; height: 36px; font-size: 14px; background: #e6ecff; }
.cd > h3 .bt { margin-left: auto; }

/* avisos */
.cc-notifs { display: grid; gap: 8px; }
.cc-notifs button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; }
.cc-notifs .nao-lida { border-color: #c9d4ff; background: #f6f8ff; }
.cc-n-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e6ecff; color: var(--azul); flex: none; }
.cc-n-solicitacao, .cc-n-lembrete { background: var(--pend-f); color: var(--pend); }
.cc-n-atualizacao { background: var(--lima); color: var(--tinta); }
.cc-n-c { display: grid; flex: 1; min-width: 0; }
.cc-n-c b { font-size: 14.5px; }
.cc-n-c small { font-size: 12.5px; color: var(--txt2); }
.cc-n-p { width: 10px; height: 10px; border-radius: 50%; background: var(--azul); flex: none; }

/* folha (modal) */
.cc-modal { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(8, 12, 36, 0); transition: background-color 200ms var(--ease-out); }
.cc-modal.on { background: rgba(8, 12, 36, 0.45); }
.cc-modal[hidden] { display: none; }
.cc-folha { width: min(560px, 100%); max-height: calc(100% - 8px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 20px; border-radius: 24px; background: var(--papel); box-shadow: 0 30px 80px -20px rgba(4, 10, 50, 0.5); display: grid; gap: 12px; align-content: start; animation: cc-folha 260ms var(--ease-out) both; container-type: inline-size; }
.cc-folha.larga { width: min(980px, 100%); }
.cc-folha-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-folha-t h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }
.cc-folha-t .fechar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(10, 16, 51, 0.06); flex: none; }
.cc-folha-sub { font-size: 14px; color: var(--txt2); }
.cc-folha-pe { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.cc-folha-pe .bt-g { flex: 1 1 160px; }
.cc-folha-pe-3 .bt { flex: 1 1 150px; }
.cc-mform { display: grid; gap: 12px; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-chips .chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #dfe3ee; font-size: 13px; font-weight: 600; color: var(--tinta); }
.cc-pubsel li label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sep); font-size: 14.5px; cursor: pointer; }
.cc-pubsel input { width: 20px; height: 20px; accent-color: var(--azul); flex: none; margin-top: 1px; }
.cc-pubsel em { font-style: normal; font-size: 12px; color: var(--txt2); }

/* roteiro */
.cc-g-quem { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--lima); color: var(--tinta); font-size: 11px; font-weight: 800; vertical-align: -5px; }
.app.cc .app-guia { z-index: 35; }

@media (max-width: 759px) {
  .cc-folha { border-radius: 22px 22px 0 0; width: 100%; max-height: 92%; align-self: end; }
  .cc-modal { padding: 0; }
  .cc-esteira { grid-template-columns: repeat(7, minmax(68px, 1fr)); overflow-x: auto; }
  .cc-passos span { font-size: 11px; }
  .cc-eu > span:nth-child(2) small { display: none; }
  .cc-caso-cab h2 { font-size: 22px; }
  .cc-pe .bt-g { min-width: 0; flex: 1; }
  .cc-filtro { flex: 1 1 calc(50% - 4px); }
  .cc-check li { grid-template-columns: auto minmax(0, 1fr); }
  .cc-check-b { grid-column: 2; justify-content: flex-start; }
  .cc-barras li { grid-template-columns: minmax(90px, 0.9fr) minmax(0, 1.2fr) 24px; }
  .app.cc .app-abas .cc-bolha { position: absolute; top: 4px; left: calc(50% + 6px); margin: 0; min-width: 18px; height: 18px; font-size: 10.5px; }
}
@media (hover: hover) and (pointer: fine) {
  .cc-perfil:hover, .cc-caso:hover, .cc-rap:hover { border-color: #b9c6f5; }
  .cc-perfil:hover, .cc-caso:hover { transform: translateY(-2px); box-shadow: 0 6px 18px -10px rgba(1, 49, 205, 0.35); }
  .cc-voltar:hover { background: #eaeef9; }
  .cc-quem:hover { background: #eaeef9; }
}
@media (prefers-reduced-motion: reduce) { .cc-folha, .cc-ok-ic { animation: none; } .cc-perfil, .cc-caso { transition: border-color 140ms var(--ease-out); } .cc-perfil:hover, .cc-caso:hover { transform: none; } }
@keyframes cc-folha { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes cc-pop { from { transform: scale(0.4); opacity: 0; } }

/* =====================================================================
   v2: tipos de demanda, APF, dashboard, desempenho e ranking
   ===================================================================== */
.app.cc .cd[data-form] { display: grid; gap: 12px; align-content: start; }
.app.cc .cd[data-form] > h3 { margin-bottom: 0; }
.cc-tipo { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: 1px; }
.cc-tipo-carta { background: #e6ecff; color: var(--azul); }
.cc-tipo-cpf { background: #ecfbc4; color: #3d5600; }
.cc-tipo-alocacao { background: #e7e8ee; color: var(--tinta); }
.cc-urg { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--erro); color: var(--papel); font-size: 11.5px; font-weight: 700; line-height: 1.5; }
.cc-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-caso > small .cc-tipo { margin-right: 2px; }

/* escolha do tipo de demanda */
.cc-tipos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.cc-tipos button { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 18px; border: 1.5px solid #e1e5f0; background: var(--papel); text-align: left; transition: border-color 140ms var(--ease-out), background-color 140ms var(--ease-out), transform 120ms var(--ease-out); }
.cc-tipos button:active { transform: scale(0.98); }
.cc-tipos button > span:last-child { display: grid; gap: 2px; min-width: 0; }
.cc-tipos b { font-size: 15.5px; letter-spacing: -0.015em; }
.cc-tipos small { font-size: 12.5px; color: var(--txt2); line-height: 1.3; }
.cc-tipos-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #eef2ff; color: var(--azul); flex: none; }
.cc-tipos button[aria-pressed="true"] { border-color: var(--azul); background: #f3f6ff; }
.cc-tipos button[aria-pressed="true"] .cc-tipos-ic { background: var(--azul); color: var(--lima); }
.cc-apf-box { display: grid; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 16px; background: #f6f8fd; border: 1px dashed #c9d2ee; }
.cc-falta-t { display: block; padding: 8px 0; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid rgba(154, 91, 0, 0.14); }
.cc-falta li:last-child .cc-falta-t { border-bottom: 0; }
.cc-pronto h3 { margin-bottom: 0; }

/* resposta da consulta de CPF e APF */
.cc-res { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; }
.cc-res.ok { background: var(--ok-f); }
.cc-res.erro { background: var(--erro-f); }
.cc-res small { font-size: 12px; font-weight: 600; color: var(--txt2); text-transform: uppercase; letter-spacing: 0.03em; }
.cc-res b { display: flex; align-items: center; gap: 8px; font-size: 19px; letter-spacing: -0.02em; }
.cc-res.ok b { color: var(--ok); }
.cc-res.erro b { color: var(--erro); }
.cc-res p { font-size: 14px; }
.cc-res span { font-size: 12.5px; color: var(--txt2); }
.cc-apf-l { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #f4f6fb; }
.cc-apf-l > span { font-size: 13px; font-weight: 600; color: var(--txt2); }
.cc-apf { font-size: 18px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.cc-apf.falta { font-size: 14px; letter-spacing: 0; color: var(--pend); }
.cc-esteira-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.cc-chips-t { align-self: center; font-size: 12.5px; font-weight: 600; color: var(--txt2); margin-right: 2px; }
.cc-chips .chip[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: var(--papel); }

/* posição do corretor */
.cc-meurk { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--tinta); border-color: transparent; color: var(--papel); }
.cc-meurk-pos { display: grid; }
.cc-meurk-pos small { font-size: 12.5px; color: #9db0ff; font-weight: 600; }
.cc-meurk-pos b { font-size: 40px; line-height: 1.05; letter-spacing: -0.04em; color: var(--lima); }
.cc-meurk-pos span { font-size: 12.5px; color: #aab3d6; }
.cc-meurk ul { display: flex; gap: 18px; flex: 1; justify-content: flex-end; flex-wrap: wrap; }
.cc-meurk li { display: grid; text-align: right; }
.cc-meurk li b { font-size: 22px; letter-spacing: -0.03em; }
.cc-meurk li small { font-size: 12px; color: #aab3d6; }

/* dashboard */
.cc-dash-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-dash-t h3 { font-size: 15px; font-weight: 600; }
.cc-delta-baixo { color: var(--pend); }
.cc-delta-baixo svg { transform: scaleY(-1); }
.cd-atencao .ln-ic.ic-erro { background: var(--erro-f); color: var(--erro); }
.cd-atencao .ln-ic.ic-pend { background: var(--pend-f); color: var(--pend); }
.cc-eq ul { display: grid; gap: 4px; }
.cc-eq li button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 6px 0; color: var(--papel); text-align: left; }
.cc-eq .avatar { width: 32px; height: 32px; font-size: 13px; background: #1c2447; color: var(--papel); }
.cc-eq-c { display: grid; gap: 5px; min-width: 0; }
.cc-eq-c b { font-size: 14px; }
.cc-eq-b { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.cc-eq-b i { height: 100%; }
.cc-eq li > button > b { font-size: 18px; font-variant-numeric: tabular-nums; }
.cc-mais { width: 100%; margin-top: 8px; }
.cc-graf { display: block; width: 100%; height: auto; margin-top: 4px; }
.cc-graf rect { transform-box: fill-box; transform-origin: bottom; animation: cc-sobe 600ms var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); }
.parado .cc-graf rect { animation: none; }
.cc-g-base { stroke: rgba(10, 16, 51, 0.12); stroke-width: 1; }
.cc-g-rot { font-size: 11.5px; fill: var(--txt2); font-family: var(--sistema); }
.cc-g-val { font-size: 11px; font-weight: 600; fill: var(--txt2); font-family: var(--sistema); }
.cc-g-rot.hoje, .cc-g-val.hoje { fill: var(--tinta); font-weight: 700; }
.cc-g-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12.5px; color: var(--txt2); }
.cc-g-leg li { display: inline-flex; align-items: center; gap: 6px; }
.cc-g-leg i { width: 10px; height: 10px; border-radius: 3px; }
.cc-g-leg b { color: var(--tinta); }

/* desempenho */
.cc-ativ-tot { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cc-ativ-tot li { display: grid; gap: 2px; padding: 14px 16px; }
.cc-ativ-tot i { width: 22px; height: 6px; border-radius: 3px; margin-bottom: 4px; }
.cc-ativ-tot small { font-size: 12.5px; font-weight: 600; color: var(--txt2); }
.cc-ativ-tot b { font-size: 26px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.cc-tabela td.n { text-align: right; font-variant-numeric: tabular-nums; }
.cc-tabela td.erro { color: var(--erro); font-weight: 700; }
.cc-tabela tr.sel td { background: #f2f5ff; }
.cc-pessoa { display: flex; align-items: center; gap: 10px; min-width: 170px; }
.cc-pessoa .avatar { width: 34px; height: 34px; font-size: 13px; background: #e6ecff; }
.cc-pessoa > span:last-child { display: grid; }
.cc-pessoa small { font-size: 12px; color: var(--txt2); }
.cc-mini { display: block; height: 5px; margin-top: 4px; border-radius: 3px; background: #eef0f6; overflow: hidden; }
.cc-mini i { display: block; height: 100%; background: var(--azul); margin-left: auto; }
.cc-chips-sel { margin: 4px 0 6px; }
.cc-desemp tbody tr { cursor: pointer; }
.cc-tabela .rk-pos { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.cc-tabela tbody tr:first-child .rk-pos { background: var(--lima); }

/* ranking */
.cc-podio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.cc-podio li { position: relative; display: grid; justify-items: center; gap: 2px; padding: 18px 10px 14px; border-radius: 22px; background: var(--papel); border: 1px solid #e8eaf1; text-align: center; }
.cc-podio .p1 { order: 2; background: var(--lima); border-color: transparent; padding-top: 28px; }
.cc-podio .p2 { order: 1; }
.cc-podio .p3 { order: 3; }
.cc-podio .avatar { width: 48px; height: 48px; font-size: 19px; background: #e6ecff; margin-bottom: 4px; }
.cc-podio .p1 .avatar { background: var(--tinta); color: var(--lima); }
.cc-podio b { font-size: 15px; }
.cc-podio small { font-size: 12px; color: var(--txt2); }
.cc-podio .p1 small, .cc-podio .p1 em { color: rgba(10, 16, 51, 0.7); }
.cc-podio strong { font-size: 26px; font-weight: 700; letter-spacing: -0.035em; margin-top: 4px; }
.cc-podio em { font-style: normal; font-size: 12px; color: var(--txt2); }
.cc-podio-n { position: absolute; top: 10px; left: 12px; font-size: 13px; font-weight: 800; color: var(--txt2); }
.cc-barras li > span:first-child small { font-size: 12px; color: var(--txt2); }

@media (max-width: 759px) {
  .cc-podio { gap: 6px; }
  .cc-podio li { padding-inline: 4px; }
  .cc-podio strong { font-size: 20px; }
  .cc-meurk ul { justify-content: flex-start; }
  .cc-meurk li { text-align: left; }
}
@keyframes cc-sobe { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .cc-graf rect { animation: none; } }

/* simulador Caixa dentro do CCA: usa os estilos do simulador (estilo-simulador.css) */
.cc-sim-casos { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-sim-casos button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px 0 6px; border-radius: 999px; border: 1.5px solid #dfe3ee; background: var(--papel); font-size: 14px; font-weight: 600; }
.cc-sim-casos button .avatar { width: 30px; height: 30px; font-size: 12px; background: #e6ecff; }
.cc-sim-casos button small { font-weight: 500; color: var(--txt2); }
.cc-sim-casos button[aria-pressed="true"] { border-color: var(--azul); background: #f2f5ff; color: var(--azul); }
.cc-sim-salvos li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--sep); font-size: 14px; }
.cc-sim-salvos li:last-child { border-bottom: 0; }
.cc-sim-salvos small { font-size: 12px; color: var(--txt2); }
.cc-sim-sel { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #dfe3ee; background: var(--papel); font: inherit; font-size: 15px; font-weight: 600; color: var(--tinta); }
.cc-sim-sel:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(1, 49, 205, 0.12); }

/* =====================================================================
   Seminovos · app próprio da revenda (src/seminovos/*.js)
   Reaproveita a casca do app e do CCA (app-lado, cd, bt, st, cc-*). Só o que é deste segmento.
   ===================================================================== */
.sv .chip { min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1.5px solid #dfe3ee; background: var(--papel); font-size: 13px; font-weight: 600; color: var(--tinta); transition: background-color 140ms ease, border-color 140ms ease, transform 120ms var(--ease-out); }
.sv .chip:active { transform: scale(0.96); }
.sv .chip[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: var(--papel); }
.sv .chip[disabled] { opacity: 0.5; }
.sv-cinza { color: var(--txt2); font-size: 13px; line-height: 1.45; }
.sv-neg, .sv-neg b { color: var(--erro) !important; }
.sv-pos { color: var(--ok); }
.sv-h4 { font-size: 13px; font-weight: 700; color: var(--txt2); text-transform: uppercase; letter-spacing: 0.04em; margin: 14px 0 6px; }
.sv .cd { display: grid; gap: 10px; align-content: start; }
.sv .cd > h3 { flex-wrap: wrap; margin-bottom: 0; }
.sv .cc-bts { display: flex; flex-wrap: wrap; gap: 8px; }
.sv .bt { min-height: 44px; }
.sv .ln .bt { min-height: 38px; }

/* menu lateral em grupos */
.sv-nav { gap: 1px; }
.sv-nav-g { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #9aa1b5; margin: 12px 12px 3px; }
.sv-nav .sv-nav-g:first-child { margin-top: 2px; }
.sv-nav button { min-height: 42px; }
.sv-acao-apres { background: #0b1024; color: var(--papel) !important; font-weight: 600; }
.sv-acao-apres svg { color: var(--lima) !important; }
@media (max-width: 1023px) and (min-width: 760px) {
  .sv-nav-g { font-size: 0; margin: 6px 8px; border-top: 1px solid var(--sep); }
  .sv .cc-marca div, .sv .cc-quem > span:nth-child(2), .sv .cc-quem > svg { display: none; }
  .sv .cc-quem { justify-content: center; padding: 6px; }
}

/* barra do topo */
.sv-barra { flex-wrap: wrap; }
.sv-barra .st-ia { display: inline-flex; align-items: center; gap: 5px; }
.sv-volta { min-height: 42px !important; }
.sv-filial .avatar, .sv-filial > svg { color: var(--azul); }
.sv-filial { padding-left: 12px !important; gap: 8px; }
.sv-sim { display: inline-flex; align-items: center; gap: 5px; background: #fff3d6; color: #7a4a00; }
.sv-restrito { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: #f1f3f8; color: var(--txt2); font-size: 13px; font-weight: 600; }
.sv-menu { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-menu .bt { justify-content: flex-start; }
.sv-menu-pe { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sep); }

/* linhas de carro e foto ilustrativa */
.sv-lv { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 8px 0; text-align: left; border-bottom: 1px solid var(--sep); }
li:last-child > .sv-lv { border-bottom: 0; }
.sv-lv-f { display: grid; place-items: center; width: 64px; height: 42px; border-radius: 10px; background: #eef2fb; overflow: hidden; flex: none; }
.sv-lv-f svg { width: 58px; height: auto; }
.sv-lv-c { display: grid; min-width: 0; }
.sv-lv-c b { font-size: 15px; }
.sv-lv-c small { font-size: 12.5px; color: var(--txt2); }
.sv-lv-d { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; }
.ln > .sv-lv-f { width: 56px; height: 38px; }
.sv-foto { position: relative; display: grid; place-items: center; padding: 10px 8px 4px; border-radius: 14px; background: var(--fundo, #e9eefb); }
.sv-foto svg { width: 100%; max-width: 260px; height: auto; }
.sv-ilus { position: absolute; top: 6px; right: 8px; font-size: 10px; color: #7f88a6; }

/* painel */
.sv-kp { text-align: left; transition: transform 120ms var(--ease-out), border-color 140ms ease; }
.sv-kp:active { transform: scale(0.98); }
.sv-kp:hover { border-color: #c9d3f3; }
.sv-var { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.sv-var.sobe { color: var(--ok); }
.sv-var.desce { color: var(--erro); }
.sv-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 14px 0 4px; }
.sv-res li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: #f5f7fc; }
.sv-res small { font-size: 12px; font-weight: 600; color: var(--txt2); }
.sv-res b { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sv-res span { font-size: 12px; color: var(--txt2); }
.sv .cd-principal .bt { justify-self: start; }
.sv-lima .segs { margin-top: 16px; }
.sv-lima .segs-leg li { border: 0; padding: 0; }
.sv-lima .segs-leg b { font-size: 15px; }
.sv-lima .segs-leg span { opacity: 1; }
.sv-pend { gap: 4px !important; align-content: start !important; }
.sv-pend-l { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 4px 6px; border-radius: 12px; color: var(--papel); text-align: left; transition: background-color 140ms ease; }
.sv-pend-l:hover, .sv-pend-l:focus-visible { background: rgba(255, 255, 255, 0.08); }
.sv-pend-l svg { color: #9db0ff; }
.sv-pend-l b { font-size: 18px; font-variant-numeric: tabular-nums; }
.sv-rk { display: grid; grid-template-columns: 22px 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; list-style: none; }
.sv-rk .avatar { width: 36px; height: 36px; font-size: 14px; background: #e9eeff; }
.sv-rk .rk-c > span { display: flex; justify-content: space-between; gap: 8px; }
.sv-rk:first-of-type .rk-pos { background: var(--lima); color: var(--tinta); }
.sv .cd-rank .bt { justify-self: start; }
.sv-zap-prev { padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: #e7f9d7; font-size: 14.5px; line-height: 1.5; position: relative; }
.sv-zap-prev small { display: block; text-align: right; color: #6b7a62; font-size: 11px; margin-top: 4px; }

/* chats (gerente IA e caixa de entrada) */
.sv-msgs { display: grid; gap: 8px; max-height: min(460px, 52vh); overflow-y: auto; padding: 4px; overscroll-behavior: contain; }
.sv-msgs li { max-width: 86%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: #f1f3f8; justify-self: start; }
.sv-msgs li.eu, .sv-msgs li.loja { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--azul); color: var(--papel); }
.sv-msgs li.eu small, .sv-msgs li.loja small { color: #cdd7ff; }
.sv-msgs li.ia { background: #eef6d6; }
.sv-msgs li.nota { justify-self: stretch; max-width: none; background: #fff3d6; border-radius: 12px; }
.sv-msgs li.sis { justify-self: center; background: none; padding: 2px; }
.sv-msgs small { display: block; font-size: 11.5px; color: var(--txt2); }
.sv-msgs p { font-size: 14.5px; margin-top: 2px; white-space: pre-line; }
.sv-g-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sv-g-acoes .bt { min-height: 38px; }
.sv-chat-in { display: flex; gap: 8px; align-items: center; }
.sv-chat-in input { flex: 1; min-width: 0; }
.sv-sugs { gap: 6px; }
.sv-zcars { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.sv-zcar { display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: var(--papel); color: var(--tinta); border: 1px solid #e3e7f1; }
.sv-zcar b { font-size: 13.5px; }
.sv-zcar small { font-size: 11.5px; color: var(--txt2); }
.sv-zcar span { font-weight: 700; font-size: 15px; }
.sv-zcar em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--erro); }

/* filtros */
.sv-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sv-filtros select { width: auto !important; min-width: 170px; }
.sv-filtros .st button { margin-left: 4px; display: inline-grid; place-items: center; }
.sv-abas { overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 4px; scrollbar-width: none; }
.sv-abas .chip { flex: none; }

/* estoque */
.sv-fichas { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sv-ficha { text-align: left; gap: 0 !important; transition: transform 140ms var(--ease-out), box-shadow 160ms ease; }
.sv-ficha:active { transform: scale(0.985); }
.sv-ficha:hover { box-shadow: 0 12px 30px -18px rgba(4, 10, 50, 0.4); }
.sv-tag-neg { background: var(--erro-f) !important; color: var(--erro) !important; }
.sv-vcab { align-items: center; flex-wrap: nowrap; }
.sv-vcab > div:nth-child(2) { flex: 1; min-width: 0; }
.sv-vcab p { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sv-vcab-f { display: grid; place-items: center; width: 110px; height: 72px; border-radius: 16px; background: #e9eefb; flex: none; }
.sv-vcab-f svg { width: 100px; height: auto; }
.sv-preco-g { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.sv-dl { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 7px 12px; font-size: 14px; }
.sv-dl dt { color: var(--txt2); }
.sv-dl dd { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.sv-acoes .bt { flex: 0 1 auto; }
.sv-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.sv-3 > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #f5f7fc; }
.sv-3 small { font-size: 12px; font-weight: 600; color: var(--txt2); }
.sv-3 b { font-size: 19px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.sv-3 span { font-size: 12px; color: var(--txt2); }
.sv-sim-l { max-width: 280px; }
.sv-conta { display: grid; }
.sv-conta li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--sep); font-size: 14px; }
.sv-conta li span { color: var(--txt2); min-width: 0; }
.sv-conta li span small { display: block; font-size: 12px; }
.sv-conta li b { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.sv-conta li.sv-tot { border-bottom-style: solid; font-weight: 600; }
.sv-conta li.sv-tot span { color: var(--tinta); }
.sv-conta li.sv-dest { background: #eef2ff; margin: 4px -10px; padding: 10px; border-radius: 12px; border: 0; }
.sv-conta li.sv-dest b { font-size: 18px; color: var(--azul); }
.sv-alerta { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--pend-f); color: var(--pend); font-size: 13.5px; font-weight: 600; }
.sv-alerta svg { flex: none; margin-top: 1px; }
.sv-ok-l { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ok-f); color: var(--ok); font-size: 13.5px; font-weight: 600; }
.sv-mini { display: grid; gap: 5px; font-size: 13px; color: var(--txt2); }
.sv-mini li { padding-left: 12px; position: relative; }
.sv-mini li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: #b9c2dc; }
.sv-big { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #0b1024; color: var(--papel); }
.sv-big small { font-size: 12.5px; color: #9db0ff; font-weight: 600; }
.sv-big b { font-size: 30px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sv-big span { font-size: 13px; color: #cbd2ea; }
.sv-big.sv-neg b { color: #ff8a80 !important; }
.sv-portal { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: #f5f7fc; }
.sv-portal h4 { font-size: 13px; margin-top: 6px; }
.sv-qr { display: flex; align-items: center; gap: 12px; }
.sv-qr svg { border-radius: 8px; border: 1px solid #e3e7f1; flex: none; }
.sv-qr small { font-size: 12px; color: var(--txt2); }
.sv-tl { max-height: 420px; overflow-y: auto; }
.sv-tl small { font-size: 12px; color: var(--txt2); }

/* radar */
.sv-radar { display: grid; gap: 14px; }
@container (min-width: 820px) { .sv-radar { grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.6fr); align-items: start; } }
.sv-radar-l ul { display: grid; gap: 4px; max-height: 620px; overflow-y: auto; }
.sv-rl { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 8px; border-radius: 12px; text-align: left; font-size: 13.5px; font-weight: 600; transition: background-color 140ms ease; }
.sv-rl.on { background: #eaf0ff; }
.sv-rl-c { display: grid; min-width: 0; }
.sv-rl-c b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-rl-c small { font-size: 12px; color: var(--txt2); font-weight: 400; }
.sv-rl-d { display: grid; place-items: center; height: 30px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.sv-fx0 { background: #e6ecff; color: var(--azul); }
.sv-fx1 { background: #dfe6fd; color: #3a56c7; }
.sv-fx2 { background: var(--pend-f); color: var(--pend); }
.sv-fx3 { background: var(--erro-f); color: var(--erro); }
.sv-sugest { display: grid; gap: 8px; }
.sv-sugest li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #f5f7fc; }
.sv-sugest b { font-size: 14px; }
.sv-sugest span { font-size: 13px; color: var(--txt2); }
.sv-inline { display: inline-grid; min-width: 200px; }

/* caixa de entrada */
.sv-inbox { display: grid; gap: 14px; }
@container (min-width: 820px) { .sv-inbox { grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr); align-items: start; } }
.sv-inbox-l { display: grid; gap: 6px; max-height: 720px; overflow-y: auto; }
.sv-conv { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 16px; background: var(--papel); border: 1px solid #e8eaf1; text-align: left; transition: border-color 140ms ease; }
.sv-conv.on { border-color: var(--azul); background: #f5f8ff; }
.sv-conv .avatar { background: #e9eeff; }
.sv-conv-c { display: grid; min-width: 0; }
.sv-conv-c b { font-size: 14.5px; }
.sv-conv-c small { font-size: 12px; color: var(--txt2); display: flex; align-items: center; gap: 4px; }
.sv-conv-c em { font-style: normal; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-conv-d small { font-size: 12px; color: var(--txt2); white-space: nowrap; }
.sv-inbox-vazio { place-items: center; text-align: center; color: var(--txt2); padding: 40px 20px; }
.sv-conv-h { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sv-conv-h > div:nth-of-type(1) { flex: 1; min-width: 160px; display: grid; }
.sv-conv-h small { font-size: 12.5px; color: var(--txt2); }
.sv-conv-a { display: flex; gap: 6px; flex-wrap: wrap; }
.sv-so-cel { display: none; }
.sv-sla { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--pend-f); color: var(--pend); font-size: 13px; font-weight: 600; }
.sv-sla.vencido { background: var(--erro-f); color: var(--erro); }
.sv-audit { border-radius: 14px; background: #f5f7fc; padding: 4px 12px; }
.sv-audit summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; }
.sv-audit summary::-webkit-details-marker { display: none; }
.sv-audit summary b { margin-left: auto; color: var(--azul); }
.sv-audit ul { display: grid; gap: 6px; padding: 4px 0 8px; }
.sv-audit li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.sv-audit li span:last-child { display: grid; }
.sv-audit li small { font-size: 12.5px; color: var(--txt2); }
.sv-audit li.ok .cc-check-m { background: var(--lima); border-color: var(--lima); }
.sv-audit .cc-bts { padding-bottom: 10px; }
@media (max-width: 819px) {
  .sv-inbox.com-sel .sv-inbox-l { display: none; }
  .sv-inbox.com-sel .sv-so-cel { display: inline-flex; }
}

/* vendedor IA: tela de WhatsApp de exemplo */
.sv-ia { display: grid; gap: 14px; }
@container (min-width: 860px) { .sv-ia { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); align-items: start; } }
.sv-zap { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; height: min(640px, calc(100dvh - 250px)); min-height: 420px; border-radius: 24px; overflow: hidden; background: #efe7dd; border: 1px solid #e2d8cb; }
.sv-zap > header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0b5c4f; color: #fff; }
.sv-zap > header .avatar { background: #d6efe7; color: #0b5c4f; width: 38px; height: 38px; }
.sv-zap > header div { flex: 1; display: grid; min-width: 0; }
.sv-zap > header small { font-size: 12px; opacity: 0.85; }
.sv-sim-esc { background: rgba(255, 255, 255, 0.18); color: #fff; }
.sv-zap-m { display: grid; align-content: start; gap: 6px; padding: 12px; overflow-y: auto; overscroll-behavior: contain; }
.sv-zap-m li { position: relative; max-width: 84%; padding: 7px 10px 18px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.sv-zap-m li.eles { justify-self: start; background: #fff; border-top-left-radius: 2px; }
.sv-zap-m li.nos { justify-self: end; background: #d8fdd2; border-top-right-radius: 2px; }
.sv-zap-m li.sis { justify-self: center; background: #e1f3fb; padding: 5px 10px; font-size: 12px; box-shadow: none; }
.sv-zap-m li time { position: absolute; right: 8px; bottom: 3px; font-size: 10.5px; color: #6c7a71; }
.sv-zap-m p { white-space: pre-line; }
.sv-zap-ia { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #0b5c4f; margin-bottom: 2px; }
.sv-zap-m .sv-zcar { background: #fff; }
.sv-zap-sug { display: flex; gap: 6px; padding: 8px 10px 0; overflow-x: auto; scrollbar-width: none; }
.sv-zap-sug .chip { flex: none; background: #fff; border-color: #d4c9ba; }
.sv-zap-in { display: flex; gap: 8px; padding: 8px 10px 10px; }
.sv-zap-in input { flex: 1; min-width: 0; border-radius: 22px !important; border-color: #d4c9ba !important; }
.sv-zap-in .bt { width: 46px; min-height: 46px; padding: 0; border-radius: 50%; background: #0b5c4f; }
.sv-ia-ctx .sv-dl { font-size: 13.5px; }

/* CRM */
.sv-quadro { grid-auto-columns: minmax(220px, 1fr); }
.sv-quadro .cc-col { min-height: 140px; }
.sv-lcard { padding: 0 !important; gap: 0 !important; border-radius: 16px !important; cursor: grab; }
.sv-lcard-b { display: grid; gap: 4px; width: 100%; padding: 12px 12px 6px; text-align: left; }
.sv-lcard-b b { font-size: 14.5px; }
.sv-lcard-b > small { font-size: 12.5px; color: var(--txt2); }
.sv-lcard-t { display: flex; flex-wrap: wrap; gap: 4px; }
.sv-lcard-t .st { font-size: 11.5px; padding: 2px 7px; }
.sv-lcard-p { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--txt2); }
.sv-lcard-p .avatar { width: 22px; height: 22px; font-size: 11px; background: #e9eeff; }
.sv-mover { margin: 0 8px 8px; min-height: 34px !important; font-size: 12.5px; }

/* agenda */
.sv-cal { display: grid; grid-template-columns: 44px repeat(6, minmax(104px, 1fr)); column-gap: 6px; min-width: 700px; position: relative; background-image: linear-gradient(var(--sep) 1px, transparent 1px); background-size: 100% 52px; background-position: 0 40px; }
.sv-cal-d { display: grid; justify-items: center; gap: 2px; padding-bottom: 8px; font-size: 12.5px; font-weight: 600; color: var(--txt2); grid-row: 1; background: var(--papel); }
.sv-cal-d small { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; color: var(--tinta); }
.sv-cal-d.hoje { color: var(--azul); }
.sv-cal-d.hoje small { background: var(--azul); color: var(--papel); }
.sv-cal-col { border-radius: 10px; background: rgba(10, 16, 51, 0.022); }
.sv-cal-col.hoje { background: rgba(1, 49, 205, 0.06); }
.sv-cal .ev { min-height: 0; }
.sv-ev-off { opacity: 0.5; text-decoration: line-through; }
.sv-termo { padding: 12px; border-radius: 14px; background: #f5f7fc; display: grid; gap: 8px; }
.sv-imped { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #fff6e3; border: 1px solid #f3d79a; }
.sv-imped > b { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--pend); }
.sv-imped ul { display: grid; gap: 6px; }
.sv-imped li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; }

/* propostas, financiamento, contrato e venda */
.sv-ofertas { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.sv-oferta { text-align: left; gap: 4px !important; border: 1.5px solid #e8eaf1; transition: border-color 140ms ease, transform 120ms var(--ease-out); }
.sv-oferta:active { transform: scale(0.98); }
.sv-oferta.on { border-color: var(--azul); background: #f5f8ff; }
.sv-oferta[disabled] { opacity: 0.75; }
.sv-oferta small { font-size: 12px; color: var(--txt2); }
.sv-parc { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sv-doc { position: relative; overflow: hidden; display: grid; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid #e3e7f1; background: #fff; }
.sv-doc p { display: grid; gap: 1px; font-size: 13.5px; }
.sv-doc p small { font-size: 11.5px; color: var(--txt2); text-transform: uppercase; letter-spacing: 0.03em; }
.sv-marca { position: absolute; inset: 40% -10% auto; text-align: center; transform: rotate(-18deg); font-size: 22px; font-weight: 800; letter-spacing: 0.06em; color: rgba(196, 40, 28, 0.13); pointer-events: none; white-space: nowrap; }
.sv-assin { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.sv-assin > div { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid #b9c0d6; }
.sv-assin small { font-size: 11.5px; color: var(--txt2); }
.sv-rubrica { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 20px; color: #20307a; }
.sv-estados { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.sv-estados li { display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #f5f7fc; }
.sv-estados small { font-size: 12px; font-weight: 600; color: var(--txt2); }
.sv-efeitos { display: grid; gap: 8px; }
.sv-efeitos li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sv-efeitos svg { color: var(--azul); flex: none; margin-top: 2px; }

/* fiscal e RENAVE */
.sv-nf > h3 { padding-right: 46px; position: relative; }
.sv-x { position: absolute; right: 0; top: -4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(10, 16, 51, 0.06); }
.sv-passos { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--txt2); }
.sv-passos li { display: flex; align-items: center; gap: 6px; }
.sv-passos i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3e7f2; font-style: normal; font-size: 12px; font-weight: 700; }
.sv-passos li.feito i { background: var(--lima); color: var(--tinta); }
.sv-passos li.atual { color: var(--azul); font-weight: 600; }
.sv-passos li.atual i { background: var(--azul); color: var(--papel); }
.sv-inline-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.sv-inline-f > input { flex: 1 1 200px; }
.sv-inline-f .cc-din { flex: 0 1 140px; }
.sv-pre { padding: 12px; border-radius: 12px; background: #0b1024; color: #cfe0ff; font-size: 12.5px; overflow-x: auto; white-space: pre; }
.sv-danfe { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px dashed #b9c0d6; background: #fff; }
.sv-danfe .sv-marca { font-size: 20px; }
.sv-danfe-c { display: grid; padding-bottom: 8px; border-bottom: 1px solid var(--sep); }
.sv-danfe-c small { font-size: 12px; color: var(--txt2); }
.sv-rv { display: grid; gap: 4px; }
.sv-rv li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sep); }
.sv-rv li:last-child { border-bottom: 0; }
.sv-rv li.ok .cc-check-m { background: var(--lima); border-color: var(--lima); }
.sv-rv li.erro .cc-check-m { background: var(--erro-f); border-color: var(--erro); color: var(--erro); }
.sv-rv-a { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; font-size: 13px; }
.sv-rv-a:empty { display: none; }

/* financeiro */
.sv .cc-tabela-w { display: block; }
.sv .cc-tabela-w > h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 8px 4px; }
.sv .cc-tabela-w > h3 svg { color: var(--azul); }
.sv-tr-venc td { background: #fff7f6; }
.sv .kp { text-align: left; }
.sv-dre li { padding: 9px 0; }
.sv-meta { height: 6px; border-radius: 3px; background: #e6eaf4; margin-top: 5px; min-width: 70px; }
.sv-meta i { display: block; height: 100%; border-radius: 3px; background: var(--azul); }
.sv-perms td, .sv-perms th { text-align: center; }
.sv-perms td:first-child, .sv-perms th:first-child { text-align: left; }
.sv-perms td svg { color: var(--ok); }

/* site, catálogo e estúdio */
.sv-site { display: grid; gap: 12px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid #e8eaf1; }
.sv-site-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: baseline; padding: 12px 14px; margin: -16px -16px 0; border-radius: 22px 22px 0 0; background: var(--azul); color: #fff; }
.sv-site-h b { font-size: 18px; }
.sv-site-h span { font-size: 13px; opacity: 0.85; }
.sv-site-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.sv-site-c { display: grid; gap: 3px; padding: 10px; border-radius: 16px; border: 1px solid #e8eaf1; text-align: left; transition: transform 120ms var(--ease-out); }
.sv-site-c:active { transform: scale(0.98); }
.sv-site-c small { font-size: 12px; color: var(--txt2); }
.sv-site-c span { font-size: 17px; font-weight: 700; }
.sv-site-c em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--pend); }
.sv-site-d { display: grid; gap: 14px; }
@container (min-width: 700px) { .sv-site-d { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.sv-site-d h3 { font-size: 20px; }
.sv-site-f { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #f5f7fc; }
.sv-arte { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 14px 14px; border-radius: 18px; background: linear-gradient(160deg, var(--azul), #0b1024); color: #fff; text-align: center; max-width: 360px; aspect-ratio: 1 / 1; align-content: center; }
.sv-arte.vert { aspect-ratio: 9 / 14; max-width: 260px; }
.sv-arte .sv-foto { background: rgba(255, 255, 255, 0.92); width: 100%; }
.sv-arte-l { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lima); }
.sv-arte b { font-size: 20px; }
.sv-arte small { font-size: 13px; opacity: 0.85; }
.sv-arte-p { margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-size: 20px; font-weight: 800; }
.sv-arte em { font-style: normal; font-size: 10px; opacity: 0.6; }

/* modo apresentação */
.sv-roteiros { display: grid; gap: 12px; }
@container (min-width: 760px) { .sv-roteiros { grid-template-columns: 1fr 1fr; } }
.sv-rot { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px !important; align-items: center !important; text-align: left; transition: transform 120ms var(--ease-out), border-color 140ms ease; }
.sv-rot:active { transform: scale(0.985); }
.sv-rot:hover { border-color: var(--azul); }
.sv-rot > svg { color: var(--azul); }
.sv-rot-l { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lima); font-size: 22px; font-weight: 800; }
.sv-rot-c { display: grid; gap: 3px; }
.sv-rot-c b { font-size: 16px; letter-spacing: -0.015em; }
.sv-rot-c small { font-size: 13px; color: var(--txt2); }
.sv-rot-c em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--azul); }

/* celular */
@media (max-width: 759px) {
  .sv-vcab { flex-wrap: wrap; }
  .sv-vcab-f { width: 84px; height: 56px; }
  .sv-preco-g { font-size: 22px; }
  .sv-barra .st-ia { font-size: 11.5px; }
  .sv-filial small, .sv-barra .cc-eu small { display: none; }
  .sv-dl { grid-template-columns: minmax(96px, 40%) minmax(0, 1fr); }
  .sv-zap { height: calc(100dvh - 230px); }
  .sv-assin { grid-template-columns: 1fr; }
  .sv-lv { grid-template-columns: 56px minmax(0, 1fr); }
  .sv-lv-d { grid-column: 2; }
}

/* menu estreito do tablet em pé: rótulos curtos, contador no canto */
.sv-nav .sv-c { display: none; }
.sv-lado { overflow-x: hidden; }
@media (max-width: 1023px) and (min-width: 760px) {
  .sv-nav .sv-l { display: none; }
  .sv-nav .sv-c { display: block; }
  .sv-nav .cc-bolha { position: absolute; top: 4px; right: 10px; margin: 0; min-width: 18px; height: 18px; font-size: 10.5px; }
  .sv .app-lado-pe .app-acao span { font-size: 10px; }
}

/* IA ao vivo: caixa de entrada única com todos os canais */
.iv-ctl .iv-tog { min-height: 44px; padding: 0 12px; border: 1px solid #e3e7f1; border-radius: 12px; background: #fff; gap: 10px; font-size: 13.5px; }
.iv-cont { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--txt2); }
.iv-inbox { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 24px; overflow: hidden; border: 1px solid #dfe3ee; background: #fff; box-shadow: 0 20px 50px -34px rgba(4, 10, 50, 0.5); height: min(680px, calc(100dvh - 210px)); min-height: 480px; }
@container (min-width: 640px) { .iv-inbox { grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr); } }
.iv-lista { display: grid; grid-template-rows: auto minmax(0, 1fr); border-right: 1px solid #e8eaf1; background: #fafbfd; min-height: 0; }
.iv-lista > header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #e8eaf1; }
.iv-lista > header span { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--azul); color: #fff; font-size: 12px; font-weight: 700; }
.iv-lista ul { overflow-y: auto; overflow-x: hidden; }
.iv-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; width: 100%; padding: 11px 12px; text-align: left; border-bottom: 1px solid #eef0f5; transition: background-color 140ms ease; }
.iv-lista li.novo .iv-item { animation: iv-entra 360ms var(--ease-out) both; }
.iv-item.on { background: #eaf0ff; }
.iv-av { position: relative; width: 46px; height: 46px; }
.iv-av > b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #e2e8f8; color: var(--azul); font-size: 17px; }
.iv-av .sv-logo-c { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; padding: 2px; border-radius: 7px; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.iv-item-c { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-width: 0; }
.iv-item-c > * { min-width: 0; }
.iv-item-t { display: flex; justify-content: space-between; gap: 6px; }
.iv-item-t b { min-width: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-item-t small { font-size: 12px; color: var(--txt2); flex: none; }
.iv-item-c em { font-style: normal; font-size: 13px; color: var(--txt2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; }
.iv-item-s { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.iv-st { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eef0f5; color: var(--txt2); }
.iv-st-digitando { background: var(--lima); color: var(--tinta); }
.iv-st-espera { background: var(--pend-f); color: var(--pend); }
.iv-st-ok { background: var(--ok-f); color: var(--ok); }
.iv-st-ativo { background: #e6ecff; color: var(--azul); }
.iv-nao { margin-left: auto; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #25d366; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.iv-lista .iv-vazio { padding: 24px 16px; color: var(--txt2); font-size: 13.5px; }
.iv-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; background: #f0f2f7; }
.iv-chat > header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--c); color: var(--ct); transition: background-color 300ms ease; }
.iv-chat > header .sv-logo-c { width: 36px; height: 36px; padding: 3px; }
.iv-chat > header div { display: grid; min-width: 0; flex: 1; }
.iv-chat > header small { font-size: 12px; opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-chat-tit { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-chat .iv-msgs { min-height: 0; scroll-behavior: auto; overflow-anchor: none; }
.iv-chat > footer[hidden] { display: none; }
.iv-msgs li time { display: block; margin-top: 3px; text-align: right; font-size: 10.5px; color: var(--txt2); }
.iv-item-c em .iv-dig-txt { font-style: normal; font-weight: 600; color: #1a9e55; }
.iv-msgs li.cli small { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--txt2); margin-bottom: 2px; }
.iv-msgs li.cli small .sv-logo-c { width: 16px; height: 16px; border-radius: 4px; }
.iv-msgs .iv-pen { justify-self: center; max-width: 92%; display: flex; gap: 8px; align-items: flex-start; padding: 6px 12px; border-radius: 12px; background: #0b1024; color: #cfd8ff; font-size: 12.5px; box-shadow: none; }
.iv-msgs .iv-pen svg { color: var(--lima); flex: none; margin-top: 2px; }
.iv-msgs .iv-ac { justify-self: center; max-width: 92%; display: flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 12px; background: var(--ok-f); color: #0f5a33; font-size: 12.5px; font-weight: 700; }
.iv-chat > footer { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; background: #fff; border-top: 1px solid #e3e7f1; }
@container (max-width: 639px) { .iv-lista { max-height: 230px; border-right: 0; border-bottom: 1px solid #e8eaf1; } .iv-inbox { height: auto; } .iv-chat { height: 520px; } }

/* IA ao vivo: casos por canal */
.iv-casos { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.iv-caso { flex: 0 0 230px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid #e3e7f1; background: #fff; text-align: left; transition: border-color 140ms ease, transform 120ms var(--ease-out); }
.iv-caso:active { transform: scale(0.98); }
.iv-caso.on { border-color: var(--azul); background: #f2f5ff; }
.iv-caso.feito .sv-logo-c { box-shadow: 0 0 0 2px var(--lima); }
.iv-caso span { display: grid; min-width: 0; }
.iv-caso b { font-size: 13.5px; line-height: 1.25; }
.iv-caso small { font-size: 12px; color: var(--txt2); }
.iv-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.iv { display: grid; gap: 14px; align-items: start; }
@container (min-width: 680px) { .iv { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } .iv-cerebro { max-height: min(620px, calc(100dvh - 230px)); overflow-y: auto; } }
.iv-tel { display: grid; grid-template-rows: auto minmax(0, 1fr); height: min(620px, calc(100dvh - 230px)); min-height: 440px; border-radius: 26px; overflow: hidden; background: #f0f2f7; border: 1px solid #dfe3ee; box-shadow: 0 20px 50px -30px rgba(4, 10, 50, 0.5); }
.iv-tel > header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--c); color: var(--ct); }
.iv-tel > header .sv-logo-c { width: 36px; height: 36px; padding: 3px; }
.iv-tel > header div { flex: 1; display: grid; min-width: 0; }
.iv-tel > header small { font-size: 12px; opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-tel > header > span { font-size: 13px; font-weight: 700; opacity: 0.9; }
.iv-msgs { display: grid; align-content: start; gap: 8px; padding: 14px; overflow-y: auto; scroll-behavior: smooth; }
.iv-msgs li { max-width: 88%; padding: 9px 12px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.iv-msgs li.novo, .iv-msgs li.digitando, .iv-tel .iv-msgs li { animation: iv-entra 320ms var(--ease-out) both; }
.iv-msgs li p { white-space: pre-line; }
.iv-msgs li.cli { justify-self: start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); }
.iv-msgs li.ia { justify-self: end; background: color-mix(in srgb, var(--c) 14%, #fff); border-bottom-right-radius: 4px; }
.iv-msgs li.ia small { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: color-mix(in srgb, var(--c) 80%, #000); margin-bottom: 2px; }
.iv-msgs .iv-vazio { justify-self: center; max-width: none; background: none; color: var(--txt2); font-size: 13.5px; text-align: center; padding-top: 40px; }
.digitando p { display: flex; gap: 4px; padding: 4px 2px; }
.digitando p i { width: 7px; height: 7px; border-radius: 50%; background: #8a93ad; animation: iv-pulo 1s ease-in-out infinite; }
.digitando p i:nth-child(2) { animation-delay: 0.15s; }
.digitando p i:nth-child(3) { animation-delay: 0.3s; }
@keyframes iv-pulo { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes iv-entra { from { opacity: 0; transform: translateY(8px); } }
.iv-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; margin-top: 8px; }
.iv-cars > div { display: grid; gap: 1px; padding-bottom: 6px; border-radius: 10px; background: #fff; overflow: hidden; font-size: 12px; }
.iv-cars .sv-mini-f, .iv-cars svg { aspect-ratio: 16 / 10; height: auto; }
.iv-cars b, .iv-cars span { padding: 0 8px; }
.iv-cars span { font-weight: 800; color: var(--azul); }
.iv-cerebro h3 { margin-top: 4px; }
.iv-pensa { display: grid; gap: 6px; counter-reset: p; }
.iv-pensa li { position: relative; padding: 8px 10px 8px 36px; border-radius: 12px; background: #f5f7fc; font-size: 13.5px; animation: iv-entra 320ms var(--ease-out) both; counter-increment: p; }
.iv-pensa li::before { content: counter(p); position: absolute; left: 8px; top: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #dfe6fd; color: var(--azul); font-size: 11px; font-weight: 800; }
.iv-pensa li.atual { background: #0b1024; color: #fff; }
.iv-pensa li.atual::before { background: var(--lima); color: var(--tinta); }
.iv-pensa .iv-vazio, .iv-acoes .iv-vazio { background: none; padding-left: 0; color: var(--txt2); }
.iv-pensa .iv-vazio::before { display: none; }
.iv-acoes { display: grid; gap: 6px; margin-bottom: 6px; }
.iv-acoes li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--ok-f); color: #0f5a33; font-size: 13.5px; font-weight: 600; animation: iv-entra 320ms var(--ease-out) both; }
.iv-acoes li svg { flex: none; }
@media (prefers-reduced-motion: reduce) { .iv-msgs li, .iv-pensa li, .iv-acoes li { animation: none; } .digitando p i { animation: none; } }

/* vistoria visual, créditos das fotos */
.sv-vis { display: grid; gap: 16px; align-items: start; }
@container (min-width: 760px) { .sv-vis { grid-template-columns: minmax(200px, 0.6fr) minmax(0, 1fr); } }
.sv-vis-d { display: grid; justify-items: center; gap: 6px; }
.sv-vis-d svg { width: 100%; max-width: 300px; overflow: visible; }
/* carro visto de cima: carroceria, vidros e rodas são desenho; as peças (sv-reg) são as áreas de toque */
.sv-vis-corpo { fill: #f3f5f9; stroke: #aab2c5; stroke-width: 2; }
.sv-vis-vidro { fill: #d3dcec; stroke: #aab2c5; stroke-width: 1.5; }
.sv-vis-roda { fill: #2a2e35; }
.sv-vis-ref { font: 700 9px/1 system-ui, sans-serif; letter-spacing: 0.14em; fill: #8a93a6; text-anchor: middle; }
.sv-reg-g { cursor: pointer; outline: none; }
.sv-reg { fill: #ffffff; stroke: #c2c9d8; stroke-width: 1.5; transition: fill 140ms ease, stroke 140ms ease; }
.sv-reg-g:hover .sv-reg, .sv-reg-g:focus-visible .sv-reg { fill: #e6ecff; stroke: #4d6bff; }
.sv-reg.sev1 { fill: #ffe39a; stroke: #e0a100; }
.sv-reg.sev2 { fill: #ffbf73; stroke: #d27200; }
.sv-reg.sev3, .sv-reg.sev4 { fill: #ff9a8c; stroke: #c4281c; }
.sv-reg-t { font: 600 9px/1 system-ui, sans-serif; fill: #59627a; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.sv-reg-n { fill: #c4281c; stroke: #fff; stroke-width: 2; pointer-events: none; }
.sv-reg-nt { font: 700 10px/1 system-ui, sans-serif; fill: #fff; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.sv-vis-leg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 0.82rem; color: var(--texto-2, #5b6475); }
.sv-vis-leg li { display: inline-flex; align-items: center; gap: 6px; }
.sv-vis-leg i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #c2c9d8; background: #fff; }
.sv-vis-leg i.s1 { background: #ffe39a; border-color: #e0a100; } .sv-vis-leg i.s2 { background: #ffbf73; border-color: #d27200; } .sv-vis-leg i.s3 { background: #ff9a8c; border-color: #c4281c; }
.sv-vis-l { display: grid; gap: 6px; min-width: 0; }
.sv-vis-l .ln-ic img { width: 36px; height: 36px; object-fit: cover; border-radius: 10px; }
.sv-vis-ck { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-vis-ck .chip[aria-pressed="true"] { background: var(--erro-f) !important; border-color: var(--erro) !important; color: var(--erro) !important; }
.sv-pneus { display: grid; gap: 4px; }
.sv-pneus label { display: grid; grid-template-columns: 110px minmax(0, 1fr) 48px; gap: 8px; align-items: center; font-size: 13px; }
.sv-pneus input { accent-color: var(--azul); height: 32px; }
.sv-pneus b { text-align: right; }
.sv-cred-img { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; }

/* =====================================================================
   Seminovos v2: fotos reais, galeria, estúdio IA, cadastro inteligente,
   mercado, repasse, marketplace, showroom, classificados, agência e tráfego
   ===================================================================== */
.sv-mod { max-width: 1400px; }
.sv-mini-f { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-lv-f { overflow: hidden; }
.sv-lv-f .sv-mini-f { border-radius: 10px; }
.sv-vcab-f { overflow: hidden; }
.sv-vcab-f .sv-mini-f { border-radius: 16px; }
.sv-ficha-foto { padding: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; }
.sv-ficha-foto .sv-mini-f { position: absolute; inset: 0; }
.sv-ficha-foto .st { z-index: 1; }
.sv-ficha-foto .ficha-ilus { z-index: 1; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.sv-foto-real { padding: 0; overflow: hidden; background: #dfe5f2; }
.sv-foto-real img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.sv-cred { display: block; font-size: 11px; color: var(--txt2); text-decoration: none; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-cred:hover { text-decoration: underline; }

/* galeria */
.sv-gal { display: grid; gap: 8px; min-width: 0; align-content: start; }
.sv-gal-vazia { place-items: center; padding: 20px; border-radius: 18px; background: #eef2fb; color: var(--txt2); text-align: center; }
.sv-gal-m { position: relative; border-radius: 18px; overflow: hidden; background: #0b1024; display: grid; place-items: center; }
.sv-gal-m .sv-ft { width: 100%; }
.sv-ft { position: relative; width: 100%; }
.sv-ft img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-placa { position: absolute; display: grid; place-items: center; border-radius: 3px; background: var(--azul); color: #fff; font-size: clamp(6px, 1.1vw, 11px); font-weight: 800; letter-spacing: 0.04em; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); }
.sv-gal-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(11, 16, 36, 0.55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sv-gal-nav.ant { left: 10px; }
.sv-gal-nav.prox { right: 10px; }
.sv-gal-cont { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(11, 16, 36, 0.6); color: #fff; font-size: 12px; font-weight: 600; }
.sv-gal-tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-size: 12px; font-weight: 700; z-index: 1; }
.sv-gal-t { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.sv-gal-t button { position: relative; flex: none; width: 84px; height: 58px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.sv-gal-t button.on { border-color: var(--azul); }
.sv-gal-t img { width: 100%; height: 100%; object-fit: cover; }
.sv-gal-t i { position: absolute; left: 4px; bottom: 3px; font-size: 10px; font-style: normal; color: #fff; background: rgba(0, 0, 0, 0.55); padding: 0 4px; border-radius: 4px; }
.sv-resumo-v { display: grid; gap: 14px; align-items: start; }
@container (min-width: 900px) { .sv-resumo-v { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.sv-resumo-d { display: grid; gap: 14px; min-width: 0; }

/* estúdio fotográfico IA */
.sv-est { display: grid; gap: 14px; align-items: start; }
@container (min-width: 900px) { .sv-est { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); } }
.sv-cmp { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #0b1024; --pos: 50%; user-select: none; touch-action: pan-y; }
.sv-cmp-a, .sv-cmp-b { position: absolute; inset: 0; display: grid; place-items: center; }
.sv-cmp-a .sv-ft { max-height: 100%; }
.sv-cmp-b { clip-path: inset(0 0 0 var(--pos)); }
.sv-cmp-l { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); }
.sv-cmp-l i { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--azul); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); }
.sv-cmp-rot { position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(11, 16, 36, 0.6); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.sv-cmp-rot.a { left: 10px; }
.sv-cmp-rot.b { right: 10px; background: var(--lima); color: var(--tinta); }
.sv-cmp input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.sv-est-cena { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.sv-cena-showroom { background: radial-gradient(120% 70% at 50% 30%, #ffffff 0%, #e8ecf5 55%, #cfd6e6 100%); }
.sv-cena-showroom::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(#d9dfec, #c3cbdd); }
.sv-cena-estudio { background: radial-gradient(90% 60% at 50% 35%, #3a4366 0%, #121831 60%, #05081a 100%); }
.sv-cena-estudio::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(#141a35, #070a1d); }
.sv-cena-marca { background: linear-gradient(160deg, #0131cd 0%, #001a7a 100%); }
.sv-cena-marca::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(#0a2bb0, #021466); border-top: 4px solid var(--lima); }
.sv-cena-patio { background: linear-gradient(#bcd6f2 0%, #e7f0fa 58%, #a9b0b8 58%, #8c939c 100%); }
.sv-est-car { position: relative; z-index: 1; width: 86%; margin-top: 8%; }
.sv-est-car img { width: 100%; height: 100%; display: block; }
.sv-est-sombra { position: absolute; z-index: 1; left: 12%; right: 12%; bottom: 17%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)); }
.sv-cena-foto { background: #0b1024; }
.sv-est-orig { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.sv-est-orig.enq::before { content: ""; position: absolute; inset: -20px; background: var(--bg) center / cover; filter: blur(22px) brightness(0.7); }
.sv-est-orig .sv-ft { position: relative; max-width: 100%; max-height: 100%; }
.sv-est-orig.enq .sv-ft { width: 92%; border-radius: 8px; overflow: hidden; }
.sv-est-marca { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(90deg, #0131cd, #0b1024); color: #fff; font-size: clamp(11px, 1.4vw, 14px); }
.sv-est-marca b { color: var(--lima); }
.sv-est-th { display: flex; gap: 6px; overflow-x: auto; }
.sv-est-th button { position: relative; flex: none; width: 92px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.sv-est-th button.on { border-color: var(--azul); }
.sv-est-th img { width: 100%; height: 100%; object-fit: cover; }
.sv-est-th i { position: absolute; left: 4px; top: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 6px; background: var(--lima); color: var(--tinta); font-size: 10px; font-style: normal; font-weight: 700; }
.sv-est-th b { position: absolute; right: 4px; bottom: 4px; padding: 0 5px; border-radius: 6px; background: rgba(1, 49, 205, 0.85); color: #fff; font-size: 10px; }
.sv-togs { display: grid; gap: 2px; }
.sv-tog { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 4px; border-bottom: 1px solid var(--sep); text-align: left; font-weight: 600; }
.sv-tog i { position: relative; width: 46px; height: 28px; border-radius: 999px; background: rgba(10, 16, 51, 0.16); flex: none; transition: background-color 200ms ease; }
.sv-tog i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); transition: transform 220ms var(--ease-out); }
.sv-tog[aria-checked="true"] i { background: var(--azul); }
.sv-tog[aria-checked="true"] i::after { transform: translateX(18px); }
.sv-tog[disabled] { opacity: 0.45; }
.sv-prog { height: 10px; border-radius: 6px; background: #e6eaf4; overflow: hidden; }
.sv-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--azul), var(--lima)); transition: width 120ms linear; }
.sv-up { position: relative; overflow: hidden; cursor: pointer; }
.sv-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* cadastro inteligente */
.sv-cad { display: grid; gap: 14px; }
.sv-cron { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 8px; padding: 6px 12px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-variant-numeric: tabular-nums; }
.sv-cron.passou { background: var(--pend-f); color: var(--pend); }
.sv-cad-corpo { display: grid; gap: 12px; min-height: 220px; align-content: start; }
.sv-cam { position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 16px; border-radius: 20px; border: 2px dashed #9fb1ff; background: #f2f5ff; color: var(--azul); text-align: center; cursor: pointer; }
.sv-cam small { color: var(--txt2); }
.sv-cam input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sv-lendo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; animation: piscar 1s ease-in-out infinite; }
.sv-ou { text-align: center; color: var(--txt2); font-size: 13px; }
.sv-cad-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.sv-cad-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.sv-mic { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 20px; background: #0b1024; color: #fff; text-align: left; }
.sv-mic > svg { flex: none; padding: 10px; width: 48px; height: 48px; border-radius: 50%; background: var(--lima); color: var(--tinta); }
.sv-mic span { display: grid; }
.sv-mic small { color: #9db0ff; }
.sv-mic.on > svg { animation: foco 1.2s ease-in-out infinite; }
.sv-cad-canais { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.sv-canal { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; border: 1.5px solid #dfe3ee; text-align: left; min-height: 58px; }
.sv-canal.on { border-color: var(--azul); background: #f2f5ff; }
.sv-canal span { display: grid; }
.sv-canal small { font-size: 12px; color: var(--txt2); }
.sv-logo-c { width: 34px; height: 34px; object-fit: contain; flex: none; border-radius: 8px; background: #fff; }
.sv-logo-ic { display: grid; place-items: center; color: var(--azul); background: #e9eeff; }
.sv-cad-fim { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 10px 0; }
.sv-cad-fim > img, .sv-cad-fim > svg { width: min(360px, 100%); border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; }
.sv-cad-fim h4 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

/* inteligência de mercado */
.sv-mk { display: grid; gap: 14px; }
.sv-escala { position: relative; height: 64px; margin: 10px 18px 0; }
.sv-escala-b { position: absolute; left: 0; right: 0; top: 24px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #b9fc01, #8aa0f8, #c4281c); }
.sv-escala-p { position: absolute; top: 20px; width: 4px; height: 16px; translate: -50% 0; border-radius: 2px; background: #0b1024; opacity: 0.55; }
.sv-escala-eu { position: absolute; top: 12px; translate: -50% 0; width: 32px; height: 32px; border-radius: 50%; background: var(--azul); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(1, 49, 205, 0.5); }
.sv-escala-eu b { position: absolute; top: -18px; left: 50%; translate: -50% 0; font-size: 11px; color: var(--azul); white-space: nowrap; }
.sv-escala small { position: absolute; top: 44px; font-size: 12px; color: var(--txt2); }
.sv-escala .min { left: 0; }
.sv-escala .max { right: 0; }
.sv-tab-mk { min-width: 0 !important; }
.sv-range { display: flex; align-items: center; gap: 10px; }
.sv-range input { flex: 1; accent-color: var(--azul); height: 36px; }
.sv-cen { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 8px; }
.sv-cen-c { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 18px; border: 1.5px solid #e3e7f1; }
.sv-cen-c.melhor { border-color: var(--azul); background: #f2f5ff; }
.sv-cen-c > small { font-size: 13px; color: var(--txt2); }
.sv-cen-c ul { display: grid; gap: 2px; font-size: 13px; }
.sv-cen-c li { display: flex; justify-content: space-between; gap: 8px; }
.sv-cen-r { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sv-cen-c .bt { justify-self: start; }
.sv-selo { position: absolute; top: -11px; left: 14px; padding: 3px 9px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-size: 11px; font-weight: 800; }

/* rede de repasse e marketplace */
.sv-rede-g, .sv-mkp-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sv-rede-c { gap: 8px !important; }
.sv-rede-f { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #e9eefb; display: grid; place-items: center; }
.sv-fav { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #9aa1b5; z-index: 1; }
.sv-fav.on { color: #e3a008; }
.sv-fav.on svg { fill: currentColor; }
.sv-rede-c small { color: var(--txt2); font-size: 13px; }
.sv-neg-i { padding: 8px 0; border-bottom: 1px solid var(--sep); }
.sv-mkp-c { position: relative; display: grid; border-radius: 18px; border: 1px solid #e8eaf1; background: #fff; overflow: hidden; }
.sv-mkp-f { aspect-ratio: 16 / 10; background: #e9eefb; display: grid; place-items: center; overflow: hidden; }
.sv-mkp-t { display: grid; gap: 2px; padding: 10px 12px 4px; text-align: left; }
.sv-mkp-t span { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.sv-mkp-t small, .sv-mkp-t em { font-size: 12.5px; color: var(--txt2); font-style: normal; }
.sv-mkp-cmp { display: flex; align-items: center; gap: 6px; padding: 6px 12px 12px; font-size: 13px; font-weight: 600; }
.sv-mkp-cmp input { width: 20px; height: 20px; accent-color: var(--azul); }

/* showroom virtual */
.sv-sr { display: grid; gap: 16px; align-items: start; }
@container (min-width: 860px) { .sv-sr { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.sv-sr-ext { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 12.5px; color: var(--txt2); }
.sv-sr-ext span { display: inline-flex; align-items: center; gap: 5px; }
.sv-sr-ext .ok { color: var(--ok); font-weight: 600; }
.sv-sr-info { display: grid; gap: 10px; }
.sv-sr-info h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.sv-sr-ficha { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sv-sr-ficha li { display: grid; padding: 8px 10px; border-radius: 12px; background: #f5f7fc; }
.sv-sr-ficha small { font-size: 11.5px; color: var(--txt2); }
.sv-sr-ficha b { font-size: 14px; }
.sv-sr-fin { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: #0b1024; color: #fff; }
.sv-sr-fin label { display: grid; grid-template-columns: 70px minmax(0, 1fr) 96px; gap: 8px; align-items: center; font-size: 13px; }
.sv-sr-fin input { accent-color: var(--lima); height: 32px; }
.sv-sr-fin em { font-style: normal; text-align: right; font-weight: 700; }
.sv-sr-fin p { font-size: 13px; color: #cbd2ea; }
.sv-sr-fin p b { color: var(--lima); font-size: 16px; }

/* integrador de classificados */
.sv-pts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sv-pt { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 20px; border: 1px solid #e8eaf1; background: #fff; }
.sv-pt.fut { opacity: 0.72; background: #f8f9fc; }
.sv-pt header { display: flex; align-items: center; gap: 10px; }
.sv-pt header .sv-logo-c { width: 42px; height: 42px; border: 1px solid #eef0f4; padding: 3px; }
.sv-pt header > div { flex: 1; display: grid; min-width: 0; }
.sv-pt header small { font-size: 12px; color: var(--txt2); }
.sv-pt header .st { font-size: 11px; white-space: normal; text-align: center; max-width: 110px; }
.sv-pt-n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.sv-pt-n > div { display: grid; padding: 6px 8px; border-radius: 10px; background: #f5f7fc; min-width: 0; }
.sv-pt-n small { font-size: 10.5px; color: var(--txt2); }
.sv-pt-n b { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-pt-n em { font-style: normal; font-size: 11px; color: var(--txt2); }
.sv-pt-lim { height: 6px; border-radius: 3px; background: #e6eaf4; overflow: hidden; }
.sv-pt-lim i { display: block; height: 100%; background: var(--azul); }
.sv-th-logo .sv-logo-c { width: 26px; height: 26px; }
.sv-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #dfe3ee; vertical-align: middle; }
.sv-dot-publicado { background: var(--ok); }
.sv-dot-homolog, .sv-dot-assistida { background: #f6a93b; }
.sv-dot-erro { background: var(--erro); }
.sv-dot-fila { background: var(--azul); }
.sv-bt-mini { min-height: 32px !important; padding: 0 8px !important; font-size: 12px !important; }
.sv-val { display: grid; gap: 4px; }
.sv-val li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: #fff7f6; }
.sv-val li.ok { background: #f2fbf5; }
.sv-val li > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.sv-val small { font-size: 12px; color: var(--txt2); }
.sv-prev { border-radius: 16px; border: 1px solid #e3e7f1; overflow: hidden; }
.sv-prev header { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #f5f7fc; }
.sv-prev-c { display: grid; gap: 4px; padding: 12px; }
.sv-prev-c small { color: var(--txt2); }
.sv-prev-c p { font-size: 13.5px; }

/* agência de marketing e tráfego */
.sv-ag { display: grid; gap: 14px; align-items: start; }
@container (min-width: 820px) { .sv-ag { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cc-folha .sv-ag { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cc-folha .sv-ag { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sv-ag-ctl { display: grid; gap: 10px; align-content: start; }
.sv-ag-prev { display: grid; place-items: center; padding: 10px; border-radius: 18px; background: #eef1f8; }
.sv-ag-prev .sv-arte-img { width: 100%; max-width: 420px; border-radius: 12px; box-shadow: 0 16px 40px -18px rgba(4, 10, 50, 0.5); }
.sv-ag-prev.story .sv-arte-img, .sv-ag-prev.status .sv-arte-img { max-width: 260px; }
.sv-arte-img.carregando { min-height: 260px; background: linear-gradient(90deg, #e3e7f1, #f3f5fa, #e3e7f1); background-size: 200% 100%; animation: sv-brilho 1.2s linear infinite; }
@keyframes sv-brilho { to { background-position: -200% 0; } }
.sv-ag-car { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sv-ag-car .sv-arte-img { width: 100%; border-radius: 12px; }
.sv-ag-video { position: relative; aspect-ratio: 9 / 16; max-width: 280px; width: 100%; margin-inline: auto; overflow: hidden; padding: 0; }
.sv-ag-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: sv-slide 6s infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes sv-slide { 0% { opacity: 0; transform: scale(1.05); } 6% { opacity: 1; } 33% { opacity: 1; transform: scale(1.15); } 40% { opacity: 0; } 100% { opacity: 0; } }
.sv-ag-video-t { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 16px; background: linear-gradient(transparent, rgba(1, 20, 90, 0.9)); color: #fff; }
.sv-ag-video-t span { justify-self: start; padding: 4px 10px; border-radius: 8px; background: var(--lima); color: var(--tinta); font-weight: 800; }
.sv-cat-prev { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; padding: 12px; border-radius: 16px; background: #f5f7fc; }
.sv-cat-prev > div { display: grid; gap: 2px; background: #fff; border-radius: 12px; overflow: hidden; padding-bottom: 8px; }
.sv-cat-prev .sv-mini-f { aspect-ratio: 16 / 10; }
.sv-cat-prev b, .sv-cat-prev small, .sv-cat-prev span { padding: 0 10px; }
.sv-cat-prev small { font-size: 12px; color: var(--txt2); }
.sv-cat-prev span { color: var(--azul); font-weight: 800; }
.sv-cal-cont { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sv-cal-dia { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 16px; border: 1px solid #e8eaf1; background: #fff; }
.sv-cal-dia.hoje { border-color: var(--azul); background: #f2f5ff; }
.sv-cal-dia small { font-size: 12px; font-weight: 700; color: var(--azul); text-transform: capitalize; }
.sv-cal-dia span { font-size: 12.5px; color: var(--txt2); }
.sv-cal-dia .bt { margin-top: 4px; min-height: 38px; }
@media (max-width: 759px) {
  .sv-pt-n { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-sr-ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-gal-nav { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .sv-ag-video img { animation: none; opacity: 1; } .sv-ag-video img + img { display: none; } }

/* Revenda · paleta 60-30-10 (a cor de destaque vem do loja.json no build)
   60% neutro claro (fundo e cartões) · 30% preto da marca (menu, títulos, botões) · 10% lima da logo (destaques) */
:root {
  --azul: #0a1033; --azul-fundo: #000; --lima: #b9fc01; --tinta: #0a1033;
  --app-fundo: #f3f3ef; --topo: 0px;
  --mg-preto: #0a1033; --mg-preto2: #1a1a1a; --mg-lima: #b9fc01; --mg-lima-escura: #6f8f00; --mg-neutro: #f3f3ef;
}
body { background: var(--mg-neutro); }
.app, .vista-app { background: var(--mg-neutro); }
.vista-app { height: 100dvh; }

/* 30%: menu lateral preto */
.app-lado, .sv-lado { background: var(--mg-preto); border-right: 0; color: #f2f2f2; }
.cc-marca img { border: 0; background: transparent; border-radius: 8px; }
.cc-marca b { color: #fff; }
.cc-marca small, .sv-nav-g { color: #9a9a9a; }
.cc-quem { background: var(--mg-preto2); border-color: #2a2a2a; color: #fff; }
.cc-quem .avatar { background: var(--mg-lima); color: var(--mg-preto); }
.cc-quem small { color: #a8a8a8; }
.cc-quem > svg { color: var(--mg-lima); }
.app-nav button, .sv-nav button { color: #e6e6e6; }
.app-nav button svg { color: #8d8d8d; }
.app-nav button:hover { background: #1c1c1c; }
.app-nav button[aria-current="page"] { background: var(--mg-lima); color: var(--mg-preto); }
.app-nav button[aria-current="page"] svg { color: var(--mg-preto); }
.app-lado .cc-bolha { background: var(--mg-lima); color: var(--mg-preto); }
.app-lado-pe .app-acao { color: #d9d9d9; }
.app-lado-pe .app-acao svg { color: var(--mg-lima); }

/* 10%: lima nos destaques; botões principais em preto */
.bt-cheio { background: var(--mg-preto); border-color: var(--mg-preto); color: #fff; }
.bt-lima { background: var(--mg-lima); color: var(--mg-preto); }
.chip[aria-pressed="true"] { background: var(--mg-preto); border-color: var(--mg-preto); color: var(--mg-lima); }
.st-ia { background: #eef8d2; color: #3f5200; }
.app-abas button[aria-current="page"] { color: var(--mg-preto); }
.app-abas button[aria-current="page"] svg { color: var(--mg-lima-escura); }
a { color: inherit; }

/* entrada (login) */
.mg-entrada { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 80% 10%, #233000 0, transparent 45%), var(--mg-preto); }
.mg-cartao { width: min(420px, 100%); display: grid; gap: 22px; }
.mg-logo { width: min(320px, 80%); height: auto; justify-self: center; }
.mg-form { display: grid; gap: 14px; background: #fff; border-radius: 22px; padding: 24px; }
.mg-form h1, .mg-form h3 { font-size: 22px; letter-spacing: -0.02em; }
.mg-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #555; }
.mg-form input { min-height: 46px; border: 1px solid #ddd; border-radius: 12px; padding: 0 14px; font-size: 16px; font-family: inherit; }
.mg-form .bt-cheio { min-height: 48px; }
.mg-cinza { color: #666; margin: 0; font-size: 14px; }
.mg-erro { color: #b3261e; font-weight: 600; font-size: 14px; min-height: 1em; margin: 0; }
.mg-bts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mg-dialog { border: 0; padding: 0; border-radius: 22px; width: min(420px, 94vw); }
.mg-dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.mg-aviso { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 99; background: var(--mg-preto); color: #fff; padding: 12px 18px; border-radius: 24px; font-weight: 600; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.3); max-width: calc(100% - 32px); }

/* Conexões */
.mg-qr { width: 260px; height: 260px; border-radius: 14px; background: #fff; border: 1px solid #e5e5e5; }
.mg-pessoa { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.mg-pessoa > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.mg-pessoa small { color: var(--txt2); }
.mg-pessoa .avatar { background: var(--mg-preto); color: var(--mg-lima); }
.mg-passos { padding-left: 20px; display: grid; gap: 6px; }
.mg-codigo { background: var(--mg-preto); color: #e8f5c5; padding: 14px; border-radius: 14px; font-size: 12.5px; max-height: 280px; overflow: auto; white-space: pre; }
.mg-lista { list-style: none; padding: 0; margin: 0; display: grid; }
.mg-lista li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.mg-lista small { display: block; color: var(--txt2); font-size: 12px; }
.mg-teste { min-height: 120px; max-height: 360px; overflow-y: auto; background: #efeae2; border-radius: 14px; padding: 10px; }

/* Artes */
.mg-arte { display: grid; gap: 16px; }
@media (min-width: 1000px) { .mg-arte { grid-template-columns: minmax(300px, 380px) 1fr; align-items: start; } }
.mg-prev { display: grid; place-items: center; background: #e9e9e4; }
.mg-prev canvas { width: 100%; max-width: 560px; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.mg-fotos { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.mg-fotos button { flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #ddd; }
.mg-fotos button.on { border-color: var(--mg-lima); box-shadow: 0 0 0 2px var(--mg-preto); }
.mg-fotos img { width: 100%; height: 100%; object-fit: cover; }

/* etiqueta de precificação: FIPE × loja × anúncios */
.mg-tagp { display: grid; gap: 0; margin-top: 8px; border: 1px solid var(--linha, #e3e5df); border-radius: 12px; overflow: hidden; font-size: 0.8rem; font-variant-numeric: tabular-nums; text-align: left; background: #fff; }
.mg-tagp > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 8px; padding: 6px 10px; border-top: 1px solid #eef0ec; min-width: 0; }
.mg-tagp > span:first-child { border-top: 0; }
.mg-tagp small { font-weight: 600; font-size: 0.72rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-tagp b { font-weight: 700; white-space: nowrap; color: #0a1033; }
.mg-tagp em:empty { display: none; }
.mg-tagp em { grid-column: 2; font-style: normal; font-weight: 700; font-size: 0.72rem; text-align: right; white-space: nowrap; color: #6b7280; }
.mg-tagp em.acima { color: #b42318; } .mg-tagp em.abaixo { color: #0b7a4b; }
.mg-tagp b.mg-tagp-sem { font-weight: 600; color: #9aa0a8; }
.mg-tagp > span.mg-tagp-l { background: #0a1033; border-top: 0; }
.mg-tagp > span.mg-tagp-l small { color: #c9ccd3; }
.mg-tagp > span.mg-tagp-l b { color: #b9fc01; font-size: 0.92rem; }
.mg-tagp-g { max-width: 380px; font-size: 0.9rem; margin: 8px 0 0; }
.mg-tagp-g > span { padding: 8px 12px; }
.mg-tagp-g i { padding: 8px 12px; font-size: 0.82rem; opacity: 0.7; }

/* mídia do cliente no Atendimento */
.mg-zfoto { display: block; margin-top: 6px; padding: 0; border: 0; background: none; border-radius: 10px; overflow: hidden; max-width: 220px; cursor: zoom-in; }
.mg-zfoto img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; }
.mg-zfoto-g { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 12px; }
.mg-zaudio { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; opacity: 0.75; }
.mg-embreve h3 { color: #0a1033; }

/* nada empurra a tela para os lados no celular: colunas podem encolher, código e tabelas rolam por dentro */
.duas > *, .sv-3 > *, .cd { min-width: 0; }
.cd pre, .cd code { max-width: 100%; overflow-x: auto; }
.cd pre { white-space: pre; }
.mg-rola { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sv-conta li { min-width: 0; }
.sv-conta li b, .sv-conta li span { overflow-wrap: anywhere; }
.mg-conferir { background: #fff8e1; border: 1px solid #f0d27a; border-radius: 12px; padding: 10px 12px; max-width: 360px; }
.mg-conferir p { margin: 0 0 8px; font-weight: 600; }
/* botões grandes do vendedor */
.mg-contato { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 12px; }
.mg-contato .bt { min-height: 48px; font-size: 1rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 999px; text-decoration: none; }
.mg-bt-zap { background: #12803f; color: #fff; border: 0; }
.mg-bt-ligar { background: #0a1033; color: #b9fc01; border: 0; }
.mg-contato span { font-variant-numeric: tabular-nums; opacity: 0.75; }
@media (max-width: 599px) { .mg-contato .bt { flex: 1 1 100%; justify-content: center; } }
/* filtros do pátio */

/* Atendimento no visual de chat */
.mg-inbox { height: min(78vh, 760px); }
.mg-inbox .iv-lista ul { list-style: none; margin: 0; padding: 0; }
.mg-chat-vazio { display: grid; place-items: center; text-align: center; color: #6b7280; padding: 24px; }
.mg-chat-vazio p { max-width: 34ch; margin: 8px auto 0; }
.mg-chat-volta { display: none; border: 0; background: rgba(255, 255, 255, 0.16); color: inherit; width: 36px; height: 36px; border-radius: 50%; place-items: center; flex: none; }
.iv-chat .iv-msgs { list-style: none; margin: 0; padding: 14px; display: grid; align-content: start; gap: 8px; overflow-y: auto; }
.iv-msgs li.iv-ac { justify-self: center; display: inline-flex; align-items: center; gap: 6px; max-width: 94%; background: #0a1033; color: #f3f4f1; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; }
.iv-msgs li.iv-ac svg { color: #b9fc01; flex: none; }
.iv-msgs li.mg-nota { background: #fff8e1; color: #6b4e00; border: 1px solid #f0d27a; border-radius: 12px; }
.iv-msgs li.mg-nota svg { color: #b07d00; }
.mg-chat-pe { display: grid !important; gap: 8px; }
.mg-chat-acoes { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-chat-acoes .bt { min-height: 36px; padding: 0 12px; font-size: 0.88rem; }
.mg-rapidas { flex-wrap: nowrap; overflow-x: auto; }
.mg-rapidas .chip { flex: none; }
.mg-chat-in { display: flex; gap: 8px; align-items: center; }
.mg-chat-in input { flex: 1; min-width: 0; min-height: 46px; border-radius: 999px; border: 1.5px solid #d7dbe5; padding: 0 16px; font-size: 1rem; background: #fff; }
.mg-chat-env { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--c, #0b5c4f); color: var(--ct, #fff); display: grid; place-items: center; cursor: pointer; }
.mg-chip-canal { display: inline-flex; align-items: center; gap: 6px; }
.mg-chip-canal .sv-logo-c { width: 18px; height: 18px; border-radius: 4px; }
@media (max-width: 639px) {
  .mg-inbox { height: calc(100dvh - 210px); min-height: 460px; grid-template-columns: minmax(0, 1fr) !important; }
  .mg-inbox .iv-lista { max-height: none !important; border-bottom: 0 !important; border-right: 0 !important; }
  .mg-inbox.com-sel .iv-lista { display: none; }
  .mg-inbox:not(.com-sel) .iv-chat { display: none; }
  .mg-inbox .iv-chat { height: auto !important; }
  .mg-chat-volta { display: grid; }
  .mg-at-topo.com-sel { display: none; }
  .mg-inbox.com-sel { height: calc(100dvh - 190px); min-height: 420px; }
}

/* resposta enviada para o chat do portal pela extensão */
.mg-saida { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; color: #6b7280; }
.mg-saida svg { flex: none; }
.mg-saida-ok { color: #0b7a4b; }
.mg-saida-erro { color: #b42318; }
.mg-saida button { border: 1px solid currentColor; background: #fff; color: inherit; border-radius: 999px; padding: 2px 10px; font: inherit; font-weight: 600; cursor: pointer; min-height: 28px; }

/* Pátio: busca + Filtros, tipos em fileira, filtros ativos como etiquetas */
.mg-pt { display: grid; gap: 12px; margin: 4px 0 16px; }
.mg-pt-busca { display: flex; gap: 8px; align-items: stretch; }
.mg-pt-busca .cc-busca { flex: 1; min-width: 0; }
.mg-pt-filtro { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #d7dbe5; background: #fff; color: #0a1033; font: inherit; font-weight: 600; cursor: pointer; flex: none; }
.mg-pt-filtro.on { background: #0a1033; border-color: #0a1033; color: #fff; }
.mg-pt-filtro i { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #b9fc01; color: #0a1033; font-size: 12px; display: grid; place-items: center; }
.mg-pt-tipos { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px; }
.mg-pt-tipos::-webkit-scrollbar { display: none; }
.mg-pt-tipo { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 48px; padding: 0 16px 0 12px; border-radius: 14px; border: 1.5px solid #e3e6ec; background: #fff; color: #3a3f4b; font: inherit; font-weight: 600; cursor: pointer; }
.mg-pt-tipo svg { flex: none; color: #8a909c; }
.mg-pt-tipo small { color: #8a909c; font-weight: 500; }
.mg-pt-tipo[aria-pressed="true"] { background: #0a1033; border-color: #0a1033; color: #fff; }
.mg-pt-tipo[aria-pressed="true"] svg { color: #b9fc01; }
.mg-pt-tipo[aria-pressed="true"] small { color: #c9ccd3; }
.mg-pt-ativos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mg-pt-pil { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 14px; border-radius: 999px; border: 0; background: #eef0f4; color: #0a1033; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.mg-pt-pil svg { color: #6b7280; }
.mg-pt-limpa { border: 0; background: none; color: #6b7280; font: inherit; font-size: 0.9rem; text-decoration: underline; cursor: pointer; min-height: 36px; padding: 0 6px; }
.mg-pt-conta { margin: 0; font-size: 0.92rem; color: #6b7280; }
.mg-pt-conta b { color: #0a1033; }
/* folha Filtros */
.mg-ff { display: grid; gap: 18px; margin-top: 12px; }
.mg-ff-b h4 { margin: 0 0 8px; font-size: 1rem; }
.mg-ff-b h4 small { font-weight: 500; color: #6b7280; }
.mg-ff-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-ff-chips .chip { min-height: 40px; }
.mg-ff-chips .chip small { opacity: 0.65; }
.mg-ff-pe { position: sticky; bottom: -20px; display: flex; gap: 8px; margin: 18px -20px -20px; padding: 12px 20px 16px; background: var(--papel, #fff); border-top: 1px solid #eceef2; }
.mg-ff-pe .bt { min-height: 50px; }
.mg-ff-pe .bt-cheio { flex: 1; }
@media (max-width: 639px) {
  .cc-modal:has(.mg-ff-folha) { place-items: end center; padding: 0; }
  .mg-ff-folha { width: 100%; max-height: 88dvh; border-radius: 24px 24px 0 0; }
  .mg-pt-filtro { padding: 0 12px; }
}

/* estúdio: identidade da revenda = post do Instagram */
.sv-cmp:has(.mg-est-arte) { aspect-ratio: 1 / 1; width: min(100%, 620px); justify-self: center; margin-inline: auto; }
.mg-est-arte { position: absolute; inset: 0; background: #0a1033; }
.mg-est-arte canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.mg-est-baixar { width: 100%; margin-top: 10px; }

/* Mercado: anúncios da OLX e Webmotors */
.mg-mk-p { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid #eceef2; }
.mg-mk-p:first-of-type { border-top: 0; padding-top: 4px; }
.mg-mk-rot { margin: 6px 0 0; font-size: 0.82rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.03em; }
.mg-mk-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mg-mk-lista li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 8px 10px; border-radius: 10px; background: #f6f7f9; }
.mg-mk-lista a { color: #0a1033; font-weight: 600; overflow-wrap: anywhere; }
.mg-mk-lista li > span { font-weight: 700; white-space: nowrap; text-align: right; }
.mg-mk-lista em { display: block; font-style: normal; font-size: 0.78rem; font-weight: 600; }
.mg-mk-lista em.abaixo { color: #b42318; }
.mg-mk-lista em.acima { color: #0b7a4b; }
.mg-mk-lista small { grid-column: 1 / -1; color: #6b7280; }
.mg-mk-mv { color: #0a1033; background: #b9fc01; border-radius: 999px; padding: 0 8px; font-weight: 700; }
.mg-mk-est li { flex-wrap: wrap; }
.mg-mk-est small { flex-basis: 100%; }

/* confirmação da visita */
.mg-vis-conf { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #f6f7f3; margin: 4px 0 10px; }
.mg-vis-conf p { margin: 0; }
.mg-vis-conf ul { margin: 0; padding-left: 18px; color: #4b5563; font-size: 0.92rem; }
.mg-vis-conf .bt { justify-self: start; }
.iv-msgs li.mg-ac-bt { background: transparent; padding: 0; }
.iv-msgs li.mg-ac-bt button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 7px 14px; background: #b9fc01; color: #0a1033; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }

/* botão Consultar FIPE e OLX */
.mt-acoes .mg-consulta { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
.mg-olx-cad { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #f6f7f3; font-size: 0.92rem; }
.mg-olx-cad svg { flex: none; margin-top: 2px; }

:root { --azul: #0131cd; --azul-fundo: #0029b3; --tinta: #0a1033; --mg-preto: #0a1033; --mg-preto2: #13205a; }
