/* Milia — estilos das telas logadas (onboarding, app, contas, alertas, shopping).
   Complementa assets/site.css (identidade 22/09/2026: Confiança/Tecnologia/Leveza/
   Liberdade/Equilíbrio, Nunito + Lora, modo escuro por token). Sem framework. */

/* ---- nav do app ---- */
.nav .nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav .nav-links a { padding: 6px 10px; border-radius: var(--radius-md); font-size: 14px; }
.nav .nav-links a.on { background: var(--color-accent-100); color: var(--color-accent-700); }
.nav .nav-user { font-size: 13px; color: var(--color-neutral-500); }
.nav .btn-sm { padding: 6px 10px; font-size: 13px; }

/* ---- layout ---- */
.app-main { padding: 36px 0 90px; min-height: 72vh; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg); padding: 22px;
}
.card h2 { font-size: 19px; margin-bottom: 4px; }
.card .sub { margin: 0 0 14px; font-size: 14px; color: var(--color-neutral-500); }
.muted { color: var(--color-neutral-500); }
.small { font-size: 12.5px; }
.sec { margin-bottom: 30px; }
.sec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: 22px; }
.sec-head .count { font-size: 13px; color: var(--color-neutral-500); }
.sec-head h2 svg, .card h2 svg { vertical-align: -3px; margin-right: 7px; color: var(--color-accent-600); }

/* ---- badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
  background: var(--color-section); color: var(--color-text);
}
.badge.livelo { background: #f3e0e8; color: #8a1e55; }
.badge.esfera { background: #ffe1d6; color: #b33d10; }
.badge.smiles { background: #fde9c9; color: #8b5a00; }
.badge.latam  { background: #e3e6f7; color: #2e3f8f; }
.badge.azul   { background: #dbeafe; color: #1e4a8c; }
.badge.turbo  { background: var(--color-accent); color: var(--color-accent-ink); }
.badge.seu    { background: #e2efdd; color: var(--color-ok); }
.badge.tipo   { background: var(--color-accent-100); color: var(--color-accent-700); }

/* ---- barra de progresso (onboarding) ---- */
.prog { display: flex; gap: 6px; margin: 0 auto 26px; max-width: 720px; }
.prog span { flex: 1; height: 6px; border-radius: 999px; background: var(--color-section); transition: background .2s; }
.prog span.done { background: var(--color-accent); }
.prog span.cur  { background: color-mix(in srgb, var(--color-accent) 55%, transparent); }
.prog-label { text-align: center; font-size: 12.5px; color: var(--color-neutral-500); margin: -18px 0 22px; }

/* ---- etapas do onboarding ---- */
.ob-card { max-width: 720px; margin: 0 auto; }
.ob-q { margin: 22px 0 10px; }
.ob-q:first-child { margin-top: 0; }
.ob-q h3 { font-size: 17px; margin: 0 0 4px; }
.ob-q .hint { font-size: 13px; color: var(--color-neutral-500); margin: 0 0 10px; }
.ob-q.has-error h3 { color: var(--color-bad); }

/* opções grandes clicáveis (single ou multi) */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer;
  font-size: 14px; border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  background: var(--color-surface); color: var(--color-text); user-select: none;
  transition: border-color .15s, background .15s, color .15s;
}
.opt:hover { border-color: var(--color-accent); }
.opt.on { border-color: var(--color-accent); background: var(--color-accent-100); color: var(--color-accent-700); }
.opt.nd { border-style: dashed; color: var(--color-neutral-500); }
.opt.nd.on { border-style: solid; }
.opt .em { font-size: 17px; }

/* conversa com a IA (tela 1) */
.chat { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.bub { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.bub.ia { align-self: flex-start; background: var(--color-section); border-bottom-left-radius: 4px; }
.bub.eu { align-self: flex-end; background: var(--color-accent-100); color: var(--color-accent-700); border-bottom-right-radius: 4px; }
.bub.ia.pensando { color: var(--color-neutral-500); font-style: italic; }
.chat-in { display: flex; gap: 8px; margin-top: 6px; }
.chat-in input { flex: 1; min-height: 42px; padding: 8px 12px; font: inherit; font-size: 14px;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }
.chat-in input:focus-visible { border-color: var(--color-accent); }
.btn-ico { width: 42px; padding: 0; font-size: 18px; }
.btn-ico.rec { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }

/* saldos por programa */
.saldos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .saldos { grid-template-columns: 1fr; } }
.saldo { display: flex; align-items: center; gap: 10px; }
.saldo label { flex: 1; font-size: 14px; }
.saldo input { width: 140px; min-height: 38px; padding: 6px 10px; font: inherit; font-size: 14px;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); text-align: right; }

/* rodapé das etapas */
.ob-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; }
.ob-foot .err { color: var(--color-bad); font-size: 13px; font-weight: 600; }

/* resultado (perfil gamificado) */
.perfil-hero { text-align: center; padding: 10px 0 18px; }
.perfil-hero .em { font-size: 64px; line-height: 1; }
.perfil-hero h2 { font-size: 30px; margin: 10px 0 4px; }
.perfil-hero p { margin: 0 auto; max-width: 520px; color: var(--color-neutral-500); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.kpi { background: var(--color-section); border-radius: var(--radius-md); padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; }
.kpi .ic-chip { width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center; background: var(--color-surface); color: var(--color-accent-700); }
.kpi .v { font-size: 20px; font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.01em; }
.kpi .l { font-size: 11.5px; color: var(--color-neutral-500); }
.meta-bar { height: 10px; border-radius: 999px; background: var(--color-section); overflow: hidden; margin: 6px 0 4px; }
.meta-bar i { display: block; height: 100%; background: var(--color-accent); border-radius: 999px; }

/* ---- listas/tabelas (alertas, shopping) ---- */
.lista { display: flex; flex-direction: column; gap: 8px; }
.item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: var(--radius-md); padding: 10px 14px;
}
.item.seu { border-color: color-mix(in srgb, var(--color-ok) 45%, transparent); }
.item .logo { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--color-divider); }
.item .logo.ph { display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--color-neutral-500); }
.item .t { font-size: 15px; font-weight: 500; min-width: 0; overflow-wrap: break-word; }
.item .d { font-size: 12.5px; color: var(--color-neutral-500); margin-top: 2px; min-width: 0; overflow-wrap: break-word; }
.item .n { text-align: right; flex: none; }
.item .n .v { font-size: 20px; font-family: var(--font-heading); letter-spacing: -0.01em; }
.item .n .v small { font-size: 12px; color: var(--color-neutral-500); }
.item .n .b { font-size: 12px; color: var(--color-neutral-500); }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--color-neutral-500); padding: 8px 10px; border-bottom: 1px solid var(--color-divider); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--color-divider); vertical-align: middle; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; }
/* link dentro de tabela (loja na busca do shopping, rota em passagens) estava
   herdando a cor do texto normal — tecnicamente clicável mas invisível como
   link (Rafael, 17/09: "não tem nem dizendo onde é que compra"). */
.tbl a { color: var(--color-accent-700); text-decoration: none; }
.tbl a:hover { text-decoration: underline; }
.tbl a::after { content: " ↗"; font-size: 11px; opacity: .6; }
.tbl tr.seu td:first-child { box-shadow: inset 3px 0 0 var(--color-ok); }
.vazio { padding: 22px; text-align: center; color: var(--color-neutral-500); border: 1px dashed var(--color-divider); border-radius: var(--radius-md); }
.aviso { background: var(--preco-normal-bg); border: 1px solid color-mix(in srgb, var(--color-warn) 40%, transparent); color: var(--preco-normal); border-radius: var(--radius-md); padding: 10px 14px; font-size: 13.5px; margin-bottom: 18px; }

/* busca do shopping */
.busca { position: relative; }
.busca input { width: 100%; min-height: 46px; padding: 10px 14px 10px 40px; font: inherit; font-size: 15px;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }
.busca input:focus-visible { border-color: var(--color-accent); }
.busca .lupa { position: absolute; left: 13px; top: 13px; color: var(--color-neutral-500); }
.sug { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); box-shadow: var(--shadow-md); max-height: 300px; overflow: auto; }
.sug div { padding: 9px 14px; cursor: pointer; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.sug div:hover, .sug div.on { background: var(--color-section); }
.sug div .c { color: var(--color-neutral-500); font-size: 12px; }
.faixa { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0 16px; }
.faixa input { width: 140px; min-height: 40px; padding: 6px 10px; font: inherit; font-size: 15px;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); text-align: right; }
.faixa select { min-height: 40px; padding: 6px 30px 6px 10px; font: inherit; font-size: 14px; border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }

/* spinner */
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--color-section-ghost); border-top-color: var(--color-accent); border-radius: 50%; animation: msp .8s linear infinite; vertical-align: -3px; }
@keyframes msp { to { transform: rotate(360deg); } }

/* ---- Shopping · Inteligência de Preços (pedido do Renato, 16/09/2026) ---- */
.tabs-shop { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs-shop button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--color-divider);
  background: var(--color-surface); color: var(--color-neutral-700);
  font: inherit; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.tabs-shop button.on { background: var(--milia-confianca); border-color: var(--milia-confianca); color: #fff; }
:root[data-theme="dark"] .tabs-shop button.on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }

.grid-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }

.produto-card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg);
  padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.produto-card .pc-top { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.produto-card .pc-img { width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent-100), var(--color-accent-2-100)); color: var(--color-accent-600); flex: none;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.produto-card .pc-img img { width: 100%; height: 100%; object-fit: contain; }
.produto-card .pc-nome { font-size: 14px; font-weight: 700; line-height: 1.3; min-width: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.produto-card .pc-loja { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--color-neutral-500); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.produto-card .pc-loja .mini-logo { width: 14px; height: 14px; border-radius: 4px; object-fit: contain; background: #fff; border: 1px solid var(--color-divider); flex: none; }
.produto-card .pc-loja .mini-logo.ph { display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: var(--color-neutral-500); background: var(--color-section); }
.produto-card .pc-loja .pc-loja-txt { overflow: hidden; text-overflow: ellipsis; }
.produto-card .preco-tag { align-self: flex-start; }
.produto-card .pc-preco { font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.produto-card .pc-preco small { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; color: var(--color-neutral-500); text-decoration: line-through; margin-left: 6px; }
.produto-card .pc-meta { font-size: 11px; background: var(--color-section); border-radius: 8px; padding: 6px 9px; color: var(--color-neutral-700);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.produto-card .pc-meta svg { flex: none; color: var(--preco-excelente); }
.produto-card .pc-acoes { display: flex; gap: 8px; margin-top: auto; padding-top: 2px; }
.produto-card .pc-acoes .ver { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center;
  font: inherit; font-weight: 700; font-size: 13px; padding: 10px 8px; border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap; background: var(--color-accent); color: var(--color-accent-ink); }
.produto-card .pc-acoes .ic { flex: none; width: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: none; cursor: pointer; text-decoration: none; background: var(--color-section); color: var(--color-neutral-700); }
.produto-card .pc-acoes .ic.on { background: var(--color-accent-2-100); color: var(--color-accent-2-700); }
.preco-tag svg { flex: none; }
@media (max-width: 480px) {
  .grid-produtos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .produto-card { padding: 12px; }
}

.preco-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.preco-tag.excelente { color: var(--preco-excelente); background: var(--preco-excelente-bg); }
.preco-tag.bom       { color: var(--preco-bom);       background: var(--preco-bom-bg); }
.preco-tag.normal    { color: var(--preco-normal);    background: var(--preco-normal-bg); }
.preco-tag.caro      { color: var(--preco-caro);      background: var(--preco-caro-bg); }

/* preço efetivo (produto.html) */
.efetivo-box { margin-top: 6px; padding: 12px 14px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.efetivo-box .et { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; opacity: .92; }
.efetivo-box .es { font-size: 11px; opacity: .88; margin-top: 1px; }
.efetivo-box .ev { font-family: var(--font-heading); font-weight: 800; font-size: 19px; white-space: nowrap; }

.hist-svg { width: 100%; height: 100px; margin-top: 6px; }
.hist-stats { display: flex; justify-content: space-between; margin-top: 10px; }
.hist-stats > div { text-align: center; }
.hist-stats .k { font-size: 10.5px; color: var(--color-neutral-500); }
.hist-stats .v { font-family: var(--font-heading); font-weight: 800; font-size: 13.5px; }

/* ---- Hero de página (playbook 16/09 — resolve "vazio/analógico") ---- */
/* login/cadastro: hero acompanha a largura do form (senão fica "gordo" nas laterais
   comparado ao card estreito embaixo — Rafael reportou 17/09) */
.page-head.hero.w-auth, .page-head.hero.w-cad { max-width: none; padding: 16px 22px; margin-bottom: 16px; }
.page-head.hero.w-auth { max-width: 430px; }
.page-head.hero.w-cad { max-width: 640px; }
.page-head.hero.w-auth h1, .page-head.hero.w-cad h1 { font-size: clamp(22px, 3.2vw, 28px); }
.page-head.hero.w-auth .eyebrow, .page-head.hero.w-cad .eyebrow { margin-bottom: 4px; }

.page-head.hero {
  border-radius: 22px; background: linear-gradient(120deg, var(--hero-from) 0%, #0E4A7A 55%, var(--hero-to) 140%);
  color: #fff; padding: 30px 32px; position: relative; overflow: hidden; max-width: none;
}
.page-head.hero::before, .page-head.hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.09); pointer-events: none; }
.page-head.hero::before { width: 260px; height: 260px; right: -60px; top: -90px; background: radial-gradient(circle at 30% 30%, rgba(110,231,214,.55), transparent 62%); }
.page-head.hero::after { width: 150px; height: 150px; right: 90px; bottom: -80px; background: rgba(255,255,255,.07); }
.page-head.hero .eyebrow { color: rgba(255,255,255,.85); position: relative; }
.page-head.hero h1 { color: #fff; position: relative; }
.page-head.hero p.sub { color: rgba(255,255,255,.85); position: relative; }
.page-head.hero p.sub b, .page-head.hero p.sub strong { color: #fff; }
.page-head.hero .small { color: rgba(255,255,255,.75); }
.page-head.hero a { color: #fff; text-decoration: underline; }

/* ---- linha de lista com chip de ícone colorido (alertas, lojas) ---- */
.item { position: relative; border-left: 3px solid transparent; }
.item .ic-chip { width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; background: var(--color-section); color: var(--color-neutral-700); }
.item.turbo    { border-left-color: #B45309; }
.item.turbo .ic-chip    { background: #FDECD4; color: #B45309; }
.item.seu      { border-left-color: var(--color-ok); }
.item.seu .ic-chip      { background: #E4F6E8; color: var(--color-ok); }
.item.queda    { border-left-color: var(--preco-excelente); }
.item.queda .ic-chip    { background: var(--preco-excelente-bg); color: var(--preco-excelente); }
.item.info     { border-left-color: var(--color-accent); }
.item.info .ic-chip     { background: var(--color-accent-100); color: var(--color-accent-700); }

/* ---- stat tile com ícone (Início) ---- */
.stat-tile { display: flex; align-items: center; gap: 12px; }
.stat-tile .ic-chip { width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; }
.stat-tile .ic-chip.blue  { background: var(--color-accent-100); color: var(--color-accent-700); }
.stat-tile .ic-chip.amber { background: #FDECD4; color: #B45309; }
.stat-tile .ic-chip.green { background: var(--preco-excelente-bg); color: var(--preco-excelente); }


/* ---- identidade 22/09: pedaços novos usados no Início, Contas e Alerta ---- */
.sonho-card { border-radius: 22px; padding: 22px 24px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--hero-from) 0%, #0E4A7A 55%, var(--hero-to) 140%); display: grid; gap: 10px; }
.sonho-card::after { content: ""; position: absolute; right: -50px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(110,231,214,.55), transparent 62%); pointer-events: none; }
.sonho-card > * { position: relative; }
.etapas { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.etapas span { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.14); opacity: .55; }
.etapas span.on { background: var(--milia-tecnologia); color: var(--color-accent-ink); opacity: 1; }
.sonho-card h2 { color: #fff; font-size: 24px; margin: 2px 0 0; letter-spacing: -.02em; }
.sonho-card .sub { color: rgba(255,255,255,.85); margin: 0; }
.sonho-card .meta-bar { background: rgba(255,255,255,.2); height: 9px; }
.sonho-card .meta-bar i { background: var(--milia-leveza); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.sonho-card .foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.9); }
.sonho-card .btn { color: #fff; border-color: rgba(255,255,255,.5); }
.foco { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--color-accent); border-radius: 16px; padding: 14px 16px; background: var(--color-accent-100); flex-wrap: wrap; }
.foco .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--color-accent); color: var(--color-accent-ink); display: grid; place-items: center; flex: none; }
.foco .tx { flex: 1; min-width: 200px; }
.foco b { display: block; font-size: 15px; } .foco small { color: var(--color-text-2); font-size: 13px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 14px; padding: 12px 14px; }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--color-muted); }
.nota-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.nota-pill.excelente { background: var(--preco-excelente-bg); color: var(--preco-excelente); }
.nota-pill.bom { background: var(--preco-bom-bg); color: var(--preco-bom); }
.nota-pill.fraco { background: var(--preco-normal-bg); color: var(--preco-normal); }
.nota-pill.ruim { background: var(--preco-caro-bg); color: var(--preco-caro); }
.score { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: var(--color-section); }
.score .g { width: 72px; height: 72px; border-radius: 50%; position: relative; background: conic-gradient(var(--color-accent) 0 var(--p, 0%), var(--color-divider) var(--p, 0%) 100%); }
.score .g::after { content: attr(data-v); position: absolute; inset: 7px; border-radius: 50%; background: var(--color-surface); color: var(--color-text); display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.score b { display: block; font-size: 16px; } .score span { font-size: 13.5px; color: var(--color-text-2); }
.verdict { padding: 12px 14px; background: var(--color-surface); border: 1px solid var(--color-divider); border-left: 4px solid var(--color-accent); border-radius: 10px; font-size: 14px; }
.verdict b { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 3px; }
.verdict.neutro { border-left-color: var(--color-muted); }
.status-pill { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.status-pill.ok { background: var(--preco-excelente-bg); color: var(--preco-excelente); }
.status-pill.err { background: var(--preco-caro-bg); color: var(--preco-caro); }
.status-pill.man { background: var(--color-section); color: var(--color-text-2); }
.conta-logo { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #fff; flex: none; }
.item.link { text-decoration: none; color: inherit; }
.item.link:hover { border-color: var(--color-accent); }
.hist-bars { display: flex; gap: 4px; align-items: flex-end; height: 64px; }
.hist-bars i { flex: 1; background: var(--color-divider); border-radius: 3px; min-height: 4px; }
.hist-bars i.on { background: var(--color-accent); }
.hist-bars i.now { background: var(--milia-leveza); }
.saldo-in { width: 130px; min-height: 36px; padding: 5px 10px; font: inherit; font-size: 14px; text-align: right;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); font-variant-numeric: tabular-nums; }

/* celular: menu de cima some, navegação vai pra .tabbar (brand.js); esta regra fica
   aqui porque .nav .nav-links{display:flex} acima venceria a do site.css */
@media (max-width: 720px) {
  .nav .nav-links { display: none; }
  .nav .nav-user { display: none; }
  .nav .nav-brand { margin-right: auto; }
}
