:root{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#25333b;background:#f5f6f5;font-synthesis:none;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.53}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d5b174;outline-offset:2px}.splash{height:100vh;display:grid;place-content:center;justify-items:center;color:#57636a}.logo-mark{display:grid;place-items:center;width:46px;height:46px;color:#ead09b;background:#18232c;border-radius:14px;font-weight:800;font-family:Manrope,system-ui,sans-serif;font-size:25px}.shell{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr)}.sidebar{background:#141d25;color:#d4dce0;display:flex;flex-direction:column;min-height:100vh;padding:28px 18px 20px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:4px 9px 26px}.brand-title{font-family:Manrope,system-ui,sans-serif;font-size:19px;color:white;font-weight:800;letter-spacing:.3px}.brand-title em{font-style:normal;color:#d9bd87}.brand-sub{font-size:11px;letter-spacing:1.2px;color:#92a2ab;text-transform:uppercase}.nav-heading{margin:18px 15px 11px;color:#738791;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;font-weight:800}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid transparent;border-radius:11px;background:transparent;color:#b7c5c9;text-align:left;width:100%;margin-bottom:3px;font-size:13px;font-weight:600}.nav-item:hover{background:#222e37}.nav-item.active{background:#2c3439;border-color:#4e4a3d;color:#ecd19b}.nav-symbol{font-size:18px;width:21px;text-align:center}.side-bottom{margin-top:auto;display:grid;gap:10px}.demo-side{background:#26323a;border:1px solid #3e4d53;color:#dbe4e5;border-radius:13px;padding:12px;font-size:12px;line-height:1.55}.demo-side strong{color:#f5dfb2}.switcher{display:flex;gap:5px;margin-top:9px}.switcher button{border:1px solid #50606a;background:#27343f;color:#fff;padding:6px 9px;border-radius:7px;font-size:11px;flex:1}.switcher button.on{background:#d9b87c;border-color:#d9b87c;color:#222}.profile-mini{display:flex;align-items:center;gap:10px;border-top:1px solid #324049;padding-top:16px}.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#3a4140;color:#e4c590;font-weight:800}.profile-mini small{display:block;color:#889da7;font-size:11px;margin-top:3px}.profile-mini button{margin-left:auto;color:#adc0c5;border:none;background:transparent}.workspace{min-width:0}.topbar{height:82px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eaeb;background:#fff}.breadcrumbs{font-size:12px;color:#8b969a}.breadcrumbs strong{color:#26333a;font-size:14px;margin-left:10px}.top-right{display:flex;align-items:center;gap:12px}.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce5e4;background:#f7faf9;border-radius:50px;padding:7px 12px;font-size:11px;color:#59706c;font-weight:800}.chip.gold{background:#faf5e9;border-color:#eadebf;color:#967647}.chip.muted{background:#f7f7f6;color:#828c90}.round-avatar{border-radius:50%;width:36px;height:36px;display:grid;place-items:center;background:#dce8e5;color:#365b54;font-weight:800}.body{max-width:1200px;margin:0 auto;padding:36px 48px 70px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:800;color:#ba9560;margin:0 0 14px}.page-title{font:800 clamp(25px,3vw,36px)/1.2 Manrope,sans-serif;color:#192c36;letter-spacing:-.8px;margin:0 0 11px}.lead{margin:0;color:#718087;line-height:1.65;max-width:670px}.hero{border-radius:20px;background:#17242d;min-height:238px;padding:38px 41px;color:#fff;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.hero:before{content:'';position:absolute;inset:auto -120px -230px auto;width:460px;height:460px;border:1px solid #607077;border-radius:50%;opacity:.5}.hero:after{content:'';position:absolute;inset:auto -76px -160px auto;width:340px;height:340px;border:1px solid #78867e;border-radius:50%;opacity:.45}.hero-copy{max-width:580px;position:relative;z-index:1}.hero h1{font:800 clamp(25px,3vw,35px)/1.25 Manrope,system-ui,sans-serif;margin:0 0 13px;letter-spacing:-.6px}.hero p{color:#c5d0d0;line-height:1.65;margin:0 0 22px;font-size:13px}.hero-art{position:relative;z-index:1;min-width:150px;height:155px;display:grid;place-items:center}.hero-disc{width:155px;height:155px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(230,199,146,.35);background:linear-gradient(145deg,#28373b,#1b2c32);color:#ddbd82;font:800 72px Manrope,system-ui,sans-serif;transform:rotate(-9deg);box-shadow:0 0 0 18px rgba(220,192,140,.07)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:11px;padding:11px 18px;font-weight:800;font-size:12px;transition:transform .15s,background .15s;text-decoration:none}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:#dcbf86;color:#1b2b33}.btn-primary:hover{background:#edd19b}.btn-dark{background:#1b2c35;color:white}.btn-soft{background:#f1f3f3;color:#324951;border:1px solid #e4e9e8}.btn-outline{background:transparent;border:1px solid #d1d8d8;color:#475e65}.btn-sm{padding:8px 12px;border-radius:9px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 15px}.section-head h2,.block-title{font:800 17px Manrope,system-ui,sans-serif;color:#243943;margin:0}.section-head p{font-size:12px;color:#8b969b}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat{background:#fff;border:1px solid #e9eae8;border-radius:15px;padding:20px;min-height:125px}.stat-label{font-size:11px;font-weight:700;color:#849096;margin-bottom:14px}.stat-number{font:800 28px Manrope,system-ui,sans-serif;color:#263841;letter-spacing:-1px}.stat-foot{font-size:11px;color:#7b8f93;margin-top:7px}.two-columns{display:grid;grid-template-columns:1.65fr 1fr;gap:20px}.card{background:#fff;border:1px solid #e7ebeb;border-radius:16px;padding:24px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.lesson-card{background:white;border:1px solid #e7eceb;border-radius:16px;padding:21px;display:flex;flex-direction:column;gap:14px;min-height:225px}.lesson-card:hover{border-color:#d5bc90;box-shadow:0 12px 28px rgba(19,38,42,.04)}.card-top{display:flex;justify-content:space-between;align-items:center}.lesson-icon{border-radius:12px;background:#f6f1e8;color:#ad8c57;display:grid;place-items:center;width:41px;height:41px;font-size:22px}.lesson-card h3{font:800 15px Manrope,system-ui,sans-serif;margin:0;color:#233741}.lesson-card p{font-size:12px;color:#7b8b91;line-height:1.55;margin:5px 0 0;min-height:38px}.lesson-meta{display:flex;align-items:center;justify-content:space-between;margin-top:auto;font-size:11px;color:#98a1a3}.lesson-meta button{border:none;background:none;color:#a47e40;font-weight:800;padding:2px 0}.muted-card{background:#f9faf9;border:1px dashed #d4dada;border-radius:16px;padding:22px;display:flex;gap:15px;align-items:center}.muted-card p{color:#87949a;font-size:12px;margin:5px 0 0;line-height:1.6}.topic-icon{font-size:25px;background:#e9efed;border-radius:12px;padding:12px}.progress-track{height:8px;background:#edf0ef;border-radius:20px;overflow:hidden}.progress-bar{height:100%;border-radius:20px;background:#c9a973}.progress-row{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:9px}.progress-row strong{color:#283b43}.empty{border:1px dashed #d8dfdf;background:#fcfdfd;border-radius:14px;padding:28px;color:#819095;text-align:center;font-size:13px;line-height:1.65}.empty-icon{font-size:26px;display:block;margin-bottom:8px}.list-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eef1f0}.list-row:last-child{border-bottom:0}.list-row .grow{flex:1;min-width:0}.list-row strong{font-size:12px;color:#2d3b41}.list-row small{font-size:11px;color:#8e9a9c;display:block;margin-top:5px}.score-pill{border-radius:20px;background:#eaf4ed;color:#3c8067;font-size:11px;font-weight:800;padding:6px 9px}.score-pill.low{background:#fff0ea;color:#ba6d46}.page-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.backlink{font-size:12px;color:#9b8054;font-weight:800;background:transparent;border:0;padding:0;margin-bottom:17px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}.theory-card{background:white;border-radius:17px;border:1px solid #e4eae8;padding:29px}.theory-heading{font:800 23px Manrope,system-ui,sans-serif;margin:0 0 9px}.theory-intro{color:#607178;line-height:1.7;margin:0 0 20px}.formula{background:#f7f3e9;border:1px solid #eee1c5;color:#6f5836;border-radius:12px;padding:18px;margin:19px 0;font-size:13px;font-weight:800;line-height:1.7}.theory-row{border-bottom:1px solid #edf0ee;padding:15px 0}.theory-row:last-child{border:0}.theory-row h3{margin:0 0 7px;font:800 13px Manrope,system-ui,sans-serif;color:#30454d}.theory-row p{margin:0;color:#677a80;font-size:13px;line-height:1.8}.example{border-left:3px solid #d0b27e;background:#fcfaf5;padding:13px 15px;margin:11px 0}.example strong{display:block;font-size:14px;color:#243941}.example small{display:block;font-size:12px;color:#7c8989;margin-top:6px}.side-note{background:white;border:1px solid #e6ecec;border-radius:15px;padding:23px;position:sticky;top:18px}.side-note h3{font:800 15px Manrope,system-ui,sans-serif;color:#263b43;margin:0 0 12px}.side-note p{font-size:12px;color:#718388;line-height:1.7}.note-danger{border-radius:10px;padding:15px;background:#fff6f1;color:#976748;font-size:12px;line-height:1.8}.mini-step{font-size:12px;color:#879096;padding:10px 0;border-bottom:1px solid #eceeee}.mini-step strong{color:#3b5258}.quiz-wrap{max-width:760px;margin:0 auto}.quiz-top{display:flex;justify-content:space-between;align-items:center;margin:28px 0 14px;color:#62757a;font-size:12px;font-weight:800}.quiz-card{padding:35px;border-radius:18px;background:white;border:1px solid #e4e9e8;margin-top:21px}.quiz-card h2{font:800 21px/1.5 Manrope,system-ui,sans-serif;color:#263942;margin:0 0 25px}.choices{display:grid;gap:10px}.choice{padding:14px 17px;display:flex;gap:13px;align-items:center;text-align:left;background:#fff;border:1px solid #dfe6e6;border-radius:11px;color:#3a4e54;font-size:13px}.choice:hover{border-color:#cfb17e}.choice.selected{background:#faf5e9;border-color:#c9aa70;box-shadow:inset 0 0 0 1px #c9aa70}.choice-letter{height:28px;width:28px;border-radius:8px;background:#f1f4f2;color:#728184;display:grid;place-items:center;font-weight:800}.choice.selected .choice-letter{background:#d5b77d;color:#1d2b32}.answer-input{width:100%;padding:15px 17px;border:1px solid #cbd7d7;border-radius:11px;color:#32434a;font-size:15px}.quiz-footer{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.hint{background:#edf5f3;border-radius:10px;color:#426c66;padding:12px;font-size:12px;line-height:1.6;margin:15px 0 0}.results{max-width:890px;margin:auto}.result-hero{text-align:center;padding:35px 25px;background:#fff;border:1px solid #e4eae9;border-radius:18px}.result-big{font:800 54px Manrope,system-ui,sans-serif;color:#b4945d;margin:14px 0}.feedback-row{padding:18px 0;border-bottom:1px solid #edf0ef}.feedback-row:last-child{border:0}.feedback-title{display:flex;align-items:start;gap:11px;font-weight:800;font-size:13px;color:#253a42}.feedback-label{display:inline-grid;place-items:center;border-radius:20px;width:21px;height:21px;background:#e7f2ed;color:#438168;flex-shrink:0}.feedback-label.bad{background:#ffede5;color:#bd7253}.feedback-explain{font-size:12px;color:#6c7c82;line-height:1.75;margin:7px 0 0 32px}.form-grid{display:grid;grid-template-columns:1fr 190px;gap:10px}.field{display:flex;flex-direction:column;gap:8px}.field label{font-size:11px;font-weight:800;color:#64777d}.field input,.field select{padding:12px;border:1px solid #dce4e3;border-radius:10px;background:#fff;color:#2e454c;width:100%}.form-action{margin-top:13px}.notice{border-left:3px solid #d3ae70;background:#fcf8ef;color:#7b6d55;font-size:12px;line-height:1.7;padding:13px 17px;border-radius:0 10px 10px 0}.alert{padding:12px 17px;margin-bottom:20px;border-radius:11px;background:#fff2ec;color:#9b5941;font-size:12px}.alert.good{background:#e9f5ef;color:#497d65}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-brand{background:#141f27;color:white;padding:8vw 7vw;display:flex;flex-direction:column;justify-content:space-between}.auth-brand h1{font:800 clamp(30px,4vw,55px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-1px;max-width:520px}.auth-brand p{color:#aebec1;line-height:1.8;max-width:480px}.auth-card{display:grid;place-content:center;padding:35px}.auth-box{width:min(420px,80vw)}.auth-box h2{font:800 27px Manrope}.auth-box p{color:#819092;line-height:1.7}.auth-box .field{margin-top:18px}.auth-box .btn{width:100%;margin-top:25px;padding:14px}.date-pill{font-size:11px;border:1px solid #e6ece9;border-radius:8px;padding:6px 9px;color:#6e8084}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.toast{position:fixed;right:20px;bottom:20px;background:#1d3239;color:white;padding:14px 20px;border-radius:12px;box-shadow:0 16px 35px #16283040;z-index:20;font-size:13px;max-width:min(390px,90vw)}.mobilebar{display:none}.footer-note{color:#a1aaad;font-size:11px;text-align:center;margin:40px 0 0;line-height:1.7}
@media(max-width:1050px){.body{padding:26px}.topbar{padding:0 26px}.shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:22px 12px}.two-columns{grid-template-columns:1fr}.lesson-layout{grid-template-columns:1fr}.side-note{position:static}.hero-art{display:none}}
@media(max-width:720px){.shell{display:block}.sidebar{display:none}.mobilebar{display:flex;position:sticky;top:0;z-index:15;background:#141f27;color:white;height:62px;padding:0 17px;align-items:center;justify-content:space-between;gap:10px}.mobilebar .brand{padding:0;gap:9px}.mobilebar .brand-title{font-size:15px}.mobilebar .brand-sub{font-size:9px}.mobilebar button{border:1px solid #435158;border-radius:8px;background:#26353e;color:#e4ebec;padding:7px 10px;font-size:11px}.mobilebar-menu{position:fixed;top:62px;left:0;right:0;background:#1a2730;padding:12px 15px 16px;z-index:16;box-shadow:0 15px 25px #16263138}.topbar{height:52px;padding:0 17px}.top-right{gap:5px}.topbar .chip{padding:5px 8px}.body{padding:22px 16px 52px}.hero{padding:27px 23px;min-height:auto}.hero h1{font-size:26px}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stat{padding:12px;min-height:111px}.stat-number{font-size:22px}.stat-foot{font-size:9px}.stat-label{font-size:10px}.lesson-grid{grid-template-columns:1fr}.lesson-card{min-height:182px}.card{padding:20px}.page-header{align-items:start;flex-direction:column;gap:10px}.theory-card{padding:20px}.quiz-card{padding:23px 18px}.quiz-card h2{font-size:17px}.form-grid{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-brand{min-height:200px;padding:30px}.auth-brand h1{font-size:28px}.auth-card{padding:40px 23px}.auth-box{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Le formulaire compact de la colonne parent conserve toute sa largeur. */
.card .form-grid{grid-template-columns:minmax(0,1fr)}
/* WISE Study V1.2 : préparation automatique des séances */
.autopilot-bar{background:#f4f7f5;border:1px solid #d5e2d9;border-left:4px solid #a4874b;border-radius:12px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0;color:#253c37}
.autopilot-bar strong{display:block;font-size:14px}
.autopilot-bar p{font-size:12px;line-height:1.6;margin:5px 0 0;color:#536d67}
.autopilot-bar b{font-weight:600}
.autopilot-bar .auto-date{font-size:12px;font-weight:600;white-space:nowrap}
.setup-note{min-height:100vh;display:flex;flex-direction:column;gap:14px;justify-content:center;align-items:center;padding:30px;background:#10171e;color:#faf6ed;text-align:center}
.setup-note p{max-width:470px;line-height:1.65;color:#d6dce0;margin:0}
.setup-note code{background:#283138;padding:2px 6px;border-radius:4px}
@media(max-width:700px){.autopilot-bar{flex-direction:column;align-items:stretch}.autopilot-bar .auto-date{white-space:normal}}
.auto-chip{display:inline-block;margin-left:9px;background:#e9f3ed;color:#387058;border-radius:30px;padding:3px 7px;font-size:10px;font-weight:600}

/* V1.3 : bibliothèque privée et sélection multi-élèves */
.student-picker{margin:12px 9px 19px;display:grid;gap:8px}.student-picker label{font-size:10px;letter-spacing:.06em;color:#b8c2bf;font-weight:700}.student-picker select{min-width:0;width:100%;border-radius:9px;background:#273740;color:#f8f7f3;border:1px solid #46545a;padding:10px;font-size:12px}
.doc-upload{max-width:760px}.doc-upload h2{margin:0 0 9px;font-size:18px}.doc-upload .btn{margin-top:18px}.doc-upload input[type=file]{background:#fafafa;cursor:pointer}.doc-list .list-row{flex-wrap:wrap}.doc-list .lesson-icon{width:35px;height:35px;font-size:17px}.doc-list .grow{overflow-wrap:anywhere;flex-basis:180px}@media(max-width:720px){.mobilebar-menu .student-picker{margin:5px 0 15px}.doc-list .btn{padding:8px 10px}}
