:root{color-scheme:dark;--bg:#181818;--surface:#222;--line:#363636;--muted:#aaa;--text:#f0f0f0;--accent:#e4e4e4}*{box-sizing:border-box}body{margin:0;background:#111;color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;transition:background .16s,transform .16s}button:hover{background:#303030}button:active{transform:scale(.98)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #ddd;outline-offset:3px}.shell{max-width:520px;min-height:100dvh;margin:auto;background:var(--bg);padding:0 22px 110px}header{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2b2b2b;margin-bottom:28px}.brand{text-decoration:none;color:#f0f0f0;display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.6px}.brand small{display:block;font-size:12px;color:var(--muted);letter-spacing:0;font-weight:400;margin-top:1px}.mark{width:40px;height:40px;background:#2b2b2b;border:1px solid #444;color:#eee;border-radius:12px;font-size:32px;line-height:35px;text-align:center;letter-spacing:-5px}.mark span{font-size:18px;vertical-align:top}.avatar{width:40px;height:40px;border-radius:50%;background:#2b2b2b;color:#ddd;font-weight:600}aside{font-size:12px;color:#bbb;border:1px solid #363636;background:#202020;border-radius:10px;padding:10px 12px;margin-bottom:24px}h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:8px 0}h2{font-size:18px;letter-spacing:-.25px;margin:25px 0 12px}h3{font-size:15px;margin:0 0 4px;font-weight:600}p{margin:0 0 24px}.muted,small{color:var(--muted)}.eyebrow{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:8px}.search{display:flex;gap:10px;background:#232323;border:1px solid #333;border-radius:12px;padding:0 14px;align-items:center;color:#aaa}.search input{border:0;background:none;color:#eee;width:100%;height:48px}.chips{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:16px 0 4px}.chips button{white-space:nowrap;background:#252525;border:1px solid #383838;border-radius:10px;padding:10px 16px;font-size:13px;color:#bbb;min-height:44px}.chips button.active{background:#e4e4e4;border-color:#e4e4e4;color:#202020;font-weight:600}.chips button.active:hover{background:#fff}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head small{font-size:12px}#products{border:1px solid #343434;border-radius:16px;overflow:hidden;margin-top:4px}.product{width:100%;display:flex;align-items:center;text-align:left;background:#222;padding:19px 15px;gap:13px;margin:0;border-bottom:1px solid #343434}.product:last-child{border-bottom:0}.product:hover{background:#282828}.product:active{transform:none;background:#303030}.product .info{flex:1;min-width:0}.product h3{overflow-wrap:anywhere}.product small{font-size:12px}.product .price{font-size:16px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.product .price small{display:block;font-size:10px;font-weight:400;text-align:right;margin-top:2px}.icon{flex-shrink:0;width:46px;height:46px;border-radius:13px;background:#303030;color:#d0d0d0;display:grid;place-items:center}.icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}.product:hover .icon svg{transform:translateY(-2px)}.product:active .icon svg{transform:scale(.9)}.stock{color:#aaa;font-size:11px;margin-top:4px}.empty{padding:30px 20px;text-align:center;background:var(--surface);border-radius:15px;color:var(--muted)}nav{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 28px),480px);display:flex;background:#242424;border:1px solid #414141;padding:6px;border-radius:20px;z-index:5}nav button{flex:1;display:grid;justify-items:center;gap:5px;padding:10px 2px;border-radius:14px;background:transparent;color:#999;font-size:10px;min-height:60px}nav button:hover{background:#303030}nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}nav button:active svg{transform:scale(.85)}nav .active{background:#3b3b3b;color:#f0f0f0}.panel{background:var(--surface);border:1px solid #343434;border-radius:16px;padding:18px;margin:15px 0}.row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.row:last-child{border:0}.primary{width:100%;padding:15px 18px;background:#e4e4e4;color:#202020;font-weight:600;border-radius:11px;margin:8px 0}.primary:hover{background:#fff}.secondary{padding:12px 16px;border-radius:10px;background:#333;color:#ddd;min-height:44px}.danger{background:#303030;border:1px solid #777;color:#eee}.toolbar{display:flex;flex-wrap:wrap;gap:8px}dialog{color:var(--text);border:1px solid #444;border-radius:20px;background:var(--bg);width:min(96%,490px);max-height:90dvh;padding:24px;animation:sheet-in .2s ease-out}dialog::backdrop{background:#000b}.close{float:right;width:40px;height:40px;border-radius:50%;background:#303030;font-size:22px}label{display:block;color:#bbb;font-size:13px;margin:14px 0 5px}input,textarea,select{width:100%;color:#eee;background:#282828;border:1px solid #444;padding:12px;border-radius:10px}textarea{min-height:100px;resize:vertical}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}details{border-bottom:1px solid var(--line);padding:15px 0}summary{cursor:pointer;font-weight:600;min-height:44px}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:#e4e4e4;color:#222;border-radius:11px;max-width:90%;padding:12px 18px;z-index:20;display:none}#toast.show{display:block;animation:sheet-in .18s ease-out}.skip{position:fixed;top:-100px}.skip:focus{top:10px;background:white;color:black;z-index:100}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats .panel{margin:0}.stats strong{font-size:26px;display:block}.record{border-bottom:1px solid var(--line);padding:15px 0}.record p{margin:5px 0 10px;overflow-wrap:anywhere}.record small{display:block}.loading{padding:80px 0;text-align:center;color:var(--muted)}@keyframes sheet-in{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}@media(min-width:700px){.shell{border-inline:1px solid #2d2d2d}}@media(max-width:360px){.shell{padding-inline:14px}.product{gap:10px;padding:16px 10px}.icon{width:36px;height:40px}.product .price{font-size:14px}nav{width:calc(100% - 20px)}}

html{scrollbar-gutter:stable}nav .active svg{animation:nav-select .36s cubic-bezier(.2,.7,.2,1)}@keyframes nav-select{0%{transform:translateY(2px) scale(.9)}55%{transform:translateY(-2px) scale(1.08)}100%{transform:translateY(0) scale(1)}}
