/* Study Path identity shared by the public site and the school portals. */
:root, .theme-sample {
    --study-ink: #163529;
    --study-muted: #4c6759;
    --study-forest: #194f3b;
    --study-deep: #123b2c;
    --study-mint: #e8f2e9;
    --study-paper: #f8fbf5;
    --study-line: #c8d9cc;
    --study-accent: #256757;
    --study-display: Georgia, "Times New Roman", serif;
    --color-surface: var(--study-paper);
}

:where(html, .theme-sample)[data-theme="purple-blossom"] {
    --study-ink: #322340;
    --study-muted: #62536e;
    --study-forest: #613887;
    --study-deep: #42245e;
    --study-mint: #f0e7f7;
    --study-paper: #fbf8fc;
    --study-line: #dfcfe8;
    --study-accent: #8b3e78;
}

:where(html, .theme-sample)[data-theme="ocean-breeze"] {
    --study-ink: #153642;
    --study-muted: #425f68;
    --study-forest: #135b72;
    --study-deep: #103b4c;
    --study-mint: #e2f2f5;
    --study-paper: #f6fbfc;
    --study-line: #bcd9e1;
    --study-accent: #167166;
}

:where(html, .theme-sample)[data-theme="sunset-warmth"] {
    --study-ink: #452a1c;
    --study-muted: #6e5749;
    --study-forest: #8d431f;
    --study-deep: #5e301b;
    --study-mint: #fcead9;
    --study-paper: #fdf9f1;
    --study-line: #ead1bb;
    --study-accent: #a04730;
}

:where(html, .theme-sample)[data-theme="rose-garden"] {
    --study-ink: #402532;
    --study-muted: #6b5360;
    --study-forest: #953b58;
    --study-deep: #64273b;
    --study-mint: #fae8ef;
    --study-paper: #fdf8fa;
    --study-line: #ebcbd7;
    --study-accent: #803a70;
}

:where(html, .theme-sample)[data-theme="forest-canopy"] {
    --study-ink: #30371f;
    --study-muted: #555c42;
    --study-forest: #4b572c;
    --study-deep: #323d20;
    --study-mint: #e9eedb;
    --study-paper: #fafbf3;
    --study-line: #d1d8bb;
    --study-accent: #706028;
}

:where(html, .theme-sample)[data-theme="midnight-blue"] {
    --study-ink: #202e4a;
    --study-muted: #4d5c77;
    --study-forest: #314878;
    --study-deep: #213254;
    --study-mint: #e7edf9;
    --study-paper: #f7f9fe;
    --study-line: #cad6eb;
    --study-accent: #55488f;
}

html[data-theme] {
    --primary: var(--study-forest);
    --primary-dark: var(--study-deep);
    --primary-light: var(--study-line);
    --secondary: var(--study-accent);
    --secondary-dark: var(--study-deep);
    --secondary-light: var(--study-line);
    --gradient-primary: linear-gradient(135deg, var(--study-forest), var(--study-accent));
    --gradient-accent: linear-gradient(135deg, var(--study-accent), var(--study-forest));
}

html:root, .theme-sample {
    --gradient-hero: linear-gradient(145deg, var(--study-mint), var(--study-paper));
    --gradient-light: linear-gradient(145deg, var(--study-paper), var(--study-mint));
}

html body { color: var(--study-ink); background-color: var(--study-paper); }
.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .65rem;
    color: var(--study-ink);
    text-decoration: none;
}
.site-brand img {
    display: block;
    flex: none;
    width: 40px;
    height: 40px;
    max-width: none;
    border-radius: 8px;
    object-fit: cover;
}
.site-brand-text { display: none; font-family: system-ui, sans-serif; }
.site-brand-name { display: block; font-size: .9375rem; line-height: 1.2; font-weight: 700; }
.site-brand-subtitle { display: block; font-size: .75rem; line-height: 1.3; font-weight: 500; color: var(--study-muted); }
@media (min-width: 640px) {
    .site-brand-text { display: block; }
}
body:not(.bg-gray-50) :is(h1,h2), .study-heading {
    color: var(--study-ink);
    font-family: var(--study-display);
    letter-spacing: -.035em;
    line-height: 1.13;
}
[dir="rtl"] body:not(.bg-gray-50) :is(h1,h2), [dir="rtl"] .study-heading {
    font-family: var(--font-farsi, Tahoma, sans-serif);
    letter-spacing: 0;
    line-height: 1.35;
}
body :is(.card,.card-accent,.admin-card,.stat-card) {
    border-color: var(--study-line);
    border-radius: 10px;
    box-shadow: 0 2px 10px #16352909;
}
.news-card-media {
    aspect-ratio: 4 / 3;
    padding: .5rem;
    background: var(--study-mint);
}
.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body .btn { border-radius: 7px; min-height: 40px; }
body .btn-primary { background: var(--study-forest); color: white; box-shadow: none; }
body .btn-primary:hover { background: var(--study-deep); box-shadow: none; }
body button[data-lang-switch] {
    min-inline-size: 40px;
    min-block-size: 36px;
    padding: .3rem .55rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--study-forest);
    font-weight: 700;
    cursor: pointer;
}
body button[data-lang-switch]:hover {
    border-color: var(--study-forest);
    background: var(--study-mint);
}
body button[data-lang-switch][aria-pressed="true"] {
    background: var(--study-forest);
    color: white;
}
body button[data-lang-switch][aria-pressed="true"]:hover { background: var(--study-deep); }
body button[data-lang-switch]:focus-visible {
    outline: 2px solid var(--study-forest);
    outline-offset: 2px;
}
@media (pointer: coarse) {
    body button[data-lang-switch] { min-inline-size: 44px; min-block-size: 44px; }
}
body :is(.glass,.admin-topbar) { background: var(--study-paper); border-color: var(--study-line); }
body .admin-sidebar { border-color: var(--study-line); background: #f0f6ef; }
body .sidebar-link.active { background: var(--study-mint); color: var(--study-forest); }
body .sidebar-logo { color: var(--study-ink); }
body .sidebar-link:focus-visible, body .topbar-toggle:focus-visible {
    outline: 2px solid var(--study-forest);
    outline-offset: 2px;
}
body .admin-topbar h1 { color: var(--study-ink); font-family: var(--study-display); }
.admin-communication-nav { margin-block-end: 1rem; }
.admin-message-actions { flex-wrap: wrap; }
.admin-message-actions .tab-btn { min-block-size: 44px; }
body button[data-assessment-language][aria-pressed="true"], body .study-toolbar a[aria-current="page"] {
    background: var(--study-forest);
    color: white;
}
#assessmentArea .study-workspace { margin-block-start: .75rem; }
body .log-navigation a[aria-current="page"] {
    background: var(--study-forest);
    color: white;
}
.log-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .75rem;
}
.log-filters .study-field { flex: 1 1 9.5rem; }
.log-filters .study-field:has(input[type="search"]) { flex: 2 1 15rem; }
#logList { grid-template-columns: minmax(0, 1fr); }
.log-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 .75rem;
    margin-block-end: .6rem;
}
.log-pattern {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    padding-block: .75rem;
    border-block-start: 1px solid var(--study-line);
}
.log-pattern > div { flex: 1 1 12rem; min-inline-size: 0; }
.log-pattern-total {
    font-weight: 700;
    background: var(--study-mint);
    color: var(--study-forest);
    border-radius: 6px;
    padding: .2rem .5rem;
}
.log-details { min-inline-size: 8.75rem; }
.log-details summary { cursor: pointer; color: var(--study-forest); font-weight: 600; }
.log-details dl { margin-block: .4rem; }
.log-details dt { font-weight: 600; }
.log-details dd { margin: 0 0 .4rem; max-inline-size: 28ch; overflow-wrap: anywhere; white-space: pre-wrap; }
.log-result { display: inline-block; padding: .2rem .45rem; border-radius: 5px; background: var(--study-mint); color: var(--study-deep); }
.log-result-error, .log-result-failure, .log-result-failed { background: #fce8e7; color: #94221c; }
.log-result-warning, .log-result-denied, .log-result-queued { background: #fff1d4; color: #704b06; }
.log-pager, #retentionForm { margin-block: .85rem; }
body .nav-link { color: var(--study-muted); }
body .nav-link:hover, body .nav-link.active { color: var(--study-forest); }
body .section-eyebrow { color: var(--study-forest); }
body .section-title { color: var(--study-ink); }
body :is(.section-subtitle, .stat-label, .empty-state-text) { color: var(--study-muted); }
body .input:focus { outline: 2px solid var(--study-forest); outline-offset: 2px; }
body :is(.btn, .nav-link):focus-visible { outline: 2px solid var(--study-forest); outline-offset: 2px; }
.study-muted, body .input::placeholder { color: var(--study-muted); }
body .input::placeholder { opacity: 1; }
.study-muted:is(a, button):is(:hover, :focus-visible) { color: var(--study-deep); }
body .toast-success { background: #047857; }
.study-dark-panel, .site-footer { color: var(--study-mint); }
.study-dark-panel { background: var(--study-forest); }
.site-footer { background: var(--study-deep); }
.site-footer-heading, .site-footer :is(a, a:hover, a:visited) { color: white; }
.site-footer-link {
    text-decoration: underline;
    text-decoration-color: var(--study-mint);
    text-underline-offset: .18em;
}
.site-footer-link:is(:hover, :focus-visible) { text-decoration-thickness: 2px; }
.site-footer a:focus-visible, .study-dark-panel .btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}
.site-footer-meta { border-block-start: 1px solid color-mix(in srgb, var(--study-mint) 32%, transparent); }
.site-footer #footerSocial { flex-wrap: wrap; }
.site-footer-social {
    display: inline-grid;
    place-items: center;
    inline-size: 44px;
    block-size: 44px;
    border-radius: 7px;
    background: color-mix(in srgb, var(--study-deep), white 12%);
}
.site-footer-social svg { inline-size: 1rem; block-size: 1rem; }
.site-footer-social:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--study-deep), white 23%); }
body .study-dark-panel .section-eyebrow { color: var(--study-mint); }
body .study-dark-panel .section-title { color: white; }
body .study-dark-panel .btn-on-dark {
    background: white;
    color: var(--study-deep);
}
body .study-dark-panel .btn-on-dark:hover { background: var(--study-mint); }
body .study-dark-panel .btn-on-dark-outline {
    border: 1px solid var(--study-mint);
    background: transparent;
    color: white;
}
body .study-dark-panel .btn-on-dark-outline:hover {
    background: color-mix(in srgb, var(--study-forest), white 12%);
}
body .stat-icon { background: var(--study-mint); color: var(--study-forest); }

.study-page-intro {
    padding-block: 7rem 3rem;
    background: var(--gradient-hero);
    border-block-end: 1px solid var(--study-line);
    text-align: center;
}
.study-page-intro h1 {
    margin: 0 0 .75rem;
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 700;
}
.study-page-intro p { max-width: 48ch; margin: 0 auto; color: var(--study-muted); }
.study-page-content { padding-block: 3rem; }
.placement-workspace { max-inline-size: 58rem; margin-inline: auto; }
.placement-workspace .study-status:empty { min-block-size: 0; }
.placement-workspace .study-toolbar a { min-block-size: 44px; }
.study-board { border-block-start: 1px solid var(--study-line); }
@media (min-width: 768px) {
    .study-page-intro { padding-block: 8rem 4rem; }
}
body .study-hero { padding: clamp(5.6rem,12vw,9rem) 0 clamp(2.7rem,7vw,5rem); background: var(--study-mint); border-block-end: 1px solid var(--study-line); }
.study-hero-layout { display: grid; align-items: center; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); gap: clamp(1.5rem,6vw,5rem); }
body .study-hero h1 { font-family: var(--study-display); font-size: clamp(2.6rem,6.2vw,5.1rem); line-height: 1.03; margin: .35em 0 .3em; color: var(--study-deep); }
[dir="rtl"] body .study-hero h1 { font-family: var(--font-farsi, Tahoma, sans-serif); line-height: 1.28; }
.study-hero-copy { font-size: clamp(1rem,2vw,1.22rem); color: var(--study-muted); max-width: 49ch; }
.study-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.15rem; }
.study-actions a, .study-actions button { min-height: 44px; }
.study-hero-guide { display: inline-flex; align-items: center; min-block-size: 44px; margin-block-start: .25rem; font-weight: 650; }
body .student-area-link { min-height: 44px; white-space: nowrap; }
.member-page-head .study-toolbar a { min-height: 44px; }
.study-route { background: var(--study-paper); border: 1px solid var(--study-line); border-radius: 11px; padding: clamp(1rem,3vw,1.7rem); }
.study-route h2 { font-size: clamp(1.45rem,3vw,2.2rem); margin: 0 0 .8rem; }
.study-route ol { list-style: none; counter-reset: study-step; padding: 0; margin: 0; }
.study-route li { counter-increment: study-step; position: relative; padding: .7rem 0 .7rem 2.8rem; min-height: 52px; border-block-end: 1px solid var(--study-line); }
[dir="rtl"] .study-route li { padding: .7rem 2.8rem .7rem 0; }
.study-route li:last-child { border: 0; }
.study-route li::before { content: counter(study-step); display: grid; place-items: center; position: absolute; inset-inline-start: 0; top: .65rem; height: 2rem; width: 2rem; border: 1px solid var(--study-line); border-radius: 50%; background: var(--study-mint); font-weight: 700; color: var(--study-forest); }
.study-route a { color: var(--study-forest); font-weight: 700; }
.study-route li p { margin: 0; color: var(--study-muted); font-size: .9rem; }
.study-guide-preview {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    margin-block-start: .65rem;
    padding: .65rem;
    border: 1px solid var(--study-line);
    border-radius: 8px;
    background: var(--study-mint);
}
.study-guide-preview[hidden] { display: none; }
.study-guide-preview-frames { display: grid; }
.study-guide-preview img { display: block; grid-area: 1 / 1; inline-size: 100%; block-size: auto; }
.study-guide-motion { min-block-size: 44px; padding-inline: .25rem; font-size: .9rem; }
.study-guide-motion:focus-visible { outline: 2px solid var(--study-forest); outline-offset: 2px; }
.study-guide-preview-title { display: block; text-decoration: underline; text-underline-offset: .18em; }
.study-guide-preview-copy { display: block; margin-block-start: .18rem; color: var(--study-muted); font-size: .9rem; font-weight: 400; }
.study-guide-preview:hover { border-color: var(--study-forest); }
.study-guide-preview:focus-visible { outline: 2px solid var(--study-forest); outline-offset: 2px; }
.study-portal-banner { background: var(--study-mint); border: 1px solid var(--study-line); border-radius: 10px; margin-block-end: 1.5rem; padding: clamp(1.1rem,4vw,2rem); }
.study-portal-banner h1 { margin: 0 0 .35em; font-size: clamp(1.8rem,5vw,2.7rem); }
.study-portal-banner p, .study-helper { color: var(--study-muted); }
.study-app-back { display: inline-block; color: var(--study-forest); margin-block-end: .55rem; }
.study-workspace { display: grid; gap: 1rem; margin-block-start: 1.35rem; }
.study-panel { border: 1px solid var(--study-line); border-radius: 10px; background: white; padding: clamp(.9rem,3vw,1.4rem); }
.study-panel h2 { font-size: clamp(1.35rem,3vw,1.9rem); margin-block: 0 .4rem; overflow-wrap: anywhere; }
.study-panel h3 { font-weight: 700; margin-block: 0 .45rem; overflow-wrap: anywhere; }
.study-placement-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-block-end: 1.5rem;
    background: var(--study-mint);
}
.study-placement-callout p { color: var(--study-muted); }
.study-placement-callout .btn { min-height: 44px; }
.study-info-panel { padding: clamp(1rem, 4vw, 2rem); }
.study-info-panel > p { color: var(--study-muted); }
.study-contact-method { display: flex; align-items: flex-start; gap: .85rem; }
.study-contact-method > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.study-contact-icon {
    display: grid;
    flex: none;
    place-items: center;
    inline-size: 40px;
    block-size: 40px;
    border-radius: 8px;
    background: var(--study-mint);
    color: var(--study-forest);
}
.study-contact-link { color: var(--study-forest); text-decoration: underline; text-underline-offset: .15em; }
.study-toolbar { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.study-view-nav .btn { min-block-size: 44px; white-space: normal; }
.study-exam-card { display: grid; gap: .35rem; }
.study-exam-card .study-toolbar { margin-block-start: .35rem; }
.study-panel.study-exam-card h2 { margin-block-end: .15rem; }
.study-grid { display: grid; gap: .85rem; }
.study-panel :is(button, a, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--study-forest);
    outline-offset: 3px;
}
[data-exam-connection] { border-inline-start: 3px solid var(--study-forest); padding-inline-start: .65rem; }
.study-field { display: grid; gap: .32rem; min-width: 0; }
.study-field > span { font-weight: 650; }
.study-form { display: grid; gap: 1rem; }
.study-exam-editor { scroll-margin-block-start: 6rem; }
.study-exam-publish {
    align-items: center;
    padding: .75rem .9rem;
    border: 1px solid var(--study-line);
    border-radius: 8px;
    background: var(--study-paper);
    cursor: pointer;
}
.study-exam-publish input {
    flex: none;
    inline-size: 1rem;
    block-size: 1rem;
    accent-color: var(--study-forest);
}
.study-exam-publish .study-helper { display: block; font-size: .875rem; }
.study-exam-editor-actions {
    position: sticky;
    inset-block-end: max(.5rem, env(safe-area-inset-bottom));
    z-index: 10;
    justify-content: space-between;
    padding: .55rem;
    border: 1px solid var(--study-line);
    border-radius: 8px;
    background: var(--study-paper);
    box-shadow: 0 2px 10px #0001;
}
.study-exam-editor-actions .btn { min-block-size: 44px; white-space: normal; }
.study-exam-editor :is(input, select, textarea) { scroll-margin-block-end: 4.5rem; }
@media (max-width: 700px) {
    .teacher-portal .study-exam-editor-actions { inset-block-end: calc(66px + env(safe-area-inset-bottom)); }
}
.study-question { border: 1px solid var(--study-line); border-radius: 8px; padding: .7rem; min-width: 0; display: grid; gap: .65rem; }
.study-question legend { font-weight: 700; padding-inline: .3rem; max-width: 100%; overflow-wrap: anywhere; white-space: pre-line; }
.study-sample-level { cursor: pointer; padding-block: .5rem; min-block-size: 44px; font-weight: 700; }
#placementSamples { scroll-margin-block-start: 5rem; }
.study-choice { display: flex; align-items: center; gap: .55rem; min-height: 44px; overflow-wrap: anywhere; }
.study-question p, .study-panel p { white-space: pre-line; overflow-wrap: anywhere; }
.study-status { color: var(--study-muted); min-height: 1.4em; }
.study-status[data-error="true"] { color: #a11823; }
.study-panel.study-exam-taking {
    --exam-sticky-top: 4.5rem;
    display: grid;
    gap: 1rem;
    inline-size: min(100%, 58rem);
    margin-inline: auto;
    padding: 0;
    border: 0;
    background: transparent;
    scroll-margin-block-start: var(--exam-sticky-top);
}
.member-portal .study-exam-taking { --exam-sticky-top: calc(3.75rem + env(safe-area-inset-top)); }
.study-attempt-navigation { justify-content: space-between; }
.study-attempt-navigation .btn {
    min-block-size: 44px;
    padding: .35rem .2rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: var(--study-forest);
    font-size: .875rem;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.study-attempt-intro {
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid var(--study-line);
    border-radius: 14px;
    background: linear-gradient(150deg, var(--study-mint), var(--study-paper));
}
.study-panel .study-attempt-intro h2 {
    margin-block-end: .35rem;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    line-height: 1.2;
}
.study-attempt-intro > .study-helper {
    font-size: .875rem;
    font-weight: 650;
}
.study-attempt-instructions {
    display: grid;
    gap: .45rem;
    margin-block-start: 1rem;
    padding-block-start: .9rem;
    border-block-start: 1px solid var(--study-line);
    font-size: .9rem;
    line-height: 1.55;
}
.study-attempt-instructions > :first-child { color: var(--study-ink); }
.study-attempt-instructions > :empty { display: none; }
.study-attempt-status, .study-attempt-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem 1rem;
    padding: .7rem .9rem;
    border: 1px solid var(--study-line);
    border-radius: 12px;
    background: white;
}
@media (min-height: 500px) {
    .study-attempt-status {
        position: sticky;
        inset-block-start: var(--exam-sticky-top);
        z-index: 15;
        box-shadow: 0 3px 12px #0001;
    }
}
.study-attempt-progress {
    flex: 1 1 9rem;
    display: grid;
    gap: .35rem;
    font-size: .875rem;
    font-weight: 700;
}
.study-attempt-meter {
    appearance: none;
    inline-size: 100%;
    block-size: .375rem;
    border: 0;
    border-radius: 1rem;
    background: var(--study-mint);
    color: var(--study-forest);
}
.study-attempt-meter::-webkit-progress-bar { border-radius: 1rem; background: var(--study-mint); }
.study-attempt-meter::-webkit-progress-value { border-radius: 1rem; background: var(--study-forest); }
.study-attempt-meter::-moz-progress-bar { border-radius: 1rem; background: var(--study-forest); }
.study-attempt-status [data-exam-timer] {
    padding: .4rem .65rem;
    border-radius: 7px;
    background: var(--study-mint);
    color: var(--study-ink);
    font-size: .85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.study-attempt-status .btn {
    min-block-size: 44px;
    padding: .35rem .6rem;
    color: var(--study-forest);
    font-size: .8rem;
    white-space: normal;
}
.study-attempt-question {
    padding: clamp(.85rem, 3vw, 1.4rem);
    border: 1px solid var(--study-line);
    border-radius: 12px;
    background: white;
}
.study-attempt-question fieldset { min-inline-size: 0; }
.study-attempt-prompt {
    display: grid;
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .65rem;
    inline-size: 100%;
    margin-block-end: .9rem;
    color: var(--study-ink);
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 650;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.study-attempt-number {
    display: grid;
    min-inline-size: 2rem;
    min-block-size: 2rem;
    place-items: center;
    padding-inline: .3rem;
    border-radius: 7px;
    background: var(--study-mint);
    color: var(--study-forest);
    font-size: .85rem;
    font-weight: 750;
}
.study-attempt-options { display: grid; gap: .45rem; }
.study-attempt-options .study-choice {
    gap: .7rem;
    padding: .55rem .75rem;
    border: 1px solid var(--study-line);
    border-radius: 8px;
    cursor: pointer;
}
.study-attempt-options .study-choice:hover { background: var(--study-paper); }
.study-attempt-options .study-choice:has(:checked) {
    border-color: var(--study-forest);
    background: var(--study-mint);
}
.study-attempt-options input[type="radio"] {
    flex: none;
    inline-size: 1rem;
    block-size: 1rem;
    accent-color: var(--study-forest);
}
.study-attempt-options .study-attempt-skip {
    border-color: transparent;
    color: var(--study-muted);
    font-size: .875rem;
}
.study-attempt-options textarea { min-block-size: 7rem; }
.study-attempt-footer { justify-content: space-between; }
.study-attempt-footer [data-exam-draft-status]:empty { display: none; }
.study-attempt-footer .study-toolbar { margin-inline-start: auto; }
.study-attempt-footer .btn { min-block-size: 44px; white-space: normal; }
.study-exam-taking :is(input, textarea) { scroll-margin-block-start: 8rem; }
@media (max-width: 570px) {
    .study-attempt-status { gap: .45rem .65rem; }
    .study-attempt-progress { flex-basis: 6rem; }
    .study-attempt-status .btn { margin-inline-start: auto; }
    .study-attempt-footer .study-toolbar { flex: 1 1 auto; }
    .study-attempt-footer .btn { flex: 1 1 auto; padding-inline: .65rem; }
}
.study-result { font-size: 1.3rem; font-weight: 700; }
.study-exam-result, .study-exam-history {
    inline-size: 100%;
    max-inline-size: 56rem;
    display: grid;
    gap: 1rem;
}
.study-exam-result { padding: clamp(1.15rem, 4vw, 2rem); }
.study-exam-result .study-result-metrics { max-inline-size: 38rem; }
.study-exam-result .study-result-metric { padding: .85rem 1rem; }
.study-exam-result .study-result-metric dd { font-size: clamp(1.5rem, 4vw, 2rem); }
.study-exam-feedback {
    border-inline-start: 3px solid var(--study-accent);
    border-radius: 8px;
    background: var(--study-paper);
    padding: .85rem 1rem;
}
.study-exam-history > h2 { margin: 0; }
.study-exam-history-list {
    display: grid;
    gap: .6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.study-exam-history-row {
    min-inline-size: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) auto;
    align-items: center;
    gap: .65rem 1rem;
    border: 1px solid var(--study-line);
    border-radius: 8px;
    padding: .8rem;
}
.study-exam-history-row h3 { margin-block-end: .15rem; }
.study-exam-history-row .study-helper { font-size: .88rem; }
.study-exam-history-row .btn { justify-self: start; min-block-size: 44px; white-space: normal; }
@media (max-width: 550px) {
    .study-exam-history-row { grid-template-columns: minmax(0, 1fr); }
}
.study-review-filters {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
    align-items: end;
}
.study-exam-submissions, .study-exam-review,
[data-exam-review-status] {
    scroll-margin-block-start: 6rem;
}
.study-exam-submissions {
    display: grid;
    gap: .75rem;
}
.study-review-list {
    max-block-size: min(60vh, 34rem);
    overflow-y: auto;
    margin: 0;
    padding: .25rem;
    list-style: none;
}
.study-review-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .75fr);
    align-items: center;
    gap: .7rem;
    border-block-end: 1px solid var(--study-line);
    padding: .7rem .25rem;
}
.study-review-row button {
    justify-content: flex-start;
    text-align: start;
    white-space: normal;
    overflow-wrap: anywhere;
}
.study-exam-review {
    inline-size: 100%;
    max-inline-size: 66rem;
    min-inline-size: 0;
    display: grid;
    gap: clamp(.85rem, 2vw, 1.35rem);
    padding: clamp(1rem, 3vw, 1.75rem);
}
.study-exam-review-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem 1rem;
    padding-block-end: 1rem;
    border-block-end: 1px solid var(--study-line);
}
.study-exam-review-identity { min-inline-size: 0; }
.study-exam-review-identity h2 { margin-block-end: .15rem; font-weight: 700; }
.study-exam-review-exam { font-size: 1.05rem; line-height: 1.35; }
.study-exam-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .8rem;
    margin-block-start: .45rem;
    font-size: .875rem;
}
.study-exam-review-overview, .study-exam-review-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
    gap: .8rem;
}
.study-exam-review-overview .study-result-metric { padding: .8rem; }
.study-exam-review-overview .study-result-metric dd { font-size: clamp(1.5rem, 4vw, 2rem); }
.study-exam-review-summary, .study-exam-review-grade, .study-exam-review-answers {
    min-inline-size: 0;
    border: 1px solid var(--study-line);
    border-radius: 8px;
}
.study-exam-review-summary, .study-exam-review-grade { padding: .75rem .9rem; }
.study-exam-review-summary [data-exam-answer-summary] { display: grid; gap: .2rem; }
.study-exam-review-summary .study-helper { font-size: .9rem; }
.study-exam-review-grade legend { padding-inline: .35rem; font-weight: 700; }
.study-exam-review .study-form > .btn { justify-self: start; }
.study-exam-review-private {
    border: 1px solid var(--study-line);
    border-inline-start: 3px solid var(--study-muted);
    background: white;
}
.study-exam-review-answers > summary {
    padding: .75rem .9rem;
    cursor: pointer;
    font-weight: 650;
}
.study-exam-review-answers[open] > summary { border-block-end: 1px solid var(--study-line); }
.study-exam-review-answers > .study-grid { padding: .8rem; }
@media screen {
    .study-result-report[open] {
        --report-gutter: clamp(.875rem, 3vw, 1.5rem);
        position: fixed;
        inset: 0;
        margin: auto;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: min(58rem, calc(100% - 1.5rem));
        max-height: min(50rem, calc(100dvh - 1.5rem));
        border: 1px solid var(--study-line);
        border-radius: 16px;
        padding: 0;
        overflow: hidden;
        background: white;
        color: var(--study-ink);
        box-shadow: 0 20px 72px #0003;
    }
    .study-result-report::backdrop { background: #12282088; }
    .study-report-header, .study-report-footer {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: .75rem var(--report-gutter);
    }
    .study-report-header {
        justify-content: space-between;
        border-block-end: 1px solid var(--study-line);
    }
    .study-report-header h2 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
    .study-report-header h2:focus { outline: none; }
    .study-report-footer { justify-content: flex-end; border-block-start: 1px solid var(--study-line); }
    .study-report-body {
        display: grid;
        align-items: start;
        gap: var(--report-gutter);
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: var(--report-gutter);
        background: color-mix(in srgb, var(--study-mint) 48%, white);
    }
    .study-report-options {
        min-inline-size: 0;
        margin: 0;
        padding: 0;
        border: 0;
    }
    .study-report-options legend {
        margin-block-end: .6rem;
        padding: 0;
        font-size: .9rem;
        font-weight: 700;
    }
    .study-report-choices {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
        gap: .35rem;
    }
    .study-report-option {
        display: flex;
        align-items: center;
        gap: .625rem;
        min-height: 44px;
        padding: .4rem .625rem;
        border: 1px solid var(--study-line);
        border-radius: 7px;
        background: white;
        font-size: .875rem;
        line-height: 1.35;
        cursor: pointer;
        overflow-wrap: break-word;
    }
    .study-report-option:hover { background: var(--study-paper); }
    .study-report-option:focus-within { outline: 2px solid var(--study-forest); outline-offset: 1px; }
    .study-report-option input[type="checkbox"] {
        appearance: auto;
        flex: none;
        inline-size: 1rem;
        block-size: 1rem;
        margin: 0;
        accent-color: var(--study-forest);
    }
    .study-report-preview {
        padding: clamp(.875rem, 3vw, 1.75rem);
        border: 1px solid var(--study-line);
        border-radius: 10px;
        background: white;
        box-shadow: 0 2px 6px #0001;
    }
}
@media screen and (min-width: 740px) {
    .study-report-body { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
}
.study-report-preview {
    display: grid;
    min-inline-size: 0;
    gap: 1rem;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.study-report-preview :is(h2, h3) { font-weight: 700; }
.study-report-letterhead {
    padding-block-end: .8rem;
    border-block-end: 1px solid var(--study-line);
}
.study-report-letterhead p { color: var(--study-muted); font-size: .85rem; font-weight: 650; }
.study-report-letterhead h2 { margin-block-start: .2rem; font-size: 1.3rem; line-height: 1.25; }
.study-report-identity { display: grid; gap: .15rem; font-size: .9rem; }
.study-report-student { font-size: 1.05rem; font-weight: 700; }
.study-result-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr));
    gap: .5rem;
}
.study-result-metric {
    min-inline-size: 0;
    border: 1px solid var(--study-line);
    border-radius: 8px;
    padding: .55rem .7rem;
    background: var(--study-paper);
}
.study-result-metric dt { color: var(--study-muted); font-size: .8rem; font-weight: 650; }
.study-result-metric dd {
    margin: .1rem 0 0;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    line-height: 1.25;
    font-weight: 750;
}
.study-report-comment h3 { margin-block-end: .2rem; }
@media (max-width: 650px) {
    .study-review-filters, .study-review-row { grid-template-columns: minmax(0, 1fr); }
    .study-review-row { gap: .25rem; }
}
@media print {
    body:has(.study-result-report[open]) > :not(.study-result-report),
    .study-report-controls,
    .study-report-options,
    .study-result-report::backdrop { display: none !important; }
    .study-result-report[open] {
        position: static;
        width: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        overflow: visible;
        padding: 0;
        border: 0;
        background: white;
        color: black;
    }
    .study-report-preview {
        display: block;
        padding: 14mm;
        box-decoration-break: clone;
    }
    .study-report-preview :is(h2, h3) { break-after: avoid; }
    .study-report-preview > * { margin-block-end: .7rem; }
    .study-report-letterhead, .study-report-identity, .study-result-metrics { break-inside: avoid; }
    .study-result-metric { background: white; border-color: #aaa; }
    .study-report-preview .study-question {
        display: block;
        border-color: #aaa;
        break-inside: avoid;
    }
}
[hidden] { display: none !important; }
@media (max-width: 690px) {
    .study-hero-layout { grid-template-columns: minmax(0,1fr); }
    .study-actions { align-items: stretch; }
    .study-actions > a { padding-inline: .8rem; }
    .placement-workspace .input { font-size: 1rem; }
    .study-panel .study-toolbar .btn { min-height: 44px; }
}


.enrollment-dialog {
    margin: auto;
    inline-size: min(calc(100% - 2rem), 36rem);
    max-block-size: 90dvh;
    overflow: auto;
    overflow-wrap: anywhere;
}
.enrollment-dialog::backdrop { background: #10251cb0; }
.enrollment-dialog h2 { margin: 0; }
.enrollment-dialog > .study-toolbar { justify-content: space-between; }
.enrollment-dialog .study-form .input { min-inline-size: 0; }
.enrollment-dialog #enrollmentSearch .input { flex: 1 1 12rem; inline-size: auto; }

.study-confirm-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    inline-size: min(calc(100% - 2rem), 28rem);
    max-block-size: calc(100dvh - 2rem);
    overflow: auto;
    overflow-wrap: anywhere;
    padding: clamp(1rem, 5vw, 1.5rem);
    color: var(--study-ink);
}
.study-confirm-dialog::backdrop { background: #10251cb0; }
.study-confirm-heading { display: flex; align-items: center; gap: .75rem; }
.study-confirm-heading h2 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.study-confirm-icon {
    display: grid;
    place-items: center;
    flex: 0 0 2rem;
    block-size: 2rem;
    border-radius: 50%;
    color: var(--study-ink);
    background: var(--study-mint);
    font-weight: 700;
}
.study-confirm-dialog p { margin: .8rem 0 1.2rem; }
.study-confirm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.study-confirm-actions .btn { min-block-size: 44px; }
.study-confirm-dialog:is([data-type="danger"], [data-type="error"]) .study-confirm-icon { background: #fee2e2; color: #991b1b; }
.study-confirm-dialog[data-type="warning"] .study-confirm-icon { background: #fef3c7; color: #92400e; }
.study-confirm-dialog[data-type="danger"] #confirmOk { background: #b42318; color: #fff; border-color: #b42318; }
.study-confirm-dialog[data-type="danger"] #confirmOk:hover { background: #912018; }

/* One student shell, with finger-sized tabs on phones. */
.member-portal { font-family: system-ui, sans-serif; }
.member-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 40;
    background: var(--study-paper);
    border-block-end: 1px solid var(--study-line);
}
.member-bar,
.member-content {
    inline-size: 100%;
    max-inline-size: 68rem;
    margin-inline: auto;
    padding-inline: max(.85rem, env(safe-area-inset-left), env(safe-area-inset-right));
}
.member-bar {
    display: flex;
    min-block-size: 54px;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.member-brand {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    min-block-size: 44px;
    color: var(--study-ink);
    font-weight: 750;
}
.member-brand img { border-radius: 6px; }
.member-menu { position: relative; }
.member-menu summary {
    min-block-size: 44px;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding-inline: .7rem;
    border: 1px solid var(--study-line);
    border-radius: 7px;
    cursor: pointer;
    color: var(--study-forest);
    font-weight: 650;
}
.member-menu summary::-webkit-details-marker { display: none; }
.member-menu summary::after {
    content: '';
    inline-size: .45rem;
    block-size: .45rem;
    border-inline-end: 1px solid;
    border-block-end: 1px solid;
    transform: rotate(45deg);
    margin-block-start: -.2rem;
}
.member-menu-panel {
    position: absolute;
    inset-block-start: calc(100% + .45rem);
    inset-inline-end: 0;
    inline-size: 11rem;
    display: grid;
    padding: .45rem;
    background: var(--study-paper);
    border: 1px solid var(--study-line);
    border-radius: 8px;
    box-shadow: 0 7px 25px #0002;
}
.member-menu-panel > :is(a, button) {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    padding-inline: .6rem;
    color: var(--study-forest);
    text-align: start;
    cursor: pointer;
}
.member-menu-panel > :is(a, button):hover { background: var(--study-mint); }
.member-languages { display: flex; gap: .3rem; padding-block-end: .35rem; border-block-end: 1px solid var(--study-line); }
.member-tabs { display: flex; gap: .25rem; align-items: stretch; }
.member-tabs > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-block-size: 44px;
    padding: .25rem .6rem;
    border-radius: 7px;
    color: var(--study-muted);
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
}
.member-tabs > a:is(:hover, [aria-current="page"], [aria-current="location"]) { background: var(--study-mint); color: var(--study-forest); }
.member-tabs > a:is([aria-current="page"], [aria-current="location"]) { box-shadow: inset 0 -2px var(--study-forest); }
.member-header :is(a, summary, button):focus-visible {
    outline: 2px solid var(--study-forest);
    outline-offset: 2px;
}
.member-tab-icon { position: relative; flex: none; }
.member-unread {
    position: absolute;
    inset-block-start: -.42rem;
    inset-inline-start: .75rem;
    min-inline-size: 1.05rem;
    padding-inline: .15rem;
    border-radius: 1rem;
    background: var(--study-forest);
    color: white;
    font: 700 .65rem/1.05rem system-ui, sans-serif;
    white-space: nowrap;
}
.member-content { padding-block: clamp(1rem, 4vw, 2.3rem); overflow-wrap: anywhere; }
.member-content:empty { display: none; }
.member-title { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.16; font-weight: 740; color: var(--study-ink); }
.teacher-account { display: flex; align-items: center; gap: .65rem; min-inline-size: 0; }
.teacher-account > span { max-inline-size: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.teacher-portal .input { min-inline-size: 0; }
.teacher-portal .study-toolbar a { min-block-size: 44px; }
.member-page-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .55rem 1rem; margin-block-end: 1rem; }
.member-content:has(.study-exam-taking) .member-page-head { display: none; }
.member-content .study-workspace:has(> .study-exam-taking) { margin-block-start: 0; }
.member-content #assessmentStatus:empty { min-block-size: 0; }
.member-placement {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .55rem 1rem;
    margin-block-end: .85rem;
    padding: clamp(.85rem, 3vw, 1.4rem);
    border: 1px solid var(--study-line);
    border-radius: 10px;
    background: var(--study-mint);
}
.member-placement h2 { font-weight: 700; color: var(--study-ink); }
.member-placement .btn { min-height: 44px; }
.member-placement[data-placement-state="graded"] { padding-block: .55rem; background: white; }
.staff-class-workspace { margin-block-end: 1rem; }
.study-panel .staff-class-heading, .staff-class-heading {
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    margin-block-end: .55rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.staff-class-workspace .study-toolbar { margin-block-start: .85rem; }
.staff-class-workspace .btn, .staff-materials .btn, .staff-class-actions .btn,
.staff-class-actions .action-btn, .staff-assignment-choice { min-height: 44px; }
#classDetails, #classMaterials { scroll-margin-block-start: 5rem; }
.staff-materials input[type="file"] { max-inline-size: 100%; }
@media (max-width: 700px) {
    .staff-classes-table, .staff-classes-table tbody, .staff-classes-table tr { display: block; }
    .staff-classes-table thead { display: none; }
    .staff-classes-table tr + tr { border-block-start: 1px solid var(--study-line); }
    .staff-classes-table tbody td { display: block; border: 0; padding-block: .35rem; }
    .staff-classes-table td:empty { display: none; }
    .staff-classes-table td:is(:nth-child(2), :nth-child(3), :nth-child(5)) { display: none; }
    .staff-classes-table td:first-child { padding-block-start: .8rem; }
    .staff-classes-table td:last-child { padding-block-end: .8rem; }
}
.member-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.member-summary > a { color: var(--study-ink); }
.member-summary strong { display: block; font-size: 1.55rem; color: var(--study-forest); }
.member-inbox-list button {
    inline-size: 100%;
    padding: .65rem .85rem;
    min-block-size: 52px;
    text-align: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .2rem .6rem;
    color: var(--study-ink);
    cursor: pointer;
    border-block-end: 1px solid var(--study-line);
}
.member-inbox-list button:last-child { border-block-end: 0; }
.member-inbox-list button:is(:hover, [data-unread="true"]) { background: var(--study-mint); }
.member-inbox-list button:focus-visible { outline: 2px solid var(--study-forest); outline-offset: -2px; }
.member-inbox-list button[data-unread="true"] .member-message-subject { font-weight: 750; }
.member-message-preview { grid-column: 1 / -1; }
.member-inbox-list .member-message-preview,
.member-inbox-list .member-message-subject { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-message-body { white-space: pre-wrap; }
.message-page-title { margin-block-end: .75rem; }
.member-message-status:empty { display: none; }
.class-message-tabs { margin-block-end: 1rem; }
#classMessages .study-status:empty { display: none; }
#classMessages .study-status:not(:empty) { margin-block-end: .65rem; }
#classMessages .study-grid > button, #classMessages .study-form > button { justify-self: start; }
#classMessages .btn { min-block-size: 44px; white-space: normal; }
.class-message-list { border: 1px solid var(--study-line); border-radius: 8px; }
.class-message-list button > .study-helper:last-child { grid-column: 1 / -1; }
.class-message-list time { font-size: .85rem; }
.class-message-list > p { padding: .75rem; }
.class-message-entry {
    padding: .8rem 1rem;
    border: 1px solid var(--study-line);
    border-radius: 8px;
    background: var(--study-paper);
    overflow-wrap: anywhere;
}
.class-message-entry[data-message-author="instructor"] { border-inline-start: 3px solid var(--study-forest); }
.class-message-entry header { display: flex; flex-wrap: wrap; gap: .2rem .85rem; margin-block-end: .4rem; }
.class-message-entry time { font-size: .85rem; }
@media (max-width: 700px) {
    :root:has(.member-portal) { scroll-padding-block: 60px calc(74px + env(safe-area-inset-bottom)); }
    .member-portal { padding-block-end: calc(66px + env(safe-area-inset-bottom)); }
    .member-bar { padding-block-start: env(safe-area-inset-top); }
    .member-tabs {
        position: fixed;
        inset-inline: 0;
        inset-block-end: 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        border-block-start: 1px solid var(--study-line);
        background: var(--study-paper);
        padding: .24rem max(.25rem, env(safe-area-inset-right)) calc(.25rem + env(safe-area-inset-bottom)) max(.25rem, env(safe-area-inset-left));
    }
    .member-tabs > a {
        flex-direction: column;
        gap: .15rem;
        min-block-size: 48px;
        padding: .2rem .1rem;
        font-size: .7rem;
    }
    .teacher-account > span { display: none; }
    .member-tabs > a:is([aria-current="page"], [aria-current="location"]) { box-shadow: inset 0 2px var(--study-forest); }
    .member-portal .btn { min-block-size: 44px; }
    .member-portal .input { font-size: 1rem; }
}

.student-guide-intro { padding-block: 5.4rem 1.35rem; }
.student-guide {
    display: grid;
    align-items: start;
    justify-items: center;
    gap: 1rem;
    max-inline-size: 56rem;
    padding-block: 1rem 2.5rem;
}
.student-guide-caption, .student-guide-transcript, .student-guide-controls { inline-size: 100%; }
.student-guide-caption h2 { margin-block: .3rem .4rem; }
.student-guide-caption .study-contact-link { display: inline-block; margin-block-start: .85rem; }
.student-guide-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem .7rem;
    padding-block: .45rem;
}
.student-guide-controls[hidden] { display: none; }
.student-guide-controls .btn { min-block-size: 44px; padding-inline: .75rem; }
.student-guide-controls button:disabled { opacity: .65; cursor: default; }
.student-guide-visual { inline-size: min(100%, 22.5rem); margin: 0; }
.student-guide-visual img { display: block; inline-size: 100%; block-size: auto; }
.student-guide-transcript ol { display: grid; gap: .7rem; padding: .8rem 1.25rem; list-style: decimal; }
.student-guide-transcript h3 { margin: 0; }
.student-guide-transcript .study-contact-link { display: inline-block; margin-block-start: .65rem; }
@media (min-width: 48rem) {
    .student-guide { grid-template-columns: minmax(0, 22.5rem) minmax(0, 1fr); }
    .student-guide-controls { grid-column: 2; grid-row: 1; align-self: end; }
    .student-guide-visual { grid-column: 1; grid-row: 1 / 3; }
    .student-guide-caption { grid-column: 2; grid-row: 2; }
    .student-guide-transcript { grid-column: 1 / -1; }
}
