[hidden] { display: none !important; }
.entry-choice { max-width: 820px; margin: clamp(2rem,8vh,5rem) auto; }
.entry-choice h1 { font-size: clamp(1.8rem,5vw,2.75rem); letter-spacing: -.025em; }
.entry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1.5rem; }
.role-card { min-height:124px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem; padding:1.15rem; border-radius:1.15rem; border:1px solid; text-decoration:none; }
.role-card strong,.role-card small { display:block; }
.role-card strong { font-size:1.28rem; }
.role-card small { margin-top:.2rem; font-size:.92rem; }
.student-entry { color:#1c3f74; background:#edf4ff; border-color:#becfea; }
.parent-entry { color:#753e1e; background:#fff2e2; border-color:#e9caab; }
.role-icon { width:2.6rem; height:2.6rem; }
.role-arrow { font-size:1.55rem; }
.role-card:focus-visible,.entry-back:focus-visible { outline:3px solid #355a99; outline-offset:4px; }
.entry-back { display:inline-block; margin-bottom:1.15rem; color:inherit; }
body[data-role=student] { --ink:#172f53; --muted:#465e81; --line:#c7d7ed; --mint:#eaf2ff; background:#f2f6fc; }
body[data-role=student] .primary { background:#2858a0; border-color:#2858a0; }
body[data-role=student] .topbar { background:#e9f1fe; }
body[data-role=parent] { --ink:#482c1f; --muted:#775742; --line:#e7d3c1; --mint:#ffeddc; background:#fcf7f1; }
body[data-role=parent] .topbar { background:#fff0e1; }
body[data-role=parent] .primary { background:#8c4822; border-color:#8c4822; }
body[data-role=teacher] { --ink:#172943; --muted:#4c607b; --line:#d1dbea; --mint:#e8eff9; background:#f2f5fa; }
body[data-role=teacher] .topbar { background:#172945; color:#fff; border-color:#172945; }
body[data-role=teacher] .topbar span { color:#dce7f8; }
body[data-role=teacher] .topbar .quiet { color:#fff; border-color:#879ab7; }
body[data-role=teacher] .primary { background:#254a7c; border-color:#254a7c; }
body[data-role=teacher] .teacher-tabs { background:#e2eaf6; border-radius:.8rem; padding:.45rem; }
body[data-role=teacher] .teacher-tabs button[aria-selected=true] { background:#243d62; color:#fff; border-color:#243d62; }
body[data-role=teacher] .queue-buttons button { background:#edf3fb; color:#1c365c; }
body[data-role=teacher] .queue-buttons button:is([data-roster-status=due],[data-roster-status=late]) { background:#fff0df; color:#753b12; }
body[data-role=teacher] .queue-buttons button[aria-pressed=true] { outline:2px solid #294a76; outline-offset:2px; }
body[data-role=teacher] .student-picker label,body[data-role=teacher] fieldset { border-color:#d1dbea; }
body[data-role=teacher] .range-picker { background:#eff4fb; }
.family-module { margin:1rem 0; }
.family-module h2 { display:flex; align-items:center; gap:.65rem; }
.family-module h2 span { display:inline-grid; place-items:center; width:2rem; height:2rem; border-radius:.55rem; background:#f5ddc8; color:#673519; font-size:1rem; }
.family-child + .family-child { border-top:1px solid var(--line); margin-top:1rem; padding-top:1rem; }
.family-task { margin-top:.7rem; padding:.7rem .9rem; background:#fcf6f0; border-radius:.6rem; }
.family-task header { display:flex; justify-content:space-between; gap:.7rem; flex-wrap:wrap; }
.family-task p { margin:.35rem 0; }
.family-task progress { width:100%; height:.7rem; display:block; accent-color:#9b4b26; }
.family-activity { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; margin-top:.8rem; }
.family-module .badge { color:#723e1e; }
.account-actions { margin:1rem 0; display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; }
body[data-role=parent] .hero { padding-block:1rem; margin-bottom:.8rem; }
body[data-role=parent] .hero p { margin-bottom:0; }
body[data-role=parent] .hero small { color:#834322; }
@media (max-width:600px) { .entry-grid { grid-template-columns:1fr; } .role-card { min-height:96px; } body[data-role=teacher] .teacher-tabs { top:56px; } }
