.student-page {
    background: #f1f5f9;
    color: #193044;
    padding: clamp(1rem, 4vw, 3rem) 1rem;
}

.student-shell { max-width: 1120px; margin-inline: auto; }
.student-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border-radius: 1.5rem;
    background: linear-gradient(120deg, #112b45, #14575e);
    color: #fff;
    margin-bottom: 1.75rem;
}
.student-hero h1 { font-size: clamp(1.65rem, 4vw, 2.6rem); margin: .5rem 0; overflow-wrap: anywhere; }
.student-hero p, .student-eyebrow { color: #d5edea; }
.student-eyebrow i, .student-actions i { margin-inline-end: .25rem; }
.student-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.student-hero-button { border: 1px solid #a5cbc8; color: #fff; border-radius: .65rem; }
.student-hero-button:hover, .student-hero-button:focus-visible { color: #132e42; background: #e0f2f1; }
.student-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1.25rem; }
.student-section-title { font-size: 1.18rem; font-weight: 700; margin-bottom: .85rem; }
.student-section-title i { color: #08716c; margin-inline-end: .3rem; }
.student-card {
    background: #fff;
    border: 1px solid #dce6ed;
    border-radius: 1rem;
    box-shadow: 0 3px 16px rgb(25 48 68 / 5%);
    padding: 1.25rem;
    min-width: 0;
}
.student-exam + .student-exam { margin-top: .75rem; }
.student-card-heading { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: space-between; align-items: baseline; }
.student-card-heading h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .75rem; overflow-wrap: anywhere; }
.student-status { color: #68440b; background: #fff1d8; padding: .25rem .6rem; border-radius: 1rem; font-size: .82rem; margin-bottom: .6rem; }
.student-status-ready { background: #d9f3ea; color: #145b48; }
.student-dates { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: #435a6b; font-size: .9rem; }
.student-dates div { display: flex; gap: .35rem; }
.student-dates dd { margin: 0; }
.student-primary { color: #fff; background: #086965; border-color: #086965; border-radius: .65rem; }
.student-primary:hover, .student-primary:focus-visible { color: #fff; background: #064d4a; border-color: #064d4a; }
.student-secondary { color: #164c59; background: #f2faf9; border-color: #bddbd8; border-radius: .65rem; }
.student-secondary:hover, .student-secondary:focus-visible { color: #163842; background: #d8edea; border-color: #83b8b2; }
.student-empty { color: #506776; }
.student-history { list-style: none; margin: 0; }
.student-history li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .7rem; overflow-wrap: anywhere; }
.student-history li + li { border-top: 1px solid #e3edf2; }
.student-history small { display: block; color: #506776; margin-top: .25rem; }
.student-login { max-width: 430px; margin-block-start: clamp(1rem, 8vh, 5rem); }
.student-login .student-card { padding: clamp(1.25rem, 5vw, 2.25rem); }
.student-login-heading { margin-bottom: 1.5rem; }
.student-login-heading i { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: .8rem; color: #086965; background: #e0f2f1; font-size: 1.5rem; }
.student-login-heading h1 { font-size: 1.45rem; margin-top: .8rem; }
.student-reader-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: start; }
.student-reader-nav { flex: 1 1 230px; max-width: 290px; }
.student-reader-nav h2 { font-size: 1rem; font-weight: 700; }
.student-reader-nav li { border-bottom: 1px solid #e3edf2; }
.student-reader-nav li a { display: block; padding-block: .45rem; color: #14575e; text-decoration: none; }
.student-reader-nav li a:hover { text-decoration: underline; }
.student-file { display: block; overflow-wrap: anywhere; }
.student-file small { display: block; margin-top: .25rem; }
.student-lesson { flex: 3 1 34rem; padding: clamp(1.25rem, 4vw, 2.75rem); }
.student-lesson h2 { font-size: 1.25rem; padding-top: 1rem; border-top: 1px solid #dce6ed; margin: 1.7rem 0 .8rem; scroll-margin-top: 1rem; }
.student-paragraph { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 2.05; margin-bottom: 1rem; }
.student-lesson > .student-paragraph:first-child { font-size: 1.08rem; }
.student-lesson > :last-child { margin-bottom: 0; }
@media (max-width: 700px) {
    .student-columns { grid-template-columns: 1fr; }
    .student-reader-nav { flex-basis: 100%; max-width: none; }
}
