/* A calm, consistent surface across the website and the Android view. */
:root{--bg:#f6f7f4;--line:#e1e6df;--surface:#fff;--ink:#213b31;--muted:#728074;--shadow:0 8px 30px #19392b08;background:var(--bg);color:var(--ink)}
body{background:var(--bg)}
.account-card,.home-garage-summary,.home-shortcuts>button,.market-search-drawer,.garage-owned-row,.garage-wishes-panel,.swap-review,.listing-preferences,.account-settings>summary,.swap-suggestion{border-color:var(--line);box-shadow:var(--shadow)}
.account-card,.home-garage-summary,.garage-wishes-panel,.swap-review{border-radius:20px}
.has-workspace .workspace-layout{max-width:1160px}.has-workspace .market-space{background:transparent}
.workspace-heading{border-color:var(--line);padding-bottom:22px}.workspace-brand h1{font-weight:650!important}.workspace-brand small{color:#788677}
.market-navigation>.market-tabs[data-workspace-tabs]{background:#fff;border:1px solid var(--line);border-radius:16px;padding:5px;gap:4px;box-shadow:0 4px 18px #18392b05}.market-navigation>.market-tabs[data-workspace-tabs] button{border-radius:11px;font-weight:550;transition:background .16s,color .16s}.market-navigation>.market-tabs[data-workspace-tabs] button[aria-current="page"]{box-shadow:0 2px 6px #173e3515}
.market-space>h2,.market-heading h2{font-size:clamp(27px,3vw,36px);letter-spacing:-1px;font-weight:650}.market-space>p,.inbox-intro{line-height:1.8;color:#748272}
.btn{border-radius:11px;transition:background .16s,box-shadow .16s}.btn.secondary{border-color:var(--line);background:#fff}.btn:active{filter:brightness(.96)}
.account-form input,.account-form select,.account-form textarea,.market-space input,.market-space select,.market-space textarea{border-color:#dce3d8;border-radius:11px}.account-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.account-form textarea{background:#fcfdfa}
.market-grid{gap:24px}.market-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 4px 18px #19392b06;max-width:none}.market-card-body{padding:22px}.market-card h3{letter-spacing:-.5px;font-weight:650}.market-card-body>small{color:#7e887b;font-size:11px}.market-card-body>p{font-size:13px;line-height:1.8;color:#6c7b69}.market-card-body>b{font-size:21px;letter-spacing:-.5px}.market-photos{border-radius:0;background:#f0f2eb}.market-card>.market-photos img{height:auto;aspect-ratio:4/3;object-fit:cover}.market-photos[role=button]{cursor:pointer}.market-card>small{font-size:10px;color:#88917f;padding:9px 20px 0}
.listing-title-link{display:inline;background:transparent;border:0;padding:0;text-align:left;font:inherit;letter-spacing:inherit;color:inherit;line-height:inherit;cursor:pointer}.listing-title-link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.market-card[data-preview-id],.garage-owned-row[data-preview-id]{cursor:pointer}
.market-empty{border:1px dashed #d5dfcd;border-radius:18px;background:#f0f4eb}.market-empty p{font-size:13px;line-height:1.8}.market-empty h3{font-weight:600;letter-spacing:-.4px}
.home-intro h1{font-weight:620!important}.home-shortcuts>button{border-radius:17px;background:#fff}.home-shortcuts h3{letter-spacing:-.4px}.home-community{border-radius:16px;background:#edf2e8}.welcome-hero{gap:40px}.welcome-copy h1{font-weight:620;letter-spacing:-2px}.welcome-bottom{border-radius:22px}.welcome-how h3{font-weight:600}.welcome-visual-gallery .welcome-car{box-shadow:0 12px 30px #19392b0d}
.garage-owned-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto;background:#fff;border-radius:17px;padding:16px;align-items:center}.garage-preview-photo{display:block;width:112px;height:90px;border:0;padding:0;overflow:hidden;border-radius:12px;background:#eff3e9}.garage-preview-photo img{width:100%;height:100%;display:block;object-fit:cover}.garage-owned-row h3{font-size:20px;font-weight:650;letter-spacing:-.5px;margin:0 0 5px}.preview-hint{display:inline-block;background:transparent;border:0;padding:0;color:#728768;font-size:10px;cursor:pointer}.garage-owned-row p{font-size:12px;color:#71806a}.garage-owned-actions .btn{font-size:11px}.garage-wishes-panel{background:#fff;padding:24px}.wish-for-car{color:#7a8b6e}
.listing-steps{gap:10px}.listing-steps button{border-radius:13px}.listing-steps button[aria-current=step]{box-shadow:0 3px 10px #173e3512}.draft-status{border-radius:11px}.market-form-head h2{letter-spacing:-.7px}
.swap-pair-card>header{background:#fff;border-bottom-color:#e8ede3}.swap-card-pair{background:#f8faf6}.swap-card-pending{border-color:#eaddc5;background:#fffbf4}.review-heading h3{font-weight:620}.review-interest{border-radius:13px}.review-check{border-radius:13px}.review-contact{border-radius:17px}.market-thread-list{box-shadow:0 5px 20px #19392b05}.chat-panel.chat-fullscreen{background:#f4f6f1}.chat-panel.chat-fullscreen .market-message{box-shadow:0 2px 8px #244e4007;border-radius:17px 17px 17px 5px}.chat-panel.chat-fullscreen .market-message.mine{background:#e5eedf;border-radius:17px 17px 5px 17px}.chat-fullscreen #market-message textarea{background:#f8faf5}
/* The read-only vehicle page. */
.vehicle-preview{border:1px solid var(--line);background:#fff;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);max-width:920px;margin:20px auto 30px}.preview-heading{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-heading .account-kicker{font-size:9px;letter-spacing:1.3px}.preview-status{font-size:10px;padding:6px 10px;background:#eef4e8;color:#59724c;border:1px solid #e0e8d7;border-radius:20px}.vehicle-preview>.market-photos img{height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 60%;background:#eef1e9}.vehicle-preview>small{display:block;padding:10px 24px 0;font-size:10px;color:#899580}.preview-content{padding:24px 28px 30px}.preview-title{display:flex;justify-content:space-between;align-items:start;gap:20px}.preview-title p{font-size:11px;margin:0 0 8px;color:#819073}.preview-title h2{font-size:clamp(27px,4vw,38px);letter-spacing:-1px;margin:0 0 7px;font-weight:650;outline:none}.preview-title>div>span{font-size:13px;color:#74856a;line-height:1.6}.preview-price{text-align:right;flex-shrink:0}.preview-price small{display:block;font-size:10px;color:#8a977d;margin:0 0 8px}.preview-price strong{font-size:25px;font-weight:650;letter-spacing:-.7px;color:#2c513c}.preview-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e6ecdf;border:1px solid #e6ecdf;border-radius:14px;overflow:hidden;margin:26px 0}.preview-specs>div{background:#fafcf7;padding:16px;min-width:0}.preview-specs dt{font-size:10px;color:#819373;margin-bottom:7px}.preview-specs dd{font-size:14px;font-weight:550;line-height:1.5;color:#405b35;margin:0;overflow-wrap:anywhere}.preview-section{border-top:1px solid #e8eddf;margin-top:24px;padding-top:21px}.preview-section h3{font-size:17px;letter-spacing:-.3px;margin:0 0 15px;font-weight:600}.preview-section>p{font-size:13px;line-height:1.9;color:#708163}.preview-wishes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preview-wishes>article{padding:15px;background:#f7faf3;border:1px solid #e6eddf;border-radius:12px}.preview-wishes strong{font-size:14px}.preview-wishes p{font-size:12px;color:#718564;line-height:1.7;margin:8px 0}.preview-wishes small{font-size:10px;line-height:1.8;color:#7e9271}.preview-actions{border-top:1px solid #e8eddf;margin-top:24px;padding-top:20px}.preview-actions .feed-swap-action{margin-top:0}
@media(min-width:741px){.market-card[data-preview-id]:hover,.garage-owned-row[data-preview-id]:hover{border-color:#b9cdb0;box-shadow:0 10px 28px #19392b0b}}
@media(max-width:740px){.workspace-heading{padding-bottom:17px}.market-navigation{background:#f6f7f4;border-radius:16px}.market-navigation>.market-tabs[data-workspace-tabs]{padding:4px;gap:1px;border-radius:14px}.market-navigation>.market-tabs[data-workspace-tabs] button{font-size:11px;padding:12px 3px;border-radius:10px}.market-card-body{padding:20px}.market-card h3{font-size:23px}.home-summary-body{padding:23px 21px}.garage-owned-row{padding:14px;gap:12px;grid-template-columns:88px minmax(0,1fr)}.garage-preview-photo{width:88px;height:84px}.garage-owned-row h3{font-size:20px}.garage-owned-actions{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:8px;padding-top:12px;border-top:1px solid #edf0e8}.garage-wishes-panel{padding:20px 16px}.preview-content{padding:22px 18px}.preview-heading{padding:15px 18px}.preview-title{flex-direction:column;gap:17px}.preview-price{text-align:left}.preview-price small{display:inline;margin-right:8px}.preview-price strong{font-size:24px}.preview-specs{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:23px}.preview-specs>div{padding:14px 12px}.preview-specs dd{font-size:13px}.preview-wishes{grid-template-columns:1fr}.vehicle-preview{border-radius:17px}.vehicle-preview>small{padding-left:18px}.preview-title h2{font-size:30px}.welcome-hero{gap:25px}}
@media(max-width:360px){.market-navigation>.market-tabs[data-workspace-tabs] button{font-size:10px}.garage-owned-row{grid-template-columns:72px minmax(0,1fr)}.garage-preview-photo{width:72px;height:75px}}
@media(prefers-reduced-motion:reduce){.btn,.market-navigation>.market-tabs[data-workspace-tabs] button{transition:none}}
/* Optional power and visible gallery navigation. */
.power-input{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:8px}.power-input>input,.power-input>select{min-width:0;width:100%}.preview-gallery{position:relative}.preview-gallery .market-photos{scroll-snap-type:x mandatory;scrollbar-width:none}.preview-gallery .market-photos::-webkit-scrollbar{display:none}.preview-photo-slide{position:relative;flex:0 0 100%;width:100%;min-width:0;margin:0;padding:0;border:0;scroll-snap-align:start;scroll-snap-stop:always;background:#eef1e9;cursor:zoom-in}.preview-gallery .preview-photo-slide>img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 60%;background:#eef1e9}.photo-zoom-hint{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:32px;height:32px;background:#fffffff0;border:1px solid #e2e7dc;border-radius:50%;color:#34553e;font-size:23px;box-shadow:0 2px 10px #18392b12}.preview-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 20px;border-bottom:1px solid #edf0e7}.preview-gallery-footer>span{font-size:11px;color:#647a56;font-variant-numeric:tabular-nums;min-width:32px}.preview-gallery-footer>small{font-size:10px;color:#869879}.preview-photo-dots{display:flex;align-items:center;gap:1px}.preview-photo-dots>button{display:grid;place-items:center;border:0;background:transparent;padding:10px 5px;min-width:24px;min-height:30px}.preview-photo-dots>button>span{height:5px;width:5px;display:block;border-radius:20px;background:#d0dac8;transition:width .16s,background .16s}.preview-photo-dots>button[aria-current=true]>span{width:18px;background:#446e4f}
/* Full-screen image dialog: pan, pinch, double tap and keyboard controls. */
dialog.photo-viewer{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:0;border:0;border-radius:0;background:#101913;color:#fff;overflow:hidden;z-index:1000}.photo-viewer[open]{display:flex;flex-direction:column}.photo-viewer:not([open]){display:none}.photo-viewer::backdrop{background:#101913}.photo-viewer-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 10px 20px;flex:none}.photo-viewer-heading>div{min-width:0}.photo-viewer-heading strong{font-size:14px;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:550}.photo-viewer-heading span{display:block;font-size:11px;color:#a8b8a9;margin-top:4px}.photo-viewer button{display:grid;place-items:center;border:1px solid #ffffff20;background:#ffffff0b;color:#fff;border-radius:50%;width:44px;height:44px;min-width:44px;font-size:24px;cursor:pointer}.photo-viewer .viewer-close{font-size:20px;background:transparent;border-color:transparent;flex:none}.viewer-stage{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.viewer-stage>img{width:100%;height:100%;object-fit:contain;display:block;transform-origin:center;will-change:transform;pointer-events:none;user-select:none}.photo-viewer-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px 6px;flex:none}.viewer-zoom{display:flex;gap:10px;align-items:center}.viewer-zoom [data-viewer=reset]{font-size:12px;font-variant-numeric:tabular-nums}.photo-viewer button:disabled{opacity:.25;cursor:default}.photo-viewer button:focus-visible{outline:2px solid #b8d5aa;outline-offset:3px}.viewer-help{text-align:center;font-size:10px;line-height:1.7;color:#91a393;padding:0 18px max(12px,env(safe-area-inset-bottom,0px));margin:7px 0 0;flex:none}@media(max-width:400px){.preview-gallery-footer{padding:9px 14px;gap:6px}.preview-gallery-footer>small{font-size:9px}.preview-photo-dots>button{min-width:22px;padding:10px 3px}}@media(prefers-reduced-motion:reduce){.preview-photo-dots>button>span{transition:none}}
/* Neutral typography; green and amber are reserved for status and primary actions. */
:root{--bg:#f6f7f8;--ink:#292e35;--muted:#737b85;--line:#e3e6e9;--soft:#f1f3f5;background:#f6f7f8;color:#292e35}body{background:#f6f7f8;color:#292e35}.has-workspace .market-space{color:#292e35}.market-navigation{background:#f6f7f8}
#account-root :is(h1,h2,h3,h4),.legal-page :is(h1,h2,h3){color:#292e35}#account-root .welcome-bottom h2{color:#fff}#account-root :is(.home-intro h1 em,.welcome-copy h1 em,.account-intro h1 em){color:#507a40;font-style:normal}
#account-root :is(.account-kicker,.eyebrow,.inbox-intro,.market-space>p,.account-intro>p,.welcome-copy>p,.welcome-how p,.home-intro>p,.home-shortcuts p,.home-summary-body>p,.home-wishes small,.workspace-brand small,.market-card-body>small,.market-card-body>p,.market-card>small,.market-context-icon,.market-swap-context small,.market-swap-context strong,.swap-card-eyebrow,.swap-card-car small,.swap-card-car p,.swap-card-car strong,.swap-card-agreed,.swap-card-compatible,.preview-title p,.preview-title>div>span,.preview-price small,.preview-price strong,.preview-specs dt,.preview-specs dd,.preview-section>p,.preview-wishes strong,.preview-wishes p,.preview-wishes small,.preview-gallery-footer>span,.preview-gallery-footer>small,.garage-owned-row p,.garage-owned-row small,.wish-for-car,.wish-for-car strong,.wish-intro,.wish-row p,.wish-row small,.wish-help,.wish-help small,.listing-optional-note,.market-preference-list p,.listing-preferences>summary,.review-heading>p,.review-interest strong,.review-interest p,.review-spec-title>strong,.review-spec-title>span,.review-numbers span,.review-numbers strong,.review-numbers small,.review-distance>strong,.review-distance>p,.review-distance>small,.review-direction p,.review-direction>small,.review-direction-limits dt,.review-direction-limits dd,.review-manual-facts p,.review-manual-facts>small,.chat-heading p,.thread-models,.thread-status,.chat-sync,.chat-panel .market-message b,.chat-panel .market-message small,.exchange-summary-copy strong,.exchange-summary-copy small,.exchange-summary-count,.exchange-people small,.chat-exchange p){color:#6b737d}
#account-root :is(.account-form label,.wish-editor label,#market-search label,.market-search-drawer summary strong,.market-search-drawer summary small,.filter-control-label>span,.filter-control-label small){color:#505963}#account-root :is(.market-card-body>b,.swap-card-car strong,.preview-price strong,.preview-specs dd,.review-numbers strong,.review-spec-title>strong,.review-direction-limits dd,.review-interest strong,.exchange-summary-copy strong){color:#333a43}
.market-swap-context,.swap-card-pair,.home-community,.home-wishes>span,.wish-editor,.wish-row,.preview-specs>div,.preview-wishes>article,.review-interest,.review-interest.mutual,.review-numbers>div,.review-direction,.review-direction.unspecified,.review-direction-limits>div{background:#f6f7f8;border-color:#e4e7ea}.preview-specs{background:#e4e7ea;border-color:#e4e7ea}.home-summary-photo,.market-photos{background:#f0f2f4}.chat-panel.chat-fullscreen{background:#f4f5f7}.chat-panel.chat-fullscreen .market-message.mine{background:#e8edf0}.market-search-drawer[open]>.market-search-panel{background:#fff}.market-refinements>summary{background:#f4f6f8!important;border-color:#d8dfe5!important}.review-interest>span,.market-context-icon,.wish-row-icon{background:#fff;color:#6c7780}.account-settings>summary{color:#3c444d}.legal-page{color:#4e5863}.legal-page a:not(.btn){color:#485b70}
#account-root .feed-swap-action :is(strong,p,small){color:var(--swap-accent)}#account-root :is(.outside-limit strong,.outside-limit small,.review-year-note,.swap-card-year-note,.review-direction-limits .outside-limit dd){color:#99601f}.review-numbers>div.outside-limit,.review-direction-limits>.outside-limit{background:#fff6e7}.swap-card-state.pending,.review-state.pending{color:#94501c;background:#fff0df}.swap-card-pending{background:#fffaf4;border-color:#ebd9c4}.swap-card-pending h4{color:#8d501d!important}.swap-pair-card .feed-swap-action{margin-top:16px}.swap-pair-card .feed-listing-action{width:100%;justify-self:stretch}
.swaps-intro{margin:25px 0 22px}.swaps-intro h3{font-size:25px;letter-spacing:-.6px;margin:0 0 10px;font-weight:650}.swaps-intro>p{font-size:13px;color:#737b85;line-height:1.7;margin:0}.swaps-intro>details{margin-top:10px}.swaps-intro summary{cursor:pointer;font-size:11px;color:#687382;text-decoration:underline;text-underline-offset:3px;width:fit-content}.swaps-intro details p{font-size:12px;line-height:1.8;color:#737b85;max-width:650px;padding:12px 15px;background:#fff;border:1px solid #e4e7ea;border-radius:10px}.swap-card-body{padding-top:16px}
#account-root .welcome-bottom .eyebrow{color:#d5ddda}#account-root .chat-sync.error{color:#934826}
/* Warm surfaces, restrained colour, and strong black vehicle prices. */
:root{--bg:#f7f8f4;--line:#e1e6dd;background:#f7f8f4}body,.market-navigation{background:#f7f8f4}.swap-card-pair{background:#f6f8f2}.review-car{background:#f5f8ef;border-color:#dfe7d6}.home-community,.wish-row,.preview-wishes>article{background:#f4f7ef}.review-interest.mutual{background:#f0f5e9;border-color:#dce7d2}.swap-card-arrow,.review-swap-symbol{color:#6c8c54}.swap-card-state{background:#eaf3e1;color:#527542}.market-results-heading p>span{background:#fafcf7}.market-space .listing-title-link:hover{color:#31573e}#account-root :is(.market-card-body>b,.swap-card-car>strong,.review-car>div>strong,.preview-price strong,.listing-preview-section>strong,.review-money-value>strong){color:#111;font-weight:750}
/* A visible native selector, including a clear single-car state. */
.market-swap-context.swap-car-picker{padding:18px;border:1px solid #cddcc4;background:#eef4e8;border-radius:16px;gap:14px;box-shadow:0 3px 16px #264d2b06}.swap-car-picker .market-context-icon{background:#fff;width:43px;height:43px;color:#5c7c49;border:1px solid #dce7d3}.swap-car-picker .swap-picker-label{display:block;font-size:10px;font-weight:600;color:#647858;line-height:1.5;margin-bottom:7px}.market-swap-context.swap-car-picker select{display:block;margin:0;width:100%;max-width:360px;min-height:46px;border:1px solid #bacdab;background-color:#fff;border-radius:10px;padding:10px 35px 10px 12px;font-size:17px;font-weight:650;color:#27362b;cursor:pointer;box-shadow:0 1px 4px #264b2b08}.swap-car-picker #swap-picker-help{display:block;font-size:10px;line-height:1.6;letter-spacing:0;margin-top:6px;color:#7c8a73}.market-swap-context.swap-car-picker>.btn{font-size:11px;background:transparent;max-width:90px;text-align:right}.swap-car-picker select:focus-visible{outline:2px solid #729660;outline-offset:2px}
/* Photos and model names open the same read-only preview on both sides. */
.swap-preview-photo{position:relative;display:block;width:100%;padding:0;margin:0;border:0;border-radius:10px;background:#edf1e6;overflow:hidden;cursor:pointer}.swap-preview-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.swap-preview-photo>span{position:absolute;bottom:7px;right:7px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fffffff0;color:#47633d;font-size:15px;border:1px solid #dce5d5}.swap-card-car .swap-preview-photo{margin:0}.review-car .swap-preview-photo{border-radius:0}.review-car .swap-preview-photo img{height:140px;aspect-ratio:auto;object-fit:cover}.swap-card-car .listing-title-link,.review-car .listing-title-link{width:100%;font:inherit;letter-spacing:inherit}.swap-card-car[data-preview-id],.review-car[data-preview-id]{cursor:pointer}.swap-preview-photo:focus-visible{outline-offset:-3px}
@media(max-width:740px){.market-swap-context.swap-car-picker{padding:14px 12px;gap:10px;align-items:center}.swap-car-picker .market-context-icon{width:33px;height:33px;font-size:23px}.market-swap-context.swap-car-picker select{font-size:16px;min-height:44px;padding-left:10px}.swap-car-picker .swap-picker-label{font-size:9px;margin-bottom:5px}.market-swap-context.swap-car-picker>.btn{max-width:65px;font-size:10px}.swap-car-picker #swap-picker-help{font-size:9px}.review-car .swap-preview-photo img{height:95px}}

#account-root .vehicle-price{color:#111;font-weight:750}
#account-root .market-space :is(.market-card-body>b,.swap-card-car>strong,.review-car>div>strong,.preview-price strong,.listing-preview-section>strong,.review-money-value>strong,.vehicle-price){color:#111;font-weight:750}
/* Direct edit mode: one narrow, vertical screen with one clear save action. */
.has-workspace,.has-workspace body{max-width:100%;overflow-x:clip}
#account-root .market-space:has(#market-listing){overflow-x:clip}
#market-listing.simple-editor{display:grid;gap:22px;min-width:0;max-width:100%}
#market-listing.simple-editor>*{min-width:0;max-width:100%}
#market-listing.simple-editor .simple-editor-intro{margin:0;padding:13px 14px;border:1px solid #dce5d7;border-radius:12px;background:#f3f7ef;color:#556257;font-size:13px;line-height:1.6}
#market-listing.simple-editor .simple-editor-intro strong{color:#25372c}
#market-listing.simple-editor [data-listing-step]{display:block!important;min-width:0;max-width:100%;margin:0}
#market-listing.simple-editor .market-form-grid,.simple-editor .wish-vehicle-selects,.simple-editor .wish-fields{min-width:0;max-width:100%}
#market-listing.simple-editor .market-photo-drafts{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:4px}
#market-listing.simple-editor .market-photo-drafts>div{min-width:0}
#market-listing.simple-editor .market-wishes-block{padding-top:22px;border-top:1px solid #e1e6dd}
#market-listing.simple-editor .listing-save-actions{position:sticky;bottom:max(12px,env(safe-area-inset-bottom,0px));z-index:4;padding:12px;border:1px solid #dce5d7;border-radius:14px;background:#fffffff2;box-shadow:0 8px 24px #25382a14}
#market-listing.simple-editor .listing-save-actions .btn{width:100%;min-height:50px;font-size:15px}
@media(max-width:540px){
 #market-listing.simple-editor{gap:18px}
 #market-listing.simple-editor .market-form-grid,.simple-editor .wish-vehicle-selects,.simple-editor .wish-fields{grid-template-columns:minmax(0,1fr)}
 #market-listing.simple-editor input,#market-listing.simple-editor select,#market-listing.simple-editor textarea{max-width:100%;box-sizing:border-box;font-size:16px}
 #market-listing.simple-editor .power-input{grid-template-columns:minmax(0,1fr) 78px}
 #market-listing.simple-editor .wish-row-actions{margin-left:0}
}
#market-listing.simple-editor .draft-status{display:none}
#market-listing.simple-editor .listing-save-actions{position:static;order:initial;margin-top:4px;background:transparent;box-shadow:none}
#market-listing .manual-entry{grid-column:span 1;background:#f7f8f5;border:1px dashed #d7ded2;border-radius:11px;padding:11px 12px}
#market-listing .manual-entry[hidden]{display:none!important}
#market-listing .manual-entry small{font-size:10px;line-height:1.5;color:#77816f}
#market-listing select+small{display:block;margin-top:5px;font-size:10px;line-height:1.45;color:#7a8376}
/* Editing a car follows the natural mobile order: photos, details, save, then optional exchange wishes. */
#market-listing.simple-editor [data-listing-step="1"]{order:1}
#market-listing.simple-editor [data-listing-step="0"]{order:2}
#market-listing.simple-editor [data-listing-step="0"]::before{content:"Dati auto";display:block;margin:4px 0 14px;color:#2d3530;font-size:20px;font-weight:650;letter-spacing:-.5px}
#market-listing.simple-editor .listing-save-actions{order:3;margin:2px 0 8px}
#market-listing.simple-editor [data-listing-step="2"]{order:4;margin-top:0;padding-top:24px}
/* Compact exchange-preference picker: the form opens only when the user asks to add or edit one. */
#market-wishes .wish-setup{display:grid;gap:14px}
#market-wishes .wish-list-heading{align-items:flex-start;margin:0}
#market-wishes .wish-list-heading h3{font-size:22px;margin:5px 0 0;letter-spacing:-.6px}
#market-wishes .wish-heading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
#market-wishes .wish-count{border:1px solid #e1e6dd;background:#f5f7f1;color:#697665;border-radius:999px;padding:6px 8px;font-size:10px}
#market-wishes .wish-add-button{border:1px solid #d5ded0;background:#fff;border-radius:10px;padding:9px 11px;color:#31573e;font:650 11px/1 system-ui,sans-serif;white-space:nowrap}
#market-wishes .wish-intro{font-size:11px;line-height:1.5;margin:-5px 0 2px;color:#77816f}
#market-wishes .wish-list{gap:8px;margin:0}
#market-wishes .wish-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 13px;background:#fff;border-color:#e1e6dd;border-radius:13px}
#market-wishes .wish-row-icon{width:32px;height:32px;border-radius:10px;font-size:18px;background:#f2f5ee;color:#64745f}
#market-wishes .wish-row h4{font-size:15px;line-height:1.2;margin:0 0 7px}
#market-wishes .wish-row-tags{display:flex;gap:5px;flex-wrap:wrap}
#market-wishes .wish-row-tags span{font-size:9px;line-height:1;padding:5px 6px;border-radius:999px;background:#f4f6f2;color:#65705f;white-space:nowrap}
#market-wishes .wish-row-actions{flex-basis:auto;flex-direction:row;gap:8px;margin:0;padding:0;border:0}
#market-wishes .wish-row-actions button{min-height:28px;padding:4px 0;font-size:10px}
#market-wishes .wish-row-actions button:last-child{font-size:9px}
#market-wishes .wish-empty{padding:17px;border-radius:13px;text-align:left;background:#f8faf6}
#market-wishes .wish-empty p{margin-top:5px}
#market-wishes .wish-editor{margin-top:4px;padding:17px;background:#f6f8f3;border-color:#e0e6db;border-radius:14px}
#market-wishes .wish-editor{scroll-margin-top:100px}
#market-wishes .wish-editor:focus-visible{outline:2px solid #9aae8b;outline-offset:4px}
#market-wishes .wish-editor-heading{margin-bottom:16px}
#market-wishes .wish-editor-heading h4{margin:3px 0 0;font-size:17px}
#market-wishes .wish-editor-heading button{font-size:10px;color:#6d766d}
#market-wishes .wish-help{margin:15px 0;padding-top:12px}
#market-wishes .wish-editor>.btn{width:100%;min-height:48px}
@media(max-width:540px){
 #market-wishes .wish-list-heading h3{font-size:21px}
 #market-wishes .wish-heading-actions{gap:5px}
 #market-wishes .wish-count{display:none}
 #market-wishes .wish-add-button{padding:9px 9px}
 #market-wishes .wish-row{grid-template-columns:31px minmax(0,1fr);padding:12px 11px}
 #market-wishes .wish-row-icon{width:30px;height:30px}
 #market-wishes .wish-row-actions{grid-column:2;justify-content:flex-start;gap:14px}
 #market-wishes .wish-row-tags span{font-size:8px;padding:5px}
}
/* Account controls live in one side menu instead of repeating cards below every page. */
.has-workspace .workspace-trial,.has-workspace>.account-settings,.has-workspace .account-settings{display:none!important}
.has-workspace .workspace-exit{display:none!important}
.workspace-menu-toggle{display:inline-flex;align-items:center;gap:7px;min-height:40px;border:1px solid #dfe5dc;border-radius:11px;background:#fff;color:#33403a;font:650 11px/1 system-ui,sans-serif;padding:0 12px;cursor:pointer}
.workspace-menu-toggle span:first-child{font-size:17px;line-height:1;font-weight:500}
.workspace-drawer{position:fixed;inset:0;z-index:90;pointer-events:none;visibility:hidden}
.workspace-drawer.is-open{visibility:visible;pointer-events:auto}
.workspace-drawer-backdrop{position:absolute;inset:0;border:0;background:#17221bcc;opacity:0;transition:opacity .18s ease}
.workspace-drawer.is-open .workspace-drawer-backdrop{opacity:1}
.workspace-drawer-panel{position:absolute;top:0;right:0;width:min(390px,91vw);height:100%;box-sizing:border-box;overflow:auto;background:#fff;padding:calc(18px + env(safe-area-inset-top,0px)) 20px calc(24px + env(safe-area-inset-bottom,0px));box-shadow:-16px 0 40px #15251d24;transform:translateX(105%);transition:transform .2s ease;color:#292e35}
.workspace-drawer.is-open .workspace-drawer-panel{transform:translateX(0)}
.workspace-drawer-panel header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:18px;border-bottom:1px solid #e5e9e3}
.workspace-drawer-panel header>div{display:grid;gap:4px;min-width:0}
.workspace-drawer-panel header strong{font-size:20px;line-height:1.15;letter-spacing:-.5px}
.workspace-drawer-panel header small{font-size:11px;color:#6f7972;overflow-wrap:anywhere}
.workspace-drawer-close{width:35px;height:35px;border:1px solid #e0e6de;border-radius:10px;background:#fff;color:#48534c;font-size:24px;line-height:1;cursor:pointer}
.workspace-menu-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:18px 0;border-bottom:1px solid #e5e9e3}
.workspace-menu-links a{border:1px solid #e2e7e0;border-radius:10px;padding:10px;color:#536258;font-size:11px;font-weight:600;text-decoration:none;background:#fafbf9}
.workspace-menu-section{padding:20px 0;border-bottom:1px solid #e5e9e3}
.workspace-menu-section h2{margin:0 0 8px;font-size:17px;letter-spacing:-.35px}
.workspace-menu-section p{margin:0 0 14px;color:#6f7872;font-size:12px;line-height:1.65}
.workspace-menu-section .account-form{display:grid;gap:12px}
.workspace-menu-section .account-form label{display:grid;gap:7px;color:#515b55;font-size:11px;font-weight:600}
.workspace-menu-section .account-form input{box-sizing:border-box;width:100%;border:1px solid #dce3db;border-radius:10px;padding:12px;background:#fff;font:16px system-ui,sans-serif;color:#303a34}
.workspace-menu-section .btn{min-height:42px;font-size:11px}
.workspace-menu-legal{display:flex;gap:14px;flex-wrap:wrap;margin-top:15px}
.workspace-menu-legal a{font-size:11px;color:#4f6d5b;text-underline-offset:3px}
/* Account actions share an explicit grid: links cannot overlap the logout button. */
.workspace-account-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #e5e9e3}
.workspace-account-actions>button,.workspace-account-actions>a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:54px;margin:0;padding:12px 10px;border:1px solid #dce3dd;border-radius:12px;background:#f7f9f7;color:#35473c;font:650 12px/1.4 system-ui,sans-serif;text-align:center;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.workspace-account-actions>span,.workspace-account-actions span{min-width:0}
.workspace-account-actions svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.workspace-account-actions>.workspace-account-delete{background:#fff7f5;border-color:#efd8d2;color:#9a3e31}
.workspace-account-actions>:focus-visible{outline:2px solid #315a45;outline-offset:3px}
.workspace-account-actions>:active{filter:brightness(.96)}
.home-community{background:transparent!important;border:0!important;border-top:1px solid #e1e6dd!important;border-radius:0!important;padding:20px 0!important}
.home-community>span{display:none}.home-community p{font-size:11px}.home-community strong{display:none}.home-community .btn{background:#fff;border:1px solid #dce4d8;color:#31573e}
@media(max-width:540px){.workspace-menu-toggle{min-height:38px;padding:0 10px}.workspace-menu-toggle>span:last-child{display:none}.workspace-drawer-panel{width:min(360px,92vw);padding-left:17px;padding-right:17px}.workspace-menu-links{gap:6px}.workspace-menu-links a{padding:9px 8px;font-size:10px}}
/* Real settings subpages: no anchor navigation, duplicate forms or empty controls. */
.workspace-drawer[hidden],.workspace-drawer [hidden]{display:none!important}
.workspace-heading>.workspace-drawer{font-weight:400;text-decoration:none}
.workspace-drawer-panel{width:min(410px,94vw);overscroll-behavior:contain;text-align:left;line-height:1.5;touch-action:pan-y pinch-zoom}
.workspace-drawer-panel header{flex-shrink:0}
.workspace-drawer-panel header strong,.workspace-drawer-panel header small,.workspace-drawer-panel header .account-kicker{display:block;text-decoration:none!important}
.workspace-menu-content{padding:22px 0 4px}
.workspace-menu-content h2{font-size:24px;margin:0 0 12px;letter-spacing:-.7px;line-height:1.2}
.workspace-menu-content section>p,.workspace-menu-content .settings-hint{font-size:12px;line-height:1.7;color:#6d776f;margin:0 0 18px}
.workspace-menu-pages{display:grid;gap:0;margin-top:16px;border:1px solid #e2e7de;border-radius:14px;overflow:hidden;background:#fafbf8}
.workspace-menu-pages>button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:64px;box-sizing:border-box;padding:12px 14px;border:0;border-radius:0;background:transparent;color:#303b33;text-align:left;cursor:pointer}
.workspace-menu-pages>button+button{border-top:1px solid #e5e9e2}
.workspace-menu-pages strong{display:block;font-size:14px;font-weight:650}
.workspace-menu-pages small{display:block;margin-top:3px;color:#778074;font-size:11px}
.workspace-menu-pages>button>span:last-child{font-size:24px;color:#7a8972}
.workspace-menu-back{border:0;background:transparent;color:#516a55;font-size:12px;padding:0;min-height:40px;margin-bottom:16px;cursor:pointer}
.settings-switches{display:grid;border:1px solid #e1e6dd;border-radius:14px;background:#fafbf8;overflow:hidden;margin:20px 0 13px}
.settings-switch{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:14px;padding:18px 14px;position:relative;cursor:pointer}
.settings-switch+.settings-switch{border-top:1px solid #e1e6dd}
.settings-switch strong{display:block;font-size:13px;color:#303b33;font-weight:650;line-height:1.4}
.settings-switch small{display:block;font-size:11px;color:#788073;line-height:1.55;margin-top:4px}
.settings-switch input{position:absolute;right:14px;width:44px;height:28px;opacity:0;margin:0;z-index:1;cursor:pointer}
.switch-track{width:44px;height:26px;border-radius:100px;background:#cbd1c7;transition:background .15s;display:block;position:relative}
.switch-track::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:transform .15s}
.settings-switch input:checked+.switch-track{background:#285442}
.settings-switch input:checked+.switch-track::after{transform:translateX(18px)}
.settings-switch input:focus-visible+.switch-track{outline:3px solid #729864;outline-offset:3px}
.settings-switch input:disabled+.switch-track{opacity:.4;cursor:wait}
.workspace-menu-content [data-notification-status],.workspace-menu-content [data-appearance-status],.settings-feedback{font-size:11px;color:#60765c;line-height:1.65;min-height:18px}
.native-push-status{padding:15px;border:1px solid #e1e7dd;border-radius:12px;background:#f5f8f0;margin:20px 0}
.native-push-status strong{font-size:12px;color:#364831}.native-push-status p{font-size:11px;line-height:1.7;color:#6d7d64;margin:7px 0 12px}
.native-push-status .btn{font-size:11px;white-space:normal;min-height:42px;width:100%}
.workspace-drawer .account-form input{box-sizing:border-box;width:100%;font-size:16px;min-height:46px}
.workspace-drawer .account-form .btn{font-size:12px;min-height:46px}
.workspace-menu-legal{display:grid;gap:16px;margin-top:25px}
.settings-archive{border-top:1px solid #e1e6dd;margin-top:24px;padding-top:17px;font-size:11px;color:#737d6c}.settings-archive summary{cursor:pointer}.settings-archive article{display:grid;gap:7px;padding:12px 0;border-bottom:1px solid #e8ece4}.settings-archive p{font-size:11px}
.sa-reduce-motion *,.sa-reduce-motion *::before,.sa-reduce-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.sa-large-text #account-root :is(.market-card-body>p,.preview-section>p,.preview-specs dt,.preview-specs dd,.review-check p,.wish-intro,.wish-row-tags span,.home-shortcuts p,.workspace-menu-content p,.settings-switch small){font-size:15px!important;line-height:1.65}
.sa-large-text #account-root :is(.account-form label,.account-form input,.account-form select,.workspace-menu-pages strong,.settings-switch strong){font-size:17px!important}
.sa-large-text .chat-panel .market-message p{font-size:19px!important;line-height:1.6}
.sa-large-text .workspace-menu-content{font-size:16px}
@media(prefers-reduced-motion:reduce){.workspace-drawer-panel,.workspace-drawer-backdrop,.switch-track,.switch-track::after{transition:none}}
.market-filter-grid>.market-filter-wide{grid-column:span 2}.market-filter-grid>.year-range-error{grid-column:1/-1;margin:0;color:#a14627;font-size:12px;line-height:1.5}.year-range-error[hidden]{display:none}
/* Only a short-lived, inert pair of pages is composited during a tab gesture. */
html:has(body.has-workspace){scrollbar-gutter:stable}
.market-tab-content{display:flow-root;min-width:0}
.market-tab-content>h2{font-size:clamp(27px,3vw,36px);letter-spacing:-1px;font-weight:650}
.market-tab-content>p{line-height:1.8;color:#6b737d}
.market-first-car>.market-tab-content>p{margin:12px 0 24px;max-width:680px;line-height:1.65}
.sa-tab-stage{position:fixed;z-index:25;overflow:hidden;contain:layout paint;pointer-events:none;background:#f6f7f4;text-align:left}
.sa-tab-track{position:absolute;inset:0;will-change:transform}
.sa-tab-stage .sa-tab-page.market-space{position:absolute;top:0;left:0;width:100%;margin:0!important;min-height:100%;background:#f6f7f4;box-sizing:border-box;overflow:hidden}
.sa-tab-stage .sa-tab-page:nth-child(2){box-shadow:-1px 0 0 #e2e7df}
.sa-tab-stage .market-tab-content{padding-top:0}
/* Owner-only dashboard: compact on a phone, wider when space is available. */
.workspace-drawer-panel.is-admin{width:min(960px,96vw)}
.admin-heading{padding-bottom:20px}.admin-heading .account-kicker{font-size:10px;letter-spacing:1.5px;color:#64834e}.admin-heading h2{margin-top:10px}.admin-heading p{font-size:13px;color:#70787e;margin:0}
.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.admin-stats article{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid #e0e6dd;background:#f8faf6;border-radius:15px;min-width:0}.admin-stats article>span{font-size:12px;color:#56615b}.admin-stats article>strong{font-size:32px;letter-spacing:-1px;line-height:1.2;color:#202923}.admin-stats small{font-size:10px;line-height:1.5;color:#7a827b}
.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.admin-toolbar nav{display:flex;gap:5px;padding:4px;background:#f0f3ed;border:1px solid #e4e9df;border-radius:12px;flex-wrap:wrap}.admin-toolbar nav button{border:0;border-radius:8px;background:transparent;color:#667068;font:600 12px system-ui;padding:10px 12px;min-height:40px;cursor:pointer}.admin-toolbar nav button[aria-pressed="true"]{background:#fff;color:#204a39;box-shadow:0 2px 5px #203e3010}.admin-toolbar>.btn{font-size:11px;min-height:40px;padding:10px 12px}
.admin-search{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.admin-search label{display:grid;gap:6px;flex:1;min-width:140px;font-size:11px;color:#626d65}.admin-search input{width:100%;min-width:0;border:1px solid #dce4d7;background:#fff;border-radius:10px;padding:11px 12px;font:16px system-ui;color:#26312b;box-sizing:border-box;min-height:44px}.admin-search>.btn{min-height:44px;padding:10px 18px;font-size:12px}.admin-search>.text-btn{min-height:44px;margin:0;font-size:11px}
.admin-status{font-size:11px;color:#798279;min-height:18px;margin:16px 0}.admin-status[role="alert"]{color:#9c4e3f}.admin-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.admin-person{border:1px solid #e0e6dc;border-radius:15px;padding:18px;min-width:0;background:#fff}.admin-person-heading{display:flex;align-items:start;justify-content:space-between;gap:10px}.admin-person-heading strong{font-size:16px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;color:#2c3430}.admin-person p{font-size:12px;color:#768078;line-height:1.6;margin:8px 0}.admin-person .admin-email{color:#616c65;overflow-wrap:anywhere;font-size:13px}.admin-tag{display:inline-block;flex-shrink:0;padding:5px 7px;border-radius:7px;font-size:9px;line-height:1.4;color:#7b6d56;background:#f7f0e3}.admin-tag.verified{color:#507343;background:#edf4e7}
.admin-user-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #edf0e8;margin:15px 0 0;padding-top:13px}.admin-user-counts dt{font-size:10px;color:#818980;line-height:1.5}.admin-user-counts dd{font-size:22px;font-weight:650;color:#29362f;margin:4px 0 0}.admin-user-details{margin-top:13px;font-size:11px;border-top:1px solid #edf0e8;padding-top:12px;color:#74816f}.admin-user-details summary{cursor:pointer}.admin-user-details dl{display:grid;gap:9px;margin:13px 0 0}.admin-user-details dl>div{display:flex;justify-content:space-between;gap:12px}.admin-user-details dd{margin:0;color:#3f5144}.admin-person>small,.admin-exchange time{color:#879082;font-size:11px}.admin-exchange{display:flex;flex-direction:column;gap:10px;align-items:start}.admin-exchange>strong{font-size:17px;line-height:1.6;color:#2c3930}.admin-exchange p{margin:0}.admin-exchange>strong>span[aria-hidden]{color:#8fa083;margin:0 4px}
.admin-pagination{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:20px 0;font-size:11px;color:#77816f}.admin-pagination>div{display:flex;gap:8px}.admin-pagination .btn{font-size:11px;min-height:40px;padding:10px 13px}.admin-pagination .btn:disabled{opacity:.4;cursor:default}.admin-footnote{font-size:10px;line-height:1.7;color:#818b79;padding-top:16px;border-top:1px solid #e8ece2}.admin-empty{grid-column:1/-1;padding:34px 18px;text-align:center;border:1px dashed #e2e7dc;border-radius:15px;color:#819077}.admin-empty>span{display:block;font-size:30px;margin-bottom:12px}.admin-empty strong{font-size:15px;color:#4b5b4c}.admin-empty p{font-size:12px;line-height:1.7;margin:8px auto 0;max-width:330px}
.admin-moderation-totals{display:flex;gap:8px;flex-wrap:wrap;margin:-10px 0 22px}.admin-moderation-totals button{font:11px system-ui;border:1px solid #e5e6df;background:#fafbf8;color:#747a6c;padding:9px 11px;border-radius:9px;min-height:38px;cursor:pointer}.admin-access-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-top:15px;padding-top:14px;border-top:1px solid #edf0e8}.admin-access-actions .text-btn{font-size:11px;min-height:38px;margin:0}.admin-danger{border:1px solid #efdcd5;border-radius:9px;color:#9d5141;background:#fffaf8;font:600 11px system-ui;padding:10px 12px;min-height:40px;cursor:pointer}.admin-tag.restricted{background:#f8e9e4;color:#9b4f40}.admin-tag.pending{background:#fff2dc;color:#a27b3b}.admin-reputation{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#888b7e;margin-top:12px}.admin-moderation-card>time{font-size:10px;color:#879082}.admin-report-type{font-size:12px;color:#97743c;margin:13px 0}.admin-moderation-card blockquote{border-left:2px solid #e8dfcc;margin:12px 0;padding:5px 0 5px 12px;font-size:12px;line-height:1.8;color:#6e756d;overflow-wrap:anywhere;white-space:pre-wrap}.admin-block-origin{padding-top:12px;border-top:1px solid #edf0e8;margin-top:12px}.admin-block-origin small,.admin-moderation-card>small{font-size:10px;color:#8b9184}.admin-moderation-card .admin-moderation-hint{font-size:10px;color:#959a8e;line-height:1.7}.admin-report-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.admin-report-actions .btn,.admin-report-actions .text-btn{font-size:10px;min-height:38px;margin:0;padding:9px 11px}
.admin-confirm{border:1px solid #e9cfc4;background:#fffaf7;border-radius:15px;padding:22px;margin:0 0 22px;display:grid;gap:13px;min-width:0}.admin-confirm h3{font-size:22px;letter-spacing:-.6px;color:#503c35;margin:0}.admin-confirm>strong{font-size:16px;overflow-wrap:anywhere}.admin-confirm p{font-size:12px;line-height:1.8;color:#87776f;margin:0}.admin-confirm .admin-email{overflow-wrap:anywhere}.admin-confirm>label{display:grid;gap:8px;font-size:12px;color:#76665d}.admin-confirm textarea{width:100%;min-width:0;box-sizing:border-box;resize:vertical;min-height:90px;border:1px solid #e6d8cf;border-radius:10px;padding:12px;font:16px/1.5 system-ui;background:#fff;color:#4c423b}.admin-confirm>.admin-confirm-check{display:flex;align-items:flex-start;gap:10px;line-height:1.7}.admin-confirm-check input{width:20px;height:20px;flex-shrink:0;accent-color:#946249;margin-top:2px}.admin-confirm>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.admin-confirm .btn{font-size:12px;min-height:44px;padding:12px 16px}.admin-confirm .admin-danger-solid{background:#9e5542;color:#fff;border-color:#9e5542}.admin-confirm .text-btn{min-height:44px;font-size:12px;margin:0}.admin-confirm [role="alert"]{color:#a24c3b;font-size:12px}
@media(max-width:740px){.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-stats article{padding:14px}.admin-stats article>strong{font-size:29px}.admin-results{grid-template-columns:1fr}.admin-toolbar{align-items:stretch;flex-direction:column}.admin-toolbar nav{justify-content:space-between}.admin-toolbar nav button{padding:10px 8px;font-size:11px}.admin-toolbar>.btn{align-self:flex-end}.admin-person{padding:16px}.admin-person-heading{gap:7px}.admin-person-heading strong{font-size:15px}}
.language-picker{display:flex;align-items:center;gap:10px;font-size:12px;color:#59635c;font-weight:550;white-space:nowrap}.language-picker select{font:inherit;font-size:14px;color:#293a32;background:#f8faf5;border:1px solid #dce4d6;border-radius:10px;padding:9px 12px;min-height:42px;max-width:180px;cursor:pointer}.language-picker select:focus-visible{outline:2px solid #6b914e;outline-offset:2px}.workspace-menu-language{margin:18px 0 6px}.workspace-menu-language .language-picker{justify-content:space-between}.workspace-menu-language select{flex:1;max-width:220px}.masthead{flex-wrap:wrap;gap:12px}.masthead>.language-picker{margin-left:10px}.masthead>.language-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:540px){.masthead>.language-picker{margin-left:0}.masthead>.language-picker select{max-width:130px;min-height:38px;font-size:13px}.workspace-menu-language select{font-size:16px}.market-navigation>.market-tabs[data-workspace-tabs] button{overflow-wrap:anywhere;white-space:normal;line-height:1.2}}
/* Password verification fits the same drawer on web and Android WebView. */
[data-password-change]{min-width:0;overflow-wrap:anywhere}
[data-password-change] input{width:100%;min-width:0;font-size:max(16px,1em)}
[data-password-change] .settings-feedback{margin-top:1rem}
[data-password-change] .settings-feedback.error{color:#9b3c32}
.password-change-success{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:#edf4e7;color:#325f43;font-size:1.5rem;margin-block:1rem}
/* A visual invitation until the member adds their own first car. */
.home-garage-summary.home-garage-empty{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;background:linear-gradient(120deg,#f0f4e9,#fff 72%)}
.home-empty-visual{min-width:0;padding:24px 18px}
.home-empty-visual .welcome-visual-gallery{min-height:0;max-width:520px;margin-inline:auto;padding:16px 10px 8px;justify-self:center}
.home-garage-empty .home-summary-body{padding-block:30px}
.home-garage-empty .home-summary-body>.btn{white-space:normal;min-height:46px}
@media(max-width:740px){.home-garage-summary.home-garage-empty{grid-template-columns:minmax(0,1fr);background:linear-gradient(180deg,#f0f4e9,#fff 75%)}.home-empty-visual{padding:20px 12px 0}.home-empty-visual .welcome-visual-gallery{max-width:440px;padding:8px 6px}.home-garage-empty .home-summary-body{padding-top:20px}.home-garage-empty .home-summary-body>.btn{width:100%}}

/* Every listing step fits its container, including a full batch of photos. */
#marketplace-root,.market-space,.market-tab-content{min-width:0;max-width:100%}
#market-listing{width:100%;min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)}
#market-listing>*,#market-listing [data-listing-step],#market-listing [data-listing-preview],#market-listing :is(label,.market-form-grid,.wish-setup,.wish-list,.wish-row,.wish-editor,.wish-fields,.wish-vehicle-selects,.wish-money,.listing-preview-section){min-width:0;max-width:100%}
#market-listing [data-listing-step][hidden]{display:none!important}
#market-listing :is(p,small,h2,h3,h4,h5,label,button,.draft-status){overflow-wrap:anywhere}
#market-listing :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
#market-listing input[type=file]{width:100%;font-size:13px;text-overflow:ellipsis;overflow:hidden}
#market-listing input[type=file]::file-selector-button{max-width:100%;white-space:normal}
#market-listing :is(.btn,.listing-steps button){min-width:0;max-width:100%;white-space:normal;line-height:1.4}
#market-listing .listing-steps{width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}
#market-listing .listing-progress{scroll-margin-top:96px}
#market-listing .listing-step-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:10px;width:100%;min-width:0}
#market-listing[data-listing-current="0"] .listing-step-actions{grid-template-columns:minmax(0,1fr)}
#market-listing .listing-step-actions .btn{width:100%;padding:12px;min-height:48px}
#market-listing .market-photo-drafts,#market-listing.simple-editor .market-photo-drafts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0;max-width:100%;overflow:visible;padding:0}
#market-listing .market-photo-drafts>div{position:relative;min-width:0;max-width:100%;padding:8px;border:1px solid #dfe5dc;border-radius:13px;background:#fff;display:flex;flex-direction:column;gap:5px}
#market-listing .market-photo-drafts>div:first-child{border-color:#7d9b67}
#market-listing .market-photo-drafts>div:first-child::before{position:absolute;top:13px;left:13px;max-width:calc(100% - 26px);border-radius:6px;background:#fffffff2;padding:3px 6px;font-size:10px;line-height:1.4}
#market-listing .market-photo-drafts img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
#market-listing .market-photo-drafts .btn{width:100%;min-height:34px;padding:6px 3px;margin:0;font-size:11px}
#market-listing .market-photo-drafts [data-market="remove-photo"]{border-color:transparent;color:#7d554c}
#market-listing .listing-preview-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:100%;overflow:visible;scroll-snap-type:none}
#market-listing .listing-preview-photos figure{min-width:0;max-width:100%;margin:0}
#market-listing .listing-preview-photos img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
#market-listing .listing-preview-section>div{flex-wrap:wrap;min-width:0}
@media(max-width:620px){
 #market-listing .market-form-grid,#market-listing :is(.wish-vehicle-selects,.wish-fields){grid-template-columns:minmax(0,1fr)}
 #market-listing :is(.market-photo-drafts,.listing-preview-photos),#market-listing.simple-editor .market-photo-drafts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #market-listing .listing-steps{gap:4px}
 #market-listing .listing-steps button{flex-direction:column;padding:9px 2px;gap:5px;font-size:11px}
 #market-listing :is(input:not([type=file]),select,textarea){font-size:16px}
 #market-listing .wish-editor>.btn{min-width:0;width:100%}
 #market-listing .power-input{grid-template-columns:minmax(0,1fr) 78px}
}

/* Readable expandable swap conditions and explicit viewer perspective. */
.swap-review .review-check>summary{display:grid;grid-template-columns:28px minmax(0,1fr) 78px;gap:6px 10px;align-items:center;min-height:88px}
.swap-review .review-check-symbol{grid-column:1;grid-row:1/3}
.swap-review .review-check>summary>span:nth-child(2){grid-column:2;grid-row:1}
.swap-review .review-check .review-state{grid-column:2;grid-row:2;justify-self:start;font-size:10px;white-space:normal}
.swap-review .review-disclosure{grid-column:3;grid-row:1/3;display:flex;align-items:center;flex-direction:column;gap:6px;color:#345b4b;font-size:11px;font-weight:650;text-align:center;line-height:1.3}
.review-disclosure svg{display:block;width:30px;height:30px;padding:5px;box-sizing:border-box;border:1px solid #dbe4dc;border-radius:50%;background:#f3f7ef;fill:none;stroke:currentColor;stroke-width:2;transition:transform .2s}
.review-check[open]>.review-check-body{background:#fff}
.review-check .review-close-label{display:none}.review-check[open] .review-close-label{display:inline}.review-check[open] .review-open-label{display:none}.review-check[open] .review-disclosure svg{transform:rotate(180deg)}
.review-check>summary:focus-visible{outline:3px solid #82a368;outline-offset:-3px}.review-check>summary:hover{background:#f8faf6}
.review-preference-direction{min-width:0}.review-preference-direction+.review-preference-direction{border-top:2px solid #e4e8e2;margin-top:24px;padding-top:24px}
.review-preference-direction>header>span{display:block;font-size:10px;font-weight:700;letter-spacing:.7px;color:#547349;overflow-wrap:anywhere}
.review-preference-direction h4{font-size:17px;line-height:1.4;color:#272d34;margin:7px 0}
.review-preference-direction>header>p{margin:0 0 16px;color:#272d34;font-size:15px;font-weight:650;overflow-wrap:anywhere}
.review-criterion{border:1px solid #e3e7e1;border-radius:10px;overflow:hidden;margin:10px 0;min-width:0}
.review-criterion h5{margin:0;padding:10px 12px;background:#f7f9f4;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;font-size:13px;color:#30383e}
.review-criterion h5 span{font-size:11px;color:#50733f;font-weight:600}.review-criterion.criterion-pending{border-color:#e9cfaa}.criterion-pending h5{background:#fff6e9}.criterion-pending h5 span{color:#95621f}
.review-criterion-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.review-criterion-columns>div{padding:12px;min-width:0}.review-criterion-columns>div+div{border-left:1px solid #e5e9e2;background:#fafbf8}
.review-criterion-columns small{display:block;color:#68717a;font-size:11px;line-height:1.5;margin-bottom:8px;overflow-wrap:anywhere}.review-criterion-columns strong{font-size:15px;color:#242b31;line-height:1.5;overflow-wrap:anywhere;font-weight:650}
.review-criterion .review-year-note{font-size:11px;color:#95621f;margin:0;padding:0 12px 12px;line-height:1.5}
.review-transfer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}.review-transfer>div{background:#f6f7f5;border:1px solid #e1e6de;border-radius:10px;padding:13px;min-width:0}.review-transfer span{display:block;color:#626d73;font-size:12px}.review-transfer strong{display:block;font-size:15px;color:#252c32;margin:7px 0;overflow-wrap:anywhere}.review-transfer small{font-size:15px;color:#111;font-weight:700}
.swap-review .review-money-value{border-radius:12px;background:#f6f8f4;padding:20px 14px;margin-bottom:16px}.swap-review .review-money-value>span{font-size:18px;font-weight:700;color:#283a32}.swap-review .review-money-value>strong{font-size:34px;color:#111}.swap-review .review-money-value>p{font-size:13px;color:#59636b;line-height:1.65}.swap-review .money-receive{background:#edf5e8}.swap-review .money-pay{background:#f2f5f8}
.swap-review .review-money-limits span{font-size:12px;color:#626d73}.swap-review .review-money-limits>div{background:#f7f8f5}.swap-review .review-money-limits strong{color:#111}.swap-review .review-footnote{font-size:11px!important;color:#6b737d!important}
@media(max-width:400px){.swap-review .review-check>summary{grid-template-columns:24px minmax(0,1fr) 62px;column-gap:7px}.swap-review .review-disclosure{font-size:10px}.review-criterion-columns>div{padding:10px}.review-criterion-columns strong{font-size:14px}.review-transfer{gap:8px}.review-transfer>div{padding:10px}}
@media(prefers-reduced-motion:reduce){.review-disclosure svg{transition:none}}

/* Optional one-way discovery: distinct from mutual compatibility. */
.wish-explore-option{display:flex!important;align-items:flex-start;gap:14px;padding:18px;border:1px solid #c9d7e5;border-radius:18px;background:#f3f7fb;cursor:pointer;margin-top:22px;min-width:0}.wish-explore-option input[type=checkbox]{appearance:auto;width:22px!important;height:22px;min-width:22px;margin:3px 0 0;padding:0;accent-color:#345c7a}.wish-explore-option span{display:grid;gap:7px;min-width:0}.wish-explore-option strong{font-size:16px;color:#243e53;line-height:1.4}.wish-explore-option small{color:#536777;line-height:1.6}.wish-explore-option:has(input:checked){border-color:#638aab;background:#edf4fa}.wish-row-tags .wish-explore-tag{color:#345c7a;background:#edf4fa}
.swap-result-group{margin-top:28px}.swap-result-group>h3{display:flex;align-items:center;gap:10px;font-size:22px}.swap-result-group>h3>span{font-size:14px;background:#eef1f2;border-radius:20px;padding:5px 10px}.exploratory-group>p{font-size:15px;color:#596978;line-height:1.6;margin:0 0 20px}.exploratory-card>header{background:#f1f6fb}.exploratory-card .swap-card-eyebrow,.exploratory-card .swap-card-arrow{color:#345c7a}.swap-card-state.exploratory-state{background:#e7f0f8;color:#345c7a}.exploratory-card .swap-card-body>strong{color:#345c7a}.exploratory-card .swap-card-body>p{font-size:15px;color:#596978;line-height:1.6}.feed-swap-action.is-exploratory .feed-listing-action{background:#345c7a;border-color:#345c7a;color:white}.exploratory-note,.exploratory-note strong,.exploratory-note p,.exploratory-note small{color:#345c7a}.exploratory-note .feed-match-icon{background:#e7f0f8}.exploration-privacy-note{background:#eff5fa;border-radius:14px;padding:14px;font-size:14px!important;color:#345c7a!important}.exploration-cars button{min-width:0;display:grid;gap:10px;border:1px solid #dce3e8;border-radius:16px;padding:12px;background:white;text-align:left;color:#28333b;cursor:pointer}.exploration-cars img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.exploration-cars strong{font-size:20px;overflow-wrap:anywhere}.exploration-cars span,.exploration-cars small{font-size:13px;color:#526d81}

/* Preferences share one responsive layout in Garage, listing forms and Android. */
#market-wishes .wish-editor{min-width:0;max-width:100%;box-sizing:border-box}
#market-wishes .wish-editor :is(.wish-vehicle-selects,.wish-spec-fields){
 display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
 align-items:start;gap:20px 16px;min-width:0;width:100%;
}
#market-wishes .wish-editor :is(.wish-vehicle-selects,.wish-spec-fields)>label{
 display:flex;flex-direction:column;justify-content:flex-start;align-self:start;
 gap:8px;min-width:0;max-width:none;line-height:1.5;white-space:normal;overflow-wrap:anywhere;
}
#market-wishes .wish-editor :is(input:not([type=checkbox]),select){
 box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:50px;
 height:50px;margin:0;font-size:16px;line-height:1.4;
}
#market-wishes .wish-editor input:not([type=checkbox]){padding:12px}
#market-wishes .wish-editor input::placeholder{font-size:16px}
#market-wishes .wish-editor select{padding:12px 34px 12px 12px;background-position:right 11px center}
#market-wishes .wish-editor .wish-spec-fields>label>small{font-weight:400;line-height:1.5;margin:0}
@media(max-width:740px){
 #market-wishes .wish-editor :is(.wish-vehicle-selects,.wish-spec-fields){grid-template-columns:minmax(0,1fr);gap:18px}
 #market-wishes .wish-editor{padding:16px 14px}
 #market-wishes .wish-editor-heading{align-items:flex-start;gap:10px}
 #market-wishes .wish-editor-heading>div{min-width:0}
 #market-wishes .wish-editor-heading button{flex-shrink:0;min-height:40px}
 #market-wishes .wish-editor :is(.wish-vehicle-selects,.wish-spec-fields)>label{font-size:13px}
}

/* Keep focus inside the control so narrow/clipped forms cannot cut its sides. */
#account-root :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):is(:focus,:focus-visible){
 border-color:#55784f;outline:2px solid #55784f;outline-offset:-2px;box-shadow:none;
}
@media(max-width:740px),(hover:none){
 #account-root :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea){font-size:max(16px,1em)}
}
@media(forced-colors:active){
 #account-root :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):is(:focus,:focus-visible){outline-color:Highlight}
}

/* Account-private saved cars. Neutral cards, red reserved for the heart. */
#account-root .favorite-media{position:relative;touch-action:manipulation}
#account-root .favorite-toggle{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;min-width:46px;padding:11px;border:1px solid #dce1df;border-radius:50%;background:#fff;color:#55615c;box-shadow:0 3px 12px #142b2414;cursor:pointer;touch-action:manipulation;transition:color .16s,background .16s,transform .16s}
#account-root .favorite-toggle svg{width:24px;height:24px;fill:#fff;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
#account-root .favorite-toggle.is-saved{color:#d12c4b;background:#fff5f7;border-color:#f1c8d1}
#account-root .favorite-toggle.is-saved svg{fill:currentColor}
#account-root .favorite-toggle:active{transform:scale(.9)}
#account-root .favorite-toggle:focus-visible{outline:3px solid #55784f;outline-offset:3px}
#account-root .favorite-toggle:disabled{opacity:.7;cursor:progress}
#account-root .favorite-media>.favorite-toggle,#account-root .favorite-card>.favorite-toggle{position:absolute;z-index:2;top:12px;right:12px}
#account-root .favorite-burst{position:absolute;top:42%;left:50%;font-size:92px;line-height:1;color:#e52f53;filter:drop-shadow(0 3px 10px #0005);transform:translate(-50%,-50%) scale(.2);opacity:0;pointer-events:none}
#account-root .favorite-burst.is-visible{animation:favorite-pop .8s ease-out both}
@keyframes favorite-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}45%,65%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-65%) scale(1.1)}}
#account-root .home-favorites{margin:28px 0;padding:24px;border:1px solid #e1e5e1;border-radius:24px;background:#fff;min-width:0}
#account-root .home-favorites>header>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#account-root .home-favorites h2{margin:0;color:#282e35;font-size:clamp(21px,3vw,28px);letter-spacing:-.03em}
#account-root .home-favorites>header p{margin:8px 0 20px;color:#717980;font-size:15px}
#account-root .favorites-heading-icon{color:#d12c4b;display:flex}
#account-root .favorites-heading-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
#account-root .favorites-count{font-size:13px;border-radius:20px;background:#fff0f3;color:#ae2540;padding:3px 9px}
#account-root .favorites-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
#account-root .favorite-card{position:relative;min-width:0;border:1px solid #e6e9e6;border-radius:18px;background:#fff;overflow:hidden}
#account-root .favorite-open{display:block;width:100%;padding:0;text-align:left;border:0;background:transparent;color:#282e35;cursor:pointer;font:inherit}
#account-root .favorite-open>img{display:block;width:100%;height:160px;object-fit:cover;background:#f2f4f1}
#account-root .favorite-copy{display:grid;gap:5px;padding:16px}
#account-root .favorite-copy>strong{font-size:20px;line-height:1.3;overflow-wrap:anywhere;color:#282e35}
#account-root .favorite-copy>span,#account-root .favorite-copy>small{font-size:13px;color:#717980}
#account-root .favorite-copy>b{font-size:22px;color:#161a18;margin-top:4px}
#account-root .favorite-copy .favorite-open-label{display:flex;justify-content:space-between;color:#294d40;font-weight:600;margin-top:6px}
#account-root .favorite-open:focus-visible{outline:3px solid #55784f;outline-offset:-4px}
#account-root .favorites-empty{display:flex;align-items:flex-start;gap:16px;padding:18px;border-radius:16px;background:#faf8f7}
#account-root .favorites-empty>span{display:flex;color:#cf6075;padding:12px;background:#fff;border-radius:50%}
#account-root .favorites-empty svg,#account-root .favorite-unavailable svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6}
#account-root .favorites-empty strong{font-size:17px;color:#282e35}
#account-root .favorites-empty p,#account-root .favorite-unavailable p{font-size:14px;color:#717980;margin:7px 0 10px}
#account-root .favorites-empty .text-btn{font-size:14px;text-align:left}
#account-root .favorite-unavailable{padding:65px 18px 22px;min-height:200px;display:flex;flex-direction:column;align-items:flex-start;color:#777}
#account-root .favorites-more{display:block;margin:20px auto 0}
@media(max-width:740px){#account-root .home-favorites{padding:18px;border-radius:20px}#account-root .favorites-grid{grid-template-columns:1fr}#account-root .favorite-open{display:grid;grid-template-columns:110px minmax(0,1fr)}#account-root .favorite-open>img{height:100%;min-height:180px}#account-root .favorite-copy{padding:16px 14px 14px;gap:4px}#account-root .favorite-copy>strong{font-size:18px;padding-right:32px}#account-root .favorite-card>.favorite-toggle{width:38px;height:38px;min-width:38px;padding:9px;top:8px;right:8px}#account-root .favorite-copy>b{font-size:20px}#account-root .favorites-empty{padding:14px;gap:12px}#account-root .favorites-empty>span{padding:8px}}
@media(prefers-reduced-motion:reduce){#account-root .favorite-toggle{transition:none}#account-root .favorite-burst.is-visible{animation:none}}
.sa-reduce-motion #account-root .favorite-burst.is-visible{animation:none}
.sa-reduce-motion #account-root .favorite-toggle{transition:none}
.home-garage-carousel{min-width:0;max-width:100%;margin:24px 0}
.home-garage-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.home-garage-controls>div:first-child{display:grid;gap:4px}
.home-garage-controls strong{font-size:15px;color:var(--ink,#282e34)}
.home-garage-controls small{font-size:12px;color:#6c7580}
.home-garage-pagination{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0;touch-action:pan-y pinch-zoom;user-select:none}
.home-garage-pagination>[data-garage-count]{font-size:12px;color:#6c7580;font-variant-numeric:tabular-nums;white-space:nowrap}
.home-garage-dots{display:flex;justify-content:flex-end;flex-wrap:wrap;min-width:0}
.home-garage-dots button{display:grid;place-items:center;width:32px;height:44px;padding:0;border:0;background:transparent;border-radius:12px;cursor:pointer;touch-action:pan-y pinch-zoom}
.home-garage-dots button>span{width:7px;height:7px;border-radius:8px;background:#cbd2cd;transition:width .2s ease,background .2s ease}
.home-garage-dots button[aria-current="true"]>span{width:22px;background:#315f4a}
.home-garage-track{display:flex;gap:0;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;border-radius:20px}
.home-garage-track::-webkit-scrollbar{display:none}
.home-garage-track>.home-garage-summary{flex:0 0 100%;width:100%;min-width:0;margin:0;box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always;box-shadow:none}
.home-garage-track:focus-visible,.home-garage-dots button:focus-visible{outline:2px solid #315f4a;outline-offset:-3px}
.home-garage-track .home-summary-body h2{overflow-wrap:anywhere}
@media(max-width:740px){.home-garage-carousel{margin:22px 0 18px}.home-garage-controls{gap:6px}.home-garage-track{border-radius:20px}.home-garage-track .home-summary-photo{aspect-ratio:1.95;min-height:0}.home-garage-dots button{width:28px}}
@media(prefers-reduced-motion:reduce){.home-garage-dots button>span{transition:none}}

.sa-reduce-motion .home-garage-dots button>span{transition:none}

/* Owner capacity overview */
.admin-capacity{min-width:0;margin:0 0 24px}.admin-capacity h3{font-size:21px;margin:0 0 8px}.admin-capacity p{font-size:13px;line-height:1.6;color:#56615b}.capacity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.capacity-card{min-width:0;border:1px solid #e0e6dd;border-radius:15px;padding:18px;background:#f8faf6}.capacity-card h4{font-size:13px;margin:0 0 12px}.capacity-card>strong{font-size:28px;overflow-wrap:anywhere;color:#202923}.capacity-card p{font-size:12px}.capacity-card progress{width:100%;height:10px;accent-color:#416e51}.capacity-card.warning{background:#fff7e9;border-color:#d9ae56}.capacity-card.critical{background:#fff0ed;border-color:#c77060}.capacity-card.warning progress{accent-color:#9b6817}.capacity-card.critical progress{accent-color:#ab4531}.capacity-card.unknown{background:#f1f2f3}.capacity-state{font-weight:600}.admin-capacity details{padding:14px;border:1px solid #e0e6dd;border-radius:12px}.admin-capacity summary{cursor:pointer;font-size:13px;font-weight:600;min-height:24px}.admin-search[hidden],.admin-footnote[hidden]{display:none}
@media(max-width:740px){.capacity-grid{grid-template-columns:1fr}.capacity-card{padding:16px}.admin-capacity summary{min-height:30px}}

/* Privacy requests are distinct from the single account-deletion action. */
.privacy-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.privacy-section-heading h3{margin:0;font-size:17px;line-height:1.3}
.privacy-section-heading .privacy-refresh{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #e1e6df;border-radius:11px;background:#fafbf9;font-size:24px;line-height:1;color:#526b5b}
.privacy-request-form{border:1px solid #e0e6de;border-radius:12px;background:#fafbf9;margin:14px 0}
.privacy-request-form>summary{padding:14px;min-height:48px;box-sizing:border-box;font-size:13px;font-weight:650;color:#344b3d;cursor:pointer}
.privacy-request-form .account-form{padding:2px 14px 14px;gap:14px}
.privacy-controls .account-form label.privacy-confirm{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;min-height:44px;box-sizing:border-box;padding:10px 0;font-size:12px;line-height:1.5;font-weight:500;cursor:pointer}
.privacy-controls .account-form .privacy-confirm input[type=checkbox]{box-sizing:border-box;width:20px;height:20px;min-height:20px;max-height:20px;margin:0;padding:0;accent-color:#315a45;border-radius:4px}
.privacy-controls select{box-sizing:border-box;min-width:0;max-width:100%}
.privacy-controls [role=status]:empty{display:none}
.privacy-controls .privacy-account-hint{padding:12px 14px;margin:14px 0;border-radius:10px;background:#f3f5f2;color:#58665d;font-size:12px;line-height:1.6}
.privacy-help{margin:12px 0 0}.privacy-help>summary{min-height:44px;display:list-item;box-sizing:border-box;padding:10px 0;font-size:12px;color:#526b5b;cursor:pointer}.privacy-help>p{font-size:12px;line-height:1.7;color:#6d776f;margin:8px 0 0}

/* Photos scroll in their track; only navigation rows join the page swipe. */
#account-root img,.sa-tab-stage img{user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.market-redesign [data-tab-swipe-surface]{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.market-photos{overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom}
.market-photos img,.preview-photo-slide{user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
/* Horizontal galleries must never become a second vertical scroll area. */
.market-photos,.home-garage-track,.swap-suggestion-track{overflow-y:hidden;overscroll-behavior-y:auto}
.market-photos{scrollbar-width:none}
.market-photos::-webkit-scrollbar{display:none}
.market-redesign .market-card .market-photos>img{display:block;height:100%;min-height:0;aspect-ratio:auto}
/* Touch the gallery/card, not the native image drag target; taps still bubble. */
.market-photos>img,.preview-photo-slide>img,.home-summary-photo>img,.garage-preview-photo>img{pointer-events:none}
/* Owner console and private support share the existing compact menu. */
.admin-toolbar nav{display:flex;flex-wrap:wrap;gap:7px}.admin-toolbar nav button{min-height:42px}
.admin-explanation{font-size:13px;color:#65706c;line-height:1.6}.admin-person>time{display:block;font-size:12px;color:#65706c;margin-top:6px}
.admin-table-wrap{overflow:auto;grid-column:1/-1}.admin-table-wrap table{width:100%;border-collapse:collapse;background:#fff;font-size:13px}.admin-table-wrap caption{text-align:left;font-weight:700;padding:12px}.admin-table-wrap th,.admin-table-wrap td{padding:12px;border-bottom:1px solid #e1e6e3;text-align:left;white-space:nowrap}.admin-table-wrap thead{background:#f1f5f3}
.admin-tag.warning{background:#fff0d6;color:#805914}.admin-document-new{grid-column:1/-1;border:1px solid #dce3df;border-radius:14px;padding:16px;background:#f7faf8}.admin-document-new summary{font-weight:650;cursor:pointer}
.admin-person details{margin-top:14px}.admin-person details summary,.privacy-request details summary{cursor:pointer;padding:8px 0}.admin-person .account-form{margin-top:15px}.admin-person dd{margin-left:0;overflow-wrap:anywhere}.admin-person dt{font-size:12px;color:#65706c;margin-top:10px}.admin-person textarea{width:100%;box-sizing:border-box}
.legal-text,.support-body,.support-reply p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.legal-text{font-size:14px;margin:14px 0;max-height:60vh;overflow:auto}.legal-page>.legal-text{max-height:none;overflow:visible}.admin-hash{display:block;font-size:10px;overflow-wrap:anywhere;color:#65706c}
.support-reply{background:#f4f5f6;border-radius:12px;padding:12px;margin:12px 0}.support-reply.from-admin{background:#edf5ef;border-left:3px solid #426e59}.support-reply time{display:block;font-size:11px;color:#65706c}.support-reply p{margin-bottom:0}.support-holds{background:#fff5e7;padding:14px;border-radius:12px}
[data-menu-panel=support] .account-form{margin:16px 0}[data-menu-panel=support] textarea{width:100%;box-sizing:border-box}.legal-version{font-size:12px;color:#65706c}
.admin-results>.admin-stats,.admin-results>.admin-explanation{grid-column:1/-1}

.admin-view-picker{display:none}.admin-view-picker select{width:100%;min-height:46px;border:1px solid #dce4d8;border-radius:10px;background:#f8faf6;color:#173e35;font:600 16px system-ui;padding:10px}
@media(max-width:740px){.admin-toolbar nav{display:none}.admin-view-picker{display:grid;gap:6px;font-size:13px;font-weight:600}.admin-toolbar>.btn{align-self:stretch}}
.workspace-drawer .account-form label.privacy-confirm{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;min-height:44px;padding:10px 0;cursor:pointer;line-height:1.5;font-weight:500}
.workspace-drawer .account-form .privacy-confirm input[type=checkbox]{box-sizing:border-box;width:20px;height:20px;min-height:20px;max-height:20px;margin:0;padding:0;accent-color:#315a45}

/* Persistent, accessible field errors after an attempted next/save. */
#market-listing .listing-invalid-label{color:#b42318}
#market-listing [aria-invalid="true"],#market-listing [aria-invalid="true"]:focus{border:2px solid #b42318!important;background-color:#fff8f7!important;outline-color:#b42318!important;box-shadow:0 0 0 2px #b4231814!important}
#market-listing .listing-field-error{display:block;width:100%;color:#b42318!important;font-size:13px;font-weight:600;line-height:1.4;margin-top:6px}

.preview-listing-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.preview-listing-actions .btn{margin:0}.garage-wishes-panel{scroll-margin-top:100px}.garage-wishes-panel:focus{outline:none}

/* Three clear, touch-friendly swap categories. */
.market-space .swap-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;margin:0 0 22px;background:#e9ede7;border-radius:16px}
.market-space .swap-categories button{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:52px;padding:10px 6px;border:0;border-radius:12px;background:transparent;color:#43564d;font-family:inherit;font-weight:600;font-size:14px;line-height:1.25;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.market-space .swap-categories button[aria-pressed="true"]{background:#183f35;color:white;box-shadow:0 2px 6px #183f3515}
.market-space .swap-categories button:focus-visible{outline:3px solid #86a568;outline-offset:2px}
.market-space .swap-categories .notification-badge{position:static;flex-shrink:0}
@media(max-width:420px){.market-space .swap-categories button{font-size:12px;padding:10px 4px}}

/* Keep the garage image inside its grid track at every breakpoint. */
.market-redesign .garage-owned-row{--garage-photo-width:140px;grid-template-columns:var(--garage-photo-width) minmax(0,1fr) auto;column-gap:24px;row-gap:16px}
.market-redesign .garage-owned-row>.garage-preview-photo{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.market-redesign .garage-owned-row>div:not(.garage-owned-actions){min-width:0;overflow-wrap:anywhere}
.market-redesign .garage-owned-row .listing-title-link{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1000px){.market-redesign .garage-owned-row{grid-template-columns:var(--garage-photo-width) minmax(0,1fr)}.market-redesign .garage-owned-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;border-top:1px solid #edf0e8;padding-top:12px;margin-top:0}}
@media(max-width:740px){.market-redesign .garage-owned-row{--garage-photo-width:100px;column-gap:18px}}
@media(max-width:360px){.market-redesign .garage-owned-row{--garage-photo-width:80px;column-gap:14px}}

/* In-app requests inbox: always visible in the workspace header. */
.workspace-heading .workspace-brand{min-width:0;flex:1}.workspace-heading{gap:10px}
.request-notice-toggle{position:relative;display:grid;place-items:center;flex:none;width:46px;height:46px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#173e35;cursor:pointer}
.request-notice-toggle svg{width:24px;height:24px}.request-notice-toggle [data-request-count],.request-menu-count{border-radius:999px;background:#b42318;color:#fff;font-size:12px;font-weight:750;min-width:20px;padding:2px 5px;text-align:center;line-height:1.3}
.request-notice-toggle [data-request-count]{position:absolute;top:-7px;right:-7px}.request-menu-count{display:inline-block;margin-left:6px}.request-menu-count[hidden],.request-notice-toggle [hidden]{display:none}
.request-notice-row{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:17px;margin:10px 0;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;color:#173e35;cursor:pointer;font:inherit;overflow-wrap:anywhere}
.request-notice-row>span:first-child{min-width:0}.request-notice-row strong,.request-notice-row small{display:block}.request-notice-row strong{font-size:16px}.request-notice-row small{font-size:14px;margin-top:6px;color:#606a70;line-height:1.4}.request-notice-row.unread{border-left:5px solid #b42318;background:#fff9f7}.request-notice-state{font-size:12px;flex-shrink:0;color:#616a70}.unread .request-notice-state{color:#b42318;font-weight:700}
.request-notice-target{outline:2px solid #799861;outline-offset:3px;scroll-margin:18px}.request-notice-toggle:focus-visible,.request-notice-row:focus-visible{outline:3px solid #799861;outline-offset:3px}
@media(max-width:420px){.workspace-heading{gap:8px}.workspace-heading .workspace-brand h1{font-size:clamp(18px,5vw,23px)}.workspace-heading .workspace-brand img{width:34px;height:34px}.request-notice-toggle{width:40px;height:40px;padding:8px}.workspace-heading .workspace-menu-toggle{width:40px;min-width:40px;height:40px;padding:8px}.workspace-heading .workspace-brand{gap:8px}}

/* Optional matching alerts: prominent benefit, unchanged explicit opt-in. */
.email-preferences .email-opportunity-highlight{background:#eef6ee;border:2px solid #4e7652;border-radius:13px;padding:20px 14px;align-items:center}
.email-opportunity-highlight .email-opportunity-tag{display:block;color:#365c3c;font-size:11px;font-weight:700;letter-spacing:.03em;margin-bottom:8px}
.email-preferences .email-opportunity-highlight strong{font-size:17px;line-height:1.35;color:#193d2b}
.email-opportunity-benefit{display:block;font-size:13px;line-height:1.55;color:#354d3c;margin:9px 0}
.email-preferences .email-opportunity-highlight small{color:#4b5b4e;font-size:12px}

/* Compact shortcut invitation, shared by public and account home. */
.phone-home-promo{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:16px 0;border:1px solid #d0dda5;border-radius:14px;background:linear-gradient(115deg,#f1f6d9,#e9f2e6);color:#193e30;text-decoration:none}
.phone-home-promo>img{flex:none;width:44px;height:44px;border-radius:11px}
.phone-home-promo>span{min-width:0;display:grid;gap:3px}.phone-home-promo strong{font-size:17px;line-height:1.3}.phone-home-promo span>span{font-size:13px;line-height:1.4}.phone-home-promo b{font-size:13px;text-decoration:underline;text-underline-offset:3px}.phone-home-promo:hover{border-color:#487552}.phone-home-promo:focus-visible{outline:3px solid #285442;outline-offset:4px}
@media(max-width:480px){.phone-home-promo{padding:12px;gap:11px}.phone-home-promo strong{font-size:16px}}

/* Fill portrait-photo previews on phones; the zoom viewer keeps the entire image. */
@media(max-width:640px){.vehicle-preview>.market-photos img,.preview-gallery .preview-photo-slide>img{aspect-ratio:4/3}}
