/* Sotezzi POS · demo pública (sin backend). Paleta del sistema real: violeta #834CFF + tinta #191A1C */
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
}
:root {
  --brand: #834cff; --brand-d: #6a35e8; --brand-l: #b69bff;
  --ink: #191a1c; --surface: #f6f4fb; --card: #fff; --border: #e4e0f0; --input: #d9d3ea;
  --muted: #615e70; --sec: #f1ecff; --sec-fg: #3b2a73; --danger: #d61f45;
  --ok-bg: #e8f8ef; --ok-fg: #11683f; --warn-bg: #fff4dc; --warn-fg: #8a5300;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --top-h: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; -webkit-tap-highlight-color: transparent; font-family: var(--font); font-size: 14px; line-height: 1.4; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.i { width: 18px; height: 18px; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
kbd { display: inline-block; font: 700 10px/1 var(--font); padding: 3px 5px; border-radius: 4px; background: var(--brand); color: #fff; vertical-align: middle; letter-spacing: .02em; }
input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type='number'] { -moz-appearance: textfield; appearance: textfield; }
.r { text-align: right; } .c { text-align: center; }
.tnum, td, dd { font-variant-numeric: tabular-nums; }

/* ── Barra superior ── */
.demo-top { height: var(--top-h); flex: none; display: flex; align-items: center; gap: 16px; padding: 0 14px; background: var(--card); border-bottom: 1px solid var(--border); }
.demo-top__brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.demo-top__brand img { width: 22px; height: auto; }
.demo-top__brand b { display: block; font-size: 15px; letter-spacing: -.01em; }
.demo-top__brand small { display: block; font-size: 11px; font-weight: 600; color: var(--brand); margin-top: -2px; }
.demo-tabs { display: flex; gap: 4px; margin-left: 8px; }
.demo-tab { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font-weight: 600; color: var(--muted); }
.demo-tab:hover { color: var(--ink); background: var(--surface); }
.demo-tab.is-active { background: var(--sec); color: var(--brand-d); }
.demo-top__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.demo-pill { font-size: 12px; font-weight: 600; color: var(--warn-fg); background: var(--warn-bg); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.demo-cta { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.demo-cta:hover { background: var(--brand-d); }

.view { flex: 1; min-height: 0; }
.view[hidden] { display: none !important; }

/* ── POS ── */
.view--pos { display: flex; flex-direction: column; }
.toolbar { flex: none; display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: var(--card); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: thin; }
.toolbar__title { font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 0 8px 0 4px; }
.toolbar button { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--card); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.toolbar button:hover { border-color: var(--brand); color: var(--brand-d); }
.toolbar .toolbar__charge { margin-left: auto; background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 800; }
.toolbar .toolbar__charge:hover { background: var(--brand-d); color: #fff; }
.toolbar__charge kbd { background: #fff; color: var(--brand); }

.pos-grid { flex: 1; min-height: 0; display: grid; gap: 8px; padding: 8px; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: minmax(0, 1fr) auto; }
.panel { min-height: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.panel__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-bottom: 1px solid var(--border); background: #fbfaff; }
.panel__head h2 { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); padding: 4px 8px; border-radius: 5px; }
.panel__head h2 kbd { padding: 2px 4px; font-size: 9px; }
.panel__meta { font-size: 12px; font-weight: 500; color: var(--muted); }

.search { position: relative; display: flex; align-items: center; gap: 8px; margin: 8px; padding: 0 8px; height: 42px; border: 2px solid var(--brand); border-radius: 9px; background: var(--card); box-shadow: 0 0 0 4px rgba(131, 76, 255, .12); }
.search__ico { color: var(--brand); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 15px; }
.search__list { position: absolute; z-index: 20; left: -2px; right: -2px; top: calc(100% + 4px); max-height: 300px; overflow: auto; background: var(--card); border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 18px 40px -12px rgba(25, 26, 28, .25); padding: 4px; }
.search__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 8px 10px; border-radius: 7px; cursor: pointer; }
.search__list li small { color: var(--muted); font-size: 11.5px; }
.search__list li b { grid-row: span 2; align-self: center; font-variant-numeric: tabular-nums; }
.search__list li[aria-selected="true"], .search__list li:hover { background: var(--sec); }

.cart-wrap { position: relative; flex: 1; min-height: 0; overflow: auto; }
.cart { width: 100%; border-collapse: collapse; }
.cart th { position: sticky; top: 0; z-index: 1; background: var(--card); font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.cart th.r { text-align: right; } .cart th.c { text-align: center; }
.cart td { padding: 6px 8px; border-bottom: 1px solid #f0edf7; vertical-align: middle; }
.cart tr { cursor: pointer; }
.cart tr.is-sel td { background: var(--sec); }
.cart tr.is-sel td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.cart tr.row-in td { animation: row-in .55s ease-out; }
.cart .nm b { display: block; font-weight: 600; }
.cart .nm small { color: var(--muted); font-size: 11px; }
.cart .warn { color: var(--danger); font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 2px; }
.qty button { width: 26px; height: 28px; border: 0; background: none; border-radius: 6px; font-size: 16px; font-weight: 700; }
.qty button:hover { background: var(--sec); color: var(--brand-d); }
.qty input, .dsc { width: 48px; height: 28px; text-align: center; border: 1px solid var(--input); border-radius: 6px; background: var(--card); }
.del { border: 0; background: none; color: var(--muted); padding: 4px; border-radius: 6px; }
.del:hover { color: var(--danger); background: #fdecef; }
.cart td.sub { font-weight: 700; }
.cart-empty { position: absolute; inset: 48px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: var(--muted); padding: 20px; }
.cart-empty .i { width: 40px; height: 40px; color: var(--brand-l); }
.cart-empty b { color: var(--ink); }
.cart-empty[hidden] { display: none; }

.panel--pay { grid-row: 1; grid-column: 2; }
.pay { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.pay__methods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pay__methods button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 11px; font-weight: 600; }
.pay__methods button:hover { border-color: var(--brand); color: var(--brand-d); }
.pay__methods kbd { font-size: 8.5px; padding: 2px 3px; }
.pay__list { flex: 1; min-height: 44px; overflow: auto; display: grid; align-content: start; gap: 4px; }
.pay__list .empty { border: 1px dashed var(--border); border-radius: 8px; padding: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.pay__list li:not(.empty) { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 8px; border: 1px solid var(--border); border-radius: 8px; }
.pay__list li .i { color: var(--brand); width: 16px; height: 16px; }
.pay__list li span { flex: 1; font-size: 13px; }
.pay__list input { width: 110px; height: 30px; text-align: right; padding: 0 8px; border: 1px solid var(--input); border-radius: 6px; font-variant-numeric: tabular-nums; }
.pay__sum { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-size: 13.5px; }
.pay__sum > div { display: flex; justify-content: space-between; padding: 5px 12px; }
.pay__sum .pay__due { background: var(--brand); color: #fff; font-weight: 700; }
.pay__sum .is-rest { background: var(--warn-bg); color: var(--warn-fg); }
.pay__sum .is-change { background: var(--ok-bg); color: var(--ok-fg); }
.pay__sum dd { font-weight: 700; }

.panel--quick { height: 228px; }
.seg { display: flex; padding: 2px; border: 1px solid var(--border); border-radius: 7px; background: var(--card); }
.seg button { border: 0; background: none; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg button.is-on { background: var(--brand); color: #fff; }
.seg--wide { width: 100%; }
.seg--wide button { flex: 1; padding: 8px; font-size: 13px; }
.quick { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; padding: 8px; align-content: start; }
.quick button { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 70px; padding: 8px 9px; text-align: left; border: 1px solid var(--border); border-radius: 9px; background: var(--card); transition: transform .12s, border-color .12s; }
.quick button:hover { border-color: var(--brand); }
.quick button:active { transform: scale(.96); }
.quick button span { font-size: 12px; font-weight: 600; line-height: 1.25; }
.quick button b { color: var(--brand-d); font-size: 14px; font-variant-numeric: tabular-nums; }
.quick button.is-low::after { content: ''; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.ficha { flex: 1; padding: 12px 14px; overflow: auto; }
.ficha dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 13px; }
.ficha dt { color: var(--muted); }
.ficha h3 { margin: 0 0 10px; font-size: 16px; }
.ficha .empty { color: var(--muted); }

.tot { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.tot__label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); }
.tot__receipts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tot__receipts button { height: 32px; border: 1px solid var(--border); border-radius: 7px; background: var(--card); font-weight: 700; font-size: 12.5px; }
.tot__receipts button[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tot__customer { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 8px; border: 1px solid var(--border); border-radius: 7px; background: var(--card); font-size: 13px; text-align: left; }
.tot__customer:hover { border-color: var(--brand); }
.tot__customer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tot__lines { display: grid; gap: 2px; font-size: 13px; }
.tot__lines > div { display: flex; justify-content: space-between; }
.tot__lines > div[hidden] { display: none; }
.tot__lines .muted { color: var(--muted); font-size: 12px; }
@media (min-width: 1024px) and (max-height: 820px) { .panel--quick { height: 200px; } .tot__lines .muted, .tot__label { display: none; } }
.linkish { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 5px; font-size: inherit; }
.linkish:hover { color: var(--brand-d); }
.linkish kbd { font-size: 8.5px; padding: 2px 3px; }
.tot__big { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 12px; }
.tot__big span { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.tot__big strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; transform-origin: left center; }
.pop { animation: total-pop .35s ease-out; }
.charge { height: 46px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .02em; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 24px -10px rgba(131, 76, 255, .8); }
.charge:hover:not(:disabled) { background: var(--brand-d); }
.charge:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.charge kbd { background: #fff; color: var(--brand); }

.mobile-charge { display: none; }
.status { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 6px 12px; font-size: 11.5px; color: var(--muted); background: var(--card); border-top: 1px solid var(--border); }
.status b { color: var(--ink); }
.status__help { display: flex; align-items: center; gap: 6px; }
.status__help .i { width: 15px; height: 15px; color: var(--brand); }
#clock { margin-left: auto; font-variant-numeric: tabular-nums; }

/* ── Páginas (dashboard / productos) ── */
.view--page { overflow: auto; }
.page { max-width: 1240px; margin: 0 auto; padding: 22px 18px 40px; }
.page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page__head h1 { font-size: 24px; letter-spacing: -.02em; }
.page__head p { color: var(--muted); margin-top: 4px; max-width: 70ch; }
.page__search input { height: 40px; width: 280px; max-width: 100%; padding: 0 12px; border: 1px solid var(--input); border-radius: 9px; background: var(--card); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.kpi { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.kpi--main { background: var(--brand); border-color: var(--brand); color: #fff; }
.kpi small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.kpi.kpi--main small, .kpi.kpi--main em { color: rgba(255, 255, 255, .85); }
.kpi strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.card--wide { grid-column: 1 / -1; }
.card h2 { font-size: 14px; margin-bottom: 12px; }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 6px; height: 180px; padding-top: 18px; }
.bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bar i { width: 100%; max-width: 38px; border-radius: 6px 6px 2px 2px; background: var(--brand-l); transition: height .5s cubic-bezier(.2, .7, .2, 1); }
.bar.is-now i { background: var(--brand); }
.bar small { font-size: 10.5px; color: var(--muted); margin-top: 5px; }
.bar b { position: absolute; top: -16px; font-size: 10px; color: var(--muted); font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.bar:hover b, .bar.is-now b { opacity: 1; }
.mix, .rank, .low { display: grid; gap: 9px; font-size: 13px; }
.mix li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.mix li .track { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.mix li .track i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.rank li, .low li { display: flex; justify-content: space-between; gap: 10px; }
.rank li span, .low li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank li b { font-variant-numeric: tabular-nums; }
.low li b { color: var(--danger); font-variant-numeric: tabular-nums; }
.card--table { padding: 0; overflow: auto; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 9px 14px; border-bottom: 1px solid #f0edf7; text-align: left; white-space: nowrap; }
.ptable th { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.ptable th.r, .ptable td.r { text-align: right; } .ptable th.c, .ptable td.c { text-align: center; }
.ptable td.nm { white-space: normal; font-weight: 600; }
.ptable .low { color: var(--danger); font-weight: 700; }
.ptable .fav { border: 0; background: none; font-size: 17px; color: #c9c3dc; line-height: 1; padding: 4px; }
.ptable .fav[aria-pressed="true"] { color: #f2a900; }

/* ── Diálogos ── */
.dlg { border: 0; padding: 0; border-radius: 14px; width: min(420px, calc(100% - 24px)); box-shadow: 0 30px 80px -20px rgba(25, 26, 28, .45); color: var(--ink); }
.dlg::backdrop { background: rgba(25, 26, 28, .45); }
.dlg__box { display: grid; gap: 12px; padding: 20px; }
.dlg h2 { font-size: 18px; }
.dlg__hint { color: var(--muted); font-size: 13px; margin-top: -6px; }
.dlg__err { color: var(--danger); font-size: 13px; font-weight: 600; min-height: 1em; }
.dlg__err:empty { display: none; }
.fld { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.fld input { height: 42px; padding: 0 12px; border: 1px solid var(--input); border-radius: 9px; font-size: 15px; font-weight: 500; }
.fld input:focus { border-color: var(--brand); outline: 2px solid rgba(131, 76, 255, .25); }
.dlg__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.btn-pri, .btn-sec { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 9px; font-weight: 700; border: 1px solid var(--brand); }
.btn-pri { background: var(--brand); color: #fff; }
.btn-pri:hover { background: var(--brand-d); }
.btn-sec { background: var(--card); color: var(--brand-d); border-color: var(--border); }
.btn-sec:hover { border-color: var(--brand); }
.held { display: grid; gap: 6px; max-height: 50vh; overflow: auto; }
.held li button { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--card); text-align: left; }
.held li button:hover { border-color: var(--brand); background: var(--sec); }
.held small { display: block; color: var(--muted); font-size: 12px; }
.held .empty { color: var(--muted); text-align: center; padding: 14px; }
.dlg--ticket { width: min(380px, calc(100% - 24px)); }
.ticket-ok { display: flex; align-items: center; gap: 12px; }
.ticket-ok > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok-fg); }
.ticket-ok p { color: var(--muted); font-size: 13px; }
.ticket { max-height: 52vh; overflow: auto; margin: 0 auto; width: 100%; max-width: 300px; padding: 14px 14px 18px; background: #fff; border: 1px dashed #cfc9de; font: 12px/1.45 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; color: #111; }
.ticket .ctr { text-align: center; }
.ticket hr { border: 0; border-top: 1px dashed #999; margin: 7px 0; }
.ticket .row { display: flex; justify-content: space-between; gap: 8px; }
.ticket .big { font-size: 15px; font-weight: 700; }
.ticket .t { font-weight: 700; font-size: 13px; }
.ticket .demo { margin-top: 8px; padding: 5px; border: 1px solid #111; text-align: center; font-weight: 700; font-size: 11px; }

.toasts { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; pointer-events: none; }
.toast { padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; box-shadow: 0 14px 30px -10px rgba(25, 26, 28, .5); animation: toast-in .25s ease-out; }
.toast--ok { background: #12794a; } .toast--err { background: var(--danger); } .toast--warn { background: #a86400; }

@keyframes row-in { 0% { background-color: rgba(131, 76, 255, .22); transform: translateX(-8px); opacity: .4; } 100% { background-color: transparent; transform: none; opacity: 1; } }
@keyframes total-pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .demo-pill { display: none; }
}
@media (max-width: 1023px) {
  body { height: auto; min-height: 100%; }
  .view--pos { min-height: calc(100vh - var(--top-h)); }
  .pos-grid { grid-template-columns: 1fr; grid-template-rows: none; overflow: visible; }
  .panel--items { order: 1; min-height: 320px; }
  .panel--quick { order: 2; height: 220px; }
  .panel--pay { order: 3; grid-row: auto; grid-column: auto; }
  .panel--totals { order: 4; }
  .cart-wrap { max-height: 46vh; }
  .mobile-charge { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(25, 26, 28, .08); }
  .mobile-charge > div { flex: 1; min-width: 0; }
  .mobile-charge small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; }
  .mobile-charge strong { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; transform-origin: left center; }
  .mobile-charge button { height: 48px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 16px; }
  .mobile-charge button:disabled { opacity: .5; }
  .status__help { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .demo-top { gap: 8px; padding: 0 10px; }
  .demo-top__brand span { display: none; }
  .demo-tabs { margin-left: 0; }
  .demo-tab { padding: 0 9px; font-size: 13px; }
  .demo-tab .i { display: none; }
  .demo-cta span { display: none; }
  .demo-cta { padding: 0 10px; }
  .hide-sm { display: none; }
  .toolbar__title { display: none; }
  .search input { font-size: 16px; }
  .bars { gap: 3px; }
  .bar small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body * { visibility: hidden !important; }
  .dlg--ticket, .dlg--ticket .ticket, .dlg--ticket .ticket * { visibility: visible !important; }
  .dlg--ticket { position: fixed; inset: 0; box-shadow: none; }
  .dlg--ticket .ticket { position: fixed; left: 0; top: 0; max-height: none; border: 0; }
}
