/* XPANSION — common presentation layer, 19 October 2026. Existing content, rights and forms are retained. */
:root{--ux-line:#e4e4e4;--ux-muted:#666;--ux-card:#fff;--ux-soft:#f4f4f4;--ux-ink:#191919;--ux-red:#e40d1a}
body{background:#fafafa;color:var(--ux-ink)}.header{padding:14px max(20px,calc((100vw - 1240px)/2));min-height:74px;gap:24px}.header .brand img{width:150px;max-height:52px;object-fit:contain}.header .brand>span{display:none}.header nav{gap:20px;font-size:13px}.header nav>a,.header nav>button{min-height:44px;display:inline-flex;align-items:center}.header .avatar{width:32px;height:32px;font-size:12px}main{max-width:1240px;margin:0 auto;padding:28px 24px 48px}.welcome{padding:0!important;margin:0 0 24px!important;min-height:0!important}.welcome h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.04em;line-height:1.15}.welcome .lead{font-size:17px;margin:9px 0 0}.xp-ux-spaces{max-width:1240px;margin:auto;padding:0 24px;border-bottom:1px solid var(--ux-line)}.xp-ux-spaces>summary{font-size:12px;color:var(--ux-muted);padding:9px 0;min-height:36px;cursor:pointer}.xp-ux-spaces .village-nav{border:0;padding:8px 0 14px;overflow:auto}.xp-ux-spaces .village-nav a{font-size:13px;padding:10px 12px;min-height:44px;white-space:nowrap}
.home-quick-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important;align-items:stretch;margin:0 0 32px!important}.home-quick-actions>*{min-width:0;margin:0!important;border:1px solid var(--ux-line)!important;border-radius:18px!important;background:var(--ux-card)!important;box-shadow:none!important;color:var(--ux-ink)!important;min-height:205px;padding:22px!important}.home-quick-actions .workshop-banner{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;background:#fff4f4!important;border-color:#f1dada!important;gap:14px}.home-quick-actions .workshop-banner>div{min-width:0}.home-quick-actions .workshop-banner .eyebrow{font-size:10px;line-height:1.4;letter-spacing:.1em;margin-bottom:14px}.home-quick-actions .workshop-banner strong{font-size:22px;line-height:1.2;margin:0 0 8px;display:block;letter-spacing:-.035em}.home-quick-actions .workshop-banner time{font-size:13px;font-weight:500;line-height:1.5;display:block}.home-quick-actions .xp-nw-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.home-quick-actions .resume{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:16px}.home-quick-actions .resume h2{font-size:21px;line-height:1.2;color:var(--ux-ink);margin:0 0 8px}.home-quick-actions .resume p{font-size:13px;line-height:1.5;color:var(--ux-muted)}.home-quick-actions .resume .eyebrow{font-size:10px;color:var(--ux-muted);margin-bottom:14px}.home-quick-actions .resume .button{margin:0}.home-quick-actions .first-contact{padding:0!important;overflow:visible}.home-quick-actions .first-contact>summary{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:22px!important;min-height:205px;color:var(--ux-ink)!important;background:transparent!important;border-radius:18px;box-shadow:none!important;list-style:none}.contact-summary-star{display:none!important}.home-quick-actions .contact-summary-copy small{font-size:10px;letter-spacing:.1em;color:var(--ux-muted);display:block;margin-bottom:14px}.home-quick-actions .contact-summary-copy strong{font-size:21px;line-height:1.2;color:var(--ux-ink)}.home-quick-actions .contact-summary-hint{display:block!important;font-size:13px;line-height:1.5;color:var(--ux-muted);margin-top:8px}.home-quick-actions .contact-summary-action{display:inline-flex;min-height:44px;padding:10px 14px;font-size:13px;color:var(--ux-ink)!important;border:1px solid var(--ux-line);border-radius:9px;background:white;box-shadow:none;width:auto;margin-top:8px;gap:10px}.home-quick-actions .contact-summary-arrow{font-size:18px}.home-quick-actions .first-contact[open]{grid-column:1/-1}.home-quick-actions .first-contact[open]>summary{min-height:90px;flex-direction:row;justify-content:space-between;align-items:center}.home-quick-actions .first-contact[open] .contact-summary-copy small{margin-bottom:6px}.home-quick-actions .first-contact[open] .contact-summary-action{margin-top:0}.home-quick-actions .first-contact>div{padding:0 22px 22px}.button{min-height:44px;border-radius:9px!important;font-size:13px;padding:11px 17px}.button.primary{background:var(--ux-red)}.catalogue .section-heading{margin-bottom:16px}.catalogue h2{font-size:27px}.catalogue .filters{margin-bottom:18px;gap:8px}.catalogue .filters button{min-height:40px;padding:8px 14px;font-size:13px}.course-card{border-radius:16px!important;border:1px solid var(--ux-line);box-shadow:none!important}.course-card .card-body{padding:20px}.course-card h3{font-size:20px;line-height:1.2}.course-card .card-body>p:not(.eyebrow){font-size:14px;line-height:1.5}.course-card .cover{min-height:0}.course-card .cover img{object-fit:cover}.course-ring{display:none!important}.course-heading,.lesson-heading{padding:0!important;margin:0 0 20px!important;min-height:0!important}.course-heading h1,.lesson-heading h1{font-size:clamp(25px,3vw,36px)!important;line-height:1.16!important;max-width:100%;letter-spacing:-.04em}.course-heading .lead{font-size:16px;max-width:760px}.lesson-heading .back,.course-heading .back{font-size:12px;margin-bottom:14px}.xp-ux-lesson-title{font-size:13px;color:var(--ux-muted);margin:7px 0 0}.screen-lesson main>.workshop-banner,.screen-course main>.workshop-banner{display:flex;flex-direction:row;align-items:center;gap:12px;margin:0 0 18px;padding:13px 16px;border:1px solid #eedcdc;border-radius:12px;background:#fff5f5;min-height:0}.screen-lesson main>.workshop-banner>div:first-child,.screen-course main>.workshop-banner>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:1}.screen-lesson main>.workshop-banner .eyebrow,.screen-course main>.workshop-banner .eyebrow{font-size:9px;letter-spacing:.1em;flex-basis:100%;margin:0}.screen-lesson main>.workshop-banner strong,.screen-course main>.workshop-banner strong{font-size:15px;line-height:1.3;margin:0}.screen-lesson main>.workshop-banner time,.screen-course main>.workshop-banner time{font-size:12px;line-height:1.5;font-weight:500;display:inline}.screen-lesson main>.workshop-banner .xp-nw-actions,.screen-course main>.workshop-banner .xp-nw-actions{display:flex;align-items:center}.screen-lesson main>.workshop-banner .button,.screen-course main>.workshop-banner .button{font-size:12px;white-space:nowrap}.xp-ux-workshop-info{font-size:11px;color:var(--ux-muted);flex-basis:100%}.xp-ux-workshop-info>summary{cursor:pointer;padding:7px 0}.xp-ux-workshop-info>*:not(summary){font-size:12px;line-height:1.5;margin:8px 0;display:block}.workshop-banner .eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ux-red);display:inline-block;margin-right:7px;animation:xp-ux-signal 2s ease-in-out 3}@keyframes xp-ux-signal{50%{opacity:.5;box-shadow:0 0 0 4px #e40d1a15}}
.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start}.lesson-layout>div{min-width:0}.lesson-layout>.player,.player{border-radius:14px!important;overflow:hidden}.player{margin:0 0 10px!important;background:#151515;aspect-ratio:16/9}.player iframe{width:100%;height:100%;border:0}.xp-ux-documents,.xp-ux-study{font-size:13px;border-bottom:1px solid var(--ux-line);padding:8px 0;margin:0 0 8px}.xp-ux-documents>summary,.xp-ux-study>summary{min-height:38px;display:list-item;cursor:pointer;color:var(--ux-muted);padding:8px 0}.xp-ux-documents>div,.xp-ux-study>div{padding:12px 0}.xp-ux-live-link{margin:10px 0 16px}.xp-ux-vibe{border-top:1px solid var(--ux-line);padding-top:20px;margin:20px 0}.xp-ux-vibe>h2{font-size:25px;margin:0 0 5px;letter-spacing:-.04em}.xp-ux-vibe>p{font-size:15px;color:var(--ux-muted);margin:0 0 16px}.xp-ux-choices{display:grid;grid-template-columns:1.15fr 1fr;gap:12px;align-items:start}.xp-ux-choice{border:1px solid var(--ux-line);border-radius:12px;background:white;min-width:0}.xp-ux-choice>summary{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:110px;padding:18px;cursor:pointer;list-style:none}.xp-ux-choice summary strong{font-size:15px;line-height:1.4}.xp-ux-choice summary small{font-size:9px;letter-spacing:.08em;color:var(--ux-red);font-weight:700}.xp-ux-choice summary span{font-size:12px;color:var(--ux-muted);line-height:1.4}.xp-ux-recommended{background:#fff9f9;border-color:#e8d6d7}.xp-ux-choice[open]{grid-column:1/-1}.xp-ux-choice[open]>summary{min-height:65px;border-bottom:1px solid var(--ux-line)}.xp-ux-choice>div{padding:18px}.xp-ux-choice .portal-panel{margin:0 0 16px;box-shadow:none;background:transparent;border:0;padding:0}.xp-ux-choice .portal-panel>h2{font-size:21px}.xp-ux-choice .portal-panel>p{font-size:14px}.xp-ux-choice form{margin:16px 0}.xp-ux-replays{border:1px solid var(--ux-line);border-radius:14px;background:var(--ux-card);overflow:hidden}.xp-ux-replays>summary{padding:18px;font-size:15px;font-weight:700;cursor:pointer;min-height:48px}.xp-ux-replays>div{padding:0 15px 16px}.xp-ux-replays .eyebrow{font-size:10px;margin:14px 0 5px}.xp-ux-replays .session-lessons{padding-left:14px;font-size:13px}.xp-ux-replays .session-lessons a{display:block;padding:9px 0;line-height:1.4}.xp-ux-module{margin:10px 0;border-top:1px solid var(--ux-line);padding-top:10px}.xp-ux-module>summary{font-size:13px;cursor:pointer;padding:10px 0;min-height:44px;line-height:1.4}.xp-ux-replays .lessons{padding:0;list-style:none}.xp-ux-replays .lessons a{display:block;font-size:13px;padding:12px 10px;border-radius:7px;line-height:1.4}.xp-ux-replays .lessons a[aria-current]{background:var(--ux-soft);border-left:3px solid var(--ux-red);font-weight:650}.xp-ux-replays .portal-actions{display:block;font-size:12px}.lesson-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.lesson-actions .primary{background:var(--ux-ink)}.video-discussion{border:1px solid var(--ux-line);border-radius:14px;box-shadow:none;margin:20px 0}.video-discussion .vd-heading{padding:18px;min-height:0}.video-discussion .vd-heading h2{font-size:22px}.video-discussion .vd-starters{gap:6px;flex-wrap:wrap}.video-discussion .vd-starters button{font-size:12px;padding:10px 12px}.lesson-text h1,.lesson-text h2{font-size:24px}.portal-panel{border-radius:14px;box-shadow:none!important}.information>h1{font-size:clamp(26px,3vw,36px)}.information .portal-form,.information .portal-panel{max-width:100%}.information>p,.information>ul{max-width:760px}.live-timer{font-size:34px!important;line-height:1.2}.xp-ux-contact,.xp-ux-alfred-shortcut{max-width:1192px;margin:0 auto 24px;padding:0 24px;color:var(--ux-muted);font-size:13px}.xp-ux-contact>summary{cursor:pointer;min-height:44px;padding:12px 0}.xp-ux-contact .contact-banner{background:#f4f4f4;border:1px solid var(--ux-line);box-shadow:none;margin:0;padding:20px;border-radius:14px}.xp-ux-contact .contact-banner strong{font-size:21px}.xp-ux-contact .contact-banner p{font-size:14px}.xp-ux-alfred-shortcut{font-size:12px}.xp-ux-alfred-shortcut a{display:inline-flex;align-items:center;min-height:44px}footer{max-width:1240px;padding:24px!important;margin:auto;font-size:12px;gap:20px}footer>div{display:flex;gap:16px;flex-wrap:wrap}footer a{min-height:36px;display:inline-flex;align-items:center}.login-layout{padding-top:14px;gap:35px}.login-layout h1{font-size:clamp(28px,4vw,44px)}.login-entry .lead{font-size:16px}.steps-panel{background:var(--ux-soft);padding:24px;border-radius:18px}.steps-panel .steps{gap:20px}.login-layout .steps span,.login-layout .small{font-size:13px}input,textarea,select{max-width:100%}button,a,input,textarea,select,summary{outline-offset:4px}*:focus-visible{outline:3px solid #1d6ee8}details>summary::-webkit-details-marker{cursor:pointer}
@media(min-width:1000px){.lesson-layout>aside{position:sticky;top:20px}}
@media(max-width:900px){.header nav{gap:13px}.home-quick-actions{gap:12px!important}.home-quick-actions>*{padding:17px!important}.home-quick-actions .first-contact>summary{padding:17px!important}.home-quick-actions .workshop-banner strong,.home-quick-actions .resume h2,.home-quick-actions .contact-summary-copy strong{font-size:19px}.home-quick-actions .workshop-banner time{font-size:12px}.home-quick-actions .button{font-size:12px;padding:10px 13px}.lesson-layout{grid-template-columns:minmax(0,1fr) 210px;gap:18px}}
@media(max-width:800px){.header{padding:12px 16px;gap:16px;min-height:65px}.header .brand img{width:120px}.header nav{gap:12px;font-size:12px}.header .avatar{display:none}main{padding:22px 16px 36px}.xp-ux-spaces{padding:0 16px}.lesson-layout{display:flex;flex-direction:column;gap:20px}.lesson-layout>div,.lesson-layout>aside{width:100%}.lesson-heading h1,.course-heading h1{font-size:26px!important}.lesson-heading{margin-bottom:16px!important}.xp-ux-replays{width:100%}.screen-lesson main>.workshop-banner{padding:12px;align-items:center;gap:10px}.screen-lesson main>.workshop-banner>div:first-child{display:block}.screen-lesson main>.workshop-banner .eyebrow{font-size:9px;margin-bottom:5px}.screen-lesson main>.workshop-banner strong{font-size:14px;display:block;margin-bottom:4px}.screen-lesson main>.workshop-banner time{font-size:11px;display:block}.screen-lesson main>.workshop-banner .button{font-size:11px;padding:10px 12px}.xp-ux-choices{gap:10px}.xp-ux-choice>summary{padding:15px}.xp-ux-choice summary strong{font-size:14px}.xp-ux-choice summary span{font-size:12px}.xp-ux-choice>div{padding:15px}footer{padding:22px 16px!important;align-items:flex-start}.xp-ux-contact,.xp-ux-alfred-shortcut{padding:0 16px}.xp-ux-vibe>h2{font-size:24px}.login-layout{padding-top:0;display:block}.steps-panel{margin-top:28px}.video-discussion .vd-heading h2{font-size:21px}}
@media(max-width:600px){.header .brand img{width:108px}.header nav{gap:9px;font-size:11px}.header nav>a[href="deconnexion.php"]{font-size:10px}.header .theme{width:30px;min-width:30px;height:36px;min-height:36px}.welcome h1{font-size:27px}.welcome .lead{font-size:16px}.home-quick-actions{grid-template-columns:1fr;gap:10px!important;margin-bottom:26px!important}.home-quick-actions>*{min-height:0}.home-quick-actions .workshop-banner,.home-quick-actions .resume{padding:18px!important;gap:14px}.home-quick-actions .workshop-banner .eyebrow,.home-quick-actions .resume .eyebrow{margin-bottom:8px}.home-quick-actions .first-contact>summary{min-height:145px;padding:18px!important}.home-quick-actions .contact-summary-copy small{margin-bottom:8px}.home-quick-actions .first-contact[open]>summary{flex-direction:column;align-items:flex-start;gap:8px}.home-quick-actions .first-contact[open]{grid-column:auto}.home-quick-actions .contact-summary-hint{font-size:12px}.home-quick-actions .resume h2{font-size:20px}.home-quick-actions .xp-nw-actions{align-items:flex-start}.xp-ux-workshop-info{font-size:10px}.xp-ux-choices{grid-template-columns:1fr}.xp-ux-choice[open]{grid-column:auto}.xp-ux-choice>summary{min-height:90px}.catalogue h2{font-size:24px}.catalogue .filters{gap:6px}.catalogue .filters button{font-size:12px;padding:8px 11px}.catalogue .grid{gap:14px}.course-card .card-body{padding:17px}.course-card h3{font-size:19px}.xp-ux-vibe{margin-top:16px}.information .portal-actions{gap:10px;flex-wrap:wrap}.live-timer{font-size:28px!important}footer{flex-wrap:wrap}.xp-ux-replays .lessons a{min-height:44px}.lesson-actions .button{font-size:12px}.button{font-size:13px}.screen-course .course-heading .lead{font-size:15px}}
@media(max-width:370px){.header nav{gap:6px;font-size:10px}.header{gap:9px}.header .brand img{width:94px}.header nav>a[href="ressources.php"]{display:none}.header nav>a[href="deconnexion.php"]{font-size:9px}.screen-lesson main>.workshop-banner{flex-wrap:wrap}.screen-lesson main>.workshop-banner .xp-nw-actions{width:100%}}
html[data-theme="dark"] body{--ux-card:#191919;--ux-soft:#222;--ux-line:#3c3c3c;--ux-ink:#eee;--ux-muted:#bbb;background:#111;color:var(--ux-ink)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Optional workbook practice stays below the video and uses the same private draft. */
.xp-workbook>summary span{font-size:12px;font-weight:400;color:var(--ux-muted)}.xp-workbook-choices{display:grid;gap:10px}.xp-workbook-exercise{border:1px solid var(--ux-line);border-radius:12px;min-width:0;overflow-wrap:anywhere}.xp-workbook-exercise>summary{display:flex;gap:12px;align-items:center;padding:16px!important;min-height:70px;cursor:pointer;list-style:none}.xp-workbook-exercise>summary strong{display:block;font-size:15px;line-height:1.4}.xp-workbook-exercise>summary small{display:block;margin-top:4px;font-size:11px;font-weight:400;color:var(--ux-muted)}.xp-workbook-number{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:var(--ux-soft);font-size:12px}.xp-workbook-exercise>div{padding:0 16px 18px;font-size:14px;line-height:1.65}.xp-workbook-exercise ol{padding-left:22px}.xp-workbook-exercise li{padding-left:3px;margin:18px 0}.xp-workbook-exercise li>p{margin:6px 0}.xp-workbook-short{padding:14px;border-radius:9px;background:var(--ux-soft)}.xp-workbook-exercise .button{display:inline-flex;align-items:center;white-space:normal;max-width:100%}.xp-workbook-exercise>summary:after{content:'+';margin-left:auto;color:var(--ux-muted);font-size:20px}.xp-workbook-exercise[open]>summary:after{content:'−'}
/* The same notebook is used during the live and beside the replay. */
.learning-notebook{border:1px solid var(--ux-line);border-radius:16px;padding:22px;margin:22px 0;background:var(--ux-card);min-width:0}.notebook-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.notebook-heading h2{font-size:23px;letter-spacing:-.04em;margin:3px 0 8px}.notebook-heading .eyebrow{font-size:10px;margin:0}.notebook-revision{font-size:10px;color:var(--ux-muted);text-align:right;max-width:120px}.learning-notebook>p{font-size:13px;line-height:1.6}.learning-notebook details{border-top:1px solid var(--ux-line);padding:0 0 5px}.learning-notebook summary{padding:17px 0;cursor:pointer;font-weight:650;font-size:15px;min-height:48px}.learning-notebook summary span{display:block;color:var(--ux-muted);font-size:11px;font-weight:400;margin-top:5px}.learning-notebook input,.learning-notebook textarea{font-size:15px;line-height:1.6;background:var(--ux-card);color:var(--ux-ink);border:1px solid var(--ux-line);border-radius:8px;padding:12px;width:100%;resize:vertical}.learning-notebook .portal-form{gap:15px}.learning-notebook label{font-size:13px}.notebook-fixed>summary{color:var(--ux-ink)}.notebook-history p{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.learning-notebook .is-error{color:#aa242d}.learning-notebook [hidden]{display:none!important}.xp-orientation{position:fixed;right:22px;bottom:22px;z-index:60}.xp-orientation>summary{display:flex;align-items:center;gap:8px;border:1px solid var(--ux-line);border-radius:999px;background:var(--ux-card);box-shadow:0 5px 20px #00000012;padding:10px 15px;min-height:48px;font-size:12px;font-weight:650;cursor:pointer;list-style:none}.xp-orientation>summary img{width:22px;height:22px;object-fit:contain}.orientation-panel{position:absolute;bottom:62px;right:0;width:340px;max-width:calc(100vw - 32px);max-height:75vh;overflow:auto;overscroll-behavior:contain;background:var(--ux-card);border:1px solid var(--ux-line);box-shadow:0 10px 40px #0002;border-radius:16px;padding:20px}.orientation-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.orientation-heading strong{font-size:17px;line-height:1.5}.orientation-heading button{border:0;background:transparent;font-size:24px;min-width:36px;min-height:36px;cursor:pointer;color:var(--ux-ink)}.orientation-panel .small{font-size:11px;line-height:1.7;color:var(--ux-muted)}.orientation-panel form{display:grid;gap:10px;margin:16px 0}.orientation-panel form label{font-size:13px}.orientation-panel input{border:1px solid var(--ux-line);border-radius:8px;padding:12px;font-size:14px;min-height:46px;background:var(--ux-card);color:var(--ux-ink)}.orientation-result{display:block;padding:12px 0;font-size:13px;border-bottom:1px solid var(--ux-line);line-height:1.5}.orientation-event{font-size:12px;line-height:1.7;background:var(--ux-soft);padding:12px;border-radius:8px}.orientation-panel [role=status]{font-size:13px}.xp-mobile-actions{display:none}.xp-success-sparks{position:fixed;left:50%;bottom:20%;width:1px;height:1px;z-index:100;pointer-events:none}.xp-success-sparks i{position:absolute;display:block;width:7px;height:7px;background:#ee001b;border-radius:2px;opacity:0;animation:xp-spark .85s ease-out var(--delay) forwards}.xp-success-sparks i:nth-child(3n){background:#f2b83f}.xp-success-sparks i:nth-child(3n+1){background:#161616}@keyframes xp-spark{0%{opacity:0;transform:translate(0,0) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rot))}}html[data-theme=dark] .xp-ux-choice,html[data-theme=dark] .xp-ux-contact .contact-banner{background:var(--ux-card)}html[data-theme=dark] .xp-ux-recommended{background:#27191c}html[data-theme=dark] .home-quick-actions .first-contact{background:var(--ux-card)!important;color:var(--ux-ink)!important}html[data-theme=dark] .home-quick-actions .contact-summary-copy strong,html[data-theme=dark] .home-quick-actions .contact-summary-copy small{color:var(--ux-ink)!important}html[data-theme=dark] .learning-notebook .is-error{color:#ff9099}
@media(max-width:600px){.learning-notebook{padding:17px;margin:18px 0}.notebook-heading h2{font-size:21px}.notebook-revision{font-size:9px;max-width:90px}.learning-notebook input,.learning-notebook textarea,.orientation-panel input{font-size:16px}.xp-orientation{right:14px;bottom:14px}.screen-lesson .xp-orientation,.xp-live-screen .xp-orientation{bottom:75px}.xp-orientation>summary{width:48px;height:48px;justify-content:center;padding:10px}.xp-orientation>summary span{display:none}.orientation-panel{bottom:59px;width:340px;padding:17px;max-height:65vh}.screen-lesson,.xp-live-screen{padding-bottom:60px}.xp-mobile-actions{display:flex;position:fixed;left:0;right:0;bottom:0;gap:4px;justify-content:space-around;background:var(--ux-card);border-top:1px solid var(--ux-line);padding:7px 10px max(7px,env(safe-area-inset-bottom));z-index:45}.xp-mobile-actions a{display:flex;align-items:center;justify-content:center;padding:9px 14px;min-height:43px;font-size:12px;font-weight:650;border-radius:8px}.xp-mobile-actions a:active{background:var(--ux-soft)}}
@media(prefers-reduced-motion:reduce){.xp-success-sparks{display:none!important}}
@media(max-width:800px){.screen-lesson main>.workshop-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;align-items:center}.screen-lesson main>.workshop-banner>div:first-child{min-width:0}.screen-lesson main>.workshop-banner .xp-nw-actions{width:auto;margin:0}.screen-lesson main>.workshop-banner .xp-ux-workshop-info{grid-column:1/-1;justify-self:start;padding:0;border:0;border-radius:0;background:transparent;min-width:0}.screen-lesson main>.workshop-banner .xp-ux-workshop-info>summary{padding:2px 0;min-height:22px}.screen-lesson main>.workshop-banner .eyebrow{font-size:0;letter-spacing:0;white-space:nowrap;margin-bottom:5px}.screen-lesson main>.workshop-banner .eyebrow:after{content:'PROCHAIN ATELIER';font-size:9px;letter-spacing:.09em}.screen-lesson main>.workshop-banner strong{font-size:15px;line-height:1.35}.screen-lesson main>.workshop-banner time{font-size:11px;line-height:1.5}.screen-lesson main>.workshop-banner .button{max-width:112px;font-size:10px;padding:11px 12px;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere}}
@media(max-width:600px){.header nav>a[href="ressources.php"],.header nav>a[href="deconnexion.php"]{display:none}.header nav{font-size:12px;gap:14px}.header nav>a[href="assistant.php"]{white-space:nowrap}.header .brand img{width:125px}.screen-lesson main>.workshop-banner{grid-template-columns:minmax(0,1fr) auto;flex-wrap:nowrap}.screen-lesson main>.workshop-banner .xp-nw-actions{width:auto}}
.workshop-feedback{border:1px solid var(--ux-line);border-radius:14px;padding:0 18px;margin:20px 0;background:var(--ux-card)}.workshop-feedback>summary{cursor:pointer;min-height:52px;padding:16px 0;font-size:14px;font-weight:650}.workshop-feedback>summary span{display:block;font-size:11px;font-weight:400;color:var(--ux-muted);margin-top:5px}.workshop-feedback form{padding:0 0 18px}.workshop-feedback label{font-size:13px}.workshop-feedback textarea{font-size:16px;resize:vertical}.workshop-feedback [role=status]{font-size:12px}
.alfred-setup{max-width:780px}.alfred-setup .portal-panel h2{font-size:24px}.alfred-provider-choice{display:flex;gap:12px;flex-wrap:wrap}.alfred-provider-choice button{min-width:125px;min-height:48px}.alfred-setup details{border-top:1px solid var(--ux-line);margin-top:18px;padding-top:12px}.alfred-setup summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px}.alfred-setup input,.alfred-setup textarea{width:100%;padding:12px;border:1px solid var(--ux-line);border-radius:8px;font-size:14px;background:var(--ux-card);color:var(--ux-ink)}
/* Keep long workshop titles readable beside the action; details use their own row. */
.screen-lesson main>.workshop-banner,.screen-course main>.workshop-banner{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info action" "detail detail";gap:6px 16px}
.screen-lesson main>.workshop-banner>div:first-child,.screen-course main>.workshop-banner>div:first-child{grid-area:info;min-width:0}
.screen-lesson main>.workshop-banner>.xp-nw-actions,.screen-course main>.workshop-banner>.xp-nw-actions{grid-area:action}
.screen-lesson main>.workshop-banner>.xp-ux-workshop-info,.screen-course main>.workshop-banner>.xp-ux-workshop-info{grid-area:detail;min-width:0;width:auto;margin:0}

.xp-live-host>summary{font-size:13px}.xp-live-host .portal-panel{border:0;margin:0;padding:0}.xp-live-welcome h2{font-size:22px;letter-spacing:-.035em}.xp-live-welcome p{font-size:14px;line-height:1.7}.xp-live-screen [data-live-root]{scroll-margin-top:20px}.xp-live-screen .information>h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.04em;line-height:1.2}.xp-live-screen [data-live-timer]{font-variant-numeric:tabular-nums}

/* One balanced row on desktop; native horizontal scrolling on a phone. */
.xp-home-actions{margin:0 0 30px;min-width:0}.xp-home-actions .home-quick-actions{position:relative;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:0!important;align-items:stretch;gap:16px!important}.xp-home-actions .home-quick-actions>*{box-sizing:border-box;min-height:260px;overflow-wrap:anywhere}.xp-home-actions .workshop-banner{justify-content:flex-start;gap:10px}.xp-home-actions .workshop-banner>div:first-child{order:0;flex:none}.xp-home-actions .workshop-banner>.xp-ux-workshop-info{order:1;flex:none;margin:0}.xp-home-actions .workshop-banner>.xp-nw-actions,.xp-home-actions .workshop-banner>.button{order:2;margin-top:auto}.xp-home-actions .resume{justify-content:flex-start}.xp-home-actions .resume>.button{margin-top:auto}.xp-home-actions .first-contact[open]{grid-column:auto!important}.xp-home-actions .first-contact>summary,.xp-home-actions .first-contact[open]>summary{box-sizing:border-box;min-height:258px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;height:100%;gap:18px}.xp-home-actions .contact-summary-action{box-shadow:none!important;border:1px solid var(--ux-line)!important;background:var(--ux-card)!important;color:var(--ux-ink)!important;width:auto!important;margin:0!important;transform:none!important;min-height:44px;line-height:1.4}.xp-home-actions .first-contact[open] .contact-summary-copy small{margin-bottom:14px}.xp-home-actions .contact-summary-copy strong{display:block}.xp-home-contact-panel{margin-top:18px;padding:22px;border:1px solid var(--ux-line);border-radius:18px;background:var(--ux-card)}.xp-home-contact-panel[hidden],.xp-home-carousel-controls[hidden]{display:none!important}.xp-home-contact-heading{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:12px}.xp-home-contact-heading h2{margin:0;font-size:24px;letter-spacing:-.035em}.xp-home-contact-panel .contact-content{padding:0}.xp-home-carousel-controls{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:8px}.xp-home-carousel-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--ux-line);border-radius:50%;background:var(--ux-card);color:var(--ux-ink);cursor:pointer;font-size:19px}.xp-home-carousel-controls button:disabled,.xp-home-carousel-controls button[aria-disabled=true]{opacity:.35;cursor:default}.xp-home-carousel-controls [role=status]{font-size:12px;color:var(--ux-muted);min-width:50px;text-align:center}.xp-home-actions :focus-visible{outline:3px solid var(--ux-red);outline-offset:3px}.xp-access-email{padding:16px 18px;margin:18px 0;border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-card);font-size:14px;line-height:1.6;overflow-wrap:anywhere}.xp-access-email p{margin:0 0 9px}.xp-access-email .help-link{display:inline-flex;align-items:center;min-height:44px}.xp-home-lab .eyebrow{color:var(--ux-red)}
@media(min-width:701px){.xp-home-carousel-controls{display:none!important}}
@media(max-width:700px){.xp-home-actions .home-quick-actions{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:88%;gap:12px!important;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scroll-padding-inline:0;padding:2px 0 10px}.xp-home-actions .home-quick-actions>*{scroll-snap-align:start;scroll-snap-stop:normal;min-width:0;min-height:260px}.xp-home-actions .first-contact>summary,.xp-home-actions .first-contact[open]>summary{min-height:258px!important}.xp-home-contact-panel{padding:17px}.xp-home-contact-heading{align-items:flex-start;flex-wrap:wrap}.xp-home-contact-heading h2{font-size:22px}.xp-home-contact-panel select,.xp-home-contact-panel textarea{font-size:16px}.xp-home-actions .workshop-banner .xp-nw-actions{width:auto}}

/* Keep the workshop date readable while the workshop signal may animate. */
body .workshop-banner time.xp-nw-date{animation:none!important;opacity:1!important;transform:none!important}

/* UX26: distinct study landmarks, compact inline choices and source-bound catalogue groups. */
.xp-ux-study{border:1px solid #cbd8e6;border-radius:11px;background:#f1f5fa;margin:9px 0}.xp-ux-study>summary{color:#294565;padding:13px 16px!important}.xp-ux-documents:not(.xp-ux-team-help){border:1px solid #e2d8c8;border-radius:11px;background:#faf7f1;margin:9px 0}.xp-ux-documents:not(.xp-ux-team-help)>summary{color:#665035;padding:13px 16px!important}.xp-ux-documents>div,.xp-ux-study>div{padding:0 16px 16px}.xp-ux-documents .document{background:var(--ux-card);border-radius:8px;padding:14px}.course-resources{margin:22px 0 30px;padding:18px;border:1px solid #e2d8c8;border-radius:12px;background:#faf7f1}.course-resources h2{font-size:21px}.xp-resource-link{color:#665035}.xp-ux-resource-nav{padding:0}.xp-ux-resource-nav ul{padding:0 16px 10px}.xp-ux-resource-nav a{display:block;min-height:44px;padding:10px 0;line-height:1.5}.xp-ux-resource-nav [aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.xp-ux-vibe .xp-ux-choices{display:block!important}.xp-ux-vibe .xp-ux-choice{min-height:0!important;margin:10px 0;width:100%;max-width:100%;box-sizing:border-box}.xp-ux-vibe .xp-ux-choice>summary{min-height:62px!important;padding:15px 18px!important;justify-content:flex-start}.xp-ux-vibe .xp-ux-choice>div{min-width:0;max-width:100%;box-sizing:border-box}.xp-ux-vibe .xp-ux-choice[open]>summary{border-bottom:1px solid var(--ux-line)}.xp-ux-vibe .portal-panel{max-width:100%;min-width:0}.xp-ux-vibe .portal-form{min-width:0}.xp-ux-vibe textarea,.xp-ux-vibe select{max-width:100%;box-sizing:border-box}.xp-ux-vibe .xp-ux-choice h2{font-size:23px}.xp-ux-team-help{margin-top:28px}.xp-playback-support:empty{display:none}.xp-playback-support p:empty{display:none}
body .xp-lesson-workshop .workshop-banner{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-height:0;margin:0 0 16px;padding:16px;border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-card);box-shadow:none;font-size:13px}body .xp-lesson-workshop .workshop-banner>div:first-child{display:block;min-width:0}body .xp-lesson-workshop .workshop-banner .eyebrow{font-size:9px;line-height:1.5;letter-spacing:.07em;margin:0 0 8px}body .xp-lesson-workshop .workshop-banner strong{font-size:17px;line-height:1.3;margin:0 0 8px;display:block;color:var(--ux-ink)}body .xp-lesson-workshop .workshop-banner time{font-size:12px;line-height:1.6;font-weight:600;display:block;margin:0;color:var(--ux-ink)}body .xp-lesson-workshop .xp-nw-count{display:block;margin:8px 0 0;font-size:12px;color:var(--ux-muted);font-weight:500}body .xp-lesson-workshop .xp-nw-actions{display:flex;flex-wrap:wrap;gap:8px}body .xp-lesson-workshop .xp-nw-actions .button{font-size:12px;padding:10px 12px;max-width:100%;white-space:normal;overflow-wrap:anywhere}body .xp-lesson-workshop .xp-ux-workshop-info{margin:0;border:0;padding:0;min-width:0;width:auto}body .xp-lesson-workshop .xp-ux-workshop-info summary{font-size:11px;min-height:28px;padding:4px 0}body .xp-lesson-workshop .xp-nw-actions a:not(.button){font-size:11px}
.xp-feedback-rating{border:0;padding:0;margin:0;min-width:0}.xp-feedback-rating legend{font-size:14px;line-height:1.5;margin-bottom:10px}.xp-feedback-stars{display:flex;gap:7px;flex-wrap:wrap}.workshop-feedback .xp-feedback-star{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;width:44px;margin:0;border:1px solid var(--ux-line);border-radius:8px;cursor:pointer;background:var(--ux-card)}.xp-feedback-star input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.xp-feedback-star>span[aria-hidden]{font-size:25px;line-height:1;color:#777}.xp-feedback-star.is-selected>span[aria-hidden]{color:#966812}.xp-feedback-star:has(input:focus-visible){outline:3px solid var(--ux-red);outline-offset:3px}.workshop-feedback [hidden]{display:none!important}.workshop-feedback textarea{width:100%;box-sizing:border-box}.workshop-feedback .portal-choice{align-items:flex-start}.workshop-feedback .portal-choice input{flex:none;width:18px;height:18px;margin-top:2px}
.xp-catalogue-index{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 22px}.xp-catalogue-index a{display:inline-flex;gap:8px;align-items:center;min-height:44px;padding:9px 12px;border:1px solid var(--ux-line);border-radius:9px;background:var(--ux-card);font-size:12px;color:var(--ux-ink)}.xp-catalogue-index span,.xp-catalogue-group h3>span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;border-radius:20px;background:var(--ux-soft);color:var(--ux-muted);font-size:12px;padding:0 6px}.xp-catalogue-group{margin-top:32px;scroll-margin-top:24px}.xp-catalogue-group h3{font-size:25px;line-height:1.3;letter-spacing:-.025em;display:flex;align-items:center;gap:10px;margin:0 0 14px}.xp-catalogue-group[hidden],.course-card[hidden]{display:none!important}.xp-home-catalogue .course-card{display:flex;flex-direction:column;min-width:0}.xp-home-catalogue .course-card>a{flex:1}.xp-home-catalogue .card-body{min-width:0}.xp-card-date{padding:0 20px 18px;margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.xp-card-date time{font-weight:600}.xp-card-date a{text-decoration:underline;text-underline-offset:3px}.xp-course-soon .cover img{filter:grayscale(1)}.xp-course-soon .cover{background:#e6e6e6!important}.xp-course-soon .format{background:#e6e6e6;color:#404040}.xp-course-soon .card-body{background:var(--ux-soft)}.xp-course-soon .card-cta{color:var(--ux-ink)}.xp-home-catalogue a:focus-visible{outline:3px solid var(--ux-red);outline-offset:3px}
html[data-theme=dark] .xp-ux-study{background:#1b2733;border-color:#3c566f}html[data-theme=dark] .xp-ux-study>summary{color:#ccdef0}html[data-theme=dark] .xp-ux-documents:not(.xp-ux-team-help),html[data-theme=dark] .course-resources{background:#29251e;border-color:#5c503e}html[data-theme=dark] .xp-ux-documents:not(.xp-ux-team-help)>summary,html[data-theme=dark] .xp-resource-link{color:#e5cfab}html[data-theme=dark] .xp-feedback-star>span[aria-hidden]{color:#aaa}html[data-theme=dark] .xp-feedback-star.is-selected>span[aria-hidden]{color:#f2c260}html[data-theme=dark] .xp-course-soon .format{background:#444;color:#eee}
@media(max-width:800px){.xp-lesson-sidebar{display:flex;flex-direction:column;min-width:0}.xp-lesson-workshop{order:0}.xp-ux-replays{order:1}.xp-ux-resource-nav{order:2}.xp-ux-vibe .xp-ux-choice>summary{padding:14px!important}.xp-ux-vibe .xp-ux-choice>div{padding:14px!important}.xp-ux-vibe .portal-panel{padding:15px}.xp-catalogue-group h3{font-size:22px}.xp-catalogue-index a{font-size:11px}.xp-feedback-stars{gap:5px}.workshop-feedback .xp-feedback-star{width:42px;min-height:44px}body .xp-lesson-workshop .workshop-banner{padding:15px}.xp-lesson-sidebar .xp-ux-replays{margin-top:10px}}
/* The optional feedback heading must wrap as prose, not a compressed flex column. */
body .workshop-feedback>summary{display:block!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.5}body .workshop-feedback>summary>span{display:block!important;white-space:normal!important;margin-top:5px;line-height:1.5}

/* Catalogue groups span the page; the old catalogue split grid does not own their layout. */
.xp-home-catalogue{display:block!important}.xp-home-catalogue>.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.xp-home-catalogue>.section-heading h2{position:static;width:auto;height:auto;clip-path:none;overflow:visible;margin:0;font-size:27px}.xp-home-catalogue .xp-catalogue-group{width:100%;min-width:0;grid-column:1/-1}.xp-home-catalogue .xp-catalogue-group>.section-heading{display:block}.xp-home-catalogue .xp-catalogue-group>.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.xp-home-catalogue .search{max-width:360px;width:100%;grid-column:auto;grid-row:auto}.xp-home-catalogue .filters{margin:0 0 12px}.xp-home-catalogue .xp-catalogue-group .cover{aspect-ratio:2/1}
@media(max-width:900px){.xp-home-catalogue>.section-heading{flex-wrap:wrap}.xp-home-catalogue .xp-catalogue-group>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.xp-home-catalogue .xp-catalogue-group>.grid{grid-template-columns:minmax(0,1fr)}.xp-home-catalogue>.section-heading h2{font-size:24px}.xp-home-catalogue .search{max-width:none}}
.xp-home-catalogue .course-card>a{display:flex;flex-direction:column}.xp-home-catalogue .card-body{display:flex;flex-direction:column;flex:1}.xp-home-catalogue .card-body h3{position:static;width:auto;height:auto;clip-path:none;overflow:visible;min-height:0;margin:0 0 12px;font-size:20px;line-height:1.3}.xp-home-catalogue .card-cta{margin-top:auto;padding-top:14px}

/* Study navigation uses the existing guarded course and lesson routes. */
.xp-study-breadcrumb{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;margin:0 0 14px}.xp-study-breadcrumb .back{display:inline-flex;align-items:center;min-height:44px;margin:0}.xp-study-breadcrumb a:last-child{font-weight:650}.xp-study-breadcrumb a:focus-visible{outline:3px solid var(--ux-red,#d72323);outline-offset:3px}
@media(max-width:600px){.xp-study-breadcrumb{gap:6px;margin-bottom:10px}.xp-study-breadcrumb a{font-size:12px}.xp-mobile-actions{gap:2px}.xp-mobile-actions a{flex:1;min-width:0;padding:9px 7px;font-size:11px}}
