.placement-tabs button{display:flex;align-items:center;gap:10px;min-height:65px}.placement-tabs .placement-name{font-size:20px;color:inherit;font-weight:800;margin:0;white-space:nowrap}.placement-name [data-placement-count]{font-size:12px;font-weight:500;margin-left:5px;color:#8b939c}.midnight-countdown{font-size:11px;font-weight:650;background:#fff0e8;color:#bc5430;border-radius:6px;padding:5px 7px;white-space:nowrap;font-variant-numeric:tabular-nums}.grade-control{display:flex;justify-content:flex-end;margin-top:3px}.grade-control select{min-height:40px;font-size:12px}.listing-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 12px}.listing-controls .view-options{margin:0;gap:4px}.view-options button{width:44px;height:44px;min-height:44px;padding:10px;display:grid;place-items:center}.view-options .icon{width:20px;height:20px}.listing-controls .sort-buttons{display:flex;gap:3px}.listing-controls [data-sort]{min-height:44px;padding:6px 9px;font-size:12px}.listing-controls [data-sort][aria-pressed=true]{color:var(--accent);font-weight:750}
.layout-list .deal-card{padding:14px 0}.layout-list .product-option{font-size:12px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.layout-list .shop-reviews{font-size:11px}.layout-list .card-actions{border:0;padding:0;margin:0;justify-content:flex-end}.layout-list .price-block{margin:6px 0 3px}.layout-list .price{font-size:23px}.layout-list .deal-report-actions{margin-top:0}.layout-list .card-body{display:flex;flex-direction:column}.layout-list .buy-button{min-height:44px}.layout-list .product-image{border-radius:10px}
.layout-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px;align-items:start}.layout-grid .deal-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid #e7eaed;border-radius:13px;background:#fff;min-width:0;height:100%}.layout-grid .product-image{width:100%;height:auto;aspect-ratio:1/1;display:block;border-radius:0;flex:none}.layout-grid .thumbnail-content{width:100%;height:100%}.layout-grid .card-body{padding:13px 12px 8px;display:flex;flex-direction:column;flex:1;min-width:0}.layout-grid .card-meta{gap:4px 7px;margin-bottom:6px;min-height:18px}.layout-grid .grade,.layout-grid .grade-symbols{font-size:11px;letter-spacing:0}.layout-grid .product-title{font-size:15px;line-height:1.5;min-height:45px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:normal}.layout-grid .product-option{font-size:11px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.layout-grid .shop-reviews{font-size:11px}.layout-grid .price-block{margin:9px 0 4px}.layout-grid .price{font-size:24px}.layout-grid .price small{font-size:14px}.layout-grid .effective{font-size:11px}.layout-grid .effective span{font-size:10px}.layout-grid .shipping{font-size:11px}.layout-grid .card-actions{border:0;margin-top:auto;padding:4px 0 0;display:flex;justify-content:flex-end;flex-wrap:nowrap}.layout-grid .buy-button{font-size:12px;min-height:44px;gap:4px}.layout-grid .check-overlay{font-size:25px}.layout-grid .deal-report-actions{gap:2px;justify-content:space-between;margin-top:0;flex-wrap:wrap}.layout-grid .deal-report-actions button{font-size:10px;padding:6px 3px;min-height:44px}
.order-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:12px;background:#f0f3f7;border-radius:10px;margin:12px 0}.order-toolbar>span{font-size:12px;font-weight:750;margin-right:5px}.order-toolbar button{min-height:44px;background:#fff;border:1px solid #dce1e8;border-radius:7px;padding:6px 10px;font-size:12px}.order-toolbar p{flex-basis:100%;font-size:12px;color:#6b7787;line-height:1.6;margin-top:2px}.order-controls{grid-column:2;display:flex;align-items:center;gap:6px;margin:3px 0 9px}.order-controls button{width:44px;min-height:44px;background:#f5f7f9;border:1px solid #dbe0e7;border-radius:7px;font-size:20px;line-height:1}.order-controls [data-order-handle]{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.order-controls [data-order-handle]:active{cursor:grabbing}.admin-deal.dragging{opacity:.45}.admin-deal.drop-before{box-shadow:0 -4px 0 #e9333e}.admin-deal.drop-after{box-shadow:0 4px 0 #e9333e}.admin-deal.no-product-selection .order-controls{grid-column:1}.state-archived{background:#eceaf2;color:#756982}
@media(max-width:1023px){.layout-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:767px){.placement-tabs button{flex:1;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;padding:10px 4px;min-height:83px}.placement-tabs .placement-name{font-size:18px}.midnight-countdown{font-size:10px;padding:4px 6px}.listing-controls{gap:6px;margin-top:12px}.listing-controls [data-sort]{padding:6px 7px}.layout-list .product-image{width:84px;height:84px}.layout-list .price{font-size:22px}.order-controls{grid-column:1/-1;justify-content:flex-start}.order-toolbar{padding:10px;gap:5px}.order-toolbar button{padding:6px 8px}}
@media(max-width:600px){.layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.layout-grid .card-body{padding:10px 9px 5px}.layout-grid .product-title{font-size:13px;min-height:39px}.layout-grid .price{font-size:21px}.layout-grid .grade{flex-basis:100%;gap:3px;font-size:10px}.layout-grid .grade-symbols{font-size:10px}.layout-grid .merchant{font-size:11px}.layout-grid .card-meta{min-height:36px}.layout-grid .check-overlay{font-size:21px}.layout-grid .buy-button{font-size:11px}}
@media(max-width:319px){.layout-grid{grid-template-columns:minmax(0,1fr)}.placement-tabs .placement-name{font-size:15px}.midnight-countdown{font-size:9px}.listing-controls{flex-wrap:wrap}}

/* Grade choices remain independent; legacy grade 1 only appears for old links. */
.filter-groups{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;margin-top:9px}.filters .filter-chips{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:0;overflow:visible;min-width:0}.filter-chips button{font-size:12px;padding:7px 10px;min-height:40px;border:1px solid transparent;border-radius:18px;color:#636b77;white-space:nowrap}.filter-chips button[aria-pressed=true]{background:#fff0f1;color:#ac2736;border-color:#efc8cc;font-weight:750}.filter-chips button:hover:not([aria-pressed=true]){background:#eceff2}.filter-chips button:active{background:#f7dce0}.filter-groups .grade-tabs{justify-content:flex-end}.order-toolbar [role=group]{display:flex;flex-wrap:wrap;gap:6px}.order-toolbar [data-order-tab][aria-pressed=true]{background:#fdebed;color:#a82739;border:2px solid #c84251;font-weight:800}.order-toolbar [data-order-tab]:hover:not([aria-pressed=true]){background:#f3f5f8;border-color:#aeb8c6}.order-toolbar [data-order-refresh]{width:auto;height:auto;flex:0 0 auto;white-space:nowrap;padding:6px 10px}.order-toolbar [data-order-refresh] .icon{width:20px;height:20px}.grade-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.grade-picker label:has(input:disabled){grid-column:1/-1;cursor:default}.grade-picker input:disabled+span{font-size:12px;flex-direction:row;flex-wrap:wrap;background:#f1f2f4;color:#5c6572;border-color:#dce0e5}
.deal-card .deal-report-actions{border:0;padding-top:3px;padding-bottom:3px;gap:6px;flex-wrap:wrap}.deal-card .deal-report-actions button{display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:999px;border:1px solid #f0d9cc;background:#fff1e8;color:#87503b;min-height:36px;padding:6px 9px;font-size:11px;line-height:1.25}.deal-card .deal-report-actions button[data-report=soldout]{background:#f1edfb;border-color:#e0d7f1;color:#655082}.deal-card .deal-report-actions .icon{width:13px;height:13px;flex:none}.deal-report-actions button span{white-space:nowrap}.deal-card .deal-report-actions button:hover:not(:disabled){filter:brightness(.96);text-decoration:none}.deal-card .deal-report-actions button:active:not(:disabled){filter:brightness(.92)}.deal-card .deal-report-actions button:focus-visible{outline:3px solid #59667c;outline-offset:2px}.deal-card .deal-report-actions button:disabled{opacity:1;cursor:default}.deal-card .deal-report-actions button[aria-busy=true]{opacity:.7;cursor:wait}.deal-card .deal-report-actions button[aria-pressed=true]{background:#edf4ed;border-color:#d7e6d7;color:#466449}.deal-card .deal-report-actions button[data-report-state=failed]{border-style:dashed}.layout-grid .deal-report-actions{justify-content:flex-end}.layout-grid .deal-report-actions button{font-size:10px;padding:6px 7px}
@media(max-width:767px){.filter-groups{flex-direction:column;align-items:stretch;gap:9px}.filter-groups .grade-tabs{justify-content:flex-start}.filter-chips button{min-height:44px;padding:7px 9px}.deal-card .deal-report-actions button{min-height:44px}}

/* Compact storefront: disclosure stays visible before every purchase link. */
.product-list.layout-list{gap:4px}
.product-list.layout-list .deal-card{padding:8px 4px;border-radius:4px}
.product-list.layout-list .product-image{border-radius:4px}
.product-list.layout-grid{gap:4px}
.product-list.layout-grid .deal-card{border-radius:6px}
.product-list.layout-grid .product-image{width:calc(100% - 4px);margin:2px 2px 0;border-radius:4px}
.site-header,.site-header:has(.admin-shortcut:not([hidden])),.variant-b .site-header,.variant-c .site-header{
 display:flex;align-items:flex-start;justify-content:space-between;height:auto;min-height:78px;gap:22px;padding-top:14px;padding-bottom:12px;flex-wrap:nowrap;
}
.site-brand-group{display:flex;align-items:center;gap:9px;flex-shrink:0}
.site-header .brand{font-size:28px;white-space:nowrap}
.site-header .brand-dot{display:block;flex:none;width:5px;height:5px;margin:0 1px 0 0;border-radius:50%;background:var(--accent);font-size:0;line-height:0;transform:translateY(6px)}
.site-header .kakao-button{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:11px;background:#fee500;color:#392020;flex-shrink:0}
.kakao-symbol{display:block;width:26px;height:26px}
.site-header .admin-shortcut{display:inline-flex;align-items:center;justify-content:center;font-size:11px;min-height:30px;margin:0;padding:3px 6px;color:#606976;border:1px solid #dce1e5;border-radius:7px;white-space:nowrap}
.site-header .admin-shortcut[hidden]{display:none}
.site-header .affiliate-notice{display:block;margin:0;max-width:390px;font-size:11px;line-height:1.4;color:#606872;text-align:right;word-break:keep-all;overflow-wrap:anywhere}
.site-header .affiliate-notice p{margin:0}
.placement-tabs{margin:6px 0 10px;gap:18px}
.placement-tabs button{flex-direction:row;align-items:center;justify-content:flex-start;min-height:52px;gap:10px;padding:7px 2px}
.midnight-countdown{white-space:pre-line;text-align:center;line-height:1.35;padding:3px 6px;margin-left:8px;flex-shrink:0}
.filters{display:flex;align-items:center;justify-content:space-between;gap:6px 16px;flex-wrap:wrap}
.filters .merchant-tabs{display:flex;gap:3px;flex-wrap:wrap;flex-shrink:0}
.filters .merchant-tabs button{font-size:12px;min-height:32px;padding:4px 9px;border-radius:7px}
.filters .merchant-tabs button span{display:none}
.filter-groups{margin:0 0 0 auto;gap:0;flex-direction:row}
.filters .grade-tabs{justify-content:flex-end;gap:2px}
.filters .filter-chips button{font-size:12px;min-height:32px;padding:4px 8px;border-radius:7px}
.listing-controls{margin:5px 0 3px;gap:6px}
.sort-control{position:relative;flex:none;margin-left:auto;color:#73767d}
.sort-control #sort-trigger{display:flex;align-items:center;gap:4px;min-height:32px;padding:4px 0 4px 3px;border:0;border-radius:4px;background:transparent;color:inherit;font-size:12px;font-weight:400;line-height:1.4;white-space:nowrap}
#sort-trigger .icon{width:13px;height:13px}
#sort-trigger[aria-expanded=true] .icon{transform:rotate(180deg)}
#sort-menu{position:absolute;right:0;top:calc(100% + 3px);z-index:30;width:124px;padding:4px;border:1px solid #e3e5e8;border-radius:8px;background:#fff;box-shadow:0 4px 14px #20232914}
#sort-menu[hidden]{display:none}
#sort-menu button{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;min-height:38px;padding:7px 8px;border-radius:5px;background:transparent;color:#626970;font-size:12px;font-weight:400;white-space:nowrap}
#sort-menu button[aria-checked=true],#sort-menu button:hover{background:#f3f4f5;color:#343a40}
#sort-menu .icon{width:12px;height:12px;visibility:hidden}
#sort-menu button[aria-checked=true] .icon{visibility:visible}
.sort-control button:focus-visible{outline:2px solid #73767d;outline-offset:1px}
.listing-controls .filter-groups{margin:0;min-width:0}
.listing-controls .grade-tabs{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:6px}
.listing-controls .filter-chips button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:12px;line-height:1.25;min-height:42px;min-width:36px;padding:4px 7px;border-radius:7px}
.grade-filter-symbols{display:flex;align-items:center;justify-content:center;font-size:9px;line-height:11px;letter-spacing:0;font-weight:400;white-space:nowrap}
.grade-filter-symbols>span{display:block;flex:none;width:10px;text-align:center}
.listing-controls [data-sort]{min-height:34px;padding:4px 8px;font-size:12px}
.listing-controls .view-options{gap:3px}
.listing-controls .view-options button{width:34px;height:34px;min-height:34px;padding:8px;border-radius:8px}
.listing-controls .view-options .icon{width:18px;height:18px}
.layout-list .card-actions,.layout-grid .card-actions{display:flex;align-items:center;justify-content:space-between;gap:3px 8px;flex-wrap:wrap;padding:0;border:0;margin-top:2px}
.layout-grid .card-actions{margin-top:auto}
.deal-card .card-actions .shipping{margin:0;font-size:11px;line-height:1.4;flex:1 1 54px;min-width:0}
.deal-card .card-actions .buy-button{min-height:32px;margin-left:auto;font-size:12px;gap:3px}
.deal-card .deal-report-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;margin:2px 0 0;padding:2px 0 0;border:0}
.deal-card .deal-report-actions button{min-height:28px;min-width:0;border-radius:6px;padding:3px 5px;gap:3px;font-size:11px;line-height:1.3;letter-spacing:-.3px;border-color:transparent;background:#eff1f2;color:#6b737e}
.deal-card .deal-report-actions button[data-report=soldout]{background:#eff1f2;border-color:transparent;color:#6b737e}
.deal-card .deal-report-actions button[data-report=price][aria-pressed=true]{background:#edf3f8;color:#526d85}
.deal-card .deal-report-actions button[data-report=soldout][aria-pressed=true]{background:#f1edf6;color:#776486}
.deal-card .deal-report-actions .icon{width:12px;height:12px}
@media(max-width:767px){
 .container{padding-left:16px;padding-right:16px}
 .site-header,.site-header:has(.admin-shortcut:not([hidden])),.variant-b .site-header,.variant-c .site-header{gap:12px;min-height:72px;padding-top:12px;padding-bottom:8px}
 .site-brand-group{display:grid;grid-template-columns:auto 32px;gap:4px 7px}
 .site-header .brand{font-size:20px;gap:3px;letter-spacing:-1px}
 .site-header .brand-mark{width:23px;height:28px}.site-header .brand-mark .icon{width:26px;height:26px}
 .site-header .kakao-button{width:32px;height:32px;min-height:32px;border-radius:10px}
 .site-header .admin-shortcut{grid-column:1/-1;justify-self:start;min-height:28px;padding:1px 6px;font-size:11px}
 .site-header .affiliate-notice{font-size:11px;flex:1;line-height:1.4}
 .demo-notice{margin-bottom:3px;font-size:10px}
 .placement-tabs{margin:3px 0 8px;gap:10px}
 .placement-tabs button{flex:1;min-height:49px;gap:5px;padding:5px 0;flex-direction:row;align-items:center}
 .placement-tabs button[data-placement=today]{flex:1.45}
 .placement-tabs .placement-name{font-size:17px}
 .placement-name [data-placement-count]{margin-left:1px;font-size:10px}
 .midnight-countdown{font-size:10px;padding:3px 5px;line-height:1.25}
 .filters{gap:4px 6px}
 .filters .merchant-tabs{gap:2px}
 .filters .merchant-tabs button{font-size:11.5px;padding:4px 6px;min-height:32px}
 .filters .filter-chips button{font-size:11.5px;padding:4px;min-height:32px}
 .listing-controls .filter-chips button{font-size:11.5px;padding:4px 6px}
 .listing-controls{margin:4px 0 2px}
 .layout-grid .card-body{padding:10px 9px 7px}
 .layout-grid .deal-report-actions{gap:4px;justify-content:flex-end}
 .layout-grid .deal-report-actions button{font-size:10px;padding:3px 2px;gap:2px}
 .layout-grid .deal-report-actions .icon{width:10px;height:10px}
 .layout-grid .card-actions .buy-button{font-size:11px}
}
@media(max-width:429px){
 .site-header,.site-header:has(.admin-shortcut:not([hidden])),.variant-b .site-header,.variant-c .site-header{gap:4px;padding-top:10px;padding-bottom:6px}
 .site-brand-group{grid-template-columns:auto 28px;gap:4px 5px}
 .site-header .brand{font-size:18px}
 .site-header .brand-mark{width:20px}
 .site-header .brand-mark .icon{width:23px;height:23px}
 .site-header .kakao-button{width:28px;height:28px;min-height:28px;border-radius:8px}
 .site-header .kakao-symbol{width:23px;height:23px}
 .site-header .affiliate-notice{min-width:0;font-size:10.5px;text-align:right}
}
@media(max-width:374px){
 .site-header .brand{font-size:18px}
 .placement-tabs .placement-name{font-size:15px}
 .filters .merchant-tabs button{font-size:11px;padding:4px 3px}
 .filters .filter-chips button{font-size:11px;padding:4px 3px}
}
@media(max-width:339px){
 .placement-tabs button[data-placement=today]{flex:1.65}
 .midnight-countdown{font-size:9px;padding:3px}
}
@media(max-width:359px){.listing-controls .filter-chips button{font-size:11px;padding:4px 3px;min-width:30px}.listing-controls .view-options button{width:28px;height:32px;min-height:32px;padding:6px}.listing-controls .view-options{gap:2px}}

/* Merchant colours communicate destination, independently of the page palette. */
.product-list [data-merchant="토스"],.filters [data-filter="merchant"][data-value="토스"]{--merchant-color:#2864bc}
.product-list [data-merchant="쿠팡"],.filters [data-filter="merchant"][data-value="쿠팡"]{--merchant-color:#bd393e}
.product-list [data-merchant="네이버"],.filters [data-filter="merchant"][data-value="네이버"]{--merchant-color:#247746}
.product-list .deal-card .merchant,.product-list .deal-card .buy-button{color:var(--merchant-color,var(--accent))}
.filters .merchant-tabs button{color:var(--merchant-color,var(--muted))}
.filters .merchant-tabs button.active{color:var(--merchant-color,var(--ink))}

/* Public colour choices are local to each visitor's URL. */
.variant-a[data-palette],.palette-options [data-palette]{--accent-text:var(--accent)}
.variant-a[data-palette="red-original"],.palette-options [data-palette="red-original"]{--bg:#f4f7f5;--ink:#202329;--accent:#e9333e;--accent-text:#b62834;--accent-soft:#fff0f1;--palette-border:#edc7cb;--line:#e6e7e7;--muted:#73767d;--brand-accent:#e9333e;--card-bg:#fff;--grade-ink:#bf4650}
.variant-a[data-palette="red-rose"],.palette-options [data-palette="red-rose"]{--bg:#faf5f4;--ink:#3b2e31;--accent:#b94f56;--accent-soft:#f7e5e6;--palette-border:#e5c6c8;--line:#ebdedf;--muted:#7c7072;--brand-accent:#b94f56;--card-bg:#fffaf9;--grade-ink:#a66369}
.variant-a[data-palette="red-coral"],.palette-options [data-palette="red-coral"]{--bg:#faf7f3;--ink:#372e2a;--accent:#bd4a3e;--accent-soft:#fae5dd;--palette-border:#ebc8bc;--line:#ebe0db;--muted:#7d736c;--brand-accent:#ce5948;--card-bg:#fffdf9;--grade-ink:#a96356}
.variant-a[data-palette="red-wine"],.palette-options [data-palette="red-wine"]{--bg:#f7f3f5;--ink:#362a32;--accent:#8d3445;--accent-soft:#f0e0e5;--palette-border:#d9bfc8;--line:#e6dce0;--muted:#786b74;--brand-accent:#8d3445;--card-bg:#fffcfd;--grade-ink:#96616e}
.variant-a[data-palette="red-minimal"],.palette-options [data-palette="red-minimal"]{--bg:#f7f7f6;--ink:#2c2b2b;--accent:#a94247;--accent-soft:#eeeae9;--palette-border:#d7c9c8;--line:#e5e3e1;--muted:#77736f;--brand-accent:#cf454b;--card-bg:#fff;--grade-ink:#8c7070}
.variant-a[data-palette="charcoal"],.palette-options [data-palette="charcoal"]{--bg:#f3f4f4;--ink:#272d33;--accent:#3f4a54;--accent-soft:#e6eaed;--palette-border:#c9d0d5;--line:#dfe3e5;--muted:#69727a;--brand-accent:#bd5750;--card-bg:#fcfcfc;--grade-ink:#68737b}
.variant-a[data-palette="graphite"],.palette-options [data-palette="graphite"]{--bg:#fafafa;--ink:#25282b;--accent:#32383e;--accent-soft:#eceeef;--palette-border:#cbd0d3;--line:#e2e4e5;--muted:#70757a;--brand-accent:#424950;--card-bg:#fff;--grade-ink:#70777d}
.variant-a[data-palette="warm-gray"],.palette-options [data-palette="warm-gray"]{--bg:#f7f3ed;--ink:#36312d;--accent:#635a52;--accent-soft:#eae4dc;--palette-border:#d4c9bb;--line:#e2dacf;--muted:#77716a;--brand-accent:#796456;--card-bg:#fffcf7;--grade-ink:#837668}
.variant-a[data-palette="silver"],.palette-options [data-palette="silver"]{--bg:#eef1f3;--ink:#303941;--accent:#566775;--accent-soft:#dee4e9;--palette-border:#bfccd5;--line:#d6dde3;--muted:#6c7983;--brand-accent:#566775;--card-bg:#fbfcfd;--grade-ink:#6b7b88}
.variant-a[data-palette="ink"],.palette-options [data-palette="ink"]{--bg:#f0f0ee;--ink:#181e24;--accent:#1f2730;--accent-soft:#e0e2e1;--palette-border:#bdc3c4;--line:#dadcdb;--muted:#6b7072;--brand-accent:#1f2730;--card-bg:#fff;--grade-ink:#737a7e}
.variant-a[data-palette="blue"],.palette-options [data-palette="blue"]{--bg:#f0f4f8;--ink:#263444;--accent:#315f88;--accent-soft:#e0eaf4;--palette-border:#bfd0e0;--line:#dbe3eb;--muted:#657587;--brand-accent:#315f88;--card-bg:#fcfdff;--grade-ink:#577791}
.variant-a[data-palette="cobalt"],.palette-options [data-palette="cobalt"]{--bg:#f5f8ff;--ink:#26344b;--accent:#245fc2;--accent-soft:#e7efff;--palette-border:#bfcef1;--line:#dee5f0;--muted:#68778b;--brand-accent:#245fc2;--card-bg:#fff;--grade-ink:#597bb5}
.variant-a[data-palette="powder-blue"],.palette-options [data-palette="powder-blue"]{--bg:#f3f7fa;--ink:#32404b;--accent:#536f89;--accent-soft:#e4edf3;--palette-border:#c9d7e1;--line:#dce5eb;--muted:#6c7a85;--brand-accent:#607f99;--card-bg:#fcfdfe;--grade-ink:#6b8294}
.variant-a[data-palette="navy"],.palette-options [data-palette="navy"]{--bg:#f2f4f8;--ink:#243147;--accent:#283e66;--accent-soft:#e2e7f0;--palette-border:#c1ccdf;--line:#dbe0e9;--muted:#687487;--brand-accent:#283e66;--card-bg:#fff;--grade-ink:#687c9a}
.variant-a[data-palette="denim"],.palette-options [data-palette="denim"]{--bg:#f1f5f6;--ink:#2b3b44;--accent:#426779;--accent-soft:#dde8ec;--palette-border:#bdcfd6;--line:#d7e2e6;--muted:#687b83;--brand-accent:#426779;--card-bg:#fbfdfd;--grade-ink:#5f7f8e}
/* Keep small accent text readable on its matching soft fill. */
.variant-a[data-palette="red-rose"],.palette-options [data-palette="red-rose"]{--accent-text:#a83f47}
.variant-a[data-palette="red-coral"],.palette-options [data-palette="red-coral"]{--accent-text:#aa3f35}
.variant-a[data-palette="powder-blue"],.palette-options [data-palette="powder-blue"]{--accent-text:#4d6780}
/* Optional surface choices override only the two backgrounds, never merchant colours. */
.variant-a[data-page-tone="white"]{--bg:#fff}
.variant-a[data-page-tone="snow"]{--bg:#fafafa}
.variant-a[data-page-tone="pearl"]{--bg:#f3f4f4}
.variant-a[data-page-tone="silver"]{--bg:#eef1f3}
.variant-a[data-page-tone="stone"]{--bg:#f0f0ee}
.variant-a[data-page-tone="mist"]{--bg:#f4f7f5}
.variant-a[data-page-tone="warm"]{--bg:#f7f3ed}
.variant-a[data-page-tone="cream"]{--bg:#faf7f3}
.variant-a[data-page-tone="rose"]{--bg:#faf5f4}
.variant-a[data-page-tone="ice"]{--bg:#f0f4f8}
.variant-a[data-page-tone="blue-haze"]{--bg:#f5f8ff}
.variant-a[data-page-tone="lavender"]{--bg:#f5f3f8}
.variant-a[data-card-tone="white"]{--card-bg:#fff}
.variant-a[data-card-tone="porcelain"]{--card-bg:#fcfcfc}
.variant-a[data-card-tone="cream"]{--card-bg:#fffdf8}
.variant-a[data-card-tone="ice"]{--card-bg:#fcfdff}
.variant-a[data-card-tone="rose"]{--card-bg:#fff9fa}
.variant-a[data-card-tone="flat"]{--card-bg:var(--bg)}
.brand-mark,[data-palette] .brand-mark{color:#e9333e}
.brand-dot{color:#e9333e}
.site-header .brand-dot,[data-palette] .site-header .brand-dot{background:#e9333e}
[data-palette] .placement-tabs{border-color:var(--line)}
[data-palette] .placement-tabs button[aria-pressed=true]{border-color:var(--accent)}
[data-palette] .midnight-countdown{background:var(--accent-soft);color:var(--accent-text)}
[data-palette] .filters .merchant-tabs button{border-color:var(--line)}
[data-palette] .filters .merchant-tabs button.active{background:var(--card-bg);border-color:var(--palette-border);box-shadow:inset 0 -2px 0 var(--merchant-color,var(--accent))}
[data-palette] .filter-chips button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--palette-border);color:var(--accent-text)}
[data-palette] .listing-controls [data-sort][aria-pressed=true]{color:var(--accent-text)}
[data-palette] .filter-chips button:active{background:var(--accent-soft)}
[data-palette] .view-options button[aria-pressed=true]{background:var(--accent);border-color:var(--accent)}
[data-palette] .layout-grid .deal-card{background:var(--card-bg);border-color:var(--line)}
[data-palette] .layout-list .deal-card{background:var(--card-bg);border-color:var(--line)}
[data-palette] .grade{color:var(--grade-ink)}
[data-palette] .grade-4{color:var(--accent-text);font-weight:800}
[data-palette] .grade-symbols{display:inline-flex;gap:1px;color:inherit;letter-spacing:0}
[data-palette] .grade-symbols .icon{width:12px;height:14px}
[data-palette] .layout-grid .grade-symbols .icon{width:10px;height:12px}
[data-palette] .shipping.free{color:var(--muted)}
[data-palette] .effective b{color:var(--accent)}
.demo-notice{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.demo-notice .palette-jump{margin-left:auto;color:var(--muted);font-size:10px;text-decoration:underline;text-underline-offset:3px}
.palette-preview{margin:0 0 24px;padding:16px 12px;border:1px dashed var(--palette-border);border-radius:12px;background:var(--card-bg);scroll-margin-top:12px}
.palette-preview h2{margin:0;font-size:17px;color:var(--ink)}
.palette-preview p{margin:6px 0;color:var(--muted);font-size:11px;line-height:1.5}
.palette-section{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.palette-section h3{margin:0;font-size:15px;color:var(--ink)}
.palette-section h3 small{font-size:11px;font-weight:500;margin-left:4px;color:var(--muted)}
.palette-family{margin-top:14px}
.palette-family h4{margin:0 0 7px;font-size:12px;color:var(--ink)}
.palette-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.palette-options button{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;min-height:65px;padding:8px 6px;border:1px solid #e1e4e6;border-radius:8px;font-size:11px;font-weight:650;color:#555e65;background:var(--card-bg);line-height:1.4}
.palette-options button[aria-pressed=true]{background:var(--accent-soft);border:2px solid var(--accent);padding:7px 5px;color:var(--accent-text)}
.palette-preview button:focus-visible,.palette-jump:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.palette-options i{display:flex;height:20px;border-radius:4px;overflow:hidden;border:1px solid var(--line)}
.palette-options i b{flex:1;background:var(--brand-accent)}
.palette-options i b:nth-child(2){background:var(--accent-soft)}
.palette-options i b:nth-child(3){background:var(--accent)}
.palette-preview-toolbar{position:sticky;top:0;z-index:2;padding:8px 0 10px;background:var(--card-bg);border-bottom:1px solid var(--line)}
.palette-preview #palette-description{margin:0 0 8px;color:var(--accent-text);font-size:11px}
.palette-preview-actions{display:flex;gap:8px}
.palette-preview-actions button{min-height:40px;padding:7px 10px;border:1px solid var(--palette-border);border-radius:7px;font-size:12px;font-weight:650;color:var(--accent-text);background:var(--card-bg)}
.palette-preview-actions [data-palette-show]{flex:1;background:var(--accent-soft)}
.tone-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}
.tone-options button{display:flex;align-items:center;gap:6px;min-height:53px;padding:7px 6px;border:1px solid var(--line);border-radius:8px;font-size:11px;line-height:1.4;text-align:left;color:var(--ink);background:var(--card-bg)}
.tone-options button[aria-pressed=true]{border:2px solid var(--accent);padding:6px 5px;background:var(--accent-soft)}
.tone-options button span{word-break:keep-all}
.tone-options small{display:block;font-size:10px;color:var(--accent-text)}
.tone-options small[hidden]{display:none}
.tone-swatch{display:block;flex:none;width:19px;height:19px;border:1px solid #c7ccd1;border-radius:50%;background:var(--tone-preview)}
[data-color-choice="white"],[data-recommended-tone="white"]{--tone-preview:#fff}
[data-color-field="background"]:is([data-color-choice="snow"],[data-recommended-tone="snow"]){--tone-preview:#fafafa}
[data-color-field="background"]:is([data-color-choice="pearl"],[data-recommended-tone="pearl"]){--tone-preview:#f3f4f4}
[data-color-field="background"]:is([data-color-choice="silver"],[data-recommended-tone="silver"]){--tone-preview:#eef1f3}
[data-color-field="background"]:is([data-color-choice="stone"],[data-recommended-tone="stone"]){--tone-preview:#f0f0ee}
[data-color-field="background"]:is([data-color-choice="mist"],[data-recommended-tone="mist"]){--tone-preview:#f4f7f5}
[data-color-field="background"]:is([data-color-choice="warm"],[data-recommended-tone="warm"]){--tone-preview:#f7f3ed}
[data-color-field="background"]:is([data-color-choice="cream"],[data-recommended-tone="cream"]){--tone-preview:#faf7f3}
[data-color-field="background"]:is([data-color-choice="rose"],[data-recommended-tone="rose"]){--tone-preview:#faf5f4}
[data-color-field="background"]:is([data-color-choice="ice"],[data-recommended-tone="ice"]){--tone-preview:#f0f4f8}
[data-color-field="background"]:is([data-color-choice="blue-haze"],[data-recommended-tone="blue-haze"]){--tone-preview:#f5f8ff}
[data-color-field="background"]:is([data-color-choice="lavender"],[data-recommended-tone="lavender"]){--tone-preview:#f5f3f8}
[data-color-field="card"]:is([data-color-choice="porcelain"],[data-recommended-tone="porcelain"]){--tone-preview:#fcfcfc}
[data-color-field="card"]:is([data-color-choice="cream"],[data-recommended-tone="cream"]){--tone-preview:#fffdf8}
[data-color-field="card"]:is([data-color-choice="ice"],[data-recommended-tone="ice"]){--tone-preview:#fcfdff}
[data-color-field="card"]:is([data-color-choice="rose"],[data-recommended-tone="rose"]){--tone-preview:#fff9fa}
[data-color-field="card"][data-color-choice="flat"]{--tone-preview:var(--bg)}
.palette-preview .palette-help{margin-top:18px}
@media(max-width:359px){.tone-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:768px){.palette-preview{padding:22px}.palette-options{grid-template-columns:repeat(5,minmax(0,1fr))}.palette-options button{font-size:12px}.palette-options i{height:26px}}
.bulk-actions{display:block;border-bottom:1px solid #e5e8ec;margin-bottom:12px}
.bulk-selection{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.bulk-selection label{display:flex;align-items:center;gap:7px;min-height:44px}
.bulk-selection [data-select-none]{margin-left:auto}
.bulk-operation-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.bulk-actions .bulk-trash:not(:disabled){color:#a83d4b;border-color:#e6cdd1;background:#fff8f8}
.bulk-selection-help{margin:8px 0 0;font-size:12px;color:#777f8b}
.bulk-selection-help[hidden]{display:none}
.deal-card .original-price{display:block;font-size:12px;font-weight:400;color:#96999d;line-height:1.5;margin-bottom:1px;text-decoration-thickness:1px}
.deal-card .price-row{display:flex;align-items:baseline;gap:6px;flex-wrap:nowrap;max-width:100%;font-variant-numeric:tabular-nums}
.deal-card .price-row .discount-rate{font-size:20px;line-height:1.3;font-weight:800;color:#202329;white-space:nowrap;letter-spacing:-.6px}
.deal-card .price-row .price{color:#e52236;white-space:nowrap;letter-spacing:-.8px;line-height:1.3}
.deal-card .price-row .price small{color:inherit;font-size:.62em;margin-left:2px;letter-spacing:0}
.layout-grid .price-row .discount-rate{font-size:18px}
.layout-grid .price-row.long-price{gap:3px}
.layout-grid .price-row.long-price .price{font-size:16px;letter-spacing:-.7px}
.layout-grid .price-row.long-price .discount-rate{font-size:13px}
@media(max-width:374px){.layout-grid .card-body{padding-left:7px;padding-right:7px}.layout-grid .price-row{gap:4px}.layout-grid .price-row .discount-rate{font-size:16px}.layout-grid .price-row .price{font-size:20px}.layout-grid .price-row.long-price .price{font-size:13px}.layout-grid .price-row.long-price .discount-rate{font-size:11px}}
.placement-tabs button[data-placement=today]{flex:1.4 1 0;min-width:max-content;gap:6px}
.placement-tabs button[data-placement=missed]{flex:1 1 0;min-width:0;justify-content:center}
/* Time and current prices stay red independently of palette selection. */
.placement-tabs .midnight-countdown{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:none;box-sizing:border-box;width:92px;min-height:29px;margin-left:1px;padding:2px 0 2px 5px;border:0;border-left:2px solid #de7b84;border-radius:2px;background:linear-gradient(90deg,#fff0f2,transparent);color:#bb3040;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.2px;text-align:left}
.placement-tabs .midnight-countdown span{display:block;margin:0;color:inherit;white-space:nowrap}
.placement-tabs .countdown-caption{font-size:9px;font-weight:500;opacity:.82}
.placement-tabs .countdown-value{font-size:9.5px;font-weight:700;font-variant-numeric:tabular-nums}
.placement-tabs .midnight-countdown[data-urgent=true]{background:linear-gradient(90deg,#ffe2e7,transparent);border-color:#d54559;color:#ae2036}
@media(min-width:768px){.placement-tabs button[data-placement=today],.placement-tabs button[data-placement=missed]{flex:1 1 0}}
@media(max-width:374px){.placement-tabs{gap:7px}.placement-tabs button[data-placement=today]{flex:1.6 1 0;gap:4px}.placement-tabs .midnight-countdown{width:89px;padding-left:4px}.placement-tabs .placement-name{font-size:14px}.placement-tabs .countdown-value{font-size:9px}}
@media(max-width:339px){.placement-tabs button[data-placement=today]{flex:1.75 1 0}.placement-tabs .midnight-countdown{width:85px}.placement-tabs .countdown-value{font-size:8.5px}.placement-tabs .placement-name{font-size:13px}}
.editor-basics .editor-source-row{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:0 18px;align-items:start;margin-bottom:18px}
.editor-link-source{min-width:0}.editor-link-source .field{margin-bottom:8px}
.source-actions{display:flex;align-items:center;gap:5px 9px;flex-wrap:wrap}
.source-actions .secondary-button,.source-actions .affiliate-open{font-size:12px;min-height:36px;padding:6px 9px}
.source-actions .affiliate-open{background:transparent;border-color:transparent;padding-left:0;padding-right:0}
.editor-link-source .field-help{font-size:11px;margin:6px 0;line-height:1.5}
.editor-photo{min-width:0}.photo-label{display:block;font-size:12px;color:#626c7b;margin-bottom:8px;font-weight:650}
.photo-upload-tile{display:block}.editor-photo .photo-preview{display:flex;width:100%;height:96px;min-height:0;margin:0;border:1px dashed #cbd3dd;border-radius:6px;overflow:hidden;background:#f8fafb;font-size:20px}
.photo-upload-tile.photo-readonly{cursor:default}
.editor-photo .photo-preview>span{display:flex;align-items:center;flex-direction:column}.editor-photo .photo-preview small{font-size:11px}
.editor-photo .photo-preview img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
.editor-photo .photo-preview .no-image{min-height:0}.photo-compact-actions{display:flex;justify-content:space-between;gap:8px;margin-top:2px}
.photo-compact-actions .text-button{font-size:11px;min-height:30px;text-decoration:none}.photo-paste-hint{display:block;font-size:10px;color:#8a93a0;white-space:nowrap}
.editor-source-row>.photo-status,.photo-link-options{grid-column:1/-1}.editor-source-row>.photo-status:empty{display:none}
.photo-link-options:not([open]){display:none}.photo-link-options{margin-top:10px;background:#f7f9fb;padding:12px;border-radius:6px}.photo-link-options>summary{font-size:12px;margin-bottom:10px;cursor:pointer}
.compact-grade-picker{margin-bottom:16px;gap:7px}.compact-grade-picker legend{margin-bottom:6px;font-size:12px}
.compact-grade-picker label>span{height:44px;padding:5px 3px;gap:1px;border-radius:6px}.compact-grade-picker .grade-name{font-size:12px}.compact-grade-picker b{font-size:10px;letter-spacing:0;line-height:1.2}
.editor-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editor-prices .field{margin-bottom:5px}
.editor-basics #discount-preview{font-size:11px;margin:4px 0 14px}
.shipping-compact{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 14px;padding-top:4px;border-top:1px solid #edf0f3}
.shipping-compact .free-shipping-choice{font-size:13px;min-height:38px;gap:7px}.shipping-compact .free-shipping-choice input{width:16px;height:16px}
.inline-options{min-width:0}.inline-options>summary{cursor:pointer;list-style:none;color:#6a7482;font-size:12px;min-height:38px;display:flex;align-items:center;gap:6px}
.inline-options>summary::after{content:'⌄';color:#929aa5}.inline-options[open]>summary::after{content:'⌃'}.inline-options>summary::-webkit-details-marker{display:none}
.inline-options>summary span{font-size:11px;color:#97a0ab}.shipping-compact .inline-options[open]{flex-basis:100%}
.shipping-compact .inline-options .field{margin-bottom:12px}.reward-options{border-top:1px solid #edf0f3;margin-top:5px}.reward-options .field{margin-top:8px}
.editor-extras .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-extras>summary>span{font-size:11px}.editor-extras>.field:last-child{margin-bottom:0}
@media(max-width:480px){.editor-basics .editor-source-row{grid-template-columns:minmax(0,1fr) 88px;gap:0 12px}.editor-photo .photo-preview{height:82px}.editor-basics{padding:18px 14px}.source-actions .secondary-button,.source-actions .affiliate-open{font-size:11px;min-height:34px;padding:5px 7px}.editor-prices{gap:10px}.editor-prices .field{font-size:12px}.editor-prices .field input{padding:10px 8px}.editor-extras .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.bulk-operation-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-selection{gap:5px 9px}.bulk-selection label{font-size:12px}.bulk-selection .selection-count{font-size:12px}}

/* One native link covers the card; only the report group sits above it. */
.deal-card .card-link{position:absolute;inset:0;z-index:1;border-radius:inherit}
.deal-card .card-link:focus-visible{outline:3px solid #6288b4;outline-offset:-3px}
.deal-card .deal-report-actions{position:relative;z-index:2;align-self:flex-end;max-width:100%;width:fit-content;margin:0;padding:0}
.layout-list .product-image{align-self:center}
.deal-card{container-type:inline-size;--price-content-inset:24px;--price-content-width:calc(100cqi - var(--price-content-inset))}
.layout-list .deal-card{--price-content-inset:136px}
.preview-dialog .deal-card{--price-content-inset:216px}
.deal-card .purchase-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:0 8px;margin-top:5px;min-width:0}
.deal-card .purchase-row .price-block{flex:0 1 auto;min-width:0;max-width:100%;margin:0}
.layout-grid .purchase-row .price-block{flex-basis:100%}
.card-details{display:contents}
/* Share natural track sizes within each grid row, including optional price notes. */
@supports(grid-template-rows:subgrid){
 .layout-grid{container-type:inline-size;--grid-columns:4}
 .layout-grid .deal-card{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0;height:auto;container-type:normal;--price-content-width:calc((100cqi - (var(--grid-columns) - 1)*4px)/var(--grid-columns) - 2px - var(--price-content-inset))}
 .layout-grid .product-image{grid-row:1}
 .layout-grid .card-body{display:grid;grid-template-rows:subgrid;grid-row:2/span 6;row-gap:0}
 .layout-grid .card-details{display:block;grid-row:1}
 .layout-grid .deal-card .purchase-row{display:grid;grid-template-rows:subgrid;grid-row:2/span 3;row-gap:0;align-items:end}
 .layout-grid .deal-card .purchase-row .price-block{display:grid;grid-template-rows:subgrid;grid-row:1/span 2;row-gap:0;align-self:stretch}
 .layout-grid .purchase-row .original-price{grid-row:1;align-self:end}
 .layout-grid .purchase-row .price-row{grid-row:2;align-self:last baseline}
 .layout-grid .purchase-row .buy-button{grid-row:3;justify-self:end}
 .layout-grid .deal-card .effective{grid-row:5;align-self:start}
 .layout-grid .deal-card .deal-report-actions{grid-row:6;align-self:start;justify-self:end}
 @media(max-width:1023px){.layout-grid{--grid-columns:3}}
 @media(max-width:600px){.layout-grid{--grid-columns:2}}
 @media(max-width:319px){.layout-grid{--grid-columns:1}}
}
.deal-card .purchase-row .buy-button{position:static;flex:none;min-height:28px;margin-left:auto;padding:0;font-size:12px;white-space:nowrap;gap:3px}
.deal-card .purchase-row .price-row{flex-wrap:nowrap;gap:4px}
.deal-card .purchase-row .price{font-size:clamp(13px,calc(var(--price-content-width)*.13),24px)}
.deal-card .purchase-row .discount-rate{font-size:clamp(11px,calc(var(--price-content-width)*.1),20px)}
.deal-card .purchase-row .long-price .price{font-size:clamp(10px,calc(var(--price-content-width)*.1),24px)}
.deal-card .purchase-row .long-price .discount-rate{font-size:clamp(9px,calc(var(--price-content-width)*.08),20px)}
.deal-card .shipping{margin:3px 0 0;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.deal-card .effective{margin:2px 0;overflow-wrap:anywhere}
.deal-card .product-title{margin:0}
@media(max-width:767px){.layout-list .deal-card{--price-content-inset:96px}}
@media(max-width:767px){.preview-dialog .deal-card{--price-content-inset:94px}}
@media(max-width:374px){.layout-grid .deal-card{--price-content-inset:14px}}
@media(hover:hover) and (pointer:fine){[data-palette] .product-list .deal-card:has(.card-link:hover){background:#f2f7fd}}
[data-palette] .product-list .deal-card:has(.card-link:active){background:#edf5fe}
.today-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}
.today-heading h1{font-size:14px;font-weight:600;color:var(--muted)}
.today-heading .midnight-countdown{display:flex;align-items:center;gap:6px;min-width:115px;margin:0;padding:4px 7px;border-left:2px solid #de7b84;border-radius:3px;background:linear-gradient(90deg,#fff0f2,transparent);color:#bb3040;white-space:nowrap;font-size:12px;line-height:1.4}
.today-heading .midnight-countdown[data-urgent=true]{color:#ae2036;background:#ffe2e7}
.grade-primary{margin:0 0 10px}
.grade-primary .grade-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0}
.grade-primary .grade-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:58px;border:1px solid #dfe5eb;border-radius:10px;background:#fff;color:#475467;font-size:15px;font-weight:700;line-height:1.2;padding:7px 4px}
.grade-primary .grade-tabs button[aria-pressed=true]{background:#e8eff6;border-color:#9aafc3;color:#304d68;box-shadow:inset 0 -2px 0 #829ab4}
.grade-primary .grade-tabs button:hover:not([aria-pressed=true]){background:#f1f5f9}
.grade-tab-detail{display:flex;align-items:center;justify-content:center;gap:5px}
.grade-primary .grade-filter-symbols{font-size:11px;line-height:14px}
.grade-primary .grade-count{width:30px;padding:1px 2px;border-radius:8px;background:#f0f3f7;font-size:10px;font-weight:500;line-height:14px;color:#586b80;font-variant-numeric:tabular-nums}
.grade-primary button[aria-pressed=true] .grade-count{background:#dbe5ef;color:#304d68}
.listing-controls{margin:0 0 12px;display:flex;align-items:center;gap:10px}
.listing-controls .filters{flex:1;min-width:0;margin:0;padding:0;display:block}
.listing-controls .filters .merchant-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;border:1px solid #e1e3e7;border-radius:11px;background:#eceef1;overflow:visible;max-width:450px}
.listing-controls .filters .merchant-tabs button{min-width:44px;min-height:44px;margin:0;padding:5px 4px;border:0;border-radius:8px;font-size:13px;font-weight:600;color:var(--merchant-color,#656e7a);background:transparent;box-shadow:none}
.listing-controls .filters .merchant-tabs button:after{display:none}
.listing-controls .filters .merchant-tabs button[aria-pressed=true]{background:#fff;color:var(--merchant-color,#304d68);box-shadow:0 1px 4px #20232914;font-weight:750}
.listing-controls .view-options{display:flex;flex:none;gap:2px}
.listing-controls .view-options button{width:44px;height:44px;min-height:44px;padding:10px}
.listing-controls .view-options button[aria-pressed=true]{background:#e8eff6;color:#304d68;border-color:#9aafc3}
.grade-primary button:focus-visible,.listing-controls button:focus-visible,.empty-alternatives button:focus-visible{outline:2px solid #476b8b;outline-offset:2px}
.product-list .deal-card .product-title{font-weight:500}
.grade-tab-name{white-space:nowrap}
.grade-primary [data-value=restocking][aria-pressed=true]{background:#e8f3f4;color:#315f69;border-color:#91b5bd;box-shadow:inset 0 -2px 0 #85aab2}
@media(max-width:600px){.grade-primary .grade-tabs{gap:5px}.grade-primary .grade-tabs button{min-height:56px;font-size:12px;padding-inline:1px}.grade-primary .grade-filter-symbols{font-size:9px}.grade-primary .grade-filter-symbols>span{width:8px}.grade-tab-detail{gap:2px}.grade-primary .grade-count{width:auto;min-width:23px;font-size:9px;padding-inline:1px}}
@media(max-width:359px){.grade-primary .grade-tabs{gap:4px}.grade-primary .grade-tabs button{min-height:54px;font-size:11px}.grade-primary .grade-filter-symbols{font-size:8px}.grade-primary .grade-filter-symbols>span{width:6px}.grade-tab-detail{gap:1px}.listing-controls{gap:5px;margin-inline:-8px}.listing-controls .filters .merchant-tabs button{font-size:12px;padding:4px 1px}.today-heading{gap:5px}.today-heading h1{font-size:13px}.today-heading .midnight-countdown{font-size:11px;gap:4px;padding-inline:5px}}
.empty-alternatives{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}
.compact-filter-bar{position:fixed;z-index:45;top:0;left:0;right:0;padding:4px 0;padding-top:max(4px,env(safe-area-inset-top));background:var(--bg,#fafafa);color:#304d68}
.compact-filter-bar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#dde4ec;box-shadow:0 3px 12px #273d5610;opacity:var(--compact-separation,1);pointer-events:none}
.compact-filter-bar[hidden]{display:none!important}
.compact-filter-inner.grade-primary{margin-top:0;margin-bottom:0}
.compact-filter-bar button{touch-action:manipulation}
.product-list.layout-list{--list-image-size:136px;--list-column-gap:20px}
.product-list.layout-list .deal-card{grid-template-columns:var(--list-image-size) minmax(0,1fr);column-gap:var(--list-column-gap);--price-content-inset:calc(var(--list-image-size) + var(--list-column-gap))}
.product-list.layout-list .product-image{width:var(--list-image-size);height:var(--list-image-size);align-self:center}
@media(max-width:767px){.product-list.layout-list{--list-image-size:104px;--list-column-gap:12px}}
@media(max-width:359px){.product-list.layout-list{--list-image-size:96px}}
#public-filter-controls .view-options button{width:44px;height:44px;min-width:44px;min-height:44px;padding:4px;border:0;background:transparent;box-shadow:none}
#public-filter-controls .view-option-face{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dfe5ec;border-radius:7px;background:#fff;color:#748197}
#public-filter-controls .view-options button[aria-pressed=true] .view-option-face{background:#e8eff6;border-color:#9aafc3;color:#304d68}
#public-filter-controls .view-options .icon{width:18px;height:18px}
/* Product management: independent publication, grade and stock controls. */
.admin-row-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;grid-column:1/-1;padding:10px 0 4px}
.admin-check-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.admin-row-actions .admin-check-actions button,.admin-check-actions .affiliate-open{min-height:40px;padding:6px 9px;border:1px solid #dce2e8;border-radius:7px;font-size:12px}
.admin-row-actions .admin-operations{display:grid;gap:7px;width:100%}
.admin-row-actions .operation-group{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.admin-row-actions .operation-group>span{flex:0 0 34px;font-size:11px;color:#697586;font-weight:700}
.admin-row-actions .operation-group button{min-height:38px;padding:6px 10px;border:1px solid #dce2e8;border-radius:7px;background:#f8fafb;color:#526075;line-height:1.35}
.admin-row-actions .operation-group button[aria-pressed=true]{background:#eef2f7;color:#26364d;border-color:#8796aa;font-weight:750;opacity:1}
.admin-row-actions .operation-group [data-check-status=restocking][aria-pressed=true]{background:#dceef0;color:#245862;border-color:#85a6ac}
.admin-row-actions .admin-more{align-self:flex-end;margin:0}
.admin-product-text small{color:#5f6c7d;font-size:12px}
.restock-deadline{color:#4d727c;font-size:11px;line-height:1.6}
.restock-membership{display:flex;align-items:center;gap:8px;min-height:44px;padding:3px 7px;border-radius:7px;background:#f4f8f9;color:#3e616b;cursor:pointer}
.restock-membership input{width:18px;height:18px;margin:0;flex:none;accent-color:#507b85}
.restock-membership>span{display:flex;align-items:center;flex-wrap:wrap;gap:3px 9px}
.restock-membership strong{font-size:12px;font-weight:600}
.restock-membership small{font-size:10px;font-weight:400;color:#637883}
.product-image .check-overlay.restocking-overlay,.admin-thumb .check-overlay.restocking-overlay{background:#37626e99;color:#fff;text-align:center;flex-direction:column;line-height:1.35;font-weight:800;letter-spacing:-.03em}
.restocking-overlay>span{display:block;white-space:nowrap}
.product-image .check-overlay.restocking-overlay{font-size:clamp(21px,6vw,34px)}
.layout-list .product-image .check-overlay.restocking-overlay{font-size:21px}
.admin-thumb .check-overlay.restocking-overlay{font-size:12px}
.admin-thumb .restocking-overlay>span:first-child{font-size:9px}
@media(max-width:767px){.layout-list .product-image .check-overlay.restocking-overlay{font-size:17px}}
.admin-filter-fields{flex-wrap:wrap}
.admin-filter-fields>label{min-width:0}
.confirm-dialog>div{flex-wrap:wrap}
.confirm-dialog>div button{min-width:90px}
@media(max-width:430px){.admin-row-actions .operation-group{gap:4px}.admin-row-actions .operation-group button{font-size:11px;padding:6px 8px;min-height:40px}.admin-check-actions{gap:5px}.admin-check-actions>*{flex:1;text-align:center;justify-content:center}.admin-filter-fields select{max-width:100%}}
.admin-row-actions .operation-group [data-check-status=normal]{background:#f3f9f5;border-color:#e0ebe3;color:#5b7363}
.admin-row-actions .operation-group [data-check-status=restocking]{background:#f1f8f9;border-color:#dfebed;color:#5c757b}
.admin-row-actions .operation-group [data-check-status=price-changed]{background:#fff8f0;border-color:#f0e6da;color:#8a7054}
.admin-row-actions .operation-group [data-check-status=soldout]{background:#f5f6f8;border-color:#e5e8ec;color:#737d89}
.admin-row-actions .operation-group [data-check-status=normal][aria-pressed=true]{background:#dfeee3;color:#2f633e;border-color:#92b49b}
.admin-row-actions .operation-group [data-check-status=price-changed][aria-pressed=true]{background:#ffead5;color:#855127;border-color:#d7b28e}
.admin-row-actions .operation-group [data-check-status=soldout][aria-pressed=true]{background:#dfe3e8;color:#505b6a;border-color:#9ca4af}

/* The undo strip reserves its height, including mobile safe area, for content and editor actions. */
.product-undo{position:fixed;z-index:80;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);display:flex;align-items:center;gap:8px;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#203c35;color:#fff;box-shadow:0 -2px 14px #142e2520;box-sizing:border-box;border-radius:12px 12px 0 0}
.product-undo[hidden]{display:none}.product-undo>div{flex:1;min-width:0}.product-undo strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.product-undo small{display:block;font-size:11px;line-height:1.4;color:#d4e5de;margin-top:3px}.product-undo button{min-width:44px;min-height:44px;flex-shrink:0;border:0;border-radius:8px;padding:8px;background:#fff;color:#203c35;font-weight:700;font-size:13px}.product-undo button:disabled{opacity:.6}.product-undo [data-dismiss]{background:transparent;color:white;font-size:23px}
.admin-page.has-product-undo{padding-bottom:var(--product-undo-height)}.has-product-undo .editor-sticky{bottom:var(--product-undo-height)}

.product-undo [data-product]{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.4;color:#e2eee9}.product-undo [data-product][hidden]{display:none}
.has-product-undo #toast{bottom:calc(var(--product-undo-height) + 12px)}

.promotion-dialog [hidden]{display:none!important}
.promotion-dialog:has(.quick-workbench) .promotion-copy-bar{position:static}
.quick-workbench{padding:12px;border:1px solid #dce3eb;border-radius:12px;background:#f7f9fc;margin-bottom:12px}
.quick-workbench .quick-settings{margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.quick-primary-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.quick-primary-actions button{min-height:44px;flex:1;white-space:nowrap}
#quick-photo-preview img{object-fit:contain;border:1px solid #dce3eb;border-radius:8px;background:white}
#quick-products-summary{font-size:12px;color:#526277;overflow-wrap:anywhere}
@media(max-width:600px){.quick-workbench{padding:8px}.quick-workbench .quick-settings{grid-template-columns:1fr 1fr}.quick-workbench .quick-settings>label:first-child{grid-column:1/-1}.quick-primary-actions button{font-size:12px;padding:8px}.promotion-dialog{width:calc(100% - 16px);max-width:760px;padding:14px}}
