
:root{--paper:#f4f5f7;--accent:#b94420;--radius:18px}
body{padding-bottom:calc(94px + env(safe-area-inset-bottom));background:var(--paper)}
.container{width:min(1060px,calc(100% - 40px))}
.site-header .header-inner{height:68px;gap:12px}
.brand>span{font-size:24px}.brand img{width:34px;height:34px}.brand small{display:none}
.cm-icon{width:24px;height:24px;flex:none;display:block}.cm-account-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e1e4ea;border-radius:50%;background:#fff;color:var(--ink)}
.cm-app-nav{position:fixed;bottom:0;left:0;right:0;z-index:35;display:flex;justify-content:center;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e2e5e9;backdrop-filter:blur(14px)}
.cm-app-nav a{width:min(22%,130px);min-height:54px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;border-radius:14px;color:#596575;font-size:12px;font-weight:650}
.cm-app-nav a[aria-current=page]{background:#fff0e9;color:#a23819}.cm-app-nav .cm-icon{width:23px;height:23px}
.cm-home.container{max-width:680px;padding-top:40px;padding-bottom:20px}.cm-home h1{font-size:clamp(25px,4vw,34px);line-height:1.2;letter-spacing:-.035em;margin:0 0 28px}
.cm-launcher{display:grid;gap:14px}.cm-action{min-height:112px;border:1px solid #e0e4e9;border-radius:22px;display:flex;align-items:center;gap:20px;padding:24px;background:#fff;color:var(--ink);box-shadow:0 4px 12px #14203303;transition:transform .15s,box-shadow .15s}
.cm-action:hover{box-shadow:0 6px 20px #1420330b;transform:translateY(-2px)}.cm-action:active{transform:scale(.99)}
.cm-action strong{font-size:21px;letter-spacing:-.025em}.cm-action-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:19px;background:#f2f4f7;color:var(--ink);flex:none}.cm-action-icon .cm-icon{width:32px;height:32px}.cm-action-arrow{margin-left:auto}.cm-action-arrow .cm-icon{width:22px;height:22px}
.cm-action-primary{background:var(--ink);color:#fff;border-color:var(--ink)}.cm-action-primary .cm-action-icon{background:#ffffff16;color:#ffab80}
.cm-about{margin:24px 0 0}.cm-about summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;font-size:14px;color:#536173;padding:8px 2px;cursor:pointer}.cm-about summary::-webkit-details-marker{display:none}.cm-about summary span{font-size:22px}.cm-about[open] summary span{transform:rotate(45deg)}.cm-about>div{padding:12px 0 18px;font-size:14px;color:#536173}.cm-about h2{font-size:20px;color:var(--ink);margin-bottom:8px}.cm-about p{margin-bottom:12px;line-height:1.6}.cm-about a{text-decoration:underline;text-underline-offset:3px}
.account-shell{display:block;width:min(500px,calc(100% - 40px));margin:30px auto;padding:0;background:transparent;min-height:0}.account-card{padding:28px;border:1px solid #e0e4e9;border-radius:22px;background:white;box-shadow:none}.account-card h2{font-size:28px;margin:0 0 24px}.account-intro{font-size:14px;line-height:1.5;margin-bottom:20px}.account-card>.eyebrow{display:none}.account-form{gap:18px}.account-field input,.account-field select,.field input,.field select{min-height:50px;font-size:16px;border-radius:12px}.account-kind{margin-bottom:8px}.account-passwords{gap:14px}.account-card .auth-profile{flex-wrap:wrap}.auth-actions{margin-top:16px}.cm-garage-shortcut{margin-top:24px}
.garage-main,.vehicle-main{padding-top:24px;padding-bottom:20px}.garage-heading,.vehicle-heading{margin-bottom:24px;gap:12px}.garage-heading h1{font-size:32px;line-height:1.2}.garage-heading p:empty{display:none}.garage-heading p{font-size:14px}.garage-tabs{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}.garage-tabs a{min-height:42px;padding:10px 14px;border-radius:12px;border:1px solid #e1e4e9;background:#fff;font-size:13px}.garage-tabs a[aria-current=page]{background:#142033;color:#fff}.garage-panel{border-radius:18px;box-shadow:none}.garage-workspace{gap:20px}.garage-section-title h2{font-size:20px}.garage-create .garage-panel summary{min-height:56px}.garage-create-inner{padding-top:12px}.garage-card-kind{font-size:11px}.garage-open{min-height:48px}.cm-settings-link{display:block;padding-top:12px;font-size:13px;color:#596575;text-decoration:underline;text-underline-offset:3px}.garage-empty{padding:24px}.garage-empty h2{font-size:23px}.garage-empty p{font-size:14px}.garage-empty .eyebrow{display:none}.garage-empty .garage-emblem{font-size:32px;margin-bottom:12px}.garage-empty .garage-inline{display:inline-flex;align-items:center;justify-content:center;margin-top:18px;padding:14px 20px;background:#142033;color:#fff;border-radius:12px;min-height:48px}.garage-next{padding:0;border:0;background:transparent}.garage-detail{gap:20px}.garage-back{min-height:44px;display:inline-flex;align-items:center}.cm-help{padding:14px 0;color:#596575;font-size:13px}.cm-help summary{padding:8px 0;min-height:40px}.cm-help p{padding:10px 0;line-height:1.6}
.vehicle-aside:empty{display:none}.vehicle-empty-art{max-width:260px;margin:auto}.vehicle-empty h2{font-size:24px}.vehicle-empty p:empty{display:none}.vehicle-search{padding:16px;border-radius:16px;gap:12px}.vehicle-workspace{gap:20px}.vehicle-summary{display:none}.vehicle-results h2{font-size:20px}.vehicle-card-copy{padding:18px}.vehicle-help{font-size:13px}.vehicle-new{min-height:48px}
.catalog-section{padding-top:22px}.catalog-heading{margin:20px 0 24px}.catalog-heading h1{font-size:32px;line-height:1.2}.breadcrumb{font-size:12px}.catalog-form{padding:18px;border-radius:18px}.catalog-empty{padding:30px 20px}.catalog-empty h2{font-size:24px}.catalog-empty p{font-size:14px}.catalog-empty>.empty-icon{margin-bottom:14px}.filter-details summary{min-height:48px}.filter-details summary span{font-size:12px}.button{min-height:48px;border-radius:12px}.button-dark{background:var(--ink)}
.cm-photos-main .garage-heading h1{font-size:30px}.cm-photo-empty{padding:24px}.cm-photo-empty h2{font-size:23px}.cm-photo-empty img{max-width:240px;margin:auto}.cm-photo-add-inner>p{font-size:13px;line-height:1.5}.cm-photo-add-inner h2{font-size:22px}.cm-photo-help{font-size:13px}.cm-photo-manage-title h2{font-size:20px}
#cm-create-form:target{outline:2px solid #b94420;outline-offset:4px}#cm-create-form:target>.garage-create-inner{display:block}
@media(min-width:900px){.garage-detail>.garage-editor{order:2}.garage-detail>aside{order:1}.garage-detail{grid-template-columns:260px 1fr}.cm-home.container{padding-top:52px}.cm-action{min-height:120px}.cm-app-nav{gap:16px}}
@media(max-width:620px){.container{width:calc(100% - 32px)}.site-header .header-inner{height:62px}.brand>span{font-size:22px}.brand img{width:31px;height:31px}.cm-home.container{padding-top:30px}.cm-home h1{font-size:26px;margin-bottom:24px}.cm-action{padding:20px;gap:16px;min-height:108px;border-radius:20px}.cm-action strong{font-size:20px}.cm-action-icon{width:54px;height:54px;border-radius:16px}.cm-action-icon .cm-icon{width:29px;height:29px}.cm-about{margin-top:20px}.account-shell{width:calc(100% - 32px);margin-top:22px}.account-card{padding:24px 20px}.account-card h2{font-size:26px}.account-passwords{grid-template-columns:1fr}.garage-heading h1,.catalog-heading h1{font-size:28px}.garage-heading{align-items:flex-start}.garage-tabs{gap:6px}.garage-tabs a{padding:10px;font-size:12px}.garage-workspace,.garage-detail,.vehicle-workspace,.cm-photos-workspace{display:flex;flex-direction:column}.garage-detail>aside{order:-1}.garage-next{margin-bottom:12px}.vehicle-aside{width:100%}.vehicle-search{display:grid;grid-template-columns:1fr}.vehicle-empty{padding:24px}.vehicle-empty-art{max-width:200px}.cm-photo-empty img{max-width:200px}.cm-photo-upload{padding:18px}.cm-photo-file{min-height:130px}.cm-app-nav{gap:4px;padding-inline:8px}.cm-app-nav a{width:25%;font-size:11px}}
@media(prefers-reduced-motion:reduce){.cm-action{transition:none;transform:none!important}}

/* Central Motor: fixed dark palette requested by the owner. */
:root{color-scheme:dark;--ink:#f5f5f7;--muted:#b9bcc4;--accent:#ff8a32;--light-accent:#ffb47e;--paper:#121315;--line:#383a40;--white:#202226;--shadow:none}
html,body,.account-body,.garage-body{background:#121315;color:#f5f5f7;padding-bottom:calc(94px + env(safe-area-inset-bottom))}
.site-header{background:#17181bf5;border-color:#34363b}.site-header .brand{color:#fff}.brand-accent{color:#ff943f}
.cm-account-button{color:#fff;background:#24262b;border-color:#3a3c43}
.cm-home h1{color:#fff}.cm-action,.cm-action-primary{background:#ff8a32;border-color:#ff8a32;color:#17110d;box-shadow:none}.cm-action:hover{background:#ff9d52;box-shadow:0 6px 20px #0003}.cm-action .cm-action-icon,.cm-action-primary .cm-action-icon{background:#15100b18;color:#17110d}.cm-action .cm-action-arrow{color:#17110d}
.cm-about summary,.cm-about>div{color:#c5c7ce}.cm-about h2{color:#fff}.cm-about a{color:#ffad6e}
.cm-app-nav{background:#191a1ef5;border-color:#36383e}.cm-app-nav a{color:#babdc6}.cm-app-nav a[aria-current=page]{background:#ff8a321c;color:#ffa05b}
.account-card,.garage-panel,.vehicle-search,.catalog-form,.auth-profile,.vehicle-card,.catalog-empty,.launch-empty{background:#202226;border-color:#3a3c42;color:#f5f5f7}
.account-card h2,.garage-heading h1,.catalog-heading h1,.garage-card h3,.garage-member h3,.auth-profile h3,.vehicle-card h2,.garage-section-title h2{color:#fff}
.account-intro,.account-footer-note,.field-hint,.password-help,.data-note,.account-result p,.account-field label small,.account-kind small,.garage-muted,.garage-heading p,.garage-location,.garage-card-kind,.garage-card-meta,.garage-aside-note,.garage-section-title>span:not(.garage-pill),.garage-empty p:not(.eyebrow),.garage-member-header p,.garage-invitation p,.garage-own-access p,.vehicle-version,.vehicle-card-specs,.vehicle-help,.vehicle-private-caption,.vehicle-privacy-note,.vehicle-lock,.vehicle-empty>p:not(.eyebrow),.vehicle-section-kicker p,.vehicle-form .account-field>small,.vehicle-unit>span,.auth-profile p,.auth-summary dt,.auth-logout button,.cm-help,.cm-photo-help,.cm-photo-selection,.cm-photo-upload-help,.cm-photo-file small,.cm-photo-upload .cm-photo-add-inner>p:not(.eyebrow),.cm-photo-upload input[type=file],.cm-photo-empty>p:not(.eyebrow),.cm-photo-upload-status,.results-bar p,.catalog-empty p,.breadcrumb,.clear-link,.spec-grid dt,.vehicle-description p{color:#bdc0c8}
.account-field label,.field>span,.account-kind legend,.garage-check,.vehicle-section-kicker h2,.vehicle-read dd,.garage-read dd,.auth-summary dd,.cm-photo-file strong{color:#f5f5f7}
.account-field input,.account-field select,.garage-body select,.field input,.field select,.vehicle-form textarea,.garage-role-form select{background:#16171a;color:#fff;border-color:#51535c;box-shadow:none}
input::placeholder,textarea::placeholder{color:#a6aab4;opacity:1}.account-field input:focus,.account-field select:focus,.field input:focus,.field select:focus,.vehicle-form textarea:focus{border-color:#ff943f;box-shadow:0 0 0 3px #ff943f20}
.account-kind label{background:#26282e;border-color:#4b4d55;color:#fff}.account-kind label:has(input:checked){background:#ff8a3218;border-color:#ff8a32;box-shadow:0 0 0 1px #ff8a32}.account-kind input,.garage-check input{accent-color:#ff8a32}
.button,.button-dark,.account-submit,.garage-empty .garage-inline,.vehicle-new{background:#ff8a32;color:#17110d;border-color:#ff8a32}.button:hover,.button-dark:hover{background:#ff9d52;color:#17110d}.button-outline{background:transparent;color:#ffad6e;border-color:#ff8a32}.button-outline:hover{background:#ff8a3218;color:#ffbd8a}
.account-secondary,.account-footer-note a,.password-help button,.auth-body .password-help a,.garage-inline,.garage-back,.garage-account span,.garage-open span,.cm-settings-link,.text-link,.clear-link,.vehicle-save>a,.vehicle-read-heading a,.cm-photo-refresh{color:#ffad6e}
.form-alert{background:#402721;border-color:#9b5d46;color:#ffe2d7}.field-error{color:#ffb5a3}.form-error{background:#402721;color:#ffe2d7;border-color:#9b5d46}
.auth-notice,.garage-notice{background:#22372b;border-color:#4d7759;color:#d3f0dc}.garage-pill,.auth-verified,.result-icon{background:#294131;color:#d5f0df}.garage-pill.muted{background:#393b43;color:#d3d5dc}.auth-avatar,.garage-card-icon,.garage-emblem{background:#ff8a321c;color:#ffb47e}
.garage-tabs{border-color:#3a3c42;overflow-x:visible;white-space:normal}.garage-tabs a{background:#23252a;border-color:#44464f;color:#c7cad3}.garage-tabs a[aria-current=page]{background:#ff8a32;border-color:#ff8a32;color:#17110d}
.garage-open,.garage-read div,.garage-role-form,.garage-activity li,.auth-summary div,.auth-logout,.vehicle-toolbar,.vehicle-form-section,.vehicle-read div,.vehicle-private,.vehicle-private[open]>summary,.vehicle-archive,.vehicle-save,.data-note{border-color:#41434b}
.garage-role-form button,.garage-danger,.garage-archive summary,.garage-remove,.vehicle-archive summary,.cm-photo-remove summary{color:#ffad94;background:transparent}
.garage-activity span,.garage-read dt,.garage-pagination span,.garage-invitation .eyebrow{color:#bdc0c8}
.vehicle-tabs a{color:#c2c5ce}.vehicle-tabs a[aria-current=page]{color:#ffb47e}.vehicle-tabs span{background:#363840;color:#d8dae0}.vehicle-tabs a[aria-current=page] span{background:#ff8a32;color:#17110d}.vehicle-card-art,.card-image{background:#2a2c32}.vehicle-card-art>.garage-pill{background:#26282d;color:#e0e2e8}.vehicle-card-copy .eyebrow{color:#c0c4cd}.vehicle-section-kicker>span{background:#ff8a3218;border-color:#ff8a3240;color:#ffb47e}.vehicle-private>summary{background:#2a2c32;color:#fff}.vehicle-correction{color:#ffbc9d}
.cm-photo-track,.cm-photo-slide>a,.cm-photo-thumbs a,.cm-photo-card-image,.cm-photo-trash-card{background:#16171a;border-color:#41434b}.cm-photo-slide figcaption{background:#23252a;border-color:#41434b;color:#c3c6cf}.cm-photo-file{background:#18191d;border-color:#747780;color:#fff}.cm-photo-file>span{color:#ffa76a}.cm-photo-upload input[type=file]::file-selector-button{background:#ff8a32;color:#17110d;border-color:#ff8a32}.cm-photo-empty>span{color:#ffad6e}.cm-photo-card-image>span{background:#121315dd;color:#fff}.cm-photo-card-controls button{background:#ff8a32;border-color:#ff8a32;color:#17110d}.cm-photo-dialog{background:#17181b}.cm-photo-dialog-bar button,.cm-photo-dialog-nav button{background:#ff8a32;color:#17110d;border-color:#ff8a32}
.results-bar,.spec-grid,.vehicle-facts,.vehicle-detail-card,.seller-card,.detail-panel{border-color:#41434b}.filter-details{border-color:#41434b}.filter-details summary{color:#fff}.filter-details summary span{color:#bdc0c8}.filter-fields{border-color:#41434b}.breadcrumb a{color:#ffb47e}.price,.card-title,.vehicle-title,.vehicle-detail-title{color:#fff}
.cm-about a:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,.garage-body :focus-visible,.account-card :focus-visible{outline:3px solid #ffad6e;outline-offset:4px}
@media(max-width:620px){html,body,.account-body,.garage-body{padding-bottom:calc(94px + env(safe-area-inset-bottom))}.garage-create{order:0}}
/* Orange is deep enough to keep the owner's white button labels legible. */
:root{--accent:#ff9d59}
.cm-action,.cm-action-primary,.button,.button-dark,.account-submit,.garage-empty .garage-inline,.vehicle-new,.garage-tabs a[aria-current=page],.cm-photo-card-controls button,.cm-photo-upload input[type=file]::file-selector-button,.cm-photo-dialog-bar button,.cm-photo-dialog-nav button{background:#c94e0b;border-color:#c94e0b;color:#fff}
.cm-action:hover,.button:hover,.button-dark:hover{background:#b94606;color:#fff}
.cm-action .cm-action-icon,.cm-action-primary .cm-action-icon{background:#ffffff18;color:#fff}.cm-action .cm-action-arrow{color:#fff}
.button-outline{background:transparent;color:#ffad6e;border-color:#ff8a32}.button-outline:hover{background:#ff8a3218;color:#ffbd8a}
.auth-body .account-shell{min-height:0}.cm-photos-main .garage-back,.garage-heading .garage-back{padding-bottom:0;margin-top:0}
.vehicle-spec-details>summary{background:#2a2c32;color:#fff}.vehicle-spec-details,.vehicle-spec-details[open]>summary{border-color:#41434b}.vehicle-spec-details>summary>span{color:#c4c7cf}
.detail-panel{background:#202226;color:#fff;border-color:#41434b}.detail-summary>.subtle-pill{background:#294131;border-color:#47684e;color:#d5f0df}.detail-summary>p,.vehicle-brand,.vehicle-specs,.vehicle-location,.vehicle-description,.detail-location,.seller-info span,.small-note{color:#bdc0c8}.vehicle-price,.detail-price{color:#fff}.vehicle-picture,.detail-picture{background:#282a30}.seller-label{background:#27292f;color:#fff}.photo-label{background:#17181bea;color:#d6d9e0}.empty-icon{background:#2b2d33;color:#ffb47e}.cm-photo-action>button:disabled{background:#36383e;color:#b0b3bd;border-color:#41434b}.skip-link{background:#c94e0b;color:#fff}

.account-body .account-card,.auth-body .account-card{padding:26px 22px}.account-body .account-card h2,.auth-body .account-card h2{margin-top:0}
.garage-card .garage-open,.vehicle-card .garage-open{background:#c94e0b;color:white;border:1px solid #c94e0b;border-radius:12px;padding:14px 16px;min-height:48px}.garage-card .garage-open span,.vehicle-card .garage-open span{color:white}
.garage-card{padding:20px}.garage-card-kind{margin-top:18px}.garage-card-meta{margin-top:16px}.garage-card .garage-open{margin-top:18px}
