/* Gaszeiro: um arquivo só, escrito à mão. Claro, letra grande, alvo de toque de 48 px no mínimo. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── tokens ── */
:root {
  --bg: #fff;
  --soft: #f5f6f8;
  --line: #e8eaee;
  --line-strong: #c9ced6;
  --ink: #0b1f3a;
  --ink-2: #334155;
  --muted: #56606f;
  --navy: #0b1f3a;
  --navy-2: #16305a;
  --on-navy: #fff;
  --on-navy-2: #c8d3e3;
  --action: #c2410c;
  --action-press: #9a3412;
  --action-soft: #fff1e8;
  --flame: #f97316;
  --ok: #15803d;
  --ok-soft: #ecfdf3;
  --warn: #92400e;
  --warn-line: #f59e0b;
  --warn-soft: #fffbeb;
  --bad: #b91c1c;
  --bad-soft: #fef2f2;
  --info: #1d4ed8;
  --info-soft: #eff6ff;
  --focus: #1d4ed8;
  --cat-gas: #fff1e8;
  --cat-agua: #e8f3ff;
  --cat-carvao: #f3eee8;
  --cat-gelo: #e6f8fa;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-sm: 0.9375rem;
  --fs: 1.125rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: 1.875rem;

  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow: 0 1px 3px rgba(11, 31, 58, 0.08);
  --tap: 3rem;
  --tap-lg: 3.5rem;
  --tap-xl: 4rem;
  --wide: 70rem;
  --bar-h: 5.5rem;
  --nav-h: 4.5rem;
  --ease: 160ms ease-out;
}

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 var(--fs)/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, ol, fieldset, figure { margin: 0; }
ul, ol { padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.25; color: var(--ink); }
h1 { font-size: var(--fs-lg); }
h2 { font-size: var(--fs-md); }
h3 { font-size: var(--fs); }
img, svg { display: block; max-width: 100%; }
svg { flex: none; }
a { color: var(--action); text-underline-offset: 3px; }
strong, .strong { font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s2); top: -4rem; z-index: 60;
  padding: var(--s3) var(--s4); background: var(--navy); color: var(--on-navy); border-radius: var(--r-sm);
}
.skip:focus { top: var(--s2); }

/* ── ajudas de layout ── */
.page { width: 100%; max-width: var(--wide); margin: 0 auto; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); }
.stack { display: flex; flex-direction: column; gap: var(--s3); }
.row { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.center { text-align: center; }
.block { display: block; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; }
.icon-line { display: flex; align-items: flex-start; gap: var(--s2); }
.icon-line > svg { margin-top: 0.2em; color: var(--ink-2); }
.desk-only { display: none; }
.page-flash { padding-bottom: 0; }
.grid-2 { display: grid; gap: var(--s3); }
@media (min-width: 480px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ── botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: var(--s2) var(--s4);
  border: 2px solid var(--line-strong); border-radius: var(--r);
  background: var(--bg); color: var(--ink);
  font-weight: 800; font-size: var(--fs); line-height: 1.2; text-align: center; text-decoration: none;
  transition: transform var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn:disabled, .btn[aria-disabled=true] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--action); border-color: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-press); border-color: var(--action-press); }
.btn-success { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-danger { border-color: var(--line-strong); color: var(--bad); }
.btn-danger-ghost, .btn-ghost { border-color: transparent; background: transparent; }
.btn-danger-ghost { color: var(--bad); }
.btn-ghost { color: var(--action); }
.btn-sm { font-size: var(--fs-sm); padding: var(--s2) var(--s3); }
.btn-lg { min-height: var(--tap-lg); font-size: var(--fs-md); padding: var(--s3) var(--s5); }
.btn-xl { min-height: var(--tap-xl); font-size: var(--fs-md); padding: var(--s3) var(--s5); border-radius: var(--r-lg); }
.btn-block { display: flex; width: 100%; }
summary.btn { list-style: none; }
summary.btn::-webkit-details-marker { display: none; }

/* ── campos ── */
.field { display: flex; flex-direction: column; gap: var(--s2); font-weight: 800; font-size: var(--fs); }
.field .hint, .hint { font-weight: 500; font-size: var(--fs-sm); color: var(--muted); }
.input {
  width: 100%; min-height: var(--tap-lg); padding: var(--s3) var(--s4);
  border: 2px solid var(--line-strong); border-radius: var(--r);
  background: var(--bg); font-weight: 600; font-size: var(--fs);
}
.input::placeholder { color: #6b7483; font-weight: 500; }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.input[aria-invalid=true] { border-color: var(--bad); background: var(--bad-soft); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.875rem center; }
textarea.input { min-height: 6rem; resize: vertical; }
.error { color: var(--bad); font-weight: 700; font-size: var(--fs-sm); }
.error::before { content: '⚠ '; }
.password-field { position: relative; display: block; }
.password-field .input { padding-right: 6.5rem; }
.password-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  min-height: var(--tap); padding: 0 var(--s3); border: 0; border-radius: var(--r-sm);
  background: var(--soft); color: var(--ink); font-weight: 800; font-size: var(--fs-sm);
}
input[type=radio], input[type=checkbox] { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--action); flex: none; }

/* ── cartão, seções ── */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); }
.card-title { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-md); }
.card-title svg { color: var(--action); }
.section-title { font-size: var(--fs-md); margin-top: var(--s2); }

/* ── aviso (sucesso, alerta, erro, info) ── */
.notice {
  display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s3) var(--s4);
  border-radius: var(--r); border: 1px solid; font-weight: 600;
}
.notice > svg { margin-top: 0.15em; }
.notice { flex-wrap: wrap; }
.notice > span { flex: 1 1 14rem; }
.notice .btn { margin-left: auto; }
.notice-success { background: var(--ok-soft); border-color: #86efac; color: #14532d; }
.notice-warning { background: var(--warn-soft); border-color: var(--warn-line); color: #78350f; }
.notice-danger { background: var(--bad-soft); border-color: #fca5a5; color: #7f1d1d; }
.notice-info { background: var(--info-soft); border-color: #93c5fd; color: #1e3a8a; }

/* ── selo de status e chip ── */
.badge {
  display: inline-flex; align-items: center; gap: var(--s1); padding: 0.125rem var(--s3);
  border-radius: var(--r-pill); background: var(--soft); color: var(--ink-2);
  font-size: var(--fs-sm); font-weight: 800; white-space: nowrap;
}
.badge-success { background: var(--ok-soft); color: #14532d; }
.badge-warning { background: var(--warn-soft); color: #78350f; }
.badge-danger { background: var(--bad-soft); color: #991b1b; }
.badge-primary { background: var(--info-soft); color: #1e3a8a; }
.badge-action { background: var(--action-soft); color: var(--action-press); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s4);
  border: 2px solid var(--line); border-radius: var(--r-pill); background: var(--bg);
  color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap;
}
.chip[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips { display: flex; gap: var(--s2); overflow-x: auto; padding: 2px 2px var(--s2); margin: 0 calc(-1 * var(--s4)); padding-inline: var(--s4); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }

/* ── ilustração de categoria ── */
.art-tile { display: inline-grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: var(--r); background: var(--soft); }
.art-tile:has([data-art=gas]) { background: var(--cat-gas); }
.art-tile:has([data-art=agua]) { background: var(--cat-agua); }
.art-tile:has([data-art=carvao]) { background: var(--cat-carvao); }
.art-tile:has([data-art=gelo]) { background: var(--cat-gelo); }

/* ── estado vazio ── */
.empty { display: flex; flex-direction: column; align-items: center; gap: var(--s3); padding: var(--s6) var(--s4); text-align: center; }
.empty .art-wrap { display: grid; place-items: center; width: 6rem; height: 6rem; border-radius: 50%; background: var(--action-soft); color: var(--action); }
.empty .art-wrap img { width: 3.5rem; height: 3.5rem; }
.empty .btn { margin-top: var(--s2); }
.sad-gas { width: 7.5rem; height: 7.5rem; }

/* ── topo e navegação do cliente ── */
.appbar { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.appbar-inner { max-width: var(--wide); margin: 0 auto; min-height: 4rem; padding: var(--s2) var(--s4); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); color: var(--ink); text-decoration: none; font-weight: 800; font-size: var(--fs-md); }
.brand img { width: 2.5rem; height: 2.5rem; }
.wordmark { letter-spacing: 0.06em; }
.navlink {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s3);
  border: 0; border-radius: var(--r); background: none; color: var(--ink); font-weight: 800; text-decoration: none;
}
.navlink[aria-current] { color: var(--action); background: var(--action-soft); }
.topnav { display: none; }
.count {
  display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.3rem;
  border-radius: var(--r-pill); background: var(--action); color: #fff; font-size: var(--fs-sm); font-weight: 800; line-height: 1;
}
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: var(--nav-h); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 700; text-decoration: none;
}
.tabbar .tab[aria-current] { color: var(--action); font-weight: 800; }
.tabbar .tab[aria-current]::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: var(--action); }
.tabbar .count { position: absolute; top: 0.5rem; left: calc(50% + 0.5rem); }
body.has-tabbar { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .topnav { display: flex; gap: var(--s1); }
  .tabbar { display: none; }
  body.has-tabbar { padding-bottom: 0; }
}

/* ── endereço de entrega ── */
.address-picker { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.address-picker .where { position: relative; flex: 1 1 100%; min-width: 0; }
.address-picker .where-label {
  position: absolute; left: var(--s4); top: var(--s2); display: flex; align-items: center; gap: var(--s1);
  color: var(--ink-2); font-size: var(--fs-sm); font-weight: 700; pointer-events: none;
}
.address-picker .where-label svg { color: var(--action); }
.address-picker select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 4.25rem; padding: 1.85rem 2.75rem var(--s2) var(--s4);
  border: 2px solid var(--line); border-radius: var(--r); background: var(--soft);
  font-weight: 800; font-size: var(--fs); text-overflow: ellipsis; cursor: pointer;
}
.address-picker .caret { position: absolute; right: var(--s4); bottom: 1.1rem; pointer-events: none; }
.address-picker > .btn { padding-inline: var(--s2); }
@media (min-width: 720px) {
  .address-picker { flex-wrap: nowrap; max-width: 44rem; }
  .address-picker .where { flex-basis: auto; }
}

/* ── início: lojas ── */
.greeting { font-size: var(--fs-xl); }
.store-list { display: grid; gap: var(--s3); }
@media (min-width: 720px) { .store-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .store-list { grid-template-columns: repeat(3, 1fr); } }
.store-card { display: flex; gap: var(--s3); align-items: flex-start; color: var(--ink); text-decoration: none; }
.store-card:hover { border-color: var(--line-strong); }
.store-card.closed .avatar { filter: grayscale(1); opacity: 0.7; }
.store-card .info { display: flex; flex-direction: column; gap: var(--s1); flex: 1; min-width: 0; }
.store-card .name { font-size: var(--fs-md); font-weight: 800; line-height: 1.3; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; }
.meta > span { display: inline-flex; align-items: center; gap: var(--s1); }
.rating { color: var(--ink); font-weight: 800; }
.rating .star { color: #b45309; }
.avatar {
  display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: var(--r);
  background: var(--navy); color: #fff; font-weight: 800; font-size: var(--fs-md);
}
.state { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 800; font-size: var(--fs-sm); }
.state::before { content: ''; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: currentColor; }
.state.open { color: var(--ok); }
.state.shut { color: var(--bad); }

/* ── faixa azul-marinho (capa da loja, situação do pedido) ── */
.band { background: var(--navy); color: var(--on-navy); }
.band h1, .band h2 { color: #fff; }
.band :focus-visible { outline-color: #fde68a; }
.band-inner { max-width: var(--wide); margin: 0 auto; padding: var(--s4) var(--s4) var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.band .meta { color: var(--on-navy-2); }
.band .rating { color: #fff; }
.band .rating .star { color: #fdba74; }
.band .navlink { color: #fff; margin-left: calc(-1 * var(--s3)); align-self: flex-start; }
.store-head .row { flex-wrap: nowrap; gap: var(--s3); }
.store-head .stack { gap: var(--s1); }
.store-head .avatar { width: 4rem; height: 4rem; background: #fff; color: var(--navy); font-size: var(--fs-lg); }

/* ── loja: produtos ── */
.store-layout { width: 100%; max-width: var(--wide); margin: 0 auto; }
.menu-section { display: flex; flex-direction: column; scroll-margin-top: 5rem; }
.menu-section > h2 { padding: var(--s2) 0; font-size: var(--fs-lg); }
.product { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.product .info { display: flex; flex-direction: column; gap: var(--s1); min-width: 0; }
.product .name { font-weight: 800; font-size: var(--fs); line-height: 1.3; }
.product .desc { color: var(--ink-2); font-size: var(--fs-sm); }
.product .price { font-size: var(--fs-md); }
.product .art-tile { width: 5.5rem; height: 5.5rem; grid-row: span 2; align-self: start; }
.product .art-tile img { width: 4rem; height: 4rem; }
.product .buy { grid-column: 1; }
.qty { display: inline-flex; align-items: center; gap: var(--s2); }
.qty form { display: contents; }
.qty .btn { min-width: var(--tap-lg); min-height: var(--tap-lg); padding: 0 var(--s3); }
.qty .add { padding: 0 var(--s5); }
.qty .value { min-width: 2.5rem; text-align: center; font-weight: 800; font-size: var(--fs-md); font-variant-numeric: tabular-nums; }

/* ── barra fixa inferior (sacola) ── */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -2px 8px rgba(11, 31, 58, 0.06);
}
.has-tabbar .cartbar { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: var(--s3); }
.cartbar .btn { width: 100%; max-width: calc(var(--wide) - 2rem); margin: 0 auto; display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--fs); text-align: left; }
.cartbar .btn > span:last-child { white-space: nowrap; }
.cartbar .pill { display: inline-flex; align-items: center; gap: var(--s2); }
.with-bar { padding-bottom: calc(var(--bar-h) + var(--s5)); }
@media (min-width: 1024px) { .has-tabbar .cartbar { bottom: 0; padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) {
  .store-layout.has-cart { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--s5); align-items: start; padding: 0 var(--s4); }
  .store-layout.has-cart > .page { padding-inline: 0; padding-bottom: var(--s6); }
  .cartbar.cart-aside {
    position: sticky; top: 5.5rem; bottom: auto; margin-top: var(--s4); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: none;
    display: flex; flex-direction: column; gap: var(--s3);
  }
  .cart-aside .desk-only { display: block; }
  .cart-aside .btn { flex-direction: column; align-items: stretch; text-align: left; }
}

/* ── sacola e checkout ── */
.step { display: flex; flex-direction: column; gap: var(--s3); }
.step-title { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-md); }
.step-num { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: var(--fs); }
.line { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; border-top: 1px solid var(--line); }
.line:first-of-type { border-top: 0; }
.line .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s2); }
.line .art-tile { width: 3rem; height: 3rem; }
.line .art-tile img { width: 2.25rem; height: 2.25rem; }
.summary { display: flex; flex-direction: column; gap: var(--s1); padding-top: var(--s3); border-top: 2px solid var(--line); }
.summary .total { font-size: var(--fs-md); font-weight: 800; }
.choices { display: flex; flex-direction: column; gap: var(--s2); }
.choice {
  display: flex; align-items: center; gap: var(--s3); min-height: var(--tap-lg); padding: var(--s3) var(--s4);
  border: 2px solid var(--line); border-radius: var(--r); background: var(--bg); font-weight: 700; cursor: pointer; text-align: left; width: 100%;
}
.choice:has(input:checked), .choice[aria-pressed=true] { border-color: var(--action); background: var(--action-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); background: var(--soft); color: var(--ink); }
.choice .sub { display: block; color: var(--ink-2); font-weight: 500; font-size: var(--fs-sm); }
.choice .radio { flex: none; width: 1.5rem; height: 1.5rem; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--bg); }
.choice[aria-pressed=true] .radio { border: 7px solid var(--action); }
.check-toggle {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); padding: var(--s1) 0;
  border: 0; background: none; font-weight: 700; font-size: var(--fs-sm); text-align: left; color: var(--ink);
}
.check-toggle .box { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border: 2px solid var(--line-strong); border-radius: 6px; background: var(--bg); color: #fff; }
.check-toggle[aria-pressed=true] .box { background: var(--action); border-color: var(--action); }
.place-order .btn { justify-content: space-between; }
.place-order .note { color: var(--bad); font-weight: 700; font-size: var(--fs-sm); text-align: center; }

/* ── acompanhar pedido ── */
.status-hero { align-items: flex-start; padding-top: var(--s5); padding-bottom: var(--s6); }
.status-hero .code { color: var(--on-navy-2); font-weight: 700; font-size: var(--fs-sm); }
.status-hero h1 { font-size: var(--fs-xl); }
.status-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--flame); color: var(--navy); }
.status-icon.ok { background: #4ade80; }
.status-icon.bad { background: #fca5a5; }
.status-hero .sub { color: var(--on-navy-2); }
.courier-chip { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r-pill); background: var(--navy-2); font-weight: 700; }
.timeline { list-style: none; display: flex; flex-direction: column; }
.timeline li { position: relative; display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: var(--s3); min-height: 4rem; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: calc(1.25rem - 2px); top: 0; bottom: 0; width: 4px; background: var(--line); }
.timeline li:first-child::before { top: 50%; }
.timeline li:last-child::before { bottom: 50%; }
.timeline li.done::before { background: var(--ok); }
.timeline li.current::before { background: linear-gradient(var(--ok) 50%, var(--line) 50%); }
.timeline li:first-child.current::before { background: var(--line); }
.timeline .mark { position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 4px solid var(--line); background: var(--bg); color: #fff; }
.timeline .done .mark { border-color: var(--ok); background: var(--ok); }
.timeline .current .mark { border-color: var(--flame); background: var(--action); box-shadow: 0 0 0 6px var(--action-soft); }
.timeline .label { font-weight: 700; }
.timeline .done .label { color: var(--ink); }
.timeline .current .label { color: var(--ink); font-weight: 800; font-size: var(--fs-md); }
.timeline .when { font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pix-box { border: 2px solid var(--action); }
.pix-box .btn-primary { min-height: var(--tap-xl); font-size: var(--fs-md); }
.pix-code { font-family: ui-monospace, Menlo, monospace; font-size: var(--fs-sm); word-break: break-all; }
.pix-qr { width: 220px; height: 220px; align-self: center; border: 1px solid var(--line); border-radius: var(--r); image-rendering: pixelated; }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: var(--s1); }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; font-size: 2.25rem; line-height: 1; color: var(--line-strong); cursor: pointer; border-radius: var(--r-sm); }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #d97706; }
.stars input:focus-visible + label { outline: 3px solid var(--focus); }
.stars-given { color: #d97706; font-size: var(--fs-md); letter-spacing: 2px; }
.stars-given .muted { color: var(--line-strong); }

/* ── pedidos e conta ── */
.order-card { display: flex; flex-direction: column; gap: var(--s3); }
.order-card .name { font-size: var(--fs); }
.order-card .arts { display: flex; gap: var(--s1); }
.order-card .art-tile { width: 2.75rem; height: 2.75rem; }
.order-card .art-tile img { width: 2rem; height: 2rem; }
.order-card .actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.order-card .actions > * { flex: 1 1 9rem; }
.order-card .actions form .btn { width: 100%; }
.profile { display: flex; align-items: center; gap: var(--s3); }
.profile .avatar { border-radius: 50%; }
.account-actions { margin-top: var(--s4); }

/* ── entrada, cadastro, boas-vindas ── */
.auth { max-width: 30rem; }
.auth-logo { width: 3.5rem; height: 3.5rem; }
.auth-head { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: var(--s2); }
.auth-head h1 { font-size: var(--fs-xl); }
.auth form, .auth > .stack { gap: var(--s4); }
.alt-links { display: flex; flex-direction: column; gap: var(--s1); margin-top: var(--s2); }
.alt-links a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; }
.welcome-hero { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4) 0 var(--s2); max-width: 40rem; }
.welcome-hero h1 { font-size: 2.25rem; line-height: 1.15; text-wrap: balance; }
.welcome-hero p { font-size: var(--fs-md); color: var(--ink-2); }
.welcome-actions { display: grid; gap: var(--s2); }
@media (min-width: 480px) { .welcome-actions { grid-template-columns: auto auto; justify-content: start; } }
.foot { color: var(--muted); font-size: var(--fs-sm); text-align: center; }

/* ════════ painel da loja ════════ */
.store { background: var(--soft); }
.topbar { background: var(--navy); color: var(--on-navy); }
.topbar :focus-visible { outline-color: #fde68a; }
.topbar-inner { max-width: 90rem; margin: 0 auto; padding: var(--s2) var(--s4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.topbar-id { display: flex; align-items: center; gap: var(--s3); flex: 1 1 12rem; min-width: 0; }
.topbar-id img { width: 2.5rem; height: 2.5rem; flex: none; }
.topbar h1 { color: #fff; font-size: var(--fs-md); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-state { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); order: 3; flex: 1 1 100%; }
.topbar-user { display: flex; align-items: center; gap: var(--s2); }
.topbar-user .navlink { color: #fff; }
.topbar-link { color: var(--on-navy-2); font-size: var(--fs-sm); font-weight: 600; min-height: var(--tap); display: inline-flex; align-items: center; }
.user-name { display: none; color: var(--on-navy-2); font-size: var(--fs-sm); }
.live { display: none; align-items: center; gap: var(--s2); color: var(--on-navy-2); font-size: var(--fs-sm); font-weight: 700; }
.dot { display: inline-block; flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #94a3b8; }
.dot.on { background: #4ade80; }
.dot.off { background: #f87171; }
.open-toggle {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s4);
  border: 2px solid #4ade80; border-radius: var(--r-pill); background: transparent; color: #fff; font-weight: 800;
}
.open-toggle.off { border-color: #f87171; }
.open-toggle:disabled { cursor: not-allowed; opacity: 0.8; }
@media (min-width: 720px) {
  .topbar-state { order: 0; flex: 0 1 auto; }
  .live, .user-name { display: inline-flex; }
}
.tabs-wrap { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.tabs-wrap::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 2.5rem; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; }
.tabs { display: flex; gap: var(--s1); max-width: 90rem; margin: 0 auto; padding: 0 2.5rem 0 var(--s2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .tab {
  position: relative; display: inline-flex; align-items: center; gap: var(--s2); min-height: 3.5rem; padding: 0 var(--s3);
  color: var(--ink-2); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.tabs .tab[aria-current] { color: var(--action); font-weight: 800; }
.tabs .tab[aria-current]::after { content: ''; position: absolute; left: var(--s2); right: var(--s2); bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--action); }
.count-danger { background: var(--bad); }
.count-quiet { background: var(--line); color: var(--ink); }
.panel { max-width: 90rem; margin: 0 auto; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); }
.settings { max-width: 44rem; }

/* quadro de pedidos */
.col-pick { position: absolute; width: 1px; height: 1px; opacity: 0; }
.board { display: grid; gap: var(--s4); align-items: start; }
.col-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s1); padding: var(--s1); border-radius: var(--r); background: var(--line); }
.col-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 4rem; padding: var(--s1);
  border-radius: var(--r-sm); color: var(--ink-2); font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; text-align: center; cursor: pointer;
}
.col-tab .count { background: var(--ink-2); }
.col-tab.hot .count { background: var(--action); }
#ver-novos:checked ~ #quadro [for=ver-novos],
#ver-procurando:checked ~ #quadro [for=ver-procurando],
#ver-a-caminho:checked ~ #quadro [for=ver-a-caminho] { background: var(--bg); color: var(--ink); font-weight: 800; box-shadow: var(--shadow); }
#ver-novos:focus-visible ~ #quadro [for=ver-novos],
#ver-procurando:focus-visible ~ #quadro [for=ver-procurando],
#ver-a-caminho:focus-visible ~ #quadro [for=ver-a-caminho] { outline: 3px solid var(--focus); }
@media (max-width: 719px) {
  #ver-novos:checked ~ #quadro .column:not([data-col=novos]),
  #ver-procurando:checked ~ #quadro .column:not([data-col=procurando]),
  #ver-a-caminho:checked ~ #quadro .column:not([data-col=a-caminho]) { display: none; }
  .board .column-head { display: none; }
}
@media (min-width: 720px) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-tabs { display: none; }
}
.column { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.column-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s1) var(--s1) 0; }
.column-head h2 { font-size: var(--fs-md); }
.column-empty { padding: var(--s5) var(--s4); border: 2px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--ink-2); text-align: center; }
.order { display: flex; flex-direction: column; gap: var(--s3); }
.order-code { font-weight: 800; font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.order-line { display: flex; gap: var(--s2); align-items: flex-start; }
.order-line > svg { margin-top: 0.2em; color: var(--ink-2); }
.order-items { list-style: none; display: flex; flex-direction: column; gap: var(--s2); font-weight: 700; }
.order-items li { display: flex; align-items: center; gap: var(--s2); }
.order-items .art-tile { width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); }
.order-total { font-weight: 800; font-size: var(--fs-md); }
.order-note { padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: var(--warn-soft); color: #78350f; }
.order-state { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r-sm); font-weight: 800; }
.order-state.ok { background: var(--ok-soft); color: #14532d; }
.order-state.info { background: var(--info-soft); color: #1e3a8a; }
.order-state.bad { background: var(--bad-soft); color: #991b1b; }
.order-alert { border: 2px solid var(--bad); }
.order-new { position: relative; border: 3px solid var(--flame); background: var(--action-soft); }
.order-new::after { content: ''; position: absolute; inset: -3px; border-radius: var(--r-lg); box-shadow: 0 0 0 4px var(--flame); opacity: 0; animation: ring 1.6s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.03); } }
.order-flag { display: flex; align-items: center; gap: var(--s2); margin: calc(-1 * var(--s4)) calc(-1 * var(--s4)) 0; padding: var(--s2) var(--s4); border-radius: var(--r) var(--r) 0 0; background: var(--action); color: #fff; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s3) var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); }
.actions > form:first-child { flex: 1 1 10rem; }
.actions > form:first-child .btn { width: 100%; }
.reason { position: relative; }
.reason[open] { flex: 1 1 100%; }
.reason-body { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s3); padding: var(--s4); border: 2px solid var(--line-strong); border-radius: var(--r); background: var(--bg); }
.reason-body fieldset { display: flex; flex-direction: column; gap: var(--s1); }
.radio-line { display: flex; align-items: center; gap: var(--s3); min-height: var(--tap); font-weight: 600; cursor: pointer; }

/* tabelas que viram cartões no celular */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: var(--fs-sm); font-weight: 800; color: var(--ink-2); padding: var(--s2) var(--s3); border-bottom: 2px solid var(--line); }
td { padding: var(--s3); border-bottom: 1px solid var(--line); vertical-align: middle; }
td .input { min-width: 7rem; }
.tel-link { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; }
.cell-product { display: flex; align-items: center; gap: var(--s3); }
.cell-product .art-tile, .cell-product .avatar { width: 3rem; height: 3rem; }
.check-cell { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); cursor: pointer; }
.check-cell span { display: none; }
@media (max-width: 899px) {
  .table-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; }
  .table-cards tr { padding: var(--s3) 0; border-bottom: 2px solid var(--line); }
  .table-cards td { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s1) 0; border: 0; }
  .table-cards td[data-label]::before { content: attr(data-label); flex: 0 1 45%; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); }
  .table-cards td .input { flex: 1 1 50%; min-width: 0; }
  .table-cards .cell-head { padding-bottom: var(--s2); }
  .table-cards td:last-child:not([data-label]) .btn { width: 100%; }
  .table-cards td:last-child:not([data-label]) { display: block; padding-top: var(--s2); }
  .table-cards td:last-child form { display: block; }
  .check-cell span { display: inline; font-weight: 700; }
}
.grid-3 { display: grid; gap: var(--s3); }
@media (min-width: 720px) { .grid-3 { grid-template-columns: 2fr 1fr 1fr; } }
.history-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--s2); }
.history-summary > div { display: flex; flex-direction: column; padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--soft); color: var(--ink-2); font-weight: 700; font-size: var(--fs-sm); }
.history-summary strong { color: var(--ink); font-size: var(--fs-lg); }
.day-nav { display: flex; align-items: center; gap: var(--s2); max-width: 100%; }
.day-nav form { display: flex; gap: var(--s2); flex: 1 1 auto; min-width: 0; }
.day-nav .input { width: auto; flex: 1 1 auto; min-width: 0; min-height: var(--tap); }

/* ajustes */
.settings .choice { align-items: flex-start; }
.settings .choice input { margin-top: 0.15rem; }
.hours-grid { display: flex; flex-direction: column; gap: var(--s2); }
.hours-row { display: grid; grid-template-columns: 1fr; gap: var(--s2); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.hours-row > .muted { display: none; }
.hours-row .input { min-height: var(--tap); }
.hours-day { display: flex; align-items: center; gap: var(--s3); min-height: var(--tap); font-weight: 800; cursor: pointer; }
@media (min-width: 480px) {
  .hours-row { grid-template-columns: 9rem 1fr auto 1fr; border: 0; padding: 0; }
  .hours-row > .muted { display: block; }
}

/* pedido por telefone */
.phone-order { max-width: 48rem; }
.phone-order .row.nowrap { flex-wrap: nowrap; }
.product-row { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.qty-input .input { width: 5.5rem; text-align: center; font-weight: 800; }
.choices-row { flex-direction: row; flex-wrap: wrap; }
.choices-row .choice { flex: 1 1 10rem; width: auto; }
.phone-order-end { display: flex; flex-direction: column; gap: var(--s3); }
.phone-order-end .btn-primary { flex: 1 1 14rem; }

/* entrada do painel */
.split-login { min-height: 100vh; display: grid; background: var(--bg); }
.split-brand { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6) var(--s4) var(--s5); background: var(--navy); color: var(--on-navy-2); }
.split-brand h1 { color: #fff; font-size: var(--fs-xl); }
.split-brand img { width: 4rem; height: 4rem; }
.split-form { padding: var(--s5) var(--s4); width: 100%; max-width: 30rem; margin: 0 auto; }
@media (min-width: 900px) {
  .split-login { grid-template-columns: 1fr 1fr; }
  .split-brand { justify-content: center; padding: var(--s6) 4rem; }
  .split-form { align-self: center; }
}

/* ════════ entregador: sol forte, uma mão só ════════ */
.courier { color: var(--ink); }
.courier .appbar { background: var(--navy); border: 0; }
.courier .appbar :focus-visible { outline-color: #fde68a; }
.courier .brand, .courier .appbar .navlink { color: #fff; }
.courier .appbar-inner { min-height: 3.5rem; padding-block: var(--s1); gap: var(--s2); }
.courier .appbar .brand { font-size: var(--fs); gap: var(--s2); min-width: 0; }
.courier .appbar .brand img { width: 2rem; height: 2rem; }
.courier .appbar .row { flex-wrap: nowrap; gap: 0; }
.courier .appbar .navlink { min-width: var(--tap); justify-content: center; padding: 0 var(--s2); font-size: var(--fs-sm); }
@media (max-width: 399px) { .courier .appbar .brand img { display: none; } }
.courier-page { max-width: 36rem; gap: var(--s3); }
.courier h1 { font-size: var(--fs-lg); }
.courier .notice { flex-wrap: nowrap; align-items: center; padding: var(--s2) var(--s3); }
.courier .notice > span { flex: 1 1 auto; }
.courier .notice .btn { flex: none; }
.courier .card { border: 2px solid var(--line-strong); padding: var(--s3) var(--s4); }
.courier .btn-lg { min-height: var(--tap-lg); font-size: var(--fs); }
.courier .muted { color: var(--ink-2); }
.stack-lg { display: flex; flex-direction: column; gap: var(--s4); }
.inline-icon { display: inline-block; vertical-align: -0.15em; }
.input-lg { min-height: var(--tap-xl); font-size: var(--fs-md); }

.status-card {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-lg);
  border: 3px solid var(--line-strong); background: var(--soft);
}
.status-card.on { border-color: var(--ok); background: var(--ok-soft); }
.status-title { font-size: var(--fs-md); font-weight: 800; line-height: 1.25; }
.status-card p:not(.status-title) { font-size: var(--fs-sm); color: var(--ink-2); }
.status-card.on .status-title { color: #14532d; }
.switch {
  position: relative; flex: none; width: 5rem; height: 3rem; border: 0; border-radius: var(--r-pill);
  background: #6b7280; padding: 0;
}
.switch span { position: absolute; top: 0.3125rem; left: 0.3125rem; width: 2.375rem; height: 2.375rem; border-radius: 50%; background: #fff; transition: transform var(--ease); }
.switch[aria-checked=true] { background: var(--ok); }
.switch[aria-checked=true] span { transform: translateX(2rem); }
.courier .section-title { font-size: var(--fs); margin-top: var(--s1); }

.delivery { display: flex; flex-direction: column; gap: var(--s2); color: var(--ink); text-decoration: none; }
.delivery-address { font-size: var(--fs-md); font-weight: 800; line-height: 1.25; }
.collect { color: var(--action-press); font-weight: 800; }
.charge-line { font-weight: 800; }
.charge-line.cash { align-self: flex-start; padding: var(--s1) var(--s3); border-radius: var(--r-sm); background: #fde68a; color: #422006; }
.open-line { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); padding-top: var(--s2); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs); font-weight: 700; }
.open-line .go { display: inline-flex; align-items: center; color: var(--action); font-weight: 800; }

.section-label { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs); color: var(--ink-2); }
.big-address { font-size: var(--fs-md); font-weight: 800; line-height: 1.25; }
.charge-card { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3) var(--s4); border-radius: var(--r-lg); border: 2px solid var(--line-strong); }
.charge-card.cash { background: #fde68a; border-color: #b45309; }
.charge-card.cash .section-label { color: #422006; }
.charge { font-size: var(--fs-md); font-weight: 800; line-height: 1.3; }
.charge-card.cash .charge { color: #422006; }
.two-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.two-buttons .btn { padding-inline: var(--s2); }
.item-line { display: flex; align-items: center; gap: var(--s3); font-weight: 800; }
.item-line .art-tile { width: 3rem; height: 3rem; }
.with-footer { padding-bottom: 7rem; }
.sticky-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 2px solid var(--line-strong);
}
.sticky-footer .btn { max-width: 36rem; margin: 0 auto; min-height: 4.5rem; font-size: var(--fs-lg); }
.release .reason-body .btn { font-size: var(--fs); }

/* alarme em tela cheia: vermelho piscando (1 vez por segundo, abaixo do limite de 3 por segundo) */
.alarm { position: fixed; inset: 0; z-index: 50; background: #b91c1c; color: #fff; }
.alarm::before { content: ''; position: absolute; inset: 0; background: #7f1d1d; opacity: 0; animation: blink 1s steps(1, end) infinite; pointer-events: none; }
@keyframes blink { 50% { opacity: 1; } }
.alarm-inner { position: relative; height: 100%; max-width: 36rem; margin: 0 auto; display: flex; flex-direction: column; }
.alarm :focus-visible { outline-color: #fde68a; }
.alarm-head { padding: var(--s4) var(--s4) var(--s3); display: flex; flex-direction: column; align-items: center; gap: var(--s1); text-align: center; }
.alarm-head h2 { color: #fff; font-size: var(--fs-xl); text-transform: uppercase; letter-spacing: 0.04em; }
.alarm-timer { font-size: 1.75rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.alarm-code { font-weight: 800; font-size: var(--fs-md); }
.alarm-more { padding: 0 var(--s2); border-radius: var(--r-pill); background: #fff; color: #991b1b; font-weight: 800; font-size: var(--fs-sm); }
.alarm-more:empty { display: none; }
.alarm-body {
  flex: 1; overflow-y: auto; margin: 0 var(--s4); padding: var(--s4); border-radius: var(--r-lg);
  background: var(--bg); color: var(--ink); display: flex; flex-direction: column; gap: var(--s2);
}
.alarm-address { font-size: var(--fs-md); font-weight: 800; line-height: 1.25; }
.alarm-items { list-style: none; display: flex; flex-direction: column; gap: var(--s2); font-weight: 800; }
.alarm-items li { display: flex; align-items: center; gap: var(--s3); }
.alarm-items .tile { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-sm); background: var(--soft); }
.alarm-total { font-size: var(--fs-md); font-weight: 800; }
.alarm-detail:empty, .alarm-total:empty { display: none; }
.alarm-actions { display: flex; flex-direction: column; gap: var(--s5); padding: var(--s4) var(--s4) calc(var(--s4) + env(safe-area-inset-bottom)); }
.alarm-accept { min-height: 5rem; font-size: var(--fs-xl); border: 3px solid #fff; }
.alarm-decline { min-height: var(--tap-lg); background: transparent; border-color: #fff; color: #fff; }

/* entrada e ajuda */
.courier-login { min-height: 100vh; display: grid; place-items: center; padding: var(--s5) var(--s4); }
.courier-login-form { width: 100%; max-width: 26rem; gap: var(--s4); }
.courier-logo { width: 4.5rem; height: 4.5rem; }
.help-title { font-size: var(--fs-xl); }
.help-checks { list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.help-checks li { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--soft); font-weight: 700; }
.help-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--line); font-weight: 800; }
[data-state=ok] .help-mark { background: var(--ok); color: #fff; }
[data-state=no] .help-mark { background: var(--bad); color: #fff; }
.help-card { display: flex; flex-direction: column; gap: var(--s3); }
.help-card ol, .help-card ul { padding-left: 1.5rem; display: flex; flex-direction: column; gap: var(--s2); }
.help-step { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-md); }
.help-num { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: #fff; }
.help-card summary { display: flex; align-items: center; min-height: var(--tap); font-weight: 800; color: var(--action); cursor: pointer; }
.help-card details[open] summary { margin-bottom: var(--s2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
