:root{--ink:#0c1e4a;--green:#1658c4;--paper:#f4f7fc;--muted:#5c6b85;--line:#d7e1ef;--lime:#f0b400}html{background:var(--paper)}body{font-family:Arial,"Segoe UI",sans-serif;color:#0c1e4a}.ui-icon{width:22px;height:22px;flex:none;vertical-align:middle}.teacher-shell{padding-left:258px}.teacher-sidebar{position:fixed;z-index:10;left:0;top:0;bottom:0;width:258px;background:#fff;color:#0c1e4a;display:flex;flex-direction:column;padding:26px 18px;overflow-y:auto;border-right:1px solid #d7e1ef}.sidebar-brand{display:block;margin:0 0 22px}.sidebar-brand img{display:block;width:100%;height:auto;max-height:92px;object-fit:contain}.nav-label{font-size:14px;font-weight:400;color:#7a8aaa;padding:0 14px;margin:18px 0 12px}.teacher-sidebar nav{display:flex;flex-direction:column;gap:7px}.teacher-sidebar nav>a{display:flex;align-items:center;gap:15px;min-height:52px;padding:12px 15px;border-radius:13px;font-size:17px;font-weight:700;color:#0c1e4a}.teacher-sidebar nav>a span{flex:1}.teacher-sidebar nav>a b{font-size:13px;border-radius:50px;padding:2px 9px;background:#1658c4;color:white}.teacher-sidebar nav>a:hover{background:#eef4fb}.teacher-sidebar nav>a[aria-current=page]{background:#1658c4;color:#fff}.teacher-sidebar nav>a[aria-current=page] b{background:#fff;color:#1658c4}.teacher-sidebar nav>.nav-label{margin-top:38px}.sidebar-bottom{margin-top:auto;padding-top:32px}.teacher-profile{display:flex;gap:12px;padding:14px;border-radius:15px;background:#eef4fb;align-items:center}.profile-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--lime);font-weight:800;color:#0c1e4a;flex:none}.teacher-profile strong{display:block;font-size:15px}.teacher-profile small{display:block;color:#5c6b85;font-size:13px;overflow-wrap:anywhere}.sidebar-bottom>form button,.sidebar-bottom>a:not(.teacher-profile){display:block;color:#5c6b85;font-size:14px;background:none;border:0;padding:14px;cursor:pointer}.teacher-topbar{max-width:1720px;margin:auto;padding:28px 44px 0;display:flex;align-items:center;justify-content:space-between;gap:28px}.teacher-search{background:white;border:1px solid #d7e1ef;display:flex;align-items:center;gap:12px;border-radius:16px;width:min(650px,65%);padding:12px 18px;color:#5c6b85}.teacher-search input{border:0!important;box-shadow:none!important;padding:5px 0;font-size:17px;min-width:0;flex:1;background:transparent}.teacher-search button{background:#fff;border:1px solid #d7e1ef;border-radius:7px;color:#5c6b85;cursor:pointer;font-size:18px;padding:0 6px}.class-badge{border:1px solid #d7e1ef;border-radius:16px;min-height:58px;background:white;display:flex;align-items:center;gap:13px;padding:13px 18px;font-size:16px}.green-dot{display:inline-block;width:12px;height:12px;background:var(--lime);border-radius:50%;flex:none}.teacher-shell .page{max-width:1720px;padding:38px 44px 64px;margin:auto}.teacher-shell .page.narrow{max-width:1000px}.teacher-shell footer{max-width:none;margin:0 44px;padding:24px 0;font-size:14px}.teacher-shell h1,.teacher-shell h2{color:#0c1e4a}.dashboard-greeting{margin-bottom:36px}.dashboard-greeting h1{font-size:50px;letter-spacing:-.045em;line-height:1.15;margin:3px 0 12px}.dashboard-greeting p{font-size:20px;color:#5c6b85;margin:0}.dashboard-overview{display:grid;grid-template-columns:2fr 1fr;gap:26px;margin-bottom:62px}.chalkboard{position:relative;min-height:335px;border-radius:28px;padding:35px 38px 46px;background:repeating-linear-gradient(0deg,transparent,transparent 39px,#ffffff03 39px,#ffffff12 40px),#1658c4;overflow:hidden;color:#e8eef8;border-bottom:14px solid #0f46a8}.spotlight-kicker{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;color:#c5d4f0}.spotlight-kicker .green-dot{box-shadow:0 0 0 5px #f0b40030;width:10px;height:10px}.chalkboard h2{font-size:44px!important;line-height:1.12;letter-spacing:-.04em;color:white!important;margin:18px 0 12px;max-width:650px}.chalkboard p{font-size:18px;line-height:1.6;margin:0 0 26px;max-width:630px}.spotlight-actions{display:flex;gap:12px;flex-wrap:wrap}.button-lime{background:#f0b400;color:#0c1e4a;min-height:54px}.board-info{background:transparent;border:1px solid #ffffff55;color:white;min-height:54px}.chalk-tray{position:absolute;bottom:3px;right:38px;display:flex;gap:16px}.chalk-tray i{display:block;width:45px;height:9px;border-radius:3px;background:#f6bd2b}.chalk-tray i+i{width:54px;background:#f5f3df}.quick-favorites{border:1px solid #d7e1ef;border-radius:28px;background:#fff;padding:26px}.quick-favorites>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.quick-favorites h2{font-size:24px;margin:0;letter-spacing:-.025em}.quick-favorites>div>a{font-size:14px;font-weight:700;color:#1658c4}.quick-game{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid #d7e1ef}.quick-game:last-child{border:0}.quick-letter{width:49px;height:52px;display:grid;place-items:center;flex:none;background:#fcf0ca;border-radius:14px;color:#745500;font-size:21px;font-weight:700}.quick-game:nth-child(3) .quick-letter{background:#dfe8fa;color:#1f4c94}.quick-game:nth-child(4) .quick-letter{background:#fbe1d3;color:#84451c}.quick-game>span:nth-child(2){flex:1;min-width:0}.quick-game strong{display:block;font-size:16px;line-height:1.3}.quick-game small{display:block;font-size:14px;color:#5c6b85;margin-top:7px}.quick-play{display:grid;place-items:center;background:#eef3fc;border-radius:50%;width:43px;height:43px;flex:none;color:#1658c4}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.collection-heading h1,.collection-heading h2{font-size:32px;letter-spacing:-.035em;margin:0 0 8px;line-height:1.2}.collection-heading p{font-size:17px;color:#5c6b85;margin:0}.cycle-pills{display:flex;gap:2px;border:1px solid #d7e1ef;background:white;border-radius:50px;padding:4px;white-space:nowrap}.cycle-pills a{border-radius:50px;padding:8px 15px;font-size:14px;font-weight:700;color:#5c6b85}.cycle-pills a[aria-current=true]{background:#eef3fc;color:#1658c4}.subject-pills{display:flex;gap:11px;flex-wrap:wrap;margin:24px 0 30px}.subject-pill{display:flex;gap:10px;align-items:center;padding:10px 17px;border:1px solid #d7e1ef;background:white;border-radius:50px;font-size:15px;font-weight:700;white-space:nowrap}.subject-pill[aria-current=true]{background:#1658c4;border-color:#1658c4;color:white}.dot{width:11px;height:11px;background:#658c3b;border-radius:50%}.dot-0{background:#f6b929}.dot-1{background:#4074d1}.dot-2{background:#299b74}.dot-3{background:#e06f37}.dot-6{background:#905bca}.teacher-shell .game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.teacher-shell .game-card{border-radius:22px;border-color:#d7e1ef;box-shadow:none;transition:box-shadow .2s}.teacher-shell .game-card:hover{transform:none;box-shadow:0 8px 26px #1658c410}.teacher-shell .cover{aspect-ratio:1.85;min-height:140px;position:relative}.teacher-shell .cover-subject{position:absolute;bottom:12px;left:16px;background:#ffffffed;color:#0c1e4a;padding:4px 10px;border-radius:40px;font-size:13px;line-height:1.5;font-weight:700}.teacher-shell .cover.french{background:#fcf1cd}.teacher-shell .cover.math{background:#e0e9fa}.teacher-shell .cover.science{background:#d6f0e5}.teacher-shell .cover.social{background:#fce1d4}.teacher-shell .cover.english,.teacher-shell .cover.arts{background:#ede2f8}.teacher-shell .favorite-form{right:12px;top:12px}.teacher-shell .favorite{border:0;box-shadow:none;width:43px;height:43px;background:#fffffff0;color:#667873}.teacher-shell .favorite .ui-icon{width:24px;height:24px}.teacher-shell .favorite.on{color:#dc3829}.teacher-shell .favorite.on svg{fill:currentColor}.letter-tiles{display:flex;justify-content:center;align-items:center;height:100%;padding:22px 22px 32px;gap:4px}.letter-tiles span{display:grid;place-items:center;background:#fff;border:3px solid #f5b928;border-radius:11px;font-size:clamp(19px,1.7vw,29px);font-weight:800;color:#775500;width:18%;aspect-ratio:1;transform:rotate(-6deg)}.letter-tiles span:nth-child(2n){transform:rotate(3deg) translateY(-9px)}.letter-tiles span:nth-child(3){transform:rotate(-6deg) translateY(9px)}.math-type{height:100%;display:grid;grid-template-columns:repeat(3,1fr);align-content:center;justify-items:center;gap:8px;font-size:30px;font-weight:800;color:#205098;padding:15px 25px 25px}.math-type span:nth-child(2n){color:#4074d1;transform:translateY(8px)}.subject-type{display:grid;place-content:center;height:100%;padding-bottom:25px;font-size:30px;font-weight:800;line-height:1.15;letter-spacing:-.035em;color:#276852}.teacher-shell .game-main{padding:21px 22px 16px}.teacher-shell .game-main h3{font-size:22px;letter-spacing:-.035em;margin:0 0 12px;line-height:1.25;color:#0c1e4a}.teacher-shell .game-main p{font-size:15px;line-height:1.5;margin-bottom:16px;color:#5c6b85}.card-meta{display:flex;flex-wrap:wrap;gap:15px;font-size:14px;color:#0c1e4a}.card-meta>span{display:flex;align-items:center;gap:7px}.card-meta .ui-icon{width:17px;height:17px;color:#647971}.card-meta .card-players{width:100%}.teacher-shell .card-bottom{padding:8px 22px 22px;gap:10px}.teacher-shell .card-bottom>.button{min-height:49px;border-radius:13px;font-size:15px}.teacher-shell .card-bottom>.button-dark{flex:1;background:#1658c4}.teacher-shell .info-link{flex:0 0 auto;padding:10px 12px;gap:5px}.teacher-shell .info-link .ui-icon{width:20px}.teacher-shell .info-link span{font-size:13px}.teacher-shell .button-light{border-radius:40px}.teacher-shell .notice{margin:20px 44px}.teacher-shell .empty{background:#fff;border-style:solid}.teacher-shell .empty p{font-size:16px}.teacher-shell .mini-list .cover{display:none}
@media(min-width:1750px){.teacher-sidebar{width:305px}.teacher-shell{padding-left:305px}.teacher-topbar{padding:34px 50px 0}.teacher-shell .page{padding-left:50px;padding-right:50px}.teacher-sidebar nav>a{font-size:18px;min-height:55px}.dashboard-greeting h1{font-size:52px}.chalkboard{min-height:365px;padding:38px}.chalkboard h2{font-size:48px!important}.quick-favorites{padding:28px}.teacher-shell .cover{aspect-ratio:1.85}}
@media(max-width:1350px){.teacher-shell{padding-left:230px}.teacher-sidebar{width:230px;padding:20px 12px}.teacher-shell .page{padding:30px}.teacher-topbar{padding:25px 30px 0}.teacher-shell .game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.dashboard-overview{grid-template-columns:1.6fr 1fr;gap:20px}.chalkboard{padding:28px}.chalkboard h2{font-size:38px!important}.quick-favorites{padding:22px}.quick-play{display:none}.collection-heading{flex-wrap:wrap}.teacher-search{width:65%}}
@media(max-width:1050px){.teacher-shell .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-overview{grid-template-columns:1fr}.quick-favorites{display:none}.dashboard-greeting h1{font-size:42px}.class-badge{max-width:200px}.teacher-search input{font-size:15px}.letter-tiles span{font-size:25px}}
@media(max-width:760px){.teacher-shell{padding-left:0}.teacher-sidebar{position:relative;width:100%;padding:16px;display:grid;grid-template-columns:1fr auto;gap:12px;overflow:visible}.sidebar-brand{margin:0}.sidebar-brand img{width:min(220px,52vw);height:auto;max-height:72px}.teacher-sidebar>.nav-label,.teacher-sidebar nav>.nav-label,.sidebar-bottom .teacher-profile{display:none}.teacher-sidebar nav{grid-column:1/-1;grid-row:2;flex-direction:row;flex-wrap:wrap;gap:6px}.teacher-sidebar nav>a{min-height:43px;padding:10px;font-size:14px;gap:6px}.teacher-sidebar nav>a b{padding:1px 6px}.teacher-sidebar nav>a .ui-icon{width:18px;height:18px}.sidebar-bottom{margin:0;padding:0;grid-column:2;grid-row:1;align-self:center}.teacher-topbar{padding:20px 18px 0;gap:12px}.teacher-search{width:100%;padding:10px 12px}.class-badge{display:none}.teacher-shell .page{padding:26px 18px 40px}.teacher-shell .notice{margin:18px}.dashboard-greeting h1{font-size:35px}.dashboard-greeting p{font-size:17px}.dashboard-overview{margin-bottom:35px}.chalkboard{padding:25px;min-height:300px;border-radius:22px}.chalkboard h2{font-size:34px!important}.chalkboard p{font-size:16px}.collection-heading h1,.collection-heading h2{font-size:29px}.collection-heading p{font-size:16px}.cycle-pills a{padding:7px 11px}.subject-pill{font-size:14px;padding:9px 13px}.subject-pills{gap:8px;margin-bottom:22px}.teacher-shell footer{margin:0 18px}.teacher-shell .game-grid{gap:16px}.teacher-shell .game-main{padding:18px}.teacher-shell .card-bottom{padding:0 18px 18px}.teacher-shell .game-main h3{font-size:21px}.teacher-sidebar nav>a.admin-link{min-height:43px;padding:10px;font-size:14px}.user-password{flex-wrap:wrap}.user-password input{width:100%;max-width:220px}}
.teacher-shell .profile-form{margin-top:8px}.teacher-shell .profile-form fieldset{border-color:#d7e1ef}.teacher-shell .profile-form legend{color:#0c1e4a}.teacher-shell .check input:checked+span{background:#1658c4;border-color:#1658c4}.teacher-shell .form-error{margin:0 0 18px}
.admin-delete-cell{width:56px;text-align:center;vertical-align:middle}
.admin-delete-cell form{margin:0}
.delete-game{display:grid;place-items:center;width:42px;height:42px;margin:0 auto;padding:0;border:1px solid #e3b8b0;border-radius:12px;background:#fff8f6;color:#b94325;cursor:pointer}
.delete-game svg{width:20px;height:20px}
.delete-game:hover,.delete-game:focus-visible{background:#b94325;color:#fff;border-color:#b94325}
.admin-tabs{display:none}
.teacher-sidebar nav>a.admin-link{min-height:44px;padding:8px 14px 8px 22px;font-size:15px;font-weight:650}
.teacher-sidebar nav>a.nav-sub{min-height:40px;margin:-2px 0 8px 18px;padding:8px 12px;font-size:15px;font-weight:650}
.admin-page .admin-grid{grid-template-columns:1fr}
.admin-page .admin-panel.span-2{grid-column:auto}
.admin-page .admin-panel{max-width:1100px}
.user-password{display:flex;gap:8px;align-items:center;min-width:220px}
.user-password input{width:180px;min-height:40px;padding:8px 10px;margin:0}
.user-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.user-actions form{margin:0}
.muted-action{color:#7a8aaa;font-size:13px;font-weight:700}
.teacher-collection .collection-heading{align-items:flex-start;flex-wrap:wrap}
.cycle-pills{flex-wrap:wrap;white-space:normal;max-width:100%;border-radius:22px;justify-content:flex-end}
.cycle-pills a{padding:8px 12px;font-size:13px}
@media(max-width:520px){.teacher-shell .game-grid{grid-template-columns:1fr}.teacher-shell .cover{aspect-ratio:1.95}.letter-tiles{max-width:300px;margin:auto}.letter-tiles span{font-size:29px}.math-type{font-size:34px}.teacher-shell .game-main p{font-size:16px}.teacher-shell .card-bottom .button{font-size:16px}.teacher-sidebar nav>a b{display:none}.teacher-sidebar nav>a{font-size:13px}.spotlight-actions{flex-direction:column}.spotlight-actions>a{width:100%}.dashboard-favorites .collection-heading{align-items:flex-start}.teacher-search input{font-size:14px}}
.teacher-shell .cover .new-badge,.teacher-shell .cover .featured-badge{position:absolute;left:14px;z-index:1;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;padding:4px 10px;border-radius:40px}
.teacher-shell .cover .new-badge{top:12px;background:#f0b400;color:#0c1e4a}
.teacher-shell .cover .featured-badge{top:12px;background:#1658c4;color:#fff}
.teacher-shell .cover .new-badge+.featured-badge{top:40px}
.subject-pill.novelty-pill{background:#fff8e0;border-color:#f0b400}
.subject-pill.novelty-pill[aria-current=true]{background:#f0b400;border-color:#f0b400;color:#0c1e4a}
.subject-pill.featured-pill{background:#e8f0fc;border-color:#1658c4}
.subject-pill.featured-pill[aria-current=true]{background:#1658c4;border-color:#1658c4;color:#fff}
.admin-new-cell form{margin:0}
.new-check{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.new-check input{width:18px;height:18px;accent-color:#f0b400;cursor:pointer}
.dashboard-news{margin-bottom:62px}
.dashboard-news .collection-heading a{font-size:15px;font-weight:700;color:#1658c4}
.dashboard-news .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1050px){.dashboard-news .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-news{margin-bottom:40px}}
@media(max-width:520px){.dashboard-news .game-grid{grid-template-columns:1fr}.dashboard-news{margin-bottom:32px}}
.roster-block{margin-top:42px}
.roster-block .collection-heading{align-items:flex-end}
.class-card{border:1px solid #d7e1ef;border-radius:22px;background:#fff;padding:26px;margin:0 0 18px}
.class-kicker{margin:0 0 6px;font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#1658c4}
.class-card h3{margin:0;font-size:22px;letter-spacing:-.03em}
.class-meta{margin:6px 0 0;color:#5c6b85}
.class-note{margin:10px 0 0;color:#5c6b85;font-size:14px}
.teacher-shell .student-list{list-style:none;margin:16px 0;padding:0;border-top:1px solid #e7eef8}
.teacher-shell .student-list li{list-style:none;display:block;padding:12px 2px;border-bottom:1px solid #e7eef8}
.student-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.student-list form{margin:0}
.student-name{font-weight:700}
.student-actions{display:flex;align-items:center;gap:8px;flex:none}
.icon-button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #d7e1ef;border-radius:12px;background:#fff;color:#1658c4;cursor:pointer}
.icon-button svg{width:20px;height:20px}
.icon-button:hover,.icon-button:focus-visible{background:#eef4fb;border-color:#1658c4}
.access-dialog{position:relative;border:0;border-radius:22px;padding:28px 28px 22px;max-width:440px;width:calc(100% - 32px);max-height:calc(100dvh - 2rem);margin:1rem auto;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 65px rgba(12,30,74,.18);color:#0c1e4a}
.result-dialog{max-width:680px}
.access-dialog .result-meta{margin:2px 0 0}
.answer-list,.advice-list{margin:6px 0 0;padding:0;list-style:none}
.answer-list li,.advice-list li{padding:10px 12px;margin:0 0 8px;border-radius:12px;background:#f4f7fc}
.answer-list li.answer-ko{background:#fff4ef}
.answer-list b{display:block;font-size:14px;letter-spacing:0;color:#1d7a4f}
.answer-list li.answer-ko b{color:#b64a1f}
.answer-list p{margin:4px 0 0;color:#0c1e4a}
.answer-list span{color:#5c6b85;font-weight:700;margin-right:4px}
.advice-list b{display:block;font-size:15px;letter-spacing:0}
.advice-list span{display:block;color:#5c6b85;font-size:14px;margin-top:3px}
.history-table,.game-table{width:100%;border-collapse:collapse;font-size:15px}
.history-table th,.history-table td,.game-table th,.game-table td{padding:10px 8px;border-bottom:1px solid #e7eef8;text-align:left;vertical-align:middle}
.history-table th,.game-table th{color:#5c6b85;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.table-scroll{overflow-x:auto;margin-top:12px}
.view-tabs{display:flex;gap:8px;margin:0 0 18px}
.view-tabs a{padding:10px 16px;border:1px solid #d7e1ef;border-radius:999px;background:#fff;color:#0c1e4a;font-weight:700;text-decoration:none}
.view-tabs a[aria-current]{background:#0c1e4a;border-color:#0c1e4a;color:#fff}
.game-picker label{display:flex;flex-direction:column;gap:6px;font-weight:700;max-width:420px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.result-dialog h3{margin:18px 0 4px;font-size:16px}
.result-meta{display:block;color:#5c6b85;margin-top:4px}
.played-games{list-style:none;margin:10px 0 0;padding:0}
.teacher-shell .played-games li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:0;border-top:1px solid #e7eef8}
.assign-dialog{width:calc(100% - 24px);max-width:1000px;max-height:calc(100dvh - 24px);margin:12px auto;padding:0;overflow:hidden}
.assign-dialog[open]{display:flex;flex-direction:column}
.access-dialog.assign-dialog>h2{flex:none;margin:0;padding:24px 72px 0 28px;font-size:30px;line-height:1.15}
.assign-dialog .access-close{position:absolute;top:18px;right:18px;float:none;box-shadow:none;width:44px;height:44px}
.assign-dialog #assign-body{flex:1;min-height:0;display:flex;flex-direction:column}
.assign-dialog #assign-body>p{padding:0 28px 20px}
.access-dialog .assign-form{flex:1;min-height:0;display:flex;flex-direction:column;margin:0}
.access-dialog .assign-lead{flex:none;margin:6px 0 0;padding:0 72px 14px 28px;font-size:16px}
.assign-game{font-weight:800;color:#0c1e4a}
.assign-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 28px 18px;display:grid;gap:14px;align-content:start}
.access-dialog .assign-note{margin:0;padding:10px 14px;border-radius:12px;background:#fff6dc;color:#5a4500}
.assign-card{min-width:0;margin:0;padding:14px 18px 16px;border:1px solid #d7e1ef;border-radius:16px;background:#fff}
.assign-card-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 16px;padding-bottom:8px;margin-bottom:6px;border-bottom:1px solid #e7eef8}
.assign-card h3,.assign-card legend{margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em;color:#0c1e4a}
.assign-card legend{float:left;width:100%;padding:0 0 10px}
.assign-card legend+*{clear:both}
.access-dialog .assign-count{margin:0;color:#1658c4;font-weight:800;font-size:15px}
.assign-tools{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px}
.assign-tools .assign-toggle{margin-left:auto}
.assign-link{min-height:44px;padding:0 4px;border:0;border-radius:8px;background:none;color:#1658c4;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.assign-link:hover{text-decoration:underline}
.assign-dialog label.assign-check{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;margin:0;font-size:15px;font-weight:600;cursor:pointer}
.assign-dialog label.assign-all{font-weight:800}
.assign-dialog .assign-check input,.assign-dialog .assign-chip input,.assign-dialog .assign-tense input{flex:none;width:20px;height:20px;margin:0;padding:0;accent-color:#1658c4;cursor:pointer}
.assign-dialog :is(.assign-link,.assign-perso-btn,.assign-check input,.assign-chip input,.assign-tense input):focus-visible{outline:3px solid #1658c4;outline-offset:2px}
.assign-list{margin-top:4px;container-type:inline-size}
@container (min-width:30rem){.assign-pupil.is-long{grid-column:span 2}}
.assign-dialog label.assign-search{display:flex;align-items:center;gap:10px;min-height:44px;margin:0 0 10px;padding:0 12px;border:1px solid #c5d3ea;border-radius:12px;background:#fff;font-weight:400}
.assign-dialog label.assign-search:focus-within{border-color:#1658c4;box-shadow:0 0 0 3px rgba(22,88,196,.16)}
.assign-search svg{flex:none;width:18px;height:18px;fill:none;stroke:#5c6b85;stroke-width:2;stroke-linecap:round}
.assign-dialog .assign-search input{flex:1;min-width:0;min-height:42px;margin:0;padding:0;border:0;background:transparent;font-size:16px;box-shadow:none}
.assign-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr));gap:2px 12px;margin:0;padding:0;list-style:none}
.assign-pupil{display:flex;align-items:center;gap:4px;min-width:0;padding:0 4px 0 8px;border-radius:10px}
.assign-pupil[hidden]{display:none}
.assign-pupil:hover{background:#f4f7fc}
.assign-pupil .assign-check{flex:1 1 auto}
.assign-text{display:grid;min-width:0;padding:4px 0}
.assign-name{overflow-wrap:anywhere;line-height:1.25;color:#0c1e4a}
.assign-badge{justify-self:start;margin-top:2px;padding:1px 8px;border-radius:999px;background:#e5eefc;color:#1658c4;font-size:12px;font-weight:800}
.assign-badge.is-warn{background:#fff0e6;color:#9a3412}
.assign-pupil.is-leaving .assign-name{color:#9a3412}
.assign-perso-btn{flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:none;color:#1658c4;cursor:pointer}
.assign-perso-btn[hidden]{display:none}
.assign-perso-btn:hover{background:#e5eefc}
.assign-perso-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.access-dialog .assign-empty{margin:6px 0 0;padding:12px;border-radius:12px;background:#f4f7fc}
.assign-content{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:14px;align-items:start}
.assign-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(7.25rem,1fr));gap:8px}
.assign-dialog label.assign-chip{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 10px;border:1px solid #d7e1ef;border-radius:10px;background:#fff;font-size:15px;font-weight:600;cursor:pointer}
.assign-tense-list{display:grid;gap:2px}
.assign-dialog label.assign-tense{display:flex;align-items:center;gap:10px;min-height:42px;margin:0;padding:0 10px;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer}
.assign-dialog label.assign-chip:hover,.assign-dialog label.assign-tense:hover{background:#f4f7fc}
.assign-dialog label.assign-chip:has(input:checked){border-color:#8fb2ee;background:#e5eefc;color:#0b3d91}
.assign-dialog label.assign-tense:has(input:checked){background:#e5eefc;color:#0b3d91}
.assign-perso{margin-top:12px;padding:14px;border:2px solid #8fb2ee;border-radius:14px;background:#f7faff}
.assign-perso-head h4{margin:0;font-size:17px;outline:none}
.access-dialog .assign-perso-head p{margin:2px 0 10px;font-size:14px}
.assign-perso-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 16px;margin-top:12px}
.access-dialog .assign-perso-actions .button{margin:0}
.assign-dialog .assign-footer{flex:none;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;max-width:none;margin:0;padding:14px 28px;border-top:1px solid #d7e1ef;background:#eef4fb;color:#0c1e4a;font-size:inherit}
.assign-summary{display:grid;gap:2px;flex:1 1 280px;min-width:0}
.assign-summary strong{font-size:17px;color:#0c1e4a}
.assign-summary span{color:#5c6b85;font-size:14px;font-style:italic;overflow-wrap:anywhere}
.assign-summary span:empty{display:none}
.assign-summary .assign-missing{color:#b42318;font-style:normal;font-weight:700}
.assign-actions{display:flex;flex-wrap:wrap;gap:10px}
.access-dialog .assign-actions .button{min-height:48px;margin:0;padding:0 24px;border-radius:12px}
.assign-actions .button[disabled]{opacity:.45;cursor:not-allowed}
@media (max-width:760px){.assign-content{grid-template-columns:1fr}}
@media (max-width:600px){.access-dialog.assign-dialog>h2{padding:18px 64px 0 18px;font-size:24px}.assign-dialog .access-close{top:12px;right:12px}.access-dialog .assign-lead{padding:0 60px 10px 18px}.assign-scroll{padding:2px 14px 14px}.assign-card{padding:12px 12px 14px}.assign-tools .assign-toggle{margin-left:0}.assign-dialog .assign-footer{padding:12px 14px}.assign-actions{width:100%}.access-dialog .assign-actions .button{flex:1;padding:0 12px}}
.result-list{list-style:none;margin:8px 0 0;padding:0}
.result-list li{padding:10px 0;border-top:1px solid #e7eef8}
.result-list strong,.result-list span,.result-list b{display:block}
.result-list span,.result-list p{color:#5c6b85;font-size:14px;margin:2px 0 0}
.email-copy{margin-top:10px;padding:12px 14px;border-radius:14px;background:#f4f7fc}
.email-copy p{margin:4px 0;white-space:pre-wrap}
.email-copy span,.email-meta{color:#1658c4;font-weight:700}
.teacher-shell .card-bottom{display:flex;flex-wrap:wrap}
.access-dialog::backdrop{background:rgba(12,30,74,.45)}
.access-dialog h2{margin:0 28px 8px 0;font-size:24px;letter-spacing:-.03em}
.access-dialog p{margin:14px 0 4px;color:#5c6b85}
.access-dialog b{display:block;font-size:22px;letter-spacing:.03em}
.secret-row{display:flex;align-items:center;gap:10px}
.secret-row b{flex:1;min-width:0;word-break:break-all}
.icon-button.is-copied{color:#0a7a3e;border-color:#0a7a3e;background:#e9f8ef}
.roster-exports{display:flex;flex-wrap:wrap;gap:8px}
.access-dialog form{margin:18px 0 12px}
.access-dialog .button{margin-right:8px}
.access-close{position:sticky;top:0;float:right;z-index:2;width:36px;height:36px;border:0;border-radius:10px;background:#eef4fb;color:#0c1e4a;font-size:22px;cursor:pointer;box-shadow:0 0 0 4px #fff}
.student-portal{padding-top:48px}
.student-portal h1{font-size:40px;letter-spacing:-.04em;margin:0 0 12px}
.student-portal p{color:#5c6b85;font-size:18px}
.roster-empty{margin:14px 0;color:#5c6b85}
.roster-add,.roster-import,.roster-rename{display:grid;gap:12px}
.roster-import{margin-top:8px;padding-top:16px;border-top:1px solid #e7eef8}
.roster-hint{margin:0;color:#5c6b85;font-size:14px}
.roster-replace{display:flex;align-items:center;gap:10px;font-weight:700}
.roster-replace input,.roster-rename .danger{width:auto}
.roster-replace input{width:18px;height:18px;flex:none;accent-color:#1658c4}
.class-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.class-tools form{margin:0}
.roster-new{margin-top:8px}
@media(max-width:640px){.roster-block .collection-heading{align-items:flex-start}.class-card{padding:18px}.student-list{max-height:none}}
@media (max-height:620px){.assign-dialog{overflow-y:auto;overscroll-behavior:contain}.assign-dialog[open]{display:block}.assign-dialog #assign-body,.access-dialog .assign-form{display:block}.assign-scroll{overflow:visible}.access-dialog.assign-dialog>h2{padding-top:16px;font-size:22px}.assign-dialog .assign-footer{position:sticky;bottom:0;z-index:3;gap:8px 16px;padding:8px 18px}.assign-summary [data-detail]{display:none}.access-dialog .assign-actions .button{min-height:44px}}

@font-face{font-family:Barlow;src:url('/static/accueil/barlow-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Barlow;src:url('/static/accueil/barlow-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Barlow;src:url('/static/accueil/barlow-700.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Barlow;src:url('/static/accueil/barlow-800.woff2') format('woff2');font-weight:800;font-display:swap}
body.teacher-shell:has(.mc-page){background:#F1F6FD}
.teacher-shell .page.mc-page{max-width:1180px;font-family:Barlow,"Trebuchet MS",sans-serif;color:#0C1E4A}
.mc-page button,.mc-page input,.mc-page a{font-family:inherit}
.mc-hero{margin:0 0 4px}
.mc-eyebrow{margin:0 0 6px;color:#008BA3;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.mc-hero h1{position:relative;display:inline-block;margin:0 0 14px;padding-bottom:8px;color:#0C1E4A;font-size:44px;font-weight:800;letter-spacing:-.045em;line-height:1}
.mc-wave{position:absolute;left:2px;bottom:0;width:146px;height:12px}
.mc-intro{margin:0;max-width:62ch;color:#405680;font-size:16px;font-weight:500;line-height:1.45}
.mc-intro a{color:#0C1E4A;font-weight:700}
.mc-intro a:hover{color:#008BA3}
.mc-intro a:focus-visible,.mc-page a:focus-visible,.mc-page button:focus-visible,.mc-page input:focus-visible{outline:3px solid #00B8C5;outline-offset:3px}
.mc-stats{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:18px 0 22px;padding:0}
.mc-stat{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #E6EEF8;border-radius:999px;padding:8px 14px;box-shadow:0 6px 16px rgba(12,30,74,.05);color:#0C1E4A;font-size:14px;font-weight:600}
.mc-stat b{font-weight:800}
.mc-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.mc-card{position:relative;overflow:hidden;background:#fff;border:1px solid #D8E3F2;border-radius:22px;padding:22px 22px 20px;box-shadow:0 10px 28px rgba(12,30,74,.04)}
.mc-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#00B8C5,#1A62D4)}
.mc-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.mc-card-title{display:flex;align-items:center;gap:8px;margin:0;color:#0C1E4A;font-size:22px;font-weight:800;letter-spacing:-.03em}
.mc-card-title svg{width:22px;height:22px;flex:none}
.mc-lead{margin:8px 0 0;color:#405680;font-size:14.5px;font-weight:500;line-height:1.4}
.mc-label{margin:18px 0 8px;color:#008BA3;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.mc-class-name{margin:0 0 12px;font-size:22px;font-weight:800;letter-spacing:-.03em}
.mc-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.mc-page .mc-field{display:grid;gap:6px;margin:0;color:#008BA3;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.mc-page input:not([type=checkbox]):not([type=file]):not([type=hidden]){width:100%;min-height:48px;padding:12px 14px;border:1px solid #D8E3F2;border-radius:12px;background:#F1F6FD;color:#0C1E4A;font-weight:600;box-shadow:none}
.mc-page input::placeholder{color:#8AA0C0;font-weight:600}
.mc-page input:not([type=checkbox]):not([type=file]):hover{border-color:#00B8C5}
.mc-page input:not([type=checkbox]):not([type=file]):focus{border-color:#00B8C5;box-shadow:0 0 0 3px rgba(0,184,197,.2)}
.mc-pills{display:flex;flex-wrap:wrap;gap:8px}
.mc-page .mc-pill{position:relative;display:inline-flex;margin:0;font-size:14px;font-weight:700;letter-spacing:0;text-transform:none;color:#0C1E4A}
.mc-page .mc-pill input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.mc-pill span{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:6px 12px;border:1px solid #D8E3F2;border-radius:999px;background:#F1F6FD;cursor:pointer}
.mc-pill:hover span{border-color:#00B8C5}
.mc-pill:focus-within span{outline:3px solid #00B8C5;outline-offset:2px}
.mc-pill:has(input:checked) span{background:#0C1E4A;border-color:#0C1E4A;color:#fff}
.mc-tick{display:none;width:14px;height:14px;flex:none;color:#00B8C5}
.mc-pill:has(input:checked) .mc-tick{display:block}
.mc-ico{width:16px;height:16px;flex:none}
.mc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border:0;border-radius:12px;font-weight:700;cursor:pointer;text-decoration:none}
.mc-btn svg{width:16px;height:16px;flex:none}
.mc-btn-primary{width:100%;margin-top:18px;color:#fff;background:linear-gradient(110deg,#1A62D4,#1658C4)}
.mc-btn-primary:hover{filter:brightness(1.08)}
.mc-btn-teal{background:#00B8C5;color:#fff;white-space:nowrap}
.mc-btn-teal:hover{background:#00a4b0}
.mc-btn-ghost{background:#fff;color:#0C1E4A;border:1px solid #D8E3F2}
.mc-btn-ghost:hover{border-color:#00B8C5;color:#008BA3}
.mc-ghosts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.mc-ghost{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;border:1px solid #D8E3F2;border-radius:999px;background:#fff;color:#0C1E4A;font-size:14px;font-weight:700;text-decoration:none}
.mc-ghost svg{width:16px;height:16px;flex:none}
.mc-ghost:hover{border-color:#00B8C5;color:#008BA3}
.mc-students{list-style:none;display:grid;gap:8px;margin:0;padding:0}
.mc-student{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 8px;border-radius:14px;background:#F4F8FE}
.mc-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;color:#fff;font-size:13px;font-weight:800;letter-spacing:.02em}
.av-navy{background:#1B3A8C}.av-ink{background:#0C1E4A}.av-teal{background:#00A8B8}.av-blue{background:#1A62D4}.av-deep{background:#008BA3}
.mc-student-name{flex:1;min-width:0;font-weight:700}
.mc-student-actions{display:flex;align-items:center;gap:2px;flex:none}
.mc-student-actions form{margin:0}
.mc-access{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:#405680;cursor:pointer}
.mc-access svg{width:18px;height:18px}
.mc-access:hover{background:#fff;color:#00B8C5}
.mc-remove{display:inline-flex;align-items:center;gap:4px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#7C90B0;font-size:14px;font-weight:700;cursor:pointer}
.mc-remove svg{width:14px;height:14px}
.mc-remove:hover{background:#fff;color:#0C1E4A}
.mc-empty{margin:8px 0 12px;color:#405680}
.mc-add{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center;margin-top:14px}
.mc-page .mc-grow{display:block;margin:0;font-weight:600;letter-spacing:0;text-transform:none}
.mc-add .mc-btn{margin:0}
.mc-split{margin:18px 0 4px;border:0;border-top:1px dashed #D8E3F2}
.mc-page .mc-drop{position:relative;display:grid;place-items:center;gap:4px;margin-top:8px;padding:18px 14px;border:1.5px dashed #D8E3F2;border-radius:16px;background:#F7FBFF;color:#405680;font-size:14.5px;font-weight:600;letter-spacing:0;text-align:center;text-transform:none;cursor:pointer}
.mc-page .mc-drop input{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0}
.mc-drop-link{color:#1658C4;font-weight:800;text-decoration:underline}
.mc-drop small{color:#7C90B0;font-size:12px;font-weight:600}
.mc-drop:hover,.mc-drop.is-over{border-color:#00B8C5;background:#F3FBFC}
.mc-drop:focus-within{outline:3px solid #00B8C5;outline-offset:2px}
.mc-file{color:#0C1E4A;font-size:13px}
.mc-page .mc-replace{display:flex;align-items:center;gap:10px;margin:14px 0 0;color:#0C1E4A;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}
.mc-page .mc-replace input{width:18px;height:18px;flex:none;margin:0;accent-color:#1658C4}
.mc-import .mc-btn-primary{margin-top:14px}
.mc-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-bottom:12px}
.mc-rename{display:flex;flex:1;gap:8px;align-items:end;min-width:240px;margin:0}
.mc-rename .mc-field{flex:1}
.mc-rename .mc-btn{margin:0}
.mc-new{display:grid;grid-template-columns:auto 1fr minmax(180px,260px) auto;gap:16px;align-items:center;margin-top:18px;padding:18px 20px;border:1.5px dashed #D8E3F2;border-radius:22px;background:transparent}
.mc-new h2{margin:0;font-size:18px;font-weight:800}
.mc-new p{margin:2px 0 0;color:#405680;font-size:14px;font-weight:500}
.mc-plus{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#E7F8FA;color:#00B8C5}
.mc-plus svg{width:20px;height:20px}
.mc-new .mc-btn{margin:0}
.mc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.mc-page>.mc-card{margin-top:18px}
.teacher-shell .page.me-page{max-width:860px}
.me-tabs{display:inline-flex;gap:4px;margin:0 0 16px;padding:4px;border:1px solid #D8E3F2;border-radius:999px;background:#fff}
.me-tabs a{padding:8px 16px;border-radius:999px;color:#405680;font-weight:700;text-decoration:none}
.me-tabs a:hover{color:#0C1E4A}
.me-tabs a[aria-current=page]{background:#0C1E4A;color:#fff}
.me-tabs a[aria-current=page]:hover{color:#fff}
.me-tabs a:focus-visible{outline:3px solid #00B8C5;outline-offset:2px}
.me-card h2{margin-bottom:14px}
.me-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px}
.me-tools .me-tabs,.me-tools .me-period{margin:0}
.me-period{display:inline-flex;gap:4px;padding:4px;border:1px solid #D8E3F2;border-radius:999px;background:#fff}
.me-period a{padding:8px 14px;border-radius:999px;color:#405680;font-weight:700;text-decoration:none}
.me-period a:hover{color:#0C1E4A}
.me-period a[aria-current=page]{background:#E7F8FA;color:#008BA3}
.me-period a:focus-visible{outline:3px solid #00B8C5;outline-offset:2px}
.me-pupils{list-style:none;display:grid;gap:16px;margin:0;padding:0}
.me-pupils>li{padding-top:14px;border-top:1px solid #E6EEF8}
.me-pupils>li:first-child{padding-top:0;border-top:0}
.me-head{display:flex;align-items:center;gap:12px}
.me-pupil{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.me-pupil strong{display:block;font-size:16px;font-weight:800}
.me-count{display:block;color:#405680;font-size:13px;font-weight:600}
.me-actions{display:flex;gap:8px;flex:none}
.me-games[hidden]{display:none}
.me-fold svg{transition:transform .15s ease}
.me-fold[aria-expanded=true] svg{transform:rotate(180deg)}
.access-dialog.me-modal.me-prefs-modal{max-width:860px}
.me-prefs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.me-prefs div{padding:10px 12px;border:1px solid #E6EEF8;border-radius:12px;background:#F7FAFE}
.me-prefs dt{color:#405680;font-size:13px;font-weight:700}
.me-prefs dd{margin:4px 0 0;color:#0C1E4A;font-weight:700}
.me-plays{list-style:none;display:grid;gap:8px;margin:8px 0 0 52px;padding:0}
.me-play{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #E6EEF8;border-radius:12px;background:#F7FAFE}
.me-play strong{display:block;font-size:15px}
.me-play span,.me-session span{color:#405680;font-size:13px;font-weight:600}
.me-dashed{margin:8px 0 0 52px;padding:10px 12px;border:1px dashed #D8E3F2;border-radius:12px;color:#405680;font-size:14px}
.me-eye{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:0;border:1px solid #D8E3F2;border-radius:50%;background:#fff;color:#405680;cursor:pointer}
.me-eye svg{width:18px;height:18px}
.me-eye:hover{border-color:#00B8C5;color:#008BA3}
.me-eye:focus-visible,.me-modal .access-close:focus-visible{outline:3px solid #00B8C5;outline-offset:2px}
.me-picker{margin-bottom:8px}
.me-page .me-picker select{width:100%;min-height:48px;padding:10px 14px;border:1px solid #D8E3F2;border-radius:12px;background:#F1F6FD;color:#0C1E4A;font-weight:700}
.me-page .me-picker select:hover,.me-page .me-picker select:focus{border-color:#00B8C5}
.access-dialog.me-modal{max-width:460px;padding:0;overflow:hidden;overscroll-behavior:none;font-family:Barlow,"Trebuchet MS",sans-serif;background:linear-gradient(90deg,#00B8C5,#1A62D4) top/100% 4px no-repeat,#fff}
.access-dialog.me-modal[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 2rem)}
.me-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;max-height:calc(100dvh - 2rem);padding:22px 22px 18px;-webkit-overflow-scrolling:touch}
html:has(dialog[open]){overflow:hidden}
.access-dialog.me-modal::before{content:none}
.access-dialog.me-detail{max-width:720px}
.access-dialog.me-dictee{max-width:960px}
.me-dictee .dc-sous{margin:16px 0 0!important;color:#8B9BB8;font-size:15px;font-weight:650}
.me-dictee .dc-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px;align-items:stretch}
.me-dictee .dc-col{background:#F7FAFE;border-radius:16px;overflow:visible}
.me-dictee .dc-col-bar{display:block;height:4px;background:linear-gradient(90deg,#2EC5E0,#1A62D4)}
.me-dictee .dc-col h2{padding:14px 16px 0;margin:0;color:#0C1E4A;font-size:15px;font-weight:800;letter-spacing:0}
.me-dictee .dc-col p{padding:10px 16px 16px;margin:0!important;color:#24324A;font-size:15px;font-weight:650;line-height:1.55}
.me-dictee .dc-col mark{border-radius:4px;padding:0 3px;font-weight:800}
.me-dictee mark.dc-faute{background:#FECACA;color:#B91C1C}
.me-dictee mark.dc-bon{background:#DBEAFE;color:#1D4ED8}
.me-dictee .dc-n-adj,.me-warn.dc-n-adj{--dc-bg:#FFE4C2;--dc-fg:#C56A08;--dc-pill:#E07A12}
.me-dictee .dc-n-plu,.me-warn.dc-n-plu{--dc-bg:#D8F3DE;--dc-fg:#166534;--dc-pill:#1E7E46}
.me-dictee .dc-n-pp,.me-warn.dc-n-pp{--dc-bg:#EDE9FE;--dc-fg:#6D28D9;--dc-pill:#7C3AED}
.me-dictee .dc-n-pc,.me-warn.dc-n-pc{--dc-bg:#FAE8FF;--dc-fg:#A21CAF;--dc-pill:#C026D3}
.me-dictee .dc-n-imp,.me-warn.dc-n-imp{--dc-bg:#CCFBF1;--dc-fg:#115E59;--dc-pill:#0F766E}
.me-dictee .dc-n-fut,.me-warn.dc-n-fut{--dc-bg:#FEF3C7;--dc-fg:#854D0E;--dc-pill:#A16207}
.me-dictee .dc-n-cod,.me-warn.dc-n-cod{--dc-bg:#ECFCCB;--dc-fg:#3F6212;--dc-pill:#4D7C0F}
.me-dictee .dc-n-hom,.me-warn.dc-n-hom{--dc-bg:#FFEDD5;--dc-fg:#78350F;--dc-pill:#92400E}
.me-dictee .dc-n-autre,.me-warn.dc-n-autre{--dc-bg:#F1F5F9;--dc-fg:#475569;--dc-pill:#64748B}
.me-dictee mark.dc-n-adj,.me-dictee mark.dc-n-plu,.me-dictee mark.dc-n-pp,.me-dictee mark.dc-n-pc,.me-dictee mark.dc-n-imp,.me-dictee mark.dc-n-fut,.me-dictee mark.dc-n-cod,.me-dictee mark.dc-n-hom,.me-dictee mark.dc-n-autre{background:var(--dc-bg);color:var(--dc-fg)}
.me-warn.dc-n-adj,.me-warn.dc-n-plu,.me-warn.dc-n-pp,.me-warn.dc-n-pc,.me-warn.dc-n-imp,.me-warn.dc-n-fut,.me-warn.dc-n-cod,.me-warn.dc-n-hom,.me-warn.dc-n-autre{background:var(--dc-bg);color:var(--dc-fg)}
.me-dictee .dc-legendes{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.me-dictee .dc-legende{display:flex;align-items:flex-start;gap:10px;width:fit-content;max-width:100%;padding:8px 14px 8px 8px;border-radius:18px;background:var(--dc-bg,#F1F5F9)}
.me-dictee .dc-notion{flex:none;display:inline-flex;align-items:center;min-height:26px;padding:4px 12px;border-radius:999px;background:var(--dc-pill,#64748B);color:#fff;font-size:13px;font-weight:800}
.me-dictee .dc-expl{color:#3A4A66;font-size:14px;font-weight:650;line-height:1.4}
.me-dictee .dc-expl strong{font-weight:800;color:#1A2744}
.me-dictee .dc-mot{position:relative;display:inline}
.me-dictee .dc-tip{display:none;position:absolute;z-index:6;top:calc(100% + 6px);left:0;width:max-content;max-width:min(340px,70vw);padding:8px 10px;border-radius:14px;background:#fff;box-shadow:0 12px 28px rgba(12,30,74,.18);text-align:left}
.me-dictee .dc-mot:hover .dc-tip,.me-dictee .dc-mot:focus-within .dc-tip{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.me-dictee .dc-parfait{margin-top:12px;text-align:center}
.me-dictee .dc-parfait p{color:#0C1E4A;font-size:18px;font-weight:800}
.me-dictee .dc-festif{width:120px;height:68px}
@media(max-width:760px){.me-dictee .dc-cols{grid-template-columns:1fr}}
.me-modal .access-close{position:absolute;top:14px;right:14px;float:none;display:grid;place-items:center}
.me-modal .access-close svg{width:16px;height:16px}
.access-dialog.me-modal h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.03em}
.access-dialog.me-modal p{margin:0}
.access-dialog.me-modal .me-kicker,.access-dialog.me-modal .me-label{color:#008BA3}
.access-dialog.me-modal .me-detail-title,.access-dialog.me-modal .me-q-text,.access-dialog.me-modal .me-q-line span,.access-dialog.me-modal .me-who strong{color:#0C1E4A}
.access-dialog.me-modal .me-q-line,.access-dialog.me-modal .me-q-why,.access-dialog.me-modal .me-note,.access-dialog.me-modal .me-modal-head p,.access-dialog.me-modal .me-when{color:#405680}
.access-dialog.me-modal .me-q-good{color:#1E7E46}
.access-dialog h2.mc-sr{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0)}
.me-modal-head{display:flex;align-items:center;gap:12px;padding-right:42px}
.me-modal-head p{color:#405680;font-weight:600}
.me-kicker{margin:0 42px 4px 0!important;color:#008BA3;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.me-detail-title{margin:0 42px 10px 0!important;color:#0C1E4A;font-size:28px;font-weight:800;letter-spacing:-.03em}
.me-who{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:8px;color:#405680;font-weight:600}
.me-who strong{color:#0C1E4A;font-weight:800}
.me-when{font-size:14px;font-weight:600}
.me-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.me-chip{padding:6px 12px;border-radius:999px;background:#E7F8FA;color:#008BA3;font-size:13px;font-weight:800}
.me-sessions{list-style:none;display:grid;gap:8px;margin:14px 0 0;padding:0}
.me-session{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px 12px 14px;border-radius:14px;background:#F1F6FD}
.me-session:hover,.me-play:hover{border-color:#00B8C5}
.me-session strong{display:block;font-size:15px}
.access-dialog.me-modal .me-close{display:flex;width:auto;min-width:148px;margin:16px auto 0}
.me-score{margin-top:16px;padding:14px 16px 16px;border-radius:16px;background:#0C1E4A;color:#fff}
.me-score p{margin:0 0 6px!important;color:#9BB0D4;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.me-score-row{display:flex;align-items:center;gap:14px}
.me-score strong{font-size:40px;font-weight:800;letter-spacing:-.04em;line-height:1}
.me-bar{flex:1;height:8px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.22)}
.me-bar span{display:block;height:100%;border-radius:inherit;background:#00B8C5}
.me-score em{font-style:normal;font-weight:700;font-size:14px;white-space:nowrap}
.me-label{margin:18px 0 8px!important;color:#008BA3;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.me-good{display:inline-flex;align-items:center;gap:6px;margin:0 8px 8px 0!important;padding:6px 12px;border-radius:999px;background:#E7F6EC;color:#1E7E46;font-weight:800}
.me-warn{display:inline-flex;align-items:center;gap:6px;margin:0 8px 8px 0!important;padding:6px 12px;border-radius:999px;background:#FEF1E2;color:#B45309;font-weight:800}
.me-note{margin:8px 0 0!important;color:#405680;font-weight:600}
.me-questions{list-style:none;display:grid;gap:10px;margin:0;padding:0}
.me-q{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:start;padding:12px 14px;border-left:4px solid;border-radius:14px}
.me-q header{grid-column:2;grid-row:1}
.me-q-text{grid-column:1;grid-row:1}
.me-q-line,.me-q-good,.me-q-why{grid-column:1 / -1}
.me-q-ok{background:#E7F6EC;border-left-color:#1E7E46}
.me-q-ko{background:#FEF1E2;border-left-color:#B45309}
.me-badge{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:800}
.me-q-ok .me-badge{color:#1E7E46}
.me-q-ko .me-badge{color:#B45309}
.me-mark{width:14px;height:14px;flex:none}
.me-q-text{margin:6px 0 0!important;color:#0C1E4A;font-weight:700}
.me-q-line,.me-q-why{margin:4px 0 0!important;color:#405680;font-weight:600}
.me-q-line span{font-weight:800;color:#0C1E4A}
.me-q-good{margin:4px 0 0!important;color:#1E7E46;font-weight:800}
.me-page .email-copy{margin-top:8px}
@media(max-width:640px){.me-plays,.me-dashed{margin-left:0}.access-dialog.me-modal,.access-dialog.me-detail{width:calc(100% - 16px);max-width:none}.me-prefs{grid-template-columns:1fr}.me-score-row{flex-wrap:wrap}.me-score strong{font-size:32px}.me-detail-title{font-size:24px}}
.mc-page .form-error{margin:0 0 16px}
@media(max-width:880px){.mc-grid,.mc-new{grid-template-columns:1fr}.mc-new .mc-plus{display:none}.mc-hero h1{font-size:36px}.mc-card-head{flex-wrap:wrap}}
@media(max-width:640px){.mc-two,.mc-add{grid-template-columns:1fr}.mc-add .mc-btn,.mc-new .mc-btn{width:100%}.mc-card{padding:18px}.mc-hero h1{font-size:32px}}
.dc-page{max-width:860px}
.dc-badge{display:inline-flex;align-items:center;margin:0 0 18px;padding:7px 14px;border-radius:999px;background:#0C1E4A;color:#fff;font-size:13px;font-weight:800;letter-spacing:.01em}
.dc-form{display:grid;gap:18px}
.dc-form .mc-card{margin-top:0}
.dc-radios{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dc-radio{display:flex;gap:12px;align-items:flex-start;margin:0;padding:14px 16px;border:1px solid #D8E3F2;border-radius:16px;background:#F7FBFF;cursor:pointer;font-weight:600;letter-spacing:0;text-transform:none}
.dc-radio:has(input:checked){border-color:#00B8C5;background:#fff;box-shadow:0 0 0 3px rgba(0,184,197,.18)}
.mc-page.dc-page label.dc-radio input[type="radio"]{width:18px;height:18px;min-height:18px;margin:3px 0 0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;accent-color:#0C1E4A;flex:none}
.dc-radio span{flex:1;min-width:0}
.dc-radio strong{display:block;color:#0C1E4A;font-size:16px;font-weight:800}
.dc-radio small{display:block;margin-top:4px;color:#405680;font-size:14px;font-weight:600;line-height:1.35}
.dc-eleve-pick{display:none;gap:6px;margin:14px 0 0;color:#0C1E4A;font-size:14px;font-weight:800;letter-spacing:0;text-transform:none}
.dc-radios:has(input[value="eleve"]:checked) ~ .dc-eleve-pick{display:grid}
.dc-page select{width:100%;min-height:48px;padding:12px 14px;border:1px solid #D8E3F2;border-radius:12px;background:#F1F6FD;color:#0C1E4A;font-weight:700;letter-spacing:0;text-transform:none}
.dc-page select:focus{border-color:#00B8C5;box-shadow:0 0 0 3px rgba(0,184,197,.2);outline:none}
.dc-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 22px;border:0;border-radius:14px;color:#fff;font-weight:800;cursor:pointer;background:linear-gradient(110deg,#00B8C5,#1A62D4)}
.dc-form .dc-go{width:100%}
.dc-go:hover,.dc-quiet:hover{filter:brightness(1.06)}
.dc-quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;border:1px solid #D8E3F2;border-radius:12px;background:#fff;color:#0C1E4A;font-weight:800;cursor:pointer}
.dc-quiet svg{width:18px;height:18px;flex:none}
.dc-error{margin:0 0 16px;padding:12px 14px;border-radius:14px;background:#fff1f2;color:#9f1239;font-weight:700}
.dc-ok{margin:0;padding:12px 14px;border-radius:14px;background:#E7F8FA;color:#0C1E4A;font-weight:800}
.dc-note{margin:12px 0 0;color:#405680;font-weight:650}
.dc-note a{color:#0C1E4A;font-weight:800}
.dc-phrases{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.dc-phrases li{margin:0;padding:12px 14px;border-radius:12px;background:#F4F8FE;font-size:18px;font-weight:650;line-height:1.45}
.dc-phrases li:has(textarea){display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start;padding:0;background:transparent}
.dc-phrases label{display:grid;gap:4px;min-width:0;color:#405680;font-size:13px;font-weight:800;letter-spacing:0;text-transform:none}
.dc-phrases textarea{width:100%;min-height:72px;padding:12px 14px;border:1px solid #D8E3F2;border-radius:12px;background:#F4F8FE;color:#0C1E4A;font:650 18px/1.45 inherit;resize:vertical}
.dc-phrases textarea:focus{border-color:#00B8C5;box-shadow:0 0 0 3px rgba(0,184,197,.2);outline:none}
.dc-retirer{margin-top:22px;padding:8px 4px;border:0;background:transparent;color:#9f1239;font-weight:800;cursor:pointer}
.dc-ajout{margin-top:12px}
.dc-titre{display:grid;gap:6px;margin:0 0 16px;color:#0C1E4A;font-size:14px;font-weight:800;letter-spacing:0;text-transform:none}
.dc-titre input{width:100%;padding:12px 14px;border:1px solid #D8E3F2;border-radius:12px;background:#F4F8FE;color:#0C1E4A;font:650 18px/1.45 inherit}
.dc-titre input:focus{border-color:#00B8C5;box-shadow:0 0 0 3px rgba(0,184,197,.2);outline:none}
.dc-fichier{display:grid;gap:6px;margin:14px 0;color:#0C1E4A;font-size:14px;font-weight:800;letter-spacing:0;text-transform:none}
.dc-fichier input{font-weight:650}
.dc-sous-titre{margin:18px 0 10px;color:#0C1E4A;font-size:16px;font-weight:800}
.dc-import{margin-top:8px}
.dc-import .dc-go{margin-top:16px}
.dc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.dc-chips li{padding:7px 12px;border-radius:999px;background:#E7F8FA;color:#0C1E4A;font-weight:800}
.dc-theme{margin:14px 0 0;color:#008BA3;font-weight:800}
.dc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}
.dc-actions form{margin:0}
.dc-page .mc-card .dc-quiet{margin-top:14px}
@media(max-width:720px){.dc-radios{grid-template-columns:1fr}.dc-actions,.dc-actions form,.dc-actions .dc-go,.dc-actions .dc-quiet{width:100%}}
