/* Premium POS: presentation only. Print styles stay in app.css. */
@media screen {
  :root {
    --bg:#f4f5f7; --panel:#fff; --ink:#202e40; --muted:#657286; --line:#e2e7ed;
    --head-a:#17293e; --head-b:#223c52; --head-ink:#f5f7fa;
    --head-hover:rgba(255,255,255,.08); --nav-on:#fff; --nav-on-ink:#17293e;
    --chip:rgba(255,255,255,.08); --chip-hover:rgba(255,255,255,.15);
    --brand:#136f68; --brand-ink:#fff; --brand-soft:#eaf4f1; --total:#f2d59a;
    --p1:#287c73; --p2:#ab7b35; --p3:#50789c; --p4:#7d6a9a;
    --price:#85551c; --danger:#ba3d50; --ok:#177354; --warn:#916015; --warn-soft:#fcf3e2;
    --shadow:0 2px 3px rgba(23,41,62,.02),0 6px 22px rgba(23,41,62,.035);
    --shadow-lg:0 24px 72px rgba(15,29,46,.2);
    --surface-soft:#f8f9fb; --accent:#c49a58; --focus:rgba(19,111,104,.14);
    color-scheme:light;
  }

  body { font-size:14px; line-height:1.65; }
  #app [hidden] { display:none!important; }
  #app { min-height:100dvh; }
  #app>header,#app>main,.pos>*,.cols>*,.stack,.panel,.scanwrap,.tbl-wrap { min-width:0; }
  #app>header {
    padding:18px max(24px,env(safe-area-inset-right,0px)) 14px max(24px,env(safe-area-inset-left,0px));
    gap:14px 24px;
    background:linear-gradient(115deg,var(--head-a),var(--head-b));
    border-bottom:2px solid var(--accent);
    box-shadow:0 4px 20px rgba(15,29,46,.08);
  }
  header .shop { font-size:19px; letter-spacing:-.02em; }
  .hd-logo { height:40px; border-radius:10px; padding:4px; }
  #nav { order:3; flex-basis:100%; min-width:0; max-width:100%; gap:6px; }
  #nav button { display:inline-flex; align-items:center; gap:7px; padding:10px 16px; border-radius:9px; font-size:13px; opacity:.82; }
  #nav button.on { opacity:1; box-shadow:0 2px 5px rgba(0,0,0,.08); }
  #nav kbd { font-size:10px; margin-left:3px; }
  .userchip { gap:10px; font-size:12px; }
  .userchip>span { display:flex; align-items:center; gap:8px; }
  .userchip button { border:1px solid rgba(255,255,255,.12); border-radius:8px; padding:6px 10px; }
  .role { color:var(--total); background:rgba(242,213,154,.09); }
  #app>main {
    width:100%; max-width:1800px; margin-inline:auto;
    padding:28px max(24px,env(safe-area-inset-right,0px)) 32px max(24px,env(safe-area-inset-left,0px));
  }
  h2 { font-size:22px; letter-spacing:-.035em; margin-bottom:20px; }
  h3 { letter-spacing:-.02em; }
  .panel { padding:22px; border-radius:14px; }
  .stack { gap:18px; }
  .cols { gap:22px; }
  .pos { grid-template-columns:minmax(0,1fr) 360px; gap:24px; }
  .sum { gap:14px; }
  .scan { font-size:16px; padding:18px 20px; border:1px solid var(--line); border-radius:12px; }
  .scan:focus { border-color:var(--brand); box-shadow:0 0 0 4px var(--focus),var(--shadow); }
  #posScan { padding-right:265px; }
  .scanwrap .hint { right:18px; font-size:11px; }
  .lastadd { font-size:12px; }
  input,select,textarea { border-width:1px; border-radius:9px; padding:10px 12px; background:var(--panel); }
  input::placeholder,textarea::placeholder { color:var(--muted); opacity:.85; }
  input:focus,select:focus,textarea:focus { box-shadow:0 0 0 3px var(--focus); }
  label.f { gap:7px; font-size:12px; }
  label.f input,label.f select,label.f textarea { font-size:14px; }
  .btn { border-width:1px; border-radius:9px; padding:10px 16px; font-size:13px; }
  .btn:hover { transform:none; background:var(--surface-soft); }
  .btn.pri { box-shadow:0 3px 8px rgba(19,111,104,.12); }
  .btn.pri:hover { background:var(--brand); filter:brightness(1.08); box-shadow:0 4px 12px var(--focus); }
  .btn.big { padding:15px 18px; font-size:15px; border-radius:11px; }
  .btn.sm { border-radius:7px; font-size:12px; padding:5px 10px; }
  .btn:disabled { opacity:.45; box-shadow:none; filter:none; }
  #btnPay { min-height:58px; }
  #btnClear { border-color:transparent; background:transparent; }
  #btnClear:hover { background:color-mix(in srgb,var(--danger) 6%,var(--panel)); }
  .total-box {
    position:relative; overflow:hidden; padding:23px 24px 26px; border-radius:15px;
    background:linear-gradient(125deg,var(--head-a),var(--head-b));
    border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 24px rgba(23,41,62,.12);
  }
  .total-box::before { content:""; position:absolute; top:0; left:24px; width:32px; height:3px; background:var(--accent); border-radius:0 0 3px 3px; }
  .total-box .tl { font-size:12px; opacity:.85; }
  .total-box .amt { font-size:clamp(27px,2.8vw,40px); line-height:1.4; margin-top:14px; letter-spacing:-.04em; overflow-wrap:anywhere; }
  .sum .panel { padding:19px 20px; }
  th { padding:14px 15px; font-size:11px; background:var(--surface-soft); letter-spacing:0; }
  td { padding:14px 15px; font-size:13px; }
  tbody tr:last-child td { border-bottom:0; }
  tr:hover td { background:color-mix(in srgb,var(--brand-soft) 45%,var(--panel)); }
  .panel>.tbl-wrap:first-child,.panel>.tbl-wrap:first-child table { border-radius:14px 14px 0 0; }
  .cart-empty { padding:70px 20px 76px; font-size:15px; }
  .cart-empty::before {
    content:""; display:block; width:54px; height:54px; margin:0 auto 20px; border-radius:16px;
    background:var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%235d8e87' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16l-1 13H5L4 7Z'/%3E%3Cpath d='M8 8V6a4 4 0 0 1 8 0v2M9 12v4m6-4v4'/%3E%3C/svg%3E") center/28px no-repeat;
  }
  .cart-empty .small { display:inline-block; margin-top:7px; font-size:12px; }
  .qty { border-width:1px; border-radius:8px; }
  .qty button { background:var(--surface-soft); }
  .pill { font-size:11px; padding:3px 9px; }
  .pill.ok { background:var(--brand-soft); border-color:transparent; }
  .results { border-radius:12px; box-shadow:var(--shadow-lg); }
  .results div { padding:13px 16px; }
  .stats { gap:16px; margin-bottom:22px; }
  .stat { padding:20px; border-radius:13px; background:var(--panel); border:1px solid var(--line); }
  .stat::after { top:20px; right:18px; width:7px; height:7px; background:var(--c); }
  .stat b { font-size:25px; margin-top:9px; letter-spacing:-.035em; }
  .stat .muted { font-size:12px; }
  .seg { border-radius:10px; background:var(--surface-soft); }
  .seg button { border-radius:7px; font-size:13px; padding:9px 12px; }
  .tabs2 button { border-radius:9px; font-size:13px; }
  .stabs { gap:8px; margin-bottom:22px; }
  .stabs button { font-size:13px; padding:12px 16px; border-bottom-width:2px; }
  .promo-card { border-radius:14px; border-top-width:3px; padding:20px; }
  .note { border:1px solid color-mix(in srgb,var(--warn) 20%,var(--warn-soft)); border-radius:10px; }
  .drop { padding:32px 20px; border-width:1px; border-radius:12px; background:var(--surface-soft); }
  .ov { background:rgba(13,26,43,.4); backdrop-filter:blur(5px); }
  .modal { border:1px solid var(--line); padding:28px; border-radius:18px; }
  .modal h3 { margin-bottom:20px; }
  .paybig { color:var(--brand); letter-spacing:-.04em; }
  #toast { border-radius:10px; font-size:13px; }
  .app-foot { padding:13px max(24px,env(safe-area-inset-right,0px)) max(13px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px)); font-size:11px; }
  .app-foot .ver { border-radius:5px; font-size:10px; }
  .app-foot .clock b { color:var(--ink); }
  body.auth {
    min-height:100dvh; background:radial-gradient(ellipse at 15% 15%,rgba(196,154,88,.11),transparent 45%),linear-gradient(140deg,var(--head-a),var(--head-b));
    padding-block:40px;
  }
  .auth-card { width:min(430px,100%); padding:38px; gap:20px; border-radius:20px; box-shadow:0 24px 80px rgba(0,0,0,.22); border-top:3px solid var(--accent); }
  .auth-card h1 { font-size:23px; line-height:1.55; letter-spacing:-.04em; }
  .auth-brand { color:var(--brand); font-size:12px; }
  .auth-card input { padding:12px 14px; }
  .auth-card .btn.big { margin-top:4px; }
  .auth-card p.small { font-size:12px; line-height:1.8; }
  .auth-err { font-size:13px; }
}

@media screen and (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --bg:#111a25; --panel:#1a2635; --ink:#e7edf4; --muted:#a0afc0; --line:#304053;
    --head-a:#101f30; --head-b:#1b3248; --brand:#72c8b6; --brand-ink:#102b29; --brand-soft:#233d3b;
    --price:#e7c28d; --danger:#f38a9a; --ok:#7cd6b3; --warn:#e3bd7d; --warn-soft:#3a3023;
    --surface-soft:#202e3f; --focus:rgba(114,200,182,.17);
    --shadow:0 4px 18px rgba(0,0,0,.12); --shadow-lg:0 24px 72px rgba(0,0,0,.45);
    color-scheme:dark;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg:#111a25; --panel:#1a2635; --ink:#e7edf4; --muted:#a0afc0; --line:#304053;
    --head-a:#101f30; --head-b:#1b3248; --brand:#72c8b6; --brand-ink:#102b29; --brand-soft:#233d3b;
    --price:#e7c28d; --danger:#f38a9a; --ok:#7cd6b3; --warn:#e3bd7d; --warn-soft:#3a3023;
    --surface-soft:#202e3f; --focus:rgba(114,200,182,.17);
    --shadow:0 4px 18px rgba(0,0,0,.12); --shadow-lg:0 24px 72px rgba(0,0,0,.45);
    color-scheme:dark;
  }
}
@media screen and (max-width:1100px) {
  .pos { grid-template-columns:minmax(0,1fr) 320px; gap:18px; }
  #posScan { padding-right:18px; }
  .scanwrap .hint { position:static; display:block; transform:none; margin:7px 3px 0; }
  td,th { padding:12px 10px; }
}
@media screen and (max-width:860px) {
  .pos,.cols { grid-template-columns:minmax(0,1fr); }
  .sum { position:static; }
  .total-box .amt { font-size:38px; }
  #app>header { gap:12px; padding:16px; }
  #nav { flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; }
  #nav button { flex-shrink:0; padding:9px 12px; }
  #app>main { padding:20px 16px 26px; }
  .userchip { flex-wrap:wrap; white-space:normal; }
  .app-foot { padding-inline:16px; }
}
@media screen and (max-width:520px) {
  header .shop { width:100%; font-size:17px; white-space:normal; overflow-wrap:anywhere; }
  .userchip { gap:6px; width:100%; font-size:11px; }
  .userchip>span { margin-right:auto; flex-wrap:wrap; gap:4px; }
  .userchip button { padding:5px 8px; font-size:11px; }
  .panel { padding:16px; }
  .scan { font-size:14px; padding:15px; }
  .cart-empty { padding:42px 14px; }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .stat { padding:15px; }
  .stat b { font-size:20px; overflow-wrap:anywhere; }
  .modal { padding:20px; }
  .auth-card { padding:28px 24px; }
  .auth-card h1 { font-size:21px; }
  .rp-ctrl .seg { min-width:0; width:100%; }
  .promo-grid { grid-template-columns:minmax(0,1fr); }
}
@media screen and (prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition:none!important; scroll-behavior:auto!important; }
}

/* Signature edition: midnight, champagne and sea glass. */
@media screen {
  :root { --accent:#d4b479; --head-a:#101c36; --head-b:#193d50; --shadow:0 2px 4px rgba(23,41,62,.025),0 12px 36px rgba(23,41,62,.055); }
  body { background:radial-gradient(ellipse at 85% 0,color-mix(in srgb,var(--brand) 6%,transparent),transparent 45%),radial-gradient(ellipse at 5% 65%,rgba(196,154,88,.055),transparent 45%),var(--bg); }
  #app>header {
    position:relative; isolation:isolate; padding-top:22px; padding-bottom:0; gap:18px 24px;
    background:radial-gradient(ellipse at 85% -30%,rgba(79,179,166,.25),transparent 58%),linear-gradient(115deg,var(--head-a),var(--head-b));
    border-bottom:1px solid rgba(212,180,121,.5); box-shadow:0 8px 30px rgba(12,26,46,.14);
  }
  #app>header::after { content:""; position:absolute; top:0; right:12%; width:25%; height:1px; background:linear-gradient(90deg,transparent,#e9d4a6,transparent); }
  header .shop { font-size:21px; letter-spacing:-.04em; }
  header .shop::before,.retail-mark {
    content:""; display:inline-block; width:38px; height:38px; flex-shrink:0; border-radius:12px; border:1px solid rgba(212,180,121,.4);
    background:linear-gradient(var(--accent),var(--accent)) 10px 10px/6px 6px no-repeat,linear-gradient(var(--accent),var(--accent)) 21px 10px/6px 6px no-repeat,linear-gradient(var(--accent),var(--accent)) 10px 21px/6px 6px no-repeat,linear-gradient(#8fd6c5,#8fd6c5) 21px 21px/6px 6px no-repeat,rgba(255,255,255,.035);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 4px 16px rgba(0,0,0,.1);
  }
  .shop:has(.hd-logo:not([hidden]))::before { display:none; }
  #nav { gap:8px; padding:12px 0 13px; border-top:1px solid rgba(255,255,255,.09); }
  #nav button { min-height:43px; padding:10px 16px; border:1px solid transparent; border-radius:11px; opacity:.86; transition:background .2s,box-shadow .2s,color .2s; }
  #nav button::before {
    content:""; width:18px; height:18px; flex-shrink:0; background:currentColor;
    mask:var(--nav-icon) center/contain no-repeat;
  }
  #nav button[data-s="pos"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l3 12h11l2-8H6M9 20h.01M18 20h.01'/%3E%3C/svg%3E"); }
  #nav button[data-s="stock"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5v9l-9 5-9-5V8l9-5Zm0 9 9-4m-9 4L3 8m9 4v10M7 5l9 5'/%3E%3C/svg%3E"); }
  #nav button[data-s="products"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3C/svg%3E"); }
  #nav button[data-s="labels"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h9l9 9-9 9-9-9V3Z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E"); }
  #nav button[data-s="history"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6V3Zm8 0v5h5M9 12h7m-7 4h7'/%3E%3C/svg%3E"); }
  #nav button[data-s="report"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3v17h17M8 15v-4m5 4V7m5 8V4'/%3E%3C/svg%3E"); }
  #nav button[data-s="settings"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16M8 3v6m8 0v6m-6 0v6'/%3E%3C/svg%3E"); }
  #nav button.on { color:#f7edda; background:linear-gradient(130deg,rgba(212,180,121,.2),rgba(255,255,255,.045)); border-color:rgba(212,180,121,.55); box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 3px 12px rgba(0,0,0,.1); }
  #nav button.on::before { color:#e8cc98; }
  .userchip button { background:rgba(255,255,255,.045); border-color:rgba(255,255,255,.14); }
  .eyebrow { display:block; color:var(--muted); font:500 9px/1.6 var(--mono); letter-spacing:.2em; }
  .eyebrow>span { padding-inline:7px; color:var(--accent); }
  .workspace-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:2px 0 26px; }
  .workspace-heading h1 { margin:7px 0 4px; font-size:29px; line-height:1.4; font-weight:600; letter-spacing:-.045em; }
  .heading-dot { color:var(--brand); padding-left:3px; }
  .workspace-heading p { margin:0; color:var(--muted); font-size:12px; }
  .workspace-shortcuts { display:flex; gap:18px; color:var(--muted); font-size:11px; }
  .workspace-shortcuts span { display:flex; align-items:center; gap:7px; }
  .workspace-shortcuts kbd { border:1px solid var(--line); background:var(--panel); padding:4px 7px; border-radius:6px; color:var(--ink); box-shadow:0 2px 0 var(--line); font:500 10px var(--mono); }
  .panel { border-radius:18px; box-shadow:var(--shadow); }
  .scan { border-radius:14px; padding-left:48px; box-shadow:0 5px 18px rgba(23,41,62,.045); background:var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23798799' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") 17px center/19px no-repeat; }
  .scan:focus { box-shadow:0 0 0 4px var(--focus),0 8px 24px var(--focus); }
  .cart-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:22px 24px 19px; }
  .cart-heading .eyebrow { color:var(--brand); font-size:8px; }
  .cart-heading h3 { font-size:17px; margin:4px 0 0; }
  .cart-heading-note { font-size:11px; color:var(--muted); }
  .cart-empty { padding-top:55px; padding-bottom:65px; }
  .cart-empty::before { width:76px; height:76px; border-radius:24px; background-size:34px; border:1px solid color-mix(in srgb,var(--brand) 13%,var(--panel)); box-shadow:0 0 0 9px color-mix(in srgb,var(--brand) 3%,var(--panel)); margin-bottom:25px; transform:rotate(-6deg); }
  .total-box { padding:25px 25px 29px; border-radius:20px; background:radial-gradient(circle at 100% 0,rgba(102,202,175,.22),transparent 65%),linear-gradient(125deg,#111e38,#1b414d); box-shadow:0 14px 30px rgba(17,38,57,.18),inset 0 1px 0 rgba(255,255,255,.12); color:#f5f7fa; border:1px solid rgba(212,180,121,.28); }
  .total-box::before { width:45px; left:25px; height:3px; }
  .total-box::after { content:""; position:absolute; width:160px; height:160px; border:1px solid rgba(212,180,121,.12); border-radius:50%; right:-55px; bottom:-80px; box-shadow:0 0 0 24px rgba(212,180,121,.035),0 0 0 48px rgba(212,180,121,.025); pointer-events:none; }
  .total-box .kv,.total-box .amt { position:relative; z-index:1; }
  .total-box .amt { font-size:clamp(28px,3.15vw,45px); color:#f2dba7; text-shadow:0 2px 24px rgba(242,219,167,.12); margin-top:22px; }
  #sumCount { border:1px solid rgba(255,255,255,.18); padding:2px 8px; border-radius:6px; font-size:10px; }
  #btnPay { background:linear-gradient(115deg,#146a62,#238677); color:#fff; border-color:transparent; min-height:62px; box-shadow:0 8px 20px rgba(19,111,104,.18),inset 0 1px 0 rgba(255,255,255,.18); }
  #btnPay:not(:disabled):hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(19,111,104,.25); }
  .sum>.panel:last-child { background:linear-gradient(125deg,color-mix(in srgb,var(--brand) 5%,var(--panel)),var(--panel)); border-color:color-mix(in srgb,var(--brand) 16%,var(--line)); }
  .stat { border-radius:17px; background:linear-gradient(145deg,var(--panel),color-mix(in srgb,var(--c) 5%,var(--panel))); }
  .stat::after { width:32px; height:4px; border-radius:4px; top:0; left:20px; right:auto; }
  .stat b { font-size:28px; }
  body.auth-login { display:grid; grid-template-columns:minmax(0,560px) minmax(0,430px); align-content:center; gap:clamp(45px,7vw,110px); padding:50px max(32px,6vw); background:radial-gradient(ellipse at 10% 30%,rgba(33,121,125,.24),transparent 55%),radial-gradient(ellipse at 95% 100%,rgba(164,130,75,.13),transparent 50%),#0e1b30; }
  .auth-intro { color:#f4f4ef; min-width:0; }
  .auth-wordmark { display:flex; align-items:center; gap:12px; margin-bottom:64px; font:600 23px var(--font); letter-spacing:-.04em; }
  .auth-wordmark>span:last-child { font:400 9px var(--mono); letter-spacing:.18em; color:#9eaebf; }
  .wordmark-separator { color:#64758a; font-size:18px; font-weight:400; margin-inline:3px; }
  .auth-intro>.eyebrow { color:#d5bc88; font-size:9px; }
  .auth-intro h2 { font-size:clamp(34px,3.4vw,48px); line-height:1.5; font-weight:500; letter-spacing:-.05em; margin:17px 0; }
  .auth-intro h2>span { display:block; color:#a8decd; }
  .auth-intro p { color:#a5b5c7; font-size:13px; line-height:1.9; margin:0; }
  .auth-art { width:min(400px,100%); margin:20px 0 14px -20px; }
  .auth-art svg { width:100%; display:block; filter:drop-shadow(0 18px 24px rgba(0,0,0,.18)); }
  .auth-features { display:flex; flex-wrap:wrap; gap:18px; color:#b3c1cf; font-size:11px; }
  .auth-features span::before { content:""; display:inline-block; width:4px; height:4px; background:#d4b479; border-radius:50%; margin-right:8px; vertical-align:middle; }
  .auth-login .auth-card { position:relative; width:100%; padding:42px 36px; border-radius:24px; border:1px solid color-mix(in srgb,var(--accent) 50%,var(--line)); border-top:3px solid var(--accent); box-shadow:0 30px 90px rgba(0,0,0,.26),0 0 80px rgba(115,201,180,.055); gap:23px; }
  .auth-login .auth-card::after { content:""; position:absolute; inset:8px; border:1px solid color-mix(in srgb,var(--accent) 14%,transparent); border-radius:17px; pointer-events:none; }
  .auth-login .auth-brand { font-size:13px; }
  .auth-login .auth-card h1 { font-size:25px; }
  .auth-login .auth-card .btn.pri { background:linear-gradient(115deg,#146a62,#238677); color:#fff; border-color:transparent; min-height:55px; box-shadow:0 6px 18px rgba(19,111,104,.2); }
  .auth-login .auth-card label.f { font-size:12px; }
  .auth-login .auth-card input { padding:13px 14px; background:var(--surface-soft); }
}
@media screen and (max-width:1100px) {
  .workspace-heading h1 { font-size:25px; }
  .workspace-shortcuts { gap:12px; }
  body.auth-login { gap:40px; padding-inline:32px; }
  .auth-wordmark { margin-bottom:44px; }
  .auth-wordmark>span:last-child { font-size:8px; }
}
@media screen and (max-width:860px) {
  #app>header { padding-top:16px; padding-bottom:0; gap:14px; }
  #nav { padding-block:10px; scrollbar-width:none; }
  #nav::-webkit-scrollbar { display:none; }
  #nav button { min-height:41px; padding:9px 12px; font-size:12px; }
  #nav button::before { width:16px; height:16px; }
  .workspace-heading { margin-bottom:22px; }
  .workspace-shortcuts { display:none; }
  .total-box .amt { font-size:42px; }
  body.auth-login { grid-template-columns:minmax(0,470px); gap:32px; justify-content:center; padding:32px 22px; }
  .auth-wordmark { margin-bottom:26px; }
  .auth-intro h2 { font-size:32px; margin:10px 0; }
  .auth-intro h2>span { display:inline; }
  .auth-intro h2 br { display:none; }
  .auth-intro p { font-size:12px; }
  .auth-art,.auth-features { display:none; }
}
@media screen and (max-width:520px) {
  header .shop { font-size:18px; }
  header .shop::before { width:34px; height:34px; background-position:8px 8px,19px 8px,8px 19px,19px 19px,0 0; }
  .workspace-heading h1 { font-size:24px; }
  .eyebrow { font-size:8px; letter-spacing:.13em; }
  .workspace-heading p { font-size:11px; }
  .scan { padding-left:43px; background-position:14px center; }
  .cart-heading { padding:18px; }
  .cart-heading-note { display:none; }
  .cart-empty { padding:40px 14px 48px; }
  .cart-empty::before { width:62px; height:62px; border-radius:20px; }
  .auth-login .auth-card { padding:30px 25px; }
  .auth-login .auth-card h1 { font-size:22px; }
  .auth-intro h2 { font-size:27px; }
}
@media screen and (prefers-reduced-motion:no-preference) {
  .workspace-heading,.auth-intro { animation:workspace-enter .45s ease-out both; }
  .auth-login .auth-card { animation:workspace-enter .55s ease-out both; }
  @keyframes workspace-enter { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
}
