/* Sistema de delivery (versão com servidor): cardápio, carrinho, checkout, acompanhamento,
   painel da loja, clientes, produtos, relatórios e configurações. */
:root {
  --bg: #f8f3ea;
  --surface: #ffffff;
  --surface-2: #f3ecdf;
  --line: #e8decf;
  --ink: #1a1310;
  --muted: #6e615a;
  --brand: #e23b1f;
  --brand-ink: #ffffff;
  --brand-soft: #fde3dc;
  --accent: #ffc21a;
  --paper: #fbf5ea;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
  --ok: #2b8a3e;
  --ok-soft: #e3f4e6;
  --warn: #b7791f;
  --warn-soft: #fbf0d9;
  --info: #1c6dd0;
  --info-soft: #e1edfb;
  --danger: #c92a2a;
  --danger-soft: #fbe3e3;
  --radius: 18px;
  --shadow: 0 14px 30px -18px rgba(40, 10, 0, .45);
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141010; --surface: #1e1816; --surface-2: #2a2220; --line: #3a2f2b;
    --ink: #f6efe8; --muted: #b3a79e; --brand: #ff5a3c; --brand-soft: #3d1a12; --accent: #ffc93d; --paper: #2a2220;
    --ok: #51cf66; --ok-soft: #1d3322; --warn: #f2b84b; --warn-soft: #3a2f17;
    --info: #6aa8ff; --info-soft: #1a2a40; --danger: #ff6b6b; --danger-soft: #3d1d1d;
    --shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --bg: #141010; --surface: #1e1816; --surface-2: #2a2220; --line: #3a2f2b;
  --ink: #f6efe8; --muted: #b3a79e; --brand: #ff5a3c; --brand-soft: #3d1a12; --accent: #ffc93d; --paper: #2a2220;
  --ok: #51cf66; --ok-soft: #1d3322; --warn: #f2b84b; --warn-soft: #3a2f17;
  --info: #6aa8ff; --info-soft: #1a2a40; --danger: #ff6b6b; --danger-soft: #3d1d1d;
  --shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Botões e campos */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); padding: 9px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--danger); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.sm { padding: 5px 10px; font-size: .85rem; border-radius: 8px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
label.field { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 500; }
textarea { resize: vertical; min-height: 80px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 10px; }
@media (max-width: 560px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* Topo */
header.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.logo .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.status-pill { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.status-pill.open { background: var(--ok-soft); color: var(--ok); }
.status-pill.closed { background: var(--danger-soft); color: var(--danger); }
nav.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
nav.tabs::-webkit-scrollbar { display: none; }
nav.tabs a { padding: 7px 12px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--muted); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
nav.tabs a.active { background: var(--ink); color: var(--bg); }
nav.tabs .sep { width: 1px; background: var(--line); margin: 4px 6px; flex: none; }
.badge { background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 99px; display: inline-grid; place-items: center; }
.cart-btn { position: relative; }
.cart-btn .badge { position: absolute; top: -6px; right: -6px; }
@media (max-width: 480px) { .hide-sm { display: none; } }

main { padding-block: 20px 80px; }
.view { display: none; }
.view.active { display: block; }
.section-title { display: flex; align-items: end; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.section-title h2 { font-size: 1.4rem; font-weight: 800; }

/* Cardápio */
.hero { background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #f59f00)); color: #fff; border-radius: 20px; padding: 24px; margin-bottom: 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; }
.hero .info { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; opacity: .92; font-weight: 600; font-size: .9rem; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: 99px; cursor: pointer; font-weight: 600; white-space: nowrap; }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.menu-tools { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.menu-tools input { flex: 1; min-width: 200px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; gap: 12px; cursor: pointer; transition: transform .15s, box-shadow .15s; text-align: left; }
.product:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product .emoji { width: 72px; height: 72px; flex: none; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 2.3rem; }
.product h3 { font-size: 1rem; font-weight: 700; }
.product p { font-size: .85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product .price { font-weight: 800; color: var(--brand); margin-top: 6px; }
.cat-title { font-size: 1.1rem; font-weight: 800; margin: 20px 0 10px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .big { font-size: 2.6rem; }

/* Modal e gaveta */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50; display: none; }
.overlay.show { display: block; }
.modal { position: fixed; z-index: 60; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); display: none; }
.modal.show { display: block; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-head h3 { font-size: 1.15rem; font-weight: 800; flex: 1; }
.modal-body { padding: 18px; display: grid; gap: 14px; }
.modal-foot { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; gap: 10px; position: sticky; bottom: 0; background: var(--surface); }
.drawer { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--surface); transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.show { transform: none; }
.drawer .modal-body { flex: 1; overflow: auto; align-content: start; }
.x { border: 0; background: var(--surface-2); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }

.extra-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.extra-opt input { width: auto; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { border: 0; background: var(--surface-2); width: 34px; height: 34px; cursor: pointer; font-weight: 800; font-size: 1rem; }
.qty span { min-width: 34px; text-align: center; font-weight: 700; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.cart-item .meta { font-size: .8rem; color: var(--muted); }
.totals { display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg label { border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; cursor: pointer; font-weight: 600; }
.seg input { display: none; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.notice { padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: .88rem; }

/* Pedidos do cliente */
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; margin-bottom: 12px; }
.order-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.order-head b { font-size: 1.05rem; }
.tag { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); }
.tag.novo { background: var(--info-soft); color: var(--info); }
.tag.preparo { background: var(--warn-soft); color: var(--warn); }
.tag.entrega { background: var(--brand-soft); color: var(--brand); }
.tag.concluido { background: var(--ok-soft); color: var(--ok); }
.tag.cancelado { background: var(--danger-soft); color: var(--danger); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.timeline .step { text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); }
.timeline .step::before { content: ""; display: block; height: 6px; border-radius: 99px; background: var(--line); margin-bottom: 6px; }
.timeline .step.done { color: var(--ink); }
.timeline .step.done::before { background: var(--brand); }

/* Painel / kanban */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.kpi .v { font-size: 1.5rem; font-weight: 800; }
.kpi .l { font-size: .8rem; color: var(--muted); font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--surface-2); border-radius: var(--radius); padding: 10px; min-height: 200px; }
.col h3 { font-size: .9rem; font-weight: 800; display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; display: grid; gap: 8px; font-size: .88rem; }
.ticket.fresh { animation: pulse 1.6s ease 3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px var(--brand-soft); } }
.ticket .items { color: var(--muted); }
.ticket .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.ticket select { padding: 5px 8px; font-size: .82rem; }
.late { color: var(--danger); font-weight: 700; }

/* Tabelas */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; }
.cards2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 90px; gap: 10px; align-items: center; font-size: .85rem; }
.bar { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.switch input { width: auto; }

.login-card { max-width: 400px; margin: 40px auto; padding: 28px; }
.login-card .lock { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.6rem; }
.login-card h2 { font-size: 1.4rem; font-weight: 800; }
.user-chip { font-size: .8rem; font-weight: 700; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 90; transition: transform .25s ease; max-width: calc(100vw - 32px); }
.toast.show { transform: translateX(-50%); }
.float-cart { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25; display: none; }
@media (max-width: 720px) { .float-cart.has { display: flex; } }
@media print { body * { visibility: hidden; } }

/* Vitrine de lojas */
.home-hero { background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #f59f00)); color: #fff; border-radius: 20px; padding: 28px 24px; margin-bottom: 18px; display: grid; gap: 14px; }
.home-hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 800; max-width: 22em; }
.home-hero p { opacity: .92; font-weight: 600; }
.search-bar { display: grid; grid-template-columns: 1fr 220px; gap: 8px; }
.search-bar input, .search-bar select { border: 0; padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
@media (max-width: 640px) { .search-bar { grid-template-columns: 1fr; } }
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.store-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.store-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-card.closed { opacity: .65; }
.store-card .emoji { width: 64px; height: 64px; flex: none; border-radius: 16px; background: var(--brand-soft); display: grid; place-items: center; font-size: 2rem; }
.store-card h3 { font-size: 1.05rem; font-weight: 800; }
.store-card .meta { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.store-card p { font-size: .85rem; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 24px; padding: 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.back { display: inline-flex; gap: 6px; margin-bottom: 10px; font-weight: 700; text-decoration: none; color: var(--muted); }
.banner { padding: 12px 14px; border-radius: 12px; font-weight: 600; margin-bottom: 14px; }
.banner.pendente { background: var(--warn-soft); color: var(--warn); }
.banner.bloqueada { background: var(--danger-soft); color: var(--danger); }
.tag.pendente { background: var(--warn-soft); color: var(--warn); }
.tag.ativa { background: var(--ok-soft); color: var(--ok); }
.tag.bloqueada { background: var(--danger-soft); color: var(--danger); }
.linkbox { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: .88rem; overflow-wrap: anywhere; }
.login-links { text-align: center; font-size: .9rem; }

/* ===================================================================
   Identidade "cozinha em hora de pico" (a mesma da página inicial):
   vermelho-tomate, mostarda, letreiro condensado e comandas de papel.
   =================================================================== */
a { color: inherit; }
body { font-size: 15.5px; }

/* títulos em letreiro */
.section-title h2, .cat-title, .home-hero h1, .hero h1, .login-card h2, .modal-head h3, .kpi .v { font-family: var(--display); text-transform: uppercase; letter-spacing: .005em; line-height: 1.02; }
.section-title h2 { font-size: 2.2rem; font-weight: 900; }
.cat-title { font-size: 1.8rem; font-weight: 900; margin: 28px 0 12px; display: flex; align-items: center; gap: 12px; }
.cat-title::after { content: ""; flex: 1; border-bottom: 3px dotted var(--line); }
.modal-head h3 { font-size: 1.7rem; font-weight: 900; }
.kpi .v { font-size: 2.3rem; font-weight: 900; }

/* topo */
header.top { background: var(--surface); border-bottom: 2px solid var(--ink); }
.logo { font-family: var(--display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .01em; }
.logo .mark { background: var(--ink); color: var(--accent); border-radius: 12px; transform: rotate(-6deg); }
nav.tabs a { font-size: .92rem; }
nav.tabs a.active { background: var(--ink); color: var(--accent); }

/* botões */
.btn { border-radius: 999px; border: 2px solid var(--line); font-weight: 700; }
.btn.primary { border-color: var(--brand); box-shadow: 0 4px 0 color-mix(in srgb, var(--brand) 60%, #000); }
.btn.primary:hover { filter: none; transform: translateY(-1px); box-shadow: 0 6px 0 color-mix(in srgb, var(--brand) 60%, #000); }
.btn.primary:active { transform: translateY(2px); box-shadow: 0 2px 0 color-mix(in srgb, var(--brand) 60%, #000); }
.btn.ghost { border-color: transparent; }
input, select, textarea { border-width: 2px; border-radius: 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }

/* vitrine: banner vermelho com busca de papel */
.home-hero, .hero { background: var(--brand); color: var(--ink); border-radius: 26px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .home-hero, :root[data-theme="dark"] .hero { color: #1a1310; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home-hero, :root:not([data-theme="light"]) .hero { color: #1a1310; } }
.home-hero { padding: 36px 30px 34px; gap: 20px; }
.home-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; max-width: 14em; }
.home-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid var(--accent); opacity: .9; }
.search-bar input, .search-bar select { color: #1a1310; background: #fff; border: 2px solid #1a1310; font-weight: 600; min-height: 54px; position: relative; z-index: 1; }
.search-bar { box-shadow: 8px 8px 0 #1a1310; border-radius: 14px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; }
.hero .info { opacity: 1; }

/* filtros */
.chip { border: 2px solid var(--line); font-weight: 700; transition: border-color .15s, transform .15s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--accent); border-color: var(--ink); }

/* cartões de loja e produto */
.store-card, .product { border: 2px solid var(--ink); border-radius: 20px; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.store-card:hover, .product:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.store-card .emoji, .product .emoji { background: var(--accent); border-radius: 16px; transform: rotate(-4deg); }
.store-card h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 900; text-transform: uppercase; line-height: 1; }
.product h3 { font-size: 1.05rem; font-weight: 800; }
.product .price { font-family: var(--mono); font-weight: 700; color: var(--brand); }
.status-pill, .tag { font-weight: 800; }

/* chamada "tem uma empresa?" */
.cta { background: var(--ink); color: #fff; border: 0; border-radius: 22px; padding: 26px; }
.cta .muted { color: #c9bdb3; }
.cta .btn:not(.primary) { background: transparent; color: #fff; border-color: #fff; }

/* carrinho e pedidos */
.drawer { border-left: 2px solid var(--ink); }
.totals .grand { font-family: var(--mono); font-size: 1.2rem; }
.order-card { border: 2px solid var(--ink); border-radius: 20px; }
.timeline .step.done::before { background: var(--brand); }
.timeline .step::before { height: 8px; }

/* painel da loja: comandas como papel de impressora térmica */
.col { background: var(--surface-2); border-radius: 20px; border: 2px dashed var(--line); }
.col h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 900; text-transform: uppercase; }
.ticket { background: var(--paper); border: 0; border-radius: 4px; font-family: var(--mono); font-size: .82rem; box-shadow: 0 8px 16px -10px rgba(40, 10, 0, .45); position: relative; padding-bottom: 18px; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 10px; background: radial-gradient(circle at 6px 10px, transparent 6px, var(--paper) 7px) 0 0 / 12px 10px repeat-x; transform: scaleY(-1); }
.ticket .btn, .ticket select { font-family: var(--font); }
.kpi { border: 2px solid var(--ink); border-radius: 20px; }
.kpi:first-child { background: var(--accent); color: #1a1310; border-color: #1a1310; }
.kpi:first-child .l { color: #3a2a1a; }
.card, .table-wrap { border: 2px solid var(--line); border-radius: 20px; }
.login-card { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); }
.login-card .lock { background: var(--accent); }
.toast { border-radius: 999px; }

@media (prefers-reduced-motion: reduce) { .store-card, .product, .btn, .chip { transition: none; } }
