:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#eff4fc;background:#0b1120;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.container{max-width:1100px;margin:auto;padding:0 18px}.top{background:#111a2c;border-bottom:1px solid #273348}.topin{height:74px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-size:19px}.brand small{display:block;color:#94a3b8;font-size:12px;font-weight:500;margin-top:2px}.logo{width:41px;height:41px;border-radius:13px;background:linear-gradient(130deg,#247dff,#7c3aed);display:grid;place-items:center}.localpill{font-size:12px;color:#a5e7cd;background:#14392f;padding:8px 11px;border-radius:20px}.tabs{display:flex;gap:5px;margin:20px 0 24px;padding:6px;background:#141e30;border:1px solid #2b374b;border-radius:15px}.tab{border:0;color:#9facbf;background:transparent;border-radius:10px;flex:1;padding:12px 8px;font-size:14px;font-weight:650}.tab.active{background:#2a4eb7;color:white}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.heading h1{font-size:26px;margin:0}.muted{color:#9caac0}.sub{font-size:13px;color:#9caac0;margin:6px 0 0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:#141e30;border:1px solid #2b374b;border-radius:18px;padding:21px;min-width:0}.card h2{font-size:17px;margin:0 0 15px}.statlabel{font-size:13px;color:#9caac0}.stat{font-weight:750;font-size:30px;margin:10px 0 7px;letter-spacing:-.7px}.stat small{font-size:15px;color:#b7c2d3}.detail{font-size:13px;color:#aab7c9;line-height:1.6}.accent{color:#67a3ff}.orange{color:#ffbd80}.green{color:#7be3b2}.red{color:#ff9c9c}.btn{border:0;background:#3b70e8;color:white;border-radius:10px;padding:11px 16px;font-weight:700}.btn.secondary{background:#253650;color:#e8efff}.btn.warn{background:#5a2933;color:#ffd5d5}.btn:focus-visible,.tab:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #70adff;outline-offset:2px}.buttonrow{display:flex;gap:10px;flex-wrap:wrap}.chart{width:100%;overflow-x:auto}.chart svg{display:block;width:100%;height:230px;min-width:350px}.legend{color:#a6b5c8;font-size:12px;margin-top:9px}.section{margin-top:16px}.items{display:flex;flex-direction:column;gap:10px}.item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;border-bottom:1px solid #293448;font-size:14px}.item:last-child{border-bottom:0}.badge{border:1px solid #3b5069;background:#263750;color:#c7d8f1;border-radius:100px;padding:4px 9px;font-size:12px}.callout{border:1px solid #415577;border-radius:14px;background:#1b2c49;padding:16px;font-size:14px;color:#d5e3f5;line-height:1.6;margin-bottom:15px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field label{display:block;color:#bdc9da;font-size:12px;margin-bottom:6px}.field input,.field select{width:100%;background:#0c1525;border:1px solid #364763;border-radius:10px;padding:11px;color:#f2f6ff}.hint{font-size:12px;color:#9facbf;line-height:1.6;margin-top:10px}footer{color:#718299;font-size:12px;text-align:center;margin:32px 0 85px}.tiny{font-size:11px}.empty{text-align:center;padding:45px 10px;color:#a5b3c5}.bigicon{font-size:34px;margin-bottom:12px}.meter{background:#243348;border-radius:50px;height:8px;overflow:hidden;margin:10px 0}.meter span{display:block;background:#6a9dff;height:100%;border-radius:50px}.switch{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.switch button{border:1px solid #394762;background:#1e2c41;color:#bbc9dc;padding:6px 10px;border-radius:9px;font-size:12px}.switch button.selected{background:#355fce;color:white}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:11px;text-align:left;border-bottom:1px solid #2d3c52}th{color:#96a9c2;font-weight:600}#toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);background:#3161bf;color:#fff;border-radius:12px;padding:13px 18px;box-shadow:0 14px 30px #0008;display:none;max-width:calc(100% - 32px);z-index:9;font-size:13px}.optional{opacity:.85}@media(max-width:760px){.grid,.grid.two{grid-template-columns:1fr 1fr}.card{padding:16px}.stat{font-size:25px}.heading h1{font-size:22px}.formgrid{grid-template-columns:1fr}.tabs{position:fixed;bottom:0;left:0;right:0;margin:0;padding:7px 5px calc(7px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;z-index:5;background:#111a2c}.tab{font-size:11px;padding:8px 2px}.tab span{display:block;margin-top:5px}.topin{height:65px}.localpill{font-size:10px}main{padding-top:6px}footer{margin-bottom:95px}}@media(max-width:430px){.grid,.grid.two{grid-template-columns:1fr}.stat{font-size:29px}}

/* HomePilot v1 : identité, navigation et modules, sans supprimer le CSS ÉnergiePilot. */
:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#0b1120;color:#f3f6ff}body{background:radial-gradient(ellipse at 80% -20%,rgba(65,84,154,.19),transparent 53%),#0b1120}.container{max-width:1160px}.top{background:#10192b;border-color:#27344b}.brand b{letter-spacing:-.55px}.logo{font-size:29px;font-weight:600;background:linear-gradient(135deg,#2863c8,#6558b7);color:white}.localpill{background:#15352d;color:#91dcc0}.tabs{background:#131d30;border-color:#263750;gap:7px}.tab{display:flex;align-items:center;justify-content:center;gap:9px}.navicon{font-size:20px;line-height:1}.tab.active{background:#2b4b9c}.hp-hero{border:1px solid #354b73;min-height:230px;background:linear-gradient(115deg,#1e3055 0%,#172441 58%,#131f39 100%);border-radius:24px;padding:36px 36px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;overflow:hidden;margin-bottom:20px}.hp-hero h1{font-size:clamp(27px,3.5vw,38px);margin:10px 0;letter-spacing:-1.1px;line-height:1.13}.hp-hero p{color:#c1cce0;max-width:475px;line-height:1.65;margin:0 0 22px;font-size:14px}.hp-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#9cafdf}.hp-hero-actions{display:flex;gap:9px;flex-wrap:wrap}.hp-hero-art{width:195px;height:195px;border:1px solid #ffffff19;border-radius:50%;display:grid;place-items:center;font-size:150px;color:#6889d4;opacity:.58;position:relative;flex-shrink:0}.hp-hero-art span{position:absolute;right:3px;top:16px;font-size:35px;color:#b3a7ff}.hp-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.hp-tile{background:#151f33;border:1px solid #293953;padding:19px;border-radius:18px;min-width:0;display:flex;flex-direction:column;gap:10px}.hp-tile-top{color:#aebbd0;font-size:12px;display:flex;align-items:center;gap:9px}.hp-tile-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#25375b;color:#a6c0ff;font-size:17px}.hp-tile strong{font-size:25px;letter-spacing:-.8px}.hp-tile small{font-size:11px;color:#97a9c2;line-height:1.4}.hp-split{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.hp-panel{padding:23px}.hp-panel h2{font-size:18px}.hp-panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.hp-panel-header h2{margin:6px 0 0}.hp-textbutton{background:transparent;border:0;color:#9db7ff;font-size:12px}.hp-line,.hp-listrow{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #2b394e;min-width:0}.hp-line b,.hp-listrow b{font-size:13px;display:block;font-weight:650}.hp-line small,.hp-listrow small{display:block;color:#9aabc3;font-size:11px;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.hp-dot{background:#243757;border-radius:11px;display:grid;place-items:center;width:38px;height:38px;color:#a9c3ff;flex-shrink:0}.hp-empty-inline,.hp-placeholder{color:#9eacc2;font-size:13px;line-height:1.6}.hp-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hp-shortcuts button{background:#1b2a44;border:1px solid #30425e;border-radius:13px;text-align:left;color:#eff5ff;min-height:100px;padding:14px;display:flex;flex-direction:column;gap:6px}.hp-shortcuts button span{color:#a8c3ff;font-size:21px}.hp-shortcuts button b{font-size:13px}.hp-shortcuts button small{font-size:11px;color:#9daec6}.hp-info{display:flex;gap:13px;background:#162a3c;border:1px solid #285168;padding:19px;border-radius:15px;color:#c9deeb;margin:18px 0}.hp-info>span{font-size:22px;color:#8bdfc8}.hp-info b{font-size:13px}.hp-info p{font-size:12px;line-height:1.65;margin:6px 0 0;color:#aebfd0}.hp-info-quiet{background:#152338;border-color:#2a3d59}.hp-heading{margin:14px 0 25px}.hp-heading h1{font-size:30px;margin:9px 0 8px;letter-spacing:-.7px}.hp-heading p{color:#9eacc5;font-size:14px;line-height:1.6;margin:0}.hp-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.hp-module{background:#162137;border:1px solid #2c3a53;color:#e9f1ff;text-align:left;border-radius:17px;padding:20px;display:flex;align-items:center;gap:16px;min-width:0}.hp-module:hover,.hp-shortcuts button:hover{border-color:#5981d7;background:#202e4b}.hp-module-icon{display:grid;place-items:center;background:#26395c;border-radius:14px;width:56px;height:56px;flex:none;font-size:27px;color:#b2c6f7}.hp-module-copy{min-width:0;display:flex;flex-direction:column;gap:6px;flex:1}.hp-module-copy b{font-size:15px}.hp-module-copy small{font-size:12px;color:#a4b2c8;line-height:1.45}.hp-module-status{font-size:10px;color:#96b8db;flex:none}.hp-form{display:flex;flex-direction:column;gap:13px}.hp-form label{display:flex;flex-direction:column;gap:6px;color:#c5d2e5;font-size:12px}.hp-form input,.hp-form select{width:100%;background:#10192a;border:1px solid #374961;border-radius:10px;padding:11px;color:#f2f7ff;min-width:0;color-scheme:dark}.hp-form-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hp-form .btn{align-self:flex-start}.hp-tip{font-size:11px;color:#93a6c1;margin-top:12px;line-height:1.6}.hp-grow{flex:1;min-width:0}.hp-check,.hp-iconbtn{background:#263750;border:1px solid #394a66;color:#dbe7ff;border-radius:9px;width:35px;height:35px;flex:none;font-size:19px}.hp-iconbtn{font-size:20px;background:transparent;border-color:transparent;color:#9babbd}.hp-count{font-size:13px;color:#9eacc5}.hp-details{color:#9eafc5;font-size:12px;margin-top:16px}.hp-energy-actions{grid-template-columns:repeat(3,1fr);margin-bottom:16px}.tab:focus-visible,.hp-module:focus-visible,.hp-shortcuts button:focus-visible,.hp-iconbtn:focus-visible{outline:2px solid #8aa9ff;outline-offset:3px}
@media(max-width:850px){.hp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-split{grid-template-columns:1fr}.hp-energy-actions{grid-template-columns:1fr 1fr}.hp-hero-art{width:145px;height:145px;font-size:105px}}
@media(max-width:760px){.tab{flex-direction:column;gap:2px}.tabs{z-index:9}.tab .navicon{font-size:20px}.hp-hero{padding:25px 20px;min-height:200px}.hp-hero-art{display:none}.hp-hero h1{font-size:29px}.hp-stat-grid{gap:10px}.hp-tile{padding:14px}.hp-tile strong{font-size:22px}.hp-heading h1{font-size:27px}.hp-module-grid{grid-template-columns:1fr}.hp-module{padding:14px}.hp-module-status{display:none}}
@media(max-width:410px){.hp-stat-grid{grid-template-columns:1fr 1fr}.hp-tile strong{font-size:20px}.hp-shortcuts{gap:7px}.hp-form-two{grid-template-columns:1fr}.hp-hero-actions .btn{font-size:12px}}

/* HomePilot V2.0: courses mobile first */
.shop-top,.shop-options,.shop-actions{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:12px}.shop-top label,.shop-options label{flex:1;min-width:150px;font-size:13px;color:var(--muted,#a5aec2)}.shop-top select,.shop-options select,.shop-add input{width:100%;box-sizing:border-box;min-height:44px;border:1px solid #37465b;border-radius:11px;background:#142137;color:#f1f5fa;padding:10px}.shop-add{display:flex;gap:9px;margin:16px 0}.shop-add input{flex:1;min-width:0}.shop-options .shop-inline{display:flex;align-items:center;gap:7px;min-width:175px;align-self:center}.shop-inline input{width:18px;height:18px}.shop-item{display:flex;align-items:center;gap:12px;background:#17243a;border:1px solid #2b3b53;border-radius:13px;padding:12px;margin:7px 0;min-height:48px}.shop-item small{display:block;color:#93a5bb;font-size:12px;margin-top:4px}.shop-item .hp-grow{flex:1;min-width:0}.shop-check{width:36px;height:36px;flex:none;border:1px solid #566986;border-radius:10px;background:#233753;color:#fff;font-size:24px;cursor:pointer}.shop-done b{text-decoration:line-through;color:#9ba8ba}.shop-done .shop-check{background:#287a65}.shop-rayon h3{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#a9b9ce;margin:18px 0 8px}.shop-fold{background:transparent;border:0;color:#e6ecf6;width:100%;text-align:left;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;padding:16px 2px;border-top:1px solid #304058;margin-top:16px}.shop-finish{margin-top:20px;display:flex;flex-direction:column;gap:9px}.shop-finish small{color:#a2b1c8}.shop-finish .btn{min-height:48px}.shop-item button:focus-visible,.shop-fold:focus-visible{outline:2px solid #93b4ff}
@media(max-width:550px){.shop-top,.shop-options{align-items:stretch}.shop-top>*{flex:1 1 100%}.shop-add .btn{padding-left:12px;padding-right:12px}}
