/* Shared marketplace palette. Loaded last; layout and validation remain in their feature styles. */
:root{--blue:#185adb;--ink:#172b46;--muted:#526176;--surface:#f5f7fa;--brand-border:#dce3ec;--brand-soft:#edf3fc;--brand-orange:#ff9f1c;--brand-green:#187344}
body{background:var(--surface);color:var(--ink)}
body>header{background:#fff;border-color:var(--brand-border);box-shadow:0 2px 10px #172b4605}
h1,h2,h3,h4,.brand,.form-heading h2{color:var(--ink)}
a{color:var(--blue)}a:hover{color:#1246ad}
.logo{background:var(--blue);box-shadow:none}.dot,h1 em{color:var(--blue)}
.header-note,.phase{color:var(--muted)}.phase{background:var(--surface);border-color:var(--brand-border)}
.panel,.market-form,.listing-card,.offer-card,.rail-entry,.home-right-content,.contact-card,.account-settings-content,.account-settings-sidebar,.home-trade-finder,.guest-trade-finder,dialog{background:#fff;border-color:var(--brand-border)!important;box-shadow:0 3px 12px #172b4606;border-radius:12px}
#dashboard,.dashboard,.listing-rail,.dashboard-offers{background:#fff;border-color:var(--brand-border);box-shadow:none}
.listing-body,.record-row-header,.mail-header,.mail-folders,.dashboard-empty,.advanced-search{background:var(--surface);color:var(--ink)}
.listing-body{background:#fff}.record-row-header{border-radius:8px}
.listing-card,.offer-card,.rail-entry{box-shadow:none}.rail-card:hover,.listing-card:hover{border-color:#a9bfe3;box-shadow:0 3px 12px #172b4608}
label,.market-form label,.account-settings label{color:var(--ink)}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{background:#fff;border-color:var(--brand-border);color:var(--ink);font-weight:400}
input::placeholder,textarea::placeholder{color:#66758a;opacity:1}
.primary,.choice,.listing-actions>button[data-detail-action=trade],.record-row-actions>button:first-child,.owner-page button[aria-current=true]{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:none}
.primary:hover:not(:disabled),.listing-actions>button[data-detail-action=trade]:hover:not(:disabled){background:#1246ad;border-color:#1246ad;color:#fff;box-shadow:none}
.secondary-action,.cancel,.edit-listing,.search-similar,.save-favorite,.owner-page button{background:#fff;border-color:var(--brand-border);color:var(--blue);box-shadow:none}
.item-detail .listing-actions>button:is(.message-listing-trader,.start-listing-three){background:#fff;color:var(--blue);border-color:var(--blue)}
.item-detail .listing-actions>button:is(.message-listing-trader,.start-listing-three):hover:not(:disabled){background:var(--brand-soft);color:var(--blue);border-color:var(--blue)}
.item-detail .listing-actions>button[data-detail-action=buy],.unified-result-row .result-buy-now,.unified-result-row>.activity-card-links>.result-buy-now{background:var(--brand-orange)!important;color:var(--ink)!important;border-color:#dc8100!important}
.item-detail .listing-actions>button[data-detail-action=buy]:hover:not(:disabled),.unified-result-row .result-buy-now:hover:not(:disabled){background:#f0930e!important}
#member-nav .member-menu-links>button,#member-nav .toolbar-communication>button,#member-nav .nav-group>summary{background:transparent!important;color:var(--ink)!important;border-color:transparent!important;box-shadow:none!important}
#member-nav button:hover,#member-nav summary:hover{background:var(--brand-soft)!important}
#member-nav button.toolbar-selected,#member-nav button[aria-current=page],#member-nav .nav-group>summary.toolbar-selected,#member-nav .nav-group>summary[aria-current=page]{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important;box-shadow:none!important}
#member-nav button.toolbar-selected:hover,#member-nav button[aria-current=page]:hover,#member-nav .nav-group>summary.toolbar-selected:hover,#member-nav .nav-group>summary[aria-current=page]:hover{background:#1246ad!important;color:#fff!important}
.toolbar-communication .submenu-unread-count{background:var(--blue);color:#fff}
.tabs,.finder-tabs,.activities-tabs{background:transparent}
.tabs button,.finder-tabs button,.activities-tab{background:var(--surface);color:var(--muted);border-color:var(--brand-border)}
.tabs button[aria-selected=true],.home-trade-finder .finder-tabs button[aria-selected=true],.guest-trade-finder .finder-tabs button[aria-selected=true],.activities-tab[aria-selected=true]{background:#fff!important;color:var(--blue)!important;border-top-color:var(--blue)!important;box-shadow:inset 0 3px var(--blue)!important}
.tabs button[aria-selected=true]{font-weight:700}
.site-welcome-banner>.home-welcome-banner,.site-welcome-banner>.guest-compact-banner{min-height:150px;padding:18px 26px;background:var(--brand-soft);border:1px solid var(--brand-border);border-radius:12px;color:var(--ink);box-shadow:none}
.site-welcome-banner .home-welcome-banner h2,.site-welcome-banner>.guest-compact-banner>h2{font-size:26px!important;color:var(--ink)!important;line-height:1.2!important}
.site-welcome-banner .home-welcome-banner p,.home-banner-eyebrow,.guest-browse-note{color:var(--muted)}
.site-welcome-banner .home-welcome-banner img,.site-welcome-banner>.guest-compact-banner>.guest-exchange-art{height:110px;width:230px;max-width:100%;object-fit:contain}
.home-exchange-steps span{background:#fff;border-color:var(--brand-border);color:var(--blue)}
.usd-amount{color:var(--brand-green)!important}.record-row-price,.rail-card b{color:var(--brand-green)}
.listing-title,.compact-search-body h3 a,.activity-card-body h3 a,.record-offer-body h3 a,.record-listing-row .listing-title{font-weight:500;letter-spacing:0;color:var(--blue)!important}
.listing-title.listing-viewed,.record-listing-row .listing-title.listing-viewed{color:#9672b5!important}
.listing-body>p,.record-offer-body p,.activity-card-body p{font-weight:400;line-height:1.55}
.owner-counts p,.preview-note,.three-item-review,.three-starter-summary,.contact-note{background:var(--surface);border-color:var(--brand-border);color:var(--ink)}
.owner-page nav button[aria-current=true]{background:var(--blue);color:#fff;border-color:var(--blue)}
.site-footer{background:#eef1f5;border-color:var(--brand-border);color:var(--muted)}.site-footer h3{color:var(--ink)}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:700px){.site-welcome-banner>.home-welcome-banner,.site-welcome-banner>.guest-compact-banner{min-height:0;padding:16px 18px}.site-welcome-banner .home-welcome-banner h2,.site-welcome-banner>.guest-compact-banner>h2{font-size:23px!important}.home-record-tabs>.activities-tab{font-size:16px;line-height:1.4}.panel{border-radius:12px}}

/* Preserve the formatted USD overlay while the numeric field is not focused. */
.usd-input.has-usd-value:not(:focus-within)>input:not(:disabled){color:transparent;caret-color:transparent}


/* Supersede older blue input fills and banner gradients. */
.market-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea),input[type=search]{background:#fff!important}
.site-welcome-banner>.home-welcome-banner,.site-welcome-banner>.guest-compact-banner{background:var(--brand-soft)!important}
body>header .logo{background:var(--blue)}body>header>.phase{background:var(--surface);border-color:var(--brand-border);color:var(--muted)}
.panel .tabs [role=tab][aria-selected=true]{background:#fff!important;color:var(--blue)!important;box-shadow:inset 0 3px var(--blue)!important}


.search-make-offer{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important}.public-seller-page article>p>strong{color:var(--brand-green)}

#auth #form input:not([type=checkbox]),.home-trade-finder>form :is(input,select),.market-form:has([name=min]) :is(input,select),.home-quick-search input,.home-shared-search input,.page-card-search input{background:#fff!important}
.guest-center-rail,.home-available-listings,.home-recent-listings{background:#fff!important}
.home-trade-finder .finder-tabs button,.guest-trade-finder .finder-tabs button{background:var(--surface)}.home-trade-finder .finder-tabs button[aria-selected=true],.guest-trade-finder .finder-tabs button[aria-selected=true]{background:#fff!important}

/* Three-pane mailbox: quiet folders, compact conversations, spacious reading. */
.messages-page #results{min-width:0;max-width:100%}
.messages-page .mail-header{margin:12px 0 16px;padding:0;background:transparent;border:0;border-radius:0;gap:24px;align-items:center}
.messages-page .mail-header>strong{font-size:17px;font-weight:600;color:var(--ink)}
.messages-page .mail-header label{max-width:680px;min-width:0;flex:1}
.messages-page .mail-header input{background:#fff!important;border:1px solid var(--brand-border);border-radius:24px;padding-inline:18px 52px;box-sizing:border-box}
.messages-page .mail-layout{display:grid;grid-template-columns:180px minmax(260px,36%) minmax(0,1fr);height:clamp(460px,70vh,760px);min-height:0;max-width:100%;margin:0;border:0;border-radius:0;background:transparent;overflow:hidden}
.messages-page .mail-folders{background:transparent;padding:0 20px 12px 0;overflow:auto;min-width:0}
.messages-page .mail-folders button{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:12px 14px;margin:0 0 5px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:14px;text-align:start;min-height:44px;line-height:1.3}
.messages-page .mail-folders button.active{background:#e5edfb;color:var(--ink);font-weight:700;box-shadow:inset 3px 0 var(--blue)}
.messages-page .mail-folders button:hover{background:#e9eef5;color:var(--ink)}
.messages-page .mail-folders .mail-new-message{justify-content:center;background:var(--blue);color:#fff;border-radius:26px;font-weight:700;margin-bottom:22px;padding:16px 12px;min-height:52px}
.messages-page .mail-new-message::before{content:'✎';font-size:20px;line-height:1}
.messages-page .mail-folders .mail-new-message:hover{background:#1246ad;color:#fff}
.messages-page .mail-folders [data-folder]::before{display:inline-block;width:18px;text-align:center;font-size:18px;color:var(--muted)}
.messages-page [data-folder=Inbox]::before{content:'▣'}.messages-page [data-folder=Unread]::before{content:'✉'}.messages-page [data-folder=Sent]::before{content:'➤'}.messages-page [data-folder=Drafts]::before{content:'▤'}.messages-page [data-folder=Archived]::before{content:'▥'}.messages-page [data-folder=Deleted]::before{content:'⌫'}
.messages-page .mail-folder-count{margin-inline-start:auto;padding:1px 6px;background:#fff;color:var(--ink);font-size:11px;font-weight:600;border-radius:12px;min-width:18px;text-align:center}
.messages-page .mail-folder-count[hidden]{display:none}
.messages-page .mail-list{height:100%;max-height:none;min-width:0;overflow-y:auto;overflow-x:hidden;background:#fff;border:1px solid var(--brand-border);border-radius:14px 0 0 14px;scrollbar-gutter:stable;box-sizing:border-box}
.messages-page .mail-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;min-width:0;min-height:96px;padding:15px 18px 15px 28px;border:0;border-bottom:1px solid #e9edf2;border-radius:0;background:#fff;color:var(--ink);text-align:start;line-height:1.4;box-sizing:border-box}
.messages-page .mail-row:hover{background:#f8faff}.messages-page .mail-row.selected{background:#edf3fc;box-shadow:inset 3px 0 var(--blue)}
.messages-page .mail-row>span::before{content:none}
.messages-page .mail-row.unread::before{content:'';position:absolute;inset-inline-start:9px;top:22px;width:7px;height:7px;background:var(--blue);border-radius:50%}
.messages-page .mail-row-sender{min-width:0;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.messages-page .mail-row.unread .mail-row-sender,.messages-page .mail-row.unread .mail-row-title{font-weight:700}
.messages-page .mail-row time{grid-column:2;grid-row:1;font-size:11px;color:var(--muted);white-space:nowrap}
.messages-page .mail-row-title{grid-column:1/-1;min-width:0;display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}
.messages-page .mail-row small{grid-column:1/-1;display:block;margin:0;padding-inline-end:20px;font-size:12px;font-weight:400;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.messages-page .mail-row .mail-row-unread-count{position:absolute;inset-inline-end:12px;bottom:12px;margin:0;padding:1px 5px;background:#e8effd;border-radius:10px;font-size:10px;color:var(--blue)}
.messages-page .mail-reader{grid-column:auto;height:100%;max-height:none;min-width:0;overflow:auto;background:#fff;padding:24px;border:1px solid var(--brand-border);border-inline-start:0;border-radius:0 14px 14px 0;box-sizing:border-box}
.messages-page .mail-empty-reader{height:100%;min-height:0;justify-content:center;color:var(--muted)}
.messages-page .mail-original-art{width:160px;max-width:60%;height:auto;margin-bottom:12px}
.messages-page .mail-empty-reader h3{font-size:23px;font-weight:700;color:var(--ink);margin:8px 0}.messages-page .mail-empty-reader p{font-size:13px;line-height:1.5}
.messages-page .mail-reader h3{font-size:20px;line-height:1.4;overflow-wrap:anywhere;margin-top:0}
.messages-page .mail-tools{flex-wrap:wrap;gap:8px}.messages-page .mail-tools button,.messages-page .save-message-draft{background:#fff;border:1px solid var(--brand-border);border-radius:18px;color:var(--blue);font-size:12px}
.messages-page .mail-thread article{padding:18px 0}.messages-page .mail-thread p{font-size:14px;line-height:1.6}.messages-page .mail-thread strong{font-size:13px}
.messages-page .mail-reply textarea{width:100%;min-height:120px;box-sizing:border-box;border:1px solid var(--brand-border);border-radius:10px;padding:12px;font:inherit}
.messages-page .mail-reply .primary{margin-block:10px;width:auto;border-radius:20px;padding:10px 18px;font-size:13px}
.messages-page .mail-back-to-list{display:none}
.messages-page .mail-list>p,.messages-page .mail-search-feedback{padding:18px;color:var(--muted);font-size:14px;line-height:1.5}
@media(min-width:701px) and (max-width:1050px){.messages-page .mail-layout{grid-template-columns:140px minmax(220px,34%) minmax(0,1fr)}.messages-page .mail-folders{padding-inline-end:12px}.messages-page .mail-reader{padding:18px}.messages-page .mail-header>strong{font-size:15px}}
@media(max-width:700px){.messages-page .mail-header{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0}.messages-page .mail-header label{width:100%;max-width:none}.messages-page .mail-layout{display:block;height:auto;min-height:0;overflow:visible}.messages-page .mail-folders{display:flex;flex-wrap:wrap;gap:5px;padding:0 0 12px;overflow:visible}.messages-page .mail-folders button{width:auto;flex:1 1 28%;padding:10px 8px;margin:0;gap:6px;justify-content:flex-start;font-size:12px}.messages-page .mail-folders .mail-new-message{flex:1 0 100%;margin:0 0 6px;justify-content:center;min-height:44px;padding:10px}.messages-page .mail-list{height:auto;min-height:240px;max-height:65vh;border-radius:12px;border:1px solid var(--brand-border)}.messages-page .mail-reader{display:none;border:1px solid var(--brand-border);border-radius:12px;padding:18px;height:auto;min-height:360px;max-height:none}.messages-page .has-selection .mail-reader{display:block}.messages-page .has-selection .mail-list,.messages-page .has-selection .mail-folders{display:none}.messages-page .mail-back-to-list{display:block;background:#fff;border:1px solid var(--brand-border);border-radius:18px;color:var(--blue);padding:10px 14px;margin-bottom:18px;min-height:44px}.messages-page .mail-row{min-height:100px}.messages-page .mail-reader h3{font-size:18px}}

.messages-page .mail-bulk-status:empty{display:none}.messages-page .mail-bulk-status{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 12px}
.messages-page .mail-bulk-tools{position:sticky;top:0;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px;background:#f8faff;border-bottom:1px solid var(--brand-border)}
.messages-page .mail-bulk-tools button{min-height:34px;padding:6px 8px;border:1px solid var(--brand-border);border-radius:16px;background:#fff;color:var(--blue);font-size:11px;line-height:1.3;white-space:normal}
.messages-page .mail-bulk-tools button:disabled{opacity:.5;cursor:default}.messages-page .mail-selection-count{font-size:12px;font-weight:600;color:var(--muted);min-width:12px}
.messages-page .mail-row-entry{display:grid;grid-template-columns:32px minmax(0,1fr);min-width:0;border-bottom:1px solid #e9edf2;background:#fff}.messages-page .mail-row-entry[hidden]{display:none}
.messages-page .mail-row-entry>.mail-row{border-bottom:0;padding-inline-start:20px}.messages-page .mail-row-entry>.mail-row.unread::before{inset-inline-start:3px}
.messages-page .mail-select-conversation,.messages-page .mail-select-all{display:flex;align-items:center;justify-content:center;min-width:30px;min-height:34px;margin:0;padding:0;cursor:pointer}
.messages-page .mail-select-conversation{align-self:stretch}.messages-page .mail-select-conversation input,.messages-page .mail-select-all input{appearance:auto;width:17px;height:17px;min-height:0;margin:0;accent-color:var(--blue);cursor:pointer}
@media(pointer:coarse){.messages-page .mail-bulk-tools button,.messages-page .mail-select-all{min-height:44px}.messages-page .mail-select-conversation{min-width:32px}}
.new-member-message{width:min(520px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;padding:24px}.new-member-message label{display:grid;gap:8px;margin:14px 0;font-weight:600}.new-member-message input,.new-member-message textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--brand-border);border-radius:8px;font:inherit;font-weight:400}.new-member-message .contact-policy{font-size:12px;line-height:1.5}.new-member-message button{margin-inline-end:8px;min-height:44px}
.recipient-suggestions{max-height:230px;overflow:auto;border:1px solid var(--brand-border);border-radius:8px;background:#fff}.new-member-message .recipient-suggestions>button{display:block;width:100%;margin:0;padding:10px 12px;border:0;border-bottom:1px solid #eef1f5;border-radius:0;background:#fff;color:var(--ink);text-align:start;overflow-wrap:anywhere;font-size:14px}.new-member-message .recipient-suggestions>button:hover,.new-member-message .recipient-suggestions>button[aria-selected=true]{background:var(--brand-soft);color:var(--blue)}.recipient-suggestion-status{font-size:12px;font-weight:400;line-height:1.4;color:var(--muted)}.recipient-suggestions[hidden]{display:none}

@media(max-width:600px){.new-member-message{padding:18px;max-height:calc(100dvh - 24px);margin-block:12px}.new-member-message input,.new-member-message textarea{font-size:16px}.recipient-suggestions{max-height:min(230px,35dvh)}}

.launch-trust-note{max-width:1700px;margin:12px auto;padding:14px 20px;background:#fff8e7;border:1px solid #f1d795;border-radius:12px;display:grid;gap:6px;font-size:14px;color:#172b46}.trade-visual-guide{padding:14px;border:1px solid var(--brand-border);border-radius:12px;background:#fff;margin-block:14px}.trade-visual-guide summary{cursor:pointer;font-weight:600;color:var(--blue)}.trade-circle-guide{display:flex;gap:12px;flex-wrap:wrap}.trade-circle-guide p{flex:1;min-width:100px;background:#eef4ff;padding:14px;border-radius:10px;display:grid;gap:8px}.three-suggestion-card{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;padding:16px;border:1px solid var(--brand-border);border-radius:12px}.three-suggestion-card>*{flex:1 1 180px;min-width:0}.three-suggestion-card ul{flex-basis:100%}.free-launch-details{margin-block:12px;font-size:13px}.free-launch-details summary{cursor:pointer;color:var(--blue)}@media(max-width:600px){.launch-trust-note{margin:10px 12px;padding:12px;font-size:13px}.item-detail .listing-actions{position:sticky;bottom:0;background:#fff;padding:10px 0;z-index:4;border-top:1px solid var(--brand-border);display:flex;flex-wrap:wrap;gap:8px}.item-detail .listing-actions button{min-height:44px;flex:1 1 120px}.three-suggestion-card{display:grid;grid-template-columns:1fr}.trade-visual-guide{font-size:14px}}

@media(max-width:600px){.item-detail{padding-bottom:140px!important}.item-detail .listing-actions{position:fixed;left:12px;right:12px;bottom:8px;width:auto;margin:0;padding:10px;border:1px solid var(--brand-border);border-radius:12px;box-shadow:0 4px 18px #172b4626;z-index:20}}

/* Login discovery: isolate text links from legacy media-card styles. */
.launch-trust-note{background:#eff6ff;border-color:#c8dcf7;border-inline-start:4px solid var(--blue);padding:12px 16px;gap:4px}.launch-trust-note .trade-visual-guide{margin:6px 0 0;padding:8px 10px;background:transparent;border-color:#c8dcf7}.launch-trust-note>span{line-height:1.45}
.guest-discovery-center{background:#fff;text-align:start;align-self:start!important;min-width:0}.guest-discovery-center .guest-discovery-listings{max-height:min(72vh,760px);padding:14px!important;overscroll-behavior-y:auto}.guest-center-rail .unified-result-row{grid-template-columns:88px minmax(0,1fr)!important;gap:10px;padding:12px!important;min-height:0;height:auto!important}.guest-center-rail .unified-result-row>.record-row-header{grid-column:1/-1;font-size:12px;min-height:0;margin:0;padding:6px 8px}.guest-center-rail .activity-card-photo{width:88px!important;height:88px!important;overflow:hidden;align-self:start;border-radius:8px;background:var(--surface)}.guest-center-rail .activity-card-photo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}.guest-center-rail .activity-card-body{min-width:0;text-align:start;padding:0!important}.guest-center-rail .activity-card-body h3{margin:0 0 6px!important;font-size:15px!important;line-height:1.35}.discovery-title{display:inline!important;min-height:0!important;height:auto!important;width:auto!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;font-size:15px!important;line-height:1.35!important;overflow-wrap:anywhere;color:var(--blue)!important;text-decoration:underline}.discovery-title:visited{color:#8464a7!important}.guest-center-rail .record-row-price{font-size:17px!important;margin:4px 0!important}.guest-center-rail .activity-card-body>p:not(.record-row-price){font-size:13px;line-height:1.4;margin:4px 0}.guest-center-rail .activity-card-links{grid-column:1/-1;display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;min-width:0;padding:0!important}.guest-center-rail .activity-card-links button,.guest-center-rail .save-favorite{font-size:13px!important;padding:8px 10px!important;min-height:40px!important;width:auto!important;flex:0 1 auto;white-space:normal}.guest-center-rail .guest-card-footer{display:none}.guest-center-rail .save-favorite{margin-top:6px}.guest-center-rail .rail-track{gap:12px!important}.guest-center-rail .rail-entry{box-shadow:none}.guest-center-rail .rail-entry:hover{border-color:#9bb8e6!important}.guest-empty-results{padding:20px 12px;text-align:center;color:var(--muted)}
@media(min-width:1180px){main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:minmax(220px,260px) minmax(0,1fr) minmax(270px,310px)!important;gap:20px!important;align-items:start}.guest-trade-finder,main:has(>.guest-trade-finder:not([hidden]))>#auth{width:100%!important;min-width:0;justify-self:stretch!important}.guest-trade-finder{padding:16px!important}.guest-trade-finder form>label,.guest-trade-finder .finder-price-row>label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px}.guest-trade-finder form>label>input,.guest-trade-finder form>label>select{font-size:14px}main:has(>.guest-trade-finder:not([hidden]))>#auth{padding:20px!important}.guest-trade-finder .finder-tabs{flex-wrap:wrap}.guest-trade-finder .finder-tabs button{font-size:13px!important;white-space:normal}}
@media(min-width:951px) and (max-width:1179px){main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:240px minmax(0,1fr)!important;gap:20px!important;align-items:start}main:has(>.guest-trade-finder:not([hidden]))>.guest-trade-finder{grid-column:1!important;grid-row:1/span 2!important;width:100%!important}main:has(>.guest-trade-finder:not([hidden]))>.guest-discovery-center{grid-column:2!important;grid-row:1!important}main:has(>.guest-trade-finder:not([hidden]))>#auth{grid-column:2!important;grid-row:2!important;width:100%!important}.guest-trade-finder{padding:14px!important}.guest-trade-finder form>label{grid-template-columns:minmax(0,1fr)!important}.guest-trade-finder .finder-tabs button{white-space:normal;font-size:13px!important}}
@media(max-width:600px){.guest-center-rail .unified-result-row{grid-template-columns:76px minmax(0,1fr)!important;padding:10px!important}.guest-center-rail .activity-card-photo{width:76px!important;height:76px!important}.guest-center-rail .activity-card-links button,.guest-center-rail .save-favorite{min-height:44px!important}.guest-discovery-center .guest-discovery-listings{max-height:70vh}.launch-trust-note{font-size:13px}.guest-center-rail .activity-card-links{gap:6px}}
@media(prefers-reduced-motion:reduce){.guest-center-rail .rail-entry,.guest-center-rail button{transition:none!important;transform:none!important}}

.listing-title.listing-viewed,.record-listing-row .listing-title.listing-viewed,.activity-card-body h3 .my-listing-title-link.listing-viewed,.reference-listing-body .my-listing-title-link.listing-viewed{color:#8464a7!important}

main:has(>.guest-trade-finder:not([hidden]))>#auth:has(#login-tab[aria-selected='true']):not(.verification-step) #submit{position:static!important;margin:14px 0 0!important;min-height:44px;width:100%}main:has(>.guest-trade-finder:not([hidden]))>#auth:has(#login-tab[aria-selected='true']):not(.verification-step) .remember-username{position:static!important;margin:12px 0!important}.guest-center-rail .discovery-title:focus-visible,.guest-center-rail button:focus-visible,.guest-discovery-listings:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

.guest-center-rail .rail-entry.unified-result-row>.activity-card-photo{grid-column:1!important;grid-row:2!important;width:88px!important;height:88px!important}.guest-center-rail .rail-entry.unified-result-row>.activity-card-body{grid-column:2!important;grid-row:2!important;width:auto!important;min-width:0}.guest-center-rail .rail-entry.unified-result-row>.activity-card-links{grid-column:1/-1!important;grid-row:3!important;flex-direction:row!important;flex-wrap:wrap!important}.guest-center-rail .rail-entry.unified-result-row>.activity-card-links>*{flex:1 1 120px!important;min-width:0;max-width:100%}@media(max-width:600px){.guest-center-rail .rail-entry.unified-result-row>.activity-card-photo{width:76px!important;height:76px!important}}

/* Shared visual rhythm: preserve brand colors and existing responsive track sizes. */
:root{--result-padding:12px;--result-gap:12px;--result-text-gap:4px;--thumb-surface:#f1f5f9;--selected-tab-surface:#eff6ff}
:is(.tabs,.finder-tabs,.activities-tabs) button[aria-selected=true],.panel .tabs [role=tab][aria-selected=true],.home-trade-finder .finder-tabs button[aria-selected=true],.guest-trade-finder .finder-tabs button[aria-selected=true],.activities-tab[aria-selected=true],.listing-wizard-tabs button[aria-current=step]{background:var(--selected-tab-surface)!important;color:var(--blue)!important;border-top-color:var(--blue)!important;box-shadow:inset 0 3px var(--blue)!important;font-weight:700}
.unified-result-row{padding:var(--result-padding)!important;gap:var(--result-gap)!important}
.unified-result-row :is(.activity-card-body,.record-offer-body,.compact-search-body,.listing-body)>h3{margin:0 0 var(--result-text-gap)!important;line-height:1.4}
.unified-result-row :is(.activity-card-body,.record-offer-body,.compact-search-body,.listing-body)>p{margin:var(--result-text-gap) 0!important;line-height:1.45}
.unified-result-row :is(.activity-card-photo,.record-offer-photo,.compact-search-photo,.photo-carousel,.photo-placeholder){background:var(--thumb-surface)!important;border:1px solid var(--brand-border)!important;border-radius:6px!important;box-sizing:border-box;overflow:hidden;flex-shrink:0}
.unified-result-row :is(.activity-card-photo,.record-offer-photo,.compact-search-photo) img{display:block;width:100%;height:100%;object-fit:cover}
/* Enlarged photos retain the original image. */
.photo-lightbox:not(.zoomed) .lightbox-stage img{object-fit:contain!important;background:var(--thumb-surface)}

/* Proposal guidance and discovery cues use the existing palette. */
.proposal-onboarding{padding:12px;margin:12px 0;border:1px solid var(--brand-border);border-radius:8px;background:var(--brand-soft);color:var(--ink);line-height:1.5;overflow-wrap:anywhere}.proposal-onboarding summary{font-weight:600;cursor:pointer}.proposal-onboarding p{margin:8px 0;font-size:14px}.proposal-onboarding button{min-height:44px;padding:8px 12px}.offer-countdown{font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.three-match-badge{display:block;white-space:normal!important;max-width:100%;min-height:44px;padding:8px 12px!important;margin-top:8px;font-size:13px!important;text-align:start;line-height:1.4}.four-review-preview{display:block!important;max-width:900px;margin:20px auto;padding:16px}
.offer-composer form>label{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:12px 0;min-width:0}.offer-composer form>label :is(input,select,textarea){width:100%;box-sizing:border-box;min-width:0}.offer-composer textarea{resize:vertical;min-height:90px}.offer-composer form>button{min-height:44px;max-width:100%;white-space:normal}

.three-match-explanation{margin-top:6px;font-size:13px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}.three-match-explanation summary{cursor:pointer;color:var(--blue);min-height:44px;display:list-item;padding:10px 0;box-sizing:border-box}.three-match-explanation p{margin:6px 0}.three-no-show{margin:12px 0;line-height:1.5;overflow-wrap:anywhere}.three-no-show h3{font-size:16px}.three-no-show ul{padding-inline-start:22px}.three-no-show li{margin:8px 0}.three-no-show p{font-size:13px}.form-foot{font-size:13px!important;line-height:1.5!important;color:var(--muted)}
/* Fill search and Recently Listed thumbnails edge to edge; retain full photos in details. */
.compact-search-card .compact-search-photo,.home-recent-listings .activity-card-photo{padding:0!important;position:relative;overflow:hidden}
.compact-search-card .compact-search-photo img,.home-recent-listings .activity-card-photo img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;object-fit:cover!important}
/* Shared edge-to-edge listing photos across Activities, offers and item details. */
:is(.activity-card-photo,.record-offer-photo,.compact-search-photo,.photo-enlarge,.thumbnail-strip [data-thumbnail]){padding:0!important;overflow:hidden}
:is(.activity-card-photo,.record-offer-photo,.compact-search-photo) img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-fit:cover!important}
:is(.photo-enlarge,.thumbnail-strip,.three-selected-item,.three-item-choice,.proposal-history-photos,.counter-item-icon,.gallery,.rail-card) img,.dashboard-offer-card>img,.listing-card>img{object-fit:cover!important}
/* The enlarged viewer keeps every edge of the original image visible. */
.photo-lightbox .lightbox-stage img{object-fit:contain!important}

.record-listing-row .photo-enlarge img,.item-detail .photo-enlarge img,.guest-inline-detail .photo-enlarge img{object-fit:cover!important}
/* Include padding in the fixed phone action bar, rather than adding it beyond 100%. */
@media(max-width:600px){.item-detail .listing-body .listing-actions{width:auto;max-width:calc(100% - 24px);box-sizing:border-box}.item-detail .listing-body .listing-actions>button{box-sizing:border-box}}
/* Small launch notice in the banner; full details appear only on interaction. */
.site-welcome-banner{position:relative}
.site-welcome-banner>.launch-trust-note{position:absolute;inset-block-start:10px;inset-inline-end:20%;z-index:25;display:block;max-width:48%;margin:0;padding:0;border:0;border-radius:0;background:transparent;font-size:12px;line-height:1.4}
.site-welcome-banner>.launch-trust-note>summary{cursor:pointer;color:var(--blue);font-size:12px;font-weight:400;text-decoration:underline;list-style:none}
.site-welcome-banner>.launch-trust-note>summary::-webkit-details-marker{display:none}
.launch-trust-message{position:absolute;inset-inline-end:0;top:100%;width:340px;max-width:calc(100vw - 64px);box-sizing:border-box;margin-top:0;padding:16px;background:#fff8de;border:1px solid #e4d39b;border-radius:10px;box-shadow:0 6px 22px #172b4626;color:var(--ink);font-size:14px;font-weight:400;max-height:60vh;overflow:auto;text-align:start}
.launch-trust-message>p{margin:0 0 10px;line-height:1.5}
.launch-trust-message .trade-visual-guide{font-size:13px}
.launch-trust-close{display:block;margin-top:10px;padding:4px 0;border:0;background:transparent;color:var(--blue);text-decoration:underline;font:inherit;cursor:pointer}
.site-welcome-banner:has(>.launch-trust-note)>:is(.home-welcome-banner,.guest-compact-banner){padding-top:42px}
@media(max-width:600px){.site-welcome-banner>.launch-trust-note{inset-inline-end:14px;max-width:calc(100% - 28px)}.launch-trust-message{width:300px}}
.launch-membership-details{padding:0;margin:0 0 10px;border:0;background:transparent;color:var(--blue);font:inherit;text-decoration:underline;cursor:pointer}
#dashboard>.membership-home{display:none!important}
#dashboard:has(.home-discovery-layout){padding-top:0!important}
#dashboard>.home-discovery-layout{margin-top:0}
#dashboard>h2{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
main:has(>#dashboard:not([hidden])){padding-top:0!important}
.site-welcome-banner:has(+main>#dashboard:not([hidden])){margin-bottom:12px}
.home-right-content>.shared-home-search{width:50%;max-width:100%;box-sizing:border-box;padding:6px;margin:0 0 8px;min-height:0}
.home-right-content>.shared-home-search input{height:32px;min-height:32px;font-size:13px;padding:6px 8px}
.home-right-content>.shared-home-search button{height:32px;min-height:32px;font-size:13px;padding:0 12px}
@media(max-width:600px){.home-right-content>.shared-home-search{width:100%}.home-right-content>.shared-home-search button{min-height:44px}}

.listing-wizard-tabs{display:block;margin-bottom:18px}.listing-wizard-tabs .listing-step-count{margin:0 0 4px;color:var(--muted,#526173);font-size:13px}.listing-wizard-tabs .listing-step-title{margin:0;font-size:22px}.inline-post-area .listing-wizard-tabs .listing-step-title{font-size:18px}

.home-welcome-banner .shared-home-search{width:min(520px,100%);box-sizing:border-box;padding:0;margin:14px 0 0;border:0;background:transparent;gap:0}.home-welcome-banner .shared-home-search input{height:44px;min-height:44px;padding:10px 12px;font-size:14px}.home-welcome-banner .shared-home-search button{width:128px;min-width:128px;height:44px;min-height:44px;padding:0 24px;font-size:15px;font-weight:600}.home-right-content>.home-record-tabs{margin-top:0}@media(max-width:600px){.home-welcome-banner .shared-home-search{width:100%}.home-welcome-banner .shared-home-search button{width:112px;min-width:112px;padding:0 16px}}

@media(min-width:951px){.site-welcome-banner>.home-welcome-banner{position:relative;padding-bottom:76px}.home-welcome-banner .shared-home-search{position:absolute;left:var(--home-search-left,38%);bottom:18px;width:min(520px,calc(100% - var(--home-search-left,38%) - 26px));margin:0}}

.home-welcome-banner .shared-home-search input{border-radius:6px 0 0 6px}.home-welcome-banner .shared-home-search select{width:155px;max-width:35%;flex:0 1 155px;height:44px;min-height:44px;margin:0;padding:8px 12px;border-radius:0;background:#fff;font-size:14px;font-weight:400}.home-welcome-banner .shared-home-search button{display:flex;align-items:center;justify-content:center;width:52px;min-width:52px;flex:0 0 52px;height:44px;min-height:44px;padding:0;background:#f59e0b!important;color:#172b46!important;border-radius:0 6px 6px 0}.home-welcome-banner .shared-home-search button:hover{background:#e98b08!important}.home-welcome-banner .shared-home-search button svg{flex:none}@media(min-width:951px){.home-welcome-banner .shared-home-search{width:var(--home-search-width,60%)}}@media(max-width:600px){.home-welcome-banner .shared-home-search select{padding:6px;width:110px;flex-basis:110px;font-size:12px}.home-welcome-banner .shared-home-search button{width:44px;min-width:44px;flex-basis:44px}}

@media(min-width:951px){.site-welcome-banner>.home-welcome-banner{overflow:visible}}

/* Initial capitals for English interface labels; never transform member content or form values. */
:where(html:not([lang]),html:lang(en)) :is(button,summary,legend,label:not(.ownership),.site-footer a,.account-settings-sidebar a,.account-settings-sidebar button,.listing-step-title,.mail-folders a){text-transform:capitalize}
:where(html:not([lang]),html:lang(en)) :is(h1,h2,h3,h4):not(:is(.rail-entry,.listing-card,.offer-card,.item-detail,.listing-preview,.mail-thread,.mail-reader,.mail-conversation,.three-item,.three-review-item) :is(h1,h2,h3,h4)){text-transform:capitalize}
:where(html:not([lang]),html:lang(en)) :is(input,textarea,select,option,[translate=no],[translate=no] *,[data-username],.member-username,.username-account-menu>summary,.recipient-suggestions,.recipient-suggestions *,.recipient-option,.recipient-option *,.rail-card,.rail-card *,.mail-conversation,.mail-conversation *,.message-subject,.message-body,.ownership,.ownership *){text-transform:none}

:where(html:not([lang]),html:lang(en)) label:has(input[type=checkbox]){text-transform:none}

/* Also cover display labels that are not heading/button/label elements. */
:where(html:not([lang]),html:lang(en)) :is(dt,th,caption,.listing-preview p>strong,.personal-info-row>strong,.feedback-scores span,.listing-required-error,.choice-link,.listing-step-count){text-transform:capitalize}
:where(html:not([lang]),html:lang(en)) a:not([translate=no]):not([href^="mailto:"]):not([href^="tel:"]):not(:is(.rail-entry,.listing-card,.offer-card,.item-detail,.mail-reader,.mail-list,.three-review-item,.recipient-suggestions) a){text-transform:capitalize}
:where(html:not([lang]),html:lang(en)) select:is([name=category],[name=condition],[name=availability],[name=delivery],[name=tradeMode],[name=sort],[name=entityType]),:where(html:not([lang]),html:lang(en)) select:is([name=category],[name=condition],[name=availability],[name=delivery],[name=tradeMode],[name=sort],[name=entityType]) option{text-transform:capitalize}
:where(html:not([lang]),html:lang(en)) input:not([type=email]):not([type=password]):not([type=url]):not([name=username])::placeholder,:where(html:not([lang]),html:lang(en)) textarea::placeholder{text-transform:capitalize}

/* Compact matching cards on phone screens, without desktop column sizing. */
@media(max-width:600px){
.search-workspace>#results{padding:10px}
.search-workspace>#results>h3{font-size:18px;margin-bottom:12px}
.search-workspace .compact-search-results{max-height:none;overflow:visible;padding:0}
.compact-search-results>.compact-search-card.unified-result-row{grid-template-columns:84px minmax(0,1fr)!important;gap:10px!important;padding:10px!important;min-width:0}
.compact-search-card>.record-row-header{grid-column:1/-1;padding:8px 10px;gap:4px 10px;font-size:12px;line-height:1.4}
.compact-search-card>.record-row-header>span{font-size:11px}
.compact-search-card>.compact-search-photo{grid-column:1;grid-row:2;width:84px!important;height:96px!important;min-width:0;min-height:0}
.compact-search-card>.compact-search-body{grid-column:2;grid-row:2;min-width:0}
.compact-search-card .compact-search-body h3{margin:0 0 6px!important;line-height:1.35!important}
.compact-search-card .compact-search-body h3 a{font-size:15px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.compact-search-card .compact-search-body>small{font-size:12px;line-height:1.45;margin:3px 0}
.compact-search-card .compact-search-body>strong{font-size:18px;line-height:1.4;margin:4px 0}
.compact-search-card>.compact-search-actions{grid-column:1/-1!important;grid-row:3;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%;padding:0}
.compact-search-card>.compact-search-actions>button{width:100%!important;min-width:0;min-height:42px!important;padding:8px 10px!important;font-size:12px!important;line-height:1.35;white-space:normal}
.compact-search-card .save-favorite{font-size:12px!important;min-height:36px;padding:6px 8px!important}
}

.record-main,.record-summary{min-width:0}.record-summary:empty{display:none}.record-main>h3{margin:0 0 6px!important}.record-summary>p{margin:5px 0;line-height:1.45}
@media(max-width:600px){
:is(.compact-search-card,.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row{grid-template-columns:84px minmax(0,1fr)!important;gap:10px!important;padding:10px!important;min-width:0;max-width:100%!important;width:100%!important}
.unified-result-row>.record-row-header{grid-column:1/-1!important;grid-row:1!important;padding:8px 10px;font-size:12px;gap:4px 10px;line-height:1.4}.unified-result-row>.record-row-header>span{font-size:11px}
.unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder){grid-column:1!important;grid-row:2!important;width:84px!important;height:96px!important;min-width:0;min-height:0!important}
.record-listing-row :is(.main-photo-frame,.photo-enlarge,.photo-enlarge img){width:84px!important;height:96px!important;min-height:0!important}
.unified-result-row>:is(.compact-search-body,.activity-card-body,.record-offer-body,.listing-body){display:contents!important}
.unified-result-row .record-main{grid-column:2!important;grid-row:2!important;min-height:96px;text-align:start;padding:0!important}
.unified-result-row .record-main>h3,.unified-result-row .record-main>h3 :is(a,button){font-size:15px!important;line-height:1.35!important;margin:0 0 6px!important}.unified-result-row .record-main>h3 :is(a,button){display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.unified-result-row .record-main>:is(p,small){display:block;font-size:12px!important;line-height:1.4;margin:4px 0!important}
.unified-result-row .record-summary{grid-column:1/-1!important;grid-row:3!important;align-self:start;justify-self:start;width:calc(100% - 122px);text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding:0!important;min-width:0;overflow-wrap:anywhere}
.unified-result-row .record-summary>:is(p,small,div){font-size:12px;line-height:1.4;margin:0!important;max-width:100%}.unified-result-row .record-summary>:is(strong,.record-row-price,.reference-price){font-size:17px!important;margin:0!important;line-height:1.4}.unified-result-row .record-summary .save-favorite{align-self:flex-end!important;max-width:100%;margin:4px 0 0!important;min-height:38px;padding:6px 8px!important;white-space:normal;font-size:11px!important}
.unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer){grid-column:1/-1!important;grid-row:3!important;justify-self:end;align-self:start;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:7px!important;width:112px!important;min-width:0;max-width:112px;padding:0!important;margin:0!important}
.unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>*{flex:none!important;width:100%!important;min-width:0;max-width:100%;box-sizing:border-box;margin:0!important;font-size:11px!important;line-height:1.3;min-height:42px!important;padding:8px!important;white-space:normal;text-align:center}
.unified-result-row .record-row-actions .listing-actions{width:100%;flex-direction:column}.unified-result-row .record-row-actions .listing-actions button{width:100%;font-size:11px;min-height:42px;white-space:normal}
.home-recent-listings .rail-track,.activities-results,.offers-column-track:has(>.unified-result-row),.results-grid:has(>.unified-result-row){width:100%!important;max-width:100%!important;overflow-x:hidden}
}

@media(max-width:600px){.unified-result-row .record-summary{text-align:left;align-items:flex-start}.unified-result-row .record-summary .save-favorite{align-self:flex-start!important}}

/* Matching results: a compact action rail starts beside the photo, with all data on the left. */
@media(max-width:600px){
.compact-search-results>.compact-search-card.unified-result-row{grid-template-columns:minmax(0,1fr) 94px!important;gap:8px 10px!important}
.compact-search-card.unified-result-row>.compact-search-photo{grid-column:1!important;grid-row:2!important;width:100%!important;height:112px!important}
.compact-search-card.unified-result-row .record-main{grid-column:1!important;grid-row:3!important;min-height:0;padding:0!important}
.compact-search-card.unified-result-row .record-summary{grid-column:1!important;grid-row:4!important;width:100%;text-align:left;align-items:flex-start;gap:4px}
.compact-search-card.unified-result-row>.compact-search-actions{grid-column:2!important;grid-row:2 / span 3!important;width:94px!important;max-width:94px;gap:6px!important;align-self:start}
.compact-search-card.unified-result-row>.compact-search-actions>button{min-height:38px!important;padding:6px!important;font-size:11px!important;line-height:1.25;border-radius:12px}
.compact-search-card.unified-result-row .record-main>h3 :is(a,button){font-size:14px!important;line-height:1.35!important}
.compact-search-card.unified-result-row .record-main>:is(p,small){font-size:12px!important;margin:3px 0!important}
}

.compact-search-card>.compact-search-actions>.save-favorite{align-self:stretch;box-sizing:border-box;width:100%!important;margin:0!important;white-space:normal}@media(max-width:600px){.compact-search-card>.compact-search-actions>.save-favorite{font-size:10px!important;line-height:1.3;min-height:38px!important;padding:6px!important}}

/* Remove obsolete carousel spacing and override its old single-column card rules. */
@media(max-width:600px){
.home-right-content:has(.home-recent-listings){padding:0!important;border:0!important;box-shadow:none}
.home-record-pane:has(.home-recent-listings){padding:8px;border:0;border-radius:0 0 12px 12px}
.home-record-pane>.home-recent-listings{padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none}
.home-recent-listings>.rail-viewport{padding:0!important;overflow:visible!important}
.home-recent-listings .rail-track{padding:0!important;gap:12px!important;width:100%!important;max-width:100%;scrollbar-gutter:auto;box-sizing:border-box;container-type:normal}
.home-recent-listings .rail-track>.rail-entry.unified-result-row{display:grid!important;grid-template-columns:minmax(0,1fr) 94px!important;gap:8px 10px!important;padding:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;overflow:hidden}
.home-recent-listings .rail-track>.rail-entry.unified-result-row>.record-row-header{grid-column:1/-1!important;grid-row:1!important;min-width:0;max-width:100%;padding:8px 10px;font-size:12px}
.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-photo{grid-column:1!important;grid-row:2!important;width:100%!important;height:112px!important;min-height:0!important;max-width:100%;margin:0;padding:0!important;position:relative}
.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-photo img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important}
.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-body{display:contents!important}
.home-recent-listings .rail-track>.rail-entry.unified-result-row .record-main{grid-column:1!important;grid-row:3!important;min-height:0;width:100%;text-align:left}
.home-recent-listings .rail-track>.rail-entry.unified-result-row .record-summary{grid-column:1!important;grid-row:4!important;min-width:0;width:100%;text-align:left;align-items:flex-start;gap:4px}
.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-links{grid-column:2!important;grid-row:2 / span 3!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-self:start;justify-self:end;align-items:stretch!important;width:94px!important;min-width:0!important;max-width:94px;gap:6px!important;padding:0!important;margin:0!important;position:static;transform:none}
.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-links>*{flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:6px!important;min-height:38px!important;box-sizing:border-box;font-size:11px!important;line-height:1.25;white-space:normal;border-radius:12px;position:static}
.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-links>.save-favorite{font-size:10px!important;align-self:stretch!important}
}

/* Shared phone layout for listing, offer, saved, and activity result cards. */
@media(max-width:600px){
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row{grid-template-columns:minmax(0,1fr) 94px!important;gap:8px 10px!important}
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row>:is(.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder){grid-column:1!important;grid-row:2!important;width:100%!important;height:112px!important;max-width:100%;min-height:0!important}
.record-listing-row.unified-result-row :is(.main-photo-frame,.photo-enlarge,.photo-enlarge img){width:100%!important;height:112px!important;min-height:0!important}
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row .record-main{grid-column:1!important;grid-row:3!important;min-height:0;width:100%;padding:0!important}
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row .record-summary{grid-column:1!important;grid-row:4!important;width:100%;text-align:left;align-items:flex-start;gap:4px}
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row>:is(.activity-card-links,.record-row-actions,.reference-card-footer){grid-column:2!important;grid-row:2 / span 3!important;width:94px!important;max-width:94px;gap:6px!important;align-self:start;flex-direction:column!important;flex-wrap:nowrap!important}
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row>:is(.activity-card-links,.record-row-actions,.reference-card-footer)>*{min-height:38px!important;padding:6px!important;font-size:11px!important;line-height:1.25;border-radius:12px;flex:none!important;width:100%!important;max-width:100%;margin:0!important}
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row .record-main>h3 :is(a,button){font-size:14px!important;line-height:1.35!important}
:is(.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row .record-main>:is(p,small){font-size:12px!important;margin:3px 0!important}
}
/* Banner searches show the result pane immediately below the banner. */
.market.banner-search-results{margin-top:0!important;padding-top:0!important}
.market.banner-search-results>:is(h2,p,.eyebrow,.market-back,.market-home){display:none!important}
.market.banner-search-results .search-workspace{display:block;margin:0 0 0 auto}
body>main:has(.banner-search-results:not([hidden])){padding-top:0!important}
.site-welcome-banner:has(+main .banner-search-results:not([hidden])){margin-bottom:10px}
@media(min-width:951px){.market.banner-search-results .search-workspace{width:66%;max-width:100%}}
@media(max-width:950px){.market.banner-search-results .search-workspace{width:100%}}

/* Desktop metadata needs the same explicit line structure as mobile. */
@media(min-width:601px){
.unified-result-row .record-main{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.unified-result-row .record-summary{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:8px;text-align:left}
.unified-result-row .record-summary:empty{display:none}
.unified-result-row .record-main>:is(p,small),.unified-result-row .record-summary>:is(p,small,strong,div){display:block;max-width:100%;margin:0!important;line-height:1.45;overflow-wrap:anywhere}
.unified-result-row .record-summary>:is(small,div){font-size:13px}
.unified-result-row .record-summary>.record-row-price{font-size:18px!important}
}

/* Wide screens retain full search filters and use consistent three-column result rows. */
@media(min-width:951px){
.market.banner-search-results .search-workspace{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:22px;width:100%;max-width:100%;margin:0}
:is(.activities-results,.results-grid:has(>.unified-result-row),.offers-column-track:has(>.unified-result-row)){width:100%!important;max-width:100%;margin-right:0}
:is(.compact-search-card,.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row{display:grid!important;grid-template-columns:140px minmax(0,1fr) 160px!important;gap:14px!important;align-items:start!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
.unified-result-row>.record-row-header{grid-column:1/-1!important;grid-row:1}
.unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder){grid-column:1!important;grid-row:2;width:140px!important;height:140px!important;min-height:0!important}
.record-listing-row.unified-result-row :is(.main-photo-frame,.photo-enlarge,.photo-enlarge img){width:140px!important;height:140px!important;min-height:0!important}
.unified-result-row>:is(.compact-search-body,.activity-card-body,.record-offer-body,.listing-body){grid-column:2!important;grid-row:2;display:block!important;min-width:0;padding:0!important}
.unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer){grid-column:3!important;grid-row:2;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-self:start;width:160px!important;max-width:100%;gap:8px!important;margin:0!important;padding:0!important}
.unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>*{width:100%!important;min-width:0;max-width:100%;flex:none!important;box-sizing:border-box;margin:0!important;white-space:normal;text-align:center}
.home-recent-listings{padding:12px!important;border:0!important;box-shadow:none}.home-recent-listings>.rail-viewport{padding:0!important}
.home-recent-listings .rail-track>.rail-entry.unified-result-row{grid-template-columns:140px minmax(0,1fr) 160px!important}
}

/* Trader pages keep one heading with their result pane immediately below the banner. */
.market.trader-listings-page{margin-top:0!important;padding-top:0!important}
.market.trader-listings-page>:is(.eyebrow,p,.market-back,.market-home){display:none!important}
.market.trader-listings-page .search-workspace{display:block;width:100%;margin:0}
.market.trader-listings-page #results>h2{margin:0 0 14px}
body>main:has(.trader-listings-page:not([hidden])){padding-top:0!important}
.site-welcome-banner:has(+main .trader-listings-page:not([hidden])){margin-bottom:10px}
/* Versioned legal document and explicit registration consent. */
#terms-agreement {margin-block:1rem;line-height:1.55;text-transform:none;}
#terms-agreement[hidden] {display:none!important;}
#terms-agreement .registration-consent {display:flex;align-items:flex-start;gap:.65rem;font-size:.95rem;font-weight:400;text-transform:none;}
#terms-agreement input[type="checkbox"] {flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:.2rem 0 0;padding:0;accent-color:#1856df;}
#terms-agreement a {text-decoration:underline;text-underline-offset:3px;}
#terms-agreement small {display:block;margin-block-start:.4rem;font-size:.8rem;color:#506078;}
.legal-terms {max-width:1100px;margin-inline:auto;overflow-wrap:anywhere;}
.legal-terms p {line-height:1.8;text-transform:none;}
.legal-terms section {scroll-margin-top:210px;margin-block:2rem;}
.legal-terms section h2 {font-size:1.3rem;line-height:1.4;}
.terms-contents {background:#f3f7fc;border:1px solid #d6e1ef;border-radius:12px;padding:1.1rem;margin-block:1.5rem;}
.terms-contents ol {columns:2;column-gap:2rem;padding-inline-start:1.2rem;list-style:none;}
.terms-contents li {break-inside:avoid;margin-block:.6rem;}
.terms-contents a {display:inline-block;text-decoration:underline;line-height:1.45;}
.terms-related {display:flex;flex-wrap:wrap;gap:1rem;border-top:1px solid #d6e1ef;padding-block-start:1rem;}
.terms-print {padding:.6rem 1rem;border:1px solid #1856df;border-radius:8px;background:#1856df;color:white;}
.legal-version {color:#506078;font-size:.85rem;}
.legal-version [translate="no"] {direction:ltr;unicode-bidi:isolate;display:inline-block;}
@media(max-width:600px){.terms-contents ol{columns:1}.legal-terms section{scroll-margin-top:150px}.legal-terms section h2{font-size:1.15rem}}
@media print{body:has(.legal-terms)>header,body:has(.legal-terms)>footer,.legal-terms .terms-print,.legal-terms .terms-contents{display:none!important}.legal-terms{max-width:none;margin:0;padding:0}.legal-terms section{break-inside:auto}.legal-terms h2{break-after:avoid}.legal-terms a{color:inherit}}
/* Guest results use the same desktop action column as the other result lists. */
@media(min-width:951px){
 .guest-center-rail .rail-track>.rail-entry.unified-result-row{grid-template-columns:140px minmax(0,1fr) 160px!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-photo{grid-column:1!important;grid-row:2!important;width:140px!important;height:140px!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-body{grid-column:2!important;grid-row:2!important;min-width:0}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-links{grid-column:3!important;grid-row:2!important;flex-direction:column!important;flex-wrap:nowrap!important;align-self:start;justify-self:end;width:160px!important;max-width:100%;margin:0!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-links>*{width:100%!important;max-width:100%;flex:none!important;margin:0!important;box-sizing:border-box}
}
.registration-field-error{display:block;color:#b42332;font-size:.78rem;line-height:1.4;margin:.3rem 0 0;text-transform:none}
#terms-agreement>.registration-field-error{margin:.35rem 0}
#form [aria-invalid="true"]{border-color:#c52238!important;outline-color:#c52238}
/* Guest cards must also follow the shared phone layout, without old carousel rows. */
@media(max-width:600px){
 .guest-center-rail .rail-track{container-type:normal}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row{grid-template-columns:minmax(0,1fr) 94px!important;gap:8px 10px!important;min-height:0!important;height:auto!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-photo{grid-column:1!important;grid-row:2!important;width:100%!important;height:112px!important;min-height:0!important;padding:0!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-body{display:contents!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row .record-main{grid-column:1!important;grid-row:3!important;min-height:0;width:100%;padding:0!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row .record-summary{grid-column:1!important;grid-row:4!important;width:100%;text-align:left;align-items:flex-start;gap:4px}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-links{grid-column:2!important;grid-row:2 / span 3!important;flex-direction:column!important;flex-wrap:nowrap!important;align-self:start;justify-self:end;width:94px!important;max-width:94px;gap:6px!important;margin:0!important;padding:0!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-links>*{width:100%!important;min-width:0;max-width:100%;flex:none!important;margin:0!important;padding:6px!important;min-height:38px!important;font-size:11px!important;line-height:1.25;border-radius:12px;box-sizing:border-box}
}
/* In phone landscape and tablet widths, keep actions beside the guest listing. */
@media(min-width:601px) and (max-width:950px){
 .guest-center-rail .rail-track{container-type:normal}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row{grid-template-columns:88px minmax(0,1fr) 130px!important;gap:12px!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-photo{grid-column:1!important;grid-row:2!important;width:88px!important;height:100px!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-body{grid-column:2!important;grid-row:2!important;display:block!important;min-width:0}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-links{grid-column:3!important;grid-row:2!important;flex-direction:column!important;flex-wrap:nowrap!important;align-self:start;width:130px!important;max-width:130px;margin:0!important;padding:0!important;gap:6px!important}
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-links>*{width:100%!important;flex:none!important;min-width:0;max-width:100%;min-height:40px!important;padding:6px!important;font-size:12px!important;margin:0!important;box-sizing:border-box}
}
/* Shared result cards retain their action column on landscape phones and tablets. */
@media(min-width:601px) and (max-width:950px){
 :is(.compact-search-card,.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row,.home-recent-listings .rail-track>.rail-entry.unified-result-row{grid-template-columns:100px minmax(0,1fr) 130px!important;gap:12px!important}
 .unified-result-row>.record-row-header{grid-column:1/-1!important;grid-row:1!important}
 .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder),.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-photo{grid-column:1!important;grid-row:2!important;width:100px!important;height:112px!important;min-height:0!important}
 .record-listing-row.unified-result-row :is(.main-photo-frame,.photo-enlarge,.photo-enlarge img){width:100px!important;height:112px!important;min-height:0!important}
 .unified-result-row>:is(.compact-search-body,.activity-card-body,.record-offer-body,.listing-body),.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-body{display:block!important;grid-column:2!important;grid-row:2!important;min-width:0}
 .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer),.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-links{grid-column:3!important;grid-row:2!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-self:start;justify-self:end;width:130px!important;max-width:130px;gap:6px!important;margin:0!important;padding:0!important}
 .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>*,.home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-links>*{width:100%!important;flex:none!important;min-width:0;max-width:100%;box-sizing:border-box;min-height:40px!important;padding:6px!important;font-size:12px!important;line-height:1.3;white-space:normal;margin:0!important}
}
/* Landscape photo height follows the bottom of the full listing information across every result list. */
@media(min-width:601px) and (max-width:950px) and (orientation:landscape){
 .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder),
 .home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-photo,
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-photo{height:var(--result-landscape-photo-height,112px)!important;min-height:0!important;align-self:start;overflow:hidden}
 .record-listing-row.unified-result-row :is(.main-photo-frame,.photo-enlarge,.photo-enlarge img){height:var(--result-landscape-photo-height,112px)!important;min-height:0!important}
 .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo)>img{height:100%!important;width:100%!important;object-fit:cover!important}
}
/* Give taller landscape photos enough width while preserving the image aspect ratio. */
@media(min-width:601px) and (max-width:950px) and (orientation:landscape){
 :is(.compact-search-card,.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row,
 .home-recent-listings .rail-track>.rail-entry.unified-result-row,
 .guest-center-rail .rail-track>.rail-entry.unified-result-row{--result-landscape-photo-width:clamp(110px,18vw,160px);grid-template-columns:var(--result-landscape-photo-width) minmax(0,1fr) 130px!important}
 .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder),
 .home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-photo,
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-photo{width:var(--result-landscape-photo-width)!important}
 .record-listing-row.unified-result-row :is(.main-photo-frame,.photo-enlarge,.photo-enlarge img){width:var(--result-landscape-photo-width)!important}
}
/* Landscape uses page scrolling so a short viewport cannot crop result actions. */
@media(min-width:601px) and (max-width:950px) and (orientation:landscape){
 .home-right-content,.home-record-pane,.home-recent-listings,
 .home-recent-listings .rail-viewport,.home-recent-listings .rail-track,
 .guest-discovery-center,.guest-discovery-center .guest-discovery-listings,
 .guest-center-rail,.guest-center-rail .rail-viewport,.guest-center-rail .rail-track,
 .compact-search-results,.activities-results,.offers-column-track:has(>.unified-result-row),
 .results-grid:has(>.unified-result-row),.offers-card-grid:has(>.unified-result-row),.search-suggestion-list{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;overscroll-behavior:auto;scrollbar-gutter:auto}
 :is(.compact-search-card,.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row,
 .home-recent-listings .rail-track>.rail-entry.unified-result-row,
 .guest-center-rail .rail-track>.rail-entry.unified-result-row{height:auto!important;min-height:0!important;overflow:visible!important}
}
/* Desktop uses the same wider, bottom-of-information photo treatment. */
@media(min-width:951px){
 :is(.compact-search-card,.activity-card,.record-listing-row,.record-offer-row,.rail-entry).unified-result-row,
 .home-recent-listings .rail-track>.rail-entry.unified-result-row,
 .guest-center-rail .rail-track>.rail-entry.unified-result-row{grid-template-columns:minmax(160px,22%) minmax(0,1fr) 160px!important}
 .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder),
 .home-recent-listings .rail-track>.rail-entry.unified-result-row>.activity-card-photo,
 .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-photo{width:100%!important;max-width:100%;height:var(--result-landscape-photo-height,160px)!important;min-height:0!important;align-self:start;overflow:hidden}
 .record-listing-row.unified-result-row :is(.main-photo-frame,.photo-enlarge,.photo-enlarge img){width:100%!important;height:var(--result-landscape-photo-height,160px)!important;min-height:0!important}
 .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo)>img{width:100%!important;height:100%!important;object-fit:cover!important}
}

/* Keep the simplified toolbar grouped at its left edge on every page. */
body>header .member-menu-links{justify-content:flex-start}
body>header .toolbar-communication{margin-left:0}

/* Language stays at the far right while navigation stays grouped left. */
body>header .member-menu-links>.site-language-picker{margin-left:auto;margin-right:0}
@media(max-width:1000px){body>header .member-menu-links>.site-language-picker{align-self:flex-end}}

/* Match suggestions reuse the shared result cards on every screen. */
.suggested-matches-entry{align-self:flex-end;margin:8px 12px;max-width:calc(100% - 24px)}
.personalized-match-results{display:block!important;min-width:0;width:100%}.personalized-match-cards{display:flex;flex-direction:column;gap:12px}
.match-learning-controls{padding:12px;border:1px solid var(--brand-border);border-radius:10px;margin-bottom:14px;background:#fff}.match-learning-controls>summary{font-weight:600;cursor:pointer}.match-learning-controls>button{margin:4px 8px 4px 0;max-width:100%}.match-learning-controls>p{font-size:14px;line-height:1.5}
.personalized-match-reason{display:block;color:var(--muted);font-size:12px;margin-top:6px}.personalized-three-matches{margin-top:22px;min-width:0}
@media(max-width:600px){.match-learning-controls>button{width:100%;margin:5px 0}}

/* Relevant trade context stays beside the conversation without losing replies. */
.mail-conversation-context{padding:12px;border:1px solid var(--brand-border);border-radius:10px;background:var(--surface);margin:12px 0;overflow-wrap:anywhere}.mail-context-status{display:inline-block;margin-inline-start:10px;color:var(--muted);font-size:12px}.mail-context-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.mail-context-links>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 12px;font-size:13px;text-decoration:none;box-sizing:border-box;max-width:100%;border:1px solid var(--brand-border);border-radius:9px}.mail-context-links>a[aria-disabled=true]{opacity:.65;cursor:wait}.mail-context-return{margin:8px 0 14px}
@media(max-width:600px){.mail-context-links>a{flex:1 1 130px}.mail-conversation-context{padding:10px}}

.messages-page .mail-reply[hidden]{display:none!important}
.message-sent-confirmation{font-size:13px;line-height:1.4;color:var(--brand-green);margin:6px 0 12px;font-weight:500}

/* Keep member content readable without changing the shared color theme. */
.market :is(h2,h3,h4,p,dd,legend),.mail-reader :is(h3,p),.notification-card a{overflow-wrap:anywhere;min-width:0}
.market dialog,.market form,.account-settings-pane,.mail-reader,.notification-group{min-width:0;max-width:100%}
@media(prefers-reduced-motion:reduce){
 html:focus-within,html,body,*{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

.reputation-summary{padding:12px;margin-block:12px;border:1px solid var(--brand-border);border-radius:10px;background:var(--brand-soft)}.reputation-summary dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.reputation-summary dd{margin:0}

.context-help-link{display:inline-flex;align-items:center;min-height:44px;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--blue)!important;text-decoration:underline;font-size:13px;margin:0 0 8px;padding:4px 8px}.context-help-modal{max-width:min(520px,calc(100vw - 32px));line-height:1.6}
.context-help-modal>button{min-height:44px;min-width:72px;font-size:14px}

.three-delivery-progress{padding:12px;margin-block:12px;border:1px solid var(--brand-border);border-radius:10px;background:var(--brand-soft);overflow-wrap:anywhere}.three-delivery-progress>summary{min-height:44px;cursor:pointer;font-weight:600}.three-delivery-progress ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;list-style:none}.three-delivery-progress li{padding:12px;background:var(--surface);border:1px solid var(--brand-border);border-radius:8px;min-width:0}.three-delivery-progress li p{margin-block:6px}.delivery-progress-state{font-weight:600}@media(max-width:600px){.three-delivery-progress ol{grid-template-columns:1fr}}

.case-progress{margin-block:10px;padding:10px 12px;background:var(--brand-soft);border:1px solid var(--brand-border);border-radius:8px;overflow-wrap:anywhere}.case-progress-state{font-weight:600}.case-progress p{margin-block:6px}.case-progress summary,.case-progress a{min-height:44px;padding-block:10px}.case-progress a{display:inline-flex;align-items:center}.case-progress code{unicode-bidi:isolate}

.delivery-reminder-settings{margin-block:12px;padding:12px;border:1px solid var(--brand-border);border-radius:8px;overflow-wrap:anywhere}.delivery-reminder-settings summary{min-height:44px;align-content:center;cursor:pointer}.delivery-reminder-settings label{display:flex;gap:10px;align-items:center;min-height:44px}.delivery-reminder-settings input[type=checkbox]{width:20px;height:20px;flex:none}.delivery-reminder-settings p{font-size:14px;line-height:1.5}

/* October 24 visual refinement: preserve the established palette and action columns. */
:root{--visual-space:16px;--visual-radius:12px}
body>header{min-height:0;gap:10px;padding-top:14px!important;padding-bottom:8px!important}
body>header .brand{font-size:clamp(23px,2.1vw,32px);line-height:1.15;letter-spacing:-.5px}
body>header #member-nav{padding-top:2px;padding-bottom:2px}
body>header .member-menu-links{gap:8px}
body>header .member-menu-links>button,body>header .nav-group>summary{min-height:42px;padding:9px 13px!important}
.market>h2,.account-settings-workspace h2{font-size:clamp(23px,2vw,30px);line-height:1.25;margin-block:12px 16px}
.market-form label,.home-trade-finder label,.guest-trade-finder label{font-size:15px;line-height:1.4;font-weight:600}
.market-form :is(input,select,textarea){font-weight:400!important}
.unified-result-row{border-radius:var(--visual-radius)!important;padding:16px!important;box-shadow:none!important}
.unified-result-row>.record-row-header{padding:8px 12px!important;gap:6px 14px;font-size:12px;line-height:1.45}
.unified-result-row .record-main>h3{margin:0 0 6px!important}
.unified-result-row .record-main>h3 :is(a,button){font-size:17px!important;line-height:1.4!important;font-weight:600!important;text-underline-offset:3px}
.unified-result-row .record-summary{gap:5px!important}
.unified-result-row .record-summary>.record-row-price,.unified-result-row .record-row-price.usd-amount{font-size:20px!important;line-height:1.35;font-weight:600}
.unified-result-row .record-main>:is(p,small),.unified-result-row .record-summary>:is(p,small,div){font-size:13px!important;line-height:1.5!important}
.unified-result-row :is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.main-photo-frame){border-radius:9px!important;background:var(--surface);overflow:hidden}
.unified-result-row :is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.main-photo-frame) img{object-fit:cover!important;object-position:center!important;border-radius:inherit;max-width:100%}
.unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer){gap:7px!important}
.unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>:is(button,a,label){min-height:40px!important;padding:8px 10px!important;font-size:13px!important;line-height:1.3!important;border-radius:10px!important}
.unified-result-row :is(.search-similar,.save-favorite){background:#fff!important;color:var(--blue)!important;border:1px solid var(--brand-border)!important;box-shadow:none!important}
.unified-result-row .search-make-offer{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important}
.unified-result-row .result-buy-now{background:var(--brand-orange)!important;color:var(--ink)!important;border-color:#dc8100!important}
.home-record-pane,.activities-tab-panel{box-shadow:none!important}
.home-record-pane :is(.home-recent-listings,.rail-viewport),.activities-tab-panel .activities-results{border:0!important;box-shadow:none!important;background:transparent!important}
.home-record-pane,.activities-tab-panel{padding:14px!important}
.home-record-tabs,.activities-tabs,.finder-tabs{gap:4px!important;align-items:stretch}
.home-record-tabs>.activities-tab,.activities-tabs>.activities-tab,.finder-tabs>button{border-radius:12px 12px 0 0!important;min-height:48px;padding:12px 16px!important;line-height:1.35!important;white-space:normal}
.home-record-tabs>.activities-tab{font-size:18px!important;min-height:60px}
:is(.empty-results,.activity-empty,.dashboard-empty,.mail-list-empty,.saved-list-empty){padding:24px 18px!important;margin:12px 0!important;background:var(--brand-soft);border:0!important;border-radius:12px;text-align:center;line-height:1.65;overflow-wrap:anywhere}
:is(.empty-results,.activity-empty,.dashboard-empty,.mail-list-empty,.saved-list-empty)::before{content:'';display:block;width:60px;height:48px;margin:0 auto 12px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 64' fill='none'%3E%3Crect x='10' y='13' width='46' height='36' rx='8' fill='%23fff' stroke='%23dce3ec' stroke-width='2'/%3E%3Cpath d='M20 26h25M20 34h15' stroke='%23185adb' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='55' cy='42' r='12' fill='%23edf3fc' stroke='%23185adb' stroke-width='3'/%3E%3Cpath d='m64 51 8 8' stroke='%23185adb' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")}
.empty-listing-actions{justify-content:center;gap:10px;margin-block:12px 20px}
.empty-listing-actions>button{min-height:44px;border-radius:10px;padding:10px 16px}
@media(min-width:951px){
 .market .search-workspace,.market.banner-search-results .search-workspace{grid-template-columns:minmax(240px,280px) minmax(0,1fr)!important;gap:20px!important}
 .market .search-workspace>.market-form{padding:18px!important}
 .home-discovery-layout{gap:20px!important}
 .home-right-content{padding:16px!important}
}
@media(max-width:950px){
 body>header{padding-top:12px!important;padding-bottom:8px!important;gap:8px}
 body>header .mobile-menu-summary{min-height:44px!important;padding:10px 14px!important;font-size:16px!important;line-height:1.4}
 .home-record-pane,.activities-tab-panel{padding:10px!important}
 .home-record-tabs>.activities-tab{font-size:16px!important;min-height:56px;padding:12px 8px!important}
}
@media(max-width:600px){
 .unified-result-row{padding:12px!important}
 .unified-result-row .record-main>h3 :is(a,button){font-size:14px!important;line-height:1.4!important}
 .unified-result-row .record-main>:is(p,small),.unified-result-row .record-summary>:is(p,small,div){font-size:12px!important}
 .unified-result-row .record-summary>.record-row-price{font-size:18px!important}
 .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>:is(button,a,label){min-height:40px!important;padding:7px 6px!important;font-size:11px!important}
 .activities-tabs>.activities-tab,.finder-tabs>button{padding:10px 8px!important;font-size:13px!important}
 .site-welcome-banner>.home-welcome-banner,.site-welcome-banner>.guest-compact-banner{padding:14px 16px!important}
}

/* Match the higher-specificity legacy card rules without changing action positions. */
body .compact-search-card.unified-result-row>.compact-search-actions>*,
body :is(.home-recent-listings,.guest-center-rail) .rail-track>.rail-entry.unified-result-row>.activity-card-links>*,
body :is(.activity-card,.record-listing-row,.record-offer-row).unified-result-row>:is(.activity-card-links,.record-row-actions)>*{min-height:40px!important;border-radius:10px!important}

.unified-result-row .record-summary>strong{color:var(--brand-green)!important;font-size:20px!important;line-height:1.35;font-weight:600}
@media(max-width:600px){.unified-result-row .record-summary>strong{font-size:18px!important}.site-welcome-banner:has(>.launch-trust-note)>:is(.home-welcome-banner,.guest-compact-banner){padding-block-start:38px!important}}

/* A guest's center column sits between filters and sign-in; size its cards to that column. */
@media(min-width:951px){
 .guest-discovery-center{container-type:inline-size;container-name:guest-listings}
 @container guest-listings (max-width:650px){
  body .guest-center-rail .rail-track>.rail-entry.unified-result-row{grid-template-columns:minmax(100px,25%) minmax(0,1fr) 120px!important;gap:10px!important}
  body .guest-center-rail .rail-track>.rail-entry.unified-result-row>.activity-card-links{width:120px!important}
 }
}
.unified-result-row .record-main>h3 :is(a,button){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}

/* Photo-first marketplace grid, shared by every result-card family. */
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) :is(.compact-search-results,.results-grid,.activities-results,.offers-column-track,.rail-track,.search-suggestion-list):has(>.unified-result-row),
html.photo-grid-results #results:has(>.unified-result-row){display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))!important;gap:18px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0;max-height:none!important;height:auto!important;overflow:visible!important;padding:0!important;container-type:normal!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row,
html.photo-grid-results #results>.unified-result-row{display:flex!important;flex-direction:column!important;position:relative!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;padding:12px!important;overflow:visible!important;align-items:stretch!important;box-sizing:border-box}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder){order:0!important;position:relative!important;flex:none!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3;max-width:100%!important;overflow:hidden;border-radius:10px!important;align-self:stretch!important;padding:0!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row :is(.main-photo-frame,.photo-enlarge){width:100%!important;height:100%!important;min-height:0!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row :is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-enlarge)>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>.record-row-header{order:1!important;flex:none!important;font-size:11px!important;padding:5px 8px!important;margin:0!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-body,.activity-card-body,.record-offer-body,.listing-body){order:2!important;display:block!important;width:100%!important;min-width:0!important;padding:0!important;flex:1 0 auto!important}
html.photo-grid-results .unified-result-row :is(.record-main,.record-summary){display:flex!important;flex-direction:column!important;align-items:flex-start!important;width:100%!important;margin:0!important;text-align:start!important;gap:5px!important}
html.photo-grid-results .unified-result-row .record-main>h3 :is(a,button){font-size:16px!important;font-weight:600!important;-webkit-line-clamp:2}
html.photo-grid-results .unified-result-row .record-summary{margin-top:7px!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer){order:3!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;position:static!important;flex:none!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;gap:6px!important;align-self:stretch!important;margin:0!important;padding:0!important;transform:none!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>*{width:100%!important;max-width:100%!important;min-width:0!important;min-height:38px!important;padding:7px 6px!important;font-size:11px!important;line-height:1.3!important;border-radius:8px!important;white-space:normal!important;margin:0!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row .save-favorite{position:absolute!important;inset-block-start:20px!important;inset-inline-end:20px!important;z-index:2!important;width:40px!important;height:40px!important;min-height:40px!important;max-width:40px!important;padding:0!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 8px #172b4620!important;font-size:0!important;color:var(--blue)!important}
html.photo-grid-results .unified-result-row .save-favorite::before{content:'♡';font-size:25px;line-height:1}
html.photo-grid-results .unified-result-row .save-favorite[aria-pressed=true]::before{content:'♥'}
html.photo-grid-results .favorite-error{order:4;color:#b42332;font-size:12px;line-height:1.5}
html.photo-grid-results :is(.home-right-content,.home-record-pane,.home-recent-listings,.guest-discovery-listings,.guest-center-rail,.rail-viewport,.activities-results){max-height:none!important;height:auto!important;overflow:visible!important}
html.photo-grid-results :is(.rail-left,.rail-right){display:none!important}
html.photo-grid-results #results:has(>.unified-result-row)>:not(.unified-result-row){grid-column:1/-1}
html.photo-grid-results .grid-load-status,html.photo-grid-results .grid-load-more{grid-column:1/-1;justify-self:center;margin-block:12px}
@media(max-width:600px){html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) :is(.compact-search-results,.results-grid,.activities-results,.offers-column-track,.rail-track):has(>.unified-result-row){grid-template-columns:minmax(0,1fr)!important;gap:14px!important}}

html.photo-grid-results .unified-result-row[data-grid-deferred]{display:none!important}

html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row:is([hidden],[data-grid-deferred]){display:none!important}

/* Compact catalogue and reference-style centered header search. */
body>header.catalogue-header{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px 28px;padding:16px 24px 10px!important}
body>header.catalogue-header>.brand{grid-column:1;grid-row:1;white-space:nowrap}
body>header.catalogue-header>:is(.header-note,.phase){display:none!important}
body>header.catalogue-header>.header-center-search{grid-column:2;grid-row:1;display:flex!important;align-items:center;gap:14px;width:100%!important;max-width:1200px!important;position:static!important;padding:0!important;margin:0 auto!important;background:transparent!important;border:0!important;box-shadow:none!important}
.header-center-search .header-search-shell{display:flex;align-items:center;flex:1;min-width:0;height:54px;border:2px solid #222;border-radius:30px;background:#fff;overflow:hidden}
.header-center-search .header-search-glass{display:flex;flex:none;width:44px;justify-content:center;color:#707070}.header-center-search :is(.header-search-glass,.header-search-camera) svg{width:22px;height:22px}
.header-center-search input{flex:1!important;min-width:0!important;width:auto!important;border:0!important;border-radius:0!important;margin:0!important;padding:10px 0!important;background:#fff!important;height:48px!important;font-size:18px!important;box-shadow:none!important;outline:none!important}
.header-center-search .header-search-shell:focus-within{box-shadow:0 0 0 3px var(--brand-border)}
.header-center-search .header-search-camera{display:flex;align-items:center;justify-content:center;width:50px;flex:none;color:#222}
.header-center-search select{width:180px!important;max-width:34%!important;flex:0 1 180px!important;height:38px!important;min-height:0!important;border:0!important;border-inline-start:1px solid var(--brand-border)!important;border-radius:0!important;margin:0!important;padding:8px 14px!important;font-size:14px!important;background:#fff!important}
body>header.catalogue-header .header-center-search>[type=submit]{flex:0 0 150px!important;width:150px!important;height:54px!important;min-height:54px!important;border-radius:30px!important;background:var(--blue)!important;border:1px solid var(--blue)!important;color:#fff!important;font-size:16px!important;font-weight:600;padding:10px 20px!important}
body>header.catalogue-header>#member-nav{grid-column:1/-1;grid-row:2;width:100%;margin:0!important}
body>header.catalogue-header .member-menu-links>button,body>header.catalogue-header .nav-group>summary{font-size:16px!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) :is(.compact-search-results,.results-grid,.activities-results,.offers-column-track,.rail-track,.search-suggestion-list):has(>.unified-result-row),html.photo-grid-results #results:has(>.unified-result-row){grid-template-columns:repeat(auto-fill,minmax(min(100%,165px),1fr))!important;gap:12px!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row{padding:9px!important;gap:7px!important}
html.photo-grid-results .unified-result-row .record-main>h3 :is(a,button){font-size:12px!important;line-height:1.4!important}
html.photo-grid-results .unified-result-row :is(.record-main,.record-summary)>:is(small,p,div){font-size:10px!important;line-height:1.45!important}
html.photo-grid-results .unified-result-row .record-summary>strong,html.photo-grid-results .unified-result-row .record-row-price{font-size:15px!important}
html.photo-grid-results .unified-result-row .record-row-header{font-size:10px!important}
html.photo-grid-results .unified-result-row .save-favorite{inset-block-start:15px!important;inset-inline-end:15px!important}
@media(min-width:951px){body>main{max-width:1920px!important;width:calc(100% - 32px)!important;padding-inline:0!important}.home-discovery-layout{grid-template-columns:minmax(180px,210px) minmax(0,1fr)!important;gap:16px!important}.market .search-workspace,.market.banner-search-results .search-workspace{grid-template-columns:minmax(180px,210px) minmax(0,1fr)!important}main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:210px minmax(0,1fr) 270px!important;gap:16px!important}}
@media(max-width:950px){body>header.catalogue-header{grid-template-columns:minmax(0,1fr);padding:12px 16px 8px!important;gap:10px}body>header.catalogue-header>.brand{grid-column:1;grid-row:1}body>header.catalogue-header>.header-center-search{grid-column:1;grid-row:2;gap:8px}body>header.catalogue-header>#member-nav{grid-row:3}.header-center-search input{font-size:15px!important}.header-center-search select{font-size:12px!important;width:130px!important;flex-basis:130px!important;padding:6px!important}body>header.catalogue-header .header-center-search>[type=submit]{flex-basis:90px!important;width:90px!important;font-size:14px!important}.header-center-search .header-search-camera{display:none}.header-center-search .header-search-glass{width:30px}.header-center-search .header-search-shell{height:48px}body>header.catalogue-header .header-center-search>[type=submit]{height:48px!important;min-height:48px!important}}
@media(max-width:600px){html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) :is(.compact-search-results,.results-grid,.activities-results,.offers-column-track,.rail-track):has(>.unified-result-row){grid-template-columns:repeat(auto-fill,minmax(min(100%,155px),1fr))!important}.header-center-search select{max-width:35%!important}.header-center-search .header-search-glass{width:27px}.header-center-search input{font-size:13px!important}body>header.catalogue-header .header-center-search>[type=submit]{width:76px!important;flex-basis:76px!important;padding:8px!important}}

.site-welcome-banner>.home-welcome-banner{padding-bottom:18px!important}
body>header.catalogue-header>.site-language-picker{grid-column:2;grid-row:2;justify-self:end}
@media(max-width:950px){body>header.catalogue-header>.site-language-picker{grid-column:1;grid-row:4}}

body>header.catalogue-header #member-nav .toolbar-communication>button{font-size:16px!important}.header-center-search input::placeholder{text-transform:none!important}

html.photo-grid-results .unified-result-row .record-summary>.record-row-price{font-size:15px!important;line-height:1.3!important}

/* Narrow catalogue rails need stacked labels so fields retain their full width. */
body :is(.home-trade-finder,.guest-trade-finder)>form{padding:16px 14px!important;min-width:0}
body :is(.home-trade-finder,.guest-trade-finder)>form>label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;align-items:start!important;text-align:start!important;margin-bottom:14px!important;font-size:14px!important}
body :is(.home-trade-finder,.guest-trade-finder)>form :is(input,select){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;margin:0!important;font-size:14px!important}
body :is(.home-trade-finder,.guest-trade-finder) .finder-price-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;min-width:0}
body :is(.home-trade-finder,.guest-trade-finder) .finder-price-row label{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;text-align:start;margin:0}

/* Wider desktop filter pane, requested October 25. */
@media(min-width:951px){
 .home-discovery-layout{grid-template-columns:280px minmax(0,1fr)!important}
 .market .search-workspace,.market.banner-search-results .search-workspace{grid-template-columns:280px minmax(0,1fr)!important}
 main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:280px minmax(0,1fr) 270px!important}
}

/* Slightly smaller filter text in the wider desktop pane. */
@media(min-width:951px){
 body :is(.home-trade-finder,.guest-trade-finder)>form>label,
 body :is(.home-trade-finder,.guest-trade-finder)>form :is(input,select),
 body :is(.home-trade-finder,.guest-trade-finder) .finder-price-row label{font-size:13px!important}
}

/* Lighter result canvas and cleaner listing cards, requested October 25. */
html.photo-grid-results :is(.home-right-content,.home-record-pane,.guest-discovery-center,.guest-discovery-listings,.guest-center-rail,.home-recent-listings,.activities-tab-panel,.compact-search-results),html.photo-grid-results .search-workspace>#results{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}
html.photo-grid-results :is(.home-right-content,.home-record-pane,.guest-discovery-listings,.activities-tab-panel),html.photo-grid-results .search-workspace>#results{padding:0!important}
html.photo-grid-results .unified-result-row :is(.result-category,.reference-category){display:none!important}
html.photo-grid-results .unified-result-row>.listing-summary-header{display:none!important}
html.photo-grid-results .unified-result-row>.listing-summary-header.private-record{display:block!important;background:transparent!important;padding:0!important}
html.photo-grid-results .listing-summary-header.private-record>:not(.private-record-label){display:none!important}
html.photo-grid-results .unified-result-row .record-main>h3 :is(a,button){font-size:13px!important;line-height:1.45!important}
html.photo-grid-results .unified-result-row :is(.record-main,.record-summary)>:is(small,p,div){font-size:11px!important;line-height:1.45!important}
html.photo-grid-results .unified-result-row .record-summary>strong,html.photo-grid-results .unified-result-row .record-summary>.record-row-price{font-size:16px!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder){width:calc(100% + 8px)!important;max-width:calc(100% + 8px)!important;margin-inline:-4px!important;aspect-ratio:5/4}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>:is(button,a){min-height:30px!important;padding-block:4px!important;line-height:1.2!important}
@media(max-width:600px){html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer)>:is(button,a){min-height:36px!important}}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row .save-favorite{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important}

/* Place navigation, language and compact search within one banner. */
body>header.catalogue-header{display:flex!important;padding:12px 24px!important;min-height:0!important}
.navigation-banner{position:relative;display:block;background:var(--brand-soft);border:1px solid var(--brand-border);border-radius:12px;min-height:230px;overflow:visible!important;margin-top:10px!important}
.navigation-banner .banner-toolbar{position:relative;min-height:58px;padding:8px 160px 8px 16px;border-bottom:1px solid var(--brand-border);z-index:26}
.navigation-banner #member-nav{display:flex;justify-content:flex-start;overflow:visible;flex-wrap:wrap;margin:0!important;padding:0!important;min-width:0}
.navigation-banner .member-menu{width:100%}.navigation-banner .member-menu-links{justify-content:flex-start;gap:8px}
.navigation-banner #member-nav :is(button,.nav-group>summary){font-size:16px!important}
.navigation-banner .banner-language-slot{position:absolute;inset-block-start:10px;inset-inline-end:16px;z-index:30}
.navigation-banner .banner-language-slot .site-language-picker{margin:0!important}
.navigation-banner>.banner-centered-search{position:absolute!important;inset-block-start:56%;inset-inline-start:55%;transform:translate(-50%,-30%);display:flex!important;width:50%!important;max-width:720px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;z-index:3}
.navigation-banner .banner-centered-search .header-search-shell{width:100%;height:54px;padding:3px}
.navigation-banner .banner-centered-search select{display:none!important}
.navigation-banner .banner-centered-search .header-search-camera{width:38px}
.navigation-banner .banner-centered-search .header-search-shell>[type=submit]{width:120px!important;flex:0 0 120px!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:8px 16px!important;border-radius:24px!important;background:var(--blue)!important;color:#fff!important;font-size:15px!important;border:1px solid var(--blue)!important}
.navigation-banner>:is(.home-welcome-banner,.guest-compact-banner){background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;min-height:170px!important;padding:26px 24px 20px!important}
.navigation-banner>:is(.home-welcome-banner,.guest-compact-banner)>div:first-child{max-width:27%}
.navigation-banner :is(.home-welcome-banner,.guest-compact-banner) h2{font-size:20px!important;line-height:1.3!important}
.navigation-banner :is(.home-welcome-banner,.guest-compact-banner) p{font-size:12px!important;line-height:1.4!important}
.navigation-banner :is(.home-welcome-banner,.guest-compact-banner)>:is(img,.guest-exchange-art){width:150px!important;height:105px!important}
.navigation-banner>.launch-trust-note{inset-block-start:auto!important;inset-block-end:10px;inset-inline-end:18px!important;max-width:40%;z-index:4}
@media(max-width:1000px){
 .navigation-banner{min-height:0;padding-bottom:16px}
 .navigation-banner .banner-toolbar{min-height:62px;padding:10px 150px 10px 12px}
 .navigation-banner .mobile-menu-summary{min-height:40px!important;padding:8px 12px!important;font-size:16px!important}
 .navigation-banner .member-menu-links{position:absolute;inset-inline-start:12px;inset-block-start:56px;min-width:220px;background:#fff;border:1px solid var(--brand-border);border-radius:10px;padding:10px;z-index:40}
 .navigation-banner>.banner-centered-search{position:static!important;width:calc(100% - 32px)!important;max-width:640px!important;transform:none!important;margin:12px auto 8px!important}
 .navigation-banner>:is(.home-welcome-banner,.guest-compact-banner){min-height:0!important;padding:16px!important}
 .navigation-banner>:is(.home-welcome-banner,.guest-compact-banner)>div:first-child{max-width:100%}
 .navigation-banner :is(.home-welcome-banner,.guest-compact-banner)>:is(img,.guest-exchange-art){display:none!important}
 .navigation-banner>.launch-trust-note{position:relative!important;inset:auto!important;max-width:none!important;margin:10px 16px 0!important;text-align:end}
 .navigation-banner .banner-centered-search .header-search-shell>[type=submit]{width:90px!important;flex-basis:90px!important;font-size:14px!important;padding:8px!important}
}

.navigation-banner #member-nav[hidden]{display:none!important}

.navigation-banner .toolbar-communication{margin-inline-start:0!important}.navigation-banner .member-menu-links{justify-content:flex-start!important}

/* Search stays beside and vertically centered with the brand. */
body>header.catalogue-header.brand-search-header{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:20px!important;padding:14px 24px!important}
body>header.brand-search-header>.brand{grid-column:1;grid-row:1;margin:0}
body>header.brand-search-header>.header-center-search{position:static!important;grid-column:2;grid-row:1;width:min(100%,1000px)!important;max-width:1000px!important;margin:0 auto!important;transform:none!important}
.brand-search-header .header-center-search .header-search-shell{width:100%;height:54px;padding:3px}
.brand-search-header .header-center-search select{display:block!important;width:165px!important;flex:0 1 165px!important;max-width:26%!important}
.brand-search-header .header-center-search .header-search-shell>[type=submit]{width:120px!important;flex:0 0 120px!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0 0 0 6px!important;padding:8px 16px!important;border-radius:24px!important;background:var(--blue)!important;color:#fff!important;border:1px solid var(--blue)!important;font-size:15px!important}
@media(min-width:1001px){.navigation-banner>:is(.home-welcome-banner,.guest-compact-banner)>div:first-child{max-width:65%}.navigation-banner :is(.home-welcome-banner,.guest-compact-banner)>:is(img,.guest-exchange-art){width:190px!important}}
@media(max-width:950px){body>header.catalogue-header.brand-search-header{grid-template-columns:minmax(0,1fr)!important;padding:12px 16px!important;gap:12px!important}body>header.brand-search-header>.header-center-search{grid-column:1;grid-row:2;width:100%!important}.brand-search-header .header-center-search select{width:115px!important;flex-basis:115px!important;font-size:12px!important}.brand-search-header .header-center-search .header-search-shell>[type=submit]{width:76px!important;flex-basis:76px!important;padding:6px!important;font-size:13px!important}.brand-search-header .header-center-search .header-search-camera{display:none}}

body>header.catalogue-header.brand-search-header{grid-template-rows:auto!important;min-height:0!important}
@media(max-width:950px){body>header.catalogue-header.brand-search-header{grid-template-rows:auto auto!important}}

/* A listing opens as a full-width detail page, including inline home/guest entry points. */
body.listing-detail-view>main{display:block!important}
body.listing-detail-view :is(.home-trade-finder,.guest-trade-finder),body.listing-detail-view main>#auth{display:none!important}
body.listing-detail-view :is(.home-discovery-layout,.search-workspace):has(.item-detail){grid-template-columns:minmax(0,1fr)!important}
body.listing-detail-view .search-workspace:has(.item-detail)>.market-form{display:none!important}
body.listing-detail-view :is(.home-right-content,.home-record-pane,.inline-record-details,.guest-discovery-center,.guest-discovery-listings):has(.item-detail){width:100%!important;max-width:none!important;max-height:none!important;grid-column:1/-1!important;padding:0!important;overflow:visible!important}
body.listing-detail-view .item-detail{width:100%!important;max-width:none!important;box-sizing:border-box;margin-inline:0!important}
body.listing-detail-view .item-detail .item-detail-layout{display:grid!important;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr)!important;width:100%!important;max-width:none!important;gap:8px!important;align-items:start}
body.listing-detail-view .item-detail .item-detail-layout>.photo-carousel{width:100%!important;max-width:none!important;min-width:0}
body.listing-detail-view .item-detail .listing-body{min-width:0;box-sizing:border-box}
body.listing-detail-view .item-detail .photo-enlarge img{width:100%!important;height:clamp(360px,42vw,680px)!important;object-fit:cover!important}
@media(max-width:760px){body.listing-detail-view .item-detail .item-detail-layout{grid-template-columns:minmax(0,1fr)!important}body.listing-detail-view .item-detail .photo-enlarge img{height:clamp(240px,75vw,480px)!important}}

/* Activities shares the header's rounded search treatment with six activity categories. */
.activities-search.activity-catalogue-search{display:block;margin:12px 0 18px;padding:0;border:0;background:transparent;min-width:0}
.activities-search.activity-catalogue-search .activity-search-shell{display:flex;align-items:center;gap:0;width:100%;min-width:0;height:54px;padding:3px;border:2px solid #222;border-radius:30px;background:#fff;overflow:hidden}
.activity-catalogue-search .activity-search-icon{flex:none;padding-inline:14px 8px;font-size:26px;color:var(--muted);line-height:1}
.activities-search.activity-catalogue-search input{flex:1 1 0;width:0;min-width:0;height:44px;margin:0;padding:8px;border:0!important;box-shadow:none!important;border-radius:0;font-size:15px;background:#fff;font-weight:400}
.activities-search.activity-catalogue-search select{flex:0 1 185px;width:185px;min-width:0;max-width:35%;height:40px;margin:0;padding:8px 12px;border:0;border-inline-start:1px solid var(--brand-border);border-radius:0;background:#fff;color:var(--ink);font-size:14px;font-weight:400}
.activities-search.activity-catalogue-search button[type=submit]{flex:0 0 120px;width:120px;min-width:0;min-height:44px;height:44px;margin:0 0 0 6px;padding:8px 16px;border-radius:24px;background:var(--blue);color:#fff;border:1px solid var(--blue);font-size:15px;font-weight:600}
@media(max-width:600px){.activity-catalogue-search .activity-search-icon{padding-inline:8px 2px;font-size:22px}.activities-search.activity-catalogue-search input{font-size:13px;padding:6px}.activities-search.activity-catalogue-search select{flex-basis:120px;width:120px;max-width:37%;padding:6px 4px;font-size:12px}.activities-search.activity-catalogue-search button[type=submit]{flex-basis:66px;width:66px;margin-inline-start:2px;padding:6px;font-size:13px}}
.activities-search.activity-catalogue-search .activity-search-shell{flex-direction:row}

/* Match the top search bar's size instead of stretching across the Activities pane. */
.activities-search.activity-catalogue-search{width:min(100%,1000px);max-width:1000px;margin-inline:auto}
.activities-search.activity-catalogue-search .activity-search-shell{height:54px;min-height:54px;max-height:54px;box-sizing:border-box}
.activities-search.activity-catalogue-search select{width:165px;flex-basis:165px;max-width:26%}
.activities-search.activity-catalogue-search button[type=submit]{width:120px!important;flex:0 0 120px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:8px 16px!important;box-sizing:border-box;line-height:normal}
@media(max-width:950px){.activities-search.activity-catalogue-search select{width:115px;flex-basis:115px;font-size:12px}.activities-search.activity-catalogue-search button[type=submit]{width:76px!important;flex-basis:76px!important;padding:6px!important;font-size:13px!important}}

/* The toolbar now lives in the banner; match its collapsed breakpoint to JavaScript. */
@media(max-width:1000px){
 .navigation-banner .mobile-menu-summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:var(--brand-soft);border:1px solid var(--brand-border);border-radius:8px;color:var(--ink);font-weight:700}
 .navigation-banner .member-menu:not([open])>.member-menu-links{display:none}
 .navigation-banner .member-menu[open]>.member-menu-links{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:7px;max-height:65vh;max-height:65dvh;max-width:calc(100vw - 56px);overflow-x:hidden;overflow-y:auto;box-sizing:border-box}
 .navigation-banner .member-menu-links>*{flex-shrink:0;min-width:0;max-width:100%;box-sizing:border-box}
 .navigation-banner .member-menu-links>button{width:100%;text-align:start}
 .navigation-banner .nav-group>summary{min-height:44px;white-space:normal;overflow-wrap:anywhere}
 .navigation-banner .nav-dropdown{position:static;min-width:0;width:100%;margin-top:6px;box-shadow:none;box-sizing:border-box}
 .navigation-banner .toolbar-communication{margin-left:0;flex-wrap:wrap}
}

/* Keep the menu icon directly before its label instead of at the far edge. */
body :is(header,.navigation-banner) .mobile-menu-summary{justify-content:flex-start!important;gap:8px}

/* Keep primary navigation visible on phones, like the desktop toolbar. */
body :is(header,.navigation-banner) #member-nav .mobile-menu-summary{display:none!important}
body :is(header,.navigation-banner) #member-nav .member-menu>.member-menu-links{position:static!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body :is(header,.navigation-banner) #member-nav .member-menu-links>button{width:auto!important;text-align:start}
body :is(header,.navigation-banner) #member-nav .toolbar-communication{width:auto;flex-wrap:wrap}
@media(max-width:1000px){.navigation-banner .banner-toolbar{padding:60px 12px 10px}.navigation-banner #member-nav :is(button,.nav-group>summary){font-size:14px!important;padding:9px 10px!important;min-height:42px}.navigation-banner .member-menu-links>.nav-group{position:relative}.navigation-banner .nav-dropdown{position:absolute;top:100%;inset-inline-start:0;width:max-content;min-width:190px;max-width:calc(100vw - 56px);max-height:60dvh;overflow-y:auto;z-index:50;background:#fff;box-shadow:0 8px 24px #172b4620}}


/* Keep guest sign-in beside listings in desktop-width app and browser views. */
@media(min-width:951px){
 main:has(>.guest-trade-finder:not([hidden]))>.guest-trade-finder{grid-column:1!important;grid-row:1!important;align-self:start!important}
 main:has(>.guest-trade-finder:not([hidden]))>.guest-discovery-center{grid-column:2!important;grid-row:1!important;align-self:start!important}
 main:has(>.guest-trade-finder:not([hidden]))>#auth{grid-column:3!important;grid-row:1!important;align-self:start!important;min-width:0}
}


/* Eight-pixel typography increase for the compact phone canvas only. */
html.compact-phone-view body{font-size:24px}
html.compact-phone-view .navigation-banner #member-nav :is(button,.nav-group>summary){font-size:22px!important}
html.compact-phone-view .header-center-search input{font-size:26px!important}
html.compact-phone-view .header-center-search select{font-size:22px!important}
html.compact-phone-view .brand-search-header .header-center-search .header-search-shell>[type=submit]{font-size:23px!important}
html.compact-phone-view body :is(.home-trade-finder,.guest-trade-finder)>form>label,html.compact-phone-view body :is(.home-trade-finder,.guest-trade-finder)>form :is(input,select),html.compact-phone-view body :is(.home-trade-finder,.guest-trade-finder) .finder-price-row label{font-size:21px!important}
html.compact-phone-view :is(.home-trade-finder,.guest-trade-finder) .finder-tabs button{font-size:21px!important}
html.compact-phone-view.photo-grid-results .unified-result-row .record-main>h3 :is(a,button){font-size:21px!important}
html.compact-phone-view.photo-grid-results .unified-result-row :is(.record-main,.record-summary)>:is(small,p,div){font-size:19px!important}
html.compact-phone-view.photo-grid-results .unified-result-row .record-summary>strong,html.compact-phone-view.photo-grid-results .unified-result-row .record-row-price{font-size:24px!important}
html.compact-phone-view.photo-grid-results .unified-result-row :is(.compact-search-actions,.activity-card-links,.record-row-actions)>:is(button,a){font-size:21px!important}
html.compact-phone-view .navigation-banner :is(.home-welcome-banner,.guest-compact-banner) h2{font-size:28px!important}
html.compact-phone-view .navigation-banner :is(.home-welcome-banner,.guest-compact-banner) p{font-size:20px!important}

html.compact-phone-view .brand-search-header .header-center-search select{width:215px!important;flex:0 0 215px!important;max-width:38%!important}

/* Brand and search now share the welcome banner; retire the separate top strip. */
body>header.retired-brand-header{display:none!important}
.integrated-brand-banner .banner-brand-row{padding:18px 24px 0;min-width:0}
.integrated-brand-banner .banner-brand-row>.brand{font-size:46px!important;line-height:1.2;text-decoration:none;display:inline-flex;align-items:center;gap:10px}
.integrated-brand-banner :is(.home-welcome-banner,.guest-compact-banner)>div:first-child{max-width:100%!important;width:100%}
.integrated-brand-banner .banner-inline-search{position:static!important;transform:none!important;display:flex!important;width:min(760px,100%)!important;max-width:100%!important;margin:16px 0 0!important;padding:0!important;gap:0;grid-column:auto}
.integrated-brand-banner .banner-inline-search .header-search-shell{width:100%;min-width:0}
.integrated-brand-banner .banner-inline-search select{display:block!important}
.integrated-brand-banner .home-welcome-banner{padding-bottom:20px!important;min-height:0!important}
.integrated-brand-banner .home-welcome-banner>img{display:none!important}
.integrated-brand-banner .guest-compact-banner{min-height:0!important}
.integrated-brand-banner .guest-compact-banner .guest-exchange-art{display:none!important}
.integrated-brand-banner .launch-trust-note{position:relative!important;inset:auto!important;max-width:none!important;margin:8px 24px 14px!important;text-align:end}

.integrated-brand-banner .banner-inline-search .header-search-shell>[type=submit]{width:120px!important;flex:0 0 120px!important;min-width:0;height:44px!important;min-height:44px!important;margin:0 0 0 6px!important;padding:8px 16px!important;border-radius:24px!important;background:var(--blue)!important;color:#fff!important;border:1px solid var(--blue)!important;font-size:15px!important}
html.compact-phone-view .integrated-brand-banner .banner-inline-search .header-search-shell>[type=submit]{font-size:23px!important}
html.compact-phone-view .integrated-brand-banner .banner-inline-search select{width:215px!important;flex:0 0 215px!important;max-width:38%!important}

body>header.catalogue-header.brand-search-header.retired-brand-header{display:none!important}.integrated-brand-banner .banner-brand-row>.brand>.dot{margin-inline-start:-10px}

/* Banner spacing: brand first, search at the bottom, membership at middle right. */
.integrated-brand-banner .banner-brand-row{padding:18px 24px 8px}
.integrated-brand-banner .banner-inline-search{margin-top:40px!important}
.integrated-brand-banner .home-welcome-banner{padding-bottom:12px!important}
.integrated-brand-banner .launch-trust-note{position:absolute!important;inset-block-start:50%!important;inset-inline-end:24px!important;inset-block-end:auto!important;inset-inline-start:auto!important;transform:translateY(-50%);margin:0!important;max-width:32%!important;text-align:end;z-index:28}
.integrated-brand-banner :is(.home-welcome-banner,.guest-compact-banner) :is(h2,p){max-width:65%}
.integrated-brand-banner .launch-trust-message p{max-width:none}

.integrated-brand-banner .banner-toolbar{padding:8px 16px!important}

/* Login banner search matches the approved member banner layout. */
.integrated-brand-banner>.guest-compact-banner{display:flex!important;flex-direction:column;align-items:flex-start;text-align:start;padding-bottom:12px!important}
.integrated-brand-banner>.guest-compact-banner[hidden]{display:none!important}
.integrated-brand-banner>.guest-compact-banner>.banner-inline-search{align-self:flex-start;flex:none;margin:40px 0 0!important;width:min(760px,100%)!important}
.integrated-brand-banner>.guest-compact-banner>.guest-browse-note{margin-top:12px!important}

/* Desktop-only form and detail spacing; compact phone canvas stays unchanged. */
@media(min-width:951px){
 html:not(.compact-phone-view) main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:280px minmax(0,1fr) 340px!important}
 html:not(.compact-phone-view) main:has(>.guest-trade-finder:not([hidden]))>#auth{width:100%!important;min-width:0!important;padding:24px!important;box-sizing:border-box;text-align:start}
 html:not(.compact-phone-view) #auth .tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:24px}
 html:not(.compact-phone-view) #auth .tabs button{width:100%!important;min-width:0;min-height:44px;padding:8px!important;font-size:14px!important;line-height:1.3;white-space:normal}
 html:not(.compact-phone-view) #auth .form-heading{margin:0 0 20px!important;padding:0!important}
 html:not(.compact-phone-view) #auth #form-title{font-size:28px!important;line-height:1.2;margin:8px 0}
 html:not(.compact-phone-view) #auth #form-subtitle{font-size:14px;line-height:1.5}
 html:not(.compact-phone-view) #auth #form label{min-width:0;max-width:100%;box-sizing:border-box;line-height:1.4}
 html:not(.compact-phone-view) #auth #form :is(input:not([type=checkbox]),select){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;font-size:14px!important}
 html:not(.compact-phone-view) #auth #form .location{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 html:not(.compact-phone-view) #auth .password{position:relative;min-width:0}
 html:not(.compact-phone-view) #auth .password input{padding-inline-end:58px!important}
 html:not(.compact-phone-view) #auth #submit{position:static!important;width:100%!important;margin-top:16px!important;min-height:42px!important;font-size:15px!important}
 html:not(.compact-phone-view) #auth .remember-username{position:static!important;display:flex!important;gap:8px;align-items:center;margin:12px 0!important}
 html:not(.compact-phone-view) .item-detail .item-detail-layout>.listing-body{padding:24px!important;min-width:0!important;box-sizing:border-box}
 html:not(.compact-phone-view) .item-detail .listing-body :is(p,dt,dd,h3){overflow-wrap:anywhere;word-break:normal;max-width:100%;box-sizing:border-box}
 html:not(.compact-phone-view) .item-detail .listing-body dl{display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;gap:12px 20px!important;margin:16px 0!important}
 html:not(.compact-phone-view) .item-detail .listing-body :is(dt,dd){min-width:0;margin:0!important;line-height:1.5}
 html:not(.compact-phone-view) .item-detail .listing-body .listing-actions{display:flex!important;flex-wrap:wrap;gap:8px!important;align-items:center;width:100%;position:static!important;margin:16px 0!important}
 html:not(.compact-phone-view) .item-detail .listing-body .listing-actions>button{flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-height:36px!important;padding:8px 12px!important;font-size:13px!important;line-height:1.3!important;white-space:normal;margin:0!important}
 html:not(.compact-phone-view) .item-detail .detail-utility-actions{display:flex!important;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:16px 0!important}
 html:not(.compact-phone-view) .item-detail .detail-utility-actions>button{width:auto!important;flex:0 1 auto!important;min-height:32px!important;padding:6px 10px!important;font-size:12px!important}
}

/* One reusable login popup beside the banner language control. */
.header-login-layout .banner-language-slot{display:flex;align-items:center;gap:14px}
.header-login-trigger{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--navy,#172d4e);font:inherit;font-size:16px;font-weight:600;padding:8px;cursor:pointer;white-space:nowrap}
.header-login-trigger[hidden],#header-login-popup[hidden]{display:none!important}
#header-login-popup{position:fixed;inset-inline-end:24px;top:74px;z-index:900;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 94px);overflow:auto;background:#fff;border:1px solid #cfdaea;border-radius:18px;box-shadow:0 12px 40px #142a4e30;padding:24px;box-sizing:border-box;text-align:start;overscroll-behavior:contain}
#header-login-popup>#auth{display:block;margin:0!important;padding:12px 0 0!important;width:100%!important;max-width:none!important;min-height:0!important;border:0!important;box-shadow:none!important;background:transparent;position:static!important}
#header-login-popup>#auth[hidden]{display:none!important}
#header-login-popup .header-login-close{position:absolute;top:5px;inset-inline-end:8px;font-size:26px;line-height:1;border:0;background:transparent;color:#172d4e;padding:5px 10px;cursor:pointer}
#header-login-popup #auth .remember-username,#header-login-popup #auth #submit{position:static!important}
#header-login-popup #auth #submit{width:100%!important;margin-top:14px!important}
#header-login-popup #auth .form-heading{margin:20px 0}
#header-login-popup #auth .form-heading h2{font-size:28px;margin:8px 0}
#header-login-popup #auth .trust{margin-top:20px}
body.header-login-layout>main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:minmax(240px,300px) minmax(0,1fr)!important;gap:24px!important}
body.header-login-layout>main>.guest-discovery-center{grid-column:2!important;grid-row:1!important}
body.header-login-layout .integrated-brand-banner .banner-inline-search{margin-inline:auto!important;align-self:center!important}
html.compact-phone-view #header-login-popup{width:min(640px,calc(100vw - 32px));top:88px;max-height:calc(100dvh - 110px);font-size:24px}
html.compact-phone-view .header-login-trigger{font-size:24px}
@media(max-width:600px){#header-login-popup{top:64px;inset-inline-end:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 80px);padding:20px}.header-login-trigger{font-size:15px;padding:6px}.header-login-layout .banner-language-slot{gap:6px}body.header-login-layout>main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:minmax(0,1fr)!important}body.header-login-layout>main>.guest-discovery-center{grid-column:1!important;grid-row:2!important}}
@media(max-width:600px){.header-login-layout .integrated-brand-banner .banner-brand-row{padding-top:64px!important;padding-inline:16px!important}.header-login-layout .integrated-brand-banner .banner-brand-row>.brand{font-size:clamp(24px,6.6vw,34px)!important;gap:6px}.header-login-layout .integrated-brand-banner .banner-brand-row>.brand .logo{flex-shrink:0}}
@media(max-width:600px){body.header-login-layout .integrated-brand-banner .banner-inline-search .header-search-shell>[type=submit]{width:68px!important;flex-basis:68px!important;padding-inline:8px!important;font-size:14px!important}body.header-login-layout .integrated-brand-banner .banner-inline-search select{width:96px!important;flex-basis:96px!important;font-size:12px!important}}

/* Signed-in user icon and compact account canvas. */
.username-account-menu>summary.account-icon-trigger{display:flex!important;align-items:center;justify-content:center;padding:7px!important;width:44px;min-height:44px;box-sizing:border-box;border:1px solid #cbd8eb;border-radius:50%;background:#fff;color:#172d4e;cursor:pointer;list-style:none}
.username-account-menu>summary.account-icon-trigger::-webkit-details-marker{display:none}
.username-account-menu[hidden]{display:none!important}
.banner-language-slot>.username-account-menu{position:relative;margin:0}
.username-account-menu:has(>.account-icon-trigger)>.nav-dropdown{position:absolute;inset-inline-end:0;inset-inline-start:auto;top:calc(100% + 9px);min-width:210px;width:max-content;max-width:calc(100vw - 32px);padding:9px;background:#fff;border:1px solid #cfdaea;border-radius:15px;box-shadow:0 10px 28px #142a4e26;z-index:80}
.username-account-menu:has(>.account-icon-trigger)>.nav-dropdown button{display:block;width:100%;text-align:start;border:0;border-radius:9px;padding:11px 14px;min-height:42px;background:transparent;color:#172d4e;font:inherit;white-space:normal;cursor:pointer}
.username-account-menu:has(>.account-icon-trigger)>.nav-dropdown button:hover{background:#edf4ff;color:#1655d8}
.username-account-menu:has(>.account-icon-trigger)>.nav-dropdown button[hidden]{display:none!important}
html.compact-phone-view .username-account-menu>summary.account-icon-trigger{width:54px;min-height:54px}

/* Right-side Account canvas, retaining the site's blue palette. */
.username-account-menu>summary.account-icon-trigger{border:0;background:transparent;color:#1655d8}
.account-side-canvas{position:fixed;inset-block:0;inset-inline-start:auto;inset-inline-end:0;margin:0;width:min(390px,92vw);max-width:92vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0;background:#fff;color:#172d4e;box-shadow:-10px 0 35px #142a4e22;box-sizing:border-box;overflow-y:auto}
.account-side-canvas::backdrop{background:rgb(12 24 43 / 28%)}
.account-side-canvas>header{position:static;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px;border:0;border-bottom:1px solid #dbe2ed;background:#fff;min-height:88px;margin:0}
.account-side-canvas h2{font-size:25px;margin:0;line-height:1.3}
.account-side-canvas .account-canvas-close{border:0;background:transparent;color:#53647b;width:44px;height:44px;padding:0;font-size:34px;cursor:pointer}
.account-side-canvas>.account-drawer-actions{display:flex;flex-direction:column;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important;max-height:none!important}
.account-side-canvas>.account-drawer-actions>button{display:block;flex:none;width:100%;text-align:start;min-height:72px;padding:22px 24px!important;border:0;border-bottom:1px solid #dbe2ed;border-radius:0;background:#fff;color:#172d4e;font:inherit;font-size:18px;font-weight:600;cursor:pointer}
.account-side-canvas>.account-drawer-actions>button[hidden]{display:none!important}
.account-side-canvas>.account-drawer-actions>button:hover{background:#edf4ff!important;color:#1655d8!important}
.account-side-canvas>.account-drawer-actions>#logout,.account-side-canvas>.account-drawer-actions>.account-canvas-logout{margin-top:32px;border:0;color:#1655d8;text-decoration:underline}
html.compact-phone-view .account-side-canvas{width:min(600px,90vw);font-size:26px}
html.compact-phone-view .account-side-canvas h2{font-size:32px}
html.compact-phone-view .account-side-canvas>.account-drawer-actions>button{font-size:26px;min-height:90px}

.header-login-trigger>svg{color:#1655d8;width:28px;height:28px;flex-shrink:0}

.username-account-menu>summary.account-icon-trigger{width:auto;gap:8px;border-radius:12px}.account-icon-username{font-size:16px;font-weight:600;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.compact-phone-view .username-account-menu>summary.account-icon-trigger{width:auto}html.compact-phone-view .account-icon-username{font-size:24px;max-width:240px}@media(max-width:600px){.account-icon-username{font-size:14px;max-width:120px}}

/* Keep the account controls below their trigger, clear of username/language. */
.username-account-menu>summary.account-icon-trigger::after{content:'';display:block;flex:none;width:6px;height:6px;margin-inline-start:3px;margin-block-start:-3px;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;transform:rotate(45deg)}
.account-side-canvas{inset:auto;position:fixed;z-index:901;margin:0;width:min(360px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:auto;max-height:calc(100dvh - 100px);border:1px solid #cfdaea;border-radius:18px;box-shadow:0 12px 40px #142a4e30;overscroll-behavior:contain}
.account-side-canvas>header{min-height:60px;padding:10px 18px}
.account-side-canvas h2{font-size:22px}
.account-side-canvas>.account-drawer-actions>button{min-height:44px;padding:12px 18px!important;font-size:16px}
.account-side-canvas>.account-drawer-actions>#logout,.account-side-canvas>.account-drawer-actions>.account-canvas-logout{margin-top:8px;margin-bottom:8px}
html.compact-phone-view .account-side-canvas{width:min(480px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
html.compact-phone-view .account-side-canvas h2{font-size:28px}
html.compact-phone-view .account-side-canvas>.account-drawer-actions>button{font-size:24px;min-height:56px}
/* One shared typeface for every page, control and dynamically opened panel. */
:root{--site-font-family:Arial,"Helvetica Neue",Helvetica,sans-serif}
body,body *{font-family:var(--site-font-family)!important}
body :is(code,pre,kbd,samp),body :is(code,pre,kbd,samp) *{font-family:ui-monospace,Consolas,monospace!important}
/* Optional photo-assisted listing entry. */
.listing-photo-assist{padding:18px;margin-bottom:20px;border:1px solid var(--brand-border);border-radius:12px;background:var(--brand-soft)}
.listing-photo-assist h3{margin:0 0 8px}.listing-photo-assist p{margin:8px 0;line-height:1.5}
.photo-assist-actions{display:flex;flex-wrap:wrap;gap:8px}.photo-assist-actions button,.photo-assist-review>button{width:auto!important;min-height:44px;margin:0!important;padding:10px 14px!important}
.photo-assist-consent{margin-top:12px}.photo-suggestion-choice{display:flex;align-items:flex-start;gap:10px;margin:10px 0;overflow-wrap:anywhere}.photo-suggestion-choice input{width:18px;min-width:18px;height:18px;margin:3px 0 0}
.photo-assist-review:empty{display:none}.photo-assist-review{margin-top:12px;padding-top:12px;border-top:1px solid var(--brand-border)}
/* Compact search actions replace the large discovery filter pane. */
.search-popup-layout .header-search-camera.photo-listing-entry{display:inline-flex!important;align-items:center;justify-content:center;pointer-events:auto!important;cursor:pointer;background:transparent!important;color:var(--brand-ink);border:0!important;border-radius:8px;min-width:42px;min-height:42px;padding:8px!important;margin:0!important;flex:0 0 42px}
.search-popup-layout .header-search-camera.photo-listing-entry svg{width:22px;height:22px}.photo-listing-entry:hover{background:var(--brand-soft)!important}
.banner-search-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:6px}.banner-search-links button{width:auto!important;min-height:36px!important;padding:4px 2px!important;margin:0!important;border:0!important;background:transparent!important;color:var(--brand-blue)!important;text-decoration:underline;font-size:14px!important;cursor:pointer}
body.search-popup-layout .home-trade-finder{display:none!important}
body.search-popup-layout .home-discovery-layout{grid-template-columns:minmax(0,1fr)!important}
body.search-popup-layout.header-login-layout>main:has(>.guest-trade-finder:not([hidden])){grid-template-columns:minmax(0,1fr)!important}
body.search-popup-layout.header-login-layout>main>.guest-discovery-center{grid-column:1/-1!important;grid-row:1!important}
body.search-popup-layout .market .search-workspace{grid-template-columns:minmax(0,1fr)!important}
body.search-popup-layout .search-workspace>.market-form{display:none!important}
.catalogue-form-popup{width:min(780px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 40px)!important;margin:auto!important;padding:22px!important;border:1px solid var(--brand-border)!important;border-radius:16px!important;background:white;color:var(--brand-ink);overflow:auto!important;box-sizing:border-box;box-shadow:0 16px 60px #142d4b33}
.catalogue-form-popup::backdrop{background:#142d4b66}.catalogue-popup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.catalogue-popup-heading h2{font-size:24px!important;margin:0!important}.catalogue-popup-close{padding:4px!important;border:0;background:transparent!important;color:var(--brand-ink);font-size:28px!important;min-width:40px;min-height:40px;width:40px!important;margin:0!important}
.catalogue-form-popup .market-form{display:block!important;max-height:none!important;width:100%!important;padding:0!important;margin:0!important;overflow:visible!important;border:0!important;box-shadow:none!important}.catalogue-form-popup .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.catalogue-form-popup label{min-width:0}.catalogue-form-popup :is(input,select,textarea){max-width:100%;box-sizing:border-box}.catalogue-form-popup .photo-assist-consent{font-size:14px!important;line-height:1.45}.catalogue-form-popup .photo-assist-consent input{width:18px;min-width:18px;height:18px}.catalogue-form-popup .photo-assist-actions{margin-top:12px}.catalogue-form-popup .photo-assist-status{font-size:14px!important}.catalogue-form-popup .listing-wizard-step[hidden]{display:none!important}
@media(max-width:600px){.catalogue-form-popup{padding:16px!important}.catalogue-form-popup .market-grid{grid-template-columns:minmax(0,1fr)!important}.banner-search-links{gap:12px}}
body.search-popup-layout .integrated-brand-banner .banner-inline-search{width:min(1000px,100%)!important;align-items:center!important;gap:12px!important}
.search-popup-layout .banner-inline-search>.header-search-shell{flex:1 1 auto;min-width:0!important;width:auto!important}
.search-popup-layout .banner-inline-search>.banner-search-links{flex:0 0 auto;margin:0;gap:12px}
@media(max-width:600px){body.search-popup-layout .integrated-brand-banner .banner-inline-search{flex-wrap:wrap!important}.search-popup-layout .banner-inline-search>.header-search-shell{flex-basis:100%}.search-popup-layout .banner-inline-search>.banner-search-links{margin-inline-start:auto}}
body.search-popup-layout main:has(>.market:not([hidden]))>.guest-discovery-center{display:none!important}
.search-popup-layout .banner-search-links button{color:var(--blue,#1758df)!important;min-width:0!important;flex:0 0 auto!important;height:auto!important}
.search-popup-layout .popup-search-results>h2{display:none!important}
.catalogue-form-popup .photo-assist-consent{display:flex!important;align-items:flex-start!important;gap:10px!important;color:#172b46!important;white-space:normal!important}
.catalogue-form-popup .photo-assist-consent>span{display:block!important;flex:1;min-width:0;font-size:14px!important;line-height:1.5!important;color:inherit!important}
.catalogue-form-popup .listing-clear-form,.market-form>.listing-clear-form{width:auto!important;min-height:38px!important;margin:12px 10px 12px 0!important;padding:8px 14px!important;font-size:14px!important}
.listing-use-location{width:auto!important;min-height:36px!important;font-size:13px!important;padding:6px 10px!important;margin:6px 0!important}.listing-location-status{display:block;font-size:12px!important;font-weight:400!important;line-height:1.4;color:var(--muted)}

/* Automatic photo entry: controls above consent, aligned right. */
.listing-photo-assist .photo-assist-consent{display:flex!important;align-items:flex-start;gap:8px;margin:12px 0 0 auto!important;max-width:620px;width:fit-content;justify-content:flex-end;font-size:14px!important}.listing-photo-assist .photo-assist-consent input{width:18px;min-width:18px;height:18px;margin:2px 0 0}.listing-photo-assist .photo-assist-consent span{min-width:0;line-height:1.45}.photo-assist-actions .listing-clear-form{margin:0!important}

.listing-photo-assist .photo-assist-disclosure{font-size:12px!important;line-height:1.45!important;color:#b42318!important;text-align:left!important;margin:8px 0!important;font-weight:400!important}

.listing-camera-session{width:min(620px,94vw);max-height:90dvh;overflow:auto;padding:18px;border:1px solid #ccd8e5;border-radius:14px}.listing-camera-session video{display:block;width:100%;max-height:55dvh;object-fit:contain;background:#111;border-radius:10px}.listing-camera-session::backdrop{background:#0008}

/* Full-bleed photos within every marketplace result card. */
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row{padding:0!important;overflow:hidden!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-photo,.activity-card-photo,.record-offer-photo,.photo-carousel,.photo-placeholder){width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-body,.activity-card-body,.record-offer-body,.listing-body){padding:0 10px!important;box-sizing:border-box}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row>:is(.compact-search-actions,.activity-card-links,.record-row-actions,.reference-card-footer){padding:0 10px 10px!important;box-sizing:border-box}
html.photo-grid-results :is(#results,.home-recent-listings,.guest-center-rail,.home-record-pane) .unified-result-row .save-favorite{inset-block-start:8px!important;inset-inline-end:8px!important}

.unified-result-row.swipe-current-card{outline:2px solid var(--blue);outline-offset:2px}.photo-carousel .main-photo-frame,.photo-lightbox:not(.zoomed) .lightbox-stage{touch-action:pan-y pinch-zoom}

/* Size detail actions by their pane, including the app's desktop-width viewport. */
.item-detail .listing-body{container-type:inline-size;container-name:listing-detail-body}
html:root .item-detail .listing-body>.listing-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:1fr;gap:8px!important;align-items:stretch!important;position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box;margin:16px 0!important;padding:0!important;border:0!important;box-shadow:none!important}
html:root .item-detail .listing-body>.listing-actions>button{width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;box-sizing:border-box;margin:0!important;padding:9px 10px!important;font-size:14px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere;align-self:stretch!important}
@container listing-detail-body (min-width:760px){html:root .item-detail .listing-body>.listing-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

.site-welcome-banner .home-welcome-banner{position:relative}.site-welcome-banner .secondary-account-slot{position:absolute;inset-block-start:12px;inset-inline-end:16px;display:flex;align-items:center;gap:14px;z-index:35}.secondary-account-slot>.site-language-picker{margin:0!important}@media(max-width:600px){.site-welcome-banner .secondary-account-slot{gap:6px;inset-inline-end:10px}}
