:root{font-family:var(--numbafox-text,system-ui);color:#1a2e4d;background:#f6f8fd;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #7ea8f2;outline-offset:2px}
a{text-decoration:none;color:inherit}
[hidden]{display:none!important}
.preview-banner{background:#eef2ff;color:#5a6d97;padding:8px 18px;text-align:center;font-size:.73rem;font-weight:650}
.preview-banner i{margin-right:6px}
.topbar{height:74px;background:white;border-bottom:1px solid #e7edf6;display:flex;align-items:center;gap:55px;padding:0 max(24px,calc((100% - 1280px)/2));position:relative;z-index:2}
.brand{display:flex;align-items:center;gap:8px;color:#455bd7;font-size:1.8rem;font-weight:850;white-space:nowrap}
.brand span{color:#243759;font-size:1.08rem;letter-spacing:-.04em}
.brand b{font-size:.8rem;font-weight:600;color:#8190a7}
.topnav{display:flex;gap:26px;height:100%;align-items:stretch}
.topnav button,.mobile-nav button{border:0;border-bottom:3px solid transparent;background:none;color:#8290a4;font-size:.86rem;font-weight:750}
.topnav button.active,.mobile-nav button.active{border-color:#5064df;color:#344b89}
.profile-shortcut{margin-left:auto;border:0;background:#e7edff;color:#5368bc;width:39px;height:39px;display:grid;place-items:center;border-radius:50%;font-weight:800}
.account-menu{position:absolute;right:max(24px,calc((100% - 1280px)/2));top:64px;z-index:8;width:220px;padding:9px;background:#fff;border:1px solid #dce5f0;border-radius:14px;box-shadow:0 14px 34px #1b315526}
.account-menu-name{padding:7px 9px 10px;margin:0;color:#5a6e89;font-size:.78rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu button,.account-menu a{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:9px;padding:10px 9px;background:transparent;color:#3c526f;font-size:.86rem;font-weight:700;text-align:left}
.account-menu button:hover,.account-menu a:hover{background:#eef3fb;color:#315baa}
.account-menu i{width:16px;color:#6c83a1}
.welcome{min-height:calc(100vh - 105px);display:grid;grid-template-columns:1fr 1fr}
.welcome-art{background:#263fc0;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:8% max(6%,calc((100vw - 1280px)/2));overflow:hidden;position:relative}
.welcome-art-copy{position:relative;z-index:1}
.welcome-art h1{font-size:clamp(2.8rem,4.8vw,5rem);line-height:1.01;letter-spacing:-.065em;margin:14px 0}
.welcome-art h1 em{font-style:normal;color:#f4da59}
.welcome-art p{color:#d6dfff;max-width:380px;line-height:1.7}
.welcome-art img{width:95%;max-width:520px;border-radius:26px;margin:22px 0 0;box-shadow:0 20px 40px #12267a5e}
.welcome-panel{display:grid;place-items:center;padding:50px 24px;background:white}
.welcome-inner{width:min(100%,420px)}
.eyebrow{font-size:.68rem;font-weight:850;color:#6b7f9c;letter-spacing:.13em;margin:0 0 10px}
.eyebrow.light{color:#cbd7ff}
.welcome-inner h2{font-size:2rem;letter-spacing:-.045em;margin:0 0 8px}
.welcome-inner>p:not(.eyebrow),.dashboard-heading p:not(.eyebrow),.section-top p:not(.eyebrow){color:#75869e;line-height:1.6;margin:0}
.auth-tabs{display:flex;gap:5px;background:#f1f4fa;padding:4px;border-radius:12px;margin:26px 0}
.auth-tabs button{border:0;background:transparent;border-radius:9px;padding:11px;flex:1;font-size:.85rem;font-weight:750;color:#7c8ba1}
.auth-tabs button.active{background:white;color:#344b89;box-shadow:0 2px 7px #293b5f12}
label{display:block;font-size:.8rem;font-weight:750;color:#50637d;margin:0 0 7px}
input,select,textarea{width:100%;border:1px solid #dae3ef;background:white;border-radius:10px;padding:12px;color:#283f5d;margin-bottom:17px}
textarea{resize:vertical;line-height:1.5}
select{appearance:auto}
input::placeholder{color:#a7b3c2}
.primary,.outline,.light-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;padding:12px 16px;font-size:.85rem;font-weight:750}
.primary{background:#4b61dc;color:#fff;border:0}
.primary:hover{background:#384fc7}
.primary.full{width:100%;min-height:46px}
.outline{background:#fff;border:1px solid #dce4ef;color:#5a6d87}
.light-button{background:#fff;color:#354ac0}
.form-note{color:#97a5b7;font-size:.74rem;line-height:1.55;margin:14px 0}
.auth-notice{display:flex;gap:14px;background:#f3f6fc;border:1px solid #e2eaf5;border-radius:12px;padding:16px;margin-bottom:16px;color:#506da0}
.auth-notice p{color:#7a8ba2;font-size:.82rem;line-height:1.5;margin:5px 0 0}
.verification-pending{background:#f3f6fc;border:1px solid #e2eaf5;border-radius:14px;padding:22px;text-align:center;color:#58708d}
.verification-pending>i{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border-radius:50%;background:#e7edff;color:#5064df;font-size:1.3rem}
.verification-pending h3{color:#294568;font-size:1.25rem;margin:5px 0 9px}
.verification-pending p:not(.eyebrow):not(.form-note){font-size:.86rem;line-height:1.6;margin:0 0 8px}
.verification-pending .primary{margin-top:8px}
.verification-pending .text-button{margin-top:12px}
.student-app{max-width:1280px;margin:auto;padding:50px 24px 80px}
.dashboard-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}
.dashboard-heading h1{font-size:clamp(2rem,3vw,2.8rem);letter-spacing:-.055em;margin:0 0 7px}
.wave-emoji{color:#e6b934}
.intro-card{display:flex;justify-content:space-between;align-items:center;min-height:236px;background:#4258d6;border-radius:23px;padding:35px 42px;color:white;overflow:hidden;position:relative}
.intro-card:after{content:'';position:absolute;right:-10%;top:-60%;width:430px;height:430px;border:1px solid #ffffff1f;border-radius:50%;box-shadow:0 0 0 45px #ffffff08,0 0 0 95px #ffffff08}
.intro-card h2{font-size:2rem;line-height:1.08;letter-spacing:-.04em;margin:0 0 10px}
.intro-card p:not(.eyebrow){color:#dbe3ff;font-size:.9rem;margin:0 0 20px}
.intro-symbols{position:relative;z-index:1;display:flex;align-items:center;gap:16px;color:#ffdf62;font-size:4rem}
.intro-symbols b{color:#becaff;font-size:3rem}
.intro-symbols i{font-style:normal;color:#fff;font-size:2.4rem}
.section-top{margin:42px 0 20px}
.section-top h2{font-size:1.45rem;letter-spacing:-.03em;margin:0 0 5px}
.section-top p:not(.eyebrow){font-size:.88rem}
.filters{display:flex;align-items:end;gap:12px;margin-bottom:22px}
.filters label{width:190px;margin:0}
.filters label span{display:block;font-size:.73rem;color:#8694a7;margin-bottom:7px}
.filters select{margin:0;background:#fff;padding:10px}
.text-button{border:0;background:none;color:#4b65c8;font-weight:750;font-size:.82rem;padding:10px}
.class-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.class-card{background:#fff;border:1px solid #e5ebf5;border-radius:17px;padding:20px;min-width:0}
.class-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.class-icon{width:44px;height:44px;border-radius:14px;background:#e8edff;color:#5368cf;display:grid;place-items:center;font-size:1.1rem}
.class-icon.peach{background:#fff0e6;color:#ce8758}
.class-icon.mint{background:#e4f5ee;color:#479273}
.class-badge{font-size:.65rem;letter-spacing:.06em;font-weight:800;color:#7c8da5;background:#f3f6fa;padding:7px 9px;border-radius:20px}
.class-badge.live{color:#248362;background:#e7f8f0}
.class-card h3{font-size:1.08rem;margin:18px 0 7px;letter-spacing:-.02em}
.class-card p{font-size:.83rem;line-height:1.55;color:#8796a9;margin:0 0 14px}
.class-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}
.class-meta span{background:#f4f6fa;color:#70829b;border-radius:7px;padding:5px 8px;font-size:.69rem;font-weight:700}
.class-link{display:block;text-align:center;border:1px solid #dce5f3;border-radius:10px;padding:10px;font-size:.8rem;font-weight:750;color:#526ac6}
.class-link:hover{background:#f3f6ff}
.class-link.disabled{color:#a7b4c4;background:#f7f9fc;border-color:#edf1f6}
.empty-card{grid-column:1/-1;border:1px dashed #d5dfed;border-radius:15px;padding:22px;background:#ffffff8a;color:#7f90a7;font-size:.87rem;line-height:1.6}
.lobby-empty{display:grid;justify-items:center;text-align:center;gap:4px;padding:16px 22px 22px}
.lobby-empty img{display:block;max-width:100%;height:auto}
.lobby-empty p{margin:0;color:#50637d;font-weight:700}
.examples-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:35px 0 15px}
.examples-heading h3{margin:0 0 5px}
.examples-heading p{margin:0;font-size:.8rem;color:#90a0b2}
.examples-heading>span{font-size:.64rem;color:#9ba9bb;letter-spacing:.1em;font-weight:800}
.profile-summary{display:flex;align-items:center;gap:18px;padding:25px;background:white;border:1px solid #e4ebf5;border-radius:18px}
.large-avatar{width:64px;height:64px;border-radius:20px;background:#e9edff;color:#5a6ecc;display:grid;place-items:center;font-size:1.7rem;font-weight:800}
.profile-summary h2{margin:0 0 5px;font-size:1.25rem}
.profile-summary p{margin:0 0 8px;color:#8393a9;font-size:.85rem}
.profile-tag{font-size:.62rem;letter-spacing:.1em;font-weight:800;background:#f0f3ff;color:#7081b3;border-radius:6px;padding:4px 7px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}
.stats article{background:#fff;border:1px solid #e4ebf5;border-radius:16px;padding:20px;min-width:0}
.stats span{font-size:.65rem;letter-spacing:.08em;color:#97a6b8;font-weight:800}
.stats strong{display:block;font-size:1.45rem;margin:10px 0 4px;overflow-wrap:anywhere}
.stats p{font-size:.75rem;color:#9eabba;margin:0}
.history-list{display:grid;gap:10px}
.history-item{display:flex;align-items:center;gap:14px;border:1px solid #e4ebf5;background:#fff;padding:16px;border-radius:14px}
.history-item .class-icon{flex:none}
.history-info{flex:1;min-width:0}
.history-info strong{font-size:.9rem}
.history-info p{margin:5px 0 0;color:#95a3b6;font-size:.75rem}
.end-preview{margin-top:25px}
.history-dialog{width:min(560px,calc(100vw - 32px));border:1px solid #dce5ef;border-radius:18px;padding:25px;color:#263b58;box-shadow:0 25px 80px #10233c40}
.teacher-class-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;border:1px solid #dce5ef;border-radius:20px;padding:26px;color:#263b58;box-shadow:0 25px 80px #10233c40}
.teacher-class-dialog::backdrop{background:#14233b88;backdrop-filter:blur(3px)}
.teacher-class-dialog .teacher-settings-card{margin-top:18px;max-width:none}
.history-dialog::backdrop{background:#10233c85}
.dialog-head{display:flex;justify-content:space-between;gap:15px}
.dialog-head h2{margin:0}
.dialog-head p:not(.eyebrow){color:#94a2b4;font-size:.8rem}
.icon-button{width:36px;height:36px;border:0;border-radius:10px;background:#f2f5f9;color:#61758e}
.saved-board{background:#1b3155;color:white;white-space:pre-wrap;padding:20px;border-radius:13px;line-height:1.7;overflow-wrap:anywhere}
.saved-notes{white-space:pre-wrap;color:#5c708b;line-height:1.7}
.mobile-nav{display:none}
@media(max-width:800px){.welcome{grid-template-columns:1fr}
.welcome-art{padding:50px 24px}
.welcome-art h1{font-size:3rem}
.welcome-art img{max-width:400px}
.class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.topnav{display:none}
.mobile-nav{display:flex;gap:20px;height:45px;margin:-25px 0 30px}
.mobile-nav button{padding:0 4px}
.student-app{padding-top:40px}
}
@media(max-width:560px){.topbar{height:65px;padding:0 18px}
.account-menu{right:18px;top:56px}
.student-app{padding:40px 16px 60px}
.dashboard-heading{align-items:start;flex-direction:column}
.dashboard-heading h1{font-size:2rem}
.intro-card{padding:26px;min-height:225px}
.intro-card h2{font-size:1.7rem}
.intro-symbols{position:absolute;right:18px;bottom:17px;opacity:.4;font-size:2.7rem}
.intro-symbols b,.intro-symbols i{font-size:2rem}
.filters{flex-wrap:wrap}
.filters label{width:calc(50% - 6px)}
.class-grid{grid-template-columns:1fr}
.stats{grid-template-columns:1fr 1fr}
.stats article:last-child{grid-column:1/-1}
.welcome-art{padding:38px 20px}
.welcome-art h1{font-size:2.6rem}
.welcome-art img{width:100%}
.welcome-panel{padding:38px 20px}
.history-item{align-items:start;flex-wrap:wrap}
.history-item .text-button{padding:0}
}

.teacher-heading .outline{white-space:nowrap}
.teacher-settings-card{max-width:860px;display:grid;gap:16px}
.settings-section{margin:0;border:1px solid #e2eaf4;border-radius:18px;background:#fff;padding:24px}
.settings-section h2{margin:0 0 6px;font-size:1.3rem;letter-spacing:-.03em}
.settings-copy{margin:0 0 20px;color:#7d8da3;font-size:.87rem;line-height:1.55}
.settings-section legend{padding:0 8px;color:#385273;font-size:.88rem;font-weight:800}
.settings-label{margin:0 0 12px;color:#385273;font-size:.88rem;font-weight:800}
.optional{color:#9aa8b8;font-weight:600}
.radio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:4px}
.radio-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.radio-grid label,.check-row{display:flex;align-items:center;gap:9px;margin:0;border:1px solid #e1e8f2;border-radius:11px;padding:11px 12px;background:#fbfcfe;color:#536780;cursor:pointer}
.radio-grid input,.check-row input{width:auto;margin:0;accent-color:#4b61dc}
.radio-grid label:has(input:checked){border-color:#7e91e6;background:#f0f3ff;color:#344b9f}
.check-row{align-items:flex-start;margin-top:10px}
.check-row span{display:grid;gap:4px}
.check-row strong{font-size:.84rem;color:#435873}
.check-row small{color:#8998ac;font-size:.75rem;line-height:1.45}
@media(max-width:560px){.teacher-heading .outline{width:100%}.radio-grid,.radio-grid.compact{grid-template-columns:1fr}.settings-section{padding:19px}}

.welcome-art img{width:min(90%,480px);aspect-ratio:4/3;object-fit:cover;object-position:center 43%;filter:drop-shadow(0 16px 26px #14277c38)}

@media(max-width:560px){.welcome-art img{width:100%;aspect-ratio:16/9;object-position:center 42%}
}

/* Show the entire portrait; scale it separately for smaller screens. */
.welcome-art img{display:block;width:auto;height:auto;max-width:100%;max-height:min(56vh,600px);aspect-ratio:auto;object-fit:contain;object-position:center;align-self:flex-start}

@media(max-width:800px){.welcome-art img{max-height:480px;max-width:100%;align-self:center}
}

@media(max-width:560px){.welcome-art img{width:auto;height:auto;max-width:100%;max-height:360px;aspect-ratio:auto;object-fit:contain}
}


/* Let the illustration be the panel, with copy resting over the artwork. */
.welcome-art{min-height:720px;padding:clamp(28px,4vw,60px);justify-content:flex-end;isolation:isolate;background:#151850}

.welcome-art::before{content:"";position:absolute;inset:-24px;z-index:-2;background:url('/assets/student-books-vector.png') center / cover no-repeat;filter:blur(18px) brightness(.68);transform:scale(1.08)}

.welcome-art::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(12,17,63,.08) 35%,rgba(12,17,63,.35) 61%,rgba(12,17,63,.96) 100%);pointer-events:none}

.welcome-art img{position:absolute;inset:0;z-index:-1;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0;box-shadow:none;filter:none;object-fit:contain;object-position:center;aspect-ratio:auto}

.welcome-art-copy{z-index:1;max-width:500px;text-shadow:0 2px 18px rgba(8,12,48,.45)}

.welcome-art h1{font-size:clamp(2.6rem,4.1vw,4.4rem)}

.welcome-art p{color:#eef1ff}

@media(max-width:800px){.welcome-art{min-height:0;height:clamp(480px,105vw,650px);padding:32px}
.welcome-art img{width:100%;height:100%;max-width:none;max-height:none;align-self:auto}
}

@media(max-width:560px){.welcome-art{height:clamp(460px,125vw,570px);padding:24px}
.welcome-art img{width:100%;height:100%;max-width:none;max-height:none}
.welcome-art h1{font-size:clamp(2.2rem,9vw,3rem)}
.welcome-art p{font-size:.92rem;line-height:1.5;margin-bottom:0}
}

/* The student is a transparent cutout, so the background has no image edges. */
.welcome-art{background:radial-gradient(ellipse at 70% 30%,#5246bb 0%,transparent 48%),radial-gradient(ellipse at 15% 75%,#643cab 0%,transparent 50%),#171b57}

.welcome-art::before{display:none}

.welcome-art img{object-fit:contain;object-position:center center}

.welcome-art::after{background:linear-gradient(180deg,transparent 48%,rgba(15,18,63,.25) 68%,rgba(15,18,63,.92) 100%)}

/* Soft ambient light sits behind the transparent student illustration. */
.welcome-art::before{content:"";display:block;position:absolute;inset:-15%;z-index:-2;pointer-events:none;filter:blur(34px);opacity:.65;transform:none;background:radial-gradient(ellipse 14% 16% at 20% 22%,#e446e9 0%,transparent 72%),radial-gradient(ellipse 19% 13% at 85% 30%,#566cff 0%,transparent 72%),radial-gradient(ellipse 15% 18% at 75% 75%,#c43cf1 0%,transparent 72%),radial-gradient(ellipse 12% 11% at 22% 69%,#2b8deb 0%,transparent 72%);animation:welcome-glow-drift 14s ease-in-out infinite alternate}

@keyframes welcome-glow-drift{from{transform:translate3d(-2%,-1%,0) scale(.98)}
to{transform:translate3d(2%,2%,0) scale(1.04)}
}

@media(prefers-reduced-motion:reduce){.welcome-art::before{animation:none}
}

/* Floating school tools are softly out of focus behind the student. */
.welcome-tools{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}

.welcome-tools i{position:absolute;font-size:clamp(30px,4.4vw,58px);opacity:.62;filter:blur(1.4px) drop-shadow(0 0 8px currentColor) drop-shadow(0 0 20px currentColor);animation:welcome-tool-float 7s ease-in-out infinite alternate}

.welcome-tools .tool-flask{left:9%;top:15%;color:#ff62d9;transform:rotate(-18deg)}

.welcome-tools .tool-ruler{right:8%;top:13%;color:#5dc9ff;animation-delay:-3s;transform:rotate(18deg)}

.welcome-tools .tool-calculator{right:6%;top:47%;color:#d873ff;animation-delay:-1s;transform:rotate(12deg)}

.welcome-tools .tool-compass{left:7%;top:46%;color:#7acfff;animation-delay:-4s;transform:rotate(-14deg)}

.welcome-tools .tool-atom{right:13%;top:70%;color:#ff72d2;animation-delay:-2s}

@keyframes welcome-tool-float{from{translate:0 -8px}
to{translate:0 10px}
}

@media(max-width:560px){.welcome-tools i{font-size:32px}
.welcome-tools .tool-calculator{right:5%}
.welcome-tools .tool-compass{left:5%}
}

@media(prefers-reduced-motion:reduce){.welcome-tools i{animation:none}
}

/* On small screens, put the sign-in form before the decorative artwork. */
@media(max-width:800px){.welcome-panel{order:-1}
}


#welcome-intro > p:not(.eyebrow),#profile-settings-intro > p{color:#75869e;line-height:1.6;margin:0}
#profile-settings-intro{margin-bottom:24px}
.profile-photo-editor{display:flex;align-items:flex-start;gap:14px}
.profile-photo-editor > div:last-child{min-width:0;flex:1}
.profile-photo-editor input{padding:8px;margin-bottom:6px}
.profile-field-note{margin:4px 0 12px;color:#667b95;font-size:.8rem}
#profile-photo-status:empty{display:none}
#profile-email{background:#f6f8fc}
.optional{margin-left:6px;font-weight:500;color:#667b95}
.profile-shortcut{padding:0}
#header-initial{display:grid;place-items:center;width:100%;height:100%}
.profile-shortcut,.large-avatar{overflow:hidden;flex-shrink:0}
#header-initial img,.large-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-summary{flex-wrap:wrap}
.profile-summary-info{flex:1;min-width:min(160px,100%);overflow-wrap:anywhere}
#profile-about{white-space:pre-wrap;color:#50637d}

.learning-tabs { display:flex; gap:clamp(.5rem, 3vw, 1.5rem); margin:0 0 1.5rem; flex-wrap:wrap; border-bottom:1px solid #cbd5e1; }
.learning-tabs a { color:inherit; padding:.75rem .25rem; text-decoration:none; border-bottom:3px solid transparent; }
.learning-tabs a[aria-current] { font-weight:700; border-color:currentColor; }
.replay-filters { flex-wrap:wrap; }
.replay-filters input { min-height:2.75rem; }
.replay-card { display:grid; align-content:start; justify-items:start; }
.replay-card h3 { margin:.25rem 0; }
.replay-card p { margin:.35rem 0; }
.replay-card a, #replay-more { margin-top:1rem; }
.history-actions, .replay-controls { display:flex; gap:.65rem; align-items:center; flex-wrap:wrap; }
.replay-controls { margin:.8rem 0; }
.replay-controls input[type=range] { flex:1; min-width:7rem; }
.replay-time { font-variant-numeric:tabular-nums; white-space:nowrap; }
.replay-board { position:relative; padding:clamp(1rem, 4vw, 2rem); min-height:10rem; border-radius:.75rem; background:#18263b; color:#fff; overflow:hidden; }
.replay-working > svg { width:min(100%, 20rem); display:block; }
.replay-rows { white-space:pre-wrap; font-family:ui-monospace, monospace; font-size:clamp(1rem, 2vw, 1.25rem); }
.replay-rows > div { padding:.25rem 0; }
.replay-tools { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap:1rem; --board-tool-ink:#fff; }
.replay-tool .tool-drawing svg { max-width:100%; }
.replay-tool .tool-drawing svg text { fill:currentColor; }
.replay-tool .tool-drawing svg .tool-accent { stroke:#7dd3fc; }
.replay-ink { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.replay-stroke { stroke:#fcd34d; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.replay-stroke.highlighter { stroke-width:10; opacity:.5; }
.replay-explanation { white-space:pre-wrap; }
.replay-notes details { margin:1rem 0; }
.replay-notes summary { cursor:pointer; padding:.5rem 0; }
.replay-tool .tool-drawing svg :is(line, polyline, polygon, path, circle, rect):not([fill]) { stroke:currentColor; fill:none; }
.replay-tool .tool-drawing svg .tool-dot { fill:#7dd3fc; }
.replay-board .nb-paper { background-color:#f1f5fc; color:#18263b; border-radius:.5rem; }

#history-more { margin-top:1rem; }
.replay-mode-changes { display:flex; gap:.5rem; flex-wrap:wrap; margin:.75rem 0; }
.replay-mode-changes button[aria-current] { background:#e5eeff; border-color:#315baa; }

.learning-tabs a{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem .7rem}
.learning-tabs a i{color:#586e98}
.learning-tabs a[aria-current]{border-color:#294bcc;color:#16295a}
.learning-tabs a[aria-current] i{color:#294bcc}
.lobby-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,.34fr);gap:clamp(1rem,2vw,1.8rem);align-items:start}
.classes-main,.lobby-sidebar{min-width:0}
.lobby-dashboard .dashboard-heading{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(100px,.75fr);align-items:center;gap:1rem;padding:clamp(1.2rem,3vw,2rem);border-radius:1.15rem;background:linear-gradient(115deg,#e8f2ff,#e7ebff);margin-bottom:1.25rem}
.lobby-dashboard .dashboard-heading h1{font-size:clamp(1.8rem,3.1vw,2.85rem);line-height:1.08}
.lobby-dashboard .dashboard-heading p:not(.eyebrow){color:#455a7b}
.lobby-hero-art{display:block;width:100%;height:clamp(106px,17vw,195px);object-fit:contain;justify-self:center}
.lobby-dashboard :is(#create-class-from-lobby,#explore-lobby-classes){justify-self:start;margin:0;background:#284ad3;text-decoration:none}
.lobby-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.overview-card{display:flex;gap:.65rem;align-items:center;min-height:5rem;border-radius:.9rem;padding:.8rem;color:#142952;text-decoration:none;font-weight:700;font-size:.9rem}
.overview-card i,.lobby-side-heading i{color:#294bcc}
.overview-card strong{display:block;margin-top:.2rem;font-size:1.15rem}
.overview-live{background:#e8efff}.overview-replays{background:#efebff}.overview-history{background:#e6f3ed}
.lobby-dashboard .section-top{margin:1.7rem 0 1rem}
.lobby-dashboard .live-filters{flex-wrap:wrap;margin-bottom:1rem}
.lobby-dashboard .live-filters input{width:100%;margin:0;min-height:40px}
.lobby-dashboard .class-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.lobby-dashboard .class-card:not(.empty-card){box-shadow:0 4px 12px #243b6810}
.lobby-dashboard .class-top{background:#eaf1ff;border-radius:.75rem;padding:.6rem .75rem}
.lobby-dashboard .class-link{background:#284ad3;color:#fff;border-color:#284ad3}
.lobby-sidebar{display:grid;gap:1rem}
.lobby-side-card{background:#fff;border:1px solid #e0e7f2;border-radius:1rem;padding:1rem;box-shadow:0 6px 20px #223c7310}
.lobby-side-heading{display:flex;gap:.5rem;align-items:center;justify-content:space-between;margin-bottom:.7rem}
.lobby-side-heading h2{margin:0;font-size:1.05rem;letter-spacing:-.02em}
.lobby-side-heading i{margin-right:.35rem}
.lobby-side-heading a{font-size:.85rem;font-weight:700;color:#294bcc;white-space:nowrap}
.lobby-side-card p{font-size:.9rem;color:#526680;margin:.6rem 0 0}
.lobby-side-row{display:block;width:100%;text-align:left;padding:.65rem .7rem;border:0;border-radius:.65rem;background:#eef3ff;color:#172c55;text-decoration:none;font:inherit;font-weight:700;margin-top:.4rem}
.lobby-side-row:hover{background:#e0eaff}
.lobby-side-row small{display:block;margin-top:.15rem;font-weight:500;color:#486186}
.lobby-quick-actions{background:#fff4e4}
.lobby-quick-actions>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}
.lobby-quick-actions :is(button,a){display:grid;align-content:center;justify-items:center;gap:.4rem;padding:.55rem .24rem;border:1px solid #e4e9f3;border-radius:.7rem;background:#fff;color:#182d57;text-align:center;text-decoration:none;font:inherit;font-size:.82rem;font-weight:700}
.lobby-quick-actions :is(button,a):hover{background:#f3f6ff}
.lobby-quick-actions :is(button,a)>i{color:#294bcc}
@media(min-width:1200px){.student-app:has(.lobby-dashboard:not([hidden])){max-width:1500px;padding-top:26px}}
@media(max-width:890px){.lobby-dashboard{grid-template-columns:1fr}.lobby-sidebar{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr))}}
@media(max-width:540px){.lobby-dashboard .dashboard-heading{grid-template-columns:minmax(0,1fr) minmax(85px,30%)}.lobby-overview{gap:.35rem}.overview-card{align-items:start;flex-direction:column;gap:.4rem;font-size:.8rem;padding:.55rem}.overview-card strong{font-size:.95rem}.learning-tabs a{padding-inline:.3rem;gap:.35rem}}
@media(min-width:1160px){.lobby-dashboard .dashboard-heading{grid-template-columns:minmax(0,1.35fr) minmax(110px,.75fr) auto}.lobby-dashboard :is(#create-class-from-lobby,#explore-lobby-classes){white-space:nowrap}}
.overview-upcoming{background:#fff1dc}
.upcoming-classes{scroll-margin-top:1rem}
.upcoming-classes .section-top{display:flex;gap:1rem;align-items:end;justify-content:space-between;flex-wrap:wrap}
.upcoming-classes #schedule-mine{width:auto;margin-right:.35rem}
.lobby-dashboard .lobby-overview{grid-template-columns:repeat(4,minmax(0,1fr))}
.lobby-quick-actions>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}
.schedule-list{display:grid;gap:.65rem}
.scheduled-class{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.8rem;border:1px solid #e0e7f2;border-radius:.9rem;background:#fff;padding:1rem}
.scheduled-class h3{margin:.3rem 0}
.scheduled-class p{margin:.35rem 0 0;color:#526680}
.scheduled-class time{color:#294bcc;font-weight:750;font-size:.86rem}
.schedule-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.scheduling-edit{grid-column:1/-1;align-items:end}
@media(max-width:710px){.lobby-dashboard .lobby-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduled-class{grid-template-columns:1fr}}

.lobby-hero-carousel{min-width:0;margin:0;text-align:center}
.lobby-hero-stage{overflow:hidden}
.lobby-hero-carousel figcaption{display:flex;justify-content:center;align-items:center;gap:.3rem;min-height:2rem;margin-top:.35rem;color:#314b74;font-size:.8rem;font-weight:700;line-height:1.25}
#lobby-hero-toggle{flex:none;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:#314b74}
#lobby-hero-toggle:hover{background:#d7e2fb}
@media(max-width:540px){.lobby-dashboard .dashboard-heading:has(.lobby-hero-carousel){grid-template-columns:minmax(0,1fr) minmax(120px,1fr)}.lobby-dashboard .dashboard-heading:has(.lobby-hero-carousel)>div:first-child{grid-column:1/-1}.lobby-hero-carousel{grid-column:2;grid-row:2}.lobby-dashboard :is(#create-class-from-lobby,#explore-lobby-classes){grid-column:1;grid-row:2}}

.brand img{display:block;width:144px;height:auto}
