:root{--ink:#18352f;--muted:#778780;--green:#174d40;--lime:#c5e68c;--paper:#f5f7f4;--line:#e8ede8;--white:#fff;--orange:#ef9b62;--shadow:0 12px 40px #18352f0c}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:'DM Sans',sans-serif;color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer}#app{min-height:100vh}.layout{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{background:var(--green);color:#fff;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 12px 42px;font:800 21px Manrope}.brandmark{width:32px;height:32px;border-radius:10px;background:var(--lime);color:var(--green);display:grid;place-items:center;font-weight:800}.navlabel{padding:0 12px 12px;color:#9ab6a9;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;background:transparent;color:#d7e5de;text-align:left;border-radius:11px;padding:12px;display:flex;gap:12px;align-items:center}.nav button.active,.nav button:hover{background:#ffffff18;color:#fff}.nav .ico{width:19px;text-align:center;font-size:16px}.side-bottom{margin-top:auto;border-top:1px solid #ffffff22;padding:18px 10px 0;display:flex;align-items:center;gap:11px}.avatar{width:36px;height:36px;border-radius:50%;background:#e5f0df;color:var(--green);display:grid;place-items:center;font-weight:700}.side-user{font-size:13px;font-weight:600}.side-user small{display:block;color:#9ab6a9;font-size:11px;margin-top:3px}.main{padding:30px 5vw 60px;max-width:1500px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.crumb{font-size:13px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:14px}.icon-btn{border:1px solid var(--line);border-radius:12px;background:#fff;width:42px;height:42px;color:var(--ink);font-size:17px}.page-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}.eyebrow{color:#699080;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.13em}.page-head h1{font:700 clamp(27px,3vw,36px) Manrope;margin:9px 0 5px;letter-spacing:-.04em}.page-head p{margin:0;color:var(--muted);font-size:14px}.date{font-size:12px;color:var(--muted);padding-bottom:4px}.hero{background:var(--green);color:white;border-radius:20px;padding:28px 32px;display:grid;grid-template-columns:1fr auto;align-items:center;position:relative;overflow:hidden;margin-bottom:20px;min-height:176px}.hero:after{content:'';position:absolute;width:270px;height:270px;border:1px solid #ffffff1e;border-radius:50%;right:90px;top:-155px;box-shadow:0 0 0 34px #ffffff08,0 0 0 68px #ffffff06}.hero-copy{position:relative;z-index:1;max-width:510px}.hero .eyebrow{color:#b4d697}.hero h2{font:700 24px Manrope;margin:9px 0}.hero p{font-size:13px;line-height:1.6;color:#c9d8d1;margin:0}.hero button,.primary{border:0;background:var(--lime);color:var(--green);font-weight:700;border-radius:10px;padding:12px 16px;position:relative;z-index:1;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:25px}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px;box-shadow:var(--shadow)}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.stat-icon{width:30px;height:30px;border-radius:9px;background:#eff5e9;display:grid;place-items:center;color:#4c7a60}.stat strong{display:block;font:700 26px Manrope;margin:13px 0 3px;letter-spacing:-.04em}.stat small{font-size:11px;color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.section-head h2{font:700 18px Manrope;margin:0}.text-btn{border:0;background:none;color:#3e7862;font-weight:700;font-size:12px}.quiz-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.quiz-card{background:white;border:1px solid var(--line);border-radius:16px;padding:19px;box-shadow:var(--shadow)}.tag{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#497b64;background:#eef5eb;border-radius:20px;padding:6px 9px;display:inline-block}.quiz-card h3{font:700 15px Manrope;margin:14px 0 6px}.quiz-card p{font-size:12px;color:var(--muted);margin:0 0 17px}.quiz-meta{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px}.progress{height:5px;border-radius:5px;background:#edf1ed;margin-top:15px;overflow:hidden}.progress i{height:100%;display:block;background:#8cbf70;border-radius:5px}.activity{display:grid;grid-template-columns:1fr 300px;gap:14px}.activity-list{display:flex;flex-direction:column}.activity-row{display:flex;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);gap:12px}.activity-row:last-child{border:0}.activity-bullet{width:32px;height:32px;border-radius:10px;background:#f0f5ec;display:grid;place-items:center}.activity-row strong{font-size:12px}.activity-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.score{margin-left:auto;color:#3e7862;font-weight:700;font-size:13px}.streak{background:#f5f8ef;border-radius:13px;padding:17px}.streak strong{font:700 17px Manrope}.streak p{font-size:12px;color:var(--muted);line-height:1.6}.week{display:flex;justify-content:space-between;margin-top:15px}.day{text-align:center;font-size:10px;color:var(--muted)}.day i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;margin:7px auto;background:#e8eee6;font-style:normal}.day.done i{background:var(--green);color:#fff}.page-actions{display:flex;gap:10px}.secondary{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 14px;color:var(--ink);font-size:12px;font-weight:700}.quiz-question{max-width:800px;margin:auto}.back{border:0;background:none;color:#648274;padding:0;margin-bottom:20px}.question-card{padding:30px}.question-card h2{font:700 23px Manrope;line-height:1.4}.options{display:grid;gap:10px;margin:22px 0}.option{border:1px solid var(--line);padding:14px;border-radius:12px;display:flex;gap:12px;align-items:center;cursor:pointer;font-size:14px}.option.selected{border-color:#4d886d;background:#f5f9f1}.option input{accent-color:var(--green)}.answer-note{padding:14px;border-radius:12px;background:#eff6eb;margin-top:18px;font-size:13px;line-height:1.6}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-panel{padding:6vw;display:flex;flex-direction:column;justify-content:center}.login-brand{font:800 22px Manrope;margin-bottom:70px}.login-form{max-width:380px}.login-form h1{font:700 32px Manrope;letter-spacing:-.04em;margin:10px 0}.login-form p{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:28px}.field{display:block;font-size:12px;font-weight:700;margin:15px 0 7px}.login-form input{width:100%;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff;outline:none}.login-form input:focus{border-color:#6d9a81}.login-form .primary{width:100%;margin-top:20px}.login-side{background:var(--green);color:white;padding:8vw;display:flex;align-items:end;position:relative;overflow:hidden}.login-side:before{content:'?';position:absolute;right:8%;top:5%;font:800 360px Manrope;color:#ffffff0a}.login-side h2{font:700 36px Manrope;max-width:430px;line-height:1.2}.login-side p{color:#bfd2c7;line-height:1.7;max-width:400px}.toast{position:fixed;bottom:25px;right:25px;background:var(--ink);color:white;padding:13px 18px;border-radius:11px;box-shadow:var(--shadow);font-size:13px;z-index:10}.admin-table{width:100%;border-collapse:collapse;font-size:12px}.admin-table th{text-align:left;color:var(--muted);font-weight:600;padding:12px;border-bottom:1px solid var(--line)}.admin-table td{padding:14px 12px;border-bottom:1px solid var(--line)}.status{background:#f1f6eb;color:#527c5e;padding:5px 8px;border-radius:20px;font-size:10px}.empty{padding:35px;text-align:center;color:var(--muted);font-size:13px}@media(max-width:900px){.layout{grid-template-columns:72px 1fr}.sidebar{padding:24px 10px}.brand{padding:0 10px 40px}.brand>span:last-child,.navlabel,.nav button span:not(.ico),.side-user{display:none}.nav button{justify-content:center;padding:13px}.side-bottom{justify-content:center;padding:16px 0}.main{padding:25px 24px}.stats{grid-template-columns:repeat(2,1fr)}.activity{grid-template-columns:1fr}.quiz-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.layout{grid-template-columns:1fr}.sidebar{position:fixed;z-index:5;bottom:0;left:0;right:0;height:64px;padding:6px 10px;display:block}.brand,.navlabel,.side-bottom{display:none}.nav{height:100%;flex-direction:row;justify-content:space-around}.nav button{flex:1;justify-content:center}.main{padding:20px 16px 88px}.topbar{margin-bottom:25px}.page-head{display:block}.date{margin-top:8px}.hero{padding:22px;grid-template-columns:1fr;gap:18px}.hero button{justify-self:start}.hero:after{right:-90px}.stats{gap:9px}.stat{padding:14px}.stat strong{font-size:22px}.quiz-grid{grid-template-columns:1fr}.login-screen{grid-template-columns:1fr}.login-panel{padding:28px;min-height:100vh}.login-brand{margin-bottom:60px}.login-side{display:none}.question-card{padding:20px}.question-card h2{font-size:20px}}

/* Création des questionnaires côté enseignant */
.editor-form{max-width:920px}
.editor-form>.card{margin-bottom:20px}
.editor-form input,.editor-form textarea,.editor-form select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);outline:none}
.editor-form input:focus,.editor-form textarea:focus,.editor-form select:focus{border-color:#6d9a81;box-shadow:0 0 0 3px #6d9a8118}
.editor-form textarea{resize:vertical;line-height:1.55}
.form-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px}
.question-editor{margin:0 0 14px}
.editor-row{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.editor-row strong{font:700 15px Manrope}
.editor-actions{display:flex;justify-content:flex-end;gap:10px;margin:18px 0 10px}
.editor-form .notice{padding:13px 15px;border-radius:10px;background:#eef5eb;color:#315d47;font-size:13px;line-height:1.5}
.editor-form .notice.error{background:#fff0eb;color:#a4452d}
.editor-form [hidden]{display:none!important}
@media(max-width:600px){.form-grid{grid-template-columns:1fr}.editor-actions{flex-direction:column-reverse}.editor-actions button{width:100%}.section-head{gap:10px}.section-head .secondary{flex-shrink:0}}

.import-card{max-width:920px;margin-bottom:20px}
.import-card h2{font:700 18px Manrope;margin:0 0 7px}
.import-card p{font-size:13px;color:var(--muted);line-height:1.55;margin:0}
.import-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}
.import-actions .secondary,.import-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.import-button{cursor:pointer}
.import-button.is-loading{opacity:.6;pointer-events:none}
.import-card .notice{margin-top:14px;padding:13px 15px;border-radius:10px;background:#eef5eb;color:#315d47;font-size:13px;line-height:1.5}
.import-card .notice.error{background:#fff0eb;color:#a4452d}
@media(max-width:600px){.import-actions{flex-direction:column}.import-actions>*{width:100%}}

.review-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.import-review-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.review-list{display:flex;flex-direction:column}
.review-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.review-row:last-child{border-bottom:0}
.review-row>div:first-child{min-width:0;flex:1}
.review-row strong{font-size:13px}
.review-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.review-status{font-size:11px;font-weight:700;color:#9b622a;background:#fff5e7;border-radius:20px;padding:6px 9px;white-space:nowrap}
.review-status.is-ok{color:#3c7657;background:#eef5eb}
.review-status.is-warn{color:#a65d37;background:#fff0e7}
.grade-list{max-width:920px;display:grid;gap:13px}
.grade-card h2{font:700 18px Manrope;line-height:1.45;margin:12px 0}
.grade-card p{font-size:13px;line-height:1.6;white-space:pre-wrap;margin:7px 0}
.student-answer,.answer-model{padding:14px;border-radius:11px;margin:12px 0;background:#f5f7f4}
.student-answer{background:#f1f5f7}
.answer-model{background:#f2f6eb}
.student-answer strong,.answer-model strong{font-size:12px}
.student-answer p,.answer-model p{margin-bottom:0}
.grade-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grade-card input,.grade-card textarea,.overall-feedback textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink)}
.grade-score-banner{max-width:920px;padding:12px 15px;border-radius:10px;background:#eef5eb;color:#315d47;font-size:13px;margin:-8px 0 16px}
.grade-card.objective-card{padding:18px}
.grade-card.objective-card h2{font-size:16px}
.overall-feedback{max-width:920px;margin:16px 0}
.overall-feedback>p{white-space:pre-wrap;line-height:1.6}
.overall-feedback .notice{margin-top:12px;padding:12px;border-radius:10px;background:#fff0eb;color:#a4452d;font-size:13px}
.published-score{font:700 32px Manrope;color:#3e7862}
.published-grade{color:#315d47;font-size:14px;margin-top:12px}
@media(max-width:700px){.section-head:has(.review-tools){align-items:flex-start;flex-direction:column}.review-tools{width:100%}.review-tools>*{flex:1}.review-row{flex-wrap:wrap}.review-row>div:first-child{flex-basis:65%}.grade-fields{grid-template-columns:1fr}.published-score{margin-top:12px}}
.review-help{max-width:920px;font-size:12px;color:var(--muted);margin:-3px 0 12px;line-height:1.5}

.activity-week{display:flex;justify-content:space-between;gap:8px}
.activity-day{flex:1;text-align:center;color:var(--muted);font-size:11px;text-transform:capitalize}
.activity-day i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;margin:0 auto 8px;background:#edf1ed;color:transparent;font-style:normal}
.activity-day.done i{background:var(--green);color:#fff}
.export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1050px}
.export-card{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.export-card h2{font:700 18px Manrope;margin:0}
.export-card p{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 auto;min-height:62px}
.export-card button,.export-card label{margin-top:8px}
@media(max-width:900px) and (min-width:601px){.layout{grid-template-columns:205px 1fr}.sidebar{padding:24px 12px}.brand{padding:0 8px 34px}.brand>span:last-child,.navlabel,.nav button span:not(.ico),.side-user{display:block}.nav button{justify-content:flex-start;padding:11px 9px}.side-bottom{justify-content:flex-start;padding:16px 7px}.main{padding:24px 20px}.stats{grid-template-columns:repeat(2,1fr)}.quiz-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.export-grid{grid-template-columns:1fr}.activity-week{padding:14px 10px;gap:4px}.activity-day{font-size:10px}.activity-day i{width:28px;height:28px}}
@media(max-width:600px){.nav button{flex-direction:column;gap:2px;padding:4px 2px}.nav button span:not(.ico){display:block;max-width:74px;white-space:nowrap;font-size:9px;line-height:1.2}.nav .ico{font-size:15px;width:auto}.nav{gap:0}.sidebar{height:68px}.main{padding-bottom:92px}}
.quiz-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.quiz-card-tools{display:flex;align-items:center;gap:7px}.icon-action{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:#fff;color:#567564;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.icon-action:hover{background:#f1f6ef;border-color:#a9c1ad;color:#315f4a}.icon-action.danger{color:#9b5b5b}.icon-action.danger:hover{background:#fff2f0;border-color:#e2b8b2;color:#a53b31}.icon-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.question-editor [hidden]{display:none!important}

/* Gui'Care — identité visuelle et nouvelle disposition */
:root{--marine:#283487;--encre:#141B4D;--pervenche:#5668D8;--brume:#DFE5F7;--ciel:#F0F3FC;--coeur:#CF3556;--menthe:#2FBF9B;--g-marine:linear-gradient(135deg,#283487,#4457D6);--g-coeur:linear-gradient(135deg,#CF3556,#E0506F);--ink:var(--encre);--muted:#59639b;--green:var(--marine);--lime:var(--menthe);--paper:var(--ciel);--line:var(--brume);--white:#fff;--orange:var(--coeur);--shadow:0 14px 38px rgba(40,52,135,.08)}
body{background:var(--paper);color:var(--ink);font-family:'Poppins',system-ui,sans-serif}button,input,textarea,select{font-family:inherit}.layout{grid-template-columns:270px minmax(0,1fr);background:var(--paper)}.sidebar{background:#fff;color:var(--ink);padding:22px 18px 18px;border-right:1px solid var(--line);height:100vh;position:sticky;top:0;overflow-y:auto}.brand{gap:10px;padding:0 6px 20px;font:700 17px/1.25 Poppins,sans-serif;color:var(--marine,#283487)}.brand-logo{width:50px;height:64px;object-fit:contain;flex:none}.brand>span{display:block}.brand>span small{display:block;margin-top:4px;color:#737ead;font-size:10px;font-weight:500;letter-spacing:.07em;text-transform:uppercase}.navlabel,.nav-divider{padding:12px 10px 7px;color:#737ead;text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:700}.nav{gap:4px}.nav button{color:#4e598f;border-radius:14px;padding:11px 12px;gap:12px;font-weight:500;font-size:12px;transition:background .18s,color .18s,transform .18s}.nav button:hover{background:#f0f3fc;color:#283487;transform:translateX(2px)}.nav button.active{background:linear-gradient(135deg,#283487,#4457D6);color:#fff;box-shadow:0 9px 18px -12px rgba(40,52,135,.75)}.nav-icon{width:19px;height:19px;flex:none}.nav-divider{padding-top:16px}.side-bottom{border-top:1px solid var(--line);padding:16px 4px 0}.avatar{background:#DFE5F7;color:#283487}.side-user small{color:#737ead}.main{padding:24px clamp(20px,4vw,56px) 60px;max-width:1600px}.topbar{background:#fff;border:1px solid var(--line);border-radius:18px;padding:11px 16px;margin-bottom:30px;min-height:60px;box-shadow:0 8px 28px rgba(40,52,135,.04)}.topbar-left{display:flex;align-items:center;gap:12px}.crumb{color:#59639b;font-size:12px;font-weight:500}.crumb span{color:#a4add1;margin:0 6px}.top-actions{gap:12px}.top-actions>span{font-size:12px;color:#59639b}.secondary{border:1px solid #c9d2f0;border-radius:999px;color:#283487;padding:10px 17px;transition:background .18s,color .18s,transform .18s}.secondary:hover{background:#DFE5F7;transform:translateY(-1px)}.page-head{align-items:center;margin-bottom:25px}.eyebrow{color:#5668D8}.page-head h1{font:600 clamp(28px,3vw,40px)/1.14 Poppins,sans-serif;letter-spacing:-.04em;color:#283487}.page-head p{font-size:13px;color:#59639b}.hero{background:linear-gradient(135deg,#283487,#4457D6);border-radius:28px;padding:32px 36px;min-height:188px;box-shadow:0 20px 38px -28px rgba(40,52,135,.7)}.hero .eyebrow{color:#cbd2ff}.hero h2{font:600 26px/1.25 Poppins,sans-serif}.hero p{color:#e0e4ff}.hero button,.primary{border:0;border-radius:999px;background:linear-gradient(135deg,#283487,#4457D6);color:#fff;padding:13px 22px;font-weight:600;box-shadow:0 12px 24px -10px rgba(40,52,135,.65);transition:transform .18s,box-shadow .18s}.hero button{background:linear-gradient(135deg,#CF3556,#E0506F);box-shadow:0 12px 24px -10px rgba(207,53,86,.65)}.hero button:hover,.primary:hover{transform:translateY(-2px);box-shadow:0 16px 28px -10px rgba(40,52,135,.55)}.stats{gap:16px}.stat,.card,.quiz-card,.resource-card,.empty-state{border:1px solid #e2e7f8;border-radius:22px;box-shadow:0 12px 30px rgba(40,52,135,.055)}.stat{padding:21px}.stat-top{color:#59639b}.stat strong{color:#283487;font:600 29px Poppins,sans-serif}.stat-icon{background:#F0F3FC;color:#5668D8}.section-head h2{font:600 18px Poppins,sans-serif;color:#141B4D}.quiz-card{padding:21px;transition:transform .18s,box-shadow .18s}.quiz-card:hover,.resource-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(40,52,135,.1)}.tag{color:#283487;background:#DFE5F7}.quiz-card h3,.resource-card h3{font:600 15px/1.4 Poppins,sans-serif;color:#141B4D}.quiz-meta{border-color:#edf0fa}.text-btn{color:#4457D6}.icon-action{border-color:#dfe5f7;color:#4457D6}.icon-action:hover{background:#F0F3FC;border-color:#aab5e6}.icon-action.danger{color:#CF3556}.progress i{background:#2FBF9B}.activity-bullet{background:#BFEBDD;color:#141B4D}.score{color:#283487}.streak{background:#DFE5F7}.streak strong{font:600 18px Poppins,sans-serif;color:#283487}.day.done i{background:#2FBF9B;color:#141B4D}.quiz-question{max-width:880px}.question-card{border-radius:26px}.question-card h2{font:600 23px/1.45 Poppins,sans-serif;color:#141B4D}.option{border-radius:15px;border-color:#DFE5F7}.option:hover,.option.selected{border-color:#5668D8;background:#F0F3FC}.option input{accent-color:#283487}.answer-note{background:#DFE5F7;border-radius:15px}.login-screen{background:#fff}.login-panel{padding:clamp(28px,7vw,100px);align-items:center}.login-brand{display:flex;align-items:center;gap:16px;width:min(100%,420px);font:600 24px Poppins,sans-serif;color:#283487;margin-bottom:45px}.login-brand img{width:82px;height:98px;object-fit:contain}.login-brand span small{display:block;color:#737ead;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.login-form{width:min(100%,420px);max-width:420px}.login-form h1{font:600 34px/1.2 Poppins,sans-serif;color:#283487}.login-form p{color:#59639b}.login-form input{border-radius:14px;border-color:#dfe5f7;padding:14px}.login-form input:focus{border-color:#5668D8;box-shadow:0 0 0 3px #5668d81c}.login-form .primary{width:auto;min-width:190px;margin-top:22px}.login-side{background:linear-gradient(145deg,#283487,#4457D6);padding:8vw;align-items:center}.login-side:before{content:'';width:430px;height:430px;right:4%;top:4%;background:url('guicare-logo.png') center/contain no-repeat;opacity:.14}.login-side>div{position:relative;z-index:1}.login-side h2{font:600 40px/1.2 Poppins,sans-serif}.login-side p{color:#e0e4ff}.field{color:#283487;font-weight:500}.notice{border-radius:13px}.toast{background:#141B4D;border-radius:999px}.menu-toggle{display:none}.menu-backdrop[hidden]{display:none}.resource-banner{display:flex;align-items:center;gap:18px;padding:21px 24px;border:1px solid #dfe5f7;border-radius:22px;background:linear-gradient(120deg,#fff,#f8f9ff);box-shadow:0 10px 26px rgba(40,52,135,.04)}.resource-banner>.nav-icon{width:34px;height:34px;color:#5668D8;background:#DFE5F7;padding:7px;border-radius:12px}.resource-banner strong{display:block;color:#283487;font-size:15px;font-weight:600}.resource-banner p{margin-top:4px;color:#59639b;font-size:12px}.resource-count{font-size:12px;color:#59639b}.resource-card{background:#fff;border:1px solid #e2e7f8;border-radius:22px;padding:20px;box-shadow:0 12px 30px rgba(40,52,135,.055);transition:transform .18s,box-shadow .18s}.resource-card p{font-size:12px;color:#59639b;margin:7px 0 16px}.resource-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;border-top:1px solid #edf0fa;padding-top:12px}.resource-actions .btn{display:inline-flex;align-items:center;gap:8px}.resource-actions .nav-icon{width:17px;height:17px}.empty-state{text-align:center;background:#fff;padding:48px 22px;margin-top:22px}.empty-icon{width:62px;height:62px;margin:0 auto 17px;display:grid;place-items:center;border-radius:20px;background:#DFE5F7;color:#5668D8}.empty-icon .nav-icon{width:28px;height:28px}.empty-state h2{font:600 19px Poppins,sans-serif;color:#283487;margin:0 0 7px}.empty-state p{font-size:13px;color:#59639b;margin:0 0 18px}.menu-backdrop{border:0;background:rgba(20,27,77,.4);position:fixed;inset:0;z-index:19}.resource-banner+.quiz-grid{margin-top:16px}
@media(max-width:900px){.layout{grid-template-columns:240px minmax(0,1fr)}.sidebar{padding:20px 14px}.main{padding:22px 18px 44px}.brand{font-size:16px}.brand-logo{width:46px;height:60px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-actions>span{display:none}}
@media(max-width:620px){.layout{display:block}.main{padding:14px 14px 32px;margin:0}.topbar{padding:9px 11px;min-height:54px;margin-bottom:22px}.menu-toggle{display:grid;place-items:center;width:38px;height:38px;border:1px solid #DFE5F7;border-radius:12px;background:#fff;color:#283487;font-size:17px}.crumb{font-size:11px}.top-actions{gap:6px}.top-actions .secondary{padding:8px 11px;font-size:10px}.sidebar{position:fixed;z-index:20;inset:0 auto 0 0;width:min(84vw,320px);height:100dvh;transform:translateX(-105%);transition:transform .22s ease;box-shadow:none;overflow-y:auto}.sidebar.open{transform:translateX(0);box-shadow:16px 0 40px rgba(20,27,77,.14)}.sidebar .brand,.sidebar .navlabel,.sidebar .side-bottom{display:flex}.sidebar .navlabel{display:block}.sidebar .nav button{flex:initial;justify-content:flex-start;padding:11px 12px}.sidebar .nav button span:not(.nav-icon){display:block}.sidebar .side-user{display:block}.nav{height:auto;flex-direction:column;justify-content:flex-start}.menu-backdrop:not([hidden]){display:block}.page-head{display:flex;align-items:flex-start;gap:15px}.page-head h1{font-size:28px}.page-head .primary{white-space:normal;padding:11px 15px;font-size:12px}.hero{padding:24px 22px;grid-template-columns:1fr;gap:16px;min-height:0}.hero h2{font-size:22px}.hero button{justify-self:start}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat{padding:13px}.stat strong{font-size:23px}.quiz-grid{grid-template-columns:1fr}.resource-banner{padding:17px}.login-screen{grid-template-columns:1fr}.login-panel{padding:24px;min-height:100dvh;align-items:stretch}.login-brand{margin:0 auto 35px;max-width:420px}.login-form{margin:0 auto}.login-side{display:none}.login-form .primary{width:100%}.question-card{padding:20px}.question-card h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Alertes et fiches Gui'Care */
.notification-trigger{position:relative;width:42px;height:42px;border:1px solid #dfe5f7;border-radius:14px;background:#fff;color:#283487;display:grid;place-items:center;transition:background .18s,transform .18s}.notification-trigger:hover{background:#f0f3fc;transform:translateY(-1px)}.notification-trigger .nav-icon{width:19px;height:19px}.notification-trigger>span{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#CF3556;color:#fff;font:600 10px/19px Poppins,sans-serif;text-align:center;box-shadow:0 2px 8px #141b4d22}.notification-trigger>span[hidden],.nav-badge[hidden]{display:none}.nav .nav-badge{margin-left:auto;min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:inline-grid;place-items:center;background:#CF3556;color:#fff;font-size:10px;font-weight:600}.nav button.active .nav-badge{background:#fff;color:#283487}.notifications-list{display:flex;flex-direction:column;gap:10px}.notification-row{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid #e2e7f8;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(40,52,135,.04)}.notification-row.is-unread{border-color:#cbd4f3;background:linear-gradient(110deg,#fff,#f8f9ff)}.notification-type-icon{width:42px;height:42px;border-radius:14px;background:#DFE5F7;color:#4457D6;display:grid;place-items:center;flex:none}.notification-type-icon .nav-icon{width:21px;height:21px}.notification-copy{min-width:0;flex:1}.notification-copy strong{color:#141B4D;font-size:13px;font-weight:600}.notification-copy p{margin:3px 0 4px;color:#59639b;font-size:12px;line-height:1.5}.notification-copy small,.resource-date{color:#858eb7;font-size:10px}.notification-row.is-read{opacity:.76}.notification-row .text-btn{flex:none}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.resource-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.resource-status{border-radius:999px;padding:5px 9px;color:#737ead;background:#f0f3fc;font-size:10px;font-weight:600}.resource-status.published{background:#BFEBDD;color:#145c4d}.resource-card .resource-body{color:#59639b;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.resource-card .resource-date{display:block;margin-top:10px}.resource-publish-toggle{display:flex;align-items:center;gap:10px;margin-top:20px;color:#283487;font-size:12px;font-weight:500}.resource-publish-toggle input{width:18px;height:18px;accent-color:#283487}.notification-toast{position:fixed;right:22px;bottom:22px;z-index:50;display:grid;gap:4px;width:min(370px,calc(100vw - 32px));padding:15px 17px;border:1px solid #dfe5f7;border-radius:17px;background:#fff;box-shadow:0 18px 45px rgba(20,27,77,.2);animation:toast-in .2s ease-out}.notification-toast strong{color:#283487;font-size:13px;font-weight:600}.notification-toast span{color:#59639b;font-size:11px;line-height:1.5}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.resource-grid{grid-template-columns:1fr}.notification-row{gap:10px;padding:14px}.notification-copy p{font-size:11px}}
@media(max-width:620px){.notification-trigger{width:38px;height:38px}.top-actions .notification-trigger{display:grid}.notification-row{align-items:flex-start}.notification-row .text-btn{font-size:10px;padding:5px}.notification-type-icon{width:36px;height:36px;border-radius:12px}.resource-grid{grid-template-columns:1fr}.notification-toast{right:12px;bottom:12px}}

.email-preference{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 24px;padding:18px 20px}.email-preference strong{display:block;color:#283487;font-size:13px}.email-preference p{margin:4px 0;color:#59639b;font-size:11px}.email-preference small{color:#858eb7;font-size:10px}.switch{position:relative;display:inline-flex;flex:none;width:48px;height:28px}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch span{position:absolute;inset:0;border-radius:99px;background:#dfe5f7;transition:background .2s;cursor:pointer}.switch span:before{content:'';position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #141b4d22;transition:transform .2s}.switch input:checked+span{background:#2fbf9b}.switch input:checked+span:before{transform:translateX(20px)}.switch input:focus-visible+span{outline:3px solid #5668d855}.reminder-form-card{padding:22px;margin-bottom:26px}.reminder-form-card h2{margin:0 0 16px;color:#283487;font:600 17px Poppins,sans-serif}.reminder-form{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(200px,1fr) auto;gap:14px;align-items:end}.reminder-form .field{margin:0}.reminder-form input{width:100%;margin-top:6px;padding:11px 12px;border:1px solid #dfe5f7;border-radius:12px;background:#fff;color:#141b4d}.reminder-form .notice{grid-column:1/-1}.reminder-list{display:grid;gap:10px}.reminder-row{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e2e7f8;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(40,52,135,.04)}.reminder-row.reminder-due{border-color:#f4c9d1;background:#fffafb}.reminder-row.is-complete{opacity:.7}.reminder-mark{width:40px;height:40px;border-radius:13px;background:#dfe5f7;color:#4457d6;display:grid;place-items:center;flex:none}.reminder-copy{flex:1;min-width:0}.reminder-copy strong{display:block;color:#141b4d;font-size:13px}.reminder-copy small,.reminder-copy p{display:block;margin:4px 0 0;color:#59639b;font-size:11px}.reminder-row.reminder-due .reminder-copy small{color:#cf3556;font-weight:600}.reminder-row .icon-action{font-size:20px;line-height:1}.correction-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}.review-toolbar{display:flex;gap:12px;margin:0 0 14px}.review-toolbar input,.review-toolbar select{min-width:0;padding:11px 13px;border:1px solid #dfe5f7;border-radius:12px;background:#fff;color:#283487}.review-toolbar input{flex:1}.correction-item[hidden]{display:none}.submitted-answer{margin-top:14px;padding:13px 14px;border-radius:13px;background:#f0f3fc;color:#283487;white-space:pre-wrap;overflow-wrap:anywhere}.submitted-answer strong{font-size:11px;text-transform:uppercase;letter-spacing:.06em}.answers-review-link{margin:0 0 18px}.answers-list{grid-template-columns:1fr}.answers-list .quiz-card h3{line-height:1.6}
@media(max-width:820px){.reminder-form{grid-template-columns:1fr 1fr}.reminder-form .primary{grid-column:1/-1}.correction-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.email-preference{padding:15px;align-items:flex-start}.email-preference small{display:block;max-width:260px}.reminder-form{grid-template-columns:1fr}.reminder-form .primary{grid-column:auto}.reminder-row{gap:9px;padding:12px}.reminder-row .secondary{padding:8px 10px;font-size:10px}.reminder-mark{width:34px;height:34px;border-radius:11px}.correction-stats{grid-template-columns:1fr}.review-toolbar{flex-direction:column}.review-row{flex-wrap:wrap}.review-row>div:first-child{min-width:calc(100% - 130px)}.review-row .review-status{margin-left:auto}}

.resource-admin-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.resource-admin-tools .text-btn{font-size:11px}.resource-search{display:flex;align-items:center;gap:10px;margin:0 0 17px;padding:0 14px;height:48px;border:1px solid #dfe5f7;border-radius:15px;background:#fff;color:#4457d6}.resource-search>span{font-size:22px;line-height:1}.resource-search input{width:100%;border:0;outline:0;background:transparent;color:#141b4d;font-size:12px}.resource-search input::placeholder{color:#858eb7}.resource-group{margin:22px 0 28px}.resource-group[hidden]{display:none}.resource-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid #dfe5f7}.resource-group-head h2{margin:0;color:#283487;font:600 16px Poppins,sans-serif}.resource-list{display:flex;flex-direction:column;gap:9px}.resource-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #e2e7f8;border-radius:17px;background:#fff;box-shadow:0 8px 20px rgba(40,52,135,.04)}.resource-row[hidden]{display:none}.resource-row-main{flex:1;min-width:0}.resource-row h3{margin:8px 0;color:#141b4d;font:600 14px/1.45 Poppins,sans-serif}.resource-row .resource-card-top{justify-content:flex-start}.resource-row .resource-body{margin:5px 0 8px;color:#59639b;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.resource-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.resource-meta>span{padding:4px 8px;border-radius:99px;background:#f0f3fc;color:#59639b;font-size:10px}.resource-file-link{margin-top:10px;padding:0;border:0;background:transparent;color:#4457d6;font-size:11px;font-weight:600;text-align:left}.resource-file-link:hover{text-decoration:underline}.resource-row .resource-actions{flex:none;border-top:0;padding:0;justify-content:flex-end}.resource-row .resource-actions .text-btn{white-space:nowrap}.resource-row-main .resource-status{margin-left:2px}.field input[type=file]{padding:10px;background:#f8f9ff;border:1px dashed #cbd4f3;border-radius:12px;color:#59639b}.field .muted{display:block;margin-top:5px;color:#858eb7;font-size:10px;font-weight:400}.existing-resource-file{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:13px;background:#f0f3fc;color:#59639b;font-size:11px}.existing-resource-file strong{color:#283487}.existing-resource-file label{display:flex;align-items:center;gap:7px;white-space:nowrap}.existing-resource-file input{accent-color:#cf3556}.resource-admin-tools .secondary{padding:11px 15px;font-size:11px}
@media(max-width:820px){.resource-admin-tools{justify-content:flex-start}.resource-row{align-items:flex-start}.resource-row .resource-actions{flex-wrap:wrap;max-width:170px}.existing-resource-file{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.resource-admin-tools{width:100%;justify-content:flex-start}.resource-admin-tools .primary,.resource-admin-tools .secondary{padding:10px 13px;font-size:10px}.resource-row{flex-direction:column;gap:12px;padding:14px}.resource-row .resource-actions{width:100%;max-width:none;justify-content:flex-start;border-top:1px solid #edf0fa;padding-top:10px}.resource-search{height:44px}.resource-group-head h2{font-size:14px}.resource-row .resource-actions .text-btn{font-size:10px}}

/* Installation mobile Gui’Care */
.pwa-install{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid #dfe5f7;border-radius:13px;background:#fff;color:#283487;font:600 11px Poppins,sans-serif;white-space:nowrap}.pwa-install:hover{background:#f0f3fc}.pwa-install>span:first-child{font-size:17px;line-height:1}.pwa-install[hidden]{display:none!important}@media(max-width:620px){.pwa-install{min-height:38px;padding:0 9px;font-size:10px}.top-actions{gap:7px}.top-actions>span{display:none}}
