:root{--bg:#f7f7f5;--surface:#fff;--surface-2:#f1f1ee;--border:#e5e4df;--border-strong:#d3d1ca;--text:#1b1b1f;--text-2:#4d4d56;--text-3:#75757e;--link:#4b47c9;--focus:#6d5bd9;--grad:linear-gradient(90deg, #3d6fe0 0%, #7a4fd8 52%, #d44a8e 100%);--grad-soft:linear-gradient(90deg, #3d6fe014, #7a4fd814, #d44a8e14);--success:#1d7348;--success-bg:#ecf6f0;--warning:#955509;--warning-bg:#fdf5e7;--danger:#b42318;--danger-bg:#fdf0ee;--radius:12px;--radius-sm:8px;--shadow:0 1px 2px #1818200a, 0 1px 1px #18182005;--font:"Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-serif:"Literata", Georgia, "Times New Roman", serif;--sidebar:248px}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:1.6}h1,h2,h3,h4{letter-spacing:-.01em;margin:0 0 .5em;font-weight:600;line-height:1.25}h1{font-family:var(--font-serif);font-size:clamp(1.6rem,1.3rem + 1.2vw,2rem);font-weight:500}h2{font-size:1.25rem}h3{font-size:1.05rem}p{margin:0 0 1em}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.muted{color:var(--text-2)}.small{font-size:.875rem}.eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);margin-bottom:.4rem;font-size:.8rem;font-weight:600}.stack>*+*{margin-top:1rem}.stack-lg>*+*{margin-top:2rem}.row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.spacer{flex:1}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.brand{color:var(--text);flex-direction:column;gap:4px;text-decoration:none;display:inline-flex}.brand:hover{text-decoration:none}.brand-name{font-family:var(--font-serif);letter-spacing:-.01em;font-size:1.15rem;font-weight:600;line-height:1.1}.brand-name sup{font-size:.55em;font-family:var(--font);margin-left:1px;font-weight:500}.brand-bar{background:var(--grad);border-radius:2px;width:36px;height:3px;display:block}.btn{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:.5rem;padding:.6rem 1.15rem;font-size:.95rem;font-weight:500;line-height:1.2;text-decoration:none;transition:background-color .15s,border-color .15s,filter .15s;display:inline-flex}.btn:hover{background:var(--surface-2);text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--grad);color:#fff;border:0}.btn-primary:hover{background:var(--grad);filter:brightness(1.06)}.btn-ghost{background:0 0;border-color:#0000}.btn-danger{color:var(--danger)}.btn-sm{border-radius:8px;min-height:34px;padding:.35rem .75rem;font-size:.85rem}.btn-block{width:100%}.link-btn{font:inherit;color:var(--link);cursor:pointer;background:0 0;border:0;padding:0}.link-btn:hover{text-decoration:underline}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem}.card-lg{padding:1.5rem}@media (width>=720px){.card-lg{padding:2rem}}.card h2,.card h3{margin-bottom:.35rem}.card-accent{position:relative;overflow:hidden}.card-accent:before{content:"";background:var(--grad);height:3px;position:absolute;top:0;left:0;right:0}.grid{gap:1rem;display:grid}@media (width>=720px){.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.list-item{border-top:1px solid var(--border);color:var(--text);align-items:center;gap:1rem;padding:.95rem 1.15rem;text-decoration:none;display:flex}.list-item:first-child{border-top:0}a.list-item:hover{background:#fafaf8;text-decoration:none}.list-item-main{flex:1;min-width:0}.list-item-title{font-weight:500}.list-item-meta{color:var(--text-3);font-size:.85rem}.list-item-actions{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:flex}@media (width<=719px){.list-item.stack-mobile{flex-direction:column;align-items:stretch;gap:.6rem}.list-item.stack-mobile .list-item-actions{justify-content:flex-start}}.badge{background:var(--surface-2);color:var(--text-2);white-space:nowrap;border-radius:999px;align-items:center;padding:.12rem .55rem;font-size:.75rem;font-weight:500;display:inline-flex}.badge-success{background:var(--success-bg);color:var(--success)}.badge-warning{background:var(--warning-bg);color:var(--warning)}.badge-danger{background:var(--danger-bg);color:var(--danger)}.badge-accent{background:var(--grad-soft);color:#4e3fb5}.dot{border:1.5px solid var(--border-strong);border-radius:50%;flex:none;width:20px;height:20px;display:inline-block;position:relative}.dot.done{background:var(--grad);border:0}.dot.done:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:4px;left:7px;transform:rotate(45deg)}.dot.current{border-color:#7a4fd8;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 10px #7a4fd8}.progress{background:var(--surface-2);border-radius:999px;height:8px;overflow:hidden}.progress>span{border-radius:inherit;background:var(--grad);height:100%;transition:width .4s;display:block}.progress-label{color:var(--text-2);justify-content:space-between;margin-bottom:.4rem;font-size:.85rem;display:flex}.form{gap:1rem;display:grid}.field{gap:.35rem;display:grid}.field label,.label{font-size:.9rem;font-weight:500}.field .help{color:var(--text-3);font-size:.8rem}.input,.select,.textarea{border:1px solid var(--border-strong);width:100%;min-height:44px;color:var(--text);font:inherit;background:#fff;border-radius:10px;padding:.6rem .8rem;font-size:1rem}.textarea{resize:vertical;min-height:110px;line-height:1.5}.input:focus,.select:focus,.textarea:focus{border-color:var(--focus);outline:none;box-shadow:0 0 0 3px #6d5bd926}.checkbox{align-items:center;gap:.6rem;font-size:.95rem;display:flex}.checkbox input{accent-color:#7a4fd8;width:18px;height:18px}.form-row{gap:1rem;display:grid}@media (width>=560px){.form-row{grid-template-columns:1fr 1fr}}.alert{border:1px solid #0000;border-radius:10px;padding:.8rem 1rem;font-size:.93rem}.alert-error{background:var(--danger-bg);color:var(--danger);border-color:#f5d5d0}.alert-success{background:var(--success-bg);color:var(--success);border-color:#cfe7d9}.alert-info{background:var(--surface-2);color:var(--text-2)}.public-header{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);background:#f7f7f5eb;position:sticky;top:0}.container{width:100%;max-width:1080px;margin:0 auto;padding:0 1.25rem}.container-narrow{max-width:760px}.public-header .container{align-items:center;gap:.75rem;min-height:64px;display:flex}.public-header nav{align-items:center;gap:.5rem;margin-left:auto;display:flex}.hero{padding:4rem 0 3rem}@media (width>=720px){.hero{padding:6rem 0 4.5rem}}.hero h1{max-width:18ch;margin-bottom:1.25rem;font-size:clamp(2rem,1.4rem + 2.6vw,3.1rem)}.hero .lead{color:var(--text-2);max-width:58ch;margin-bottom:2rem;font-size:1.15rem}.section{border-top:1px solid var(--border);padding:3.5rem 0}.section h2{font-family:var(--font-serif);margin-bottom:.75rem;font-size:clamp(1.45rem,1.2rem + 1vw,1.9rem);font-weight:500}.section-intro{color:var(--text-2);max-width:60ch;margin-bottom:2rem}.step-num{font-family:var(--font-serif);background:var(--grad);color:#0000;-webkit-background-clip:text;background-clip:text;margin-bottom:.4rem;font-size:1.05rem;font-weight:600}.checklist{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.checklist li{padding-left:1.6rem;position:relative}.checklist li:before{content:"";background:var(--grad);border-radius:2px;width:10px;height:2px;position:absolute;top:.62em;left:0}.cta-band{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:2.5rem 1.5rem;position:relative;overflow:hidden}.cta-band:before{content:"";background:var(--grad);height:3px;position:absolute;inset:0 0 auto}.public-footer{color:var(--text-3);border-top:1px solid var(--border);padding:2rem 0 3rem;font-size:.875rem}.auth-page{justify-content:center;align-items:flex-start;min-height:calc(100vh - 65px);padding:2.5rem 1.25rem 4rem;display:flex}@media (width>=720px){.auth-page{padding-top:4.5rem}}.auth-card{width:100%;max-width:440px}.auth-card.wide{max-width:560px}.auth-card h1{font-size:1.6rem}.shell{min-height:100vh}.sidebar{display:none}.topbar{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);background:#fffffff2;align-items:center;gap:.75rem;min-height:60px;padding:0 1rem;display:flex;position:sticky;top:0}.menu-btn{margin-left:auto}.menu-icon{border-top:2px solid;border-bottom:2px solid;width:18px;height:12px;display:inline-block;position:relative}.menu-icon:after{content:"";border-top:2px solid;position:absolute;top:3px;left:0;right:0}.drawer-backdrop{z-index:30;background:#14141c52;position:fixed;inset:0}.drawer{z-index:31;background:var(--surface);border-left:1px solid var(--border);flex-direction:column;width:min(320px,86vw);padding:1rem;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto}.drawer-head{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.nav{gap:2px;display:grid}.nav-section{letter-spacing:.07em;text-transform:uppercase;color:var(--text-3);padding:1rem .75rem .35rem;font-size:.72rem;font-weight:600}.nav a{color:var(--text-2);border-radius:8px;padding:.6rem .75rem;font-size:.95rem;text-decoration:none;display:block;position:relative}.nav a:hover{background:var(--surface-2);color:var(--text)}.nav a.active{background:var(--surface-2);color:var(--text);font-weight:500}.nav a.active:before{content:"";background:var(--grad);border-radius:2px;width:3px;position:absolute;top:8px;bottom:8px;left:0}.nav-footer{border-top:1px solid var(--border);gap:.5rem;margin-top:auto;padding-top:1rem;font-size:.875rem;display:grid}.nav-user{color:var(--text-2);text-overflow:ellipsis;padding:0 .75rem;overflow:hidden}.main{padding:1.5rem 1rem 4rem}.main-inner{max-width:880px;margin:0 auto}.main-inner.wide{max-width:1120px}@media (width>=960px){.topbar{display:none}.sidebar{width:var(--sidebar);background:var(--surface);border-right:1px solid var(--border);flex-direction:column;padding:1.5rem 1rem 1rem;display:flex;position:fixed;top:0;bottom:0;left:0;overflow-y:auto}.sidebar .brand{padding:0 .75rem 1.25rem}.main{margin-left:var(--sidebar);padding:2.5rem 2.5rem 5rem}}.page-head{margin-bottom:1.75rem}.page-head p{color:var(--text-2);max-width:62ch;margin:0}.page-head-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.breadcrumb{color:var(--text-3);margin-bottom:.6rem;font-size:.85rem}.breadcrumb a{color:var(--text-3)}.video{aspect-ratio:16/9;border-radius:var(--radius);background:#111;position:relative;overflow:hidden}.video iframe,.video video{border:0;width:100%;height:100%;position:absolute;inset:0}.prompt-box{background:var(--surface-2);border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;border-radius:10px;padding:1rem;font-size:.93rem;line-height:1.55}.rich p:last-child{margin-bottom:0}.rich h3{margin-top:1.5rem}.rich ul{margin:0 0 1em;padding-left:1.2rem}.rich li+li{margin-top:.3rem}.lesson-nav{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:.75rem;padding-top:1.5rem;display:flex}.chips{flex-wrap:wrap;gap:.4rem;display:flex}.chip{border:1px solid var(--border-strong);background:var(--surface);font:inherit;color:var(--text-2);cursor:pointer;border-radius:999px;padding:.4rem .85rem;font-size:.875rem}.chip:hover{border-color:#b9b6ad}.chip.active{background:var(--text);color:#fff;border-color:#0000}.filters{gap:.75rem;margin-bottom:1.5rem;display:grid}.filters-selects{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}@media (width>=720px){.filters-selects{grid-template-columns:220px 220px}}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;container-type:inline-size}.table{border-collapse:collapse;width:100%;font-size:.9rem}.table th{text-align:left;color:var(--text-3);border-bottom:1px solid var(--border);background:#fafaf8;padding:.7rem 1rem;font-size:.8rem;font-weight:500}.table td{border-top:1px solid var(--border);vertical-align:middle;padding:.75rem 1rem}.table tr:first-child td{border-top:0}@container (width<=760px){.table thead{display:none}.table,.table tbody,.table tr,.table td{width:100%;display:block}.table tr{border-top:1px solid var(--border);padding:.75rem 1rem}.table tr:first-child{border-top:0}.table td{border:0;padding:.2rem 0}.table td[data-label]:before{content:attr(data-label) ": ";color:var(--text-3);font-size:.8rem}}.stat{gap:.2rem;display:grid}.stat-value{font-size:1.7rem;font-weight:600;line-height:1.1}.stat-label{color:var(--text-2);font-size:.85rem}.tabs{border-bottom:1px solid var(--border);scrollbar-width:none;gap:.25rem;margin-bottom:1.25rem;display:flex;overflow:auto hidden}.tab{font:inherit;color:var(--text-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:.6rem .9rem;font-size:.92rem;text-decoration:none}.tab:hover{color:var(--text);text-decoration:none}.tab.active{color:var(--text);border-image:var(--grad) 1;border-bottom-style:solid;border-bottom-width:2px;font-weight:500}.modal-backdrop{z-index:40;background:#14141c5c;justify-content:center;align-items:flex-start;padding:1rem;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:100%;max-width:640px;margin:2rem 0;padding:1.5rem}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;margin-top:.5rem;display:flex}.loading{text-align:center;color:var(--text-3);padding:3rem 0;font-size:.93rem}.empty{text-align:center;color:var(--text-2);background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius);padding:2rem 1.25rem}.filters-selects>*{min-width:0}.file-field{gap:.5rem;display:grid}.file-current{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.6rem .8rem;display:flex}.file-name{text-overflow:ellipsis;flex:1;min-width:0;font-size:.9rem;font-weight:500;overflow:hidden}.file-progress{gap:.4rem;display:grid}.main-inner:has(.course){max-width:1180px}.course{gap:2rem;display:grid}.course-main{min-width:0}.course-nav{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);align-self:start;padding:.5rem 0}.course-nav-title{letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);padding:.75rem 1.1rem .5rem;font-size:.75rem;font-weight:600}.course-group+.course-group{border-top:1px solid var(--border)}.course-group summary{cursor:pointer;align-items:center;gap:.75rem;padding:.85rem 1.1rem;font-weight:500;list-style:none;display:flex}.course-group summary::-webkit-details-marker{display:none}.course-group summary:before{content:"+";width:.8rem;color:var(--text-3);font-weight:400}.course-group[open] summary:before{content:"–"}.course-group-title{flex:1;min-width:0}.course-group-count{color:var(--text-3);font-size:.8rem;font-weight:400}.course-items{margin:0;padding:0 0 .5rem;list-style:none}.course-item{color:var(--text-2);align-items:flex-start;gap:.75rem;padding:.55rem 1.1rem .55rem 2.3rem;font-size:.92rem;line-height:1.45;text-decoration:none;display:flex;position:relative}.course-item:hover{background:var(--surface-2);color:var(--text);text-decoration:none}.course-item.active{background:var(--surface-2);color:var(--text);font-weight:500}.course-item.active:before{content:"";background:var(--grad);border-radius:2px;width:3px;position:absolute;top:6px;bottom:6px;left:0}.course-item-title{flex:1;min-width:0}.check{border:solid var(--success);border-width:0 2px 2px 0;flex:none;width:7px;height:13px;margin:2px 4px 0;display:inline-block;transform:rotate(45deg)}.lesson-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.complete-btn.is-done{color:var(--success);background:var(--success-bg);border-color:#cfe7d9}.complete-btn.is-done .check{margin-top:-3px}.lesson-files h2{font-size:1rem}.lesson-files ul{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.lesson-files a{text-underline-offset:3px;text-decoration:underline}@media (width>=1100px){.course{grid-template-columns:320px minmax(0,1fr);align-items:start}.course-nav{grid-area:1/1;max-height:calc(100vh - 3rem);position:sticky;top:1.5rem;overflow-y:auto}.course-main{grid-area:1/2}}.row-title{font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:500}.row-title:hover{text-underline-offset:3px;text-decoration:underline}.order-btns{display:inline-flex}.order-btns .btn{min-width:34px;color:var(--text-3);padding:.35rem .5rem}
