.vera-student-app{--vs-ink:#181714;--vs-soft:#f6f2ea;--vs-line:#ded8cc;--vs-accent:#896f51;max-width:1080px;margin:28px auto;padding:0 18px;color:var(--vs-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.vera-student-app *{box-sizing:border-box}.vera-student-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:28px 0 22px;border-bottom:1px solid var(--vs-line)}.vera-student-kicker{display:block;font-size:11px;letter-spacing:.16em;font-weight:800;color:#756b5d;margin-bottom:8px}.vera-student-header h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(34px,5vw,56px);line-height:1;margin:0 0 12px}.vera-student-header p{max-width:690px;font-size:17px;line-height:1.55;margin:0;color:#59534a}.vera-student-version{border:1px solid var(--vs-line);border-radius:999px;padding:7px 11px;font-size:12px;white-space:nowrap}.vera-student-intro{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:32px;align-items:center;padding:34px 0}.vera-student-hero{width:100%;height:auto;display:block;border-radius:22px;box-shadow:0 18px 55px rgba(49,40,31,.11)}.vera-student-intro h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:0 0 10px}.vera-student-intro p{font-size:16px;line-height:1.6;color:#625c53}.vera-student-cases{display:grid;gap:10px}.vera-student-case{width:100%;display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:16px;text-align:left;border:1px solid var(--vs-line);border-radius:16px;background:#fff;padding:16px 18px;cursor:pointer;color:inherit;transition:.16s ease}.vera-student-case:hover{transform:translateY(-1px);border-color:#b5a993;box-shadow:0 10px 26px rgba(38,33,27,.07)}.vera-student-case:disabled{opacity:.45;cursor:not-allowed}.vera-student-case__number{font-family:Georgia,serif;font-size:25px;color:#8a775e}.vera-student-case__body{display:flex;flex-direction:column;gap:3px}.vera-student-case__body strong{font-size:16px}.vera-student-case__body small{font-size:13px;color:#716a60}.vera-student-history{margin:36px 0;padding-top:24px;border-top:1px solid var(--vs-line)}.vera-student-section-title{display:flex;justify-content:space-between;align-items:center;gap:18px}.vera-student-section-title h3{margin:0;font-family:Georgia,serif;font-size:24px;font-weight:500}.vera-student-link{appearance:none;border:0;background:transparent;padding:4px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;color:#6c5b45}.vera-student-history-list{display:grid;gap:8px;margin-top:14px}.vera-student-history-list>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eee8de}.vera-student-history-list span{display:flex;flex-direction:column;gap:2px}.vera-student-history-list small{color:#847c72}.vera-student-history-list b{font-size:13px}.vera-student-sim-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0}.vera-student-sim-top>div{text-align:right;display:flex;flex-direction:column}.vera-student-sim-top span{font-size:13px;color:#6d665c}.vera-student-chat{background:var(--vs-soft);border:1px solid #e7dfd2;border-radius:22px;min-height:420px;max-height:620px;overflow-y:auto;padding:24px}.vera-student-message{display:flex;flex-direction:column;margin:0 0 18px;max-width:78%}.vera-student-message--student{margin-left:auto;align-items:flex-end}.vera-student-message__label{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#81796f;margin:0 8px 5px}.vera-student-message__bubble{white-space:pre-wrap;line-height:1.55;background:#fff;border:1px solid #e2dbd0;border-radius:18px 18px 18px 5px;padding:14px 16px;box-shadow:0 6px 18px rgba(46,39,31,.04)}.vera-student-message--student .vera-student-message__bubble{background:#24211d;color:#fff;border-color:#24211d;border-radius:18px 18px 5px 18px}.vera-student-composer{margin-top:14px;border:1px solid var(--vs-line);border-radius:18px;background:#fff;padding:12px}.vera-student-composer textarea,.vera-student-modal textarea{width:100%;resize:vertical;border:0;outline:0;background:transparent;font:inherit;font-size:15px;line-height:1.5;padding:8px}.vera-student-composer__actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px}.vera-student-muted{font-size:12px;color:#847d73}.vera-student-button{appearance:none;border:0;border-radius:999px;background:#806a50;color:#fff;padding:11px 18px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}.vera-student-button:hover{filter:brightness(.95)}.vera-student-button:disabled{opacity:.55;cursor:wait}.vera-student-button--dark{background:#201e1b}.vera-student-conclude-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 30px;padding:16px 18px;border-radius:16px;background:#f3eee5}.vera-student-modal{position:fixed;z-index:99999;inset:0;background:rgba(19,17,14,.6);display:grid;place-items:center;padding:20px}.vera-student-modal[hidden]{display:none}.vera-student-modal__card{position:relative;width:min(680px,100%);background:#fff;border-radius:22px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.25)}.vera-student-modal__card h2{font-family:Georgia,serif;font-size:31px;font-weight:500;margin:0 0 8px}.vera-student-modal__card p{color:#625b51;line-height:1.55}.vera-student-modal__card textarea{border:1px solid var(--vs-line);border-radius:14px;margin:8px 0 14px}.vera-student-modal__close{position:absolute;top:12px;right:15px;border:0;background:transparent;font-size:28px;cursor:pointer}.vera-student-debrief-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:32px 0 20px}.vera-student-debrief-head h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:0}.vera-student-score{min-width:118px;text-align:center;border-radius:22px;background:#201e1b;color:#fff;padding:14px 20px}.vera-student-score strong{font-size:34px}.vera-student-score span{font-size:14px;opacity:.75}.vera-student-score-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.vera-student-score-card{border:1px solid var(--vs-line);border-radius:15px;padding:14px;background:#fff}.vera-student-score-card span{display:block;font-size:12px;color:#756f66}.vera-student-score-card strong{display:block;font-size:20px;margin:4px 0 10px}.vera-student-score-card>div{height:5px;border-radius:999px;background:#ebe5dc;overflow:hidden}.vera-student-score-card i{display:block;height:100%;background:#806a50}.vera-student-debrief-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.vera-student-debrief-grid section,.vera-student-debrief-text,.vera-student-hidden-file{border:1px solid var(--vs-line);border-radius:18px;padding:20px;background:#fff}.vera-student-debrief-grid h3,.vera-student-debrief-text h3{font-family:Georgia,serif;font-size:22px;font-weight:500;margin:0 0 12px}.vera-student-debrief-grid ul,.vera-student-hidden-file ul{padding-left:18px;margin-bottom:0}.vera-student-debrief-grid li,.vera-student-hidden-file li{margin-bottom:8px;line-height:1.45}.vera-student-debrief-text{margin-top:14px;line-height:1.65;white-space:pre-wrap}.vera-student-hidden-file{margin-top:14px;background:#f8f5ef}.vera-student-hidden-file h4{margin-bottom:6px}.vera-student-debrief-actions{text-align:center;padding:24px}.vera-student-gate{max-width:680px;margin:40px auto;padding:30px;border:1px solid #ddd;border-radius:18px;text-align:center}.vera-student-alert{padding:14px 16px;border-radius:12px;margin:18px 0}.vera-student-alert--danger{background:#fff0ef;color:#7d261e;border:1px solid #e8bbb6}.vera-student-toast{position:fixed;right:20px;bottom:20px;z-index:100000;background:#1f1d1a;color:#fff;padding:13px 16px;border-radius:12px;max-width:360px;box-shadow:0 18px 48px rgba(0,0,0,.25)}
@media(max-width:760px){.vera-student-header{flex-direction:column}.vera-student-intro{grid-template-columns:1fr}.vera-student-hero{max-width:430px;margin:auto}.vera-student-score-grid{grid-template-columns:1fr 1fr}.vera-student-debrief-grid{grid-template-columns:1fr}.vera-student-conclude-bar,.vera-student-composer__actions{align-items:stretch;flex-direction:column}.vera-student-message{max-width:92%}}

.vera-student-admin-perfect{margin-top:14px;padding:18px;border:2px dashed #806a50;border-radius:18px;background:#fbf7ef}.vera-student-admin-perfect>strong{display:block;letter-spacing:.08em;font-size:12px}.vera-student-admin-perfect [data-perfect-output]{margin-top:18px;border-top:1px solid #ded8cc;padding-top:14px}.vera-student-admin-perfect h3,.vera-student-admin-perfect h4{font-family:Georgia,serif;font-weight:500}


/* V1.1.1 — repères scénario visibles uniquement pour les admins (HTML fourni côté serveur). */
.vera-student-admin-scenario{display:block;margin-top:6px;padding:6px 8px;border-radius:8px;background:rgba(17,24,39,.06);font-size:12px;line-height:1.35;color:#4b5563}
.vera-student-admin-scenario code{font-size:11px}
.vera-student-info-counter{display:inline-flex;align-items:center;justify-content:flex-end;font-weight:700;color:#3d6d53!important;margin-bottom:2px}.vera-student-score--info{font-weight:800;font-size:18px;min-width:105px}.vera-student-hidden-file li{margin-bottom:12px}

/* V1.2.1 — directions de fin + correction pédagogique sans notation IA */
.vera-student-direction-options{display:grid;gap:9px;margin:16px 0}
.vera-student-direction-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--vs-line);border-radius:13px;padding:12px 13px;cursor:pointer;background:#fff}
.vera-student-direction-choice:hover{border-color:#b8aa94;background:#fbf8f2}
.vera-student-direction-choice input{margin-top:3px}
.vera-student-direction-choice span{line-height:1.4}
.vera-student-button--ghost{background:#fff;color:#2b2721;border:1px solid var(--vs-line);margin-bottom:8px}
.vera-student-modal-separator{border:0;border-top:1px solid var(--vs-line);margin:18px 0}
.vera-student-correction{margin-top:14px;border:1px solid #cfc4b4;border-radius:18px;padding:20px;background:#fffdf9}
.vera-student-correction h3{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:0 0 14px}
.vera-student-correction h4{margin:18px 0 8px}
.vera-student-correction ul{padding-left:20px;margin:6px 0 0}
.vera-student-correction li{margin-bottom:8px;line-height:1.45}
.vera-student-direction-feedback{margin:14px 0;padding:13px 15px;border:1px solid #d8c59d;border-radius:14px;background:#f8f2e5;line-height:1.55}
.vera-student-direction-feedback--preferred{border-color:#9dc7aa;background:#edf7f0;color:#235738}
.vera-student-direction-feedback--acceptable{border-color:#d8c59d;background:#fbf5e8;color:#665126}
.vera-student-direction-feedback--alternative{border-color:#c9c2b7;background:#f7f4ee;color:#514b43}
.vera-student-good-answer{padding:12px 14px;border-radius:12px;background:#f1eee6}

.vera-student-done-badge{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:2px;padding:5px 9px;border-radius:999px;background:#f2eee6;border:1px solid #ded6ca;color:#5d5143!important;font-weight:700;line-height:1.25}


/* V1.3.0 — tutoriel optionnel + retour expérimental de phrasé */
.vera-student-tutorial-card{margin:8px 0 28px;padding:22px;border:1px solid var(--vs-line);border-radius:20px;background:#faf7f1;display:flex;align-items:center;justify-content:space-between;gap:24px}.vera-student-tutorial-card h2{font-family:Georgia,serif;font-size:28px;font-weight:500;margin:3px 0 7px}.vera-student-tutorial-card p{margin:0;max-width:760px;color:#625c53;line-height:1.55}.vera-student-tutorial-head{padding:28px 0 12px}.vera-student-tutorial-head h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:8px 0}.vera-student-tutorial-head p{max-width:760px;color:#625c53;line-height:1.6}.vera-student-tutorial-steps{display:grid;gap:14px}.vera-student-tutorial-step{border:1px solid var(--vs-line);border-radius:18px;background:#fff;padding:20px}.vera-student-tutorial-step>span{font-size:12px;font-weight:800;letter-spacing:.08em;color:#806a50}.vera-student-tutorial-step p{line-height:1.55}.vera-student-tutorial-person{padding:12px 14px;border-radius:12px;background:#f4efe7}.vera-student-avoid{padding:10px 12px;border-left:3px solid #a56b5f;background:#fbf3f1}.vera-student-tutorial-interactive textarea{width:100%;margin:9px 0 12px;padding:12px;border:1px solid var(--vs-line);border-radius:12px;font:inherit}.vera-student-tutorial-model{margin-top:14px;padding:14px;border-radius:14px;background:#f1eee6}.vera-student-tutorial-actions{display:flex;justify-content:center;gap:12px;padding:24px 0 34px}.vera-student-reactions{margin-top:14px;border:1px solid #c8bea9;border-radius:18px;padding:20px;background:#fbfaf6}.vera-student-reactions h3{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:4px 0 8px}.vera-student-reaction{margin-top:12px;padding:14px;border-radius:14px;background:#fff;border:1px solid #e1d9cd}.vera-student-reaction h4{margin:0 0 7px}.vera-student-reaction blockquote{margin:10px 0;padding:10px 12px;border-left:3px solid #806a50;background:#f7f3ec;font-style:italic}.vera-student-reaction--positif{border-color:#c9dccf}.vera-student-reaction--attention{border-color:#e0c7bc}@media(max-width:760px){.vera-student-tutorial-card{align-items:stretch;flex-direction:column}.vera-student-tutorial-actions{flex-direction:column}}


/* V1.4.1 — objectif, indices complets, synthèse finale, fins immersives et limite de questions */
.vera-student-objective{margin:0 0 14px;padding:15px 18px;border:1px solid var(--vs-line);border-radius:16px;background:#fff}
.vera-student-objective strong{display:block;font-size:15px;line-height:1.5}
.vera-student-info-counter.is-complete{color:#2f6b42;font-weight:800}
.vera-student-question-counter{font-size:12px;color:#756f66}
.vera-student-character-end{margin:16px 0;padding:20px;border:1px solid var(--vs-line);border-radius:18px;background:#f7f4ee}
.vera-student-character-end.is-success{border-color:#9dc7aa;background:#f1f8f3}
.vera-student-character-end strong{display:block;font-family:Georgia,serif;font-size:23px;margin-bottom:7px}
.vera-student-character-end p{margin:0 0 14px;line-height:1.55}

/* V1.4.2 — tutoriel des règles du jeu + dialogues animés + signal de conclusion */
.vera-student-conclusion-hint{margin:-4px 0 14px;padding:0 6px;color:#2f6b42;font-size:14px;line-height:1.5}
.vera-student-conclusion-hint em{font-weight:700}
.vera-student-tutorial-dialogue{display:grid;gap:10px;margin:14px 0}
.vera-student-tutorial-bubble{max-width:84%;padding:12px 14px;border:1px solid #e2dbd0;border-radius:16px;background:#f7f3ec;box-shadow:0 5px 14px rgba(46,39,31,.035)}
.vera-student-tutorial-bubble--person{justify-self:start;border-radius:16px 16px 16px 5px}
.vera-student-tutorial-bubble--operator{justify-self:end;background:#24211d;color:#fff;border-color:#24211d;border-radius:16px 16px 5px 16px}
.vera-student-tutorial-bubble small{display:block;margin-bottom:4px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.68}
.vera-student-tutorial-bubble p{margin:0;line-height:1.55;color:inherit}
.vera-student-tutorial-system{justify-self:center;width:min(100%,620px);padding:14px 16px;border:1px solid #a9cdb5;border-radius:15px;background:#f1f8f3;text-align:center}
.vera-student-tutorial-system strong,.vera-student-tutorial-system span{display:block}
.vera-student-tutorial-system span{margin-top:4px;font-size:13px;color:#526457}
.vera-student-tutorial-status{display:grid;grid-template-columns:1.4fr .7fr .9fr;gap:8px;margin:14px 0;padding:12px;border:1px solid var(--vs-line);border-radius:14px;background:#faf8f4}
.vera-student-tutorial-status span{padding:8px 10px;border-radius:10px;background:#fff;font-size:13px;line-height:1.4}
.vera-student-tutorial-status strong{display:block;margin-bottom:2px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#766d61}
.vera-student-tutorial-status .is-complete{color:#2f6b42;font-weight:800}
.vera-student-tutorial-conclusion-hint{margin:10px 0 14px;padding:10px 12px;border-left:3px solid #659374;background:#f4faf5;color:#315c3d}
[data-tutorial-dialogue-line],.vera-student-tutorial-model .vera-student-tutorial-bubble{opacity:0;transform:translateY(9px) scale(.985);transition:opacity .38s ease,transform .38s ease}
[data-tutorial-dialogue-line].is-visible,.vera-student-tutorial-model .vera-student-tutorial-bubble.is-visible{opacity:1;transform:translateY(0) scale(1)}
@media(max-width:760px){.vera-student-tutorial-bubble{max-width:94%}.vera-student-tutorial-status{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){[data-tutorial-dialogue-line],.vera-student-tutorial-model .vera-student-tutorial-bubble{opacity:1;transform:none;transition:none}}


/* V1.4.3 — raccourci admin vers les conclusions */
.vera-student-admin-shortcut{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:12px 14px;border:1px dashed #9b8468;border-radius:14px;background:#fbf7ef}
.vera-student-admin-shortcut span{display:flex;flex-direction:column;gap:2px}
.vera-student-admin-shortcut small{color:#756b5d;line-height:1.35}
.vera-student-admin-shortcut .vera-student-button{margin:0;white-space:nowrap}
.vera-student-admin-direct-notice,.vera-student-admin-review-flag{padding:10px 12px;border-left:3px solid #9b8468;background:#fbf7ef;color:#594c3d}
@media(max-width:760px){.vera-student-admin-shortcut{align-items:stretch;flex-direction:column}.vera-student-admin-shortcut .vera-student-button{white-space:normal}}


/* V1.4.6 — panneau d’indices flottant : aucun étirement vertical de la simulation */
.vera-student-info-counter{appearance:none;border:0;background:transparent;padding:2px 0;cursor:pointer;font:inherit;display:inline-flex;align-items:center;justify-content:flex-end;font-weight:700;color:#3d6d53!important;margin-bottom:2px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.vera-student-info-counter:hover{color:#244a35!important}
.vera-student-info-counter:focus-visible{outline:2px solid #659374;outline-offset:3px;border-radius:4px}
.vera-student-info-counter.is-complete{font-weight:900}
.vera-student-found-indices{position:fixed;z-index:100010;top:92px;right:24px;width:min(360px,calc(100vw - 32px));max-height:min(58vh,520px);overflow-y:auto;margin:0;padding:16px 17px;border:1px solid #b9d3c1;border-radius:18px;background:#f4faf5;box-shadow:0 22px 65px rgba(29,48,36,.20)}
.vera-student-found-indices[hidden]{display:none}
.vera-student-found-indices__head{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-16px;margin:-16px -17px 6px;padding:13px 12px 8px 17px;background:#f4faf5;border-radius:18px 18px 0 0}
.vera-student-found-indices__head .vera-student-kicker{margin:0}
.vera-student-found-indices__close{appearance:none;border:0;background:transparent;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:24px;line-height:1;color:#315c3d}
.vera-student-found-indices__close:hover{background:#dceee1}
.vera-student-found-indices ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:8px}
.vera-student-found-indices li{display:flex;align-items:flex-start;gap:9px;line-height:1.4;color:#315c3d;font-size:14px}
.vera-student-found-indices li>span:first-child{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;margin-top:1px;border-radius:50%;background:#dceee1;font-weight:900;font-size:12px}
@media(max-width:760px){.vera-student-found-indices{top:auto;left:12px;right:12px;bottom:12px;width:auto;max-height:48vh;border-radius:18px}.vera-student-found-indices__head{top:-16px}}

/* V1.5.0 — interface terminal pedagogique */
.vera-student-app{--vs-night:#071321;--vs-night2:#0c2035;--vs-panel:#10243a;--vs-panel2:#132a42;--vs-gold:#e3b65d;--vs-gold2:#f1d58d;--vs-cream:#f5ead7;--vs-text:#eef2f5;--vs-muted:#9fb0c2;max-width:1440px;color:var(--vs-text)}
.vera-student-header{display:none}.vera-student-stage[data-stage="welcome"],.vera-student-stage[data-stage="simulation"]{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.vera-terminal-shell,.vera-sim-terminal{background:linear-gradient(145deg,#091727,#07111d 72%);border:1px solid rgba(227,182,93,.28);border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.35),inset 0 0 0 10px rgba(255,255,255,.018);padding:18px}
.vera-terminal-topbar{height:42px;display:flex;align-items:center;gap:12px;padding:0 10px;color:var(--vs-gold2);font-family:Georgia,serif;font-weight:700}.vera-terminal-version{display:inline-flex;border:1px solid rgba(227,182,93,.45);border-radius:999px;padding:5px 9px;font-size:11px;color:var(--vs-gold2)}.vera-terminal-lights{margin-left:auto;display:flex;gap:8px}.vera-terminal-lights i{width:10px;height:10px;border-radius:50%;background:#d85b58}.vera-terminal-lights i:nth-child(2){background:#d8b55b}.vera-terminal-lights i:nth-child(3){background:#67bc86}
.vera-welcome-card{width:min(720px,92%);margin:28px auto 18px;padding:34px 42px 30px;border:1px solid rgba(227,182,93,.48);border-radius:24px;background:radial-gradient(circle at 50% 0,rgba(30,64,102,.55),rgba(5,17,29,.95) 66%);text-align:center}.vera-welcome-emblem{width:74px;height:74px;margin:0 auto 18px;border:1px solid var(--vs-gold);border-radius:50%;display:grid;place-items:center;font-size:36px;color:var(--vs-gold)}.vera-welcome-card h2{font-family:Georgia,serif;font-size:42px;line-height:1.08;margin:0;color:#fff}.vera-welcome-card h2 span{font-size:.9em}.vera-welcome-subtitle{color:var(--vs-gold2);font-family:Georgia,serif;font-size:18px}.vera-welcome-copy,.vera-session-recognized{margin:20px 0;padding:18px 20px;border:1px solid rgba(227,182,93,.28);border-radius:16px;background:rgba(255,255,255,.035);text-align:left}.vera-welcome-copy strong{color:var(--vs-gold2)}.vera-welcome-copy p{margin:10px 0 0;line-height:1.55;color:#edf1f5}.vera-session-recognized{text-align:center}.vera-session-recognized small{display:block;letter-spacing:.08em;color:var(--vs-muted)}.vera-session-recognized strong{display:block;margin-top:8px;color:var(--vs-gold2);font-family:Georgia,serif;font-size:22px}.vera-terminal-cta{width:100%;border:0;border-radius:14px;padding:15px 22px;background:linear-gradient(90deg,#dcae55,#f1d58d);color:#081521;font-family:Georgia,serif;font-size:20px;font-weight:700;cursor:pointer}.vera-welcome-note,.vera-welcome-footer{color:var(--vs-muted);font-size:12px}.vera-welcome-footer{margin-top:18px}
.vera-sim-terminal{padding:14px;min-height:min(820px,calc(100vh - 40px))}.vera-sim-toolbar{display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:center;gap:18px;padding:5px 8px 14px;border-bottom:1px solid rgba(227,182,93,.3)}.vera-sim-brand{display:flex;align-items:center;gap:10px}.vera-sim-brand>span:last-child{display:flex;flex-direction:column}.vera-sim-brand strong{font-family:Georgia,serif;font-size:20px;color:var(--vs-gold2)}.vera-sim-brand small{color:var(--vs-muted)}.vera-sim-emblem{width:38px;height:38px;border:1px solid var(--vs-gold);border-radius:50%;display:grid;place-items:center;color:var(--vs-gold)}.vera-sim-progress small{display:block;margin-bottom:7px;color:#d8e0e8}.vera-sim-progress-line{display:flex;align-items:center}.vera-sim-progress-line:before{content:"";height:2px;background:linear-gradient(90deg,var(--vs-gold) 45%,rgba(227,182,93,.18) 45%);flex:1}.vera-sim-progress-line i{width:10px;height:10px;margin-left:-1px;border-radius:50%;border:1px solid var(--vs-gold);background:#0a1929}.vera-sim-progress-line i:first-child,.vera-sim-progress-line i:nth-child(2){background:var(--vs-gold)}.vera-sim-toolbar-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.vera-terminal-smallbtn,.vera-terminal-outline{border:1px solid rgba(227,182,93,.48);background:transparent;color:var(--vs-gold2);border-radius:10px;padding:9px 12px;cursor:pointer}
.vera-sim-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(420px,1.55fr) minmax(250px,.95fr);gap:12px;margin-top:12px;height:calc(min(820px,100vh - 80px) - 96px);min-height:600px}.vera-sim-panel{min-width:0;border:1px solid rgba(227,182,93,.3);border-radius:18px;background:linear-gradient(180deg,rgba(19,43,67,.92),rgba(10,27,44,.94));padding:16px;overflow:hidden}.vera-sim-panel h3{margin:0 0 14px;color:var(--vs-gold2);font-family:Georgia,serif;font-size:18px;font-weight:500}.vera-sim-dossier{display:flex;flex-direction:column;gap:10px;overflow:auto}.vera-dossier-card,.vera-dossier-stat,.vera-student-objective,.vera-guidance-card,.vera-indices-card{border:1px solid rgba(227,182,93,.22);border-radius:12px;background:rgba(255,255,255,.035);padding:13px}.vera-dossier-label{display:block;font-size:10px;letter-spacing:.13em;color:var(--vs-muted);margin-bottom:7px}.vera-dossier-title{display:block;color:#fff;font-family:Georgia,serif;font-size:22px}.vera-dossier-stat{display:flex;flex-direction:column;gap:4px}.vera-dossier-stat span{color:var(--vs-muted);font-size:12px}.vera-dossier-stat strong{font-size:13px;color:#fff}.vera-student-objective{margin:0;background:rgba(227,182,93,.06);color:#fff}.vera-student-objective strong{font-size:14px;line-height:1.5}.vera-terminal-outline{margin-top:auto}
.vera-sim-conversation{display:flex;flex-direction:column}.vera-panel-heading{display:flex;align-items:center;justify-content:space-between}.vera-sim-live{font-size:10px;color:#7dcf9a}.vera-student-chat{flex:1;min-height:0;max-height:none;background:rgba(3,13,23,.28);border:1px solid rgba(227,182,93,.16);border-radius:14px;padding:16px}.vera-student-message{max-width:82%;margin-bottom:13px}.vera-student-message__label{color:#b5c2ce}.vera-student-message__bubble{background:var(--vs-cream);color:#152235;border-color:#d8c59d;box-shadow:none}.vera-student-message--student .vera-student-message__bubble{background:linear-gradient(135deg,#e4b864,#f0d69b);color:#152235;border-color:#e5c26e}.vera-student-composer{margin-top:10px;background:rgba(255,255,255,.04);border-color:rgba(227,182,93,.28);padding:8px}.vera-student-composer textarea{color:#fff;min-height:48px}.vera-student-composer textarea::placeholder{color:#8194a7}.vera-student-composer__actions{padding:4px}.vera-terminal-send{width:42px;height:42px;border-radius:50%;border:0;background:linear-gradient(135deg,#e1b45e,#f1d58d);color:#0a1825;font-size:18px;cursor:pointer}
.vera-sim-guidance{display:flex;flex-direction:column;gap:10px;overflow:auto}.vera-guidance-card small{display:block;font-size:10px;font-weight:800;letter-spacing:.06em;margin-bottom:6px}.vera-guidance-card strong{display:block;margin-bottom:5px;color:#fff}.vera-guidance-card p{margin:0;color:#c5d0db;font-size:12px;line-height:1.45}.vera-guidance-good{border-color:rgba(88,187,116,.45)}.vera-guidance-good small{color:#83d69a}.vera-guidance-mid{border-color:rgba(227,182,93,.45)}.vera-guidance-mid small{color:var(--vs-gold2)}.vera-guidance-bad{border-color:rgba(214,93,88,.45)}.vera-guidance-bad small{color:#ef8985}.vera-indices-card{margin-top:auto}.vera-indices-heading{display:flex;align-items:center;justify-content:space-between}.vera-indices-heading h3{margin:0}.vera-student-info-counter{border:1px solid rgba(227,182,93,.55)!important;background:rgba(227,182,93,.08)!important;color:var(--vs-gold2)!important}.vera-indices-empty{margin:8px 0 0;color:var(--vs-muted);font-size:12px;line-height:1.4}
.vera-student-found-indices{position:static!important;width:100%!important;max-height:220px!important;margin:10px 0 0!important;padding:12px!important;background:rgba(3,13,23,.48)!important;border-color:rgba(227,182,93,.25)!important;box-shadow:none!important}.vera-student-found-indices__head{position:static!important;margin:0 0 8px!important;padding:0!important;background:transparent!important}.vera-student-found-indices__head .vera-student-kicker{color:var(--vs-gold2)}.vera-student-found-indices__close{color:var(--vs-gold2)}.vera-student-found-indices li{color:#e7edf3}.vera-student-found-indices li>span:first-child{background:#244b38;color:#91d7a8}.vera-student-conclusion-hint{margin:0 0 8px;color:var(--vs-gold2)}
.vera-student-admin-shortcut{margin:8px 0!important}.vera-student-admin-shortcut,.vera-student-character-end{background:#10243a!important;color:#fff!important;border-color:rgba(227,182,93,.3)!important}.vera-student-modal__card{background:#10243a;color:#fff;border:1px solid rgba(227,182,93,.4)}.vera-student-modal__card p{color:#c8d3de}.vera-student-direction-choice{background:#0c1d30;color:#fff}
@media(max-width:1100px){.vera-sim-grid{grid-template-columns:240px 1fr;height:auto}.vera-sim-guidance{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}.vera-sim-guidance>h3,.vera-indices-card{grid-column:1/-1}.vera-sim-terminal{min-height:0}.vera-student-chat{height:520px}.vera-sim-toolbar{grid-template-columns:1fr auto}.vera-sim-progress{display:none}}
@media(max-width:760px){.vera-student-app{padding:0 8px;margin:10px auto}.vera-terminal-shell,.vera-sim-terminal{padding:8px;border-radius:18px}.vera-welcome-card{width:100%;padding:24px 18px}.vera-welcome-card h2{font-size:32px}.vera-sim-toolbar{display:flex;flex-wrap:wrap}.vera-sim-grid{display:flex;flex-direction:column}.vera-sim-dossier{max-height:none}.vera-sim-guidance{display:flex}.vera-student-chat{height:58vh}.vera-terminal-smallbtn{font-size:11px}.vera-sim-brand strong{font-size:17px}}

/* V1.5.1 — ecran de selection harmonise avec le terminal */
.vera-student-stage[data-stage="home"]{
  margin-top:12px;
  padding:22px;
  border:1px solid rgba(227,182,93,.30);
  border-radius:24px;
  background:linear-gradient(145deg,#091727,#07111d 72%);
  box-shadow:0 30px 80px rgba(0,0,0,.28),inset 0 0 0 8px rgba(255,255,255,.012);
  color:var(--vs-text);
}
.vera-student-stage[data-stage="home"] .vera-student-intro{
  grid-template-columns:220px 1fr;
  gap:26px;
  padding:8px 0 20px;
  border-bottom:1px solid rgba(227,182,93,.18);
}
.vera-student-stage[data-stage="home"] .vera-student-hero{
  border:1px solid rgba(227,182,93,.38);
  border-radius:18px;
  box-shadow:0 16px 40px rgba(0,0,0,.28);
  filter:saturate(.86) contrast(1.03);
}
.vera-student-stage[data-stage="home"] .vera-student-intro h2{
  color:var(--vs-gold2);
  font-size:34px;
  margin-bottom:8px;
}
.vera-student-stage[data-stage="home"] .vera-student-intro p{
  color:#c6d1dc;
  max-width:760px;
  margin:0;
}
.vera-student-stage[data-stage="home"] .vera-student-tutorial-card{
  margin:18px 0 16px;
  padding:18px 20px;
  border:1px solid rgba(227,182,93,.32);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(19,43,67,.92),rgba(10,27,44,.94));
  box-shadow:none;
}
.vera-student-stage[data-stage="home"] .vera-student-tutorial-card h2{
  color:var(--vs-gold2);
  font-size:24px;
}
.vera-student-stage[data-stage="home"] .vera-student-tutorial-card p{
  color:#bcc9d5;
  max-width:820px;
}
.vera-student-stage[data-stage="home"] .vera-student-kicker{color:#8fa3b6}
.vera-student-stage[data-stage="home"] .vera-student-button--ghost{
  background:transparent;
  color:var(--vs-gold2);
  border-color:rgba(227,182,93,.48);
  min-width:170px;
  margin:0;
}
.vera-student-stage[data-stage="home"] .vera-student-button--ghost:hover{
  background:rgba(227,182,93,.10);
}
.vera-student-stage[data-stage="home"] .vera-student-cases{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.vera-student-stage[data-stage="home"] .vera-student-case{
  grid-template-columns:54px 1fr 24px;
  min-height:90px;
  padding:14px 16px;
  border:1px solid rgba(227,182,93,.24);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(18,40,62,.95),rgba(11,29,47,.95));
  color:#edf2f6;
  box-shadow:none;
}
.vera-student-stage[data-stage="home"] .vera-student-case:hover{
  transform:translateY(-1px);
  border-color:rgba(227,182,93,.65);
  background:linear-gradient(180deg,rgba(25,52,79,.98),rgba(13,34,54,.98));
  box-shadow:0 12px 28px rgba(0,0,0,.22);
}
.vera-student-stage[data-stage="home"] .vera-student-case__number{
  width:42px;height:42px;
  display:grid;place-items:center;
  border:1px solid rgba(227,182,93,.52);
  border-radius:50%;
  color:var(--vs-gold2);
  font-size:19px;
  background:rgba(227,182,93,.055);
}
.vera-student-stage[data-stage="home"] .vera-student-case__body strong{
  color:#f5f1e7;
  font-size:15px;
}
.vera-student-stage[data-stage="home"] .vera-student-case__body small{color:#9fb0c2}
.vera-student-stage[data-stage="home"] .vera-student-case>span:last-child{
  color:var(--vs-gold);
  font-size:20px;
}
.vera-student-stage[data-stage="home"] .vera-student-done-badge{
  color:#8bd5a4!important;
  font-weight:700;
}
.vera-student-stage[data-stage="home"] .vera-student-admin-scenario{
  margin-top:5px;
  padding:7px 9px;
  border:1px solid rgba(227,182,93,.18);
  background:rgba(3,13,23,.30);
  color:#d8c9aa;
}
.vera-student-stage[data-stage="home"] .vera-student-admin-scenario code{color:#95a8bb}
.vera-student-stage[data-stage="home"] .vera-student-history{
  margin:18px 0 0;
  padding:18px 18px 4px;
  border:1px solid rgba(227,182,93,.20);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.vera-student-stage[data-stage="home"] .vera-student-section-title h3{color:var(--vs-gold2)}
.vera-student-stage[data-stage="home"] .vera-student-link{color:#d7bd82}
.vera-student-stage[data-stage="home"] .vera-student-history-list>div{border-bottom-color:rgba(227,182,93,.12)}
.vera-student-stage[data-stage="home"] .vera-student-history-list small{color:#8fa3b6}
.vera-student-stage[data-stage="home"] .vera-student-muted{color:#8fa3b6}
@media(max-width:900px){
  .vera-student-stage[data-stage="home"] .vera-student-cases{grid-template-columns:1fr}
}
@media(max-width:760px){
  .vera-student-stage[data-stage="home"]{padding:12px;border-radius:18px}
  .vera-student-stage[data-stage="home"] .vera-student-intro{grid-template-columns:1fr;padding-top:0}
  .vera-student-stage[data-stage="home"] .vera-student-hero{max-width:300px}
  .vera-student-stage[data-stage="home"] .vera-student-tutorial-card{padding:16px}
}


/* V1.5.2 — immersion page + conclusions/debrief lisibles */
html.vera-student-immersive,body.vera-student-immersive{background:#06111d!important}
body.vera-student-immersive #masthead,
body.vera-student-immersive #colophon,
body.vera-student-immersive .site-header,
body.vera-student-immersive .site-footer,
body.vera-student-immersive .elementor-location-header,
body.vera-student-immersive .elementor-location-footer,
body.vera-student-immersive .entry-header,
body.vera-student-immersive .page-header,
body.vera-student-immersive .ast-breadcrumbs-wrapper,
body.vera-student-immersive .breadcrumbs,
body.vera-student-immersive .breadcrumb,
body.vera-student-immersive .rank-math-breadcrumb,
body.vera-student-immersive .site-below-footer-wrap{display:none!important}
body.vera-student-immersive #page,
body.vera-student-immersive .site,
body.vera-student-immersive .site-content,
body.vera-student-immersive .content-area,
body.vera-student-immersive .site-main,
body.vera-student-immersive .entry-content,
body.vera-student-immersive .post-content,
body.vera-student-immersive .elementor,
body.vera-student-immersive .elementor-section-wrap,
body.vera-student-immersive .wp-site-blocks{background:transparent!important;max-width:none!important}
body.vera-student-immersive .site-main,
body.vera-student-immersive .content-area,
body.vera-student-immersive .entry-content,
body.vera-student-immersive .post-content,
body.vera-student-immersive .elementor-widget-shortcode,
body.vera-student-immersive .elementor-shortcode{margin:0!important;padding:0!important}
body.vera-student-immersive .vera-student-app{max-width:1440px;margin:0 auto;padding:18px 18px 36px;color:var(--vs-text)}
body.vera-student-immersive .vera-student-header{display:none}

.vera-student-modal__close{color:var(--vs-gold2)}
.vera-student-modal textarea{color:#f2f5f8;border-color:rgba(227,182,93,.35)!important}
.vera-student-modal textarea::placeholder{color:#8ea2b6}
.vera-student-direction-choice{border-color:rgba(227,182,93,.28)!important;background:rgba(255,255,255,.035)!important;color:#edf2f6!important}
.vera-student-direction-choice:hover{border-color:rgba(227,182,93,.56)!important;background:rgba(227,182,93,.08)!important}
.vera-student-direction-choice input{accent-color:#e1b45e}
.vera-student-button--ghost[data-continue-interview]{background:transparent!important;color:var(--vs-gold2)!important;border-color:rgba(227,182,93,.45)!important}
.vera-student-button--ghost[data-continue-interview]:hover{background:rgba(227,182,93,.10)!important}
.vera-student-admin-direct-notice{padding:12px 14px;border-radius:12px;background:rgba(227,182,93,.08);border:1px solid rgba(227,182,93,.18)}

.vera-student-stage[data-stage="debrief"]{margin-top:12px;padding:22px;border:1px solid rgba(227,182,93,.30);border-radius:24px;background:linear-gradient(145deg,#091727,#07111d 72%);box-shadow:0 30px 80px rgba(0,0,0,.28),inset 0 0 0 8px rgba(255,255,255,.012);color:var(--vs-text)}
.vera-student-stage[data-stage="debrief"] .vera-student-kicker{color:#8fa3b6}
.vera-student-stage[data-stage="debrief"] .vera-student-debrief-head{padding:0 0 18px;border-bottom:1px solid rgba(227,182,93,.16);margin-bottom:16px}
.vera-student-stage[data-stage="debrief"] .vera-student-debrief-head h2{color:#fff;font-size:clamp(30px,4vw,42px)}
.vera-student-stage[data-stage="debrief"] .vera-student-score{background:linear-gradient(135deg,#d7aa58,#f2d591);color:#081521;box-shadow:0 12px 26px rgba(0,0,0,.22)}
.vera-student-stage[data-stage="debrief"] .vera-student-score span{opacity:.8}
.vera-student-stage[data-stage="debrief"] .vera-student-debrief-text,
.vera-student-stage[data-stage="debrief"] .vera-student-reactions,
.vera-student-stage[data-stage="debrief"] .vera-student-correction,
.vera-student-stage[data-stage="debrief"] .vera-student-hidden-file{border:1px solid rgba(227,182,93,.22);border-radius:18px;padding:20px;background:linear-gradient(180deg,rgba(19,43,67,.92),rgba(10,27,44,.94));color:#edf2f6}
.vera-student-stage[data-stage="debrief"] .vera-student-debrief-text,
.vera-student-stage[data-stage="debrief"] .vera-student-reactions,
.vera-student-stage[data-stage="debrief"] .vera-student-correction{margin-top:14px}
.vera-student-stage[data-stage="debrief"] h3{margin:0 0 12px;color:var(--vs-gold2);font-family:Georgia,serif;font-size:24px;font-weight:500}
.vera-student-stage[data-stage="debrief"] h4{margin:18px 0 8px;color:#fff}
.vera-student-stage[data-stage="debrief"] p,
.vera-student-stage[data-stage="debrief"] li,
.vera-student-stage[data-stage="debrief"] small,
.vera-student-stage[data-stage="debrief"] code{color:#d9e3ec}
.vera-student-stage[data-stage="debrief"] code{background:rgba(255,255,255,.06);padding:2px 7px;border-radius:999px}
.vera-student-stage[data-stage="debrief"] ul{padding-left:20px}
.vera-student-stage[data-stage="debrief"] li{margin-bottom:10px;line-height:1.5}
.vera-student-stage[data-stage="debrief"] .vera-student-good-answer{padding:12px 14px;border-radius:12px;background:rgba(112,190,128,.10);border:1px solid rgba(112,190,128,.22)}
.vera-student-stage[data-stage="debrief"] .vera-student-hidden-file{background:linear-gradient(180deg,rgba(26,49,73,.96),rgba(15,34,54,.96))}
.vera-student-stage[data-stage="debrief"] .vera-student-hidden-file h3{margin-bottom:10px}
.vera-student-stage[data-stage="debrief"] .vera-student-reaction{margin-top:12px;padding:16px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(227,182,93,.16)}
.vera-student-stage[data-stage="debrief"] .vera-student-reaction h4{margin-top:0}
.vera-student-stage[data-stage="debrief"] .vera-student-reaction p{margin:8px 0}
.vera-student-stage[data-stage="debrief"] .vera-student-reaction blockquote{margin:12px 0;padding:12px 14px;border-left:3px solid var(--vs-gold);background:rgba(255,255,255,.05);color:#fff;font-style:italic}
.vera-student-stage[data-stage="debrief"] .vera-student-reaction--positif{border-color:rgba(88,187,116,.45)}
.vera-student-stage[data-stage="debrief"] .vera-student-reaction--attention{border-color:rgba(227,182,93,.35)}
.vera-student-stage[data-stage="debrief"] .vera-student-debrief-actions{padding:22px 0 4px}
.vera-student-stage[data-stage="debrief"] .vera-student-button{background:linear-gradient(135deg,#d8ac59,#f0d38b);color:#081521}
.vera-student-stage[data-stage="debrief"] .vera-student-button:hover{filter:brightness(1.02)}

@media(max-width:760px){
  body.vera-student-immersive .vera-student-app{padding:8px 8px 28px}
  .vera-student-stage[data-stage="debrief"]{padding:14px;border-radius:18px}
  .vera-student-stage[data-stage="debrief"] .vera-student-debrief-head{align-items:flex-start;flex-direction:column}
}


/* V1.5.3 — fond plein écran, sans marges grises autour de l'interface */
body.vera-student-immersive{overflow-x:hidden;background:
  radial-gradient(circle at top,rgba(16,43,70,.55),transparent 34%),
  linear-gradient(180deg,#07111b 0%,#05101a 52%,#07131f 100%)!important}
body.vera-student-immersive .vera-student-app{
  width:100vw!important;
  max-width:none!important;
  min-height:100vh;
  margin:0 0 0 calc(50% - 50vw)!important;
  padding:24px 22px 40px!important;
  background:transparent!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"],
body.vera-student-immersive .vera-student-stage[data-stage="home"],
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"],
body.vera-student-immersive .vera-student-stage[data-stage="debrief"],
body.vera-student-immersive .vera-sim-terminal{
  width:min(1280px,100%);
  margin-left:auto;
  margin-right:auto;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"]{margin-top:0}
body.vera-student-immersive .vera-student-stage[data-stage="home"],
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"],
body.vera-student-immersive .vera-student-stage[data-stage="debrief"]{margin-top:0}

@media(max-width:760px){
  body.vera-student-immersive .vera-student-app{padding:10px 8px 24px!important}
}


/* V1.5.4 — neutralisation plus forte du conteneur blanc du thème */
body.vera-student-immersive .vera-student-host-wrap,
body.vera-student-immersive .vera-student-host-wrap::before,
body.vera-student-immersive .vera-student-host-wrap::after,
body.vera-student-immersive article,
body.vera-student-immersive article::before,
body.vera-student-immersive article::after,
body.vera-student-immersive .post,
body.vera-student-immersive .page,
body.vera-student-immersive .inside-article,
body.vera-student-immersive .entry-content,
body.vera-student-immersive .post-content,
body.vera-student-immersive .hentry,
body.vera-student-immersive .ast-container,
body.vera-student-immersive .site-content,
body.vera-student-immersive .content-area,
body.vera-student-immersive .site-main,
body.vera-student-immersive .page-content,
body.vera-student-immersive .wp-block-post-content,
body.vera-student-immersive .is-layout-constrained,
body.vera-student-immersive .elementor-section,
body.vera-student-immersive .elementor-container,
body.vera-student-immersive .elementor-column,
body.vera-student-immersive .elementor-widget-wrap,
body.vera-student-immersive .elementor-widget-shortcode,
body.vera-student-immersive .elementor-shortcode{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
body.vera-student-immersive article,
body.vera-student-immersive .post,
body.vera-student-immersive .page,
body.vera-student-immersive .inside-article,
body.vera-student-immersive .entry-content,
body.vera-student-immersive .post-content,
body.vera-student-immersive .hentry,
body.vera-student-immersive .ast-container,
body.vera-student-immersive .site-content,
body.vera-student-immersive .content-area,
body.vera-student-immersive .site-main,
body.vera-student-immersive .page-content,
body.vera-student-immersive .wp-block-post-content,
body.vera-student-immersive .is-layout-constrained,
body.vera-student-immersive .elementor-section,
body.vera-student-immersive .elementor-container,
body.vera-student-immersive .elementor-column,
body.vera-student-immersive .elementor-widget-wrap,
body.vera-student-immersive .elementor-widget-shortcode,
body.vera-student-immersive .elementor-shortcode{
  max-width:none!important;
  width:100%!important;
}
body.vera-student-immersive .entry-content,
body.vera-student-immersive .post-content,
body.vera-student-immersive .inside-article,
body.vera-student-immersive .elementor-widget-wrap,
body.vera-student-immersive .elementor-shortcode,
body.vera-student-immersive .wp-block-post-content{
  padding:0!important;
  margin:0!important;
}


/* V1.5.5 — écran d'accueil calé verticalement */
body.vera-student-immersive .vera-student-stage[data-stage="welcome"]{
  min-height:calc(100vh - 64px);
  display:flex;
  align-items:center;
  justify-content:center;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-terminal-shell{
  width:min(1280px,100%);
  margin:0 auto;
}
@media(max-width:760px){
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"]{
    min-height:calc(100vh - 20px);
    align-items:flex-start;
    padding-top:10px;
  }
}


/* V1.5.6 — terminal ancré en haut, carte centrée à l'intérieur */
body.vera-student-immersive .vera-student-stage[data-stage="welcome"]{
  min-height:auto!important;
  display:block!important;
  padding-top:18px!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-terminal-shell{
  width:min(1280px,100%)!important;
  min-height:calc(100vh - 58px);
  margin:0 auto!important;
  display:flex;
  flex-direction:column;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-terminal-topbar{
  flex:0 0 auto;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card{
  margin:auto;
}
@media(max-width:760px){
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"]{
    padding-top:4px!important;
  }
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-terminal-shell{
    min-height:auto;
  }
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card{
    margin:14px auto 0;
  }
}


/* V1.5.7 — immersion ciblée sur la structure WordPress/Astra réelle */
html.vera-student-immersive{
  margin-top:0!important;
  min-height:100%!important;
  background:#06111d!important;
}
body.vera-student-immersive{
  margin:0!important;
  padding:0!important;
  min-height:100vh!important;
  min-height:100svh!important;
}
body.vera-student-immersive #wpadminbar,
body.vera-student-immersive #masthead,
body.vera-student-immersive #colophon,
body.vera-student-immersive .site-header,
body.vera-student-immersive .site-footer,
body.vera-student-immersive .elementor-location-header,
body.vera-student-immersive .elementor-location-footer,
body.vera-student-immersive .entry-header,
body.vera-student-immersive .page-header,
body.vera-student-immersive .ast-breadcrumbs-wrapper,
body.vera-student-immersive .site-below-footer-wrap{
  display:none!important;
}
body.vera-student-immersive #page.hfeed.site,
body.vera-student-immersive #content.site-content,
body.vera-student-immersive #content.site-content>.ast-container,
body.vera-student-immersive #primary.content-area,
body.vera-student-immersive #main.site-main,
body.vera-student-immersive #main.site-main>article.ast-article-single,
body.vera-student-immersive article.ast-article-single .entry-content.clear{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
body.vera-student-immersive #page.hfeed.site,
body.vera-student-immersive #content.site-content{
  min-height:100vh!important;
  min-height:100svh!important;
}
body.vera-student-immersive #content.site-content>.ast-container{
  display:block!important;
}
body.vera-student-immersive #primary.content-area{
  float:none!important;
}
body.vera-student-immersive article.ast-article-single::before,
body.vera-student-immersive article.ast-article-single::after,
body.vera-student-immersive article.ast-article-single .entry-content.clear::before,
body.vera-student-immersive article.ast-article-single .entry-content.clear::after{
  display:none!important;
  content:none!important;
}
body.vera-student-immersive .vera-student-app{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  min-height:100svh!important;
  margin:0!important;
  padding:24px 22px 40px!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"]{
  width:min(1280px,100%)!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-terminal-shell{
  width:min(1280px,100%)!important;
  min-height:calc(100vh - 64px)!important;
  min-height:calc(100svh - 64px)!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card{
  margin:auto!important;
}
@media(max-width:782px){
  html.vera-student-immersive{
    margin-top:0!important;
  }
  body.vera-student-immersive .vera-student-app{
    padding:20px 8px 24px!important;
  }
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-terminal-shell{
    min-height:calc(100vh - 44px)!important;
    min-height:calc(100svh - 44px)!important;
  }
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card{
    margin:auto!important;
  }
}

/* V1.6.0 — tutoriel guidé, animations d'indices, SOS */
.vera-tutorial-guide{margin:14px 0 12px;padding:16px 18px;border:1px solid rgba(227,182,93,.28);border-radius:16px;background:linear-gradient(145deg,rgba(227,182,93,.09),rgba(13,31,49,.38));color:#e7edf3}
.vera-tutorial-guide>strong{display:block;margin-bottom:7px;color:var(--vs-gold2,#e7c47b);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.vera-tutorial-guide p{margin:0 0 12px;color:#d6e0e9}
.vera-tutorial-model-answer{padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.06);border-left:3px solid var(--vs-gold,#d9aa54);color:#fff;line-height:1.55}
.vera-tutorial-model-answer small{display:block;margin-bottom:5px;color:#aebdca;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800}
.vera-tutorial-index-demo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:rgba(77,179,105,.13);border:1px solid rgba(95,205,126,.34);color:#a9e7b9;font-weight:800}
.vera-tutorial-sos-demo{display:inline-flex;margin-top:2px;padding:12px 16px;border-radius:12px;background:linear-gradient(135deg,#a8212b,#d23a45);color:#fff;font-weight:900;box-shadow:0 12px 28px rgba(130,20,30,.2)}
.vera-tutorial-typing{justify-self:start;display:flex;align-items:center;gap:5px;width:max-content;max-width:85%;padding:10px 13px;border:1px solid rgba(227,182,93,.18);border-radius:14px 14px 14px 5px;background:rgba(255,255,255,.06);opacity:0;transform:translateY(7px);transition:opacity .2s ease,transform .2s ease}
.vera-tutorial-typing.is-visible{opacity:1;transform:translateY(0)}
.vera-tutorial-typing span{width:6px;height:6px;border-radius:50%;background:#c9d4de;animation:veraTypingDot 1s infinite ease-in-out}
.vera-tutorial-typing span:nth-child(2){animation-delay:.12s}.vera-tutorial-typing span:nth-child(3){animation-delay:.24s}
.vera-tutorial-typing em{margin-left:5px;color:#aebdca;font-size:11px;font-style:normal}
@keyframes veraTypingDot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}

.vera-student-index-flash{position:fixed;z-index:100002;left:50%;top:18%;width:min(430px,calc(100vw - 32px));padding:22px 24px;border-radius:22px;border:1px solid rgba(107,217,137,.55);background:linear-gradient(145deg,rgba(12,55,34,.97),rgba(8,29,25,.98));box-shadow:0 28px 80px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.04) inset;color:#fff;text-align:center;opacity:0;transform:translate(-50%,-18px) scale(.94);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.9,.2,1)}
.vera-student-index-flash[hidden]{display:none}
.vera-student-index-flash.is-showing{opacity:1;transform:translate(-50%,0) scale(1)}
.vera-student-index-flash>span{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 10px;border-radius:50%;background:#52bd72;color:#06150d;font-size:31px;font-weight:1000;box-shadow:0 0 0 8px rgba(82,189,114,.12)}
.vera-student-index-flash strong{display:block;font-family:Georgia,serif;font-size:25px;font-weight:600;color:#dff8e6}
.vera-student-index-flash small{display:block;margin-top:7px;color:#b9d6c2;font-size:13px;line-height:1.45}
.vera-student-index-flash.is-complete{border-color:rgba(111,228,143,.8);background:linear-gradient(145deg,rgba(14,73,41,.99),rgba(8,35,28,.99))}
.vera-student-index-flash.is-complete>span{animation:veraIndexPulse .65s ease both}
@keyframes veraIndexPulse{0%{transform:scale(.5) rotate(-12deg)}55%{transform:scale(1.18) rotate(4deg)}100%{transform:scale(1) rotate(0)}}

.vera-student-sos{width:100%;margin-top:10px;padding:13px 14px;border:1px solid rgba(255,116,124,.72);border-radius:14px;background:linear-gradient(135deg,#8d1e28,#c12e39);color:#fff;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 12px 30px rgba(100,16,25,.22);transition:transform .15s ease,filter .15s ease}
.vera-student-sos:hover{transform:translateY(-1px);filter:brightness(1.08)}
.vera-student-sos small{display:block;margin-top:3px;font-size:10px;font-weight:600;opacity:.78}
.vera-student-sos.is-busy,.vera-student-sos:disabled{opacity:.6;cursor:wait;transform:none}

.vera-student-done-badge{display:inline-flex!important;width:max-content;padding:3px 8px;border-radius:999px;border:1px solid rgba(91,190,116,.38);background:rgba(91,190,116,.09);color:#8bd39d!important;font-weight:800}

@media(max-width:760px){
  .vera-student-index-flash{top:12%;padding:18px}
  .vera-student-index-flash strong{font-size:22px}
  .vera-tutorial-index-demo{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  .vera-tutorial-typing span,.vera-student-index-flash.is-complete>span{animation:none}
  .vera-student-index-flash,.vera-tutorial-typing{transition:none}
}


/* V1.6.1 — directions directement sous la conversation quand tous les indices sont trouvés */
.vera-inline-directions{margin:16px 0 2px;padding:18px;border:1px solid rgba(88,190,116,.44);border-radius:18px;background:linear-gradient(180deg,rgba(17,54,48,.95),rgba(12,36,40,.96));box-shadow:0 18px 38px rgba(0,0,0,.18)}
.vera-inline-directions[hidden]{display:none}
.vera-inline-directions h3{margin:5px 0 7px!important;color:#fff!important;font-family:Georgia,serif!important;font-size:22px!important}
.vera-inline-directions p{margin:0;color:#c9d8d8;line-height:1.5}
.vera-inline-directions__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.vera-inline-direction-btn{appearance:none;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:14px 15px!important;border:1px solid rgba(227,182,93,.34)!important;border-radius:14px!important;background:rgba(255,255,255,.045)!important;color:#fff!important;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}
.vera-inline-direction-btn strong{font-size:14px;line-height:1.35;color:#fff}
.vera-inline-direction-btn span{font-size:11px;color:#e4c77e;letter-spacing:.04em;text-transform:uppercase}
.vera-inline-direction-btn:hover{transform:translateY(-1px);border-color:rgba(227,182,93,.72)!important;background:rgba(227,182,93,.1)!important}
.vera-inline-direction-btn.is-busy,.vera-inline-direction-btn:disabled{opacity:.58;cursor:wait;transform:none}
@media(max-width:760px){.vera-inline-directions__choices{grid-template-columns:1fr}}


/* V1.6.2 — vrais écrans exclusifs + retrait visuel de la photo VERA */
body.vera-student-immersive .vera-student-stage[hidden]{
  display:none!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="home"] .vera-student-intro{
  display:block!important;
  grid-template-columns:none!important;
  padding:8px 0 20px!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="home"] .vera-student-intro>div{
  max-width:860px;
}
body.vera-student-immersive .vera-student-stage[data-stage="home"] .vera-student-hero{
  display:none!important;
}


/* V1.6.3 — tutoriel essai puis révélation + contraste bulles */
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"] .vera-student-tutorial-bubble--person{
  background:#f7f3ec!important;
  color:#172233!important;
  border-color:#dfd3c2!important;
}
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"] .vera-student-tutorial-bubble--person small{color:#695b49!important;opacity:1!important}
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"] .vera-student-tutorial-bubble--person p{color:#172233!important}
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"] .vera-student-tutorial-interactive label{display:block;margin-top:14px;color:#eef2f5}
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"] .vera-student-tutorial-interactive textarea{background:#0d2033!important;color:#fff!important;border-color:rgba(227,182,93,.35)!important}
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"] .vera-student-tutorial-interactive textarea::placeholder{color:#8fa2b4}
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"] .vera-tutorial-answer-needs-input{animation:veraTutorialNeedsInput .75s ease}
@keyframes veraTutorialNeedsInput{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 3px rgba(227,182,93,.22);border-color:#e3b65d!important}}


/* V1.6.4 — tutoriel auto après une seule action */
.vera-tutorial-auto-button{min-width:190px;font-weight:900}
.vera-student-tutorial-step[data-tutorial-auto-step]{scroll-margin-top:20px}
.vera-student-tutorial-step[data-tutorial-auto-step].is-auto-visible{animation:veraTutorialAutoReveal .45s ease both}
@keyframes veraTutorialAutoReveal{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.vera-tutorial-directions-demo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.vera-tutorial-directions-demo button{pointer-events:none!important;cursor:default!important;padding:12px 14px;border:1px solid rgba(227,182,93,.45)!important;border-radius:12px!important;background:#132a42!important;color:#f5ead7!important;font-weight:800!important;box-shadow:none!important}
@media(max-width:760px){.vera-tutorial-directions-demo{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.vera-student-tutorial-step[data-tutorial-auto-step].is-auto-visible{animation:none}}

/* V1.6.5 — tutoriel intégré à l'interface réelle, progression au clic */
body.vera-student-immersive .vera-student-stage[data-stage="tutorial"]{width:min(1440px,100%)!important}
.vera-tutorial-live{margin-top:16px}
.vera-tutorial-terminal{position:relative}
.vera-tutorial-callout{position:sticky;top:12px;z-index:20;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"count title button" "count text button";align-items:center;gap:4px 16px;margin:0 0 16px;padding:16px 18px;border:1px solid rgba(227,182,93,.6);border-radius:16px;background:rgba(7,19,33,.96);box-shadow:0 18px 38px rgba(0,0,0,.28);backdrop-filter:blur(10px)}
.vera-tutorial-step-count{grid-area:count;align-self:stretch;display:flex;align-items:center;padding-right:16px;border-right:1px solid rgba(227,182,93,.22);color:var(--vs-gold2,#f1d58d);font-weight:900;font-size:12px;white-space:nowrap}
.vera-tutorial-callout strong{grid-area:title;color:#fff;font-size:16px}
.vera-tutorial-callout p{grid-area:text;margin:2px 0 0;color:#b9c8d5;line-height:1.45}
.vera-tutorial-callout button{grid-area:button;white-space:nowrap}
.vera-tutorial-sim-grid [data-tutorial-zone]{position:relative;transition:box-shadow .24s ease,border-color .24s ease,transform .24s ease,opacity .24s ease}
.vera-tutorial-sim-grid [data-tutorial-zone].is-tutorial-focus{z-index:4;border-color:#f1c668!important;box-shadow:0 0 0 3px rgba(241,198,104,.24),0 0 42px rgba(227,182,93,.22)!important;transform:translateY(-2px)}

.vera-tutorial-chat-demo{min-height:240px}
.vera-tutorial-chat-demo .vera-student-message{display:flex!important;flex-direction:column!important;opacity:1!important;transform:none!important}.vera-tutorial-chat-demo .vera-student-message__bubble{white-space:pre-wrap}.vera-tutorial-chat-demo .vera-student-message--student{margin-left:auto;align-items:flex-end}.vera-tutorial-chat-demo .vera-student-message--vera{margin-right:auto;align-items:flex-start}
.vera-tutorial-composer textarea{pointer-events:none}
.vera-tutorial-directions-demo{display:grid!important;grid-template-columns:1fr!important;margin-top:16px;padding-top:14px;border-top:1px solid rgba(227,182,93,.2)}
.vera-tutorial-directions-demo button{pointer-events:auto!important;cursor:pointer!important}
.vera-tutorial-sos-demo{display:block;margin-top:12px;text-align:center}
@media(max-width:900px){.vera-tutorial-callout{position:relative;top:auto;grid-template-columns:1fr;grid-template-areas:"count" "title" "text" "button"}.vera-tutorial-step-count{border-right:0;border-bottom:1px solid rgba(227,182,93,.22);padding:0 0 9px}.vera-tutorial-callout button{width:100%}}
@media(prefers-reduced-motion:reduce){.vera-tutorial-sim-grid [data-tutorial-zone]{transition:none}}


/* V1.6.6 — tutoriel : premier vrai envoi + indices progressifs */
.vera-tutorial-composer .vera-terminal-send:disabled{opacity:.35;cursor:not-allowed;filter:saturate(.35)}
.vera-tutorial-composer.is-active{border-color:rgba(227,182,93,.78)!important;box-shadow:0 0 0 3px rgba(227,182,93,.12),0 12px 30px rgba(0,0,0,.18)}
.vera-tutorial-composer.is-active textarea{color:#f5f8fb!important;background:#10243a!important;border-color:rgba(227,182,93,.55)!important;font-weight:650}
.vera-tutorial-composer.is-active .vera-terminal-send{opacity:1;cursor:pointer;transform:scale(1.06);box-shadow:0 0 0 4px rgba(227,182,93,.13),0 10px 24px rgba(0,0,0,.22)}
.vera-tutorial-index-flash{margin:10px 0 12px;padding:12px 14px;border-radius:13px;border:1px solid rgba(95,205,126,.5);background:rgba(45,145,75,.16);color:#baf0c7;font-weight:900;letter-spacing:.01em;opacity:0;transform:translateY(7px) scale(.98);transition:opacity .28s ease,transform .28s ease}
.vera-tutorial-index-flash strong{float:right;color:#e7f8eb}
.vera-tutorial-index-flash.is-visible{opacity:1;transform:translateY(0) scale(1)}
.vera-tutorial-directions-demo[hidden]{display:none!important}
@media(max-width:760px){.vera-tutorial-index-flash strong{float:none;display:block;margin-top:3px}}


/* V1.6.7 — tutoriel progressif, correction et synthèse */
.vera-student-tutorial-head--compact{margin-bottom:8px!important;padding:0!important}
.vera-tutorial-explanation{margin:12px 0;padding:14px 16px;border:1px solid rgba(227,182,93,.35);border-radius:14px;background:rgba(227,182,93,.07);color:#dbe5ed}
.vera-tutorial-explanation small{display:block;margin-bottom:5px;color:#f1d58d;font-size:10px;font-weight:900;letter-spacing:.09em}
.vera-tutorial-explanation strong{display:block;margin-bottom:6px;color:#fff}
.vera-tutorial-explanation p{margin:0;line-height:1.55;color:#c7d4df}
.vera-tutorial-directions-demo button.is-selected{border-color:#71d593!important;box-shadow:0 0 0 3px rgba(113,213,147,.16)!important;background:#17372e!important}
.vera-tutorial-solution,.vera-tutorial-reflection{margin-top:16px;padding:18px;border:1px solid rgba(227,182,93,.36);border-radius:16px;background:#10243a;color:#edf3f7}
.vera-tutorial-solution h4{margin:7px 0 10px;color:#f1d58d;font-size:18px}
.vera-tutorial-solution p,.vera-tutorial-solution li,.vera-tutorial-reflection p{color:#cbd7e1;line-height:1.55}
.vera-tutorial-solution ul{margin:12px 0 0;padding-left:20px}
.vera-tutorial-reflection label{display:block;margin-bottom:5px;color:#fff}
.vera-tutorial-reflection textarea{width:100%;min-height:130px;margin-top:10px;padding:13px 14px;border:1px solid rgba(227,182,93,.45);border-radius:12px;background:#0b1c2d;color:#fff;resize:vertical}
.vera-tutorial-reflection textarea:focus{outline:none;border-color:#e3b65d;box-shadow:0 0 0 3px rgba(227,182,93,.12)}


/* V1.6.9 — tutoriel : saisie animée, envoi réel et indices cohérents */
.vera-tutorial-composer.is-active textarea{caret-color:#f1d58d!important}
.vera-tutorial-person-typing .vera-student-message__bubble{font-style:italic;color:#667887!important;background:#f5ead7!important}
.vera-tutorial-typing-dots span{display:inline-block;animation:veraTutorialDot 1s infinite ease-in-out}
.vera-tutorial-typing-dots span:nth-child(2){animation-delay:.14s}.vera-tutorial-typing-dots span:nth-child(3){animation-delay:.28s}
@keyframes veraTutorialDot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
.vera-tutorial-index-flash strong{display:none!important}
.vera-tutorial-indices-panel{position:absolute;right:10px;bottom:64px;z-index:30;width:min(330px,calc(100% - 20px));max-height:280px;overflow:auto;background:#0f2236!important;color:#eaf0f5!important;border:1px solid rgba(227,182,93,.5)!important;box-shadow:0 18px 42px rgba(0,0,0,.35)!important}
.vera-tutorial-indices-panel p{margin:0 0 10px;color:#b9c8d5}.vera-tutorial-indices-panel ul{margin:0;padding-left:18px}.vera-tutorial-indices-panel li{margin:6px 0;color:#dce7ee}
.vera-indices-card[data-tutorial-zone="indices"]{position:relative}
.vera-indices-card[data-tutorial-zone="indices"] .vera-student-info-counter{cursor:pointer!important}
@media(prefers-reduced-motion:reduce){.vera-tutorial-typing-dots span{animation:none}}

.vera-tutorial-index-flash--panel{margin:0 0 12px;justify-content:space-between;width:100%}
.vera-tutorial-index-flash--panel[hidden]{display:none!important}

/* V1.6.11 — tutoriel : focus sans badge, indices détaillés et correction dédiée */
.vera-tutorial-sim-grid [data-tutorial-zone].is-tutorial-focus::after{display:none!important;content:none!important}
.vera-tutorial-indices-panel{right:0!important;bottom:calc(100% + 10px)!important;width:min(390px,100%)!important;max-height:420px!important;padding:15px!important}
.vera-tutorial-indices-panel li{display:grid!important;grid-template-columns:22px 1fr!important;gap:10px!important;align-items:start!important;margin:0 0 12px!important;padding:0 0 12px!important;border-bottom:1px solid rgba(227,182,93,.15)}
.vera-tutorial-indices-panel li:last-child{margin-bottom:0!important;padding-bottom:0!important;border-bottom:0}
.vera-tutorial-indices-panel li>span:first-child{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;border-radius:50%!important;background:#244b38!important;color:#91d7a8!important;font-weight:900!important}
.vera-tutorial-indices-panel li strong{display:block;margin:0 0 3px;color:#f1d58d;font-size:13px}
.vera-tutorial-indices-panel li p{margin:0!important;color:#d6e0e9!important;font-size:12px;line-height:1.45}
.vera-tutorial-solution{margin-top:0!important;padding:22px!important;border-color:rgba(227,182,93,.55)!important;background:linear-gradient(155deg,rgba(16,36,58,.98),rgba(8,24,39,.98))!important;box-shadow:0 18px 42px rgba(0,0,0,.18)}
.vera-tutorial-solution__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.vera-tutorial-solution__status{display:inline-flex;padding:6px 9px;border:1px solid rgba(113,213,147,.35);border-radius:999px;background:rgba(45,145,75,.12);color:#a9e7b9;font-size:11px;font-weight:800}
.vera-tutorial-solution h4{font-family:Georgia,serif;font-size:24px!important;line-height:1.2;margin:8px 0 8px!important}
.vera-tutorial-solution__lead{margin:0 0 18px!important;font-size:14px}
.vera-tutorial-solution__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.vera-tutorial-solution__grid section{padding:14px;border:1px solid rgba(227,182,93,.2);border-radius:12px;background:rgba(255,255,255,.035)}
.vera-tutorial-solution__grid small{display:block;margin-bottom:7px;color:#f1d58d;font-size:9px;font-weight:900;letter-spacing:.09em}
.vera-tutorial-solution__grid strong{display:block;margin-bottom:6px;color:#fff;font-size:13px;line-height:1.35}
.vera-tutorial-solution__grid p{margin:0!important;color:#bdcbd7!important;font-size:12px;line-height:1.48}
@media(max-width:900px){.vera-tutorial-solution__grid{grid-template-columns:1fr}.vera-tutorial-solution__head{align-items:flex-start;flex-direction:column}.vera-tutorial-indices-panel{position:static!important;width:100%!important;max-height:360px!important}}

/* V1.6.16 — hiérarchie des boutons et tutoriel sans retour supérieur */
.vera-student-app{
  --vs-button-gold:#e2b55e;
  --vs-button-gold-light:#f3d990;
  --vs-button-gold-hover:#f6dfa3;
  --vs-button-ink:#071522;
  --vs-button-focus:#ffe4a3;
}

.vera-student-app button,
.vera-student-app .vera-student-button{
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.vera-student-app .vera-student-button[hidden]{display:none!important}

.vera-student-app .vera-student-button{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:0;
  padding:11px 20px;
  border:1px solid rgba(255,225,157,.72);
  border-radius:12px;
  background:linear-gradient(135deg,var(--vs-button-gold),var(--vs-button-gold-light));
  box-shadow:0 8px 20px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.34);
  color:var(--vs-button-ink);
  font:inherit;
  font-size:13px;
  font-weight:850;
  line-height:1.2;
  letter-spacing:.01em;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease,color .16s ease;
}
.vera-student-app .vera-student-button:hover{
  border-color:#ffe3a0;
  background:linear-gradient(135deg,#e8bd69,var(--vs-button-gold-hover));
  box-shadow:0 11px 25px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.42);
  filter:none;
  transform:translateY(-1px);
}
.vera-student-app .vera-student-button:active{box-shadow:0 5px 14px rgba(0,0,0,.18);transform:translateY(0)}
.vera-student-app .vera-student-button:disabled{
  opacity:.42;
  box-shadow:none;
  cursor:not-allowed;
  filter:saturate(.55);
  transform:none;
}
.vera-student-app .vera-student-button--dark{
  border-color:rgba(255,225,157,.72);
  background:linear-gradient(135deg,var(--vs-button-gold),var(--vs-button-gold-light));
  color:var(--vs-button-ink);
}
.vera-student-app .vera-student-button--ghost{
  border-color:rgba(227,182,93,.46);
  background:rgba(227,182,93,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  color:var(--vs-gold2,#f1d58d);
}
.vera-student-app .vera-student-button--ghost:hover{
  border-color:rgba(241,213,141,.8);
  background:rgba(227,182,93,.13);
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.06);
  color:#ffe7ab;
}

.vera-student-app .vera-terminal-cta{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 24px;
  border:1px solid rgba(255,226,159,.76);
  border-radius:14px;
  background:linear-gradient(135deg,var(--vs-button-gold),var(--vs-button-gold-light));
  box-shadow:0 12px 28px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.4);
  color:var(--vs-button-ink);
  font-family:Georgia,serif;
  font-size:19px;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.vera-student-app .vera-terminal-cta:hover{border-color:#ffe8af;box-shadow:0 15px 34px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.45);transform:translateY(-1px)}
.vera-student-app .vera-terminal-cta:active{box-shadow:0 7px 19px rgba(0,0,0,.22);transform:none}

.vera-student-app .vera-terminal-smallbtn,
.vera-student-app .vera-terminal-outline{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 14px;
  border:1px solid rgba(227,182,93,.46);
  border-radius:10px;
  background:rgba(227,182,93,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  color:var(--vs-gold2,#f1d58d);
  font:inherit;
  font-size:12px;
  font-weight:750;
  line-height:1.2;
  text-align:center;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease;
}
.vera-student-app .vera-terminal-smallbtn:hover,
.vera-student-app .vera-terminal-outline:hover{
  border-color:rgba(241,213,141,.82);
  background:rgba(227,182,93,.115);
  box-shadow:0 7px 17px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.05);
  color:#ffe8ad;
  transform:translateY(-1px);
}
.vera-student-app .vera-terminal-smallbtn:active,
.vera-student-app .vera-terminal-outline:active{box-shadow:none;transform:none}

.vera-student-app .vera-terminal-send{
  flex:0 0 44px;
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  display:inline-grid;
  place-items:center;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(255,226,159,.84);
  border-radius:50%;
  background:linear-gradient(135deg,var(--vs-button-gold),var(--vs-button-gold-light));
  box-shadow:0 8px 20px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.42);
  color:var(--vs-button-ink);
  font-size:0;
  line-height:0;
  text-indent:0;
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,filter .16s ease;
}
.vera-student-app .vera-terminal-send::before{
  content:"";
  display:block;
  width:10px;
  height:10px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:translateX(-2px) rotate(45deg);
  transform-origin:center;
}
.vera-student-app .vera-terminal-send:not(:disabled):hover{
  border-color:#ffebba;
  box-shadow:0 11px 25px rgba(0,0,0,.28),0 0 0 4px rgba(227,182,93,.1),inset 0 1px 0 rgba(255,255,255,.48);
  transform:translateY(-1px);
}
.vera-student-app .vera-terminal-send:not(:disabled):active{box-shadow:0 5px 14px rgba(0,0,0,.22);transform:none}
.vera-student-app .vera-terminal-send:disabled{
  opacity:.34;
  box-shadow:none;
  cursor:not-allowed;
  filter:grayscale(.35) saturate(.5);
  transform:none;
}
.vera-student-app .vera-tutorial-composer.is-active .vera-terminal-send{transform:none}
.vera-student-app .vera-tutorial-composer.is-active .vera-terminal-send:not(:disabled):hover{transform:translateY(-1px)}

.vera-student-app .vera-tutorial-directions-demo{
  gap:9px!important;
  margin-top:14px!important;
  padding-top:14px!important;
}
.vera-student-app .vera-tutorial-directions-demo button,
.vera-student-app .vera-inline-direction-btn{
  position:relative;
  min-height:50px;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%;
  padding:12px 44px 12px 15px!important;
  border:1px solid rgba(227,182,93,.34)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(28,59,89,.78),rgba(14,38,61,.9))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  color:#f6eddd!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:780!important;
  line-height:1.35!important;
  text-align:left!important;
  cursor:pointer!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.vera-student-app .vera-tutorial-directions-demo button::after,
.vera-student-app .vera-inline-direction-btn::after{
  content:"";
  position:absolute;
  top:50%;
  right:18px;
  width:8px;
  height:8px;
  border-top:1.5px solid var(--vs-gold2,#f1d58d);
  border-right:1.5px solid var(--vs-gold2,#f1d58d);
  transform:translateY(-50%) rotate(45deg);
}
.vera-student-app .vera-tutorial-directions-demo button:hover,
.vera-student-app .vera-inline-direction-btn:hover{
  border-color:rgba(241,213,141,.76)!important;
  background:linear-gradient(180deg,rgba(38,72,105,.9),rgba(18,46,72,.96))!important;
  box-shadow:0 8px 18px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.05)!important;
  transform:translateY(-1px)!important;
}
.vera-student-app .vera-tutorial-directions-demo button.is-selected{
  border-color:#79d99a!important;
  background:linear-gradient(180deg,rgba(27,67,55,.94),rgba(17,49,42,.98))!important;
  box-shadow:0 0 0 3px rgba(113,213,147,.12),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.vera-student-app .vera-tutorial-directions-demo button.is-selected::after{border-color:#9be5b4}
.vera-student-app .vera-inline-direction-btn{align-items:flex-start!important;justify-content:center!important;flex-direction:column!important}

.vera-student-app .vera-student-direction-choice{
  min-height:48px;
  align-items:center;
  gap:11px;
  padding:12px 14px;
  border-radius:12px;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.vera-student-app .vera-student-direction-choice:hover{box-shadow:0 7px 17px rgba(0,0,0,.13);transform:translateY(-1px)}
.vera-student-app .vera-student-direction-choice input{width:17px;height:17px;margin:0;flex:0 0 auto}

.vera-student-app .vera-student-link{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 9px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#d9bf84;
  font:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease;
}
.vera-student-app .vera-student-link:hover{border-color:rgba(227,182,93,.24);background:rgba(227,182,93,.07);color:#ffe2a0}

.vera-student-app .vera-student-info-counter{
  min-height:34px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:6px 10px!important;
  border-radius:999px!important;
  color:var(--vs-gold2,#f1d58d)!important;
  font-size:11px!important;
  line-height:1.1;
  text-decoration:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.vera-student-app .vera-student-info-counter:hover{border-color:rgba(241,213,141,.8)!important;background:rgba(227,182,93,.14)!important;color:#ffe6aa!important;box-shadow:0 6px 15px rgba(0,0,0,.13)}

.vera-student-app .vera-student-found-indices__close,
.vera-student-app .vera-student-modal__close{
  width:34px;
  height:34px;
  min-width:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(227,182,93,.25);
  border-radius:50%;
  background:rgba(227,182,93,.045);
  color:var(--vs-gold2,#f1d58d);
  font-size:0;
  line-height:0;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease;
}
.vera-student-app .vera-student-found-indices__close::before,
.vera-student-app .vera-student-found-indices__close::after,
.vera-student-app .vera-student-modal__close::before,
.vera-student-app .vera-student-modal__close::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:1.5px;
  border-radius:999px;
  background:currentColor;
  transform:translate(-50%,-50%) rotate(45deg);
}
.vera-student-app .vera-student-found-indices__close::after,
.vera-student-app .vera-student-modal__close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.vera-student-app .vera-student-found-indices__close{position:relative}
.vera-student-app .vera-student-found-indices__close:hover,
.vera-student-app .vera-student-modal__close:hover{border-color:rgba(241,213,141,.65);background:rgba(227,182,93,.13);transform:rotate(3deg)}

.vera-student-app .vera-student-sos:focus-visible,
.vera-student-app .vera-student-case:focus-visible,
.vera-student-app .vera-student-direction-choice:focus-within,
.vera-student-app .vera-student-button:focus-visible,
.vera-student-app .vera-terminal-cta:focus-visible,
.vera-student-app .vera-terminal-smallbtn:focus-visible,
.vera-student-app .vera-terminal-outline:focus-visible,
.vera-student-app .vera-terminal-send:focus-visible,
.vera-student-app .vera-tutorial-directions-demo button:focus-visible,
.vera-student-app .vera-inline-direction-btn:focus-visible,
.vera-student-app .vera-student-link:focus-visible,
.vera-student-app .vera-student-info-counter:focus-visible,
.vera-student-app .vera-student-found-indices__close:focus-visible,
.vera-student-app .vera-student-modal__close:focus-visible{
  outline:3px solid var(--vs-button-focus);
  outline-offset:3px;
}

/* Le panneau pédagogique suit désormais l'interface, sans recouvrir les colonnes. */
.vera-student-app .vera-tutorial-callout{
  position:relative;
  top:auto;
  z-index:2;
  margin:16px 0 0;
  border-color:rgba(227,182,93,.46);
  background:linear-gradient(135deg,rgba(15,38,61,.98),rgba(7,22,37,.98));
  box-shadow:0 12px 28px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter:none;
}
.vera-student-app .vera-tutorial-callout [data-tutorial-next]{min-width:166px}

/* La correction et la synthèse finales sont hors de la colonne centrale afin de ne jamais être rognées. */
.vera-student-app .vera-tutorial-finale{width:100%}
.vera-student-app .vera-tutorial-finale .vera-tutorial-solution,
.vera-student-app .vera-tutorial-finale .vera-tutorial-reflection{
  width:100%;
  margin:16px 0 0!important;
  overflow:visible;
}
.vera-student-app .vera-tutorial-finale [data-tutorial-zone]{
  position:relative;
  transition:border-color .24s ease,box-shadow .24s ease,transform .24s ease;
}
.vera-student-app .vera-tutorial-finale [data-tutorial-zone].is-tutorial-focus{
  border-color:#f1c668!important;
  box-shadow:0 0 0 3px rgba(241,198,104,.2),0 18px 42px rgba(0,0,0,.22)!important;
}
.vera-student-app .vera-tutorial-finale .vera-tutorial-solution__grid section{min-width:0}

@media(max-width:760px){
  .vera-student-app .vera-student-button{width:100%;padding:12px 16px}
  .vera-student-app .vera-terminal-smallbtn,.vera-student-app .vera-terminal-outline{min-height:42px}
  .vera-student-app .vera-terminal-send{width:46px;height:46px;min-width:46px;min-height:46px}
  .vera-student-app .vera-student-composer__actions .vera-terminal-send{align-self:flex-end}
  .vera-student-app .vera-student-tutorial-actions{gap:9px}
}

@media(prefers-reduced-motion:reduce){
  .vera-student-app .vera-student-button,
  .vera-student-app .vera-terminal-cta,
  .vera-student-app .vera-terminal-smallbtn,
  .vera-student-app .vera-terminal-outline,
  .vera-student-app .vera-terminal-send,
  .vera-student-app .vera-tutorial-directions-demo button,
  .vera-student-app .vera-inline-direction-btn,
  .vera-student-app .vera-student-link,
  .vera-student-app .vera-student-info-counter{transition:none}
}

/* V1.6.17 — interface de travail compacte sur un seul écran d’ordinateur. */
@media(min-width:761px){
  body.vera-student-immersive[data-vera-stage="tutorial"],
  body.vera-student-immersive[data-vera-stage="simulation"]{
    height:100vh!important;
    height:100svh!important;
    overflow:hidden!important;
  }
  body.vera-student-immersive[data-vera-stage="tutorial"] .vera-student-app,
  body.vera-student-immersive[data-vera-stage="simulation"] .vera-student-app{
    height:100vh!important;
    height:100svh!important;
    min-height:0!important;
    padding:8px!important;
    overflow:hidden!important;
  }
  .vera-student-stage[data-stage="tutorial"],
  .vera-student-stage[data-stage="simulation"]{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .vera-tutorial-live{
    height:100%!important;
    min-height:0!important;
    margin:0!important;
  }
  .vera-student-stage[data-stage="simulation"] .vera-sim-terminal{
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    padding:8px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .vera-tutorial-terminal{
    height:100%!important;
    min-height:0!important;
    display:grid!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:8px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .vera-student-stage[data-stage="simulation"] .vera-sim-grid,
  .vera-tutorial-sim-grid{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    flex:1 1 auto!important;
    display:grid!important;
    grid-template-columns:minmax(180px,.76fr) minmax(350px,1.55fr) minmax(210px,.9fr)!important;
    gap:8px!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .vera-student-stage[data-stage="simulation"] .vera-sim-guidance,
  .vera-tutorial-sim-grid .vera-sim-guidance{
    grid-column:auto!important;
    display:flex!important;
  }
  .vera-sim-panel{
    min-height:0!important;
    padding:10px!important;
    border-radius:14px!important;
  }
  .vera-sim-panel h3{
    margin:0 0 8px!important;
    font-size:16px!important;
    line-height:1.15!important;
  }
  .vera-sim-dossier,
  .vera-sim-guidance{gap:6px!important}
  .vera-dossier-card,
  .vera-dossier-stat,
  .vera-student-objective,
  .vera-guidance-card,
  .vera-indices-card{
    padding:8px 9px!important;
    border-radius:10px!important;
  }
  .vera-dossier-label{margin-bottom:4px!important;font-size:8px!important}
  .vera-dossier-title{font-size:18px!important;line-height:1.1!important}
  .vera-dossier-stat{gap:2px!important}
  .vera-dossier-stat span{font-size:10px!important}
  .vera-dossier-stat strong,
  .vera-student-objective strong{font-size:11px!important;line-height:1.28!important}
  .vera-guidance-card small{margin-bottom:3px!important;font-size:8px!important}
  .vera-guidance-card strong{margin-bottom:3px!important;font-size:11px!important;line-height:1.2!important}
  .vera-guidance-card p,
  .vera-indices-empty{font-size:10px!important;line-height:1.3!important}
  .vera-terminal-outline{min-height:34px!important;padding:7px 9px!important;font-size:11px!important}
  .vera-tutorial-sos-demo,
  .vera-student-sos{margin-top:4px!important;padding:9px 10px!important;border-radius:10px!important;font-size:11px!important}
  .vera-student-sos small{font-size:8px!important}
  .vera-panel-heading{flex:0 0 auto!important}
  .vera-student-chat{
    height:auto!important;
    min-height:0!important;
    padding:10px!important;
    border-radius:11px!important;
  }
  .vera-student-message{max-width:88%!important;margin-bottom:8px!important}
  .vera-student-message__label{margin:0 5px 3px!important;font-size:9px!important}
  .vera-student-message__bubble{padding:9px 11px!important;border-radius:13px 13px 13px 4px!important;font-size:12px!important;line-height:1.35!important}
  .vera-student-message--student .vera-student-message__bubble{border-radius:13px 13px 4px 13px!important}
  .vera-student-composer{margin-top:6px!important;padding:5px!important;border-radius:12px!important}
  .vera-student-composer textarea{min-height:34px!important;max-height:58px!important;padding:5px!important;font-size:12px!important;line-height:1.3!important;resize:none!important}
  .vera-student-composer__actions{gap:8px!important;padding:2px 4px!important}
  .vera-student-composer__actions .vera-student-muted{font-size:9px!important}
  .vera-student-app .vera-terminal-send{width:38px;height:38px;min-width:38px;min-height:38px;flex-basis:38px}
  .vera-indices-card{margin-top:auto!important}
  .vera-student-info-counter{min-height:28px!important;padding:4px 7px!important;font-size:9px!important}
  .vera-tutorial-directions-demo{gap:5px!important;margin-top:7px!important;padding-top:7px!important}
  .vera-student-app .vera-tutorial-directions-demo button{min-height:38px!important;padding:8px 34px 8px 10px!important;font-size:11px!important}
  .vera-tutorial-explanation{margin:6px 0!important;padding:8px 10px!important}
  .vera-tutorial-explanation small{margin-bottom:3px!important;font-size:8px!important}
  .vera-tutorial-explanation strong{margin-bottom:3px!important;font-size:11px!important}
  .vera-tutorial-explanation p{font-size:10px!important;line-height:1.3!important}
  .vera-student-app .vera-tutorial-callout{
    grid-row:2!important;
    min-height:64px!important;
    margin:0!important;
    padding:8px 10px!important;
    gap:2px 10px!important;
    border-radius:12px!important;
  }
  .vera-tutorial-step-count{padding-right:10px!important;font-size:10px!important}
  .vera-tutorial-callout strong{font-size:13px!important;line-height:1.2!important}
  .vera-tutorial-callout p{font-size:11px!important;line-height:1.28!important}
  .vera-student-app .vera-tutorial-callout [data-tutorial-next]{min-width:145px;min-height:38px;padding:8px 12px;font-size:11px}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-sim-grid{display:none!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-finale{
    grid-row:1!important;
    display:block!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution,
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-reflection{
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:14px!important;
    overflow:hidden!important;
  }
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution h4{font-size:20px!important;margin:5px 0 6px!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__head{margin-bottom:3px!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__lead{margin:0 0 9px!important;font-size:12px!important;line-height:1.35!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid{gap:7px!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid section{padding:9px!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid strong{margin-bottom:4px!important;font-size:11px!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid p{font-size:10px!important;line-height:1.3!important}
  .vera-tutorial-terminal.is-reflection-step .vera-tutorial-reflection{display:flex!important;flex-direction:column!important}
  .vera-tutorial-terminal.is-reflection-step .vera-tutorial-reflection p{margin:4px 0 8px!important;font-size:12px!important}
  .vera-tutorial-terminal.is-reflection-step .vera-tutorial-reflection textarea{flex:1 1 auto!important;min-height:0!important;margin-top:5px!important;resize:none!important}
  .vera-student-admin-shortcut{flex:0 0 auto!important;margin:0 0 6px!important;padding:7px 9px!important}
  .vera-student-admin-shortcut small{font-size:9px!important}
  .vera-student-chat,
  .vera-sim-dossier,
  .vera-sim-guidance,
  .vera-student-found-indices{
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  .vera-student-chat::-webkit-scrollbar,
  .vera-sim-dossier::-webkit-scrollbar,
  .vera-sim-guidance::-webkit-scrollbar,
  .vera-student-found-indices::-webkit-scrollbar{width:0!important;height:0!important}
}

@media(max-width:760px){
  body.vera-student-immersive[data-vera-stage="tutorial"],
  body.vera-student-immersive[data-vera-stage="simulation"]{height:auto!important;overflow:auto!important}
  body.vera-student-immersive[data-vera-stage="tutorial"] .vera-student-app,
  body.vera-student-immersive[data-vera-stage="simulation"] .vera-student-app{height:auto!important;overflow:visible!important}
}

/* V1.6.18 — poste de travail centré, moins haut et plus lisible. */
@keyframes veraTutorialFocusGlow{
  0%,100%{
    box-shadow:0 0 0 2px rgba(255,211,111,.92),0 0 16px rgba(241,198,104,.34),inset 0 0 18px rgba(241,198,104,.08)!important;
    filter:brightness(1.04) saturate(1.04);
  }
  50%{
    box-shadow:0 0 0 3px rgba(255,226,151,1),0 0 30px rgba(241,198,104,.62),inset 0 0 28px rgba(241,198,104,.15)!important;
    filter:brightness(1.12) saturate(1.12);
  }
}

/* V1.6.19 — panneau de conclusion du tutoriel. */
.vera-tutorial-directions-demo__head{
  grid-column:1/-1;
  padding:2px 2px 5px;
}
.vera-tutorial-directions-demo__head .vera-dossier-label{
  margin-bottom:4px!important;
  color:#94e3ad!important;
}
.vera-tutorial-directions-demo__head strong{
  display:block;
  color:#fff;
  font-family:Georgia,serif;
  font-size:20px;
  font-weight:600;
}
.vera-tutorial-directions-demo__head p{
  margin:5px 0 0;
  color:#b8c7d4;
  font-size:12px;
  line-height:1.4;
}

@media(min-width:761px){
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-composer .vera-student-muted{display:none!important}
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-composer__actions{justify-content:flex-end!important}
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-directions-demo{
    align-content:end!important;
    margin-top:7px!important;
    padding:11px!important;
    border:1px solid rgba(227,182,93,.34)!important;
    border-radius:14px!important;
    background:linear-gradient(155deg,rgba(19,48,74,.93),rgba(9,29,47,.96))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  }
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-directions-demo button{
    min-height:68px!important;
    padding:12px 39px 12px 13px!important;
    border-color:rgba(227,182,93,.4)!important;
    background:linear-gradient(155deg,rgba(34,69,100,.92),rgba(17,45,70,.98))!important;
    font-size:13px!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-directions-demo button::after{right:15px}
}

@media(min-width:1100px){
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-directions-demo{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
  }
}

@media(min-width:761px) and (max-width:1099px){
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-directions-demo{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-directions-demo button{min-height:45px!important}
}

@media(max-width:760px){
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-composer .vera-student-muted{display:none!important}
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-composer__actions{justify-content:flex-end!important}
  .vera-tutorial-terminal.is-direction-step .vera-tutorial-directions-demo{
    padding:12px!important;
    border:1px solid rgba(227,182,93,.34)!important;
    border-radius:14px!important;
    background:linear-gradient(155deg,rgba(19,48,74,.93),rgba(9,29,47,.96))!important;
  }
}

button.vera-tutorial-sos-demo{
  width:100%;
  border:1px solid rgba(255,116,124,.72);
  font:inherit;
  cursor:pointer;
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
}
button.vera-tutorial-sos-demo span{display:block}
button.vera-tutorial-sos-demo small{
  display:block;
  margin-top:3px;
  color:#ffe6e8;
  font-size:9px;
  font-weight:750;
  letter-spacing:.01em;
}
button.vera-tutorial-sos-demo small[hidden]{display:none!important}
button.vera-tutorial-sos-demo:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}
button.vera-tutorial-sos-demo.is-disabled-feedback{
  border-color:#ffd1d5;
  box-shadow:0 0 0 3px rgba(255,116,124,.17),0 12px 30px rgba(100,16,25,.28)!important;
  filter:brightness(1.08);
}
button.vera-tutorial-sos-demo:focus-visible{
  outline:3px solid var(--vs-button-focus,#ffe6a8);
  outline-offset:3px;
}

/* V1.6.21 — vidéo de présentation intégrée à l’accueil. */
.vera-welcome-media{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(227,182,93,.48);
  border-radius:18px;
  background:#030a11;
  box-shadow:0 20px 50px rgba(0,0,0,.32),inset 0 0 0 1px rgba(255,255,255,.025);
}
.vera-welcome-video{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:3/2;
  object-fit:cover;
  background:#030a11;
}
.vera-welcome-video:focus-visible{
  outline:3px solid var(--vs-button-focus,#ffe6a8);
  outline-offset:-4px;
}
.vera-welcome-content{min-width:0}

@media(min-width:761px){
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card{
    width:min(1120px,96%)!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr)!important;
    gap:24px!important;
    align-items:center!important;
    margin:auto!important;
    padding:22px!important;
    text-align:left!important;
  }
  .vera-welcome-content .vera-welcome-emblem{
    width:50px!important;
    height:50px!important;
    margin:0 0 13px!important;
    font-size:25px!important;
  }
  .vera-welcome-content h2{font-size:34px!important}
  .vera-welcome-content .vera-welcome-subtitle{margin:11px 0;font-size:15px!important;line-height:1.35}
  .vera-welcome-content .vera-welcome-copy,
  .vera-welcome-content .vera-session-recognized{margin:13px 0!important;padding:13px 15px!important}
  .vera-welcome-content .vera-welcome-copy p{margin-top:7px!important;font-size:13px;line-height:1.45!important}
  .vera-welcome-content .vera-session-recognized{text-align:left!important}
  .vera-welcome-content .vera-session-recognized strong{margin-top:4px!important;font-size:19px!important}
  .vera-welcome-content .vera-terminal-cta{min-height:48px!important;padding:11px 17px!important;font-size:17px!important}
  .vera-welcome-content .vera-welcome-note{margin:9px 0 0;text-align:center}
  .vera-welcome-content .vera-welcome-footer{margin:10px 0 0;text-align:center}
}

@media(max-width:760px){
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card{
    display:block!important;
    padding:14px!important;
  }
  .vera-welcome-media{margin-bottom:18px;border-radius:14px}
  .vera-welcome-content .vera-welcome-emblem{width:54px;height:54px;margin-bottom:13px;font-size:27px}
}

/* V1.6.22 — ouverture en deux temps : grande vidéo puis connexion. */
@keyframes veraWelcomePanelReveal{
  from{opacity:0;transform:translateY(10px) scale(.985)}
  to{opacity:1;transform:none}
}

.vera-welcome-card:not(.is-video-complete) .vera-welcome-content{display:none!important}
.vera-welcome-card.is-video-complete .vera-welcome-media{display:none!important}
.vera-welcome-media{position:relative}
.vera-welcome-skip{
  position:absolute;
  z-index:3;
  top:14px;
  right:14px;
  min-height:42px;
  padding:9px 15px;
  border:1px solid rgba(255,226,159,.76);
  border-radius:999px;
  background:rgba(5,17,29,.88);
  box-shadow:0 10px 24px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07);
  color:#ffe4a7;
  font:inherit;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
  backdrop-filter:blur(8px);
  transition:border-color .16s ease,background-color .16s ease,transform .16s ease;
}
.vera-welcome-skip:hover{
  border-color:#ffebba;
  background:rgba(17,42,66,.95);
  transform:translateY(-1px);
}
.vera-welcome-skip:focus-visible{
  outline:3px solid var(--vs-button-focus,#ffe6a8);
  outline-offset:3px;
}
.vera-welcome-card.is-video-complete .vera-welcome-content{
  display:block!important;
  animation:veraWelcomePanelReveal .38s ease both;
}

@media(min-width:761px){
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card:not(.is-video-complete){
    width:min(1160px,96%)!important;
    display:block!important;
    padding:16px!important;
    text-align:center!important;
  }
  .vera-welcome-card:not(.is-video-complete) .vera-welcome-media{
    width:min(1080px,100%,calc((100svh - 190px) * 1.5));
    margin:0 auto!important;
    aspect-ratio:3/2;
  }
  .vera-welcome-card:not(.is-video-complete) .vera-welcome-video{
    width:100%!important;
    height:auto!important;
    aspect-ratio:3/2!important;
    object-fit:contain!important;
  }
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card.is-video-complete{
    width:min(720px,92%)!important;
    display:block!important;
    padding:30px 38px 27px!important;
    text-align:center!important;
  }
  .vera-welcome-card.is-video-complete .vera-welcome-emblem{
    width:68px!important;
    height:68px!important;
    margin:0 auto 16px!important;
    font-size:33px!important;
  }
  .vera-welcome-card.is-video-complete h2{font-size:39px!important}
  .vera-welcome-card.is-video-complete .vera-welcome-subtitle{margin:13px 0;font-size:17px!important}
  .vera-welcome-card.is-video-complete .vera-welcome-copy,
  .vera-welcome-card.is-video-complete .vera-session-recognized{margin:15px 0!important;padding:15px 17px!important}
  .vera-welcome-card.is-video-complete .vera-welcome-copy{text-align:left!important}
  .vera-welcome-card.is-video-complete .vera-welcome-copy p{font-size:14px!important}
  .vera-welcome-card.is-video-complete .vera-session-recognized{text-align:center!important}
  .vera-welcome-card.is-video-complete .vera-session-recognized strong{font-size:21px!important}
}

@media(max-width:760px){
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card:not(.is-video-complete){padding:9px!important}
  .vera-welcome-card:not(.is-video-complete) .vera-welcome-media{width:100%;margin:0!important}
  .vera-welcome-card:not(.is-video-complete) .vera-welcome-video{width:100%;height:auto!important;aspect-ratio:3/2;object-fit:contain}
  .vera-welcome-skip{top:9px;right:9px;min-height:38px;padding:7px 11px;font-size:11px}
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card.is-video-complete{padding:24px 18px!important}
}

@media(prefers-reduced-motion:reduce){
  .vera-welcome-card.is-video-complete .vera-welcome-content{animation:none!important}
}

/* V1.6.23 — retour au gabarit vidéo compact de la V1.6.21, sans changer le déroulé. */
@media(min-width:761px){
  body.vera-student-immersive .vera-student-stage[data-stage="welcome"] .vera-welcome-card:not(.is-video-complete){
    width:min(660px,92%)!important;
  }
  .vera-welcome-card:not(.is-video-complete) .vera-welcome-media{
    width:min(620px,100%,calc((100svh - 190px) * 1.5));
  }
}

/* V1.6.25 — écran de connexion intégré au terminal VERA. */
.vera-student-login-screen{
  width:100%!important;
  max-width:1280px!important;
  min-height:100vh;
  min-height:100svh;
  margin:0 auto!important;
  padding:24px 18px!important;
  display:flex;
  align-items:center;
  justify-content:center;
}
.vera-login-terminal{
  width:min(980px,100%);
  overflow:hidden;
  border:1px solid rgba(227,182,93,.34);
  border-radius:28px;
  background:linear-gradient(145deg,#091727,#07111d 72%);
  box-shadow:0 30px 80px rgba(0,0,0,.42),inset 0 0 0 10px rgba(255,255,255,.018);
  color:#eef2f5;
}
.vera-login-terminal .vera-terminal-topbar{padding:0 24px;border-bottom:1px solid rgba(227,182,93,.22)}
.vera-login-layout{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(340px,.96fr);align-items:stretch}
.vera-login-intro{
  padding:58px 54px 56px;
  border-right:1px solid rgba(227,182,93,.22);
  background:radial-gradient(circle at 35% 10%,rgba(35,76,120,.48),transparent 58%);
}
.vera-login-intro .vera-welcome-emblem{margin:0 0 28px}
.vera-login-intro .vera-student-kicker,.vera-login-panel .vera-student-kicker{color:#f1d58d}
.vera-login-intro h1{margin:0;color:#fff;font:700 clamp(38px,4vw,52px)/1.04 Georgia,serif;letter-spacing:-.02em}
.vera-login-intro>p{max-width:510px;margin:24px 0 0;color:#c8d4df;font-size:16px;line-height:1.65}
.vera-login-trust{display:flex;align-items:center;gap:10px;margin-top:34px;color:#93d8aa;font-size:13px;font-weight:750}
.vera-login-trust>span:first-child{display:grid;place-items:center;width:26px;height:26px;border:1px solid rgba(106,210,142,.55);border-radius:50%;background:rgba(50,150,88,.14)}
.vera-login-panel{padding:54px 46px 48px;background:rgba(6,18,31,.68)}
.vera-login-panel h2{margin:0;color:#fff;font:700 30px/1.15 Georgia,serif}
.vera-login-help{margin:12px 0 26px;color:#9fb0c2;font-size:14px;line-height:1.5}
.vera-login-panel #vera-student-loginform{margin:0}
.vera-login-panel #vera-student-loginform p{margin:0 0 17px}
.vera-login-panel #vera-student-loginform label{display:block;margin-bottom:8px;color:#dce5ed;font-size:13px;font-weight:750}
.vera-login-panel #vera-student-loginform .input{
  width:100%;
  min-height:48px;
  border:1px solid rgba(227,182,93,.34);
  border-radius:12px;
  outline:0;
  background:#0e2237;
  color:#fff;
  padding:10px 13px;
  font:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.vera-login-panel #vera-student-loginform .input:hover{border-color:rgba(241,213,141,.58)}
.vera-login-panel #vera-student-loginform .input:focus{border-color:#f1d58d;background:#102840;box-shadow:0 0 0 3px rgba(227,182,93,.16)}
.vera-login-panel #vera-student-loginform .login-remember{margin:2px 0 21px}
.vera-login-panel #vera-student-loginform .login-remember label{display:flex;align-items:center;gap:9px;margin:0;color:#aebdca;font-weight:600;cursor:pointer}
.vera-login-panel #vera-student-loginform .login-remember input{width:17px;height:17px;margin:0;accent-color:#e3b65d}
.vera-login-panel #vera-student-loginform .login-submit{margin:0}
.vera-login-panel #vera-student-loginform .button-primary{
  width:100%;
  min-height:50px;
  border:1px solid #f3d88f;
  border-radius:13px;
  background:linear-gradient(90deg,#dcae55,#f1d58d);
  color:#081521;
  font:800 16px/1 Georgia,serif;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(198,147,51,.16);
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
}
.vera-login-panel #vera-student-loginform .button-primary:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 13px 30px rgba(198,147,51,.24)}
.vera-login-panel #vera-student-loginform .button-primary:focus-visible{outline:3px solid #fff0bd;outline-offset:3px}
.vera-login-lost{display:block;width:max-content;margin:17px auto 0;color:#f1d58d;font-size:13px;text-underline-offset:3px}
.vera-login-lost:hover{color:#fff0bd}
.vera-access-denied-card{
  width:min(620px,calc(100% - 48px));
  margin:54px auto 58px;
  padding:54px 48px 48px;
  border:1px solid rgba(227,182,93,.34);
  border-radius:22px;
  background:radial-gradient(circle at 50% 0,rgba(35,76,120,.46),rgba(6,18,31,.78) 70%);
  text-align:center;
}
.vera-access-lock{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 21px;border:1px solid #e3b65d;border-radius:50%;color:#f1d58d;font-size:34px;box-shadow:0 0 32px rgba(227,182,93,.10)}
.vera-access-denied-card .vera-student-kicker{color:#f1d58d}
.vera-access-denied-card h1{margin:0;color:#fff;font:700 clamp(34px,4vw,46px)/1.08 Georgia,serif}
.vera-access-message{margin:22px auto 0;color:#eef2f5;font-size:17px;line-height:1.6}
.vera-access-note{margin:14px auto 0;color:#9fb0c2;font-size:13px;line-height:1.5}
.vera-access-switch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:27px;padding:10px 18px;border:1px solid rgba(227,182,93,.48);border-radius:999px;color:#f1d58d;font-size:13px;font-weight:750;text-decoration:none;transition:border-color .16s ease,background-color .16s ease,color .16s ease}
.vera-access-switch:hover{border-color:#f1d58d;background:rgba(227,182,93,.08);color:#fff0bd}
.vera-access-switch:focus-visible{outline:3px solid #fff0bd;outline-offset:3px}

@media(max-width:760px){
  .vera-student-login-screen{min-height:100svh;padding:6px 8px!important;align-items:flex-start}
  .vera-login-terminal{border-radius:20px}
  .vera-login-terminal .vera-terminal-topbar{height:auto;min-height:44px;padding:7px 13px;font-size:11px}
  .vera-login-layout{display:block}
  .vera-login-intro{padding:19px 22px 18px;border-right:0;border-bottom:1px solid rgba(227,182,93,.22);text-align:center}
  .vera-login-intro .vera-welcome-emblem{width:46px;height:46px;margin:0 auto 10px;font-size:23px}
  .vera-login-intro .vera-student-kicker{margin-bottom:6px;font-size:9px}
  .vera-login-intro h1{font-size:28px}
  .vera-login-intro>p{margin-top:10px;font-size:13px;line-height:1.42}
  .vera-login-trust{justify-content:center;margin-top:13px;font-size:12px}
  .vera-login-trust>span:first-child{width:23px;height:23px}
  .vera-login-panel{padding:21px 22px 22px}
  .vera-login-panel .vera-student-kicker{margin-bottom:5px;font-size:9px}
  .vera-login-panel h2{font-size:25px}
  .vera-login-help{margin:8px 0 17px;font-size:13px}
  .vera-login-panel #vera-student-loginform p{margin-bottom:13px}
  .vera-login-panel #vera-student-loginform .input{min-height:44px}
  .vera-login-panel #vera-student-loginform .login-remember{margin:0 0 15px}
  .vera-login-panel #vera-student-loginform .button-primary{min-height:46px}
  .vera-login-lost{margin-top:13px}
  .vera-access-denied-card{width:calc(100% - 28px);margin:30px auto 34px;padding:38px 24px 34px}
  .vera-access-lock{width:58px;height:58px;margin-bottom:17px;font-size:28px}
  .vera-access-denied-card h1{font-size:32px}
  .vera-access-message{margin-top:17px;font-size:15px}
  .vera-access-switch{margin-top:22px}
}

@keyframes veraTutorialModeGlow{
  0%,100%{box-shadow:0 0 0 1px rgba(227,182,93,.42),0 0 22px rgba(227,182,93,.10),0 24px 70px rgba(0,0,0,.38)}
  50%{box-shadow:0 0 0 1px rgba(241,213,141,.72),0 0 38px rgba(227,182,93,.19),0 24px 70px rgba(0,0,0,.38)}
}

@media(min-width:761px){
  body.vera-student-immersive .vera-student-stage[data-stage="tutorial"]:not([hidden]),
  body.vera-student-immersive .vera-student-stage[data-stage="simulation"]:not([hidden]){
    position:fixed!important;
    inset:0!important;
    z-index:90000!important;
    width:100vw!important;
    max-width:none!important;
    height:100vh!important;
    height:100svh!important;
    margin:0!important;
    padding:14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    background:radial-gradient(circle at 50% 42%,rgba(18,48,77,.48),transparent 42%),linear-gradient(180deg,#07131f,#05101a)!important;
  }

  body.vera-student-immersive .vera-student-stage[data-stage="tutorial"]:not([hidden])>.vera-tutorial-live,
  body.vera-student-immersive .vera-student-stage[data-stage="simulation"]:not([hidden])>.vera-sim-terminal{
    width:min(1280px,100%)!important;
    height:min(650px,calc(100svh - 28px))!important;
    min-height:0!important;
    margin:0!important;
  }

  .vera-tutorial-live{display:flex!important;align-items:stretch!important;justify-content:center!important}
  .vera-tutorial-live>.vera-tutorial-terminal{width:100%!important;height:100%!important}
  .vera-tutorial-terminal{
    border-color:rgba(241,213,141,.58)!important;
    animation:veraTutorialModeGlow 3.2s ease-in-out infinite;
  }

  .vera-student-stage[data-stage="simulation"] .vera-sim-grid,
  .vera-tutorial-sim-grid{
    grid-template-columns:minmax(155px,.72fr) minmax(290px,1.55fr) minmax(180px,.88fr)!important;
  }

  .vera-sim-panel{padding:9px!important}
  .vera-sim-panel h3{font-size:17px!important;line-height:1.18!important}
  .vera-dossier-card,
  .vera-dossier-stat,
  .vera-student-objective,
  .vera-guidance-card,
  .vera-indices-card{padding:8px 9px!important}
  .vera-dossier-label{font-size:10px!important;line-height:1.2!important}
  .vera-dossier-title{font-size:20px!important}
  .vera-dossier-stat span{font-size:11px!important}
  .vera-dossier-stat strong,
  .vera-student-objective strong{font-size:14px!important;line-height:1.34!important}
  .vera-guidance-card small{font-size:9px!important}
  .vera-guidance-card strong{font-size:14px!important;line-height:1.25!important}
  .vera-guidance-card p,
  .vera-indices-empty{font-size:12px!important;line-height:1.36!important}
  .vera-terminal-outline{font-size:12px!important}
  .vera-tutorial-sos-demo,
  .vera-student-sos{font-size:12px!important}
  .vera-student-sos small{font-size:9px!important}

  .vera-student-message__label{font-size:10px!important}
  .vera-student-message__bubble{font-size:15px!important;line-height:1.42!important}
  .vera-tutorial-chat-demo{min-height:0!important}
  .vera-student-composer textarea{
    min-height:38px!important;
    max-height:70px!important;
    font-size:15px!important;
    line-height:1.38!important;
  }
  .vera-student-composer__actions .vera-student-muted{font-size:10.5px!important}
  .vera-student-info-counter{font-size:10px!important}
  .vera-student-app .vera-tutorial-directions-demo button{font-size:12.5px!important}
  .vera-tutorial-explanation small{font-size:9px!important}
  .vera-tutorial-explanation strong{font-size:13px!important}
  .vera-tutorial-explanation p{font-size:12px!important;line-height:1.38!important}

  .vera-student-app .vera-tutorial-callout{
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-areas:"count title button" "count text button"!important;
    align-items:center!important;
    min-height:72px!important;
    padding:9px 11px!important;
    gap:3px 12px!important;
  }
  .vera-tutorial-step-count{
    align-self:stretch!important;
    padding:0 11px 0 0!important;
    border-right:1px solid rgba(227,182,93,.22)!important;
    border-bottom:0!important;
    font-size:11px!important;
  }
  .vera-tutorial-callout strong{font-size:15px!important}
  .vera-tutorial-callout p{font-size:13px!important;line-height:1.34!important}
  .vera-student-app .vera-tutorial-callout [data-tutorial-next]{width:auto!important;min-height:40px;font-size:12px}

  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__head{
    flex-direction:row!important;
    align-items:center!important;
    margin-bottom:7px!important;
  }
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__status{font-size:12px!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution h4{
    margin:7px 0 9px!important;
    font-size:26px!important;
    line-height:1.2!important;
  }
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__lead{
    margin:0 0 14px!important;
    font-size:15px!important;
    line-height:1.45!important;
  }
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid section{padding:12px!important}
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid strong{
    margin-bottom:7px!important;
    font-size:14px!important;
    line-height:1.35!important;
  }
  .vera-tutorial-terminal.is-finale-step .vera-tutorial-solution__grid p{
    font-size:13px!important;
    line-height:1.45!important;
  }
  .vera-tutorial-terminal.is-reflection-step .vera-tutorial-reflection p{font-size:14px!important;line-height:1.45!important}
  .vera-tutorial-terminal.is-reflection-step .vera-tutorial-reflection textarea{font-size:15px!important;line-height:1.45!important}

  .vera-tutorial-sim-grid [data-tutorial-zone].is-tutorial-focus,
  .vera-student-app .vera-tutorial-finale [data-tutorial-zone].is-tutorial-focus{
    z-index:8!important;
    outline:2px solid rgba(255,221,139,.88)!important;
    outline-offset:-1px!important;
    border-color:#ffe098!important;
    transform:none!important;
    animation:veraTutorialFocusGlow 1.65s ease-in-out infinite!important;
  }
  .vera-tutorial-terminal .vera-sim-live{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:4px 8px;
    border:1px solid rgba(111,225,147,.58);
    border-radius:999px;
    background:rgba(49,151,83,.13);
    color:#8cf0ad;
    font-size:10px!important;
    font-weight:900;
    letter-spacing:.04em;
    box-shadow:0 0 16px rgba(83,218,126,.18);
  }
}

@media(min-width:761px) and (max-height:680px){
  body.vera-student-immersive .vera-student-stage[data-stage="tutorial"]:not([hidden]),
  body.vera-student-immersive .vera-student-stage[data-stage="simulation"]:not([hidden]){padding:8px!important}
  body.vera-student-immersive .vera-student-stage[data-stage="tutorial"]:not([hidden])>.vera-tutorial-live,
  body.vera-student-immersive .vera-student-stage[data-stage="simulation"]:not([hidden])>.vera-sim-terminal{height:calc(100svh - 16px)!important}
  .vera-student-message__bubble{font-size:13px!important}
  .vera-tutorial-callout p{font-size:12px!important}
}

@media(max-width:760px){
  .vera-tutorial-terminal{
    border-color:rgba(241,213,141,.58)!important;
    box-shadow:0 0 0 1px rgba(227,182,93,.42),0 0 24px rgba(227,182,93,.12),0 24px 70px rgba(0,0,0,.34)!important;
  }
  .vera-tutorial-sim-grid [data-tutorial-zone].is-tutorial-focus,
  .vera-student-app .vera-tutorial-finale [data-tutorial-zone].is-tutorial-focus{
    outline:2px solid rgba(255,221,139,.88)!important;
    outline-offset:-1px!important;
    border-color:#ffe098!important;
    transform:none!important;
    animation:veraTutorialFocusGlow 1.65s ease-in-out infinite!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .vera-tutorial-terminal{animation:none!important}
  .vera-tutorial-sim-grid [data-tutorial-zone].is-tutorial-focus,
  .vera-student-app .vera-tutorial-finale [data-tutorial-zone].is-tutorial-focus{
    animation:none!important;
    box-shadow:0 0 0 3px rgba(255,226,151,1),0 0 28px rgba(241,198,104,.52),inset 0 0 24px rgba(241,198,104,.12)!important;
  }
}
