:root{color-scheme:light}.signed-out .sidebar,.signed-out .mobile-nav,.signed-out .profile-button{display:none}.signed-out .shell{margin-left:0;padding-bottom:0}.signed-out .topbar .mobile-brand{display:block}.signed-out .topbar .breadcrumb{display:none}.auth-layout{max-width:500px;margin:30px auto 65px}.auth-brand{display:block;width:215px;max-width:100%;margin:0 auto 26px}.auth-layout h1{font-size:23px;margin-bottom:14px}.auth-layout p{font-size:14px;color:#655f7c;margin-bottom:20px}.auth-layout .button{width:100%}.auth-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:22px;font-size:13px}.auth-links a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.field select,.field textarea{width:100%;font:inherit}.field select{border:1px solid var(--line);padding:12px;border-radius:10px;background:#fafafd}.form-error{background:#fff0f1;color:#922e3c;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.6;margin:0 0 18px}.form-success{background:#eaf4ed;color:#3a6548;border-radius:10px;padding:14px;line-height:1.7;margin:0 0 18px}.muted-note{color:#77758e;font-size:13px;line-height:1.75}.loading{color:#655f7c;line-height:1.8}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.section-gap{margin-top:24px}.empty-state h2{margin-bottom:14px}.empty-state .button{margin-top:16px}.course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.course-card{display:flex;flex-direction:column}.course-cover{height:155px;min-height:155px;padding:25px}.course-body{display:flex;flex:1;flex-direction:column;gap:14px}.course-body h3,.course-body p,.course-body .button{margin:0}.course-body h3{overflow-wrap:anywhere}.course-body .button{margin-top:auto}.course-body .progress{height:6px}.progress-label{font-size:12px;color:#77758e}.course-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px}.course-curriculum{padding:20px}.course-curriculum h2{font-size:15px;margin:0 5px 16px}.lesson-card h1{font-size:23px;margin-bottom:22px;overflow-wrap:anywhere}.lesson-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.85;color:#655f7c}.lesson-complete{margin-top:27px}.lesson-complete .button{max-width:100%;white-space:normal}.course-lock{max-width:650px;margin:auto}.course-lock h1{margin-bottom:20px}.mobile-course-back{margin-bottom:20px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.stat-card strong{display:block;font-size:27px;color:var(--accent);margin-bottom:8px}.stat-card p{font-size:13px;color:#77758e}.welcome-card{padding:30px}.welcome-card h1{font-size:25px;margin-bottom:12px}.welcome-card p{max-width:700px;color:#655f7c}.welcome-card .heading-actions{margin-top:24px}.home-course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.chat-layout{height:calc(100dvh - 230px);min-height:450px}.chat-thread .messages{min-height:150px}.message-time{font-size:11px}.thread-heading .thread-back{margin-left:0}.emoji-options{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px}.emoji-options button{width:40px;height:38px;background:#f4f0fa;border-radius:8px;font-size:19px}.chat-compose textarea{height:58px;min-height:58px}.message-empty{font-size:14px;color:#77758e;text-align:center;margin-top:25px}.history-button{font-size:13px;align-self:center}.admin-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.admin-card h2{font-size:18px;margin-bottom:20px}.admin-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;justify-content:space-between}.admin-row:last-child{border-bottom:0}.admin-row h3{font-size:15px;overflow-wrap:anywhere}.admin-row p{font-size:12px;color:#77758e;margin-top:6px}.admin-row .button{flex-shrink:0}.admin-course-select{display:flex;flex-direction:column;gap:12px}.admin-course-select .button{justify-content:flex-start;text-align:left}.checkbox-label{display:flex;align-items:center;gap:10px;line-height:1.7;font-size:13px}.checkbox-label input{width:20px;height:20px;flex-shrink:0}.profile-card .button{margin-top:15px}.status-badge{font-size:12px;background:#efecf7;color:var(--accent);padding:5px 8px;border-radius:7px}.support-note{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-size:13px;color:#77758e}.danger-button{background:#faedf0;color:#922e3c}.button:disabled{transform:none;opacity:.7}a.inline-link{text-decoration:underline;text-underline-offset:4px}.help-panel{max-width:750px}.help-panel p{margin:12px 0;color:#655f7c}.help-panel li{margin:12px 0;line-height:1.8;color:#655f7c}.help-panel h2{margin-top:26px}.nav-button .nav-symbol{width:22px;display:inline-grid;place-items:center;font-size:19px;font-family:system-ui}.admin-search{margin-bottom:18px}.admin-search input{width:100%}.loading-spinner{font-size:14px;color:#77758e}input,textarea,select{min-width:0}.profile-layout{max-width:1050px}.sidebar-name{overflow-wrap:anywhere}main[aria-busy=true]{cursor:progress}.service-notice{background:#f3f1fa;border:1px solid var(--line);padding:18px;border-radius:14px;margin-top:20px;font-size:13px;line-height:1.8}.course-cover .eyebrow{font-size:10px;color:#d1cee9}.hero-course h2{max-width:100%}.chat-nav-empty{padding:25px 12px;color:#77758e;font-size:13px;line-height:1.7}.auth-label{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#77758e;margin-bottom:15px}#sidebar-name{overflow-wrap:anywhere}.admin-checkboxes{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.progress-meter{width:100%;height:7px;border:0;border-radius:9px;background:#eeebf5;overflow:hidden;appearance:none}.progress-meter::-webkit-progress-bar{background:#eeebf5}.progress-meter::-webkit-progress-value{background:#3E3A75;border-radius:9px}.progress-meter::-moz-progress-bar{background:#3E3A75;border-radius:9px}.card,.profile-layout>*{min-width:0}.welcome-card h1,.profile-card h2,.profile-card p,.page-heading h1,.page-heading p{overflow-wrap:anywhere}.page-heading>div:first-child{min-width:0}.profile-shortcut #sidebar-name{min-width:0;flex:1}
@media(max-width:1200px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:1fr}.course-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:760px){.auth-layout{margin:12px auto 30px}.auth-layout h1{font-size:21px}.signed-out main{padding:22px 16px}.stat-grid{grid-template-columns:1fr;gap:12px}.stat-card{display:flex;align-items:center;gap:16px}.stat-card strong{margin:0;min-width:40px}.welcome-card{padding:22px}.welcome-card h1{font-size:21px}.course-grid,.home-course-list{grid-template-columns:1fr}.course-card{display:flex;min-height:0}.course-cover{height:125px;min-height:125px}.course-cover .eyebrow{display:block}.course-layout{grid-template-columns:1fr;gap:16px}.course-curriculum{max-height:210px;overflow:auto}.lesson-card h1{font-size:20px}.chat-layout{height:calc(100dvh - 230px);min-height:410px}.chat-thread{display:none}.chat-layout.show-thread .chat-thread{display:flex}.chat-list{display:block}.chat-compose{padding:12px;gap:8px}.chat-compose .button span{display:block}.chat-compose .button{padding:12px}.emoji-options{padding:7px 12px;gap:6px}.emoji-options button{height:35px;width:36px}.admin-row{align-items:flex-start;flex-wrap:wrap}.admin-row .button{flex-shrink:1}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:22px}.signed-out .topbar{padding:0 18px}.signed-out .mobile-brand img{width:190px}.signed-out .local-label{font-size:10px}.auth-links{font-size:14px;gap:18px}.auth-links a{padding:6px 0}.mobile-nav .nav-button{font-size:10px}.mobile-nav .nav-button .nav-symbol{font-size:20px}.service-notice{font-size:13px}.lesson-body{font-size:15px}.admin-card{padding:20px}.profile-card{display:block;text-align:left}.profile-card>.avatar{margin-bottom:20px}}
@media(max-width:760px){.profile-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:360px){.topbar .mobile-brand img{width:168px}.local-label{font-size:9px!important}.chat-compose .button{font-size:12px;padding:10px}.page-heading h1{font-size:20px}}
.pending-card h1,.pending-card p{overflow-wrap:anywhere}.pending-card h1{margin-top:18px}.pending-card .button{width:100%}.asset-upload{padding-top:23px;margin-top:25px;border-top:1px solid var(--line)}.asset-upload h3{font-size:16px;margin-bottom:18px}.asset-upload input[type=file]{width:100%;max-width:100%;min-width:0;font-size:13px}.asset-upload input[type=file]::file-selector-button{font:inherit;border:0;border-radius:8px;padding:10px 12px;margin-right:12px;background:#eae6f5;color:#3e3a75;cursor:pointer}.upload-status{font-size:13px;margin:12px 0;line-height:1.7;color:#655f7c;overflow-wrap:anywhere}.upload-progress{height:9px}.lesson-video{margin:24px 0 26px}.lesson-video h2{font-size:15px;font-family:Montserrat,sans-serif;overflow-wrap:anywhere;margin-bottom:14px}.lesson-video video{display:block;width:100%;max-width:100%;aspect-ratio:16/9;background:#2B254B;border-radius:14px;object-fit:contain}.video-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px}.video-actions p{font-size:12px;line-height:1.7;color:#77758e;flex:1;min-width:160px}.lesson-materials{margin:26px 0;border-top:1px solid var(--line);padding-top:24px}.lesson-materials h2{font-size:17px;margin-bottom:16px}.material-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.material-row h3,.material-row p{overflow-wrap:anywhere}.material-row h3{font-size:14px}.material-row p{font-size:12px;color:#77758e;margin-top:6px}.material-link{grid-column:1/-1;font-size:12px;line-height:1.8;color:#77758e;overflow-wrap:anywhere}.material-link:empty{display:none}#admin-assets .admin-row{flex-wrap:wrap}#admin-assets .admin-row>div:first-child{min-width:0;flex:1}#admin-assets .admin-row h3{overflow-wrap:anywhere}.media-notice{margin-bottom:24px}[hidden]{display:none!important}
@media(max-width:760px){.pending-card h1{font-size:20px}.material-row{grid-template-columns:minmax(0,1fr)}.material-row .button{justify-self:start}.asset-upload .heading-actions{gap:8px}.video-actions p{flex-basis:100%}.asset-upload input[type=file]{padding:10px 8px}.asset-upload input[type=file]::file-selector-button{margin-right:8px;padding:10px}.lesson-video video{border-radius:10px}}
