:root{--ink:#090b0d;--panel:#121519;--soft:#f1f0e9;--lime:#d9ff59;--ice:#b9d7ff;--coral:#ff927b;--muted:#8a9097;--line:rgba(255,255,255,.12);--sans:"Manrope",sans-serif;--mono:"DM Mono",monospace}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ink);color:var(--soft);font-family:var(--sans);font-size:16px;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.hidden{display:none!important}.lime{color:var(--lime)!important}.danger{color:var(--coral)!important}.micro{font:500 11px/1.4 var(--mono);letter-spacing:.1em;color:var(--muted)}
.rail{position:fixed;inset:0 auto 0 0;width:92px;background:#ffffff;border-right:1px solid var(--line);z-index:30;display:flex;align-items:center;flex-direction:column;padding:18px 10px}.logo{border:1px solid #d6e0eb;background:#ffffff;color:#263445;border-radius:14px;width:52px;height:52px;font-size:19px;font-weight:800}.logo span{color:var(--lime)}.rail nav{display:flex;flex-direction:column;gap:9px;margin:auto 0;width:100%}.rail nav button{position:relative;border:0;background:transparent;color:#5e6b7b;border-radius:12px;padding:12px 4px;display:grid;place-items:center;gap:4px}.rail nav button span{font-size:24px;line-height:1}.rail nav button b{font-size:10px}.rail nav button i{position:absolute;right:12px;top:7px;background:var(--coral);color:#141414;font:700 10px var(--mono);width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-style:normal}.rail nav button.active{background:#f0f5fa;color:var(--soft)}.rail nav button.active:after{content:"";position:absolute;left:-10px;height:36px;width:3px;background:var(--lime);border-radius:0 4px 4px 0}.avatar{width:46px;height:46px;border-radius:50%;border:1px solid #d6e0eb;background:var(--ice);color:#111;font-weight:800}.topbar{position:fixed;left:92px;right:0;top:0;height:78px;background:rgba(9,11,13,.9);backdrop-filter:blur(18px);z-index:25;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px}.topbar>div:first-child{display:flex;align-items:baseline;gap:14px}.topbar strong{font-size:18px}.topbar #viewKicker{font-size:13px;color:var(--muted)}.top-actions{display:flex;gap:8px}.quiet,.acid,.icon-btn,.light,.cash-btn,.danger-btn{border:0;border-radius:10px;padding:11px 15px;font-weight:700}.quiet{background:#ffffff;color:#263445}.acid{background:var(--lime);color:#111}.icon-btn{background:#ffffff;color:#263445;min-width:42px}.light{background:var(--soft);color:#111}.cash-btn{background:#f4d990;color:#111}.danger-btn{background:var(--coral);color:#111;width:100%;padding:14px}.view{display:none;margin-left:92px;padding-top:78px;min-height:100vh}.view.active{display:block}
.market-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px}.market-main{padding:30px 30px 80px}.feature{height:500px;border-radius:22px;overflow:hidden;position:relative;background:#ffffff;border:1px solid var(--line)}.feature>img{width:100%;height:100%;object-fit:cover}.feature-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,11,.94),rgba(8,9,11,.2) 65%),linear-gradient(0deg,rgba(8,9,11,.45),transparent 50%)}.feature-copy{position:absolute;left:42px;top:48px;max-width:510px}.feature h1{font-size:clamp(54px,6vw,92px);line-height:.85;letter-spacing:-.07em;margin:18px 0 25px}.feature p{max-width:430px;line-height:1.6;color:#263445}.feature-copy button{margin-top:18px}.feature-stat{position:absolute;right:25px;bottom:25px;width:180px;border:1px solid rgba(255,255,255,.3);background:rgba(13,15,18,.72);backdrop-filter:blur(12px);padding:18px;border-radius:14px}.feature-stat span,.feature-stat small{display:block;color:#263445;font:10px var(--mono)}.feature-stat strong{display:block;font-size:28px;margin:8px 0}.section-row{display:flex;align-items:end;justify-content:space-between;margin:54px 0 22px}.section-row h2,.floor h2{font-size:32px;letter-spacing:-.05em;margin:4px 0 0}.chips{display:flex;gap:8px;overflow:auto;padding-bottom:18px}.chips button{border:1px solid #d6e0eb;border-radius:999px;background:transparent;color:#263445;padding:9px 14px;white-space:nowrap}.chips button.active{background:var(--soft);color:#111;border-color:var(--soft)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.product-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#ffffff;min-width:0;transition:.22s}.product-card:hover{transform:translateY(-3px);border-color:#d6e0eb}.product-image{height:310px;position:relative;overflow:hidden;background:#ffffff}.product-image img{width:100%;height:100%;object-fit:cover;transform:scale(1.75)}.product-image .save{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(10,11,13,.78);color:#263445;font-size:18px}.product-image .condition{position:absolute;bottom:12px;left:12px;background:rgba(241,240,233,.9);color:#111;padding:6px 9px;border-radius:999px;font:10px var(--mono)}.product-copy{padding:16px}.product-copy .brandline{display:flex;justify-content:space-between;color:#5e6b7b;font:10px var(--mono);text-transform:uppercase}.product-copy h3{font-size:16px;line-height:1.35;margin:9px 0 17px;min-height:43px}.product-foot{display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--line);padding-top:14px}.product-foot strong{font-size:20px}.product-foot small{display:block;color:#5e6b7b;font-size:10px;margin-top:2px}.product-foot button{border:0;background:#f0f5fa;color:#263445;border-radius:8px;padding:8px 10px}.floor{border-left:1px solid var(--line);padding:30px 24px;min-height:calc(100vh - 78px);background:#ffffff}.floor-head{display:flex;justify-content:space-between;align-items:start}.floor-pin{border:1px solid #d8b56c;border-radius:16px;padding:18px;margin:24px 0;background:#ffffff}.floor-pin>span{float:right;background:var(--coral);color:#1b1512;font:700 10px var(--mono);padding:6px;border-radius:6px}.floor-pin b{display:block;font-size:17px}.floor-pin p{color:#263445;font-size:14px;line-height:1.5}.floor-pin button{border:0;border-radius:8px;width:100%;padding:10px;background:#f0f5fa;color:#263445}.activity{border:1px solid var(--line);border-radius:14px;background:#ffffff;margin-bottom:12px;overflow:hidden}.activity-head{padding:12px 14px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px}.activity-head span{color:#5e6b7b}.activity-body{padding:14px}.activity-body p{margin:0 0 7px;font-weight:600}.activity-body small{color:#5e6b7b}.activity-pieces{display:flex;gap:6px;margin-bottom:12px}.activity-pieces i{display:block;width:48px;height:58px;border-radius:6px;background-image:url('/assets/relay-collection.png');background-size:270%;background-position:var(--pos)}
.page-wrap{padding:38px 42px 80px;max-width:1500px;margin:auto}.page-wrap.narrow{max-width:1280px}.search-hero{height:80px;border:1px solid #d6e0eb;border-radius:16px;background:#ffffff;display:flex;align-items:center;padding:0 20px;gap:15px}.search-hero span{font-size:25px}.search-hero input{flex:1;border:0;background:transparent;color:#263445;font-size:20px;outline:0}.search-hero kbd{border:1px solid #d6e0eb;border-radius:6px;padding:5px 8px;color:#5e6b7b}.search-tabs,.trade-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-top:30px}.search-tabs button,.trade-tabs button{border:0;background:transparent;color:#5e6b7b;padding:14px 0;position:relative;font-weight:700}.search-tabs button.active,.trade-tabs button.active{color:#263445}.search-tabs button.active:after,.trade-tabs button.active:after{content:"";position:absolute;height:2px;background:var(--lime);left:0;right:0;bottom:-1px}.trade-tabs i{font-style:normal;background:#f0f5fa;border-radius:999px;padding:2px 6px;font-size:11px}.filter-panel{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px}.filter-panel label{color:#5e6b7b;font:11px var(--mono)}.filter-panel select{display:block;width:100%;margin-top:7px;border:1px solid #d6e0eb;background:#ffffff;color:#263445;border-radius:9px;padding:11px}.results-head,.page-title{display:flex;justify-content:space-between;align-items:end;margin:52px 0 23px}.results-head h2,.page-title h1{font-size:42px;letter-spacing:-.05em;margin:6px 0 0}.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.member-card{background:#ffffff;border:1px solid var(--line);border-radius:16px;padding:20px}.member-top{display:flex;align-items:center;gap:12px}.member-top .avatar{display:grid;place-items:center;flex:none}.member-card p{color:#5e6b7b;line-height:1.5}.match-bar{height:6px;background:#f0f5fa;border-radius:99px;overflow:hidden;margin:18px 0}.match-bar i{height:100%;display:block;background:var(--lime)}
.trade-row{display:grid;grid-template-columns:210px 1fr auto;gap:22px;align-items:center;border-bottom:1px solid var(--line);padding:28px 0}.trade-status b{display:block;font-size:17px;margin:9px 0 3px}.trade-status span{color:#5e6b7b;font-size:12px}.trade-cards{background:#ffffff;border:1px solid var(--line);padding:15px;border-radius:13px;display:flex;align-items:center;gap:8px;min-height:100px}.trade-thumb{width:56px;height:70px;background-image:url('/assets/relay-collection.png');background-size:250%;background-position:var(--pos);border-radius:6px}.trade-arrow{margin:0 10px;background:#f0f5fa;width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.status-pill{font:10px var(--mono);border-radius:999px;padding:7px 9px;background:#f0f5fa;color:#263445}.status-pill.action{background:var(--coral);color:#17120f}.trade-row>button{border:1px solid #d6e0eb;background:transparent;color:#263445;border-radius:9px;padding:10px 14px}.empty-state{padding:100px 20px;text-align:center;color:#5e6b7b}.empty-state strong{display:block;color:#263445;font-size:24px;margin-bottom:8px}
.messages-shell{display:grid;grid-template-columns:340px 1fr;height:calc(100vh - 78px)}.threads{border-right:1px solid var(--line);padding:24px;background:#ffffff}.threads .section-row{margin:0 0 15px}.thread-search{width:100%;border:1px solid #d6e0eb;background:#ffffff;color:#263445;padding:11px;border-radius:9px;margin-bottom:14px}.thread{width:100%;text-align:left;border:0;border-radius:12px;background:transparent;color:#263445;padding:14px;display:flex;gap:10px;margin-bottom:4px}.thread.active{background:#f0f5fa}.thread .avatar{width:42px;height:42px;display:grid;place-items:center;flex:none}.thread div{min-width:0}.thread b,.thread span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread span{color:#5e6b7b;font-size:12px;margin-top:4px}.chat{display:flex;min-width:0;flex-direction:column}.chat header{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px}.chat-user{display:flex;align-items:center;gap:12px}.chat-user .avatar{display:grid;place-items:center;width:42px;height:42px}.chat-user span{display:block;color:#5e6b7b;font-size:12px}.chat-body{flex:1;overflow:auto;padding:28px;display:flex;flex-direction:column;gap:12px}.bubble{max-width:68%;padding:13px 15px;border-radius:15px;background:#ffffff;line-height:1.5}.bubble.mine{margin-left:auto;background:#dfe7c1;color:#141414}.bubble time{display:block;font:9px var(--mono);opacity:.55;margin-top:6px}.chat form{display:flex;gap:10px;padding:18px 26px;border-top:1px solid var(--line);cursor:text}.chat form input{position:relative;z-index:1;pointer-events:auto;flex:1;border:1px solid #d6e0eb;background:#ffffff;color:#263445;padding:13px 15px;border-radius:10px;cursor:text}.chat form button{cursor:pointer}
.profile-hero{padding:55px 45px;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:28px;background:linear-gradient(110deg,#ffffff,#ffffff);border-bottom:1px solid var(--line);position:relative}.profile-avatar{width:100px;height:100px;border-radius:50%;background:var(--ice);color:#111;display:grid;place-items:center;font-size:30px;font-weight:800}.profile-hero h1{font-size:48px;letter-spacing:-.05em;margin:5px 0}.profile-hero p{color:#5e6b7b;margin:0;max-width:590px}.profile-stats{display:flex}.profile-stats div{padding:0 24px;border-right:1px solid var(--line);text-align:center}.profile-stats b{display:block;font-size:25px}.profile-stats span{color:#5e6b7b;font-size:11px}.profile-tabs{margin-top:0;margin-bottom:25px}.settings-wrap{max-width:1100px}.settings-grid{display:grid;grid-template-columns:220px 1fr;gap:25px}.settings-grid>nav{display:flex;flex-direction:column;gap:5px}.settings-grid>nav button{text-align:left;border:0;background:transparent;color:#5e6b7b;padding:12px;border-radius:8px}.settings-grid>nav button.active{background:#ffffff;color:#263445}.settings-card{border:1px solid var(--line);border-radius:18px;background:#ffffff;padding:30px}.settings-card h2{font-size:30px;margin:7px 0}.settings-card>p{color:#5e6b7b;line-height:1.5}.settings-card>label{display:block;margin-top:26px;font-size:13px;font-weight:700}.settings-card input{display:block;width:100%;margin-top:8px;border:1px solid #d6e0eb;border-radius:9px;background:#ffffff;color:#263445;padding:13px}.tag-select{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.tag-select button{border:1px solid #d6e0eb;background:transparent;color:#5e6b7b;padding:8px 11px;border-radius:999px}.tag-select button.selected{background:var(--soft);color:#111}.address-card{margin-top:8px;border:1px solid #d6e0eb;border-radius:9px;padding:14px;display:flex;align-items:center;gap:10px}.address-card span{color:#5e6b7b;flex:1}.address-card button{border:0;background:transparent;color:var(--lime)}.save-settings{margin-top:26px}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(9px);z-index:100;opacity:0;pointer-events:none;transition:.22s;display:grid;place-items:center;padding:20px}.overlay.open{opacity:1;pointer-events:auto}.close{position:absolute;right:18px;top:18px;width:42px;height:42px;border:0;border-radius:10px;background:#f0f5fa;color:#263445;font-size:25px;z-index:3}.dossier{position:relative;width:min(1250px,96vw);height:min(800px,92vh);border-radius:22px;overflow:hidden;background:linear-gradient(118deg,#9cabbe,#e6a9bc 52%,#a7dff1);color:#161313;display:grid;grid-template-columns:46% 54%;grid-template-rows:1fr 76px}.dossier-media{padding:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid rgba(0,0,0,.12)}.image-stage{height:560px;width:82%;overflow:hidden;position:relative}.image-stage img{width:100%;height:100%;object-fit:cover;transform:scale(1.75)}.image-stage span{position:absolute;left:10px;top:10px;background:#ffffff;color:#263445;padding:5px 7px;border-radius:4px;font:9px var(--mono)}.image-nav{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:14px}.image-nav button{border:0;background:#ffffff;color:#263445;width:40px;height:40px;border-radius:8px}.image-nav i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#7d7880;margin:3px}.image-nav i.active{background:#f8f0d3}.dossier-info{padding:54px 48px 95px;overflow:auto}.dossier-info h2{font-size:45px;line-height:.98;letter-spacing:-.055em;margin:12px 0 20px}.dossier-price{display:flex;align-items:center;gap:14px;margin-bottom:22px}.dossier-price strong{font-size:42px}.dossier-price span{font-size:12px}.detail-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.detail-box{background:rgba(255,255,255,.23);padding:13px;border-radius:10px}.detail-box b,.detail-box span{display:block}.detail-box span{font:9px var(--mono);margin-bottom:5px}.seller-box{margin-top:20px;border-radius:13px;background:rgba(255,255,255,.25);padding:16px;display:flex;align-items:center;gap:12px}.seller-box .avatar{display:grid;place-items:center}.seller-box>div{flex:1}.seller-box b,.seller-box span{display:block}.seller-box span{font-size:12px;color:#504d51}.seller-box button{border:0;background:#ffffff;color:#263445;border-radius:8px;padding:9px}.dossier-copy{line-height:1.6;color:#433f43}.auth-line{border-top:1px solid rgba(0,0,0,.13);margin-top:18px;padding-top:17px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-line div{display:flex;gap:9px;align-items:start}.auth-line i{font-style:normal}.dossier-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:rgba(14,16,18,.24);padding:10px 16px}.dossier-actions button{font-size:17px}
.studio{position:relative;width:min(1500px,98vw);height:min(900px,95vh);background:#ffffff;border:1px solid #d6e0eb;border-radius:20px;overflow:hidden;display:grid;grid-template-rows:78px 1fr 82px}.studio>header{display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid var(--line)}.studio>header h2{margin:2px 0;font-size:28px}.studio>header .close{position:static}.studio-body{display:grid;grid-template-columns:210px 1fr 56px 1fr 210px;min-height:0}.side-total{background:#ffffff;padding:24px 20px;border-right:1px solid var(--line)}.side-total.partner{border-left:1px solid var(--line);border-right:0}.side-total>span{font:10px var(--mono);color:#5e6b7b}.side-total>strong{display:block;font-size:52px;letter-spacing:-.05em;margin:22px 0 0}.side-total>small{display:block;color:#5e6b7b}.side-total>button{width:100%;border:0;border-radius:9px;background:#f0f5fa;color:#263445;padding:11px;margin-top:25px}.side-total label{display:block;font-size:11px;margin-top:30px;color:#5e6b7b}.side-total textarea{width:100%;margin-top:8px;min-height:100px;background:#ffffff;border:1px solid #d6e0eb;color:#263445;border-radius:8px;padding:10px;resize:none}.preference-card{margin-top:30px;padding:13px;border:1px solid #d6e0eb;border-radius:10px}.preference-card span{font:9px var(--mono);color:#5e6b7b}.preference-card p{font-size:12px}.preference-card small{font-size:10px}.collection-panel{padding:20px;overflow:auto}.collection-panel h3{font-size:16px}.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mini-card{border:1px solid var(--line);background:#ffffff;border-radius:11px;overflow:hidden;position:relative}.mini-card.selected{border-color:var(--lime);box-shadow:0 0 0 1px var(--lime)}.mini-card img{width:100%;height:190px;object-fit:cover;transform:scale(1.75)}.mini-card div{padding:11px}.mini-card b,.mini-card small{display:block}.mini-card small{color:#5e6b7b;margin-top:4px}.mini-card button{position:absolute;right:9px;top:9px;border:0;background:#ffffff;color:#263445;width:31px;height:31px;border-radius:50%}.mini-card.selected button{background:var(--lime);color:#111}.swap-symbol{display:grid;place-items:center;font-size:26px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.studio>footer{border-top:1px solid var(--line);padding:12px 22px;display:flex;align-items:center;justify-content:space-between}.studio>footer div span,.studio>footer div strong{display:block}.studio>footer div span{font:9px var(--mono);color:#5e6b7b}.studio>footer div strong{font-size:20px}.studio>footer button{min-width:250px;padding:14px}.studio>footer button:disabled{opacity:.35;cursor:not-allowed}
.review-panel,.trade-detail,.dispute,.cash-sheet{position:relative;width:min(600px,96vw);max-height:92vh;overflow:auto;background:#ffffff;border:1px solid #d6e0eb;border-radius:20px;padding:34px}.review-panel{width:min(1040px,96vw)}.review-panel h2,.trade-detail h2,.dispute h2,.cash-sheet h2{font-size:36px;letter-spacing:-.05em;margin:6px 0 12px}.review-intro,.dispute>p{color:#5e6b7b;line-height:1.5}.review-sides{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 4px}.review-side{background:#ffffff;border-radius:11px;padding:14px}.review-side span{font:9px var(--mono);color:#5e6b7b}.review-side b{display:block;font-size:19px;margin-top:4px}.review-layout{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:12px}.review-protection{min-width:0}.review-section{border:1px solid #d6e0eb;border-radius:14px;background:#ffffff;padding:16px;margin:12px 0}.review-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.review-section-head h3{font-size:19px;margin:3px 0 0}.status-chip{font:10px var(--mono);border-radius:999px;padding:6px 8px}.status-chip.neutral{background:#f0f5fa;color:#263445}.fee-box{background:#ffffff;border-radius:12px;padding:10px 14px}.fee-box>div{display:flex;justify-content:space-between;gap:24px;padding:10px 0;color:#5e6b7b;border-bottom:1px solid #d6e0eb}.fee-box>div:last-child{border-bottom:0}.fee-box span small{display:block;color:#5e6b7b;font-size:10px;margin-top:3px}.fee-box b{color:#263445;white-space:nowrap}.fee-box .shipping-total{background:#ffffff;margin:0 -7px;padding:11px 7px}.fee-box .shipping-total b{color:var(--lime)}.fee-box .total{border-top:1px solid #d6e0eb;border-bottom:0;margin-top:6px;padding-top:16px;font-size:18px;color:#263445}.text-action{border:0;background:transparent;color:var(--lime);font-weight:700}.payment-state{display:flex;align-items:center;gap:12px;background:#ffffff;border-radius:10px;padding:13px}.payment-state>i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:#111;font-style:normal;font-weight:800}.payment-state b,.payment-state span{display:block}.payment-state span{color:#5e6b7b;font-size:11px;margin-top:3px}.authorization-flow{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}.authorization-flow>div{display:flex;gap:8px;align-items:center;border:1px solid #d6e0eb;border-radius:9px;padding:9px 10px}.authorization-flow i{width:22px;height:22px;border-radius:50%;background:#f0f5fa;color:#263445;display:grid;place-items:center;font:9px var(--mono);font-style:normal;flex:none}.authorization-flow .active i{background:var(--lime);color:#111}.authorization-flow b,.authorization-flow small{display:block}.authorization-flow b{font-size:11px}.authorization-flow small{color:#5e6b7b;font-size:9px;margin-top:2px}.protection-box{display:grid;grid-template-columns:44px 1fr;gap:14px;border:1px solid #d6e0eb;border-radius:14px;background:#ffffff;padding:18px;margin:12px 0}.protection-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#f0f5fa;color:var(--lime);font-size:22px}.protection-box h3{font-size:17px;margin:5px 0 9px}.protection-box ul{margin:0;padding-left:18px;color:#263445;font-size:12px;line-height:1.65}.full{width:100%;padding:14px}.terms{display:block;color:#5e6b7b;line-height:1.45;margin-top:12px}.timeline{margin:25px 0}.timeline-step{display:grid;grid-template-columns:30px 1fr auto;gap:10px;position:relative;padding-bottom:22px}.timeline-step:before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:1px;background:#f0f5fa}.timeline-step:last-child:before{display:none}.timeline-step i{width:28px;height:28px;background:#f0f5fa;border-radius:50%;display:grid;place-items:center;font-style:normal}.timeline-step.done i{background:var(--lime);color:#111}.timeline-step.active i{background:var(--coral);color:#111}.timeline-step b,.timeline-step span{display:block}.timeline-step span{color:#5e6b7b;font-size:12px;margin-top:3px}.timeline-step time{font:9px var(--mono);color:#5e6b7b}.trade-summary{display:flex;gap:10px;background:#ffffff;border-radius:10px;padding:13px}.trade-summary div{flex:1}.trade-summary b,.trade-summary span{display:block}.trade-summary span{color:#5e6b7b;font-size:12px}.detail-actions{display:flex;gap:10px}.detail-actions button{flex:1}.dispute label,.cash-sheet label{display:block;margin-top:18px;font-size:13px;font-weight:700}.dispute select,.dispute textarea{width:100%;margin-top:7px;background:#ffffff;color:#263445;border:1px solid #d6e0eb;border-radius:9px;padding:12px}.dispute textarea{min-height:100px;resize:vertical}.upload-box{border:1px dashed #d6e0eb;border-radius:12px;padding:25px;text-align:center;margin:18px 0;cursor:pointer}.upload-box b,.upload-box span{display:block}.upload-box span{color:#5e6b7b;font-size:11px;margin-top:6px}.evidence-preview{color:var(--lime);font-size:12px;margin-bottom:12px}.money-input{display:flex;align-items:center;background:#ffffff;border:1px solid #d6e0eb;border-radius:10px;margin:10px 0 20px;padding:12px;font-size:28px}.money-input input{border:0;background:transparent;color:#263445;outline:0;width:100%;font-size:28px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);opacity:0;background:var(--soft);color:#111;padding:12px 18px;border-radius:999px;z-index:200;font-weight:700;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1150px){.market-layout{grid-template-columns:1fr}.floor{border-left:0;border-top:1px solid var(--line)}.product-grid.four{grid-template-columns:repeat(3,1fr)}.studio-body{grid-template-columns:170px 1fr 36px 1fr 170px}.profile-hero{grid-template-columns:auto 1fr}.profile-stats{grid-column:1/-1}.profile-hero>button{position:absolute;right:30px}}
@media(max-width:800px){.rail{inset:auto 0 0;width:auto;height:68px;flex-direction:row;padding:6px 10px;border-right:0;border-top:1px solid var(--line)}.logo,.rail .avatar{display:none}.rail nav{flex-direction:row;margin:0;justify-content:space-around}.rail nav button{width:64px;padding:7px}.rail nav button.active:after{left:15px;right:15px;bottom:-6px;top:auto;width:auto;height:3px}.topbar{left:0;height:68px;padding:0 16px}.topbar #viewKicker,.top-actions .quiet,.top-actions .icon-btn{display:none}.top-actions .acid{padding:9px 11px}.view{margin-left:0;padding-top:68px;padding-bottom:68px}.market-main{padding:16px 16px 60px}.feature{height:460px}.feature-copy{left:24px;top:35px}.feature-stat{display:none}.product-grid,.product-grid.four{grid-template-columns:repeat(2,1fr)}.market-layout .floor{padding:25px 16px}.page-wrap{padding:26px 16px 70px}.filter-panel{grid-template-columns:1fr 1fr}.member-grid{grid-template-columns:1fr 1fr}.messages-shell{grid-template-columns:1fr}.threads{display:none}.dossier{grid-template-columns:1fr;height:94vh;overflow:auto;display:block}.dossier-media{height:480px;border-right:0}.image-stage{height:390px}.dossier-info{padding:35px 24px 100px}.dossier-actions{position:sticky;bottom:0}.studio{height:96vh;overflow:auto;display:block}.studio>header{height:72px}.studio-body{display:grid;grid-template-columns:1fr 1fr}.side-total{grid-column:1/-1}.collection-panel{max-height:none}.swap-symbol{display:none}.studio>footer{position:sticky;bottom:0;background:#ffffff}.settings-grid{grid-template-columns:1fr}.settings-grid>nav{flex-direction:row;overflow:auto}.profile-hero{padding:35px 20px}.profile-stats{overflow:auto}.profile-stats div{padding:0 14px}}
@media(max-width:520px){.feature h1{font-size:52px}.feature p{font-size:14px}.product-grid,.product-grid.four{grid-template-columns:1fr}.product-image{height:360px}.section-row{align-items:start}.section-row .quiet{display:none}.filter-panel{grid-template-columns:1fr}.member-grid{grid-template-columns:1fr}.trade-row{grid-template-columns:1fr}.messages-shell{height:calc(100vh - 136px)}.bubble{max-width:86%}.profile-hero{display:block}.profile-avatar{width:70px;height:70px}.profile-hero h1{font-size:40px}.profile-stats{margin:28px 0}.studio-body{grid-template-columns:1fr}.mini-grid{grid-template-columns:1fr 1fr}.review-sides{grid-template-columns:1fr}.dossier-info h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.feature>img{object-position:center 66%}.product-image img.real-piece{transform:none;object-fit:cover}.seller-link{display:block;margin-top:13px;padding:0;border:0;background:transparent;color:#263445;font:10px var(--mono);text-align:left}.seller-link:hover{color:var(--lime)}
.activity{cursor:pointer}.activity-piece-photo{height:128px;border-radius:9px;overflow:hidden;margin-bottom:12px;background:#ffffff}.activity-piece-photo img{width:100%;height:100%;object-fit:cover}
.member-strip{display:grid;grid-template-columns:repeat(3,1fr);height:150px;gap:5px;margin:18px 0;overflow:hidden;border-radius:10px}.member-strip img{width:100%;height:100%;object-fit:cover}.member-card>.quiet{width:100%}
.image-stage img.real-item{transform:none;object-fit:contain;background:rgba(13,15,18,.2)}.source-link{display:block;margin-top:12px;padding:11px 13px;border:1px solid rgba(0,0,0,.22);border-radius:9px;color:#181719;text-decoration:none;font-weight:700;text-align:center}.source-link:hover{background:rgba(255,255,255,.22)}
.mini-card img{transform:none}.mini-card img.crop{transform:scale(1.75)}.trade-photo{width:62px;height:78px;object-fit:cover;border-radius:6px;background:#ffffff}.trade-photo.crop{object-position:16% 48%;transform:none}
.member-profile{position:relative;width:min(1260px,96vw);max-height:92vh;overflow:auto;background:#ffffff;border:1px solid #d6e0eb;border-radius:22px;padding:42px}.member-profile-head{display:grid;grid-template-columns:auto 1fr auto;gap:25px;align-items:center;padding:20px 5px 34px}.member-profile-head h2{font-size:48px;letter-spacing:-.055em;margin:6px 0 10px}.member-profile-head p{max-width:650px;color:#5e6b7b;line-height:1.6;margin:0}.member-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.member-meta span{font:10px var(--mono);border:1px solid #d6e0eb;border-radius:999px;padding:7px 9px;color:#263445}.profile-links{display:flex;flex-direction:column;gap:9px;min-width:190px}.profile-links a{color:#263445;text-decoration:none;border:1px solid #d6e0eb;border-radius:9px;padding:11px 13px;text-align:center;font-weight:700}.member-preferences{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:25px}.member-preferences>div{padding:18px;border-right:1px solid var(--line)}.member-preferences>div:last-child{border:0}.member-preferences b{display:block;margin-top:7px;font-size:13px}.member-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.member-profile-grid .product-image{height:340px}
@media(max-width:800px){.member-profile{padding:25px 18px}.member-profile-head{grid-template-columns:auto 1fr}.profile-links{grid-column:1/-1;flex-direction:row}.profile-links>*{flex:1}.member-preferences{grid-template-columns:1fr}.member-preferences>div{border-right:0;border-bottom:1px solid var(--line)}.member-profile-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.member-profile-head{display:block}.member-profile-head .profile-avatar{margin-bottom:18px}.member-profile-head h2{font-size:34px;overflow-wrap:anywhere}.profile-links{display:grid}.member-profile-grid{grid-template-columns:1fr}.member-strip{height:210px}}

/* Marketplace taxonomy and listing intake */
.marketplace-page{max-width:1540px}.style-discovery{display:grid;grid-template-columns:210px 1fr;gap:22px;align-items:center;margin:24px 0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.style-discovery h2{margin:4px 0 0;font-size:26px}.style-chips{display:flex;gap:8px;overflow:auto;padding-bottom:3px}.style-chips button{flex:none;border:1px solid #d6e0eb;background:#ffffff;color:#263445;border-radius:999px;padding:10px 14px;font-weight:700}.style-chips button:hover,.style-chips button.active{background:var(--soft);border-color:var(--soft);color:#121416}.marketplace-browser{display:grid;grid-template-columns:250px 1fr;gap:30px;align-items:start}.browse-filters{position:sticky;top:98px;border:1px solid var(--line);border-radius:16px;background:#ffffff;padding:18px}.filter-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:15px}.filter-title b,.filter-title span{display:block}.filter-title button{border:0;background:transparent;color:var(--lime);font-size:11px}.active-filters{display:flex;flex-wrap:wrap;gap:5px}.active-filters:empty{display:none}.active-filters button{border:0;background:#f0f5fa;color:#263445;border-radius:999px;padding:5px 7px;font-size:10px}.filter-block{display:block;border-bottom:1px solid #d6e0eb;padding:14px 0;color:#5e6b7b;font-size:11px;font-weight:700}.filter-block>span{display:block;margin-bottom:8px}.filter-block select,.filter-block input{display:block;width:100%;margin-top:7px;border:1px solid #d6e0eb;background:#ffffff;color:#263445;border-radius:8px;padding:10px;min-height:40px}.segmented{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.segmented button{border:1px solid #d6e0eb;background:#ffffff;color:#5e6b7b;font-size:9px;padding:7px 2px;border-radius:6px}.segmented button.active{background:var(--lime);border-color:var(--lime);color:#111}.price-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.filter-check{display:flex;gap:8px;align-items:center;padding-top:14px;color:#263445;font-size:12px}.filter-check input{accent-color:var(--lime)}.marketplace-results{min-width:0}.marketplace-results .results-head{margin-top:0}.results-head p{margin:6px 0 0;color:#5e6b7b;font-size:12px}.sort-control{display:flex;align-items:center;gap:8px;color:#5e6b7b;font-size:11px}.sort-control select{border:1px solid #d6e0eb;background:#ffffff;color:#263445;border-radius:8px;padding:10px}.product-grid.three{grid-template-columns:repeat(3,1fr)}.no-results{text-align:center;border:1px dashed #d6e0eb;border-radius:15px;padding:65px 20px}.no-results b,.no-results span{display:block}.no-results b{font-size:24px}.no-results span{color:#5e6b7b;margin:9px 0 18px}
.listing-intake{position:relative;width:min(1120px,96vw);height:min(860px,94vh);background:#ffffff;border:1px solid #d6e0eb;border-radius:22px;overflow:hidden;display:grid;grid-template-rows:auto auto 1fr}.listing-intake>header{display:flex;justify-content:space-between;align-items:center;padding:24px 30px 18px;border-bottom:1px solid var(--line)}.listing-intake>header h2{font-size:34px;margin:2px 0}.listing-intake>header p{color:#5e6b7b;margin:0}.listing-intake>header .close{position:static}.listing-progress{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--line)}.listing-progress button{border:0;border-right:1px solid var(--line);background:#ffffff;color:#5e6b7b;padding:13px;font:10px var(--mono);text-align:left}.listing-progress button:last-child{border-right:0}.listing-progress button.active{color:#263445;box-shadow:inset 0 -3px var(--lime)}.listing-progress button.done{color:var(--lime)}#listingForm{min-height:0;display:grid;grid-template-rows:1fr 72px}.listing-step{overflow:auto;padding:28px 32px}.listing-step h3{font-size:29px;letter-spacing:-.04em;margin:0 0 6px}.listing-step>.step-intro{color:#5e6b7b;margin:0 0 24px}.listing-step-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.listing-step label{display:block;color:#263445;font-size:11px;font-weight:700}.listing-step label.full,.listing-section.full{grid-column:1/-1}.listing-step input,.listing-step select,.listing-step textarea{width:100%;margin-top:7px;border:1px solid #d6e0eb;background:#ffffff;color:#263445;border-radius:9px;padding:12px}.listing-step textarea{min-height:130px;resize:vertical;line-height:1.5}.field-help{display:block;color:#5e6b7b;font-size:10px;line-height:1.4;margin-top:6px;font-weight:400}.photo-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.photo-slot{min-height:145px;border:1px dashed #d6e0eb;border-radius:12px;background:#ffffff;color:#5e6b7b;display:grid;place-items:center;text-align:center;padding:16px}.photo-slot.added{border-style:solid;border-color:var(--lime);color:var(--lime);background:#ffffff}.photo-slot b,.photo-slot span{display:block}.photo-slot span{font-size:10px;margin-top:5px}.listing-section{background:#ffffff;border:1px solid #d6e0eb;border-radius:13px;padding:17px}.listing-section h4{margin:0 0 14px}.choice-grid{display:flex;flex-wrap:wrap;gap:7px}.choice-grid button{border:1px solid #d6e0eb;background:#ffffff;color:#263445;border-radius:999px;padding:8px 10px}.choice-grid button.selected{background:var(--soft);border-color:var(--soft);color:#111}.measure-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.trade-toggles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle-card{display:flex!important;align-items:center;gap:10px;border:1px solid #d6e0eb;border-radius:10px;padding:14px}.toggle-card input{width:auto;margin:0;accent-color:var(--lime)}.review-listing{display:grid;grid-template-columns:260px 1fr;gap:24px}.review-photo{min-height:300px;border-radius:13px;background:linear-gradient(135deg,#f0f5fa,#ffffff);display:grid;place-items:center;color:#5e6b7b}.review-data{display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-data div{background:#ffffff;border-radius:9px;padding:12px}.review-data span,.review-data b{display:block}.review-data span{font:9px var(--mono);color:#5e6b7b;margin-bottom:5px}#listingForm>footer{border-top:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:12px 24px;background:#ffffff}#listingForm>footer span{flex:1;text-align:center;color:#5e6b7b;font-size:10px}#listingBack.hidden{visibility:hidden}#listingNext{min-width:180px}
@media(max-width:1050px){.marketplace-browser{grid-template-columns:220px 1fr}.product-grid.three{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.style-discovery{grid-template-columns:1fr}.marketplace-browser{display:block}.browse-filters{position:static;margin-bottom:20px}.product-grid.three{grid-template-columns:repeat(2,1fr)}.listing-intake{height:96vh}.listing-progress button{font-size:0;text-align:center}.listing-progress button:before{content:attr(data-index);font:11px var(--mono)}.listing-step-grid{grid-template-columns:1fr}.listing-step label.full,.listing-section.full{grid-column:auto}.photo-slots{grid-template-columns:1fr 1fr}.review-listing{grid-template-columns:1fr}.review-photo{min-height:180px}}
@media(max-width:520px){.product-grid.three{grid-template-columns:1fr}.listing-step{padding:22px 16px}.photo-slots,.measure-grid,.trade-toggles,.review-data{grid-template-columns:1fr}#listingForm>footer span{display:none}#listingBack,#listingNext{flex:1;min-width:0}}

/* Item detail and profile interaction fixes */
.dossier{height:min(760px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);grid-template-rows:minmax(0,1fr) 76px}
.dossier-media,.dossier-info{min-height:0}
.dossier-info{padding:46px 48px 32px}
.dossier-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-right:54px}
.dossier-topline .save-detail{position:static;flex:0 0 auto;white-space:nowrap}
.dossier-actions{position:relative;z-index:4;min-height:76px;align-items:stretch}
.dossier-actions button{min-height:52px}
.dossier-actions.hidden-actions{display:none}
.profile-preferences{max-width:900px;margin:0 auto;border:1px solid var(--line);border-radius:18px;background:#ffffff;padding:34px}
.profile-preferences h2{font-size:36px;margin:6px 0 24px}
.preference-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}
.preference-summary>div{border:1px solid var(--line);border-radius:12px;background:#ffffff;padding:18px}
.preference-summary span,.preference-summary b{display:block}.preference-summary span{font:10px var(--mono);color:#5e6b7b;margin-bottom:8px}.preference-summary b{font-size:13px;line-height:1.55}
.saved-empty{min-height:320px;border:1px dashed #d6e0eb;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}
.saved-empty b{font-size:26px}.saved-empty span{color:#5e6b7b;margin:8px 0 20px}.saved-empty button{padding:12px 20px}
.seller-link.owned{color:#5e6b7b}
@media(max-width:800px){.dossier{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(240px,36vh) minmax(0,1fr) 72px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);overflow:hidden}.dossier-media{height:auto;padding:24px;border-right:0;border-bottom:1px solid rgba(0,0,0,.12)}.image-stage{height:100%;width:min(82%,420px)}.dossier-info{overflow:auto;padding:28px 22px}.dossier-actions{position:relative;bottom:auto}.preference-summary{grid-template-columns:1fr}}
@media(max-width:520px){.overlay{padding:6px}.dossier{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:16px;grid-template-rows:minmax(210px,32vh) minmax(0,1fr) 68px}.dossier-media{padding:16px}.dossier-info{padding:24px 16px}.dossier-topline{align-items:flex-start;padding-right:40px}.dossier-topline .micro{max-width:58%}.dossier-actions{min-height:68px;padding:8px}.dossier-actions button{font-size:14px;min-height:50px}.profile-preferences{padding:24px 18px}.profile-preferences h2{font-size:30px}}

/* Listing intake and complete item details */
.photo-intake{display:grid;grid-template-columns:1.35fr .85fr;gap:14px;margin-bottom:16px}.photo-drop{min-height:190px;border:1px dashed #d6e0eb;border-radius:14px;background:#ffffff;color:#263445;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:26px;transition:.18s}.photo-drop:hover,.photo-drop.dragging{border-color:var(--lime);background:#ffffff}.photo-drop b{font-size:18px}.photo-drop span{color:#263445;font-size:13px}.photo-drop small{color:#5e6b7b}.photo-intake aside{border:1px solid #d6e0eb;border-radius:14px;background:#ffffff;padding:20px;display:flex;flex-direction:column;gap:9px}.photo-intake aside b{margin-bottom:3px}.photo-intake aside span{color:#263445;font-size:13px}.photo-intake aside span:before{content:"✓";color:var(--lime);margin-right:8px}.photo-slot{position:relative;overflow:hidden}.photo-slot.added{display:block;padding:0;min-height:180px;background:#ffffff;color:#263445}.photo-slot.added img,.review-photo img{display:block;width:100%;height:100%;object-fit:cover;transform:none}.photo-file{height:180px;display:grid;place-items:center;background:linear-gradient(135deg,#f0f5fa,#ffffff);color:#5e6b7b;font:700 12px var(--mono)}.photo-slot .photo-label{position:absolute;left:9px;bottom:27px;background:rgba(8,10,12,.82);border-radius:6px;padding:5px 7px;margin:0;color:#263445;font:700 10px var(--mono)}.photo-slot.added small{position:absolute;left:9px;right:38px;bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#263445;font-size:9px}.photo-slot [data-remove-photo]{position:absolute;right:8px;top:8px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(8,10,12,.84);color:#263445;font-size:20px;line-height:1}.choice-grid.spaced{margin-top:17px}#titleCount{font-style:normal}.review-photo{overflow:hidden}.item-detail-section{margin-top:19px;padding-top:17px;border-top:1px solid rgba(0,0,0,.13)}.item-detail-section>p{margin:9px 0 0;line-height:1.55;color:#474348}.item-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.item-facts>div,.measurement-list>div{background:rgba(255,255,255,.23);border-radius:9px;padding:10px}.item-facts span,.item-facts b,.measurement-list span,.measurement-list b{display:block}.item-facts span,.measurement-list span{font:9px var(--mono);text-transform:uppercase;opacity:.68;margin-bottom:4px}.measurement-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px}.hidden-actions{display:none!important}
.photo-group{margin-top:24px}.photo-group-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:10px}.photo-group-head h4{margin:0 0 4px;font-size:16px}.photo-group-head p{margin:0;color:#5e6b7b;font-size:13px}.photo-group-head>span{flex:none;color:#263445;font:11px var(--mono)}
.trade-status small{display:block;color:#5e6b7b;font-size:11px;margin-top:8px}.offer-card-sides{display:grid;grid-template-columns:1fr auto 1fr}.offer-card-sides>div>span{display:block;color:#5e6b7b;font:9px var(--mono);margin-bottom:8px}.offer-card-sides>i{align-self:center;font-style:normal;background:#f0f5fa;width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.offer-photo-strip{display:flex;align-items:center;gap:7px;min-height:70px}.offer-photo-strip img{width:52px;height:70px;object-fit:cover;border-radius:6px;background:#ffffff}.offer-cash-chip{display:grid!important;place-items:center;min-width:70px;height:42px;border:1px solid #d6e0eb;border-radius:8px;background:#ffffff;color:var(--lime)!important;font:700 11px var(--mono)!important;margin:0!important}.trade-detail:has(.offer-sides){width:min(920px,96vw)}.offer-detail-head{display:flex;align-items:start;justify-content:space-between;gap:20px;padding-right:74px}.offer-detail-head h2{margin-bottom:5px}.offer-sides{display:grid;grid-template-columns:1fr 46px 1fr;gap:10px;margin:24px 0}.offer-exchange{display:grid;place-items:center;font-size:24px}.offer-side{background:#ffffff;border:1px solid #d6e0eb;border-radius:13px;padding:14px}.offer-side-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #d6e0eb}.offer-side-head span{font:10px var(--mono);color:#5e6b7b}.offer-side-head b{font-size:19px}.offer-piece{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #d6e0eb}.offer-piece:last-child{border-bottom:0}.offer-piece img{width:48px;height:62px;object-fit:cover;border-radius:6px}.offer-piece>div b,.offer-piece>div span{display:block}.offer-piece>div b{font-size:13px}.offer-piece>div span{color:#5e6b7b;font-size:10px;margin-top:4px}.offer-piece>strong{font-size:12px}.offer-piece.cash i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f0f5fa;color:var(--lime);font-style:normal;font-weight:800}.offer-note{border-left:3px solid var(--lime);background:#ffffff;padding:14px 16px;margin:16px 0}.offer-note span{font:9px var(--mono);color:#5e6b7b}.offer-note p{margin:7px 0 0;line-height:1.5}.offer-actions{display:flex;justify-content:flex-end;gap:9px;margin:20px 0 30px}.offer-actions .danger-btn,.offer-actions .acid,.offer-actions .quiet{width:auto;min-width:130px}.offer-history{border-top:1px solid #d6e0eb;padding-top:24px}.offer-history-head{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:14px}.offer-history-head h3{font-size:24px;margin:4px 0 0}.offer-history-head p{max-width:340px;color:#5e6b7b;font-size:12px;line-height:1.45;margin:0}.revision-card{border:1px solid #d6e0eb;border-radius:12px;padding:15px;margin-top:10px;background:#ffffff}.revision-card.current{border-color:#d6e0eb}.revision-card header{display:flex;justify-content:space-between}.revision-card header span,.revision-card header b{display:block}.revision-card header span{font:9px var(--mono);color:#5e6b7b}.revision-card header b{font-size:13px;margin-top:3px}.revision-card time{color:#5e6b7b;font:10px var(--mono)}.revision-sides{display:grid;grid-template-columns:1fr 30px 1fr;align-items:center;margin-top:13px}.revision-sides>div{background:#ffffff;border-radius:8px;padding:10px}.revision-sides span,.revision-sides b{display:block}.revision-sides span{font:9px var(--mono);color:#5e6b7b}.revision-sides b{font-size:12px;margin-top:4px}.revision-sides i{text-align:center;font-style:normal}.revision-card>p{color:#263445;font-size:12px;line-height:1.5;margin:12px 0 0}.offer-event{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;background:#ffffff;border-radius:9px;padding:10px 12px;margin:9px 0}.offer-event i{font-style:normal;color:var(--lime)}.offer-event b{font-size:12px}.offer-event span{color:#5e6b7b;font-size:10px}.review-side small{display:block;color:#5e6b7b;font-size:10px;line-height:1.45;margin-top:7px}
.active-trade{margin:26px 0 8px;border:1px solid #d6e0eb;border-radius:15px;background:#ffffff;overflow:hidden}.active-summary{display:flex;justify-content:space-between;gap:24px;padding:22px 22px 18px}.active-summary h3{font-size:26px;margin:5px 0}.active-summary p{color:#5e6b7b;line-height:1.5;margin:0;max-width:560px}.active-progress{flex:none;text-align:right}.active-progress strong,.active-progress span{display:block}.active-progress strong{font-size:30px}.active-progress span{color:#5e6b7b;font-size:11px}.progress-track{height:4px;background:#f0f5fa}.progress-track i{display:block;height:100%;background:var(--lime)}.shipment-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 22px 8px}.shipment-cards article{border:1px solid #d6e0eb;border-radius:11px;padding:14px;background:#ffffff}.shipment-cards span,.shipment-cards b,.shipment-cards small{display:block}.shipment-cards span{font:9px var(--mono);color:#5e6b7b}.shipment-cards b{font-size:15px;margin:7px 0 4px}.shipment-cards small{color:#5e6b7b;font-size:11px}.shipment-cards button{border:0;background:transparent;color:var(--lime);padding:10px 0 0;font-weight:700}.active-steps{padding:10px 22px 20px}.active-step{position:relative;display:grid;grid-template-columns:34px 1fr auto;gap:12px;padding:14px 0}.active-step:not(:last-child):before{content:"";position:absolute;left:16px;top:48px;bottom:-8px;width:1px;background:#f0f5fa}.active-step>i{width:34px;height:34px;border-radius:50%;background:#f0f5fa;color:#5e6b7b;display:grid;place-items:center;font-style:normal;font-weight:800;z-index:1}.active-step.done>i{background:var(--lime);color:#111}.active-step.current>i{background:var(--coral);color:#111;box-shadow:0 0 0 5px rgba(255,156,122,.1)}.active-step b,.active-step p,.active-step span{display:block}.active-step b{font-size:15px}.active-step p{color:#5e6b7b;font-size:12px;line-height:1.45;margin:4px 0}.active-step span{color:#263445;font-size:11px}.active-step time{color:#5e6b7b;font:10px var(--mono);text-align:right;white-space:nowrap}
@media(max-width:800px){.offer-card-sides{grid-template-columns:1fr}.offer-card-sides>i{display:none}.offer-sides{grid-template-columns:1fr}.offer-exchange{height:34px}.offer-history-head{display:block}.offer-history-head p{margin-top:8px}.offer-actions{flex-wrap:wrap}.offer-actions button{flex:1}.offer-row{grid-template-columns:1fr}.offer-photo-strip{overflow:auto}.shipment-cards{grid-template-columns:1fr}.active-summary{display:block}.active-progress{text-align:left;margin-top:14px}.active-step{grid-template-columns:34px 1fr}.active-step time{grid-column:2;text-align:left}}
@media(max-width:800px){.photo-intake{grid-template-columns:1fr}.photo-intake aside{display:grid;grid-template-columns:1fr 1fr}.photo-intake aside b{grid-column:1/-1}.item-facts,.measurement-list{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.photo-intake aside,.item-facts,.measurement-list{grid-template-columns:1fr}.photo-slot.added{min-height:220px}}
.preference-editor{display:grid;gap:16px;margin-top:24px}.preference-editor>div{border:1px solid #d6e0eb;border-radius:13px;background:#ffffff;padding:18px}.preference-editor h3{margin:0;font-size:18px}.preference-editor h4{margin:18px 0 7px;color:#5e6b7b;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.preference-editor p,.preference-intro{color:#5e6b7b;line-height:1.5}.preference-editor p{font-size:13px;margin:5px 0 13px}.preference-options{display:flex;flex-wrap:wrap;gap:7px}.preference-options button{border:1px solid #d6e0eb;background:transparent;color:#263445;padding:8px 11px;border-radius:999px}.preference-options button.selected{background:var(--soft);border-color:var(--soft);color:#111}.preference-summary{grid-template-columns:repeat(2,1fr)}
@media(max-width:700px){.preference-summary{grid-template-columns:1fr}}
@media(max-width:900px){.review-layout{grid-template-columns:1fr}.review-panel{width:min(760px,96vw)}}
@media(max-width:620px){.review-panel{padding:28px 18px}.fee-box>div{gap:12px}.protection-box{grid-template-columns:1fr}.protection-icon{width:38px;height:38px}}
.preference-editor [data-more-designers]{display:block;margin:22px 0 12px}.preference-editor [data-more-designers]+small{display:block;color:#263445}
#openStudio[hidden],.trade-target[hidden],#saveOfferDraft[hidden]{display:none}.studio>footer{gap:12px;flex-wrap:wrap}.studio>footer>div{margin-right:auto}.draft-actions{display:flex;gap:12px;flex-wrap:wrap}.trade-tabs{overflow-x:auto}.trade-picker label{display:grid;gap:8px;margin:20px 0}.trade-picker input{padding:14px;border:1px solid #d6e0eb;border-radius:10px;background:#ffffff;color:inherit;font:inherit}.trade-target:focus-visible{outline:3px solid var(--acid)}.reference-note{line-height:1.5}.studio>header h2{overflow-wrap:anywhere;padding-right:52px}@media(max-width:600px){.studio>footer>div{width:100%}.studio>footer>button{flex:1}.draft-actions{margin-top:16px}}
.case-panel{width:min(820px,94vw);max-height:90dvh;overflow:auto;padding:36px;position:relative}.case-panel h2{padding-right:55px;font-size:32px;line-height:1.2}.case-panel p{line-height:1.6}.case-panel label{display:grid;gap:8px;margin:18px 0}.case-panel input,.case-panel textarea,.case-panel select,.case-protection input,.case-protection textarea,.case-protection select{box-sizing:border-box;width:100%;padding:12px;background:#ffffff;color:#263445;border:1px solid #d6e0eb;border-radius:9px;font:inherit}.case-panel select option{background:#ffffff}.case-panel small{font-size:14px;line-height:1.5;color:#263445}.case-panel details,.case-protection{margin:24px 0;padding:20px;border:1px solid #d6e0eb;border-radius:12px}.case-panel summary,.case-protection summary{cursor:pointer;line-height:1.5}.case-panel article{border-bottom:1px solid #d6e0eb;padding:18px 0}.case-media{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.case-media img,.case-media video{width:150px;height:180px;object-fit:contain;background:#ffffff;border-radius:9px;max-width:100%}.case-media video{width:240px}.case-file-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}.case-file-list span{overflow-wrap:anywhere}.case-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.case-notice{padding:16px;border-left:3px solid var(--acid);background:#ffffff}.case-history{padding-left:22px}.case-history li{padding:10px 0}.case-history time{display:block;font-size:14px;color:#263445;margin-top:5px}.case-text{white-space:pre-wrap;overflow-wrap:anywhere}.case-list{margin-top:40px;padding-top:24px;border-top:1px solid #d6e0eb}.case-note{font-size:14px;color:#263445}.case-protection form{padding:18px 0}.case-protection label{display:grid;gap:8px;margin:12px 0}@media(max-width:600px){.case-panel{padding:24px 18px}.case-panel h2{font-size:26px}.case-panel details{padding:14px}.case-file-list>div{align-items:flex-start}.case-media img{width:120px;height:150px}}
.item-availability{padding:14px 18px;background:rgba(255,255,255,.35);border-radius:10px;line-height:1.5;color:#161a1e;margin:0 50px 22px 0}.product-image[role=button]{cursor:pointer}.product-image[role=button]:focus-visible{outline:3px solid var(--acid);outline-offset:3px}.dossier-actions button[hidden]{display:none}.dossier-actions:has(button[hidden]){grid-template-columns:1fr}.trade-picker{position:relative;width:min(1000px,94vw);max-height:88dvh;overflow:auto;border:1px solid #d6e0eb;border-radius:22px;background:#ffffff;padding:36px}.trade-picker h2{padding-right:50px}.trade-picker>p{color:#263445;line-height:1.5}.trade-target{display:grid;text-align:left;gap:10px;width:100%;background:transparent;color:inherit;padding:12px;border:0;cursor:pointer}.trade-target img{height:220px;object-fit:contain;width:100%}.trade-target span{font-size:14px;color:#263445}.trade-target small{color:var(--acid);font-size:14px}.protection-overview{margin-top:0}.protection-trade{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid #d6e0eb}.protection-trade small{display:block;color:#263445;margin-top:8px}.protection-trade button{flex-shrink:0}@media(max-width:650px){.trade-picker{padding:24px 18px}.protection-trade{align-items:stretch;flex-direction:column}.trade-picker .product-grid{grid-template-columns:1fr 1fr}.trade-target img{height:160px}}

.relay-profile-form label,#shippingAddressForm label{display:block;margin:20px 0 12px;font-weight:700;font-size:14px}
.relay-profile-form input,.relay-profile-form textarea,#shippingAddressForm input,#shippingAddressForm select{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:13px;border:1px solid #d6e0eb;border-radius:9px;background:#ffffff;color:#263445;font:inherit}
.relay-profile-form textarea{resize:vertical;min-height:110px}
.profile-photo-preview{width:80px;height:80px;flex-shrink:0;border-radius:50%;background:#bedcfa;color:#101418;display:grid;place-items:center;font-size:24px;font-weight:800;overflow:hidden}
.profile-photo-editor{padding:18px 0;border-bottom:1px solid #d6e0eb;margin-bottom:20px}
.profile-photo-editor input{max-width:100%}
.listing-remove-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid #d6e0eb;border-radius:20px;background:#ffffff;color:#263445;box-shadow:0 24px 80px #0009}
.listing-remove-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
.listing-remove-dialog h2{margin:0 0 16px;font-size:26px;letter-spacing:-.03em}.listing-remove-dialog p{font-size:16px;line-height:1.55;color:#263445;overflow-wrap:anywhere}.listing-remove-dialog .listing-remove-name{color:#263445;font-weight:700}
.listing-remove-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}.listing-remove-actions button{min-height:44px;padding:12px 18px;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}.listing-remove-confirm{background:#ef887b;color:#201211;border:1px solid #ef887b}.listing-remove-actions button:focus-visible{outline:2px solid #b4d4f4;outline-offset:3px}
.import-closet-button{margin:0 0 24px}
#importListingOverlay section{max-height:90dvh;overflow:auto;padding-top:50px}
#importListingOverlay label{display:block;margin:18px 0}
#importListingOverlay input[type=url]{width:100%;padding:14px;background:#ffffff;color:white;border:1px solid #d6e0eb;border-radius:8px;font:inherit}
#importListingOverlay .import-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.5}
.import-consent input{width:20px;height:20px;flex-shrink:0}
.import-draft-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 0;border-top:1px solid #d6e0eb}.import-draft-row b{flex:1;min-width:150px;overflow-wrap:anywhere}.import-draft-row a{color:#315e86}
#grailedImportForm button{margin:5px 10px 5px 0}
#grailedImportForm textarea{display:block;box-sizing:border-box;width:100%;resize:vertical;min-height:180px;margin:10px 0;padding:14px;border:1px solid #d6e0eb;border-radius:8px;background:#ffffff;color:#263445;font:inherit;font-size:16px;line-height:1.55}
#grailedImportForm label{font-size:16px;font-weight:600}#grailedImportForm .field-help{display:block;font-size:14px;font-weight:400;line-height:1.5;margin-top:8px;color:#263445}
#grailedImportForm input[type=url]{box-sizing:border-box;margin-top:10px;font-size:16px;color:#263445}
#importListingOverlay h2{padding-right:38px}#importListingOverlay p{font-size:16px;line-height:1.55}#importListingOverlay h3{margin-top:30px}
.import-status{min-height:24px}.import-review{padding:4px 0 24px;margin-bottom:24px;border-bottom:1px solid #d6e0eb}.import-review-heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}.import-review-heading>div{flex:1;min-width:180px}.import-review h3{margin:0 0 8px}.import-review p{margin:0;font-size:16px;line-height:1.5}.import-review ul{padding-left:20px;line-height:1.6;font-size:14px}
.import-original{margin-top:16px}.import-original summary{font-size:14px;font-weight:700;cursor:pointer}.import-original pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.55;margin:12px 0}.import-original-link{display:inline-block;margin-top:12px;font-size:14px;color:#315e86}
.import-field-note{font-size:13px!important;line-height:1.5;color:#263445;margin-top:6px}.import-price{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px;font-size:14px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.import-price .quiet{font-size:14px;white-space:normal;text-align:left}.import-price .field-help{font-size:13px}.import-price [role=status]:empty{display:none}
@media(max-width:800px){#importGrailedButton{display:none}}
.relay-profile-form p,#shippingAddressForm p{font-size:14px;line-height:1.6;color:#263445}
.relay-profile-form small{display:block;font-weight:400;color:#263445;margin-top:4px}
.relay-profile-form button,#shippingAddressForm button{margin:8px 10px 8px 0}
#profileEditOverlay .cash-sheet{max-height:85dvh;overflow:auto;width:min(560px,94vw);padding:35px;position:relative}
#profileEditTitle{padding-right:48px}
.profile-hero p,.member-profile-head p{overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:650px){.settings-grid{grid-template-columns:1fr}.settings-grid>nav{flex-direction:row;flex-wrap:wrap}.settings-card{padding:20px}#profileEditOverlay .cash-sheet{padding:24px}}
.sample-closet{margin-top:40px;padding-top:28px;border-top:1px solid #d6e0eb}.sample-closet>p{color:#263445;line-height:1.6;margin-bottom:24px}.sample-closet .save{display:none}
.trade-members{color:#263445;line-height:1.6;overflow-wrap:anywhere}.trade-piece{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #d6e0eb}.trade-piece img,.trade-photo-empty{width:70px;height:90px;object-fit:contain;border-radius:8px;background:#ffffff;flex-shrink:0}.trade-photo-empty{display:grid;place-items:center;font-size:14px}.trade-piece>div{flex:1;min-width:0;overflow-wrap:anywhere}.trade-piece small{display:block;color:#263445;margin-top:6px;font-size:14px;line-height:1.5}.trade-piece>strong{white-space:nowrap}.trade-cash{display:flex;justify-content:space-between;gap:16px}.trade-note{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.trade-piece{flex-wrap:wrap}.trade-piece>strong{margin-left:auto}.trade-piece img{width:56px;height:74px}}
/* Messaging keeps the composer visible and the inbox accessible on small screens. */
.messages-shell{min-height:0;height:calc(100dvh - 78px)}
.threads{overflow:auto;min-width:0}.threads .section-row{flex-wrap:wrap;gap:8px}.threads h2{font-size:26px;margin:0;flex:1}.inbox-refresh{padding:8px 12px}
.thread-copy{flex:1}.thread span,.chat-user span{font-size:14px}.inbox-empty{font-size:16px;line-height:1.6;color:#263445}
.message-unread{background:#b4d4f4;color:#111;border-radius:999px;min-width:24px;height:24px;padding:2px 6px;text-align:center;font-size:14px}.thread .avatar{overflow:hidden}
.chat{min-height:0;overflow:hidden}.chat header{min-height:80px;height:auto;gap:12px;padding:14px 20px}.chat-user{min-width:0;flex:1}.chat-user b{overflow-wrap:anywhere}.chat-user .avatar{flex:none}
.chat-body{min-height:0;overscroll-behavior:contain}.bubble{flex-shrink:0;overflow-wrap:anywhere}.bubble time{font-size:12px;opacity:.75}.message-text{white-space:pre-wrap}.message-reference{display:block;font-size:14px;background:transparent;color:inherit;border:0;border-bottom:1px solid currentColor;padding:0 0 5px;margin-bottom:8px;text-align:left}
.chat #chatForm{flex-shrink:0;align-items:end;padding:14px 20px}.chat #chatForm[hidden]{display:none}.chat #chatInput{display:block;box-sizing:border-box;min-width:0;width:100%;flex:1;resize:vertical;max-height:180px;min-height:62px;padding:15px;border:1px solid #d6e0eb;border-radius:10px;background:#ffffff;color:#263445;font:inherit;line-height:1.5;cursor:text;pointer-events:auto}.chat #chatInput:focus{outline:2px solid #b4d4f4;outline-offset:2px}
#messageStatus{margin:0;padding:0 20px;font-size:14px;overflow-wrap:anywhere}#messageStatus:empty{display:none}#messageContext{display:flex;align-items:center;gap:10px;padding:6px 20px;font-size:14px}#messageContext:empty,#messageContext[hidden]{display:none}#messageContext button{padding:4px 10px}.inbox-back{display:none}.load-messages{align-self:center}.seller-box{flex-wrap:wrap}
@media(max-width:800px){.messages-shell{height:calc(100dvh - 136px)}.messages-shell .threads{display:block;border:0}.messages-shell .chat{display:none}.messages-shell.conversation-open .threads{display:none}.messages-shell.conversation-open .chat{display:flex}.inbox-back{display:block}.chat header{padding:12px;gap:8px}.chat header .quiet{padding:8px;font-size:14px}.chat-body{padding:16px}.chat #chatForm{padding:10px;gap:8px}.chat #chatForm button{padding:14px}.bubble{max-width:88%}}
/* Compact trade context remains separate from the scrolling message history. */
#chatOfferCard{flex:none;margin:12px 20px 0;padding:12px 14px;border:1px solid #d6e0eb;border-left:3px solid #b4d4f4;border-radius:12px;background:#ffffff;max-height:32dvh;overflow:auto}#chatOfferCard[hidden]{display:none}
.chat-offer-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:14px;color:#263445}.chat-offer-heading .status-pill{font-size:12px;margin:0;padding:4px 9px;flex:none}
.chat-offer-sides{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:12px;align-items:center}.chat-offer-side{min-width:0}.chat-offer-side>small{display:block;color:#263445;font-size:14px;margin-bottom:6px}.chat-offer-swap{color:#263445;text-align:center}
.chat-piece{display:flex;align-items:center;gap:10px;min-width:0;margin:6px 0}.chat-piece img,.chat-piece-placeholder{width:42px;height:52px;object-fit:contain;border-radius:5px;background:#ffffff;flex:none}.chat-piece-placeholder{display:grid;place-items:center}.chat-piece>span:not(.chat-piece-placeholder){min-width:0;flex:1}.chat-piece b{display:block;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-piece small{display:block;color:#263445;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-piece>strong{font-size:14px;white-space:nowrap}.chat-cash,.chat-extra{display:block;font-size:14px;color:#263445;margin-top:5px}
.chat-offer-link{display:block;margin:8px 0 0 auto;border:0;background:transparent;color:#315e86;font:inherit;font-size:14px;padding:3px 0;cursor:pointer}.chat-offer-link:focus-visible{outline:2px solid #b4d4f4;outline-offset:3px}.chat-context-error{margin:0;font-size:14px}
.chat-listing-details{position:relative;width:min(680px,94vw);max-height:90dvh;overflow:auto;padding:40px 24px 24px;background:#ffffff;border:1px solid #d6e0eb;border-radius:18px}.chat-listing-details h2{padding-right:40px}.chat-listing-details p{white-space:pre-wrap}.chat-listing-photos{display:flex;overflow:auto;gap:12px}.chat-listing-photos img{height:260px;max-width:90%;object-fit:contain;border-radius:8px}
#mainNav [data-view="messages"] i[hidden]{display:none}
@media(max-width:1050px){.chat-offer-sides{gap:8px}.chat-offer-side .chat-piece{flex-wrap:wrap}.chat-offer-side .chat-piece>strong{margin-left:52px}.chat-offer-side .chat-piece>span:not(.chat-piece-placeholder){flex-basis:calc(100% - 54px)}}
@media(max-width:800px){#chatOfferCard{margin:8px 10px 0;padding:10px;max-height:28dvh}.chat-piece b{font-size:14px}.chat-piece small{font-size:12px}.chat-offer-heading{flex-wrap:wrap}.chat-offer-sides{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:6px}}

/* Search refinements retain Relay's dark palette and lime selected states. */
#searchView .search-hero input{min-width:0;font-size:1rem}
#searchView .search-hero:focus-within{outline:2px solid var(--lime);outline-offset:3px}
#searchView .style-discovery{grid-template-columns:150px minmax(0,1fr)}
#searchView .style-discovery>.size-help{grid-column:2;margin:0}
#searchView .browse-filters{position:static;min-width:0}
#searchView .filter-block,#searchView .filter-check,#searchView .sort-control,#searchView .results-head p{font-size:.875rem;line-height:1.5}
#searchView .filter-title button,#searchView .active-filters button{font-size:.875rem;min-height:36px}
#searchView .filter-title button:disabled{opacity:.4;cursor:default}
#searchView .active-filters{gap:8px;margin-bottom:12px}
#searchView .active-filters:empty{margin:0}
#searchView .active-filters button{text-align:left;overflow-wrap:anywhere;padding:7px 10px}
#searchView .segmented{grid-template-columns:repeat(2,minmax(0,1fr))}
#searchView .segmented button{font-size:.875rem;min-height:36px;padding:6px}
#searchView .size-help{display:block;font-size:.8125rem;font-weight:400;line-height:1.5;color:#263445;margin-top:10px}
#searchView .text-action{border:0;background:none;color:var(--lime);font-size:.875rem;text-align:left;padding:12px 0;line-height:1.5}
#searchView .filter-error{color:#ffb59f;font-size:.875rem;line-height:1.5;margin:8px 0 0}
#searchView .filter-error:empty{display:none}
#searchView .multi-filter summary{cursor:pointer;color:#263445;line-height:1.5;padding:4px 0}
#searchView .multi-filter summary [data-selection-count]{display:block;color:#263445;font-weight:400;font-size:.8125rem;margin:4px 0 0 16px}
#searchView .multi-filter-body{margin-top:12px}
#searchView .multi-filter-body>small{display:block;font-weight:400;line-height:1.5;margin:10px 0}
#searchView .multi-filter-options{max-height:240px;overflow-y:auto;overscroll-behavior:contain}
#searchView .multi-filter-option{display:flex;align-items:start;gap:10px;min-height:42px;padding:10px 2px;color:#263445;font-weight:400;cursor:pointer;overflow-wrap:anywhere}
#searchView .multi-filter-option input{display:block;width:18px;height:18px;min-height:0;padding:0;margin:2px 0 0;flex:0 0 18px;accent-color:var(--lime)}
#searchView .multi-filter-option:focus-within{outline:2px solid var(--lime);outline-offset:-2px;border-radius:5px}
#searchView .multi-filter .text-action:disabled{opacity:.45;cursor:default}
#searchView [aria-invalid=true]{border-color:#ffb59f}
#searchView .results-head{align-items:start;gap:16px;flex-wrap:wrap}
#searchView .results-head h2{font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.15}
#searchView .results-head>div{flex:1 1 220px}
#searchView .results-head p{max-width:52ch;color:#263445}
#searchView .sort-control{flex:none;flex-wrap:wrap}
#searchView .search-status{padding:16px;border:1px solid var(--line);border-radius:10px;line-height:1.5;margin-bottom:16px}
#searchView .search-status:empty{display:none}
#searchView .product-copy .brandline{font-size:.8125rem;line-height:1.5;gap:8px;flex-wrap:wrap}
#searchView .product-copy h3{font-size:1rem}
#searchView .product-foot{gap:8px}
#searchView .product-foot small{font-size:.8125rem;line-height:1.4}
#searchView .product-image .condition{font-size:.8125rem}
#searchView .member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#searchView .member-card{min-width:0}
#searchView .member-top>div{min-width:0;overflow-wrap:anywhere}
#searchView .member-top .micro{font-size:.75rem;line-height:1.5;margin-top:6px}
#searchView .member-strip img{object-fit:cover}
#searchView .no-results button{margin:8px}
#moreSearchResults{display:block;margin:28px auto 0}
#moreSearchResults[hidden]{display:none}
#toggleSearchFilters{display:none}
@media(max-width:1100px){#searchView .product-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 #searchView .style-discovery{grid-template-columns:1fr;gap:12px}
 #searchView .style-discovery>.size-help{grid-column:1}
 #toggleSearchFilters{display:block;margin:0 0 18px;width:100%;min-height:44px}
 #searchView .browse-filters{display:none}
 #searchView .filters-open .browse-filters{display:block}
 #searchView .search-hero{padding:0 14px;gap:10px;height:64px}
 #searchView .search-hero kbd{display:none}
 #searchView .page-wrap{padding:24px 18px 80px}
 #searchView .results-head{gap:14px}
 #searchView .sort-control{width:100%}
 #searchView .sort-control select{flex:1}
}
@media(max-width:520px){#searchView .product-grid.three,#searchView .member-grid{grid-template-columns:minmax(0,1fr)}}

.for-you{padding-bottom:36px;margin-bottom:32px;border-bottom:1px solid var(--line,#d6e0eb)}
.for-you .section-row{margin-top:0;gap:16px;flex-wrap:wrap}
.for-you-note,.for-you-status{color:#263445;line-height:1.6;margin:12px 0 20px}
.for-you-result{min-width:0;display:flex;flex-direction:column}
.for-you-result .product-card{flex:1}
.match-reasons{font-size:13px;line-height:1.6;background:#ffffff;padding:14px;border-radius:0 0 12px 12px;margin:0;color:#263445;overflow-wrap:anywhere}
.match-reasons span{display:block;color:#5e6b7b;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}
.match-reasons p{margin:0;color:#263445}
.match-reasons button{border:0;background:transparent;color:#263445;font:inherit;font-size:12px;padding:8px 0 0;margin-top:8px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.match-reasons button:hover,.match-reasons button:focus-visible{color:#315e86}
.match-reasons button:disabled{opacity:.55;cursor:wait}
.for-you [data-more-matches]{margin-top:22px}
.for-you [hidden]{display:none!important}
@media(max-width:650px){.for-you .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.for-you .section-row h2{font-size:28px}.match-reasons{padding:10px;font-size:12px}}

/* A catalog-first home: no oversized hero or simulated activity feed. */
#marketView .market-layout{display:block}
#marketView .market-main{padding:28px 30px 80px;max-width:1800px;margin:auto;min-width:0}
#marketView .feature,#marketView .floor{display:none!important}
.market-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;flex-wrap:wrap}
.market-heading h1{font-size:32px;letter-spacing:-.04em;margin:0 0 6px}
.market-heading p{color:#263445;margin:0;font-size:14px}
.market-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.market-toolbar input,.market-toolbar select{background:#ffffff;border:1px solid #d6e0eb;border-radius:10px;padding:12px;color:#263445;font:inherit;min-width:0}
.market-toolbar input{flex:1;min-width:180px}.market-toolbar select{max-width:100%}
.market-mode{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}
.market-mode button{border:1px solid #d6e0eb;border-radius:999px;background:#ffffff;color:#263445;padding:10px 18px;font:inherit}
.market-mode button.active{background:var(--lime);color:#111;border-color:var(--lime)}
#marketView .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#marketView .product-image{height:auto;aspect-ratio:4/5;background:#ffffff}
#marketView .product-image img{object-fit:cover;object-position:center;transform:none!important;width:100%;height:100%}
#marketView .product-copy{padding:13px}#marketView .brandline{gap:8px;font-size:12px;flex-wrap:wrap}
#marketView .product-copy h3{font-size:15px;min-height:40px;margin:10px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#marketView .product-foot{gap:8px}#marketView .product-foot small{font-size:12px;line-height:1.4}
#marketView .seller-link{font-size:12px;overflow-wrap:anywhere}
#marketView .for-you{margin:0;padding:0;border:0;overflow-anchor:none}
#marketView .for-you .section-row{margin:0 0 12px;align-items:center}
#marketView .section-row .quiet{display:block}
#marketView [hidden]{display:none!important}
.market-count{color:#263445;font-size:14px;margin:14px 0 18px}.market-load-more{display:block;margin:24px auto}
.market-designers{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}
.market-designers button{background:#ffffff;border:1px solid #d6e0eb;color:#263445;border-radius:9px;padding:9px 12px}
.market-designers button.active{background:var(--lime);border-color:var(--lime);color:#111}
.reference-caption{font-size:14px;color:#263445;line-height:1.6}
@media(min-width:1600px){#marketView .product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){#marketView .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){#marketView .market-main{padding:20px 16px 85px}#marketView .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.market-heading h1{font-size:28px}}
@media(max-width:400px){#marketView .product-grid{gap:8px}#marketView .product-copy{padding:10px}#marketView .product-foot{flex-wrap:wrap}}

.notification-bell{display:flex;align-items:center;gap:6px}.notification-bell span{background:var(--coral);color:#111;border-radius:99px;min-width:20px;padding:2px 5px;font-size:12px}
.notification-dialog{color:var(--soft);background:#ffffff;border:1px solid #d6e0eb;border-radius:20px;padding:24px;width:min(620px,94vw);max-height:85dvh;overflow:auto}.notification-dialog::backdrop{background:#0009}.notification-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}.notification-dialog h2{margin:0}.notification-tools{display:flex;gap:10px;margin:20px 0}.notification-dialog small{display:block;color:#263445;margin-top:18px}
.notification-row{display:flex;align-items:center;gap:10px;border-top:1px solid #d6e0eb;padding:12px 0}.notification-row.unread{border-left:3px solid var(--lime);padding-left:10px}.notification-link{min-width:0;flex:1;background:none;color:inherit;border:0;text-align:left;padding:8px}.notification-link span,.notification-link time{display:block;color:#263445;margin-top:7px;overflow-wrap:anywhere}.notification-link time{font-size:12px}.notification-read{font-size:12px;padding:8px!important}
.next-actions{margin:20px 0 28px;border:1px solid #d6e0eb;border-radius:14px;padding:20px}.next-actions h2{font-size:20px;margin:0 0 14px}.next-actions p{color:#263445}.next-action{display:block;width:100%;text-align:left;background:none;border:0;border-top:1px solid #d6e0eb;color:inherit;padding:14px 0}.next-action span{display:block;margin-top:7px;color:#263445}.next-action span:last-child{color:var(--lime);font-size:13px}
@media(max-width:600px){.notification-dialog{padding:18px}.notification-row{align-items:flex-start}.notification-bell{padding:10px!important}}

#mainNav i[hidden],.notification-bell span[hidden]{display:none!important}
#openSearch{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px}
#mainNav [data-view="search"] span{display:flex;align-items:center;justify-content:center}
#tradesView .page-wrap{max-width:1240px;padding:28px 32px 70px}
#tradesView .next-actions{margin:0 0 26px;padding:20px 24px;background:#ffffff;border:1px solid #d6e0eb;border-left:3px solid var(--lime);border-radius:16px}
#tradesView .next-actions h2{font-size:16px;color:#263445;font-weight:600;letter-spacing:0;margin:0 0 10px}
#tradesView .next-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 20px;padding:12px 0;border-top:1px solid #d6e0eb}
#tradesView .next-action strong{font-size:17px}#tradesView .next-action span{font-size:14px;margin:0;line-height:1.5}
#tradesView .next-action span:nth-child(2){grid-column:1}#tradesView .next-action span:last-child{grid-column:2;grid-row:1/3;align-self:center}
#tradesView .trade-tabs{display:flex;gap:6px;padding:6px;background:#ffffff;border:1px solid #d6e0eb;border-radius:12px;margin:0 0 24px;overflow:auto}
#tradesView .trade-tabs button{padding:11px 16px;margin:0;border:0;border-radius:8px;font-size:14px;white-space:nowrap;color:#263445}
#tradesView .trade-tabs button.active{background:#f0f5fa;color:#263445;box-shadow:none;border-bottom:0}
#tradesView .trade-tabs button.active:after{display:none}
#tradesView .trade-row{display:flex;align-items:center;gap:22px;padding:22px;margin:14px 0;background:#ffffff;border:1px solid #d6e0eb;border-radius:16px}
#tradesView .trade-status{flex:0 0 190px;gap:8px}#tradesView .trade-status b{font-size:15px;line-height:1.5}#tradesView .trade-status>span:last-child{font-size:13px}
#tradesView .trade-row>.quiet{flex:0 0 auto;min-width:112px}
.trade-item-summary{flex:1;min-width:0;display:flex;align-items:center;gap:16px}.trade-item-summary>strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.trade-thumbnails{display:flex;gap:5px;flex-shrink:0}.trade-thumbnails:empty{display:none}.trade-thumbnails img{width:48px;height:64px;object-fit:contain;background:#e9e9e4;border-radius:7px}
#tradesView .compact-protection{margin:0 0 22px;padding:20px 24px;background:#ffffff;border:1px solid #d6e0eb;border-radius:16px}
#tradesView .compact-protection h2{font-size:19px;margin:0 0 8px;letter-spacing:-.02em}
#tradesView .compact-protection>p{font-size:14px;line-height:1.6;color:#263445;margin:6px 0 14px}
#tradesView .compact-protection .case-note{font-size:13px;margin:10px 0 0;color:#5e6b7b}
#tradesView .protection-trade{padding:14px 0;gap:16px}#tradesView .protection-trade b{font-size:15px}#tradesView .protection-trade small{font-size:13px}
#tradesView .protection-trade button{font-size:14px;padding:12px 16px}
@media(max-width:900px){#tradesView .trade-row{flex-wrap:wrap}.trade-item-summary{min-width:200px}.trade-thumbnails img{width:42px;height:56px}}
@media(max-width:600px){#tradesView .page-wrap{padding:20px 16px 85px}#tradesView .next-actions,#tradesView .compact-protection{padding:17px}#tradesView .next-action{display:block}#tradesView .next-action span{display:block;margin-top:6px}#tradesView .trade-row{padding:17px;gap:16px}#tradesView .trade-status{flex-basis:100%}.trade-item-summary{flex-basis:100%}#tradesView .trade-row>.quiet{width:100%}#tradesView .trade-tabs button{padding:10px 12px}}

/* Pair each name with its photo, with the exchange mark between the two sides. */
#tradesView .trade-item-summary{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);gap:12px;min-width:0}
.trade-summary-side{min-width:0;display:grid;gap:8px}
.trade-summary-piece{display:flex;align-items:center;gap:10px;min-width:0}
.trade-summary-piece strong{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.trade-summary-piece img,.trade-summary-no-photo{width:48px;height:64px;flex:0 0 48px;object-fit:contain;background:#e9e9e4;border-radius:7px}
.trade-summary-no-photo{display:grid;place-items:center;background:#f0f5fa;color:#263445}
.trade-summary-side.receive .trade-summary-piece{justify-content:flex-end;text-align:right}
.trade-summary-emblem{color:var(--lime);display:flex}.trade-summary-emblem svg{width:26px;height:26px}
.trade-summary-cash{font-size:14px;color:#263445}.trade-summary-side.receive .trade-summary-cash{text-align:right}
.trade-listing{border-bottom:1px solid var(--line)}
.trade-listing>summary{display:grid;grid-template-columns:70px minmax(0,1fr) auto;cursor:pointer;list-style:none;border-radius:8px;padding:12px 0;border-bottom:0}
.trade-listing>summary::-webkit-details-marker{display:none}
.trade-listing>summary:hover{background:#ffffff}
.trade-listing>summary:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.trade-expand-label{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;color:var(--lime);font-size:14px}
.trade-listing .when-open,.trade-listing[open] .when-closed{display:none}
.trade-listing[open] .when-open{display:inline}
.trade-listing[open] .trade-expand-label>span:last-child{transform:rotate(180deg)}
.trade-listing-expanded{padding:12px 0 20px;min-width:0}
.trade-listing-expanded .trade-snapshot-note{font-size:13px;color:#263445}
.trade-listing-expanded dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.trade-listing-expanded dt{font-size:13px;color:#263445}
.trade-listing-expanded dd{margin:4px 0 0;font-size:14px;overflow-wrap:anywhere}
.trade-listing-expanded h4{font-size:15px;margin:20px 0 8px}
.trade-listing-copy{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}
.trade-listing-gallery{display:grid;gap:14px;margin-top:18px}
.trade-listing-gallery figure{margin:0;min-width:0}
.trade-listing-gallery img{display:block;width:100%;max-height:540px;object-fit:contain;background:#ffffff;border-radius:8px}
.trade-listing-gallery figcaption{font-size:13px;color:#263445;margin-top:6px}
@media(max-width:600px){.trade-listing>summary{grid-template-columns:56px minmax(0,1fr);gap:10px}.trade-listing>summary>strong{grid-column:2;margin-left:0}.trade-listing>summary>.trade-expand-label{grid-column:1/-1}}
@media(max-width:600px){#tradesView .trade-item-summary{gap:8px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}.trade-summary-emblem svg{width:20px;height:20px}.trade-summary-piece{gap:6px}.trade-summary-piece img,.trade-summary-no-photo{width:36px;height:48px;flex-basis:36px}.trade-summary-piece strong{font-size:13px}}

/* Keep the exchange compact instead of stretching the two items to opposite edges. */
#tradesView .trade-item-summary{flex:0 1 auto;width:fit-content;max-width:100%;margin-inline:auto;grid-template-columns:minmax(0,auto) 26px minmax(0,auto);gap:14px}
.trade-summary-piece strong{max-width:180px}
.trade-summary-piece img,.trade-summary-no-photo{width:60px;height:80px;flex-basis:60px}
@media(max-width:600px){#tradesView .trade-item-summary{width:100%;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:8px}.trade-summary-piece img,.trade-summary-no-photo{width:42px;height:56px;flex-basis:42px}.trade-summary-piece strong{max-width:none}.trade-summary-side:not(.receive) .trade-summary-piece{justify-content:flex-end}.trade-summary-side.receive .trade-summary-piece{justify-content:flex-start}}
/* Desktop offers: status and action above a full-width, image-led exchange. */
@media(min-width:901px){
 #tradesView .trade-row:has(.trade-item-summary){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:24px}
 #tradesView .trade-row:has(.trade-item-summary) .trade-status{grid-column:1;grid-row:1;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;min-width:0}
 #tradesView .trade-row:has(.trade-item-summary) .trade-status>span:last-child{margin-left:4px;color:#263445}
 #tradesView .trade-row:has(.trade-item-summary)>.quiet{grid-column:2;grid-row:1;justify-self:end;min-height:44px}
 #tradesView .trade-item-summary{grid-column:1/-1;grid-row:2;width:100%;margin:0;padding-top:22px;border-top:1px solid #d6e0eb;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:20px;align-items:center}
 #tradesView .trade-summary-side{gap:14px}
 #tradesView .trade-summary-piece{gap:22px;justify-content:flex-start}
 #tradesView .trade-summary-piece img,#tradesView .trade-summary-no-photo{width:clamp(120px,15vw,210px);height:clamp(160px,19vw,260px);flex:0 0 clamp(120px,15vw,210px);border-radius:12px;object-fit:cover;object-position:center}
 #tradesView .trade-summary-piece strong{flex:1;max-width:none;font-size:clamp(22px,2.1vw,32px);font-weight:800;line-height:1.2;text-align:center;text-wrap:balance}
 #tradesView .trade-summary-side.receive .trade-summary-piece strong{text-align:center}
 #tradesView .trade-summary-emblem{justify-content:center;align-items:center}
 #tradesView .trade-summary-emblem svg{width:34px;height:34px}
 #tradesView .trade-summary-cash{font-size:16px}
}

.staff-panel{position:relative;width:min(1120px,96vw);max-height:92vh;overflow:auto;padding:32px;background:#ffffff;border:1px solid #d6e0eb;border-radius:20px;color:#263445}.staff-panel h2{font-size:30px;margin:12px 0 20px}.staff-panel h3{font-size:18px;margin:12px 0}.staff-panel p{line-height:1.6}.staff-header{display:flex;align-items:center;justify-content:space-between;padding-right:60px}.staff-header h2{margin-bottom:10px}.staff-notice{padding:14px 18px;background:#f0f5fa;border-radius:10px;font-size:14px;color:#263445}.staff-tabs{display:flex;gap:6px;overflow:auto;margin:24px 0}.staff-tabs button{padding:12px;white-space:nowrap;border-radius:8px;background:#ffffff;color:#263445;font-size:14px}.staff-tabs button.active{color:#263445;background:#f0f5fa}.staff-tabs span{margin-left:8px;color:#315e86}.staff-search,.staff-panel label{display:grid;gap:8px;font-size:14px}.staff-panel input,.staff-panel textarea,.staff-panel select{background:#ffffff;border:1px solid #d6e0eb;border-radius:8px;padding:12px;color:#263445;font:inherit;width:100%;box-sizing:border-box}.staff-row{display:flex;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid #d6e0eb}.staff-row-copy{flex:1}.staff-row p{margin:6px 0;color:#263445}.staff-panel small{font-size:13px;color:#263445}.staff-pieces{display:flex;gap:4px}.staff-pieces img{width:44px;height:60px;object-fit:contain;background:#e5e5e2;border-radius:6px}.staff-empty{padding:40px 0;color:#263445;text-align:center}.staff-panel form{display:grid;gap:14px;margin:20px 0;padding:20px;border:1px solid #d6e0eb;border-radius:12px}.staff-record-items{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.staff-record-items section{padding:18px;background:#ffffff;border-radius:12px}.staff-panel .case-media{display:flex;flex-wrap:wrap;gap:8px}.staff-panel .case-media img{width:100px;height:120px;object-fit:contain;border-radius:6px}.staff-frozen{padding:18px;background:#ffffff;border-radius:12px;margin:16px 0}.staff-panel button:disabled{opacity:.4;cursor:not-allowed}.staff-panel .close{position:absolute;right:20px;top:20px}#tradeDetailContent>.case-protection{margin:24px 0}#staffFind{display:flex;align-items:end}#staffFind label{flex:1}
@media(max-width:650px){.staff-panel{padding:22px 16px}.staff-header{display:block}.staff-row{flex-wrap:wrap}.staff-row-copy{min-width:150px}.staff-record-items{grid-template-columns:1fr}.staff-panel h2{font-size:25px}#staffFind{display:grid}.staff-panel .quiet{font-size:14px}}
/* Destructive actions stay secondary and require a separate confirmation. */
.cleanup-delete{color:#ffad9d!important;border:1px solid #d6e0eb!important}.cleanup-delete:disabled{opacity:.45;cursor:not-allowed}.cleanup-pages{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}#cleanupConfirm label{display:grid;gap:10px}#cleanupConfirm textarea{width:100%;min-height:100px}#cleanupRows .staff-row-copy{min-width:0;overflow-wrap:anywhere}

.test-mode-label{display:inline-block;color:#ffd18a;background:#f0f5fa;border:1px solid #8b6737;border-radius:6px;padding:7px 10px;font:600 13px var(--mono)}.test-mode-notice{padding:16px 20px;border-left:3px solid #edb76b;background:#f0f5fa;border-radius:8px;color:#263445;font-size:14px;line-height:1.6}.test-scenarios{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.test-scenarios article{padding:20px;background:#ffffff;border:1px solid #d6e0eb;border-radius:12px;display:flex;flex-direction:column}.test-scenarios p{font-size:14px;color:#263445;flex:1}.test-toolbar,.test-actions{display:flex;flex-wrap:wrap;gap:12px}.test-toolbar{margin:22px 0}.test-fixture{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.test-fixture section{padding:16px;background:#ffffff;border-radius:10px;font-size:14px}.test-fixture p{margin:8px 0 0;color:#263445}.test-action-panel{padding:22px;border:1px solid #8b6737;border-radius:12px;margin:20px 0}.test-actions>p,.test-actions>form{width:100%}.test-action-panel h3{font-size:22px}.test-actions form{margin:0!important}.test-record{padding:18px;background:#ffffff;border-radius:10px;margin:12px 0}.test-history{padding-left:24px}.test-history li{padding:12px 0 16px;border-bottom:1px solid #d6e0eb}.test-history small{display:block;margin-top:6px}.test-history p{font-size:14px;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}#testError:empty{display:none}#testError{color:#ffbf94;white-space:pre-wrap}#staffTestMode{border-color:#8b6737;color:#ffd18a;margin-right:8px}@media(max-width:650px){.test-scenarios,.test-fixture{grid-template-columns:1fr}.test-toolbar button{flex:1}.test-actions>button{width:100%}.test-action-panel{padding:16px}}

/* Editorial discovery, distinct from the full Search catalog. */
.feed-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 28px}
.feed-intro h1{font-size:clamp(26px,3.5vw,44px);line-height:1.15;letter-spacing:-.045em;margin:10px 0}
.feed-section{margin:0 0 38px;min-width:0}
.feed-section>header{margin:0 0 18px}.feed-section h2{font-size:26px;letter-spacing:-.035em;margin:6px 0}
#marketView .feed-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 0 14px}
.feed-rail>.product-card{scroll-snap-align:start}.feed-empty{color:#263445}
#marketView .for-you{margin:0 0 38px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.empty-state{display:flex;flex-direction:column;align-items:center;gap:16px;line-height:1.6}
.empty-state strong{margin:0}.empty-state>span{display:block;max-width:48ch}.empty-state>.acid,.empty-state>.quiet{display:inline-flex;align-items:center;justify-content:center;position:static;margin:0;text-decoration:none;max-width:100%;white-space:normal}
body:has(.overlay.open){overflow:hidden}
@media(max-width:800px){
 html{scroll-padding-top:76px}body{overflow-x:clip}
 .topbar{position:sticky;top:0;left:0;height:64px;min-height:64px;width:100%;padding:0 16px;z-index:40}
 #app .view{padding-top:0;margin-left:0;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));min-height:calc(100dvh - 64px)}
 .topbar strong{font-size:18px}.top-actions{gap:6px}#openSearch{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px}
 .rail{height:auto;min-height:66px;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));z-index:50;background:#ffffff}
 .rail nav{display:flex;width:100%;min-width:0;gap:2px;overflow-x:auto;justify-content:space-around}
 .rail nav button{width:auto;flex:1 0 0;min-width:48px;padding:7px 2px;border-radius:10px}.rail nav button b{font-size:10px;line-height:1.4;white-space:nowrap}.rail nav button span{font-size:23px;line-height:1.2}.rail nav button.active:after{display:none}
 .rail nav button[data-view="market"] b{font-size:0}.rail nav button[data-view="market"] b:after{content:'Home';font-size:10px}
 #mainNav button span{font-variant-emoji:text}
 .page-wrap,#tradesView .page-wrap,#searchView .page-wrap{padding:22px 16px 28px}
 .page-title{margin:0 0 24px;gap:14px}.page-title h1{font-size:32px;margin:6px 0}.page-title .micro{display:none}
 .profile-hero{position:relative;padding:24px 16px}.profile-hero>button{position:static;margin-top:16px}.profile-hero h1{font-size:30px;line-height:1.2;overflow-wrap:anywhere}.profile-stats{margin:20px 0}
 #tradesView .trade-tabs{flex-wrap:wrap;overflow:visible;gap:5px}#tradesView .trade-tabs button{white-space:normal;flex:1 1 auto;font-size:14px;min-height:44px;padding:10px}
 .settings-grid>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible}.settings-grid>nav button{padding:12px 8px;font-size:14px;white-space:normal;min-height:44px}
 .settings-card{min-width:0;padding:20px}.settings-card .empty-state{padding:28px 0}.empty-state{padding:36px 16px}.empty-state strong{font-size:23px}.empty-state>span{font-size:16px}
 #searchView .style-chips{flex-wrap:wrap;overflow:visible;gap:8px}#searchView .style-chips button{font-size:14px;padding:10px 14px;min-height:44px}.style-discovery{margin:22px 0;padding:20px 0}
 #marketView .market-main{padding:20px 16px 24px}.feed-intro{display:block;margin:0 0 24px}.feed-intro .quiet{margin-top:8px;padding:10px 14px;font-size:14px}.feed-intro h1{font-size:29px}.feed-section h2{font-size:23px}
 #marketView .feed-rail{grid-auto-columns:72%;gap:12px;margin-right:-16px;padding-right:16px}.feed-section .micro{font-size:12px}
 #marketView .product-copy h3{font-size:16px;line-height:1.4}.product-foot{flex-wrap:wrap;gap:8px}
 #closetView .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#closetView .product-image{height:auto;aspect-ratio:4/5}#closetView .product-image img{object-fit:contain;transform:none}#closetView .product-copy{padding:12px}#closetView .product-copy h3{font-size:15px}#closetView .product-foot strong{font-size:18px}
 .overlay{padding:8px;padding-top:max(8px,env(safe-area-inset-top,0px));padding-bottom:max(8px,env(safe-area-inset-bottom,0px));height:100dvh;align-items:center;overflow:hidden}
 .overlay>.trade-detail,.overlay>.review-panel,.overlay>.cash-sheet,.overlay>.case-panel,.overlay>.trade-picker{width:100%;max-height:100%;padding:60px 18px 24px;overscroll-behavior:contain;overflow:auto;min-height:0;border-radius:16px}
 .overlay .close{top:12px;right:12px;width:40px;height:40px;min-height:40px;flex-shrink:0}
 .trade-detail h2,.review-panel h2{font-size:30px;line-height:1.15;overflow-wrap:anywhere}.trade-detail .offer-side{padding:16px;min-width:0}.trade-detail .offer-sides{gap:12px}.trade-members{font-size:16px}
 .studio{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;max-height:100%;width:100%;overflow:hidden;border-radius:14px}
 .studio>header{height:auto;min-height:70px;padding:12px 16px;gap:10px}.studio>header h2{font-size:22px;padding-right:0}.studio>header .close{position:static}
 .studio-body{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;min-height:0}
 .side-total,.side-total.partner{padding:16px;border:0}.side-total>strong{font-size:32px;margin-top:8px}.side-total>button{margin-top:12px;min-height:44px}.side-total label{margin-top:16px;font-size:14px}.side-total textarea{min-height:64px;font-size:16px}
 .side-total .preference-card{margin-top:16px}.collection-panel{overflow:visible;padding:16px;flex-shrink:0}.collection-panel h3{margin:0 0 12px}.studio .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio .mini-card img{height:auto;aspect-ratio:4/5;object-fit:contain;transform:none}.mini-card b{font-size:14px;overflow-wrap:anywhere}
 .studio>footer{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 12px;min-height:0;flex-shrink:0}.studio>footer>div{grid-column:1/-1;width:auto;display:flex;align-items:center;justify-content:space-between;margin:0}.studio>footer div strong{font-size:16px}.studio>footer button{min-width:0;width:100%;min-height:44px;padding:10px;font-size:14px;white-space:normal}
 .messages-shell{height:calc(100dvh - 148px - env(safe-area-inset-bottom,0px))}.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:90%;border-radius:12px}
}
/* Keep the wizard controls outside the scrolling step and inside the visible phone viewport. */
@media(max-width:800px){
 #listingOverlay{top:var(--listing-viewport-top,0px);bottom:auto;height:var(--listing-viewport-height,100dvh);padding:8px 8px max(8px,env(safe-area-inset-bottom,0px));grid-template-rows:minmax(0,1fr)}
 #listingOverlay .listing-intake{width:100%;height:100%;max-height:100%;min-height:0;grid-template-rows:auto auto minmax(0,1fr);border-radius:16px}
 #listingOverlay .listing-intake>header{padding:14px 16px;gap:12px}
 #listingOverlay .listing-intake>header h2{font-size:26px;line-height:1.15;margin:4px 0}
 #listingOverlay .listing-intake>header p{display:none}
 #listingOverlay .listing-intake>header .micro{font-size:11px}
 #listingOverlay #listingForm{min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr) auto}
 #listingOverlay .listing-step{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 16px}
 #listingOverlay #listingForm>footer{position:relative;z-index:2;display:flex;flex-shrink:0;gap:10px;padding:12px;background:#ffffff}
 #listingOverlay #listingForm>footer span{display:none}
 #listingOverlay #listingBack,#listingOverlay #listingNext{flex:1;min-width:0;min-height:48px;padding:12px;font-size:16px;touch-action:manipulation}
 #listingOverlay input,#listingOverlay select,#listingOverlay textarea{font-size:16px}
 .top-actions .notification-bell:not([hidden]){display:flex!important;align-items:center;justify-content:center;position:relative;order:1;width:44px;min-width:44px;height:44px;padding:10px!important}
 .top-actions .notification-bell[hidden],.notification-bell [data-notification-badge][hidden]{display:none!important}
 .notification-bell [data-notification-badge]:not([hidden]){position:absolute;top:-3px;right:-3px;min-width:18px;font-size:10px;line-height:14px;padding:1px 4px}
 .notification-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);box-sizing:border-box}
 .notification-tools{flex-wrap:wrap}.notification-tools button,.notification-dialog [data-close]{min-height:44px}
}

/* Browsing thumbnails fill their frames; full listing galleries retain original photos. */
#closetView .product-image img,#searchView .product-image img,.product-card .product-image img,.studio .mini-card img,.trade-target img,.trade-piece img,.chat-piece img,.trade-thumbnails img,.trade-summary-piece img{object-fit:cover;object-position:center;transform:none}
.relay-icon{display:block;flex-shrink:0;vertical-align:middle}
.account-menu-links{display:grid;gap:10px}.account-menu-links>*{display:block;text-align:left;font-size:16px;text-decoration:none;min-height:44px;box-sizing:border-box}
.slideshow-controls{flex-wrap:wrap;min-width:0}.slideshow-controls>div{max-width:100%;flex-wrap:wrap}.slideshow-controls .slide-play{width:auto;min-width:60px;border-radius:10px;padding:0 10px;font-size:14px}.slideshow-controls .slide-dots{gap:2px;flex-wrap:wrap}.slideshow-controls .slide-dots button{flex:0 0 24px}.slideshow-controls output{font-size:14px}
.rail>.avatar.login-entry{width:70px;border-radius:12px!important;background:#b4d4f4;color:#111;font-size:14px;min-height:44px}.login-continue{display:block;text-align:center;text-decoration:none;margin-top:24px;padding:14px}#relayLoginButton[hidden]{display:none!important}
@media(max-width:800px){.slideshow-controls{flex-direction:column;align-items:center;gap:8px}.slideshow-controls>div:last-child{justify-content:center;width:100%}.top-actions #relayLoginButton:not([hidden]){display:block;min-height:44px;padding:10px 12px;font-size:14px}.topbar>div:first-child{min-width:0}.topbar strong{font-size:17px}.top-actions{flex-shrink:0}}
.save-detail{display:inline-flex;align-items:center;gap:8px}.save-detail svg,.auth-line svg,.offer-event svg,.payment-state>i svg{width:18px;height:18px}.logo span{display:inline-flex}.logo svg{width:23px;height:23px}
#mainNav button>span{display:flex;justify-content:center;align-items:center;height:28px;margin-bottom:6px}
#mainNav button{color:#5e6b7b;transition:color .18s,background .18s}#mainNav button.active{color:#315e86;--icon-surface:#242b31}#mainNav button.active b{color:#263445}#mainNav button.active:after{display:none}
.save[data-vector-saved]{display:grid;place-items:center}.save[data-vector-saved] svg{width:20px;height:20px}.save[data-vector-saved="true"] svg{fill:currentColor}
#marketView [data-premium] .feed-rail{grid-auto-columns:100%;gap:18px;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0;padding:0}
#marketView [data-premium] .feed-rail::-webkit-scrollbar{display:none}
.social-post{scroll-snap-align:start;scroll-snap-stop:always;border:1px solid #d6e0eb;border-radius:20px;overflow:hidden;background:#ffffff;min-width:0}
.social-post-head{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #d6e0eb}
.social-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#f0f5fa;color:#263445;font-size:13px;font-weight:700;flex:none}
.social-post-head>div{flex:1;min-width:0}.social-post-head button{background:none;border:0;padding:0;color:#263445;font-size:15px;font-weight:700;text-align:left;overflow-wrap:anywhere}.social-post-head small{display:block;font-size:12px;color:#263445;margin-top:4px}
.social-post-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.social-photo{display:block;position:relative;isolation:isolate;border:0;background:#ffffff;padding:0;width:100%;height:430px;overflow:hidden;cursor:pointer}.social-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.social-photo.portrait-photo>img:not(.photo-backdrop){position:relative;z-index:1;object-fit:contain}.social-photo>.photo-backdrop{position:absolute;inset:0;object-fit:cover;filter:blur(24px) brightness(.55);transform:scale(1.15);pointer-events:none}
.social-caption{display:flex;flex-direction:column;justify-content:center;padding:32px;min-width:0}.social-caption .micro{font-size:13px;color:#263445}.social-caption h3{font-size:30px;line-height:1.2;letter-spacing:-.035em;margin:12px 0;overflow-wrap:anywhere}.social-caption p{font-size:14px;color:#263445;line-height:1.6;margin:0 0 20px}.social-value{font-size:26px;font-weight:700}.social-actions{display:flex;gap:10px;margin-top:24px;align-items:center}.social-actions .save{position:static;background:#f0f5fa;border:1px solid #d6e0eb;color:#263445;width:46px;height:46px;border-radius:12px}.social-actions>.quiet{min-height:46px}
.slideshow-controls{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:14px}.slideshow-controls>div{display:flex;align-items:center;gap:8px}.slideshow-controls button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #d6e0eb;border-radius:50%;background:#ffffff;color:#263445}.slideshow-controls button:disabled{opacity:.3;cursor:default}.slideshow-controls output{font:12px var(--mono);color:#263445;min-width:48px;text-align:center}.slide-dots{display:flex;gap:4px}.slide-dots button{width:24px;height:32px;border:0;background:transparent;border-radius:0}.slide-dots button:after{content:'';height:3px;width:18px;border-radius:3px;background:#f0f5fa}.slide-dots button[aria-current="true"]:after{background:var(--lime)}
@media(max-width:800px){
 .rail{padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 24px #0003}
 .rail nav{gap:2px}.rail nav button{padding:7px 2px;border-radius:12px}.rail nav button>span{margin:0 0 5px;height:24px}.rail nav button svg{width:23px;height:23px}.rail nav button b{font-size:10px;font-weight:600;letter-spacing:.01em}
 .rail nav button.active{background:#ffffff;color:var(--lime);--icon-surface:#20282d}
 .social-post{border-radius:16px}.social-post-head{padding:12px 14px}.social-post-main{display:block}.social-photo{height:min(48dvh,420px)}.social-caption{padding:18px}.social-caption h3{font-size:23px;margin:8px 0}.social-caption p{margin:0 0 12px}.social-value{font-size:22px}.social-actions{margin-top:16px}.social-actions>.quiet{flex:1}.slideshow-controls{margin-top:10px}.feed-intro h1{font-size:25px}
}
#relayMobileAccount{display:none}
#listCustomSize[hidden]{display:none!important}
@media(max-width:800px){.top-actions #relayMobileAccount:not([hidden]){display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;flex:0 0 40px;padding:0;border:1px solid #d6e0eb;border-radius:50%;background:#f0f5fa;color:#263445;font-size:14px;font-weight:700;margin-left:4px}.top-actions #relayMobileAccount[hidden]{display:none!important}}
.listing-label-mobile{display:none}
@media(max-width:800px){.top-actions #newListing{display:block!important;order:0;min-height:44px;padding:10px;font-size:14px;white-space:nowrap}.listing-label-desktop{display:none}.listing-label-mobile{display:inline}.top-actions #openSearch{order:1}.top-actions #relayMobileAccount,.top-actions #relayLoginButton{order:2}.topbar>div:first-child{flex:1;overflow:hidden;margin-right:8px}.topbar #viewTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

#closetSocial{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:20px 45px;border-bottom:1px solid #d6e0eb}#closetSocial:empty{display:none}.social-counts{display:flex;flex-wrap:wrap;gap:10px}.social-counts button{display:flex;gap:8px;align-items:center;padding:12px 16px;min-height:44px;border:1px solid #d6e0eb;border-radius:12px;background:#ffffff;color:#263445;font-size:15px;cursor:pointer}.social-counts span{color:#263445}.social-counts button:hover{border-color:#b4d4f4}.social-people{width:min(520px,calc(100vw - 24px))}.social-people header{display:flex;justify-content:space-between;align-items:start;gap:12px}.social-people form{display:flex;gap:10px;align-items:end;margin:18px 0}.social-people label{flex:1;min-width:0;font-size:14px}.social-people input{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:12px;background:#ffffff;color:#263445;border:1px solid #d6e0eb;border-radius:10px;font:inherit;font-size:16px}.social-people-list{display:grid;gap:8px}.social-person{display:flex;align-items:center;gap:14px;text-align:left;padding:12px;background:#ffffff;color:#263445;border:0;border-radius:12px;cursor:pointer;font-size:16px;overflow-wrap:anywhere}.social-person .profile-photo-preview{width:44px;height:44px;flex:none;font-size:16px}.social-person>span:last-child{min-width:0}.social-people [data-more]{margin-top:16px}.social-relationship{color:#315e86;padding:0 20px}.member-profile-head .social-counts{margin-top:16px}.member-profile-head>.profile-photo-preview{flex-shrink:0}#memberProfileContent>h3,#memberProfileContent>[data-listing-status]{padding:0 20px}#memberProfileContent>[data-more-listings]{margin:20px}
@media(max-width:800px){#closetSocial{padding:16px;gap:12px}.social-counts{gap:6px}.social-counts button{padding:10px;font-size:14px}.social-people{padding:20px}.social-people form{flex-wrap:wrap}.social-people form label{flex-basis:100%}.member-profile-head .profile-links{margin-top:16px}.member-profile-head>.profile-photo-preview{margin-bottom:12px}}

#listingStep .photo-intake{display:block;margin:16px 0 22px}
#listingStep .photo-drop{width:100%;min-height:86px;padding:16px;gap:5px}
#listingStep .photo-drop small{color:#263445}
#photoPlacementStatus{color:#263445;font-size:14px;line-height:1.5;margin:10px 0 18px}
#listingStep .photo-group{margin:0 0 26px}
#listingStep .photo-group-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
#listingStep .photo-group-head h4{margin:0 0 5px;font-size:17px}
#listingStep .photo-group-head p{margin:0;color:#263445;font-size:13px}
#listingStep .photo-group-head>span{white-space:nowrap;color:#263445;font-size:14px}
#listingStep .photo-slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.photo-slot-card{min-width:0;border:1px solid #d6e0eb;border-radius:12px;background:#ffffff;overflow:hidden}
.photo-slot-card:not(.filled){border-style:dashed}
.photo-slot-card.selected,.photo-slot-card.photo-drop-hover{outline:2px solid var(--lime);outline-offset:2px}
.photo-slot-pick{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:168px;padding:12px;border:0;border-radius:0;background:#ffffff;color:#263445;text-align:center}
.photo-slot-pick img{display:block;width:100%;height:100%;object-fit:contain}
.photo-slot-card.filled .photo-slot-pick{padding:0;cursor:grab}
.photo-slot-pick span{font-size:15px}.photo-slot-pick .photo-slot-plus{font-size:30px;color:var(--lime)}
.photo-slot-pick small{font-size:12px;color:#263445}
.photo-slot-caption{padding:12px;border-top:1px solid #d6e0eb;min-width:0}
.photo-slot-caption strong{display:block;font-size:14px;color:#263445}
.photo-slot-caption small{display:block;font-size:12px;color:#263445;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}
.photo-slot-actions{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}
.photo-slot-actions button{min-height:40px;padding:8px 10px;font-size:13px;border:1px solid #d6e0eb;border-radius:7px;background:#f0f5fa;color:#263445;flex:1}
[data-photo-move]{touch-action:none}
.photo-drop.photo-drop-hover{outline:2px solid var(--lime)}
@media(max-width:800px){#listingStep .photo-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-slot-pick{height:155px}.photo-slot-actions button{min-height:44px}.photo-slot-caption{padding:10px}#listingStep .photo-group-head p{max-width:260px}}

#listingStep .photo-quick-note{font-size:14px;color:#263445;margin:4px 0 16px}
#listingStep:has(#listPhotoInput)>h3{font-size:22px;margin:0 0 6px}
#listingStep:has(#listPhotoInput) .photo-group:first-of-type .photo-group-head{display:none}

/* One continuous listing form; the action bar stays outside the scroll area. */
#listingOverlay.single-page-listing .listing-intake{width:min(960px,96vw);grid-template-rows:auto minmax(0,1fr)}
#listingOverlay.single-page-listing .listing-intake>header{padding:20px 28px}
#listingOverlay.single-page-listing header p,#listingOverlay.single-page-listing header .micro,#listingOverlay.single-page-listing #listingProgress{display:none}
#listingOverlay.single-page-listing header h2{font-size:28px}
#listingOverlay.single-page-listing #listingForm{grid-template-rows:minmax(0,1fr) auto;overflow:hidden}
#listingOverlay.single-page-listing #listingStep{padding:24px 28px 32px;scroll-padding:20px}
#listingOverlay.single-page-listing .listing-block{margin-bottom:26px}
#listingOverlay.single-page-listing .listing-block h3{font-size:20px;letter-spacing:-.02em;margin:0 0 16px}
#listingOverlay.single-page-listing .listing-block-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
#listingOverlay.single-page-listing .listing-block-heading>span{font-size:14px;color:#263445}
#listingOverlay.single-page-listing .listing-step-grid{gap:18px 20px;grid-template-columns:repeat(2,minmax(0,1fr))}
#listingOverlay.single-page-listing label{font-size:14px;line-height:1.5;min-width:0}
#listingOverlay.single-page-listing input,#listingOverlay.single-page-listing select,#listingOverlay.single-page-listing textarea{font-size:16px;min-height:46px}
#listingOverlay.single-page-listing input[hidden]{display:none}
#listingOverlay.single-page-listing .toggle-card input{min-height:0}
#listingOverlay.single-page-listing textarea{min-height:112px}
#listingOverlay.single-page-listing details{border-top:1px solid var(--line)}
#listingOverlay.single-page-listing summary{padding:16px 0;cursor:pointer;font-size:16px;font-weight:600;list-style-position:inside}
#listingOverlay.single-page-listing summary span{font-size:14px;font-weight:400;color:#263445;margin-left:8px}
#listingOverlay.single-page-listing details>.listing-step-grid,#listingOverlay.single-page-listing details>.measure-grid{padding:4px 0 22px}
#listingOverlay.single-page-listing #listingExtraPhotos{border:0}
#listingOverlay.single-page-listing #listingExtraPhotos>summary{padding:4px 0 12px}
#listingOverlay.single-page-listing .photo-group{margin-bottom:12px}
#listingOverlay.single-page-listing .photo-slot-pick{height:126px}
#listingOverlay.single-page-listing .photo-slot-pick small{display:none}
#listingOverlay.single-page-listing .photo-slot-caption>small{display:none}
#listingOverlay.single-page-listing .photo-slot-card:not(.filled) .photo-slot-caption{display:none}
#listingOverlay.single-page-listing .photo-slot-caption{padding:8px}
#listingOverlay.single-page-listing .photo-slot-actions{margin-top:6px}
#listingOverlay.single-page-listing #photoPlacementStatus:empty{display:none}
#listingOverlay.single-page-listing #listingForm>footer{padding:14px 28px;gap:12px}
#listingOverlay.single-page-listing #listingSaveState{font-size:13px;color:#263445}
#listingOverlay.single-page-listing #listingBack,#listingOverlay.single-page-listing #listingNext{font-size:16px;min-height:46px}
#listingOverlay.single-page-listing .invalid{border-color:#f88787;outline:1px solid #f88787}
@media(max-width:600px){
 #listingOverlay.single-page-listing .listing-intake{width:100%;grid-template-rows:auto minmax(0,1fr)}
 #listingOverlay.single-page-listing .listing-intake>header{padding:14px 16px}
 #listingOverlay.single-page-listing #listingStep{padding:18px 16px 24px}
 #listingOverlay.single-page-listing .listing-block-heading{display:block;margin-bottom:12px}
 #listingOverlay.single-page-listing .listing-block-heading h3{margin-bottom:4px}
 #listingOverlay.single-page-listing .listing-step-grid{grid-template-columns:1fr}
 #listingOverlay.single-page-listing .listing-step-grid>.full{grid-column:1/-1}
 #listingOverlay.single-page-listing .measure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #listingOverlay.single-page-listing #listingForm>footer{padding:12px 16px;display:grid;grid-template-columns:1fr 1fr}
 #listingOverlay.single-page-listing #listingSaveState{grid-row:2;grid-column:1/-1}
 #listingOverlay.single-page-listing #listingNext{min-width:0}
 #listingOverlay.single-page-listing summary span{font-size:13px}
}

/* Freeform gallery with a prominent cover, compact icon tools, and one upload tile. */
#listingOverlay .listing-photo-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:160px;gap:12px}
#listingOverlay .gallery-photo{position:relative;min-width:0;overflow:hidden;border:1px solid #d6e0eb;border-radius:14px;background:#ffffff}
#listingOverlay .gallery-cover{grid-column:span 2;grid-row:span 2}
#listingOverlay .gallery-photo-image{width:100%;height:100%;padding:8px 8px 45px;cursor:grab;user-select:none}
#listingOverlay .gallery-photo-image img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
#listingOverlay .gallery-photo-number{position:absolute;left:10px;top:10px;padding:4px 9px;border-radius:99px;background:#0b1019d9;color:#263445;font-size:12px;pointer-events:none}
#listingOverlay .gallery-cover .gallery-photo-number{background:var(--lime);color:#101317}
#listingOverlay .photo-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:8px;border:1px solid #ffffff20;border-radius:50%;background:#172027eb;color:#263445;cursor:pointer}
#listingOverlay .photo-icon-button svg{width:18px;height:18px;pointer-events:none}
#listingOverlay .photo-icon-button:hover{background:#f0f5fa;border-color:#d6e0eb}
#listingOverlay .photo-icon-button:focus-visible,#listingOverlay .gallery-add:focus-visible{outline:2px solid var(--lime);outline-offset:-3px}
#listingOverlay .gallery-remove{position:absolute;top:8px;right:8px}
#listingOverlay .gallery-remove:hover{background:#f0f5fa;border-color:#d5818b}
#listingOverlay .gallery-photo-tools{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;padding:5px 7px;background:#11181fe8;gap:4px}
#listingOverlay .gallery-photo-tools>div{display:flex;gap:4px}
#listingOverlay .gallery-grip{touch-action:none;cursor:grab}
#listingOverlay .gallery-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed #d6e0eb;background:#ffffff;border-radius:14px;padding:14px;min-width:0;color:#263445;text-align:center}
#listingOverlay .gallery-add:hover,#listingOverlay .gallery-file-hover .gallery-add{border-color:var(--lime);background:#ffffff}
#listingOverlay .gallery-add>svg{width:32px;height:32px;color:var(--lime);margin-bottom:3px}
#listingOverlay .gallery-add strong{font-size:16px}
#listingOverlay .gallery-add span,#listingOverlay .gallery-add small{font-size:12px;font-weight:400;color:#263445}
#listingOverlay .gallery-empty{position:relative;grid-column:span 2;grid-row:span 2;min-height:160px}
#listingOverlay .gallery-empty .gallery-photo-number{background:var(--lime);color:#101317}
#listingOverlay .gallery-placeholder{border-style:solid;border-color:#d6e0eb;background:#ffffff}
#listingOverlay .gallery-placeholder>svg{width:28px;height:28px;color:#5e6b7b;opacity:.65}
#listingOverlay .gallery-empty>svg{width:44px;height:44px}
#listingOverlay .gallery-empty strong{font-size:20px}
#listingOverlay #photoGalleryHint{font-size:14px;color:#263445;margin:12px 0 0}
#listingOverlay .gallery-dragging{opacity:.45}
#listingOverlay .gallery-drop-target{outline:3px solid var(--lime);outline-offset:-3px;background:#f0f5fa}
.gallery-drag-ghost{position:fixed;width:120px;height:150px;transform:translate(-50%,-65%) rotate(3deg);z-index:99999;pointer-events:none;border:2px solid #b4d4f4;border-radius:12px;overflow:hidden;background:#ffffff;box-shadow:0 16px 40px #0009}
.gallery-drag-ghost img{width:100%;height:100%;object-fit:contain}
@media(max-width:600px){
 #listingOverlay .listing-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:185px;gap:10px}
 #listingOverlay .gallery-cover{grid-column:span 1;grid-row:span 1}
 #listingOverlay .photo-icon-button{width:40px;height:40px;min-width:40px;padding:10px}
 #listingOverlay .gallery-photo-tools{padding:3px;gap:0}
 #listingOverlay .gallery-photo-tools>div{gap:1px}
 #listingOverlay .gallery-photo-image{padding-bottom:47px}
}

:root{--ink:#fff;--panel:#f6f9fc;--soft:#182536;--lime:#b4d4f4;--ice:#b4d4f4;--muted:#5e6b7b;--line:#d6e0eb;--sans:'Inter',Arial,sans-serif;--mono:'Inter',Arial,sans-serif;--home-accent:#b4d4f4}
.help-layout{max-width:1260px;margin:0 auto;padding:40px 32px 72px}
.help-heading{margin-bottom:36px}.help-heading h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.04em;line-height:1.15;margin:10px 0 14px}.help-heading h1:focus{outline:none}.help-heading p{color:#5e6b7b;margin:0;font-size:17px}
.help-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:56px;align-items:start}
.help-questions h2,.help-contact h2{font-size:24px;letter-spacing:-.025em;margin:0 0 24px}.help-questions h3{font-size:14px;color:#5e6b7b;margin:28px 0 10px;font-weight:600}
.help-questions details{border-bottom:1px solid #d6e0eb}.help-questions summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;line-height:1.5;padding:18px 0}.help-questions summary::-webkit-details-marker{display:none}.help-questions summary:after{content:'+';font-size:24px;font-weight:400;color:#315e86}.help-questions details[open] summary:after{content:'−'}.help-questions summary:hover{color:#315e86}.help-questions summary:focus-visible{outline:2px solid #80b2df;outline-offset:4px;border-radius:4px}.help-questions details p{font-size:16px;line-height:1.7;color:#5e6b7b;margin:0 32px 20px 0}
.help-contact{background:#e7f2fc;border-radius:20px;padding:28px;position:sticky;top:108px}.help-contact h2{margin-bottom:12px}.help-contact>p{font-size:16px;line-height:1.6;color:#52677c;margin:0 0 28px}.help-contact-method{display:grid;gap:7px;margin:24px 0}.help-contact-method>span{font-size:14px;color:#52677c}.help-contact-method a{font-size:17px;color:#163658;font-weight:600;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.help-email{display:flex;align-items:center;justify-content:space-between;text-decoration:none;font-size:16px;margin-top:28px;gap:12px}.help-contact .help-contact-note{font-size:14px;line-height:1.6;margin:20px 0 0}
@media(max-width:900px){.help-columns{gap:28px;grid-template-columns:minmax(0,1fr) minmax(250px,300px)}.help-contact{padding:22px}}
@media(max-width:650px){.help-layout{padding:28px 20px 48px}.help-columns{grid-template-columns:1fr}.help-contact{position:static;grid-row:1}.help-heading{margin-bottom:28px}}
/* Action controls get gentle feedback; text links and whole cards stay clean. */
button,a[href],[role="button"],summary{-webkit-tap-highlight-color:transparent}
button,[role="button"],summary{-webkit-user-select:none;user-select:none}
button::selection,button *::selection,a[href]::selection,a[href] *::selection,summary::selection,summary *::selection{background:transparent;color:inherit}
@media(hover:hover){
 button:not(:disabled),a[href],[role="button"],summary{transition:background-color .15s,color .15s;cursor:pointer}
 :is(.acid,.cash-btn,.light,.quiet,.icon-btn,.product-foot button,.settings-grid>nav button,.settings-card a[href*="signout"]):not(:disabled):hover{background-color:#c4dff7!important;border-color:transparent!important;box-shadow:none!important;color:#163658!important}
 .rail nav button:not(.active):hover{background:#e7f2fc!important;color:#163658!important;--icon-surface:#e7f2fc}
 :is(.next-action,.notification-link,.brand-link,.seller-link,.text-action,.card-title,.chat-offer-link,a[href]:not(.acid):not(.quiet):not(.light):not([href*="signout"])):hover{background-color:transparent!important;box-shadow:none!important}
 :is(.brand-link,.seller-link,.text-action,.card-title,.chat-offer-link,a[href]:not(.acid):not(.quiet):not(.light):not([href*="signout"])):hover,.next-action:hover span:last-child{text-decoration:underline;text-underline-offset:3px}
}
button:focus:not(:focus-visible),a[href]:focus:not(:focus-visible),[role="button"]:focus:not(:focus-visible){outline:none!important}
button:focus-visible,a[href]:focus-visible,[role="button"]:focus-visible{outline:2px solid #80b2df!important;outline-offset:3px}
.rail nav button{border:0!important;box-shadow:none!important;outline:none!important}
.rail nav button.active{background:#b4d4f4!important;color:#163658!important;--icon-surface:#b4d4f4!important}
.rail nav button.active b{color:#163658!important}
.rail nav button.active:after{display:none!important}
.rail nav button:focus-visible b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
#relayAccountMenu{position:fixed;z-index:1000;width:190px;max-width:calc(100vw - 16px);padding:0 0 14px;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;pointer-events:auto}
#relayAccountMenu.opens-below{padding:14px 0 0}
#relayAccountMenu[hidden]{display:none}
#relayAccountOptions{display:none}
@media(hover:none){#relayAccountOptions:not([hidden]){display:block}}
#relayAccountMenu .account-menu-links{display:grid;gap:4px;padding:8px;background:#fff;border-radius:14px;box-shadow:0 6px 28px #16365826}
#relayAccountMenu .account-menu-links>*{display:block;text-align:left;padding:13px 16px;text-decoration:none;background:transparent;border:0;box-shadow:none}
#relayAccountMenu .account-menu-close{position:absolute;right:10px;top:8px;padding:4px 10px;font-size:22px}
#relayAccountMenu button:disabled{cursor:default;opacity:.55}
@media(min-width:801px){.rail{width:116px;overflow:hidden!important;gap:14px!important;padding-inline:8px}.topbar{left:116px}.view{margin-left:116px}.rail>.avatar{order:3!important;margin-top:auto;width:50px;height:50px;flex:0 0 50px}.rail nav{order:1!important;flex:1;min-height:0;overflow-y:auto;margin:4px 0!important;gap:4px!important;justify-content:flex-start}.rail nav button{flex:0 0 72px;max-height:72px;padding:9px 2px!important;gap:4px}.rail nav button b{font-size:12px;white-space:normal;overflow-wrap:anywhere;max-width:100%}.rail nav button span{font-size:28px}.rail nav button svg{width:28px;height:28px}}
/* A consistent light shell and tighter page rhythm. */
.page-wrap,.page-wrap.narrow,#tradesView .page-wrap{max-width:1600px;width:100%;padding:24px 30px 56px}
.page-title{margin:6px 0 24px}
.topbar>div:first-child{flex-direction:column;align-items:flex-start;gap:3px}
.topbar #viewKicker{font-size:14px;line-height:1.35}
.feed-intro{margin-bottom:18px}.feed-section{margin-top:24px}
#marketView [data-premium]{margin-top:0}
.compact-home-card .product-copy{padding:14px 16px 16px}.compact-home-card .product-copy h3{min-height:0;margin:0 0 10px}.compact-home-card .card-title{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;line-height:1.4;cursor:pointer}.compact-card-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.compact-card-meta span{font-size:14px;color:#64748b}.compact-card-meta strong{font-size:20px;color:#000;white-space:nowrap}
#marketView .social-photo.portrait-photo>img:not(.photo-backdrop){object-fit:contain;padding:28px;box-sizing:border-box;filter:drop-shadow(0 8px 16px #16365833)}
#marketView .social-photo>.photo-backdrop{object-fit:cover;filter:blur(3px) brightness(.72);transform:scale(1.22);opacity:.75}
#marketView .product-card .product-image{height:auto;aspect-ratio:4/5;overflow:hidden}
#marketView .product-card .product-image>img{width:100%;height:100%;object-fit:cover;object-position:center;padding:0;filter:none;transform:none}
@media(max-width:600px){#marketView .social-photo.portrait-photo>img:not(.photo-backdrop){padding:20px}}
.profile-hero{padding:28px 30px;background:#edf5fd}
.settings-wrap{max-width:1400px}.settings-grid{grid-template-columns:220px minmax(0,1fr)}
.settings-grid>nav button,.settings-grid>nav button.active{background:#b4d4f4;color:#163658;min-height:46px;font-weight:650}
.settings-grid>nav button.active{box-shadow:none!important;border-left:0}
.settings-card a[href*="signout"]{display:inline-flex;background:#b4d4f4;color:#163658;border-radius:10px;padding:11px 18px;text-decoration:none;font-weight:700}
.profile-photo-editor{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px 20px;align-items:center;padding:20px;background:#f6f9fc;border:1px solid #d6e0eb;border-radius:14px}
.profile-photo-editor>.profile-photo-preview{grid-row:1/3;width:80px;height:80px;margin:0}
.profile-photo-editor>label{margin:0}.profile-photo-editor>div:not(.profile-photo-preview){grid-column:2}
.profile-photo-editor>section,.profile-photo-editor>[role="status"]{grid-column:1/-1}
.profile-photo-editor input[type=file]{padding:8px;border:0!important;background:transparent!important;font-size:13px}
.profile-photo-editor input::file-selector-button,.profile-photo-editor button{background:#b4d4f4;color:#163658;border:0;border-radius:9px;padding:11px 15px;font-weight:650;cursor:pointer;min-height:42px}
.profile-photo-editor input::file-selector-button{margin-right:12px}
.profile-photo-editor [data-photo=remove],.profile-photo-editor [data-photo=cancel],.profile-photo-editor [data-photo=reset]{background:#e7eef6}
.profile-photo-editor canvas{border-color:#b4d4f4!important}
.profile-photo-editor>[role=status]:empty,.profile-photo-editor>div:has([data-photo=adjust][hidden]):has([data-photo=remove][hidden]){display:none}
.profile-preferences{max-width:1100px;padding:28px}.profile-preferences h2{margin-bottom:12px}
.preference-editor{gap:24px}.preference-editor>div{padding:22px}.preference-editor h3{margin-bottom:14px}
.preference-options{gap:10px}.preference-options button{min-height:38px}.preference-options button.selected{background:#b4d4f4;border-color:#a0c3e7;color:#163658}
.designer-search{display:block;font-size:13px;color:#5e6b7b;margin:16px 0}.designer-search input{display:block;width:100%;margin-top:7px;padding:12px 14px;border:1px solid #ccd8e5;border-radius:10px}
.profile-preferences [data-save-preferences]{margin-top:32px;min-height:46px}.profile-preferences [data-pref-status]:empty{display:none}
#tradesView .trade-row:has(.draft-preview){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px}
.draft-actions{display:flex;gap:8px;flex-wrap:wrap}.draft-preview{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:20px;border-top:1px solid #d6e0eb;padding-top:18px;align-items:center}
.draft-preview-side{min-width:0}.draft-preview-side>small{display:block;color:#5e6b7b;margin-bottom:12px}.draft-preview-side>div{display:flex;gap:14px;flex-wrap:wrap}.draft-preview figure{margin:0;width:120px}.draft-preview img,.draft-missing-photo{width:120px;height:140px;object-fit:cover;border-radius:10px;background:#edf4fa;display:grid;place-items:center}.draft-preview figcaption{font-size:13px;line-height:1.4;margin-top:8px;overflow-wrap:anywhere}.draft-exchange{color:#315e86;font-size:30px}
.light,.cash-btn,.rail>.avatar.login-entry,.status-pill{background:#e7f2fc;color:#163658}
.tag-select button.selected,.chips button.active,.segmented button.active{background:#b4d4f4!important;color:#163658!important;border-color:#a0c3e7!important}
@media(min-width:801px){.rail{overflow-y:auto;gap:14px}.rail>.logo{order:0;flex-shrink:0}.rail>.avatar{order:1;flex-shrink:0}.rail nav{order:2;margin:2px 0 0;gap:5px}.rail nav button{padding:9px 4px}.social-post-main{grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr)}.social-caption{padding:26px}.feed-intro h1{font-size:clamp(32px,3.3vw,50px)}}
@media(max-width:800px){.page-wrap,.page-wrap.narrow,#tradesView .page-wrap{padding:20px 16px 85px}.settings-grid{grid-template-columns:1fr}.profile-preferences{padding:20px 16px}.preference-editor>div{padding:18px}.profile-photo-editor{grid-template-columns:60px minmax(0,1fr);padding:14px;gap:12px}.profile-photo-editor>.profile-photo-preview{width:56px;height:56px}.profile-photo-editor>div:not(.profile-photo-preview){grid-column:1/-1}.draft-preview{gap:10px;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}.draft-preview figure,.draft-preview img,.draft-missing-photo{width:100%;max-width:120px}.draft-actions{grid-column:1/-1}}
body{background:#fff;color:#182536;color-scheme:light}
.topbar,.rail{background:#fff!important;border-color:#d6e0eb!important;color:#182536}
.logo,.acid,.top-actions #newListing{background:#b4d4f4!important;color:#163658!important;border-color:#b4d4f4!important}
.logo span{color:#163658!important}
.quiet,.icon-btn,.product-foot button{background:#edf4fa;color:#163658}
.lime,.next-action span:last-child{color:#315e86!important}
.rail nav button.active,.chips button.active,.segmented button.active,.tag-select .selected{background:#e7f2fc;color:#163658;--icon-surface:#e7f2fc}
input,select,textarea{background:#fff!important;color:#182536!important;border-color:#ccd8e5!important}
input::placeholder,textarea::placeholder{color:#65758a}
.topbar #viewKicker{color:#5e6b7b}
#topFavorites{display:flex;align-items:center;gap:7px;white-space:nowrap}
.notification-dropdown{position:fixed;z-index:90;margin:0;width:min(400px,calc(100vw - 24px));max-height:min(580px,calc(100dvh - 110px));background:white;border:1px solid #d6e0eb;border-radius:14px;box-shadow:0 16px 50px #16365826;padding:20px;color:#182536}
.notification-dropdown[hidden]{display:none!important}
.notification-dropdown h2{font-size:20px}
.notification-dropdown :is(small,.notification-link span,.notification-link time){color:#5e6b7b}
.notification-dropdown .notification-row.unread{background:#f1f7fd}
.overlay{background:rgba(23,40,60,.32)}
.overlay :is(.modal,.listing-modal,.item-modal),dialog{background:#fff;color:#182536}
.product-foot strong,.social-value,.item-price,.detail-price,.trade-cash,.price,.value{color:#000!important}
#marketView .product-foot strong,#marketView .social-value{color:#000!important}
.home-type-test{display:none!important}
.top-actions{align-items:center}
#mainNav button.active,#mainNav button.active b{color:#315e86;--icon-surface:#e7f2fc}
.style-chips button.active,.style-chips button:hover{background:#b4d4f4;border-color:#a0c3e7;color:#163658}
#clearFilters,.text-action{color:#315e86}
.product-image .save{background:#fffffff0;color:#315e86;border:1px solid #d6e0eb}
.product-image .save.saved,.product-image .save[aria-pressed="true"]{background:#b4d4f4;color:#163658}
#listingOverlay .gallery-photo-tools{background:#edf4fa}
#listingOverlay :is(.photo-icon-button,.gallery-photo-number){background:#e6eef6;color:#163658;border-color:#ccd8e5}
#listingOverlay .photo-icon-button:hover{background:#b4d4f4;color:#163658}
#listingOverlay .gallery-remove:hover{background:#fbe5e9;color:#8e293e}
#listingOverlay .gallery-add>svg{color:#315e86}
.dossier{background:#fff}
.dossier-actions{background:#edf4fa}
.dossier-price strong{color:#000!important}
#profileTabContent{scroll-margin-top:100px}
#dossierInfo .seller-box>.avatar{flex:0 0 46px;width:46px;height:46px;min-width:46px;aspect-ratio:1;border-radius:50%;overflow:hidden;position:relative}
#dossierInfo .seller-box>div:not(.avatar){flex:1;min-width:0}
.item-owner-preferences{margin:18px 0;padding:16px;background:#f0f6fc;border:1px solid #d6e0eb;border-radius:12px;font-size:14px}
.item-owner-preferences .public-collecting{border:0;padding:0;margin:0;gap:12px}.item-owner-preferences .public-collecting h3{font-size:17px}.item-owner-preferences p{margin:0;color:#5e6b7b;line-height:1.5}
.item-owner-preferences .collecting-chips>span{background:#fff;padding:6px 9px;font-size:13px}.item-owner-preferences .collecting-chips{gap:6px}
#tradeOwnerPreferences{max-height:none;overflow:visible;padding:0;background:transparent;border:0}
.trade-preference-group,.trade-note-dropdown{margin-top:12px;border:1px solid #d6e0eb;border-radius:12px;background:#f0f6fc;overflow:hidden}
.trade-preference-group summary,.trade-note-dropdown summary{padding:16px;cursor:pointer;font-size:14px;font-weight:700;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.trade-preference-group summary::-webkit-details-marker,.trade-note-dropdown summary::-webkit-details-marker{display:none}
.trade-preference-group summary:after,.trade-note-dropdown summary:after{content:'⌄';font-size:18px}.trade-preference-group[open] summary:after,.trade-note-dropdown[open] summary:after{content:'⌃'}
.trade-preference-group .collecting-chips{padding:0 16px 16px;margin:0}.studio .trade-note-dropdown label{margin:0;padding:0 12px 12px;font-size:14px}
.studio-body{grid-template-columns:minmax(170px,.7fr) minmax(0,1fr) minmax(0,1fr) minmax(220px,.85fr)}
.studio .swap-symbol{display:none}.studio .side-total{min-width:0;width:auto;overflow-y:auto;padding:20px 16px}
.studio .collection-panel{min-width:0;padding:16px;border-right:1px solid #d6e0eb}
.studio .trade-selected{min-height:270px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #d6e0eb}
.studio .trade-selection-empty{font-size:14px;color:#5e6b7b;line-height:1.5;padding:45px 12px;text-align:center}
.studio .trade-selected .mini-card img{height:170px}.studio .side-total>.preference-card{display:none}
.studio .side-total>.preference-card.test-offer-notice{display:block}
.studio .side-total>strong{font-size:40px;white-space:nowrap;width:max-content;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.studio .side-total>label,.studio .side-total>.preference-card{width:100%}
.studio .inline-cash{font-size:14px;color:#315e86;margin-top:24px}
.inline-cash-field{display:flex;align-items:center;gap:6px;margin-top:8px;padding:8px 10px;border:1px solid #c4d7e9;border-radius:10px;background:#fff}
.inline-cash-field:focus-within{outline:2px solid #80b2df;outline-offset:2px}
.inline-cash-field input{width:100%;min-width:0;border:0!important;padding:4px 0!important;background:transparent;box-shadow:none!important;outline:none;font-size:16px;color:#172536;appearance:textfield}
.inline-cash-field input::-webkit-inner-spin-button,.inline-cash-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.inline-cash-field button{border:0;border-radius:50%;background:#edf4fb;color:#315e86;width:28px;height:28px;flex:0 0 28px;font-size:20px;cursor:pointer}
.cash-error{display:block;color:#a43333;font-size:12px;line-height:1.4;margin-top:6px}.cash-error:empty{display:none}
.studio .mini-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),220px));justify-content:center;align-items:start}
.studio .mini-card img{display:block;object-fit:contain;object-position:center;transform:none}
@media(min-width:901px){.studio .mini-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}.studio .side-total>strong{font-size:clamp(24px,2.6vw,40px);white-space:normal;overflow-wrap:anywhere;width:auto}.studio .mini-card b{font-size:14px}.studio .mini-card small{font-size:13px}}
@media(max-width:900px){.studio-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:auto}.studio .side-total{grid-column:auto;grid-row:1;width:auto;min-width:0;overflow:visible}.studio .side-total.partner{grid-column:2}.studio .collection-panel{grid-row:2;overflow:visible}.studio .swap-symbol{display:none}.studio .side-total>strong{font-size:clamp(22px,3.5vw,40px);max-width:100%}.studio .side-total>label,.studio .side-total>.preference-card{width:100%}}
@media(max-width:600px){.studio-body{display:flex}.studio .side-total>strong{font-size:32px}.studio .mini-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),200px))}}
.staff-tabs span,#staffTestMode,.test-mode-label{color:#315e86!important}
#staffTestMode,.test-mode-label,.test-mode-notice{background:#edf4fb!important;border-color:#b4d4f4!important;color:#315e86!important}
.test-action-panel{border-color:#b4d4f4!important}
.public-collecting{flex-basis:100%;width:100%;padding:20px 0;margin:10px 0;display:grid;gap:16px;border-top:1px solid #d6e0eb}
.public-collecting h3{margin:0;font-size:20px}.collecting-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.member-collection-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,290px);gap:28px;align-items:start}
.member-collection-listings{min-width:0}.member-collection-listings>h3{margin:0 0 20px;font-size:20px}
.member-collection-layout>.public-collecting{box-sizing:border-box;min-width:0;margin:0;padding:0;background:transparent;border:0;border-radius:16px}
.profile-preference-group{padding:20px 22px;border:1px solid #e1e8ef;border-radius:16px;background:#fbfcfe;min-width:0;box-shadow:0 2px 6px #17345204}
.profile-preference-group h4{margin:0 0 14px;font-size:14px;font-weight:600;letter-spacing:.01em;color:#263e55}
.profile-preference-group .collecting-chips{margin:0}
.item-owner-preferences:has(>.profile-preference-group){padding:0;border:0;background:transparent;display:grid;gap:14px}
.member-collection-layout .member-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.member-collection-layout .collecting-chips span{max-width:100%;overflow-wrap:anywhere}
@media(max-width:800px){.member-collection-layout{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:520px){.member-collection-layout .member-profile-grid{grid-template-columns:minmax(0,1fr)}}
.collecting-chips>span{padding:8px 12px;background:#edf4fb;color:#315e86;border:1px solid #d6e0eb;border-radius:8px;font-size:14px}
/* Photo-first trade cards retain their intrinsic rows inside independently scrolling grids. */
#studioOverlay.trade-page .mini-card{height:auto;min-height:0;flex-shrink:0;align-self:start}
#studioOverlay.trade-page .mini-card img{height:clamp(190px,25vh,300px);aspect-ratio:auto;object-fit:contain;transform:none;background:#f8fafc}
#studioOverlay.trade-page .mini-card .trade-piece-price{display:block;padding:12px 14px;font-size:26px;line-height:1.15;letter-spacing:-.04em;color:#193b5b}
#studioOverlay.trade-page .mini-card .trade-piece-description{position:absolute;left:8px;right:8px;top:52px;bottom:auto;max-height:calc(100% - 116px);overflow-y:auto;overflow-wrap:anywhere;border-radius:10px;background:rgba(255,255,255,.97);box-shadow:0 4px 20px #193b5b20;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .16s,transform .16s}
#studioOverlay.trade-page .mini-card:hover .trade-piece-description,#studioOverlay.trade-page .mini-card:focus-within .trade-piece-description{opacity:1;visibility:visible;transform:none}
#studioOverlay.trade-page .mini-card.selected{border-color:transparent;box-shadow:none}
#studioOverlay.trade-page .mini-card.selected [data-select]{width:auto;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#263e55;font-size:13px;opacity:0}
#studioOverlay.trade-page .mini-card.selected:hover [data-select],#studioOverlay.trade-page .mini-card.selected:focus-within [data-select]{opacity:1}
#studioOverlay.trade-page .mini-card button{z-index:2;cursor:pointer}
#studioOverlay.trade-page .side-total>strong{font-size:clamp(38px,4.6vw,76px);font-weight:650;line-height:1.05;letter-spacing:-.055em;margin:26px 0 12px}
#studioOverlay.trade-page .side-total>small{font-size:18px}
#studioOverlay.trade-page :is(h2,h3,summary,button,.side-total>small,footer strong,.collecting-chips){text-transform:capitalize}
#studioOverlay.trade-page .trade-cash-control,#studioOverlay.trade-page .trade-note-dropdown{background:white;border:1px solid #b4d4f4;border-radius:12px;margin-top:24px;box-shadow:0 3px 12px #193b5b06}
#studioOverlay.trade-page :is(.trade-cash-control,.trade-note-dropdown)>summary{min-height:54px;padding:16px;color:#315e86;font-size:16px;font-weight:650;text-align:center;display:block;cursor:pointer;background:#fff}
#studioOverlay.trade-page :is(.trade-cash-control,.trade-note-dropdown)>summary:hover{background:#edf4fb}
#studioOverlay.trade-page .trade-note-dropdown>summary:after{display:none}
@media(hover:none){#studioOverlay.trade-page .mini-card .trade-piece-description{position:static;opacity:1;visibility:visible;max-height:none;transform:none;box-shadow:none;background:white}#studioOverlay.trade-page .mini-card .trade-piece-description small{font-size:12px}#studioOverlay.trade-page .mini-card.selected [data-select]{opacity:1}}
/* Dedicated trade page, with a stable collection boundary regardless of selection count. */
#studioOverlay.trade-page{display:none;position:fixed;inset:0;z-index:60;background:#fff;padding:0;backdrop-filter:none;overflow:hidden}
#studioOverlay.trade-page.open{display:block}
body.trade-page-active>.rail,body.trade-page-active>.topbar,body.trade-page-active>.view{visibility:hidden}
#studioOverlay.trade-page .studio{width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none;display:grid;grid-template-rows:80px minmax(0,1fr) 116px;overflow:hidden}
#studioOverlay.trade-page .studio>header .close{width:auto;height:auto;font-size:14px;padding:12px 18px;border-radius:10px}
#studioOverlay.trade-page .collection-panel{display:grid;grid-template-rows:min(52vh,calc(100% - 210px)) auto auto minmax(0,1fr);min-height:0;overflow:hidden;gap:12px;padding:20px}
#studioOverlay.trade-page .trade-selected{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;margin:0;padding:0 0 16px;overflow:hidden;gap:12px}
#studioOverlay.trade-page .collection-panel h3{margin:0}
#studioOverlay.trade-page .trade-selected>.mini-grid{overflow-y:auto;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:16px;padding:2px;min-height:0}
#studioOverlay.trade-page .trade-selected>.mini-grid.single{grid-template-columns:minmax(0,300px);justify-content:center}
#studioOverlay.trade-page .trade-selected .mini-card img{height:clamp(180px,24vh,300px);width:100%;object-fit:contain}
#studioOverlay.trade-page .collection-panel>.mini-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;gap:16px;padding:2px}
#studioOverlay.trade-page .mini-card[hidden]{display:none}
#studioOverlay.trade-page .trade-selection-empty{grid-column:1/-1;min-height:180px}
.trade-cash-card{position:relative;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:1px solid #92bee8;border-radius:14px;background:#fff;color:#315e86;box-shadow:inset 0 5px #b4d4f4}
.trade-cash-card>strong{font-size:clamp(24px,2.6vw,38px);letter-spacing:-.04em;overflow-wrap:anywhere;max-width:90%}.trade-cash-card>span{font-size:14px}.trade-cash-card>button{position:absolute;right:10px;top:12px;border:0;border-radius:50%;background:#edf4fb;color:#315e86;width:30px;height:30px;cursor:pointer}
.studio .trade-cash-control{margin-top:24px;background:#fff;border:1px solid #b4d4f4;border-radius:12px;overflow:hidden}
.studio .trade-cash-control>summary{padding:15px 16px;color:#315e86;font-size:16px;font-weight:600;list-style:none;cursor:pointer}.trade-cash-control>summary::-webkit-details-marker{display:none}
.studio .trade-cash-control .inline-cash{margin:0;padding:0 12px 12px;font-size:0}.studio .trade-cash-control .cash-error{font-size:12px}
#studioOverlay.trade-page .trade-cash-control[open]>summary{display:none}
#studioOverlay.trade-page .trade-cash-control[open] .inline-cash{margin:0;padding:0;font-size:0}
#studioOverlay.trade-page .trade-cash-control .inline-cash-field{margin:0;border:0;min-height:54px;padding:10px 14px;gap:10px}
#studioOverlay.trade-page .trade-cash-control .inline-cash-field>span{font-size:18px;color:#315e86}
#studioOverlay.trade-page .trade-cash-control .cash-error:not(:empty){display:block;padding:8px 12px}
.trade-collection-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;position:relative}
.trade-collection-filters>input,.trade-collection-filters select,.trade-filter-fields input{min-width:0;width:100%;padding:10px;border:1px solid #d6e0eb;border-radius:9px;background:#fff;color:#263e55;font-size:14px}
.trade-collection-filters summary{cursor:pointer;list-style:none;padding:11px 12px;background:#edf4fb;color:#315e86;border-radius:9px;font-size:14px}
.trade-filter-fields{position:absolute;right:0;top:45px;z-index:3;width:min(320px,100%);padding:16px;display:grid;gap:12px;background:#fff;border:1px solid #d6e0eb;border-radius:12px;box-shadow:0 12px 32px #17345224;max-height:240px;overflow:auto}
.trade-filter-fields label{display:grid;gap:5px;font-size:14px}.trade-collection-filters>p{grid-column:1/-1;font-size:14px;margin:0;color:#65788b}.trade-collection-filters>p[hidden]{display:none}
#studioOverlay.trade-page .studio>footer{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 52px;gap:8px 16px;padding:10px 24px}
#studioOverlay.trade-page .studio>footer>div{grid-column:1;display:flex;align-items:center;gap:12px}
#studioOverlay.trade-page #saveOfferDraft{grid-column:2;grid-row:1;min-width:0;padding:6px 12px;font-size:14px}
#studioOverlay.trade-page #reviewTrade{grid-column:1/-1;grid-row:2;width:100%;font-size:18px;padding:12px;background:#b4d4f4;color:#193b5b}
@media(max-width:900px){#studioOverlay.trade-page .studio-body{overflow:auto}#studioOverlay.trade-page .collection-panel{height:760px;grid-row:2}#studioOverlay.trade-page .side-total{overflow:visible}#studioOverlay.trade-page .studio{grid-template-rows:76px minmax(0,1fr) 116px}}
@media(max-width:600px){#studioOverlay.trade-page .studio-body{display:grid;grid-template-columns:minmax(0,1fr)}#studioOverlay.trade-page .side-total,#studioOverlay.trade-page .side-total.partner,#studioOverlay.trade-page .collection-panel{grid-column:1;grid-row:auto}#studioOverlay.trade-page .collection-panel{height:720px}#studioOverlay.trade-page .studio>header h2{font-size:18px}#studioOverlay.trade-page .studio>footer{padding-inline:14px}}
/* Quiet, consistent surfaces for collecting preferences and the trade workspace. */
.profile-preference-group .collecting-chips>span,.trade-preference-group .collecting-chips>span{padding:7px 11px;border:1px solid #e1e9f2;border-radius:999px;background:#edf4fb;color:#365878;font-size:14px;line-height:1.35;max-width:100%;overflow-wrap:anywhere}
.profile-preference-group .collecting-chips,.trade-preference-group .collecting-chips{gap:8px}
.studio{box-shadow:0 24px 80px #152b4430}
.studio>header{padding-inline:26px;background:#fff}
.studio>header h2{font-size:clamp(20px,2vw,28px);letter-spacing:-.025em;line-height:1.2}
.studio .side-total{background:#f7f9fc;padding:24px 18px;border-color:#e5ebf2}
.studio .side-total>span{font-size:12px;letter-spacing:.09em;font-weight:600;color:#6a7d91}
.studio .side-total>strong{margin-top:18px;color:#20374c;line-height:1.15}
.studio .side-total>small{font-size:14px;margin-top:5px;color:#708094}
.studio .collection-panel{padding:22px 18px;border-color:#e5ebf2}
.studio .collection-panel h3{font-size:16px;font-weight:600;letter-spacing:-.015em;margin:0 0 18px}
.studio .trade-selected{padding-bottom:22px;margin-bottom:22px;border-color:#e5ebf2}
.studio .trade-selection-empty{display:grid;place-items:center;min-height:180px;padding:24px;margin:0;border:1px dashed #d4e0ec;border-radius:16px;background:#fafcfe;color:#738499;font-size:14px}
.studio .mini-card{border-color:#e1e8ef;border-radius:14px;box-shadow:0 3px 10px #17345206;background:#fff}
.studio .mini-card.selected{border-color:#92bee8;box-shadow:0 0 0 1px #92bee8,0 4px 14px #315e8610}
.studio .mini-card div{padding:13px 14px}.studio .mini-card b{line-height:1.4;font-weight:600}.studio .mini-card small{line-height:1.4}
.studio .mini-card button{box-shadow:0 2px 8px #17345214}
.studio .inline-cash{font-size:14px;font-weight:500;color:#526b82}
.studio .inline-cash-field{border-color:#dce5ef;border-radius:12px;padding:9px 10px;background:#fff}
.studio .trade-preference-group,.studio .trade-note-dropdown{background:#fff;border-color:#e1e8ef;border-radius:14px;margin-top:10px;box-shadow:0 2px 6px #17345203}
.studio .trade-preference-group summary,.studio .trade-note-dropdown summary{padding:16px;font-size:14px;font-weight:600;color:#2d465e;line-height:1.4;transition:background .15s ease}
.studio .trade-preference-group summary:hover,.studio .trade-note-dropdown summary:hover{background:#f3f7fc}
.studio .trade-preference-group summary:after,.studio .trade-note-dropdown summary:after{content:'';width:7px;height:7px;flex:0 0 7px;border-right:1.5px solid #7890a8;border-bottom:1.5px solid #7890a8;transform:rotate(45deg);margin:0 3px 4px 10px}
.studio .trade-preference-group[open] summary:after,.studio .trade-note-dropdown[open] summary:after{transform:rotate(225deg);margin-bottom:0}
.studio summary:focus:not(:focus-visible){outline:none}.studio summary:focus-visible{outline:2px solid #80b2df;outline-offset:-3px;border-radius:12px}
.studio>footer{background:#fff;border-color:#e1e8ef;box-shadow:0 -4px 16px #17345204;padding-inline:24px;gap:16px}
.studio>footer div strong{font-size:20px;letter-spacing:-.025em;color:#20374c}
.studio>footer button{border-radius:12px}
@media(max-width:600px){.profile-preference-group{padding:16px}.studio .side-total,.studio .collection-panel{padding:18px 14px}.studio>header{padding-inline:18px}.studio>footer{padding-inline:14px}}
.public-preferences-toggle{display:grid!important;grid-template-columns:20px 1fr;gap:8px 12px;margin-top:28px;align-items:center}
.public-preferences-toggle input{width:18px!important;height:18px;accent-color:#315e86}.public-preferences-toggle small{grid-column:2;color:#5e6b7b;font-weight:400}
.profile-photo-editor{grid-template-columns:88px minmax(0,1fr)!important;gap:12px 20px!important;background:#fff!important;padding:20px!important;align-items:center}
.profile-photo-editor>.profile-photo-preview{grid-row:1 / 3!important;width:88px!important;height:88px!important}
.profile-photo-editor>.photo-editor-copy{grid-column:2!important;grid-row:1!important}.photo-editor-copy h3{margin:0 0 6px;font-size:17px}.photo-editor-copy p{margin:0 0 12px;font-size:13px;color:#5e6b7b}
.profile-photo-editor>.photo-editor-tools{grid-column:2!important;grid-row:2!important;display:flex;gap:8px}
.profile-photo-editor .photo-editor-tools button{background:#edf4fb!important;color:#315e86!important;padding:8px 12px;font-size:13px}
.profile-photo-editor input[hidden]{display:none!important}.profile-photo-editor>[role=status]:empty{display:none}.profile-photo-editor>section{grid-column:1 / -1!important}
@media(max-width:1100px){.topbar #viewKicker{display:none}.topbar{padding-inline:16px}}
@media(max-width:650px){#topFavorites span{display:none}#topFavorites{padding:10px}.top-actions{gap:5px}}
/* Test inventory is visibly distinguished from actual marketplace listings. */
.synthetic-badge{display:block;padding:6px 12px;background:#e8f2fc;color:#234c72;font-size:12px;font-weight:700;border-block:1px solid #cbdff0}
.compact-card-meta span{color:#000}
#marketView .compact-home-card .product-copy{padding:10px 12px}
#marketView .compact-home-card .product-copy h3{font-size:20px;line-height:1.2;min-height:0;margin:0 0 5px}
#marketView .compact-home-card .card-title{line-height:1.2}
#marketView .compact-home-card .compact-card-meta span{color:#000}
/* Clean form controls and text-link interactions. */
input[type="number"]{appearance:textfield;-moz-appearance:textfield}
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#listingOverlay #listDescription{background:#fff!important;box-shadow:none!important}
.dossier-copy{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.dossier-price>span{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
#listingOverlay #listDescription:focus{outline:1px solid #315e86;outline-offset:2px;border-color:#ccd8e5!important;box-shadow:none!important;background:#fff!important}
.brand-link{border:0;padding:0;background:transparent!important;box-shadow:none!important;color:inherit;font:inherit;text-align:left;cursor:pointer;text-decoration:none;text-decoration-thickness:1px;text-underline-offset:3px;-webkit-user-select:none;user-select:none}
.brand-link::selection,.brand-link *::selection{background:transparent;color:inherit}
.trade-listing>summary:hover{background:transparent!important;box-shadow:none!important}
.trade-listing>.trade-piece{border-bottom:0}
.trade-listing>.text-action{margin:0 0 12px;padding:0;color:#263445}
.trade-snapshot{margin:0 0 12px;font-size:14px;color:#64748b}
.trade-snapshot>summary{cursor:pointer}
.brandline .brand-link{max-width:75%;overflow-wrap:anywhere}
@media(hover:hover){.brand-link:hover,.seller-link:hover,[data-open-member]:not(.quiet):not(.acid):hover,.text-action:hover,.card-title:hover{background:transparent!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:3px;color:#315e86!important}}
.brand-link:focus-visible{outline:2px solid #315e86;outline-offset:3px}
@media(min-width:801px){
 .rail nav#mainNav{order:1!important;flex:1;min-height:0}
 .rail nav.rail-settings{order:2!important;flex:0 0 auto!important;overflow:visible;margin:0!important;border-top:1px solid #d6e0eb;padding-top:8px}
 .rail>.avatar{order:3!important;margin-top:0!important}
 .rail nav.rail-settings button{height:66px;min-height:66px}
}
@media(max-width:800px){.rail nav.rail-settings{flex:0 0 auto;width:auto}.rail nav.rail-settings button{min-width:48px}.rail:has(.rail-settings){display:flex;flex-direction:row;gap:2px}.rail nav#mainNav{flex:1;min-width:0}}

/* Middleman design system. Final presentation layer; no trade or account behavior. */
:root {
  --mm-ink:#20282e; --mm-navy:#20476a; --mm-blue:#b4d4f4;
  --mm-muted:#66717a; --mm-line:#e0e4e7; --mm-surface:#f6f7f7;
  --mm-radius:6px; --mm-content:1744px; --mm-space:clamp(16px,2.5vw,36px); --soft:var(--mm-ink); --muted:var(--mm-muted); --line:var(--mm-line);
  --sans:'Inter',Arial,sans-serif; --mono:var(--sans);
}
body {font-family:var(--sans);color:var(--mm-ink);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4 {text-wrap:pretty}
button,input,select,textarea {font-family:inherit}
input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {outline:2px solid var(--mm-navy);outline-offset:3px}
img {max-width:100%}
.brand-link {overflow-wrap:anywhere}
.view :is(h1,h2,h3,p),.dossier-info,.member-profile-head>div {min-width:0;overflow-wrap:anywhere}
.micro {font-size:12px;letter-spacing:.1em;font-weight:500}
.page-title h1 {font-size:38px;line-height:1.15;font-weight:550;letter-spacing:-.04em}
.page-title {margin:0 0 24px}
.page-wrap,.page-wrap.narrow,#tradesView .page-wrap {padding:28px var(--mm-space) 56px;max-width:1440px}
#searchView .page-wrap,#closetView .page-wrap {max-width:var(--mm-content)}
input:not([type=checkbox]):not([type=radio]),select,textarea {border-radius:var(--mm-radius);font-size:16px;font-weight:400;border-color:#d7dcdf!important}
input::placeholder,textarea::placeholder {color:#737d85;font-weight:400}
input[type=checkbox],input[type=radio] {accent-color:var(--mm-navy)}
button:disabled {cursor:default}
:is(.quiet,.acid,.light,.cash-btn,.icon-btn,.danger-btn) {border-radius:var(--mm-radius);font-weight:600;min-height:44px;font-size:14px;line-height:1.4}
:is(.quiet,.light,.cash-btn,.icon-btn) {background:#fff;color:var(--mm-ink);border:1px solid var(--mm-line);box-shadow:none}
.acid {background:var(--mm-blue)!important;color:#173b5c!important;border:1px solid transparent!important}
:is(.close,.notification-dialog [data-close]) {border-radius:var(--mm-radius);background:#f3f5f5;color:var(--mm-ink)}
@media(hover:hover) {
  :is(.quiet,.icon-btn,.light,.cash-btn,.product-foot button):not(:disabled):hover {background:#f1f3f4!important;color:var(--mm-ink)!important;border-color:#c9d1d6!important}
  .acid:not(:disabled):hover {background:#9fc5ec!important;color:#173b5c!important}
}

/* Navigation: a quiet frame, one primary action, clear current location. */
body .topbar,body .rail {border-color:var(--mm-line)!important;box-shadow:none;backdrop-filter:none}
body .topbar {padding-inline:36px}
body .topbar #viewTitle {color:var(--mm-ink)!important;font-size:20px;font-weight:550;letter-spacing:-.025em}
body:has(:is(#marketView,#settingsView).active) .topbar #viewTitle {font-size:27px;font-weight:650;letter-spacing:-.055em}
body .topbar #viewKicker {font-size:13px;color:var(--mm-muted)}
body .topbar .top-actions {gap:10px}
body .topbar .top-actions :is(.quiet,.icon-btn) {background:#fff;color:var(--mm-ink);border-color:var(--mm-line);border-radius:var(--mm-radius);font-weight:500}
body .topbar .top-actions #newListing {background:var(--mm-blue)!important;color:#173b5c!important;border:1px solid transparent!important;font-weight:600}
body .topbar .top-actions :is(#topFavorites,#openSearch,.notification-bell) {border-color:transparent;background:transparent}
body .logo {border-radius:9px;background:var(--mm-blue)!important;box-shadow:none}
body .rail nav button {border-radius:5px;color:#66717a}
body .rail nav button.active {background:transparent!important;color:var(--mm-navy)!important;--icon-surface:#fff!important}
body .rail nav button.active b {color:var(--mm-navy)!important}
body .rail nav button.active:after {display:block!important;content:'';position:absolute;left:0;top:22px;width:2px;height:28px;background:var(--mm-blue);border-radius:0}
body .rail nav button b {font-weight:500;font-size:12px}
body .rail nav button.active b {font-weight:650}
body .rail nav.rail-settings {border-color:var(--mm-line)}
@media(hover:hover){body .rail nav button:not(.active):hover {background:#f5f6f6!important;color:var(--mm-ink)!important;--icon-surface:#f5f6f6}}

/* A product-led editorial feature, without a blurred duplicate image. */
#marketView {color:var(--mm-ink);font-family:var(--sans)}
#marketView .market-main {padding:24px var(--mm-space) 56px;max-width:var(--mm-content);margin-inline:auto;width:100%}
#marketView :is(h1,h2,h3) {font-family:var(--sans);color:var(--mm-ink);font-weight:550}
#marketView [data-premium] .social-post {border:0;border-radius:0;box-shadow:none;background:#f5f6f5}
#marketView .social-post-main {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
#marketView .feed-section {margin:0 0 24px}
#marketView .social-photo {height:clamp(300px,27vw,360px);background:#f0f1ef}
#marketView .social-photo>.photo-backdrop {display:none}
#marketView .social-photo.portrait-photo>img:not(.photo-backdrop) {object-fit:contain;padding:22px;filter:none;transform:none}
#marketView .social-caption {padding:28px clamp(24px,3vw,48px);align-items:flex-start}
#marketView .social-caption>.micro {display:block;margin-bottom:12px;color:var(--mm-muted);font-size:12px;letter-spacing:.12em}
#marketView .social-caption h3 {font-size:clamp(26px,2.3vw,34px);line-height:1.16;letter-spacing:-.04em;font-weight:500;margin:0 0 18px}
#marketView .social-caption p {font-size:14px;color:var(--mm-muted);margin:0 0 22px}
#marketView .social-value {font-size:26px;font-weight:550;letter-spacing:-.035em;color:var(--mm-ink)!important}
#marketView .social-actions {margin-top:20px;gap:10px}
#marketView .social-actions .quiet {background:var(--mm-blue);color:#173b5c;border-radius:var(--mm-radius);padding:12px 22px}
#marketView .social-actions .save {border:1px solid #d4dadd;border-radius:var(--mm-radius);background:transparent;color:var(--mm-navy)}
#marketView .slideshow-controls {margin-top:12px}
#marketView .slideshow-controls button {border-color:var(--mm-line);border-radius:var(--mm-radius);color:var(--mm-ink);box-shadow:none}
#marketView .slide-dots button {border:0;background:transparent}
#marketView .slide-dots button:after {height:2px;border-radius:0;background:#dce1e4}
#marketView .slide-dots button[aria-current=true]:after {background:var(--mm-navy)}
#marketView .slideshow-controls output {color:var(--mm-muted)}
#marketView [data-discover] {margin-top:24px}
.collection-heading {display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 0 20px!important;padding-top:20px;border-top:1px solid var(--mm-line)}
#marketView .collection-heading h2 {font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.025em;margin:0}
.collection-heading a {font-size:14px;color:var(--mm-muted);text-decoration:none}

/* Unboxed catalog cards keep the photography, designer and price in charge. */
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-card {border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;min-width:0}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-card:hover {transform:none;border:0;box-shadow:none}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-image {border-radius:4px;overflow:hidden;background:#f3f4f3;height:auto;aspect-ratio:4/5}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-image>img {width:100%;height:100%;object-fit:contain;transform:none;transition:none}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-copy {padding:14px 0 0}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-copy h3 {font-size:16px;line-height:1.45;font-weight:500;letter-spacing:-.015em;margin:7px 0 0;min-height:0}
:is(#marketView,#searchView,#closetView,#memberOverlay) .brandline {font-size:13px;color:var(--mm-muted);line-height:1.5;gap:10px}
:is(#marketView,#searchView,#closetView,#memberOverlay) .brand-link {color:var(--mm-ink);font-weight:550;text-decoration:none}
:is(#marketView,#searchView,#closetView,#memberOverlay) .brand-link:is(:hover,:focus-visible) {text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;background:transparent!important}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-foot {border:0;padding-top:10px;margin-top:0;align-items:flex-start}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-foot strong {font-size:19px;font-weight:600;letter-spacing:-.025em;color:var(--mm-ink)!important}
.product-meta {display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;min-width:0}
.product-size {font-size:13px;color:var(--mm-muted)}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-foot button,.trade-listing>.text-action,#tradesView [data-real-offer] {background:#f7f8f8;border:1px solid var(--mm-line);color:var(--mm-ink);font-size:14px;font-weight:500;border-radius:var(--mm-radius);padding:10px 16px;min-height:44px;text-decoration:none;-webkit-tap-highlight-color:transparent}
:is(.product-foot button,.trade-listing>.text-action,#tradesView [data-real-offer]):focus-visible {outline:2px solid var(--mm-navy);outline-offset:3px}
:is(.product-foot button,.trade-listing>.text-action,#tradesView [data-real-offer]):active {background:#e9edef}
@media(hover:hover){.trade-listing>.text-action:hover {background:#f1f3f4!important;color:var(--mm-ink)!important;text-decoration:none}}
:is(#marketView,#searchView,#closetView,#memberOverlay) .seller-link {font-size:12px;color:var(--mm-muted);padding:0;margin-top:9px;min-height:28px}
.product-image .condition {font-size:12px;border-radius:3px;padding:5px 8px;left:10px;bottom:10px;background:#fffffff0;color:#3d464c}
.product-image .save {width:36px;height:36px;right:10px;top:10px;border:0;background:#fffffff2;color:var(--mm-navy);box-shadow:none}
:is(#marketView,#searchView,#closetView) .product-grid {gap:32px 20px}
#marketView .compact-home-card .product-copy {padding:14px 0 0}
#marketView .compact-home-card .product-copy h3 {font-size:16px;line-height:1.45;font-weight:500;margin:0 0 8px}
#marketView .compact-home-card .card-title {line-height:1.45}
#marketView .compact-card-meta strong {font-size:19px;letter-spacing:-.025em;font-weight:600;color:var(--mm-ink)}
#marketView .compact-card-meta span {font-size:13px;color:var(--mm-muted)!important}

.listing-owner-actions {padding:0 16px 16px;display:flex;gap:8px;flex-wrap:wrap}
.listing-owner-actions svg {display:none}
/* Search uses an open sidebar and a single typographic results hierarchy. */
#searchView .search-hero {height:56px;border-radius:var(--mm-radius);background:#f6f7f7;border:1px solid transparent;gap:16px;margin-bottom:16px}
#searchView .search-hero input {background:transparent!important;padding-block:14px}
#searchView .search-hero kbd {border-color:#d8dddf;color:var(--mm-muted);font-size:12px;background:#fff}
#searchView .marketplace-browser {grid-template-columns:220px minmax(0,1fr);gap:32px}
#searchView .browse-filters {border:0;border-radius:0;background:transparent;padding:0 24px 0 0;border-right:1px solid var(--mm-line)}
#searchView .filter-title {padding:0 0 18px}
#searchView .filter-title .micro {display:none}
#searchView .filter-title b {font-size:14px;font-weight:600}
#searchView :is(.filter-block,.filter-check,.multi-filter) {border-color:var(--mm-line);font-size:14px;font-weight:500}
#searchView .multi-filter summary {color:var(--mm-ink)}
#searchView .filter-block>select {font-size:14px;min-height:42px;font-weight:400}
#searchView .segmented button {border-radius:4px;background:#fff;font-weight:500;border-color:var(--mm-line)}
#searchView .segmented button.active {background:#edf3f8!important;color:var(--mm-navy)!important;border-color:#bfd2e2!important}
#searchView .results-head {margin:0 0 20px;gap:16px;align-items:end}
#searchView .results-head h2 {font-size:30px;font-weight:550;letter-spacing:-.035em;margin:4px 0 8px}
#searchView .results-head p {font-size:14px;color:var(--mm-muted);line-height:1.5;margin:0}
#searchView .sort-control select {font-size:14px;min-height:42px}
.search-tabs {margin-bottom:20px;border-color:var(--mm-line);gap:28px}
.search-tabs button {font-size:14px;font-weight:500;padding:14px 0;color:var(--mm-muted)}
.search-tabs button.active {color:var(--mm-ink);border-color:var(--mm-ink)}

/* Profiles and settings: grouped by spacing and fine dividers, not nested boxes. */
.profile-hero {background:#f6f8f9;border-color:var(--mm-line);padding:36px;gap:24px}
.profile-hero h1 {font-size:36px;font-weight:550;letter-spacing:-.04em}
.profile-hero p {font-size:16px;color:var(--mm-muted)}
.profile-stats b {font-size:24px;font-weight:500}.profile-stats span {font-size:12px}
#closetSocial {padding:16px 36px;border-color:var(--mm-line);gap:24px}
.social-counts {gap:22px}
.social-counts button {border:0;background:transparent;padding:5px 0;border-radius:0;font-size:14px;color:var(--mm-ink)}
.social-counts span {color:var(--mm-muted)}
.profile-preferences {border:0;background:transparent;padding:0;max-width:1000px}
.profile-preferences h2 {font-size:28px;letter-spacing:-.025em;font-weight:550}
.preference-editor {gap:0}
.preference-editor>div {padding:24px 0;border:0;border-top:1px solid var(--mm-line);background:transparent;border-radius:0}
.preference-editor h3 {font-size:18px;font-weight:550}
.preference-editor p {font-size:14px;line-height:1.6}
.preference-options {gap:8px}
.preference-options button {border-radius:4px;border-color:#dce1e4;padding:9px 13px;font-size:14px;background:#fff;color:var(--mm-muted)}
.preference-options button.selected {background:#edf3f8;border-color:#b9cee0;color:var(--mm-navy)}
.settings-grid {grid-template-columns:200px minmax(0,820px);gap:40px;justify-content:start}
.settings-grid>nav {gap:4px}
.settings-grid>nav button,.settings-grid>nav button.active {border-radius:4px;background:transparent;color:var(--mm-muted);font-size:14px;font-weight:500;padding:12px 16px;text-align:left}
.settings-grid>nav button.active {background:#f0f4f7;color:var(--mm-navy);font-weight:600}
.settings-card {border:0;border-left:1px solid var(--mm-line);border-radius:0;padding:0 0 24px 36px;background:transparent}
.settings-card h2 {font-size:28px;font-weight:550;letter-spacing:-.03em}
.settings-card label {font-size:14px;font-weight:500}
.settings-card :is(input,textarea) {font-size:16px;font-weight:400}
.settings-card .profile-photo-editor {border:0;border-block:1px solid var(--mm-line);border-radius:0;padding:22px 0!important;margin:22px 0}
.settings-card a[href*="signout"] {background:transparent;color:var(--mm-muted);border:1px solid var(--mm-line);border-radius:var(--mm-radius);font-size:14px;font-weight:500}
.empty-state {min-height:180px;padding:32px 24px}
.empty-state strong,.saved-empty b {font-size:24px;font-weight:500;letter-spacing:-.025em}
.empty-state>span {color:var(--mm-muted);font-size:16px}

/* Listing detail and public preferences retain their always-open content. */
.overlay {background:rgba(26,34,42,.4);backdrop-filter:blur(5px)}
/* Hide the listing atomically; fading its parent blends its text with the feed. */
#itemOverlay {transition:none}
.dossier,.member-profile,.review-panel,.trade-detail,.listing-intake,.trade-picker {border-radius:10px;box-shadow:0 24px 80px #172b4524}
.dossier-media {background:#f6f7f6;border-color:var(--mm-line)}
.dossier-info {color:var(--mm-ink);padding:36px clamp(24px,3vw,44px) 28px}
.dossier-info h2 {font-size:clamp(28px,3vw,38px)}
.dossier-price strong {font-size:clamp(30px,3vw,36px)}
.dossier-media {padding:28px}
.image-stage {width:100%;max-height:100%}
.image-nav button,.dossier>.close {min-width:44px;min-height:44px}
@media(min-width:801px){#dossierInfo>.reference-note {margin-top:0;padding-right:48px}}
.dossier-info :is(h1,h2) {font-weight:500;letter-spacing:-.04em;line-height:1.12}
.dossier-price strong {font-weight:550;letter-spacing:-.035em;color:var(--mm-ink)!important}
.dossier-info .seller-box {border-radius:0;background:transparent;border-block:1px solid var(--mm-line);padding:20px 0}
.profile-preference-group {border:0;border-bottom:1px solid var(--mm-line);border-radius:0;background:transparent;box-shadow:none;padding:20px 0}
.profile-preference-group h4 {font-size:14px;color:var(--mm-muted);margin-bottom:14px;font-weight:500}
.profile-preference-group .collecting-chips>span {background:#f4f6f7;border:0;border-radius:4px;color:var(--mm-ink);padding:8px 12px;font-size:14px}
.item-owner-preferences:has(>.profile-preference-group) {gap:0}
.dossier-actions {background:#fff;border-top:1px solid var(--mm-line);gap:12px;padding:8px 18px max(8px,env(safe-area-inset-bottom));min-height:0}
.item-facts>div,.measurement-list>div {border-radius:0;background:transparent;padding:10px 0}
.item-facts span,.measurement-list span {font-size:12px;color:var(--mm-muted);opacity:1}
.item-facts b,.measurement-list b {font-weight:500}
.detail-box {border-radius:0;background:transparent;padding:13px 0}
.detail-box span,.image-stage span {font-size:12px}
.detail-box b {font-size:16px;font-weight:500}

/* Transactions and messages share the same subdued surfaces and controls. */
#tradesView .next-actions {border:0;border-left:2px solid var(--mm-blue);border-radius:0;background:#f6f8f9;padding:22px 24px}
#tradesView .trade-tabs {background:transparent;border:0;border-radius:0;padding:0;gap:8px;flex-wrap:wrap;overflow:visible}
#tradesView .trade-tabs button {background:#fff;border:1px solid #e7eaec;border-radius:var(--mm-radius);padding:10px 14px;color:var(--mm-muted);font-weight:500;min-height:44px;box-shadow:none}
#tradesView .trade-tabs button.active {background:#edf0f2;border-color:#dbe1e5;color:var(--mm-ink);font-weight:600;box-shadow:none}
.trade-summary-label,.trade-summary-stack {display:none}
.trade-summary-piece {border:0;background:transparent;padding:0;color:inherit;font:inherit;border-radius:4px;text-align:left}
.trade-summary-piece:focus-visible {outline:2px solid var(--mm-navy);outline-offset:4px}
.toast {color:#fff}
.toast.quiet-confirmation {background:#f7f9f8;color:var(--mm-ink);border:1px solid var(--mm-line);box-shadow:0 3px 12px #20282e12;border-radius:8px;font:500 14px/1.4 var(--sans);padding:12px 18px;text-align:left;max-width:calc(100vw - 32px)}
.toast.quiet-confirmation small {display:block;font-size:12px;font-weight:400;color:var(--mm-muted);margin-top:3px}
#tradesView .trade-row {border-radius:6px;border-color:var(--mm-line);padding:24px;background:#fff;box-shadow:none}
#tradesView .trade-summary-piece strong {font-size:22px;font-weight:500;line-height:1.35}
#tradesView .compact-protection {border-radius:6px;border-color:var(--mm-line)}
.threads {border-color:var(--mm-line);background:#fafbfb}.thread-search {border-radius:var(--mm-radius)}
.thread {border-radius:0;border-color:var(--mm-line)}.thread.active {background:#eaf2f9}
.chat header {border-color:var(--mm-line)}.chat #chatForm {border-color:var(--mm-line)}
.chat input {border-radius:var(--mm-radius)}

/* Trade workspace: two balanced collections with one shared preference brief. */
#studioOverlay.trade-page .studio {max-width:1800px;margin:auto;box-shadow:none;background:#fff;grid-template-rows:72px minmax(0,1fr) 80px}
#studioOverlay.trade-page .studio>header {padding:14px 24px;border-color:var(--mm-line);gap:16px}
#studioOverlay.trade-page .studio>header h2 {font-size:24px;font-weight:550;letter-spacing:-.035em;line-height:1.2}
#studioOverlay.trade-page .studio>header .micro {font-size:12px;color:var(--mm-muted)!important}
#studioOverlay.trade-page .studio-body {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(220px,280px);gap:0;overflow:hidden}
#studioOverlay.trade-page .studio-body:has(.trade-preferences-column:empty) {grid-template-columns:repeat(2,minmax(0,1fr))}
.trade-column {display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;border-right:1px solid var(--mm-line)}
#studioOverlay.trade-page .side-total {display:grid;grid-column:1;grid-row:auto;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;padding:18px 22px;background:#f7f9fb;overflow:visible;border:0}
#studioOverlay.trade-page .side-total>span {grid-column:1;font-size:12px;color:var(--mm-navy)}
#studioOverlay.trade-page .side-total>strong {grid-column:1;grid-row:2;font-size:32px;line-height:1.1;margin:0;color:var(--mm-navy);font-weight:550;letter-spacing:-.04em;overflow-wrap:anywhere;white-space:normal}
#studioOverlay.trade-page .side-total>small {grid-column:1;font-size:14px;margin:0;color:var(--mm-muted)}
#studioOverlay.trade-page .trade-cash-control {grid-column:2;grid-row:1/4;max-width:180px;min-width:130px;margin:0;border:1px solid #c6d7e5;border-radius:var(--mm-radius);box-shadow:none;background:white}
#studioOverlay.trade-page .trade-cash-control summary {min-height:44px;padding:12px;font-size:14px;white-space:normal}
#studioOverlay.trade-page .trade-cash-control .inline-cash-field {min-height:46px;padding:8px 10px}
#studioOverlay.trade-page .inline-cash-field button {min-width:40px;min-height:40px}
#studioOverlay.trade-page .collection-panel {grid-template-rows:minmax(230px,46%) auto auto minmax(0,1fr);height:auto;grid-column:1;grid-row:auto;gap:12px;padding:18px 20px;border:0}
#studioOverlay.trade-page .collection-panel:has(.trade-selection-empty) {grid-template-rows:auto auto auto minmax(0,1fr)}
#studioOverlay.trade-page .collection-panel h3 {font-size:16px;font-weight:550;margin:0}
#studioOverlay.trade-page .trade-selected {gap:10px;padding:0 0 14px;margin:0;border-bottom:1px solid var(--mm-line)}
#studioOverlay.trade-page .mini-card {border:0;border-radius:4px;background:#f6f7f7;box-shadow:none;min-width:0}
#studioOverlay.trade-page .mini-card.selected {border:0;box-shadow:none}
#studioOverlay.trade-page .mini-card img,#studioOverlay.trade-page .trade-selected .mini-card img {height:clamp(100px,14vh,150px);width:100%;object-fit:contain;transform:none;background:#f5f6f5}
#studioOverlay.trade-page .mini-card .trade-piece-price {background:#fff;font-size:22px;line-height:1.2;padding:10px 0;color:var(--mm-navy);font-weight:600}
#studioOverlay.trade-page .mini-card .trade-piece-description {position:static;opacity:1;visibility:visible;transform:none;max-height:none;overflow:visible;padding:10px 0 0;background:#fff;box-shadow:none;border-radius:0}
#studioOverlay.trade-page .mini-card .trade-piece-description b {font-size:14px;line-height:1.45;display:block;overflow-wrap:anywhere}
#studioOverlay.trade-page .mini-card .trade-piece-description small {font-size:12px;line-height:1.5;display:block;margin-top:4px;overflow-wrap:anywhere}
#studioOverlay.trade-page .mini-card [data-select],#studioOverlay.trade-page .mini-card.selected [data-select] {opacity:1;min-height:40px;min-width:40px;top:8px;right:8px;background:#fff;color:var(--mm-navy);border:1px solid var(--mm-line);border-radius:4px}
#studioOverlay.trade-page .trade-selection-empty {min-height:72px;padding:18px;font-size:14px;background:#f6f8fa;border:0;border-radius:4px}
#studioOverlay.trade-page .trade-cash-card {min-height:180px;border:1px solid #d2e0ec;border-radius:4px;background:#f7fbff;box-shadow:none}
#studioOverlay.trade-page .trade-collection-filters>input,#studioOverlay.trade-page .trade-collection-filters summary {font-size:14px;min-height:44px;padding:11px;border-radius:var(--mm-radius)}
#studioOverlay.trade-page .trade-collection-filters summary {background:#fff;border:1px solid var(--mm-line);color:var(--mm-ink)}
.trade-preferences-column {min-width:0;overflow:auto;padding:18px;background:#fafbfc}
.trade-preferences-column:empty {display:none}
#studioOverlay.trade-page .trade-preferences-column #tradeOwnerPreferences {margin:0}
#studioOverlay.trade-page .studio>footer {display:flex;align-items:center;gap:16px;padding:14px 24px;border-color:var(--mm-line);box-shadow:none}
#studioOverlay.trade-page .studio>footer>div {flex:1;display:flex;align-items:center;gap:12px;min-width:0}
#studioOverlay.trade-page .studio>footer div strong {font-size:20px;font-weight:550;line-height:1.2}
#studioOverlay.trade-page #reviewTrade {width:auto;min-width:220px;min-height:48px;font-size:16px;padding:12px 24px}
.trade-side-tabs {display:none}
.trade-piece-info,.trade-piece-extra {display:none}
@media(max-width:1100px) and (min-width:801px) {
 #studioOverlay.trade-page .studio-body {grid-template-columns:minmax(0,1fr) minmax(0,1fr) 220px}
 #studioOverlay.trade-page .side-total {padding:14px;grid-template-columns:1fr}
 #studioOverlay.trade-page .trade-cash-control {grid-column:1;grid-row:auto;max-width:none;width:100%}
 #studioOverlay.trade-page .side-total>strong {font-size:28px}
 #studioOverlay.trade-page .collection-panel {padding:14px}
}
@media(max-width:800px), (max-height:600px) and (orientation:landscape) {
 #studioOverlay.trade-page .studio {grid-template-rows:auto auto minmax(0,1fr) auto}
 #studioOverlay.trade-page .studio>header {min-height:66px;padding:12px 16px;flex-wrap:wrap}
 #studioOverlay.trade-page .studio>header h2 {font-size:18px}
 .trade-side-tabs {display:flex;gap:8px;padding:8px 16px;border:0;background:#fff}
 .trade-side-tabs button {flex:1;padding:10px 8px;min-height:44px;font-size:14px;border:1px solid #e7eaec;border-radius:var(--mm-radius);background:#fff;color:var(--mm-muted)}
 .trade-side-tabs button[aria-pressed=true] {color:var(--mm-ink);background:#edf0f2;border-color:#dbe1e5;box-shadow:none;font-weight:600}
 #studioOverlay.trade-page .studio-body {display:block;overflow:auto;overscroll-behavior:contain}
 .trade-column {display:block;border:0}
 #studioOverlay[data-active-side=yours] .trade-column[data-side=theirs],#studioOverlay[data-active-side=theirs] .trade-column[data-side=yours] {display:none}
 #studioOverlay.trade-page .side-total {padding:16px;grid-template-columns:1fr auto}
 #studioOverlay.trade-page .trade-cash-control {grid-column:2;grid-row:1/4;width:auto;border:0;background:transparent}
 #studioOverlay.trade-page .trade-cash-control>summary {background:transparent;border-radius:var(--mm-radius);font-weight:500}
 #studioOverlay.trade-page .trade-cash-control .inline-cash-field {background:#fff;border-radius:var(--mm-radius)}
 #studioOverlay.trade-page .trade-cash-control .inline-cash-field:focus-within {outline:2px solid var(--mm-navy);outline-offset:2px}
 #studioOverlay.trade-page .side-total>strong {font-size:30px}
 #studioOverlay.trade-page .collection-panel {display:block;height:auto;padding:16px;overflow:visible}
 #studioOverlay.trade-page .trade-selected {display:block;height:auto;margin:0 0 20px;padding-bottom:18px;overflow:visible}
 #studioOverlay.trade-page .trade-selected>h3 {margin-bottom:12px}
 #studioOverlay.trade-page .trade-selected>.mini-grid {max-height:none;overflow:visible;overscroll-behavior:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 #studioOverlay.trade-page .trade-selected:has(.trade-selection-empty)>.mini-grid {max-height:110px}
 #studioOverlay.trade-page .trade-selected>.mini-grid.single {max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:start}
 #studioOverlay.trade-page .collection-panel>h3 {margin:0 0 12px}
 #studioOverlay.trade-page .collection-panel>.mini-grid {overflow:visible;gap:16px;max-height:none}
 #studioOverlay.trade-page .trade-collection-filters {margin-bottom:14px}
 #studioOverlay.trade-page .mini-card img,#studioOverlay.trade-page .trade-selected .mini-card img {height:160px}
 #studioOverlay.trade-page .mini-card .trade-piece-description {display:none}
 #studioOverlay.trade-page .mini-card.details-open .trade-piece-description {display:block}
 #studioOverlay.trade-page .trade-piece-extra {display:block;font-size:14px;line-height:1.5;margin:10px 0 0}
 #studioOverlay.trade-page .trade-piece-extra p {margin:0 0 12px}
 #studioOverlay.trade-page .trade-piece-extra strong,#studioOverlay.trade-page .trade-piece-extra span {display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
 #studioOverlay.trade-page .mini-card .trade-piece-info {display:block;position:static;width:100%;min-height:44px;margin:0;padding:8px;border:1px solid #e7eaec;border-radius:4px;background:#fff;color:var(--mm-ink);font-size:13px;opacity:1}
 #studioOverlay.trade-page .mini-card [data-select] {min-width:44px;min-height:44px}
 #studioOverlay.trade-page .mini-card.selected [data-select] {font-size:0}
 #studioOverlay.trade-page .mini-card.selected [data-select]::after {content:'×';font-size:23px}
 #studioOverlay.trade-page .trade-cash-card {min-height:120px}
 .trade-preferences-column {overflow:visible;padding:16px}
 #studioOverlay.trade-page .studio>footer {display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:10px 16px max(10px,env(safe-area-inset-bottom))}
 #studioOverlay.trade-page .studio>footer>div {display:block;grid-column:1;grid-row:1}
 #studioOverlay.trade-page .studio>footer div strong {display:block;font-size:17px;margin-top:4px}
 #studioOverlay.trade-page #saveOfferDraft {grid-column:2;grid-row:1;min-height:44px}
 #studioOverlay.trade-page #reviewTrade {grid-column:1/-1;grid-row:2;width:100%;min-width:0;min-height:44px}
}

@media(max-width:1100px) {
  body .topbar {padding-inline:24px}.page-wrap,.page-wrap.narrow,#tradesView .page-wrap {padding-inline:24px}
  #marketView .market-main {padding-inline:24px}
  #marketView .social-caption {padding:28px}
  .settings-grid {grid-template-columns:170px minmax(0,1fr);gap:24px}
  .settings-card {padding-left:24px}
}
/* Disclose filters before a sidebar would squeeze results into a single column. */
@media(max-width:1000px) {
  #searchView .marketplace-browser {display:block;grid-template-columns:minmax(0,1fr);gap:0}
  #searchView .browse-filters {display:none;border:0;border-bottom:1px solid var(--mm-line);padding:0 0 24px;margin-bottom:24px}
  #searchView .page-wrap {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px}
  #searchView .search-hero,#searchView .marketplace-browser {grid-column:1/-1;min-width:0}
  #searchView #toggleSearchFilters {display:block;grid-column:2;grid-row:2;width:auto;align-self:start;margin:0 0 16px;min-height:44px}
  #searchView .search-tabs {grid-column:1;grid-row:2;align-self:start;gap:24px}
  #searchView .search-hero {height:52px;margin-bottom:12px}
  #searchView .results-head h2 {font-size:28px}
  #searchView .sort-control {gap:8px}
  #searchView .sort-control select {width:100%}
  #searchView .filters-open .browse-filters {display:block}
}
@media(max-width:800px) {
  body .topbar {padding-inline:16px}body .topbar #viewTitle {font-size:18px}
  body:has(:is(#marketView,#settingsView).active) .topbar #viewTitle {font-size:23px}
  body .topbar .top-actions {gap:3px}
  body .rail nav button.active {background:transparent!important}
  body .rail nav button.active:after {left:calc(50% - 10px);top:0;width:20px;height:2px}
  body .rail nav button b {font-size:10px}
  body .rail {min-height:68px;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))}
  body .rail nav#mainNav {height:54px;min-height:0}
  body .rail nav.rail-settings {display:none}
  html,body,.studio-body,.review-panel,.trade-detail,.dossier,.dossier-info,.member-profile,.listing-intake,#relayAccountMenu {scrollbar-width:none}
  :is(html,body,.studio-body,.review-panel,.trade-detail,.dossier,.dossier-info,.member-profile,.listing-intake,#relayAccountMenu)::-webkit-scrollbar {display:none}
  #tradesView .trade-row:has(.trade-item-summary) {display:grid;grid-template-columns:minmax(0,1fr);padding:14px 12px;gap:14px;border-color:var(--mm-line);border-radius:6px}
  #tradesView .trade-status {display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 10px;min-width:0}
  #tradesView .trade-row[data-offer-status="pending"] .trade-status .status-pill {display:none}
  #tradesView .trade-status b {font-size:14px}
  #tradesView .trade-status>span:last-child {font-size:12px;color:var(--mm-muted)}
  #tradesView .trade-item-summary {width:fit-content;max-width:100%;margin:0;grid-template-columns:minmax(0,auto) 22px minmax(0,auto);gap:8px;align-items:start}
  #tradesView .trade-summary-side {display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;min-width:0}
  #tradesView .trade-summary-piece {display:none}
  #tradesView .trade-summary-label {display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px;font-size:13px;line-height:18px;color:var(--mm-ink);text-align:left}
  #tradesView .trade-summary-label small {font-size:11px;color:var(--mm-muted)}
  #tradesView .trade-summary-stack {display:block;position:relative;width:calc(104px + (var(--stack-count) - 1)*40px);max-width:100%;height:136px;padding:0;border:0;background:none;border-radius:4px}
  #tradesView .trade-summary-stack:focus-visible {outline:2px solid var(--mm-navy);outline-offset:4px}
  #tradesView .trade-stack-photo {position:absolute;left:calc(var(--stack-index)*40px);top:0;width:calc(100% - (var(--stack-count) - 1)*40px);height:136px;border:1px solid #fff;border-radius:4px;overflow:hidden;background:#f1f2f0;box-shadow:0 0 0 1px #e6e8e7}
  #tradesView .trade-stack-photo img,#tradesView .trade-stack-photo .trade-summary-no-photo {display:block;width:100%;height:100%;object-fit:contain;background:#f1f2f0;border-radius:0}
  #tradesView .trade-summary-emblem {align-self:start;margin-top:80px;color:var(--mm-navy)}
  #tradesView .trade-summary-emblem svg {width:22px;height:22px}
  #tradesView .trade-row>.quiet {width:auto;min-width:108px;justify-self:start}
  body .rail nav button,body .rail nav.rail-settings button {height:54px;min-height:54px;grid-template-rows:24px 14px;gap:2px;padding-block:6px}
  body .rail nav button span,body .rail nav button svg {height:24px}
  .view {padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  .page-wrap,.page-wrap.narrow,#tradesView .page-wrap {padding:24px 16px 48px}
  .page-title h1 {font-size:32px}
  #marketView .market-main {padding:16px 16px 28px}
  #marketView .social-post-main {display:block}
  #marketView .social-photo {height:clamp(192px,26dvh,240px)}
  #marketView .social-photo.portrait-photo>img:not(.photo-backdrop) {padding:16px}
  #marketView .social-caption {padding:16px;display:grid;grid-template-columns:1fr auto;gap:8px 12px}
  #marketView .social-caption>.micro,#marketView .social-caption h3 {grid-column:1/-1}
  #marketView .social-caption h3 {font-size:20px;line-height:1.2;margin:0;overflow-wrap:anywhere}
  #marketView .social-caption p {margin:0;align-self:center}
  #marketView .social-caption>.micro {margin:0}
  #marketView .social-value {font-size:23px;justify-self:end}
  #marketView .social-actions {grid-column:1/-1;width:100%;margin-top:0}
  #marketView .social-actions .quiet {flex:1;padding:10px 16px}
  #marketView .slideshow-controls {flex-direction:row;gap:4px}
  #marketView .slideshow-controls>div:last-child {width:auto}
  #marketView .slideshow-controls .slide-dots {display:none}
  #marketView .slideshow-controls {justify-content:flex-end}
  .collection-heading {padding-top:22px;margin-bottom:18px!important}
  #marketView .collection-heading h2 {font-size:22px}
  .collection-heading a {font-size:13px}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-grid:not(.feed-rail) {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-card .product-image {aspect-ratio:1}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-copy {padding:8px 0 0;display:grid;gap:4px}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .brandline {display:block;min-width:0;line-height:18px}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .brandline .brand-link {display:block;max-width:100%;font-size:.875rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-copy h3 {font-size:.875rem;line-height:1.3;font-weight:400;margin:0;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-foot {display:grid;gap:8px;padding:0;min-width:0}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-meta {display:flex;flex-wrap:nowrap;justify-content:space-between;gap:6px;line-height:18px}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-foot strong {font-size:.875rem;line-height:1.3;letter-spacing:0;font-weight:550;flex-shrink:0}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-size {font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-foot button {justify-self:start;min-width:68px;min-height:44px;padding:10px 16px;line-height:20px}
  .product-card:has(.listing-owner-actions) {position:relative}
  .product-card:has(.listing-owner-actions) .product-foot>button {min-width:60px;padding-inline:10px}
  .listing-owner-actions {position:absolute;bottom:0;right:0;display:flex;flex-wrap:nowrap;gap:2px;padding:0}
  .listing-owner-actions .quiet {display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;background:transparent;border-color:transparent}
  .listing-owner-actions svg {display:block;width:18px;height:18px}
  .listing-owner-actions span {display:none}
  .listing-owner-actions button:focus-visible {outline:2px solid var(--mm-navy);outline-offset:-2px}
  :is(#marketView,#searchView,#closetView,#memberOverlay) .seller-link,
  :is(#marketView,#searchView,#closetView,#memberOverlay) .product-card>.synthetic-badge {display:none}
  .profile-hero {padding:28px 18px}.profile-hero h1 {font-size:30px}
  #closetSocial {padding:14px 18px;gap:12px}
  .social-counts {gap:16px}
  .profile-preferences {padding:0}
  .settings-grid {grid-template-columns:minmax(0,1fr);gap:26px}
  .settings-grid>nav {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .settings-grid>nav button {padding:12px}
  .settings-card {padding:0;border:0}
  .empty-state {padding:28px 10px;min-height:160px}
  #tradesView .trade-tabs {gap:6px;flex-wrap:nowrap;max-width:100%;overflow-x:auto;scrollbar-width:none}
  #tradesView .trade-tabs::-webkit-scrollbar {display:none}
  #tradesView .trade-tabs button {flex:0 0 auto;font-size:13px;padding:10px 12px}
  .dossier,.member-profile,.review-panel,.listing-intake {border-radius:8px}
  .dossier-media {padding:16px}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto}*,*:before,*:after {transition-duration:0s!important;animation-duration:0s!important}}
/* Saved pieces remain in Closet on narrow screens; leave room for the wordmark. */
@media(max-width:650px) {.topbar #topFavorites {display:none}}
@media(max-width:380px) {.topbar #openSearch {display:none}.topbar .top-actions #newListing {padding-inline:9px}}

/* Looking For: one recognizable trade brief wherever a member's taste matters. */
.preference-brief {min-width:0;border:1px solid #d8e2ea;border-top:3px solid var(--mm-blue);border-radius:6px;background:#fff;overflow:hidden}
.preference-brief>header {padding:22px 22px 18px;background:#f1f6fa;border-bottom:1px solid #e0e8ef}
.preference-brief>header .micro {color:var(--mm-navy);font-size:12px;font-weight:600}
.preference-brief>header h3 {font-size:23px!important;font-weight:550!important;letter-spacing:-.035em!important;line-height:1.2;margin:8px 0!important;color:var(--mm-ink)}
.preference-brief>header p {font-size:14px;line-height:1.5;color:var(--mm-muted);margin:0;overflow-wrap:anywhere}
.preference-brief-groups {padding:0 22px}
.preference-brief-group {padding:18px 0;border-bottom:1px solid #e5eaee;min-width:0}
.preference-brief-group:last-child {border-bottom:0}
.preference-brief-group h4 {margin:0 0 12px;font-size:13px;color:#657784;font-weight:500;letter-spacing:.02em}
.preference-values {display:flex;flex-wrap:wrap;gap:7px 9px}
.preference-values>span {max-width:100%;font-size:14px;line-height:1.4;overflow-wrap:anywhere;color:var(--mm-ink);padding:5px 9px;background:#f3f5f6;border-radius:3px}
[data-preference-kind=designers] .preference-values>span {font-weight:550;background:#eaf2f8;color:#214c70}
[data-preference-kind=sizes] .preference-values>span {background:#fff;border:1px solid #d7e1e8;min-width:34px;text-align:center;font-variant-numeric:tabular-nums}
.preference-brief .preference-empty {font-size:14px;line-height:1.6;color:var(--mm-muted);padding:20px 0;margin:0}
.item-owner-preferences {min-width:0;margin-top:24px;padding:0;border:0;background:transparent;border-radius:0}
.public-collecting {display:block;padding:0;margin:0;border:0}
.member-collection-layout>.public-collecting {position:sticky;top:0;border-radius:0}
.member-collection-layout {gap:28px;grid-template-columns:minmax(0,1fr) minmax(280px,340px)}
.own-preference-brief {position:relative;flex-basis:100%;width:100%;margin-top:8px}
.own-preference-brief .preference-brief {display:grid;grid-template-columns:230px minmax(0,1fr)}
.own-preference-brief .preference-brief>header {border:0;border-right:1px solid #e0e8ef;padding-bottom:70px}
.own-preference-brief .preference-brief-groups {display:grid;grid-template-columns:1.5fr 1fr;column-gap:28px}
.own-preference-brief>[data-edit-own-preferences] {position:absolute;left:22px;bottom:20px;font-size:14px;min-height:38px}
#closetView:has([data-profile-tab=preferences].active) .own-preference-brief {display:none}
.profile-preferences {max-width:1120px}
.preference-editor-heading {margin-bottom:28px;max-width:680px}
.preference-editor-heading h2 {font-size:34px;margin:10px 0 12px}
.preference-editor-heading p {font-size:16px;line-height:1.6;color:var(--mm-muted)}
.preference-edit-layout {display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px;align-items:start}
.preference-preview {position:sticky;top:100px;min-width:0;max-height:calc(100dvh - 120px);overflow:auto;scrollbar-gutter:stable}
.preference-editor>div {padding:28px 0}
.preference-editor>div:first-child {padding-top:0;border-top:0}
.preference-editor h3 {display:flex;gap:14px;align-items:baseline;font-size:20px;margin:0 0 12px}
.preference-editor h3>span {font-size:12px;color:var(--mm-navy);font-weight:500}
.preference-editor h4 {font-size:14px;font-weight:500;margin:0 0 12px;color:var(--mm-muted)}
.preference-editor p {font-size:14px;color:var(--mm-muted)}
.preference-options {gap:8px}
.preference-options button {min-height:44px;font-size:14px;padding:9px 12px;border:1px solid #dce2e6;border-radius:4px;line-height:1.4;text-align:left}
.preference-options button.selected {background:#dfedf8;border-color:#82aaca;color:#20476a;box-shadow:inset 0 -2px #7da8ca}
.preference-size-family {padding:12px 0}
.designer-search {display:block;font-size:14px;color:var(--mm-muted);margin:20px 0 16px}
.designer-search input {display:block;width:100%;padding:12px;margin-top:8px}
[data-designer-count] {display:block;margin-top:14px;font-size:12px;color:var(--mm-muted)}
[data-more-designers] {margin-top:16px}
.preference-purpose {padding:22px 0 18px;border-bottom:1px solid var(--mm-line)}
.preference-purpose b {font-size:14px;font-weight:550}
.preference-purpose p {font-size:14px;line-height:1.6;color:var(--mm-muted);margin:8px 0 0}
.public-preferences-toggle {display:flex;align-items:flex-start;gap:10px;padding:20px 0;margin:0;border:0;background:transparent;font-size:14px}
.public-preferences-toggle input {flex:0 0 18px;width:18px;height:18px;margin:2px 0}
.public-preferences-toggle b {font-size:14px;font-weight:550}
.public-preferences-toggle small {display:block;font-size:13px;line-height:1.6;color:var(--mm-muted);margin-top:8px}
[data-save-preferences] {width:100%;min-height:46px}
[data-pref-status] {font-size:14px;line-height:1.5}
#studioOverlay.trade-page #tradeOwnerPreferences {margin-top:28px}
#studioOverlay.trade-page .preference-brief>header {padding:18px 16px}
#studioOverlay.trade-page .preference-brief-groups {padding:0 16px}
#studioOverlay.trade-page .preference-brief-group {padding:16px 0}
#studioOverlay.trade-page .preference-brief h3 {margin:8px 0!important}
#studioOverlay.trade-page .preference-brief h4 {font-size:13px}
#studioOverlay.trade-page .preference-values {gap:6px}
#studioOverlay.trade-page .preference-values>span {font-size:14px;padding:5px 7px}
#studioOverlay.trade-page .trade-collection-filters .preference-match-toggle {grid-column:1/-1;justify-self:start;width:auto;border:1px solid #d3e1eb;background:#f5f8fb;color:#285574;border-radius:4px;padding:7px 10px;font-size:13px;min-height:34px;cursor:pointer}
#studioOverlay.trade-page .trade-collection-filters .preference-match-toggle[aria-pressed=true] {background:#dcebf7;border-color:#87adcc}
#studioOverlay.trade-page .trade-collection-filters .preference-match-toggle[hidden] {display:none}
.piece-preference-reasons {font-size:12px;line-height:1.5;color:#285574;border-top:1px solid #dde7ef;padding-top:8px;margin:8px 0 0}
#marketView .for-you {margin:24px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--mm-line);background:transparent}
#marketView .for-you .section-row {align-items:center;gap:20px;margin-bottom:16px}
#marketView .for-you h2 {font-size:26px;letter-spacing:-.035em;margin:7px 0 0}
#marketView .for-you .micro {font-size:12px;color:var(--mm-navy)}
#marketView .for-you-note {font-size:14px;line-height:1.6;color:var(--mm-muted);margin:0 0 12px}
#marketView .for-you-status {font-size:14px;line-height:1.6;color:var(--mm-muted);margin:0 0 12px}
#marketView .for-you-status:empty {display:none}
/* Empty recommendations keep preference access without reserving a product section. */
#marketView .for-you:has(#forYouGrid:empty) .micro {display:none}
#marketView .for-you:has(#forYouGrid:empty) h2 {margin:0;font-size:22px}
#marketView .for-you:has(#forYouGrid:empty) .section-row {margin-bottom:8px;align-items:center}
#marketView .for-you:has(#forYouGrid:empty) :is(.for-you-note,.for-you-status) {margin-bottom:8px}
#marketView #forYouGrid:empty {display:none}
#marketView #forYouGrid {grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}
#marketView .match-reasons {padding:12px 0;border:0;border-top:1px solid var(--mm-line);margin-top:12px;background:transparent}
#marketView .match-reasons>span {font-size:12px;font-weight:550;color:var(--mm-navy)}
#marketView .match-reasons p {font-size:13px;line-height:1.5;color:var(--mm-muted);margin:6px 0}
#marketView .match-reasons button {border:0;border-bottom:1px solid #c8d1d7;border-radius:0;background:transparent;color:var(--mm-muted);padding:5px 0;font-size:12px}
@media(max-width:1100px){.preference-edit-layout {grid-template-columns:minmax(0,1fr) 280px;gap:24px}.own-preference-brief .preference-brief {grid-template-columns:210px minmax(0,1fr)}}
.trade-preference-jump {display:none}
@media(max-width:900px){#studioOverlay.trade-page .studio>header {gap:10px;padding-inline:16px}#studioOverlay.trade-page .studio>header>div {min-width:0;flex:1}#studioOverlay.trade-page .studio>header h2 {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#studioOverlay.trade-page .studio>header .micro {font-size:12px}#studioOverlay.trade-page .studio>header .close {padding:10px;font-size:13px}.trade-preference-jump:not([hidden]) {display:block;flex:none;background:transparent;border:0;border-bottom:1px solid #9db7ca;padding:9px 0;color:var(--mm-navy);font-size:13px;cursor:pointer}}
@media(max-width:800px){.preference-edit-layout {grid-template-columns:minmax(0,1fr)}.preference-preview {position:static;grid-row:auto;max-height:none;overflow:visible}.preference-preview .preference-brief-groups {display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.preference-editor-heading {margin-bottom:24px}.own-preference-brief .preference-brief {display:block}.own-preference-brief .preference-brief>header {padding-bottom:18px;border-right:0}.own-preference-brief>[data-edit-own-preferences] {position:static;margin-top:12px}.member-collection-layout {grid-template-columns:minmax(0,1fr)}.member-collection-layout>.public-collecting {position:static;grid-row:1}.public-collecting .preference-brief-groups {display:grid;grid-template-columns:1fr 1fr;gap:0 22px}#marketView #forYouGrid {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}#marketView .for-you .section-row {align-items:flex-start}#marketView .for-you [data-edit-matches] {padding:10px;font-size:13px;white-space:nowrap}}
@media(max-width:450px){.preference-brief-groups,.own-preference-brief .preference-brief-groups {padding-inline:16px;column-gap:16px}.preference-preview .preference-brief-groups,.public-collecting .preference-brief-groups {display:block}.preference-brief>header {padding:20px 16px}.own-preference-brief .preference-brief-groups {grid-template-columns:1fr}.preference-editor-heading h2 {font-size:30px}#marketView .for-you .section-row .micro {font-size:12px;letter-spacing:.06em}}

/* Fluid catalog and profile composition across phone, tablet, and wide desktop. */
#marketView .product-card .product-image>img {object-fit:contain}
#marketView .social-photo>img:not(.photo-backdrop) {object-fit:contain}
:is(#marketView,#searchView,#closetView) .product-grid:not(.feed-rail) {grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}
#closetView .profile-hero,#closetSocial {max-width:var(--mm-content);margin-inline:auto}
#memberOverlay .member-profile {width:min(1200px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}
#memberOverlay .member-profile-head {gap:20px;padding-bottom:24px;margin-bottom:24px}
#memberOverlay .member-profile-head h2 {font-size:32px;line-height:1.2;overflow-wrap:anywhere}
#memberOverlay .member-profile-grid {gap:28px 18px}
.preference-editor-nav {display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 28px}
.preference-editor-nav button {min-height:44px;padding:10px 14px;background:#f1f5f8;color:var(--mm-navy);border:1px solid #d8e2ea;border-radius:var(--mm-radius);font-size:14px}
.preference-editor>div,.preference-preview {scroll-margin-top:100px}
.preference-editor-heading {margin-bottom:20px}
@media(min-width:801px) and (max-width:1599px){#searchView .product-grid:not(.feed-rail) {grid-template-columns:repeat(auto-fill,minmax(min(100%,216px),1fr))}}
@media(min-width:1200px) and (max-width:1599px){:is(#marketView,#closetView) .product-grid:not(.feed-rail) {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1600px){:is(#marketView,#searchView,#closetView) .product-grid:not(.feed-rail) {grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:800px){
 :is(#marketView,#searchView,#closetView) .product-grid:not(.feed-rail),#memberOverlay .member-profile-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 .product-image .save {min-width:40px;min-height:40px;right:6px;top:6px}
 #searchView .search-hero {margin-bottom:12px}
 #searchView .search-tabs {margin:0 0 16px}
 #searchView .results-head {margin-bottom:18px;gap:12px}
 #searchView .results-head h2 {font-size:25px}
 #searchView .results-head p {font-size:14px}
 #closetView .profile-hero {display:grid;grid-template-columns:64px minmax(0,1fr);padding:24px 18px;gap:16px}
 #closetView .profile-avatar {width:64px;height:64px;font-size:22px}
 #closetView .profile-hero h1 {font-size:28px}
 #closetView .profile-hero .profile-stats {grid-column:1/-1;justify-content:flex-start;gap:0;margin:0}
 #closetView .profile-stats div {padding:0 20px}
 #closetView .profile-stats div:first-child {padding-left:0}
 #closetView .profile-hero>button {grid-column:1/-1;justify-self:start;margin:0}
 #closetSocial .social-counts {flex-wrap:wrap;gap:8px 18px}
 #memberOverlay .member-profile {width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:24px 18px}
 #memberOverlay .member-profile-head {display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;padding-top:28px}
 #memberOverlay .member-profile-head>.profile-photo-preview {width:56px;height:56px}
 #memberOverlay .member-profile-head h2 {font-size:28px}
 #memberOverlay .member-profile-head .profile-links {grid-column:1/-1;display:flex;gap:10px}
 #memberOverlay .member-profile-head .profile-links>button {flex:1}
 .preference-editor-nav {position:sticky;top:64px;z-index:5;background:#fff;padding:8px 0;border-bottom:1px solid var(--mm-line);gap:6px}
 .preference-editor-nav button {flex:1;padding:10px 8px;font-size:13px}
 .preference-editor>div,.preference-preview {scroll-margin-top:136px}
}
@media(max-width:450px){
 #marketView .for-you {margin-top:20px;padding-top:16px}
 #marketView .for-you .section-row {flex-wrap:nowrap;gap:12px}
 #marketView .for-you h2 {font-size:26px}
 .dossier-info {padding:24px 16px}
 .dossier-info h2 {font-size:28px}
 #dossierInfo .seller-box {flex-wrap:wrap;gap:12px}
 #dossierInfo .seller-box button {min-height:44px}
 .item-facts {gap:12px}
}
@media(max-height:600px) and (orientation:landscape){
 #studioOverlay.trade-page .studio {grid-template-rows:auto auto minmax(0,1fr) auto}
 #studioOverlay.trade-page .studio>footer {display:flex;padding:8px 16px}
 #studioOverlay.trade-page #reviewTrade {width:auto;min-width:150px}
 .trade-preference-jump:not([hidden]) {display:block}
 .preference-preview {position:static;max-height:none;overflow:visible}
}

@media(min-width:600px) and (max-width:800px){
 :is(#marketView,#searchView,#closetView) .product-grid:not(.feed-rail) {grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))}
 #marketView .social-post-main {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #marketView .social-caption {display:flex;padding:20px;gap:8px}
 #marketView .social-photo {height:300px}
 #marketView .social-caption p {align-self:flex-start}
 #marketView .social-actions {margin-top:10px}
 #searchView .results-head {flex-direction:row;align-items:end}
 #searchView .sort-control {width:auto;min-width:180px}
}

@media(max-height:600px) and (orientation:landscape){
 #itemOverlay {padding:8px}
 #itemOverlay .dossier {display:grid;grid-template-columns:42% minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
 #itemOverlay .dossier-media {padding:16px;border-bottom:0;border-right:1px solid var(--mm-line)}
 #itemOverlay .image-stage {width:100%;min-height:0}
 #itemOverlay .dossier-info {padding:20px 16px}
 #itemOverlay .dossier-actions {grid-column:1/-1;min-height:60px}
}

@media(max-width:340px){.listing-owner-actions {position:static;justify-content:flex-end;margin-top:4px}}

/* Carousel tracks are not catalog grids: every slide keeps the full track width. */
#marketView [data-premium] .feed-rail {grid-template-columns:none;grid-auto-columns:100%;align-items:start}
#tradesView .next-actions:not(:has(.next-action)):not(:has([role="status"])) {display:none}
#tradesView .trade-item-summary {align-items:start}
.saved-trade-notice {font-size:13px;color:var(--mm-muted);margin:12px 0}
.saved-trade-detail .draft-preview button {padding:0;width:100%;border:0;background:none;color:inherit;text-align:left}
.saved-trade-detail .draft-preview figcaption {font-size:14px}
#tradesView .trade-row[data-saved-trade] .draft-actions {grid-column:1/-1}
@media(max-width:800px){
 #tradesView .trade-summary-stack {width:calc(104px + (var(--stack-count) - 1)*28px)}
 #tradesView .trade-stack-photo {left:calc(var(--stack-index)*28px);width:calc(100% - (var(--stack-count) - 1)*28px)}
 #tradesView .trade-row[data-saved-trade] .trade-status .status-pill {font-size:12px;background:#f3f5f5;color:var(--mm-muted)}
 #tradesView .trade-row[data-saved-trade] .trade-status b {flex-basis:100%}
}

/* Proposed cash has the same visual presence as a piece, without becoming a button. */
.trade-cash-tile {width:var(--cash-width,120px);max-width:100%;min-height:var(--cash-height,150px);flex:0 0 var(--cash-width,120px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 8px;background:color-mix(in srgb,var(--mm-blue) 18%,#fff);border:0;border-radius:var(--mm-radius);color:var(--mm-navy);text-align:center;align-self:start;user-select:text}
.trade-cash-tile .trade-cash-symbol {display:grid;place-items:center;width:48px;height:48px;flex:none;margin-bottom:2px;border-radius:50%;background:var(--mm-blue);color:var(--mm-navy);font:500 32px/1 var(--sans);letter-spacing:-.03em}
.trade-cash-tile .trade-cash-direction {font-size:13px;font-weight:500;line-height:1.3;color:var(--mm-navy)}
.trade-cash-tile .trade-cash-amount {font-size:var(--cash-font,28px);font-weight:550;line-height:1.2;letter-spacing:-.03em;white-space:nowrap;color:var(--mm-navy)}
.trade-cash-tile.trade-cash-long .trade-cash-amount {font-size:var(--cash-long-font,17px)}
#tradesView .trade-summary-label {display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:14px;line-height:18px;color:var(--mm-ink);text-align:left}
#tradesView .trade-summary-label small {font-size:12px;color:var(--mm-muted)}
#tradesView .trade-summary-assets {display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px;min-width:0}
#tradesView .trade-summary-pieces {display:grid;flex:1 1 310px;gap:14px;min-width:0}
#tradesView .trade-summary-piece {flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;gap:10px}
#tradesView .trade-summary-piece img,#tradesView .trade-summary-no-photo {order:0;flex:none}
#tradesView .trade-summary-piece strong {order:1;max-width:100%;text-align:left}
#tradesView .trade-summary-side {align-content:start}
#tradesView .trade-cash-tile {--cash-width:210px;--cash-height:260px;--cash-font:36px;--cash-long-font:28px}
@media(max-width:800px){
 #tradesView .trade-summary-pieces {display:none}
 #tradesView .trade-summary-assets {gap:8px}
 #tradesView .trade-cash-tile {--cash-width:104px;--cash-height:136px;--cash-font:24px;--cash-long-font:16px}
 #tradesView .trade-summary-label {font-size:13px}
 #tradesView .trade-summary-label small {font-size:11px}
}

/* Equal side columns and a first-photo-row anchor, independent of proposal contents. */
.trade-exchange {
 --exchange-photo-width:120px;--exchange-photo-height:150px;
 --exchange-arrow-size:28px;--exchange-gap:14px;--exchange-label-height:20px;--exchange-label-gap:10px;
 --cash-width:var(--exchange-photo-width);--cash-height:var(--exchange-photo-height);
}
#tradesView .trade-item-summary.trade-exchange,.saved-trade-detail .draft-preview.trade-exchange,.offer-sides.trade-exchange {
 display:grid;grid-template-columns:minmax(0,1fr) var(--exchange-arrow-size) minmax(0,1fr);
 align-items:start;gap:var(--exchange-gap);width:100%;max-width:940px;min-width:0;margin-inline:auto;
}
#tradesView .trade-item-summary.trade-exchange {--exchange-photo-width:210px;--exchange-photo-height:260px;--exchange-arrow-size:32px}
.saved-trade-detail .draft-preview.trade-exchange {border:0;padding:0}
#tradesView .trade-summary-side.trade-exchange-side,.trade-exchange>.trade-exchange-side {
 display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:var(--exchange-label-gap);min-width:0;
 padding:0;border:0;background:transparent;
}
#tradesView .trade-summary-label.trade-exchange-label,.trade-exchange .trade-exchange-label {
 display:flex;align-items:baseline;flex-wrap:nowrap;gap:6px;height:var(--exchange-label-height);margin:0;
 font-size:14px;font-weight:400;line-height:var(--exchange-label-height);white-space:nowrap;text-align:left;color:var(--mm-ink);
}
#tradesView .trade-summary-assets.trade-exchange-assets,.trade-exchange .trade-exchange-assets {
 display:flex;flex-wrap:wrap;align-items:flex-start;align-content:start;gap:14px;min-width:0;
}
#tradesView .trade-summary-pieces {display:contents}
.trade-exchange>.trade-exchange-side:first-child>.trade-exchange-assets {justify-content:flex-end}
.trade-exchange>.trade-exchange-side:first-child>.trade-exchange-label {justify-content:flex-end}
#tradesView .trade-summary-piece,.trade-exchange-assets>figure,.trade-exchange-assets>.trade-listing {
 width:min(100%,var(--exchange-photo-width));flex:0 0 min(100%,var(--exchange-photo-width));min-width:0;margin:0;
}
#tradesView .trade-summary-piece,#tradesView .trade-summary-side.receive .trade-summary-piece {justify-content:flex-start;align-items:flex-start}
#tradesView .trade-summary-piece strong,#tradesView .trade-summary-side.receive .trade-summary-piece strong {text-align:left;overflow-wrap:anywhere}
#tradesView .trade-summary-piece img,#tradesView .trade-summary-no-photo,.trade-exchange .draft-preview-side img,.trade-exchange .draft-missing-photo,.trade-exchange .trade-piece img,.trade-exchange .trade-photo-empty {
 display:block;width:100%;max-width:none;height:var(--exchange-photo-height);flex:none;object-fit:contain;border-radius:4px;
}
#tradesView .trade-summary-emblem.trade-exchange-arrow,.trade-exchange>.trade-exchange-arrow {
 display:flex;justify-content:center;align-items:center;align-self:start;width:var(--exchange-arrow-size);height:var(--exchange-arrow-size);
 margin:calc(var(--exchange-label-height) + var(--exchange-label-gap) + (var(--exchange-photo-height) - var(--exchange-arrow-size))/2) 0 0;
 color:var(--mm-navy);
}
#tradesView .trade-exchange-arrow svg,.trade-exchange>.trade-exchange-arrow svg {display:block;width:100%;height:100%}
#tradesView .trade-cash-tile,.trade-exchange .trade-cash-tile {--cash-width:var(--exchange-photo-width);--cash-height:var(--exchange-photo-height);margin:0}
.trade-exchange .trade-piece {display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0 0 8px;min-width:0}
.trade-exchange .trade-piece>div {flex:none;width:100%}
.trade-exchange .trade-piece b,.trade-exchange .trade-piece>strong {font-size:14px;line-height:1.4;margin:0;white-space:normal;overflow-wrap:anywhere}
.trade-exchange .trade-piece small {font-size:12px;margin-top:4px}
.trade-exchange .trade-listing {align-self:start}
.trade-exchange .trade-snapshot summary {overflow-wrap:anywhere}
.trade-exchange .trade-listing-expanded dl {grid-template-columns:minmax(0,1fr)}
.trade-exchange .trade-exchange-assets>figure {max-width:var(--exchange-photo-width)}
.saved-trade-detail .trade-exchange .draft-preview-side>.trade-exchange-assets {display:flex}
@media(min-width:801px){
 .trade-detail:has(.trade-exchange) {width:min(920px,96vw)}
}
@media(max-width:800px){
 .trade-exchange,#tradesView .trade-item-summary.trade-exchange {--exchange-photo-width:104px;--exchange-photo-height:136px;--exchange-arrow-size:22px;--exchange-gap:8px;--exchange-label-gap:8px}
 #tradesView .trade-summary-pieces {display:none}
 #tradesView .trade-summary-label.trade-exchange-label,.trade-exchange .trade-exchange-label {font-size:13px}
 #tradesView .trade-stack-photo {width:104px;left:calc(var(--stack-index) * (100% - 104px) / max(1,var(--stack-count) - 1))}
 .trade-exchange .trade-cash-tile {--cash-font:24px;--cash-long-font:16px}
}
@media(max-width:600px){
 #tradesView .trade-summary-assets.trade-exchange-assets {flex-direction:column;flex-wrap:nowrap;gap:10px}
 #tradesView .trade-exchange-side:first-child>.trade-exchange-assets {align-items:flex-end}
 #tradesView .trade-exchange-side:first-child>.trade-exchange-assets>:is(.trade-summary-stack,.trade-cash-tile) {align-self:flex-end;margin-left:auto}
}

/* Designer, title and price share a single readable size within each card type. */
.product-card {--listing-text-size:16px}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-card :is(.brandline .brand-link,.product-copy h3,.product-foot strong) {font-size:var(--listing-text-size);line-height:1.3;letter-spacing:0}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-card .brand-link {max-width:100%}
:is(#marketView,#searchView,#closetView,#memberOverlay) .product-card .product-copy h3 {min-height:2.6em}
#marketView .social-caption {--featured-text-size:clamp(26px,2.3vw,34px)}
#marketView .social-caption :is(.brand-link,h3,.social-value) {font-size:var(--featured-text-size);line-height:1.2;letter-spacing:-.025em}
@media(max-width:800px){
 .product-card {--listing-text-size:.875rem}
 #marketView .social-caption {--featured-text-size:20px}
}

/* Account-only trade controls stay hidden while signed out or loading. */
#tradesView :is(#tradeTabs,#tradeFromPage)[hidden] {display:none!important}
