/* Concept layout: shared geometry, not a skin over the previous dashboard. */
:root{--concept-ink:#0d2040;--concept-muted:#60738d;--concept-blue:#087bea}
body{background:#edf5fb;color:var(--concept-ink)}
.masthead .ra-original-wordmark{width:152px}
.masthead .ra-auto-wordmark .subbrand{font-size:8px;margin-left:37px;letter-spacing:.35em}
.masthead-inner{min-height:68px}
.ra-unified-section,.ra-garage-b4{border:0;border-radius:0;box-shadow:none;background:#fff}
.ra-garage-b4{padding:0 24px 28px;overflow:visible}
.ra-concept-opening{position:relative;margin:0 -24px 0;height:252px}
.ra-garage-b4 .ra-concept-opening .ra-garage-hero{height:100%;margin:0;border-radius:0;background:#cae7fb;overflow:hidden}
.ra-concept-opening .ra-garage-hero>img{object-position:center;object-fit:cover}
.ra-concept-opening .ra-garage-hero:before{background:linear-gradient(90deg,#edf8ff7a,#edf8ff10 58%,transparent)}
.ra-concept-opening .ra-concept-hero-copy{justify-content:flex-start;height:auto;padding:24px 24px 0;max-width:65%}
.ra-concept-opening .ra-garage-hero h1{font-size:34px;line-height:1.1;max-width:none;letter-spacing:-.045em;color:#071b3c}
.ra-concept-opening .ra-garage-hero p{font-size:14px;max-width:23ch;line-height:1.4;margin-top:9px;color:#132f4b}
.ra-garage-b4 .ra-concept-opening .ra-car-banner{position:absolute;bottom:14px;left:20px;right:20px;grid-template-columns:43px minmax(0,1fr) 32px;min-height:66px;margin:0;padding:10px 13px;gap:10px;border:1px solid #fffffff5;border-radius:17px;background:#f5fbffb3;backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%);box-shadow:0 3px 12px #102b4318}
.ra-concept-opening .ra-b4-selected-label{display:none}
.ra-concept-opening .ra-car-copy strong{font-size:19px;line-height:1.2;color:#0d2040}
.ra-concept-opening .ra-car-image{width:40px;height:40px}
.ra-concept-opening .ra-car-image svg{width:34px;height:34px}
.ra-concept-opening .ra-car-details{font-size:12px;line-height:1.3;margin-top:3px}
.ra-concept-opening .ra-car-banner>button{min-width:32px;width:32px;min-height:42px;padding:4px}
.ra-garage-b4 .ra-b4-switcher{position:relative;margin:0;height:0;z-index:15}
.ra-garage-b4 .ra-b4-vehicles>summary{display:none}
.ra-garage-b4 .ra-b4-vehicles[open]{position:absolute;left:0;right:0;top:-8px;background:#fff;border:1px solid #dce7f0;box-shadow:0 14px 30px #16365225;border-radius:15px;padding:12px 12px 62px}
.ra-b4-vehicles .ra-car-model-link{display:block;padding:10px;font-size:13px}
.ra-garage-b4 #raAddAnother{display:none}
.ra-garage-b4 .ra-b4-vehicles[open]~#raAddAnother{display:block;position:absolute;left:12px;right:12px;top:100%;transform:translateY(0);width:calc(100% - 24px);z-index:1}
.ra-concept-data-back{display:none}
.ra-garage-b4 .ra-launch-upcoming{padding:20px 0 9px;margin:0;border:0;border-bottom:1px solid #e4ebf2}
.ra-garage-b4 .ra-launch-upcoming .ra-panel-heading{margin:0 0 3px}
.ra-garage-b4 .ra-launch-upcoming .ra-panel-heading h2{font:700 24px/1.2 'Space Grotesk',sans-serif;letter-spacing:-.035em;margin:0}
.ra-garage-b4 .ra-launch-upcoming .ra-panel-heading button{font-size:11px;padding:5px;min-height:30px}
.ra-garage-b4 .ra-launch-upcoming .ra-reminder-item{padding:13px 0;min-height:62px;margin:0;border:0;border-bottom:1px solid #e5edf3}
.ra-launch-upcoming .ra-reminder-line{align-items:center;gap:8px}
.ra-garage-b4 .ra-launch-upcoming .ra-reminder-copy strong{font-size:15px;line-height:1.3}
.ra-garage-b4 .ra-launch-upcoming .ra-reminder-copy small{font-size:12px;line-height:1.4;margin-top:5px}
.ra-launch-upcoming .ra-state{font-size:10px;padding:6px 9px;white-space:nowrap;border-radius:8px}
.ra-concept-add-deadline{min-height:44px;border:0;padding:9px 0;background:none;font:600 14px 'DM Sans',sans-serif;color:#087bea;text-align:left}
.ra-garage-b4 .ra-garage-launch{margin:16px 0 10px}
.ra-garage-launch>h2{font-size:24px;margin:0 0 5px}
.ra-garage-b4 .ra-launch-calendar{display:none}
.ra-garage-b4 .ra-launch-card{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;grid-template-rows:1fr;gap:12px;min-height:53px;padding:10px 0;border-bottom:1px solid #e2ebf2}
.ra-garage-b4 .ra-launch-icon{grid-row:1;width:28px;height:28px}
.ra-garage-b4 .ra-launch-card strong{font-family:'DM Sans',sans-serif;font-weight:550;font-size:16px;grid-row:1}
.ra-garage-b4 .ra-launch-description{display:none}
.ra-garage-b4 .ra-launch-arrow{grid-row:1;font-size:24px}
.ra-garage-b4 .ra-issue-note-section{border-top:1px solid #e4ebf2;margin-top:18px}
.ra-concept-observations>summary{font-size:14px;color:#48627a;padding:15px 0;min-height:48px;cursor:pointer}
.ra-garage-b4 .ra-garage-tyre-link,.ra-garage-b4 .ra-clio-teaser{margin-top:22px}
/* Data entry is an interior page, with one heading and the real form. */
.ra-garage-b4[data-b4-view=dati] .ra-concept-data-back{display:block;min-height:40px;background:none;border:0;color:#087bea;font:600 13px 'DM Sans',sans-serif;padding:5px 0}
.ra-garage-b4[data-b4-view=dati] .ra-concept-opening{height:auto;margin:0}
.ra-garage-b4[data-b4-view=dati] .ra-concept-opening .ra-garage-hero{min-height:0;height:auto;background:#fff;border:0;margin:0}
.ra-garage-b4[data-b4-view=dati] .ra-concept-opening .ra-car-banner{display:none}
.ra-garage-b4[data-b4-view=dati] .ra-concept-opening .ra-concept-hero-copy{padding:6px 0 20px;max-width:100%}
.ra-garage-b4[data-b4-view=dati] .ra-garage-hero h1{font-size:30px}
.ra-garage-b4[data-b4-view=dati] .ra-garage-hero p{font-size:14px;max-width:none;margin-top:7px}
.ra-garage-b4[data-b4-view=dati]>.ra-b4-switcher,.ra-garage-b4[data-b4-view=dati] .ra-garage-tabs,.ra-garage-b4[data-b4-view=dati] .form-card>h3{display:none!important}
.ra-garage-b4 .field label,.ra-unified-section .field label{font-size:14px;font-weight:550;margin-bottom:6px;color:#172d4b}
.ra-garage-b4 .field input,.ra-garage-b4 .field select,.ra-unified-section .field input,.ra-unified-section .field select{border-radius:7px;background:#fff;min-height:46px;border-color:#cbd7e5}
.ra-garage-b4 .ra-data-disclosure{border-radius:0;padding:0;border-top:1px solid #e3ebf2}
/* Interior pages use the concept's plain heading, not dashboard banners/tabs. */
.ra-unified-section>.ra-section-heading,.ra-unified-section:has(>.ra-way-back)>.ra-section-heading{display:block;margin:0 0 20px;padding:0;min-height:0;background:none;border:0;border-radius:0}
.ra-unified-section .ra-section-heading .eyebrow,.ra-unified-section .ra-section-heading .ra-section-art,.ra-unified-section>.ra-inner-nav{display:none}
.ra-unified-section .ra-section-heading h1,.ra-unified-section:has(>.ra-way-back)>.ra-section-heading h1{font-size:30px;line-height:1.15;margin:0;letter-spacing:-.04em}
.ra-unified-section .ra-section-heading p{font-size:15px;line-height:1.5;margin:8px 0 0;color:#62748f}
.ra-unified-section>.ra-way-back{margin-bottom:12px;font-weight:550;font-size:13px}
.ra-unified-section .carstrip{background:none;border:0;padding:0;min-height:0;margin-bottom:20px;font-size:13px}
.ra-unified-section .carstrip .btn{font-size:12px;min-height:32px;padding:4px 8px}
.ra-unified-section .ra-reminder-editor,.ra-unified-section .form-card,.ra-unified-section .ra-maint-history{padding:0;border:0;border-radius:0;box-shadow:none}
.ra-unified-section .ra-reminder-editor .ra-panel-heading{margin:0 0 14px}
.ra-unified-section .ra-reminder-editor .ra-panel-heading h2{display:none}
.ra-unified-section .ra-reminder-editor #raOpenReminders{width:100%;min-height:46px;font-size:15px}
.ra-unified-section .ra-maint-due{border:0;padding:0;margin:0 0 14px}
.ra-unified-section .ra-maint-summary{display:none}
.ra-unified-section .ra-reminder-item{margin:0 0 12px;border:1px solid #e2eaf3;border-radius:15px;box-shadow:0 2px 7px #102b4306;padding:15px}
.ra-unified-section .ra-reminder-copy strong{font-size:16px}
.ra-unified-section .ra-reminder-copy small{font-size:13px;line-height:1.5}
.ra-unified-section .ra-reminder-buttons button{font-size:12px;min-height:40px;color:#087bea;border:0;background:none}
.ra-unified-section .ra-reminder-buttons button:last-child{color:#91545b}
.ra-unified-section .ra-maint-entry{background:#fff;border-radius:16px;border:1px solid #e2ebf3;box-shadow:0 3px 9px #102b4306}
.ra-unified-section .ra-maint-entry-title{font-size:17px}
.ra-unified-section .ra-maint-entry-date{font-size:12px}
.ra-unified-section .ra-maint-entry-top{padding:17px}
.ra-unified-section .ra-maint-head>div{display:none}
.ra-unified-section .ra-maint-count{font-size:12px}
.ra-unified-section .ra-maint-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;gap:7px}
.ra-unified-section .ra-maint-filter{flex:none;min-height:38px;font-size:12px;padding:8px 12px}
.ra-unified-section .ra-maint-search{margin:8px 0 14px}
.ra-concept-cost-chart{border-top:1px solid #e4ebf2;margin-top:20px}
.ra-concept-cost-chart>summary{font-size:13px;padding:16px 0;cursor:pointer;color:#587084}
[data-ledger-view=interventi] .ra-concept-cost-chart{display:none}
.ra-unified-section .form-card>h3{display:none}
.ra-unified-section .ra-hub-car{background:none;border:0;border-radius:0;padding:0;margin-bottom:18px}
.ra-hub-page .ra-tool-feature{padding:18px 132px 18px 18px;min-height:180px;border:0;border-radius:17px;background:#eaf6ff}
.ra-hub-page .ra-tool-feature h2{font-size:26px}
.ra-hub-page .ra-tool-feature .ra-tool-art{right:8px;top:14px;height:146px;width:122px}
.ra-hub-page .ra-tool-feature p{font-size:14px;line-height:1.5}
.ra-hub-page .ra-hub-note{display:none}
.ra-hub-page .ra-concept-tool-row{padding:18px 0;min-height:78px}
.ra-hub-page .ra-concept-tool-row strong{font-size:16px}
.ra-hub-page .ra-concept-tool-row small{font-size:13px;line-height:1.5}
.ra-hub-page .ra-concept-tool-row svg{width:28px;height:28px}
.ra-concept-guide{border-bottom:1px solid #e1eaf2;padding:0;background:#fff}
.ra-concept-guide>summary{list-style:none;display:flex;align-items:center;gap:15px;min-height:96px;cursor:pointer;padding:17px 0}
.ra-concept-guide>summary::-webkit-details-marker{display:none}
.ra-concept-guide>summary>span:nth-child(2){flex:1;min-width:0}
.ra-concept-guide strong{display:block;font-size:17px;color:#102b43}
.ra-concept-guide small{display:block;font-size:13px;line-height:1.5;margin-top:5px;color:#60738d}
.ra-concept-guide-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:10px;background:#eaf5ff;color:#087bea}
.ra-concept-guide-icon svg{width:27px;height:27px}
.ra-concept-guide>p{font-size:14px;padding:0 0 4px}
.ra-concept-guide>.btn{margin:0 0 18px}
[data-page=guide] .ra-hub-card{padding:18px 0 18px 60px}
[data-page=guide] .ra-guide-symbol{left:0;width:44px;height:44px}
[data-page=guide] .ra-hub-card h2{font-size:17px}
[data-page=guide] .ra-hub-card .ra-hub-badge{display:none}
[data-page=guide] .ra-hub-card .btn{width:auto;min-height:34px;font-size:12px;padding:6px 0;background:none;border:0;color:#087bea}
[data-page=guide] details.ra-hub-card{padding-left:0}
@media(max-width:759px){
 body{background:#fff}
 .wrap{width:100%;max-width:none}
 .masthead{border:0;background:rgba(244,250,255,.94)}
 .masthead-inner{padding:0 18px;min-height:64px}
 .page{padding:0 0 110px}
 .ra-unified-section{padding:20px 20px 110px;margin:0;max-width:none;border-radius:0}
 .ra-garage-b4{padding:0 20px 30px;border-radius:0;max-width:none}
 .ra-concept-opening{height:224px;margin:0 -20px}
 .ra-concept-opening .ra-concept-hero-copy{padding:18px 20px 0;max-width:72%}
 .ra-concept-opening .ra-garage-hero h1{font-size:28px;max-width:none}
 .ra-concept-opening .ra-garage-hero p{font-size:13px;max-width:22ch}
 .ra-garage-b4 .ra-concept-opening .ra-car-banner{left:17px;right:17px;bottom:13px;min-height:64px}
 .ra-garage-b4 .ra-car-copy strong{font-size:18px}
 .ra-garage-b4 .ra-concept-opening .ra-car-details{font-size:12px}
 .ra-garage-b4 .ra-launch-upcoming .ra-panel-heading h2{font-size:22px}
 .ra-garage-b4 .ra-launch-upcoming .ra-panel-heading button{font-size:10px}
 .ra-garage-b4 .ra-garage-launch{margin-top:16px}
 .ra-garage-launch>h2{font-size:22px}
 .ra-garage-b4 .ra-launch-card{min-height:51px}
 .ra-garage-b4 .ra-launch-card strong{font-size:16px}
 .ra-garage-b4 .ra-launch-icon{width:28px;height:28px}
 .tabbar{left:10px;right:10px;bottom:max(9px,env(safe-area-inset-bottom));border-radius:22px;box-shadow:0 3px 14px #153d5715,inset 0 1px 1px #fff;background:rgba(232,246,255,.77);padding:4px 7px}
 .tabbar button{font-size:11px;min-height:58px;gap:5px}
 .tabbar button svg{width:25px;height:25px}
 .ra-garage-b4[data-b4-view=dati]{padding-top:12px}
 .ra-unified-section .ra-section-heading h1{font-size:28px}
 .ra-unified-section .ra-section-heading .ra-section-art{display:none}
 .ra-unified-section .ra-section-heading p{font-size:14px}
 .ra-unified-section .fieldgrid{grid-template-columns:1fr 1fr;gap:12px}
 .ra-unified-section .ra-expense-optional .fieldgrid{grid-template-columns:1fr}
 .ra-hub-page .ra-tool-feature{padding-right:132px;min-height:180px}
 .ra-hub-page .ra-tool-feature .ra-tool-art{height:146px;width:120px}
}
@media(max-width:370px){
 .ra-unified-section{padding-left:18px;padding-right:18px}
 .ra-garage-b4{padding-left:18px;padding-right:18px}
 .ra-concept-opening{margin-left:-18px;margin-right:-18px}
 .ra-launch-upcoming .ra-panel-heading{flex-wrap:wrap}
 .ra-unified-section .ra-section-heading h1{font-size:27px}
}

.ra-garage-b4 .ra-b4-vehicles[open]{padding-bottom:12px}
.ra-garage-b4 .ra-b4-vehicles[open] #raAddAnother{display:block;position:static;width:100%;transform:none;margin:8px 0 0}

.ra-garage-b4 .ra-launch-card.ra-launch-calendar{display:none}
.ra-concept-deadline-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ra-concept-deadline-footer .ra-panel-link{min-height:40px}
.ra-garage-b4 .ra-launch-upcoming .ra-panel-heading{display:block}
.ra-concept-deadline-footer>button:last-child{background:none;border:0;color:#087bea;font-size:12px;padding:10px 0}
[data-ledger-view=interventi] .ra-maint-count{display:none}
.ra-unified-section .ra-maint-filters{scrollbar-width:none}
.ra-maint-filters::-webkit-scrollbar{display:none}
.ra-unified-section .ra-maint-search{padding:4px 8px;min-height:44px;border:1px solid #e2ebf3;border-radius:10px}
.ra-unified-section .ra-maint-search input{min-height:38px;padding:7px;font-size:13px}
[data-ledger-view=interventi] .ra-maint-entry-body:empty{display:none}
[data-ledger-view=interventi] .ra-maint-entry-body{padding:0 17px 10px;display:block}
[data-ledger-view=interventi] .ra-maint-entry-meta:has(p){border:0;padding:0}
[data-ledger-view=interventi] .ra-maint-entry-meta>span{font-size:11px}
[data-ledger-view=interventi] .ra-maint-entry-actions{justify-content:flex-start;background:#fff;padding:10px 14px;gap:8px}
[data-ledger-view=interventi] .ra-maint-entry-actions button{background:none;border:0;padding:8px 3px;color:#087bea;font-size:12px;min-height:36px}
[data-ledger-view=interventi] .ra-maint-entry-actions button:first-child{flex:1;text-align:left}
[data-ledger-view=interventi] .ra-maint-entry-actions button:last-child{color:#915961}

@media(max-width:759px){
 .ra-garage-b4 #carForm>.fieldgrid{grid-template-columns:1fr 1fr}
 .ra-garage-b4 #carForm>.fieldgrid>.field:nth-child(-n+2){grid-column:1/-1}
 .ra-garage-b4 .field{margin-bottom:13px}
 .ra-garage-b4 #carForm>.fieldgrid label[for=carOdometer]{font-size:12px}
}

[data-ledger-view=interventi] .ra-maint-entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
[data-ledger-view=interventi] .ra-maint-entry-actions button:first-child{grid-column:1/-1;width:100%;white-space:normal;border-bottom:1px solid #edf2f6;padding-bottom:12px;margin-bottom:4px}
[data-ledger-view=interventi] .ra-maint-entry-actions button:not(:first-child){text-align:left}
