/* YouAuto UI v2.1: persistent night theme + predictable in-report navigation. */
html { scroll-padding-top: 91px; }
#research-results,#sales-explorer,#report-overview,#factory-data,#vehicle-specs,#features,#how {
  scroll-margin-top: 92px;
}
.at-theme-toggle {
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border:1px solid #e2e4ee;background:#f7f8fc;border-radius:10px;
  min-height:37px;padding:8px 12px;color:#5d6478;font-weight:750;font-size:11px;
  white-space:nowrap;cursor:pointer;transition:background .18s,border-color .18s,color .18s;
  font-family:inherit;
}
.at-theme-toggle:hover{background:#eeecfc;border-color:#c8c0f5;color:#5e4ed7}
.at-theme-icon-sun{display:none}
html[data-theme="dark"] .at-theme-icon-sun{display:block}
html[data-theme="dark"] .at-theme-icon-moon{display:none}
@media(max-width:670px){
  .at-theme-toggle{width:100%;justify-content:flex-start;min-height:43px;padding:10px 13px;margin-top:3px}
}
.sales-portal-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:25px 0 15px}
.sales-portal-heading h3{margin:0;font-size:19px;font-weight:800;color:#303448;letter-spacing:-.4px}
.sales-portal-heading h3 span{font-size:11px;color:#8a91a2;margin-left:7px}
.sales-portal-heading p{font-size:12px;color:#8b92a2;margin:0}
body.atlas-app .sale-portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.atlas-app .sale-portal-card{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  min-height:177px;padding:19px 19px 15px;border:1px solid #e5e8f0;border-radius:13px;
  background:#fff;text-decoration:none;position:relative;transition:transform .18s,border .18s,box-shadow .18s;
}
body.atlas-app .sale-portal-card:hover{transform:translateY(-2px);border-color:#bbb2f6;box-shadow:0 10px 30px rgba(75,62,160,.08)}
.sale-portal-logo{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;
  background:#ece9ff;color:#6b5dda;font-weight:850;font-size:17px;margin-bottom:12px}
.sale-portal-title{display:block;color:#333749;font-size:15px;font-weight:810;letter-spacing:-.25px}
body.atlas-app .sale-portal-card .sale-market-small{
  display:block;grid-column:auto;grid-row:auto;font-size:11px;color:#999faf;
  line-height:1.55;margin:5px 0 13px;
}
.sale-portal-cta{display:flex;align-items:center;justify-content:space-between;gap:9px;
  margin-top:auto;width:100%;font-size:11px;color:#6957d8;font-weight:800}
.sale-portal-cta span{font-size:16px}
.sales-portal-empty{padding:27px 22px;background:#f8f9fd;border:1px dashed #dde2ed;border-radius:12px}
.sales-portal-empty strong{color:#555d70;font-size:13px}
.sales-portal-empty p{margin:7px 0 0;color:#929aa8;font-size:12px;line-height:1.6}
.sales-search-update{display:flex;align-items:center;justify-content:space-between;gap:18px;
  border:1px solid #e6e2f5;background:#f5f3fe;padding:17px 19px;border-radius:12px;margin-top:25px}
.sales-search-update strong{font-size:12px;color:#4f4c7d}
.sales-search-update p{margin:6px 0 0;color:#8a87a3;font-size:11px;line-height:1.6}
.sales-search-update form{flex:0 0 auto}
@media(max-width:820px){body.atlas-app .sale-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){
  body.atlas-app .sale-portal-grid{grid-template-columns:1fr 1fr;gap:9px}
  body.atlas-app .sale-portal-card{padding:14px;min-height:165px}
  .sale-portal-title{font-size:13px}
  .sales-portal-heading{display:block}.sales-portal-heading p{margin-top:8px}
  .sales-search-update{display:block}.sales-search-update form{margin-top:12px}
  .sales-search-update .btn{width:100%}
}
@media(max-width:365px){body.atlas-app .sale-portal-grid{grid-template-columns:1fr}}
/* Core dark palette: the user's selection is set on <html> before styles load. */
html[data-theme="dark"]{
  color-scheme:dark;
  --at-bg:#0c1220;--at-white:#151d2c;--at-ink:#f1f4ff;
  --at-secondary:#a9b5ca;--at-soft:#93a3bc;--at-stroke:#2d3950;
  --at-purple:#ad9cff;--at-purple-deep:#9883ff;--at-purple-pale:#272642;
  --at-shadow:0 10px 34px rgba(1,5,15,.21);
  --bg:#0c1220;--panel:#151d2c;--panel2:#1c2639;--line:#2d3950;
  --text:#f0f3ff;--muted:#a2afc3;--accent:#ad9cff;--blue:#9e93ff;--soft:#282642;
}
html[data-theme="dark"] body.atlas-app,
html[data-theme="dark"] body.atlas-home{background:#0c1220;color:#e9effd}
html[data-theme="dark"] .at-topbar{background:rgba(17,24,39,.95);border-color:#2a3850}
html[data-theme="dark"] .at-brand{color:#f4f6ff}
html[data-theme="dark"] .at-brand-word>span{color:#b1a2ff}
html[data-theme="dark"] .at-logo-mark{background:#7564ed;box-shadow:0 7px 19px rgba(63,46,145,.27)}
html[data-theme="dark"] .at-brand-beta{background:#292643;color:#bfb3ff}
html[data-theme="dark"] .at-nav-menu>a:not(.at-nav-cta),
html[data-theme="dark"] .at-nav-link-button{color:#b7c2d6}
html[data-theme="dark"] .at-nav-current,
html[data-theme="dark"] .at-nav-menu>a:not(.at-nav-cta):hover,
html[data-theme="dark"] .at-nav-link-button:hover{color:#beafff!important}
html[data-theme="dark"] .at-nav-cta{background:#7160e7;color:#fff!important}
html[data-theme="dark"] .at-nav-cta:hover{background:#8877f2}
html[data-theme="dark"] .at-nav-user{background:#302951;color:#e8e0ff;border-color:#564b86}
html[data-theme="dark"] .at-theme-toggle{background:#232b40;border-color:#3b4562;color:#dddcff}
html[data-theme="dark"] .at-theme-toggle:hover{background:#343052;border-color:#8274da;color:#f4edff}
html[data-theme="dark"] .at-menu-toggle{background:#1d2639;border-color:#37415a;color:#e5eaf8}
html[data-theme="dark"] .at-footer{background:#111a2a;border-color:#29364b}
html[data-theme="dark"] .at-footer-brand{color:#d1d8e8}
html[data-theme="dark"] .at-footer p{color:#8999af}
html[data-theme="dark"] .at-footer-divider{color:#5a6682}
html[data-theme="dark"] .at-workspace-heading h1,
html[data-theme="dark"] .at-workspace-heading h2,
html[data-theme="dark"] .at-breadcrumb strong{color:#eaf0ff}
html[data-theme="dark"] .at-workspace-heading p,
html[data-theme="dark"] .at-breadcrumb a,
html[data-theme="dark"] .at-breadcrumb{color:#a5b0c2}
html[data-theme="dark"] .at-kicker{color:#b7a9ff}
html[data-theme="dark"] .at-title-accent{color:#aa9bff}
html[data-theme="dark"] .at-button-primary,
html[data-theme="dark"] body.atlas-app .btn-primary{background:#8573f7;color:#fff}
html[data-theme="dark"] .at-button-primary:hover,
html[data-theme="dark"] body.atlas-app .btn-primary:hover{background:#9a89ff;color:#fff}
html[data-theme="dark"] .at-button-dark{background:#7162d9}
html[data-theme="dark"] .at-button-white{background:#f2efff;color:#323058!important}
html[data-theme="dark"] .at-hero{background:#101528;box-shadow:0 25px 60px rgba(0,0,0,.25)}
html[data-theme="dark"] .at-hero-copy h1,
html[data-theme="dark"] .at-final-cta h2{color:#fff}
html[data-theme="dark"] .at-hero-gradient{background:linear-gradient(90deg,#fff,#c5b7ff,#b6fff0);
  -webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="dark"] .at-intro-section,
html[data-theme="dark"] .at-process-section{background:transparent}
html[data-theme="dark"] .at-section-lead h2,
html[data-theme="dark"] .at-process-copy h2{color:#f0f3ff}
html[data-theme="dark"] .at-section-lead h2 em,
html[data-theme="dark"] .at-process-copy h2 em{color:#a997ff}
html[data-theme="dark"] .at-section-lead>p,
html[data-theme="dark"] .at-process-copy>p{color:#acb7c9}
html[data-theme="dark"] .at-feature,
html[data-theme="dark"] .at-process-list{background:#151f30;border-color:#2d3a51}
html[data-theme="dark"] .at-feature:hover{border-color:#7166b3}
html[data-theme="dark"] .at-feature h3,
html[data-theme="dark"] .at-process-list strong{color:#eaf0ff}
html[data-theme="dark"] .at-feature p,
html[data-theme="dark"] .at-process-list p{color:#a5b0c4}
html[data-theme="dark"] .at-feature-top>span,
html[data-theme="dark"] .at-step-number{background:#2b2b4c;color:#bdadff}
html[data-theme="dark"] .at-process-list>div{border-color:#2d3a51}
html[data-theme="dark"] .at-process-list>div:before{background:#3b4167}
html[data-theme="dark"] .at-final-cta{background:#4d3ca4}
html[data-theme="dark"] .at-final-cta .at-kicker{color:#cbc5ff}
html[data-theme="dark"] .at-inline-alert-info{background:#212846;border-color:#38436c;color:#d6ddfb}
html[data-theme="dark"] .at-inline-alert-warning{background:#342b25;border-color:#57472e;color:#f5d59d}
html[data-theme="dark"] .at-inline-alert p{color:inherit}
html[data-theme="dark"] .at-alert{background:#1b322b;border-color:#315c4b;color:#b9f3d7}
html[data-theme="dark"] .at-alert-error{background:#38242e;border-color:#70455c;color:#ffd1de}
html[data-theme="dark"] .at-garage-main,
html[data-theme="dark"] .at-stat-box,
html[data-theme="dark"] .at-side-card-light,
html[data-theme="dark"] .at-garage-empty,
html[data-theme="dark"] .at-form-card,
html[data-theme="dark"] .at-auth-layout,
html[data-theme="dark"] .at-auth-panel{background:#151d2d;border-color:#2e3b53}
html[data-theme="dark"] .at-stat-box>strong,
html[data-theme="dark"] .at-vehicle-label strong,
html[data-theme="dark"] .at-list-top h2,
html[data-theme="dark"] .at-garage-empty h3,
html[data-theme="dark"] .at-form-card-head h2,
html[data-theme="dark"] .at-auth-header h2{color:#ecf1ff}
html[data-theme="dark"] .at-stat-box>span,
html[data-theme="dark"] .at-stat-label,
html[data-theme="dark"] .at-vehicle-label small,
html[data-theme="dark"] .at-garage-empty p,
html[data-theme="dark"] .at-form-card>p,
html[data-theme="dark"] .at-auth-header p{color:#a3afc3}
html[data-theme="dark"] .at-stat-icon,
html[data-theme="dark"] .at-vehicle-avatar,
html[data-theme="dark"] .at-method-icon{background:#2c2b50;color:#b6a9ff}
html[data-theme="dark"] .at-vehicle-label-row{background:#1c273a;border-color:#304055;color:#8fa0b7}
html[data-theme="dark"] .at-vehicle-item{color:#dfe7f8;border-color:#2b3850}
html[data-theme="dark"] .at-vehicle-item:hover{background:#202b41;color:#f0f3ff}
html[data-theme="dark"] .at-vehicle-source-count b{color:#e1e7f7}
html[data-theme="dark"] .at-vehicle-source-count small,
html[data-theme="dark"] .at-vehicle-status small{color:#9badc1}
html[data-theme="dark"] .at-vehicle-arrow{color:#b4a5f7}
html[data-theme="dark"] .at-vehicle-label-row span{color:#9eadc2}
html[data-theme="dark"] .at-list-top h2 small,
html[data-theme="dark"] .at-status-pill{background:#243a37;color:#a6dfc4;border-color:#315d50}
html[data-theme="dark"] .at-status-running,
html[data-theme="dark"] .at-status-queued,
html[data-theme="dark"] .at-status-retrying{background:#233553;color:#b4c9ff;border-color:#34507a}
html[data-theme="dark"] .at-status-needs_details,
html[data-theme="dark"] .at-status-waiting_api{background:#3a3326;color:#f3d394;border-color:#605133}
html[data-theme="dark"] .at-garage-search,
html[data-theme="dark"] #at-garage-filter{background-color:#1f293c;border-color:#35435a;color:#e4eaf9}
html[data-theme="dark"] .at-garage-search input{color:#e2e9f8}
html[data-theme="dark"] .at-garage-search input::placeholder{color:#7f91a7}
html[data-theme="dark"] .at-side-card-dark{background:#30284c;border-color:#493d72}
html[data-theme="dark"] .at-side-card-dark p{color:#ccc6e5}
html[data-theme="dark"] .at-side-guide span{color:#b0bbcf}
html[data-theme="dark"] .at-side-guide b{background:#2c2b50;color:#c7baff}
html[data-theme="dark"] .at-new-aside{background:#211f39;border-color:#393454}
html[data-theme="dark"] .at-new-aside h3{color:#edeaff}
html[data-theme="dark"] .at-aside-timeline strong{color:#d8dff0}
html[data-theme="dark"] .at-aside-timeline p{color:#a4aed0}
html[data-theme="dark"] .at-aside-timeline>div>span,
html[data-theme="dark"] .at-aside-note{background:#2c2a48;border-color:#494469;color:#e4dcff}
html[data-theme="dark"] .at-aside-note p{color:#c4c8da}
html[data-theme="dark"] .at-auth-art{background:linear-gradient(135deg,#131b31,#33235e)}
html[data-theme="dark"] .at-auth-switch{border-color:#2f3d51;color:#a7b4c7}
html[data-theme="dark"] .at-auth-switch a{color:#b09eff}
html[data-theme="dark"] .at-form-card label,
html[data-theme="dark"] .at-auth-form label{color:#d7e0f3}
html[data-theme="dark"] .at-form-card input,
html[data-theme="dark"] .at-auth-form input{background:#101827;color:#e8eefc;border-color:#33425b}
html[data-theme="dark"] input::placeholder{color:#75879d}
html[data-theme="dark"] .at-form-help,
html[data-theme="dark"] .at-auth-terms{color:#9cabc0}
@media(max-width:670px){
 html[data-theme="dark"] .at-nav-menu{background:#182234;border-color:#38465e;box-shadow:0 18px 35px rgba(0,0,0,.35)}
 html[data-theme="dark"] .at-nav-menu>a:not(.at-nav-cta):hover{background:#242f48}
}

/* Dense research report, OEM cards and marketplace navigation in night mode */
html[data-theme="dark"] body.atlas-app .report-head,
html[data-theme="dark"] .at-report-tabs,
html[data-theme="dark"] body.atlas-app .stat,
html[data-theme="dark"] body.atlas-app .vin-detail,
html[data-theme="dark"] body.atlas-app .filters,
html[data-theme="dark"] body.atlas-app .search-form,
html[data-theme="dark"] body.atlas-app .source,
html[data-theme="dark"] body.atlas-app .sales-explorer,
html[data-theme="dark"] body.atlas-app .factory-panel,
html[data-theme="dark"] body.atlas-app .empty,
html[data-theme="dark"] body.atlas-app .search-status{
  background:#151e2f;border-color:#2c3a52;color:#e4edfc;
  box-shadow:0 6px 24px rgba(0,0,0,.15);
}
html[data-theme="dark"] body.atlas-app .report-head h1,
html[data-theme="dark"] body.atlas-app .results-head h2,
html[data-theme="dark"] body.atlas-app .vin-detail h3,
html[data-theme="dark"] body.atlas-app .source h3,
html[data-theme="dark"] body.atlas-app .source h3 a,
html[data-theme="dark"] body.atlas-app .sales-header h2,
html[data-theme="dark"] body.atlas-app .sales-section-title,
html[data-theme="dark"] body.atlas-app .factory-title h3,
html[data-theme="dark"] body.atlas-app .sales-country-heading{color:#eaf0ff}
html[data-theme="dark"] body.atlas-app .report-head p,
html[data-theme="dark"] body.atlas-app .results-head span,
html[data-theme="dark"] body.atlas-app .specs>div span,
html[data-theme="dark"] body.atlas-app .source p,
html[data-theme="dark"] body.atlas-app .sales-header p,
html[data-theme="dark"] body.atlas-app .muted,
html[data-theme="dark"] body.atlas-app .vin-detail p,
html[data-theme="dark"] body.atlas-app .factory-title p{color:#a3b2c9}
html[data-theme="dark"] body.atlas-app .specs>div b,
html[data-theme="dark"] body.atlas-app .factory-specs b{color:#e1e9fa}
html[data-theme="dark"] body.atlas-app .stat strong{color:#f1f3ff}
html[data-theme="dark"] body.atlas-app .stat span{color:#a4b3c8}
html[data-theme="dark"] body.atlas-app .report-head .eyebrow,
html[data-theme="dark"] body.atlas-app .factory-title .eyebrow,
html[data-theme="dark"] body.atlas-app .sales-entry .eyebrow,
html[data-theme="dark"] body.atlas-app .search-status .eyebrow{color:#b4a6ff}
html[data-theme="dark"] .at-report-tabs{border-color:#2e3b53}
html[data-theme="dark"] .at-report-tabs>a{color:#a4afc4}
html[data-theme="dark"] .at-report-tabs>a.active,
html[data-theme="dark"] .at-report-tabs>a:hover{color:#c0b4ff;border-color:#a394ff}
html[data-theme="dark"] body.atlas-app .filters>a{color:#aeb9d0}
html[data-theme="dark"] body.atlas-app .filters>a:hover,
html[data-theme="dark"] body.atlas-app .filters>a.selected{
  background:#302a57;color:#d4c8ff;border-color:#534b8b;
}
html[data-theme="dark"] body.atlas-app .filters>a>span{background:#263247;color:#aab8ce}
html[data-theme="dark"] body.atlas-app .filters>a.selected>span{background:#493b74;color:#ded4ff}
html[data-theme="dark"] body.atlas-app .search-form input,
html[data-theme="dark"] body.atlas-app .quick-details input,
html[data-theme="dark"] body.atlas-app .factory-inputs input{
  background:#101928;border-color:#334259;color:#e9f0ff
}
html[data-theme="dark"] body.atlas-app .btn-secondary{
  background:#292747;color:#d4c9ff;border-color:#4e427a
}
html[data-theme="dark"] body.atlas-app .btn-secondary:hover{background:#37305c;color:#ece6ff}
html[data-theme="dark"] body.atlas-app .btn-primary{background:#8270e8;color:white}
html[data-theme="dark"] body.atlas-app .source{background:#151f31}
html[data-theme="dark"] body.atlas-app .source:hover{border-color:#7568b8}
html[data-theme="dark"] body.atlas-app .source-meta{color:#b4a4ff}
html[data-theme="dark"] body.atlas-app .source-go,
html[data-theme="dark"] body.atlas-app .accent,
html[data-theme="dark"] body.atlas-app .factory-panel a{color:#b8a8ff}
html[data-theme="dark"] body.atlas-app .banner{
  background:#343021;border:1px solid #625438;color:#f0d6a2
}
html[data-theme="dark"] body.atlas-app .pill{
  background:#242d43;border-color:#37455c;color:#bfcbe0
}
html[data-theme="dark"] body.atlas-app .pill-complete,
html[data-theme="dark"] body.atlas-app .pill-partial{background:#1f3c33;border-color:#316a54;color:#b5efd5}
html[data-theme="dark"] body.atlas-app .pill-running{background:#243656;border-color:#39567a;color:#b8ceff}
html[data-theme="dark"] body.atlas-app .pill-waiting_api{background:#3a3424;border-color:#625539;color:#ffdda0}
html[data-theme="dark"] body.atlas-app .sales-entry,
html[data-theme="dark"] body.atlas-app .sales-fetch-panel,
html[data-theme="dark"] body.atlas-app .sales-search-update{
  background:#211f3c;border-color:#443a6b;color:#e0d9ff
}
html[data-theme="dark"] body.atlas-app .sales-entry h3,
html[data-theme="dark"] body.atlas-app .sales-search-update strong{color:#ebe5ff}
html[data-theme="dark"] body.atlas-app .sales-entry p,
html[data-theme="dark"] body.atlas-app .sales-search-update p,
html[data-theme="dark"] body.atlas-app .sales-region-note{color:#a5adc5}
html[data-theme="dark"] body.atlas-app .sales-country-tab{background:#1a2537;border-color:#334258;color:#b7c4d7}
html[data-theme="dark"] body.atlas-app .sales-country-tab:hover,
html[data-theme="dark"] body.atlas-app .sales-country-tab.active{
  background:#37305b;border-color:#7568b8;color:#f0eaff
}
html[data-theme="dark"] body.atlas-app .sales-country-tab .country-iso{
  background:#262748;border-color:#4a4269;color:#c6bbff
}
html[data-theme="dark"] body.atlas-app .sales-country-tab small{color:#a5b1c6}
html[data-theme="dark"] body.atlas-app .sales-counters>div,
html[data-theme="dark"] body.atlas-app .factory-specs>div,
html[data-theme="dark"] body.atlas-app .factory-option,
html[data-theme="dark"] body.atlas-app .sale-card{
  background:#1c293c;border-color:#33425a;color:#e4edfc
}
html[data-theme="dark"] body.atlas-app .factory-specs span,
html[data-theme="dark"] body.atlas-app .factory-option small,
html[data-theme="dark"] body.atlas-app .sales-counters span,
html[data-theme="dark"] body.atlas-app .sale-card p{color:#9eacc2}
html[data-theme="dark"] body.atlas-app .factory-notice,
html[data-theme="dark"] body.atlas-app .sales-portal-empty{
  background:#262844;border-color:#454772;color:#d0d4ee
}
html[data-theme="dark"] body.atlas-app .factory-editor{border-color:#36425b}
html[data-theme="dark"] body.atlas-app .factory-editor summary{color:#bbabff}
html[data-theme="dark"] body.atlas-app .factory-editor strong{color:#e0e5f5}
html[data-theme="dark"] body.atlas-app .factory-check{color:#b6c3d7}
html[data-theme="dark"] body.atlas-app .sale-market,
html[data-theme="dark"] body.atlas-app .sale-portal-card{
  background:#1a2639;border-color:#344359;color:#e8effe
}
html[data-theme="dark"] body.atlas-app .sale-portal-card:hover{
  background:#233049;border-color:#7568b4;box-shadow:0 12px 30px rgba(0,0,0,.21)
}
html[data-theme="dark"] .sale-portal-logo{background:#312b56;color:#c8baff}
html[data-theme="dark"] .sale-portal-title,
html[data-theme="dark"] body.atlas-app .sale-market-name{color:#e2eafa}
html[data-theme="dark"] body.atlas-app .sale-market-small,
html[data-theme="dark"] .sale-portal-card .sale-market-small{color:#a1afc4}
html[data-theme="dark"] .sale-portal-cta,
html[data-theme="dark"] body.atlas-app .sale-market-arrow{color:#c0b2ff}
html[data-theme="dark"] body.atlas-app .sales-footnote{color:#a8b6ca}
html[data-theme="dark"] .sales-portal-empty strong{color:#e2eaff}
html[data-theme="dark"] .sales-portal-empty p{color:#aab6cb}
html[data-theme="dark"] .sales-portal-heading h3{color:#eef1ff}
html[data-theme="dark"] .sales-portal-heading p{color:#a1afc5}
html[data-theme="dark"] .at-auth-switch a{color:#c1b3ff}
html[data-theme="dark"] .at-garage-search:focus-within,
html[data-theme="dark"] input:focus{border-color:#796dd5;box-shadow:0 0 0 3px rgba(137,115,247,.13)}
@media(max-width:750px){
  html[data-theme="dark"] body.atlas-app .filters>a{background:#1e2a40;border-color:#35435a}
  html[data-theme="dark"] body.atlas-app .filters>a.selected{background:#373058}
}

/* The marketing product mock and VIN entry remain dark in night mode too. */
html[data-theme="dark"] .at-hero-product{background:#1a263a;border-color:#3a4564;color:#e8eefb}
html[data-theme="dark"] .at-product-top{border-color:#314059;color:#aebbd2}
html[data-theme="dark"] .at-mini-mark{background:#7664ed}
html[data-theme="dark"] .at-mini-success{background:#224b3d;color:#aff1cf}
html[data-theme="dark"] .at-product-info h3,
html[data-theme="dark"] .at-product-r strong{color:#f1f3fe}
html[data-theme="dark"] .at-product-info h3 span,
html[data-theme="dark"] .at-product-vin{color:#99a9c0}
html[data-theme="dark"] .at-product-supratitle{color:#b6aaff}
html[data-theme="dark"] .at-product-tags span{background:#302b52;color:#d4c9ff}
html[data-theme="dark"] .at-product-divider,
html[data-theme="dark"] .at-product-r{border-color:#34415b}
html[data-theme="dark"] .at-product-icon{background:#2a2b4d;color:#b5a8ff}
html[data-theme="dark"] .at-product-r small{color:#a1aec5}
html[data-theme="dark"] .at-product-r>span:last-child{color:#aaa4e3}
html[data-theme="dark"] .at-product-bottom{background:#1f2c40;color:#9cacbf}
html[data-theme="dark"] .at-floating-note{background:#28344e;color:#e6e8ff;border:1px solid #465476}
html[data-theme="dark"] .at-floating-note span{color:#b8aaff}
html[data-theme="dark"] .at-vin-control{background:#19233b;color:#eaf1ff;border:1px solid #495472}
html[data-theme="dark"] .at-vin-control input{color:#f7f7ff}
html[data-theme="dark"] .at-vin-control input::placeholder{color:#a4acc3}
html[data-theme="dark"] .at-search-glyph{color:#aa9bff}
html[data-theme="dark"] .at-vin-form{border-color:rgba(193,180,255,.25);background:rgba(255,255,255,.06)}
html[data-theme="dark"] .at-auth-metric{border-color:rgba(255,255,255,.15)}
html[data-theme="dark"] .at-hero-quicklinks a:hover{color:#c6baff}
html[data-theme="dark"] .sale-portal-cta:hover{color:#e2d9ff}

/* Include the theme switcher in tablet navigation without overflowing it. */
@media(max-width:1040px){
  .at-menu-toggle{display:flex;align-items:center}
  .at-nav-menu{display:none;position:absolute;top:69px;left:24px;right:24px;
    flex-direction:column;align-items:stretch;gap:3px;padding:14px;
    border-radius:13px;border:1px solid #e4e7ee;background:#fff;
    box-shadow:0 15px 39px rgba(20,26,57,.14)}
  .at-nav-menu.is-open{display:flex}
  .at-nav-menu>a:not(.at-nav-cta),.at-nav-link-button,.at-nav-cta{
    padding:11px 13px;border-radius:9px;text-align:left
  }
  .at-nav-user{display:none}
  .at-logout-form{width:100%}
  .at-theme-toggle{justify-content:flex-start;width:100%;margin-top:4px;min-height:43px}
  html[data-theme="dark"] .at-nav-menu{background:#182234;border-color:#38465e;
    box-shadow:0 15px 39px rgba(0,0,0,.3)}
}
@media(max-width:670px){.at-nav-menu{top:65px;left:16px;right:16px}}

/* Approved vehicle photo and official source notes in night mode. */
html[data-theme="dark"] .at-car-photo-panel{background:#151d2d;border-color:#2f3d55;
  box-shadow:0 9px 25px rgba(0,0,0,.17)}
html[data-theme="dark"] .at-car-photo-stage{background:radial-gradient(circle at 68% 24%,
  rgba(116,97,225,.16),transparent 52%),linear-gradient(145deg,#1b2839,#131c2c)}
html[data-theme="dark"] .at-car-photo-shape{color:#64718b;opacity:.87}
html[data-theme="dark"] .at-car-photo-unverified{color:#bdc8da}
html[data-theme="dark"] .at-car-photo-unverified-icon{background:#232e46;border-color:#384967;color:#b6aaff}
html[data-theme="dark"] .at-car-photo-details h2{color:#eef3ff}
html[data-theme="dark"] .at-car-photo-details h2 span{color:#a5b0c7}
html[data-theme="dark"] .at-car-photo-eyebrow{color:#b6a5ff}
html[data-theme="dark"] .at-car-photo-generation{color:#a5b1c5}
html[data-theme="dark"] .at-car-photo-color{background:#1c2940;border-color:#34435e}
html[data-theme="dark"] .at-car-photo-color-symbol{background:#302a50;border-color:#4a3d72;color:#c2b4ff}
html[data-theme="dark"] .at-car-photo-color strong{color:#e5eaf8}
html[data-theme="dark"] .at-car-photo-color>div:nth-child(2)>span{color:#a5b2c5}
html[data-theme="dark"] .at-car-photo-color small{color:#c2b4ff}
html[data-theme="dark"] .at-car-photo-note{color:#aebad0}
html[data-theme="dark"] .at-car-photo-confirmed{color:#b0efd3}
html[data-theme="dark"] .at-car-photo-catalogs>span{color:#bdc6d6}
html[data-theme="dark"] .at-car-photo-catalogs a,
html[data-theme="dark"] .at-car-photo-source{color:#c4b3ff}
html[data-theme="dark"] .at-car-photo-catalogs small{color:#a7b4c7}
html[data-theme="dark"] .at-garage-photo{background:#262c42;border-color:#3b4563}
html[data-theme="dark"] .at-garage-photo-placeholder{color:#8c95b5}
html[data-theme="dark"] .at-garage-photo-placeholder small{color:#c4b4ff}
