/* Student workspace. Motion stays around the artwork; learning controls remain stable. */
.account-page{background:#0a0e10;--header-height:82px}
.account-shell{width:min(1450px,calc(100% - 80px));margin-inline:auto}
.account-footer .footer-legal{padding:0}
.account-header{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}
.account-header nav{display:flex;align-items:center;gap:26px;font-size:.875rem;color:var(--muted)}
.account-header nav a:hover{color:var(--accent)}
.account-header .brand-name>span{font-size:.65rem}
.account-badge{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--line);padding:5px 10px;border-radius:4px;font: .7rem/1.5 'Courier New',monospace;letter-spacing:.06em;color:var(--muted)}
.account-badge::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px #91ffe155}
.account-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;background:#152420;border:1px solid #91ffe12d;border-radius:5px;font-size:.875rem;color:#c1d8d0;margin:24px 0}
.account-notice p+p{margin-top:6px}.account-notice a{text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.account-notice.error{background:#321c1e;border-color:#ff929044;color:#ffc3bd}
.account-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin:45px 0 36px}
.account-intro h1{font-size:clamp(2.4rem,4vw,4rem);letter-spacing:-.055em}
.account-intro .eyebrow{margin-bottom:14px}
.account-intro p:last-child{color:var(--muted);font-size:.9375rem;margin-top:16px}
.student-identity{display:flex;align-items:center;gap:12px;max-width:320px;font-size:.8rem;color:var(--muted)}
.student-avatar{flex:none;width:43px;height:43px;border-radius:50%;background:#162f28;border:1px solid #91ffe132;display:grid;place-items:center;font-size:.9rem;color:var(--accent);font-weight:700}
.student-identity strong{display:block;font-size:.875rem;color:var(--text);font-weight:400}.student-email{overflow-wrap:anywhere}
.classroom-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:32px;align-items:start}
.course-sidebar{position:sticky;top:24px;border:1px solid var(--line);border-radius:6px;background:#0e1416;overflow:hidden}
.sidebar-cover{height:126px;position:relative;padding:22px;overflow:hidden;background:#14262a}
.sidebar-cover img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 50%;opacity:.52}
.sidebar-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0d1518e6,transparent)}
.sidebar-cover>div{position:relative;z-index:1;padding-top:24px}
.sidebar-cover strong{font-size:1.7rem;letter-spacing:-.025em;display:block;line-height:1.1}
.sidebar-cover .mono{font-size:.62rem;color:#d1e5df}
.course-progress{padding:20px 20px 22px;border-bottom:1px solid var(--line)}
.progress-heading{display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted);margin-bottom:11px}.progress-heading strong{font-weight:400;color:var(--accent)}
.course-progress progress{display:block;width:100%;height:3px;appearance:none;border:0;border-radius:3px;background:#263432}
.course-progress progress::-webkit-progress-bar{background:#263432}.course-progress progress::-webkit-progress-value{background:var(--accent);transition:width .3s}.course-progress progress::-moz-progress-bar{background:var(--accent)}
.course-progress p{font-size:.7rem;color:var(--subtle);margin-top:10px}
.lesson-list{list-style:none;padding:10px 8px;margin:0}
.lesson-button{width:100%;text-align:left;display:grid;grid-template-columns:25px 1fr 17px;align-items:center;gap:10px;padding:14px 11px;color:var(--muted);border:1px solid transparent;border-radius:4px;font-size:.815rem;line-height:1.3;transition:background .2s,border-color .2s,color .2s}
.lesson-button:hover{background:#172121;color:var(--text)}
.lesson-button[aria-current="step"]{background:#18302a;border-color:#91ffe138;color:var(--accent)}
.lesson-index{font:.65rem/1.4 'Courier New',monospace;color:var(--subtle)}
.lesson-button[aria-current="step"] .lesson-index{color:var(--accent)}
.lesson-state{font-size:.8rem;color:var(--subtle);text-align:center}.lesson-state.is-done{color:var(--accent)}
.sidebar-resources{border-top:1px solid var(--line);padding:17px 20px;font-size:.8rem;display:flex;align-items:center;justify-content:space-between;color:#bed4cd}.sidebar-resources:hover{color:var(--accent)}
.lesson-workspace{min-width:0}
.lesson-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:2px 0 16px;font-size:.72rem;color:var(--subtle)}
.lesson-topline .mono{font-size:.68rem}
.lesson-title-row{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:24px}
.lesson-title-row h2{font-size:clamp(1.6rem,2.65vw,2.45rem);line-height:1.13}
.player-shell{background:#061010;border:1px solid #354944;border-radius:6px;position:relative;aspect-ratio:16/9;overflow:hidden;isolation:isolate;box-shadow:0 15px 70px #0003}
.player-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 46%;z-index:-2;opacity:.5;filter:saturate(.7)}
.player-shell::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#04120fed,#06100e44 75%);z-index:-1;pointer-events:none}
.player-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;padding:28px;text-align:center}
.player-glyph{width:61px;height:61px;border:1px solid #b2f4de66;border-radius:50%;background:#1228219c;display:grid;place-items:center;color:var(--accent);box-shadow:0 0 25px #91ffe10b}
.player-glyph svg{width:25px;height:25px}.player-placeholder strong{font-size:1.15rem;letter-spacing:-.02em;font-weight:400}
.player-placeholder p{max-width:340px;font-size:.82rem;line-height:1.6;color:#b1c5be}
.player-placeholder .button{font-size:.85rem;padding:12px 18px;min-height:44px;gap:12px}
.player-corner{position:absolute;top:17px;left:20px;font-size:.61rem;letter-spacing:.12em;color:#a5c2b5;pointer-events:none}
.player-instance{width:100%;height:100%}.player-instance mux-player{width:100%;height:100%;--media-accent-color:#91ffe1;--media-primary-color:#eafaf4;--media-secondary-color:#0d1914}
.watermark{position:absolute;top:12%;right:5%;pointer-events:none;z-index:5;color:#fff9;font:.65rem/1.4 'Courier New',monospace;text-shadow:0 1px 3px #000;max-width:75%;overflow-wrap:anywhere;transition:top 1s,right 1s;user-select:none}
.player-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;color:var(--subtle);font-size:.72rem;border-bottom:1px solid var(--line)}
.player-footer>span{display:flex;align-items:center;gap:8px}.player-footer svg{width:14px;height:14px}
.plain-button{font-size:.8rem;border:1px solid var(--line);border-radius:4px;padding:9px 14px;color:#c0d2ca;white-space:nowrap}.plain-button:hover{color:var(--accent);border-color:#91ffe172}.plain-button:disabled{opacity:.38;cursor:not-allowed}
.lesson-tabs{display:flex;gap:27px;border-bottom:1px solid var(--line);margin-top:30px}
.lesson-tabs button{font-size:.875rem;color:var(--subtle);padding:13px 0 16px;border-bottom:2px solid transparent;margin-bottom:-1px}
.lesson-tabs button[aria-selected=true]{color:var(--accent);border-color:var(--accent)}
.lesson-panel{padding:26px 0 16px;min-height:235px}.lesson-description{font-size:.98rem;line-height:1.8;color:#b8c7c3;max-width:740px}
.lesson-panel h3{font-size:1.02rem;letter-spacing:-.01em;margin:25px 0 14px}
.lesson-outcomes{display:grid;gap:9px;color:#b8c7c3;font-size:.875rem}.lesson-outcomes li{display:flex;gap:12px}.lesson-outcomes li::before{content:'↗';color:var(--accent);font-size:.8rem}
.practice-task{border:1px solid var(--line);border-left:2px solid var(--accent);border-radius:3px;padding:20px 23px;background:#101b18}.practice-task .eyebrow{font-size:.65rem;margin-bottom:10px}.practice-task p:last-child{font-size:.95rem;color:#b8c7c3;line-height:1.8}
.notes-label{display:flex;justify-content:space-between;gap:14px;font-size:.8rem;color:var(--muted);margin-bottom:10px}.notes-label span{font-size:.7rem;color:var(--subtle)}
.notes-input{resize:vertical;width:100%;min-height:160px;background:#0c1513;border:1px solid #32463e;border-radius:4px;color:#dcece4;padding:16px;font: .875rem/1.8 Nimbus,Arial,sans-serif}.notes-input:focus{outline:1px solid var(--accent);border-color:var(--accent)}.notes-input::placeholder{color:#768980}
.notes-actions{display:flex;align-items:center;gap:18px;margin-top:12px}.notes-actions span{font-size:.75rem;color:var(--subtle)}
.lesson-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:15px}.lesson-navigation .button{font-size:.85rem;min-height:46px;padding:12px 20px}.lesson-navigation .plain-button{min-height:46px}
.resources-section{margin-top:64px;padding-top:32px;border-top:1px solid var(--line);scroll-margin-top:28px}.resources-section>.eyebrow{font-size:.65rem;margin-bottom:11px}.resources-section>h2{font-size:1.65rem;margin-bottom:23px}
.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.resource-card{background:linear-gradient(135deg,#15201d,#101614);border:1px solid var(--line);border-radius:5px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}.resource-card .resource-icon{display:flex;align-items:center;justify-content:space-between;width:100%;color:var(--accent)}.resource-card .resource-icon span{font:.66rem/1 'Courier New',monospace;color:var(--subtle);padding:5px 7px;border:1px solid var(--line);border-radius:3px}.resource-card h3{font-size:1.2rem;line-height:1.25;letter-spacing:-.02em}.resource-card p{font-size:.83rem;color:var(--muted);line-height:1.7}.resource-card button{margin-top:auto;padding-top:6px;font-size:.82rem;color:var(--accent);text-decoration:underline;text-underline-offset:5px}.resource-card button:disabled{color:var(--subtle);text-decoration:none}.resource-status{font-size:.8rem;color:var(--muted);margin-top:16px;min-height:1.5em}
.account-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:80px;padding:27px 0 36px;font-size:.73rem;color:var(--subtle)}.account-footer a:hover{color:var(--accent)}
.auth-layout{display:grid;grid-template-columns:1.05fr 1fr;min-height:calc(100svh - 180px);gap:90px;align-items:center;padding-block:58px}
.auth-art{position:relative;border:1px solid #3c5851;border-radius:6px;overflow:hidden;min-height:640px;height:100%;max-height:760px;background:#091c1b;transform:perspective(1800px) rotateY(3deg)}
.auth-art>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 53%}.auth-art::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#06100ff2,transparent 90%),linear-gradient(90deg,#081b1b77,transparent)}
.auth-art-copy{position:absolute;z-index:1;bottom:44px;left:40px;right:32px}.auth-art-copy h2{font-size:clamp(2.8rem,4.3vw,4.5rem);line-height:1.03;margin:18px 0}.auth-art-copy p{font-size:.9rem;color:#c0d5cf;max-width:350px}.auth-art-copy .mono{color:var(--accent);font-size:.68rem}.auth-art-meta{display:flex;gap:18px;margin-top:35px;padding-top:20px;border-top:1px solid #c2fae32e;font-size:.7rem;color:#a6bfb4}
.auth-content{max-width:460px;width:100%;padding-right:10px}.auth-content h1{font-size:3rem;margin-bottom:18px;line-height:1.05}.auth-content>.eyebrow{margin-bottom:23px}.auth-subtitle{color:var(--muted);font-size:.95rem;line-height:1.8}.auth-switch{display:grid;grid-template-columns:1fr 1fr;margin:27px 0 26px;padding:5px;border:1px solid var(--line);border-radius:5px;background:#101715}.auth-switch a{padding:10px;text-align:center;font-size:.875rem;border-radius:3px;color:var(--muted)}.auth-switch a[aria-current=page]{background:#263e34;color:var(--accent)}
.auth-form{display:grid;gap:19px}.auth-names{display:grid;grid-template-columns:1fr 1fr;gap:15px}.auth-field label{display:block;font-size:.82rem;color:#ccdad4;margin-bottom:8px}.auth-field input{width:100%;height:49px;background:#111b17;border:1px solid #33463c;border-radius:4px;padding:12px 14px;color:var(--text);font-size:.9rem}.auth-field input::placeholder{color:#778b80}.auth-field input:focus{outline:1px solid var(--accent);border-color:var(--accent)}.auth-field input[aria-invalid=true]{border-color:#fa9990}.password-wrap{position:relative}.password-wrap input{padding-right:60px}.password-toggle{position:absolute;right:5px;inset-block:5px;width:51px;font-size:.7rem;color:var(--muted)}.auth-field small{display:block;font-size:.72rem;color:var(--subtle);margin-top:7px}.auth-form .button{width:100%;gap:18px;margin-top:4px}.auth-form .button:disabled{opacity:.4;transform:none;box-shadow:none;cursor:not-allowed}.auth-forgot{font-size:.78rem;color:var(--muted);text-decoration:underline;text-underline-offset:4px;text-align:right}.auth-status{padding:14px 17px;background:#17291f;border:1px solid #91ffe133;border-radius:4px;font-size:.84rem;color:#c0e2ce;line-height:1.7;margin:20px 0}.auth-status.error{background:#321f20;color:#ffc2b9;border-color:#ff95944a}.auth-note{font-size:.76rem;line-height:1.8;color:var(--subtle);margin-top:20px}.auth-preview-link{display:inline-block;font-size:.83rem;color:var(--accent);text-decoration:underline;text-underline-offset:5px;margin-top:23px}
@media(min-width:1700px){.account-shell{width:min(1520px,calc(100% - 140px))}.classroom-grid{grid-template-columns:330px minmax(0,1fr);gap:44px}}
@media(max-width:1100px){.account-shell{width:calc(100% - 48px)}.classroom-grid{grid-template-columns:268px minmax(0,1fr);gap:24px}.auth-layout{gap:40px}.auth-art-copy{left:28px}.resource-card{padding:20px}.lesson-button{font-size:.77rem;padding:13px 8px;gap:7px}.player-placeholder{gap:12px}.player-placeholder p{font-size:.76rem}.player-glyph{width:49px;height:49px}}
@media(max-width:850px){.account-page .brand-name{display:none}.classroom-grid{grid-template-columns:1fr}.course-sidebar{position:static}.sidebar-cover{display:none}.course-progress{padding:18px 20px}.lesson-list{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:8px;padding:12px;overscroll-behavior-x:contain}.lesson-list li{flex:0 0 218px;scroll-snap-align:start}.lesson-button{height:64px;padding:12px;font-size:.82rem}.sidebar-resources{display:none}.course-progress p{display:none}.student-identity{max-width:240px}.resource-grid{gap:14px}.auth-layout{grid-template-columns:.85fr 1fr;gap:28px}.auth-art{min-height:630px}.auth-art-copy{left:23px;right:22px;bottom:32px}.auth-art-copy h2{font-size:2.9rem}.auth-art-meta{flex-direction:column;gap:7px}.auth-content h1{font-size:2.5rem}.auth-names{grid-template-columns:1fr}.auth-content{padding-right:0}}
@media(max-width:600px){.account-shell{width:calc(100% - 36px)}.account-header{height:72px}.account-header nav{gap:16px;font-size:.8rem}.account-header .brand{gap:9px}.account-header .brand-mark{font-size:2.25rem}.account-intro{margin:30px 0 25px;align-items:flex-start;flex-direction:column;gap:20px}.account-intro p:last-child{font-size:.875rem}.student-avatar{width:34px;height:34px;font-size:.75rem}.student-identity strong{font-size:.8rem}.student-identity{max-width:100%}.student-email{font-size:.72rem}.account-notice{font-size:.79rem;padding:12px 14px;align-items:flex-start;flex-direction:column;gap:10px;margin:18px 0}.lesson-title-row{margin-bottom:19px;gap:10px}.lesson-title-row h2{font-size:1.8rem}.lesson-title-row .account-badge{font-size:.58rem;padding:5px 7px}.player-shell{aspect-ratio:auto;min-height:245px}.player-instance{aspect-ratio:16/9;min-height:245px}.player-placeholder{min-height:245px;padding:33px 23px 25px;gap:12px}.player-placeholder strong{font-size:1rem}.player-placeholder p{font-size:.76rem}.player-glyph{width:42px;height:42px}.player-glyph svg{width:18px;height:18px}.player-corner{top:10px;left:13px;font-size:.54rem}.player-footer{font-size:.64rem;gap:8px}.player-footer .plain-button{font-size:.72rem;padding:9px 10px}.lesson-tabs{margin-top:15px;gap:23px}.lesson-tabs button{font-size:.82rem}.lesson-description{font-size:.9rem}.lesson-panel{min-height:255px}.lesson-outcomes{font-size:.8rem}.practice-task{padding:17px}.practice-task p:last-child{font-size:.87rem}.resource-grid{grid-template-columns:1fr}.resources-section{margin-top:42px}.resource-card{gap:12px}.account-footer{margin-top:50px;flex-direction:column;gap:8px;padding:22px 0}.auth-layout{display:block;padding-top:35px;padding-bottom:25px;min-height:0}.auth-art{display:none}.auth-content{max-width:440px;margin:auto}.auth-content h1{font-size:2.7rem}.auth-switch{margin-block:23px}.auth-names{grid-template-columns:1fr 1fr}.auth-form{gap:17px}.auth-content>.eyebrow{margin-bottom:16px}.auth-footer{margin-top:25px}.lesson-navigation .button{font-size:.78rem;padding:12px 15px}.lesson-navigation .plain-button{font-size:.75rem}.watermark{font-size:.53rem}}
@media(prefers-reduced-motion:reduce){.auth-art{transform:none}.watermark,.lesson-button,.course-progress progress::-webkit-progress-value{transition:none}}
.player-shell:fullscreen{width:100vw;height:100vh;aspect-ratio:auto;border:0;border-radius:0;background:#000}.player-shell:fullscreen .player-instance{height:100%;min-height:0}.player-footer-controls{display:flex;gap:8px;align-items:center}
.resource-preview{display:block;width:100%;height:170px;object-fit:cover;border-radius:3px;margin-bottom:5px}.resource-cyberpunk{object-position:50% 62%}
.bonus-delivery-note{color:var(--muted);font-size:.85rem;line-height:1.8;max-width:650px;margin:14px 0 24px}
.bonus-downloads{padding:30px;margin-bottom:40px;border:1px solid #4b7666;border-radius:6px;background:linear-gradient(130deg,#12251f,#0e1717);scroll-margin-top:24px}
.bonus-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.bonus-heading .eyebrow{font-size:.65rem;margin-bottom:12px}.bonus-heading h2{font-size:clamp(1.5rem,2.6vw,2.3rem)}
.bonus-table{width:100%;border-collapse:collapse;text-align:left}.bonus-table thead th{font: .65rem/1.5 'Courier New',monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--subtle);padding:0 16px 13px}
.bonus-table tbody tr{border-top:1px solid var(--line)}.bonus-table td,.bonus-table tbody th{padding:15px 16px;font-size:.875rem;font-weight:400}.bonus-table tbody th{display:flex;align-items:center;gap:18px}.bonus-table img{width:84px;height:65px;object-fit:cover;border-radius:3px;flex:none}.bonus-table small{display:block;font: .6rem/1.5 'Courier New',monospace;color:var(--subtle);margin-top:7px}.bonus-table td{color:var(--muted)}.bonus-table td:last-child{font-size:.75rem;color:var(--accent)}
.bonus-download-action{border-top:1px solid var(--line);padding-top:24px;display:flex;align-items:center;gap:25px}.bonus-download-action .button{font-size:.85rem;min-height:48px;padding:14px 20px}.bonus-download-action p{font-size:.78rem;line-height:1.7;color:var(--muted)}.bonus-downloads .resource-status{margin-top:10px;min-height:0}.bonus-download-action .button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.bonus-downloads{padding:20px;margin-bottom:28px}.bonus-heading{display:block}.bonus-heading>.account-badge{margin-top:15px}.bonus-table th:nth-child(3),.bonus-table td:nth-child(3){display:none}.bonus-table td,.bonus-table tbody th{padding:13px 5px;font-size:.8rem}.bonus-table tbody th{gap:10px}.bonus-table img{width:54px;height:58px}.bonus-table thead th{padding-inline:5px}.bonus-download-action{flex-direction:column;align-items:stretch;gap:12px}.bonus-download-action .button{white-space:normal}.bonus-delivery-note{margin-bottom:18px}.bonus-table td:nth-child(2){max-width:115px}}
@media(max-width:600px){.player-footer{flex-wrap:wrap}.player-footer-controls{margin-left:auto}.player-footer .plain-button{font-size:.7rem}.auth-field input,.notes-input{font-size:1rem}}
