:root{--brand:#166534;--brand-strong:#0f4f2a;--nav:#15191e;--canvas:#f3f5f7;--soft:#eef1f4;--coral:#e95d43;--warning:#e9a23b;--success:#1f8a5b;--radius:8px;--shadow-soft:0 10px 30px rgba(20,28,38,.07)}
body{background:var(--canvas);color:#18212b}
.scan-mode-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--brand) 35%,#dfe5e8);border-left:4px solid var(--brand);border-radius:8px;background:#fff}.scan-mode-notice strong{white-space:nowrap}.scan-mode-notice span{color:var(--muted);font-size:13px}@media(max-width:620px){.scan-mode-notice{align-items:flex-start;flex-direction:column;gap:3px}}
.scan-location-picker{display:grid;grid-template-columns:auto minmax(180px,1fr);align-items:center;gap:12px;margin-bottom:12px;padding:10px 12px;background:#eef7f3;border-radius:8px;font-weight:800}.scan-location-picker select{margin:0;background:#fff}@media(max-width:520px){.scan-location-picker{grid-template-columns:1fr;gap:5px}}
.scanner-actions-main button{border:2px solid transparent}.scanner-actions-main button.is-active{border-color:#111827;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 24%,transparent)}
.topbar{position:fixed;inset:0 auto 0 0;width:236px;height:100vh;background:var(--nav);border:0;padding:22px 14px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:22px;color:#fff;z-index:20}
.logo{padding:0 10px;display:flex;align-items:center;gap:12px;min-height:44px}.logo>span:first-child,.brand-mark{background:var(--brand);color:#fff;border-radius:8px}.logo .logo-copy{display:grid;width:auto;height:auto;background:none;color:inherit;border-radius:0;gap:1px}.logo-copy strong{font-size:17px}.logo-copy small{color:#aab4bf;font-size:11px;text-transform:uppercase;font-weight:800}
.topbar nav{display:flex;flex-direction:column;gap:4px;overflow:visible}.topbar nav a{color:#bdc5ce;padding:11px 12px;border-radius:7px;font-size:14px;display:flex;align-items:center;gap:10px}.topbar nav a:hover{background:#232a31;color:#fff}.topbar nav a.active{background:#fff;color:#13191f}.nav-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#252d35;color:#dce2e8;font-size:12px;font-weight:900}.topbar nav a.active .nav-icon{background:var(--brand);color:#fff}.topbar-meta{margin-top:auto;padding:12px;border-top:1px solid #303740;color:#9ea9b5;font-size:12px;display:grid;gap:4px}.topbar-meta strong{color:#fff;font-size:13px}
.shell{width:auto;max-width:1540px;margin:0 0 0 236px;padding:28px 30px 60px}.panel{box-shadow:var(--shadow-soft);border-color:#e1e6eb}.alert{margin-bottom:18px}
.login-screen{min-height:100vh;padding:0;display:grid;grid-template-columns:minmax(340px,.9fr) minmax(440px,1.1fr);background:#fff}.login-brand{background:#15191e;color:#fff;padding:clamp(36px,6vw,84px);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-brand-head{display:flex;align-items:center;gap:12px}.login-brand-head img,.brand-logo-image{width:46px;height:46px;object-fit:contain;border-radius:8px;background:#fff}.login-brand-head strong{font-size:19px}.login-brand-main{max-width:560px}.login-brand-main h1{font-size:clamp(42px,5vw,72px);line-height:1.02;margin:14px 0 20px;letter-spacing:0}.login-brand-main p{font-size:19px;line-height:1.55;color:#c3ccd5;max-width:510px}.login-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:34px}.login-proof div{border-top:2px solid var(--brand);padding-top:12px}.login-proof strong{display:block;font-size:18px}.login-proof span{font-size:12px;color:#aab4bf}.login-brand-foot{font-size:12px;color:#8f9aa6}.login-form-wrap{display:grid;place-items:center;padding:36px}.login-card{width:min(460px,100%);box-shadow:none;border:0;padding:0}.login-screen>.login-card{grid-column:1/-1;align-self:center;justify-self:center;padding:28px}.login-card .brand-mark{display:none}.login-card h1{font-size:34px;margin:0 0 8px}.login-card p{margin-bottom:26px}.login-card label{margin-bottom:16px}.login-card input{background:#f8fafb;border-color:#d9e0e6}.login-card button{margin-top:4px}.helper-link{display:block;margin-top:18px;text-align:center;color:var(--brand);font-weight:800}
.dashboard-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.dashboard-top h1{font-size:34px;line-height:1.1;margin:4px 0 7px}.dashboard-top p{margin:0;color:var(--muted)}.dashboard-actions{display:flex;gap:9px;flex-wrap:wrap}.dashboard-filter{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1px solid var(--line);padding:9px;border-radius:8px}.dashboard-filter label{font-size:12px}.dashboard-filter input,.dashboard-filter select{min-height:40px;padding:8px 10px}.dashboard-filter button{min-height:40px;padding:8px 13px}
.executive-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.executive-kpi{background:#fff;border:1px solid #e0e5ea;border-radius:8px;padding:18px;min-height:126px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow-soft)}.executive-kpi span{font-size:13px;color:#687481;font-weight:800}.executive-kpi strong{font-size:31px;line-height:1.1}.executive-kpi small{color:#7a8591}.executive-kpi.emphasis{background:#17211d;color:#fff;border-color:#17211d}.executive-kpi.emphasis span,.executive-kpi.emphasis small{color:#b7c6be}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:14px;margin-bottom:14px}.dashboard-panel{background:#fff;border:1px solid #e0e5ea;border-radius:8px;padding:18px;box-shadow:var(--shadow-soft)}.dashboard-panel h2{font-size:18px;margin:0}.dashboard-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.dashboard-panel-head span{font-size:12px;color:var(--muted)}.revenue-chart{display:flex;align-items:end;gap:7px;height:230px;padding:14px 0 0;overflow-x:auto}.revenue-bar{min-width:34px;flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.revenue-bar i{display:block;width:min(26px,75%);background:var(--brand);border-radius:5px 5px 2px 2px;min-height:4px}.revenue-bar span{font-size:10px;color:#77828d;white-space:nowrap}.revenue-bar strong{font-size:10px;white-space:nowrap}.channel-list{display:grid;gap:13px}.channel-row{display:grid;grid-template-columns:1fr auto;gap:7px}.channel-row strong{display:block;font-size:14px}.channel-row em{font-style:normal;font-weight:900}.channel-row small{display:block;color:var(--muted);margin-top:2px}.channel-track{grid-column:1/-1;height:7px;background:#edf0f2;border-radius:8px;overflow:hidden}.channel-track i{display:block;height:100%;background:var(--brand);border-radius:8px}.channel-row:nth-child(2) .channel-track i{background:var(--coral)}.channel-row:nth-child(3) .channel-track i{background:var(--warning)}
.store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.store-card{border:1px solid #e1e6eb;border-radius:8px;padding:15px;background:#fbfcfd}.store-card span{display:block;color:var(--muted);font-size:12px;font-weight:800}.store-card strong{display:block;font-size:24px;margin:6px 0}.store-card small{color:#6c7782}.health-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f2;padding:11px 0}.health-row:first-of-type{border-top:0}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--success);display:inline-block;margin-right:7px}.status-dot.warn{background:var(--warning)}
.brand-settings-preview{background:#15191e;color:#fff;border-radius:8px;padding:22px;display:flex;align-items:center;gap:15px}.brand-settings-preview img{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:8px}.brand-settings-preview strong{display:block;font-size:22px}.brand-settings-preview span{color:#aeb8c2}
.analytics-hero{background:#17211d}.analytics-filter{grid-template-columns:1fr 1fr 1.25fr auto}.insight-grid{grid-template-columns:repeat(4,1fr)}.analytics-kpis div:first-child{border-top:3px solid var(--brand)}.analytics-kpis div:nth-child(3){border-top:3px solid var(--coral)}.analytics-kpis div:nth-child(4){border-top:3px solid var(--warning)}
@media(max-width:1080px){.executive-kpis{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.shell{padding:22px}}
@media(max-width:820px){.topbar{position:sticky;inset:auto;width:100%;max-width:100%;height:auto;padding:9px 12px;display:flex;flex-direction:row;align-items:center;gap:12px;overflow:hidden}.logo{padding:0;flex:0 0 auto}.logo-copy small{display:none}.topbar nav{flex:1 1 auto;min-width:0;max-width:100%;flex-direction:row;overflow-x:auto;overscroll-behavior-x:contain}.topbar nav a{white-space:nowrap;padding:9px}.nav-icon{display:none}.topbar-meta{display:none}.shell{width:100%;max-width:100%;min-width:0;margin:0;padding:16px 13px 90px;overflow-x:clip}.login-screen{grid-template-columns:1fr}.login-brand{display:none}.login-form-wrap{min-height:100vh;padding:24px}.login-card .brand-mark{display:grid;margin-bottom:20px}.dashboard-top{align-items:flex-start;flex-direction:column}.dashboard-actions,.dashboard-filter{width:100%}.dashboard-filter{display:grid;grid-template-columns:1fr 1fr}.dashboard-filter button{grid-column:1/-1}.executive-kpis{grid-template-columns:1fr 1fr}.dashboard-top h1{font-size:29px}}
@media(max-width:520px){.logo-copy{display:none}.topbar{gap:7px}.topbar nav a{font-size:13px}.executive-kpis{grid-template-columns:1fr}.dashboard-filter{grid-template-columns:1fr}.dashboard-filter button{grid-column:auto}.dashboard-actions>*{flex:1}.revenue-chart{height:190px}.login-card h1{font-size:29px}}
.api-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.api-copy-row input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.api-secret-panel{border-color:#86efac;background:#f0fdf4}.api-secret-panel label+label{margin-top:12px}.api-admin-actions{margin-top:18px;flex-wrap:wrap}@media(max-width:640px){.api-copy-row{grid-template-columns:1fr}.api-copy-row button{width:100%}.api-admin-actions form,.api-admin-actions button{width:100%}}
.product-content-editor,.product-gallery-editor{margin-top:8px;padding-top:18px;border-top:1px solid var(--line);min-width:0}.product-content-editor h2,.product-gallery-editor h2{margin:0 0 3px;font-size:20px}.rich-editor{margin-top:12px;border:1px solid #b9c5d1;border-radius:8px;overflow:hidden;background:#fff}.rich-editor:focus-within{border-color:#166534;box-shadow:0 0 0 3px rgba(22,101,52,.12)}.rich-editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px;background:#f3f6f8;border-bottom:1px solid var(--line)}.rich-editor-toolbar button,.gallery-item-actions button{width:38px;height:38px;min-height:38px;padding:0;border:1px solid #cad3dc;border-radius:6px;background:#fff;color:#17202a;font-weight:900}.rich-editor-toolbar button:hover,.gallery-item-actions button:hover{border-color:#166534;color:#166534}.rich-editor-surface{min-height:260px;padding:18px;font-size:16px;line-height:1.65;outline:0;overflow-wrap:anywhere}.rich-editor-surface h2{font-size:25px;margin:20px 0 8px}.rich-editor-surface h3{font-size:20px;margin:17px 0 7px}.rich-editor-surface p{margin:0 0 12px}.rich-editor-surface ul,.rich-editor-surface ol{padding-left:25px}.rich-editor-surface blockquote{margin:16px 0;padding:10px 14px;border-left:4px solid #e9a23b;background:#fff8e8}.product-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.product-gallery-item{min-width:0;border:1px solid var(--line);border-radius:8px;padding:8px;background:#fff;display:grid;gap:8px;cursor:grab}.product-gallery-item.is-dragging{opacity:.45;border-color:#166534}.product-gallery-item img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:6px;background:#eef2f6}.gallery-cover-choice{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:13px}.gallery-cover-choice input,.gallery-item-actions input{width:19px;height:19px;min-height:19px}.gallery-item-actions{display:grid;grid-template-columns:38px 38px minmax(0,1fr);gap:5px;align-items:center}.gallery-item-actions label{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:5px;font-size:12px;color:#667085}.gallery-upload-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:12px;align-items:end;margin-top:13px;padding:13px;background:#f8fafc;border-radius:8px}@media(max-width:820px){.product-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-upload-row{grid-template-columns:minmax(0,1fr)}.rich-editor-surface{min-height:220px;padding:14px}}@media(max-width:440px){.product-gallery-grid{grid-template-columns:minmax(0,1fr)}.rich-editor-toolbar button{width:36px;height:36px;min-height:36px}}
.template-finder{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:26px;align-items:end;border-top:4px solid var(--brand)}.template-finder-copy h1{margin:4px 0 8px;font-size:32px}.template-finder-copy p:last-child{margin:0;color:var(--muted);max-width:650px}.template-barcode-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.template-barcode-form label{min-width:0}.template-barcode-form input{font-size:19px;font-weight:900;letter-spacing:0}.template-error{grid-column:1/-1;margin:0;padding:10px 12px;border-left:4px solid #c2410c;background:#fff7ed;color:#9a3412;font-weight:800}.template-builder{padding:0;overflow:hidden}.template-product-head{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px 20px;background:#17211d;color:#fff}.template-product-head img{width:88px;height:88px;object-fit:cover;border-radius:8px;background:#fff}.template-product-head h2{margin:3px 0;font-size:24px}.template-product-head p{margin:0;color:#c8d2cc}.template-product-head .eyebrow{color:#8fd1aa}.template-product-form{padding:20px}.template-bulk-tools{display:grid;grid-template-columns:minmax(155px,1fr) auto minmax(155px,1fr) auto minmax(155px,1fr) auto;gap:8px;align-items:end;margin:18px 0;padding:13px;background:#f2f6f4;border:1px solid #dce8e1;border-radius:8px}.template-bulk-tools button{min-height:46px}.template-variants{border:1px solid #dce2e8;border-radius:8px;overflow:hidden}.template-variant-heading,.template-variant-row{display:grid;grid-template-columns:80px minmax(120px,.75fr) minmax(140px,1fr) minmax(140px,1fr) 95px minmax(145px,.9fr);gap:8px;align-items:center}.template-variant-heading{padding:9px 11px;background:#20262c;color:#fff;font-size:12px;font-weight:900}.template-variant-row{padding:9px 11px;border-top:1px solid #e4e8ec;background:#fff}.template-variant-row:first-of-type{border-top:0}.template-variant-row label{min-width:0}.template-variant-row label>span{display:none}.template-variant-row input{min-width:0;margin:0}.template-enabled{display:flex;flex-direction:row;align-items:center;gap:7px}.template-enabled input{width:20px;height:20px;min-height:20px}.template-enabled span{display:inline!important;font-size:12px;font-weight:800}.template-barcode-field{display:grid}.template-barcode-field small{font-size:10px;color:var(--muted);margin-top:3px}.template-variant-row.is-disabled{opacity:.42;background:#f2f4f6}.template-media-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;padding:15px;border:1px solid #dfe5ea;border-radius:8px}.template-media-options .check:last-child{grid-column:1/-1}.template-submit{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.template-submit p{display:grid;margin:0}.template-submit span{color:var(--muted);font-size:13px}.new-from-zero{margin-top:14px}.new-from-zero h2{margin:3px 0}.new-from-zero>.muted{margin-top:0}

.gallery-boomer-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.gallery-boomer-steps span{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 11px;border:1px solid #dce5ea;border-radius:8px;background:#fff;font-weight:900}.gallery-boomer-steps b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#17211d;color:#fff;flex:0 0 auto}.gallery-upload-simple{margin:14px 0 16px;padding:16px;border:2px solid #b8c6d2;border-radius:8px;background:#f8fafc;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:14px;align-items:end}.gallery-upload-simple label{gap:6px}.gallery-upload-simple label span{font-size:14px;color:var(--muted);font-weight:700}.gallery-upload-simple input{background:#fff;border-width:2px;font-weight:800}.gallery-upload-simple em{font-style:normal;color:#166534;font-size:13px;font-weight:900}.gallery-upload-actions{display:grid;gap:8px}.gallery-upload-actions button{width:100%;min-height:54px}.product-gallery-item{position:relative;cursor:default}.product-gallery-item .gallery-cover-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:9px;border-radius:6px;background:#f2f4f7;font-weight:900;color:#475467}.product-gallery-item .gallery-cover-choice input{position:absolute;opacity:0;pointer-events:none}.product-gallery-item .gallery-cover-choice.is-cover{background:#ecfdf3;color:#166534}.gallery-item-actions{grid-template-columns:1fr;gap:7px}.gallery-item-actions button{width:100%;min-height:46px;padding:9px 10px;white-space:normal;line-height:1.15}.gallery-item-actions button:disabled{opacity:.55;cursor:not-allowed}.gallery-item-actions .danger-action{min-height:46px;padding:9px 10px;border:1px solid #f1b6b2;background:#fff;color:#b42318}.gallery-item-actions .danger-action:hover{background:#fef3f2;border-color:#d92d20;color:#b42318}@media(max-width:820px){.gallery-boomer-steps{grid-template-columns:1fr}.gallery-upload-simple{grid-template-columns:minmax(0,1fr)}.product-gallery-grid{gap:12px}.gallery-item-actions button{min-height:50px}}@media(max-width:440px){.product-gallery-grid{grid-template-columns:minmax(0,1fr)}.product-gallery-item .gallery-cover-choice{font-size:13px}}

.woo-simple-box{margin:16px 0;padding:16px;border:2px solid #c9d7e4;background:#f8fbff;border-radius:8px;display:grid;gap:14px}.woo-simple-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.woo-simple-head h2{margin:0 0 4px}.woo-simple-head p{margin:0}.woo-simple-status{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border-radius:999px;font-weight:900;white-space:nowrap}.woo-simple-status.is-live{background:#ecfdf3;color:#166534}.woo-simple-status.is-draft{background:#fff7e6;color:#8a5200}.woo-simple-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.woo-simple-facts div{padding:12px;border:1px solid #dce7f1;background:#fff;border-radius:8px;min-width:0}.woo-simple-facts span{display:block;color:var(--muted);font-size:12px;font-weight:900}.woo-simple-facts strong{display:block;margin-top:4px;font-size:18px;line-height:1.15;word-break:break-word}.woo-simple-facts small{display:block;margin-top:3px;color:var(--muted);font-weight:800}.woo-simple-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.woo-simple-actions form{margin:0}.woo-simple-actions button,.woo-simple-actions a{width:100%;min-height:52px;text-align:center;white-space:normal;line-height:1.15}@media(max-width:980px){.woo-simple-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.woo-simple-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.woo-simple-head{display:grid}.woo-simple-status{width:100%}.woo-simple-facts,.woo-simple-actions{grid-template-columns:1fr}.woo-simple-actions button,.woo-simple-actions a{min-height:56px}}
.orders-module{padding:0;overflow:hidden}.orders-toolbar{display:grid;grid-template-columns:180px 180px minmax(240px,1fr) auto auto;gap:10px;align-items:end;padding:14px;border-bottom:1px solid var(--line);background:#fbfcfd}.orders-toolbar label{font-size:12px}.orders-toolbar input,.orders-toolbar select{min-height:42px;padding:9px 10px}.orders-toolbar button,.orders-toolbar a{min-height:42px;padding:9px 14px}.orders-workspace{display:grid;grid-template-columns:390px minmax(0,1fr);min-height:620px}.orders-list{border-right:1px solid var(--line);background:#f7f9fb;max-height:720px;overflow:auto}.orders-list-head{position:sticky;top:0;z-index:1;padding:13px 14px;background:#f7f9fb;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px}.orders-list-head span{color:var(--muted);font-size:12px;font-weight:800}.order-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:13px 14px;border-bottom:1px solid #e3e8ed;background:#fff}.order-list-item:hover,.order-list-item.is-selected{background:#edf7f1}.order-list-item.is-selected{box-shadow:inset 4px 0 0 var(--brand)}.order-list-item.needs-attention{background:#fff8e8}.order-list-item.needs-attention.is-selected{background:#fff3d2}.order-list-item strong,.order-list-item span,.order-list-item small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-list-item span,.order-list-item small{color:var(--muted)}.order-list-item em{font-style:normal;font-weight:900;white-space:nowrap}.order-list-item small{grid-column:1/-1;font-size:12px}.order-list-item b{justify-self:start;display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;background:#ecfdf3;color:#166534;font-size:12px}.order-list-item.needs-attention b{background:#fff1c2;color:#8a5200}.order-detail{padding:20px;min-width:0;background:#fff}.order-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.order-detail-head h2{font-size:30px;margin:3px 0}.order-detail-head p{margin:0;color:var(--muted)}.order-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border-radius:999px;font-weight:900;white-space:nowrap}.order-status-pill.is-ok{background:#ecfdf3;color:#166534}.order-status-pill.is-warning{background:#fff1c2;color:#8a5200}.order-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px}.order-detail-facts div{border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd;padding:12px;min-width:0}.order-detail-facts span{display:block;color:var(--muted);font-size:12px;font-weight:900}.order-detail-facts strong{display:block;margin-top:4px;font-size:18px;overflow-wrap:anywhere}.orders-warning{margin:10px 0 14px;padding:12px 14px;border-left:4px solid #e9a23b;background:#fff8e8;color:#7a4b00;font-weight:900;border-radius:8px}.order-lines{display:grid;gap:8px;margin-top:14px}.order-lines h3{margin:0 0 4px}.order-line{display:grid;grid-template-columns:minmax(0,1fr) 74px 132px;gap:10px;align-items:center;border:1px solid #dfe6ec;border-radius:8px;padding:12px;background:#fff}.order-line.needs-attention{border-color:#f3c56b;background:#fffaf0}.order-line strong{display:block;overflow-wrap:anywhere}.order-line span,.order-line small{display:block;color:var(--muted);margin-top:3px}.order-line em{font-style:normal;font-size:20px;font-weight:900;text-align:right}.order-line b{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border-radius:999px;background:#eef2f6;color:#344054;font-size:12px}.order-line.needs-attention b{background:#fff1c2;color:#8a5200}.order-detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.order-detail-actions form{margin:0}.orders-empty{padding:18px;color:var(--muted);text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;margin:12px}@media(max-width:1080px){.orders-workspace{grid-template-columns:330px minmax(0,1fr)}.order-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.orders-toolbar{grid-template-columns:1fr 1fr}.orders-toolbar label:nth-of-type(3){grid-column:1/-1}}@media(max-width:820px){.orders-toolbar{grid-template-columns:1fr}.orders-toolbar label:nth-of-type(3){grid-column:auto}.orders-workspace{grid-template-columns:1fr}.orders-list{max-height:none;border-right:0;border-bottom:1px solid var(--line)}.order-detail{padding:15px}.order-detail-head{display:grid}.order-status-pill{width:100%}.order-line{grid-template-columns:1fr}.order-line em{text-align:left}.order-line b{justify-self:start}}@media(max-width:520px){.order-detail-facts{grid-template-columns:1fr}.order-detail-head h2{font-size:25px}.orders-list-head{display:grid}.order-list-item{grid-template-columns:1fr}.order-list-item em{justify-self:start}}
@media(max-width:1080px){.template-finder{grid-template-columns:1fr}.template-bulk-tools{grid-template-columns:1fr auto 1fr auto}.template-bulk-tools label:nth-of-type(3){grid-column:1/2}.template-variants{overflow-x:auto}.template-variant-heading,.template-variant-row{min-width:850px}}
@media(max-width:720px){.template-finder{gap:16px}.template-finder-copy h1{font-size:27px}.template-barcode-form{grid-template-columns:1fr}.template-barcode-form button{width:100%}.template-product-head{grid-template-columns:72px minmax(0,1fr)}.template-product-head img{width:72px;height:72px}.template-product-head>a{grid-column:1/-1}.template-product-form{padding:13px}.template-bulk-tools{grid-template-columns:1fr}.template-bulk-tools label:nth-of-type(3){grid-column:auto}.template-variant-heading{display:none}.template-variants{border:0;overflow:visible;display:grid;gap:9px}.template-variant-row{min-width:0;grid-template-columns:1fr 1fr;padding:12px;border:1px solid #dce2e8!important;border-radius:8px;box-shadow:0 4px 12px rgba(20,28,38,.04)}.template-variant-row label>span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px;font-weight:800}.template-enabled{grid-column:1/-1}.template-enabled span{margin:0!important;color:var(--ink)!important}.template-barcode-field{align-self:end}.template-media-options{grid-template-columns:1fr}.template-media-options .check:last-child{grid-column:auto}.template-submit{align-items:stretch;flex-direction:column}.template-submit button{width:100%}}
.new-variant-builder{margin:8px 0;padding:14px;border:1px solid #dce2e8;border-radius:8px;background:#f8fafb}.new-variant-builder .section-head{margin-bottom:11px}.new-variant-builder h3{margin:0 0 3px}.new-variant-builder p{margin:0}.new-variant-list{display:grid;gap:8px}.new-variant-row{display:grid;grid-template-columns:minmax(135px,1fr) minmax(100px,.7fr) minmax(120px,.85fr) minmax(140px,1fr) 90px 42px;gap:8px;align-items:end;padding:10px;border:1px solid #dfe5ea;border-radius:8px;background:#fff}.new-variant-row input{min-width:0}.new-variant-remove{width:42px;height:46px;min-height:46px;padding:0;border:1px solid #f1b7ae;background:#fff5f3;color:#b42318;font-size:25px;line-height:1;border-radius:6px}@media(max-width:760px){.new-variant-builder{padding:11px}.new-variant-builder .section-head{align-items:stretch;flex-direction:column}.new-variant-builder .section-head button{width:100%}.new-variant-row{grid-template-columns:1fr 1fr}.new-variant-remove{grid-column:2;justify-self:end}.new-variant-row label:first-child{grid-column:1/-1}}
.danger-action{background:#b42318;color:#fff;border:1px solid #b42318}.danger-action:hover{background:#8f1c13;border-color:#8f1c13}
.add-variant-panel{margin-top:16px;border-top:1px solid var(--line);padding-top:15px}.add-variant-panel summary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:7px;background:var(--brand);color:#fff;font-weight:900;cursor:pointer;list-style:none}.add-variant-panel summary::-webkit-details-marker{display:none}.add-variant-panel summary:before{content:"+";font-size:20px;margin-right:7px}.add-variant-panel[open] summary{background:#17211d;margin-bottom:14px}.add-variant-panel .form-grid{padding:15px;border:1px solid #dce5e1;border-radius:8px;background:#f7faf8}
.order-manage-form{display:grid!important;grid-template-columns:180px minmax(150px,1fr) minmax(220px,1.4fr) auto;gap:9px;align-items:end;width:100%;padding:12px;border:1px solid #dfe6ec;border-radius:8px;background:#f8fafc}.order-manage-form label{font-size:12px;font-weight:900;color:var(--muted)}.order-manage-form input,.order-manage-form select{width:100%;min-height:42px;margin-top:4px;padding:9px 10px}@media(max-width:900px){.order-manage-form{grid-template-columns:1fr 1fr}.order-manage-form label:nth-of-type(3),.order-manage-form button{grid-column:1/-1}}@media(max-width:560px){.order-manage-form{grid-template-columns:1fr}}
