: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:min(86vh,760px);overflow:auto;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{max-width:560px}
.assign-dialog fieldset{border:1px solid #d7e1ef;border-radius:16px;margin:0 0 14px;padding:12px 14px}
.assign-dialog legend{font-weight:800;padding:0 6px}
.assign-dialog label.assign-all,.assign-dialog label.assign-student{display:flex;justify-content:flex-start;align-items:center;gap:10px;width:auto;margin:8px 0;font-weight:700}
.assign-dialog label.assign-all input,.assign-dialog label.assign-student input{width:18px;height:18px;flex:none;margin:0}
.assign-students{display:grid;gap:2px;margin-left:8px}
.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}
.access-dialog form{margin:18px 0 12px}
.access-dialog .button{margin-right:8px}
.access-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:10px;background:#eef4fb;color:#0c1e4a;font-size:22px;cursor:pointer}
.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}}
