/* ==========================================================
   Fornada — estilos de cada tela
   ========================================================== */

/* ---------- boas-vindas / login ---------- */
.welcome {
  min-height: 100dvh;
  display: grid; place-items: center;
  padding: calc(40px + var(--safe-top)) 22px calc(32px + var(--safe-bottom));
  background:
    radial-gradient(120% 60% at 50% -10%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.welcome-inner { width: 100%; max-width: 460px; text-align: center; animation: viewIn .6s var(--ease-out) both; }
.welcome-inner.narrow { max-width: 400px; }
.welcome-icon { margin: 0 auto 22px; border-radius: 22.5%; box-shadow: 0 12px 32px rgba(150, 90, 10, .28); }
.welcome h1 { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.welcome .lead { font-size: 17px; color: var(--label-2); margin: 10px auto 26px; max-width: 34ch; }
.features { text-align: left; display: grid; gap: 18px; margin: 0 4px 30px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features .row-icon { width: 40px; height: 40px; border-radius: 11px; margin-top: 2px; }
.features .row-icon svg { width: 22px; height: 22px; }
.features b { display: block; font-size: 16px; letter-spacing: -0.015em; }
.features span { display: block; font-size: 14.5px; color: var(--label-2); line-height: 1.35; margin-top: 1px; }
.welcome-form { display: grid; gap: 12px; text-align: left; }
.welcome .seg { margin-bottom: 16px; }
.link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; font-size: 15px; font-weight: 500; color: var(--accent-text); border-radius: 10px; }
.link-btn svg { width: 18px; height: 18px; }
.link-btn.subtle { color: var(--label-2); }
.link-btn:active { opacity: .6; }
.center-btn { display: flex; margin: 0 auto; }
.form-error { color: var(--red-text); font-size: 14.5px; text-align: center; padding: 2px 8px; }

/* ---------- navegação ---------- */
.back-btn { padding-left: 2px; }
.back-btn svg { width: 24px; height: 24px; margin-right: -2px; }
@media (min-width: 900px) { .back-btn { display: none; } }
.link { background: none; border: 0; color: var(--accent-text); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.link svg { width: 16px; height: 16px; }
.mb-12 { margin-bottom: 12px; }

/* ---------- início ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.dash-main, .dash-side { min-width: 0; }
@media (min-width: 1100px) {
  .dash { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
}
.hero { padding: 18px 18px 14px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; pointer-events: none;
  background: radial-gradient(90% 100% at 0% 0%, var(--accent-soft), transparent 70%);
}
.hero > * { position: relative; }
.hero-top { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.hero-main { min-width: 0; }
.hero .w-label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.hero .w-label svg { width: 17px; height: 17px; }
.hero-value { font-size: clamp(32px, 9vw, 54px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin: 6px 0 8px; white-space: nowrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--label-2); }
.hero-meta b { color: var(--label); font-weight: 600; }
.hero-meta .delta em { font-style: normal; font-weight: 400; }
.hero-ring { position: relative; flex: none; display: grid; place-items: center; }
.hero-ring .ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-ring .ring-center b { font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.hero-ring .ring-center span { font-size: 11.5px; color: var(--label-2); margin-top: 3px; }
.ring-arc { animation: ringIn 1.2s var(--ease-out) both; }
@keyframes ringIn { from { stroke-dashoffset: var(--c); } }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 10px; align-items: center; }
@media (max-width: 420px) {
  .hero-ring svg { width: 84px; height: 84px; }
  .hero-ring .ring-center b { font-size: 18px; }
  .hero-ring .ring-center span { font-size: 10.5px; }
  .hero-top { gap: 8px; }
}

.widgets .widget { min-height: 108px; }
.date-chip {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-text); line-height: 1.1;
}
.date-chip b { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.date-chip span { font-size: 13px; font-weight: 600; color: var(--label); font-variant-numeric: tabular-nums; }
.row.has-icon:has(.date-chip) { --sep-inset: 74px; }

/* ---------- barras ---------- */
.bars { position: relative; height: calc(var(--h) + 22px); }
.bars-grid { position: absolute; inset: 0 0 22px 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.bars-grid span { border-top: 1px dashed var(--separator); position: relative; height: 0; }
.bars-grid em { position: absolute; right: 0; top: -15px; font-style: normal; font-size: 10.5px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.bars-cols { position: absolute; inset: 0; display: flex; gap: 3px; align-items: stretch; }
.bcol { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bstack { flex: 1; height: var(--h); display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.bstack i { flex: 1; max-width: 26px; min-height: 0; border-radius: 4px 4px 2px 2px; transition: height .7s var(--ease-out); animation: growUp .8s var(--ease-out) both; transform-origin: bottom; }
@keyframes growUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.b-accent { background: var(--accent); }
.b-muted { background: var(--fill); }
.b-green { background: var(--green); }
.b-red { background: color-mix(in srgb, var(--red) 80%, transparent); }
.bcol.hl .b-accent { background: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.bcol:not(.hl) .b-accent { opacity: .82; }
.blabel { height: 22px; display: grid; place-items: center; font-size: 11px; color: var(--label-2); white-space: nowrap; overflow: visible; }
.bcol.hl .blabel { color: var(--accent-text); font-weight: 600; }

.ring { display: block; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { flex: none; }
.legend-list { flex: 1; min-width: 0; display: grid; gap: 7px; }
.legend-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 38px; align-items: center; gap: 8px; font-size: 14px; }
.legend-list i { width: 10px; height: 10px; border-radius: 3px; }
.legend-list b { font-weight: 600; font-variant-numeric: tabular-nums; }
.legend-list em { font-style: normal; color: var(--label-2); text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .donut-wrap { flex-direction: column; align-items: stretch; } .donut { margin: 0 auto; } }

.hbars { display: grid; gap: 12px; }
.hb-top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.hb-top b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-lead { font-size: 18px; width: 22px; text-align: center; }
.hb-sub { font-size: 12.5px; color: var(--label-2); margin: 1px 0 0 30px; }
.hb .hbar-track { margin-top: 6px; }
.hb:has(.hb-lead) .hbar-track { margin-left: 30px; }
.spark { width: 100%; height: 36px; display: block; }

/* ---------- vender (PDV) ---------- */
.pdv { display: grid; gap: 16px; }
.pdv-tools { display: grid; gap: 12px; margin-bottom: 14px; }
.session-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: 15px;
  background: var(--fill-2); color: var(--label-2); font-size: 13.5px; font-weight: 600;
}
.session-chip .dot { background: var(--gray); }
.session-chip.open { background: rgba(52, 199, 89, .14); color: var(--green-text); }
.session-chip.open .dot, .dot.live { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 199, 89, .25); animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); } }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ptile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 10px 10px 11px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1);
  text-align: left; min-width: 0;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.ptile:active { transform: scale(.95); }
.ptile:hover { box-shadow: var(--shadow-2); }
.ptile .tile { width: 100%; height: auto; aspect-ratio: 1.25; border-radius: 12px; font-size: clamp(34px, 9vw, 42px); }
.pt-name { font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.pt-price { font-size: 14.5px; font-weight: 600; color: var(--accent-text); }
.pt-price em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--label-2); }
.pt-qty {
  position: absolute; top: 6px; right: 6px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  background: var(--accent); color: var(--on-accent); font-size: 13.5px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.15); animation: popIn .35s var(--spring) both;
}
.pt-flag { position: absolute; top: 8px; left: 8px; font-size: 10.5px; font-weight: 700; color: var(--red-text); background: var(--bg-elevated); padding: 2px 6px; border-radius: 6px; }
.ptile.bump { animation: bump .32s var(--spring); }
@keyframes bump { 40% { transform: scale(.94); } }

.pdv-cart { display: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cart-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 0.5px solid var(--separator); }
.cart-line:last-child { border-bottom: 0; }
.cl-name { font-size: 15px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.view.static .ring-arc, .view.static .bstack i, .view.static.view-enter { animation: none; }
.cl-sub { font-size: 13px; color: var(--label-2); }
.cl-total { font-size: 15px; min-width: 70px; text-align: right; }
.cl-actions { display: flex; }
.cl-actions .btn { width: 34px; padding: 0; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 10px; color: var(--label-3); font-size: 14.5px; text-align: center; }
.cart-empty svg { width: 38px; height: 38px; }
.cart-foot { border-top: 0.5px solid var(--separator); margin-top: 6px; padding-top: 4px; }
.cart-foot .kv.total { border: 0; margin-bottom: 10px; }

.cart-bar-host { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 10px); z-index: 35; padding: 0 14px; pointer-events: none; }
.cart-bar {
  pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px 0 10px; border-radius: 18px;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 45%, transparent), 0 2px 6px rgba(0,0,0,.12);
  font-size: 17px; animation: slideUp .45s var(--spring) both;
}
.cart-bar .cb-count { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 12px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 700; }
.cart-bar .cb-label { flex: 1; text-align: left; font-weight: 600; }
.cart-bar b { font-weight: 700; }
.cart-bar:active { transform: scale(.98); }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.view:has(.cart-bar) { padding-bottom: 76px; }

@media (min-width: 900px) {
  .pdv { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .pdv-cart { display: block; position: sticky; top: 64px; max-height: calc(100dvh - 84px); overflow: auto; padding: 18px; }
  .cart-bar-host { display: none; }
  .view:has(.cart-bar) { padding-bottom: 0; }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
}

/* cobrança */
.checkout-total { text-align: center; padding: 4px 0 2px; }
.checkout-total span { display: block; font-size: 14px; color: var(--label-2); font-weight: 600; }
.checkout-total b { display: block; font-size: 48px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin: 2px 0; }
.checkout-total em { font-style: normal; font-size: 13.5px; color: var(--label-2); }
.pay-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pay-options .option { min-height: 68px; font-size: 12.5px; padding: 8px 2px; }
@media (max-width: 360px) { .pay-options { grid-template-columns: repeat(3, 1fr); } }
.cash-chips { margin-top: 10px !important; padding-top: 2px; padding-bottom: 2px; }
.change { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 16px; background: var(--fill-3); color: var(--label-2); transition: background .3s, color .3s; }
.change b { font-size: 28px; font-weight: 700; color: var(--label-3); letter-spacing: -0.02em; }
.change.show { background: rgba(52, 199, 89, .13); color: var(--green-text); }
.change.show b { color: var(--green-text); }
.change.big { margin-top: 18px; }
.change.big b { font-size: 34px; }
.success { text-align: center; padding: 10px 0; }
.success h3 { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.big-total { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 4px 0; }
.strike { text-decoration: line-through; }
.link-x { color: var(--red-text); font-size: 14px; font-weight: 500; }
.summary-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-1); }
.summary-strip > div { padding: 12px 10px; text-align: center; min-width: 0; }
.summary-strip > div + div { border-left: 0.5px solid var(--separator); }
.summary-strip span { display: block; font-size: 12px; color: var(--label-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-strip b { display: block; font-family: var(--font-rounded); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- encomendas ---------- */
.order-group + .order-group { margin-top: 22px; }
.order-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.order-card { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 14px 16px; transition: transform .18s var(--ease); }
.order-card:active { transform: scale(.98); }
.oc-top { display: flex; align-items: center; justify-content: space-between; }
.oc-time { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.oc-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.oc-items { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--label-2); }
.oc-items span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-foot { display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 0.5px solid var(--separator); font-size: 13.5px; color: var(--label-2); }
.oc-foot b { margin-left: auto; font-size: 16px; color: var(--label); }
.oc-deliv { display: inline-flex; align-items: center; gap: 4px; }
.oc-deliv svg { width: 15px; height: 15px; }
.oc-pay { font-weight: 600; }

.od-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.od-date span { display: block; font-size: 15px; font-weight: 600; color: var(--accent-text); }
.od-date b { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.od-date em { display: block; font-style: normal; font-size: 14px; color: var(--label-2); }
.od-date.late span { color: var(--red-text); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.flow-step { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--label-3); font-weight: 600; }
.flow-step i { height: 5px; border-radius: 3px; background: var(--fill-2); }
.flow-step.done i { background: var(--accent); }
.flow-step.done { color: var(--label-2); }
.flow-step.cur { color: var(--accent-text); }

/* ---------- produtos ---------- */
.row.inactive { opacity: .55; }
.fav { display: inline-flex; vertical-align: -2px; color: var(--yellow); }
.fav svg { width: 15px; height: 15px; fill: currentColor; }
.pf-media { display: grid; gap: 12px; justify-items: center; }
.margin-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-1); padding: 14px 16px; }
.mc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.mc-row span { display: block; font-size: 12px; color: var(--label-2); }
.mc-row b { display: block; font-family: var(--font-rounded); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.recipe-line { gap: 8px; }
.recipe-line select { flex: 1; text-align: left; text-align-last: left; color: var(--label); }
.recipe-line input { flex: none; width: 74px; text-align: right; }
.recipe-line .btn { width: 32px; padding: 0; }
.rank { width: 20px; flex: none; text-align: center; font-size: 13px; font-weight: 700; color: var(--label-3); font-variant-numeric: tabular-nums; margin-right: -4px; }
.row.has-tile:has(.rank) { --sep-inset: 88px; }

/* ---------- estoque ---------- */
.stock-big { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: -6px; }
.stock-big b { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.stock-big span { color: var(--label-2); font-size: 14px; margin-bottom: 6px; }
.action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.action-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ag {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px;
  border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1);
  font-size: 12.5px; font-weight: 600; color: var(--accent-text);
}
.ag svg { width: 22px; height: 22px; }
.ag:active { transform: scale(.96); }

/* ---------- finanças ---------- */
.fin-summary { padding-top: 10px; }
.period-nav { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: -4px -6px 8px; }
.period-label { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; text-align: center; }
.period-nav .nav-btn:disabled { color: var(--label-3); }
.fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 16px; }
.fs-grid span { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--label-2); font-weight: 500; }
.fs-grid span svg { width: 15px; height: 15px; }
.fs-grid b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-top: 1px; }
.fs-bal { grid-column: 1 / -1; padding-top: 10px; border-top: 0.5px solid var(--separator); }
.fs-bal b { font-size: 34px; letter-spacing: -0.03em; }
.grid-2-lg { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2-lg { grid-template-columns: 1fr 1fr; } .fs-grid { grid-template-columns: 1fr 1fr 1.3fr; } .fs-bal { grid-column: auto; border-top: 0; padding-top: 0; } }
.emoji-icon { background: var(--fill-3) !important; font-size: 17px; }
.tap-text { text-align: left; background: none; padding: 0; }
.wrap-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.session-card { display: block; width: 100%; text-align: left; }
.sc-top { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.sc-top .muted { margin-left: auto; }
.sc-value { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; }
.session-card .btn { pointer-events: none; }
.session-head { display: flex; align-items: center; gap: 12px; }
.session-head b { display: block; font-size: 17px; }
.session-head span { display: block; font-size: 13.5px; color: var(--label-2); }
.drawer > span { display: block; font-size: 13px; color: var(--label-2); font-weight: 600; }
.drawer > b { display: block; font-size: 42px; font-weight: 700; letter-spacing: -0.03em; margin: 2px 0 8px; }
.big-icon { width: 64px; height: 64px; margin: 4px auto 10px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.big-icon svg { width: 34px; height: 34px; }
.diff { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); font-weight: 600; color: var(--label-2); }
.diff b { font-size: 26px; letter-spacing: -0.02em; }
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; font-size: 15px; line-height: 1.4; color: var(--label-2); }
.steps li b { color: var(--label); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; background: var(--fill-3); padding: 1px 5px; border-radius: 5px; }

/* ---------- relatórios ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpis .w-value { font-size: 24px; }
.dre .kv { font-size: 14.5px; padding: 5px 0; }
.dre .kv.strong { font-weight: 600; border-top: 0.5px solid var(--separator); padding-top: 9px; margin-top: 3px; }
.dre .kv.strong span { color: var(--label); }
.dre em { font-style: normal; }

/* ---------- clientes / perfil ---------- */
.profile { text-align: center; display: grid; justify-items: center; gap: 4px; }
.profile h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.profile-actions { display: flex; gap: 10px; margin-top: 12px; justify-content: center; flex-wrap: wrap; }
.pa { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 76px; padding: 10px 8px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1); color: var(--accent-text); font-size: 12.5px; font-weight: 600; }
.pa svg { width: 22px; height: 22px; }
.pa:active { transform: scale(.96); }
.banner .btn { flex: none; }

/* ---------- mais ---------- */
.more-hero { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.more-hero img { border-radius: 13px; }
.more-hero b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.more-hero span { display: block; font-size: 14px; color: var(--label-2); }
.more-hero .chev { width: 18px; height: 18px; color: var(--label-3); }

/* ---------- ajustes ---------- */
.accent-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.accent-sw { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; border-radius: 12px; font-size: 12px; color: var(--label-2); font-weight: 500; }
.accent-sw i { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); position: relative; }
.accent-sw[aria-pressed="true"] { color: var(--label); font-weight: 600; }
.accent-sw[aria-pressed="true"] i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2.5px var(--sw); }
.sb-sync.ok svg { color: var(--green); }
.sb-sync.warn svg { color: var(--orange); }
.sb-sync.err svg { color: var(--red); }
.sb-sync.busy svg { color: var(--blue); animation: livePulseOpacity 1.2s ease-in-out infinite; }
@keyframes livePulseOpacity { 50% { opacity: .4; } }

/* toques finais em listas dentro de sheets */
.sheet .list + .list { margin-top: 14px; }
.sheet .search { margin-bottom: 12px; }
.order-sum .kv.total { margin-top: 2px; }
