:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2933;background:#f7f1e8;--page-width: 1280px;--profile-width: 1120px;--page-gutter: clamp(28px, 5vw, 88px);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;background:linear-gradient(180deg,#ffffffdb,#f7f1e8f5),#f7f1e8}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px clamp(18px,4vw,56px);border-bottom:1px solid rgba(47,111,106,.16);background:#fffcf7eb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;color:#24423f}.brand.large{font-size:22px}.brand-mark,.task-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:8px;background:#2f6f6a;color:#fff}.topbar-actions{display:flex;align-items:center;gap:12px}.user-chip,.course-footer span,.course-meta span{display:inline-flex;align-items:center;gap:6px;color:#50605e}.topbar-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;border:1px solid #c9d7d4;border-radius:8px;padding:0 12px;color:#2f6f6a;font-weight:800}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #d8ddd7;border-radius:8px;background:#fffdfa;color:#24423f}.auth-page{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,420px);gap:clamp(28px,6vw,80px);align-items:center;min-height:100vh;padding:clamp(22px,6vw,80px);background:linear-gradient(120deg,rgba(47,111,106,.12),transparent 40%),#f7f1e8}.auth-hero h1,.dashboard-hero h1,.course-hero h1{max-width:760px;margin:22px 0 16px;color:#182b29;font-size:clamp(34px,5vw,64px);line-height:1.02}.auth-hero p,.dashboard-hero p,.course-hero p{max-width:620px;margin:0;color:#5c6765;font-size:18px;line-height:1.6}.auth-form{display:grid;gap:16px;padding:26px;border:1px solid rgba(47,111,106,.16);border-radius:8px;background:#fffdfa;box-shadow:0 24px 70px #2f46431f}.auth-form label{display:grid;gap:8px;color:#465451;font-size:14px;font-weight:700}input,select,textarea{width:100%;min-height:46px;border:1px solid #d8ddd7;border-radius:8px;padding:0 14px;background:#fff;color:#1f2933}textarea{min-height:112px;padding:12px 14px;resize:vertical;line-height:1.45}select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:8px;background:#eee8dd}.segmented button{min-height:42px;border:0;border-radius:6px;background:transparent;color:#52615f;font-weight:800}.segmented .active{background:#fffdfa;color:#24423f;box-shadow:0 8px 22px #2f464314}.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:8px;padding:0 16px;border:1px solid transparent;font-weight:800}.primary-button{background:#2f6f6a;color:#fff}.primary-button:disabled{cursor:not-allowed;opacity:.58}.secondary-button{background:#fffdfa;color:#2f6f6a;border-color:#c9d7d4}.danger-button{background:#fff0ed;color:#9f2f25;border-color:#e9b3ad}.auth-submit{width:100%}.hero-action{margin-top:22px}.form-error{padding:12px 14px;border-radius:8px;background:#fff0ed;color:#9f2f25;font-weight:700}.dashboard-hero,.course-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto;padding:clamp(34px,6vw,78px) 0 32px}.eyebrow{color:#2f6f6a;font-size:13px;font-weight:900;letter-spacing:0;text-transform:uppercase}.summary-strip{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));gap:12px;min-width:min(460px,100%)}.summary-item{display:grid;gap:8px;padding:16px;border:1px solid #d8ddd7;border-radius:8px;background:#fffdfa}.summary-item svg{color:#2f6f6a}.summary-item span{color:#60706d;font-size:13px;font-weight:700}.summary-item strong{color:#182b29;font-size:28px}.content-section,.lesson-list{width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto;padding:0 0 56px}.dashboard-home-hero,.dashboard-home-section,.profile-hero,.profile-grid,.teacher-hero,.teacher-workspace{width:min(var(--page-width),calc(100% - var(--page-gutter)))}.profile-hero,.profile-grid{width:min(var(--profile-width),calc(100% - var(--page-gutter)))}.dashboard-home-hero,.profile-hero,.teacher-hero{align-items:center;padding:30px 0 24px}.dashboard-home-hero h1,.profile-hero h1,.teacher-hero h1{max-width:620px;margin:10px 0;font-size:clamp(32px,4vw,48px);line-height:1.08}.dashboard-home-hero p,.profile-hero p,.teacher-hero p{max-width:560px;font-size:16px;line-height:1.5}.dashboard-home-hero .summary-strip,.teacher-hero .summary-strip{min-width:min(420px,100%)}.dashboard-home-hero .summary-item,.teacher-hero .summary-item{padding:12px}.dashboard-home-hero .summary-item strong,.teacher-hero .summary-item strong{font-size:24px}.progress-history-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.section-heading h2,.lesson-copy h2,.certificate-band h2{margin:0;color:#182b29}.section-heading span{color:#65726f;font-weight:800}.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.course-card,.task-panel{border:1px solid rgba(47,111,106,.16);border-radius:8px;background:#fffdfa;box-shadow:0 18px 46px #2f464314}.course-card{display:grid;grid-template-rows:auto auto auto minmax(74px,auto) auto auto auto;gap:16px;min-width:0;overflow:hidden;padding:20px}.history-column{display:grid;align-content:start;gap:12px}.history-list{display:grid;gap:10px}.history-item{display:grid;gap:4px;padding:14px;border:1px solid rgba(47,111,106,.16);border-radius:8px;background:#fffdfa}.history-item strong{color:#182b29}.history-item span,.history-item small{color:#60706d}.lesson-image,.task-image{display:block;width:100%;object-fit:contain;border-radius:8px;border:1px solid rgba(47,111,106,.16);background:#f8fffc}.course-card-media{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:16 / 9;border:1px solid rgba(47,111,106,.16);border-radius:8px;background:linear-gradient(120deg,#2f6f6a1f,#d59b4a24),#f8fffc}.course-card-media:before{position:absolute;top:-18px;right:-18px;bottom:-18px;left:-18px;content:"";background:linear-gradient(90deg,#f8fffc38,#fffdfa1a),var(--course-image) center / cover;filter:blur(18px) saturate(1.08);opacity:.72;transform:scale(1.08)}.course-card-media--empty{color:#2f6f6a}.course-card-media--empty:before{background:linear-gradient(135deg,#2f6f6a29,#d59b4a29),#f8fffc;filter:none;opacity:1;transform:none}.course-card-media:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:radial-gradient(circle at center,#fffdfa14,#fffdfa57)}.course-card-image{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain}.course-card-media--empty svg{position:relative;z-index:1}.lesson-image,.task-image{aspect-ratio:16 / 9}.course-meta,.course-footer{display:grid;align-items:center;gap:8px;color:#60706d;font-size:13px;font-weight:800}.course-meta{grid-template-columns:minmax(0,1fr) max-content}.course-footer{grid-template-columns:max-content minmax(0,1fr)}.course-meta span,.course-footer span{min-width:0}.course-meta span{display:block;overflow:hidden;line-height:1.18;text-overflow:ellipsis}.course-meta span:not(:first-child),.course-footer span:last-child{white-space:nowrap}.course-footer span:last-child{display:block;overflow:hidden;text-align:right;text-overflow:ellipsis}.course-card h3{display:-webkit-box;margin:0;overflow:hidden;color:#182b29;font-size:22px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.course-card p{display:-webkit-box;margin:0;overflow:hidden;color:#65726f;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:24px}.pagination span{color:#60706d;font-weight:800}.progress-line{width:100%;height:10px;overflow:hidden;border-radius:999px;background:#e7e2d8}.progress-line span{display:block;height:100%;border-radius:inherit;background:#d59b4a}.page-nav{width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto;padding:24px 0 0}.page-nav a{display:inline-flex;align-items:center;gap:8px;color:#2f6f6a;font-weight:800}.progress-widget{display:grid;gap:10px;min-width:min(320px,100%);padding:18px;border:1px solid #d8ddd7;border-radius:8px;background:#fffdfa}.progress-widget strong{color:#182b29;font-size:40px;line-height:1}.progress-widget span{color:#60706d;font-weight:800}.lesson-list{display:grid;gap:22px}.student-module-shell{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:22px;align-items:start;width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto;padding:0 0 56px}.student-module-nav{position:sticky;top:96px;display:grid;gap:14px;padding:18px;border:1px solid rgba(47,111,106,.16);border-radius:8px;background:#fffdfa;box-shadow:0 18px 46px #2f464314}.student-module-nav-heading,.student-module-task-heading{display:flex;align-items:center;gap:10px;color:#2f6f6a}.student-module-nav-heading h2,.student-module-task-heading h3{margin:0;color:#182b29}.student-module-list{display:grid;gap:10px}.student-module-card{display:grid;gap:5px;border:1px solid #d8ddd7;border-radius:8px;padding:14px;background:#fff;color:#263735;text-align:left}.student-module-card.active{border-color:#2f6f6a;background:#edf7f5}.student-module-card span{color:#d08a28;font-size:12px;font-weight:900;text-transform:uppercase}.student-module-card small{color:#60706d;font-weight:800}.student-module-detail{display:grid;gap:18px}.student-module-detail.has-media{grid-template-columns:minmax(0,1fr) minmax(280px,.46fr);align-items:start}.student-module-main-flow{display:grid;gap:18px}.student-module-copy,.student-module-media,.student-module-tasks{padding:22px;border:1px solid rgba(47,111,106,.16);border-radius:8px;background:#fffdfa;box-shadow:0 18px 46px #2f464314}.student-module-copy>span{color:#d08a28;font-size:13px;font-weight:900;text-transform:uppercase}.student-module-copy h2{margin:8px 0;color:#182b29}.student-module-copy p{color:#5c6765;line-height:1.6}.student-module-tasks{display:grid;gap:16px}.student-module-media{display:grid;gap:14px}.lesson-block{display:grid;grid-template-columns:minmax(0,.8fr) minmax(320px,1fr);gap:22px;align-items:start;padding:24px 0;border-top:1px solid rgba(47,111,106,.16)}.lesson-copy>span{color:#d08a28;font-size:13px;font-weight:900;text-transform:uppercase}.lesson-copy p{color:#5c6765;line-height:1.6}.video-frame{overflow:hidden;aspect-ratio:16 / 9;border-radius:8px;border:1px solid #d8ddd7;background:#182b29}.video-frame iframe{width:100%;height:100%;border:0}.video-open-link{display:inline-flex;margin-top:8px;color:#2f6f6a;font-weight:800}.task-stack{display:grid;gap:16px}.task-panel{display:grid;gap:18px;padding:18px}.task-panel--done{border-color:#2f6f6a6b;background:#f8fffc}.task-panel--locked{border-style:dashed;background:#f4efe6;opacity:.78}.task-header{display:grid;grid-template-columns:38px 1fr;gap:14px}.task-header h3{margin:0 0 6px;color:#182b29}.task-header p{margin:0;color:#5c6765;line-height:1.5}.option-grid,.chart-choice-grid{display:grid;gap:10px}.chart-choice-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.option-button{min-height:48px;border:1px solid #d8ddd7;border-radius:8px;padding:12px 14px;background:#fff;color:#263735;text-align:left;font-weight:700}.option-button--active{border-color:#2f6f6a;background:#edf7f5}.chart-box,.rebus-box{border-radius:8px;border:1px solid #d8ddd7;background:#fff}.chart-box{height:280px;padding:10px}.rebus-box{display:grid;justify-items:center;gap:8px;padding:24px;text-align:center}.rebus-image{display:block;width:min(100%,680px);max-height:420px;object-fit:contain;border-radius:8px}.rebus-box strong{color:#182b29;font-size:clamp(30px,5vw,52px)}.rebus-box span{color:#60706d;font-weight:700}.answer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.task-status{display:inline-flex;align-items:center;gap:8px;color:#9f2f25;font-weight:800}.task-status--success{color:#2f6f6a}.retry-button{justify-self:start}.certificate-band{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 clamp(18px,4vw,56px) 56px;padding:24px;border-radius:8px;border:1px solid rgba(47,111,106,.18);background:#fffdfa}.certificate-band p{margin:8px 0 0;color:#60706d}.certificate-sheet{display:grid;justify-items:center;gap:12px;max-width:760px;margin:56px auto;padding:clamp(28px,6vw,70px);border:1px solid #d6b06d;border-radius:8px;background:#fffdfa;text-align:center;box-shadow:0 28px 80px #2f46431f}.certificate-sheet svg{color:#d08a28}.certificate-sheet span{color:#2f6f6a;font-weight:900;text-transform:uppercase}.certificate-sheet h1{margin:6px 0;color:#182b29;font-size:clamp(34px,6vw,60px)}.certificate-sheet h2{margin:0;color:#2f6f6a}.certificate-sheet p,.certificate-sheet small{color:#60706d}.certificate-code{margin-top:10px;padding:10px 14px;border-radius:8px;background:#f4eadb;color:#182b29;font-weight:900}.screen-loader{display:grid;min-height:45vh;place-items:center;color:#60706d;font-weight:800}.teacher-message{width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto 18px;padding:12px 14px;border-radius:8px;background:#edf7f5;color:#24423f;font-weight:800}.teacher-toast{position:fixed;right:clamp(16px,4vw,40px);bottom:24px;z-index:30;display:inline-flex;align-items:center;gap:10px;max-width:min(440px,calc(100vw - 32px));padding:14px 16px;border:1px solid rgba(47,111,106,.24);border-radius:8px;background:#edf7f5;color:#24423f;box-shadow:0 18px 48px #2f464329;font-weight:800}.teacher-workspace{display:grid;grid-template-columns:minmax(340px,380px) minmax(0,1fr);gap:18px;align-items:start;margin:0 auto;padding:0 0 56px}.course-list-panel{position:sticky;top:96px}.course-list-panel .section-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.course-list-panel .section-heading>div{display:contents}.course-list-panel .section-heading h2{grid-column:1;grid-row:1}.course-list-panel .section-heading span{grid-column:1 / -1;grid-row:2;margin-top:4px}.teacher-main-panel,.course-manager{display:grid;gap:18px}.teacher-start-panel{min-height:420px}.teacher-steps{display:grid;gap:12px}.teacher-steps div{display:grid;grid-template-columns:34px 1fr;gap:4px 12px;padding:14px;border:1px solid #e4ded3;border-radius:8px;background:#fffaf1}.teacher-steps span{grid-row:1 / 3;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:#2f6f6a;color:#fff;font-weight:900}.teacher-steps strong,.empty-state strong{color:#182b29}.teacher-steps p,.empty-state span{margin:0;color:#60706d;line-height:1.45}.empty-state{display:grid;justify-items:start;gap:8px;padding:18px;border:1px dashed #c9d7d4;border-radius:8px;background:#f8fffc}.empty-state.compact{padding:14px}.course-manager-header{grid-template-columns:minmax(0,1fr) auto}.course-manager-header h2,.separated-form h3{margin:0;color:#182b29}.course-manager-header>div:first-child{min-width:0}.course-manager-header h2{overflow-wrap:anywhere;line-height:1.15}.course-manager-header p{display:-webkit-box;max-width:760px;margin:8px 0 0;overflow:hidden;color:#60706d;line-height:1.55;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.course-manager-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.summary-strip.compact{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));min-width:0}.manager-tabs{display:flex;flex-wrap:wrap;gap:10px;padding:4px;border:1px solid #d8ddd7;border-radius:8px;background:#fffdfa}.manager-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:0;border-radius:6px;padding:0 14px;background:transparent;color:#52615f;font-weight:900}.manager-tab.active{background:#edf7f5;color:#24423f}.manager-section{gap:18px}.lesson-manager-list,.lesson-module-grid{display:grid;gap:10px}.lesson-section-heading{margin-bottom:0}.lesson-module-grid{gap:14px}.lesson-module{display:grid;gap:12px;padding:16px;border:1px solid #d8ddd7;border-radius:8px;background:#fff}.lesson-module.active{border-color:#2f6f6a;background:#edf7f5}.lesson-module-main{display:grid;gap:7px;border:0;padding:0;background:transparent;color:inherit;text-align:left}.lesson-module-number{color:#d08a28;font-size:12px;font-weight:900;text-transform:uppercase}.lesson-module-main strong{color:#182b29;font-size:19px}.lesson-module-main p{display:-webkit-box;margin:0;overflow:hidden;color:#60706d;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.lesson-module-meta{display:flex;flex-wrap:wrap;gap:8px}.lesson-module-meta span{display:inline-flex;min-height:30px;align-items:center;border:1px solid #d8ddd7;border-radius:8px;padding:0 10px;background:#fffdfa;color:#60706d;font-size:13px;font-weight:800}.lesson-module-actions{display:flex;flex-wrap:wrap;gap:10px}.lesson-manager-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;border:1px solid #d8ddd7;border-radius:8px;padding:12px 14px;background:#fff;color:#263735}.lesson-manager-item.active{border-color:#2f6f6a;background:#edf7f5}.lesson-manager-select{display:grid;gap:4px;min-width:0;border:0;padding:0;background:transparent;color:inherit;text-align:left}.lesson-manager-item span{color:#60706d;font-weight:800}.lesson-add-button{min-width:168px;text-align:center}.separated-form{display:grid;gap:14px;padding-top:18px;border-top:1px solid #e6e2d8}.form-actions{display:flex;flex-wrap:wrap;gap:10px}.teacher-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(360px,1fr);gap:18px;width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto;padding:0 0 56px}.teacher-panel{display:grid;gap:16px;align-content:start;padding:20px;border:1px solid rgba(47,111,106,.16);border-radius:8px;background:#fffdfa;box-shadow:0 18px 46px #2f464314}.editor-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:start center;overflow-y:auto;padding:clamp(18px,4vw,42px);background:#182b2957;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.editor-modal{display:grid;gap:16px;width:min(920px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid rgba(47,111,106,.2);border-radius:8px;padding:20px;background:#fffdfa;box-shadow:0 28px 90px #182b2947}.editor-modal-header{position:sticky;top:-20px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-20px -20px 0;padding:16px 20px;border-bottom:1px solid #e6e2d8;background:#fffdfa}.editor-modal-header h2{margin:0;color:#182b29;font-size:22px}.editor-modal-form{display:grid;gap:14px}.teacher-form label{display:grid;gap:8px;color:#465451;font-size:14px;font-weight:800}.helper-text{margin:0;color:#60706d;font-size:14px;line-height:1.45}.field-heading{display:grid;gap:2px;color:#465451;font-size:14px;font-weight:800}.panel-title{display:flex;align-items:center;gap:10px;color:#2f6f6a}.panel-title h2{margin:0;color:#182b29;font-size:22px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-builder{gap:18px}.task-editor-list{display:grid;gap:10px}.task-lesson-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.task-lesson-card{display:grid;gap:5px;min-height:94px;border:1px solid #d8ddd7;border-radius:8px;padding:12px;background:#fff;color:#263735;text-align:left}.task-lesson-card.active{border-color:#2f6f6a;background:#edf7f5}.task-lesson-card:disabled{cursor:not-allowed;opacity:.68}.task-lesson-card span{color:#d08a28;font-size:12px;font-weight:900;text-transform:uppercase}.task-lesson-card strong{overflow:hidden;color:#182b29;text-overflow:ellipsis;white-space:nowrap}.task-lesson-card small{color:#60706d;font-weight:800}.task-editor-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #d8ddd7;border-radius:8px;padding:12px;background:#fff}.task-editor-item.active{border-color:#2f6f6a;background:#edf7f5}.task-editor-item div{display:grid;gap:4px;min-width:0}.task-editor-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.task-editor-item span{color:#d08a28;font-size:12px;font-weight:900;text-transform:uppercase}.task-editor-item strong{overflow:hidden;color:#182b29;text-overflow:ellipsis;white-space:nowrap}.builder-step{display:inline-flex;align-items:center;gap:10px;color:#24423f}.builder-step span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#2f6f6a;color:#fff;font-weight:900}.task-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.task-type-card{display:grid;gap:6px;min-height:84px;border:1px solid #d8ddd7;border-radius:8px;padding:12px;background:#fff;color:#263735;text-align:left}.task-type-card.active{border-color:#2f6f6a;background:#edf7f5}.task-type-card span{color:#60706d;font-size:13px;line-height:1.35}.specific-fields{display:grid;gap:12px;padding:14px;border:1px solid #e4ded3;border-radius:8px;background:#fffaf1}.option-editor-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.order-editor-row{grid-template-columns:minmax(0,1fr) auto auto}.option-editor-actions{display:inline-flex;gap:6px}.option-editor-actions .icon-button:disabled{cursor:not-allowed;opacity:.45}.option-editor-row:has(input+input){grid-template-columns:minmax(0,1fr) minmax(110px,.35fr) auto}.task-preview{display:grid;gap:10px;padding:16px;border:1px dashed #c9d7d4;border-radius:8px;background:#f8fffc}.task-preview>span{color:#2f6f6a;font-size:12px;font-weight:900;text-transform:uppercase}.task-preview>strong{color:#182b29;font-size:18px}.task-preview p{margin:0;color:#60706d}.preview-options{display:grid;gap:8px}.preview-options button{min-height:38px;border:1px solid #d8ddd7;border-radius:8px;background:#fff;color:#263735;text-align:left;padding:0 12px;font-weight:700}.preview-bars{display:flex;align-items:end;gap:12px;min-height:126px;padding-top:12px}.preview-bars div{display:grid;justify-items:center;gap:8px;min-width:54px}.preview-bars span{display:block;width:36px;border-radius:6px 6px 0 0;background:#2f6f6a}.preview-bars small,.preview-rebus small{color:#60706d}.preview-rebus{display:grid;justify-items:center;gap:8px;padding:18px;border-radius:8px;background:#fff}.preview-rebus strong{color:#182b29;font-size:32px}.preview-rebus-image{display:block;width:min(100%,560px);max-height:260px;object-fit:contain;border-radius:8px}.input-with-icon{position:relative;display:block}.input-with-icon svg{position:absolute;left:12px;top:50%;color:#60706d;transform:translateY(-50%)}.input-with-icon input{padding-left:38px}.image-url-upload-field{display:grid;gap:10px;color:#465451;font-size:14px;font-weight:800}.image-url-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.file-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:fit-content;border:1px solid #c9d7d4;border-radius:8px;padding:0 16px;background:#fffdfa;color:#2f6f6a;font-size:14px;font-weight:800;cursor:pointer}.file-picker input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.file-picker.compact{width:46px;padding:0}.file-picker:has(input:disabled){cursor:wait;opacity:.68}.upload-preview{display:grid;grid-template-columns:minmax(0,128px) auto auto;gap:12px;align-items:center}.upload-preview img{width:100%;height:76px;border:1px solid #d8ddd7;border-radius:8px;object-fit:contain;background:#f8fffc}.photo-editor{display:grid;gap:16px}.photo-editor-frame{position:relative;overflow:hidden;aspect-ratio:16 / 9;border:1px solid #d8ddd7;border-radius:8px;background:linear-gradient(120deg,#2f6f6a1f,#d59b4a24),#f8fffc}.photo-editor-frame img{position:absolute;left:50%;top:50%;transform-origin:center}.photo-editor-controls{display:grid;gap:12px}.photo-editor-controls label{display:grid;gap:8px;color:#465451;font-size:14px;font-weight:800}.photo-editor-controls input{min-height:32px;padding:0}.teacher-list{display:grid;gap:10px}.teacher-list-item{display:grid;gap:4px;min-width:0;border:1px solid #d8ddd7;border-radius:8px;padding:12px;background:#fff;color:#263735;text-align:left}.teacher-list-item strong,.teacher-list-item span,.teacher-list-item small{min-width:0;overflow:hidden;text-overflow:ellipsis}.teacher-list-item strong,.teacher-list-item span{white-space:nowrap}.teacher-list-item.active{border-color:#2f6f6a;background:#edf7f5}.teacher-list-item span,.teacher-list-item small,.student-progress span,.student-progress small{color:#60706d}.teacher-list-item small{font-weight:800;white-space:nowrap}.admin-shell{display:grid;gap:18px;width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto;padding:0 0 56px}.admin-filter-row{display:flex;flex-wrap:wrap;gap:10px}.filter-chip{min-height:40px;border:1px solid #d8ddd7;border-radius:999px;padding:0 14px;background:#fffdfa;color:#465451;font-weight:800}.filter-chip.active{border-color:#2f6f6a;background:#edf7f5;color:#24423f}.admin-table{display:grid;gap:12px}.admin-user-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,auto);gap:14px;align-items:center;padding:16px 18px;border:1px solid rgba(47,111,106,.16);border-radius:8px;background:#fffdfa;box-shadow:0 18px 46px #2f464314}.admin-user-main,.admin-user-meta{display:grid;gap:4px}.admin-user-main span,.admin-user-meta span{color:#60706d}.admin-user-meta{justify-items:end}.progress-panel{grid-column:1 / -1}.student-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;align-items:center;border-top:1px solid #e6e2d8;padding-top:14px}.student-progress .progress-line,.student-progress small,.teacher-guide{grid-column:1 / -1}.teacher-guide ul{margin:0;padding-left:20px;color:#60706d;line-height:1.55}@media(max-width:900px){.auth-page,.lesson-block,.progress-history-section,.student-module-detail.has-media,.student-module-shell,.teacher-workspace,.teacher-grid{grid-template-columns:1fr}.student-module-nav,.course-list-panel{position:static}.course-manager-header{grid-template-columns:1fr}.course-manager-actions{justify-content:flex-start}.dashboard-hero,.course-hero{align-items:stretch;flex-direction:column}}@media(max-width:620px){.topbar{align-items:flex-start;flex-direction:column}.topbar-actions,.summary-strip,.answer-row,.certificate-band{width:100%}.summary-strip,.answer-row,.form-row,.task-type-grid,.option-editor-row,.option-editor-row:has(input+input),.upload-preview,.image-url-upload-row,.task-editor-item,.admin-user-card{grid-template-columns:1fr}.certificate-band{align-items:stretch;flex-direction:column}.admin-user-meta{justify-items:stretch}.user-chip{max-width:calc(100vw - 86px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.user-chip-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover}.course-promo-actions,.rich-editor-toolbar,.admin-user-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.course-search-panel{display:grid;grid-template-columns:minmax(240px,1fr) 190px 150px max-content max-content;gap:10px;align-items:center;margin-bottom:22px;overflow-x:auto;padding-bottom:4px}.course-search-panel select,.rich-editor-toolbar select{min-height:42px;border:1px solid #d8ddd7;border-radius:8px;padding:0 12px;background:#fff}.rich-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:1px solid #d8ddd7;border-radius:8px;padding:0 11px;background:#fffdfa;color:#24423f;cursor:pointer;font-weight:800}.rich-tool-button.active{border-color:#2f6f6a94;background:#edf7f5;color:#2f6f6a;box-shadow:inset 0 0 0 1px #2f6f6a14}.rich-tool-button--icon{width:40px;padding:0}.rich-image-picker input{display:none}.course-search-panel select:nth-of-type(1){width:190px}.course-search-panel select:nth-of-type(2){width:150px}.search-input{display:flex;align-items:center;gap:8px;min-width:220px;border:1px solid #d8ddd7;border-radius:8px;padding:0 12px;background:#fff}.search-input input{border:0;min-height:42px;min-width:0;outline:0}.course-author{color:#60706d;font-weight:700}.course-promo-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(24px,4vw,48px);align-items:start;width:min(var(--page-width),calc(100% - var(--page-gutter)));margin:0 auto;padding:28px 0 64px}.promo-main{display:grid;gap:34px;min-width:0}.course-promo-copy{display:grid;gap:14px;min-height:0}.course-promo-copy h1{max-width:760px;margin:0;color:#182b29;font-size:clamp(42px,6vw,76px);line-height:.98}.course-promo-copy p{max-width:720px;margin:0;color:#41504d;font-size:18px;line-height:1.55}.course-promo-section{display:grid;gap:14px;min-width:0}.course-promo-author,.promo-summary-panel div{display:flex;gap:10px;align-items:center;color:#60706d;font-weight:700}.course-promo-aside,.promo-summary-panel,.profile-avatar-card{border:1px solid #d8ddd7;border-radius:8px;padding:18px;background:#fff}.course-promo-sidebar{position:sticky;top:104px;display:grid;gap:18px;min-width:0}.course-promo-aside img,.profile-avatar-card img{width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:8px;margin-bottom:14px}.course-promo-aside>strong{display:block;font-size:2rem;margin-bottom:18px}.promo-includes{display:grid;gap:12px}.promo-includes .section-heading{margin-bottom:0}.learning-goals-list,.program-list,.order-list{display:grid;gap:10px}.promo-includes h2{margin:0 0 6px}.learning-goals-list span,.program-item,.order-item{display:flex;gap:10px;align-items:center;border-bottom:1px solid #d8ddd7;padding:10px 0}.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:24px;align-items:start;width:min(var(--profile-width),calc(100% - var(--page-gutter)));margin:0 auto 28px}.profile-hero{width:min(var(--profile-width),calc(100% - var(--page-gutter)))}.profile-grid--forms{grid-template-columns:minmax(0,1fr) minmax(300px,360px)}.profile-grid--history{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-history-column{display:grid;align-content:start;gap:24px;min-width:0}.profile-grid--history .teacher-panel{min-width:0}.profile-grid--history .history-list{max-height:360px;overflow:auto;padding-right:2px}.learning-goals-editor{display:grid;gap:10px}.learning-goals-list{display:grid;gap:8px}.learning-goal-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.learning-goal-row .icon-button:disabled{cursor:not-allowed;opacity:.45}.learning-goal-add{width:fit-content}.course-directions-picker{display:grid;gap:8px}.course-directions-list{grid-template-columns:repeat(2,minmax(0,1fr))}.course-directions-list label{min-height:40px;padding:8px 10px}.course-level-select{align-self:start}.course-level-select select{height:46px}.rich-content img,.rich-editor img{max-width:100%;border-radius:8px}.rich-editor-field{display:grid;gap:8px;color:#465451;font-size:14px;font-weight:800}.rich-editor{min-height:180px;border:1px solid #d8ddd7;border-radius:8px;padding:14px;background:#fff;color:#1f2933;font-weight:400;line-height:1.55}.rich-editor b,.rich-editor strong{font-weight:800}.rich-editor:empty:before{content:attr(data-placeholder);color:#8a9693;pointer-events:none}.checkbox-list{display:grid;gap:8px}.checkbox-list label{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:center;min-height:44px;border:1px solid #d8ddd7;border-radius:8px;padding:10px 12px;background:#fffdfa;color:#465451;cursor:pointer;font-weight:800}.checkbox-list label:has(input:checked){border-color:#2f6f6a94;background:#edf7f5;color:#24423f}.checkbox-list input[type=checkbox]{display:grid;place-items:center;width:22px;height:22px;min-height:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #aebfbb;border-radius:6px;padding:0;background:#fff}.checkbox-list input[type=checkbox]:before{width:10px;height:6px;border-bottom:3px solid #fff;border-left:3px solid #fff;content:"";opacity:0;transform:rotate(-45deg) translate(1px,-1px)}.checkbox-list input[type=checkbox]:checked{border-color:#2f6f6a;background:#2f6f6a}.checkbox-list input[type=checkbox]:checked:before{opacity:1}.checkbox-list input[type=checkbox]:focus-visible{outline:3px solid rgba(47,111,106,.18);outline-offset:2px}.profile-avatar-card{display:grid;justify-items:center;gap:12px}.profile-avatar-card img{width:116px;height:116px;aspect-ratio:1;border-radius:50%}.profile-avatar-card input,.file-picker input{display:none}@media(max-width:900px){.course-promo-layout,.profile-grid{grid-template-columns:1fr}.course-promo-sidebar{position:static}}
