/* Learning UI follows the site's turquoise, warm paper and pale green palette. */
:is(.student-dialog,.student-unit-progress,.student-dashboard,.student-reader-panel) [hidden]{display:none!important}
.student-nav{display:flex;align-items:center;flex-shrink:0}
.student-nav-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:8px 11px;border:1px solid #a0decb40;border-radius:7px;background:transparent;color:#bcddd3;font:550 13px/1.3 system-ui;white-space:nowrap;text-decoration:none;cursor:pointer;box-sizing:border-box}
.student-nav-action svg{display:block;width:20px;height:20px;flex-shrink:0}
.student-nav-action[data-personalized=true] span{min-width:0;max-width:120px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
.student-nav-action[data-personalized=true] bdi{display:block;overflow:hidden;text-overflow:ellipsis}
[data-student-start][data-personalized=true]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}
.student-nav-action:hover{color:#e3f2e8;border-color:#a0decb88;background:#a0decb0c}
.student-nav-action:focus-visible,.student-reader-close:focus-visible{outline:2px solid #bce4af;outline-offset:3px}
.topbar .student-nav{margin-inline-start:4px}.topbar .deck-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.student-mobile-nav{padding:0 0 12px;margin-bottom:8px;border-bottom:1px solid #a0decb33}.student-mobile-nav .student-nav-action{display:flex;width:100%;justify-content:flex-start;font-size:15px;border:0}
.student-reader-panel{position:fixed;inset-block:0;inset-inline-start:auto;inset-inline-end:0;margin:0;width:min(390px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:0;border:0;border-inline-start:1px solid #a0decb40;border-radius:0;background:#0e2028;color:#dce8e2;box-shadow:-12px 0 70px #0005;font:16px/1.6 system-ui}
.student-reader-panel::backdrop{background:#020a1166}
.student-reader-header{display:flex;align-items:flex-start;gap:12px;padding:28px 24px 22px;border-bottom:1px solid #a0decb30}.student-reader-header>div{min-width:0;flex:1}.student-reader-header p{margin:0 0 8px;color:#a0decb;font-size:13px}.student-reader-header h2{font:500 23px/1.4 Georgia,serif;color:#f1e4bf;margin:0;overflow-wrap:anywhere}
.student-reader-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;padding:7px;border:1px solid #a0decb33;border-radius:6px;background:transparent;color:#c3d9d0;cursor:pointer}.student-reader-close svg{width:20px;height:20px}
.student-reader-body{padding:24px}.student-reader-panel .student-unit-progress{margin:0;padding:0;border:0}.student-reader-panel .student-unit-progress h3{margin:6px 0 22px;color:#e1eae0;font:550 18px/1.5 system-ui}.student-reader-page{margin:0;color:#a0decb;font:500 13px/1.5 ui-monospace,monospace;text-align:start}.student-reader-panel .student-actions{display:grid;grid-template-columns:1fr}.student-reader-panel .student-actions .student-btn{justify-content:flex-start;min-height:46px}.student-reader-note{margin:20px 0 24px;color:#9dbbb0;font-size:13px;line-height:1.7}.student-reader-account{border-top:1px solid #a0decb30;padding-top:20px}.student-reader-account .student-link{padding:0;min-height:36px;border:0;border-radius:0;background:none;color:#a0decb;text-decoration:underline;text-underline-offset:4px}
html[data-theme=light] .student-nav-action{color:#245f5d;border-color:#2f79774d}html[data-theme=light] .student-nav-action:hover{background:#2f797712}
@media(max-width:1379px){.secondary-shell-controls>.student-nav .student-nav-action>span{max-width:120px;white-space:normal;text-align:start}.topbar .student-nav-action>span{display:none}.student-mobile-nav .student-nav-action>span{display:inline}}
@media(max-width:700px){.secondary-shell-controls>.student-nav{display:none}.topbar .student-nav-action{width:38px;min-height:38px;padding:8px}.topbar .student-nav-action>span{display:none}.student-reader-panel{inset-block-start:auto;inset-block-end:8px;inset-inline:8px;width:calc(100% - 16px);height:auto;max-height:82dvh;border:1px solid #a0decb40;border-radius:16px}.student-reader-header{padding:20px}.student-reader-body{padding:20px}.topbar .reader-contents{max-width:48vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.student-dashboard{margin:48px auto 60px;max-width:1200px;color:#e6ece8;font:18px/1.65 system-ui,sans-serif}
.student-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;margin-bottom:36px;padding:28px 0 36px;border-bottom:1px solid #a0decb30}
.student-hero h1{color:#f1e8d0;font:500 clamp(36px,4vw,58px)/1.15 Georgia,serif;letter-spacing:-1px;margin:12px 0 22px;max-width:14ch}
.student-hero>div>p:not(.student-eyebrow){color:#bdd2ca;max-width:48ch}
.student-hero img{width:100%;height:auto;max-height:350px;object-fit:cover;border-radius:18px;mask-image:linear-gradient(to right,transparent,#000 18%)}
.student-eyebrow{color:#bce4af;text-transform:uppercase;letter-spacing:2px;font:600 13px/1.6 system-ui}
.student-btn,.student-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:8px;font:600 15px/1.4 system-ui;text-decoration:none;cursor:pointer;border:1px solid #a0decb65;background:#173e3e;color:#c0eedf;transition:background .16s,border-color .16s}
.student-btn:hover,.student-link:hover{background:#24534c;border-color:#a0decb}.student-btn.primary{background:#a0decb;border-color:#a0decb;color:#102b2d}.student-btn:disabled{opacity:.7;cursor:default}
.student-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.student-actions>p{width:100%;margin:8px 0;color:#bdd2ca;overflow-wrap:anywhere}
.student-profile{width:100%;margin:2px 0 10px;font:15px/1.6 system-ui;color:#bed4cc}.student-profile summary{cursor:pointer;color:#a0decb;min-height:30px;text-underline-offset:4px}.student-profile form{padding:14px 0 6px}.student-profile label{display:block;margin-bottom:9px;color:#bed4cc}.student-profile-fields{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.student-profile input{min-width:0;flex:1;width:160px;box-sizing:border-box;border:1px solid #739b9180;border-radius:8px;background:#07171e;color:#f3f0e5;padding:10px 12px;font:17px/1.5 system-ui}.student-profile input:focus-visible,.student-profile summary:focus-visible{outline:2px solid #bce4af;outline-offset:3px}
.student-dashboard .student-hero h1{overflow-wrap:anywhere}
.student-signup-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px}.student-signup-fields>div{min-width:0}
@media(max-width:540px){.student-signup-fields{grid-template-columns:1fr;gap:0}}
html[data-theme=light] .student-profile summary{color:#245f5d}html[data-theme=light] .student-profile label{color:#426960}
.student-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.student-course{background:linear-gradient(135deg,#132e30,#101c25);border:1px solid #a0decb33;border-radius:14px;padding:24px;min-width:0;position:relative;overflow:hidden}.student-course:before{content:'';display:block;width:46px;height:3px;background:linear-gradient(90deg,#a0decb,#eac887);margin-bottom:20px}
.student-course h2{font:500 24px/1.4 Georgia,serif;color:#eadfbc;margin:0 0 20px}.student-course p{color:#b9cec8;font-size:15px}.student-course progress{display:block;width:100%;height:6px;accent-color:#a0decb;margin:14px 0}.student-counts{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0;list-style:none;font-size:14px;color:#c8d9cf}.student-counts strong{color:#bce4af;font-size:20px;font-variant-numeric:tabular-nums}
.student-explainer{font:15px/1.7 system-ui;color:#9db9af;margin:30px 0}.student-back{color:#a0decb;text-underline-offset:4px}.student-empty{padding:28px;border-inline-start:3px solid #a0decb;background:#12313166;color:#d1e0d9}.student-status{min-height:1.5em;font:14px/1.6 system-ui;color:#bce4af;margin:8px 0}.student-status[data-error=true]{color:#ffccad}
.student-dialog{margin:auto;box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:30px;border:1px solid #a0decb65;border-radius:16px;background:#10242b;color:#e7eee9;box-shadow:0 24px 100px #0008;font:17px/1.65 system-ui}.student-dialog::backdrop{background:#020c13c9;backdrop-filter:blur(5px)}.student-dialog h2{font:500 30px/1.3 Georgia,serif;color:#efe2bc;margin:12px 0 18px}.student-dialog p{color:#bed4cc}.student-dialog label{display:block;font-size:15px;color:#a0decb;margin:18px 0 8px}.student-dialog input{box-sizing:border-box;display:block;width:100%;min-width:0;background:#07171e;border:1px solid #739b9180;border-radius:8px;color:#f3f0e5;padding:12px;font:18px/1.5 system-ui}.student-dialog input[autocomplete=one-time-code]{font:28px/1.6 ui-monospace,monospace;letter-spacing:6px;text-align:center}.student-dialog .student-btn{margin-top:18px}.student-dialog .student-close{float:inline-end;margin:0;padding:7px 12px}.student-dialog .student-privacy{font-size:13px;color:#a9c1b8}.student-dialog input:focus,.student-btn:focus-visible,.student-link:focus-visible{outline:2px solid #bce4af;outline-offset:3px}
.student-unit-progress{padding:20px 0 8px;border-top:1px solid #a0decb40;margin-top:24px;color:#b6d8ca}.student-unit-progress .student-actions{gap:8px}.student-unit-progress .student-btn[aria-pressed=true]{color:#c8edb9;border-color:#a0decb85;background:#23483f}.student-unit-progress .student-feedback{display:inline-block;font:14px/1.5 system-ui;color:#bce4af;margin:10px 0}.student-account-row{margin:0 0 16px!important;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.student-account-row a{font:14px/1.4 system-ui;color:#a0decb;text-decoration:underline;text-underline-offset:3px}
html[data-theme=light] .student-dashboard{color:#23474a}html[data-theme=light] .student-hero h1{color:#214b4d}html[data-theme=light] .student-hero>div>p:not(.student-eyebrow),html[data-theme=light] .student-explainer{color:#426960}html[data-theme=light] .student-eyebrow{color:#407255}
@media(max-width:700px){.student-dashboard{margin-top:12px}.student-hero{grid-template-columns:1fr;gap:4px;padding-top:14px}.student-hero img{grid-row:1;max-height:190px;mask-image:linear-gradient(to bottom,#000 45%,transparent)}.student-hero h1{max-width:none;font-size:38px}.student-courses{grid-template-columns:1fr}.student-dialog{padding:22px}.student-library-entry{padding:18px}.student-unit-progress .student-actions{align-items:stretch}.student-unit-progress .student-btn{flex:1;min-width:110px}}
@media(prefers-reduced-motion:reduce){.student-btn,.student-link{transition:none}}
/* Private learning summaries stay in the account and the existing reader drawer. */
.student-completion{display:inline-flex;align-items:center;gap:6px;color:#aaccc1;font:600 13px/1.5 system-ui}.student-completion[data-completed=true]{color:#c9e8a6}
.student-course>.student-completion{margin-bottom:12px}.student-course-fraction{margin:0 0 8px!important}.student-course-time strong{color:#eac887;font-variant-numeric:tabular-nums}
.student-course-overview{padding:0 0 20px;margin-bottom:22px;border-bottom:1px solid #a0decb33}.student-course-overview>p{margin:10px 0;color:#b9d1c6;font:14px/1.6 system-ui}.student-course-overview progress{width:100%;height:7px;accent-color:#bce4af}.student-course-overview .student-study-time{margin-top:18px}.student-study-value{color:#eac887;font-variant-numeric:tabular-nums}.student-course-overview .student-clock-status{font-size:12px;color:#a5baaf}.student-clock-status[data-running=true]::before{content:'●';color:#bce4af;margin-inline-end:6px}.student-course-overview .student-clock-note{font-size:12px;color:#9db5ab}
.student-page-checklist{margin-top:18px;color:#a0decb;font:15px/1.5 system-ui}.student-page-checklist summary{cursor:pointer;min-height:36px}.student-page-checklist nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding-top:10px}.student-page-checklist button{min-width:0;min-height:42px;border:1px solid #a0decb40;border-radius:6px;background:#112e33;color:#c5d9d0;font:550 13px/1.5 system-ui;cursor:pointer}.student-page-checklist button[data-completed=true]{border-color:#bce4af;background:#244b3c;color:#d2edbd}.student-page-checklist button[aria-current=page]{outline:2px solid #eac887;outline-offset:1px}.student-page-checklist button:focus-visible{outline:3px solid #a0decb;outline-offset:2px}
.student-progress-count{display:inline-grid;place-items:center;min-width:30px;padding:3px 5px;border-radius:4px;background:#a0decb14;color:#bce4af;font:650 12px/1.4 system-ui;font-variant-numeric:tabular-nums}.student-progress-count[data-completed=true]{background:#bce4af24}
.student-library-progress{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0 0 18px;font:13px/1.6 system-ui;color:var(--text-muted,#a9c4b7)}
html[data-theme=light] .student-course>.student-completion{color:#bce4af}html[data-theme=light] .student-library-progress .student-completion{color:#245f5d}
@media(max-width:700px){.topbar .student-nav-action[data-student-progress]{width:auto;min-width:44px;padding:7px}.topbar .student-nav-action[data-student-progress] svg{display:none}.topbar .student-nav-action[data-student-progress] .student-progress-count{min-width:24px;padding:0}}

.student-dashboard{width:calc(100% - 64px)}
.student-dashboard-summary{display:flex;flex-wrap:wrap;gap:20px 48px;padding:20px 0;border-block:1px solid #a0decb30;margin:0 0 18px}.student-dashboard-summary>div{display:flex;flex-direction:column;gap:5px;min-width:90px}.student-dashboard-summary strong{color:#bce4af;font:600 30px/1.2 Georgia,serif;font-variant-numeric:tabular-nums}.student-dashboard-summary>div+div strong{color:#eac887}.student-dashboard-summary span,.student-account-note{color:#b0c8bd;font:14px/1.7 system-ui}.student-account-note{max-width:80ch;margin:0 0 26px}html[data-theme=light] .student-dashboard-summary strong{color:#245f5d}html[data-theme=light] .student-dashboard-summary>div+div strong{color:#805a24}html[data-theme=light] .student-dashboard-summary span,html[data-theme=light] .student-account-note{color:#426960}
@media(max-width:700px){.student-dashboard{width:calc(100% - 32px)}}
.student-google[hidden]{display:none!important}
.student-google{margin:18px 0 24px}
.student-google-button{display:flex;justify-content:center;min-height:44px}
.student-google-divider{display:flex;align-items:center;gap:12px;margin:20px 0 0!important;color:#aebfb8!important;font:400 14px/1.5 Inter,system-ui!important;text-align:center}
.student-google-divider::before,.student-google-divider::after{content:'';height:1px;background:#a0decb30;flex:1}

/* The account opens with a quiet study desk, keeping the existing lesson art. */
.student-dashboard .student-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(28px,4vw,58px);padding:clamp(24px,3.4vw,46px);margin:0 0 36px;border:1px solid #73cfc333;border-radius:18px;background:#0d2029e8;box-shadow:0 18px 50px #020a1324;overflow:hidden}
.student-dashboard .student-hero>div{min-width:0}
.student-dashboard .student-eyebrow{color:#8ed8cf;letter-spacing:.12em;margin:0 0 18px}
.student-dashboard .student-hero h1{font-size:clamp(34px,3.7vw,52px);line-height:1.14;letter-spacing:-.025em;margin:0 0 20px;max-width:16ch;overflow-wrap:break-word;text-wrap:balance}
.student-dashboard .student-hero>div>p:not(.student-eyebrow){font-size:18px;line-height:1.75;margin:0 0 26px;color:#bbd0ca}
.student-dashboard .student-hero>img{display:block;height:100%;max-height:390px;min-height:290px;aspect-ratio:1.3;object-fit:cover;object-position:65% center;border:1px solid #94cabb24;border-radius:11px;mask-image:none}
.student-dashboard #student-actions>.student-btn.primary{background:#a0decb;border-color:#a0decb;color:#102b2d;min-height:48px;padding:12px 22px}
.student-dashboard .student-empty{display:flex;align-items:center;gap:15px;padding:22px 24px;margin:0;border:1px solid #73cfc329;border-radius:10px;background:#0d202980;font-size:16px;color:#bfd6cb}
.student-dashboard .student-empty::before{content:'';display:block;flex:0 0 20px;width:20px;height:20px;border:1px solid #83cabe;border-radius:50%;box-shadow:inset 0 0 0 6px #0d2029}
.student-dashboard .student-explainer{max-width:78ch;margin:26px 0 14px;font-size:14px;line-height:1.8}
.student-dialog{padding:30px 32px 28px;border-color:#71c5ba55;border-radius:18px;background:#10242b;box-shadow:0 28px 100px #0009}
.student-dialog::before{content:'';display:block;width:38px;height:3px;margin-bottom:20px;background:#86d2c5;border-radius:3px}
.student-dialog h2{font-size:30px;line-height:1.25;letter-spacing:-.02em;margin:4px 0 14px;max-width:90%}
.student-dialog>.student-close{position:absolute;inset-inline-end:20px;inset-block-start:18px;border-color:transparent;background:transparent;min-width:36px;min-height:36px;padding:6px 9px;color:#b9d0c9}
.student-dialog>.student-close:hover{background:#a0decb12;border-color:#a0decb35}
.student-dialog .student-signup-fields{grid-template-columns:1fr;gap:0}
.student-dialog label{margin:18px 0 7px;color:#c0d9d1;font-size:14px}
.student-dialog input{padding:12px 14px;border-color:#83b1a855;border-radius:9px;background:#091b22;font-size:17px;min-height:48px}
.student-dialog form>.student-btn[type=submit]{width:100%;min-height:48px;margin-top:24px;background:#a0decb;border-color:#a0decb;color:#102b2d}
.student-dialog .student-google{padding:4px 0 0;margin:22px 0 8px}
.student-dialog .student-google-divider{margin-top:22px!important;font-size:13px!important}
.student-dialog .student-privacy{padding-top:16px;margin:22px 0 0;border-top:1px solid #a0decb26;line-height:1.75;font-size:12px;color:#a8c1b6}
html[data-theme=light] .student-dashboard .student-hero{background:#fffaf0ed;border-color:#2d79752e;box-shadow:0 16px 44px #1b494209}
html[data-theme=light] .student-dashboard .student-eyebrow{color:#236b63}
html[data-theme=light] .student-dashboard .student-hero>div>p:not(.student-eyebrow){color:#426960}
html[data-theme=light] .student-dashboard .student-empty{background:#fffaf0b3;border-color:#2d79752e;color:#426960}
html[data-theme=light] .student-dashboard .student-empty::before{border-color:#398d82;box-shadow:inset 0 0 0 6px #fffaf0}
html[data-theme=light] .student-dialog{background:#fffaf0;color:#23474a;border-color:#2d797550}
html[data-theme=light] .student-dialog h2{color:#214b4d}
html[data-theme=light] .student-dialog p,html[data-theme=light] .student-dialog label{color:#426960}
html[data-theme=light] .student-dialog input{background:#fffef8;color:#23474a;border-color:#2d79754d}
html[data-theme=light] .student-dialog .student-close{color:#426960}
html[data-theme=light] .student-dialog .student-privacy{border-color:#2d79752e;color:#58756c}
html[data-theme=light] .student-dialog .student-google-divider{color:#58756c!important}
html[data-theme=light] .student-dialog .student-google-divider::before,html[data-theme=light] .student-dialog .student-google-divider::after{background:#2d79752e}
@media(max-width:760px){.student-dashboard .student-hero{grid-template-columns:1fr;gap:26px;padding:26px 22px}.student-dashboard .student-hero>img{height:auto;min-height:0;max-height:240px;aspect-ratio:1.9;object-position:65% 57%}.student-dashboard .student-hero h1{max-width:20ch;font-size:38px}.student-dashboard .student-hero>div>p:not(.student-eyebrow){font-size:17px;line-height:1.7;margin-bottom:22px}.student-dashboard .student-empty{padding:18px;font-size:15px}}
@media(max-width:420px){.student-dialog{padding:26px 23px 22px}.student-dialog h2{font-size:28px}.student-dashboard .student-hero h1{font-size:34px}.student-dialog>.student-close{inset-inline-end:14px;inset-block-start:14px}}
