/* waggleads — app
   Layout: menu lateral no PC, barra fixa embaixo no celular; conteúdo em cartões.
   Tema escuro por padrão (marca preto + verde-lima), com versão clara. */
:root {
  --bg: #0a0b08;
  --panel: #13150f;
  --panel2: #1b1e15;
  --line: #262a1d;
  --text: #eef0e6;
  --muted: #8f9483;
  --lime: #C9F31D;
  --lime-ink: #0a0b08;
  --accent-text: #C9F31D;
  --lime-soft: rgba(201, 243, 29, .14);
  --red: #ff6b6b;
  --red-soft: rgba(255, 107, 107, .14);
  --amber: #ffc04d;
  --amber-soft: rgba(255, 192, 77, .14);
  --blue: #6bb6ff;
  --blue-soft: rgba(107, 182, 255, .14);
  --purple: #b48cff;
  --purple-soft: rgba(180, 140, 255, .14);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f6ef; --panel: #ffffff; --panel2: #f0f2e8; --line: #e1e4d5; --text: #15170f; --muted: #686d5c;
    --accent-text: #4d6600; --lime-soft: rgba(150, 190, 0, .16); --shadow: 0 10px 30px rgba(20, 30, 0, .08);
    --red: #d64545; --amber: #b67a00; --blue: #2f7fd1; --purple: #7a52d6; color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f6ef; --panel: #ffffff; --panel2: #f0f2e8; --line: #e1e4d5; --text: #15170f; --muted: #686d5c;
  --accent-text: #4d6600; --lime-soft: rgba(150, 190, 0, .16); --shadow: 0 10px 30px rgba(20, 30, 0, .08);
  --red: #d64545; --amber: #b67a00; --blue: #2f7fd1; --purple: #7a52d6; color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.num, td.n, .val { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; }

.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }

/* ---------- estrutura ---------- */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line);
  background: var(--panel); padding: 18px 14px 24px; display: flex; flex-direction: column; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 2px 6px; }
.brand img { width: 34px; height: 34px; }
.brand span { font: 700 20px/1 var(--display); letter-spacing: -.03em; }
.brand b { color: var(--accent-text); font-weight: 700; }
.navgroup { display: flex; flex-direction: column; gap: 2px; }
.navgroup .glabel { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 10px 4px; }
.navlink {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none;
  color: var(--muted); font-weight: 500;
}
.navlink svg { width: 18px; height: 18px; flex: none; }
.navlink:hover { color: var(--text); background: var(--panel2); }
.navlink.on { color: var(--lime-ink); background: var(--lime); font-weight: 600; }
.navlink .soon { margin-left: auto; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; }
.navlink.on .soon { color: var(--lime-ink); border-color: rgba(0,0,0,.25); }
.side .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font: 700 14px var(--display); flex: none; }
.me .who { min-width: 0; }
.me .who strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me .who span { font-size: 12px; color: var(--muted); }

.main { min-width: 0; }
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-block: 12px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.topbar .mbrand { display: none; }
.topbar .title { font: 600 15px var(--display); margin-right: auto; }
.content { max-width: 1320px; margin: 0 auto; padding-block: 22px 48px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

.chip, .seg button, .btn {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--panel);
  border-radius: 999px; padding: 7px 13px; cursor: pointer; font-weight: 500; white-space: nowrap;
}
.chip:hover, .btn:hover { border-color: var(--muted); }
.chip svg, .btn svg { width: 16px; height: 16px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--panel); }
.seg button { border: 0; background: transparent; padding: 5px 12px; color: var(--muted); }
.seg button.on { background: var(--lime); color: var(--lime-ink); font-weight: 600; }
.btn.primary { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.danger { color: var(--red); }
.btn.small { padding: 5px 10px; font-size: 12px; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; cursor: pointer; }
.iconbtn svg { width: 18px; height: 18px; }

/* ---------- blocos ---------- */
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pagehead p { margin: 4px 0 0; color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
select, input[type=search], input[type=text], input[type=url], input[type=email], input[type=password], input[type=number], input[type=date], textarea {
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; min-width: 0;
}
textarea { resize: vertical; min-height: 80px; }
input::placeholder, textarea::placeholder { color: var(--muted); }

.grid { display: grid; gap: 12px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-bottom: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.card .lbl { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.card .lbl svg { width: 14px; height: 14px; opacity: .8; }
.card .val { font: 700 24px/1.2 var(--display); margin-top: 8px; word-break: break-word; }
.card .sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.card.pos .val { color: var(--accent-text); }
.card.neg .val { color: var(--red); }
.card.pending { border-style: dashed; }
.card.pending .val { color: var(--muted); }
.card.pending .sub { color: var(--amber); }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 18px; }
.big { border-radius: 18px; padding: 18px 20px; border: 1px solid var(--line); background: var(--panel); position: relative; overflow: hidden; }
.big .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.big .val { font: 700 36px/1.1 var(--display); margin-top: 10px; }
.big .qty { position: absolute; right: 18px; bottom: 18px; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--panel2); color: var(--muted); }
.big .cur { position: absolute; right: 18px; top: 16px; font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.big.lime { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.big.lime .lbl { color: rgba(10, 11, 8, .7); }
.big.lime .qty { background: var(--lime-ink); color: var(--lime); }
.big.lime .cur { border-color: rgba(10,11,8,.3); color: rgba(10,11,8,.7); }
.big .bee { position: absolute; right: -20px; bottom: -34px; width: 150px; opacity: .07; pointer-events: none; }

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; margin-bottom: 18px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-width: 0; }
.panel.wide { grid-column: 1 / -1; }
.panel .phead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.panel .phead h2 { margin: 0; }

/* gráficos */
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
.c-bar { fill: var(--lime); }
.c-bar2 { fill: var(--blue); }
.c-bar.neg { fill: var(--red); }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-tick { fill: var(--muted); font-size: 10px; font-family: var(--body); }
.c-line { fill: none; stroke: var(--lime); stroke-width: 2; }
.c-area { fill: var(--lime-soft); }
.c-dot { fill: var(--lime); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.hb { display: grid; grid-template-columns: minmax(70px, 140px) 1fr auto; gap: 10px; align-items: center; margin: 9px 0; font-size: 13px; }
.hb .k { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb .track { background: var(--panel2); border-radius: 6px; height: 10px; overflow: hidden; }
.hb .fill { background: var(--lime); height: 100%; border-radius: 6px; }
.empty { color: var(--muted); padding: 26px 8px; text-align: center; }
.empty strong { display: block; color: var(--text); margin-bottom: 4px; }

/* tabelas */
.tw { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { color: var(--muted); font-weight: 500; text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; user-select: none; }
th[data-sort] { cursor: pointer; }
th[data-sort]:hover { color: var(--text); }
th.sorted { color: var(--accent-text); }
td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td.n, th.n { text-align: right; }
td.wrap { white-space: normal; min-width: 220px; }
tr:last-child td { border-bottom: 0; }
tfoot td { font-weight: 600; border-top: 1px solid var(--line); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--panel2); color: var(--muted); }
.b-sale, .b-yes, .b-escalar, .b-ativa, .b-escala { background: var(--lime-soft); color: var(--accent-text); }
.b-upsell, .b-testando { background: var(--blue-soft); color: var(--blue); }
.b-renewal, .b-subscription { background: var(--purple-soft); color: var(--purple); }
.b-refund, .b-chargeback, .b-critico, .b-morta { background: var(--red-soft); color: var(--red); }
.b-no, .b-observar, .b-pausada { background: var(--amber-soft); color: var(--amber); }

/* lista estilo notificação (últimas vendas) */
.feed { display: flex; flex-direction: column; gap: 8px; }
.feed .item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--panel2); }
.feed .item img { width: 38px; height: 38px; flex: none; }
.feed .item .t { font-weight: 700; font-size: 14px; }
.feed .item .s { color: var(--muted); font-size: 12.5px; }
.feed .item .r { margin-left: auto; text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.feed .item .r b { display: block; color: var(--text); font: 600 15px var(--display); }
.night { color: var(--accent-text); font-weight: 700; }

/* semáforo */
.signals { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.signal { border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); background: var(--panel); }
.signal .n { font: 700 30px var(--display); }
.signal.escalar { border-color: color-mix(in srgb, var(--lime) 45%, var(--line)); }
.signal.escalar .n { color: var(--accent-text); }
.signal.observar .n { color: var(--amber); }
.signal.critico { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); }
.signal.critico .n { color: var(--red); }
.camp-row { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.camp-row:last-child { border-bottom: 0; }
.camp-row .stripe { align-self: stretch; border-radius: 6px; background: var(--muted); }
.camp-row .stripe.escalar { background: var(--lime); }
.camp-row .stripe.observar { background: var(--amber); }
.camp-row .stripe.critico { background: var(--red); }
.camp-row .why { color: var(--muted); font-size: 13px; margin-top: 2px; }
.camp-row .nums { display: flex; gap: 18px; text-align: right; font-size: 12px; color: var(--muted); }
.camp-row .nums b { display: block; color: var(--text); font: 600 15px var(--display); }

/* formulários e folhas */
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 12px; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--muted); }
.err { color: var(--red); font-size: 13px; }
.okmsg { color: var(--accent-text); font-size: 13px; }

.sheet-back { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line);
  border-radius: 22px 22px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--shadow); animation: up .22s ease-out;
}
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 12px; }
.sheet .shead { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sheet .shead h2 { margin: 0; margin-right: auto; font-size: 17px; }
.sheet .sec { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 500; }
.pills button.on { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 600; }
.daterow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.daterow input { width: 100%; }
.sheet .actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 18px; }
.sheet .actions .btn { justify-content: center; padding: 12px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 900px) {
  .sheet-back { align-items: center; }
  .sheet { border-radius: 22px; }
}

.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; transition: .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 20px; height: 20px; left: 2px; top: 2px; border-radius: 50%; background: var(--muted); transition: .15s; }
.switch input:checked + span { background: var(--lime); border-color: var(--lime); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--lime-ink); }
.switch input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }

.setlist { display: flex; flex-direction: column; }
.setrow { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.setrow:last-child { border-bottom: 0; }
.setrow .t { margin-right: auto; min-width: 0; }
.setrow .t strong { display: block; font-weight: 600; }
.setrow .t span { color: var(--muted); font-size: 13px; }
.setrow svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; }

.urlbox { display: flex; gap: 8px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 6px 0 12px; flex-wrap: wrap; }
.urlbox code { flex: 1; min-width: 200px; word-break: break-all; font-family: var(--mono); font-size: 12px; }

.soonpage { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.soonhead { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--lime-soft); margin-bottom: 18px; }
.soonhead img { width: 48px; height: 48px; flex: none; }
.soonhead p { margin: 2px 0 0; color: var(--muted); }
.rm { list-style: none; margin: 0; padding: 0; }
.rm li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.rm li:last-child { border-bottom: 0; }
.rm strong { display: block; }
.rm span { color: var(--muted); font-size: 13px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--lime); }
.dot.amber { background: var(--amber); }
.dot.grey { background: var(--muted); }
.dot.red { background: var(--red, #ff5a5a); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 14px; cursor: pointer; color: var(--muted); }
.tabs button.on { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 600; }

/* login */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; position: relative; overflow: hidden; }
.auth .box { width: min(400px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.auth .box img { width: 64px; height: 64px; display: block; margin-bottom: 14px; }
.auth h1 { font-size: 22px; margin-bottom: 4px; }
.auth .box > p { color: var(--muted); }
.auth .form .btn { justify-content: center; padding: 12px; }
.auth .beebg { position: absolute; width: min(110vw, 900px); opacity: .05; transform: rotate(-12deg); }

/* avisos de venda dentro do app */
#toasts { position: fixed; z-index: 80; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(16px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 8px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #131110; color: #fff; border: 1px solid #2a2a2a; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: drop .35s cubic-bezier(.2, .9, .3, 1.2); }
.toast img { width: 40px; height: 40px; flex: none; }
.toast .t { font-weight: 700; }
.toast .s { color: #cfcfcf; font-size: 13px; }
.toast.info { background: var(--panel); color: var(--text); border-color: var(--line); }
.toast.info .s { color: var(--muted); }
@keyframes drop { from { transform: translateY(-24px) scale(.96); opacity: 0; } }

/* ---------- celular ---------- */
.bottomnav { display: none; }
@media (max-width: 899px) {
  .shell { display: block; }
  .side { display: none; }
  .topbar { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .topbar .mbrand { display: flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; }
  .topbar .mbrand img { width: 28px; height: 28px; }
  .topbar .mbrand span { font: 700 18px var(--display); letter-spacing: -.03em; }
  .topbar .mbrand b { color: var(--accent-text); }
  .topbar .title { display: none; }
  .topbar .hide-m { display: none; }
  .content { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  h1 { font-size: 21px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card { padding: 12px; }
  .card .val { font-size: 19px; }
  .big .val { font-size: 30px; }
  .panels { grid-template-columns: minmax(0, 1fr); }
  .camp-row { grid-template-columns: 6px minmax(0, 1fr); }
  .camp-row .nums { grid-column: 2; justify-content: flex-start; text-align: left; }
  .bottomnav {
    display: flex; position: fixed; z-index: 40; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--panel) 94%, transparent);
    backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 26px; padding: 7px; box-shadow: var(--shadow); justify-content: space-between;
  }
  .bottomnav a, .bottomnav button { flex: 1; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; text-decoration: none; color: var(--muted); font-size: 10.5px; cursor: pointer; border-radius: 18px; }
  .bottomnav svg { width: 21px; height: 21px; }
  .bottomnav .on { color: var(--lime-ink); }
  .bottomnav .on .ic { background: var(--lime); }
  .bottomnav .ic { width: 42px; height: 30px; border-radius: 15px; display: grid; place-items: center; }
  .bottomnav .on span:not(.ic) { color: var(--text); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* login seguro */
.auth .box img.qr { width: 200px; height: 200px; margin: 14px auto; border-radius: 12px; background: #fff; padding: 6px; }
.auth code, .codes code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.codes code { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; font-size: 15px; }
.auth .box > .btn { width: 100%; justify-content: center; padding: 12px; }
.small { font-size: 13px; }
