:root {
  color-scheme: light;
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --line: #e8e7e3;
  --line-2: #d9d8d3;
  --text: #16191a;
  --text-2: #55595b;
  --text-3: #8a8e90;
  --brand: #1E4B57;
  --brand-2: #163A43;
  --gold: #B8894A;
  --s1: #00809A;          /* faturamento */
  --s2: #C8892B;          /* lucro */
  --neutral-bar: #c9ccce;
  --good: #1a7f4b;
  --good-bg: #e7f4ec;
  --bad: #c0392b;
  --bad-bg: #fbeceb;
  --warn: #9a6b00;
  --warn-bg: #fdf4dc;
  --grid: #eeede9;
  --shadow: 0 1px 2px rgba(16, 24, 26, .04);
  --r: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111314; --surface: #1a1c1d; --surface-2: #202324; --line: #2a2d2e; --line-2: #3a3e40;
    --text: #eef0f0; --text-2: #b6bbbd; --text-3: #7f8588;
    --brand: #3c8396; --brand-2: #2f6e7e; --gold: #D4A462;
    --s1: #0B8AA3; --s2: #C4861F; --neutral-bar: #4a4f52;
    --good: #4cc584; --good-bg: #16301f; --bad: #ef7a6c; --bad-bg: #3a1d1a; --warn: #e6b84a; --warn-bg: #352a10;
    --grid: #26292a; --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111314; --surface: #1a1c1d; --surface-2: #202324; --line: #2a2d2e; --line-2: #3a3e40;
  --text: #eef0f0; --text-2: #b6bbbd; --text-3: #7f8588;
  --brand: #3c8396; --brand-2: #2f6e7e; --gold: #D4A462;
  --s1: #0B8AA3; --s2: #C4861F; --neutral-bar: #4a4f52;
  --good: #4cc584; --good-bg: #16301f; --bad: #ef7a6c; --bad-bg: #3a1d1a; --warn: #e6b84a; --warn-bg: #352a10;
  --grid: #26292a; --shadow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.45 Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.num, td.n, th.n { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.fraco { color: var(--text-3); }
a { color: var(--brand); }

/* logo TEMAS SHOPIFY (mesmo do site) */
.logo-ts { display: inline-flex; align-items: stretch; font-family: Poppins, Arial, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .12em; line-height: 1; }
.logo-ts .logo-tag { background: #141414; color: #fff; padding: 9px 10px 9px 12px; border-radius: 8px 0 0 8px; }
.logo-ts .logo-shop { color: #1F7A3A; padding: 7px 12px 7px 10px; border: 2px solid #141414; border-left: 0; border-radius: 0 8px 8px 0; position: relative; background: #fff; }
.logo-ts .logo-shop::after { content: ""; position: absolute; top: -5px; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: #95BF47; box-shadow: 0 0 0 2px var(--logo-anel, #FAFAF7); }
.logo-ts-sm { font-size: 11px; margin: 0 8px; align-self: flex-start; --logo-anel: var(--surface); }
.logo-ts-sm .logo-tag { padding: 7px 8px 7px 9px; border-radius: 6px 0 0 6px; }
.logo-ts-sm .logo-shop { padding: 5px 9px 5px 8px; border-radius: 0 6px 6px 0; }

/* login: cartão escuro sobre grade, destaque dourado da marca */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; color-scheme: dark; color: #ECEAE6; font-family: Inter, system-ui, sans-serif;
  background-color: #081013;
  background-image: linear-gradient(rgba(95,163,179,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(95,163,179,.06) 1px, transparent 1px);
  background-size: 68px 68px; background-position: center; }
.login-card { position: relative; width: 100%; max-width: 408px; background: #0E171A; border: 1px solid #1F3138; border-radius: 16px; padding: 30px 32px 22px; display: grid; gap: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 40px 120px 40px rgba(0,0,0,.65); }
.login-status { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #8E8C88; margin-bottom: 26px; white-space: nowrap; }
.login-status .ponto { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #4E9AAD; display: grid; place-items: center; flex: none; }
.login-status .ponto::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4E9AAD; box-shadow: 0 0 8px #4E9AAD; animation: pulsar 2.4s ease-in-out infinite; }
.login-status i { width: 1px; height: 11px; background: #2A3E45; }
.login-status b { color: #6FB3C4; font-weight: 700; }
@keyframes pulsar { 50% { opacity: .35; } }
.login-marca { margin: 0 0 8px; font: 700 28px/1.15 Inter, system-ui, sans-serif; letter-spacing: -.02em; color: #F4F2EE; }
.login-marca span { color: #B8894A; }
.login-sub { margin: 0 0 24px; color: #A9A7A2; font-size: 14.5px; line-height: 1.55; }
.login-rot { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #8E8C88; margin-bottom: 8px; }
.login-card input[type=password] { background: #091114; border: 1px solid #22363D; border-radius: 10px; padding: 14px 16px; font: inherit; font-size: 15px; color: #ECEAE6; transition: border-color .15s, box-shadow .15s; }
.login-card input[type=password]::placeholder { color: #55534F; letter-spacing: .1em; }
.login-card input[type=password]:focus { outline: none; border-color: #4E9AAD; box-shadow: 0 0 0 3px rgba(78,154,173,.2); }
.btn-ouro { margin-top: 14px; min-height: 46px; border: 0; border-radius: 10px; cursor: pointer; font: 600 14.5px Inter, system-ui, sans-serif; color: #FFFFFF;
  background: linear-gradient(180deg, #2F6B7B 0%, #1E4B57 60%, #183E48 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px #2A5C69, 0 8px 22px -8px rgba(46,120,140,.7); transition: filter .15s, transform .15s; }
.btn-ouro:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ouro:disabled { opacity: .6; transform: none; }
.login .erro { color: #EF7A6C; font-size: 13px; min-height: 18px; margin: 10px 0 0; }
.login-pe { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #1B2B31; margin-top: 8px; padding-top: 16px; font-size: 10.5px; letter-spacing: .14em; color: #6E6C68; }
@media (max-width: 420px) { .login-card { padding: 26px 20px 20px; } .login-status { gap: 7px; font-size: 10px; } .login-pe { flex-direction: column; gap: 4px; } }
.erro { color: var(--bad); min-height: 1em; margin: 0; }

/* estrutura */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 22px; }
.loja-sel { position: relative; }
.loja-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); cursor: pointer; text-align: left; }
.loja-btn:hover { border-color: var(--line-2); }
.loja-btn > svg { width: 16px; height: 16px; stroke: var(--text-3); fill: none; stroke-width: 2; margin-left: auto; flex: none; }
.loja-ini { width: 30px; height: 30px; border-radius: 8px; background: var(--text); color: var(--surface); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.loja-txt { display: grid; min-width: 0; line-height: 1.25; }
.loja-txt b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loja-txt small { font-size: 11px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loja-menu { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.14); padding: 4px; display: grid; gap: 2px; }
.loja-menu button { display: flex; align-items: center; gap: 10px; padding: 7px; border: 0; background: none; border-radius: 7px; cursor: pointer; text-align: left; }
.loja-menu button:hover, .loja-menu button.on { background: var(--surface-2); }
.loja-menu .loja-ini { width: 26px; height: 26px; font-size: 12px; }
.loja-menu .nova { color: var(--text-2); font-weight: 500; border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; padding: 9px 8px; }
.tema { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 2px; }
.tema button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; padding: 5px 6px; border-radius: 7px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.tema button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.tema button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
nav { display: grid; gap: 2px; }
nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-weight: 500; }
nav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
nav a:hover { background: var(--surface-2); color: var(--text); }
nav a.on { background: var(--surface-2); color: var(--text); box-shadow: inset 2px 0 0 var(--text); }
nav .sep { height: 1px; background: var(--line); margin: 10px 8px; }
.side-pe { margin-top: auto; display: grid; gap: 8px; padding: 0 8px; }
.sync { font-size: 12px; color: var(--text-3); }

.main { min-width: 0; }
.topo { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topo-in { max-width: 1480px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 28px; }
.topo h1 { font-size: 18px; margin: 0; font-weight: 600; flex: 1; }
.menu-btn { display: none; background: none; border: 0; padding: 4px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; stroke: var(--text); stroke-width: 2; }
.periodo { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.seg, .datas input { height: 34px; }
.seg button { display: inline-flex; align-items: center; }
.seg { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 2px; overflow-x: auto; max-width: 100%; }
.seg button { border: 0; background: none; padding: 5px 10px; border-radius: 7px; color: var(--text-2); cursor: pointer; white-space: nowrap; font-size: 13px; }
.seg button.on { background: var(--text); color: var(--surface); }
.datas { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.datas input { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 0 8px; font-size: 13px; width: 132px; }
.conteudo { padding: 24px 28px 64px; display: grid; gap: 20px; max-width: 1480px; margin: 0 auto; }

/* cartões */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px 0; flex-wrap: wrap; }
.card-h h2 { font-size: 14px; font-weight: 600; margin: 0; }
.card-h .muted { font-size: 12px; }
.card-b { padding: 14px 18px 18px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: 2fr 1fr; }

/* faixa hoje / mês */
.faixas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.faixa { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); align-items: center; gap: 4px 18px; padding: 14px 18px; }
.faixa .rot { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 600; writing-mode: horizontal-tb; }
.faixa .it > span { display: block; font-size: 11px; color: var(--text-3); }
.faixa .it b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kpi { background: var(--surface); padding: 16px 18px; min-width: 0; }
.kpi .k { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 22px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .d { font-size: 12px; margin-top: 4px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.kpi.destaque .v { color: var(--s1); }
.up { color: var(--good); } .down { color: var(--bad); }
.pos { color: var(--good); } .alerta { color: var(--warn); }
.kpi .v .pos, .kpi .v .neg, .kpi .v .alerta, td .pos, td .neg, td .alerta, .faixa .pos, .faixa .neg, .faixa .alerta, .barra .pos, .barra .neg, .barra .alerta { font-weight: 600; }
.tag.alerta { background: var(--warn-bg); border-color: transparent; }
.barra.res-pos .trilho div { background: var(--good); }
.barra.res-alerta .trilho div { background: var(--warn); }
.barra.res-neg .trilho div { background: var(--bad); }
.seg-ico button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; margin-right: 5px; }
.iof { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.iof input { width: 64px; text-align: right; padding: 5px 8px; }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.nome-loja { max-width: 240px; }
.btn-perigo { background: var(--bad); color: #fff; }
.acoes-loja { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.kpi .d .up, .kpi .d .down { font-weight: 600; }
.neg { color: var(--bad); }

/* aviso */
.aviso { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 13px; }
.aviso a { color: inherit; font-weight: 600; }
.aviso svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }

/* gráfico */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--grid); }
.chart .eixo text { fill: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .zero { stroke: var(--line-2); }
.legenda { display: flex; gap: 16px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legenda i.linha { height: 3px; border-radius: 2px; vertical-align: 2px; width: 14px; }
.tip { position: fixed; z-index: 50; pointer-events: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-size: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 190px; opacity: 0; transition: opacity .08s; }
.tip.on { opacity: 1; }
.tip h4 { margin: 0 0 6px; font-size: 12px; font-weight: 600; }
.tip .l { display: flex; justify-content: space-between; gap: 16px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tip .l b { color: var(--text); font-weight: 600; }
.tip .l i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.tip hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* barras de lista */
.barras { display: grid; gap: 10px; }
.barra .t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.barra .t span:last-child { font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; }
.barra .t b { color: var(--text); font-weight: 600; }
.barra .trilho { height: 6px; background: var(--surface-2); border-radius: 3px; margin-top: 5px; overflow: hidden; }
.barra .trilho div { height: 100%; border-radius: 3px; background: var(--neutral-bar); }
.barra.lucro .trilho div { background: var(--s2); }
.barra.ruim .trilho div { background: var(--bad); }

/* tabelas */
.tabela-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 500; color: var(--text-3); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; background: var(--surface); }
th.ord { cursor: pointer; user-select: none; }
th.ord:hover { color: var(--text); }
th.ord.on::after { content: " ↓"; }
th.ord.on.asc::after { content: " ↑"; }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tfoot td { font-weight: 600; border-top: 1px solid var(--line-2); border-bottom: 0; }
.nome { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.prod img, .prod .ph { width: 36px; height: 36px; border-radius: 7px; object-fit: cover; flex: none; background: var(--surface-2); border: 1px solid var(--line); }
.prod div { min-width: 0; }
.prod .sub { font-size: 12px; color: var(--text-3); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--good-bg); color: var(--good); border-color: transparent; }
.pill.pend { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.pill.no { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.tag { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }

/* formulários */
.btn { border: 1px solid transparent; border-radius: 9px; padding: 8px 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.btn-pri { background: var(--text); color: var(--surface); }
.btn-pri:hover { opacity: .88; }
.btn-sec { background: var(--surface); border-color: var(--line-2); }
.btn-sec:hover { background: var(--surface-2); }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-link { background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.btn-link:hover { color: var(--bad); background: var(--bad-bg); }
.btn:disabled { opacity: .5; cursor: default; }
input[type=text], input[type=number], input[type=password], input[type=date], select, textarea { border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 7px 10px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--text) 25%, transparent); outline-offset: 0; border-color: var(--text-2); }
.campo { display: grid; gap: 5px; font-size: 12px; color: var(--text-2); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.inp-din { width: 100px; text-align: right; padding: 5px 8px; }
.inp-din.sujo { border-color: var(--s2); background: color-mix(in srgb, var(--s2) 8%, var(--surface)); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px dashed var(--line-2); background: none; border-radius: 99px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--text-2); }
.chip:hover { border-style: solid; color: var(--text); }
.abas { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 18px; }
.abas button { border: 0; background: none; padding: 12px 10px; cursor: pointer; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.abas button.on { color: var(--text); border-color: var(--text); }
.barra-acoes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.barra-acoes input[type=text] { max-width: 280px; }
.vazio { padding: 32px; text-align: center; color: var(--text-3); }
.nota { font-size: 12px; color: var(--text-3); margin: 0; }
.conta { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.status-ok { color: var(--good); font-weight: 500; }
.status-no { color: var(--bad); font-weight: 500; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--surface); padding: 10px 16px; border-radius: 10px; font-size: 13px; opacity: 0; transition: .2s; pointer-events: none; z-index: 60; }
.toast.on { opacity: 1; transform: translateX(-50%); }
.carregando { opacity: .55; transition: opacity .15s; pointer-events: none; }

@media (max-width: 1280px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .g3, .g2, .faixas { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 40; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .side.on { transform: none; }
  .menu-btn { display: block; }
  .topo-in { padding: 12px 16px; }
  .periodo { justify-content: flex-start; }
  .datas input { width: auto; flex: 1; }
  .datas { flex: 1; }
  .kpis-3 { grid-template-columns: 1fr !important; }
  .topo h1 { flex: 1; }
  .periodo { width: 100%; }
  .conteudo { padding: 16px 16px 48px; gap: 16px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi .v { font-size: 19px; }
  .faixa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faixa .rot { grid-column: 1 / -1; }
}

/* uma loja só: só o nome, no estilo do login */
.loja-btn.unica { border: 0; background: none; padding: 2px 8px; cursor: default; }
.loja-btn.unica:hover { border: 0; }
.marca-loja { font: 700 22px/1.2 Inter, system-ui, sans-serif; letter-spacing: -.02em; color: var(--text); }
.marca-loja span { color: #B8894A; }
