/* =====================================================================
   Padrão visual "Digital Hub" — kit base para novas plataformas
   Tema escuro "black" (padrão) e claro "gelo". Troca via data-theme no <html>.
   Extraído e consolidado de digital-hub/public/style.css (camada "Visão geral").
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --font: 'Geist', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg: #000;                 /* fundo da janela (atrás da moldura) */
  --panel: #000;              /* menu lateral e painel principal */
  --panel-glow: radial-gradient(900px 520px at 100% 100%, rgba(255,255,255,.035), transparent 65%),
                radial-gradient(700px 420px at 0% 0%, rgba(255,255,255,.02), transparent 60%);
  --card: #060606;
  --card-2: #0c0c0c;          /* cabeçalho de tabela, controles segmentados, mini cards */
  --card-3: #161616;          /* trilhos de barra, chips */
  --raise: #0a0a0a;           /* item "em relevo": menu ativo, aba do tema, botão rápido */
  --raise-shadow: 0 0 0 1px #222, 0 0 22px rgba(255,255,255,.05);
  --hover: rgba(255,255,255,.04);
  --border: #1a1a1a;
  --border-2: #262626;
  --grid: #141414;

  --text: #fafafa;
  --text-2: #a1a1a1;
  --muted: #6b6b6b;
  --ink: #fafafa;             /* cor principal monocromática: botão primário, aba ativa, linha do gráfico */
  --ink-text: #0a0a0a;
  --series-2: #4d4d4d;        /* segunda série do gráfico (tracejada) */

  --pos: #3ccf7f;  --pos-soft: rgba(60,207,127,.12);  --pos-line: rgba(60,207,127,.32);
  --warn: #e7b14a; --warn-soft: rgba(231,177,74,.12);
  --bad: #f06565;  --bad-soft: rgba(240,101,101,.12);
  --info: #6aa0ff;

  --tip-bg: #f3f3f4; --tip-text: #0b0b0c;   /* toast e tooltip: sempre invertidos */
  --stage-glow: radial-gradient(closest-side, rgba(255,255,255,.16), transparent 75%);
  --shadow: none;
  --shadow-pop: 0 24px 60px rgba(0,0,0,.55);

  --r-panel: 18px; --r-card: 16px; --r-ctl: 10px; --r-pill: 999px;
  --side-w: 222px; --gap: 12px; --frame: 10px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ededec;
  --panel: #f9f9f8;
  --panel-glow: radial-gradient(1000px 560px at 100% 105%, rgba(244,226,193,.6), transparent 62%),
                radial-gradient(800px 420px at 0% 0%, rgba(255,255,255,.9), transparent 60%);
  --card: #f4f4f3;
  --card-2: #efefee;
  --card-3: #e6e6e5;
  --raise: #fff;
  --raise-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --hover: rgba(0,0,0,.035);
  --border: #e5e5e3;
  --border-2: #d9d9d7;
  --grid: #ebebea;

  --text: #0c0c0c;
  --text-2: #555;
  --muted: #8e8e8e;
  --ink: #0c0c0c;
  --ink-text: #fafafa;
  --series-2: #bdbdbb;

  --pos: #149a52;  --pos-soft: rgba(20,154,82,.1);  --pos-line: rgba(20,154,82,.28);
  --warn: #a8700f; --warn-soft: rgba(168,112,15,.1);
  --bad: #cf3b3b;  --bad-soft: rgba(207,59,59,.09);

  --tip-bg: #0e0f11; --tip-text: #fafafa;
  --stage-glow: radial-gradient(closest-side, rgba(0,0,0,.07), transparent 75%);
  --shadow: inset 0 1px 0 rgba(255,255,255,.7);
  --shadow-pop: 0 24px 60px rgba(16,18,24,.18);
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
html, body { min-height: 100%; max-width: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 13px/1.45 var(--font); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
a { color: var(--text); text-decoration: none; }
code { font-family: var(--mono); font-size: 12px; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
[data-icon] { display: inline-flex; }
.up, .pos { color: var(--pos); } .down, .neg { color: var(--bad); } .flat { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 3. Moldura: menu flutuante + painel ---------- */
.shell { min-height: 100vh; }
.sidebar { position: fixed; top: var(--frame); left: var(--frame); bottom: var(--frame); width: var(--side-w); z-index: 30;
  display: flex; flex-direction: column; gap: 22px; padding: 18px 10px 12px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-panel); }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 12px 0; user-select: none; }
.brand img { width: 146px; height: auto; display: block; }
.brand .mark { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: var(--ink-text); font-weight: 800; font-size: 14px; letter-spacing: -0.04em; }
.brand .word { font-size: 16px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.brand .word small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; flex-direction: column; gap: 2px; flex: 1 0 auto; }
.nav-head { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 11px 6px; }
.nav .divider { height: 1px; background: var(--border); margin: 10px 8px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 11px; border-radius: var(--r-ctl); border: 1px solid transparent;
  background: none; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 500; text-align: left; cursor: pointer; }
.nav-item svg.i { width: 17px; height: 17px; color: var(--muted); }
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item.active { background: var(--raise); box-shadow: var(--raise-shadow); color: var(--text); }
.nav-item.active svg.i { color: var(--text); }
.nav-item .dot { width: 10px; height: 10px; border-radius: 50%; margin: 0 4px; flex: none; }
.nav-item .count { margin-left: auto; font-size: 10.5px; color: var(--muted); }
.scrim { display: none; }

.main { margin: var(--frame) var(--frame) var(--frame) calc(var(--side-w) + var(--frame) * 2); min-width: 0; min-height: calc(100vh - var(--frame) * 2);
  border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--panel-glow), var(--panel); background-attachment: fixed; }

/* cabeçalho */
.header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 16px; padding: 22px 26px 18px; }
.icon-btn.menu-btn { display: none; }
.titles h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.15; }
.titles p { margin: 3px 0 0; font-size: 11.5px; color: var(--text-2); }
.titles { grid-column: 2; min-width: 0; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--raise); box-shadow: var(--raise-shadow); font-size: 11.5px; font-weight: 600; }

/* conteúdo + faixa da página */
.content { max-width: 1400px; margin: 0 auto; padding: 0 28px 40px; min-width: 0; }
.pagebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 16px 0 14px; }
.pagebar-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pagebar-actions { display: flex; align-items: center; gap: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.eyebrow > i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-2); }
.eyebrow-sm { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.status-line { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pos); margin-right: 2px; }
.view { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.view > * { min-width: 0; }

/* ---------- 4. Controles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: var(--r-ctl);
  border: 1px solid var(--border-2); background: var(--card); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: background .15s, opacity .15s; }
.btn:hover { background: var(--card-2); }
.btn svg.i { width: 15px; height: 15px; }
.btn.primary { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }
.btn.primary:hover { opacity: .88; }
.btn.ghost { background: none; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { color: var(--text); background: var(--hover); }
.btn.danger { color: var(--bad); }
.btn.small { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-ctl); border: 1px solid var(--border-2); background: var(--card); color: var(--text); cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--card-2); }
.icon-btn.bare { border: 0; background: none; }
.icon-btn .badge { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--panel); }
.icon-btn.spin svg.i { animation: ui-spin .8s linear infinite; }
@keyframes ui-spin { to { transform: rotate(360deg); } }

.theme-toggle { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--card-2); border: 1px solid var(--border); }
.theme-toggle button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.theme-toggle button svg.i { width: 15px; height: 15px; }
.theme-toggle button.active { background: var(--raise); box-shadow: var(--raise-shadow); color: var(--text); }
:root[data-theme="light"] .theme-toggle button.active { color: #e0a412; }

input, select, textarea { font: inherit; font-size: 12.5px; color: var(--text); background: var(--card); border: 1px solid var(--border-2); border-radius: var(--r-ctl); padding: 9px 12px; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--hover); border-color: var(--text-2); }
select { appearance: none; padding-right: 34px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8e8e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
input[type=checkbox] { accent-color: var(--ink); width: 16px; height: 16px; }
input[type=date] { color-scheme: inherit; }
.field { display: grid; gap: 6px; color: var(--text-2); font-size: 12px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.span2 { grid-column: 1 / -1; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; min-width: 0; }

.search { position: relative; flex: 1 1 200px; max-width: 340px; }
.search svg.i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.search input { width: 100%; height: 36px; padding-left: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.filters select { height: 36px; }

/* botão de período (ícone em caixinha à esquerda) */
.period { position: relative; }
.period-btn { padding: 0 10px 0 0; gap: 10px; overflow: hidden; }
.period-btn .cal { display: grid; place-items: center; width: 34px; height: 100%; border-right: 1px solid var(--border-2); }
.period-btn .chev svg.i { width: 14px; height: 14px; color: var(--muted); }
.menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; display: grid; padding: 6px; z-index: 40;
  background: var(--card); border: 1px solid var(--border-2); border-radius: 14px; box-shadow: var(--shadow-pop); }
.menu > button { text-align: left; background: none; border: 0; color: var(--text); font: inherit; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.menu > button:hover, .menu > button.active { background: var(--card-3); }

/* abas = controle segmentado */
.tabs, .seg { display: inline-flex; gap: 2px; padding: 3px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--card-2); border: 1px solid var(--border); border-radius: 11px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .seg button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.seg { border-radius: 10px; } .seg button { font-size: 11.5px; padding: 5px 11px; border-radius: 7px; }
.tabs button:hover, .seg button:hover { color: var(--text); }
.tabs button.active, .seg button.active { background: var(--ink); color: var(--ink-text); }
.tabs button svg.i { width: 15px; height: 15px; }
.view > .tabs { justify-self: start; }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--card-3); border: 1px solid var(--border-2); cursor: pointer; transition: background .15s; }
.switch span::after { content: ''; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .15s; }
.switch input:checked + span { background: var(--pos); border-color: var(--pos); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--text-2); outline-offset: 2px; }

/* ---------- 5. Cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px 18px; min-width: 0; box-shadow: var(--shadow); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-head h2 { margin: 0 auto 0 0; font-size: 15px; font-weight: 600; letter-spacing: -0.04em; display: flex; align-items: center; gap: 8px; }
.card-head h2 svg.i { width: 15px; height: 15px; color: var(--muted); }
.card-foot { display: flex; align-items: center; gap: 8px; margin: 14px -18px -16px; padding: 11px 18px; border-top: 1px solid var(--border); font-size: 10.5px; color: var(--muted); }
.card-foot svg.i { width: 12px; height: 12px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: var(--gap); }
/* painel: card de destaque fixo à esquerda + coluna principal */
.dash { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--gap); }
.dash > * { min-width: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }

/* KPIs: rótulo pequeno, ícone discreto no canto, número grande */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.kpi { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 14px 16px 13px; min-width: 0; box-shadow: var(--shadow); }
.kpi .label { font-size: 11.5px; color: var(--text-2); padding-right: 30px; }
.kpi .ico { position: absolute; top: 12px; right: 12px; color: var(--muted); }
.kpi .ico svg.i { width: 15px; height: 15px; }
.kpi .value { margin-top: 14px; font-size: 22px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .delta { margin-top: 4px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .delta b { font-weight: 600; margin-right: 4px; }
.delta svg.i { width: 12px; height: 12px; stroke-width: 2.2; margin-top: -2px; }

/* card de destaque (número principal + meta + atalhos) */
.hero { padding: 16px 18px 18px; }
.hero-top { display: flex; align-items: center; gap: 9px; }
.chip { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card-3); border: 1px solid var(--border-2); color: var(--text-2); }
.chip svg.i { width: 13px; height: 13px; }
.hero-label { font-size: 12.5px; color: var(--text-2); }
.hero-value { margin: 18px 0 22px; font-size: 34px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goal-head { display: flex; justify-content: space-between; align-items: center; }
.goal-t { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.goal-t svg.i { width: 12px; height: 12px; }
.link-quiet { background: none; border: 0; padding: 0; font: inherit; font-size: 10.5px; color: var(--muted); cursor: pointer; }
.link-quiet:hover { color: var(--text); }
.bar { height: 4px; border-radius: 99px; background: var(--card-3); overflow: hidden; margin: 9px 0 8px; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: var(--ink); transition: width .5s; }
.goal-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--muted); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.qbtn { display: grid; justify-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 14px; border: 1px solid var(--border); background: transparent; color: var(--text-2); font: inherit; font-size: 11.5px; font-weight: 500; cursor: pointer; transition: transform .15s; }
.qbtn.on { background: var(--raise); box-shadow: var(--raise-shadow); color: var(--text); }
.qbtn:hover { transform: translateY(-1px); color: var(--text); }
.qbtn span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border); }
.qbtn svg.i { width: 12px; height: 12px; }

/* palco com brilho (para troféu, ilustração, produto) */
.stage { display: grid; place-items: center; min-height: 200px; padding: 22px 0; background: var(--stage-glow) center / 240px 240px no-repeat; }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--card-2); min-width: 0; }
.mini .l { font-size: 11px; color: var(--muted); }
.mini .v { font-size: 18px; font-weight: 600; letter-spacing: -0.04em; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.note { display: flex; gap: 12px; align-items: flex-start; background: var(--card-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--text-2); font-size: 12.5px; }
.note svg.i { color: var(--text); margin-top: 1px; width: 16px; height: 16px; }
.banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); font-size: 13px; }
.banner .btn { margin-left: auto; }

/* selos */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 500; white-space: nowrap; border: 1px solid var(--border-2); background: var(--card-2); color: var(--text-2); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.good { color: var(--pos); background: var(--pos-soft); border-color: var(--pos-line); }
.pill.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.pill.bad { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.pill.off i { background: var(--muted); }
.pill.tiny { font-size: 10px; padding: 2px 8px; gap: 4px; }

/* barras horizontais */
.hbars { display: grid; gap: 16px; }
.hbar .name { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 9px; }
.track { height: 8px; border-radius: 99px; background: var(--card-3); overflow: hidden; }
.track > span { display: block; height: 100%; border-radius: 99px; background: var(--ink); }

/* gráfico SVG */
.chart { position: relative; height: 260px; min-height: 220px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .gridl { stroke: var(--grid); stroke-dasharray: 2 5; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.legend { display: flex; gap: 16px; color: var(--text-2); font-size: 11.5px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legend i.dash { width: 16px; height: 0; border-top: 2px dashed var(--series-2); border-radius: 0; }

/* ---------- 6. Tabelas ---------- */
.table-wrap { overflow-x: auto; margin: 0 -18px; padding: 0 18px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
thead th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--muted); padding: 10px 12px; background: var(--card-2); white-space: nowrap; }
thead th:first-child { border-radius: 10px 0 0 10px; }
thead th:last-child { border-radius: 0 10px 10px 0; }
td { padding: 10px 12px; font-size: 12.5px; border-bottom: 1px solid var(--grid); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
td .sub { color: var(--text-2); font-size: 11.5px; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--hover); }
tr.total td { border-top: 1px solid var(--border-2); font-weight: 600; }
.ini { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; background: var(--card-3); border: 1px solid var(--border-2); }
.cust { display: flex; align-items: center; gap: 10px; }
.empty { color: var(--muted); text-align: center; padding: 36px 12px; }

/* ---------- 7. Modal, toast, tooltip, login ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); }
:root[data-theme="light"] .modal { background: rgba(20,22,28,.28); }
.modal-card { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-panel); box-shadow: var(--shadow-pop); }
.modal-card.wide { max-width: 760px; }
.modal-card h2 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.04em; }
.mhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.mfoot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 80; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 12px; font-size: 13px; font-weight: 500; background: var(--tip-bg); color: var(--tip-text); box-shadow: var(--shadow-pop); }
.tooltip { position: fixed; z-index: 70; pointer-events: none; min-width: 140px; padding: 9px 12px; border-radius: 10px; font-size: 12px; line-height: 1.55; background: var(--tip-bg); color: var(--tip-text); box-shadow: var(--shadow-pop); }
.toast *, .tooltip * { color: inherit; }

.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--panel-glow), var(--bg); }
.login-card { width: 100%; max-width: 360px; display: grid; gap: 14px; padding: 32px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-panel); box-shadow: var(--shadow-pop); }
.login-card h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.04em; }

/* ---------- 8. Responsivo ---------- */
@media (max-width: 1240px) {
  .grid-2, .grid-3, .dash { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  :root { --frame: 8px; }
  .sidebar { transform: translateX(calc(-100% - 24px)); transition: transform .2s; top: max(8px, env(safe-area-inset-top)); bottom: max(8px, env(safe-area-inset-bottom)); }
  .sidebar.open { transform: none; }
  .scrim.open { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(0,0,0,.5); }
  .main { margin: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
  .icon-btn.menu-btn { display: inline-grid; }
  .header { padding: 16px; }
  .content { padding: 0 16px 32px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-wrap { margin: 0 -16px; padding: 0 16px; }
  .card { padding: 16px; } .card-foot { margin: 14px -16px -16px; padding: 11px 16px; }
  input, select, textarea { font-size: 16px; }   /* iPhone não dá zoom ao tocar */
  .toast { bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px)); }
}
@media (max-width: 640px) {
  .titles h1 { font-size: 19px; }
  .titles p, .avatar, .hide-sm { display: none; }
  .header-actions { gap: 8px; }
  .kpis { gap: 10px; }
  .kpi { padding: 12px 13px; }
  .kpi .value { font-size: 17px; letter-spacing: -0.04em; }
  .hero-value { font-size: 30px; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pagebar-actions { width: 100%; }
  .period { flex: 1; } .period-btn { width: 100%; justify-content: flex-start; } .period-btn .chev { margin-left: auto; }
  .filters > * { flex: 1 1 100%; max-width: none; }
  .view > .tabs { justify-self: stretch; }
  .modal { padding: 10px; align-items: end; }
  .modal-card { padding: 18px; }
  .chart { height: 220px; }
  /* tabelas viram cartões: marque <table class="stack"> e cada <td data-label="..."> */
  .table-wrap:has(> table.stack) { margin: 0; padding: 0; overflow: visible; }
  table.stack, table.stack tbody { display: block; }
  table.stack thead { display: none; }
  table.stack tbody tr { display: block; margin-bottom: 10px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-2); }
  table.stack tbody td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; text-align: right; overflow-wrap: anywhere; }
  table.stack tbody td::before { content: attr(data-label); flex: none; max-width: 45%; text-align: left; font-size: 12px; color: var(--muted); }
  table.stack tbody td:not([data-label])::before { content: none; }
  table.stack tbody td:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .icon-btn.spin svg.i { animation-duration: 2.4s; } }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sw { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--card-2); }
.sw i { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-2); }
.sw b { font-weight: 500; font-size: 12.5px; } .sw code { color: var(--muted); font-size: 11px; }
.type-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ===== Extensões do padrão Digital Hub para a plataforma de vendas ===== */
.nav-group { display: grid; gap: 2px; }
.nav-item .chev-s { margin-left: auto; color: var(--muted); transition: transform .15s; }
.nav-item .chev-s svg.i { width: 14px; height: 14px; }
.nav-group.open > .nav-item .chev-s { transform: rotate(180deg); }
.nav-sub { display: none; gap: 1px; padding-left: 18px; position: relative; }
.nav-sub::before { content: ''; position: absolute; left: 20px; top: 4px; bottom: 4px; width: 1px; background: var(--border); }
.nav-group.open .nav-sub { display: grid; }
.nav-sub .nav-item { padding: 6px 11px 6px 18px; font-size: 12.5px; }
.sidebar-foot { display: grid; gap: 2px; }
.wallet-mini { margin: 0 4px 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card-2); }
.wallet-mini .l { font-size: 10.5px; color: var(--muted); }
.wallet-mini .v { font-size: 17px; font-weight: 600; letter-spacing: -0.04em; margin: 3px 0 9px; font-variant-numeric: tabular-nums; }

.list { display: grid; gap: 2px; }
.li { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--grid); min-width: 0; }
.li:last-child { border-bottom: 0; }
.li .grow { flex: 1; min-width: 0; }
.li .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .s { font-size: 11.5px; color: var(--muted); }
.thumb { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(140deg, var(--card-3), var(--card-2)); border: 1px solid var(--border-2); color: var(--text); }
.thumb.lg { width: 64px; height: 64px; border-radius: 14px; font-size: 18px; }

.status-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.status-grid .mini .v { font-size: 16px; }
.status-grid .mini .c { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* layout com sub-menu (editor de produto) */
.prod-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.prod-head h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.04em; }
.prod-head .meta { display: flex; gap: 8px; align-items: center; margin-top: 4px; color: var(--muted); font-size: 12px; }
.prod-head .btn { margin-left: auto; }
.sub-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: var(--gap); align-items: start; }
.subnav { padding: 8px; position: sticky; top: 12px; }
.subnav .nav-head { padding: 10px 11px 4px; }
.subnav .nav-head:first-child { padding-top: 4px; }

.ck-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: var(--gap); align-items: start; }
.preview-wrap { position: sticky; top: 12px; }
.browser { border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden; background: var(--card-2); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.browser-bar .dots { display: flex; gap: 5px; } .browser-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--card-3); }
.browser-bar .url { flex: 1; min-width: 0; font: 11px var(--mono); color: var(--muted); background: var(--card); border: 1px solid var(--border); border-radius: 99px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-body { height: 560px; overflow: auto; }
.browser-body .co { zoom: .62; min-height: 100%; }

.sec-title { font-size: 13px; font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 10px; }
.sec + .sec { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 18px; }
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.color-field { display: grid; gap: 6px; font-size: 12px; color: var(--text-2); font-weight: 500; }
.color-field .cin { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border-2); border-radius: var(--r-ctl); padding: 4px 10px 4px 4px; }
.color-field input[type=color] { width: 28px; height: 28px; padding: 0; border: 1px solid var(--border-2); border-radius: 7px; background: none; cursor: pointer; flex: none; }
.color-field input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .color-field input[type=color]::-webkit-color-swatch { border: 0; border-radius: 6px; }
.color-field input[type=text] { border: 0; padding: 4px 0; background: none; font-family: var(--mono); font-size: 12px; width: 100%; outline: none; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; }
.preset { display: inline-flex; align-items: center; gap: 8px; }
.preset i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border-2); }

.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--grid); }
.opt-row:last-child { border-bottom: 0; }
.opt-row .t { font-weight: 500; } .opt-row .s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--border-2); border-radius: var(--r-ctl); background: var(--card); cursor: pointer; font-weight: 500; }
.check:has(input:checked) { border-color: var(--text-2); background: var(--raise); box-shadow: var(--raise-shadow); }
.radio-list { display: grid; gap: 8px; }
.radio-list label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 12px; cursor: pointer; }
.radio-list label:has(input:checked) { border-color: var(--text-2); background: var(--raise); box-shadow: var(--raise-shadow); }
.radio-list input { accent-color: var(--ink); margin-top: 2px; }
.radio-list .s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.dropzone { display: grid; place-items: center; gap: 8px; text-align: center; padding: 28px 16px; border: 1.5px dashed var(--border-2); border-radius: 14px; color: var(--text-2); cursor: pointer; }
.dropzone:hover { background: var(--hover); }
.dropzone svg.i { width: 22px; height: 22px; }

.funnel { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.fstep { flex: 1 1 160px; min-width: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--card-2); padding: 14px; display: grid; gap: 6px; }
.fstep .k { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fstep .n { font-weight: 600; letter-spacing: -0.02em; }
.fstep .m { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-2); }
.farrow { display: grid; place-items: center; color: var(--muted); }
.fstep.add { border-style: dashed; background: none; place-items: center; color: var(--muted); cursor: pointer; }

.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gap); }
.int { display: grid; gap: 10px; align-content: start; }
.int .top { display: flex; align-items: center; gap: 10px; }
.int .logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--card-3); border: 1px solid var(--border-2); }
.int p { margin: 0; color: var(--text-2); font-size: 12px; }

.copy-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.copy-row code { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Checkout (página do comprador) ===== */
.co-page { position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--co-bg); }
.co-exit { position: fixed; z-index: 55; top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.co { --co-r: 14px; background: var(--co-bg); color: var(--co-text); font: 14px/1.45 var(--font); letter-spacing: -0.01em; }
.co * { box-sizing: border-box; }
.co-top { background: var(--co-primary); color: var(--co-bg); text-align: center; font-weight: 600; font-size: 13px; padding: 10px 16px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.co-top b { font-family: var(--mono); font-size: 15px; letter-spacing: .04em; }
.co-inner { max-width: 1040px; margin: 0 auto; padding: 28px max(16px, env(safe-area-inset-left, 0px)) 40px max(16px, env(safe-area-inset-right, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 18px; align-items: start; }
.co.tpl-box .co-inner, .co.tpl-long .co-inner { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.co.tpl-long .co-inner { max-width: 720px; }
.co.tpl-box .co-sum { order: -1; }
.co-brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-brand .lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; opacity: .7; }
.co-brand .lock svg.i { width: 14px; height: 14px; }
.co-col { display: grid; gap: 14px; min-width: 0; }
.co-box { background: var(--co-widget); border: 1px solid color-mix(in srgb, var(--co-text) 10%, transparent); border-radius: var(--co-r); padding: 20px; display: grid; gap: 14px; }
.co-box h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.co-box h3 .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--co-primary); color: var(--co-bg); }
.co-f { display: grid; gap: 5px; font-size: 12px; font-weight: 500; opacity: 1; }
.co-f span { opacity: .75; }
.co-f input, .co-f select { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--co-text) 12%, transparent); background: var(--co-input); color: var(--co-input-text); font: inherit; font-size: 14px; }
.co-f input:focus, .co-f select:focus { outline: 2px solid color-mix(in srgb, var(--co-primary) 45%, transparent); border-color: var(--co-primary); }
.co-f select { appearance: auto; padding-right: 8px; background-image: none; }
.co-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-g3 { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; }
.co-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.co-pay button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--co-text) 12%, transparent); background: var(--co-input); color: var(--co-text); font: inherit; font-weight: 500; cursor: pointer; }
.co-pay button.on { border-color: var(--co-primary); box-shadow: inset 0 0 0 1px var(--co-primary); }
.co-pay svg.i { width: 16px; height: 16px; }
.co-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-wallets button { height: 44px; border-radius: 10px; border: 0; background: #000; color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 0 0 1px color-mix(in srgb, var(--co-text) 15%, transparent); }
.co-or { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.co-or::before, .co-or::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .3; }
.co-pix { display: grid; gap: 8px; font-size: 13px; opacity: .85; }
.co-pix li { margin-left: -4px; }
.co-bump { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1.5px dashed var(--co-primary); cursor: pointer; }
.co-bump input { accent-color: var(--co-btn); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.co-bump .bt { font-weight: 600; } .co-bump .bd { font-size: 12.5px; opacity: .75; margin-top: 2px; }
.co-bump .bp { margin-left: auto; font-weight: 600; white-space: nowrap; }
.co-buy { height: 52px; border: 0; border-radius: 12px; background: var(--co-btn); color: var(--co-btn-text); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.co-buy:hover { filter: brightness(1.06); }
.co-buy svg.i { width: 17px; height: 17px; }
.co-sum { position: sticky; top: 16px; }
.co-prod { display: flex; gap: 12px; align-items: center; }
.co-prod .img { width: 64px; height: 64px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 700; background: color-mix(in srgb, var(--co-primary) 14%, var(--co-input)); color: var(--co-text); }
.co-prod .nm { font-weight: 600; letter-spacing: -0.02em; }
.co-prod .of { font-size: 12px; opacity: .65; }
.co-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.co-line.tot { font-size: 16px; font-weight: 700; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--co-text) 12%, transparent); }
.co-line .x { opacity: .7; }
.co-safe { display: grid; gap: 8px; font-size: 12px; opacity: .7; }
.co-safe div { display: flex; align-items: center; gap: 8px; }
.co-safe svg.i { width: 15px; height: 15px; }
.co-steps { display: flex; gap: 8px; }
.co-steps span { flex: 1; height: 4px; border-radius: 99px; background: color-mix(in srgb, var(--co-text) 14%, transparent); }
.co-steps span.on { background: var(--co-primary); }
.co-faq details { border-top: 1px solid color-mix(in srgb, var(--co-text) 10%, transparent); padding: 10px 0; }
.co-faq summary { cursor: pointer; font-weight: 500; }
.co-faq p { margin: 6px 0 0; font-size: 13px; opacity: .75; }
.co-test { display: grid; gap: 10px; }
.co-test blockquote { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--co-input); font-size: 13px; }
.co-test cite { display: block; margin-top: 6px; font-style: normal; font-size: 11.5px; opacity: .6; }
.co-live { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 56; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--co-widget); color: var(--co-text); box-shadow: 0 12px 40px rgba(0,0,0,.35); border: 1px solid color-mix(in srgb, var(--co-text) 12%, transparent); font-size: 12.5px; max-width: 300px; }
.co-done { text-align: center; justify-items: center; padding: 34px 20px; }
.co-done .ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--co-btn); color: var(--co-btn-text); }
.co-done .ok svg.i { width: 26px; height: 26px; stroke-width: 2.4; }
.co-qr { width: 168px; height: 168px; border-radius: 12px; background: #fff; padding: 10px; }
.co-err { font-size: 12px; color: #f06565; }

@media (max-width: 1240px) { .ck-split { grid-template-columns: minmax(0, 1fr); } .preview-wrap { position: static; } .status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sub-layout { grid-template-columns: minmax(0, 1fr); } .subnav { position: static; display: flex; overflow-x: auto; gap: 4px; } .subnav .nav-head { display: none; } .subnav .nav-item { width: auto; flex: none; } .co-inner { grid-template-columns: minmax(0, 1fr); } .co-sum { position: static; order: -1; } }
@media (max-width: 640px) { .status-grid { grid-template-columns: 1fr 1fr; } .color-grid, .co-g2 { grid-template-columns: 1fr; } .co-g3 { grid-template-columns: 1fr 1fr; } .co-g3 > :last-child { grid-column: 1 / -1; } .browser-body { height: 460px; } .prod-head .btn { margin-left: 0; } }
.filters select { padding-top: 0; padding-bottom: 0; }
.shell[hidden] { display: none !important; }
body.public { background: #000; }
.co-page { position: static; min-height: 100vh; }

/* ===== Marca Digital Hub (elmo) ===== */
.brand-logo { display: flex; align-items: center; gap: 9px; padding: 4px 12px 0; color: var(--text); user-select: none; }
.logo-elmo, .logo-texto { display: block; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.logo-elmo { width: 22px; height: 33px; -webkit-mask-image: url(/img/logo-elmo.svg); mask-image: url(/img/logo-elmo.svg); }
.logo-texto { width: 106px; height: 22px; -webkit-mask-image: url(/img/logo-texto.svg); mask-image: url(/img/logo-texto.svg); }
.login-card .brand-logo { padding: 0 0 6px; }
.login-card .logo-elmo { width: 26px; height: 39px; } .login-card .logo-texto { width: 124px; height: 26px; }

/* ===== Placas de conquista ===== */
.placa { position: relative; width: 168px; max-width: 100%; }
.placa img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.25); }
.placa.locked img { filter: grayscale(1) brightness(.62) contrast(1.05); }
.placa-lock { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.72); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.placa-lock svg.i { width: 12px; height: 12px; }
.placa-card .eyebrow-sm { display: block; }
.placa-title { margin: 4px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -0.04em; }
.placa-card .stage { min-height: 0; padding: 18px 0 14px; }
.placa-prog { font-size: 12px; }
.placa-prog b { font-size: 13px; font-weight: 600; }
.placas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.placa-item { display: grid; gap: 10px; }
.placa-item .stage { min-height: 0; padding: 14px 0 6px; }
.placa-item .placa { width: 160px; }
.placa-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.placa-item .bar { margin: 0; }

/* ===== Dashboard estilo Digital Hub ===== */
.evo { display: flex; flex-direction: column; }
.evo .chart { height: 300px; }
.resumo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.resumo-grid .mini { padding: 12px 14px; }
.resumo-grid .mini .v { font-size: 16px; }
.resumo-grid .delta { margin-top: 5px; font-size: 10.5px; color: var(--muted); display: flex; gap: 4px; flex-wrap: wrap; }
.funnel-rows { display: grid; gap: 16px; margin-top: 18px; }
.frow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.fic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border); color: var(--text-2); }
.fic svg.i { width: 15px; height: 15px; }
.fname { font-weight: 500; margin-bottom: 8px; }
.frow .track { height: 6px; }
.fval { display: grid; justify-items: end; min-width: 56px; }
.fval b { font-size: 15px; font-weight: 600; letter-spacing: -0.03em; }
.fval span { font-size: 11px; color: var(--muted); }
.dot-p { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pm-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border); }
.pm-ic svg.i { width: 14px; height: 14px; }
.link-quiet.strong { color: var(--text); font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.link-quiet.strong svg.i { width: 13px; height: 13px; }
.bottom-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1240px) { .bottom-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .resumo-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Gateways e Pix ===== */
.gw p { min-height: 34px; }
.steps { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); font-size: 12.5px; }
.steps b { color: var(--text); font-weight: 600; }
.co-pixcode { width: 100%; resize: none; font: 12px/1.4 var(--mono); padding: 10px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--co-text) 12%, transparent); background: var(--co-input); color: var(--co-input-text); word-break: break-all; }
.co-wait { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; opacity: .75; }
.co-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ui-spin .8s linear infinite; }
img.co-qr { object-fit: contain; }

/* ===== Checkout v2 (coluna única, estilo GG, padrão Digital Hub) ===== */
.co { --co-r: 14px; --co-line: color-mix(in srgb, var(--co-text) 10%, transparent); --co-soft: color-mix(in srgb, var(--co-text) 62%, transparent); min-height: 100%; background: var(--co-bg); color: var(--co-text); font: 14px/1.45 var(--font); letter-spacing: -0.01em; }
.co * { box-sizing: border-box; }
.co .co-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px)); background: var(--co-bar); color: var(--co-bar-text); font-size: 13px; font-weight: 600; }
.co .co-bar > i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; animation: co-pulse 1.4s ease-in-out infinite; }
@keyframes co-pulse { 50% { opacity: .35; } }
.co .co-bar b { font: 600 15px var(--mono); letter-spacing: .04em; }
.co-wrap { display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; gap: 22px; padding: 20px max(14px, env(safe-area-inset-right, 0px)) 36px max(14px, env(safe-area-inset-left, 0px)); }
.lay-lateral .co-wrap { grid-template-columns: minmax(0, 360px) minmax(0, 520px); align-items: start; }
.co-side { position: sticky; top: 56px; display: grid; gap: 12px; }
.co-side-empty { text-align: center; color: var(--co-soft); font-size: 12.5px; padding: 40px 16px; }
.co-main { display: grid; gap: 12px; min-width: 0; }
.co-banner { display: block; width: 100%; height: auto; border-radius: var(--co-r); }
.co-banner.v { max-width: 380px; justify-self: center; }
.co-card { background: var(--co-widget); border: 1px solid var(--co-line); border-radius: var(--co-r); padding: 16px; display: grid; gap: 12px; min-width: 0; }
.co-sumhead { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; cursor: pointer; }
.co-chev svg.i { width: 16px; height: 16px; opacity: .6; transition: transform .15s; } .co-chev.up svg.i { transform: rotate(180deg); }
.co-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; background: var(--co-input); }
.co-item.sm { padding: 8px 10px; }
.co-thumb { width: 48px; height: 48px; border-radius: 9px; flex: none; object-fit: cover; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: color-mix(in srgb, var(--co-primary) 18%, var(--co-input)); color: var(--co-text); }
.co-thumb.sm { width: 38px; height: 38px; font-size: 11px; }
.co-iname { font-weight: 600; letter-spacing: -0.015em; }
.co-price, .co-acc { color: var(--co-primary); font-weight: 700; }
.co-muted { color: var(--co-soft); font-weight: 400; }
.co-lines { display: grid; gap: 6px; font-size: 13px; padding-top: 4px; }
.co-lines > div { display: flex; justify-content: space-between; color: var(--co-soft); }
.co-lines .tot { color: var(--co-text); font-weight: 700; font-size: 15px; padding-top: 8px; border-top: 1px solid var(--co-line); }
.co-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; letter-spacing: -0.02em; margin-top: 4px; }
.co-h svg.i { width: 16px; height: 16px; opacity: .7; }
.co-in { position: relative; display: block; }
.co-in > svg.i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; opacity: .55; pointer-events: none; color: var(--co-input-text); }
.co-in input, .co-phone select { width: 100%; height: 46px; padding: 0 12px 0 40px; border-radius: 10px; border: 1px solid var(--co-line); background: var(--co-input); color: var(--co-input-text); font: inherit; font-size: 14.5px; }
.co-in input::placeholder { color: color-mix(in srgb, var(--co-input-text) 50%, transparent); }
.co-in input:focus, .co-phone select:focus, .co .co-f input:focus, .co .co-f select:focus { outline: 2px solid color-mix(in srgb, var(--co-primary) 45%, transparent); outline-offset: 0; border-color: var(--co-primary); }
.co-phone { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; }
.co-phone select { padding: 0 10px; appearance: auto; background-image: none; }
.co-offer { text-align: center; color: var(--co-primary); font-weight: 700; margin-top: 6px; }
.co-bump2 { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px; border-radius: 12px; border: 1px solid var(--co-line); background: var(--co-input); transition: border-color .15s; }
.co-bump2.on { border-color: var(--co-primary); box-shadow: inset 0 0 0 1px var(--co-primary); }
.co-bchk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--co-primary); cursor: pointer; }
.co-btitle { font-weight: 600; font-size: 13.5px; letter-spacing: -0.015em; }
.co-bdesc { font-size: 12.5px; color: var(--co-soft); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.co-bdesc.open { -webkit-line-clamp: unset; display: block; }
.co-more { padding: 0; border: 0; background: none; color: var(--co-text); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.co-bprice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; }
.co-bprice s { font-size: 12px; color: var(--co-soft); }
.co-bprice b { color: var(--co-primary); font-size: 14px; }
.co-bpill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--co-primary); border: 1px solid color-mix(in srgb, var(--co-primary) 55%, transparent); background: color-mix(in srgb, var(--co-primary) 10%, transparent); cursor: pointer; }
.co-bump2.on .co-bpill { background: var(--co-primary); color: var(--co-bg); }
.co-bpill svg.i { width: 12px; height: 12px; stroke-width: 2.4; }
.co-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.co-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 10px; border: 1px solid var(--co-line); background: var(--co-input); color: var(--co-text); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
.co-tabs button.on { border-color: var(--co-primary); color: var(--co-primary); background: color-mix(in srgb, var(--co-primary) 10%, var(--co-input)); }
.co-tabs svg.i { width: 15px; height: 15px; } .co-tabs small { opacity: .75; font-weight: 500; }
.co-info { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: var(--co-input); font-size: 12.5px; color: var(--co-soft); }
.co-info > b { color: var(--co-text); font-size: 13.5px; }
.co .co-buy { height: 52px; border: 0; border-radius: 12px; background: var(--co-btn); color: var(--co-btn-text); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .02em; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; transition: filter .15s, transform .1s; }
.co .co-buy:hover { filter: brightness(1.07); } .co .co-buy:active { transform: translateY(1px); }
.co .co-buy:disabled { opacity: .7; cursor: wait; }
.co-err { color: #f06565; font-size: 12.5px; text-align: center; }
.co-err:empty { display: none; }
.co-depos { display: grid; gap: 10px; }
.co-depo { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--co-input); display: grid; gap: 6px; }
.co-stars { color: #f5b301; letter-spacing: 2px; font-size: 13px; }
.co-depo blockquote { margin: 0; font-size: 13.5px; }
.co-depo figcaption { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--co-soft); }
.co-depo figcaption img, .co-av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 10px; background: color-mix(in srgb, var(--co-primary) 20%, var(--co-widget)); color: var(--co-text); }
.co .co-faq details { border-top: 1px solid var(--co-line); padding: 10px 0 2px; }
.co .co-faq summary { cursor: pointer; font-weight: 500; font-size: 13.5px; }
.co .co-faq p { margin: 6px 0 4px; font-size: 13px; color: var(--co-soft); }
.co-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; color: var(--co-soft); padding: 4px 0; }
.co-foot span { display: inline-flex; align-items: center; gap: 6px; } .co-foot svg.i { width: 13px; height: 13px; }
.co .co-done { text-align: center; justify-items: center; padding: 30px 20px; }
.co .co-done h3 { margin: 4px 0 0; font-size: 18px; letter-spacing: -0.03em; }
.co .co-done .ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--co-btn); color: var(--co-btn-text); }
.co .co-done .ok svg.i { width: 26px; height: 26px; stroke-width: 2.4; }
.co .small { font-size: 12px; }
.co .co-f span { color: var(--co-soft); }
.co-toast { position: fixed; z-index: 60; top: calc(54px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 10px; padding: 10px 12px; max-width: min(320px, calc(100vw - 28px)); border-radius: 12px; background: #111418; color: #f5f5f5; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 40px rgba(0,0,0,.4); font-size: 12.5px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.co-toast.on { opacity: 1; transform: none; pointer-events: auto; }
.co-toast b { display: block; font-size: 13px; } .co-toast span { opacity: .65; }
.co-tic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1fb26b; color: #fff; flex: none; }
.co-tic svg.i { width: 15px; height: 15px; }
.co-toast button { margin-left: 4px; border: 0; background: none; color: inherit; opacity: .6; cursor: pointer; display: grid; place-items: center; }
.co-toast button svg.i { width: 14px; height: 14px; }
@media (max-width: 900px) { .lay-lateral .co-wrap { grid-template-columns: minmax(0, 520px); } .co-side { position: static; order: -1; } .co-side-empty { display: none; } }
@media (prefers-reduced-motion: reduce) { .co .co-bar > i { animation: none; } .co-toast { transition: none; } }
/* editor */
.small-drop { padding: 16px; }
.ban-thumb { width: 96px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.ban-thumb.v { width: 40px; height: 60px; }
.li select { height: 32px; padding: 0 30px 0 10px; }
.depo-ed { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--grid); }
.depo-ed:last-child { border-bottom: 0; }
.depo-ph { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; cursor: pointer; background: var(--card-2); border: 1px dashed var(--border-2); color: var(--muted); }
.depo-ph img { width: 100%; height: 100%; object-fit: cover; }
.ck-split .tabs { flex-wrap: wrap; }
@media (max-width: 640px) { .co-toast { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); right: 14px; left: 14px; max-width: none; } }
.logo-sm { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 11px; }

/* ===== Placas: nome gravado + coleção ===== */
.placa { container-type: inline-size; }
.placa-nome { position: absolute; left: 6%; right: 6%; transform: translateY(-50%); text-align: center; font: 600 3.3cqw/1 var(--font); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 rgba(255,255,255,.12), 0 -1px 0 rgba(0,0,0,.35); pointer-events: none; }
.placas-grid2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; margin: 6px 0 4px; }
.placa-cell { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.placa-cell .placa { width: 132px; }
.placa-cell .bar { width: 100%; max-width: 150px; margin: 2px 0; }
.placa-lbl { font-size: 12.5px; }
.placa-form { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.placa-open { border: 0; background: var(--stage-glow) center / 240px 240px no-repeat; width: 100%; cursor: pointer; color: inherit; font: inherit; }
.placa-open:hover .placa img { transform: translateY(-2px); }
.placa img { transition: transform .2s; }
@media (max-width: 640px) { .placas-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .placa-cell .placa { width: 112px; } .placa-form { flex-direction: column; align-items: stretch; } }
/* ===== Dashboard: filtro e rankings ===== */
.dash-sel { height: 34px; max-width: 220px; padding: 0 30px 0 12px; font-size: 12.5px; }
.rank { display: grid; gap: 4px; }
.rank-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; padding: 10px 8px; border: 1px solid transparent; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rank-row:hover { background: var(--hover); }
.rank-row.on { background: var(--raise); box-shadow: var(--raise-shadow); }
.rank-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; background: var(--card-3); color: var(--text-2); }
.rank-row:first-child .rank-n { background: var(--ink); color: var(--ink-text); }
.rank-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.rank-top b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-sub { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.rank .track { height: 6px; }
@media (max-width: 640px) { .dash-sel { max-width: none; width: 100%; } }

/* horários que mais vendem */
.horas .hr-minis { margin-bottom: 18px; }
.horas .hr-label { margin: 0 0 10px; font-weight: 500; }
.hr-bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; height: 170px; align-items: end; margin-bottom: 22px; }
.hr-col { height: 100%; display: flex; flex-direction: column; align-items: center; min-width: 0; cursor: default; }
.hr-plot { flex: 1; position: relative; width: 100%; }
.hr-bar { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--ink) 22%, transparent); transition: background .15s; }
.hr-n { position: absolute; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); }
.hr-col:hover .hr-bar { background: color-mix(in srgb, var(--ink) 55%, transparent); }
.hr-col.top .hr-bar { background: var(--ink); }
.hr-col.top .hr-n { color: var(--text); font-weight: 600; }
.hr-x { height: 16px; font-size: 10px; color: var(--muted); padding-top: 4px; white-space: nowrap; }
.horas .frow { grid-template-columns: minmax(0, 1fr) auto; }
.horas .fval { min-width: 84px; }
.hr-bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 700px) {
  .hr-bars { gap: 2px; height: 140px; }
  .hr-n { display: none; }
  .hr-x { font-size: 9px; }
  .horas .hr-minis { grid-template-columns: 1fr; }
  .hr-bottom { grid-template-columns: 1fr; }
}

/* som e notificações */
.howto { padding: 10px 12px; margin: 4px 0 2px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); line-height: 1.5; }
.opt-row .row .btn { white-space: nowrap; }
.opt-row > :first-child { flex: 1; min-width: 0; }
.opt-row > :last-child { flex-shrink: 0; }

/* entrega do produto (painel) */
.dlv-intro { margin: -4px 0 14px; line-height: 1.5; }
.dlv-li { gap: 12px; }
.dlv-ic, .acc-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border); color: var(--text-2); }
.dlv-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlv-acts { flex-wrap: nowrap; gap: 2px; }
.dlv-acts .btn.danger { color: var(--bad, #d14343); }

/* página de acesso do comprador */
.login.acc-page { place-items: start center; padding: 40px 16px; }
.acc { width: 100%; max-width: 560px; display: grid; gap: 18px; }
.acc-brand { justify-content: center; }
.acc-brand .logo-elmo { width: 26px; height: 39px; } .acc-brand .logo-texto { width: 124px; height: 26px; }
.acc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-panel); box-shadow: var(--shadow-pop); padding: 28px; display: grid; gap: 12px; }
.acc-card h1 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.acc-card > p { margin: 0; line-height: 1.5; }
.acc-list { display: grid; gap: 8px; margin-top: 6px; }
.acc-gname { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 0 2px; }
.acc-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-2); color: var(--text); text-decoration: none; transition: background .15s, border-color .15s; }
.acc-item:hover { background: var(--hover); border-color: var(--border-2); }
.acc-nm { flex: 1; min-width: 0; font-weight: 600; display: grid; gap: 2px; overflow-wrap: anywhere; }
.acc-nm small { font-weight: 400; color: var(--muted); font-size: 12px; }
.acc-go { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--ink-text, var(--bg)); font-size: 13px; font-weight: 600; }
.acc-go svg.i { width: 15px; height: 15px; }
.acc-msg { white-space: pre-line; line-height: 1.55; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); font-size: 14px; margin-top: 4px; }
.acc-sup { font-size: 13px; color: var(--text-2); } .acc-sup a { color: var(--text); font-weight: 600; margin-left: 4px; }
.acc-foot { display: flex; gap: 8px; align-items: flex-start; justify-content: center; text-align: center; line-height: 1.5; }
.acc-foot svg.i { flex: none; width: 14px; height: 14px; margin-top: 2px; }

/* acesso na tela de obrigado do checkout */
.co .co-acc { display: grid; gap: 8px; width: 100%; text-align: left; margin: 4px 0; }
.co .co-acc-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--co-text) 14%, transparent); background: var(--co-input); color: var(--co-input-text); text-decoration: none; }
.co .co-acc-item .acc-ic { background: transparent; border-color: color-mix(in srgb, var(--co-text) 14%, transparent); color: inherit; }
.co .co-acc-item .acc-nm small { color: inherit; opacity: .65; }
.co .co-acc-item .acc-go { background: var(--co-btn); color: var(--co-btn-text); }
.co .co-acc .acc-msg { background: transparent; border-color: color-mix(in srgb, var(--co-text) 14%, transparent); color: inherit; }
.co .co-acc .acc-gname { color: inherit; opacity: .6; }
@media (max-width: 520px) { .acc-card { padding: 22px 18px; } .acc-go { padding: 0 10px; } }

/* =====================================================================
   Página de apresentação (landing) — mesmo kit visual do painel
   ===================================================================== */
.lp-host { display: block !important; min-height: 100vh; padding: 0 !important; place-items: initial !important; background: var(--panel); }
.lp { --lp-w: 1180px; color: var(--text); font-size: 15px; line-height: 1.55; background: var(--panel-glow), var(--panel); overflow-x: clip; }
.lp a { color: inherit; }
.lp-wrap { width: 100%; max-width: var(--lp-w); margin: 0 auto; padding: 0 24px; }
.lp-skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--ink-text); padding: 8px 12px; border-radius: 8px; }
.lp-skip:focus { left: 8px; }
.lp-center { text-align: center; justify-content: center; }
.lp-eb { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lp-dim { color: var(--muted); }
.lp-num { display: block; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; }
.lp-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border); color: var(--text); flex: none; }
.lp-ic svg.i { width: 18px; height: 18px; } .lp-ic.lg { width: 52px; height: 52px; border-radius: 16px; } .lp-ic.lg svg.i { width: 24px; height: 24px; }
.lp-btn-lg { height: 46px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.lp .btn { text-decoration: none; }
.lp .btn.block { width: 100%; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-top: 22px; }
.lp-link svg.i, .lp-btn-lg svg.i { width: 16px; height: 16px; }
.lp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--border-2); background: var(--card); font-size: 12.5px; color: var(--text-2); }
.lp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 4px var(--pos-soft); }

/* aparecer ao rolar */
.lp-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.lp-rv.in { opacity: 1; transform: none; }

/* navegação */
.lp-nav { position: sticky; top: 0; z-index: 30; transition: background .2s, border-color .2s, backdrop-filter .2s; border-bottom: 1px solid transparent; }
.lp-nav.scrolled { background: color-mix(in srgb, var(--panel) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.lp-nav-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.lp-brand .logo-elmo { width: 22px; height: 33px; } .lp-brand .logo-texto { width: 110px; height: 23px; }
.lp-links { display: flex; gap: 4px; margin: 0 auto; }
.lp-links a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 13.5px; }
.lp-links a:hover { color: var(--text); background: var(--hover); }
.lp-nav-r { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lp-nav-r .btn { height: 36px; }

/* hero */
.lp-hero { padding: 72px 0 40px; text-align: center; position: relative; }
.lp-hero::before { content: ''; position: absolute; inset: -80px 0 auto; height: 560px; background: var(--stage-glow); opacity: .7; pointer-events: none; }
.lp-hero .lp-wrap { position: relative; display: grid; justify-items: center; gap: 22px; }
.lp-hero h1 { margin: 6px 0 0; font-size: clamp(38px, 7.2vw, 84px); line-height: .98; letter-spacing: -0.055em; font-weight: 650; }
.lp-lead { max-width: 640px; margin: 0; font-size: clamp(15px, 1.6vw, 18px); color: var(--text-2); }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lp-feats { width: 100%; margin-top: 30px; display: grid; gap: 14px; }
.lp-feat-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lp-feat { display: grid; gap: 4px; text-align: left; padding: 16px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.lp-feat:hover { border-color: var(--border-2); transform: translateY(-2px); background: var(--card-2); }
.lp-feat span { font: 500 11px/1 var(--mono); color: var(--muted); margin-bottom: 8px; }
.lp-feat b { font-size: 15px; letter-spacing: -0.02em; } .lp-feat small { color: var(--muted); font-size: 12.5px; }

/* números */
.lp-stats { padding: 40px 0 24px; }
.lp-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 22px; border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--card); overflow: hidden; }
.lp-stat { padding: 26px 22px; display: grid; gap: 6px; border-left: 1px solid var(--border); }
.lp-stat:first-child { border-left: 0; }
.lp-stat b { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.05em; line-height: 1; font-weight: 650; }
.lp-stat span { color: var(--text-2); font-size: 13.5px; }

/* seções */
.lp-sec { padding: 96px 0 24px; scroll-margin-top: 60px; }
.lp-head { max-width: 760px; margin-bottom: 36px; }
.lp-head.lp-center { margin-left: auto; margin-right: auto; }
.lp-sec h2, .lp-final h2 { margin: 0; font-size: clamp(32px, 5vw, 58px); line-height: 1; letter-spacing: -0.05em; font-weight: 650; }
.lp-head p, .lp-p { margin: 18px 0 0; color: var(--text-2); font-size: 16px; max-width: 560px; }
.lp-head.lp-center p { margin-left: auto; margin-right: auto; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-split-r { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

/* mockup do painel */
.lp-stage { position: relative; }
.lp-stage::before { content: ''; position: absolute; inset: 8% 10% -6%; background: var(--stage-glow); filter: blur(30px); z-index: 0; }
.lp-win { position: relative; z-index: 1; border-radius: 20px; border: 1px solid var(--border-2); background: var(--panel); box-shadow: var(--shadow-pop); overflow: hidden; }
.lp-win-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--card); font-size: 12px; color: var(--muted); }
.lp-win-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--card-3); }
.lp-win-bar b { margin-left: 10px; font-weight: 500; color: var(--text-2); }
.lp-win-bar em { margin-left: auto; font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--border-2); padding: 2px 8px; border-radius: 999px; }
.lp-win-foot { padding: 8px 14px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--border); text-align: right; }
.lp-dash { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 440px; }
.lp-side { padding: 16px 10px; border-right: 1px solid var(--border); display: grid; align-content: start; gap: 2px; }
.lp-side-logo { display: flex; gap: 6px; align-items: center; padding: 2px 8px 16px; } .lp-side-logo .logo-elmo { width: 15px; height: 22px; } .lp-side-logo .logo-texto { width: 78px; height: 16px; }
.lp-side-it { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: var(--text-2); }
.lp-side-it svg.i { width: 15px; height: 15px; }
.lp-side-it.on { background: var(--raise); box-shadow: var(--raise-shadow); color: var(--text); }
.lp-dmain { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.lp-dtop { display: flex; gap: 8px; justify-content: flex-end; }
.lp-pillsel { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--border-2); border-radius: 9px; font-size: 12px; background: var(--card); }
.lp-pillsel svg.i { width: 13px; height: 13px; color: var(--muted); }
.lp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lp-kpi { padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); display: grid; gap: 4px; min-width: 0; }
.lp-kpi span { font-size: 11.5px; color: var(--muted); } .lp-kpi b { font-size: 19px; letter-spacing: -0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lp-kpi i { font-style: normal; font-size: 11px; color: var(--pos); font-weight: 600; }
.lp-drow { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.lp-drow2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lp-card { padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); min-width: 0; }
.lp-ch-h { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; margin-bottom: 10px; }
.lp-ch-h span { font-size: 11px; padding: 3px 9px; border-radius: 7px; background: var(--ink); color: var(--ink-text); }
.lp-chart svg { width: 100%; height: 150px; color: var(--ink); display: block; }
.lp-plaq { display: grid; gap: 8px; justify-items: center; text-align: center; }
.lp-plaq img { width: 92px; height: auto; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.lp-plaq small { font-size: 11px; color: var(--muted); }
.lp-bar { width: 100%; height: 5px; border-radius: 99px; background: var(--card-3); overflow: hidden; } .lp-bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.lp-rank { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: center; margin-bottom: 9px; font-size: 12px; }
.lp-rank > span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--card-3); font-size: 11px; font-weight: 600; }
.lp-rank > span:first-child { } .lp-rank:first-of-type > span { background: var(--ink); color: var(--ink-text); }
.lp-rank-t { display: flex; justify-content: space-between; margin-bottom: 4px; } .lp-rank-t em { font-style: normal; color: var(--muted); }
.lp-hours { height: 92px; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; }
.lp-hours i { display: block; border-radius: 3px 3px 1px 1px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.lp-hours i.top { background: var(--ink); }
.lp-hours-x { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 6px; }
.lp-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.lp-tri { padding: 22px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); display: grid; gap: 10px; align-content: start; }
.lp-tri b { font-size: 16px; letter-spacing: -0.02em; } .lp-tri p { margin: 0; color: var(--text-2); font-size: 14px; }

/* abas de recursos */
.lp-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.lp-tabs::-webkit-scrollbar { display: none; }
.lp-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font: 500 14px var(--font); cursor: pointer; white-space: nowrap; }
.lp-tab span { font: 500 11px var(--mono); color: var(--muted); }
.lp-tab:hover { color: var(--text); }
.lp-tab.on { background: var(--raise); box-shadow: var(--raise-shadow); color: var(--text); }
.lp-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px; border-radius: var(--r-panel); border: 1px solid var(--border); background: var(--card); min-height: 470px; }
.lp-panel.swap .lp-panel-txt, .lp-panel.swap .lp-panel-mock { animation: lp-in .45s ease both; }
.lp-panel.swap .lp-panel-mock { animation-delay: .06s; }
@keyframes lp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lp-panel-txt h3 { margin: 12px 0 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 650; }
.lp-panel-txt > p { color: var(--text-2); margin: 14px 0 18px; }
.lp-panel-mock { display: grid; justify-items: center; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.lp-checks svg.i { width: 18px; height: 18px; flex: none; color: var(--pos); margin-top: 2px; }

/* mock checkout / bump */
.lp-ck { width: 100%; max-width: 360px; display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; color: #111; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(0,0,0,.06); font-size: 13px; }
.lp-ck-bar { margin: -16px -16px 2px; padding: 9px; border-radius: 18px 18px 0 0; background: #111; color: #fff; text-align: center; font-size: 12px; }
.lp-ck-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.lp-ck-item small, .lp-bump small { display: block; color: #777; font-size: 11.5px; }
.lp-ck-th { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #f1f1ef; font-weight: 700; font-size: 12px; color: #555; }
.lp-ck-th.sm { width: 32px; height: 32px; font-size: 10.5px; }
.lp-ck-in { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid #e3e3e1; border-radius: 10px; color: #999; }
.lp-ck-in svg.i { width: 15px; height: 15px; }
.lp-ck-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-ck-tabs span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 10px; border: 1px solid #e3e3e1; color: #666; font-weight: 600; font-size: 12px; }
.lp-ck-tabs span.on { border-color: #111; color: #111; box-shadow: inset 0 0 0 1px #111; }
.lp-ck-tabs svg.i { width: 15px; height: 15px; }
.lp-ck-pix { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #f6f6f4; }
.lp-ck-pix svg { width: 64px; height: 64px; fill: #111; flex: none; }
.lp-ck-pix small { display: block; color: #777; font-size: 11.5px; }
.lp-ck-buy { height: 46px; border-radius: 12px; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; }
.lp-ck-safe { display: flex; justify-content: center; align-items: center; gap: 6px; color: #888; font-size: 11.5px; } .lp-ck-safe svg.i { width: 13px; height: 13px; }
.lp-bump { border: 1.5px dashed #d6d6d3; border-radius: 12px; overflow: hidden; }
.lp-bump.on { border: 1.5px solid #111; }
.lp-bump-h { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #f6f6f4; font-size: 12.5px; }
.lp-bump.on .lp-bump-h { background: #111; color: #fff; }
.lp-bump-h svg.i { width: 15px; height: 15px; }
.lp-box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid #bbb; }
.lp-bump-b { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; }
.lp-bump-p { text-align: right; } .lp-bump-p s { display: block; color: #aaa; font-size: 11px; }
.lp-ck-tot { display: flex; justify-content: space-between; font-size: 14px; padding-top: 4px; }
.lp-mini3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lp-mini3 > div { padding: 8px; border-radius: 10px; background: #f6f6f4; display: grid; gap: 2px; } .lp-mini3 span { font-size: 10.5px; color: #777; } .lp-mini3 b { font-size: 13px; }

/* mock rastreamento */
.lp-log { width: 100%; max-width: 420px; padding: 16px; border-radius: 18px; border: 1px solid var(--border-2); background: var(--panel); box-shadow: var(--shadow-pop); display: grid; gap: 8px; }
.lp-log-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 2px; }
.lp-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--pos); } .lp-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); animation: lp-pulse 1.6s infinite; }
@keyframes lp-pulse { 50% { opacity: .3; } }
.lp-log-r { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); font-size: 12.5px; }
.lp-log-r code { display: block; font: 11px var(--mono); color: var(--muted); }
.lp-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; }
.lp-logo.lg { width: 46px; height: 46px; border-radius: 13px; font-size: 15px; }
.lp-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--pos); background: var(--pos-soft); padding: 3px 8px; border-radius: 99px; white-space: nowrap; } .lp-ok svg.i { width: 12px; height: 12px; }
.lp-utm { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .lp-utm span { font: 11px var(--mono); padding: 4px 8px; border-radius: 7px; background: var(--card-2); border: 1px solid var(--border); color: var(--muted); } .lp-utm b { color: var(--text); font-weight: 500; }

/* mock página de acesso */
.lp-acc { width: 100%; max-width: 380px; padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border-2); box-shadow: var(--shadow-pop); display: grid; gap: 9px; }
.lp-acc-top { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 4px; } .lp-acc-top .logo-elmo { width: 15px; height: 22px; } .lp-acc-top .logo-texto { width: 78px; height: 16px; }
.lp-acc h4 { margin: 0; font-size: 19px; letter-spacing: -0.03em; } .lp-acc > p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.lp-acc-it { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); font-size: 13px; }
.lp-acc-it small { display: block; color: var(--muted); font-size: 11px; }
.lp-acc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border); } .lp-acc-ic svg.i { width: 16px; height: 16px; }
.lp-acc-go { height: 28px; padding: 0 12px; border-radius: 99px; background: var(--ink); color: var(--ink-text); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; }
.lp-acc-msg { padding: 10px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }

/* celular */
.lp-phone-wrap { display: grid; justify-items: center; position: relative; }
.lp-phone-wrap::before { content: ''; position: absolute; inset: 10% 15%; background: var(--stage-glow); filter: blur(30px); }
.lp-phone { position: relative; width: 300px; height: 600px; border-radius: 48px; padding: 18px 14px; background: linear-gradient(160deg, #1c1c1c, #050505 60%); border: 1px solid #2a2a2a; box-shadow: 0 0 0 7px #0d0d0d, 0 30px 80px rgba(0,0,0,.5); color: #fff; overflow: hidden; }
.lp-phone.sm { width: 270px; height: 470px; }
.lp-notch { width: 96px; height: 26px; border-radius: 20px; background: #000; margin: 0 auto 26px; }
.lp-ph-time { text-align: center; font-size: 58px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.lp-ph-date { text-align: center; font-size: 13px; opacity: .7; margin: 6px 0 26px; }
.lp-phone.sm .lp-ph-time { font-size: 46px; } .lp-phone.sm .lp-ph-date { margin-bottom: 18px; }
.lp-notifs { display: grid; gap: 8px; }
.lp-notif { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 11px; border-radius: 18px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); font-size: 12px; line-height: 1.35; opacity: 0; transform: translateY(-10px) scale(.98); max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: opacity .45s, transform .45s, max-height .45s, padding .45s; }
.lp-notif.show { opacity: 1; transform: none; max-height: 90px; padding-top: 11px; padding-bottom: 11px; }
.lp-n-ic { width: 34px; height: 34px; border-radius: 9px; background: #0c0c0c; display: grid; place-items: center; border: 1px solid #2a2a2a; } .lp-n-ic .logo-elmo { width: 13px; height: 20px; background: #fff; }
.lp-n-h { display: flex; justify-content: space-between; font-size: 11px; opacity: .75; } .lp-n-h b { font-weight: 600; }
.lp-notif small { display: block; opacity: .75; }
.lp-ph-hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 10.5px; opacity: .45; }
@media (prefers-reduced-motion: reduce) { .lp-notif { opacity: 1; transform: none; max-height: 90px; padding-top: 11px; padding-bottom: 11px; } }
.lp-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.lp-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.lp-steps li > span { font: 500 12px var(--mono); color: var(--muted); padding-top: 3px; }
.lp-steps b { font-size: 15.5px; } .lp-steps p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.lp-steps.sm li { padding: 11px 0; }

/* pagamentos */
.lp-gws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.lp-gw { padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); display: grid; gap: 4px; justify-items: start; }
.lp-gw small { color: var(--muted); font-size: 12px; } .lp-gw .pill { margin-top: 6px; }
.lp-flow { display: flex; align-items: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.lp-flow-s { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.lp-flow-s .lp-ic { width: 32px; height: 32px; border-radius: 9px; } .lp-flow-s .lp-ic svg.i { width: 15px; height: 15px; }
.lp-flow-arr svg.i { width: 14px; height: 14px; color: var(--muted); }
.lp-stack-wrap { display: grid; gap: 12px; justify-items: center; }
.lp-stack { position: relative; width: 100%; max-width: 420px; display: grid; gap: 10px; }
.lp-sale { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); transition: transform .5s, opacity .5s; animation: lp-in .5s ease both; }
.lp-sale:first-child { border-color: var(--pos-line); box-shadow: 0 0 0 4px var(--pos-soft); }
.lp-sale:nth-child(3) { opacity: .7; } .lp-sale:nth-child(4) { opacity: .4; }
.lp-sale small { display: block; color: var(--muted); font-size: 12px; }
.lp-sale strong { font-size: 17px; letter-spacing: -0.03em; }
.lp-sale-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--pos-soft); color: var(--pos); } .lp-sale-ic svg.i { width: 18px; height: 18px; }
.lp-stack-note { font-size: 11.5px; color: var(--muted); }

/* integrações */
.lp-ints { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lp-int { padding: 18px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); display: grid; gap: 8px; justify-items: start; align-content: start; transition: border-color .2s, transform .2s; }
.lp-int:hover { border-color: var(--border-2); transform: translateY(-2px); }
.lp-int b { font-size: 14.5px; margin-top: 6px; } .lp-int small { color: var(--muted); font-size: 12.5px; }

/* placas */
.lp-plaques { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: end; }
.lp-plaque { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lp-plaque img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.4); transition: transform .3s; }
.lp-plaque:hover img { transform: translateY(-6px) rotate(-1deg); }
.lp-plaque figcaption { font: 500 12px var(--mono); color: var(--muted); }

/* taxas */
.lp-price { padding: 30px; border-radius: var(--r-panel); border: 1px solid var(--border-2); background: var(--card); box-shadow: var(--shadow-pop); display: grid; gap: 22px; }
.lp-price-top { display: grid; gap: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.lp-price-v { font-size: 96px; font-weight: 650; letter-spacing: -0.07em; line-height: .9; } .lp-price-v span { font-size: 48px; letter-spacing: -0.04em; }
.lp-price-top small { color: var(--text-2); font-size: 13.5px; }

/* dúvidas */
.lp-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.lp-faq { display: grid; border-top: 1px solid var(--border); }
.lp-q { border-bottom: 1px solid var(--border); }
.lp-q summary { list-style: none; display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 8px; align-items: center; padding: 18px 0; cursor: pointer; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary > span { font: 500 12px var(--mono); color: var(--muted); }
.lp-q summary i { display: grid; place-items: center; transition: transform .25s; color: var(--muted); } .lp-q summary i svg.i { width: 16px; height: 16px; }
.lp-q[open] summary i { transform: rotate(45deg); }
.lp-q p { margin: -4px 0 18px 44px; color: var(--text-2); font-size: 14.5px; max-width: 620px; }

/* cadastro */
.lp-final { padding-bottom: 96px; }
.lp-final .lp-chip { margin-bottom: 20px; }
.lp-form { padding: 26px; border-radius: var(--r-panel); border: 1px solid var(--border-2); background: var(--card); box-shadow: var(--shadow-pop); display: grid; gap: 12px; }
.lp-form .field input, .lp-form .field select { height: 42px; font-size: 14px; }
.lp-form-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; } .lp-form-h b { font-size: 18px; letter-spacing: -0.03em; }
.lp-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lp-legal { margin: 0; font-size: 11.5px; color: var(--muted); text-align: center; }
.lp-done { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 24px 6px; }
.lp-done b { font-size: 20px; letter-spacing: -0.03em; } .lp-done p { margin: 0 0 6px; color: var(--text-2); }

/* rodapé */
.lp-foot { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.lp-foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-foot-top p { color: var(--muted); margin: 12px 0 0; font-size: 13.5px; }
.lp-foot-cols { display: flex; gap: 56px; }
.lp-foot-cols div { display: grid; gap: 9px; align-content: start; font-size: 13.5px; }
.lp-foot-cols b { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.lp-foot-cols a { text-decoration: none; color: var(--text-2); } .lp-foot-cols a:hover { color: var(--text); }
.lp-foot-b { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }

/* responsivo */
@media (max-width: 1080px) {
  .lp-links { display: none; }
  .lp-ints { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-dash { grid-template-columns: minmax(0, 1fr); } .lp-side { display: none; }
}
@media (max-width: 860px) {
  .lp-wrap { padding: 0 16px; }
  .lp-feat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-feat:last-child { grid-column: span 2; }
  .lp-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stat:nth-child(3) { border-left: 0; } .lp-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .lp-split, .lp-split-r, .lp-faq-wrap, .lp-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-split-r > .lp-phone-wrap { order: 2; }
  .lp-panel { padding: 22px; }
  .lp-trio { grid-template-columns: minmax(0, 1fr); }
  .lp-plaques { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-drow, .lp-drow2 { grid-template-columns: minmax(0, 1fr); }
  .lp-sec { padding-top: 72px; }
}
@media (max-width: 560px) {
  .lp-hide-sm { display: none; }
  .lp-nav-r .theme-toggle { display: none; }
  .lp-brand .logo-texto { width: 92px; height: 19px; }
  .lp-hero { padding-top: 44px; }
  .lp-ints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-gws { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .lp-gw { padding: 10px; } .lp-gw .pill { font-size: 10px; padding: 2px 7px; }
  .lp-form-2 { grid-template-columns: minmax(0, 1fr); }
  .lp-form, .lp-price { padding: 20px; }
  .lp-price-v { font-size: 76px; }
  .lp-phone { width: 270px; height: 540px; }
  .lp-plaq img { width: 72px; }
  .lp-q p { margin-left: 0; }
  .lp-foot-cols { gap: 36px; }
}

/* pedidos de acesso (admin) */
.count-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: var(--ink); color: var(--ink-text); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.app-li { gap: 8px; flex-wrap: wrap; }
.app-li .btn svg.i { width: 14px; height: 14px; }
.app-done { margin-top: 10px; } .app-done summary { cursor: pointer; padding: 6px 0; }

/* ================= Termos e Privacidade (/termos, /privacidade · legal.js) ================= */
.lg .lp-nav-r .btn { gap: 8px; }
.lg-back { display: inline-flex; transform: rotate(180deg); } .lg-back svg.i { width: 15px; height: 15px; }
.lg-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--border); }
.lg-hero .lp-wrap { display: grid; gap: 16px; justify-items: start; }
.lg-hero h1 { margin: 6px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.lg-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--card); }
.lg-switch a { padding: 6px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.lg-switch a.on { background: var(--ink); color: var(--ink-text); }
.lg-date { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); color: var(--muted); }
.lg-date svg.i { width: 14px; height: 14px; }
.lg-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
.lg-toc { position: sticky; top: 88px; display: grid; gap: 2px; max-height: calc(100vh - 110px); overflow: auto; }
.lg-toc .lp-eb { margin-bottom: 10px; }
.lg-toc a { display: flex; gap: 10px; padding: 6px 10px; border-radius: 8px; font-size: 13px; line-height: 1.35; color: var(--text-2); text-decoration: none; border-left: 2px solid transparent; }
.lg-toc a span { font: 500 11px/1.6 var(--mono); color: var(--muted); }
.lg-toc a:hover { background: var(--card); color: var(--text); }
.lg-toc a.on { color: var(--text); background: var(--card); border-left-color: var(--text); }
.lg-doc { max-width: 760px; display: grid; gap: 8px; }
.lg-sec { scroll-margin-top: 88px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.lg-sec:first-child { padding-top: 0; }
.lg-sec h2 { display: flex; gap: 12px; align-items: baseline; margin: 0 0 14px; font-size: 21px; letter-spacing: -.02em; line-height: 1.25; }
.lg-sec h2 span { font: 500 12px/1 var(--mono); color: var(--muted); }
.lg-sec p { margin: 0 0 12px; color: var(--text-2); }
.lg-sec p:last-child { margin-bottom: 0; }
.lg-sec b { color: var(--text); font-weight: 600; }
.lg-sec ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 9px; }
.lg-sec li { position: relative; padding-left: 20px; color: var(--text-2); }
.lg-sec li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.lg-sec a, .lg-note a { color: var(--text); font-weight: 500; text-underline-offset: 3px; }
.lg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.lg-box { padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.lg-box b { display: block; margin-bottom: 6px; }
.lg-box p { margin: 0; font-size: 14px; }
.lg-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; }
.lg-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lg-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: 11px 16px; background: var(--card); border-bottom: 1px solid var(--border); }
.lg-table td { padding: 12px 16px; vertical-align: top; color: var(--text-2); border-bottom: 1px solid var(--border); }
.lg-table tr:last-child td { border-bottom: 0; }
.lg-table td:first-child { width: 34%; }
.lg-fill { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--text); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.lg-next { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.lg-next a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.lg-next a svg.i { width: 16px; height: 16px; }
.lg-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.lg .lp-foot { padding-top: 0; }
.lg .lp-foot-b { margin-top: 0; }
.lg .lp-foot-b a, .lp-legal a, .co-legal a { color: inherit; text-underline-offset: 2px; }
.co-legal { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) {
  .lg-body { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .lg-toc { position: static; max-height: none; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
  .lg-toc a.on { background: none; border-left-color: transparent; }
  .lg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lg-hero { padding: 36px 0 28px; }
  .lg .lp-nav-r .btn { padding: 0 10px; }
  .lg-sec h2 { font-size: 19px; }
  .lg-table td:first-child { width: 40%; }
}

/* ================= prints reais da plataforma na página de apresentação ================= */
.lp-img { display: block; width: 100%; height: auto; }
.lp-img-l { display: none; }
[data-theme="light"] .lp-img-l { display: block; }
[data-theme="light"] .lp-img-d { display: none; }
.lp-win-bar b { display: inline-flex; align-items: center; gap: 6px; }
.lp-win-bar b svg.i { width: 12px; height: 12px; }
.lp-win-shot { background: var(--panel); }
.lp-win-sm { width: 100%; max-width: 600px; }
.lp-dev { margin: 0; width: 100%; max-width: 330px; display: grid; gap: 10px; justify-items: center; }
.lp-dev figcaption { font-size: 11.5px; color: var(--muted); text-align: center; }
.lp-dev-scr { width: 100%; max-height: 560px; overflow: hidden; border-radius: 26px; border: 1px solid var(--border-2); background: #0b0b0b; box-shadow: var(--shadow-pop); }
.lp-dev-bump { display: flex; flex-direction: column; justify-content: flex-end; }
.lp-phone-shot { padding: 0; overflow: hidden; }
.lp-phone-shot .lp-ph-scr { position: absolute; inset: 9px; border-radius: 40px; overflow: hidden; background: #000; }
.lp-phone-shot .lp-ph-scr .lp-img { width: 100%; }
.lp-phone-shot .lp-notifs { position: absolute; top: 58px; left: 18px; right: 18px; z-index: 2; }
.lp-phone-shot .lp-notif { background: rgba(18,18,18,.86); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.lp-phone-shot .lp-ph-hint { z-index: 2; bottom: 20px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; opacity: 1; font-size: 9.5px; }
.lp-phone-shot.sm .lp-notifs { top: 44px; }
@media (max-width: 560px) { .lp-dev-scr { max-height: 500px; } .lp-phone-shot .lp-ph-hint { font-size: 8.5px; } }
