/* Blueprint-led, photo-free dashboard layout. Photography exists only inside Gallery. */
:root {
 --scene-far:color-mix(in srgb,var(--accent) 12%,var(--panel));
 --scene-mid:color-mix(in srgb,var(--accent) 22%,var(--panel));
 --scene-near:color-mix(in srgb,var(--accent) 33%,var(--panel));
 --scene-tree:color-mix(in srgb,var(--accent) 67%,var(--panel));
 --scene-road:color-mix(in srgb,var(--accent) 25%,var(--panel));
 --scene-road-edge:var(--panel);
}
body{background:linear-gradient(var(--gradient-angle),var(--bg),color-mix(in srgb,var(--accent-soft) 22%,var(--bg)));font-size:14px}
h1{font-size:46px;color:var(--ink);letter-spacing:-1.6px}h2{font-family:Georgia,'Times New Roman',serif}h3{font-family:Georgia,'Times New Roman',serif;font-size:20px}.panel h2{font-size:22px;line-height:1.2}.panel{padding:21px;border-radius:14px;height:auto}.panel+.panel{margin-top:16px}.grid-space>[class*="col-"]{display:flex;flex-direction:column;min-width:0}.grid-space>[class*="col-"]>.panel:only-child{flex:1}.grid-space>[class*="col-"]>.note{margin-top:14px}.card-head{margin-bottom:17px;gap:10px}.card-head p{font-size:13px;line-height:1.45;margin-top:5px}.card-head .link-btn{font-size:12px;white-space:nowrap}.card-head .primary-btn{font-size:12px;padding:9px 11px}.card-head>div{min-width:0}.card-head .link-btn .icon{width:15px}.muted{line-height:1.5}.fine-print{font-size:12px;line-height:1.55}.main-content{padding:0 22px 25px}.topbar{padding:24px 22px 15px;min-height:112px}.topbar .title-block p{font-size:16px}.top-actions{gap:10px}.sidebar{width:238px;padding:17px 12px 0}.main-shell{margin-left:238px}.brand{padding:0 7px 13px;gap:12px}.brand img{width:82px;height:82px;border-radius:17px}.brand small{font-size:18px;line-height:1.3;max-width:75px;color:#fff}.side-label{font-size:12px;letter-spacing:.5px;margin-bottom:8px}.side-nav a{padding:8px 11px;font-size:14px;min-height:40px;line-height:1.25;margin:1px 0}.side-nav a .icon{width:20px;height:20px}.side-foot{padding:13px 7px 15px}.info-strip{font-size:12px;padding:9px 13px;margin-bottom:13px;line-height:1.4}.top-actions .identity{max-width:185px}.identity strong{overflow-wrap:anywhere}.row.grid-space{--bs-gutter-x:16px;--bs-gutter-y:16px}.toolbar{margin:0 0 17px;gap:12px}.toolbar p{margin:0}.soft-btn,.primary-btn,.danger-btn{min-height:42px;font-size:13px;border-radius:10px;padding:9px 15px}.icon-btn{min-height:40px;min-width:40px}.link-btn{font-size:13px}.button-row{flex-wrap:wrap;gap:8px}.record-list{min-width:0}.record-row{padding:14px 0;gap:11px;min-height:64px}.record-row:hover{background:color-mix(in srgb,var(--accent-soft) 50%,transparent);border-radius:8px}.record-row:last-child{border-bottom:0}.record-copy strong{font-weight:550;font-size:14px;line-height:1.4}.record-copy small{font-size:12px;line-height:1.5;margin-top:4px}.record-value{font-size:13px;max-width:32%;text-align:right}.record-row .icon-bubble.small{width:32px;height:32px}.note{padding:13px;border-radius:11px;font-size:13px;line-height:1.55}.note>.icon{align-self:flex-start;margin-top:3px}.pill{font-size:11px;padding:4px 10px}.detail-row{font-size:13px;gap:13px;padding:10px 0;align-items:flex-start}.detail-row strong{font-weight:500;overflow-wrap:anywhere}.detail-row>span{min-width:0}.detail-row .plate{margin:0}.quiet-empty{padding:18px 0;color:var(--muted);font-size:14px;line-height:1.6}.icon-bubble{width:64px;height:64px;background:color-mix(in srgb,var(--tone) calc(10% + var(--strength)*16%),var(--panel));color:var(--tone)}.icon-bubble>.icon{width:31px;height:31px;stroke-width:1.9}.icon-bubble.tiny{width:27px;height:27px}.icon-bubble.tiny .icon{width:16px;height:16px}.vehicle-emblem{width:68px;height:68px}.vehicle-emblem .icon{width:36px;height:36px}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:13px;margin-bottom:17px}.metric-card{padding:19px 16px;gap:14px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(var(--gradient-angle),var(--panel),color-mix(in srgb,var(--accent-soft) 24%,var(--panel)));align-items:center}.metric-label{font-size:13px;font-weight:550;margin-bottom:7px}.metric-value{font-size:29px;letter-spacing:-.7px;overflow-wrap:anywhere}.metric-content small{font-size:12px;line-height:1.4;margin-top:6px}.metric-card>.icon-btn{width:22px;min-width:22px;padding:0}.status-card .metric-value{font-size:27px}.status-card .icon-bubble{height:65px;width:65px}.status-card.metric{padding:18px}.status-card .metric-link{gap:16px}.stat-number{font-size:39px;margin:2px 0 13px}.stat-number>small{font:13px 'Segoe UI',Arial,sans-serif;letter-spacing:0}.chart-svg{width:100%;margin-top:9px;height:auto;max-height:247px}.chart-svg text{font-size:13px}.chart-legend{display:flex;flex-wrap:wrap;gap:9px 14px;margin-top:16px;font-size:11px;color:var(--muted)}.chart-legend>span{display:flex;gap:6px;align-items:center}.chart-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.cost-donut{gap:19px;flex-wrap:nowrap;min-height:204px}.cost-legend{min-width:0}.cost-legend>div{padding:8px 0;gap:7px;font-size:12px}.cost-legend strong{white-space:nowrap}.cost-legend small{font-size:10px;min-width:27px;text-align:right}.cost-donut>.donut{flex-shrink:0}.donut-label strong{font-size:25px;letter-spacing:-.7px}.donut-label small{font-size:11px}.mini-breakdown{gap:12px;margin-top:15px}.mini-breakdown strong{font-size:19px}.stat-pair{gap:20px}.stat-pair strong{font-size:31px}.health-wrap{gap:15px}.health-summary p{font-size:13px}.health-summary strong{font-size:22px}
/* Light abstract roads, not car photography or screenshots. */
.road-scene{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;border:1px solid var(--line);background:linear-gradient(var(--gradient-angle),var(--panel),var(--accent-soft));min-height:140px}.road-art{position:absolute;inset:0;height:100%;width:100%;z-index:-1;opacity:.83}.scene-copy{position:relative;padding:29px 24px;max-width:75%}.scene-copy strong{display:block;font:italic 29px/1.25 Georgia,'Times New Roman',serif;font-weight:400;color:var(--ink);max-width:340px}.scene-copy small{display:block;font-size:10px;letter-spacing:2.1px;line-height:1.6;margin-top:18px;max-width:250px}.slim-scene{min-height:85px;margin-top:16px}.slim-scene .scene-copy{padding:20px 18px;max-width:72%}.slim-scene .scene-copy strong{font-size:20px}.slim-scene .scene-copy small{font-size:9px;margin-top:9px}.standalone-scene{height:100%;min-height:205px}.insight-scene{margin-top:16px;min-height:164px}.insight-scene .scene-copy strong{font-size:24px}.journey-hero{display:grid;grid-template-columns:minmax(350px,.84fr) 1.6fr;background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;margin-bottom:17px;min-height:233px;overflow:hidden}.journey-identity{padding:26px;display:flex;align-items:flex-start;gap:17px;min-width:0}.journey-identity h2{font:46px/1.05 Georgia;margin:3px 0 7px}.journey-identity p{font-size:13px;margin:0 0 5px;color:var(--muted)}.journey-identity .plate{font-size:21px;margin:7px 0}.journey-identity .hero-meta{display:flex;align-items:center;gap:8px;font-size:13px;margin:5px 0}.hero-emblem{width:72px;height:72px}.hero-scene{border:0;border-radius:0}.hero-scene .scene-copy{padding:46px 32px}.hero-scene .scene-copy strong{font-size:36px;max-width:420px}.hero-scene .scene-copy small{margin-top:30px}.hero-scene .road-art{opacity:.7}.vehicle-strip{padding:15px 19px;gap:17px;min-height:102px;margin-bottom:17px}.strip-identity{flex:1.2}.strip-identity .strip-model{display:block;font:30px/1.1 Georgia;color:var(--ink)}.strip-identity .muted{font-size:12px;display:block;margin-top:5px}.vehicle-strip>.plate{font-size:19px;white-space:nowrap;margin:0}.strip-fact{display:flex;gap:10px;align-items:center;min-width:0;border-left:1px solid var(--line);padding-left:15px}.strip-fact strong{display:block;font-size:13px;font-weight:500}.strip-fact small{display:block;font-size:11px;margin-top:3px}.strip-fact>.icon{color:var(--ink);width:23px;height:23px}.vehicle-strip>.soft-btn{flex-shrink:0}.vehicle-tabs{display:flex;gap:15px;border-bottom:1px solid var(--line);margin-bottom:18px;overflow:auto}.vehicle-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:10px 9px;white-space:nowrap;font-size:14px;color:var(--muted)}.vehicle-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.identity-split{display:grid;grid-template-columns:1.25fr .9fr;gap:18px}.identity-split>.road-scene{min-height:180px}.identity-scene .scene-copy{padding:22px 15px;max-width:none}.identity-scene .scene-copy strong{font-size:24px}.value-tiles{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:8px}.value-tiles>div{padding:14px;border-radius:10px;background:var(--tone-soft)}.value-tiles small{font-size:11px;display:block}.value-tiles strong{font-size:25px;display:block;margin-top:6px}.note-excerpt{white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;line-height:1.7}.gallery-summary{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px}.gallery-summary p{font-size:13px;margin:8px 0 0}.gallery-summary strong{font-size:21px}.garage-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.garage-studio-card{position:relative;overflow:hidden}.garage-identity{display:flex;gap:17px;align-items:center;margin:0 0 17px}.garage-identity h2{font-size:29px;margin:0}.garage-identity small{font-size:13px}.garage-identity .plate{font-size:18px;margin:9px 0 0}.garage-facts{display:grid;gap:12px;margin-bottom:15px}.garage-facts>span{display:flex;gap:12px;font-size:13px;align-items:center}.garage-facts .icon{width:19px;height:19px}.gallery-link{display:flex;align-items:center;gap:11px;width:100%;background:none;border:0;border-top:1px solid var(--line);color:var(--ink);padding:15px 0;margin:3px 0 9px;text-align:left}.gallery-link span{flex:1}.garage-studio-card>.button-row .soft-btn{flex:1}.service-big{font-size:29px;display:block;margin:15px 0 6px}.service-big+p{margin:0 0 8px}.spread{display:flex;justify-content:space-between;gap:9px;margin-top:7px}.schedule-timeline{display:flex;flex-direction:column}.schedule-timeline>button{display:flex;align-items:center;gap:11px;position:relative;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);text-align:left;padding:17px 0;min-height:93px}.schedule-timeline>button:first-child{padding-top:7px}.schedule-timeline>button>span:first-of-type{flex:1;min-width:0}.schedule-timeline>button>span:nth-of-type(2){flex:1.1;min-width:0}.schedule-timeline strong{font-size:15px;display:block}.schedule-timeline small,.schedule-timeline b{font-size:12px;display:block;font-weight:400}.schedule-timeline .pill{margin-top:7px}.timeline-dot{width:12px;height:12px;flex-shrink:0;border-radius:50%;background:var(--tone);border:3px solid var(--tone-soft)}.provider-identity{display:flex;gap:14px;align-items:flex-start;margin:0 0 16px}.provider-identity h3{font-size:23px;margin-top:4px;overflow-wrap:anywhere}.provider-identity p{font-size:13px;margin-bottom:9px;color:var(--muted)}.contact-list{display:grid;gap:12px;margin:10px 0}.contact-list a{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-size:13px;overflow-wrap:anywhere}.contact-list>div{display:grid;gap:7px;border-bottom:1px solid var(--line);padding:9px 0}.category-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:11px}.category-tile{border:1px solid var(--line);border-radius:11px;padding:14px;background:linear-gradient(var(--gradient-angle),var(--panel),var(--input));color:var(--ink);text-align:left;min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:9px}.category-tile .icon-bubble{width:39px;height:39px}.category-tile .icon-bubble .icon{width:22px;height:22px}.category-tile strong{font-size:13px;line-height:1.35}.category-tile b{font-size:24px}.category-tile small{font-size:11px;line-height:1.5}.category-tile:hover{border-color:var(--accent);background:var(--accent-soft)}.cost-category-tiles{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}.finance-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px}.finance-cards>button{display:flex;align-items:center;gap:13px;text-align:left;padding:17px;background:var(--input);border:1px solid var(--line);border-radius:12px;color:var(--ink)}.finance-cards h3{font-size:20px;margin:0 0 5px}.finance-cards p{font-size:12px;color:var(--muted);margin:0 0 10px}.finance-cards strong{font-size:22px}.finance-cards>button>div{flex:1}.mot-timeline>button{display:flex;gap:13px;align-items:center;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left;padding:15px 0;width:100%}.mot-timeline .timeline-dot{width:25px;height:25px;color:var(--panel);border:0;display:grid;place-items:center}.mot-timeline .timeline-dot .icon{width:17px;height:17px}.mot-timeline>button>span:nth-child(2){flex:1;min-width:0}.mot-timeline strong,.mot-timeline small{display:block}.mot-timeline strong{font-size:15px}.mot-timeline small{font-size:12px;margin-top:5px}.compact-checks{display:grid;gap:7px}.compact-checks>button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid var(--line);background:var(--input);color:var(--ink);padding:9px 10px;text-align:left;border-radius:9px}.compact-checks>button>span:nth-child(2){flex:1;font-size:13px}.compact-checks small{font-size:11px}.official-link{display:flex;align-items:center;gap:11px;padding:15px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:14px}.official-link span{flex:1}.tyre-diagram{display:grid;grid-template-columns:1fr 90px 1fr;gap:8px}.tyre-diagram>div:first-child,.tyre-diagram>div:last-child{display:grid;gap:16px}.tyre-corner{border:1px solid var(--line);background:var(--input);border-radius:11px;padding:13px 11px;text-align:left;color:var(--ink);min-width:0}.tyre-corner>strong{font-size:13px}.tyre-corner>div{display:flex;gap:8px;align-items:center;margin:10px 0}.tyre-corner .pill{font-size:15px}.tyre-corner>small{font-size:11px;line-height:1.45;display:block;overflow-wrap:anywhere}.axle-diagram{display:flex;flex-direction:column;align-items:center;justify-content:center}.axle-diagram svg{width:100%;max-height:265px}.axle-diagram>span{font-size:9px;color:var(--muted);letter-spacing:2px}.pressure-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}.pressure-grid>button{border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);display:flex;align-items:flex-start;gap:10px;padding:16px 5px;text-align:left}.pressure-grid span{font-size:12px}.pressure-grid strong{display:block;font-size:21px;margin:7px 0}.pressure-grid small{display:block;font-size:10px}.pressure-grid+ .note{margin-top:18px}.calendar-vehicle-tabs{display:flex;gap:8px;margin-bottom:17px}.calendar-vehicle-tabs button,.settings-top-nav button{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:8px;padding:10px 15px;font-size:13px;min-height:42px}.calendar-vehicle-tabs button.active,.settings-top-nav button.active{background:var(--accent-deep);color:#fff;border-color:var(--accent-deep)}.calendar-panel>.card-head h2{font-size:29px}.calendar-panel .calendar-day{min-height:91px}.calendar-event>span{min-width:0;overflow-wrap:anywhere}.calendar-event small{display:block;color:inherit;font-size:9px}.calendar-grid.week-view .calendar-day{min-height:290px}.calendar-legend{padding-top:12px;border-top:1px solid var(--line)}.document-summary{display:flex;align-items:center;gap:23px;min-height:194px}.document-summary>div:first-child{flex:1}.document-summary .donut{flex-shrink:0}.doc-legend{flex:1.3;min-width:0}.doc-legend>span{display:flex;gap:9px;margin:9px 0;font-size:12px;align-items:center}.doc-legend i{width:9px;height:9px;flex-shrink:0;border-radius:50%}.doc-legend b{margin-left:auto}.documents-categories{grid-template-columns:repeat(4,minmax(0,1fr))}.privacy-strip{display:flex;align-items:center;gap:19px}.privacy-strip p{margin:0;flex:1;font-size:13px}.privacy-strip+.slim-scene{margin-top:17px}.studio-report{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:14px;margin-bottom:15px;min-height:227px}.studio-report h2{margin:15px 0 8px}.studio-report p{font-size:13px;color:var(--muted);line-height:1.5}.studio-report .paper-art{width:112px;height:170px;margin:8px 0 0;transform:rotate(3deg);box-shadow:0 4px 13px #24435115;border-radius:4px;padding:11px;background:var(--panel);color:var(--ink)}.paper-art img{width:23px;height:23px;object-fit:contain;display:block;margin:0 0 7px auto}.paper-art b{font:11px Georgia;display:block;margin-bottom:12px}.paper-art .icon{color:var(--accent);margin-bottom:13px}.paper-art i{display:block;width:90%;height:4px;background:var(--line);margin:7px 0;border-radius:2px}.paper-art i:nth-of-type(2){width:65%}.paper-art i:nth-of-type(4){width:75%}.report-features{padding:0;list-style:none;margin:12px 0 0}.report-features li{font-size:12px;color:var(--muted);margin:6px 0;padding-left:15px;position:relative}.report-features li:before{content:'✓';color:var(--accent);position:absolute;left:0}.report-tile{display:flex;flex-direction:column}.report-tile>.w-100{margin-top:auto}.household-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.household-counts>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}.household-counts strong{font-size:27px}.household-counts small{grid-column:1/-1;margin-top:8px;font-size:12px}.household-scene{height:100%;min-height:176px}.driver-identity{display:flex;gap:17px;align-items:center}.driver-identity h3{font-size:24px;margin:0 0 6px}.driver-identity p{margin:0 0 8px}.avatar.large{width:70px;height:70px;flex-shrink:0}.household-people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 10px}.household-people>button{border:0;background:var(--input);border-radius:12px;color:var(--ink);display:flex;flex-direction:column;align-items:center;padding:14px 8px;gap:5px;min-width:0;text-align:center}.household-people strong{font-size:13px;margin-top:7px}.household-people small{font-size:11px}.household-people .avatar{width:56px;height:56px}.settings-top-nav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.settings-tile{position:relative;padding-top:24px}.settings-tile .card-head{margin-left:63px;min-height:35px;align-items:center;margin-bottom:23px}.settings-tile-heading{position:absolute;top:18px;left:20px}.settings-tile-heading .icon-bubble{width:47px;height:47px}.settings-tile-heading .icon{width:25px;height:25px}.settings-tile p{font-size:13px;color:var(--muted)}.compact-theme-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:21px;gap:10px 6px}.compact-theme-grid .theme-swatch{padding:5px 1px;font-size:10px}.compact-theme-grid .theme-swatch>span{width:32px;height:32px}.settings-scene{margin-top:23px;min-height:200px}.settings-scene .scene-copy{max-width:90%;padding:22px}.settings-scene .scene-copy strong{font-size:26px}.tool-row{width:100%;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--line);padding:14px 0;color:var(--ink);background:none;text-align:left}.tool-row>span:nth-child(2){flex:1;min-width:0}.tool-row strong{font-size:13px;display:block;font-weight:550}.tool-row small{font-size:11px;display:block;margin-top:4px;line-height:1.45}.tool-row>.icon{width:14px}.preferences-modal .panel{border:0;box-shadow:none;padding:0}.preferences-modal{width:750px}
/* History and gallery are contained, paginated surfaces with proper view/edit/delete paths. */
.history-drawer{width:880px;max-width:calc(100vw - 40px)}.history-controls{display:flex;align-items:center;gap:12px;margin-bottom:15px}.history-controls>label{flex:1;min-width:0}.history-controls input,.history-controls select{width:100%;border:1px solid var(--line);background:var(--input);color:var(--ink);border-radius:9px;padding:11px 13px;font-size:14px}.history-controls select{width:auto}.history-context{font-size:12px}.history-results .record-row{min-height:67px;padding:14px 7px}.history-pagination{position:sticky;bottom:-22px;display:flex;align-items:center;justify-content:space-between;gap:13px;background:var(--panel);border-top:1px solid var(--line);padding:16px 0 5px}.history-pagination button:disabled{cursor:default}.gallery-intro{display:flex;gap:18px;align-items:flex-start;margin-bottom:18px}.gallery-intro strong{font-size:18px}.gallery-intro p{font-size:13px;line-height:1.6;margin:7px 0}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.gallery-tile{background:var(--input);border:1px solid var(--line);border-radius:11px;overflow:hidden;color:var(--ink);text-align:left;padding:0 0 13px}.gallery-tile img{height:160px;width:100%;object-fit:contain;display:block;background:color-mix(in srgb,var(--line) 60%,var(--panel))}.gallery-tile strong,.gallery-tile>small{display:block;margin:10px 12px 0;overflow-wrap:anywhere}.gallery-tile strong{font-size:14px}.gallery-tile>small{font-size:12px}.gallery-empty{grid-column:1/-1;padding:45px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px}.gallery-empty>.icon{width:50px;height:50px;color:var(--accent);margin-bottom:15px}.gallery-empty h3{font-size:23px}.gallery-empty p{max-width:430px;margin:10px auto}.gallery-no-file{height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.gallery-review img{max-height:49dvh;width:100%;object-fit:contain;display:block;background:var(--input);border-radius:11px}.gallery-review-modal{width:850px;max-width:calc(100vw - 30px)}.gallery-review-modal .form-field{margin-top:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Keep actual page colours visible while adjusting the theme. */
.theme-modal-layer .modal-shade{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.theme-drawer{box-shadow:-10px 0 35px #102c2b20}.theme-grid .theme-swatch{min-width:0}.theme-grid .theme-swatch.selected{outline:2px solid var(--accent);outline-offset:1px}.appearance-options{gap:9px}.appearance-options button{min-height:45px}.theme-demo .primary-btn{color:#fff}.theme-slider input{cursor:ew-resize}.mode-modal{background:var(--panel);color:var(--ink)}
@media(min-width:1800px){.main-content,.topbar{padding-left:30px;padding-right:30px}.panel{padding:24px}.record-row{min-height:70px}.metrics-grid{gap:16px}.metric-card{padding:21px}.sidebar{width:246px}.main-shell{margin-left:246px}.side-nav a{font-size:15px;min-height:44px}.topbar{min-height:121px}}
@media(max-width:1440px) and (min-width:1200px){.tagline{display:none}.cost-donut{flex-wrap:wrap;justify-content:center}.cost-legend{width:100%;flex:auto}.metric-card>.icon-bubble{width:44px;height:44px}.metric-card>.icon-bubble .icon{width:24px;height:24px}.metric-value{font-size:25px}.strip-fact{gap:7px;padding-left:10px}.strip-fact:nth-last-of-type(2){display:none}.vehicle-strip{gap:12px}.studio-report{grid-template-columns:minmax(0,1fr) 85px}.studio-report .paper-art{width:82px;padding:8px}.document-summary{gap:15px}.tyre-diagram{grid-template-columns:1fr 50px 1fr}.pressure-grid strong{font-size:18px}}
@media(max-width:1199px){.grid-space>[class*="col-"]>.panel{flex:unset}.vehicle-strip{flex-wrap:wrap}.topbar{align-items:flex-start}.tagline{display:none}.identity-split{grid-template-columns:1.2fr 1fr}.journey-hero{grid-template-columns:1fr 1.1fr}.journey-identity{padding:22px;gap:13px}.journey-identity h2{font-size:36px}.hero-emblem{width:48px;height:48px}.hero-scene .scene-copy strong{font-size:30px}.hero-scene .scene-copy{padding:35px 24px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-summary{align-items:center}.garage-identity{margin-top:0}.studio-report{grid-template-columns:minmax(0,1fr) 150px;min-height:215px}.studio-report .paper-art{width:144px;height:189px}.calendar-panel .calendar-day{min-height:86px}.category-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.cost-donut{justify-content:flex-start}.document-summary{flex-wrap:wrap}.compact-theme-grid{max-width:450px}.settings-tile .card-head{margin-left:60px}.settings-scene{min-height:180px}}
@media(max-width:860px){.sidebar{transform:translateX(-100%);width:238px;z-index:120}.sidebar.mobile-open{transform:translateX(0);box-shadow:10px 0 40px #12233740}.main-shell{margin-left:0}.topbar{padding:19px 15px 14px;gap:10px;min-height:108px}.main-content{padding:0 15px 101px}.top-actions .identity{display:none}.top-actions{gap:2px}.topbar h1{font-size:35px}.topbar .title-block p{font-size:14px}.top-actions .icon-btn{width:37px;min-width:37px}.mobile-menu{display:flex}.mobile-bottom-nav{display:flex;bottom:0;left:0;right:0;z-index:100;background:var(--panel);padding:8px 9px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #14354c12;overflow-x:auto;gap:7px}.mobile-bottom-nav a{flex:0 0 86px;font-size:10px;min-height:58px}.brand img{width:74px;height:74px}.vehicle-strip{min-height:92px;gap:12px}.strip-identity .strip-model{font-size:28px}.vehicle-strip .strip-fact{display:none}.vehicle-strip>.plate{font-size:18px}.vehicle-strip>.soft-btn{margin-left:auto}.road-scene.standalone-scene{min-height:200px}.history-drawer{max-width:calc(100vw - 24px)}.document-summary{gap:20px}.documents-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-tile img{height:185px}.privacy-strip{flex-wrap:wrap}}
@media(max-width:680px){body{font-size:14px}.topbar{flex-direction:column;position:relative;gap:12px}.topbar h1{font-size:34px;padding-right:0;margin-bottom:6px}.topbar .title-block p{font-size:14px}.top-actions{align-self:flex-end;margin-top:-1px}.topbar{padding-bottom:13px}.main-content{padding:0 10px 104px}.panel{padding:18px 14px;border-radius:13px}.panel h2{font-size:22px}.card-head{margin-bottom:14px;flex-wrap:wrap}.card-head .primary-btn{font-size:12px;min-height:42px}.card-head .link-btn{min-height:32px;white-space:normal}.card-head p{font-size:13px}.info-strip{display:flex;flex-wrap:wrap;padding:10px;font-size:12px;gap:7px}.info-strip>.icon{display:none}.info-strip .link-btn{padding:3px 0}.grid-space{--bs-gutter-x:12px;--bs-gutter-y:12px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.metric-card{padding:14px 11px;gap:9px;align-items:flex-start;flex-wrap:wrap}.metric-card .icon-bubble{width:34px;height:34px}.metric-card .icon-bubble .icon{width:20px;height:20px}.metric-card .metric-content{flex-basis:100%}.metric-card .metric-value{font-size:25px;line-height:1.16}.metric-label{font-size:13px}.metric-content small{font-size:12px}.status-card .metric-link{gap:12px}.status-card .icon-bubble{height:49px;width:49px}.status-card .metric-value{font-size:27px}.status-card .pill{margin-top:7px}.journey-hero{grid-template-columns:1fr;margin-bottom:14px}.journey-identity{padding:22px 17px;gap:15px}.journey-identity h2{font-size:39px}.journey-identity .hero-emblem{width:55px;height:55px}.journey-identity .hero-emblem .icon{width:29px;height:29px}.journey-identity p{font-size:14px}.hero-scene{min-height:135px}.hero-scene .scene-copy{padding:22px 23px;max-width:85%}.hero-scene .scene-copy strong{font-size:28px}.hero-scene .scene-copy small{margin-top:15px;font-size:9px}.vehicle-strip{padding:14px;gap:12px;display:grid;grid-template-columns:1fr auto}.strip-identity{grid-column:1/-1;gap:12px}.vehicle-emblem{width:52px;height:52px}.vehicle-emblem .icon{width:28px;height:28px}.strip-identity .strip-model{font-size:29px}.strip-identity .muted{font-size:13px}.vehicle-strip>.plate{font-size:17px;justify-self:start}.vehicle-strip>.soft-btn{font-size:12px;padding:8px 10px;min-height:42px;margin:0}.vehicle-strip>.soft-btn .icon{width:17px}.vehicle-tabs{gap:8px}.vehicle-tabs button{font-size:13px;padding:10px 7px}.identity-split{grid-template-columns:1fr}.identity-scene{min-height:100px!important}.identity-scene .scene-copy{padding:17px 20px;max-width:70%}.identity-scene .scene-copy strong{font-size:22px}.record-copy strong{font-size:14px}.record-copy small{font-size:12px}.record-value{font-size:12px;max-width:29%}.record-value .pill{font-size:10px;padding:4px 7px}.record-row{gap:9px;min-height:69px;padding:13px 0}.record-row .icon-bubble.small{width:28px;height:28px}.record-row .icon-bubble.small .icon{width:16px;height:16px}.record-row>.icon{width:13px}.detail-row{font-size:13px;padding:10px 0}.detail-row>strong{max-width:61%;text-align:right}.cost-donut{flex-wrap:wrap;justify-content:center;gap:13px}.cost-legend{width:100%;flex:auto}.cost-legend>div{font-size:13px}.chart-svg{max-height:none}.chart-svg text{font-size:14px}.stat-pair strong{font-size:27px}.stat-pair{gap:15px}.stat-pair>div+div{padding-left:15px}.stat-number{font-size:37px}.note{font-size:13px}.fine-print{font-size:12px}.standalone-scene .scene-copy{max-width:85%}.scene-copy strong{font-size:27px}.category-tiles,.cost-category-tiles,.documents-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-tile{padding:14px 12px}.category-tile strong{font-size:14px}.category-tile small{font-size:12px}.tyre-diagram{grid-template-columns:1fr 42px 1fr;gap:6px}.tyre-corner{padding:13px 9px}.tyre-corner>strong{font-size:12px}.tyre-corner .pill{font-size:14px;padding:4px 7px}.tyre-corner>small{font-size:11px}.tyre-corner>.icon{width:17px}.pressure-grid>button{gap:10px;padding:19px 7px}.pressure-grid span{font-size:13px}.pressure-grid small{font-size:12px}.pressure-grid strong{font-size:23px}.calendar-panel>.card-head h2{font-size:27px}.calendar-panel>.card-head{align-items:center}.calendar-panel .calendar-day{min-height:111px;padding:10px 7px}.calendar-weekdays{display:none}.calendar-grid,.calendar-grid.week-view{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.calendar-grid.week-view .calendar-day{min-height:140px}.calendar-empty{display:none}.calendar-event{font-size:10px;padding:5px;white-space:normal;line-height:1.35;gap:3px}.calendar-event .icon{display:none}.calendar-event small{font-size:9px}.calendar-legend{font-size:11px;gap:10px}.calendar-panel .toolbar{gap:8px}.calendar-panel .toolbar>.soft-btn{font-size:12px;padding:8px 10px}.document-summary{flex-direction:column;align-items:flex-start}.document-summary .donut{align-self:center}.doc-legend{width:100%}.doc-legend>span{font-size:13px}.privacy-strip{gap:13px}.privacy-strip p{min-width:175px}.studio-report{grid-template-columns:minmax(0,1fr) 92px;min-height:215px;gap:10px}.studio-report .paper-art{display:block;width:86px;height:148px;padding:8px}.studio-report h2{font-size:24px}.studio-report p,.report-features li{font-size:13px}.report-tile .icon-bubble{height:52px;width:52px}.report-features{margin-top:10px}.report-pack{padding:16px;gap:13px}.report-pack h2{font-size:25px}.report-pack p{font-size:13px}.household-counts{grid-template-columns:1fr 1fr;gap:20px 13px}.household-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.household-people strong{font-size:14px}.household-people small{font-size:12px}.household-people .avatar{height:62px;width:62px}.driver-identity{gap:14px}.driver-identity h3{font-size:23px}.settings-top-nav{gap:6px}.settings-top-nav button{font-size:12px;padding:8px 11px}.settings-tile .card-head{margin-left:59px;min-height:34px}.settings-tile-heading{top:15px;left:15px}.settings-tile-heading .icon-bubble{width:46px;height:46px}.settings-tile .detail-row{font-size:14px}.settings-tile p{font-size:14px}.tool-row strong{font-size:14px}.tool-row small{font-size:12px}.compact-theme-grid .theme-swatch{font-size:10px}.appearance-options button{font-size:13px}.history-drawer,.gallery-review-modal{width:calc(100vw - 14px);max-width:calc(100vw - 14px)}.history-controls{flex-wrap:wrap;gap:8px}.history-controls>label{flex-basis:100%}.history-controls input{font-size:16px}.history-controls select{flex:1;min-width:0;font-size:13px}.history-context{font-size:12px}.history-pagination{flex-wrap:wrap;bottom:-17px;padding-top:12px}.history-pagination .soft-btn{font-size:12px;padding:8px 12px}.gallery-grid{grid-template-columns:1fr 1fr;gap:9px}.gallery-tile img{height:124px}.gallery-tile strong{font-size:12px;margin:9px 9px 0}.gallery-tile>small{font-size:11px;margin:6px 9px 0}.gallery-intro{gap:12px}.gallery-intro .icon-bubble{width:43px;height:43px}.gallery-intro strong{font-size:17px}.gallery-intro p{font-size:13px}.gallery-review img{max-height:42dvh}.mode-modal .modal-head h2{font-size:24px}.view-field>span{font-size:12px}.theme-drawer{max-width:calc(100vw - 26px)}.theme-modal-layer .modal-shade{backdrop-filter:none!important;background:transparent!important}}
/* Dashboard summaries stay bounded even when a record contains lengthy notes. */
#main .record-copy strong,#main .record-copy small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}#main .provider-identity p{-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.detail-row .icon-btn{width:31px;height:31px;min-width:31px;min-height:31px;margin-left:7px;padding:5px}.detail-row .icon-btn .icon{width:17px;height:17px}.history-controls select{min-width:0;max-width:210px}.loading img{display:block;margin:0 auto 16px;border-radius:16px}

/* v1.4 end-user polish: soften decorative road artwork into its surrounding card. */
.road-scene{background:linear-gradient(var(--gradient-angle),var(--panel),color-mix(in srgb,var(--accent-soft),var(--panel) 62%))}
.road-scene .road-art{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 96%);mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 96%)}
.road-scene:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,color-mix(in srgb,var(--panel),transparent 0%) 0%,color-mix(in srgb,var(--panel),transparent 28%) 15%,transparent 48%)}
.road-scene .scene-copy{z-index:1}
.hero-scene{background:linear-gradient(90deg,var(--panel),color-mix(in srgb,var(--accent-soft),var(--panel) 58%))}
.hero-scene .road-art{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 100%)}
.hero-scene:before{background:linear-gradient(90deg,var(--panel) 0%,color-mix(in srgb,var(--panel),transparent 12%) 14%,transparent 46%)}
.journey-hero .hero-scene{margin-left:-2px}

/* Vehicle view is a polished summary, not a raw field dump. */
.vehicle-view-modal{width:min(900px,calc(100vw - 32px))}
.vehicle-view-hero{display:grid;grid-template-columns:minmax(250px,1.15fr) minmax(260px,1fr) auto;align-items:center;gap:18px;padding:20px;border:1px solid color-mix(in srgb,var(--accent),transparent 78%);border-radius:16px;background:linear-gradient(120deg,color-mix(in srgb,var(--accent-soft),var(--panel) 45%),var(--panel) 62%);margin-bottom:12px}
.vehicle-view-main{display:flex;align-items:center;gap:15px;min-width:0}.vehicle-view-main>div{min-width:0}.vehicle-view-main small{display:block;font-size:12px;color:var(--muted);margin-bottom:2px}.vehicle-view-main h3{font:30px/1.06 Georgia,'Times New Roman',serif;margin:0;color:var(--ink)}.vehicle-view-main .plate{font-size:16px;margin:8px 0 0;padding:4px 9px}.vehicle-view-emblem{width:58px;height:58px}.vehicle-view-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.vehicle-view-chips>span:not(.pill){display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--panel),var(--input) 38%);font-size:12px;color:var(--ink)}.vehicle-view-chips .icon{width:15px;height:15px;color:var(--accent)}.vehicle-view-tools{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.vehicle-view-tools small{max-width:170px;text-align:right;line-height:1.35}.vehicle-gallery-note{display:flex;align-items:center;gap:7px;margin:0 2px 18px;color:var(--muted);font-size:12px}.vehicle-gallery-note .icon{width:15px;height:15px;color:var(--accent)}
.vehicle-view-section{padding:17px 0 3px;border-top:1px solid var(--line)}.vehicle-view-section>h3{font:20px/1.2 Georgia,'Times New Roman',serif;margin:0 0 6px}.vehicle-view-section .view-grid{margin:6px 0 12px}.empty-value{color:var(--muted);font-weight:500}.view-modal .view-field>strong{line-height:1.45}.view-modal .modal-actions{position:sticky;bottom:-24px;z-index:4;margin:22px -24px -24px;padding:14px 24px 18px;background:linear-gradient(180deg,color-mix(in srgb,var(--panel),transparent 5%),var(--panel) 28%);box-shadow:0 -12px 24px color-mix(in srgb,var(--ink),transparent 95%)}

@media(max-width:860px){.vehicle-view-hero{grid-template-columns:1fr 1fr}.vehicle-view-tools{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}.vehicle-view-tools small{text-align:right;max-width:none}.hero-scene .road-art{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 100%)}}
@media(max-width:680px){.vehicle-view-modal{width:calc(100vw - 14px)}.vehicle-view-hero{grid-template-columns:1fr;padding:16px;gap:14px}.vehicle-view-main h3{font-size:27px}.vehicle-view-chips{gap:6px}.vehicle-view-chips>span:not(.pill){font-size:11px;padding:6px 8px}.vehicle-view-tools{grid-column:auto;align-items:stretch;flex-direction:column}.vehicle-view-tools .soft-btn{width:100%}.vehicle-view-tools small{text-align:left}.vehicle-gallery-note{font-size:12px}.view-modal .modal-actions{bottom:-18px;margin:20px -14px -18px;padding:12px 14px calc(14px + env(safe-area-inset-bottom))}.road-scene .road-art{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 100%)}}
