:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4f7fb;background:#040d16;--panel:#091827;--line:#17324a;--muted:#8fa1b3;--accent:#46d3ff;--green:#5de6b0;--warn:#ffd166}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 80% 0,#103150 0,transparent 28%),linear-gradient(180deg,#03101c,#06111b 45%,#02070c)}button,input{font:inherit}.wrap{width:min(1120px,calc(100% - 28px));margin:auto}.top{display:flex;justify-content:space-between;align-items:center;padding:22px 0}.brand{font-size:22px;font-weight:800}.brand span{color:var(--accent)}.pill{border:1px solid var(--line);background:#091827b8;color:#cdd9e5;padding:9px 12px;border-radius:999px}.hero{padding:68px 0 42px;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}.hero h1{font-size:clamp(44px,7vw,78px);line-height:.98;margin:0 0 20px}.hero p{font-size:19px;color:#a8bacb;line-height:1.6}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{border:0;border-radius:16px;padding:14px 18px;font-weight:750;cursor:pointer;background:linear-gradient(135deg,#48dcff,#4f91ff);color:#00101c}.btn.secondary{background:#0c1c2c;color:#eef6ff;border:1px solid var(--line)}.btn.danger{background:#2a1118;color:#ffb8c3;border:1px solid #62303b}.carCard,.card{background:linear-gradient(160deg,#0b2034cc,#07131fcc);border:1px solid #1c3b55;border-radius:28px;box-shadow:0 30px 80px #0008}.carCard{padding:22px}.carCard img{width:100%;border-radius:22px;background:#fff;display:block}.small{font-size:13px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{padding:20px}.feature b{display:block;font-size:17px;margin-bottom:8px}.appShell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.side{padding:26px 18px;border-right:1px solid var(--line);background:#06111bd9;position:sticky;top:0;height:100vh}.nav{display:grid;gap:8px;margin-top:32px}.nav button{background:transparent;border:0;text-align:left;color:#b7c5d3;padding:12px;border-radius:12px;cursor:pointer}.nav button.active,.nav button:hover{background:#102538;color:white}.main{padding:28px}.headrow{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:24px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{padding:18px}.stat strong{display:block;font-size:28px;margin-top:8px}.vehicleList{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.vehicle{padding:18px;cursor:pointer}.vehicle:hover{border-color:#3a7aa6}.vehicle img{width:100%;border-radius:18px;background:white}.modal{position:fixed;inset:0;background:#000a;display:grid;place-items:center;padding:18px;z-index:20}.modal .box{width:min(520px,100%);background:#081725;border:1px solid var(--line);border-radius:24px;padding:24px}.field{display:grid;gap:7px;margin:14px 0}.field input{width:100%;padding:13px 14px;border-radius:12px;border:1px solid #24445d;background:#05111c;color:white}.steps{display:flex;gap:8px;margin:12px 0 18px}.dot{height:6px;flex:1;background:#173149;border-radius:99px}.dot.on{background:var(--accent)}.notice{padding:13px;border-radius:13px;background:#132437;border:1px solid #29445d;color:#b9c8d7}.ok{color:var(--green)}.warn{color:var(--warn)}.empty{padding:42px;text-align:center;color:#91a2b2}.dashHero{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dashHero .carCard img{max-height:330px;object-fit:contain}.big{font-size:56px;font-weight:800}.statusline{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.tag{padding:8px 10px;border-radius:999px;background:#102438;border:1px solid #20415c;color:#c6d6e3}.footer{padding:40px 0;color:#74899b;text-align:center}@media(max-width:850px){.hero,.dashHero{grid-template-columns:1fr}.grid,.cards{grid-template-columns:1fr 1fr}.appShell{display:block}.side{height:auto;position:static;border-right:0;border-bottom:1px solid var(--line)}.nav{display:flex;overflow:auto}.vehicleList{grid-template-columns:1fr}}@media(max-width:520px){.grid,.cards{grid-template-columns:1fr}.hero{padding-top:35px}.main{padding:18px}.top{padding:16px 0}.side{padding:18px}}
.roleBadge{display:inline-flex;align-items:center;gap:7px;border:1px solid #265272;background:#0b2134;color:#bbd8ed;padding:7px 10px;border-radius:999px;font-size:12px;margin-top:8px}.liveBadge{color:#68efb8}.stateRows{display:grid;gap:10px;margin-top:16px}.stateRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #163149}.stateRow:last-child{border-bottom:0}.controlPanel{margin-top:18px;padding:18px}.controlGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.btn.good{background:linear-gradient(135deg,#6af2ba,#48c78e);color:#02120c}.btn.off{background:#15212b;color:#c8d3dc;border:1px solid #314452}.fresh{color:#5de6b0}.stale{color:#ffd166}.connectorErr{white-space:pre-wrap;overflow-wrap:anywhere}.adminHint{border-color:#315e7b;background:#0b2234}.realCard{box-shadow:0 25px 80px #00d7a31c}.divider{height:1px;background:#17324a;margin:18px 0}@media(max-width:520px){.controlGrid{grid-template-columns:1fr}}

/* Vehicle colour selector */
.carColorPreview{width:100%;max-height:230px;object-fit:contain;border-radius:18px;background:#fff;margin:4px 0 10px}.appearancePanel{margin-top:18px;padding:18px}.colorChoices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:10px 0 14px}.colorChoice{border:1px solid #27445a;background:#081724;color:#dce8f2;border-radius:14px;padding:10px 6px;display:grid;place-items:center;gap:7px;cursor:pointer;font-size:12px}.colorChoice:hover{border-color:#4e829f}.colorChoice.active{border-color:var(--accent);box-shadow:0 0 0 2px #46d3ff24;background:#0e2638}.colorDot{width:28px;height:28px;border-radius:999px;border:2px solid #ffffff55;box-shadow:inset 0 2px 5px #fff3,0 3px 9px #0007}.color-blue{background:#1777d5}.color-black{background:#191c20}.color-red{background:#d7352f}.color-green{background:#30a94a}.color-white{background:#f3f3ee}.appearancePanel #appearanceMsg{margin-left:10px}.vehicle img{transition:.25s transform}.vehicle:hover img{transform:scale(1.015)}
@media(max-width:600px){.colorChoices{grid-template-columns:repeat(5,1fr);gap:5px}.colorChoice{padding:8px 2px;font-size:10px}.colorDot{width:24px;height:24px}}


/* Soutien facultatif PayPal — 0.4 */
a.supportBtn,a.supportPrimary{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.supportStrip{margin:28px 0 8px;padding:22px 24px;border:1px solid #305071;border-radius:24px;background:linear-gradient(135deg,#0b2034d9,#101b31d9);display:flex;justify-content:space-between;align-items:center;gap:24px}.supportStrip h2{margin:4px 0 6px}.supportStrip p{margin:0;color:#a8bacb;max-width:680px;line-height:1.55}.supportPrimary{margin-top:18px;background:linear-gradient(135deg,#ffd76a,#ffb74e)!important;color:#211300!important;white-space:nowrap}.supportStrip .supportPrimary{margin-top:0}.supportBox p{color:#b8c7d5;line-height:1.6}.supportBox .supportPrimary{width:100%}@media(max-width:700px){.supportStrip{align-items:flex-start;flex-direction:column}.supportStrip .supportPrimary{width:100%}}

/* 0.5 Vehicle Control */
.wide{width:100%}.backLink{border:0;background:transparent;color:#8fb5cf;padding:0 0 8px;cursor:pointer}.backLink:hover{color:#fff}.vehicleTabs{display:flex;gap:8px;overflow:auto;padding:3px 0 18px;scrollbar-width:none}.vehicleTabs button{white-space:nowrap;border:1px solid var(--line);background:#081724;color:#9db1c2;border-radius:999px;padding:10px 14px;cursor:pointer}.vehicleTabs button.active{background:#12314a;color:#fff;border-color:#2f668d}.vehiclePane{display:none}.vehiclePane.active{display:block}.compactCards{margin-top:14px}.batteryCard .big span{font-size:24px}.quickCard{margin-top:18px;padding:20px}.quickActions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sectionGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.controlPanel,.climateCard{padding:20px}.field select,.field input[type=time],.field input[type=number],select{width:100%;padding:13px 14px;border-radius:12px;border:1px solid #24445d;background:#05111c;color:white}.checkRow{display:flex;align-items:center;gap:10px;margin:14px 0;color:#cbd7e2}.checkRow input{width:18px;height:18px}.timeGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.timeGrid label{display:grid;gap:7px;color:#9fb1c1;font-size:13px}.climateCard{text-align:center}.climateOrb{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;margin:12px auto 18px;font-size:42px;background:#0b1f30;border:1px solid #24455d;box-shadow:0 0 0 10px #0c20301a}.climateOrb.on{box-shadow:0 0 50px #46d3ff55,0 0 0 10px #46d3ff17;border-color:#46d3ff}.geoBox{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:13px;border-radius:16px;background:#071725;border:1px solid #17364e}.miniStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.miniStats>div{padding:14px;background:#071522;border:1px solid #16324a;border-radius:16px}.miniStats span{display:block;color:#8399aa;font-size:12px}.miniStats strong{display:block;margin-top:6px}.barChart{height:130px;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;margin:20px 0}.barItem{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.barValue{width:70%;min-height:3px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#5de6b0,#38a8f0)}.barItem span{font-size:11px;color:#8095a6}.sessionList{display:grid}.sessionRow{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #17324a}.sessionRow>div{display:grid;gap:3px}.sessionRow span{color:#8fa1b3;font-size:12px}.diagnosticBox{white-space:pre-wrap;overflow:auto;max-height:380px;background:#030a10;border:1px solid #17324a;border-radius:14px;padding:14px;color:#b8d2e5}.btn:disabled{opacity:.45;cursor:not-allowed}.supportPrimary{background:linear-gradient(135deg,#ffd76a,#ffb74e)!important;color:#211300!important}

/* Mobile onboarding: content scrolls, CTA remains reachable above keyboard. */
.modal{align-items:center}.modal .box{max-height:min(92dvh,760px);display:flex;flex-direction:column;overflow:hidden}.modalScroll{overflow-y:auto;overscroll-behavior:contain;padding-right:2px;min-height:0}.modalActions{position:sticky;bottom:0;padding-top:12px;margin-top:auto;background:linear-gradient(180deg,transparent,#081725 24%);z-index:2}.modalActions .btn{min-height:50px}
@media(max-width:850px){.sectionGrid{grid-template-columns:1fr}.quickActions{grid-template-columns:1fr 1fr}.miniStats{grid-template-columns:1fr 1fr}.geoBox{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.quickActions,.timeGrid,.miniStats{grid-template-columns:1fr}.vehicleTabs{margin-left:-4px;margin-right:-4px}.modal{padding:8px;align-items:flex-end}.modal .box{width:100%;max-height:94dvh;border-radius:22px 22px 12px 12px;padding:18px}.modalActions{padding-bottom:max(2px,env(safe-area-inset-bottom))}.sessionRow{align-items:flex-start;flex-direction:column}.barChart{gap:4px}.geoBox .btn{width:100%}}

/* 1.0 — Assistant véhicule: scroll interne + CTA toujours visible */
.modal{
  overflow:hidden;
  align-items:center;
}
.modal .box{
  width:min(560px,100%);
  max-height:calc(100dvh - 32px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.modal .headrow,
.modal .steps,
.modal .modalActions{
  flex:0 0 auto;
}
.modalScroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding-right:6px;
  scrollbar-gutter:stable;
}
.modalActions{
  position:relative;
  bottom:auto;
  margin-top:12px;
  padding-top:14px;
  border-top:1px solid #17324a;
  background:#081725;
  z-index:3;
}
.modalActions .btn{
  width:100%;
  min-height:52px;
}
.modal .carColorPreview{
  max-height:160px;
  margin-bottom:8px;
}
.modal .field:first-child{margin-top:4px}

@media(max-height:760px){
  .modal{padding:10px}
  .modal .box{max-height:calc(100dvh - 20px);padding:18px}
  .modal .headrow{margin-bottom:14px}
  .modal .steps{margin:8px 0 12px}
  .modal .field{margin:10px 0}
  .modal .carColorPreview{max-height:125px}
}

@media(max-width:520px){
  .modal{
    padding:0;
    align-items:flex-end;
  }
  .modal .box{
    width:100%;
    max-height:100dvh;
    height:100dvh;
    border-radius:20px 20px 0 0;
    padding:16px 16px max(12px,env(safe-area-inset-bottom));
  }
  .modal .headrow{margin-bottom:12px}
  .modal .headrow h2{font-size:22px;margin:0}
  .modal .steps{margin:8px 0 12px}
  .modalScroll{padding-right:2px;padding-bottom:8px}
  .modalActions{
    margin-left:-16px;
    margin-right:-16px;
    margin-bottom:calc(-1 * max(12px,env(safe-area-inset-bottom)));
    padding:12px 16px max(12px,env(safe-area-inset-bottom));
    box-shadow:0 -14px 28px #02070c99;
  }
  .modal .carColorPreview{max-height:120px}
  .modal .colorChoices{margin-bottom:8px}
}

/* 1.3 — parity juld.site + soutien */
.supportCompact{padding:10px 13px!important;border:1px solid #6a5630!important;background:linear-gradient(135deg,#ffe08a,#ffbd59)!important;color:#211300!important;text-decoration:none!important}.supportConfigHint code{color:#d9ecff;background:#07131f;padding:2px 5px;border-radius:6px}.freshnessHint{font-size:11px;color:#7890a3}
@media(max-width:520px){.headrow>.actions .supportCompact{width:100%}}

/* 1.4 — Public Beta Ready */
.betaBadge{margin-left:8px;border-color:#806728;background:#2a2110;color:#ffe08a}.betaNotice{margin:14px 0 8px;padding:14px 16px;border:1px solid #5c4a24;border-radius:16px;background:#211a0d;color:#e8d7a8;display:flex;gap:10px;align-items:flex-start}.betaNotice span{color:#cdbf99;line-height:1.5}.footerLinks{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:12px}.footerLinks button,.textButton{border:0;background:transparent;color:#8fb5cf;text-decoration:underline;cursor:pointer;padding:4px}.footerLinks button:hover,.textButton:hover{color:#fff}.legalPage{padding-top:26px;padding-bottom:50px}.legalCard{max-width:880px;margin:24px auto;padding:28px}.legalText{line-height:1.7;color:#c7d4de}.legalText h2{margin-top:26px;color:#fff}.legalText a{color:#7ddcff}.dangerZone{border-color:#5c2d36;background:#1a0d12}.dangerZone .off{margin-top:10px}.btn[disabled]{opacity:.45;cursor:not-allowed;filter:grayscale(.4)}
@media(max-width:520px){.betaNotice{flex-direction:column}.legalCard{padding:20px}.footerLinks{gap:8px}}
.authLinks{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}

/* 1.5 — Tableau de bord une seule page, inspiré de l'ancien e208.juld.site */
html{scroll-behavior:smooth;scroll-padding-top:84px}
.legacyDashboard{width:min(780px,100%);margin:0 auto;padding-bottom:48px}
.legacyTopline{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
.legacyTopline h1{font-size:32px;letter-spacing:-.045em;margin:3px 0 5px}
.legacyJumpNav{position:sticky;top:8px;z-index:12;display:flex;gap:7px;overflow-x:auto;padding:7px;margin:0 0 16px;background:#04101de8;border:1px solid #18364d;border-radius:18px;backdrop-filter:blur(14px);scrollbar-width:none;box-shadow:0 12px 28px #0007}
.legacyJumpNav::-webkit-scrollbar{display:none}.legacyJumpNav a{flex:0 0 auto;text-decoration:none;color:#9fb5c7;border:1px solid transparent;border-radius:12px;padding:9px 11px;font-size:12px;font-weight:750}.legacyJumpNav a:hover{color:#fff;background:#10283b;border-color:#28516e}
.legacySection{scroll-margin-top:88px;margin:0 0 24px}.legacySectionTitle{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:8px 4px 4px}.legacySectionTitle h2{font-size:30px;letter-spacing:-.04em;margin:2px 0}
.legacyHero{padding:18px;background:radial-gradient(circle at 72% 10%,#174e7438,transparent 36%),linear-gradient(155deg,#10283c,#06121d);border-color:#294b65;overflow:hidden}
.legacyHeroStatus{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.legacyCarVisual{height:245px;margin:12px 0 4px;border-radius:20px;overflow:hidden;background:#f5f7fa;border:1px solid #41627a;box-shadow:inset 0 0 0 1px #fff6,0 18px 34px #0007}.legacyCarVisual img{width:100%;height:100%;object-fit:contain;display:block}
.legacyBatteryRow{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-top:10px}.legacyBatteryValue{font-size:64px;line-height:.9;font-weight:850;letter-spacing:-.065em}.legacyBatteryValue small{font-size:24px;color:#91a5b7;margin-left:3px}.legacyRange{text-align:right;display:flex;flex-direction:column}.legacyRange strong{font-size:26px}.legacyBatteryTrack{height:9px;margin:16px 0 18px;background:#142638;border:1px solid #24445d;border-radius:99px;overflow:hidden}.legacyBatteryTrack span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#36a9ff,#5de6b0);box-shadow:0 0 15px #46d3ff66;transition:width .35s ease}
.legacyStatusGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.legacyStatus{display:flex;align-items:center;gap:10px;min-width:0;padding:13px;border-radius:17px;background:linear-gradient(145deg,#ffffff0a,#ffffff03);border:1px solid #203d55}.legacyStatus>span{font-size:20px}.legacyStatus>div{min-width:0;display:flex;flex-direction:column;gap:3px}.legacyStatus small{color:#859bae;font-size:10px}.legacyStatus strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.legacyReadyBtn{width:100%;border:1px solid #3a80a8;border-radius:21px;padding:16px;margin:13px 0 11px;background:linear-gradient(135deg,#17466a,#0a1c2b);color:#fff;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:13px;text-align:left;cursor:pointer;box-shadow:0 14px 32px #0004}.legacyReadyBtn:hover{border-color:#55c8ff}.legacyReadyBtn>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.legacyReadyBtn small{color:#a9c7db}.legacyReadyBtn>span:last-child{font-size:30px;color:#71d6ff}.legacyReadyIcon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#5ccfff,#2f87cf);font-size:21px}
.legacyQuickGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.legacyQuick{border:1px solid #203d55;background:linear-gradient(145deg,#0d2132,#07131e);border-radius:18px;padding:14px;color:#edf7ff;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;cursor:pointer}.legacyQuick>span{font-size:23px;margin-bottom:5px}.legacyQuick strong{font-size:13px}.legacyQuick small{font-size:10px;color:#859bae}.legacyQuick:hover{border-color:#3a7aa6;background:#10283b}.legacyMessage{min-height:17px;margin:7px 2px}
.legacyTwoCol{display:grid;grid-template-columns:1fr 1fr;gap:14px}.legacyControlCard{padding:19px}.legacyControlCard h3{margin:5px 0 12px;font-size:20px}.legacyChargeSummary{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:16px;margin-bottom:16px}.legacyChargeRing{width:118px;height:118px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#52dca8 0 var(--battery),#173149 var(--battery) 360deg);position:relative}.legacyChargeRing:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#081522}.legacyChargeRing>div{position:relative;display:flex;flex-direction:column;align-items:center}.legacyChargeRing strong{font-size:25px}.legacyChargeRing small{color:#879cad}
.legacyClimateCard{margin:0;padding:20px}.legacyClimateCard .climateOrb{width:145px;height:145px}.legacySupportCard{margin-top:14px;padding:20px;border:1px solid #69552a;border-radius:22px;background:linear-gradient(135deg,#201b0d,#101828);display:flex;justify-content:space-between;align-items:center;gap:18px}.legacySupportCard h3{margin:4px 0}.legacySupportCard p{margin:0;color:#b9c7d2;line-height:1.5}.legacySupportCard .supportPrimary{margin:0;white-space:nowrap}
.legacyDashboard .geoBox{margin-top:14px}.legacyDashboard .miniStats{grid-template-columns:repeat(3,1fr)}
@media(max-width:850px){.legacyDashboard{max-width:680px}.legacyTwoCol{grid-template-columns:1fr}.legacyQuickGrid{grid-template-columns:1fr 1fr}.legacyCarVisual{height:220px}}
@media(max-width:520px){html{scroll-padding-top:74px}.main{padding:14px}.legacyDashboard{padding-bottom:28px}.legacyTopline{flex-direction:column;gap:8px}.legacyTopline>.actions{width:100%}.legacyTopline>.actions>*{flex:1}.legacyJumpNav{top:6px;margin-left:-3px;margin-right:-3px}.legacyCarVisual{height:180px;margin-top:10px}.legacyBatteryValue{font-size:54px}.legacyRange strong{font-size:21px}.legacyStatusGrid{grid-template-columns:1fr 1fr}.legacyStatus{padding:11px}.legacyReadyBtn{grid-template-columns:42px 1fr auto;padding:14px}.legacyReadyIcon{width:42px;height:42px}.legacyQuickGrid{grid-template-columns:1fr}.legacyQuick{display:grid;grid-template-columns:35px 1fr;column-gap:8px}.legacyQuick>span{grid-row:1/3;margin:0}.legacyQuick small{grid-column:2}.legacyTwoCol{gap:10px}.legacySection{margin-bottom:19px}.legacySectionTitle h2{font-size:27px}.legacyChargeSummary{grid-template-columns:104px 1fr}.legacyChargeRing{width:102px;height:102px}.legacyClimateCard .climateOrb{width:130px;height:130px}.legacySupportCard{align-items:flex-start;flex-direction:column}.legacySupportCard .supportPrimary{width:100%}.legacyDashboard .miniStats{grid-template-columns:1fr 1fr}.legacyDashboard .geoBox .btn{width:100%}}
@media(max-width:390px){.legacyStatusGrid{grid-template-columns:1fr}.legacyCarVisual{height:155px}.legacyBatteryValue{font-size:48px}.legacyDashboard .miniStats{grid-template-columns:1fr}}

/* V1.6.1 — statistiques privées administrateur */
.adminStatsCards{margin-top:8px}.adminStatsCards .stat p{margin:8px 0 0;color:var(--muted);font-size:13px}.adminStatsCards .adminStatPrimary{border-color:#2e668a;background:linear-gradient(160deg,#0c2940dd,#071621dd)}.adminStatsCards .adminStatPrimary strong{font-size:42px}.adminStatsNote{margin-top:18px}.adminStatsNote h2{margin-top:0}@media(max-width:700px){.adminStatsCards{grid-template-columns:1fr 1fr}}@media(max-width:460px){.adminStatsCards{grid-template-columns:1fr}}

/* V1.7 — Smart Energy : ETA observée, Prête à partir, alertes et stats personnelles */
.smartSection{margin-top:4px}
.smartTag.ready{border-color:#2a795f;background:#0d2c24;color:#8ff1c8}.smartTag.preparing{border-color:#2f668e;background:#0b2740;color:#83d8ff}.smartTag.attention{border-color:#8a6030;background:#2a1c0b;color:#ffd083}.smartTag.unknown{opacity:.75}
.smartGrid{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;margin-bottom:12px}.smartReady,.smartCharge,.smartAlerts,.smartStats{padding:18px}.smartReady{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:14px;border-color:#254b63}.smartReady.ready{border-color:#276f5b;background:linear-gradient(145deg,#0c2b23,#081822)}.smartReady.preparing{border-color:#2e6e98;background:linear-gradient(145deg,#0b2940,#081722)}.smartReady.attention{border-color:#79542a;background:linear-gradient(145deg,#291b0b,#101822)}.smartIcon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:26px;font-weight:900;background:#ffffff0b;border:1px solid #ffffff14}.smartReady h3{font-size:22px;margin:3px 0 5px}.smartReady p{margin:0 0 5px;color:#b9c8d4}.smartCharge .smartBig{font-size:28px;font-weight:850;letter-spacing:-.035em;margin:7px 0}.smartChargeMeta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.smartChargeMeta span{border:1px solid #23445d;background:#0a1c2a;border-radius:99px;padding:6px 9px;font-size:12px;color:#d8edf9}.smartAlerts{margin-bottom:12px}.smartAlerts h3{margin:3px 0}.smartAlertList{display:grid;gap:8px}.smartAlert{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid #29465a;border-radius:14px;background:#ffffff05}.smartAlert>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-weight:900;background:#10283a}.smartAlert>div{display:flex;flex-direction:column;gap:2px}.smartAlert small{color:#93a7b6}.smartAlert.critical{border-color:#71363f;background:#241016}.smartAlert.critical>span{background:#5a202b;color:#ffd8dd}.smartAlert.warning{border-color:#72552e;background:#21170b}.smartAlert.warning>span{background:#5b401c;color:#ffe2a2}.smartAlert.ok{border-color:#26634f;background:#0c231c}.smartAlert.ok>span{background:#18533f;color:#9cf2cd}.smartMini{margin-top:12px}.smartMini>div{display:flex;flex-direction:column}.smartMini small{color:#7f97a9;margin-top:2px}.smartChartLabel{margin:16px 0 8px}.batterySpark{height:105px;display:flex;align-items:flex-end;gap:3px;padding:10px;border-radius:15px;background:#06131f;border:1px solid #19374d;overflow:hidden}.batterySpark span{min-width:3px;flex:1;max-width:10px;border-radius:5px 5px 2px 2px;background:#2f86bd;opacity:.78}.batterySpark span.charging{background:#52dca8;opacity:1}.smartEmpty{height:84px;display:grid;place-items:center;color:#7890a3;border:1px dashed #29465a;border-radius:14px;font-size:12px}.historyPeriodStats{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.historyPeriodStats span{font-size:12px;padding:7px 9px;border-radius:10px;background:#0a1a27;border:1px solid #1b394e;color:#a9bdcb}
@media(max-width:700px){.smartGrid{grid-template-columns:1fr}.smartReady,.smartCharge,.smartAlerts,.smartStats{padding:15px}}
@media(max-width:420px){.smartReady{grid-template-columns:46px 1fr}.smartIcon{width:44px;height:44px;border-radius:13px}.smartCharge .smartBig{font-size:24px}.batterySpark{gap:2px}}
