/* C-side shared visual system. The Admin prototype keeps its own workspace UI. */
.ff-page{--paper:#f7f6f1;--line:#dfe3d9;--mint:#edf2e7;background:#f7f6f1}
.ff-page .header{position:relative;top:auto;background:#f7f6f1;border-bottom-color:#dfe3d9}
.ff-page .support-nav{padding:9px 0;border-bottom:2px solid transparent}
.ff-page .support-nav.active{border-bottom-color:var(--accent)}
.ff-page .mobile-nav a.active{background:var(--mint);box-shadow:inset 0 -2px var(--accent)}
.ff-page .wrap{max-width:1260px;width:calc(100% - 132px);margin-left:max(32px,calc((100% - 1260px)/2));margin-right:auto;padding-left:0;padding-right:0}
.ff-page .topbar{padding-inline:max(32px,calc((100% - 1260px)/2))}
.ff-page .eyebrow{font-size:10px;letter-spacing:1.8px}
.ff-page .btn{border-radius:6px;font-size:13px;font-weight:600;min-height:44px;line-height:1.4}
.ff-page .btn.sm{font-size:11px;min-height:38px}
.ff-page .btn.light{background:#ffffff80;border-color:#cfd9c8}
.ff-page .btn.text{background:transparent}
.ff-page :is(.field input,.field select,.field textarea){border-radius:6px;border-color:#d8dfd1;background:#fbfcf8;min-width:0}
.ff-page :is(.field input,.field select,.field textarea):focus{background:#fff;border-color:#7e9673}
.ff-page :focus-visible{outline:2px solid var(--theme-link,#a45233);outline-offset:3px}
.ff-page .breadcrumb{padding:28px 0 22px;color:#788272;line-height:1.6;flex-wrap:wrap}
.ff-page:not(.hf-page) .page-intro{padding:16px 0 35px}
.ff-page:not(.hf-page) .page-intro h1{font-size:44px;line-height:1.15;letter-spacing:-1.5px}
.ff-page:not(.hf-page) .page-intro p{font-size:14px;line-height:1.85;color:#75816e;margin-top:16px}
.ff-page:not(.hf-page) .section-head h2{font-size:32px;line-height:1.2;letter-spacing:-.8px}
.ff-page :is(.panel,.assist-tile,.assist-article-card,.notification,.metric){border-radius:10px;border-color:#dfe4d8;box-shadow:0 6px 24px #20392b03}
.ff-page :is(.panel,.assist-tile,.assist-article-card){background:#ffffffdb}
.ff-page .panel h3{font-size:21px;line-height:1.4;letter-spacing:-.5px}
.ff-page .panel p{line-height:1.85}
.ff-page :is(.assist-context,.assist-return,.assist-sticky,.assist-cost-summary){background:#edf2e7;border-color:#d7e0ce;border-radius:10px}
.ff-page .assist-context{padding:24px 26px;gap:20px}
.ff-page :is(.assist-context,.assist-evidence-band,.gate,.two-col,.grid2,.grid3,.work-main,.news-list-layout)>*{min-width:0}
.ff-page :is(.subnav,.news-tabs,.assist-tabs){padding:5px;border:1px solid #dce2d4;background:#ecefe5;border-radius:8px;gap:5px}
.ff-page :is(.subnav,.news-tabs)>:is(a,button){border:0;border-radius:5px;padding:12px 17px;color:#6e7d63;min-height:44px}
.ff-page :is(.subnav,.news-tabs)>.active{background:#fff;color:#254c36;box-shadow:0 2px 5px #20392b08}
.ff-page .assist-tabs .btn{border:0;border-radius:5px;font-size:12px}
.ff-page .assist-tabs .btn:not(.light){background:#fff!important;color:#254c36!important;box-shadow:0 2px 5px #20392b08}
.ff-page .assist-tabs .btn.light{background:transparent}
.ff-page :is(.assist-evidence-band,.sourcing-band,.assist-trust-intro){border-radius:10px;background:#243e33}
.ff-page :is(.assist-evidence-band,.assist-trust-intro) h2{font-size:34px;letter-spacing:-.8px}
.ff-page .empty{background:#eef2e8;border-color:#d2ddc6;border-radius:10px}
.ff-page .empty h3{font-size:23px;letter-spacing:-.5px}
.ff-page .footer{background:#e9eee4;border-color:#dce3d4;margin-top:12px}
.ff-page .review-link{opacity:.65;font-size:9px}
.ff-page .support-float{bottom:19px;right:18px}

/* One rail per route; leave a permanent desktop gutter for it. */
.ff-page .hf-rail{top:50%;transform:translateY(-50%);right:14px;width:66px;border-radius:11px;max-height:calc(100dvh - 170px);overflow-y:auto;scrollbar-width:thin}
.ff-page .hf-rail-items>a{position:relative}
.ff-page .hf-rail-items>:is(a,button){min-height:64px;padding:10px 5px}
.ff-page .hf-rail-items small{font-size:9px;line-height:1.5}
.ff-page .hf-rail-items .is-current{color:#254c36;background:#eaf1e3;box-shadow:inset 3px 0 #527549}
.ff-page .hf-saved-count{background:#55794d}
.ff-page .hf-rail-count{font-size:10px}
.ff-page .hf-rail-items>:first-child{border-radius:10px 10px 0 0}
.ff-page .hf-rail-items>:last-child{border-radius:0 0 10px 10px}
.ff-page .assist-card-actions svg{width:18px;height:18px;flex-shrink:0}
.ff-page .assist-card-actions .hf-check-mark{display:none}
.ff-page .assist-card-actions [aria-pressed=true] .hf-check-mark{display:block}
.ff-page .assist-card-actions [aria-pressed=true]{color:#28664f}

/* Discovery, comparison and destination tools. */
.ff-page .catalog-quick{padding:20px 24px;background:#eef1e6;border:1px solid #dde3d4;border-radius:10px;gap:22px}
.ff-page .catalog-quick button{border-radius:6px;background:#fbfcf8;border-color:#d7dfce;font-size:11px}
.ff-page .catalog-quick button.active{background:#315a41;color:#fff;border-color:#315a41}
.ff-page .catalog-page-wrap .catalog-layout{grid-template-columns:238px minmax(0,1fr);gap:26px}
.ff-page .catalog-filter-box{background:#fff;border-radius:10px;border-color:#dce3d4;box-shadow:0 5px 20px #1b392504}
.ff-page .catalog-filter-box summary{font-size:14px;padding:22px 20px}
.ff-page .catalog-results .grid3{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ff-page .catalog-sort-controls select{border-radius:6px;background:#fff;border-color:#d7dfcf}
.ff-page .catalog-page{border-radius:6px;min-height:44px;min-width:44px;background:#fff}
.ff-page .catalog-page.active{background:#315a41;color:#fff}
.ff-page:not(.hf-page) .hf-car-title h3{font-size:23px}
.ff-page:not(.hf-page) .hf-export-price strong{font-size:32px}
.ff-page .saved-workspace .grid3{grid-template-columns:repeat(2,minmax(0,1fr))}
.ff-page .saved-workspace .hf-car-title h3{font-size:21px}
.ff-page .saved-workspace .hf-export-price strong{font-size:29px}
.ff-page .assist-compare-picks{gap:12px;padding:2px 3px 12px 0;scrollbar-width:thin}
.ff-page .assist-choice{border-color:#dce3d5;border-radius:9px;background:#fff}
.ff-page .assist-choice.selected{background:#edf4e7;border-color:#7d9b6b;box-shadow:inset 0 0 0 1px #7d9b6b}
.ff-page .assist-compare-scroll{border-radius:10px;border-color:#d5dfce}
.ff-page .assist-compare-table thead th{background:#eaf0e2;color:#365333}
.ff-page .assist-compare-table tbody th{background:#f6f8f1}
.ff-page .assist-compare-table .difference td{background:#f7f0e3}
.ff-page .assist-destination-layout{gap:28px;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
.ff-page .assist-check-progress{padding:22px;background:#eef3e7;border-radius:10px;margin-bottom:12px}
.ff-page .assist-check-progress>strong{background:#fff;font-size:30px;color:#315b3a;padding:16px}
.ff-page .assist-destination-checks{background:#fff;border:1px solid #dce4d3;border-radius:10px;padding:4px 24px}
.ff-page .assist-destination-checks>label{padding:22px 0}
.ff-page .assist-destination-checks>label:first-child{border-top:0}
.ff-page .assist-destination-checks>label:has(input:checked) strong{color:#38653e}
.ff-page .assist-destination-checks input{accent-color:#38653e}

/* Detail, buying forms and account pages. */
.ff-page .vehicle-details{background:#f2f5ee;border:1px solid #d5dfcc;border-radius:12px;padding:27px}
.ff-page .vehicle-details[data-condition=used]{background:#f8f3eb;border-color:#e5d8c7}
.ff-page .vehicle-details h1{font-size:34px;line-height:1.2;letter-spacing:-1px}
.ff-page .vehicle-details .price{color:#245b40;font-size:36px}
.ff-page .catalog-source-note{background:#ffffff8c;border:1px solid #dfe4d6;border-radius:8px;padding:17px}
.ff-page .catalog-thumbs button{border-radius:7px}
.ff-page .vehicle-photo{border-radius:12px;background:#edf0e8;border:1px solid #dce2d5}
.ff-page .spec-catalogue{border-radius:10px;overflow:hidden;border-color:#dbe3d3}
.ff-page .spec-category{border-radius:6px}
.ff-page .spec-group{border-radius:9px;border-color:#dbe3d3}
.ff-page .work-layout{grid-template-columns:210px minmax(0,1fr);gap:28px;padding-top:38px}
.ff-page .sidebar{padding:20px 14px;background:#eef1e8;border:1px solid #dce3d4;border-radius:10px;align-self:start}
.ff-page .sidebar .eyebrow{padding:0 12px;font-size:9px;letter-spacing:1.4px}
.ff-page .sidebar a{border-radius:6px;color:#6b7b63}
.ff-page .sidebar a.active{background:#fff;color:#284d35;box-shadow:0 2px 8px #213e2807}
html[data-theme-surface=front] .ff-page .sidebar a.active{background:#fff;color:#284d35}
html[data-theme-surface=front] .ff-page .assist-choice.selected{background:#edf4e7;border-color:#7d9b6b}
.ff-page .sidebar .account-card{background:#e2ead9;color:#6e7d62;border-radius:7px}
.ff-page .work-head h1{font-size:36px;line-height:1.25;letter-spacing:-1px}
.ff-page .metrics{gap:14px}
.ff-page .metric strong{color:#315d40}
.ff-page .metric{background:#fcfdf9}
.ff-page .gate{gap:0;border-radius:12px;border-color:#dce3d4}
.ff-page .gate-side{background:#edf3e6}
.ff-page .gate-copy h2{letter-spacing:-.8px;line-height:1.25}
.ff-page .auth-layout{border-color:#dce3d4;border-radius:12px}
.ff-page .auth-aside{background:#243e33}
.ff-page .table-wrap{border:1px solid #dfe5d6;border-radius:8px;background:#fff}
.ff-page .table-wrap th{background:#edf2e6;color:#637658}
.ff-page .chat{border-radius:10px;border-color:#d9e2cf}
.ff-page .chat-head,.ff-page .chat-entry{background:#f2f5ec}
.ff-page .bubble:not(.user){background:#eef3e6}

/* Reading, company and buying-guide content. */
.ff-page :is(.news-card,.news-text-card,.news-feature,.about-cap-card,.about-info-card,.company-team-card,.about-profile-sheet){border-radius:10px;border-color:#dce3d4;overflow:hidden}
.ff-page :is(.news-card,.news-text-card,.about-cap-card,.about-info-card,.company-team-card){background:#ffffffd9}
.ff-page :is(.news-card-copy,.about-cap-card,.company-team-card){padding:25px}
.ff-page .news-feature{background:#edf2e6}
.ff-page .news-card-copy h3{font-size:23px;line-height:1.4;letter-spacing:-.5px}
.ff-page .news-toc{background:#eef3e7;border:1px solid #dce5d2;border-radius:10px;padding:23px}
.ff-page .news-source,.ff-page .news-related{border-radius:9px}
.ff-page .news-filter #news-filter-form{border-radius:10px;background:#fff;border-color:#dce3d4}
.ff-page .about-page-nav{border-radius:8px;background:#edf1e7;padding:6px 12px;border:1px solid #dce3d4}
.ff-page .about-page-nav a{border-radius:5px}
.ff-page .about-next{border-radius:10px;background:#243e33}
.ff-page .about-cap-card h3{font-size:23px;letter-spacing:-.6px}
.ff-page .company-team-symbol,.ff-page .assist-symbol{background:#e8efdf;color:#577349}
.ff-page .process-card{border-radius:10px;border-color:#d5dfcc;background:#edf3e7}
.ff-page .process-card:nth-child(2){background:#f5eee4;border-color:#e4d7c5}

@media(min-width:1450px){.ff-page .catalog-results .grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.ff-page .catalog-results .hf-car-title h3{font-size:21px}.ff-page .catalog-results .hf-export-price strong{font-size:29px}}
@media(max-width:1180px){.ff-page .navlinks{display:none}.ff-page .mobile-menu{display:block;border:0;background:transparent;font-size:21px;padding:7px;min-width:40px;min-height:40px}.ff-page .nav{justify-content:space-between}.ff-page .catalog-page-wrap .catalog-layout{grid-template-columns:215px minmax(0,1fr);gap:22px}.ff-page .catalog-results .hf-car-title h3{font-size:20px}.ff-page .catalog-results .hf-export-price strong{font-size:28px}.ff-page .catalog-results .hf-card-actions{gap:6px}.ff-page .catalog-results .hf-card-actions>*{font-size:11px}.ff-page .details-layout{grid-template-columns:1fr 1fr;gap:24px}.ff-page .vehicle-details{padding:22px}.ff-page .work-layout{grid-template-columns:185px minmax(0,1fr);gap:22px}.ff-page .assist-context .actions{max-width:330px}.ff-page .assist-compare-picks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:801px) and (max-width:980px){.ff-page .catalog-page-wrap .catalog-layout{grid-template-columns:1fr}.ff-page .catalog-filter-box[open] #catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.ff-page .catalog-filter-note,.ff-page #catalog-filter-error{grid-column:1/-1}.ff-page .catalog-filter-box form>.actions{grid-column:1/-1;justify-content:flex-end}.ff-page #catalog-filters .btn{width:auto}.ff-page .catalog-results .hf-car-title h3{font-size:23px}.ff-page .saved-workspace .grid3{grid-template-columns:1fr}.ff-page .details-layout{grid-template-columns:1fr}.ff-page .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 .ff-page .wrap{width:calc(100% - 40px);margin:0 auto;padding-left:0;padding-right:0}.ff-page .topbar{padding-inline:20px}.ff-page .nav{height:72px}.ff-page .nav-actions{gap:8px}.ff-page .nav-actions>.btn{min-height:38px;font-size:11px}.ff-page .mobile-menu{font-size:20px;min-width:36px;padding:6px}
 .ff-page .hf-rail{top:auto;bottom:82px;right:8px;transform:none;width:48px;max-height:calc(100dvh - 166px);border-radius:9px;overflow:visible}.ff-page .hf-tools-toggle{display:block;width:46px;height:46px;border-radius:8px}.ff-page .hf-rail-items{display:none;max-height:calc(100dvh - 215px);overflow-y:auto;overscroll-behavior:contain}.ff-page .hf-rail.is-open{width:64px;overflow:hidden}.ff-page .hf-rail.is-open .hf-tools-toggle{width:62px;border-radius:8px 8px 0 0}.ff-page .hf-rail.is-open .hf-rail-items{display:block}.ff-page .hf-rail-items>:is(a,button){min-height:54px;padding:7px 4px}.ff-page .hf-rail-items small{font-size:8px}.ff-page .hf-rail-items>:first-child{border-radius:0}.ff-page .support-float{width:42px;height:42px;right:11px;bottom:20px}.ff-page .review-link{font-size:9px;max-width:110px;overflow:hidden;white-space:nowrap}
 .ff-page:not(.hf-page) .page-intro h1{font-size:34px;letter-spacing:-1px}.ff-page:not(.hf-page) .page-intro p{font-size:13px}.ff-page:not(.hf-page) .section-head h2{font-size:28px}.ff-page .breadcrumb{padding:24px 0 17px}.ff-page .panel{padding:23px}.ff-page .panel h3{font-size:21px}
 .ff-page .catalog-page-wrap .catalog-layout{grid-template-columns:1fr;gap:22px}.ff-page .catalog-quick{padding:20px;gap:14px}.ff-page .catalog-results .grid3{gap:20px}.ff-page .catalog-count small{margin-left:0}.ff-page .catalog-results .hf-car-title h3{font-size:23px}.ff-page .catalog-results .hf-export-price strong{font-size:31px}
 .ff-page .assist-context{padding:22px;flex-direction:column;align-items:flex-start}.ff-page .assist-context .actions{max-width:none;justify-content:flex-start;flex-wrap:wrap}.ff-page .assist-destination-layout{grid-template-columns:1fr}.ff-page .assist-check-progress{padding:20px}.ff-page .assist-destination-checks{padding-inline:20px}.ff-page .assist-compare-picks{grid-template-columns:1fr}.ff-page .assist-choice{grid-template-columns:20px 85px 1fr}.ff-page .assist-choice img{display:block;width:85px}
 .ff-page .details-layout{grid-template-columns:1fr}.ff-page .vehicle-details{padding:23px}.ff-page .vehicle-details h1{font-size:30px}.ff-page .work-layout{grid-template-columns:1fr;gap:24px;padding-top:24px}.ff-page .sidebar{padding:7px;display:flex;overflow-x:auto;border-radius:8px}.ff-page .sidebar a{flex-shrink:0}.ff-page .sidebar :is(.eyebrow,.account-card){display:none}.ff-page .work-head h1{font-size:30px}.ff-page .saved-workspace .grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-page .work-head{flex-wrap:wrap}.ff-page .gate-copy{padding:30px}.ff-page .gate-copy h2{font-size:28px}.ff-page .subnav{gap:4px}.ff-page :is(.subnav,.news-tabs)>:is(a,button){padding:11px 13px;font-size:11px}
}
@media(max-width:560px){.ff-page .catalog-results .grid3,.ff-page .saved-workspace .grid3{grid-template-columns:1fr}.ff-page .hf-car-title h3{font-size:24px}.ff-page .hf-export-price strong{font-size:33px}.ff-page .catalog-results .hf-card-actions>*{font-size:12px}.ff-page .catalog-sort-controls{flex-wrap:wrap;gap:12px;width:100%}.ff-page .catalog-sort-controls select{max-width:158px}.ff-page .catalog-sort-controls label{font-size:11px}.ff-page .assist-detail-actions{flex-wrap:wrap}.ff-page .assist-detail-actions .assist-card-actions{gap:12px}.ff-page .assist-check-progress{gap:16px}.ff-page .assist-check-progress h3{font-size:17px}.ff-page .assist-check-progress>strong{font-size:25px}.ff-page .vehicle-details .spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-page .nav-actions>.btn{font-size:10px;padding:8px}.ff-page .logo{font-size:16px}.ff-page .hf-photo{aspect-ratio:16/10}.ff-page .panel{padding:21px}.ff-page .assist-context .actions>.btn{font-size:11px}.ff-page .news-toc{padding:20px}}
@media(prefers-reduced-motion:reduce){.ff-page *{scroll-behavior:auto!important}}
