/* Painel PMD Hub. Cores por papel (tokens) com modo escuro automatico.
   Series dos graficos: paleta categorica validada (azul, laranja, aqua). */
:root {
  color-scheme: light;
  --page: #f5f4f2;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --ink: #16161a;
  --ink-2: #4a4a52;
  --muted: #686871;
  --line: #e8e5e0;
  --line-2: #d9d5ce;
  --brand: #c24e08;
  --brand-ink: #ffffff;
  --brand-soft: #fff1e5;
  --btn: linear-gradient(135deg, #c24e08, #b03a06);
  --accent: #ff9f1c;
  --accent-2: #f26a0a;
  --side: #141417;
  --side-ink: #b4b4be;
  --side-on: #ffffff;
  --shadow: 0 1px 2px rgba(20, 20, 23, 0.04), 0 4px 16px rgba(20, 20, 23, 0.05);
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --ok: #0a7a32;
  --ok-bg: #e8f7ee;
  --bad: #b42323;
  --bad-bg: #fdecec;
  --warn: #855600;
  --warn-bg: #fff2cc;
  --info: #1d4ed8;
  --info-bg: #e8efff;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0e0e11;
    --surface: #17171c;
    --surface-2: #1f1f26;
    --ink: #f4f4f5;
    --ink-2: #c8c8d0;
    --muted: #9c9ca7;
    --line: #2a2a32;
    --line-2: #3a3a44;
    --brand: #ff9a3c;
    --brand-ink: #1c0e02;
    --brand-soft: #35210f;
    --btn: linear-gradient(135deg, #ffa940, #ff7d1f);
    --side: #09090b;
    --shadow: none;
    --grid: #2c2c2a;
    --axis: #383835;
    --series-1: #3987e5;
    --series-2: #d95926;
    --series-3: #199e70;
    --ok: #4ade80;
    --ok-bg: #12301f;
    --bad: #f87171;
    --bad-bg: #3a1618;
    --warn: #fbbf24;
    --warn-bg: #3a2c0c;
    --info: #93b4ff;
    --info-bg: #1b2547;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 24px; margin: 0; letter-spacing: -0.02em; line-height: 1.25; }
h2 { font-size: 15px; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); }
small { color: var(--muted); font-size: 12px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------- layout ---------- */
body.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); padding: 18px 14px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--side-on); font-weight: 800; font-size: 17px; padding: 0 6px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-weight: 400; font-size: 11.5px; color: var(--side-ink); letter-spacing: 0; }
.logo { width: 64px; height: 40px; border-radius: 10px; border: 4px solid #fff; background: #fff url("/logo.webp") center / 123% no-repeat padding-box; flex: none; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.nav-group { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #75757f; padding: 12px 12px 6px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--side-ink); font-weight: 500; position: relative; }
.side nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--side-on); text-decoration: none; }
.side nav a.on { background: linear-gradient(90deg, rgba(255, 159, 28, 0.2), rgba(226, 68, 10, 0.08)); color: var(--side-on); font-weight: 600; }
.side nav a.on::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), #e2440a); }
.side nav a.on .ic { color: var(--accent); }
.ic { width: 18px; height: 18px; flex: none; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 12px; }
.foot-link, button.foot-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--side-ink); font: inherit; font-weight: 500; cursor: pointer; justify-content: flex-start; box-shadow: none; }
.foot-link:hover, button.foot-link:hover { background: rgba(255, 255, 255, 0.06); color: var(--side-on); text-decoration: none; }
.main { padding: 28px 32px 56px; min-width: 0; width: 100%; max-width: 1360px; justify-self: center; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.top .muted { margin-top: 4px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- topo da visao geral ---------- */
.hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; padding: 26px 28px; border-radius: 18px; color: #fff; background: radial-gradient(700px 300px at 100% 0%, rgba(255, 159, 28, 0.42), transparent 62%), radial-gradient(500px 260px at 80% 120%, rgba(226, 68, 10, 0.38), transparent 65%), #17171b; border: 1px solid rgba(255, 255, 255, 0.06); }
.hero h1 { font-size: 26px; }
.hero-date { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.hero-sum { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.hero-sum span { background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: #e4e4e9; }
.hero-sum strong { color: #fff; }
.btn.glass { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; box-shadow: none; }

/* ---------- blocos ---------- */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
@media (max-width: 1100px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .g2, .g3 { grid-template-columns: 1fr; } .span2 { grid-column: auto; } }
.stack { display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head a, .section-head a { font-size: 13px; font-weight: 600; }
.card.blank { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.section-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 22px 0 10px; font-weight: 700; }
.section-head .section-title { margin-top: 0; }

.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.store { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.store:hover { border-color: var(--line-2); }
.store-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.store-head > div { min-width: 0; }
.store-head a { color: var(--ink); font-weight: 700; font-size: 15px; }
.store-head .sub { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--accent), #e2440a); }
.store-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.store-actions .btn { justify-content: center; padding: 7px 8px; font-size: 13px; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; margin-bottom: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kpi-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.kpi-label { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kpi-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; margin: -2px -4px 0 0; }
.kpi-value { font-size: 23px; font-weight: 750; margin-top: 4px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-detail { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.kpi.bad { box-shadow: inset 3px 0 0 var(--bad); }
.kpi.warn { box-shadow: inset 3px 0 0 var(--warn); }
.kpi.good { box-shadow: inset 3px 0 0 var(--ok); }
.kpi.bad .kpi-ic { background: var(--bad-bg); color: var(--bad); }
.kpi.warn .kpi-ic { background: var(--warn-bg); color: var(--warn); }
.kpi.good .kpi-ic { background: var(--ok-bg); color: var(--ok); }
.up { color: var(--ok); font-weight: 600; }
.down { color: var(--bad); font-weight: 600; }

/* ---------- tabelas ---------- */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--surface-2); }
thead th:first-child { border-radius: 8px 0 0 8px; }
thead th:last-child { border-radius: 0 8px 8px 0; }
th.num, td.num, .t-num td:not(:first-child), .t-num th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:hover td { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td .sub { display: block; color: var(--muted); font-size: 12px; }
.empty { color: var(--muted); padding: 14px 0; margin: 0; }

/* ---------- selos ---------- */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- formularios ---------- */
form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
form.inline { display: inline-flex; flex-direction: row; align-items: center; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
label.check input { width: 18px; height: 18px; accent-color: var(--accent-2); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; min-width: 0; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(242, 106, 10, 0.28); outline-offset: 0; border-color: var(--accent-2); }
button, .btn { font: inherit; font-weight: 650; padding: 9px 16px; border: 1px solid transparent; border-radius: 10px; background: var(--btn); color: var(--brand-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; white-space: nowrap; }
.btn:hover, button:hover { filter: brightness(1.07); text-decoration: none; }
button.secondary, .btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
button.danger { background: var(--bad); color: #fff; }
button.ok { background: var(--ok); color: #fff; }
button.link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 500; }
.btn.whats { background: #17803f; color: #fff; }
button.wide, .btn.wide { align-self: stretch; min-height: 48px; font-size: 15px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
details.confirm summary { cursor: pointer; color: var(--bad); font-weight: 600; font-size: 13px; list-style: none; }
details.confirm[open] summary { margin-bottom: 8px; }
details.confirm summary::-webkit-details-marker { display: none; }
details.confirm summary.plain { color: var(--brand); }

/* ---------- abas/filtros ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tabs a.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.tabs a:hover { text-decoration: none; }
.searchbar { flex-direction: row; align-items: center; gap: 8px; margin-bottom: 14px; }
.searchbar input { flex: 1; max-width: 380px; }

/* ---------- avisos ---------- */
.flash { border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; border: 1px solid var(--line); }
.flash.ok { background: var(--ok-bg); }
.flash.bad { background: var(--bad-bg); }
.flash pre, pre.log { white-space: pre-wrap; word-break: break-word; margin: 0; font: 12.5px/1.5 ui-monospace, Consolas, monospace; }
pre.log { background: #101014; color: #e4e4e9; padding: 14px; border-radius: 12px; max-height: 60vh; overflow: auto; }
.secret { font: 14px ui-monospace, Consolas, monospace; background: var(--surface-2); border: 1px dashed var(--line-2); padding: 4px 8px; border-radius: 6px; }

/* ---------- graficos ---------- */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chartwrap { overflow-x: auto; }
.chart.cols { min-width: 760px; max-width: 1100px; }
.chart.bars { min-width: 420px; max-width: 640px; }
.chart .gl { stroke: var(--grid); stroke-width: 1; }
.chart .axis { stroke: var(--axis); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 11px; }
.chart .lbl { fill: var(--ink-2); font-size: 12.5px; }
.chart .val { fill: var(--ink); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart .hit { fill: transparent; }
.s1 { fill: var(--series-1); }
.s2 { fill: var(--series-2); }
.s3 { fill: var(--series-3); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }
.legend .key { display: inline-flex; align-items: center; gap: 6px; }
details.tableview { margin-top: 6px; font-size: 12.5px; }
details.tableview summary { cursor: pointer; color: var(--muted); }
details.tableview table { margin-top: 6px; }

/* ---------- lista/linha do tempo ---------- */
.list { display: flex; flex-direction: column; }
.list .item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.list .item:last-child { border-bottom: 0; }
.list .item .sub { display: block; color: var(--muted); font-size: 12px; }
.timeline { display: flex; flex-direction: column; gap: 10px; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: var(--surface-2); }
.msg.us { background: var(--brand-soft); border-color: transparent; }
.msg .meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.msg .body { white-space: pre-wrap; word-break: break-word; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; }
.dl dt { color: var(--muted); font-size: 12.5px; }
.dl dd { margin: 0; min-width: 0; word-break: break-word; }
.amount-in { color: var(--ok); font-weight: 600; }
.amount-out { color: var(--bad); font-weight: 600; }
.bigsum { font-size: 30px; font-weight: 750; letter-spacing: -0.02em; }
.card h2 + .fields, form h2 { margin-top: 4px; }
form h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- integracoes e contas conectadas ---------- */
.grid.top-align { align-items: start; }
.conn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.conn-head > div { flex: 1; min-width: 150px; }
.conn-head h2 { font-size: 16px; }
.conn-head small { display: block; }
.conn-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: 22px; }
.conn-mark.meta { background: linear-gradient(135deg, #0866ff, #7b3ff2); }
.conn-mark.google { background: linear-gradient(135deg, #4285f4, #34a853); }
details.howto { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
details.howto summary { cursor: pointer; font-weight: 650; font-size: 13px; color: var(--brand); min-height: 32px; }
details.howto ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); }
details.howto form { margin-top: 10px; }
details.howto .secret { display: inline-block; font-size: 12px; word-break: break-all; margin-top: 4px; }
.card .dl + .row, .card .dl + details.confirm { margin-top: 14px; }
.card.feed h3 { font-size: 13px; margin: 20px 0 8px; }
.card.feed th { white-space: nowrap; }
.card.feed td:first-child { min-width: 180px; }
.conn-head + .btn { margin-top: 2px; }

/* ---------- login e acesso do lojista ---------- */
body.auth { min-height: 100vh; background: var(--surface); }
body.auth .main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-width: none; padding: 0; min-height: 100vh; min-height: 100dvh; }
.auth-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px 56px; color: #fff; background: radial-gradient(800px 460px at 0% 0%, rgba(255, 159, 28, 0.3), transparent 60%), radial-gradient(700px 520px at 100% 100%, rgba(226, 68, 10, 0.4), transparent 62%), #131316; }
.auth-brand .brand { padding: 0; font-size: 20px; color: #fff; }
.auth-brand .brand small { color: #b9b9c3; }
.auth-brand .logo { width: 96px; height: 58px; border-radius: 14px; }
.auth-pitch { max-width: 520px; }
.auth-pitch h2 { font-size: 34px; line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 30px; }
.auth-pitch ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.auth-pitch li { display: flex; gap: 14px; align-items: flex-start; }
.auth-pitch li strong { display: block; font-size: 14.5px; }
.auth-pitch li div span { color: #b9b9c3; font-size: 13.5px; }
.feat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--accent); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.auth-legal { margin: 0; color: #85858f; font-size: 12px; }
.auth-side { display: grid; place-items: center; padding: 32px 24px; background: var(--surface); }
.auth-side.solo { grid-column: 1 / -1; }
.auth-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.auth-card h1 { font-size: 28px; }
.auth-card > p { margin: -4px 0 6px; }
.auth-card .flash { margin: 0; }
.auth-card .flash pre { font-family: inherit; font-size: 13px; }
.auth-card input { min-height: 48px; font-size: 16px; }
.auth-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }
.auth-tag .ic { width: 15px; height: 15px; }
.auth-alt { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--muted); }
.auth-alt a { font-weight: 650; display: inline-flex; align-items: center; min-height: 32px; }
.auth-back { align-self: flex-start; color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; min-height: 40px; }

@media (max-width: 900px) {
  body.app { display: block; }
  .side { height: auto; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand foot" "nav nav"; align-items: center; gap: 8px; padding: 10px 12px 8px; overflow: visible; position: static; }
  .side > .brand { grid-area: brand; padding: 0; }
  .side nav { grid-area: nav; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .nav-group { display: none; }
  .side nav a { flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 6px 2px 8px; font-size: 11.5px; text-align: center; white-space: nowrap; }
  .side nav a.on::before { left: 18px; right: 18px; top: auto; bottom: 0; width: auto; height: 3px; }
  .side-foot { grid-area: foot; margin: 0; border: 0; padding: 0; }
  .foot-link.site { display: none; }
  button.foot-link { min-height: 44px; }
  .main { padding: 16px 16px 44px; }
  .hero { padding: 20px 18px; border-radius: 16px; }
  .hero h1 { font-size: 22px; }
  .hero .actions { width: 100%; }
  .hero .actions .btn { flex: 1 1 140px; align-self: stretch; white-space: normal; text-align: center; padding-left: 10px; padding-right: 10px; }
  .hero .actions .btn:first-child { flex-basis: 100%; }
  button, .btn, input, select, .tabs a { min-height: 44px; }
  .tabs a { display: inline-flex; align-items: center; }
  label.check input { min-height: 0; }
  body.auth .main { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-brand { padding: 18px 20px; gap: 0; }
  .auth-brand .logo { width: 76px; height: 46px; border-radius: 12px; }
  .auth-pitch, .auth-legal { display: none; }
  .auth-side { align-items: start; padding: 28px 20px 40px; }
}
@media (max-width: 520px) {
  .stores, .kpis { grid-template-columns: 1fr; }
  .searchbar { flex-wrap: wrap; }
  .searchbar input { max-width: none; flex: 1 1 100%; }
}
