:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;color:#1d1d1f;background:#fff;--bg:#fff;--surface:#f5f5f7;--panel:#fff;--text:#1d1d1f;--muted:#6e6e73;--line:#e5e5e7;--blue:#0071e3;--soft:#eaf3ff;--green:#147d48;--nav:rgba(250,250,252,.85);color-scheme:light;font-size:14px;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}body.dark{--bg:#000;--surface:#161617;--panel:#1d1d1f;--text:#f5f5f7;--muted:#a1a1a6;--line:#353538;--blue:#2997ff;--soft:#14263b;--green:#62d28f;--nav:rgba(22,22,23,.87);color-scheme:dark}button,input,select,textarea{font:inherit}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button{border:0;background:var(--surface);color:var(--text);padding:11px 19px;border-radius:999px;font-weight:500;cursor:pointer;transition:background .18s,transform .18s,box-shadow .18s}button:hover{filter:brightness(.97)}button:active{transform:scale(.98)}button:disabled{opacity:.45;cursor:not-allowed;transform:none}.primary{background:var(--blue);color:#fff}.danger{color:#bf3030}.small{font-size:12px;padding:8px 13px}.quiet{background:transparent;color:var(--muted)}.full{width:100%}button:focus-visible,a:focus-visible{outline:3px solid #2997ff;outline-offset:4px}svg{display:block}.glyph{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle}.global-header{height:52px;background:var(--nav);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--line)}.global-inner{max-width:1320px;height:100%;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:22px}.wordmark{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:9px;border-radius:0;font-weight:650;font-size:19px;letter-spacing:-.7px;color:var(--text)}.wordmark .mark{font-size:17px;border-radius:9px;width:27px;height:27px;display:grid;place-items:center;background:var(--text);color:var(--bg);font-weight:700;letter-spacing:-2px;padding-right:2px}.wordmark .product-name{font-weight:400;margin-left:2px}.global-caption{font-size:12px;color:var(--muted);letter-spacing:.02em}.global-actions{display:flex;align-items:center;gap:7px}.icon-button{width:33px;height:33px;border-radius:50%;padding:8px;background:transparent;color:var(--text);display:grid;place-items:center}.icon-button:hover{background:var(--surface)}.account-name{font-size:12px;color:var(--muted);margin-left:10px}.workspace-bar{position:sticky;top:0;background:var(--nav);backdrop-filter:saturate(180%) blur(24px);-webkit-backdrop-filter:saturate(180%) blur(24px);border-bottom:1px solid var(--line);z-index:5}.workspace-inner{max-width:1320px;margin:auto;display:flex;align-items:center;gap:30px;padding:0 32px;min-height:65px}.store-picker{flex:none;max-width:190px;font-weight:600;letter-spacing:-.3px;font-size:15px;border:0!important;background:transparent!important;padding:8px 24px 8px 0!important;outline-offset:3px}.workspace-nav{display:flex;align-items:center;gap:22px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}.workspace-nav::-webkit-scrollbar{display:none}.workspace-nav button{border-radius:0;white-space:nowrap;font-size:12px;font-weight:400;color:var(--muted);background:transparent;padding:24px 0 22px;position:relative}.workspace-nav button.active{color:var(--text)}.workspace-nav button.active:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--text)}.workspace-nav button:hover{color:var(--blue)}.content{max-width:1260px;margin:auto;padding:0 32px 90px;min-height:70vh}.skip-link{position:fixed;left:20px;top:-100px;z-index:50;background:var(--panel);padding:14px;border-radius:10px}.skip-link:focus{top:10px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:65px 0 42px}.page-head h1{font-size:clamp(35px,4vw,54px);font-weight:600;letter-spacing:-2.3px;line-height:1.08;margin:10px 0 15px}.page-head p{margin:0;max-width:630px;font-size:17px;line-height:1.5;color:var(--muted)}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--muted)}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.subtle{font-size:13px;color:var(--muted);line-height:1.65}.muted{color:var(--muted)}.footer-note{font-size:12px;line-height:1.7;color:var(--muted);margin:22px 0}.app-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:55px;padding:25px 0;font-size:12px;color:var(--muted)}.hero{text-align:center;padding:71px 20px 48px}.hero .eyebrow{color:var(--blue);font-size:13px;letter-spacing:0}.hero h1{font-size:clamp(44px,5.6vw,76px);letter-spacing:-3.9px;line-height:1.04;font-weight:600;margin:18px 0 22px}.hero h1 span{color:var(--muted)}.hero p{color:var(--muted);font-size:18px;line-height:1.5;max-width:590px;margin:0 auto 26px}.hero .row{justify-content:center}.hero .primary{padding:13px 26px;font-size:14px}.hero-link{font-size:15px;margin-left:10px;background:transparent;color:var(--blue);padding:10px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0 0 38px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--panel)}.metric{padding:27px 27px 25px;min-width:0;position:relative}.metric+.metric:before{content:'';position:absolute;left:0;top:27px;bottom:27px;width:1px;background:var(--line)}.metric .label{font-size:12px;color:var(--muted)}.metric strong{display:block;margin:15px 0 10px;font-weight:600;font-size:clamp(24px,2.5vw,35px);letter-spacing:-1.3px;white-space:nowrap}.metric small{font-size:12px;color:var(--muted);line-height:1.5;display:block}.metric-icon{display:none}.grid-2{display:grid;grid-template-columns:1.55fr 1fr;gap:24px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:23px;overflow:hidden;margin-bottom:25px;min-width:0}.panel-head{padding:25px 27px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{font-size:18px;font-weight:600;letter-spacing:-.5px;margin:0}.panel-head a{font-size:12px}.panel-head button{font-size:12px;padding:8px 13px}.panel-body{padding:0 27px 27px}.table-wrap{overflow:auto;scrollbar-width:thin}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;color:var(--muted);font-weight:500;padding:13px 26px;border-bottom:1px solid var(--line);background:var(--surface)}td{font-size:13px;padding:17px 26px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td strong{font-weight:500}td small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.badge{display:inline-block;border-radius:999px;padding:5px 10px;background:var(--soft);color:var(--blue);font-size:12px;font-weight:500}.badge.green{background:#e9f5ed;color:#147d48}.badge.amber{background:#fff3df;color:#8f6000}.badge.red{background:#ffe9e8;color:#b63c37}body.dark .badge.green{background:#112d1e;color:#7bdf9c}body.dark .badge.amber{background:#33270d;color:#e3ba68}.hero-note{border-radius:16px;background:var(--surface);padding:19px 23px;margin:24px 0;display:flex;align-items:center;gap:15px;font-size:12px;color:var(--muted);line-height:1.6}.hero-note strong{color:var(--text);font-weight:600}.hero-note button{margin-left:auto;white-space:nowrap;background:var(--panel)}.empty{padding:55px 24px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty-glyph{display:grid;place-items:center;margin:0 auto 15px;color:var(--muted);width:45px;height:45px;border-radius:14px;background:var(--surface)}.toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:25px}.toolbar a{font-size:12px;margin-left:auto}input,select,textarea{background:var(--panel);color:var(--text);padding:13px 14px;border:1px solid #bfc0c5;border-radius:11px;font:inherit;font-size:13px;min-width:0;width:100%;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);border-color:var(--blue)}select{width:auto}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.search{max-width:390px;border-color:var(--line);background:var(--surface);border-radius:13px;padding:14px 18px}.chart{display:flex;align-items:flex-end;gap:17px;height:190px;padding:12px 12px 0;margin-top:18px;border-bottom:1px solid var(--line)}.chart-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:12px;min-width:0}.bar{width:100%;max-width:48px;min-height:3px;background:#c4ddf8;border-radius:7px 7px 0 0}.chart-col:last-child .bar{background:var(--blue)}.chart-col small{font-size:12px;color:var(--muted);height:20px}.chart-total{font-size:34px;font-weight:600;letter-spacing:-1.5px;margin-top:6px}.alert-item{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.alert-item:last-child{border:0}.alert-dot{width:7px;height:7px;border-radius:50%;background:#df9c31;flex:none}.alert-item strong{font-weight:500;font-size:12px}.alert-item small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:0 0 37px}.quick-action{display:flex;text-align:left;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:17px;background:var(--panel);padding:20px;font-size:12px;font-weight:500}.quick-action span{color:var(--blue)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-bottom:30px}.product-card{background:var(--surface);padding:24px;border-radius:23px;border:1px solid transparent;text-align:left;display:flex;flex-direction:column;gap:10px;min-width:0;position:relative}.product-card:hover{filter:none;transform:translateY(-3px);border-color:#b8d3f5;box-shadow:0 12px 35px #00000008}.product-card:disabled{opacity:.55;transform:none;box-shadow:none;border-color:transparent}.product-art{height:160px;display:grid;place-items:center;margin-bottom:5px}.product-art svg{height:145px;width:145px;filter:drop-shadow(0 15px 12px #0000000c)}.product-card strong{font-size:16px;font-weight:600;letter-spacing:-.45px;line-height:1.3}.product-card small{font-size:12px;color:var(--muted);font-weight:400;line-height:1.4}.product-card b{font-size:19px;font-weight:500;letter-spacing:-.6px;margin-top:5px}.product-card .add-circle{position:absolute;right:22px;bottom:25px;width:30px;height:30px;background:var(--blue);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:21px;font-weight:300}.category-pills{display:flex;gap:8px;overflow-x:auto;padding:0 0 20px;scrollbar-width:none}.category-pills button{white-space:nowrap;font-size:12px;font-weight:400;background:var(--surface);padding:9px 17px}.category-pills button.active{background:var(--text);color:var(--bg)}.checkout-dock{position:sticky;bottom:22px;margin:30px auto 0;max-width:620px;background:var(--nav);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);border:1px solid var(--line);border-radius:25px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 20px;box-shadow:0 14px 50px #00000012;z-index:3}.checkout-dock strong{font-size:16px;font-weight:600}.checkout-dock small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.cart-line{padding:17px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.cart-line strong{font-size:13px;font-weight:500}.qty{display:flex;gap:13px;align-items:center}.qty button{width:28px;height:28px;padding:0;border-radius:50%;font-size:18px;font-weight:300}.totals{padding:24px 0;display:grid;gap:16px}.totals>div{display:flex;justify-content:space-between;align-items:center;font-size:13px}.totals b{font-weight:500}.totals .grand{font-size:24px;font-weight:600;padding-top:20px;border-top:1px solid var(--line);letter-spacing:-.7px}.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:5px 0 15px}.checkout-fields label{font-size:12px;color:var(--muted);display:grid;gap:8px}.checkout-fields select{width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.form-grid label{display:grid;gap:8px;font-size:12px;color:var(--muted);font-weight:500}.form-grid .wide{grid-column:1/-1}.form-actions{margin-top:30px;display:flex;justify-content:flex-end;gap:10px}.form-actions button{min-width:90px}.form-note{background:var(--surface);border-radius:12px;padding:15px 18px;font-size:12px;line-height:1.65;color:var(--muted);margin:22px 0 0}.error-text{font-size:12px;color:#bf3030;margin-top:10px;line-height:1.5}.line-editor{display:grid;grid-template-columns:1fr 80px 110px 30px;gap:10px;margin:12px 0}.line-editor select{width:100%}.line-editor button{padding:0}.order-line-editor{grid-template-columns:1fr 80px 30px}fieldset{border:1px solid var(--line);border-radius:14px;padding:20px;margin:18px 0}legend{font-size:12px;padding:0 8px;font-weight:500}dialog{background:var(--panel);color:var(--text);border:0;border-radius:27px;padding:35px;width:calc(100% - 32px);max-width:740px;max-height:90dvh;box-shadow:0 35px 120px #00000030;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#0005;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:15px}.dialog-head h2{font-size:27px;font-weight:600;letter-spacing:-1px;line-height:1.15;margin:0}.dialog-head button{width:31px;height:31px;border-radius:50%;padding:0;font-size:23px;font-weight:300;color:var(--muted)}#toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);max-width:600px;width:max-content;max-width:calc(100% - 36px);padding:16px 24px;z-index:30;background:#242426;color:#fff;border:1px solid #ffffff20;border-radius:18px;font-size:12px;line-height:1.6;box-shadow:0 12px 40px #0002;display:none}#toast.show{display:block}#toast.error{background:#83312d}.login-page{min-height:100dvh;background:var(--surface)}.login-top{max-width:1200px;margin:auto;padding:27px 32px;display:flex;justify-content:space-between;align-items:center}.login-box{max-width:480px;margin:35px auto 0;text-align:center;padding:40px 45px 46px;background:var(--panel);border:1px solid var(--line);border-radius:28px;box-shadow:0 18px 65px #00000004}.login-emblem{margin:0 auto 28px;width:66px;height:66px;border-radius:20px;color:#fff;background:linear-gradient(145deg,#3eafff,#0071e3);display:grid;place-items:center;font-size:37px;font-weight:600;letter-spacing:-4px;padding-right:5px;box-shadow:0 12px 28px #0071e31a}.login-box h1{font-size:36px;font-weight:600;letter-spacing:-1.5px;line-height:1.1;margin:13px 0}.login-box>p{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 31px}.login-box form{text-align:left;display:grid;gap:20px}.login-box label{display:grid;gap:9px;font-size:12px;color:var(--muted)}.login-box input{padding:16px;font-size:14px}.login-box form>.primary{margin-top:7px;padding:14px}.login-footer{max-width:400px;margin:25px auto;text-align:center;font-size:12px;line-height:1.8;color:var(--muted);padding:0 20px}.login-privacy{display:flex;justify-content:center;gap:10px;align-items:center;margin:25px 0 0;font-size:12px;color:var(--muted)}.receipt{max-width:380px;margin:auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.receipt h2{text-align:center;font-size:21px}.receipt .center{text-align:center;line-height:1.7}.receipt td,.receipt th{padding:9px 3px;font-size:12px}.receipt-total{display:flex;justify-content:space-between;padding:9px 0}.receipt-total.grand{font-size:20px}.shop-header .global-inner{max-width:1200px}.shop-main{max-width:1200px;margin:auto;padding:0 32px 90px}.shop-hero{text-align:center;padding:72px 15px 50px}.shop-hero h1{font-size:clamp(46px,6vw,76px);font-weight:600;letter-spacing:-3.7px;line-height:1.04;margin:15px 0 22px}.shop-hero h1 span{color:var(--muted)}.shop-hero p{font-size:17px;color:var(--muted);line-height:1.5;max-width:570px;margin:auto}.shop-value-strip{display:flex;justify-content:center;gap:35px;padding:18px 15px;border-block:1px solid var(--line);font-size:12px;color:var(--muted);margin:0 0 35px}.shop-main .product-grid{margin-top:10px}.shop-success{padding:35px 10px;text-align:center}.shop-success .success-mark{width:56px;height:56px;border-radius:50%;background:#e9f5ed;color:#147d48;display:grid;place-items:center;font-size:28px;margin:0 auto 20px}.shop-success h3{font-size:25px;letter-spacing:-.8px}.task-done{text-decoration:line-through;color:var(--muted)}.tabs{display:flex;gap:6px;margin-bottom:26px;background:var(--surface);padding:5px;border-radius:999px;width:max-content;max-width:100%;overflow-x:auto}.tabs button{font-size:12px;white-space:nowrap;background:transparent;font-weight:400;padding:10px 19px}.tabs button.active{background:var(--panel);box-shadow:0 2px 8px #00000009;color:var(--text)}.command-input{font-size:20px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 20px;margin-bottom:10px}.command-results{display:grid;gap:5px}.command-results button{display:flex;justify-content:space-between;text-align:left;border-radius:11px;padding:14px;background:transparent;font-size:13px}.command-results button:hover{background:var(--surface)}.command-results small{font-size:12px;color:var(--muted)}.pager{display:flex;justify-content:space-between;align-items:center;padding:18px 25px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-card{background:var(--surface);border-radius:22px;padding:30px}.settings-card h2{font-size:21px;font-weight:600;letter-spacing:-.7px;margin:0 0 12px}.settings-card p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 25px}.settings-card dl{font-size:12px;line-height:1.7;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 24px}.settings-card dt{color:var(--muted)}.settings-card dd{margin:0}.report-date{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.report-date input{width:155px;font-size:12px;padding:10px}.report-date label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.file-input{padding:25px;border:1px dashed var(--line);border-radius:14px;background:var(--surface)}.inline-status{padding:12px 15px;background:var(--surface);border-radius:11px;color:var(--muted);font-size:12px;margin:10px 0}.right{text-align:right}
@media(min-width:1600px){.hero{padding-top:90px}.hero h1{font-size:84px}.content{max-width:1350px}}@media(max-width:1100px){.workspace-inner{gap:20px}.workspace-nav{gap:17px}.workspace-nav button{font-size:12px}.store-picker{max-width:150px;font-size:13px}.product-grid{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:1.35fr 1fr}.metric{padding:23px 20px}.metric strong{font-size:27px}.page-head h1{font-size:42px}.quick-actions{gap:10px}.quick-action{padding:17px 14px}.hero h1{font-size:65px}.global-caption{display:none}}@media(max-width:800px){.global-inner{padding:0 22px}.workspace-inner{padding:0 22px;display:block;min-height:0}.store-picker{font-size:15px;max-width:100%;padding:17px 24px 10px 0!important}.workspace-nav{gap:25px}.workspace-nav button{font-size:12px;padding:13px 0 15px}.content{padding:0 22px 55px}.account-name{display:none}.hero{padding:50px 0 34px}.hero h1{font-size:53px;letter-spacing:-2.5px}.hero p{font-size:16px}.page-head{padding:42px 0 30px;display:block}.page-head h1{font-size:39px;letter-spacing:-1.8px}.page-head p{font-size:15px}.page-head>.row{margin-top:25px}.metrics{grid-template-columns:1fr 1fr;border-radius:20px;margin-bottom:25px}.metric{padding:24px}.metric:nth-child(3),.metric:nth-child(4){border-top:1px solid var(--line)}.metric:nth-child(3):before{display:none}.metric strong{font-size:29px}.grid-2{grid-template-columns:1fr;gap:0}.quick-actions{grid-template-columns:1fr 1fr;margin-bottom:25px;gap:12px}.quick-action{padding:20px}.product-grid{grid-template-columns:repeat(3,1fr);gap:14px}.product-card{padding:18px}.product-art{height:120px}.product-art svg{width:110px;height:110px}.product-card strong{font-size:14px}.product-card b{font-size:17px}.product-card .add-circle{right:17px;bottom:22px;width:25px;height:25px;font-size:18px}.hero-note{align-items:flex-start;flex-wrap:wrap}.hero-note button{margin-left:0}.settings-grid{grid-template-columns:1fr}.shop-main{padding:0 22px 70px}.shop-hero{padding:50px 0 38px}.shop-hero h1{font-size:53px;letter-spacing:-2.6px}.shop-value-strip{gap:20px;font-size:12px}.login-box{margin-top:25px}.global-actions .signout-label{display:none}.dialog-head h2{font-size:25px}.panel-head{padding:23px}.panel-body{padding:0 23px 23px}}
@media(max-width:520px){.wordmark{font-size:17px}.global-inner{padding:0 19px}.global-actions{gap:3px}.global-actions .small{padding:7px 10px;font-size:12px}.hero h1{font-size:44px;letter-spacing:-2.1px}.hero p{font-size:15px;max-width:310px}.hero{padding-top:39px}.content{padding-left:18px;padding-right:18px}.workspace-inner{padding:0 19px}.metric{padding:23px 18px}.metric strong{font-size:25px}.metric small{font-size:9px}.quick-action{font-size:12px;padding:17px 14px}.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-card{padding:16px;border-radius:20px}.product-art{height:125px}.product-art svg{height:115px;width:115px}.product-card small{font-size:12px}.product-card .add-circle{right:14px;bottom:20px}.page-head h1{font-size:35px;letter-spacing:-1.5px}.page-head p{font-size:14px}.page-head .row button{font-size:12px;padding:10px 14px}.checkout-dock{bottom:14px;border-radius:21px;padding:13px 16px}.checkout-dock button{font-size:12px;padding:11px 15px}.form-grid{grid-template-columns:1fr;gap:18px}.form-grid .wide{grid-column:auto}dialog{padding:26px 22px;border-radius:24px;max-height:92dvh;width:calc(100% - 22px)}.line-editor{grid-template-columns:minmax(105px,1fr) 53px 70px 25px;gap:6px}.line-editor input,.line-editor select{font-size:12px;padding:10px 6px}.order-line-editor{grid-template-columns:1fr 65px 28px}.login-top{padding:22px}.login-box{padding:32px 24px;margin:25px 15px 0;border-radius:25px}.login-box h1{font-size:32px}.shop-main{padding-left:18px;padding-right:18px}.shop-hero h1{font-size:44px;letter-spacing:-2px}.shop-value-strip{gap:14px;flex-wrap:wrap;padding:15px 0}.shop-hero p{font-size:14px}.shop-hero{padding-top:40px}.shop-main .product-card b{font-size:16px}.checkout-fields{grid-template-columns:1fr}.app-footer{font-size:12px}.settings-card{padding:25px}.pager{padding:15px;gap:15px}.toolbar .search{max-width:100%;flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{body>*{display:none!important}dialog[open]{display:block!important;position:static;max-height:none;border:0;box-shadow:none;padding:0;width:100%;background:#fff;color:#000}dialog .dialog-head,dialog .form-actions{display:none!important}.receipt{display:block!important;color:#000;background:#fff;max-width:380px}dialog::backdrop{display:none}dialog table{white-space:normal}}

/* ---- v0.4 UX layer. Tokens and patterns follow Zyvor Netra's design contract: colour means deviation only,
   status colours have a darker text twin, one primary action per view. No inline styles anywhere (CSP). */
:root{--ok:#1a7f45;--ok-bg:#e9f5ed;--warn:#c77700;--warn-text:#8f6000;--warn-bg:#fff3df;--bad:#d1342f;--bad-text:#b63c37;--bad-bg:#ffe9e8;--info:#0071e3;--shadow-1:0 1px 2px #0000000a;--shadow-2:0 4px 16px #00000014;--shadow-3:0 12px 40px #00000024;--ease:cubic-bezier(.28,.11,.32,1);--hit:44px}
body.dark{--ok:#62d28f;--ok-bg:#112d1e;--warn:#e3a13a;--warn-text:#e3ba68;--warn-bg:#33270d;--bad:#ff6b63;--bad-text:#ff9a94;--bad-bg:#3a1513;--info:#2997ff;--shadow-2:0 4px 16px #00000066;--shadow-3:0 12px 40px #00000099}
.tone-dot{width:9px;height:9px;border-radius:50%;flex:none;display:inline-block;background:var(--muted)}
.tone-ok{background:var(--ok)}.tone-warn{background:var(--warn)}.tone-bad{background:var(--bad)}.tone-info{background:var(--info)}
.action-list{list-style:none;margin:0;padding:0}
.action-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.action-row:last-child{border:0}
.action-main{display:flex;align-items:flex-start;gap:12px;min-width:0}.action-main .tone-dot{margin-top:6px}
.action-main strong{display:block;font-weight:600;font-size:14px}.action-main small{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.5}
.action-row button{flex:none}
.all-clear{display:grid;justify-items:center;gap:8px;text-align:center;padding:34px 12px}
.all-clear-mark{width:44px;height:44px;border-radius:50%;background:var(--ok-bg);color:var(--ok);display:grid;place-items:center}
.all-clear small{color:var(--muted);font-size:12px;max-width:34ch;line-height:1.5}
.spark{display:block;width:100%;max-width:150px;height:34px;color:var(--blue);margin:6px 0 2px}.spark-flat{color:var(--muted)}
.shift-pill{display:inline-flex;align-items:center;gap:9px;background:var(--surface);border-radius:999px;padding:10px 16px;font-size:12px;font-weight:500}
.stock-pill{position:absolute;left:16px;top:16px;z-index:1;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600}
.stock-pill.low{background:var(--warn-bg);color:var(--warn-text)}.stock-pill.out{background:var(--bad-bg);color:var(--bad-text)}
.field-group{display:grid;gap:8px}.field-label{font-size:12px;color:var(--muted)}
.seg-control{display:flex;background:var(--surface);border-radius:999px;padding:4px;gap:2px}
.seg-control button{flex:1;background:transparent;border-radius:999px;padding:9px 12px;font-size:13px;min-height:36px}
.seg-control button.active{background:var(--panel);box-shadow:var(--shadow-1);color:var(--text);font-weight:600}
.cash-box{display:grid;gap:12px;background:var(--surface);border-radius:16px;padding:16px 18px;margin:6px 0 14px}
.cash-box label{display:grid;gap:8px;font-size:12px;color:var(--muted)}
.change-due{font-size:15px;min-height:22px}.warn-text{color:var(--warn-text);font-weight:600}
.skeleton-block{display:grid;gap:14px;padding:40px 0}
.skeleton-row{height:56px;border-radius:16px;background:linear-gradient(90deg,var(--surface) 25%,var(--line) 37%,var(--surface) 63%);background-size:400% 100%;animation:shimmer 1.4s var(--ease) infinite}
@keyframes shimmer{0%{background-position:100% 50%}100%{background-position:0 50%}}
.empty-state{display:grid;justify-items:center;gap:6px;text-align:center;padding:48px 24px;color:var(--muted)}
.empty-state strong{color:var(--text);font-size:15px;font-weight:600}.empty-state p{margin:0;font-size:13px;max-width:44ch;line-height:1.6}
.table-wrap{max-height:72vh}
th{position:sticky;top:0;z-index:1}
th.sortable{cursor:pointer;user-select:none}th.sortable:hover{color:var(--text)}
.sort-mark{display:inline-block;width:12px;margin-left:4px;opacity:.9}
th[aria-sort=ascending] .sort-mark::after{content:"▲";font-size:9px}th[aria-sort=descending] .sort-mark::after{content:"▼";font-size:9px}
th[aria-sort=ascending],th[aria-sort=descending]{color:var(--text)}
tr.row-link{cursor:pointer}tr.row-link:hover td{background:var(--surface)}tr.row-link:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
body.compact td{padding:8px 26px;font-size:12px}body.compact th{padding:9px 26px}
.stale-banner{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--warn-bg);color:var(--warn-text);border-radius:14px;padding:14px 18px;margin:18px 0 0;font-size:13px}
.stale-banner span{flex:1;min-width:200px}
.toast-undo{background:transparent;color:#7cc0ff;font-weight:600;padding:0 0 0 10px;border-radius:0;text-decoration:underline}
.palette-group{font-size:12px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;padding:12px 14px 4px}
.shortcut-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 28px;margin:0 0 18px}
.shortcut-list div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.shortcut-list dt{white-space:nowrap}.shortcut-list dd{margin:0;color:var(--muted);font-size:13px;text-align:right}
kbd{font:600 12px ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--surface);border:1px solid var(--line);border-bottom-width:2px;border-radius:7px;padding:3px 8px}
.drawer-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.drawer-stat{background:var(--surface);border-radius:14px;padding:14px 16px;display:grid;gap:6px}
.drawer-stat span{font-size:12px;color:var(--muted)}.drawer-stat strong{font-size:17px;font-weight:600;letter-spacing:-.4px}
.drawer-h{font-size:15px;margin:22px 0 6px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,th.sortable:focus-visible{outline:3px solid var(--info);outline-offset:3px}
@media (pointer:coarse){button,.icon-button,.seg-control button{min-height:var(--hit)}.icon-button{width:var(--hit);height:var(--hit)}}
@media(max-width:800px){.drawer-stats{grid-template-columns:repeat(2,1fr)}.shortcut-list{grid-template-columns:1fr}.action-row{align-items:flex-start;flex-direction:column}.action-row button{align-self:stretch}.stock-pill{left:12px;top:12px}}
@media(prefers-reduced-motion:reduce){.skeleton-row{animation:none}}
@media print{.stale-banner,.shortcut-list,.toast-undo{display:none}}
@media(max-width:800px){.icon-button[data-command=density],.icon-button[data-command=shortcuts]{display:none}}
.metric .spark{position:absolute;right:26px;top:30px;width:84px;height:28px;margin:0}
.cash-box .small{background:var(--panel);border:1px solid var(--line)}
input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--bad);outline-color:var(--bad)}
/* ---- v0.5 brand: the Z mark. Orange is for brand surfaces only; UI actions stay blue. */
:root{--brand:#ff5a15;--brand-deep:#cc420a;--brand-text:#b83a05}
body.dark{--brand-text:#ff8a54}
.zmark{display:block;flex:none;border-radius:23%}
.wordmark{gap:10px}
.wordmark .wm-text{display:inline-flex;align-items:baseline;gap:5px}
.wordmark.on-brand{color:#f5f5f7}
@keyframes zdraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.z-draw .z-stroke{stroke-dasharray:1;stroke-dashoffset:1;animation:zdraw .65s var(--ease) .15s forwards}
#splash{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:var(--bg);transition:opacity .3s var(--ease);animation:splash-out .3s linear 4s forwards}
#splash.done{opacity:0;pointer-events:none}
@keyframes splash-out{to{opacity:0;visibility:hidden}}
@media(prefers-color-scheme:dark){#splash{background:#000}}
.login-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);min-height:100dvh;background:var(--surface)}
.login-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:28px 44px;color:#f5f5f7;background:radial-gradient(120% 80% at 15% 0%,#3a1a0c 0,#1d1d1f 55%,#111113 100%)}
.login-brand small{color:#a1a1a6;font-size:12px}
.brand-center{max-width:420px}
.brand-center .zmark{box-shadow:0 18px 60px #ff5a1530;margin-bottom:34px}
.brand-center h2{font-size:clamp(30px,3.4vw,46px);line-height:1.05;letter-spacing:-1.6px;font-weight:650;margin:0 0 14px}
.brand-center p{font-size:16px;line-height:1.55;color:#c7c7cc;margin:0 0 26px}
.brand-points{list-style:none;margin:0;padding:0;display:grid;gap:12px;font-size:14px;color:#e5e5e7}
.brand-points li{display:flex;gap:10px;align-items:center}
.brand-points .glyph{width:18px;height:18px;color:var(--brand);flex:none}
.login-side{display:flex;flex-direction:column;justify-content:center;padding:0 24px}
.login-split .login-top{padding:22px 8px}
.login-split .login-box{width:100%;max-width:460px;margin:10px auto 0}
.password-wrap{position:relative;display:block}
.password-wrap input{width:100%;padding-right:72px}
.password-wrap .reveal{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-height:36px;padding:0 12px;border:0;background:transparent;color:var(--blue);font-size:13px;font-weight:600}
@media(max-width:900px){.login-split{grid-template-columns:1fr}.login-brand{padding:20px 22px;gap:18px}.brand-center{display:flex;gap:16px;align-items:center;max-width:none}.brand-center .zmark{width:56px;height:56px;margin:0;flex:none}.brand-center h2{font-size:22px;letter-spacing:-.6px;margin:0}.brand-center p,.brand-points,.login-brand small{display:none}.login-side{padding:0 16px 24px}}
@media(prefers-reduced-motion:reduce){.z-draw .z-stroke{animation:none;stroke-dashoffset:0}#splash{transition:none}}
@media print{.receipt .zmark{display:block;margin:0 auto 8px}}
.login-split .login-top{width:100%;max-width:460px;margin:0 auto;padding:22px 4px;justify-content:flex-end}
@media(max-width:900px){.brand-center .zmark{display:none}.brand-center{display:block}.login-split .login-top{padding:14px 4px}.login-brand{padding:18px 22px 20px}}
/* ---- v0.5 console polish */
table,.metric,.chart-total,.cart,.receipt,.drawer-stats,.sale-total,.shift-pill,.hero-note,.chart-col .bar-tip,.delta{font-variant-numeric:tabular-nums}
.chart-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.delta{display:inline-flex;align-items:baseline;gap:6px;font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px;margin-top:6px;background:var(--surface);color:var(--muted)}
.delta small{font-size:12px;font-weight:400;color:var(--muted)}
.delta-up{background:var(--ok-bg);color:var(--ok)}
.delta-down{background:var(--bad-bg);color:var(--bad-text)}
.chart-col{position:relative;border-radius:10px;outline-offset:2px}
.chart-col .bar{transition:filter .12s var(--ease),background-color .12s var(--ease)}
.chart-col:hover .bar,.chart-col:focus-visible .bar{filter:brightness(.93)}
.chart-col.is-today small{color:var(--text);font-weight:600}
.bar-tip{position:absolute;top:0;left:50%;transform:translate(-50%,-4px);padding:4px 9px;border-radius:8px;background:var(--text);color:var(--bg);font-size:12px;font-weight:600;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s var(--ease),transform .12s var(--ease);z-index:2}
.chart-col:hover .bar-tip,.chart-col:focus-visible .bar-tip{opacity:1;transform:translate(-50%,0)}
.setup-panel{border-color:var(--brand)}
.setup-panel .panel-head h2::after{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--brand);margin-left:10px;vertical-align:middle}
.setup-panel progress{width:100%;height:8px;border-radius:99px;appearance:none;-webkit-appearance:none;border:0;background:var(--surface);overflow:hidden}
.setup-panel progress::-webkit-progress-bar{background:var(--surface)}
.setup-panel progress::-webkit-progress-value{background:var(--blue);border-radius:99px;transition:width .4s var(--ease)}
.setup-panel progress::-moz-progress-bar{background:var(--blue);border-radius:99px}
.setup-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.setup-list li{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:12px 4px;border-top:1px solid var(--line)}
.setup-list li:first-child{border-top:0}
.setup-list strong{display:block;font-size:15px}
.setup-list small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.setup-tick{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:600;background:var(--surface);color:var(--muted)}
.setup-list .is-done .setup-tick{background:var(--ok-bg);color:var(--ok)}
.setup-list .is-done strong{color:var(--muted);font-weight:500}
.setup-tick .glyph{width:16px;height:16px}
.sale-done{display:grid;justify-items:center;gap:4px;text-align:center;padding:6px 0 18px;color:var(--ok)}
.sale-done .check-mark circle{opacity:.25}
.sale-done .check-mark path{stroke-dasharray:1;stroke-dashoffset:1;animation:zdraw .5s var(--ease) .15s forwards}
.sale-total{font-size:40px;font-weight:650;letter-spacing:-1.6px;color:var(--text);margin-top:4px}
.sale-change{font-size:15px;color:var(--muted)}
.sale-change strong{color:var(--text);font-size:19px}
.receipt-logo{display:flex;justify-content:center;margin-bottom:8px}
.quick-action,.metric,.panel{transition:transform .15s var(--ease),box-shadow .15s var(--ease),border-color .15s var(--ease)}
.quick-action:hover{transform:translateY(-1px);box-shadow:var(--shadow-2)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px}
@media(prefers-reduced-motion:reduce){.sale-done .check-mark path{animation:none;stroke-dashoffset:0}.quick-action:hover{transform:none}.bar-tip{transition:none}}
@media print{.sale-done{display:none}}
/* ---- v0.5 storefront */
.shop-meta{margin-top:20px;font-size:14px;color:var(--muted)}
.toolbar .sort-select{width:auto;min-width:170px;flex:none}
.product-card{cursor:pointer;transition:transform .15s var(--ease),box-shadow .15s var(--ease),border-color .15s var(--ease)}
.product-card:focus-visible{outline:3px solid var(--info);outline-offset:3px}
.product-card.is-out{opacity:.6;transform:none}
.product-card .card-control{position:absolute;right:16px;bottom:18px;display:flex}
.product-card .add-circle{position:static;border:0;padding:0;cursor:pointer;transition:transform .12s var(--ease)}
.product-card .add-circle:hover{transform:scale(1.08)}
.stepper{align-items:center;gap:2px;background:var(--blue);color:#fff;border-radius:999px;padding:2px}
.stepper button{width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;font-size:18px;line-height:1}
.stepper button:hover{background:#ffffff26}
.stepper span{min-width:22px;text-align:center;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.pill-count{margin-left:4px;font-size:12px;opacity:.6;font-variant-numeric:tabular-nums}
.icon-button{position:relative}
.bag-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--blue);color:#fff;font-size:12px;font-weight:600;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.bag-badge[hidden]{display:none}
.checkout-dock[hidden]{display:none}
.product-card.skeleton{pointer-events:none;gap:14px}
.sk-art{height:140px;border-radius:16px;background:linear-gradient(90deg,var(--surface) 25%,var(--line) 37%,var(--surface) 63%);background-size:400% 100%;animation:shimmer 1.4s var(--ease) infinite}
.sk-line{height:14px;border-radius:7px;background:var(--line);opacity:.6}
.sk-line.short{width:55%}
dialog.sheet{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:0;border-radius:28px;padding:24px;background:var(--panel);color:var(--text);box-shadow:var(--shadow-3)}
dialog.sheet::backdrop{background:#00000066;backdrop-filter:blur(6px)}
.pm-art{display:grid;place-items:center;background:var(--surface);border-radius:22px;padding:22px;margin-bottom:14px}
.pm-art svg{width:190px;height:190px;filter:drop-shadow(0 18px 14px #0000000f)}
.pm-price{display:flex;align-items:baseline;gap:8px;margin:4px 0 12px}
.pm-price b{font-size:30px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.pm-price small{color:var(--muted);font-size:13px}
.stock-pill.static{position:static;display:inline-block}
.stock-note{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ok);font-weight:600}
.pm-actions{display:flex;align-items:center;gap:14px;margin-top:18px}
.pm-actions .primary{flex:1;padding:14px}
.pm-actions .qty span{min-width:24px;text-align:center;font-weight:600}
.pm-actions .qty button{width:36px;height:36px}
.check-row{display:flex!important;flex-direction:row;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.check-row input{width:18px;height:18px;padding:0}
.link-danger{margin-top:10px;color:var(--bad-text);background:transparent}
.order-ref{font-size:30px;font-weight:650;letter-spacing:1px;margin:2px 0 10px;font-variant-numeric:tabular-nums}
.shop-success{color:var(--text)}
.shop-success .check-mark{color:var(--ok);margin:0 auto 14px;display:block}
.shop-success .check-mark circle{opacity:.25}
.shop-success .check-mark path{stroke-dasharray:1;stroke-dashoffset:1;animation:zdraw .5s var(--ease) .1s forwards}
.timeline{list-style:none;margin:24px 0 18px;padding:0;text-align:left;display:grid;gap:0}
.timeline li{position:relative;padding:0 0 18px 34px}
.timeline li::before{content:"";position:absolute;left:5px;top:4px;width:12px;height:12px;border-radius:50%;border:2px solid var(--line);background:var(--panel)}
.timeline li::after{content:"";position:absolute;left:10px;top:18px;bottom:0;width:2px;background:var(--line)}
.timeline li:last-child::after{display:none}
.timeline li.done::before{background:var(--ok);border-color:var(--ok)}
.timeline b{display:block;font-size:15px}
.timeline small{display:block;margin-top:3px;color:var(--muted);font-size:13px;line-height:1.5}
@media(max-width:700px){.toolbar{flex-wrap:wrap}.toolbar .sort-select{flex:1}.pm-art svg{width:150px;height:150px}}
@media(prefers-reduced-motion:reduce){.shop-success .check-mark path{animation:none;stroke-dashoffset:0}.sk-art{animation:none}.product-card{transition:none}}
#shop-modal.sent #order-form{display:none}
.toolbar .sort-select{background:var(--surface);border-color:transparent}
/* ---- v0.6 suggestions */
.insight-note{margin:0 0 18px;padding:14px 18px;border-radius:16px;background:var(--surface);color:var(--muted);font-size:13px;line-height:1.6}
.conf{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--surface);color:var(--muted)}
.conf-high{background:var(--ok-bg);color:var(--ok)}
.conf-medium{background:var(--warn-bg);color:var(--warn-text)}
.why-list{margin:8px 0 14px;padding-left:20px;display:grid;gap:8px;font-size:14px;line-height:1.55}
td .tone-dot{margin-right:8px;vertical-align:middle}
td small{display:block}
.input-list{margin:6px 0 14px;display:grid;gap:0;font-size:13px}
.input-list div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-top:1px solid var(--line)}
.input-list dt{color:var(--muted);text-transform:capitalize}
.input-list dd{margin:0;font-variant-numeric:tabular-nums;font-weight:600}
