/* ==========================================================================
   ALCORA UI · v3 — sistema visual da Suíte Alcora
   --------------------------------------------------------------------------
   Identidade ALCORA, kit oficial v2.1 (architecture/brand, 28/10/2026). A paleta oficial fica
   nos tokens --alc-*; os demais tokens só a referenciam. Tons derivados
   (hover, texto AA) são color-mix das cores oficiais, sem cores novas.
   Produtos não têm cor própria: todos usam o azul da marca; o Health Score
   herda o Laranja Alcor, o sinal de alerta. Tipografia mantida (Sora +
   Inter) até a decisão dos sócios.
   Nome do arquivo mantido (orion-ui.css) por paridade com os demais *-front.
   ========================================================================== */
@import url('assets/brand/brand-colors.css');
:root {
  --alc-noite: var(--alcora-noite); --alc-orbita: var(--alcora-orbita); --alc-orbita-2: #1a2647;
  --alc-boreal: var(--alcora-azul-boreal); --alc-azul: var(--alcora-azul-profundo); --alc-laranja: var(--alcora-laranja); --alc-luz: var(--alcora-luz);
  --alc-tinta: #0e1730; --alc-texto: #e6eaf4; --alc-poeira: #8e99b8; --alc-cinza: #4c5878; --alc-cinza-2: #6b7698;
  --alc-azul-claro: #d4deff; --alc-laranja-claro: #fff1ea; --alc-laranja-tinta: #9a3412; --alc-linha: rgba(150, 172, 226, .16);
  --alc-ok: #3fbf8a; --alc-alerta: #f2b544; --alc-risco: #f0605d;

  --brand: var(--alc-azul); --brand-d: color-mix(in srgb, var(--alc-azul) 86%, var(--alc-noite)); --brand-dd: color-mix(in srgb, var(--alc-azul) 62%, var(--alc-noite));
  --brand-l: color-mix(in srgb, var(--alc-azul-claro) 45%, #fff); --brand-ink: var(--alc-tinta);
  --violet: var(--alc-azul); --violet-l: var(--brand-l); --navy: var(--alc-noite); --navy-2: var(--alc-orbita); --mint: var(--alc-boreal);
  --accent: var(--alc-azul); --accent-d: var(--brand-d); --accent-l: color-mix(in srgb, var(--alc-azul-claro) 55%, #fff);
  --signal: var(--alc-laranja); --signal-l: var(--alc-laranja-claro); --signal-ink: var(--alc-laranja-tinta);
  --ink: var(--alc-tinta); --ink-2: color-mix(in srgb, var(--alc-tinta) 70%, var(--alc-cinza)); --muted: var(--alc-cinza);
  --line: color-mix(in srgb, var(--alc-poeira) 28%, #fff); --bg: var(--alc-luz); --bg-2: color-mix(in srgb, var(--alc-azul-claro) 30%, var(--alc-luz)); --card: #fff;
  --ok: color-mix(in srgb, var(--alc-ok) 58%, var(--alc-tinta)); --ok-l: color-mix(in srgb, var(--alc-ok) 12%, #fff);
  --bad: color-mix(in srgb, var(--alc-risco) 74%, var(--alc-tinta)); --bad-l: color-mix(in srgb, var(--alc-risco) 10%, #fff);
  --warn: color-mix(in srgb, var(--alc-alerta) 52%, var(--alc-tinta)); --warn-l: color-mix(in srgb, var(--alc-alerta) 18%, #fff);
  --info: var(--alc-azul); --info-l: var(--accent-l);
  --p: var(--brand); --p-l: var(--brand-l);
  --shadow: 0 1px 2px rgba(14, 23, 48, .04), 0 6px 16px -6px rgba(14, 23, 48, .08);
  --shadow-lg: 0 18px 44px -14px rgba(14, 23, 48, .25);
  --r: 16px; --r-sm: 11px;
  --font-body: Inter, "Segoe UI", system-ui, sans-serif;
  --font-display: Sora, Inter, system-ui, sans-serif;
}
/* Produtos não têm cor própria; o Health Score herda o sinal (Laranja Alcor). */
body[data-product="health"] { --p: var(--alc-laranja); --p-l: var(--alc-laranja-claro); }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--ok); } .down { color: var(--bad); }
.hidden { display: none !important; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side {
  background: radial-gradient(120% 55% at 0% 0%, color-mix(in srgb, var(--alc-boreal) 20%, transparent), transparent 60%), radial-gradient(90% 40% at 100% 100%, color-mix(in srgb, var(--alc-azul) 14%, transparent), transparent 60%), linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff; padding: 20px 14px 14px; display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side::-webkit-scrollbar { width: 8px; } .side::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 8px; }
.side .brand { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 8px 10px 20px; text-align: center; }
/* Logotipo vertical: mínimo de 120 px e área de proteção de 1 X (guia da marca v2.1). */
.side .brand img { width: 128px; height: auto; max-width: 100%; object-fit: contain; align-self: center; display: block; }
.side .brand .prod { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--mint); }
.side .tenant { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 10px; border-radius: 13px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.side .tenant .tl { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; background: linear-gradient(135deg, var(--brand), var(--alc-boreal)); flex: none; }
.side .tenant b { display: block; font-size: 13px; } .side .tenant span { font-size: 11px; color: var(--alc-poeira); }
.nav-sec { font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: rgba(255, 255, 255, .45); padding: 14px 12px 6px; }
.nav-i { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border-radius: 10px; color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 13.5px; transition: .15s; width: 100%; text-align: left; }
.nav-i:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.nav-i.active { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--alc-azul) 70%, transparent); }
.nav-i i { font-size: 18px; width: 20px; text-align: center; }
.nav-i .n { margin-left: auto; background: rgba(255, 255, 255, .14); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; }
.nav-i.active .n { background: color-mix(in srgb, var(--alc-noite) 35%, transparent); }
.nav-i .dot { width: 9px; height: 9px; border-radius: 50%; margin: 0 5px; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.nav-i.here { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-i .ext { margin-left: auto; font-size: 13px; opacity: 0; transition: .15s; width: auto; }
.nav-i:hover .ext { opacity: .7; }
.side .spacer { flex: 1; min-height: 12px; }
.side-user { background: rgba(255, 255, 255, .08); border-radius: 13px; padding: 11px; display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.side-user .nm { font-size: 12.5px; font-weight: 700; line-height: 1.15; } .side-user .rl { font-size: 10.5px; opacity: .7; margin-top: 1px; }
.demo-tag { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--alc-poeira); padding: 8px 12px; }
.demo-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--alc-boreal) 15%, transparent); }

.content { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 32px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.tb-greet { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tb-greet b { color: var(--ink); }
.tb-search { flex: 1; max-width: 420px; margin-left: 12px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 8px 12px; color: var(--muted); font-size: 13px; }
.tb-search input { border: 0; background: transparent; outline: 0; font: inherit; color: var(--ink); width: 100%; }
.topbar .spacer { flex: 1; }
.tb-pill { display: flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 6px 13px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tb-pill i { font-size: 15px; color: var(--p); }
.tb-btn { position: relative; width: 38px; height: 38px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-size: 17px; transition: .15s; flex: none; }
.tb-btn:hover { border-color: var(--brand); background: var(--brand-l); }
.tb-btn .badge { position: absolute; top: -5px; right: -5px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; }
.main { padding: 26px 32px 64px; width: 100%; animation: fadeUp .35s ease both; }
.view-foot { margin-top: 28px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Banner ---------- */
.hero { background: linear-gradient(120deg, var(--navy) 22%, var(--brand) 82%, var(--accent-d) 130%); color: #fff; border-radius: var(--r); padding: 26px 28px; margin-bottom: 18px; position: relative; overflow: hidden; display: flex; gap: 24px; align-items: center; }
.hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--p) 55%, transparent), transparent 68%); opacity: .55; }
.hero .hb { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hero .eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; }
.hero h1 { font-size: 23px; font-weight: 800; }
.hero .hs { font-size: 13.5px; opacity: .85; margin-top: 6px; max-width: 640px; line-height: 1.55; }
.hero .hrow { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hpill { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); border-radius: 20px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.hpill b { color: var(--alc-boreal); }
.hero .hact { display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; }
.hero .hbig { position: relative; z-index: 1; text-align: right; }
.hero .hbig .v { font-family: var(--font-display); font-size: 54px; font-weight: 800; line-height: 1; }
.hero .hbig .l { font-size: 12px; opacity: .8; margin-top: 4px; }

/* ---------- Grade ---------- */
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.g-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.span2 { grid-column: span 2; }
.mt { margin-top: 16px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; margin: 26px 0 13px; display: flex; align-items: center; gap: 9px; }
.section-title i { color: var(--p); font-size: 18px; }
.section-title .l { flex: 1; height: 1px; background: var(--line); }
.section-title .lnk { font-size: 12.5px; font-weight: 600; color: var(--brand); font-family: var(--font-body); }

/* ---------- Cartões ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 20px; }
.card.click { cursor: pointer; transition: .18s; }
.card.click:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.c-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.c-head h3 { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.c-head h3 i { color: var(--p); font-size: 17px; }
.c-head .sub { font-size: 12px; color: var(--muted); font-weight: 500; font-family: var(--font-body); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-head .end { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; white-space: nowrap; }
.c-body { padding: 18px 20px; }
.c-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- Indicadores ---------- */
.stat { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.stat .lbl { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding-right: 44px; }
.stat .val { font-family: var(--font-display); font-weight: 800; font-size: 27px; line-height: 1.05; }
.stat .val small { font-size: 14px; font-weight: 600; color: var(--muted); }
.stat .meta { font-size: 12.5px; font-weight: 600; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stat .ic { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: var(--p-l); color: var(--p); transition: transform .2s; }
.stat.tone-ok .ic { background: var(--ok-l); color: var(--ok); } .stat.tone-bad .ic { background: var(--bad-l); color: var(--bad); } .stat.tone-warn .ic { background: var(--warn-l); color: var(--warn); } .stat.tone-violet .ic { background: var(--violet-l); color: var(--violet); }
.card.stat:hover .ic { transform: scale(1.1) rotate(6deg); }
.trend { font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: var(--r-sm); font-size: 13.5px; transition: .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-d); }
.btn.ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.light { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.btn.light:hover { background: rgba(255, 255, 255, .24); }
.btn.white { background: #fff; color: var(--navy); } .btn.white:hover { background: var(--brand-l); }
.btn.sm { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.link { color: var(--brand); font-weight: 700; font-size: 12.5px; display: inline-flex; gap: 4px; align-items: center; }
.link:hover { color: var(--brand-d); }

/* ---------- Chips e selos ---------- */
.chip { display: inline-flex; gap: 6px; align-items: center; background: var(--bg); color: var(--ink-2); font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 20px; border: 1px solid var(--line); white-space: nowrap; }
.chip.p { background: var(--p-l); color: var(--p); border-color: transparent; }
.chip.ok { background: var(--ok-l); color: var(--ok); border-color: transparent; }
.chip.bad { background: var(--bad-l); color: var(--bad); border-color: transparent; }
.chip.warn { background: var(--warn-l); color: var(--warn); border-color: transparent; }
.chip.info { background: var(--info-l); color: var(--info); border-color: transparent; }
.chip.violet { background: var(--violet-l); color: var(--violet); border-color: transparent; }
.chip.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.click { cursor: pointer; } .chip.click:hover { border-color: var(--ink); }
.chip i { font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.tabs { display: flex; gap: 4px; background: var(--card); padding: 4px; border-radius: 12px; border: 1px solid var(--line); width: fit-content; flex-wrap: wrap; }
.tab { padding: 7px 14px; border-radius: 9px; font-weight: 600; font-size: 13px; color: var(--muted); transition: .13s; }
.tab:hover { color: var(--ink); } .tab.active { background: var(--ink); color: #fff; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .spacer { flex: 1; }

/* ---------- Ícone em bloco ---------- */
.ib { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--p-l); color: var(--p); flex: none; }
.ib.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
.ib.lg { width: 52px; height: 52px; border-radius: 15px; font-size: 25px; }
.ib.ok { background: var(--ok-l); color: var(--ok); } .ib.bad { background: var(--bad-l); color: var(--bad); } .ib.warn { background: var(--warn-l); color: var(--warn); } .ib.info { background: var(--info-l); color: var(--info); } .ib.violet { background: var(--violet-l); color: var(--violet); } .ib.brand { background: var(--brand-l); color: var(--brand); }
.ib.grad { background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 55%, var(--alc-noite))); color: #fff; }

/* ---------- Listas ---------- */
.rows .r { display: flex; align-items: center; gap: 13px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.rows .r:last-child { border-bottom: 0; }
.rows .r .t { font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.rows .r .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rows .r .end { margin-left: auto; text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rows .r.click { cursor: pointer; transition: background .13s; } .rows .r.click:hover { background: var(--bg); }
.rows .r .grow { flex: 1; min-width: 0; }

/* ---------- Tabela ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 12px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 700; background: var(--alc-luz); }
.tbl td { padding: 13px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .12s; } .tbl tbody tr:hover { background: var(--alc-luz); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.tbl .chip, .tbl td:last-child { white-space: nowrap; }
.who { display: flex; align-items: center; gap: 11px; } .who b { display: block; font-size: 13.5px; white-space: nowrap; } .who > div > span { display: block; font-size: 12px; color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; flex: none; }
.avatar.lg { width: 44px; height: 44px; border-radius: 13px; font-size: 15px; }

/* ---------- Barras e gráficos ---------- */
.pbar { height: 8px; border-radius: 8px; background: var(--bg-2); overflow: hidden; }
.pbar > span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--p), color-mix(in srgb, var(--p) 62%, #fff)); }
.pbar.ok > span { background: linear-gradient(90deg, var(--alc-ok), var(--alc-ok)); } .pbar.bad > span { background: linear-gradient(90deg, var(--alc-risco), var(--alc-risco)); } .pbar.warn > span { background: linear-gradient(90deg, var(--warn), var(--alc-alerta)); }
.hbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hbar:last-child { margin-bottom: 0; }
.hbar .nm { width: 150px; font-size: 13px; font-weight: 600; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .track { flex: 1; height: 24px; background: var(--bg); border-radius: 7px; overflow: hidden; }
.hbar .fill { height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--p), color-mix(in srgb, var(--p) 70%, #fff)); display: flex; align-items: center; justify-content: flex-end; padding-right: 9px; color: #fff; font-size: 11.5px; font-weight: 700; min-width: 38px; }
.hbar .bv { width: 82px; font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; flex: none; }
.cols { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 22px; }
.cols .col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.cols .cbar { width: 100%; max-width: 48px; background: linear-gradient(180deg, color-mix(in srgb, var(--p) 75%, #fff), var(--p)); border-radius: 7px 7px 3px 3px; }
.cols .cv { font-size: 11.5px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cols .cl { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid-l { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.lc { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: var(--lc-h) auto; column-gap: 10px; }
.lc-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--muted); text-align: right; margin: -7px 0; }
.lc-plot { position: relative; }
.lc-plot .chart { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
.lc-grid i { display: block; border-top: 1px solid var(--line); }
.lc-end { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid; transform: translate(-50%, -50%); }
.lc-x { grid-column: 2; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; }
.lc-x span { flex: 0 0 auto; min-width: 0; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); font-weight: 600; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut { position: relative; flex: none; }
.donut .dv { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut .dv b { font-family: var(--font-display); font-size: 30px; display: block; line-height: 1; }
.donut .dv span { font-size: 11px; color: var(--muted); font-weight: 600; }
.split { display: flex; height: 12px; border-radius: 8px; overflow: hidden; gap: 3px; }
.split span { display: block; height: 100%; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv b { font-variant-numeric: tabular-nums; }

/* ---------- Destaques coloridos ---------- */
.tile { border-radius: var(--r); padding: 18px 20px; color: #fff; display: flex; gap: 14px; align-items: center; position: relative; overflow: hidden; transition: .18s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tile .ti { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 22px; flex: none; }
.tile b { font-family: var(--font-display); font-size: 15px; display: block; }
.tile span { font-size: 12.5px; opacity: .88; }
.tile .end { margin-left: auto; }
.quick { display: flex; gap: 13px; align-items: center; padding: 16px 18px; }
.quick b { display: block; font-size: 13.5px; } .quick span { font-size: 12px; color: var(--muted); }

/* ---------- Kanban ---------- */
.board { display: grid; grid-template-columns: repeat(5, minmax(186px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.lane { background: var(--bg-2); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 186px; }
.lane-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; padding: 2px 4px 4px; }
.lane-h .sum { white-space: nowrap; margin-left: auto; font-family: var(--font-body); font-size: 12px; color: var(--muted); font-weight: 600; }
.deal { background: #fff; border-radius: 12px; padding: 12px 13px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.deal b { font-size: 13px; } .deal .v { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.deal .m { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); }

/* ---------- Comentários / feed ---------- */
.quote { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 13px; }
.quote:last-child { border-bottom: 0; }
.quote .q { font-size: 13.5px; line-height: 1.55; margin-top: 4px; }
.quote .qm { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.score { min-width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; flex: none; }
.score.ok { background: var(--ok-l); color: var(--ok); } .score.warn { background: var(--warn-l); color: var(--warn); } .score.bad { background: var(--bad-l); color: var(--bad); }
.stars { color: var(--warn); letter-spacing: 1px; font-size: 13px; }
.timeline .ev { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.timeline .ev::before { content: ""; position: absolute; left: 16px; top: 44px; bottom: -4px; width: 2px; background: var(--line); }
.timeline .ev:last-child::before { display: none; }
.timeline .ev .t { font-size: 13px; font-weight: 600; } .timeline .ev .s { font-size: 12px; color: var(--muted); }


/* ---------- Construtor, chaves, prévia e janela ---------- */
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.step { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--muted); }
.step b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); font-size: 12px; }
.step.done b { background: var(--ok); color: #fff; } .step.done { color: var(--ink); }
.step.active { border-color: var(--p); color: var(--ink); box-shadow: 0 0 0 3px var(--p-l); } .step.active b { background: var(--p); color: #fff; }
.split-screen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr); gap: 16px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .4px; }
.field input, .field textarea, .field select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--p-l); border-color: var(--p); }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.opt-row:last-child { border-bottom: 0; }
.opt-row .grow { flex: 1; min-width: 0; } .opt-row .t { font-weight: 700; font-size: 13.5px; } .opt-row .s { font-size: 12px; color: var(--muted); }
.switch { width: 40px; height: 23px; border-radius: 20px; background: var(--line); position: relative; flex: none; transition: .2s; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.switch.on { background: var(--p); } .switch.on::after { left: 20px; }
.phone { width: 320px; max-width: 100%; margin: 0 auto; border-radius: 34px; padding: 12px; background: var(--alc-noite); box-shadow: var(--shadow-lg); }
.phone-in { border-radius: 24px; background: #fff; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.phone-top { padding: 18px 18px 14px; background: linear-gradient(135deg, var(--navy), var(--brand)); color: #fff; }
.phone-top img { height: 18px; } .phone-top b { display: block; font-family: var(--font-display); font-size: 15px; margin-top: 12px; line-height: 1.35; }
.phone-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.scale button { height: 30px; border-radius: 6px; font-weight: 700; font-size: 12px; color: #fff; transition: .15s; }
.scale button.sel { outline: 3px solid var(--ink); outline-offset: 1px; transform: translateY(-2px); }
.scale-l { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }
.reasons { display: flex; flex-wrap: wrap; gap: 6px; }
.reasons span { padding: 6px 10px; border-radius: 20px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; background: var(--bg); }
.reasons span.on { background: var(--p-l); border-color: var(--p); color: var(--p); }
.faux-input { border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--muted); min-height: 60px; font-size: 12.5px; }
.overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--alc-noite) 55%, transparent); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 80; padding: 20px; animation: fadeUp .2s ease both; }
.modal { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-h { padding: 18px 22px; background: var(--navy); color: #fff; display: flex; gap: 12px; align-items: center; }
.modal-h h3 { font-size: 16px; flex: 1; } .modal-b { padding: 20px 22px; overflow: auto; } .modal-f { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.chan { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.chan .top { display: flex; justify-content: space-between; align-items: center; }
.drill { cursor: pointer; } .drill:hover { filter: brightness(1.08); }
@media (max-width: 1080px) { .split-screen { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Interatividade ---------- */
.modal.wide { max-width: 760px; }
.modal-x { width: 32px; height: 32px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.modal-x:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -14px; width: 9px; height: 14px; border-radius: 2px; animation: cfFall linear forwards; }
@keyframes cfFall { to { transform: translateY(105vh) rotate(720deg); opacity: .9; } }
[data-drag] { cursor: grab; }
[data-drag].dragging { opacity: .45; transform: rotate(2deg); }
.lane.over { outline: 2px dashed var(--p); outline-offset: -4px; background: var(--p-l); }
.search-hide { display: none !important; }
.search-info { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; background: var(--brand-l); color: var(--brand-ink); font-size: 13px; font-weight: 600; }
.demo-reset { color: var(--mint); font-weight: 700; font-size: 11.5px; text-decoration: underline; }
.is-new { animation: newRow 2.6s ease both; }
@keyframes newRow { 0%, 40% { background: #fff5c2; } 100% { background: transparent; } }

/* ---------- Simulador de celular (pesquisas ao vivo) ---------- */
.sim { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.sim-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; width: 100%; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); gap: 2px; }
.seg button { padding: 7px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.seg button.on { background: var(--p); color: #fff; box-shadow: 0 4px 12px -4px var(--p); }
.sim-who { font: inherit; font-size: 12.5px; font-weight: 600; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.sim-hint { font-size: 12px; color: var(--muted); text-align: center; max-width: 320px; display: flex; gap: 6px; align-items: center; justify-content: center; }
.phone { position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 20px; background: var(--alc-noite); z-index: 3; }
.phone-in { position: relative; height: 620px; min-height: 0; }
.phone-status { height: 40px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 22px 0; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); }
.phone-status.light { background: #fff; color: var(--ink); }
.phone-status.wa { background: #075e54; }
.phone-status span:last-child { display: flex; gap: 4px; }
.phone-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; scrollbar-width: thin; }
.phone-top .mark-var { background: color-mix(in srgb, var(--alc-boreal) 22%, transparent); color: #fff; border-radius: 4px; padding: 0 3px; }
.phone-prog { height: 4px; background: rgba(255, 255, 255, .18); border-radius: 4px; margin-top: 14px; overflow: hidden; }
.phone-prog span { display: block; height: 100%; background: var(--mint); border-radius: 4px; transition: width .4s ease; }
.scale button { cursor: pointer; }
.scale button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.scale.dim button:not(.sel) { opacity: .45; }
.scale.s5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale.s5 button { height: 50px; font-size: 22px; background: var(--bg) !important; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; }
.scale.s5 button.sel { background: var(--p-l) !important; border-color: var(--p); outline: 2px solid var(--p); outline-offset: 0; }
.scale.s5 button small { font-size: 9.5px; font-weight: 700; color: var(--muted); margin-top: -4px; }
.reasons span { cursor: pointer; transition: .15s; user-select: none; }
.reasons span:hover { border-color: var(--p); }
.pv-q { font-weight: 700; }
.pv-saved { display: inline-flex; align-self: flex-start; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 20px; background: var(--ok-l); color: var(--ok); font-size: 11.5px; font-weight: 700; }
.pv-text { font: inherit; font-size: 12.5px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 64px; resize: none; color: var(--ink); width: 100%; }
.pv-text:focus { outline: 2px solid var(--p-l); border-color: var(--p); }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.yn button { padding: 9px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; font-size: 12.5px; background: #fff; }
.yn button.sel { background: var(--p); border-color: var(--p); color: #fff; }
.pv-area { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.pv-stars { display: flex; gap: 2px; }
.pv-stars button { font-size: 20px; color: var(--line); line-height: 1; transition: .12s; }
.pv-stars button.on { color: var(--warn); }
.pv-stars button:hover { transform: scale(1.15); }
.pv-send:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pv-thanks { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 26px 22px; }
.pv-check { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; color: #fff; background: linear-gradient(135deg, var(--ok), var(--alc-ok)); box-shadow: 0 14px 32px -10px var(--ok); animation: pop .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.pv-check.bad { background: linear-gradient(135deg, var(--p), var(--violet)); box-shadow: 0 14px 32px -10px var(--p); }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } to { transform: scale(1) rotate(0); } }
.pv-thanks h4 { font-family: var(--font-display); font-size: 19px; }
.pv-thanks p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.pv-google { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: 12.5px; background: #fff; }
/* WhatsApp */
.wa-head { display: flex; gap: 10px; align-items: center; padding: 8px 12px 10px; background: #075e54; color: #fff; flex: none; }
.wa-head .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.wa-head .av img { width: 24px; height: 24px; object-fit: contain; }
.wa-head b { font-size: 14px; display: flex; gap: 4px; align-items: center; } .wa-head small { font-size: 11px; opacity: .8; }
.wa-body { flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; background: #efeae2 radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px) 0 0 / 14px 14px; scrollbar-width: thin; }
.wa-day { align-self: center; font-size: 10.5px; font-weight: 700; background: #fff; color: #54656f; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bub { max-width: 84%; padding: 7px 9px 5px; border-radius: 10px; font-size: 12.8px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); position: relative; }
.bub.anim, .typing { animation: fadeUp .25s ease both; }
.bub.bot { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.bub.me { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.bub .tm { display: block; text-align: right; font-size: 9.5px; color: #667781; margin-top: 2px; }
.bub .tm .pv-checks { color: #53bdeb; }
.wa-opts { display: flex; flex-wrap: wrap; gap: 5px; align-self: flex-start; max-width: 92%; animation: fadeUp .3s ease both; }
.wa-opts button { background: #fff; color: #027eb5; font-weight: 700; font-size: 12px; padding: 7px 11px; border-radius: 9px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-opts button:hover { background: var(--accent-l); }
.wa-opts.nums button { width: 34px; padding: 7px 0; }
.typing { align-self: flex-start; background: #fff; border-radius: 10px; padding: 10px 12px; display: flex; gap: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-input { display: flex; gap: 6px; padding: 8px; background: var(--bg-2); flex: none; }
.wa-input input { flex: 1; font: inherit; font-size: 12.5px; border: 0; border-radius: 20px; padding: 9px 14px; background: #fff; min-width: 0; }
.wa-input button { width: 38px; height: 38px; border-radius: 50%; background: #00a884; color: #fff; display: grid; place-items: center; font-size: 17px; flex: none; }
.wa-input input:disabled, .wa-input button:disabled { opacity: .55; }
/* E-mail */
.mail-head { padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; flex: none; }
.mail-head .sub { font-weight: 800; font-size: 14px; font-family: var(--font-display); }
.mail-head .from { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.mail-head .from b { color: var(--ink); }
.mail-body { padding: 14px; background: var(--bg); flex: 1; }
.mail-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.mail-card .mh { padding: 14px 16px; background: linear-gradient(135deg, var(--navy), var(--brand)); }
.mail-card .mh img { height: 18px; }
.mail-card .mb { padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 12.8px; line-height: 1.5; }
.mail-foot { font-size: 10.5px; color: var(--muted); text-align: center; padding: 12px; }
/* Construtor */
.steps .step { cursor: pointer; transition: .15s; }
.steps .step:hover { border-color: var(--p); }
.metric-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric-pick button { text-align: left; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 8px; transition: .15s; }
.metric-pick button:hover { border-color: var(--p); transform: translateY(-2px); }
.metric-pick button.on { border-color: var(--p); box-shadow: 0 0 0 4px var(--p-l); }
.metric-pick b { font-family: var(--font-display); font-size: 16px; }
.metric-pick span { font-size: 12px; color: var(--muted); line-height: 1.45; }
.mini-scale { display: flex; gap: 2px; margin-top: 4px; }
.mini-scale i { flex: 1; height: 8px; border-radius: 3px; }
.var-chip { cursor: pointer; }
.var-chip:hover { border-color: var(--p); color: var(--p); }
.rep { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; transition: .2s; }
.rep.off { opacity: .55; background: var(--bg); }
.rep-h { display: flex; gap: 10px; align-items: center; }
.rep-b { display: grid; gap: 8px; margin-top: 10px; }
.rep-b input { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; }
.drop { border: 2px dashed var(--line); border-radius: 14px; padding: 26px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; background: var(--alc-luz); transition: .2s; cursor: pointer; }
.drop:hover { border-color: var(--p); background: var(--p-l); }
.drop .ib { margin-bottom: 4px; }
.upl { display: flex; flex-direction: column; gap: 10px; }
.map-row { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.map-row:last-child { border-bottom: 0; }
.map-row code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: var(--bg); padding: 3px 8px; border-radius: 6px; }
.alert-mail { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.alert-mail .am-h { padding: 10px 14px; background: var(--bg); font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.alert-mail .am-h b { color: var(--ink); }
.alert-mail .am-b { padding: 14px; font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.chat-alert { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: var(--brand-l); border: 1px solid var(--alc-azul-claro); font-size: 12.5px; }
.chat-alert .av { width: 32px; height: 32px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; flex: none; }
.chat-alert .av img { width: 20px; }
.check-list label { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-size: 13px; cursor: pointer; }
.tabs .tab { cursor: pointer; }
.deal.click { cursor: pointer; }
.deal.click:hover { border-color: var(--p); }
.lane-add { width: 100%; justify-content: center; }
.weights .hbar input { width: 100%; accent-color: var(--p); }
@media (max-width: 860px) { .metric-pick { grid-template-columns: minmax(0, 1fr); } .sim { position: static; } .map-row { grid-template-columns: 1fr auto 1fr; } .map-row > :last-child { display: none; } }
@media (max-width: 560px) { .phone { width: 100%; } .phone-in { height: 600px; } }

/* ---------- Responsivo ---------- */
.scrim { position: fixed; inset: 0; background: color-mix(in srgb, var(--alc-noite) 50%, transparent); z-index: 56; display: none; }
.scrim.show { display: block; }
@media (max-width: 1280px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board { grid-template-columns: repeat(5, 230px); } }
@media (max-width: 1080px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main, .g-side { grid-template-columns: minmax(0, 1fr); } .tb-search { display: none; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: -280px; z-index: 60; transition: left .25s; width: 264px; }
  .side.open { left: 0; }
  .menu-btn { display: grid; }
  .topbar { padding: 12px 14px; }
  .main { padding: 18px 14px 56px; }
  .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: span 1; }
  .tb-pill.opt { display: none; }
  .hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .hero .hbig { text-align: left; }
  .hbar .nm { width: 96px; } .hbar .bv { width: 64px; }
  .cols { gap: 4px; } .cols .cl { font-size: 9.5px; white-space: normal; text-align: center; line-height: 1.15; } .cols .cv { font-size: 10.5px; }
  .c-head { flex-wrap: wrap; } .c-head .sub { flex: 1 1 auto; } .c-head .end { margin-left: 0; white-space: normal; flex: 1 1 100%; flex-wrap: wrap; }
}
@media (max-width: 560px) { .g4 { grid-template-columns: minmax(0, 1fr); } .tb-greet { display: none; } .hero h1 { font-size: 20px; } }
