:root{font-family:Inter,"SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111018;background:#1b1923;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding:6px 20px}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,select,input{border:1px solid #d8d6df;border-radius:8px;background:#fff;color:inherit}button{padding:10px 14px}button:hover:not(:disabled){background:#f3f0f9}a{color:inherit}.app{max-width:2200px;margin:auto;background:#eee;border:1px solid #dedce4;border-radius:32px 32px 0 0;min-height:calc(100vh - 6px);overflow:hidden}header{min-height:110px;padding:24px 28px;display:flex;align-items:center;gap:32px;background:#fff;border-bottom:1px solid #e0dfe4}.logo{font-size:38px;font-weight:800;text-decoration:none;letter-spacing:-1px}.section{font-size:16px;font-weight:650}.search{display:flex;align-items:center;border:1px solid #ceccd3;border-radius:36px;padding:6px;flex:1;max-width:610px;gap:14px}.search span{display:grid;place-items:center;border-radius:50%;width:44px;height:44px;background:#08070c;color:#fff;font-size:30px}.search input{border:0;background:transparent;min-width:0;flex:1;padding:8px 12px 8px 0}.search input::placeholder{color:#999}.catalog-link{margin-left:auto;text-decoration:none;color:#756f86;white-space:nowrap}.layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;padding:24px 28px}.layout.filters-collapsed{grid-template-columns:minmax(0,1fr)}aside{display:flex;flex-direction:column;gap:12px}.filters,.draft-card{background:#fff;border-radius:10px;padding:26px 24px}h1{font-size:19px;margin:0 0 8px}h2{font-size:17px;margin:0}.muted,.hint{color:#817b91}.hint{font-size:12px;line-height:1.6}.filters>.muted{font-size:12px;margin:0 0 28px}.filters label{display:block;font-weight:650;margin-top:22px}.filters select{display:block;width:100%;padding:12px 10px;margin-top:9px;font-weight:400}.filters select:disabled{color:#817b91;background:#f7f7f9;opacity:1}.stock-filters{display:grid;gap:4px;margin:28px -10px 16px}.stock-filters button{text-align:left;display:flex;justify-content:space-between;border:0;background:transparent;padding:13px 10px}.stock-filters span{color:#817b91}.stock-filters button[aria-pressed=true]{background:#edffb7;font-weight:650}.reset{border:0;padding-left:0;color:#817b91;font-size:12px}.draft-card strong{font-size:32px}.draft-card #download{width:100%;background:#b8fa18;border-color:#b8fa18;font-weight:650}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.stats section,.stats .stat-filter{background:#fff;border-radius:10px;min-height:126px;padding:24px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}.stats strong{font-size:34px;letter-spacing:-1px}.stats span{color:#817b91;font-size:13px}.table-panel{background:#fff;border-radius:10px;overflow:hidden}.notice{margin:0;padding:12px 28px;background:#f5f4f8;font-size:12px;color:#756f86;line-height:1.5}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;min-width:780px}th{font-size:12px;color:#817b91;padding:22px 18px;white-space:nowrap}td{padding:20px 18px;border-bottom:1px solid #eeeef1;background:#fafafa;font-size:13px}th:first-child{padding-left:28px;width:46%}td:first-child{padding-left:28px}.product{display:flex;align-items:center;gap:20px;min-width:260px}.photo{width:90px;height:66px;flex:none;object-fit:contain;color:#aaa}.placeholder{display:grid;place-items:center;font-size:12px;background:#f2f2f4;border-radius:6px}.product a{text-decoration:none;font-weight:700;line-height:1.5}.product a:hover{text-decoration:underline}.product small{display:block;color:#817b91;margin-top:4px;line-height:1.5}.badge{display:inline-block;border-radius:18px;background:#edffb7;color:#537007;font-weight:650;padding:7px 10px;white-space:nowrap}.badge.sales-badge{background:#deeee5;color:#214c3e}.badge.stock-total-badge{background:#edffb7;color:#537007}.badge.stock-total-badge.stock-zero-badge{background:#f2d1ca;color:#864b43}.badge.missing{background:#f0edf5;color:#817b91}.supplier-status{color:#817b91;font-size:12px}.quantity{width:85px;padding:10px;background:transparent}.empty{text-align:center;padding:48px 20px;color:#817b91}footer{padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#817b91;font-size:12px}.error{padding:20px 28px;color:#a52a35;background:#fff0f1}[hidden]{display:none!important}@media(min-width:1700px){.layout{grid-template-columns:340px minmax(0,1fr)}}@media(max-width:1100px){body{padding:6px}.layout{grid-template-columns:240px minmax(0,1fr);padding:16px}.filters,.draft-card{padding:20px 16px}header{gap:20px;padding:20px}.catalog-link{font-size:12px}.stats span{font-size:11px}}@media(max-width:760px){.app{border-radius:22px 22px 0 0}header{flex-wrap:wrap;gap:14px;min-height:0}.logo{font-size:29px}.section{font-size:14px}.search{order:4;flex-basis:100%;max-width:none}.catalog-link{font-size:11px}.layout{display:block;padding:12px}aside{margin-bottom:12px}.filters{padding:20px}.filters label{margin-top:16px}.stock-filters{grid-template-columns:1fr 1fr;margin:16px -8px 4px}.draft-card{padding:18px 20px}.draft-card p{margin:10px 0}.draft-card #download{width:auto}.stats{grid-template-columns:1fr 1fr}.stats section,.stats .stat-filter{min-height:100px}.stats strong{font-size:28px}.notice{padding-left:18px;padding-right:18px}}
.supplier-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.supplier-actions button{font-size:12px;padding:8px 10px}.supplier-actions button:first-child{color:#7550b7}.supplier-status small{display:block;margin-top:4px}dialog{border:1px solid #dedce4;border-radius:16px;padding:28px;width:min(520px,calc(100% - 24px));color:#111018}dialog::backdrop{background:#14121b80}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading button{font-size:24px;padding:2px 10px;border:0}dialog label{display:block;font-weight:650;margin:18px 0}dialog input,dialog select{display:block;width:100%;padding:12px;margin-top:8px}dialog #save-supplier{margin-top:24px;background:#b8fa18;border-color:#b8fa18;width:100%;font-weight:650}.form-error{color:#a52a35;font-size:13px;line-height:1.5}dialog a{font-size:12px;color:#7550b7}

.filters .supplier-only{font-size:12px;font-weight:400;display:flex;align-items:center;gap:7px}.supplier-only input{margin:0;accent-color:#7550b7}

.stats .stat-filter{border:1px solid transparent;opacity:1}.stats .stat-filter small{font-size:11px;color:#7550b7;margin-top:4px}.stats .stat-filter[aria-pressed=true]{background:#edffb7;border-color:#b8d781}.stats .stat-filter:disabled small{color:#817b91}.column-sort{border:0;background:transparent;padding:0;font-weight:700;color:inherit;white-space:nowrap}.column-sort span[aria-hidden]{display:none}.column-sort[aria-pressed=true]{color:#7550b7}@media(max-width:760px){.stats .stat-filter{min-height:100px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.brand-filter{position:relative}.brand-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:9px;padding:12px 10px;text-align:left}.brand-toggle #brand-summary,.brand-toggle #category-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-toggle.has-selection{background:#f3f0f9;border-color:#b8a4d6}.brand-panel{position:absolute;top:100%;left:0;right:0;z-index:10;margin-top:6px;padding:10px;background:#fff;border:1px solid #d8d6df;border-radius:10px}.brand-panel input[type=search]{width:100%;min-width:0;padding:10px;font-weight:400}.brand-clear{display:block;border:0;background:transparent;color:#7550b7;font-size:12px;padding:10px 4px}.brand-options{max-height:260px;overflow-y:auto;overscroll-behavior:contain}.filters .brand-option{display:flex;align-items:center;gap:10px;margin:0;padding:10px 8px;border-radius:6px;font-size:14px;font-weight:400;cursor:pointer;overflow-wrap:anywhere}.brand-option:hover{background:#f3f0f9}.brand-option:has(input:checked){background:#edffb7}.brand-option input{margin:0;width:16px;height:16px;flex:none;accent-color:#7550b7}.brand-panel .hint{margin:10px 4px}
.sales-heading,.sales-cell{text-align:center;padding-left:12px;padding-right:12px;min-width:64px;font-variant-numeric:tabular-nums}.sales-cell{font-weight:600;color:#4c4760}.revenue-heading,.revenue-cell{text-align:right;white-space:nowrap;min-width:140px;font-variant-numeric:tabular-nums}.revenue-cell{font-weight:600}table{min-width:1000px}
@media(min-width:1101px) and (max-width:1600px){th,td{padding-left:12px;padding-right:12px}th:first-child,td:first-child{padding-left:20px}.photo{width:70px}.product{gap:14px;min-width:240px}}

.product-details{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-top:6px;font-size:14px;line-height:1.5;color:#4c4760;font-weight:500}.copy-sku{border:0;border-radius:3px;background:transparent;padding:0;color:inherit;font:inherit;text-align:left;user-select:text}.copy-sku:hover:not(:disabled){background:transparent;color:#7550b7;text-decoration:underline}#copy-status:empty{display:none}
header{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,610px) minmax(0,1fr);gap:24px}.search{width:100%;justify-self:center}.refresh-all{justify-self:end;color:#7550b7;white-space:nowrap}.refresh-result{padding:16px 0;border-top:1px solid #dedce4}.refresh-result p{margin:8px 0;line-height:1.5;font-size:13px}.refresh-result input{font-size:13px}.refresh-result label{font-size:13px;margin:10px 0}.refresh-result[data-state="error"] p{color:#a52a35}.refresh-result[data-state="ready"] p{color:#537007}
@media(max-width:1100px){header{grid-template-columns:minmax(0,1fr) minmax(240px,1.5fr) minmax(0,1fr);gap:16px}.refresh-all{font-size:12px;padding:10px}.logo{font-size:28px}}
@media(max-width:760px){header{grid-template-columns:minmax(0,1fr) auto;gap:14px}.search{grid-column:1/-1;grid-row:2;max-width:none}.refresh-all{grid-column:2;grid-row:1;font-size:12px}.logo{font-size:27px}}
.stock-details-toggle,.sales-details-toggle{border:0;cursor:pointer;font-size:inherit;font-family:inherit;line-height:inherit}.stock-details-toggle:not(.stock-zero-badge):hover:not(:disabled),.stock-details-toggle:not(.stock-zero-badge)[aria-expanded=true]{background:#e1f69f}.stock-details{position:fixed;z-index:1000;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:12px 14px;border:1px solid #d8d6df;border-radius:8px;background:#fff;color:#111018;font-size:14px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}

.refresh-all{display:inline-flex;align-items:center;gap:12px}.refresh-copy{display:flex;flex-direction:column;align-items:flex-start;gap:4px}#refresh-updated{font-size:11px;font-weight:400;font-variant-numeric:tabular-nums}.refresh-icon{flex:none}@media(max-width:760px){.refresh-all{gap:7px;padding:9px}#refresh-updated{font-size:10px}}
#next:not(:disabled){background:#b8fa18;border-color:#b8fa18;color:#172100;font-weight:700}#next:hover:not(:disabled){background:#a5e315;border-color:#a5e315}#next:focus-visible{outline:2px solid #537007}footer #page{text-align:center}
.row-order-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.row-more{border:0;background:transparent;color:#817b91;padding:6px 8px;min-width:30px;font-size:24px;line-height:1;cursor:pointer}.row-more:hover,.row-more[aria-expanded=true]{color:#7550b7;background:#f1edf7}.row-more:focus-visible{outline:2px solid #7550b7;outline-offset:2px}.row-menu{position:fixed;z-index:1000;background:#fff;border:1px solid #d8d5df;border-radius:10px;padding:5px;max-width:calc(100vw - 16px)}.row-menu[hidden]{display:none}.row-menu button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:12px;color:#111018;white-space:nowrap}.row-menu button:before{content:'✓';display:inline-block;width:22px;visibility:hidden}.row-menu button[aria-checked=true]:before{visibility:visible;color:#7550b7}.row-menu button:hover,.row-menu button:focus-visible{background:#f1edf7}.product .discontinued-label{color:#7550b7;font-weight:600}
/* Keep the brand search focus flat. */
.brand-panel input[type=search]{-webkit-appearance:none;appearance:none;box-shadow:none}
.brand-panel input[type=search]:focus{outline:none;box-shadow:none;border-color:#7550b7}
.filters > label:first-child{margin-top:0}

.stock-options button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;text-align:left;padding:12px 8px;background:transparent}
.stock-options button:hover{background:#f3f0f9}.stock-options button[aria-pressed=true]{background:#edffb7;font-weight:650}.stock-options span{color:#817b91}

/* Warehouse refresh uses the Content exchange modal dimensions and dark palette. */
:is(#refresh-dialog,#table-dialog){width:min(91vw,calc(100vw - 96px));height:min(91dvh,calc(100dvh - 96px));max-width:calc(100vw - 96px);max-height:calc(100dvh - 96px);padding:0;overflow:hidden;border:1px solid #ffffff1f;border-radius:22px;background:#222;color:#eee;box-shadow:none;outline:none;color-scheme:dark}
:is(#refresh-dialog,#table-dialog)[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
:is(#refresh-dialog,#table-dialog)::backdrop{background:rgba(8,8,10,.72)}
:is(#refresh-dialog,#table-dialog) .dialog-heading{gap:18px;margin:0;padding:20px 24px 18px;border-bottom:1px solid #ffffff1a}
:is(#refresh-title,#table-title){font-size:20px;font-weight:600;line-height:1.3}
:is(#close-refresh,#close-table){flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#ffffff14;color:#eee;font-size:0;line-height:0;position:relative}
:is(#close-refresh,#close-table)::before,:is(#close-refresh,#close-table)::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:2px;border-radius:999px;background:currentColor}
:is(#close-refresh,#close-table)::before{transform:translate(-50%,-50%) rotate(45deg)}
:is(#close-refresh,#close-table)::after{transform:translate(-50%,-50%) rotate(-45deg)}
:is(#close-refresh,#close-table):hover{background:#ffffff24;color:#fff}
:is(#refresh-dialog,#table-dialog) .refresh-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 24px 24px}
:is(#refresh-dialog,#table-dialog) .hint{margin-top:0;color:#ffffffa6;font-size:13px}
#refresh-status{line-height:1.5;margin:16px 0 24px}
@media(min-width:761px){#refresh-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;align-items:start}#refresh-results .refresh-result{min-width:0}#refresh-results input{min-width:0;max-width:100%}}
:is(#refresh-dialog,#table-dialog) .refresh-result{padding:20px 0;border-color:#ffffff1f;overflow-wrap:anywhere}
:is(#refresh-dialog,#table-dialog) .refresh-result strong{font-size:16px;font-weight:600}
:is(#refresh-dialog,#table-dialog) .refresh-result p{color:#ffffffb3}
:is(#refresh-dialog,#table-dialog) .refresh-result[data-state="ready"] p{color:#b8df78}
:is(#refresh-dialog,#table-dialog) .refresh-result[data-state="error"] p{color:#ff9fa8}
:is(#refresh-dialog,#table-dialog) input{max-width:640px;background:#ffffff0a;border-color:#ffffff1f;color:#eee}
:is(#refresh-dialog,#table-dialog) input::file-selector-button{margin-right:12px;padding:8px 12px;border:0;border-radius:6px;background:rgba(110,67,210,.9);color:#fff;font:inherit;cursor:pointer}
:is(#refresh-dialog,#table-dialog) :focus-visible{outline:2px solid #b899f0;outline-offset:3px}
body:has(:is(#refresh-dialog,#table-dialog)[open]){overflow:hidden}
@media(max-width:900px){:is(#refresh-dialog,#table-dialog){width:calc(100vw - 24px);height:min(86dvh,820px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}:is(#refresh-dialog,#table-dialog) .dialog-heading{padding:18px 16px;gap:12px}:is(#refresh-title,#table-title){font-size:18px}:is(#refresh-dialog,#table-dialog) .refresh-body{padding:18px 16px 20px}}
/* Keep native choices accessible while matching the brand filter controls. */
.filters select,.filters .brand-toggle,dialog select{-webkit-appearance:none;appearance:none;min-height:44px;line-height:18px;border:1px solid #d8d6df;border-radius:8px;box-shadow:none;font-weight:400}
.filters select,dialog select{-webkit-appearance:none;appearance:none;padding:12px 34px 12px 10px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m4 5.5 3 3 3-3' fill='none' stroke='%23111018' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;cursor:pointer}
.filters .brand-toggle>span[aria-hidden="true"]{font-size:0;flex:none;width:14px;height:14px;position:relative}
.filters .brand-toggle>span[aria-hidden="true"]::after{content:"";position:absolute;width:5px;height:5px;top:3px;left:4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.filters select:hover:not(:disabled),dialog select:hover:not(:disabled){background-color:#f3f0f9}
.filters select:disabled,dialog select:disabled{cursor:default;background-color:#f7f7f9}
.price-cell{white-space:nowrap;text-align:right}
.price-sources,.price-source-options{display:none}
@media(min-width:768px){.price-single{display:none}.price-sources{display:grid;gap:6px}.price-sources-single{justify-items:end}.price-source-options{display:block;margin-top:16px;padding-top:16px;border-top:1px solid #ffffff1f}.price-source-options p{margin:0 0 8px;color:#ffffffa6}.price-source-options label:has(input:disabled){opacity:.65}.price-source{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-variant-numeric:tabular-nums}.price-source small{font-size:10px;font-weight:400;color:#817b91;text-align:left}.price-sources>.muted{font-size:10px;white-space:normal;max-width:170px}}
.cart-price-label{font-size:12px;color:#817b91;margin-bottom:4px}.draft-card .cart-price{font-size:24px;font-weight:700;margin:4px 0 12px}
/* Pine header palette, scoped to purchase page header. */
header{background:#214c3e;color:#fff;border-bottom-color:#214c3e}
header .logo,header .search input{color:#fff}
header .search{background:#2b5949;border-color:#668477}
header .search span{background:#183c30;color:#fff}
header .search input::placeholder{color:#e1ebe5;opacity:1}
header .refresh-all{background:transparent;border:0;color:#fff}
header .refresh-all:hover:not(:disabled){background:#2b5949}
header .search:focus-within{border-color:#fff}
header a:focus-visible,header button:focus-visible{outline:1px solid #fff}
header .search input:focus-visible{outline:none}

#supplier-note:empty{display:none}

header{grid-template-columns:minmax(160px,1fr) minmax(260px,610px) minmax(0,1fr) 44px;gap:20px}
header .cart-toggle{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:9px;background:transparent;color:#fff;border:1px solid #668477;border-radius:8px}
header .cart-toggle:hover{background:#2b5949}
#cart-badge{position:absolute;top:-7px;right:-7px;min-width:18px;padding:2px 4px;border-radius:12px;background:#b8fa18;color:#172100;font-size:11px;line-height:14px;font-weight:700}
#cart-dialog{padding:0;width:min(91vw,calc(100vw - 96px));height:min(91dvh,calc(100dvh - 96px));max-width:calc(100vw - 96px);max-height:calc(100dvh - 96px);border-radius:22px;overflow:auto}
@media(max-width:900px){#cart-dialog{width:calc(100vw - 24px);height:min(86dvh,820px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}}
#cart-dialog .draft-card{padding:24px}body:has(#cart-dialog[open]){overflow:hidden}
@media(max-width:900px){header{grid-template-columns:minmax(0,1fr) auto 44px;gap:12px}header .search{grid-row:2;grid-column:1/-1;max-width:none}header .refresh-all{grid-column:2}header .cart-toggle{grid-column:3;grid-row:1}}

.header-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;max-width:340px}
header .filters-toggle{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#fff}
header .filters-toggle:hover{background:#2b5949}
header .filters-toggle[aria-expanded="true"]{background:#2b5949}

/* Compact header actions; the search field opens below its icon. */
header{position:relative;grid-template-columns:minmax(160px,1fr) 44px auto 44px}
header .search{position:relative;display:block;width:44px;max-width:none;padding:0;border:0;background:transparent;grid-column:2;grid-row:1}
header #search-toggle{display:grid;place-items:center;width:44px;height:44px;padding:9px;border:0;border-radius:8px;background:transparent;color:#fff}
header #search-toggle:hover{background:#2b5949}
header .search input{position:absolute;z-index:10;right:0;top:calc(100% + 14px);width:min(610px,calc(100vw - 48px));height:44px;padding:10px 14px;border:1px solid #d8d6df;border-radius:8px;background:#fff;color:#111018;box-shadow:0 6px 18px #11101814;-webkit-appearance:none;appearance:none;color-scheme:light}
header .search input[hidden]{display:none}
header .search input::placeholder{color:#817b91}
header .search input:focus{outline:none;border-color:#7550b7;box-shadow:0 0 0 2px #7550b71a,0 6px 18px #11101814}
header .refresh-all{grid-column:3;grid-row:1}
header .cart-toggle{border:0;grid-column:4;grid-row:1}
@media(max-width:900px){header{grid-template-columns:minmax(0,1fr) 44px auto 44px;gap:12px}header .search{position:static;grid-column:2;grid-row:1}header .search input{position:absolute;top:calc(100% + 8px);left:12px;right:12px;width:calc(100% - 24px)}header .refresh-all{grid-column:3}header .cart-toggle{grid-column:4}}
@media(max-width:520px){header{grid-template-columns:1fr 44px 44px}header .logo{grid-column:1;grid-row:1}header .search{grid-column:2}header .cart-toggle{grid-column:3}header .refresh-all{grid-column:1/-1;grid-row:2;justify-self:end}}

/* Purchase filters occupy a full-width toolbar above the product table. */
.layout{grid-template-columns:minmax(0,1fr);gap:0;padding:0}
.layout>main{margin:12px 28px 24px}
.filters{padding:9px 28px;border-radius:0;background:#deeee5}
.filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:center}
.filter-fields>label,.filter-fields>.brand-filter>label{margin-top:0;font-size:12px;line-height:15px}
.filter-fields select,.filter-fields .brand-toggle{min-height:32px;margin-top:0;padding-top:6px;padding-bottom:6px;line-height:18px}
.filter-fields>*,.layout>main{min-width:0}
.filter-options{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;margin-top:4px}
.filter-checkboxes{display:flex;flex-direction:column;gap:2px;margin-top:8px;padding-top:8px;border-top:1px solid #dedbe6}
.filter-checkboxes .supplier-only{margin:0;padding:10px 8px;line-height:20px;font-size:14px;border-radius:6px;cursor:pointer}
.filter-checkboxes .supplier-only:hover{background:#f3f0f9}
.filter-checkboxes .supplier-only:focus-within{outline:1px solid #7550b7;outline-offset:-1px}
.filter-checkboxes input{flex-shrink:0}
.filter-options .reset{margin-left:auto;padding:0;line-height:16px}
.filters>#supplier-note{margin:2px 0 0;font-size:11px;line-height:14px}
.filters>#supplier-note:empty{display:none}
.header-title{max-width:none;justify-content:flex-start;gap:18px}
.header-title .logo{flex:none;margin-right:clamp(0px,7vw,140px)}
.selected-supplier{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.5;font-size:16px;font-weight:500}
@media(max-width:1100px){.header-title .logo{margin-right:0}.header-title{gap:12px}.filter-fields{gap:14px}}
@media(max-width:1000px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{padding:10px 12px}.layout>main{margin:12px}.header-title{flex-wrap:wrap;gap:8px 12px}.selected-supplier{flex-basis:100%;font-size:14px}.filter-options .reset{margin-left:0}}
@media(max-width:420px){.filter-fields{grid-template-columns:minmax(0,1fr)}}

header #search-toggle,header .cart-toggle{padding:6px}
header #search-toggle svg,header .cart-toggle svg{width:32px;height:32px}
@media(min-width:761px){header .refresh-icon{width:32px;height:32px}}

/* All purchase filter menus share the brand field's flat appearance. */
.filter-fields select,.filter-fields .brand-toggle{background-color:#deeee5;border-color:#b8cec1}
.filter-fields select:hover:not(:disabled),.filter-fields .brand-toggle:hover:not(:disabled),.filter-fields .brand-toggle.has-selection{background-color:#d3e7db;border-color:#aac6b6}
.filter-fields .brand-toggle:focus{outline:none;box-shadow:none;border-color:#7550b7}
.filter-fields .brand-toggle>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select-option,.stock-options button{display:flex;align-items:center;width:100%;gap:10px;padding:10px 8px;border:0;border-radius:6px;background:transparent;text-align:left;font-size:14px;font-weight:400;overflow-wrap:anywhere}
.select-option[aria-pressed=true],.stock-options button[aria-pressed=true]{background:#edffb7}
.select-option:hover:not(:disabled),.stock-options button:hover:not(:disabled){background:#f3f0f9}
.select-option:focus-visible,.stock-options button:focus-visible{outline:1px solid #7550b7;outline-offset:-1px;box-shadow:none}

/* Stock decision metrics: readable columns within the existing horizontal scroller. */
.metric-heading{min-width:150px;max-width:170px;text-align:right}
.metric-heading .column-sort{white-space:normal;text-align:right;line-height:1.4}
.metric-cell{text-align:right;font-variant-numeric:tabular-nums;min-width:150px;max-width:180px;font-weight:600}
.metric-unavailable{font-size:12px;font-weight:400;color:#817b91;line-height:1.5}
.metrics-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:16px 24px;border-bottom:1px solid #efedf2;font-size:13px}
.metrics-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap}
.metrics-controls input{width:70px;padding:7px 8px;border:1px solid #d8d6df;border-radius:6px;box-shadow:none}
#metrics-status{color:#817b91;font-size:12px;line-height:1.5}
@media(max-width:760px){.metrics-controls{padding:12px 16px}.metrics-controls label{white-space:normal}}
.supplier-check{display:inline-flex;width:18px;height:18px;flex:none;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:4px;margin-right:10px}.supplier-comparison{display:flex;flex-direction:column;gap:4px;margin:6px 0}.supplier-comparison small{font-size:12px;white-space:normal}.row-order-actions:has(.supplier-comparison){flex-wrap:wrap}
/* Minimal table launcher immediately before search. */
header .table-toggle{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:6px;background:transparent;color:#fff;border:0;border-radius:8px}
header .table-toggle:hover{background:#2b5949}
.filter-fields select:focus,.filter-fields .brand-toggle:focus{outline:none;box-shadow:none}
.filter-fields select:focus-visible,.filter-fields .brand-toggle:focus-visible{border-color:#7550b7}

/* Column visibility must override table and responsive display rules. */
.table-scroll th[hidden],.table-scroll td[hidden]{display:none!important}
#column-settings fieldset{border:0;padding:0;margin:0 0 28px;min-width:0}
#column-settings legend{font-size:17px;font-weight:600;margin-bottom:14px}
.column-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:18px}
#column-settings .column-option{display:flex;align-items:center;gap:10px;min-height:40px;margin:0;font-size:15px;cursor:pointer}
#column-settings input[type=checkbox]{width:19px;height:19px;margin:0;accent-color:#a783e7;flex-shrink:0}
#column-settings .hint{margin-top:12px}
#reset-columns{background:#39343f;color:#fff;border:1px solid #756783;padding:10px 14px}
#reset-columns:hover{background:#51435f}

.table-scroll table:has(th[hidden]){min-width:0}
.select-option[aria-checked=true][data-supplier-index="0"] .supplier-check{background:#8054c7;border-color:#8054c7;color:#fff}
.select-option[aria-checked=true][data-supplier-index="1"] .supplier-check{background:#c2f532;border-color:#c2f532;color:#294800}
th[data-supplier-index="0"],th[data-supplier-index="0"] .column-sort{color:#8054c7}
th[data-supplier-index="1"]{color:#537007}
.supplier-stock-cell{min-width:130px}
.supplier-stock-cell[data-supplier-index="0"] .badge:not(.missing){background:#eee5fc;color:#6941a5}
.supplier-stock-cell[data-supplier-index="1"] .badge:not(.missing){background:#edffb7;color:#537007}
.select-option[aria-checked=true][data-supplier-index="0"]{background:#eee5fc}
.select-option[aria-checked=true][data-supplier-index="1"]{background:#edffb7}

header{grid-template-columns:minmax(160px,1fr) 44px 44px auto 44px 44px}
header .table-toggle{grid-column:2;grid-row:1}
header .search{grid-column:3}
header .refresh-all{grid-column:4}
header .cart-toggle{grid-column:5}
@media(max-width:900px){header{grid-template-columns:minmax(0,1fr) 44px 44px auto 44px 44px}}
@media(max-width:520px){header{grid-template-columns:minmax(0,1fr) 44px 44px 44px 44px}header .cart-toggle{grid-column:4}header .refresh-all{grid-column:1/-1;grid-row:2}}

/* Stock recommendation controls belong to table settings. */
#table-dialog .metrics-controls{padding:0 0 20px;margin-bottom:20px;border-color:#ffffff1f}
#table-dialog #metrics-status{flex-basis:100%;color:#ffffffa6}

/* Keep expanded search in the header flow, clear of the filter toolbar. */
header:has(#search:not([hidden])){grid-template-columns:minmax(160px,1fr) 44px minmax(280px,500px) auto 44px 44px}
header .search:has(input:not([hidden])){display:flex;align-items:center;gap:8px;width:100%;min-width:0}
header .search input{position:static;width:100%;min-width:0;flex:1;order:-1;box-shadow:none}
header #search-toggle{flex-shrink:0}
header:has(#search:not([hidden])) .selected-supplier{display:none}
header:has(#search:not([hidden])) .header-title .logo{margin-right:0}
@media(max-width:1100px){
  header:has(#search:not([hidden])){grid-template-columns:minmax(0,1fr) 44px 44px auto 44px 44px}
  header .search:has(input:not([hidden])){display:contents}
  header .search input{grid-column:1/-1;grid-row:2;left:auto;right:auto;top:auto;width:100%;order:initial}
  header #search-toggle{grid-column:3;grid-row:1}
}
@media(max-width:520px){
  header:has(#search:not([hidden])){grid-template-columns:minmax(0,1fr) 44px 44px 44px 44px}
  header .search input{grid-row:3}
}

#table-dialog .metrics-controls label{gap:.25em}
#table-dialog #target-days{width:3ch;min-width:1ch;padding:0;line-height:inherit;border-radius:0;margin:0;border:0;background:transparent;color:#cda8ff;box-shadow:none;appearance:textfield;-moz-appearance:textfield}
#table-dialog #target-days::-webkit-inner-spin-button,#table-dialog #target-days::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#table-dialog #metrics-status:empty{display:none}

/* Keep page controls available while browsing a long product list. */
@media(min-width:761px){.app{border:0}}
.app{overflow:clip}
.app>header{position:sticky;top:0;z-index:30;border-radius:inherit}

.app>header{--header-corner:32px}
.app>header.is-pinned::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at bottom right,transparent calc(var(--header-corner) - .5px),#1b1923 var(--header-corner)) top left,radial-gradient(circle at bottom left,transparent calc(var(--header-corner) - .5px),#1b1923 var(--header-corner)) top right;background-size:var(--header-corner) var(--header-corner);background-repeat:no-repeat}
@media(max-width:760px){.app>header{--header-corner:22px}}
.sticky-table-head{position:fixed;z-index:25;overflow:hidden;background:#fff;border-bottom:1px solid #eeeef1}
.sticky-table-viewport{overflow:hidden}
.table-scroll th,.table-scroll .column-sort,.sticky-table-head th,.sticky-table-head .column-sort{font-weight:400}
.sticky-table-head table{table-layout:fixed;min-width:0;margin:0}
.sticky-table-head th{background:#fff;color:#817b91;padding-top:10px;padding-bottom:10px}
.table-scroll [data-sort="daysSinceSale"],.sticky-table-head [data-sort="daysSinceSale"]{white-space:nowrap}
.sticky-table-head .sticky-supplier-heading button{color:#7550b7}

#table-dialog .table-dialog-actions{display:flex;align-items:center;gap:16px;flex:none}
#table-dialog #reset-columns{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#eee;line-height:0}
#table-dialog #reset-columns:hover{background:#ffffff24;color:#fff}
#table-dialog #reset-columns:focus-visible{outline:2px solid #cba6f7;outline-offset:2px}
/* Use one regular text style throughout the table settings body. */
#table-dialog .refresh-body,
#table-dialog .refresh-body :is(label,legend,input,button,.hint,.metrics-controls,.column-option,#metrics-status){font-size:15px;font-weight:400}

/* Table settings: aligned groups instead of stretched option rows. */
#table-dialog{width:min(1280px,calc(100vw - 48px));height:min(720px,calc(100dvh - 48px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px)}
#table-dialog .refresh-body{padding:24px}
#table-dialog .metrics-controls{padding:0 0 24px;margin:0 0 28px;gap:12px}
#table-dialog #column-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
#table-dialog #column-settings fieldset{min-width:0;margin:0;padding:0 24px;border:0;border-left:1px solid #ffffff1f}
#table-dialog #column-settings fieldset:first-child{padding-left:0;border-left:0}
#table-dialog #column-settings fieldset:last-child{padding-right:0}
#table-dialog #column-settings legend{float:left;width:100%;padding:0;margin:0 0 18px;color:#cda8ff;line-height:24px}
#table-dialog .column-options{clear:both;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:0}
#table-dialog #column-settings .column-option{min-height:44px;padding:8px 0;margin:0;gap:10px;line-height:22px;align-items:flex-start;overflow-wrap:anywhere}
#table-dialog #column-settings input[type=checkbox]{margin-top:2px}
#table-dialog #column-settings fieldset>.column-option{margin-top:16px;padding-top:20px;border-top:1px solid #ffffff1f}
#table-dialog #column-save-status{margin:20px 0 0}
#table-dialog #column-save-status:empty{display:none}
@media(max-width:1000px){
 #table-dialog #column-settings{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
 #table-dialog #column-settings fieldset:nth-child(odd){border-left:0;padding-left:0}
 #table-dialog #column-settings fieldset:nth-child(even){padding-right:0}
 #table-dialog #column-settings fieldset:nth-child(n+3){border-top:1px solid #ffffff1f;padding-top:24px}
}
@media(max-width:600px){
 #table-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 #table-dialog .refresh-body{padding:20px 16px}
 #table-dialog #column-settings{grid-template-columns:minmax(0,1fr);gap:24px}
 #table-dialog #column-settings fieldset{padding:24px 0 0;border-left:0;border-top:1px solid #ffffff1f}
 #table-dialog #column-settings fieldset:first-child{padding-top:0;border-top:0}
 #table-dialog #column-settings legend{margin-bottom:12px}
}

/* Primary supplier selection and a separate comparison action. */
.supplier-option-row{display:flex;align-items:center;gap:4px}
.supplier-option-row .select-option{flex:1;min-width:0}
.supplier-compare{display:flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;padding:8px;border:0;border-radius:6px;background:transparent;color:#777184}
.supplier-compare:hover:not(:disabled){background:#f3f0f9;color:#8054c7}
.supplier-compare[aria-pressed=true]{background:#edffb7;color:#537007}
.supplier-compare:disabled{visibility:hidden}
.supplier-compare:focus-visible{outline:1px solid #7550b7;outline-offset:-1px}

.supplier-compare[aria-pressed=true]:hover:not(:disabled){background:#edffb7;color:#537007}

/* Keep product actions in a dedicated trailing column. */
.row-actions-cell{width:46px;min-width:46px;text-align:right;white-space:nowrap}
/* More breathing room around the table settings content. */
#table-dialog .dialog-heading{padding:32px 48px 28px}
#table-dialog .refresh-body{padding:32px 48px 40px}
@media(max-width:600px){#table-dialog .dialog-heading{padding:24px}#table-dialog .refresh-body{padding:24px 24px 32px}}

/* Start dialog focus on its heading, without highlighting an action. */
#table-dialog #table-title:focus{outline:none}

/* Rating dialog follows the dark purchase settings palette. */
.rating-cell{white-space:nowrap}
.rating-cell .rating-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:0 5px;border:0;border-radius:0;background:transparent;color:#85818f;font-size:15px;font-weight:500;font-variant-numeric:tabular-nums;box-shadow:none;transition:color 140ms ease}
.rating-trigger .rating-number{color:#24252c}
.rating-trigger .rating-star{flex:none;width:18px;height:18px;fill:none;transition:fill 140ms ease,transform 140ms ease}
.rating-cell .rating-trigger:hover:not(:disabled){background:transparent;color:#285e4c}
.rating-trigger:hover:not(:disabled) .rating-star{fill:#dcece5;transform:translateY(-1px)}
.rating-cell .rating-trigger.has-rating{color:#285e4c}
.rating-trigger.has-rating .rating-star,.rating-trigger.has-rating:hover:not(:disabled) .rating-star{fill:currentColor}
@media(prefers-reduced-motion:reduce){.rating-cell .rating-trigger,.rating-trigger .rating-star{transition:none}}
#rating-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;background:#222;color:#eee;border:1px solid #ffffff1f;border-radius:22px;box-shadow:none;color-scheme:dark}
#rating-dialog::backdrop{background:rgba(8,8,10,.72)}
.rating-heading{display:flex;align-items:flex-start;gap:16px}
#rating-title{flex:1;min-width:0;margin:0;overflow-wrap:anywhere;font-size:20px;line-height:1.4}
#rating-dialog #rating-close{flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:transparent;color:#b9b6c2;font-size:30px;line-height:1}
#rating-dialog #rating-close:hover:not(:disabled){background:#ffffff12;color:#fff}
#rating-votes{list-style:none;padding:0;margin:20px 0;max-height:28vh;overflow:auto}
#rating-votes li{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #ffffff1f;white-space:normal}
#rating-votes li span{overflow-wrap:anywhere;min-width:0}#rating-votes strong{white-space:nowrap;color:#b8fa18}
#rating-picker{border:0;padding:0;margin:24px 0 0;min-width:0}
.rating-value{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 18px}
#rating-value{font-size:22px;font-weight:650;color:#b8fa18}
#rating-clear{border:0;background:transparent;color:#b9b6c2;font-size:12px;padding:6px 0}
#rating-clear:hover:not(:disabled){background:transparent;color:#fff}
#rating-range{--rating-progress:0%;display:block;width:100%;height:28px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;appearance:none;-webkit-appearance:none;cursor:pointer}
#rating-range::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,#b8fa18 var(--rating-progress),#55515e var(--rating-progress))}
#rating-range::-moz-range-track{height:6px;border-radius:3px;background:linear-gradient(to right,#b8fa18 var(--rating-progress),#55515e var(--rating-progress))}
#rating-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-8px;border:2px solid #222;border-radius:50%;background:#b8fa18;box-shadow:none}
#rating-range::-moz-range-thumb{width:18px;height:18px;border:2px solid #222;border-radius:50%;background:#b8fa18;box-shadow:none}
#rating-scale[data-empty=true] #rating-range::-webkit-slider-thumb{background:#88838f}
#rating-scale[data-empty=true] #rating-range::-moz-range-thumb{background:#88838f}
.rating-ticks{display:flex;justify-content:space-between;margin:2px -9px 0}
#rating-dialog .rating-ticks button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:transparent;color:#b9b6c2;font-size:16px}
#rating-dialog .rating-ticks button[aria-pressed=true]{background:#b8fa1826;color:#b8fa18;font-weight:700}
#rating-dialog .rating-ticks button:hover:not(:disabled){background:#ffffff12;color:#fff}
#rating-status{color:#c9c5d0;font-size:13px;line-height:1.5;min-height:20px;margin:18px 0 0}
#rating-status:empty,#rating-votes:empty{display:none}
#rating-retry{margin-top:8px;border:1px solid #ffffff30;background:transparent;color:#eee}
#rating-dialog :focus-visible{outline:2px solid #b8fa18;outline-offset:3px}
#rating-picker:disabled{opacity:.55}


/* Shared ContentDS account, after the purchase cart. */
header .account-toggle{grid-column:6;grid-row:1;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff}
.account-avatar{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff80;border-radius:50%;overflow:hidden;background:#ffffff14;font-size:17px;font-weight:700;line-height:1}
.account-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.account-avatar svg{width:24px;height:24px}
header .account-toggle:hover:not(:disabled){background:#ffffff14}
#account-submit{width:100%;background:#b8fa18;border-color:#b8fa18;color:#172100;font-weight:650}
#account-display-name{font-size:20px;font-weight:650;overflow-wrap:anywhere}
#account-dialog .hint{line-height:1.5}
@media(max-width:520px){header .account-toggle{grid-column:5}}

/* Desktop profile uses the Content right-side menu. Login/mobile stay compact. */
.account-navigation{display:none}
#account-section-list{max-height:55vh;overflow:auto;margin:20px 0}
.account-section-row{padding:16px 0;border-bottom:1px solid #dedce4}
.account-section-row strong{display:block;overflow-wrap:anywhere}
.account-section-row p{margin:6px 0 0;line-height:1.5}
@media(min-width:761px){
 #account-dialog.account-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(400px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;padding:26px 30px 32px;border:0;border-left:1px solid #ffffff1a;border-radius:0;background:#333;color:#f9f9f9;box-shadow:none;overflow-y:auto;animation:account-slide-in .22s ease-out}
 #account-dialog.account-drawer[open]{display:flex;flex-direction:column}
 .account-drawer .dialog-heading{min-height:44px;margin:0 0 26px}
 .account-drawer #account-title{font-size:18px}
 .account-drawer #account-close{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;font-size:36px;font-weight:300;line-height:1}
 .account-drawer #account-profile:not([hidden]){display:flex;flex-direction:column;flex:1}
 .account-drawer #account-display-name{margin:0 18px 24px;font-size:20px}
 .account-drawer .account-session-note{display:none}
 .account-drawer .account-navigation{display:grid;gap:8px}
 .account-drawer .account-navigation button,.account-drawer #account-logout{width:100%;min-height:46px;padding:12px 18px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;font:inherit;font-weight:750}
 .account-drawer #account-logout{margin-top:auto}
 .account-drawer :is(.account-navigation button,#account-logout,#account-close):hover{background:#f9f9f91f}
 .account-drawer :is(.account-navigation button,#account-logout,#account-close):focus-visible{outline:2px solid #ccc;outline-offset:2px}
 body:has(#account-dialog.account-drawer[open]){overflow:hidden}
 @keyframes account-slide-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
}
@media(prefers-reduced-motion:reduce){#account-dialog.account-drawer{animation:none}}


/* Statistics entry in the desktop purchase header. */
header .statistics-toggle,.purchase-summary{display:none}
@media(min-width:761px){
 header,header:has(#search:not([hidden])){grid-template-columns:minmax(160px,1fr) 44px 44px 44px auto 44px 44px}
 header .statistics-toggle{grid-column:2;grid-row:1;display:grid;place-items:center;width:44px;height:44px;padding:6px;background:transparent;color:#fff;border:0;border-radius:8px}
 header .statistics-toggle:hover,header .statistics-toggle[aria-pressed=true]{background:#2b5949}
 .purchase-summary{display:table-row}
 :is(.table-scroll,.sticky-table-head) .purchase-summary>*{background:#edf5f0;color:#214c3e;font-weight:650;padding-top:12px;padding-bottom:12px;border-top:1px solid #deeee5;border-bottom:1px solid #deeee5;white-space:nowrap;font-variant-numeric:tabular-nums}
 header .table-toggle{grid-column:3}
 header .search,header #search-toggle{grid-column:4}
 header .refresh-all{grid-column:5}
 header .cart-toggle{grid-column:6}
 header .account-toggle{grid-column:7}
}
@media(min-width:1101px){
 header:has(#search:not([hidden])){grid-template-columns:minmax(160px,1fr) 44px 44px minmax(280px,500px) auto 44px 44px}
}
@media(min-width:761px) and (max-width:1100px){
 header,header:has(#search:not([hidden])){grid-template-columns:minmax(0,1fr) 44px 44px 44px auto 44px 44px}
}

.badge.sales-details-toggle:hover:not(:disabled),.badge.sales-details-toggle[aria-expanded=true]{background:#cce3d8}
.sales-breakdown-settings{margin-top:16px;padding-top:20px;border-top:1px solid #ffffff1f}
.sales-breakdown-settings>summary{cursor:pointer;line-height:24px;color:#cda8ff}
.sales-breakdown-settings[open]>summary{margin-bottom:20px}
.sales-breakdown-controls{clear:both;display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.sales-breakdown-controls>select{width:110px;color:#222;background:#fff;border:1px solid #d8d6df}
.sales-breakdown-options{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}

/* Match the backing paint to the header so antialiased corners stay green. */
.app{border:0;background:linear-gradient(to bottom,#214c3e 0 32px,#eee 32px 100%)}

/* Warehouse update dates are shown in the desktop refresh dialog. */
#refresh-last-updated,.refresh-timestamp{display:none}
@media(min-width:768px){
 #refresh-last-updated{display:block;margin-left:auto;color:#bbb;font-size:13px;text-align:right}
 #refresh-results .refresh-result{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-content:start}
 #refresh-results .refresh-result>strong,#refresh-results .refresh-result>label{grid-column:1/-1}
 #refresh-results .refresh-timestamp{display:block;grid-column:2;grid-row:2;align-self:center;color:#bbb;font-size:13px}
}
