:root {
  color-scheme: light;
  --ink: #203339; --teal: #215952; --muted: #586a6d; --line: #d8e1df;
  --paper: #fff; --canvas: #f6f8f7; --focus: #1764b2;
  font-family: Inter, "Segoe UI", Arial, sans-serif; font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--canvas); color: var(--ink); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button { transition: background .15s, box-shadow .15s, transform .15s; }
button:active:not(:disabled) { transform: translateY(1px); }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: 10px; left: 10px; padding: 12px; z-index: 8; background: white; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.bar-inner, main { width: min(1320px, calc(100% - clamp(38px, 9vw, 152px))); margin: 0 auto; }
.bar-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand, nav, .quiet, .primary, .enter-vr, .eyebrow, .basket-heading, .receipt-total, .count-line, .view-label, .step-icon, .dialog-top, .basket-mark, .instruction-icon { display: flex; align-items: center; }
.brand { gap: 11px; font-size: 22px; font-weight: 730; letter-spacing: -1.1px; }
.brand img { display: block; } nav { gap: 12px; } .quiet { border: 0; background: transparent; gap: 8px; color: #425758; padding: 10px 11px; min-height: 43px; font-weight: 590; font-size: 14px; border-radius: 9px; }
.quiet:hover, .close:hover { background: #edf3f1; }
.icon { display: inline-block; width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
main { padding: clamp(30px, 4.6vh, 56px) 0 35px; }
.page-title { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.eyebrow { color: var(--teal); gap: 9px; font-size: 10px; letter-spacing: 1.8px; font-weight: 760; }
.mini-bars { width: 25px; height: 13px; background: repeating-linear-gradient(90deg, #47736b 0 2px, transparent 2px 4px, #47736b 4px 5px, transparent 5px 7px, #47736b 7px 10px, transparent 10px 12px); }
h1,h2,p { margin: 0; }
h1 { font-size: clamp(34px, 3.45vw, 54px); line-height: 1.12; font-weight: 670; letter-spacing: -.055em; margin: 9px 0 9px; }
.page-title p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.primary { border: 1px solid #bad9e8; background: #dbecf6; color: #184967; justify-content: center; gap: 10px; font-size: 14px; font-weight: 700; padding: 12px 18px; border-radius: 10px; min-height: 44px; }
.primary:hover { background: #c9e3f3; } .enter-vr { white-space: nowrap; } .enter-vr .icon { width: 22px; height: 22px; }
.layout { display: grid; grid-template-columns: minmax(0,2.35fr) minmax(275px,.92fr); gap: 20px; align-items: start; }
.station, .basket, .journey { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 3px 11px #203d3405; }
.station { overflow: hidden; }
.stage { isolation: isolate; position: relative; width: 100%; aspect-ratio: 1.94; background: #cfdfd5; overflow: hidden; }
.stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.startup { position:absolute; z-index:2; inset:0; display:grid; align-content:center; justify-items:center; gap:9px; background:#dde8df; color:#34574e; font-size:15px; }
.startup a { color:#245779; font-size:13px; padding:5px; }
.stage.fullscreen-fallback { position: fixed; z-index: 10; inset: 0; width: 100vw; height: 100dvh; aspect-ratio: auto; }
.stage:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; }
.view-label,.expand { position: absolute; top: 15px; z-index: 1; }
.view-label { left: 15px; padding: 7px 10px; gap: 7px; border: 1px solid #ffffff9e; border-radius: 7px; background: #fffffff2; color: #345853; font-size: 12px; font-weight: 650; pointer-events: none; }
.view-dot { background: #3f8772; width: 7px; height: 7px; border-radius: 50%; }
.expand { right: 15px; min-height: 36px; width: 36px; display: grid; place-items: center; color: #35534b; background: #fffffff2; border: 1px solid #ffffff9e; border-radius: 8px; }
.expand:hover { background: #fff; } .expand .icon { width: 16px; height: 16px; }
.instruction { display: flex; align-items: center; gap: 15px; padding: 18px 22px 20px; border-top: 1px solid var(--line); }
.instruction-icon, .basket-mark, .dialog-mark { justify-content: center; flex-shrink: 0; color: #306858; background: #e8f1e9; border: 1px solid #d6e4d9; }
.instruction-icon { width: 47px; height: 47px; border-radius: 13px; } .instruction-icon .icon { width: 25px; height: 25px; }
.eyebrow.small { font-size: 9px; letter-spacing: 1.45px; margin-bottom: 3px; }
.instruction h2 { font-size: 21px; font-weight: 650; line-height: 1.25; letter-spacing: -.6px; }
.instruction p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 3px; }
.basket { padding: 21px clamp(14px,1.6vw,25px) 22px; }
.basket-heading { gap: 10px; margin-bottom: 13px; }
.basket-heading h2 { font-size: 22px; letter-spacing: -.8px; font-weight: 670; }
.basket-mark { background: transparent; border: 0; } .basket-mark .icon { width: 24px; height: 24px; }
.qty { margin-left: auto; white-space: nowrap; color: var(--muted); font-size: 12px; }
.product { position: relative; width: 100%; border: 0; border-top: 1px solid #e5ebe8; background: white; text-align: left; display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px 0; }
.product:first-child { border-top: 0; }
.product:not(:disabled):hover, .product.selected { background: #f2f7f3; }
.thumb { width: 50px; height: 53px; display: grid; place-items: center; border-radius: 9px; background: #f6efdd; overflow: hidden; }
.product[data-id="toothpaste"] .thumb { background: #eaf3f4; } .product[data-id="noodles"] .thumb { background: #faece0; }
.thumb img { display: block; width: 87%; height: 87%; object-fit: contain; }
.product-text { display: grid; gap: 3px; }
.product-name { font-weight: 660; font-size: 15px; line-height: 1.2; letter-spacing: -.25px; }
.product-state { font-size: 12px; color: #607071; }
.product-price { color: #364b4c; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 620; }
.product[data-status="packed"] .product-state, .product[data-status="scanned"] .product-state { color: #256550; }
.receipt-total { border-top: 1px dashed #b8c9c2; padding-top: 17px; margin-top: 6px; justify-content: space-between; font-size: 14px; font-weight: 580; color: #405756; }
.receipt-total strong { font-size: 26px; color: var(--ink); letter-spacing: -1.1px; font-weight: 670; font-variant-numeric: tabular-nums; }
.count-line { justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.ticks { display: flex; gap: 4px; } .ticks b { height: 4px; width: 17px; border-radius: 4px; background: #dfe7e3; } .ticks b.done { background: #418672; }
#actions:not(:empty) { margin-top: 17px; display: grid; gap: 6px; }
#actions button { justify-content: center; width: 100%; }
.journey { margin-top: 17px; padding: 10px 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.journey ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.journey li { display: flex; align-items: center; gap: 8px; color: #62716f; font-size: 13px; font-weight: 550; }
.journey li+li::before { content: ''; margin: 0 10px; width: clamp(10px,2vw,35px); height: 1px; background: #cad6d1; }
.step-icon { justify-content: center; background: #f1f4f2; width: 28px; height: 28px; border-radius: 8px; }
.step-icon .icon { width: 16px; height: 16px; }
.journey [aria-current="step"],.journey .done { color: #255f52; font-weight: 680; }
.journey [aria-current="step"] .step-icon,.journey .done .step-icon { color: #236756; background: #e1f0e7; }
.reset { font-size: 13px; } .reset .icon { width: 16px; height: 16px; }
dialog { border: 1px solid var(--line); border-radius: 20px; width: min(455px,calc(100% - 28px)); color: var(--ink); padding: 25px; box-shadow: 0 20px 90px #142c3040; }
dialog::backdrop { background: #19343066; }
.dialog-top { justify-content: space-between; margin-bottom: 16px; }
.dialog-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.close { display: grid; place-items: center; width: 40px; height: 40px; background: transparent; border: 0; border-radius: 10px; }
dialog h2 { font-size: 27px; letter-spacing: -.8px; line-height: 1.2; }
#panel-body { color: var(--muted); line-height: 1.5; font-size: 15px; } #panel-body p, #panel-body ul { margin: 12px 0 0; }
#panel-body strong { color: var(--ink); }
#panel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.fallback { height: 100%; padding: 46px 5% 13px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(#dbe7de 60%,#d2b796 60%,#ede0c5 100%); }
.fallback-basket, .fallback-zones { display: flex; align-items: end; justify-content: space-evenly; gap: 5px; } .fallback-basket { min-height: 50%; border-bottom: 7px solid #668675; }
.fallback-basket button { height: clamp(55px,10vw,110px); border: 0; background: transparent; } .fallback-basket button img { height: 100%; }
.fallback-zones { margin-top: 10px; } .fallback-zones button { display: grid; place-items: center; gap: 4px; padding: 7px; min-width: 23%; border: 1px solid #a9b9ad; border-radius: 8px; background: #f3f5eb; font-size: 12px; }
@media (min-width:1550px) { main { padding-top: 53px; } .page-title { margin-bottom: 30px; } }
@media (max-width:920px) { .bar-inner,main { width: calc(100% - 36px); } .layout { grid-template-columns: minmax(0,1.8fr) minmax(245px,1fr); gap: 13px; } .stage { aspect-ratio: 1.38; } .basket { padding: 17px 15px; } .instruction { padding: 14px; } .product { grid-template-columns: 43px 1fr auto; gap: 8px; } .thumb { width: 43px; height: 48px; } .basket-heading h2 { font-size: 20px; } }
@media (max-width:700px) { .bar-inner { min-height: 61px; } .brand { font-size: 20px; gap: 8px; } .brand img { width: 33px; height: 33px; } .quiet { font-size: 13px; } nav { gap: 0; } nav .quiet { padding: 8px; } main { padding-top: 24px; } .page-title { flex-wrap: wrap; gap: 13px; margin-bottom: 17px; } h1 { font-size: clamp(32px,8.3vw,43px); } .page-title p { font-size: 14px; } .enter-vr { min-height: 40px; padding: 8px 14px; } .layout { grid-template-columns: 1fr; } .stage { aspect-ratio: 1.72; } .station, .basket, .journey { border-radius: 14px; } .instruction { gap: 11px; } .instruction h2 { font-size: 19px; } .instruction-icon { width: 39px; height: 42px; } .basket { padding: 18px; } .basket-heading { margin-bottom: 5px; } .product { padding: 9px 0; grid-template-columns: 46px 1fr auto; } .product .thumb { width: 45px; height: 45px; } .journey { flex-wrap: wrap; padding: 10px; gap: 5px; } .journey li { font-size: 12px; gap: 4px; } .journey li+li::before { margin: 0 3px; width: 8px; } .view-label,.expand { top: 9px; } .view-label { left: 9px; } .expand { right: 9px; } }
@media (max-width:430px) { nav .quiet span { display:none; } nav .quiet { width: 42px; justify-content: center; } .instruction { align-items:flex-start; } .journey .reset { margin-left: auto; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition: none !important; animation: none !important; } }
