.counter-view-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:1280px;margin:auto;padding:12px 24px;color:#a5adb3;font-size:13px}
.counter-view-toolbar>span{margin-inline-end:auto}.counter-view-toolbar a,.counter-view-toolbar button,.counter-drafts-bar button,.counter-draft-dialog button{border:1px solid #454a50;border-radius:10px;padding:8px 12px;background:#252a2f;color:#f4f0e8;cursor:pointer;font:inherit}
.counter-view-toolbar a:focus-visible,.counter-view-toolbar button:focus-visible,.counter-drafts-bar button:focus-visible,.counter-draft-dialog button:focus-visible{outline:2px solid #e7bf75;outline-offset:3px}
.counter-drafts-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:12px 14px;background:#20262b;border:1px solid #3b454d;border-radius:12px;color:#f5f0e7;font-size:13px}
.counter-drafts-bar [role=status]{margin-inline-end:auto;flex:1 1 240px}.counter-drafts-bar[data-error=true]{border-color:#e29a76;background:#3a2820}
.counter-drafts-bar button:disabled{opacity:.55;cursor:wait}.counter-drafts-bar button[hidden]{display:none}
.counter-draft-dialog{border:1px solid #454d54;border-radius:18px;background:#1a1e21;color:#f3f0e9;padding:24px;width:min(660px,calc(100vw - 28px));max-height:85vh;overflow:auto}
.counter-draft-dialog::backdrop{background:#0009}.counter-draft-dialog h2{font-size:21px;font-weight:650;margin:0 0 12px}.counter-draft-dialog p{color:#afb7bd;line-height:1.6;font-size:14px}.counter-draft-dialog label{display:block;margin:16px 0 7px}.counter-draft-dialog input{width:100%;background:#252c31;border:1px solid #525d66;border-radius:9px;color:white;padding:10px 12px}.counter-draft-dialog .draft-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}.counter-draft-dialog article{padding:16px 0;border-bottom:1px solid #3a4249}.counter-draft-dialog h3{font-weight:600;font-size:16px}.counter-draft-dialog .draft-error{color:#ffb194}.counter-draft-dialog button.draft-primary{background:#e1b972;border-color:#e1b972;color:#20190f;font-weight:650}
@media print{.counter-view-toolbar,.counter-drafts-bar{display:none!important}}
/* Approved counter composition: compact context, independent work surface,
   unified order summary. All rules are isolated from the classic counter. */
.counter-modern{--cw-bg:#101416;--cw-panel:#1a1f22;--cw-input:#22282c;--cw-line:#323b40;--cw-text:#f0f2f1;--cw-muted:#a5b0b8;--cw-gold:#e8c173;--cw-green:#81d1b5;background:var(--cw-bg)!important;color:var(--cw-text)!important;font-family:Inter,Segoe UI,Tahoma,Arial,sans-serif;color-scheme:dark}
.counter-modern[data-counter-theme=light]{--cw-bg:#f4f1eb;--cw-panel:#fffdf9;--cw-input:#f0ece5;--cw-line:#ddd7cd;--cw-text:#282d30;--cw-muted:#687179;--cw-gold:#916819;--cw-green:#267a60;color-scheme:light}
.counter-modern [hidden]{display:none!important}.counter-modern #walkin-app .hidden{display:none}
.counter-modern #walkin-app>nav{position:relative;background:var(--cw-panel);border-color:var(--cw-line)}
.counter-modern #walkin-app>nav>div{max-width:1380px;padding:18px 30px;min-height:80px;gap:20px}
.counter-modern .counter-brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:650;letter-spacing:-.5px;white-space:nowrap}.counter-modern .counter-brand img{width:35px;height:34px;object-fit:contain}
.counter-modern .counter-header-actions{display:flex;align-items:center;gap:10px}.counter-modern #back-link{order:-1;font-size:12px;font-weight:400;color:var(--cw-muted);margin-inline-end:8px;white-space:nowrap}
.counter-modern .counter-header-actions button{min-height:40px;padding:9px 12px;background:transparent;border:1px solid var(--cw-line);border-radius:9px;font-size:11px;color:var(--cw-text)}
.counter-modern .counter-view-toolbar{max-width:none;min-height:34px;margin:0;padding:5px max(30px,calc((100% - 1320px)/2));background:var(--cw-panel);border-bottom:1px solid var(--cw-line);justify-content:flex-end;font-size:10px}
.counter-modern .counter-view-toolbar a{padding:0;border:0;border-radius:0;background:transparent;color:var(--cw-gold);font-size:10px;min-height:22px;display:flex;align-items:center}
.counter-modern #walkin-app>.counter-wrap{max-width:1380px;padding:26px 30px 45px}
.counter-modern .counter-context{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:22px}.counter-modern .counter-heading{min-width:0}.counter-modern .counter-heading h1{font-size:27px;font-weight:650;letter-spacing:-.7px;margin:0}.counter-modern .counter-heading>p{font-size:11px;line-height:1.8;margin:6px 0 0;max-width:620px;color:var(--cw-muted)}
.counter-modern #store-row{display:flex!important;align-items:center;gap:10px;margin:7px 0 0;padding:0;border:0!important;border-radius:0;background:none!important;flex-shrink:0}.counter-modern #store-row label{font-size:11px;margin:0}.counter-modern #store-select{width:auto;max-width:210px;padding:11px 12px;min-height:42px;border-radius:9px;font-size:12px;background:var(--cw-panel)}
.counter-modern .counter-drafts-bar{background:var(--cw-panel);border:1px solid var(--cw-line);border-radius:12px;min-height:76px;padding:16px 18px;margin-bottom:18px;gap:10px}.counter-modern .counter-drafts-bar [role=status]{font-size:11px;line-height:1.7;color:var(--cw-muted)}
.counter-modern .counter-drafts-bar [role=status]:before{content:'Current sale';display:block;font-size:12px;font-weight:600;color:var(--cw-text);margin-bottom:5px}.counter-modern:lang(ar) .counter-drafts-bar [role=status]:before{content:'المعاملة الحالية'}
.counter-modern .counter-drafts-bar button{font-size:11px;padding:12px 16px;background:var(--cw-input);border:1px solid var(--cw-line);color:var(--cw-text);min-height:42px}
.counter-modern .counter-rates{display:flex;align-items:center;gap:20px;background:var(--cw-panel);border:1px solid var(--cw-line);border-radius:10px;padding:12px 17px;margin-bottom:22px;min-height:44px;font-size:11px;color:var(--cw-muted)}
.counter-modern .counter-rates small{margin-inline-start:auto;font-size:10px}.counter-modern #nav-gold-prices{display:flex;gap:22px;font-size:11px}.counter-modern #nav-gold-prices>div{display:flex;align-items:center;gap:7px}.counter-modern #nav-gold-prices p{font-size:11px;font-weight:400}.counter-modern #nav-gold-prices p[id]{color:var(--cw-text);font-weight:600}.counter-modern #nav-gold-prices #nav-price-21k{color:var(--cw-gold)}
.counter-modern #main-grid{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:22px;align-items:start}.counter-modern #main-grid>div{min-width:0}.counter-modern .counter-work>*+*{margin-top:16px}.counter-modern #main-grid .counter-order>*+*{margin-top:0}
.counter-modern #walkin-app .bg-zinc-900{background:var(--cw-panel)}.counter-modern #walkin-app .bg-zinc-800,.counter-modern #walkin-app .bg-zinc-700{background:var(--cw-input)}
.counter-modern #walkin-app .rounded-3xl{border:1px solid var(--cw-line);border-radius:13px}.counter-modern #walkin-app .rounded-2xl{border-radius:9px}.counter-modern #walkin-app .border-zinc-700,.counter-modern #walkin-app .border-zinc-800{border-color:var(--cw-line)}
.counter-modern #walkin-app .text-gray-400,.counter-modern #walkin-app .text-gray-500,.counter-modern #walkin-app .text-gray-600{color:var(--cw-muted)}.counter-modern #walkin-app .text-amber-400{color:var(--cw-gold)}.counter-modern #walkin-app .text-emerald-400{color:var(--cw-green)}
.counter-modern #walkin-app input,.counter-modern #walkin-app select,.counter-modern #walkin-app textarea{color:var(--cw-text);border-color:var(--cw-line);min-width:0;font-size:12px}.counter-modern #walkin-app input:focus,.counter-modern #walkin-app select:focus,.counter-modern #walkin-app textarea:focus{outline:2px solid var(--cw-gold);outline-offset:2px}
.counter-modern #walkin-app button:focus-visible,.counter-modern #walkin-app a:focus-visible,.counter-modern summary:focus-visible{outline:2px solid var(--cw-gold);outline-offset:3px}
.counter-modern .counter-tabs{width:100%;max-width:none;display:flex;padding:5px;gap:6px;background:var(--cw-panel);border:1px solid var(--cw-line);border-radius:11px}
.counter-modern .counter-tabs button{flex:1;min-height:42px;padding:10px 8px;font-size:12px;border:0;border-radius:7px;background:transparent;color:var(--cw-muted);font-weight:600}.counter-modern .counter-tabs button[aria-selected=true]{background:color-mix(in srgb,var(--cw-gold) 13%,var(--cw-panel));color:var(--cw-gold)}
.counter-modern #product-picker-card{padding:18px 20px}.counter-modern #product-picker-card>div:first-child{margin-bottom:10px}.counter-modern #product-picker-card>div:first-child label{font-size:12px;color:var(--cw-text);font-weight:600}.counter-modern #serial-search-input{background:var(--cw-bg);font-size:12px;padding:12px}
.counter-modern #sale-product-section>div:first-child button{min-height:44px;padding:8px 13px;border:1px solid var(--cw-line);border-radius:9px;background:var(--cw-input);font-size:12px;color:var(--cw-text)}
.counter-modern #sale-product-section>div:last-child{padding-top:10px;margin-top:8px}.counter-modern .counter-stock>summary{font-size:10px;color:var(--cw-muted);padding:7px 0;cursor:pointer}.counter-modern .counter-stock[open]>summary{margin-bottom:7px}.counter-modern #inventory-picker{max-height:260px}.counter-modern #inventory-picker button{padding:12px;font-size:12px}.counter-modern #inventory-picker .text-sm{font-size:12px}
.counter-modern .counter-product{border:1px solid var(--cw-line);border-radius:13px;background:var(--cw-panel);overflow:hidden}.counter-modern #selected-product-display{border:0;border-radius:0;padding:22px;margin:0;background:transparent}.counter-modern .counter-product-top{display:flex;align-items:center;gap:20px}.counter-modern .counter-product-photo{width:104px;height:113px;border-radius:10px;overflow:hidden;background:var(--cw-input);flex-shrink:0;display:flex;align-items:center;justify-content:center}.counter-modern .counter-product-photo img{width:100%;height:100%;object-fit:cover}.counter-modern .counter-photo-placeholder{font-size:11px;color:var(--cw-muted)}.counter-modern .counter-product-copy{min-width:0}.counter-modern .counter-product-eyebrow{font-size:9px;letter-spacing:1.2px;color:var(--cw-muted);margin:0 0 8px}.counter-modern #selected-product-name{font-size:18px;line-height:1.5;letter-spacing:-.3px;color:var(--cw-text);font-weight:600}.counter-modern .counter-specs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.counter-modern .counter-specs span{border:1px solid var(--cw-line);border-radius:6px;padding:6px 9px;font-size:12px}.counter-modern .counter-specs span:nth-child(2){color:var(--cw-gold);font-weight:600}.counter-modern #selected-product-weight{font-size:10px;color:var(--cw-muted);margin-top:18px;line-height:1.8;overflow-wrap:anywhere}
.counter-modern .counter-exact-pieces{border-top:1px solid var(--cw-line);display:flex;align-items:center;gap:8px;padding:16px 22px;flex-wrap:wrap}.counter-modern .counter-exact-pieces>span{font-size:11px;color:var(--cw-muted);margin-inline-end:auto}.counter-modern .counter-exact-pieces button{border:1px solid var(--cw-line);border-radius:7px;background:var(--cw-input);min-width:48px;min-height:38px;padding:8px 12px;font-size:12px}.counter-modern .counter-exact-pieces button[aria-pressed=true]{color:var(--cw-gold);border-color:var(--cw-gold);background:color-mix(in srgb,var(--cw-gold) 9%,var(--cw-panel))}
.counter-modern .counter-product-empty{padding:42px 24px;text-align:center}.counter-modern .counter-product-empty strong{font-size:17px;font-weight:500}.counter-modern .counter-product-empty p{font-size:12px;color:var(--cw-muted);line-height:1.9;max-width:410px;margin:12px auto 0}
.counter-modern #price-add-card{padding:22px;border:0;border-top:1px solid var(--cw-line);border-radius:0;background:color-mix(in srgb,var(--cw-input) 28%,var(--cw-panel));margin:0}
.counter-modern #sale-price-section>.grid{grid-template-columns:minmax(0,1fr) 110px;gap:24px;align-items:start;margin:0 0 8px}.counter-modern .counter-price-field{grid-column:auto}.counter-modern .counter-price-field label{font-size:12px;font-weight:600;color:var(--cw-text);margin-bottom:8px}.counter-modern #sale-price,.counter-modern #purchase-price{font-size:29px;font-weight:600;letter-spacing:-.5px;padding:12px 14px;max-width:325px;height:65px;border-radius:9px;background:var(--cw-bg);font-variant-numeric:tabular-nums}.counter-modern .counter-quantity{text-align:end}.counter-modern .counter-quantity label{font-size:11px;margin-bottom:8px}.counter-modern #sale-qty{max-width:84px;padding:8px 10px;height:47px;font-size:20px;font-weight:500;background:transparent}.counter-modern #sale-suggested{font-size:10px;line-height:1.8;margin:8px 0 20px}.counter-modern #sale-qty-max{font-size:9px}
.counter-modern #negotiation-panel{padding:0;background:transparent;margin:0 0 14px;font-size:11px}.counter-modern #neg-markup-box{margin:0 0 10px;padding:17px 18px;background:var(--cw-panel);border:1px solid var(--cw-line);border-radius:10px}.counter-modern .counter-markup-head{display:flex;justify-content:space-between;gap:12px;color:var(--cw-muted);font-size:11px}.counter-modern .counter-markup-numbers{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}.counter-modern #neg-markup-current{font-size:28px;font-weight:600;letter-spacing:-.5px}.counter-modern #neg-markup-total{font-size:11px;color:var(--cw-green)}.counter-modern .counter-markup-track{height:4px;background:var(--cw-line);border-radius:4px;margin-top:15px;overflow:hidden}.counter-modern .counter-markup-track span{display:block;height:100%;background:var(--cw-green);transition:width .15s}.counter-modern #neg-markup-box[data-level=reduced] .counter-markup-track span{background:var(--cw-gold)}.counter-modern #neg-markup-box[data-level=loss] #neg-markup-total{color:#f28c7b}.counter-modern .counter-markup-note{font-size:10px;color:var(--cw-muted);margin-top:10px;line-height:1.7}.counter-modern #neg-status{font-size:10px;text-align:start;border-radius:6px;padding:7px 10px}.counter-modern #negotiation-panel>button{font-size:11px;text-align:start;border:0;padding:10px 0;margin:0}.counter-modern #neg-details{padding:12px;background:var(--cw-panel);border:1px solid var(--cw-line);border-radius:8px}.counter-modern #sale-price-section>button:last-child,.counter-modern #purchase-price-section>button:last-child{background:#e8c173;color:#211c13;border:0;border-radius:9px;min-height:45px;font-size:12px;font-weight:600}
.counter-modern .counter-order{background:var(--cw-panel);border:1px solid var(--cw-line);border-radius:13px;overflow:hidden;position:sticky;top:18px}.counter-modern .counter-order-head{padding:20px;border-bottom:1px solid var(--cw-line);display:flex;justify-content:space-between;align-items:center}.counter-modern .counter-order-head h2{font-size:15px;font-weight:600}.counter-modern .counter-count{font-size:10px;border:1px solid var(--cw-line);border-radius:5px;padding:4px 7px;color:var(--cw-muted)}
.counter-modern .counter-order>.rounded-3xl,.counter-modern .counter-payment>.rounded-3xl{border:0;border-radius:0;padding:17px 20px}.counter-modern .counter-order>div+div{border-top:1px solid var(--cw-line)}
.counter-modern .counter-customer{border-bottom:1px solid var(--cw-line)}.counter-modern .counter-customer>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;min-height:70px}.counter-modern .counter-customer>summary::-webkit-details-marker{display:none}.counter-modern .counter-customer small{font-size:10px;color:var(--cw-muted);display:block}.counter-modern .counter-customer strong{display:block;font-size:12px;font-weight:600;margin-top:4px;overflow-wrap:anywhere}.counter-modern .counter-customer-action{font-size:10px;color:var(--cw-gold);white-space:nowrap}.counter-modern .counter-customer-fields{padding:0 20px 16px;border:0!important;border-radius:0!important}.counter-modern .counter-customer-fields>label:first-child{display:none}.counter-modern .counter-customer-fields input{width:0;padding:10px 11px}.counter-modern .counter-customer-fields button{font-size:11px;padding:8px 10px}.counter-modern .counter-customer-fields #customer-create input{width:100%}.counter-modern .counter-customer-fields #customer-status{font-size:10px}
.counter-modern .counter-sale-lines>h3{display:none}.counter-modern #sale-cart-items>p{padding:25px 0;font-size:12px;color:var(--cw-muted)}.counter-modern #sale-cart-items>div{padding:0 0 17px;margin-bottom:17px}.counter-modern #sale-cart-items>div:last-child{padding-bottom:0;margin-bottom:0}.counter-modern #sale-cart-items>div>div:first-child{flex-wrap:wrap}.counter-modern #sale-cart-items>div>div:first-child>div:first-child{flex-basis:100%}.counter-modern #sale-cart-items>div>div:first-child>div:last-child{width:100%;justify-content:space-between;margin-top:8px}.counter-modern #sale-cart-items .text-sm{font-size:12px;line-height:1.6}.counter-modern #sale-cart-items .text-xs{font-size:10px;line-height:1.8}.counter-modern #sale-cart-items>div>div:last-child{margin:10px 0 0}.counter-modern #sale-cart-items button{min-height:28px;color:var(--cw-gold)}.counter-modern #sale-cart-items button[onclick^=removeSaleItem]{border:1px solid var(--cw-line);border-radius:7px;width:30px;height:30px;color:var(--cw-muted)}.counter-modern #sale-cart-items img{display:none}.counter-modern #sale-cart-subtotal{display:none!important}.counter-modern .counter-purchase-lines h3{font-size:11px;text-transform:none;letter-spacing:0}.counter-modern #purchase-cart-items .flex{flex-wrap:wrap}.counter-modern #purchase-cart-items .text-sm{font-size:12px}.counter-modern #purchase-cart-items .text-xs{font-size:10px}
.counter-modern .counter-physical-total{display:flex;justify-content:space-between;gap:12px;font-size:11px;padding:17px 20px;color:var(--cw-muted)}.counter-modern .counter-physical-total strong{font-size:11px;color:var(--cw-text)}.counter-modern #balance-panel{padding-top:0!important}.counter-modern #balance-panel>h3{display:none}.counter-modern #balance-panel .text-sm{font-size:11px}.counter-modern #balance-sale-row{display:none!important}.counter-modern #balance-label{font-size:12px;font-weight:500}.counter-modern #balance-amount{font-size:24px;letter-spacing:-.5px;color:var(--cw-gold)}.counter-modern #balance-panel>div>div:last-child{border-top:0;margin-top:4px;padding-top:8px}.counter-modern #discount-toggle-row{font-size:10px}.counter-modern .counter-order-notes{padding-top:8px!important}.counter-modern .counter-order-notes label{font-size:11px;color:var(--cw-text)}.counter-modern .counter-order-notes input{padding:12px;font-size:11px;background:var(--cw-bg)}
.counter-modern .counter-payment{border-top:1px solid var(--cw-line)}.counter-modern .counter-payment>summary{font-size:11px;color:var(--cw-muted);padding:14px 20px;cursor:pointer}.counter-modern .counter-payment h3{font-size:11px;text-transform:none;letter-spacing:0}.counter-modern .counter-payment .grid{grid-template-columns:1fr}.counter-modern .counter-payment .text-sm{font-size:12px}.counter-modern .counter-payment .text-xs{font-size:10px}.counter-modern #splits-list>div>.flex{flex-wrap:wrap}.counter-modern .split-method{flex:1;min-width:110px!important}.counter-modern .split-amount{width:90px}.counter-modern #hold-pickup-detail .grid{grid-template-columns:1fr}.counter-modern #hold-pickup-detail input{width:100%}
.counter-modern #counter-review-payment,.counter-modern #submit-btn{width:calc(100% - 40px);margin:12px 20px 20px;background:#e8c173!important;color:#211c13!important;border:0;border-radius:9px;min-height:45px;padding:12px;font-size:12px;font-weight:600;position:static;box-shadow:none}.counter-modern #counter-review-payment:disabled{opacity:.5;cursor:not-allowed}.counter-modern #submit-error{margin:12px 20px;font-size:12px}.counter-modern .counter-checkout-jump{display:none}
.counter-modern[data-counter-mode=browse] #main-grid{grid-template-columns:minmax(0,1fr) 345px}
/* The Used tab shows no cart (owner, 2026-11-06): its tiles take the whole width. */
.counter-modern[data-counter-mode=used] #main-grid{grid-template-columns:minmax(0,1fr)}.counter-modern #browse-tiles,.counter-modern #browse-consigned-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
.counter-modern[data-counter-theme=light] #walkin-app .text-white{color:var(--cw-text)}.counter-modern[data-counter-theme=light] #walkin-app .text-gray-300{color:#525c64}.counter-modern[data-counter-theme=light] #walkin-app .text-purple-300,.counter-modern[data-counter-theme=light] #walkin-app .text-purple-400{color:#7b4ba1}.counter-modern[data-counter-theme=light] #walkin-app .text-sky-300,.counter-modern[data-counter-theme=light] #walkin-app .text-sky-400,.counter-modern[data-counter-theme=light] #walkin-app .text-blue-400{color:#246991}.counter-modern[data-counter-theme=light] #walkin-app .text-red-400{color:#b44037}.counter-modern[data-counter-theme=light] #walkin-app [class*='bg-zinc-950/'],.counter-modern[data-counter-theme=light] #walkin-app [class*='bg-zinc-900/']{background:#ede9e1}
.counter-modern .counter-draft-dialog{background:var(--cw-panel);color:var(--cw-text);border-color:var(--cw-line)}.counter-modern .counter-draft-dialog p{color:var(--cw-muted)}.counter-modern .counter-draft-dialog button,.counter-modern .counter-draft-dialog input{background:var(--cw-input);color:var(--cw-text);border-color:var(--cw-line)}.counter-modern .counter-draft-dialog button.draft-primary{background:#e8c173;color:#211c13}
@media(min-width:1600px){.counter-modern #main-grid{grid-template-columns:minmax(0,1fr) 370px}}
@media(max-width:1050px){.counter-modern #main-grid,.counter-modern[data-counter-mode=browse] #main-grid{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.counter-modern #walkin-app>.counter-wrap{padding-inline:20px}.counter-modern .counter-product-top{gap:14px}.counter-modern .counter-product-photo{width:80px;height:90px}.counter-modern #selected-product-name{font-size:16px}.counter-modern .counter-markup-numbers{gap:6px}.counter-modern #sale-price-section>.grid{grid-template-columns:minmax(0,1fr) 75px;gap:12px}.counter-modern #sale-price{font-size:26px}.counter-modern .counter-rates{gap:15px}.counter-modern .counter-rates small{font-size:9px}}
@media(max-width:760px){.counter-modern #main-grid,.counter-modern[data-counter-mode=browse] #main-grid{grid-template-columns:1fr;gap:22px}.counter-modern .counter-order{position:static;scroll-margin-top:15px}.counter-modern #walkin-app>nav>div{min-height:65px;padding:12px 16px;gap:8px}.counter-modern .counter-brand{font-size:18px;gap:6px}.counter-modern .counter-brand img{width:29px;height:29px}.counter-modern .counter-header-actions{gap:5px}.counter-modern .counter-header-actions button{font-size:10px;padding:7px 9px;min-height:37px}.counter-modern #back-link{font-size:10px;margin-inline-end:0}.counter-modern #counter-theme-switch{font-size:0;width:36px}.counter-modern #counter-theme-switch:after{content:'☀';font-size:16px}.counter-modern[data-counter-theme=light] #counter-theme-switch:after{content:'☾'}.counter-modern .counter-header-actions>button[onclick='logout()']{display:none}.counter-modern .counter-view-toolbar{padding:5px 16px;min-height:30px}.counter-modern #walkin-app>.counter-wrap{padding:21px 16px 90px}.counter-modern .counter-context{gap:12px;margin-bottom:19px}.counter-modern .counter-heading h1{font-size:23px}.counter-modern .counter-heading>p{font-size:10px;line-height:1.7}.counter-modern #store-row{max-width:145px;display:block!important;margin-top:0}.counter-modern #store-row label{display:none}.counter-modern #store-select{max-width:145px;width:100%;font-size:10px;padding:10px 7px}.counter-modern .counter-drafts-bar{gap:8px;padding:13px;min-height:100px;margin-bottom:16px}.counter-modern .counter-drafts-bar [role=status]{flex-basis:100%;font-size:10px}.counter-modern .counter-drafts-bar button{font-size:10px;min-height:38px;padding:9px 12px}.counter-modern .counter-rates{gap:9px 15px;flex-wrap:wrap;padding:12px;margin-bottom:17px}.counter-modern .counter-rates-label{font-size:10px}.counter-modern .counter-rates small{width:100%;font-size:9px}.counter-modern #nav-gold-prices{gap:14px}.counter-modern #nav-gold-prices p{font-size:10px}.counter-modern #nav-gold-prices>div{gap:4px}.counter-modern .counter-tabs button{font-size:11px;padding:10px 4px}.counter-modern #product-picker-card{padding:15px}.counter-modern #sale-product-section>div:first-child{flex-wrap:wrap;gap:7px}.counter-modern #serial-search-input{flex-basis:100%;width:100%;font-size:11px;min-height:44px}.counter-modern #sale-product-section>div:first-child button{min-height:36px;padding:7px 12px;font-size:11px}.counter-modern #sale-product-section>div:first-child button:last-child{margin-inline-start:auto}.counter-modern #selected-product-display{padding:18px}.counter-modern .counter-product-top{gap:14px}.counter-modern .counter-product-photo{width:80px;height:95px}.counter-modern #selected-product-name{font-size:16px}.counter-modern .counter-specs{gap:6px;margin-top:10px}.counter-modern .counter-specs span{font-size:11px;padding:5px 7px}.counter-modern .counter-product-eyebrow{font-size:8px;letter-spacing:.8px}.counter-modern #selected-product-weight{font-size:9px;margin-top:15px}.counter-modern .counter-exact-pieces{padding:13px 18px;gap:6px}.counter-modern .counter-exact-pieces>span{font-size:10px}.counter-modern .counter-exact-pieces button{min-width:40px;padding:7px 10px}.counter-modern #price-add-card{padding:18px}.counter-modern #sale-price-section>.grid{grid-template-columns:minmax(0,1fr) 73px;gap:12px}.counter-modern #sale-price{font-size:27px;padding:10px 12px;height:60px}.counter-modern .counter-price-field label{font-size:11px}.counter-modern #sale-qty{font-size:18px}.counter-modern #neg-markup-box{padding:15px}.counter-modern .counter-markup-head{font-size:10px;gap:8px;flex-wrap:wrap}.counter-modern #neg-markup-current{font-size:25px}.counter-modern #neg-markup-total{font-size:10px}.counter-modern .counter-markup-note{font-size:9px}.counter-modern #browse-tiles,.counter-modern #browse-consigned-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.counter-modern #walkin-app .counter-checkout-jump:not([hidden]){display:block;position:fixed;bottom:0;inset-inline:0;z-index:40;background:#e8c173;color:#211c13;border:0;border-top:1px solid #c7a15d;padding:16px 12px calc(16px + env(safe-area-inset-bottom));font-size:12px;font-weight:600}.counter-modern #purchase-price-section>.grid{grid-template-columns:minmax(0,1fr) 75px}.counter-modern #purchase-price-section>.grid>div:first-child{grid-column:auto}.counter-modern #purchase-price-section .flex>div{min-width:0}.counter-modern #purchase-price-section .w-24{width:70px}.counter-modern #buyback-ref-input{width:0;flex:1}}
@media(max-width:380px){.counter-modern .counter-brand span{display:none}.counter-modern .counter-context{gap:8px}.counter-modern .counter-heading h1{font-size:21px}.counter-modern #store-row,.counter-modern #store-select{max-width:125px}.counter-modern .counter-product-photo{width:65px;height:82px}.counter-modern .counter-product-top{gap:12px;align-items:start}.counter-modern #selected-product-name{font-size:14px}.counter-modern .counter-specs span{font-size:10px;padding:5px 6px}.counter-modern .counter-exact-pieces>span{width:100%;margin-bottom:3px}.counter-modern .counter-exact-pieces button{flex:1}.counter-modern #neg-markup-current{font-size:23px}.counter-modern #price-add-card{padding:15px}.counter-modern .counter-customer>summary{padding:15px}.counter-modern #nav-gold-prices{gap:13px}.counter-modern .counter-rates-label{width:100%}}
.counter-modern #tg-store-banner{position:relative;background:var(--cw-panel);border-bottom:1px solid var(--cw-line);color:var(--cw-muted);font-size:10px;font-weight:400;padding:6px 16px;gap:6px;min-height:26px}.counter-modern #tg-store-banner strong{font-weight:600;color:var(--cw-text)}
.counter-modern #walkin-app .counter-order>.rounded-3xl,.counter-modern #walkin-app .counter-payment>.rounded-3xl{border:0;border-radius:0;background:transparent}.counter-modern #walkin-app .counter-order>div+div{border-top:1px solid var(--cw-line)}
.counter-modern #walkin-app #price-add-card{border:0;border-top:1px solid var(--cw-line);border-radius:0;background:color-mix(in srgb,var(--cw-input) 28%,var(--cw-panel))}.counter-modern #walkin-app #selected-product-display{background:transparent;border:0;border-radius:0}.counter-modern #walkin-app #negotiation-panel{background:transparent}.counter-modern #walkin-app #neg-markup-box{background:var(--cw-panel)}
.counter-modern #walkin-app #serial-search-input,.counter-modern #walkin-app #tx-notes,.counter-modern #walkin-app #sale-price,.counter-modern #walkin-app #purchase-price{background:var(--cw-bg)}
.counter-modern #walkin-app #balance-amount{color:var(--cw-gold)}.counter-modern #walkin-app #sale-price-section>button:last-child:disabled{opacity:.45;cursor:not-allowed}.counter-modern .counter-customer-alerts:empty{display:none}.counter-modern .counter-customer-alerts>div:not(.hidden){margin:12px 15px}
@media(max-width:760px){.counter-modern .counter-header-actions>button[onclick='logout()']{display:block;font-size:0;width:32px;padding:7px}.counter-modern .counter-header-actions>button[onclick='logout()']:after{content:'↪';font-size:17px}}
/* price | markup | qty (2026-10-01) */
.counter-modern #sale-price-section>.grid{grid-template-columns:minmax(0,1fr) auto 90px;gap:14px}
@media(max-width:760px){.counter-modern #sale-price-section>.grid{grid-template-columns:minmax(0,1fr) auto 64px;gap:8px}.counter-modern #sale-markup{width:58px;font-size:18px}.counter-modern #sale-markup-field button{padding-left:9px;padding-right:9px}}
.counter-modern #sale-markup{background:var(--cw-bg);height:65px}
/* light theme: the scan status line and a cart piece's warning stay readable (2026-10-09) */
.counter-modern[data-counter-theme=light] #walkin-app #serial-search-status.text-emerald-400{color:#17694f}.counter-modern[data-counter-theme=light] #walkin-app #serial-search-status.text-amber-300,.counter-modern[data-counter-theme=light] #walkin-app #serial-search-status.text-amber-400{color:#854d0e}.counter-modern[data-counter-theme=light] #walkin-app #serial-search-status.text-violet-300{color:#6d3fa0}.counter-modern[data-counter-theme=light] #walkin-app #serial-search-status.text-gray-400{color:var(--cw-muted)}
.counter-modern[data-counter-theme=light] #walkin-app .bg-red-950\/40{background:#fdecea}.counter-modern[data-counter-theme=light] #walkin-app [data-sold-elsewhere].text-red-300{color:#a3261b}.counter-modern[data-counter-theme=light] #walkin-app [data-sold-elsewhere].text-amber-300{color:#854d0e}.counter-modern #walkin-app [data-sold-elsewhere] button.text-white{color:#fff}
.counter-draft-dialog h3.draft-section{margin-top:22px;color:#e1b972}.counter-draft-dialog p+h3.draft-section{padding-top:14px;border-top:1px solid #3a4249}
