.topbar nav button.active-page,.mobile-nav button.active-page{color:#ffd21c;border-color:#ffd21c;background:rgba(255,210,28,.12)}
.seller-rating{color:#ffd21c!important;font-size:.9rem;margin-top:.25rem}.listing-seller-rating{color:#ffd21c;font-weight:700}
.fitment-checker{margin:1.25rem 0;padding:1rem;border:1px solid #343a40;border-radius:14px;background:#101417}.fitment-checker h2{margin-top:0}.fitment-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.fitment-form label{font-size:.8rem;color:#b8bec4}.fitment-form input{width:100%;margin-top:.3rem}.fitment-form button{grid-column:1/-1}.fitment-result{margin-top:.8rem;padding:.8rem;border-radius:10px;background:#191f23;font-weight:700}.fitment-result:empty{display:none}.fitment-result.likely{color:#6ee7a3}.fitment-result.possible{color:#ffd21c}.fitment-result.no-fit{color:#ff7777}.fitment-warning{font-size:.78rem;color:#aab0b5;margin-bottom:0}
.fitment-collapsible{padding:0;overflow:hidden}.fitment-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.9rem 1rem;border:0;background:transparent;color:#f3f6f7;text-align:left;font-weight:850}.fitment-toggle:hover,.fitment-toggle:focus-visible{color:#ffd235;outline:none}.fitment-toggle-icon{color:#ffd235;font-size:1.15rem;transition:transform .22s ease}.fitment-toggle[aria-expanded="true"] .fitment-toggle-icon{transform:rotate(180deg)}.fitment-content{padding:0 1rem 1rem}.fitment-content:not([hidden]){animation:fitment-open .2s ease-out}.fitment-content[hidden]{display:none}@keyframes fitment-open{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.fitment-collapsible .fitment-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.fitment-collapsible .fitment-form label{min-width:0;font-size:.82rem;font-weight:750}.fitment-collapsible .fitment-form input,.fitment-collapsible .fitment-form select{min-width:0;height:48px;padding:.75rem .85rem;font-size:1rem}.fitment-collapsible .fitment-form button{min-height:46px;margin-top:.15rem}.fitment-result-card{display:block;color:#e9edef}.fitment-result-card>strong{display:block;color:#ffd235;font-size:1rem}.fitment-result-card p{margin:.45rem 0 0;color:#c3cbd0;font-weight:500;line-height:1.45}.fitment-result-card dl{display:grid;gap:0;margin:.7rem 0 0}.fitment-result-card dl div{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(0,1.2fr);gap:.75rem;padding:.55rem 0;border-top:1px solid #343d43}.fitment-result-card dt{color:#9fa9b0;font-size:.78rem}.fitment-result-card dd{margin:0;color:#f0f3f5;font-size:.84rem;font-weight:750}.fitment-result-card.unconfirmed{border:1px solid #695c2e;background:#1b1911}.fitment-warning{line-height:1.45}
@media(max-width:560px){.fitment-collapsible .fitment-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.fitment-collapsible .fitment-form input,.fitment-collapsible .fitment-form select{height:46px;padding:.65rem .7rem;font-size:.95rem}.fitment-result-card dl div{grid-template-columns:1fr;gap:.2rem}}
@media(max-width:360px){.fitment-collapsible .fitment-form{grid-template-columns:1fr}}
.tire-size-compare{margin-top:-.6rem}.tire-compare-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.tire-compare-form label{min-width:0;color:#b8bec4;font-size:.82rem;font-weight:750}.tire-compare-form input{height:48px;margin-top:.35rem;padding:.75rem .85rem;font-size:1rem;text-transform:uppercase}.tire-compare-form button{grid-column:1/-1;min-height:46px}.tire-compare-result{display:none;margin-top:.8rem;padding:.9rem;border:1px solid #3b454d;border-radius:10px;background:#151a1e}.tire-compare-result:not(:empty){display:block}.tire-compare-result>strong{display:block;color:#ffd235;font-size:1rem}.tire-compare-result.close{border-color:#386f4a}.tire-compare-result.check{border-color:#756224}.tire-compare-result.significant,.tire-compare-result.error{border-color:#754044}.tire-size-summary{display:flex;align-items:center;gap:.65rem;margin:.7rem 0;font-weight:850}.tire-size-summary span{padding:.35rem .55rem;border-radius:7px;background:#20272c}.tire-size-summary b{color:#ffd235}.tire-compare-result dl{margin:0}.tire-compare-result dl div{display:grid;grid-template-columns:minmax(155px,.9fr) minmax(0,1.1fr);gap:.7rem;padding:.5rem 0;border-top:1px solid #343d43}.tire-compare-result dt{color:#9fa9b0;font-size:.76rem}.tire-compare-result dd{margin:0;color:#f0f3f5;font-size:.82rem;font-weight:750}.tire-compare-result>p{margin:.7rem 0 0;color:#aeb7bd;font-size:.74rem;line-height:1.45}@media(max-width:560px){.tire-compare-form{grid-template-columns:1fr}.tire-compare-form input{height:46px}.tire-compare-result dl div{grid-template-columns:1fr;gap:.2rem}.tire-size-summary{flex-wrap:wrap}}
.listing-tools{margin:1.25rem 0}.listing-tool-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.listing-tool-tab{min-width:0;min-height:52px;border:1px solid #343a40;border-radius:12px;background:#101417;padding:.75rem .9rem}.listing-tool-tab>span:first-child{min-width:0;line-height:1.25}.listing-tool-tab[aria-expanded="true"]{border-color:#8a6d16;background:#18170f;color:#ffd235}.listing-tool-panel{margin-top:.7rem;padding:1rem;border:1px solid #343a40;border-radius:12px;background:#101417}.listing-tool-panel:not([hidden]){animation:fitment-open .2s ease-out}.listing-tool-panel[hidden]{display:none}@media(max-width:560px){.listing-tool-tabs{gap:.5rem}.listing-tool-tab{min-height:50px;padding:.65rem .6rem;font-size:.76rem}}@media(max-width:340px){.listing-tool-tabs{grid-template-columns:1fr}.listing-tool-tab{font-size:.82rem}}
.tire-compare-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;margin-bottom:.8rem}.tire-compare-heading>strong{color:#f0f3f5}.tire-compare-heading>b{flex:0 0 auto;color:#ffd235}.tire-comparison-table-wrap{overflow-x:auto;border:1px solid #343d43;border-radius:9px}.tire-comparison-table{width:100%;min-width:610px;border-collapse:collapse;font-size:.78rem}.tire-comparison-table th,.tire-comparison-table td{padding:.58rem .65rem;border-bottom:1px solid #343d43;text-align:right;white-space:nowrap}.tire-comparison-table th:first-child{text-align:left}.tire-comparison-table thead th{background:#101417;color:#ffd235}.tire-comparison-table tbody th{color:#aeb7bd;font-weight:700}.tire-visual-comparison{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:1rem;min-height:210px;margin:1rem 0;padding:1rem;border-radius:10px;background:#0f1316}.tire-visual-comparison figure{display:grid;grid-template-rows:165px auto;justify-items:center;align-items:end;margin:0;min-width:0}.visual-tire{display:grid;place-items:center;width:min(100%,calc(112px * var(--tire-width)));height:calc(160px * var(--tire-height));min-width:54px;min-height:76px;border:7px solid #343b40;border-radius:46%;background:radial-gradient(circle,#232a2f 0 29%,#050708 31% 46%,#20262a 48% 55%,#090b0d 57%);box-shadow:inset 0 0 0 2px #080a0b,0 8px 18px #0008}.visual-tire span{font-size:0}.tire-visual-comparison figcaption{margin-top:.55rem;color:#ffd235;font-size:.8rem;font-weight:850;text-align:center}.tire-visual-vs{align-self:center;color:#8f999f;font-weight:800}@media(max-width:560px){.tire-compare-heading{display:grid}.tire-compare-heading>b{font-size:.88rem}.tire-visual-comparison{gap:.45rem;min-height:190px;padding:.7rem}.tire-visual-comparison figure{grid-template-rows:145px auto}.visual-tire{width:min(100%,calc(92px * var(--tire-width)));height:calc(140px * var(--tire-height))}.tire-comparison-table{font-size:.73rem}}

/* Tire Size Compare reference layout — intentionally scoped to this tool. */
.tire-compare-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:1rem;border:1px solid #353b42;border-radius:14px;background:linear-gradient(145deg,#15191e,#0d1013)}
.tire-size-entry{min-width:0;margin:0;padding:0;border:0}.tire-size-entry legend{margin-bottom:.45rem;color:#c3c7cc;font-size:.8rem;font-weight:800}.tire-size-boxes{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,.72fr) auto minmax(0,.72fr);align-items:center;gap:.35rem}.tire-size-boxes input{width:100%;height:54px;margin:0;padding:.55rem .3rem;border:1px solid #4a5058;border-radius:9px;background:#080a0d;color:#fff;font-size:1.15rem;font-weight:850;text-align:center}.tire-size-boxes input:focus{border-color:#8c5cff;box-shadow:0 0 0 3px #8054e133}.tire-size-boxes span{color:#d6d9de;font-size:1.15rem;font-weight:900}.tire-compare-submit{grid-column:1/-1;min-height:54px;border:0;border-radius:10px;background:linear-gradient(135deg,#9a67ff,#6740d8);color:#fff;font-size:1.05rem;font-weight:900;box-shadow:0 8px 22px #6e42d54a}.tire-compare-submit:hover,.tire-compare-submit:focus-visible{background:linear-gradient(135deg,#aa7bff,#7650e8)}
.tire-compare-result{padding:1rem;background:linear-gradient(150deg,#15191e,#0b0e11);border-color:#443568}.tire-compare-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(92px,.62fr) minmax(0,1fr);align-items:end;gap:.75rem;min-height:270px;margin-bottom:1rem;padding:1rem;border-radius:12px;background:radial-gradient(circle at 50% 38%,#2b1e45 0,#11151a 42%,#080a0d 100%)}.comparison-tire{display:grid;grid-template-rows:auto 190px auto;justify-items:center;align-items:end;min-width:0;margin:0}.comparison-tire>strong{align-self:start;color:#fff;font-size:.92rem}.comparison-tire-stage{display:flex;align-items:flex-end;justify-content:center;width:100%;height:190px}.comparison-tire .visual-tire{width:calc(122px * var(--tire-width));max-width:100%;height:calc(180px * var(--tire-height));border-color:#272c31;background:radial-gradient(circle,#a6abb1 0 7%,#3e454b 8% 19%,#090b0d 20% 36%,#23282d 38% 48%,#07090b 50%);box-shadow:inset 0 0 0 3px #080a0c,0 10px 20px #000b}.comparison-tire figcaption{display:grid;gap:.15rem;margin-top:.55rem;color:#bfc5cb;font-size:.7rem;text-align:center}.tire-compare-centre{align-self:center;display:grid;justify-items:center;gap:.75rem}.tire-compare-centre img{width:min(100%,105px);height:auto;object-fit:contain}.diameter-callout{padding:.55rem .65rem;border:1px solid #7650d2;border-radius:9px;background:#171124;color:#b894ff;font-size:.78rem;line-height:1.25;text-align:center}.diameter-callout.decrease{color:#ff7078;border-color:#73363e}.comparison-change{font-weight:850}.comparison-change.positive{color:#4fd689}.comparison-change.negative{color:#ff6874}.comparison-change.neutral{color:#b894ff}.tire-comparison-table thead th{background:#181222;color:#c7a9ff}.tire-compare-explanation{padding:.75rem;border-left:3px solid #8c5cff;background:#171220;color:#fff!important;font-size:.86rem!important}.tire-compare-guidance{color:#c5c9cf!important;font-weight:750}
@media(max-width:620px){.tire-compare-form{grid-template-columns:1fr;padding:.8rem}.tire-compare-submit{grid-column:1}.tire-compare-visual{grid-template-columns:1fr 70px 1fr;gap:.35rem;min-height:225px;padding:.7rem .35rem}.comparison-tire{grid-template-rows:auto 145px auto}.comparison-tire-stage{height:145px}.comparison-tire .visual-tire{width:calc(84px * var(--tire-width));height:calc(138px * var(--tire-height));min-width:44px;min-height:62px;border-width:5px}.tire-compare-centre img{width:64px}.diameter-callout{padding:.4rem .25rem;font-size:.64rem}.comparison-tire>strong{font-size:.76rem}.comparison-tire figcaption{font-size:.62rem}.tire-comparison-table{min-width:560px}}

.tire-size-boxes input{-webkit-appearance:none!important;appearance:none!important}

/* Full working Tire Comparison presentation, scoped to the existing tool only. */
.tire-compare-intro{display:flex;align-items:center;gap:.8rem;margin:0 0 .8rem;padding:.25rem .1rem}.tire-compare-intro>span{display:grid;place-items:center;width:46px;height:46px;border:2px solid #8e4eea;border-radius:50%;color:#ae66ff;font-size:1.35rem}.tire-compare-intro div{display:grid;gap:.12rem}.tire-compare-intro strong{color:#f4f5f7;font-size:1.25rem;text-transform:uppercase;letter-spacing:.03em}.tire-compare-intro small{color:#abb2b8;font-size:.78rem}
.tire-compare-form{gap:.7rem;padding:.85rem}.tire-size-entry{padding:.7rem;border:1px solid #333941;border-radius:12px;background:#111519}.tire-size-entry legend{width:100%;margin:0 0 .45rem;color:#ad62fb;text-align:center;text-transform:uppercase;letter-spacing:.04em}.tire-size-boxes{grid-template-columns:minmax(72px,1fr) 14px minmax(62px,.9fr) 18px minmax(62px,.85fr);gap:.25rem}.tire-size-boxes input{min-width:0;height:58px;padding:.45rem .2rem;font-size:1.05rem;line-height:1;caret-color:#b76dff}.tire-compare-submit{display:flex;align-items:center;justify-content:center;gap:.55rem;text-transform:uppercase;letter-spacing:.02em}
.tire-compare-result{border-color:#343941;border-radius:14px}.tire-compare-visual{grid-template-columns:minmax(0,1fr) minmax(105px,.65fr) minmax(0,1fr);min-height:300px;padding:1rem .8rem;background:radial-gradient(circle at 50% 45%,#24153a 0,#11151a 36%,#090c0f 72%)}.comparison-tire{grid-template-rows:auto 205px auto}.comparison-tire>strong{padding:.35rem .75rem;border-radius:999px;background:linear-gradient(135deg,#6d27a9,#9d43df);font-size:.85rem}.comparison-tire-stage{position:relative;height:205px}.comparison-tire .visual-tire{position:relative;overflow:hidden;width:calc(126px * var(--tire-width));height:calc(192px * var(--tire-height));border:8px solid #181c20;border-radius:47%;background:repeating-radial-gradient(ellipse at center,#90979d 0 5%,#353b41 6% 11%,#0a0c0e 12% 23%,#20252a 24% 32%,#050708 33% 38%);box-shadow:inset 0 0 0 3px #030405,inset 9px 0 16px #ffffff12,inset -10px 0 16px #000,0 12px 24px #000c}.comparison-tire .visual-tire:before{content:"";position:absolute;inset:-5px;border-radius:inherit;background:repeating-linear-gradient(82deg,transparent 0 7px,#ffffff10 8px 10px,transparent 11px 17px);mix-blend-mode:screen}.comparison-tire .visual-tire i{position:absolute;inset:31%;border:3px solid #70777d;border-radius:50%;background:radial-gradient(circle,#171a1d 0 16%,#a6acb1 18% 24%,#1b1f23 26% 54%,#858c92 56% 61%,#0c0e10 63%);box-shadow:0 0 0 4px #090b0d}.diameter-measure{position:absolute;left:0;top:50%;z-index:2;display:grid;transform:translateY(-50%);color:#5798ff;font-size:1rem;font-weight:900;line-height:1;text-align:left}.diameter-measure small{margin-top:.2rem;font-size:.55rem;text-transform:uppercase}.comparison-tire-2 .diameter-measure{right:0;left:auto;text-align:right}.comparison-tire figcaption b{color:#5798ff;font-size:1rem}.comparison-tire figcaption span{text-transform:uppercase}.tire-compare-centre img{width:min(100%,110px)}.diameter-callout{display:grid;gap:.15rem;padding:.7rem .5rem;text-transform:uppercase}.diameter-callout span{font-size:1.18rem}.diameter-callout.increase{color:#62d44d;border-color:#4b9c3d}.diameter-callout.decrease{color:#ff5c66;border-color:#9b3940}.tire-compare-centre>small{color:#d3d6da;font-size:.67rem;text-align:center}
.tire-comparison-table-wrap{margin-top:.85rem;border-color:#353a41;border-radius:12px}.tire-comparison-table{min-width:660px;font-size:.78rem}.tire-comparison-table thead th{padding:.75rem .6rem;color:#b965ff;text-align:center}.tire-comparison-table thead th:nth-child(2){color:#5798ff}.tire-comparison-table th,.tire-comparison-table td{padding:.7rem .6rem}.tire-comparison-table tbody th{text-align:left}.tire-comparison-table tbody td{text-align:center}.size-one-value{color:#5798ff;font-weight:900}.size-two-value{color:#b965ff;font-weight:900}.comparison-change.positive{color:#65d64e}.comparison-change.negative{color:#ff4f59}.tire-compare-explanation{margin-top:.8rem!important;border-left-color:#9b4bea!important}.tire-compare-guidance{margin-bottom:0!important}
@media(max-width:700px){.tire-compare-intro>span{width:40px;height:40px}.tire-compare-intro strong{font-size:1rem}.tire-compare-form{grid-template-columns:1fr}.tire-size-entry{padding:.6rem}.tire-size-boxes{grid-template-columns:minmax(68px,1fr) 12px minmax(56px,.78fr) 16px minmax(56px,.78fr)}.tire-size-boxes input{height:54px;font-size:1rem}.tire-compare-visual{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);gap:.2rem;min-height:235px;padding:.7rem .2rem}.comparison-tire{grid-template-rows:auto 158px auto}.comparison-tire-stage{height:158px}.comparison-tire .visual-tire{width:calc(88px * var(--tire-width));height:calc(148px * var(--tire-height));min-width:42px;min-height:62px;border-width:5px}.comparison-tire>strong{padding:.3rem .45rem;font-size:.65rem}.diameter-measure{font-size:.72rem}.diameter-measure small{font-size:.45rem}.tire-compare-centre img{width:62px}.diameter-callout{padding:.45rem .15rem;font-size:.55rem}.diameter-callout span{font-size:.78rem}.tire-compare-centre>small{font-size:.52rem}.comparison-tire figcaption b{font-size:.78rem}.comparison-tire figcaption span{font-size:.54rem}.tire-comparison-table{min-width:600px}}
@media(max-width:380px){.tire-size-boxes{grid-template-columns:minmax(60px,1fr) 10px minmax(52px,.75fr) 15px minmax(52px,.75fr)}.tire-size-boxes input{font-size:.92rem}.tire-compare-visual{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)}.tire-compare-centre img{width:52px}}

/* Expanded Tire Comparison modal. The listing remains unchanged underneath. */
body.tire-compare-modal-open{overflow:hidden}.tire-compare-modal{position:fixed!important;inset:0!important;z-index:4000!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:clamp(10px,2vw,24px)!important;overflow-x:hidden!important;overflow-y:auto!important;border:0!important;border-radius:0!important;background:#020406e8!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.tire-compare-modal-shell{width:min(1080px,100%);min-height:calc(100dvh - clamp(20px,4vw,48px));margin:0 auto;padding:clamp(.8rem,2.2vw,1.5rem);border:1px solid #3c4249;border-radius:18px;background:linear-gradient(145deg,#101419,#080b0e);box-shadow:0 28px 80px #000}.tire-compare-modal .tire-compare-intro{position:sticky;top:-1px;z-index:8;margin:-.2rem 0 1rem;padding:.55rem .2rem .8rem;background:linear-gradient(#101419 78%,transparent)}.tire-compare-close{display:flex;align-items:center;gap:.35rem;margin-left:auto;padding:.45rem .7rem;border:1px solid #4b525a;border-radius:10px;background:#171b20;color:#fff;font-size:1.35rem;line-height:1}.tire-compare-close small{font-size:.72rem;font-weight:800}.tire-compare-close:hover,.tire-compare-close:focus-visible{border-color:#b268ff;color:#c88eff;outline:none}.tire-compare-modal .tire-compare-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:1.1rem}.tire-compare-modal .tire-size-entry{padding:1rem}.tire-compare-modal .tire-size-boxes input{height:68px;font-size:1.35rem}.tire-compare-modal .tire-compare-submit{min-height:60px;font-size:1.12rem}.tire-compare-modal .tire-compare-result{margin-top:1rem;padding:1.1rem}.tire-compare-modal .tire-compare-visual{min-height:340px}.tire-compare-modal .comparison-tire{grid-template-rows:auto 235px auto}.tire-compare-modal .comparison-tire-stage{height:235px}.tire-compare-modal .comparison-tire .visual-tire{width:calc(150px * var(--tire-width));height:calc(220px * var(--tire-height))}
@media(max-width:700px){.tire-compare-modal{padding:0!important;background:#080b0e!important;backdrop-filter:none;-webkit-backdrop-filter:none}.tire-compare-modal-shell{min-height:100dvh;padding:max(.75rem,env(safe-area-inset-top)) .65rem max(1rem,env(safe-area-inset-bottom));border:0;border-radius:0}.tire-compare-modal .tire-compare-intro{top:calc(-1 * env(safe-area-inset-top));padding-top:.65rem}.tire-compare-modal .tire-compare-intro small{font-size:.68rem}.tire-compare-close{padding:.42rem .55rem}.tire-compare-close small{display:none}.tire-compare-modal .tire-compare-form{grid-template-columns:1fr;padding:.75rem}.tire-compare-modal .tire-size-entry{padding:.7rem}.tire-compare-modal .tire-size-boxes{grid-template-columns:minmax(74px,1fr) 14px minmax(62px,.8fr) 18px minmax(62px,.8fr)}.tire-compare-modal .tire-size-boxes input{height:60px;font-size:1.15rem}.tire-compare-modal .tire-compare-submit{min-height:56px}.tire-compare-modal .tire-compare-result{padding:.65rem}.tire-compare-modal .tire-compare-visual{min-height:250px}.tire-compare-modal .comparison-tire{grid-template-rows:auto 168px auto}.tire-compare-modal .comparison-tire-stage{height:168px}.tire-compare-modal .comparison-tire .visual-tire{width:calc(94px * var(--tire-width));height:calc(156px * var(--tire-height))}}
@media(max-width:370px){.tire-compare-modal .tire-size-boxes{grid-template-columns:minmax(66px,1fr) 11px minmax(56px,.76fr) 16px minmax(56px,.76fr)}.tire-compare-modal .tire-size-boxes input{height:56px;font-size:1.05rem}.tire-compare-modal .tire-compare-intro strong{font-size:.9rem}}

/* Larger comparison tires with clean rim centers. */
.tire-compare-modal .tire-compare-visual{min-height:490px}.tire-compare-modal .comparison-tire{grid-template-rows:auto 400px auto}.tire-compare-modal .comparison-tire-stage{height:400px}.tire-compare-modal .comparison-tire .visual-tire{width:min(var(--tire-height),350px);height:var(--tire-height);max-width:92%;min-width:0;min-height:0;aspect-ratio:1/1;border-width:12px;border-radius:50%}.tire-compare-modal .comparison-tire .visual-tire i{inset:28%;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle,#090b0d 0 23%,#727980 25% 29%,#171b1f 31% 55%,#858c92 57% 62%,#080a0c 64%);box-shadow:0 0 0 5px #090b0d,0 0 18px #000}.tire-compare-modal .comparison-tire .visual-tire i img{position:relative;z-index:2;display:block;width:82%;height:82%;object-fit:contain;filter:drop-shadow(0 1px 2px #000)}.tire-compare-modal .diameter-measure{z-index:3;font-size:1.15rem}.tire-compare-modal .comparison-tire figcaption b{font-size:1.15rem}
@media(max-width:700px){.tire-compare-modal .tire-compare-visual{min-height:300px}.tire-compare-modal .comparison-tire{grid-template-rows:auto 205px auto}.tire-compare-modal .comparison-tire-stage{height:205px}.tire-compare-modal .comparison-tire .visual-tire{width:min(var(--tire-height),155px);height:var(--tire-height);max-width:96%;border-width:6px}.tire-compare-modal .comparison-tire .visual-tire i{inset:27%;border-width:2px;box-shadow:0 0 0 3px #090b0d}.tire-compare-modal .diameter-measure{font-size:.76rem}.tire-compare-modal .comparison-tire figcaption b{font-size:.86rem}}
@media(max-width:370px){.tire-compare-modal .tire-compare-visual{min-height:270px}.tire-compare-modal .comparison-tire{grid-template-rows:auto 180px auto}.tire-compare-modal .comparison-tire-stage{height:180px}.tire-compare-modal .comparison-tire .visual-tire{width:min(var(--tire-height),132px)}}

/* Final tire fit: 18% smaller, fully visible, centered, and uncropped. */
.tire-compare-modal .comparison-tire-stage{align-items:center;overflow:visible}.tire-compare-modal .comparison-tire .visual-tire{width:min(var(--tire-height),300px);max-height:82%;flex:0 0 auto}.tire-compare-modal .comparison-tire .visual-tire i img{inset:auto;max-width:82%;max-height:82%;margin:auto}
@media(max-width:700px){.tire-compare-modal .comparison-tire .visual-tire{width:min(var(--tire-height),128px);max-height:82%}}
@media(max-width:370px){.tire-compare-modal .comparison-tire .visual-tire{width:min(var(--tire-height),110px)}}
.tire-visual-comparison .visual-tire{width:var(--tire-width);height:var(--tire-height);max-width:100%}@media(max-width:560px){.tire-visual-comparison .visual-tire{max-width:92px;max-height:140px}}

/* Subtle curved TireNest branding follows the upper tire sidewall. */
.comparison-tire .tire-sidewall-brand{position:absolute;inset:2%;z-index:3;width:96%;height:96%;overflow:visible;pointer-events:none;filter:drop-shadow(0 1px 1px #000)}
.comparison-tire .tire-sidewall-brand path{fill:none}
.comparison-tire .tire-sidewall-brand text{fill:#d5d8d9;font-family:Arial,sans-serif;font-size:10px;font-weight:800;letter-spacing:.7px;text-anchor:middle}

/* Clear centre split through the comparison results, kept behind all content. */
.tire-compare-modal .tire-compare-result{position:relative;isolation:isolate}
.tire-compare-modal .tire-compare-result:before{content:"";position:absolute;z-index:1;top:0;bottom:0;left:50%;width:2px;transform:translateX(-50%);background:#818a94;box-shadow:0 0 8px #000;pointer-events:none}
.tire-compare-modal .tire-compare-centre{position:relative;z-index:2}
.tire-compare-modal .tire-compare-centre img{width:min(188px,100%);max-width:none}
.tire-compare-modal .tire-compare-form{position:relative}
.tire-compare-modal .tire-compare-close{position:absolute;top:.3rem;right:.4rem;z-index:4;width:34px;height:34px;justify-content:center;padding:0}
.tire-compare-modal .tire-compare-close small{display:none}
.tire-compare-modal .tire-size-entry:nth-of-type(2) legend{padding-right:2.2rem}
.tire-compare-modal .tire-compare-credit{margin:.4rem 0 0;color:#9384a8;font-size:.67rem;font-weight:700;letter-spacing:.025em;text-align:center}
.tire-compare-modal .tire-compare-credit span{margin:0 .25rem;color:#a66be3}
.tire-compare-modal .tire-compare-instruction{position:relative;z-index:2;margin:.4rem 0 0!important;padding:.45rem;color:#c8b4df!important;font-size:.78rem!important;font-weight:800;text-align:center}
.tire-compare-modal .tire-compare-result.error .tire-compare-instruction{color:#ff858d!important}

/* Full-page Check My Fitment, using verified listing fitment data only. */
body.fitment-modal-open{overflow:hidden}.fitment-modal{position:fixed!important;inset:0!important;z-index:4000!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:12px!important;overflow:auto!important;border:0!important;border-radius:0!important;background:#020406e8!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.fitment-modal-shell{position:relative;width:min(760px,100%);margin:0 auto;padding:1rem;border:1px solid #3c4249;border-radius:16px;background:radial-gradient(circle at 85% 12%,#28183e 0,transparent 27%),linear-gradient(145deg,#101419,#080b0e);box-shadow:0 28px 80px #000}.fitment-modal-close{position:absolute;z-index:5;top:.65rem;right:.65rem;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #5d526a;border-radius:10px;background:#171b20;color:#fff;font-size:1.5rem}.fitment-modal-close:hover,.fitment-modal-close:focus-visible{border-color:#b268ff;color:#c88eff;outline:none}.fitment-modal-brand{display:grid;grid-template-columns:150px minmax(0,1fr) 72px;align-items:center;gap:1rem;padding:.35rem 3rem .85rem 0;border-bottom:1px solid #343941}.fitment-modal-brand>img{display:block;width:145px;height:auto}.fitment-modal-brand>div{display:grid;gap:.15rem}.fitment-modal-brand strong{color:#fff;font-size:1.3rem;text-transform:uppercase}.fitment-modal-brand small{color:#aaa1b4;font-size:.75rem}.fitment-tire-visual{display:grid;place-items:center;width:64px;height:64px;border:7px solid #181c20;border-radius:50%;background:radial-gradient(circle,#a6abb1 0 8%,#3e454b 10% 26%,#090b0d 28% 52%,#23282d 54% 64%,#07090b 66%);box-shadow:inset 0 0 0 2px #030405,0 8px 18px #000b}.fitment-tire-visual i{width:24px;height:24px;border:2px solid #858c92;border-radius:50%;background:#111518}.fitment-modal .fitment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.85rem;padding:.85rem;border:1px solid #383142;border-radius:13px;background:#101217}.fitment-modal .fitment-form label{display:grid;gap:.35rem;color:#c7a9e8;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.fitment-modal .fitment-form select{width:100%;height:54px;margin:0;padding:.7rem .8rem;border:1px solid #4b4553;border-radius:10px;background:#090b0e;color:#fff;font-size:1rem;font-weight:800}.fitment-modal .fitment-form select:disabled{opacity:.42;cursor:not-allowed}.fitment-submit{grid-column:1/-1;min-height:50px;border:0;border-radius:10px;background:linear-gradient(135deg,#9a67ff,#6740d8);color:#fff;font-weight:900;text-transform:uppercase}.fitment-submit:disabled{opacity:.4;cursor:not-allowed}.fitment-modal .fitment-result{margin:.75rem 0 0;padding:.8rem;border:1px solid #3c4249;border-radius:12px;background:#11151a}.fitment-modal .fitment-result:empty{display:none}.fitment-modal .fitment-result-card>strong{color:#c590ff;text-transform:uppercase}.fitment-modal .fitment-result-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .8rem;margin:.65rem 0}.fitment-modal .fitment-result-card dl div{display:grid;gap:.18rem;padding:.5rem;border:1px solid #333941;border-radius:8px;background:#0b0e11}.fitment-modal .fitment-result-card dt{color:#9fa9b0;font-size:.68rem;text-transform:uppercase}.fitment-modal .fitment-result-card dd{margin:0;color:#fff;font-size:.86rem;font-weight:800}.fitment-modal .fitment-result-card p{color:#b9c0c6;font-size:.75rem}.fitment-result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-top:.7rem}.fitment-result-actions button{min-height:44px;border:1px solid #7650d2;border-radius:10px;background:#171124;color:#d1b7ff;font-weight:900;text-transform:uppercase}.fitment-result-actions .primary{margin:0}.fitment-modal-shell>.fitment-warning{margin:.65rem .25rem 0;color:#8e979e;font-size:.68rem;line-height:1.35;text-align:center}
@media(max-width:620px){.fitment-modal{padding:0!important;background:#080b0e!important;backdrop-filter:none;-webkit-backdrop-filter:none}.fitment-modal-shell{min-height:100dvh;padding:.75rem;border:0;border-radius:0}.fitment-modal-brand{grid-template-columns:110px minmax(0,1fr);padding-right:2.7rem}.fitment-modal-brand>img{width:105px}.fitment-tire-visual{display:none}.fitment-modal-brand strong{font-size:1rem}.fitment-modal .fitment-form{grid-template-columns:1fr;padding:.7rem}.fitment-modal .fitment-form select{height:50px}.fitment-modal .fitment-result-card dl,.fitment-result-actions{grid-template-columns:1fr}}

/* Compact desktop Tire Comparison: keeps the full result comfortably in view. */
@media(min-width:701px){
  .tire-compare-modal{padding:10px!important}
  .tire-compare-modal-shell{width:min(760px,100%);min-height:0;padding:.45rem .7rem;border-radius:14px}
  .tire-compare-modal .tire-compare-form{gap:.45rem;padding:.45rem}
  .tire-compare-modal .tire-size-entry{padding:.42rem .58rem}
  .tire-compare-modal .tire-size-entry legend{margin-bottom:.22rem;font-size:.7rem}
  .tire-compare-modal .tire-size-boxes input{height:40px;font-size:1.02rem}
  .tire-compare-modal .tire-compare-submit{min-height:40px;font-size:.98rem}
  .tire-compare-modal .tire-compare-result{margin-top:.35rem;padding:.48rem}
  .tire-compare-modal .tire-compare-visual{grid-template-columns:minmax(0,1fr) minmax(178px,190px) minmax(0,1fr);min-height:210px;margin-bottom:.32rem;padding:.32rem .45rem}
  .tire-compare-modal .comparison-tire{grid-template-rows:auto 165px auto}
  .tire-compare-modal .comparison-tire-stage{height:165px}
  .tire-compare-modal .comparison-tire .visual-tire{width:min(var(--tire-height),145px);max-height:82%;border-width:8px}
  .tire-compare-modal .comparison-tire>strong{padding:.45rem .9rem;font-size:1.15rem;line-height:1.1;box-shadow:0 4px 14px #0007}
  .tire-compare-modal .diameter-measure{font-size:.95rem}
  .tire-compare-modal .comparison-tire figcaption{margin-top:.25rem}
  .tire-compare-modal .comparison-tire figcaption b{font-size:1rem}
  .tire-compare-modal .tire-comparison-table-wrap{margin-top:.5rem}
  .tire-compare-modal .tire-comparison-table th,.tire-compare-modal .tire-comparison-table td{padding:.34rem .5rem}
  .tire-compare-modal .tire-comparison-table thead th{padding:.4rem .5rem}
  .tire-compare-modal .tire-compare-explanation{margin-top:.38rem!important;padding:.45rem}
  .tire-compare-modal .tire-compare-result>p{margin-top:.35rem}
  .tire-compare-modal-shell>.fitment-warning{margin:.35rem 0 0;font-size:.66rem;line-height:1.25}
}
.sold-history-heading{margin-top:2rem}.sold-history-card{cursor:default}.sold-history-card .listing-image:after{content:'TIRENEST';position:absolute;right:10px;bottom:10px;background:#080a0b;color:#ffd21c;padding:.35rem .55rem;border-radius:7px;font-weight:900;letter-spacing:.05em}.seller-profile-head{display:flex;align-items:center;gap:1rem;margin:1rem 0}.seller-profile-head h1{margin:.15rem 0}
.messages-layout{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:1rem}.chat-list,.chat-panel{min-height:420px;padding:1rem}.chat-list button{width:100%;text-align:left;margin-bottom:.6rem}.chat-message{max-width:75%;padding:.7rem;border-radius:12px;background:#222a30;margin:.5rem 0}.chat-message.buyer{margin-left:auto;background:#3d340b}.chat-message footer{display:flex;justify-content:space-between;gap:1rem;font-size:.75rem}.chat-message button{padding:.2rem .4rem}.chat-compose{display:flex;gap:.5rem;margin-top:1rem}.chat-compose input{flex:1}.chat-toolbar{display:flex;justify-content:space-between;align-items:center}.review-dialog-backdrop,.sold-choice-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:9999;display:grid;place-items:center;padding:1rem}.review-dialog,.sold-choice{max-width:480px;background:#131719;border:1px solid #444;border-radius:16px;padding:1.25rem}.review-actions,.sold-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}
.sold-choice-options{display:grid;gap:.7rem}.sold-choice-options button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:.9rem 1rem}.sold-choice-options button span{margin-top:.2rem;color:#aeb5ba;font-size:.82rem;font-weight:400}.sold-choice-options button.primary span{color:#211d08}
.sold-history-card .listing-image:after{display:none}.sold-branding{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;padding:.3rem .5rem;border-radius:7px;background:#080a0bd9}.sold-branding img{display:block;width:82px;height:auto}
.my-listings-tabs{display:flex;gap:.6rem;margin:0 0 18px;border-bottom:1px solid #343a40}.my-listings-tabs button{border:0;border-bottom:3px solid transparent;background:none;color:#aeb5ba;padding:.8rem 1rem;font-weight:800}.my-listings-tabs button.active{color:#ffd21c;border-bottom-color:#ffd21c}.my-listings-tabs span{display:inline-grid;place-items:center;min-width:1.5rem;height:1.5rem;margin-left:.25rem;border-radius:999px;background:#252b30;color:inherit;font-size:.75rem}.sold-listing-menu{display:flex;justify-content:space-between;align-items:center;gap:.7rem;margin-top:1rem;padding-top:.8rem;border-top:1px solid #343a40}.sold-listing-menu .delete-btn{margin-top:0}
.sold-archive-action{cursor:pointer}.sold-archive-action:focus-visible{outline:2px solid #ffd21c;outline-offset:3px}.sold-listing-menu span{color:#aeb5ba;font-size:.82rem}.sold-delete-menu{width:min(360px,100%)}.sold-delete-actions{display:flex;justify-content:flex-end;gap:.6rem}.sold-delete-actions .delete-btn{margin-top:0}
.sold-listing-menu>div{display:flex;align-items:center;gap:.45rem}.sold-listing-menu>div button{border:0;background:none;padding:.3rem;color:#d8dee2;font-size:.82rem;font-weight:800}.sold-listing-menu .relist-btn{color:#ffd235}.sold-listing-menu .archive-delete-btn{color:#ff8f8f}.sold-listing-menu>div button:hover,.sold-listing-menu>div button:focus-visible{text-decoration:underline;outline:none}
.details-main-photo{display:block}.details-main-photo>#details-main-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:50% 50%;margin:0;padding:0;transform:none}
.listing-grid .listing-image{display:flex;align-items:center;justify-content:center}.listing-grid .listing-image>img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%;margin:0;background:transparent}
.listing-grid .card-description{display:block;height:1.35em;min-height:1.35em;max-height:1.35em;overflow:hidden;line-height:1.35;white-space:nowrap;text-overflow:clip}.listing-grid .card-description.is-truncated{display:flex;align-items:baseline;gap:.25em}.card-description.is-truncated>span{min-width:0;overflow:hidden;white-space:nowrap}.card-description button{flex:0 0 auto;display:inline;padding:0;border:0;background:none;color:#e2bb28;font-size:11px;font-weight:800;white-space:nowrap}.card-description button:hover,.card-description button:focus-visible{color:#ffd83d;text-decoration:underline;outline:none}
.details-badges{width:100%;gap:12px;justify-content:space-between}.shipping-badge{margin-left:auto;padding:5px 10px;border-color:#3b82b6;background:#123854;color:#b9e2ff;font-size:10px;font-weight:800;letter-spacing:0;box-shadow:0 0 0 1px #2d78aa22}
.site-footer{width:min(1180px,calc(100% - 32px));margin:-72px auto 0;padding:24px 0 34px;border-top:1px solid #252b30;color:#737d85;text-align:center;font-size:11px;letter-spacing:.02em}.site-footer span{margin:0 .35rem;color:#525c64}
.post-actions{display:flex;justify-content:flex-end;gap:.7rem}.post-actions>button{padding:13px 18px;border-radius:12px}.post-actions>button:first-child{border:1px solid #46515a;background:#151a1e;color:#e2e7ea;font-weight:800}.draft-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.draft-actions button{margin:0}.draft-actions button:not(.primary):not(.delete-btn){border:1px solid #46515a;background:#151a1e;color:#e2e7ea;border-radius:9px;padding:.55rem .75rem}.draft-actions button:disabled{opacity:.4;cursor:not-allowed}.my-listings-tabs{overflow-x:auto;align-items:stretch}.my-listings-tabs button{white-space:nowrap}
.dashboard-link{width:100%;text-align:left;color:inherit;cursor:pointer}.dashboard-link:hover,.dashboard-link:focus-visible{border-color:#ffd235;outline:none}.saved-card-actions{min-height:43px;display:flex;align-items:center}.saved-card-actions button{color:#ffd235!important}
.chat-list-item{position:relative;display:grid!important;grid-template-columns:50px minmax(0,1fr);gap:.65rem;align-items:center;padding:.65rem!important;border:1px solid transparent!important;border-radius:10px!important;background:#11161a!important;color:#e7ecef!important}.chat-list-item.selected{border-color:#d8ad19!important;background:#191b17!important}.chat-list-item img,.chat-list-placeholder{width:50px;height:50px;object-fit:contain;border-radius:8px;background:#252c31;display:grid;place-items:center}.chat-list-item>span:nth-child(2){min-width:0;display:grid;gap:.12rem}.chat-list-item strong,.chat-list-item b,.chat-list-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list-item b{font-size:.78rem;color:#d4dade}.chat-list-item small{color:#8e989f}.chat-list-item em{position:absolute;right:.45rem;top:.4rem;display:grid;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 .3rem;border-radius:999px;background:#ffd235;color:#111;font-size:.7rem;font-style:normal;font-weight:900}.chat-listing-header{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:.8rem;padding-bottom:.9rem;border-bottom:1px solid #343a40}.chat-listing-header img,.chat-listing-header>span{width:72px;height:58px;object-fit:contain;border-radius:9px;background:#252c31;display:grid;place-items:center}.chat-listing-header>div{display:grid;gap:.15rem}.chat-listing-header small{color:#8e989f}.chat-listing-header b{color:#ffd235}.chat-listing-header em{padding:.35rem .55rem;border-radius:999px;background:#e34f58;color:#fff;font-size:.7rem;font-style:normal;font-weight:900}.chat-toolbar>div{display:flex;align-items:center;gap:.5rem}.chat-toolbar label{display:flex;align-items:center;gap:.4rem;color:#8e989f;font-size:.7rem}.chat-toolbar select{width:auto;padding:.45rem}.chat-messages{max-height:430px;overflow-y:auto;padding:.5rem 0}.chat-message.seller{margin-right:auto}.chat-message.buyer{margin-left:auto}.chat-message footer span{color:#aeb6bc}.chat-message footer button{border:0;background:none;color:#fff}.chat-compose button{margin:0}
@media(max-width:720px){.chat-listing-header{grid-template-columns:56px minmax(0,1fr) auto}.chat-listing-header img,.chat-listing-header>span{width:56px;height:50px}.chat-toolbar{align-items:flex-start;gap:.6rem}.chat-toolbar>div{align-items:flex-end;flex-direction:column}.chat-message{max-width:88%}.chat-messages{max-height:none;overflow:visible;overscroll-behavior:auto;touch-action:pan-y}.chat-panel,.messages-layout{overflow:visible}.chat-compose{position:sticky;bottom:calc(72px + env(safe-area-inset-bottom));background:#14181b;padding:.6rem 0}.chat-list{min-height:auto}}
.leave-chat-actions{display:flex;justify-content:flex-end;gap:.6rem}.leave-chat-actions .delete-btn{margin:0}
.chat-header-actions{display:flex!important;align-items:center;gap:.55rem}.chat-close{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #4a555d;border-radius:9px;background:#151a1e;color:#fff;font-size:24px;line-height:1}.chat-close:hover,.chat-close:focus-visible{border-color:#ffd235;color:#ffd235;outline:none}.erase-chat{border:0;background:none;color:#ff9292;padding:.35rem;font-size:.72rem}.erase-chat:hover,.erase-chat:focus-visible{text-decoration:underline;outline:none}
.chat-rating-status{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:.8rem 0 0;padding:.7rem .8rem;border:1px solid #39434a;border-radius:10px;color:#aeb6bc;font-size:.78rem}.chat-rating-status strong{color:#ffd235;white-space:nowrap}.chat-rating-status span{text-align:right}.chat-rating-status.completed{color:#8fe0a7}.chat-rate-seller{width:100%;margin-top:.8rem}
@media(max-width:560px){.chat-rating-status{align-items:flex-start;flex-direction:column}.chat-rating-status span{text-align:left}}
.simple-review-dialog{position:relative;width:min(420px,100%);display:grid;gap:1.15rem}.review-close{position:absolute;right:.65rem;top:.55rem;border:0;background:none;color:#919ba2;font-size:24px}.review-stars{display:flex;justify-content:center;gap:.2rem;padding-top:.7rem}.review-stars button{border:0;background:none;color:#4b555c;padding:.2rem;font-size:38px;line-height:1}.review-stars button.selected{color:#ffd235}.review-stars button:hover,.review-stars button:focus-visible{color:#ffe16b;outline:none}.simple-review-dialog label{display:grid;gap:.5rem;color:#e5eaed;font-weight:800}.simple-review-dialog textarea{resize:vertical}.review-submit{width:100%;margin:0}.review-submit:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:720px){.fitment-form{grid-template-columns:1fr 1fr}.messages-layout{grid-template-columns:1fr}.chat-list{min-height:auto}.chat-panel{min-height:360px}}
@media(max-width:850px){.site-footer{width:min(100% - 22px,1180px);margin:-48px auto 72px;padding:20px 0 24px}}

/* Phase 1 member AI Wheel Preview. Isolated from marketplace and stored listing media. */
.wheel-preview-page{padding-bottom:30px}.wheel-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:10px 0 22px}.wheel-preview-heading h1{margin:4px 0 8px;font-size:clamp(28px,4vw,44px)}.wheel-preview-heading p:last-child{max-width:690px;margin:0;color:var(--muted)}.preview-phase-badge{padding:7px 11px;border:1px solid #77631d;border-radius:999px;background:#241f0d;color:#ffd235;font-size:11px;font-weight:900;text-transform:uppercase}.wheel-preview-auth{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;max-width:780px;margin:50px auto;padding:28px}.wheel-preview-auth h2,.wheel-preview-auth p{margin:0}.preview-lock{display:grid;place-items:center;width:58px;height:58px;border:1px solid #66571e;border-radius:50%;background:#211d0c;color:#ffd235;font-size:28px}.preview-auth-actions{display:flex;gap:9px}.preview-auth-actions button{min-height:46px;margin:0}.preview-beta-note{grid-column:2/-1;color:#7f8990!important;font-size:11px}.wheel-preview-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.wheel-preview-inputs{position:sticky;top:84px;padding:18px}.preview-step{display:flex;gap:10px;align-items:center;margin:0 0 10px}.preview-step:not(:first-child){margin-top:20px}.preview-step>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#ffd235;color:#17130a;font-size:12px;font-weight:900}.preview-step div{display:grid}.preview-step small{margin-top:2px;color:var(--muted);font-size:10px}.preview-upload{display:grid;gap:5px;padding:16px;border:1px dashed #66727a;border-radius:12px;background:#101519;color:#fff;cursor:pointer;text-align:center}.preview-upload:hover,.preview-upload:focus-within{border-color:#ffd235}.preview-upload input{position:absolute;width:1px;height:1px;opacity:0}.preview-upload span{color:#ffd235;font-weight:850}.preview-upload small{overflow:hidden;color:#8c969d;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.preview-generate{width:100%;min-height:50px;margin:22px 0 0}.preview-generate:disabled{opacity:.4;cursor:not-allowed}.preview-status{min-height:32px;margin:10px 0 0;color:#aeb7bd;font-size:11px;line-height:1.45}.preview-status.error{color:#ff9292}.wheel-preview-main{min-width:0}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.preview-mode-tabs{display:flex;padding:3px;border:1px solid #343d43;border-radius:10px;background:#0d1114}.preview-mode-tabs button{min-height:36px;border:0;background:transparent;color:#9da7ad;padding:7px 12px}.preview-mode-tabs button.active{border-radius:7px;background:#252b2f;color:#ffd235}.preview-zoom{display:flex;align-items:center;gap:8px;color:#aeb7bd;font-size:11px;font-weight:800}.preview-zoom input{width:120px;margin:0;accent-color:#ffd235}.preview-zoom output{width:38px;color:#ffd235}.wheel-preview-stage{--wheel-size:18%;--wheel-y:72%;--wheel-spacing:57%;--wheel-angle:0deg;position:relative;aspect-ratio:16/10;overflow:hidden;border:1px solid #3a4349;border-radius:16px;background:radial-gradient(circle at 50% 45%,#22292e,#0c1013 65%);box-shadow:0 18px 50px #0007}.preview-scene{position:absolute;inset:0;transform-origin:center;transition:transform .15s ease}.preview-before-layer,.preview-after-layer{position:absolute;inset:0}.preview-before-layer>img,.preview-after-layer>img:first-child{width:100%;height:100%;object-fit:contain}.preview-after-clip{position:absolute;inset:0 auto 0 0;width:50%;overflow:hidden}.preview-after-layer{width:var(--preview-stage-width,100%)}.wheel-overlay{display:none;position:absolute;top:var(--wheel-y);width:var(--wheel-size);aspect-ratio:1;object-fit:cover;border-radius:50%;transform:translate(-50%,-50%) rotate(var(--wheel-angle));filter:drop-shadow(0 3px 5px #000b);mix-blend-mode:normal}.has-result .wheel-overlay{display:block}.wheel-overlay-left{left:calc((100% - var(--wheel-spacing))/2)}.wheel-overlay-right{left:calc((100% + var(--wheel-spacing))/2)}.preview-empty-state{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:7px;color:#89949a;text-align:center}.preview-empty-state>span{color:#ffd235;font-size:40px}.preview-empty-state strong{color:#dce2e5}.preview-empty-state small{font-size:11px}.comparison-slider{position:absolute;z-index:7;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.comparison-slider[hidden]{display:none}.comparison-divider{position:absolute;z-index:6;top:0;bottom:0;width:2px;background:#ffd235;transform:translateX(-1px);pointer-events:none;box-shadow:0 0 10px #000}.comparison-divider span{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffd235;color:#161308;font-weight:900;transform:translate(-50%,-50%)}.comparison-label{position:absolute;z-index:5;top:12px;padding:5px 8px;border-radius:6px;background:#090c0dcc;color:#fff;font-size:10px;font-weight:900;text-transform:uppercase;pointer-events:none}.before-label{left:12px}.after-label{right:12px;color:#ffd235}.preview-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 2px}.preview-actions button{border:1px solid #61531c;background:#1c190d;color:#ffd235}.preview-actions button:disabled{opacity:.35}.preview-actions span{color:#889299;font-size:10px;text-align:right}.preview-adjustments{margin-top:10px;padding:12px 15px;border:1px solid #313a40;border-radius:12px;background:#101519}.preview-adjustments summary{color:#cdd3d7;cursor:pointer;font-size:12px;font-weight:800}.preview-adjustments>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}.preview-adjustments label{display:grid;gap:5px;color:#8f999f;font-size:10px}.preview-adjustments input{width:100%;margin:0;accent-color:#ffd235}.fitment-disclaimer{margin:12px 0 0;padding:12px 14px;border-left:3px solid #ffd235;border-radius:4px;background:#19180f;color:#b8c0c5;font-size:11px;line-height:1.5}.fitment-disclaimer strong{color:#ffd235}
@media(max-width:860px){.wheel-preview-workspace{grid-template-columns:1fr}.wheel-preview-inputs{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-step{margin:0}.preview-step:not(:first-child){margin:0}.preview-generate,.preview-status{grid-column:1/-1}.preview-generate{margin-top:4px}}
@media(max-width:600px){.topbar nav [data-view="wheel-preview"]{display:none}.wheel-preview-heading{margin:4px 0 14px}.wheel-preview-heading h1{font-size:25px}.wheel-preview-heading p:last-child{font-size:12px}.preview-phase-badge{padding:5px 8px}.wheel-preview-auth{grid-template-columns:auto 1fr;margin:20px auto;padding:18px}.preview-auth-actions,.preview-beta-note{grid-column:1/-1}.preview-auth-actions button{flex:1}.wheel-preview-inputs{grid-template-columns:1fr;padding:13px}.preview-step:not(:first-child),.preview-generate,.preview-status{grid-column:auto}.preview-toolbar{align-items:stretch;flex-direction:column}.preview-mode-tabs{display:grid;grid-template-columns:repeat(3,1fr)}.preview-mode-tabs button{padding:7px 4px;font-size:11px}.preview-zoom{justify-content:space-between}.preview-zoom input{flex:1}.wheel-preview-stage{aspect-ratio:4/3;border-radius:12px}.preview-actions{align-items:stretch;flex-direction:column}.preview-actions button{min-height:44px}.preview-actions span{text-align:left}.preview-adjustments>div{grid-template-columns:repeat(2,1fr)}}

/* Keep both comparison images at identical geometry while clipping the After layer. */
.wheel-preview-stage .preview-after-clip{inset:0;width:100%;clip-path:inset(0 50% 0 0)}
.wheel-preview-stage .preview-after-layer{width:100%}
.account-wheel-preview-link{display:none;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;margin:12px 0 4px;padding:14px 16px;border-color:#5f521d;background:linear-gradient(100deg,#1d1b10,#121619);color:#fff;text-align:left}.account-wheel-preview-link:hover,.account-wheel-preview-link:focus-visible{border-color:#ffd235;outline:none}.account-preview-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffd235;color:#17130a;font-size:19px}.account-wheel-preview-link>span:nth-child(2){display:grid;gap:3px}.account-wheel-preview-link small{color:#99a3a9;font-weight:500}.account-wheel-preview-link b{color:#ffd235;font-size:12px;white-space:nowrap}@media(max-width:850px){.account-wheel-preview-link{display:grid}}@media(max-width:560px){.account-wheel-preview-link{margin-top:8px;padding:11px 12px}.account-wheel-preview-link small{font-size:10px}}

/* Listing-detail share fallback. Native mobile sharing is handled in app.js. */
.share-link-dialog{width:min(460px,100%)}.share-link-dialog h2{margin:0 0 .4rem}.share-link-dialog>p{color:#aeb6bc}.share-link-field{margin:.45rem 0 .25rem}.share-link-status{min-height:1.25rem;margin:.35rem 0;color:#ffd235;font-size:.8rem}.share-link-actions{display:flex;justify-content:flex-end;gap:.6rem}.share-link-actions button{border:1px solid #46515a;border-radius:10px;background:#151a1e;color:#e2e7ea;padding:.65rem .9rem;font-weight:800}.share-link-actions .primary{margin:0}

/* Beta 1 sponsored-listing controls; listing cards and page layouts are unchanged. */
.promotion-editor{width:min(430px,100%)}.promotion-editor h2{margin:0 0 1rem}.promotion-editor>label{display:grid;gap:.45rem;margin:.9rem 0;color:#e4e9ec;font-weight:800}.promotion-editor .promotion-switch{display:flex;align-items:center;gap:.65rem;padding:.75rem;border:1px solid #3b454d;border-radius:10px;background:#101417}.promotion-switch input{width:auto;margin:0;accent-color:#ffd235}.promotion-editor>p{color:#929ca3;font-size:.78rem}.promotion-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1rem}.promotion-actions button{border:1px solid #46515a;border-radius:10px;background:#151a1e;color:#e2e7ea;padding:.65rem .9rem;font-weight:800}.promotion-actions .primary{margin:0}.manage-listing [data-promote],.manage-listing [data-boost]{border-color:#705f1e;color:#ffd235}

.owner-sponsored-settings{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.8rem;margin:0 0 1.1rem;padding:1rem;border:1px solid #3a4248;border-radius:12px;background:#101417}.owner-sponsored-settings p{margin:.25rem 0 0;color:#929ca3;font-size:.76rem}.owner-sponsored-settings label{display:grid;grid-template-columns:auto 1fr;column-gap:.45rem;align-items:center;padding:.65rem .75rem;border:1px solid #3a4248;border-radius:10px;background:#151a1e}.owner-sponsored-settings input{grid-row:1/3;width:auto;margin:0;accent-color:#ffd235}.owner-sponsored-settings span{font-size:.78rem;font-weight:800}.owner-sponsored-settings small{color:#929ca3;font-size:.65rem}@media(max-width:720px){.owner-sponsored-settings{grid-template-columns:1fr}.owner-sponsored-settings label{width:100%}}
.manage-listing .sponsored-coming-soon{border-color:#49452f;color:#9e9673;cursor:not-allowed;opacity:.78}

/* Visual refinement inspired by the supplied TireNest AI reference; Phase 1 scope remains unchanged. */
.wheel-overlay[hidden]{display:none!important}
.preview-empty-state[hidden]{display:none}
.wheel-preview-page{max-width:1380px;margin:0 auto}.wheel-preview-heading{display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(130px,1fr);align-items:center;padding:5px 0 18px;border-bottom:1px solid #222a2f}.wheel-preview-title h1{margin:1px 0 2px;font-size:clamp(28px,3vw,42px);font-weight:950;letter-spacing:-.035em;text-transform:uppercase}.wheel-preview-title h1 em{color:#ffd235;font-style:normal}.wheel-preview-title>p:last-child{color:#f1f3f4;font-size:13px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.preview-progress{display:flex;gap:8px;margin:0;padding:0;list-style:none}.preview-progress li{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #293137;border-radius:11px;background:#0d1215;color:#8e999f;font-size:12px;font-weight:800;white-space:nowrap}.preview-progress li span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #566169;border-radius:50%;color:#b8c1c6}.preview-progress li.complete{border-color:#65581f;background:#1b190f;color:#fff}.preview-progress li.complete span{border-color:#ffd235;background:#ffd235;color:#17130a}.wheel-preview-heading>.preview-phase-badge{justify-self:end;border-color:#5e511c;background:#18160d;color:#ffd235}.wheel-preview-workspace{grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:'main inputs';gap:14px;margin-top:14px}.wheel-preview-main{grid-area:main}.wheel-preview-inputs{grid-area:inputs;top:76px;border-color:#30383d;background:linear-gradient(145deg,#12171a,#0c1012);box-shadow:0 18px 45px #0007}.selected-wheel-header{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:12px;margin:-3px -3px 18px;padding:3px 3px 17px;border-bottom:1px solid #30383d}.selected-wheel-header>div:first-child{display:grid;gap:4px;min-width:0}.selected-wheel-kicker{color:#fff;font-size:12px;font-weight:900;letter-spacing:.04em}.selected-wheel-header strong{overflow:hidden;color:#ffd235;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.selected-wheel-header small{color:#849097;font-size:10px}.selected-wheel-thumb{display:grid;place-items:center;width:92px;height:92px;overflow:hidden;border:1px solid #3c454b;border-radius:50%;background:radial-gradient(circle,#273036 0 30%,#11171a 31% 60%,#080b0d 61%)}.selected-wheel-thumb img{width:100%;height:100%;object-fit:cover;border-radius:50%}.selected-wheel-thumb span{color:#ffd235;font-size:38px}.selected-wheel-thumb [hidden]{display:none}.preview-toolbar{min-height:45px;margin:0;padding:0 4px 9px}.preview-mode-tabs button.active{background:#27291d;color:#ffd235}.wheel-preview-stage{aspect-ratio:16/9;border-color:#3a4348;border-radius:12px;background:radial-gradient(ellipse at 50% 40%,#263037,#090d0f 68%);box-shadow:0 22px 60px #000b}.wheel-preview-stage:before{content:'';position:absolute;z-index:0;inset:0;background:linear-gradient(180deg,transparent 65%,#0008),repeating-linear-gradient(90deg,transparent 0 119px,#ffffff05 120px);pointer-events:none}.preview-scene{z-index:1}.preview-empty-state{z-index:2}.comparison-label{top:15px;padding:7px 10px;border:1px solid #3f494f;background:#0b0f11e8}.comparison-divider{box-shadow:0 0 0 1px #0008,0 0 18px #ffd23544}.preview-actions{padding:1px 4px 2px}.preview-actions button{min-height:42px;border-color:#66581d;background:#1d1a0d}.preview-adjustments{background:#0e1316}.fitment-disclaimer{text-align:center;border:0;border-top:1px solid #2c3439;border-radius:0;background:transparent;color:#929ca2}.fitment-disclaimer strong{color:#c7ced2}.preview-generate{background:linear-gradient(135deg,#ffd83e,#e3ae08)!important;box-shadow:0 8px 24px #c4931230}.preview-upload{background:#0b1012}.preview-upload:hover,.preview-upload:focus-within{background:#15160f}
@media(max-width:980px){.wheel-preview-heading{grid-template-columns:1fr auto}.preview-progress{grid-column:1/-1;grid-row:2;justify-content:center;margin-top:14px}.wheel-preview-heading>.preview-phase-badge{grid-column:2;grid-row:1}.wheel-preview-workspace{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:760px){.wheel-preview-workspace{grid-template-columns:1fr;grid-template-areas:'main' 'inputs'}.wheel-preview-inputs{position:static}.selected-wheel-header{grid-column:1/-1}.preview-progress{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.preview-progress li{justify-content:center;padding:7px 5px;font-size:10px}.wheel-preview-stage{aspect-ratio:4/3}}
@media(max-width:480px){.wheel-preview-heading{grid-template-columns:1fr auto}.wheel-preview-title h1{font-size:25px}.wheel-preview-title>p:last-child{font-size:10px}.preview-progress li{gap:4px;flex-direction:column;text-align:center}.preview-progress li span{width:22px;height:22px}.wheel-preview-heading>.preview-phase-badge{font-size:9px}.selected-wheel-header{grid-template-columns:1fr 70px}.selected-wheel-thumb{width:70px;height:70px}}

/* AI Wheel Preview coming-soon demonstration; isolated from marketplace and listing data. */
.wheel-preview-nav-link>span{display:grid;justify-items:center;line-height:1.1}.wheel-preview-nav-link small{margin-top:3px;color:#d5a91d;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.wheel-preview-coming-soon{max-width:1180px}.coming-soon-heading{grid-template-columns:minmax(0,1fr) auto}.coming-soon-heading .wheel-preview-title h1{text-transform:none}.coming-soon-heading .wheel-preview-title h1 em{font-size:.58em;white-space:nowrap}.wheel-interest{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:22px;margin:14px 0 28px;padding:24px;border-color:#4d431e;background:radial-gradient(circle at 90% 0,#32270f55,transparent 35%),linear-gradient(145deg,#151a1d,#0e1215)}.wheel-interest h2{margin:0 0 8px;font-size:25px}.wheel-interest-copy p{margin:0;color:#aeb7bc;line-height:1.55}.wheel-vote-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:start}.wheel-vote-actions button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:12px 14px;border:1px solid #4b565d;border-radius:11px;background:#11171a;color:#e7ecef;font-weight:800;text-align:left}.wheel-vote-actions button:hover,.wheel-vote-actions button:focus-visible,.wheel-vote-actions button.selected{border-color:#ffd235;background:#211d0d;color:#ffd235;outline:none}.wheel-vote-actions strong{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#252c30;color:#ffd235}.wheel-feedback-form{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;padding-top:18px;border-top:1px solid #30383d}.wheel-feedback-form label{grid-column:1/-1;color:#f0f3f4;font-weight:850}.wheel-feedback-form textarea{min-height:86px;resize:vertical}.wheel-feedback-form button{min-height:48px;margin:0}.wheel-feedback-form p{grid-column:1/-1;min-height:18px;margin:0;color:#ffd235;font-size:12px}.wheel-payment-note{grid-column:1/-1;margin:0;color:#89939a;font-size:11px;line-height:1.5}.wheel-demo{padding-bottom:16px}.wheel-demo-heading{align-items:center;margin:0 0 12px}.wheel-demo-heading .eyebrow{margin:0 0 4px}.wheel-demo-heading h2{font-size:27px}.wheel-demo-heading>span{color:#ffd235;font-size:12px;font-weight:850}.wheel-demo-stage{position:relative;aspect-ratio:3/2;overflow:hidden;border:1px solid #465158;border-radius:16px;background:#0b0f11;box-shadow:0 22px 55px #0009;touch-action:pan-y}.wheel-demo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.wheel-demo-after-clip{position:absolute;inset:0;overflow:hidden;clip-path:inset(0 50% 0 0)}.wheel-demo-after{width:100%;height:100%;max-width:none}.wheel-demo-label{position:absolute;z-index:4;top:14px;padding:7px 10px;border:1px solid #4b565c;border-radius:7px;background:#090c0ddb;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase;pointer-events:none}.wheel-demo-before-label{left:14px}.wheel-demo-after-label{right:14px;color:#ffd235}.wheel-demo-slider{position:absolute;z-index:8;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:none}.wheel-demo-divider{position:absolute;z-index:7;top:0;bottom:0;left:50%;width:2px;background:#ffd235;transform:translateX(-1px);pointer-events:none;box-shadow:0 0 14px #000}.wheel-demo-divider span{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:42px;height:42px;border:2px solid #171a1c;border-radius:50%;background:#ffd235;color:#18130a;font-weight:950;transform:translate(-50%,-50%);box-shadow:0 4px 16px #0009}.wheel-demo .fitment-disclaimer{margin-bottom:0}
@media(max-width:760px){.wheel-preview-coming-soon{padding-bottom:88px}.coming-soon-heading{grid-template-columns:1fr auto}.coming-soon-heading .wheel-preview-title h1 em{display:block;margin-top:4px;font-size:.52em}.wheel-interest{grid-template-columns:1fr;padding:17px;gap:17px}.wheel-vote-actions,.wheel-feedback-form{grid-template-columns:1fr}.wheel-feedback-form button{width:100%}.wheel-demo-heading{align-items:flex-start}.wheel-demo-heading h2{font-size:21px}.wheel-demo-stage{border-radius:11px}.wheel-demo-divider span{width:36px;height:36px}.wheel-demo-label{top:8px;padding:5px 7px;font-size:9px}.wheel-demo-before-label{left:8px}.wheel-demo-after-label{right:8px}}
@media(max-width:430px){.wheel-interest h2{font-size:20px}.wheel-vote-actions{grid-template-columns:1fr}.wheel-demo-heading>span{font-size:10px}.wheel-demo-stage{aspect-ratio:4/3}.wheel-demo-image{object-fit:cover}}

/* Compact desktop presentation for the complete AI Wheel Preview experience. */
@media(min-width:761px){.wheel-preview-coming-soon{max-width:800px}.coming-soon-heading{margin:0 0 5px;padding:0 0 7px}.coming-soon-heading .wheel-preview-title h1{font-size:29px}.coming-soon-heading .wheel-preview-title>p:last-child{font-size:10px}.wheel-interest{gap:8px;margin:5px 0 8px;padding:10px 13px}.wheel-interest h2{margin-bottom:3px;font-size:18px}.wheel-interest-copy p{font-size:11px;line-height:1.3}.wheel-vote-actions{gap:6px}.wheel-vote-actions button{min-height:40px;padding:7px 9px;font-size:11px}.wheel-vote-actions strong{min-width:22px;height:22px}.wheel-feedback-form{gap:4px;padding-top:5px}.wheel-feedback-form label{font-size:11px}.wheel-feedback-form textarea{min-height:34px;padding:7px;font-size:11px}.wheel-feedback-form button{min-height:36px;padding:7px 12px}.wheel-feedback-form p{min-height:10px;font-size:9px}.wheel-payment-note{font-size:8px;line-height:1.2}.wheel-demo{padding-bottom:4px}.wheel-demo-heading{margin:0 0 4px}.wheel-demo-heading .eyebrow{font-size:8px}.wheel-demo-heading h2{font-size:19px}.wheel-demo-stage{aspect-ratio:16/7.4;border-radius:11px}.wheel-demo-label{top:8px;padding:5px 8px;font-size:9px}.wheel-demo-before-label{left:8px}.wheel-demo-after-label{right:8px}.wheel-demo-divider span{width:38px;height:38px}.wheel-demo .fitment-disclaimer{margin-top:4px;padding:5px 8px;font-size:8px}}

/* Private Business Inventory Beta. All storage and UI remain isolated from marketplace data. */
.account-business-inventory-link{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;margin:12px 0 4px;padding:14px 16px;border-color:#5f521d;background:linear-gradient(100deg,#1d1b10,#121619);color:#fff;text-align:left}.account-business-inventory-link>span:first-child{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#ffd235;color:#17130a;font-size:20px}.account-business-inventory-link>span:nth-child(2){display:grid;gap:3px}.account-business-inventory-link small{color:#99a3a9;font-weight:500}.account-business-inventory-link b{color:#ffd235;font-size:12px;white-space:nowrap}
.business-inventory-page{padding-bottom:40px}.business-inventory-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.business-inventory-heading h1{margin:3px 0 5px;font-size:38px}.business-inventory-heading p{margin:0;color:var(--muted)}.inventory-tabs{display:flex;gap:4px;overflow-x:auto;margin-bottom:18px;padding:4px;border:1px solid var(--line);border-radius:13px;background:#0e1316}.inventory-tabs button{flex:1;min-width:max-content;border:0;border-radius:9px;background:transparent;color:#aeb7bd;padding:11px 13px;font-weight:800}.inventory-tabs button.active{background:#282411;color:#ffd235}.inventory-summary-grid,.analytics-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:14px}.inventory-summary-grid article,.analytics-grid article{padding:16px}.inventory-summary-grid span,.analytics-grid span{display:block;color:#9aa4aa;font-size:11px}.inventory-summary-grid strong,.analytics-grid strong{display:block;margin-top:5px;color:#fff;font-size:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.inventory-tools{display:grid;gap:10px;margin-bottom:12px;padding:12px}.inventory-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.inventory-tools input,.inventory-tools select{min-width:0;padding:10px;font-size:11px}.inventory-search-row button,.inventory-filter-panel button{min-height:39px;border:1px solid #465159;border-radius:8px;background:#151b1f;color:#dce2e5;padding:8px 14px;font-weight:800}.inventory-search-row .primary{border-color:#d4aa20;background:#ffd235;color:#17130a}.inventory-search-row #inventory-filters-toggle.has-active-filters{border-color:#ffd235;background:#26220f;color:#ffd235}.inventory-filter-panel{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr)) auto;gap:8px;padding-top:10px;border-top:1px solid #30383d}.inventory-filter-panel[hidden]{display:none}.inventory-filter-panel #inventory-clear-filters{border-color:#6a5b25;color:#ffd235}.inventory-filter-panel #inventory-clear-filters:disabled{border-color:#343d42;color:#657077;cursor:not-allowed}.business-data-list{display:grid;gap:9px}.business-row{display:flex;align-items:center;gap:13px;padding:13px}.business-item-photo{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;overflow:hidden;border:1px solid #384249;border-radius:10px;background:#0d1114;color:#ffd235;font-size:24px}.business-item-photo img{width:100%;height:100%;object-fit:cover}.business-row-main{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;flex:1}.business-row h3{margin:3px 0 4px;font-size:15px}.business-row p{margin:0;color:#929ca2;font-size:10px}.business-type{color:#ffd235;font-size:9px;font-weight:900;text-transform:uppercase}.business-row-meta{display:flex;align-items:center;gap:14px}.business-row-meta span{display:grid;gap:3px;color:#7f8a91;font-size:9px}.business-row-meta strong{color:#e8ecee;font-size:11px}.stock-pill{display:inline-flex!important;padding:6px 8px;border:1px solid #3e494f;border-radius:999px;color:#b7c0c5!important;white-space:nowrap}.stock-pill.in{border-color:#28573a;background:#14271b;color:#78db95!important}.stock-pill.low{border-color:#66551c;background:#28220d;color:#ffd235!important}.stock-pill.out{border-color:#693238;background:#2a1518;color:#ff8c96!important}.business-row-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.business-row-actions button{border:1px solid #414c53;border-radius:8px;background:#151b1f;color:#dce2e5;padding:7px 9px;font-size:10px}.business-row-actions button:hover{border-color:#ffd235;color:#ffd235}.inventory-panel-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:20px 0 12px}.inventory-panel-heading h2{margin:0 0 4px}.inventory-panel-heading p{margin:0;color:var(--muted)}.sales-summary{grid-template-columns:repeat(4,1fr)}.seasonal-storage{display:grid;gap:3px;min-width:280px;padding:10px;border:1px solid #4d431e;border-radius:9px;background:#19180f}.seasonal-storage strong{color:#ffd235}.seasonal-storage span,.seasonal-storage small{font-size:10px}.seasonal-storage small{color:#8e999f}.size-group-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:14px}.size-group-grid button{display:grid;gap:5px;padding:16px;color:#fff;text-align:left}.size-group-grid button.active{border-color:#ffd235;background:#211d0d}.size-group-grid span{color:#9aa4aa;font-size:11px}.analytics-grid{grid-template-columns:repeat(3,1fr)}.analytics-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.analytics-details-grid section{padding:16px}.analytics-details-grid h3{margin-top:0}.analytics-details-grid p{display:flex;justify-content:space-between;gap:12px;margin:8px 0;color:#aeb7bc;font-size:11px}.analytics-details-grid strong{color:#ffd235}.business-dialog{width:min(760px,calc(100% - 24px));max-height:88vh;padding:0;border:1px solid #475159;border-radius:16px;background:#111619;color:#fff}.business-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.business-dialog form{padding:18px}.business-dialog header,.business-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.business-dialog header{margin-bottom:14px}.business-dialog header h2{margin:0}.business-dialog header button{border:0;background:none;color:#99a3a9;font-size:25px}.business-dialog footer{justify-content:flex-end;margin-top:14px}.business-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.business-form-grid label{display:grid;gap:5px;color:#cfd5d8;font-size:11px;font-weight:800}.business-form-grid input,.business-form-grid select,.business-form-grid textarea{padding:10px}.business-form-wide{grid-column:1/-1}.code-dialog{width:min(520px,calc(100% - 24px));text-align:center}.code-dialog #inventory-code-preview{display:grid;justify-items:center;gap:12px;padding:16px}.barcode-bars{display:flex;align-items:stretch;height:90px;padding:8px;background:#fff}.barcode-bars i{display:block;width:2px;margin-right:1px;background:#111}.barcode-bars i.wide{width:4px}.code-dialog code{color:#ffd235;font-size:13px}
@media(max-width:900px){.inventory-summary-grid{grid-template-columns:repeat(3,1fr)}.inventory-filter-panel{grid-template-columns:repeat(3,1fr)}.business-row{align-items:flex-start;flex-wrap:wrap}.business-row-main{align-items:flex-start;flex-direction:column}.business-row-actions{width:100%;justify-content:flex-start}.size-group-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.business-inventory-page{padding-bottom:80px}.business-inventory-heading{align-items:stretch;flex-direction:column}.business-inventory-heading h1{font-size:27px}.business-inventory-heading .primary{width:100%}.inventory-tabs{position:sticky;top:54px;z-index:8}.inventory-tabs button{padding:9px 10px;font-size:10px}.inventory-summary-grid,.sales-summary,.analytics-grid{grid-template-columns:1fr 1fr}.inventory-summary-grid article,.analytics-grid article{padding:12px}.inventory-summary-grid strong,.analytics-grid strong{font-size:20px}.inventory-tools{padding:9px}.inventory-search-row{grid-template-columns:1fr 1fr}.inventory-search-row input{grid-column:1/-1;min-height:44px;font-size:16px}.inventory-search-row button{min-height:44px}.inventory-filter-panel{grid-template-columns:1fr 1fr}.inventory-filter-panel select,.inventory-filter-panel button{min-height:44px}.inventory-filter-panel #inventory-clear-filters{grid-column:1/-1}.business-row-meta{display:grid;grid-template-columns:1fr 1fr;width:100%}.business-item-photo{flex-basis:48px;width:48px;height:48px}.business-row-actions button{flex:1}.inventory-panel-heading{align-items:stretch;flex-direction:column}.inventory-panel-heading button{width:100%}.seasonal-storage{min-width:0;width:100%}.analytics-details-grid{grid-template-columns:1fr}.business-form-grid{grid-template-columns:1fr}.business-form-wide{grid-column:auto}}

.inventory-ai-upload{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:center;margin-bottom:14px;padding:12px;border:1px solid #5c4e1c;border-radius:12px;background:linear-gradient(135deg,#211d0d,#11171a)}.inventory-ai-preview{display:grid;place-items:center;width:120px;height:90px;overflow:hidden;border:1px dashed #6f6126;border-radius:9px;background:#0b1012;color:#ffd235;text-align:center}.inventory-ai-preview img{width:100%;height:100%;object-fit:cover}.inventory-ai-preview span{font-size:24px}.inventory-ai-preview small{font-size:9px}.inventory-ai-upload strong{color:#fff}.inventory-ai-upload strong em{margin-left:5px;color:#ffd235;font-size:9px;font-style:normal;text-transform:uppercase}.inventory-ai-upload p{margin:4px 0 7px;color:#9da7ad;font-size:10px;line-height:1.4}.inventory-ai-upload button{border:1px solid #6f6126;border-radius:8px;background:#171a12;color:#ffd235;padding:8px 10px;font-size:11px;font-weight:800}.inventory-ai-upload #inventory-ai-status{min-height:14px;margin:6px 0 0;color:#ffd235}.business-form-grid label small{color:#89949a;font-size:9px;font-weight:500}.business-form-grid input[readonly]{border-color:#4e4627;background:#17160f;color:#cbbd82}
@media(max-width:560px){.inventory-ai-upload{grid-template-columns:82px minmax(0,1fr);padding:9px}.inventory-ai-preview{width:82px;height:82px}.business-dialog{max-height:92vh}.business-dialog form{padding:13px}.business-dialog footer{position:sticky;bottom:-13px;padding:10px 0 3px;background:#111619}.business-dialog footer button{min-height:42px}}
@media print{body>*{display:none!important}.business-dialog[open]{position:static;display:block!important;width:100%;max-height:none;border:0;color:#000;background:#fff}.business-dialog[open] form{display:block}.business-dialog[open] header button,.business-dialog[open] footer{display:none}.business-dialog[open] #inventory-code-preview{display:grid!important}.barcode-bars{border:1px solid #000}.code-dialog code{color:#000}}

/* Customer record actions, reminder preference and responsive controls. */
.customer-row{align-items:stretch}.customer-row .business-row-main{align-items:center}.customer-identity{min-width:210px}.customer-contact-details{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;color:#929ca2;font-size:10px}.customer-call-link{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 9px;border:1px solid #536168;border-radius:8px;background:#151b1f;color:#f0f3f4;font-weight:800;text-decoration:none}.customer-call-link:hover,.customer-call-link:focus-visible{border-color:#ffd235;color:#ffd235;outline:none}.customer-call-link span{color:#ffd235;font-size:13px}.customer-notes{display:block;margin-top:6px;color:#89949a;font-size:10px}.customer-action-area{display:grid;align-content:center;justify-items:end;gap:6px;min-width:280px}.customer-actions{align-content:center}.customer-actions select{border:1px solid #414c53;border-radius:8px;background:#151b1f;color:#dce2e5;padding:7px 9px;font-size:10px}.customer-contact-summary{color:#8ceda9;font-size:9px;font-weight:800}.business-row-actions .customer-contacted.is-contacted{border-color:#2e9b54;background:#173d24;color:#8ceda9}.business-row-actions .customer-contacted.is-contacted:hover{border-color:#45c36f;color:#b2f6c6}.business-row-actions .customer-delete{border-color:#71373d;color:#ff9aa3}.business-row-actions .customer-delete:hover{border-color:#e35a66;color:#ffbbc0}.customer-reminder-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:end}.customer-reminder-fields>label:first-child{min-width:0}.customer-reminder-check{display:flex!important;align-items:center;gap:8px;min-height:39px;padding:0 4px}.customer-reminder-check input{width:18px;height:18px;margin:0;padding:0;accent-color:#ffd235}.customer-reminder-fields small{grid-column:1/-1;color:#89949a;font-size:9px;line-height:1.4}
@media(max-width:900px){.customer-row .business-row-main{width:100%}.customer-action-area{justify-items:stretch;min-width:0;width:100%}.customer-actions{min-width:0}.customer-contact-summary{text-align:right}}
@media(max-width:560px){.customer-row{gap:10px}.customer-identity{width:100%;min-width:0}.customer-contact-details{align-items:stretch;flex-direction:column}.customer-call-link{justify-content:center;min-height:44px;font-size:12px}.customer-actions{display:grid;grid-template-columns:repeat(2,1fr);width:100%}.customer-actions button,.customer-actions select{min-height:42px;padding:9px 6px}.customer-contact-summary{text-align:center}.customer-reminder-fields{grid-template-columns:1fr}.customer-reminder-fields small{grid-column:auto}.customer-reminder-check{min-height:42px;padding:0}}

/* Compact inventory workflow actions. */
.inventory-heading-actions{display:flex;gap:8px}.inventory-heading-actions button{min-height:42px;border:1px solid #465159;border-radius:9px;background:#151b1f;color:#dce2e5;padding:9px 14px;font-weight:800}.inventory-heading-actions button.primary{border-color:#d4aa20;background:#ffd235;color:#17130a}.inventory-workflow-row{position:relative}.inventory-select{display:grid;place-items:center;flex:0 0 24px}.inventory-select input{width:18px;height:18px;accent-color:#ffd235}.inventory-quantity-meta{flex-wrap:wrap}.workflow-primary-actions{align-items:center}.workflow-primary-actions button.primary{border-color:#d4aa20;background:#ffd235;color:#17130a}.workflow-primary-actions button:disabled{opacity:.45;cursor:not-allowed}.inventory-more{position:relative}.inventory-more summary{list-style:none;border:1px solid #414c53;border-radius:8px;background:#151b1f;color:#dce2e5;padding:7px 9px;font-size:10px;font-weight:800;cursor:pointer}.inventory-more summary::-webkit-details-marker{display:none}.inventory-more[open]>div{position:absolute;z-index:12;right:0;top:calc(100% + 5px);display:grid;gap:4px;width:170px;padding:7px;border:1px solid #465159;border-radius:10px;background:#101519;box-shadow:0 12px 30px #000a}.inventory-more[open]>div button{width:100%;text-align:left}.inventory-workflow-row.is-clearance{border-color:#806921;background:linear-gradient(90deg,#201c0d,#15191c 34%)}.inventory-bulk-bar{display:flex;align-items:center;gap:8px;margin:-2px 0 12px;padding:10px 12px;border-color:#66571e}.inventory-bulk-bar[hidden]{display:none}.inventory-bulk-bar strong{margin-right:auto;color:#ffd235}.inventory-bulk-bar button{border:1px solid #4d585f;border-radius:8px;background:#151b1f;color:#dce2e5;padding:8px 10px}.inventory-recent{margin:0 0 12px;padding:10px 12px}.inventory-recent summary{color:#bfc6ca;font-size:11px;font-weight:850;cursor:pointer}.inventory-recent div{display:grid;gap:5px;margin-top:8px}.inventory-recent p,#inventory-history-list p{display:flex;align-items:center;gap:5px;margin:0;padding:6px 0;border-bottom:1px solid #283036;color:#aab3b8;font-size:10px}.inventory-recent p small,#inventory-history-list p small{margin-left:auto;color:#748087}.compact-dialog{width:min(560px,calc(100% - 24px))}.compact-dialog form>label{display:grid;gap:6px}.compact-dialog form>label input{padding:10px}.compact-dialog form>small{display:block;margin-top:6px;color:#89949a}.inventory-label-dialog{width:min(480px,calc(100% - 24px))}#inventory-label-preview{display:grid;justify-items:center;gap:5px;padding:24px;border:2px solid #111;border-radius:6px;background:#fff;color:#111;text-align:center}#inventory-label-preview>strong{font-size:22px}#inventory-label-preview h2,#inventory-label-preview p{margin:0}
@media(max-width:900px){.workflow-primary-actions{width:100%}.inventory-more{flex:1}.inventory-more summary{text-align:center}.inventory-more[open]>div{left:0;right:auto}.inventory-quantity-meta{display:grid;grid-template-columns:repeat(3,1fr);width:100%}}
@media(max-width:560px){.inventory-heading-actions{display:grid;grid-template-columns:1fr 1fr}.inventory-heading-actions button{width:100%}.inventory-workflow-row{padding:11px}.inventory-select{position:absolute;top:10px;right:10px}.inventory-workflow-row .business-item-photo{margin-right:24px}.workflow-primary-actions{display:grid;grid-template-columns:1fr 1fr}.workflow-primary-actions button,.inventory-more summary{min-height:44px}.inventory-more[open]>div{position:fixed;z-index:30;left:12px;right:12px;top:auto;bottom:76px;width:auto}.inventory-more[open]>div button{min-height:44px}.inventory-bulk-bar{position:sticky;z-index:9;bottom:70px;flex-wrap:wrap}.inventory-bulk-bar strong{width:100%}.inventory-bulk-bar button{flex:1;min-height:42px}.inventory-filter-panel{grid-template-columns:1fr 1fr}.inventory-recent{font-size:11px}}
@media print{body>*{display:none!important}.inventory-label-dialog[open]{position:static;display:block!important;width:100%;max-height:none;border:0;background:#fff}.inventory-label-dialog[open] form{display:block}.inventory-label-dialog[open] header,.inventory-label-dialog[open] footer{display:none!important}#inventory-label-preview{display:grid!important;border:2px solid #000;color:#000}}

/* Multi-photo inventory editor. */
.inventory-photo-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 14px}.inventory-photo-thumb{min-width:0;margin:0;overflow:hidden;border:1px solid #3e494f;border-radius:10px;background:#0d1215}.inventory-photo-thumb>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.inventory-photo-thumb figcaption{display:grid;grid-template-columns:1fr auto auto;gap:4px;padding:6px}.inventory-photo-thumb figcaption span{grid-column:1/-1;color:#ffd235;font-size:9px;font-weight:850}.inventory-photo-thumb button{min-height:28px;border:1px solid #465159;border-radius:6px;background:#171d21;color:#dce2e5;padding:4px 7px;font-size:9px}.inventory-photo-thumb button[data-photo-remove]{color:#ff9aa3}.inventory-photo-thumb button:disabled{opacity:.35}.inventory-photo-empty{grid-column:1/-1;margin:0;padding:12px;border:1px dashed #414b51;border-radius:9px;color:#89949a;font-size:10px;text-align:center}
@media(max-width:700px){.inventory-photo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.inventory-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-photo-thumb button{min-height:34px}}

/* Quick Add photo picker. */
.quick-photo-section{margin-top:14px;padding:12px;border:1px solid #3e494f;border-radius:11px;background:#0e1316}.quick-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.quick-photo-heading h3{margin:0 0 3px;font-size:14px}.quick-photo-heading p{margin:0;color:#89949a;font-size:10px}.quick-photo-heading button{min-height:38px;border:1px solid #6f6126;border-radius:8px;background:#171a12;color:#ffd235;padding:8px 12px;font-weight:850}.visually-hidden-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.inventory-photo-status{margin:0 0 9px;color:#aeb7bc;font-size:10px}.quick-photo-gallery{margin-bottom:0}
@media(max-width:560px){.quick-photo-heading{align-items:stretch;flex-direction:column}.quick-photo-heading button{width:100%;min-height:44px}}

/* Mobile feature parity: keep shared inventory controls reachable without changing desktop. */
@media(max-width:560px){
  .inventory-tabs{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;touch-action:pan-x;white-space:nowrap}
  .inventory-tabs button{flex:0 0 auto;min-height:42px}
  .business-dialog{overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .business-dialog form{padding-bottom:76px}
  .business-dialog footer{z-index:4;bottom:0;padding-bottom:10px}
  .inventory-more[open]>div{max-height:calc(100dvh - 160px);overflow-y:auto;overscroll-behavior:contain}
  .customer-actions select,.customer-actions button,.workflow-primary-actions button,.inventory-more summary{touch-action:manipulation}
}

/* Quick Add validation feedback. */
.quick-validation-errors{margin:0 0 12px;padding:10px 12px;border:1px solid #b94b55;border-radius:9px;background:#2b1518;color:#ffb2b9;font-size:11px;line-height:1.45}.quick-validation-errors[hidden]{display:none}.quick-validation-errors strong{color:#ffd6da}.quick-validation-errors ul{margin:5px 0 0;padding-left:18px}.quick-validation-errors li+li{margin-top:2px}#inventory-quick-add-form [aria-invalid="true"]{border-color:#e25b67;box-shadow:0 0 0 2px #e25b6726}

/* Conversation-only controls: secondary actions stay in the header disclosure. */
#chat-panel .chat-options{position:relative}
#chat-panel .chat-options summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:var(--panel2);color:var(--text);font-size:24px;cursor:pointer;list-style:none}
#chat-panel .chat-options summary::-webkit-details-marker{display:none}
#chat-panel .chat-options summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#chat-panel .chat-options-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:230px;max-width:calc(100vw - 48px);padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 8px 24px #0003}
#chat-panel .chat-options:not([open]) .chat-options-menu{display:none}
#chat-panel .chat-options-menu button{display:block;width:100%;min-height:44px;padding:10px;text-align:left;font-size:13px;border:0;border-radius:6px;background:transparent;color:var(--text)}
#chat-panel .chat-options-menu button:hover,#chat-panel .chat-options-menu button:focus-visible{background:var(--panel2)}
#chat-panel .chat-options-menu .erase-chat{color:#ce4545}
#chat-panel .chat-rating-slot:empty,#chat-panel .chat-action-status:empty{display:none}
#chat-panel .chat-rate-seller{width:auto;min-height:36px;margin:8px 0 0;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel2);color:var(--text);font-size:12px}
#chat-panel .chat-action-status{font-size:12px;line-height:1.5;margin:8px 0 0}
#chat-panel .chat-compose input{min-width:0}
#chat-panel .chat-listing-header>div{min-width:0;overflow-wrap:anywhere}
#chat-panel .chat-header-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:720px){#chat-panel{min-width:0}.messages-layout:has(#chat-panel .chat-listing-header) #chat-list{display:none}#chat-panel .chat-listing-header{gap:8px}#chat-panel .chat-header-actions{gap:4px}}

#chat-panel .chat-options-menu .block-user{color:var(--text)!important}

#chat-panel .chat-read-receipt{display:block;text-align:right;margin-top:4px;font-size:10px;line-height:1.3;color:var(--muted)}
.chat-unread-menu{position:fixed;z-index:10000;width:180px;padding:5px;border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:0 6px 20px #0003}
.chat-unread-menu button{width:100%;min-height:44px;border:0;border-radius:6px;background:transparent;color:var(--text);font-size:13px;text-align:left;padding:10px}
.chat-unread-menu button:hover,.chat-unread-menu button:focus-visible{background:var(--panel2)}

.business-mobile-back{display:none}
@media(max-width:560px){.business-mobile-back{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0 0 12px;padding:8px 13px;border:1px solid #465159;border-radius:9px;background:#151b1f;color:#fff;font-size:14px;font-weight:800}}

/* Shared iPhone-safe layout for every Business workspace dialog and form. */
@media(max-width:560px){
  .business-dialog{box-sizing:border-box;width:calc(100% - 20px);max-width:calc(100vw - 20px);max-height:calc(var(--business-visual-height,100dvh) - 20px);margin:auto;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}
  .business-dialog *,.business-dialog *::before,.business-dialog *::after{box-sizing:border-box}
  .business-dialog form,.business-dialog header,.business-dialog footer,.business-dialog .business-form-grid,.business-dialog .quick-photo-section,.business-dialog .quick-photo-heading,.business-dialog .inventory-photo-gallery,.business-dialog .inventory-ai-upload{min-width:0;width:100%;max-width:100%}
  .business-dialog form{overflow-x:hidden;padding:13px}
  .business-dialog header{position:sticky;top:-13px;z-index:3;padding:10px 0 8px;background:#111619}
  .business-dialog header>*,.business-dialog label,.business-dialog section,.business-dialog div,.business-dialog figure,.business-dialog figcaption{min-width:0;max-width:100%}
  .business-dialog h2,.business-dialog h3,.business-dialog p,.business-dialog small,.business-dialog span,.business-dialog label{overflow-wrap:anywhere;word-break:normal}
  .business-dialog input,.business-dialog select,.business-dialog textarea{font-size:16px;line-height:1.25}
  .business-dialog input:not([type="checkbox"]):not([type="radio"]):not(.visually-hidden-file),.business-dialog select,.business-dialog textarea{display:block;min-width:0;width:100%;max-width:100%}
  .business-dialog .visually-hidden-file{left:0;width:1px;max-width:1px}
  .business-dialog input[type="file"]{overflow:hidden}
  .business-dialog .quick-photo-section{overflow:hidden}
  .business-dialog .quick-photo-heading{align-items:stretch;flex-direction:column}
  .business-dialog .quick-photo-heading button{width:100%}
  .business-dialog .inventory-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}
  .business-dialog .inventory-photo-thumb{width:100%;max-width:100%}
  .business-dialog .inventory-photo-thumb figcaption{grid-template-columns:minmax(0,1fr);overflow-wrap:anywhere}
  .business-dialog .inventory-photo-thumb figcaption span{grid-column:auto}
  .business-dialog .inventory-photo-thumb button{width:100%}
  .business-dialog footer{position:sticky;bottom:-13px;z-index:3;display:flex;flex-wrap:wrap;padding:10px 0 3px;background:#111619}
  .business-dialog footer button{flex:1 1 130px;min-width:0;max-width:100%;min-height:44px;white-space:normal}
}
@media(max-width:380px){.business-dialog footer{align-items:stretch;flex-direction:column}.business-dialog footer button{flex:0 0 auto;width:100%}}

.mobile-floating-back{display:none}
@media(max-width:650px){.mobile-floating-back{position:fixed;z-index:90;top:calc(62px + env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:38px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--accent) 62%,var(--line));border-radius:999px;background:color-mix(in srgb,var(--panel) 92%,transparent);color:var(--text);box-shadow:0 5px 18px #0003;backdrop-filter:blur(9px);font-size:12px;font-weight:850;line-height:1;white-space:nowrap}.mobile-floating-back[hidden]{display:none}}

/* Keep primary Business tools together without changing desktop navigation. */
.account-business-shortcuts{display:contents}
@media(max-width:650px){
  .account-business-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .account-business-shortcuts:not(:has(button:not([hidden]))){display:none}
  .account-business-shortcuts .account-business-inventory-link{min-width:0;margin:0 0 14px;padding:12px;grid-template-columns:auto minmax(0,1fr);gap:8px}
  .account-business-shortcuts .account-business-inventory-link small,.account-business-shortcuts .account-business-inventory-link>b{display:none}
  .business-mobile-back{display:inline-flex}
  .inventory-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;white-space:normal;position:static;touch-action:pan-y}
  .inventory-tabs button{min-width:0;min-height:44px}
  .topbar .mobile-floating-back{position:absolute;top:50%;transform:translateY(-50%);left:max(10px,env(safe-area-inset-left));z-index:1;margin:0;min-height:38px}
  .topbar:has(.mobile-floating-back:not([hidden])) .brand{visibility:hidden}
}

/* Direct mobile Business access preserves the existing five navigation actions. */
.mobile-business-shortcuts[hidden]{display:none!important}
@media(max-width:850px){
 .mobile-nav .mobile-business-shortcuts{position:absolute;bottom:100%;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;height:46px;background:var(--panel,#11151a);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
 .mobile-nav .mobile-business-shortcuts button{font-size:13px;font-weight:700;min-height:44px}
 .has-mobile-business-shortcuts .container{padding-bottom:calc(156px + env(safe-area-inset-bottom))}
}
.appointment-duration{min-width:0;margin:0;padding:0;border:0}
.appointment-duration>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}
.appointment-duration label{position:relative;min-width:0;cursor:pointer}
.appointment-duration input{position:absolute;opacity:0;width:1px;height:1px;padding:0}
.appointment-duration span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:10px;font-size:14px;background:var(--panel);color:var(--text)}
.appointment-duration input:checked+span{background:var(--accent);color:#18130a;border-color:var(--accent);font-weight:800}
.appointment-duration input:focus-visible+span{outline:2px solid var(--text);outline-offset:2px}
