*{box-sizing:border-box} :root{--wine:#692638;--wine2:#87374c;--ink:#292426;--soft:#766d70;--line:#e8e3e2;--paper:#faf9f7;--rose:#f2e7e9;--gold:#aa8651;--sans:"Inter","Microsoft YaHei UI","PingFang SC",Arial,sans-serif;--num:"Georgia","Times New Roman",serif}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bf8e9e;outline-offset:2px}button:disabled{opacity:.55;cursor:wait}.ic{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}.skip{position:absolute;left:-999px}.skip:focus{left:10px;background:white;z-index:100}h1,h2,h3,h4,p{margin:0}a{color:var(--wine)}.side{position:fixed;inset:0 auto 0 0;width:210px;background:#fcfbfa;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{padding:32px 27px 25px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.brand img{width:111px;mix-blend-mode:multiply}.brand small{font-size:11px;letter-spacing:.22em;color:#84736b}.nav{padding:18px 13px}.nav-title{font-size:11px;font-weight:600;color:#998e8b;letter-spacing:.09em;padding:0 13px;margin:12px 0 9px}.nav button{border-radius:8px;display:flex;align-items:center;gap:13px;width:100%;padding:11px 14px;text-align:left;color:#655c5b;margin-bottom:3px}.nav button:hover{background:#f4f1ef}.nav button.on{background:#f1e5e8;color:var(--wine);font-weight:650}.nav button.on:after{content:"";margin-left:auto;background:#95576a;border-radius:50%;width:5px;height:5px}.sidefooter{margin-top:auto;padding:16px;border-top:1px solid var(--line)}.profile{display:flex;gap:10px;align-items:center;width:100%;text-align:left;padding:3px}.avatar{display:grid;place-items:center;border-radius:12px;background:#6a293b;color:#ffebe5;width:38px;height:38px;flex:none;font-size:16px}.profile strong,.profile small{display:block}.profile small{font-size:11px;color:var(--soft);margin-top:2px}.profile>.ic{margin-left:auto;color:var(--soft);width:15px}.main{margin-left:210px;min-height:100vh}.top{height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:0 clamp(20px,3vw,46px);background:#fdfcfb}.crumb,.topright,.tools,.inline,.panelhead,.titlebar,.legend,.metrichead,.row,.split,.fieldrow,.foot-actions{display:flex;align-items:center;gap:10px}.crumb{color:#877d7e;font-size:12px}.crumb .ic{width:13px}.crumb b{font-weight:550;color:#453c40}.topright{gap:15px}.demo{display:inline-flex;gap:7px;align-items:center;font-size:11px;color:#786e68}.demo:before{content:"";height:6px;width:6px;border-radius:50%;background:#b89355}.rolebtn,.btn,.iconbtn,select,.searchbox{border:1px solid #ded7d6;background:#fff;border-radius:8px}.rolebtn,.btn,.iconbtn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:7px 12px;font-size:12px;font-weight:550}.btn:hover,.rolebtn:hover,.iconbtn:hover{background:#f4eeef}.btn.primary{background:var(--wine);color:#fff;border-color:var(--wine)}.btn.primary:hover{background:#532033}.btn .ic,.rolebtn .ic{width:15px;height:15px}.iconbtn{width:34px;padding:6px}.mobile-only{display:none}.content{max-width:1580px;margin:auto;padding:29px clamp(20px,3vw,46px) 38px}.titlebar,.panelhead,.split,.foot-actions{justify-content:space-between}.titlebar{align-items:flex-end;margin-bottom:22px}.titlebar h1,.studio-head h1{font-size:clamp(26px,2.5vw,36px);font-weight:660;letter-spacing:-.055em}.titlebar p,.studio-head p,.panelhead p,.muted,.sub{color:var(--soft)}.titlebar p,.studio-head p{margin-top:5px;font-size:12px}.tools{flex-wrap:wrap;justify-content:flex-end}.tools select,.toolbar select{padding:8px 30px 8px 10px;min-height:34px;cursor:pointer;font-size:12px}.metrics{display:grid;grid-template-columns:1.38fr 1fr 1fr 1fr;gap:12px;margin-bottom:17px}.metric,.panel,.feature{border:1px solid var(--line);border-radius:13px;background:white}.metric{padding:18px 20px 16px;position:relative;overflow:hidden;min-height:124px}.metrichead{gap:8px}.metrichead,.studio-figures small,.detail-figures small{font-size:12px;color:#62565b}.metrichead .ic{width:15px;height:15px}.metric strong{display:block;margin:8px 0 5px}.metric strong,.studio-figures b,.detail-figures b{font:normal clamp(29px,2.65vw,43px)/1.18 var(--num);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.045em}.metric strong small{font:12px var(--sans);margin-left:6px;letter-spacing:normal}.metric .caption,.studio-figures span,.detail-figures span{font-size:11px;color:var(--soft)}.metric.featured{background:#67283a;border-color:#67283a;color:white}.metric.featured .metrichead,.metric.featured .caption{color:#eed7de}.metric.featured strong{color:#fff6ef;position:relative;z-index:1}.spark{position:absolute;right:12px;bottom:0;display:flex;gap:4px;height:72%;width:36%;align-items:end;pointer-events:none;opacity:.38}.spark i{background:#a96875;border-radius:4px 4px 0 0;flex:1}.metric.featured .caption{position:relative;z-index:1}.twocol{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(260px,1fr);gap:16px;margin:0 0 17px}.panel{padding:20px;min-width:0}.panelhead{align-items:center;margin-bottom:16px}.panelhead h2,.sku-board-head h2,.subheading,.dlghead h2{font-size:17px;font-weight:650;letter-spacing:-.035em}.panelhead p{font-size:11px;margin-top:3px}.legend{font-size:11px;color:var(--soft);gap:12px}.legend span{white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;margin-right:5px;vertical-align:1px}.chart{height:211px;width:100%}.ranklead{display:grid;grid-template-columns:42% 1fr;gap:16px;align-items:center;background:#f8f3ed;border-radius:9px;overflow:hidden}.ranklead img{width:100%;height:105px;object-fit:cover}.ranklead button,.rankrow{width:100%;text-align:left}.ranklead button{padding:8px 12px 8px 0}.ranklead em{display:block;font:italic 17px var(--num);color:#96703c;margin:0 0 4px}.ranklead b{display:block}.ranklead b,.feature-copy strong,.muted-highlight strong,.product .details b,.counter-copy b,.itemhero h3{font-size:15px;font-weight:700;line-height:1.5}.ranklead small,.rankrow small{font-size:11px;color:#796a65}.rankrow{display:grid;grid-template-columns:20px 34px 1fr auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:9px 0;font-size:12px}.sku-name strong,.productcell b,.basket-row b{font-size:12px;font-weight:400;line-height:1.5}.rankrow:last-child{border:0;padding-bottom:0}.rankrow i{font:italic 15px var(--num);color:#927c72}.thumb{width:38px;height:38px;object-fit:cover;border-radius:7px;background:#eee7e3;display:inline-grid;place-items:center;color:#917e73}.rankrow img{height:32px;width:32px}.linkbtn{color:var(--wine);display:inline-flex;align-items:center;gap:4px;font-size:12px;padding:3px}.linkbtn .ic{width:14px}.panel.flush{padding:0;overflow:hidden}.flush>.panelhead,.flush>.toolbar{margin:0;padding:17px 20px}.flush>.toolbar{border-bottom:1px solid var(--line)}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{font-size:11px;letter-spacing:.02em;color:#877e7e;background:#faf8f7;font-weight:520}td,th{padding:11px 16px;border-top:1px solid var(--line)}th:first-child,td:first-child{padding-left:20px}td:last-child,th:last-child{padding-right:20px}.num{text-align:right;font-variant-numeric:tabular-nums}.mono,.sku-name small,.sku-identity small,.counter-copy small{font:12px ui-monospace,Consolas,monospace;color:#68575e}.pill{font-size:11px;border-radius:20px;display:inline-flex;align-items:center;padding:3px 9px;white-space:nowrap;background:#eee9e7;color:#655953}.pill.green{color:#426953;background:#e8f1e9}.pill.gold{color:#856027;background:#f8eedf}.pill.wine{color:var(--wine);background:var(--rose)}.empty{text-align:center;padding:30px 14px;color:var(--soft);font-size:13px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.searchbox{padding:0 10px;display:flex;align-items:center;gap:7px;min-width:200px}.searchbox .ic{width:15px;color:#93878a}.searchbox input{border:0;padding:8px 0;outline:0;width:100%;background:none;font-size:12px}.toolbar small{margin-left:auto;color:var(--soft)}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:14px;margin-top:16px}.product{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;display:block;padding:0;text-align:left;transition:box-shadow .2s,transform .2s}.product:hover{box-shadow:0 6px 18px #59394814;transform:translateY(-2px)}.product .photo{height:150px;background:#efeae5;display:grid;place-items:center}.product .photo img{width:100%;height:100%;object-fit:cover}.product .details{padding:12px 14px}.product .details b{display:block;margin:3px 0 7px}.product .split{font-size:12px}.product .price{color:var(--wine);font-weight:650}.actiongrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:15px 0}.actiontile{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:15px;border:1px solid var(--line);border-radius:11px;background:#fff}.actiontile:hover{border-color:#b38e98}.actiontile .ic:first-child{color:var(--wine)}.actiontile .ic:last-child{margin-left:auto;width:14px;color:#977b83}.margintop{margin-top:18px}.productcell{display:flex;align-items:center;gap:10px}.productcell b,.productcell small{display:block}.productcell small,.sub{font-size:11px}.filters{display:flex;flex-wrap:wrap;gap:7px}.filters button{border:1px solid var(--line);border-radius:25px;padding:5px 12px;font-size:12px;background:white}.filters button.on{background:var(--rose);color:var(--wine);border-color:#ceadb7}.fieldrow{align-items:flex-end;flex-wrap:wrap}.fieldrow>label{flex:1;min-width:110px}dialog{border:1px solid var(--line);padding:0;border-radius:16px;color:var(--ink);width:min(510px,calc(100% - 26px));max-height:86vh;background:#fff;box-shadow:0 24px 80px #25101c38}dialog::backdrop{background:#21191c66}dialog .dlghead{padding:20px 22px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.dlgbody{padding:18px 22px}.dlghead .iconbtn{border:0}.dlgbody label{display:block;font-size:12px;font-weight:560;margin:0 0 13px}.dlgbody input,.dlgbody select{width:100%;border:1px solid #d9d1d1;border-radius:7px;padding:9px 10px;margin-top:5px;background:#fff}.dlgbody .foot-actions{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.dialogerror{color:#9a263f;font-size:12px;margin:9px 0;overflow-wrap:anywhere}.rolechoice{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:9px;margin:7px 0}.rolechoice.current{background:#f8f1f3;border-color:#caa8b3}.rolechoice .roleicon{width:32px;height:32px;background:var(--rose);display:grid;place-items:center;border-radius:8px;color:var(--wine)}.rolechoice b,.rolechoice small{display:block}.rolechoice small{color:var(--soft);font-size:11px}.rolechoice>.ic{margin-left:auto;width:15px}.kv{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:8px 0;gap:10px}.cartline{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 0;border-top:1px solid var(--line);font-size:12px}.cartline input{width:60px;margin:0;padding:4px}.cartline .iconbtn{min-height:26px;width:26px;border:0}.itemhero{display:flex;align-items:center;gap:16px;margin-bottom:15px}.itemhero .thumb{width:78px;height:78px}.note{font-size:12px;color:var(--soft);margin:10px 0}.alert{padding:15px;border-radius:9px;background:#fff1e5;color:#754f2e}.loading{padding:50px;text-align:center;color:var(--soft)}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:10px 18px;z-index:20;background:#38252d;color:white;border-radius:9px;box-shadow:0 6px 22px #0002;font-size:13px;display:none}.scrim{display:none} @media(min-width:1600px){.chart{height:245px}.ranklead img{height:135px}}@media(max-width:1050px){.side{width:176px}.main{margin-left:176px}.content{padding:22px 19px}.metric{padding:15px 13px}.chart{height:210px}.twocol{grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr)}.panel{padding:15px}}@media(max-width:780px){.side{transform:translateX(-105%);transition:transform .18s;width:214px}.side.open{transform:translateX(0)}.scrim.open{display:block;position:fixed;inset:0;background:#25151e55;z-index:4}.main{margin:0}.mobile-only{display:inline-flex}.top{padding:0 15px;height:55px}.content{padding:20px 14px}.metrics{grid-template-columns:1fr 1fr;gap:9px}.metric{min-height:107px}.metric strong,.studio-figures b{font-size:30px}.twocol{grid-template-columns:1fr}.titlebar{align-items:flex-start;gap:10px}.titlebar .tools{max-width:47%}.titlebar h1,.studio-head h1{font-size:27px}.legend{gap:6px}.ranklead{grid-template-columns:95px 1fr}.ranklead img{height:75px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product .photo{height:135px}.topright{gap:7px}.demo{font-size:10px}.nav{padding-top:6px}.tools .btn{padding:6px 9px}.rankrow{min-height:39px}.searchbox{min-width:135px;flex:1}.chart{height:180px}.top .rolebtn{font-size:11px}.titlebar p,.studio-head p{font-size:11px}.panelhead{gap:6px}.panelhead h2,.sku-board-head h2,.subheading,.dlghead h2{font-size:16px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.pick-switch { padding:0 18px 4px; }
.pick-destination,.movement-code,.cartline-info small { display:block; }
.pick-destination+.pick-destination {margin-top:2px;}
.movement-code,.cartline-info small {color:var(--soft);font-size:11px;margin-top:2px;}
.pick-item {text-align:left;}
.cartline-info {flex:1;min-width:0;}
.restock-link {display:flex;align-items:center;margin:0 0 12px;padding:7px 12px;border-left:3px solid var(--gold);background:#f5f1e9;border-radius:4px;}
.restock-link .linkbtn {padding:2px;}
@media (max-width:480px) {
   .top .crumb {min-width:0;gap:5px;}
  .top .crumb .workspace-context {font-size:11px;line-height:1.25;}
  .top .crumb>.ic {display:none;}
  .top .crumb b {overflow:hidden;text-overflow:ellipsis;}
  .top .topright {flex-shrink:0;}
  .top .crumb b,.top .rolebtn,.top .demo {white-space:nowrap;}
}


/* Shared reading rhythm for the five workspaces. */
.metric-value { margin:8px 0 5px; position:relative; z-index:1; line-height:1.1; font-variant-numeric:tabular-nums; }
.metric .metric-value strong { display:inline; margin:0; }
.metric-value small,.studio-figures em,.detail-figures em,.feature-figure small,.trend-period strong small { margin-left:2px; color:var(--soft); font:500 13px var(--sans); letter-spacing:normal; }
.featured .metric-value small { color:#f2e2e6; }
.metrichead .ic { color:var(--wine); }
.featured .metrichead .ic { color:#f0dbe1; }
th { color:#6c6265; }
.document-table td,.picking-table td,.basket-total { font-variant-numeric:tabular-nums; }
.document-table :is(td,th):nth-child(4),.document-table :is(td,th):nth-child(5),
.picking-table :is(td,th):nth-child(3),.picking-table :is(td,th):nth-child(4) { text-align:right; }
.document-table td:nth-child(5),.picking-table td:nth-child(3) { font-weight:600; }
.document-table .btn { min-height:30px; padding:3px 9px; }
.document-table .btn .ic { width:14px; }
.document-table + .pager,.pick-results > .pager { margin:0; padding:10px 16px; border-top:1px solid var(--line); }
.pick-results .empty { text-align:center; }
.filters.pick-switch { display:inline-flex; gap:2px; margin:0 16px 12px; padding:3px; background:#f3efef; border-radius:9px; }
.pick-switch button { background:transparent; border:1px solid transparent; border-radius:6px; padding:5px 11px; color:#675d60; }
.pick-switch button.on { color:var(--wine); background:white; border-color:#ded0d4; box-shadow:0 1px 2px #3b1d260d; }
.ranklead { display:block; }
.ranklead button { display:grid; grid-template-columns:40% minmax(0,1fr); align-items:center; gap:14px; padding:0; border-radius:inherit; }
.ranklead button>span:last-child { padding:8px 12px 8px 0; }
.ranklead .photo { display:grid; place-items:center; width:100%; height:105px; object-fit:cover; background:#efe6da; }
.ranklead em { font:550 11px var(--sans); color:#79592e; }
.ranklead button:focus-visible,.counter-product:focus-visible { outline-offset:-3px; }
:is(.searchbox,.sku-search):focus-within { outline:2px solid #a26979; outline-offset:1px; }
.searchbox input:focus-visible,.sku-search input:focus-visible { outline:none; }
dialog .dlghead { position:sticky; top:0; z-index:1; background:white; }
@media (hover:hover) {
 .ranklead button:hover,.rankrow:hover { background:#f3eae3; }
 .document-table tr:has(button):hover td,.picking-table tbody tr:hover td { background:#faf7f8; }
}
@media (min-width:1600px) { .ranklead .photo {height:135px;} }
@media (max-width:780px) { .ranklead button {grid-template-columns:95px minmax(0,1fr);} .ranklead .photo {height:75px;} }
@media (max-width:620px) {
 .document-table,.picking-table { overflow:visible; }
 :is(.document-table,.picking-table) table,:is(.document-table,.picking-table) tbody { display:block; }
 :is(.document-table,.picking-table) thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 :is(.document-table,.picking-table) tbody tr { display:grid; align-items:center; gap:10px 8px; padding:12px 14px; border-top:1px solid var(--line); }
 :is(.document-table,.picking-table) tbody td { padding:0; border:0; text-align:left; min-width:0; }
 .document-table tbody tr { grid-template-columns:minmax(76px,1.2fr) minmax(45px,.85fr) repeat(2,minmax(0,1fr)); }
 .document-table td:first-child { grid-column:1 / 3; grid-row:1; }
 .document-table .linkbtn { max-width:100%; display:block; overflow:hidden; text-overflow:ellipsis; text-align:left; }
 .document-table td:nth-child(6) { grid-row:1; grid-column:3 / -1; text-align:right; }
 .document-table tr:has(td:nth-child(7) button) td:nth-child(6) { grid-column:3; }
 .document-table td:nth-child(7) { grid-row:1; grid-column:4; text-align:right; }
 .document-table td:nth-child(7):empty {display:none;}
 .document-table td:nth-child(n+2):nth-child(-n+5) { grid-row:2; }
 .document-table td:nth-child(n+2):nth-child(-n+5)::before,.picking-table td:nth-child(n+2):nth-child(-n+4)::before {
   content:attr(data-label); display:block; color:#766a70; font-size:10px; font-weight:400; margin-bottom:3px;
 }
 .document-table td:nth-child(4),.document-table td:nth-child(5),
 .picking-table td:nth-child(3),.picking-table td:nth-child(4) { text-align:right; }
 .document-table .btn {padding:4px 8px; min-height:32px;}
 .picking-table tbody tr {grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(0,1fr));}
 .picking-table td:first-child {grid-row:1;grid-column:1 / 3;}
 .picking-table td:last-child {grid-row:1;grid-column:3;text-align:right;}
 .picking-table td:nth-child(n+2):nth-child(-n+4) {grid-row:2;align-self:start;}
 .picking-table .pick-destination {white-space:normal;}
 .pick-switch button {min-height:33px;}
 .document-table+.pager,.pick-results>.pager {padding:9px 12px;}
 .dlghead .iconbtn {width:38px;min-height:38px;}
}
.stock-quantity{display:inline-block;padding:3px 5px;color:var(--wine);font-variant-numeric:tabular-nums;text-underline-offset:3px;text-decoration:underline;text-decoration-color:currentColor}
.stock-quantity:hover,.stock-quantity:focus-visible{background:#f3e9ec;border-radius:4px}

.related-docs {margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.related-docs summary {cursor:pointer;font-weight:600}
.related-docs[open] summary {margin-bottom:8px}
.related-docs > div {overflow-x:auto}
.dlgbody label.receipt-rate,.toolbar .ledger-date {display:flex;align-items:center;gap:8px;color:var(--soft);font-size:12px}
.dlgbody label.receipt-rate {margin:6px 0 0}
.dlgbody .receipt-rate input {width:7.5em;min-height:32px;margin:0}
.ledger-date input {min-width:0;border:1px solid var(--line);border-radius:6px;padding:6px;color:inherit;background:var(--panel,#fff)}
.return-lines td:first-child small{display:block}
.return-lines .return-qty{display:flex;align-items:center;gap:8px}
.return-lines .return-qty input[type="checkbox"]{width:18px;height:18px;min-height:0;margin:0;accent-color:var(--wine)}
.return-lines .return-qty input[type="number"]{width:4.5em;min-height:32px;margin:0}

.warehouse-stock-summary { display:flex; flex-wrap:wrap; gap:6px 24px; margin:0; border-top:1px solid var(--line); padding:10px 20px; font-size:12px; }
.warehouse-stock-summary div { display:flex; gap:8px; align-items:baseline; }
.warehouse-stock-summary dt {color:var(--soft);}
.warehouse-stock-summary dd {margin:0; font-weight:600; font-variant-numeric:tabular-nums;}

.merch-cards .product{display:flex;flex-direction:column;align-items:stretch;min-width:0;height:auto;padding:0;text-align:left;background:#fff}
.merch-cards .product>.photo{display:grid;place-items:center;position:relative;width:100%;height:auto;aspect-ratio:4 / 3;overflow:hidden;background:#f1eeea}
.merch-cards .photo .catalog-photo{display:grid;place-items:center;width:100%;height:100%;min-height:0;object-fit:cover}
.merch-cards .product>.details{display:flex;flex:1;flex-direction:column;align-items:stretch;position:static;min-width:0;padding:12px 14px;background:#fff}
.merch-cards .details strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.merch-cards .details>.mono{display:block;margin:3px 0 11px;color:#736971;font-size:12px;overflow-wrap:anywhere}
.merch-cards .split{margin-top:auto;gap:8px;flex-wrap:wrap}
.merch-cards .split small{color:#675f63;font-size:12px}
.catalog-layout{display:flex;gap:2px;align-items:center;margin-left:auto;padding:2px;background:#f4f0ef;border-radius:7px}
.catalog-layout button{font:inherit;font-size:13px;border-radius:5px;padding:6px 10px}
.catalog-layout [aria-pressed=true]{background:white;color:var(--wine);box-shadow:0 1px 3px #39252b20}
.catalog-table :is(th,td):nth-last-child(-n+2){text-align:right;font-variant-numeric:tabular-nums}
#content:has(.history-dates) #list-content td,#content .catalog-table td{font-size:14px}
#content:has(.history-dates) #list-content th,#content .catalog-table th{font-size:12px}
#content:has(.history-dates) #list-content :is(td,th){font-variant-numeric:tabular-nums}
#modal.product-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;overflow:auto}
#modal.product-drawer .dlghead{position:sticky;top:0;background:white;z-index:1}
.product-drawer .itemhero{display:flex;align-items:center;padding:18px 0 8px}
.product-drawer .itemhero .thumb{width:82px;height:82px;object-fit:cover}
.product-drawer .itemhero h3{font-size:21px;margin:4px 0}
.drawer-price{font-size:17px;color:var(--wine);font-weight:650}
.drawer-nav,.drawer-section{display:flex;justify-content:space-between;align-items:center;gap:8px}
.drawer-nav small,.drawer-section small{color:#6b6166;font-size:12px;font-weight:500}
.drawer-section{margin:24px 0 6px;font-size:15px}
.drawer-message{color:var(--wine);font-size:13px}
.product-drawer .foot-actions{justify-content:flex-end;flex-wrap:wrap}


.operator-account{overflow-wrap:anywhere}
.queue-jump{display:block;text-align:left;cursor:pointer;color:inherit;font:inherit}
.queue-jump .metric-value{display:block}
.queue-jump .caption{display:inline-flex;align-items:center;gap:5px}
.queue-jump .caption .ic{width:13px;height:13px}
#dispatch-orders{scroll-margin-top:14px}
#dispatch-orders:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
#dispatch-orders + .actiongrid{margin-top:14px}
.dispatch-total{margin-right:auto;align-self:center;padding:4px 10px;border-radius:6px;background:#f5eaed;color:var(--wine);font-size:13px}
.dispatch-total b{font-size:20px;font-variant-numeric:tabular-nums}
.dispatch-queue td:nth-child(1),.dispatch-queue td:nth-child(2){font-weight:650}
@media(min-width:761px){.dispatch-queue :is(td,th):nth-child(2),.dispatch-queue :is(td,th):nth-child(3){text-align:right}}

/* Surfaces and type shared by the retail workspaces. */
:root {
  --ink:#202124;
  --soft:#60636a;
  --line:#dfe0e3;
  --paper:#fff;
  --chrome:#f3f3f5;
  --rose:#f4ecef;
  --ui-medium:500;
  --control-edge:#d7d5d8;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI Variable Text","Segoe UI","PingFang SC","Microsoft YaHei UI",sans-serif;
}
.side { background:#29262d; border-color:#39353d; color:#f5f0ee; }
.brand { padding:27px 25px 22px; gap:6px; flex-shrink:0; }
.brand img { width:94px; filter:grayscale(1) invert(1) brightness(3) sepia(.8) saturate(1.8); mix-blend-mode:screen; }
.brand small { color:#cec3bb; letter-spacing:.13em; }
.nav { min-height:0; overflow-y:auto; padding:9px 11px; }
.nav-title { color:#c1b7bf; font-weight:400; letter-spacing:.04em; margin:14px 0 7px; }
.nav button { color:#e3dfe4; gap:10px; padding:9px 12px; margin-bottom:2px; }
.nav button .ic { color:#bfb5bf; stroke-width:1.55; }
.nav button:hover { background:#39353e; }
.nav button.on { color:#fff9f1; background:#49404b; font-weight:var(--ui-medium); box-shadow:inset 2px 0 #dcc29d; }
.nav button.on .ic { color:#f3d5ac; }
.nav button.on:after { content:none; }
.sidefooter { flex-shrink:0; padding:12px 16px; border-color:#504852; }
.side .profile { color:#faf6f5; }
.profile strong,.crumb b { font-weight:var(--ui-medium); }
.side .profile small,.side .profile>.ic { color:#c9c0c8; }
.side :is(.profile,.nav button):focus-visible { outline:2px solid #ffe4bf; outline-offset:-2px; }
.profile .avatar { background:#4d414e; color:#f5dcba; border-radius:9px; }
.main { background:#f7f6f4; }
@media (forced-colors:active) {
  .side .nav button.on { outline:2px solid Highlight; }
  .brand img { filter:none; mix-blend-mode:normal; }
}
.top { position:sticky; top:0; z-index:3; background:#fff; }
@supports (backdrop-filter:blur(12px)) {
  .top { background:rgb(255 255 255 / 93%); backdrop-filter:blur(12px); }
}
@media (prefers-reduced-transparency:reduce) { .top { background:white; backdrop-filter:none; } }
html { scroll-padding-top:72px; }
.titlebar h1,.studio-head h1 {
  color:var(--ink); font-weight:var(--ui-medium); letter-spacing:-.023em; line-height:1.24;
}
.panelhead h2,.sku-board-head h2,.subheading,.dlghead h2 {
  font-weight:var(--ui-medium); line-height:1.4; letter-spacing:-.014em;
}
.ranklead b,.feature-copy strong,.muted-highlight strong,.itemhero h3,
.actiontile b,.related-docs summary,.drawer-price,.picking-table td:nth-child(3),
.merch-cards .details strong,.merch-cards .price,.document-table td:nth-child(5),
.warehouse-stock-summary dd,.dispatch-queue td:nth-child(-n+2) { font-weight:var(--ui-medium); }
.rolebtn,select,.searchbox,.btn:not(.primary),.iconbtn { border-color:var(--control-edge); }
.top .rolebtn,.tools .btn,.dlgbody label,.btn { font-weight:var(--ui-medium); }
.actiongrid .actiontile { justify-content:flex-start; gap:10px; padding:13px 15px; font-weight:var(--ui-medium); line-height:1.45; }
.actiontile .ic:first-child { width:18px; height:18px; stroke-width:1.55; }
.actiontile .ic:last-child { color:var(--soft); width:13px; height:13px; }
.dispatch-total { display:inline-flex; align-items:baseline; gap:4px; background:var(--rose); padding:3px 9px; }
.dispatch-total b,.pick-results td b,.rolechoice b,.drawer-section,.kv b,.cartline-info b { font-weight:var(--ui-medium); }
.dispatch-total b { font-variant-numeric:tabular-nums; }
.rolechoice small,.productcell small { margin-top:2px; }
.product-drawer .itemhero { gap:14px; }
.product-drawer .itemhero h3 { font-weight:var(--ui-medium); line-height:1.35; letter-spacing:-.014em; overflow-wrap:anywhere; }
.drawer-nav { padding-bottom:12px; border-bottom:1px solid var(--line); }
.drawer-section { margin:22px 0 6px; line-height:1.4; }
.dlgbody .kv { align-items:baseline; padding-block:9px; }
.dlgbody .kv b { min-width:0; text-align:right; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.dlgbody .fieldrow>label { min-width:0; }
.dlgbody :is(input:not([type=checkbox],[type=radio]),select) { border-color:var(--control-edge); }
.dlgbody :is(input,select):focus-visible { outline:2px solid var(--wine); outline-offset:1px; }
.rolechoice:focus-visible,.actiontile:focus-visible { outline:2px solid var(--wine); outline-offset:2px; }
.titlebar .tools :is(select,.btn),.studio-tools>.btn {
  box-sizing:border-box; min-height:36px; line-height:1.35; border-radius:8px;
}
.titlebar .tools .ic,.top .rolebtn .ic { width:15px; height:15px; stroke-width:1.55; }
.metrics {
  gap:0; margin-bottom:22px; padding:8px 0 18px;
  border-bottom:1px solid var(--line);
}
.metrics .metric {
  min-height:0; padding:3px clamp(14px,2vw,30px); border:0;
  border-radius:0; background:transparent; color:var(--ink);
}
.metrics .metric+.metric { border-left:1px solid var(--line); }
.metrics .metric:first-child { padding-left:0; }
.metric.featured strong { color:var(--wine); }
.metrics .metric .metrichead,.metrics .metric .caption,.metrics .metrichead .ic,.featured .metric-value small { color:var(--soft); }
.metrics .metric .spark { display:none; }
.panel { border-color:var(--line); border-radius:11px; }
th { color:#51545b; background:#f6f6f7; font-weight:var(--ui-medium); }
td { font-variant-numeric:tabular-nums; }
@media (max-width:780px) {
  .metrics { padding:0; margin-bottom:15px; }
  .metrics .metric { padding:12px; }
  .metrics .metric:nth-child(odd) { border-left:0; padding-left:0; }
  .metrics .metric:nth-child(n+3) { border-top:1px solid var(--line); }
}
@media (max-height:660px) {
  .brand { padding-block:13px 6px; }
  .sidefooter { padding-block:8px; }
}

/* A shared finish for summary surfaces, and feedback for their native buttons. */
.content {
  --card-line:#d7d6d9;
  --card-light:inset 0 1px 0 rgb(255 255 255 / 95%), 0 2px 7px rgb(46 39 53 / 5%);
  --card-raised:inset 0 1px 0 white, 0 5px 14px rgb(46 39 53 / 12%);
  --card-surface:linear-gradient(115deg,#faf4f0 0%,#fff 42%,#f4f5f9 100%);
  --card-satin:linear-gradient(135deg,white 10%,#fcfbfa 58%,#f0eff3);
  --card-tint:linear-gradient(135deg,#ffffffed,#f5f3f8db);
}
.content :is(.metrics,.studio-figures,.supply-summary) {
  padding:clamp(14px,1.35vw,21px) clamp(15px,1.7vw,26px);
  border:1px solid var(--card-line); border-radius:14px;
  background:var(--card-surface); box-shadow:var(--card-light);
}
.overview-pair > .panel:is(.channel-panel,.hot-panel) {
  background:var(--card-satin); border-color:var(--card-line); box-shadow:var(--card-light);
}
.content button:is(.product,.counter-product,.sku-highlight,.actiontile) {
  background:var(--card-satin); border-color:var(--card-line); box-shadow:var(--card-light);
}
.content .merch-cards .product>.details,.content .counter-product .counter-copy {
  position:relative; margin-top:-12px; border-top:1px solid white;
  background:var(--card-tint);
}
.content .counter-product .counter-marker {
  border:1px solid rgb(255 255 255 / 85%); background:rgb(252 251 250 / 82%); color:#34242a;
}
.content .counter-product[data-selected=true] {
  border-color:var(--wine); box-shadow:inset 0 0 0 1px var(--wine);
}
.content .counter-product[data-selected=true] .counter-marker {
  background:var(--wine); color:white; border-color:var(--wine);
}
.hot-portrait { position:relative; display:inline-grid; flex:none; }
.content .hot-portrait .hot-rank {
  position:absolute; left:6px; bottom:6px; padding:2px 7px; border-radius:6px;
  border:1px solid rgb(255 255 255 / 85%); background:rgb(252 251 250 / 85%);
  color:#412d36; font-size:11px; line-height:1.45;
}
@supports (backdrop-filter:blur(8px)) {
  .content .hot-portrait .hot-rank,.content .counter-product .counter-marker,.content .merch-cards .product>.details {
    backdrop-filter:blur(8px);
  }
}
.content button:is(.actiontile,.product,.counter-product,.sku-highlight,.queue-jump,.hot-product) {
  cursor:pointer; transform:none;
}
.content button:is(.actiontile,.product,.counter-product,.sku-highlight,.queue-jump,.hot-product):focus-visible {
  outline:2px solid var(--wine); outline-offset:-3px;
}
@media (hover:hover) and (pointer:fine) {
  .content button:is(.actiontile,.product,.counter-product,.sku-highlight):hover {
    border-color:#99828b; box-shadow:var(--card-raised);
  }
  .content button:is(.queue-jump,.hot-product):hover { background-color:rgb(119 64 83 / 5%); }
  .content button.queue-jump:hover .caption,.content .hot-product:hover .hot-identity strong { color:var(--wine); }
}
.content button:is(.actiontile,.product,.counter-product,.sku-highlight,.queue-jump,.hot-product):active {
  box-shadow:inset 0 0 0 2px #936375; background-color:#f4edf0;
}
@media (prefers-reduced-motion:no-preference) {
  .content button:is(.actiontile,.product,.counter-product,.sku-highlight,.queue-jump,.hot-product) {
    transition:transform 140ms ease-out,box-shadow 140ms ease-out,border-color 140ms ease-out,background-color 140ms ease-out;
  }
  @media (hover:hover) and (pointer:fine) {
    .content button:is(.actiontile,.product,.counter-product,.sku-highlight):hover { transform:translateY(-2px); }
  }
  .content button:is(.actiontile,.product,.counter-product,.sku-highlight):active { transform:translateY(1px); }
}
@media (max-width:780px) {
  .content :is(.metrics,.studio-figures,.supply-summary) { padding:5px 14px; }
}
@media (prefers-reduced-motion:reduce) {
  .content button:is(.actiontile,.product,.counter-product,.sku-highlight,.queue-jump,.hot-product) { transition:none; }
}
@media (prefers-reduced-transparency:reduce),(forced-colors:active) {
  .content {
    --card-surface:Canvas; --card-satin:Canvas; --card-tint:Canvas;
    --card-light:none; --card-raised:none;
  }
  .content .hot-portrait .hot-rank,.content .counter-product .counter-marker,.content .merch-cards .product>.details {
    backdrop-filter:none; background:Canvas;
  }
}
@media (forced-colors:active) {
  .content button:is(.product,.counter-product,.sku-highlight,.actiontile) { border-color:ButtonText; }
  .content .counter-product[data-selected=true] .counter-marker { border:2px solid Highlight; }
  .content button:focus-visible { outline-color:Highlight; }
}

.wh-home {
  --wh-edge:#e0d8d9; --wh-muted:#695f64;
  display:grid; gap:18px; min-width:0;
}
.wh-overview,.wh-work { display:grid; gap:16px; min-width:0; }
.wh-overview { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.wh-work { grid-template-columns:minmax(0,2.8fr) minmax(232px,1fr); align-items:start; }
.wh-demand,.wh-stock { display:grid; align-items:center; border-radius:14px; padding:22px clamp(16px,1.6vw,26px); }
.wh-demand { grid-template-columns:minmax(125px,.83fr) minmax(0,1fr); gap:24px; color:#fffaf7; background:linear-gradient(110deg,#4e293d,#684155); }
.wh-demand :is(h2,h3,p),.wh-stock :is(h2,p) { margin:0; }
.wh-demand h2,.wh-stock h2 { display:flex; align-items:center; gap:8px; font:500 14px/1.4 var(--sans); }
.wh-demand h2 .ic,.wh-stock h2 .ic { width:16px; height:16px; }
.wh-demand h2 .ic { color:#eed3bd; }
.wh-total,.wh-figure { margin:8px 0; font:400 clamp(32px,2.7vw,47px)/1 var(--num); font-variant-numeric:lining-nums tabular-nums; }
.wh-total small,.wh-figure small { font:400 12px var(--sans); }
.wh-workload p,.wh-dest p { color:#eedee5; font-size:12px; }
.wh-dest { padding-left:22px; border-left:1px solid #ffffff40; min-width:0; }
.wh-dest h3 { color:#f9eff3; font:500 13px/1.5 var(--sans); }
.wh-dest ul { list-style:none; display:grid; gap:9px; max-height:96px; overflow:auto; margin:9px 0 0; padding:0 3px 1px 0; }
.wh-dest li { display:grid; grid-template-columns:minmax(0,1fr) minmax(24px,.8fr) auto; gap:8px; align-items:center; font-size:12px; }
.wh-dest li span { overflow-wrap:anywhere; }
.wh-dest li b { font-weight:500; font-variant-numeric:tabular-nums; }
.wh-dest li>i { height:4px; border-radius:3px; background:#ffffff33; }
.wh-dest li>i>i { display:block; height:100%; border-radius:inherit; background:#ebccaa; }
.wh-stock { grid-template-columns:1fr 1fr; border:1px solid var(--wh-edge); background:#fff; gap:20px; }
.wh-stock>div+div { border-left:1px solid var(--wh-edge); padding-left:clamp(15px,1.6vw,26px); }
.wh-stock h2 .ic { color:var(--wh-muted); }
.wh-stock .wh-figure { color:#382d33; font-size:clamp(27px,2.2vw,38px); }
.wh-stock .wh-alert { color:#8a551d; }
.wh-stock p,.wh-stock .linkbtn { color:var(--wh-muted); font-size:12px; }
.wh-stock .linkbtn:hover { color:var(--wine); }
.wh-home .panel { min-width:0; margin:0; }
.dispatch-list>.panelhead { padding-bottom:12px; }
.dispatch-list .pager { padding:9px 16px; }
.dispatch-list .filters.pick-switch { background:#f4eff0; }
.dispatch-list .filters.pick-switch button[aria-pressed=true] { background:white; color:var(--wine); border-color:var(--wh-edge); }
.wh-home th { background:#f8f5f4; color:var(--wh-muted); }
.dispatch-list .pill.gold { background:#faf0db; color:#775016; }
.wh-ledger .pill.green { background:#eaf2ee; color:#305f4b; }
.wh-ledger .pill.wine { background:#f5eaf0; color:var(--wine); }
.wh-tasks>div:last-child { padding:0 18px 8px; }
.wh-tasks button { width:100%; display:grid; grid-template-columns:auto 1fr auto; align-items:center; text-align:left; gap:12px; padding:12px 2px; border-top:1px solid var(--wh-edge); }
.wh-tasks button:hover { background:#f9f5f6; }
.wh-tasks button:focus-visible { outline:2px solid var(--wine); outline-offset:-2px; }
.wh-action-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#f2e9ec; color:var(--wine); }
.wh-tasks b,.wh-tasks small { display:block; }
.wh-tasks b { font-size:14px; font-weight:500; }
.wh-tasks small { margin-top:2px; font-size:12px; color:var(--wh-muted); }
.wh-tasks button>.ic { width:14px; color:var(--wh-muted); }
@media(max-width:1150px) {
  .wh-work { grid-template-columns:minmax(0,1fr); }
  .wh-tasks>div:last-child { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
}
@media(max-width:900px) { .wh-overview { grid-template-columns:minmax(0,1fr); } }
@media(max-width:640px) {
  .wh-home,.wh-overview,.wh-work { gap:12px; }
  .wh-demand,.wh-stock { padding:16px; gap:12px; }
  .wh-demand { grid-template-columns:minmax(105px,.76fr) minmax(0,1fr); }
  .wh-dest { padding-left:12px; }
  .wh-tasks>div:last-child { display:block; }
  .wh-stock h2,.wh-demand h2 { font-size:13px; }
}
@media(forced-colors:active) {
  .wh-demand,.wh-stock,.wh-dest li>i { border:1px solid CanvasText; }
  .wh-dest li>i>i { background:Highlight; forced-color-adjust:none; }
}
.content>.metrics:has(.featured) { overflow:hidden; padding:0; gap:0; background:white; }
.content>.metrics .metric { display:flex; flex-direction:column; align-items:start; justify-content:center; padding:18px clamp(13px,1.7vw,26px); min-width:0; }
.content>.metrics .metric.featured { background:#503442; color:white; }
.content>.metrics .metric.featured :is(.metrichead,.metrichead .ic,.caption,.metric-value strong,.metric-value small) { color:#fff9f7; }
.content>.metrics .queue-jump:hover { background:#674252; }
.content>.metrics .queue-jump:focus-visible { outline:2px solid white; outline-offset:-5px; }
.content .merch-cards { gap:19px 16px; }
.content .merch-cards .product { border:1px solid transparent; background:transparent; box-shadow:none; border-radius:9px; }
.content .merch-cards .product>.photo { aspect-ratio:1.35; border-radius:8px; }
.content .merch-cards .product>.details {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:start; align-items:baseline;
  gap:4px 8px; margin:0; padding:10px 2px 6px; border:0; background:transparent; backdrop-filter:none;
}
.merch-cards .details>.mono { margin:0; font-size:11px; }
.merch-cards .details .price { font:400 16px/1.2 var(--num); color:var(--wine); text-align:right; }
.catalog-stock { color:var(--soft); font-size:11px; text-align:right; }
.content .merch-cards:not(:has(img.catalog-photo)) .product>.photo { aspect-ratio:auto; height:52px; }
.content .merch-cards .product:is(:hover,:focus-visible) { border-color:#bba9af; box-shadow:none; }
@media(max-width:620px) {
  .content .merch-cards { gap:14px 9px; }
  .content .merch-cards .product>.details { grid-template-columns:minmax(0,1fr); gap:3px; }
  .merch-cards .details>.mono { grid-row:2; }
  .merch-cards .details .price,.catalog-stock { text-align:left; }
}
@media(forced-colors:active) {
  .content>.metrics .metric.featured { border:1px solid CanvasText; }
}

.staff-account-editor {max-width:40rem;margin-block:1rem;padding:clamp(18px,3vw,32px)}
.staff-account-editor + .journal-list[hidden] {display:none}
.staff-account-editor h2 {margin:1.3rem 0 .3rem}
.staff-identity {color:var(--soft);overflow-wrap:anywhere;margin:0 0 1.6rem}
.staff-identity strong {color:var(--ink);margin-inline-end:.4rem}
.staff-password-input {display:flex;gap:.5rem;margin:.45rem 0 1rem}
.staff-password-input input {flex:1;min-width:0}
.staff-logout {display:flex;align-items:center;gap:.4rem}
.staff-logout input {width:auto;accent-color:var(--wine)}
.staff-account-editor .dialogerror:empty {display:none}
.staff-advanced {margin-top:1.4rem;padding-top:1rem;border-top:1px solid var(--line)}
