@import url("/button-theme.css");:root{color-scheme:light;font-family:system-ui,sans-serif;color:#102d4c;background:#edf6fd}*{box-sizing:border-box}body{margin:0;background:linear-gradient(145deg,#fff,#edf6fd 65%,#dcefff);min-height:100vh}main{max-width:1100px;margin:auto;padding:clamp(18px,4vw,52px)}header{border-bottom:2px solid #00aaff;padding-bottom:30px;position:relative}h1{font-size:clamp(32px,5vw,58px);letter-spacing:-.04em;margin:12px 0}h2{margin:8px 0 18px}.eyebrow{font-size:14px;letter-spacing:.18em;color:#286087;font-weight:700}.badge{display:inline-block;padding:8px 12px;background:#dff5ff;border:1px solid #89dfff;font-size:14px}section{background:#ffffffdb;border:1px solid #a9d4f1;border-top:3px solid #29bfff;padding:clamp(18px,3vw,28px);margin-top:24px;box-shadow:0 12px 32px #4c8dad0b;border-radius:3px 20px 3px 3px}p{line-height:1.6;max-width:80ch}.actions{display:flex;gap:12px;flex-wrap:wrap}button{font:inherit;min-height:46px;padding:11px 18px;border:1px solid #008dde;background:#006fc5;color:white;border-radius:4px;cursor:pointer}button:hover{background:#005797}button:disabled{opacity:.6;cursor:wait}:focus-visible{outline:3px solid #002b55;outline-offset:4px}label{display:block;font-weight:700;margin-bottom:8px}input{font:inherit;font-size:22px;letter-spacing:.25em;width:200px;max-width:100%;padding:10px;border:1px solid #719ab7;border-radius:4px}#code-help,footer{font-size:15px;color:#47647c}footer{margin:24px 0}.fleet{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.vehicle{border:1px solid #bddbea;background:#f3faff;padding:18px;overflow-wrap:anywhere}.vehicle h3{margin-top:0}.vehicle dl{margin:0}.vehicle dt{font-size:14px;color:#42647f;margin-top:12px}.vehicle dd{margin:3px 0;font-weight:600}main,section,.actions>*{min-width:0}p,footer,h1,h2{overflow-wrap:anywhere}button{max-width:100%}#customer-refresh.status-refresh{min-height:44px;padding:6px 0;background:transparent;border:0;color:#286087;font-size:16px;text-decoration:underline}#customer-refresh.status-refresh:hover{color:#005797}@media(max-width:560px){.actions{display:grid;grid-template-columns:minmax(0,1fr)}.actions button{width:100%}section{padding:18px}main{padding:18px 12px}h1{font-size:32px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
#customer-dashboard{--garage-nav-height:72px}
#customer-dashboard .dashboard-nav{position:sticky;top:0;z-index:30;box-sizing:border-box;padding:10px 0 12px;margin-top:24px;background:#102b23;border-bottom:1px solid #71988d;box-shadow:0 8px 14px #0002;isolation:isolate}
:root[data-theme="space"] #customer-dashboard .dashboard-nav{background:#102334}
:root[data-theme="light"] #customer-dashboard .dashboard-nav{background:#f0f7fa}
#customer-dashboard [data-dashboard-panel]{scroll-margin-top:calc(var(--garage-nav-height) + 16px)}
#customer-dashboard .dashboard-nav button{min-height:44px;margin:0}
@media(max-width:560px){#customer-dashboard{--garage-nav-height:120px}#customer-dashboard .dashboard-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 0}#customer-dashboard .dashboard-nav button{width:100%;min-width:0;white-space:normal}}
@media print{#customer-dashboard .dashboard-nav{position:static;box-shadow:none}}

.unit-history{grid-column:1 / -1;min-width:0;margin-top:16px}
.unit-history h3{font-size:17px;margin:8px 0}
.unit-history-results{display:grid;gap:8px}
.unit-history .invoice-row{border:1px solid #71988d66;border-radius:4px}
.unit-history .invoice-row>summary{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px;cursor:pointer}
.unit-history .invoice-details{padding:0 12px 12px}
.unit-history-refresh{background:transparent!important;border:0!important;clip-path:none!important;text-decoration:underline;box-shadow:none!important}
.unit-history-refresh:before,.unit-history-refresh:after{display:none!important}

.vehicle-insights:has(.vehicle-photo-stage:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,1.15fr);column-gap:24px;align-items:start;isolation:isolate}.vehicle-photo-stage{grid-column:2;grid-row:1 / span 6;position:relative;align-self:center;margin:0;min-width:0;pointer-events:none;perspective:1100px}.vehicle-photo-stage::before{content:'';position:absolute;inset:68% 12% 4%;border-radius:50%;background:#07171188;filter:blur(18px);transform:scaleY(.35)}.vehicle-photo-stage img{display:block;width:100%;height:auto;max-height:190px;object-fit:cover;aspect-ratio:16 / 9;object-position:50% 53%;border-radius:0;transform:none;filter:drop-shadow(0 12px 13px #0005);-webkit-mask-image:linear-gradient(90deg,transparent,#000 24%,#000 76%,transparent),linear-gradient(0deg,transparent,#000 20%,#000 80%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 24%,#000 76%,transparent),linear-gradient(0deg,transparent,#000 20%,#000 80%,transparent);mask-composite:intersect}.vehicle-insights:has(.vehicle-photo-stage:not([hidden]))>p{grid-column:1}@media(max-width:700px){.vehicle-insights:has(.vehicle-photo-stage:not([hidden])){grid-template-columns:minmax(0,1fr);gap:0}.vehicle-photo-stage{grid-column:1;grid-row:1;width:100%;max-width:430px;justify-self:center;margin:0 0 12px}.vehicle-photo-stage img{max-height:180px;transform:none}}@media(prefers-reduced-motion:reduce){.vehicle-photo-stage img{transform:none}}
.showroom-return{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;margin-bottom:18px;border:1px solid currentColor;text-decoration:none;font-weight:700}.showroom-return:focus-visible{outline:3px solid #00bfff;outline-offset:4px}
.invoice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px}.invoice-actions button{flex:0 0 auto;width:auto!important;min-height:44px;padding:9px 18px;font-size:16px;margin:0!important}.invoice-actions #history-refresh{background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;clip-path:none!important;text-decoration:underline;text-underline-offset:4px;font-weight:400}.invoice-actions #history-refresh:before,.invoice-actions #history-refresh:after{display:none!important}.invoice-load-note{font-size:14px;opacity:.8;margin-top:10px}.invoice-document-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}
:root .invoice-document-actions .invoice-document-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:160px!important;max-width:100%;min-height:44px;margin:0!important;padding:8px 12px!important;font:600 16px/1.2 Arial,sans-serif;text-align:center;text-decoration:none!important;cursor:pointer;color:#fff!important;background:linear-gradient(110deg,#008aff,#00b8e9)!important;border:1px solid #71dcff;border-radius:3px;box-shadow:inset 0 0 0 1px #ffffff18;clip-path:none}
:root .invoice-document-actions .invoice-document-button:hover{filter:brightness(1.1)}
:root .invoice-document-actions .invoice-document-button:focus-visible{outline:3px solid #b1efff;outline-offset:3px}
.invoice-document-button::before,.invoice-document-button::after{display:none!important}
.invoice-preview{min-width:0;margin:14px 0;border:1px solid #71988d;padding:12px}
.invoice-preview-toolbar{display:flex;flex-wrap:wrap;gap:8px}
.invoice-preview-toolbar button{width:auto!important;min-height:44px;padding:8px 12px}
.invoice-preview-viewport{overflow-x:auto;max-height:none;background:#eee}
.invoice-preview-viewport img{display:block;max-width:none!important;height:auto;object-fit:contain;border-radius:0;margin:0!important}
.invoice-preview-viewport img+img{border-top:1px solid #ddd}
.invoice-preview[hidden]{display:none}
#invoice-number-results{margin:16px 0}

#equipment-list{display:flex;flex-direction:column;gap:8px}#equipment-list .equipment-row{position:relative;padding:0;margin:0;min-width:0;border:1px solid #71988d;border-radius:4px}#equipment-list .equipment-row>summary{display:grid;grid-template-columns:.7fr 2fr 1fr auto;gap:12px;align-items:center;min-height:52px;padding:12px 16px;cursor:pointer;list-style:none;overflow-wrap:anywhere}#equipment-list summary::-webkit-details-marker{display:none}#equipment-list summary:focus-visible{outline:3px solid #00bfff;outline-offset:2px}.equipment-unit{font-weight:700}.equipment-vin,.equipment-cue{font-size:14px}.vehicle-insights{padding:12px 16px;border-top:1px solid #71988d66;overflow-wrap:anywhere}.vehicle-insights p{margin:8px 0;font-size:16px}.vehicle-history-insight{font-size:15px!important;opacity:.85}#equipment-list .equipment-row[open]{border-color:#00a6d9;box-shadow:0 6px 20px #00a6d915}@media(max-width:700px){#equipment-list .equipment-row>summary{grid-template-columns:1fr auto;gap:6px 12px}.equipment-name{grid-column:1 / -1;grid-row:2}.equipment-vin{grid-column:1;grid-row:3}.equipment-cue{grid-column:2;grid-row:1}}
:is(#history-list,#invoice-number-results){display:flex;flex-direction:column;gap:8px}:is(#history-list,#invoice-number-results) .invoice-row{padding:0;margin:0;min-width:0;border:1px solid #71988d;border-radius:4px}:is(#history-list,#invoice-number-results) summary{cursor:pointer;min-height:48px;padding:14px;list-style:none;overflow-wrap:anywhere}:is(#history-list,#invoice-number-results) summary::-webkit-details-marker{display:none}:is(#history-list,#invoice-number-results) summary:focus-visible{outline:3px solid #00bfff;outline-offset:2px}:is(#history-list,#invoice-number-results) .invoice-row>summary{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr .7fr auto;gap:12px;align-items:center}:is(#history-list,#invoice-number-results) .invoice-number,:is(#history-list,#invoice-number-results) .invoice-total{font-weight:700}:is(#history-list,#invoice-number-results) .invoice-expand{font-size:14px}:is(#history-list,#invoice-number-results) .invoice-expand:after,:is(#history-list,#invoice-number-results) .invoice-group>summary:after{content:' +';font-weight:bold}:is(#history-list,#invoice-number-results) details[open]>summary .invoice-expand:after,:is(#history-list,#invoice-number-results) .invoice-group[open]>summary:after{content:' −'}:is(#history-list,#invoice-number-results) .invoice-payment{text-transform:capitalize;font-size:15px}:is(#history-list,#invoice-number-results) .invoice-details{padding:0 16px 16px;border-top:1px solid #71988d55}:is(#history-list,#invoice-number-results) .invoice-details p{margin:10px 0;font-size:16px}:is(#history-list,#invoice-number-results) .invoice-note{opacity:.8}:is(#history-list,#invoice-number-results) .invoice-group{border:1px solid #71988d;padding:6px;border-radius:4px}:is(#history-list,#invoice-number-results) .invoice-group>summary{font-weight:700}:is(#history-list,#invoice-number-results) .invoice-group .invoice-row{margin-top:6px}@media(max-width:700px){:is(#history-list,#invoice-number-results) .invoice-row>summary{grid-template-columns:1fr 1fr;gap:6px 12px;padding:12px}:is(#history-list,#invoice-number-results) .invoice-total,:is(#history-list,#invoice-number-results) .invoice-unit,:is(#history-list,#invoice-number-results) .invoice-expand{text-align:right}:is(#history-list,#invoice-number-results) .invoice-date{font-size:15px}:is(#history-list,#invoice-number-results) .invoice-group>summary{font-size:16px}}
[hidden]{display:none!important}.dashboard-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.dashboard-nav button{background:#fff;color:#075381;border-color:#94cce7}.dashboard-nav button[aria-pressed=true]{background:#006fc5;color:#fff;border-color:#006fc5}.dashboard-input{width:100%;font-size:17px;letter-spacing:normal;min-height:46px;background:#fff;color:#102d4c}#equipment-search{max-width:560px}.calculator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}#cost-result{font-size:clamp(19px,3vw,25px);font-weight:700;color:#005b96}.dashboard-nav button{transition:background .15s ease}@media(max-width:560px){.dashboard-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-nav button{padding:10px 8px;font-size:16px}.calculator-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.dashboard-nav button{transition:none}}

#customer-dashboard{--garage-nav-height:72px}
#customer-dashboard .dashboard-nav{position:sticky;top:0;z-index:30;box-sizing:border-box;padding:10px 0 12px;margin-top:24px;background:#102b23;border-bottom:1px solid #71988d;box-shadow:0 8px 14px #0002;isolation:isolate}
:root[data-theme="space"] #customer-dashboard .dashboard-nav{background:#102334}
:root[data-theme="light"] #customer-dashboard .dashboard-nav{background:#f0f7fa}
#customer-dashboard [data-dashboard-panel]{scroll-margin-top:calc(var(--garage-nav-height) + 16px)}
#customer-dashboard .dashboard-nav button{min-height:44px;margin:0}
@media(max-width:560px){#customer-dashboard{--garage-nav-height:120px}#customer-dashboard .dashboard-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 0}#customer-dashboard .dashboard-nav button{width:100%;min-width:0;white-space:normal}}
@media print{#customer-dashboard .dashboard-nav{position:static;box-shadow:none}}

.unit-history{grid-column:1 / -1;min-width:0;margin-top:16px}
.unit-history h3{font-size:17px;margin:8px 0}
.unit-history-results{display:grid;gap:8px}
.unit-history .invoice-row{border:1px solid #71988d66;border-radius:4px}
.unit-history .invoice-row>summary{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px;cursor:pointer}
.unit-history .invoice-details{padding:0 12px 12px}
.unit-history-refresh{background:transparent!important;border:0!important;clip-path:none!important;text-decoration:underline;box-shadow:none!important}
.unit-history-refresh:before,.unit-history-refresh:after{display:none!important}


#customer-dashboard{--row-line:#71988d66;--row-active:#4e927a18;--row-accent:#36a5b3}
:root[data-theme="space"] #customer-dashboard{--row-line:#71bbd044;--row-active:#21b8ee16;--row-accent:#46d5ff}
:root[data-theme="light"] #customer-dashboard{--row-line:#47778944;--row-active:#0088bb0d;--row-accent:#087ca5}
#customer-dashboard .dashboard-nav{gap:6px;padding:6px 0 8px}
#customer-dashboard .dashboard-nav button{min-height:40px;padding:8px 14px}
#customer-dashboard #equipment-list{gap:6px}
#customer-dashboard #equipment-list>details.vehicle{padding:0;margin:0;border:1px solid var(--row-line);background:transparent;box-shadow:none}
#customer-dashboard #equipment-list>details.vehicle>summary{min-height:44px;padding:10px 14px;gap:8px;font-weight:700}
#customer-dashboard #equipment-list>details.vehicle>.vehicle-insights{padding:12px}
#customer-dashboard :is(#history-list,#invoice-number-results,.unit-history-results){gap:5px}
#customer-dashboard .invoice-group{padding:0;margin:0;border:1px solid var(--row-line);background:transparent;box-shadow:none}
#customer-dashboard .invoice-group>summary{min-height:44px;padding:10px 14px;font-weight:700;list-style:none;background:transparent}
#customer-dashboard .invoice-group>.invoice-row{margin:0 12px 5px}
#customer-dashboard details.invoice-row{padding:0;min-width:0;border:1px solid var(--row-line);background:transparent;box-shadow:none}
#customer-dashboard details.invoice-row>summary{min-height:34px;padding:6px 10px;gap:8px;list-style:none;background:transparent}
#customer-dashboard details.invoice-row[open]{background:var(--row-active);border-color:var(--row-accent);box-shadow:inset 2px 0 var(--row-accent)}
#customer-dashboard details.invoice-row[open]>summary{background:transparent}
#customer-dashboard details.invoice-row>.invoice-details{padding:6px 12px 10px;border-top:1px solid var(--row-line);background:transparent}
#customer-dashboard details.invoice-row>.invoice-details p{margin:5px 0}
#customer-dashboard :is(.invoice-row,.invoice-group,.vehicle)>summary:focus-visible{outline:2px solid var(--row-accent);outline-offset:2px}
#customer-dashboard .invoice-group>summary::-webkit-details-marker{display:none}
@media(max-width:700px){
 #customer-dashboard details.invoice-row>summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px 10px;min-height:44px;padding:7px 10px}
 #customer-dashboard #equipment-list>details.vehicle>summary,#customer-dashboard .invoice-group>summary{min-height:48px}
 #customer-dashboard .invoice-group>.invoice-row{margin-right:5px;margin-left:5px}
 #customer-dashboard .dashboard-nav button{min-height:40px;padding:7px 9px}
}
@media print{#customer-dashboard details.invoice-row[open]{background:transparent;box-shadow:none}}

/* Team Prime approved futuristic styling / 2026-11-03 */
:root[data-theme="space"]{--ink:#edf7ff;--muted:#b7d0e0;--line:#65d9f345;--blue:#83eaff}
:root[data-theme="space"] body{background:radial-gradient(ellipse at 5% 30%,#005b873d,transparent 45%),radial-gradient(ellipse at 100% 38%,#522d9c30,transparent 50%),linear-gradient(180deg,#071728,#030812 85%);color:#edf7ff}
:root[data-theme="space"] :is(.preview,.theme-tools,body>header,footer){background:#081a2ddd;border-color:#70d8f33d}
:root[data-theme="space"] :is(.command-dock,.hood-readout){background:linear-gradient(110deg,#10354be8,#0b1c33f2 70%,#252745e8);border-color:#70d8f34d}
:root[data-theme="space"] :is(section,.feature,.service-item,.parts-choice,.request-notice,.systems,.details){background:linear-gradient(125deg,#12364bd9,#0a1d32e8 70%,#25254288);border-color:#68d5f33d;box-shadow:inset 0 1px #91eaff13,0 12px 30px #0002}
:root[data-theme="space"] :is(.features,.services,.parts-policy,.lab,.request-shell){background:transparent;box-shadow:none}
:root[data-theme="space"] :is(.secondary,button[aria-pressed="false"],.stage-controls button:not([aria-pressed="true"]),.viewport-bar button,.close,.command-bar a:not([aria-current="location"])){background:linear-gradient(120deg,#1e4a63b0,#122841f0);color:#e6f8ff;border-color:#70c9ec75;box-shadow:inset 0 0 0 1px #8adcff14,inset 0 0 17px #18b9e514}
:root[data-theme="space"] :is(.button,.hotspot,button[aria-pressed="true"],.password-continue,.command-bar a[aria-current="location"]){background:linear-gradient(115deg,#0058dc,#009cda 60%,#09b7d5);border-color:#a1f7ff;box-shadow:inset 0 0 0 2px #c3fbff44,inset 0 -8px 20px #30d9ff40;color:#fff}
:root[data-theme="space"] :is(.button,.secondary,button,.command-bar a):focus-visible{outline:2px solid #b9f7ff;outline-offset:-5px}
:root[data-theme="space"] :is(input,select,textarea,.dashboard-input){background:#071a2b;color:#edf7ff;border-color:#77cce270}
:root[data-theme="space"] :is(.eyebrow,.section-label>span,.command-dock-label){color:#94dce9}
:root[data-theme="space"] .hero{border:1px solid #8beaff88;box-shadow:0 0 0 4px #17415a33,0 0 35px #00b7e41a,0 24px 60px #0005}
:root[data-theme="space"] .hero::before{background:linear-gradient(90deg,#06243bf0 0%,#10283bb8 25%,#10233400 52%)}
:root[data-theme="space"] .hero::after{content:'';position:absolute;inset:22px;pointer-events:none;z-index:1;background:linear-gradient(#a2f4ff,#a2f4ff) left top/35px 1px no-repeat,linear-gradient(#a2f4ff,#a2f4ff) left top/1px 24px no-repeat,linear-gradient(#a2f4ff,#a2f4ff) right top/35px 1px no-repeat,linear-gradient(#a2f4ff,#a2f4ff) right top/1px 24px no-repeat,linear-gradient(#9f9aff,#9f9aff) right bottom/35px 1px no-repeat,linear-gradient(#9f9aff,#9f9aff) right bottom/1px 24px no-repeat;filter:drop-shadow(0 0 5px #30dfff55)}
:root[data-theme="space"] .hero .stage-controls{background:linear-gradient(100deg,#0b3b55df,#14203bdd 70%,#32265bdd);border-color:#80e8fa77}
:root[data-theme="space"] .deck-field{opacity:.7}
:root[data-theme="space"] .deck-grid{background-image:linear-gradient(#57dfff14 1px,transparent 1px),linear-gradient(90deg,#57dfff14 1px,transparent 1px)}
:root[data-theme="space"] .deck-orbit{border-top-color:#80f4ff99;border-right-color:#8994ee99;filter:drop-shadow(0 0 5px #36d9ff55)}
:root[data-theme="space"] .deck-orbit::before{border-color:#92e6ff66}
:root[data-theme="space"] .deck-caption{background:#09273bd9;color:#d2f2ff}
:root[data-theme="space"] .hero-copy h1{text-shadow:0 2px 12px #07182980,0 0 25px #37bbef25}
:root[data-theme="space"] #detail{background:linear-gradient(135deg,#0c3043,#091627 65%,#242443);border-color:#85e7ff99;box-shadow:0 0 40px #40cbff26,0 30px 100px #0008}
:root[data-theme="space"] main:has(>header .portal-brand){--portal-surface:#0d283c;--portal-edge:#67d8f552}
:root[data-theme="space"] main>header:has(.portal-brand){border-radius:0;border-top-color:#9aedff;background:linear-gradient(120deg,#104159aa,#0a2135 70%,#29264588);box-shadow:0 -1px 18px #41cfff16}
:root[data-theme="space"] main>header:has(.portal-brand)+section{border-radius:0;background:linear-gradient(120deg,#0b2538,#0b1d30 70%,#201e3788);box-shadow:0 18px 40px #0003}
:root[data-theme="space"] main:has(>header .portal-brand)>section:not(:first-of-type){border-radius:0}
:root[data-theme="space"] #customer-dashboard{--row-line:#71d5ee38;--row-active:linear-gradient(110deg,#0d69894d,#11365366 70%,#342d623b);--row-accent:#91f2ff}
:root[data-theme="space"] #customer-dashboard .dashboard-nav{background:#07192af2;border-color:#73ddef55;box-shadow:0 8px 18px #0005}
#customer-dashboard .dashboard-nav button{min-height:40px}
#customer-dashboard #equipment-list>details.equipment-row>summary,#customer-dashboard .invoice-group>summary{min-height:46px;padding:8px 14px}
:root[data-theme="space"] #customer-dashboard :is(#equipment-list>details.equipment-row,.invoice-group){background:transparent;box-shadow:none;border-radius:0}
:root[data-theme="space"] #customer-dashboard #equipment-list>details.equipment-row>summary{background:linear-gradient(105deg,#153d5366,#0c1e3233);border-bottom:1px solid transparent}
:root[data-theme="space"] #customer-dashboard #equipment-list>details.equipment-row[open]{border-color:#73ddef80;box-shadow:0 0 20px #27c5f30a}
:root[data-theme="space"] #customer-dashboard #equipment-list>details.equipment-row[open]>summary{border-bottom-color:#68cee638;color:#d3f8ff}
:root[data-theme="space"] #customer-dashboard .vehicle-insights{background:linear-gradient(120deg,#0e3042aa,#0a1c2eaa 70%,#24223e66);border-color:#72cee535}
#customer-dashboard .vehicle-insights:has(.vehicle-photo-stage:not([hidden])){grid-template-columns:minmax(210px,.8fr) minmax(0,1.5fr);column-gap:24px;align-items:start}
#customer-dashboard .vehicle-photo-stage{max-width:none;width:100%;margin:3px 0 14px;grid-column:2;grid-row:1 / span 6;align-self:center}
#customer-dashboard .vehicle-photo-stage img{width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:contain;object-position:center;mask-image:none;-webkit-mask-image:none;filter:none;transform:none}
:root[data-theme="space"] #customer-dashboard .vehicle-photo-stage{background:#071b29;border:1px solid #8ae8fc66;box-shadow:0 0 0 3px #17415a33,0 0 24px #2cd9ff17}
#customer-dashboard .vehicle-photo-stage::before{display:none}
:root[data-theme="space"] #customer-dashboard .vehicle-photo-stage::after{content:'';position:absolute;inset:12px;pointer-events:none;background:linear-gradient(#b0f8ff,#b0f8ff) left top/24px 1px no-repeat,linear-gradient(#b0f8ff,#b0f8ff) left top/1px 18px no-repeat,linear-gradient(#a9a3ff,#a9a3ff) right bottom/24px 1px no-repeat,linear-gradient(#a9a3ff,#a9a3ff) right bottom/1px 18px no-repeat}
#customer-dashboard .vehicle-insights>.unit-history{grid-column:1/-1;min-width:0;padding:12px 0 0;border:0;border-top:1px solid var(--row-line);background:transparent;box-shadow:none}
:root[data-theme="space"] #customer-dashboard .invoice-group>summary{background:transparent}
:root[data-theme="space"] #customer-dashboard details.invoice-row{background:transparent;border-radius:0;box-shadow:none}
:root[data-theme="space"] #customer-dashboard details.invoice-row[open]{background:var(--row-active);border-color:#76eafa9c;box-shadow:inset 2px 0 #93f8ff}
:root[data-theme="space"] #customer-dashboard details.invoice-row>.invoice-details{background:transparent}
:root[data-theme="space"] #customer-dashboard .invoice-preview{background:#071b2c;border-color:#68d9f56b}
:root[data-theme="space"] #customer-dashboard .invoice-preview-viewport{background:#102536}
@media(min-width:901px){:root[data-theme="space"] :is(.command-dock,#customer-dashboard .dashboard-nav){backdrop-filter:blur(6px)}}
@media(max-width:1000px){:root[data-theme="space"] .hero::before{background:linear-gradient(#08283ef2,#10283b99 45%,transparent 70%)}:root[data-theme="space"] .hero::after{inset:12px}}
@media(max-width:700px){#customer-dashboard #equipment-list>details.equipment-row>summary,#customer-dashboard .invoice-group>summary{min-height:48px}#customer-dashboard .dashboard-nav button{min-height:44px}#customer-dashboard .vehicle-insights:has(.vehicle-photo-stage:not([hidden])){grid-template-columns:minmax(0,1fr);gap:0}#customer-dashboard .vehicle-photo-stage{grid-column:1;grid-row:1;max-width:none;margin:0 0 18px}#customer-dashboard .vehicle-photo-stage img{max-height:none}#customer-dashboard .vehicle-insights>.unit-history{grid-column:1}}
@media(prefers-reduced-transparency:reduce){:root[data-theme="space"] :is(section,.feature,.command-dock,#customer-dashboard .dashboard-nav){background:#102a40;backdrop-filter:none}}
@media(forced-colors:active){:root[data-theme="space"] body{background:Canvas;color:CanvasText}:root[data-theme="space"] .hero::after,:root[data-theme="space"] #customer-dashboard .vehicle-photo-stage::after{display:none}:root[data-theme="space"] #customer-dashboard details.invoice-row[open]{border:2px solid Highlight;box-shadow:none}}
@media print{:root[data-theme="space"] body,:root[data-theme="space"] body *{background:white!important;color:black!important;box-shadow:none!important;text-shadow:none!important}:root[data-theme="space"] .hero::after,:root[data-theme="space"] #customer-dashboard .vehicle-photo-stage::after{display:none}}


/* Team Prime spaceship briefing room / 2026-11-03 */
.briefing-rail,.briefing-empty{display:none}
:root[data-theme="space"] body{background:radial-gradient(ellipse at 50% 0,#39778c55,transparent 55%),linear-gradient(90deg,#07111e,#132331 15%,#091423 50%,#132331 85%,#07111e)}
:root[data-theme="space"] main{position:relative}
:root[data-theme="space"] main:has(#customer-dashboard){max-width:1600px;padding-inline:40px}
:root[data-theme="space"] #customer-equipment{position:relative;border-radius:0;padding-top:58px;background:linear-gradient(115deg,#182f3de6,#0b1c2de8);border:1px solid #8dcfdf59;box-shadow:inset 6px 0 #5c8ea31c,inset -6px 0 #5c8ea31c,0 20px 50px #0004}
:root[data-theme="space"] #customer-equipment::before{content:'';position:absolute;inset:0 12px auto;height:35px;pointer-events:none;background:linear-gradient(90deg,transparent 5%,#b6faff 6%,#77c6dc 27%,transparent 28%,transparent 72%,#77c6dc 73%,#b6faff 94%,transparent 95%) center/100% 2px no-repeat,linear-gradient(180deg,#4b697b88,#112231);clip-path:polygon(18px 0,calc(100% - 18px) 0,100% 100%,0 100%);border-bottom:1px solid #93d5e755}
:root[data-theme="space"] #customer-equipment>h2{font-weight:500;letter-spacing:-.035em}
:root[data-theme="space"] .briefing-shell.briefing-ready{display:grid;grid-template-columns:220px minmax(0,1fr);gap:0;border:1px solid #8bc6db55;background:#091927;box-shadow:0 0 0 6px #7096ac0e;margin:22px 0 14px;min-height:340px}
:root[data-theme="space"] .briefing-ready .briefing-rail{display:block;padding:20px 12px;background:linear-gradient(110deg,#233c4c99,#102737);border-right:1px solid #89cde44d;min-width:0}
:root[data-theme="space"] .briefing-rail>.eyebrow{font-size:14px;letter-spacing:.16em;padding:0 8px;margin:4px 0 18px}
:root[data-theme="space"] .briefing-units{display:flex;flex-direction:column;gap:8px;max-height:660px;overflow:auto;scrollbar-width:thin;scrollbar-color:#638b9b #0a1c2b;padding:2px}
:root[data-theme="space"] #customer-dashboard .briefing-unit{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;width:100%;min-height:58px;margin:0;padding:10px 12px;white-space:normal;border:1px solid #83c1d64d;background:linear-gradient(110deg,#24415266,#142837);box-shadow:inset 0 1px #bcefff12;color:#e8f8ff;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
:root[data-theme="space"] #customer-dashboard .briefing-unit strong{font-size:16px;font-weight:600}
:root[data-theme="space"] #customer-dashboard .briefing-unit span{font-size:14px;color:#acc7d4;line-height:1.4;overflow-wrap:anywhere}
:root[data-theme="space"] #customer-dashboard .briefing-unit[aria-pressed="true"]{border-color:#b1f2fa;background:linear-gradient(110deg,#245e73,#15344c);box-shadow:inset 3px 0 #b6faff,inset 0 0 25px #73e3ff12}
:root[data-theme="space"] .briefing-display{min-width:0;padding:16px}
:root[data-theme="space"] .briefing-ready .briefing-empty:not([hidden]){display:block;padding:60px 25px;text-align:center;color:#bdd7e3}
:root[data-theme="space"] #customer-dashboard .briefing-ready #equipment-list{display:block;margin:0}
:root[data-theme="space"] #customer-dashboard .briefing-ready #equipment-list>details:not([open]){display:none}
:root[data-theme="space"] #customer-dashboard .briefing-ready #equipment-list>details[open]{margin:0;border:0;box-shadow:none;background:transparent}
:root[data-theme="space"] #customer-dashboard .briefing-ready #equipment-list>details>summary{min-height:54px;border-bottom:1px solid #8bc6db55;background:linear-gradient(110deg,#22435399,#17283c);padding:10px 15px}
:root[data-theme="space"] #customer-dashboard .briefing-ready .vehicle-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;padding:18px 8px 0;border:0;background:transparent;box-shadow:none}
:root[data-theme="space"] #customer-dashboard .briefing-ready .vehicle-insights>p{margin:4px 0;overflow-wrap:anywhere;min-width:0}
:root[data-theme="space"] #customer-dashboard .briefing-ready .vehicle-photo-stage{grid-column:1/-1;grid-row:1;margin:0 0 20px;border-radius:22px 22px 3px 3px;overflow:hidden;background:#061923;border:1px solid #9ee4ee80;box-shadow:0 0 0 4px #020d16,0 0 0 5px #658d9a77,0 0 30px #49d4ed16}
:root[data-theme="space"] #customer-dashboard .briefing-ready .vehicle-photo-stage img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
:root[data-theme="space"] #customer-dashboard .briefing-ready .vehicle-insights>.unit-history{grid-column:1/-1;padding:22px 16px 16px;margin-top:26px;border:1px solid #8ecbdc59;border-top:2px solid #9fe7ee;background:linear-gradient(115deg,#1d3f5299,#101e31 70%,#26324d80);box-shadow:0 -6px #071722,0 -7px #6c98aa55}
:root[data-theme="space"] #customer-dashboard .unit-history h3{font-size:19px;font-weight:500;margin-top:0}
:root[data-theme="space"] #customer-dashboard>section:not(#customer-equipment){border-radius:0;border:1px solid #8ecbdc59;border-top:2px solid #9fe7ee;background:linear-gradient(115deg,#1d3f5299,#101e31e6 70%,#26324d80);box-shadow:0 -6px #0a1823,0 20px 45px #0003;margin-top:35px}
:root[data-theme="space"] #customer-dashboard details.invoice-row[open]{background:linear-gradient(115deg,#22627b55,#17405766);border-color:#9ce1ef8c;box-shadow:inset 2px 0 #adfaff}
:root[data-theme="space"] .hero{border-radius:24px 24px 3px 3px;border-color:#9ee4ee80;box-shadow:0 0 0 5px #020d16,0 0 0 6px #658d9a77,0 25px 50px #0005}
:root[data-theme="space"] .hero .stage-controls{background:linear-gradient(110deg,#234454,#102333 70%,#222b42);border-top:2px solid #9cdee7}
:root[data-theme="space"] .command-dock{border-radius:0;border-top:2px solid #9cdee7;background:linear-gradient(120deg,#234454aa,#0b1c2df0)}
:root[data-theme="space"] #customer-dashboard [hidden]{display:none!important}
@media(max-width:900px){:root[data-theme="space"] main:has(#customer-dashboard){padding-inline:18px}:root[data-theme="space"] .briefing-shell.briefing-ready{grid-template-columns:180px minmax(0,1fr)}:root[data-theme="space"] .briefing-display{padding:12px}}
@media(max-width:650px){:root[data-theme="space"] main:has(#customer-dashboard){padding-inline:10px}:root[data-theme="space"] #customer-equipment{padding:46px 12px 18px}:root[data-theme="space"] .briefing-shell.briefing-ready{grid-template-columns:minmax(0,1fr)}:root[data-theme="space"] .briefing-ready .briefing-rail{padding:14px 10px;border-right:0;border-bottom:1px solid #89cde44d}:root[data-theme="space"] .briefing-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:190px;gap:7px}:root[data-theme="space"] #customer-dashboard .briefing-unit{min-height:58px;padding:9px}:root[data-theme="space"] #customer-dashboard .briefing-unit strong{font-size:15px}:root[data-theme="space"] #customer-dashboard .briefing-unit span{font-size:14px}:root[data-theme="space"] #customer-dashboard .briefing-ready .vehicle-insights{grid-template-columns:minmax(0,1fr);padding:15px 2px 0}:root[data-theme="space"] #customer-dashboard .briefing-ready .vehicle-insights>.unit-history{padding:17px 8px}:root[data-theme="space"] #customer-dashboard .briefing-ready #equipment-list>details>summary{padding:10px 8px}:root[data-theme="space"] .briefing-display{padding:10px}}
@media(forced-colors:active){:root[data-theme="space"] #customer-equipment::before{display:none}:root[data-theme="space"] #customer-dashboard .briefing-unit[aria-pressed="true"]{border:2px solid Highlight}}


/* Team Prime maintenance briefing console / 2026-11-03 */
.history-rail,.history-selection,.history-no-rows,.history-console-scope,.history-dates,.history-reset{display:none}
:root[data-theme="space"] #customer-dashboard [data-dashboard-panel="history"]{position:relative;padding:30px 26px}
:root[data-theme="space"] #customer-dashboard .history-toolbar{display:grid;grid-template-columns:1.25fr .85fr 1fr 1.4fr auto;gap:12px;align-items:end;padding:18px 0;margin:10px 0 0;border-top:1px solid #9ad8e333}
:root[data-theme="space"] .history-field{min-width:0}
:root[data-theme="space"] #customer-dashboard .history-field label{font-size:14px;display:block;margin:0 0 7px;color:#bad6e2}
:root[data-theme="space"] #customer-dashboard .history-field :is(input,select){width:100%;max-width:none;min-width:0;margin:0;min-height:42px;padding:8px;font-size:14px;box-sizing:border-box;color-scheme:dark}
:root[data-theme="space"] #customer-dashboard .history-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px}
:root[data-theme="space"] #customer-dashboard .history-reset{display:block;min-height:42px;margin:0;padding:8px 12px;font-size:14px;white-space:nowrap}
:root[data-theme="space"] #customer-dashboard .history-help{background:transparent;border:0;padding:0 0 16px;font-size:14px;color:#a3c1d1;box-shadow:none}
:root[data-theme="space"] #customer-dashboard .history-help>summary{padding:4px 0;min-height:30px;cursor:pointer;font-weight:400}
:root[data-theme="space"] #customer-dashboard .history-help p{font-size:14px;max-width:900px}
:root[data-theme="space"] .history-console{display:grid;grid-template-columns:220px minmax(0,1fr);border:1px solid #8bc6db55;background:linear-gradient(120deg,#112b3a,#0a1b2c 70%,#162239);box-shadow:0 0 0 5px #7096ac0d;min-height:330px;margin-top:6px}
:root[data-theme="space"] #customer-dashboard .history-rail{display:block;padding:18px 12px;background:linear-gradient(110deg,#233c4c99,#102737);border-right:1px solid #89cde44d;min-width:0}
:root[data-theme="space"] .history-rail>.eyebrow{font-size:14px;letter-spacing:.14em;margin:3px 6px 19px}
:root[data-theme="space"] .history-rail>label{display:block;font-size:14px;margin:0 6px 7px}
:root[data-theme="space"] #customer-dashboard #history-unit-search{width:100%;min-width:0;box-sizing:border-box;font-size:14px;min-height:38px;padding:8px;margin:0 0 14px}
:root[data-theme="space"] .history-unit-buttons{display:flex;flex-direction:column;gap:7px;max-height:660px;overflow:auto;scrollbar-width:thin;scrollbar-color:#638b9b #0a1c2b;padding:2px}
:root[data-theme="space"] #customer-dashboard .history-unit{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;width:100%;min-height:64px;margin:0;padding:10px 12px;white-space:normal;border:1px solid #83c1d64d;background:linear-gradient(110deg,#24415266,#142837);box-shadow:inset 0 1px #bcefff12;color:#e8f8ff;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
:root[data-theme="space"] #customer-dashboard .history-unit strong{font-size:15px;font-weight:600}
:root[data-theme="space"] #customer-dashboard .history-unit span{font-size:14px;color:#b0ccd8;line-height:1.4;overflow-wrap:anywhere}
:root[data-theme="space"] #customer-dashboard .history-unit small{font-size:14px;color:#91b6c8}
:root[data-theme="space"] #customer-dashboard .history-unit[aria-pressed="true"]{border-color:#b1f2fa;background:linear-gradient(110deg,#245e73,#15344c);box-shadow:inset 3px 0 #b6faff}
:root[data-theme="space"] .history-main{min-width:0;padding:22px}
:root[data-theme="space"] .history-selection{display:grid;grid-template-columns:1fr auto;gap:5px 18px;border-bottom:1px solid #9ad8e340;padding-bottom:17px;margin-bottom:20px}
:root[data-theme="space"] #customer-dashboard .history-selection h3{font-size:21px;font-weight:500;margin:0;letter-spacing:-.02em}
:root[data-theme="space"] #customer-dashboard .history-selection p{margin:0;font-size:14px;color:#a9c7d6;overflow-wrap:anywhere}
:root[data-theme="space"] #customer-dashboard .history-selection .history-count{grid-column:2;grid-row:1/3;align-self:center;font-size:14px;text-align:right}
:root[data-theme="space"] #customer-dashboard #history-list{display:block;margin:0}
:root[data-theme="space"] .history-month{margin:0 0 22px;min-width:0}
:root[data-theme="space"] #customer-dashboard .history-month-title{font-size:14px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#8ebbcf;line-height:1.5;margin:0 0 9px;padding-left:4px}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row{margin:0 0 5px;border-color:#73b9d237;border-radius:0;background:transparent;box-shadow:none}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>summary{display:grid;grid-template-columns:1.1fr .7fr .8fr .8fr .65fr auto;min-height:36px;font-size:14px;font-weight:400;gap:9px;padding:7px 10px;align-items:center}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row .invoice-number{font-weight:600}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row :is(.invoice-unit,.invoice-date){color:#b6d1df;overflow-wrap:anywhere}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row .invoice-total{font-variant-numeric:tabular-nums}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row .invoice-payment{font-size:14px;justify-self:start;padding:3px 6px;border:1px solid #a2c9da33;background:#133447;color:#cee5ed;text-transform:capitalize;border-radius:2px}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row[data-payment-status="paid"] .invoice-payment{color:#a7dfc9;border-color:#92cbb547}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row :is(.invoice-expand){font-size:14px;color:#a6ccdc;justify-self:end}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row[open]{background:linear-gradient(115deg,#22627b55,#17405766);border-color:#9ce1ef8c;box-shadow:inset 2px 0 #adfaff}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>.invoice-details{padding:14px 16px 17px;font-size:15px;border-top:1px solid #93d3e340}
:root[data-theme="space"] .history-no-rows:not([hidden]){display:block;padding:28px 10px;color:#b7d2de;line-height:1.6}
:root[data-theme="space"] #customer-dashboard .history-console-scope{display:block;font-size:14px;color:#91b4c5;border-top:1px solid #8fc5d52a;padding-top:14px;line-height:1.6}
:root[data-theme="space"] #customer-dashboard .history-excluded{display:none!important}
@media(max-width:1200px){:root[data-theme="space"] #customer-dashboard .history-toolbar{grid-template-columns:1.2fr 1fr 1fr}:root[data-theme="space"] .history-dates{grid-column:1/3}:root[data-theme="space"] .history-console{grid-template-columns:185px minmax(0,1fr)}:root[data-theme="space"] .history-main{padding:17px}}
@media(max-width:700px){:root[data-theme="space"] #customer-dashboard [data-dashboard-panel="history"]{padding:22px 12px}:root[data-theme="space"] #customer-dashboard .history-toolbar{grid-template-columns:1fr 1fr;gap:12px 8px}:root[data-theme="space"] .history-field:first-child{grid-column:1/-1}:root[data-theme="space"] .history-dates{grid-column:1/-1}:root[data-theme="space"] #customer-dashboard .history-reset{grid-column:1/-1;min-height:44px}:root[data-theme="space"] #customer-dashboard .history-field :is(input,select){min-height:44px}:root[data-theme="space"] .history-console{grid-template-columns:minmax(0,1fr)}:root[data-theme="space"] #customer-dashboard .history-rail{border-right:0;border-bottom:1px solid #89cde44d}:root[data-theme="space"] .history-unit-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px}:root[data-theme="space"] .history-main{padding:17px 10px}:root[data-theme="space"] .history-selection{grid-template-columns:1fr;gap:7px}:root[data-theme="space"] #customer-dashboard .history-selection .history-count{grid-column:1;grid-row:auto;text-align:left}:root[data-theme="space"] #customer-dashboard .history-selection h3{font-size:19px}:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>summary{grid-template-columns:1fr 1fr;min-height:44px;font-size:14px;gap:6px 10px}:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row .invoice-unit{display:block}:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>.invoice-details{padding:10px;font-size:14px;overflow-wrap:anywhere}}
@media print{.history-rail,.history-toolbar,.history-help{display:none!important}.history-console{display:block!important}.history-month{break-inside:avoid}}


/* Human-readable text / 2026-11-03. Keep the existing fonts and tab shapes. */
body{font-size:17px;line-height:1.6}
body :is(p,li,dd){line-height:1.65}
body :is(input,select,textarea){font-size:16px!important;line-height:1.45}
body :is(button,.button){line-height:1.4}
body :is(.eyebrow,.badge){letter-spacing:.07em}
:root[data-theme="space"] .request-notice span{color:#c8dce8}
body :is(input,select,textarea,button,a,summary):focus-visible{outline:2px solid currentColor;outline-offset:3px}
#customer-dashboard :is(.invoice-row,.equipment-row)>summary{line-height:1.45}
#customer-dashboard :is(.invoice-details,.vehicle-insights)>p{font-size:16px;line-height:1.65}
#customer-dashboard .dashboard-nav{flex-wrap:wrap}
#customer-dashboard .dashboard-nav button{font-size:17px;min-height:46px}
#customer-dashboard .history-statements{padding:0;margin:16px 0;border:1px solid #7896a3;background:transparent;border-radius:0;box-shadow:none}
#customer-dashboard .history-statements>summary{display:flex;align-items:center;gap:16px;list-style:none;cursor:pointer;padding:12px 16px;font-size:17px;font-weight:600;min-height:48px;box-sizing:border-box}
#customer-dashboard .history-statements>summary::-webkit-details-marker{display:none}
#customer-dashboard .history-statements>summary:after{content:'+';margin-left:auto;font-size:21px;font-weight:400}
#customer-dashboard .history-statements[open]>summary:after{content:'−'}
#customer-dashboard .history-statements .badge{font-size:14px;padding:3px 8px;letter-spacing:0;font-weight:400}
#customer-dashboard .history-statements-content{padding:0 16px 14px}
#customer-dashboard .history-statements-content p{max-width:76ch;font-size:16px;margin:10px 0}
:root[data-theme="space"] #customer-dashboard .history-statements{border-color:#83c7db55;background:linear-gradient(110deg,#1a374a80,#10243466);color:#e6f3fa}
:root[data-theme="space"] #customer-dashboard .history-statements .badge{color:#c0d9e5;background:transparent;border-color:#8fc4d955}
:root[data-theme="space"] #customer-dashboard .history-toolbar{grid-template-columns:1.15fr 1fr 1fr;gap:14px 16px}
:root[data-theme="space"] #customer-dashboard .history-dates{grid-column:1/3}
:root[data-theme="space"] #customer-dashboard .history-field :is(input,select){min-height:46px;padding:10px}
:root[data-theme="space"] #customer-dashboard .history-reset{min-height:46px;font-size:16px}
:root[data-theme="space"] #customer-dashboard .history-field label{font-size:15px;color:#c7dfeb}
:root[data-theme="space"] .history-console{grid-template-columns:240px minmax(0,1fr)}
:root[data-theme="space"] #customer-dashboard :is(.history-unit,.briefing-unit) strong{font-size:16px}
:root[data-theme="space"] #customer-dashboard :is(.history-unit,.briefing-unit) span{font-size:14px;line-height:1.45;color:#c3dbe6}
:root[data-theme="space"] #customer-dashboard .history-unit small{font-size:14px;color:#b7d3e1}
:root[data-theme="space"] #customer-dashboard .history-selection p{font-size:15px;color:#c1dbe9}
:root[data-theme="space"] #customer-dashboard .history-selection .history-count{font-size:14px}
:root[data-theme="space"] #customer-dashboard .history-month-title{font-size:14px;color:#b2d5e6;letter-spacing:.06em}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>summary{font-size:15px;min-height:44px;grid-template-columns:1.15fr .8fr .8fr .8fr .7fr auto;gap:10px;padding:9px 12px}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row :is(.invoice-payment,.invoice-expand){font-size:14px}
:root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>.invoice-details{font-size:16px;line-height:1.65}
:root[data-theme="space"] #customer-dashboard :is(.history-help,.history-help p,.history-console-scope){font-size:14px;color:#b8d2e0}
:root[data-theme="space"] #customer-dashboard .history-console-scope{max-width:76ch}
@media(max-width:1050px){
 :root[data-theme="space"] .history-console{grid-template-columns:205px minmax(0,1fr)}
 :root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>summary{grid-template-columns:1.1fr 1fr 1fr;gap:6px 12px}
 :root[data-theme="space"] #customer-dashboard .history-month>.invoice-row .invoice-expand{justify-self:end}
}
@media(max-width:700px){
 #customer-dashboard .dashboard-nav{gap:6px}
 #customer-dashboard .dashboard-nav button{font-size:16px;padding:10px 12px}
 #customer-dashboard .history-statements>summary{flex-wrap:wrap;gap:8px;padding:12px;font-size:16px}
 :root[data-theme="space"] #customer-dashboard .history-toolbar{grid-template-columns:minmax(0,1fr);gap:14px}
 :root[data-theme="space"] #customer-dashboard .history-toolbar>.history-field{grid-column:1/-1}
 :root[data-theme="space"] #customer-dashboard .history-dates{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 :root[data-theme="space"] .history-console{grid-template-columns:minmax(0,1fr)}
 :root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>summary{grid-template-columns:1fr 1fr;font-size:15px}
 :root[data-theme="space"] #customer-dashboard .history-selection{grid-template-columns:minmax(0,1fr)}
 :root[data-theme="space"] #customer-dashboard .history-selection .history-count{grid-column:1;grid-row:auto;text-align:left}
 :root[data-theme="space"] #customer-dashboard .history-month>.invoice-row>.invoice-details{font-size:16px;overflow-wrap:anywhere}
}


#customer-dashboard .statement-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;padding:12px 0}
#customer-dashboard .statement-form label{display:block;margin-bottom:7px;font-size:15px}
#customer-dashboard .statement-form :is(input,select){width:100%;max-width:none;box-sizing:border-box;margin:0;min-width:0;min-height:46px}
#customer-dashboard .statement-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}
#customer-dashboard .statement-actions button{font-size:16px;min-height:44px;margin:0}
#customer-dashboard .statement-status{max-width:none!important}
#customer-dashboard .statement-output{border-top:1px solid #829bab66;margin-top:14px;padding-top:16px}
#customer-dashboard .statement-output:empty{display:none}
#customer-dashboard .statement-output h3{font-size:24px;margin:0}
#customer-dashboard .statement-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
#customer-dashboard .statement-totals>div{padding:16px;border:1px solid #829bab66;display:flex;flex-direction:column;gap:10px}
#customer-dashboard .statement-totals span{font-size:15px}
#customer-dashboard .statement-totals strong{font-size:23px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#customer-dashboard .statement-warning{border-left:3px solid #d3a857;padding:10px 14px}
#customer-dashboard .statement-table-wrap{overflow-x:auto;max-width:100%}
#customer-dashboard .statement-table{width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}
#customer-dashboard .statement-table caption{text-align:left;padding:14px 0;font-size:17px;font-weight:600}
#customer-dashboard .statement-table :is(th,td){padding:12px 10px;border-bottom:1px solid #829bab55;text-align:right;white-space:nowrap}
#customer-dashboard .statement-table :is(th,td):first-child{text-align:left}
#customer-dashboard .statement-invoice{background:transparent;border:0;box-shadow:none;clip-path:none;color:inherit;text-decoration:underline;text-underline-offset:3px;padding:6px;margin:0;font-size:15px}
.statement-adjustment{display:block;font-size:14px;margin-top:4px}
#statement-print{display:none}
@media(max-width:700px){#customer-dashboard .statement-form{grid-template-columns:minmax(0,1fr)}#customer-dashboard .statement-totals{grid-template-columns:minmax(0,1fr)}#customer-dashboard .statement-actions button{flex:1 1 150px}}
@media print{
 @page{size:letter portrait;margin:16mm}
 body.printing-statement>*{display:none!important}
 body.printing-statement>#statement-print{display:block!important;color:#132535!important;background:#fff!important;font:11pt/1.5 Arial,sans-serif}
 #statement-print *{color:#132535!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important}
 #statement-print .statement-print-brand{font-size:16pt;font-weight:700;border-bottom:2px solid #346a80;padding-bottom:8px}
 #statement-print h3{font-size:18pt;margin:10px 0}
 #statement-print .statement-totals{display:flex;gap:14px;border-block:1px solid #7b929c;padding:12px 0}
 #statement-print .statement-totals>div{flex:1;display:flex;flex-direction:column}
 #statement-print .statement-totals strong{font-size:14pt}
 #statement-print .statement-table-wrap{overflow:visible}
 #statement-print table{width:100%;border-collapse:collapse;font-size:10pt}
 #statement-print caption{text-align:left;font-weight:700;margin:10px 0}
 #statement-print :is(th,td){text-align:right;padding:7px 4px;border-bottom:1px solid #bcc8ce}
 #statement-print :is(th,td):first-child{text-align:left}
 #statement-print thead{display:table-header-group}
 #statement-print tr{break-inside:avoid}
 #statement-print button{font:inherit;border:0;padding:0;text-decoration:none;clip-path:none}
}

#customer-fleet-tools select,#claimed-company{font:inherit;font-size:16px;letter-spacing:normal;width:min(100%,480px);min-height:46px}#fleet-request-form[hidden],#customer-fleet-tools[hidden]{display:none}