:root{--bg:#0e1013;--bg-2:#111318;--panel:#16181d;--panel-2:#1d2027;--panel-3:#262a33;--border:#2b2f39;--border-2:#3a3f4b;--text:#f1efe8;--muted:#a2a5ae;--faint:#6d7280;--gold:#39b1d1;--gold-hover:#2f97b3;--gold-text:#63c6e0;--gold-soft:rgba(57,177,209,.1);--gold-line:rgba(57,177,209,.3);--ink:#052733;--green:#4ade80;--amber:#39b1d1;--red:#f87171;--radius:16px;--radius-sm:10px;--shadow:0 1px 2px rgba(0,0,0,.35),0 8px 24px rgba(0,0,0,.28);--shadow-lg:0 14px 40px rgba(0,0,0,.5)}*{box-sizing:border-box}body,html{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}::selection{background:rgba(57,177,209,.32);color:#fff}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--panel-3);border-radius:8px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:var(--border-2);background-clip:padding-box}.app-shell{display:grid;grid-template-columns:300px 1fr;min-height:100vh}.main{min-width:0}.main-inner{max-width:960px;margin:0 auto;padding:34px 36px 100px}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--bg-2);border-right:1px solid var(--border);padding:22px 14px 48px}.side-brand{display:flex;align-items:center;gap:10px;padding:0 6px}.side-logo{width:34px;height:34px;border-radius:10px;background:var(--gold);display:grid;place-items:center;font-weight:800;color:var(--ink);font-size:13px}.side-brand .bt{font-size:15px;font-weight:700;letter-spacing:-.01em}.side-tag{color:var(--faint);font-size:11px}.side-progress{margin:18px 6px 16px;padding:14px;border-radius:var(--radius-sm);background:var(--panel);border:1px solid var(--border)}.side-progress .pnum{font-size:22px;font-weight:800;letter-spacing:-.02em;color:var(--gold-text)}.side-progress .plbl{color:var(--muted);font-size:12px;margin-bottom:8px}.side-nav{display:flex;flex-direction:column;gap:3px;margin-bottom:12px}.side-nav a{display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:var(--radius-sm);font-size:14px;color:var(--muted);transition:.15s;border:1px solid transparent}.side-nav a svg{width:17px;height:17px;opacity:.8}.side-nav a:hover{color:var(--text);background:var(--panel-2)}.side-nav a.active{color:var(--text);background:var(--gold-soft);border-color:var(--gold-line)}.side-nav a.active svg{opacity:1;color:var(--gold-text)}.side-section-label{color:var(--faint);font-size:11px;text-transform:uppercase;letter-spacing:.09em;margin:8px 8px 6px}.side-tree details{margin-bottom:3px;border-radius:var(--radius-sm)}.side-tree summary{list-style:none;cursor:pointer;padding:8px 10px;border-radius:var(--radius-sm);display:flex;align-items:center;gap:8px}.side-tree summary::-webkit-details-marker{display:none}.side-tree summary:hover{background:var(--panel-2)}.side-tree summary .chev{color:var(--faint);font-size:10px;transition:transform .15s}.side-tree details[open] summary .chev{transform:rotate(90deg)}.side-tree summary .pcode{font-size:10px;font-weight:700;color:var(--ink);background:var(--gold);padding:2px 6px;border-radius:6px}.side-tree summary .ptitle{font-size:12.5px;font-weight:600;color:var(--text);flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-tree summary a.active .ptitle,.side-tree summary.cur .ptitle{color:var(--gold-text)}.side-mini{height:4px;background:var(--panel-3);border-radius:999px;margin:2px 10px 6px;overflow:hidden}.side-mini>span{display:block;height:100%;background:var(--gold);border-radius:999px}ul.side-weeks{list-style:none;padding:0 0 0 8px;border-left:1px solid var(--border);margin:2px 0 10px 16px}ul.side-weeks a{display:flex;align-items:center;gap:8px;padding:5px 9px;border-radius:7px;font-size:12.5px;color:var(--muted);transition:.12s}ul.side-weeks a:hover{background:var(--panel-2);color:var(--text)}ul.side-weeks a.active{background:var(--gold);color:var(--ink)}ul.side-weeks a.active .wn{color:var(--ink)}.side-weeks .wn{color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:28px;font-weight:600}.side-weeks .wt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--border-2)}.dot.in_progress{background:var(--gold)}.dot.done{background:var(--green)}.hero{position:relative;overflow:hidden;border:1px solid var(--border);border-left:4px solid var(--gold);border-radius:18px;padding:28px 30px;background:var(--panel);display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--shadow);margin-bottom:22px}.hero h1{font-size:26px;letter-spacing:-.02em;margin:0 0 6px}.hero p{color:var(--muted);margin:0 0 16px;max-width:46ch}.hero .eyebrow{color:var(--gold-text);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px}.btn-primary,button.primary{display:inline-flex;align-items:center;gap:8px;background:var(--gold);color:var(--ink);border:none;cursor:pointer;font:inherit;font-weight:700;padding:10px 18px;border-radius:11px;transition:.15s}.btn-primary:hover,button.primary:hover{background:var(--gold-hover)}button.primary:disabled{opacity:.55;cursor:default}.btn-ghost,button.ghost{background:var(--panel-2);color:var(--muted);border:1px solid var(--border);cursor:pointer;font:inherit;padding:8px 14px;border-radius:10px}.btn-ghost:hover,button.ghost:hover{color:var(--text);border-color:var(--border-2)}.seg,button.seg{cursor:pointer;font-size:13px;padding:8px 13px;border-radius:9px;background:var(--panel-2);color:var(--muted);border:1px solid var(--border);transition:.14s;font:inherit}a.seg{display:inline-block}.seg:hover,button.seg:hover{border-color:var(--border-2);color:var(--text)}button.seg.active{background:var(--gold);border-color:transparent;color:var(--ink);font-weight:600}button.seg.active.done{background:var(--green);color:#052e16}button.seg.active.in_progress{background:var(--gold);color:var(--ink)}.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:22px 24px;margin-bottom:18px;box-shadow:var(--shadow)}.card h2{margin:0 0 4px;font-size:17px;letter-spacing:-.01em}.label{color:var(--faint);font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:14px;gap:14px;margin-bottom:22px}.stat{position:relative;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow);overflow:hidden}.stat .ico{position:absolute;right:12px;top:12px;width:30px;height:30px;border-radius:9px;background:var(--gold-soft);display:grid;place-items:center;color:var(--gold-text)}.stat .ico svg{width:16px;height:16px}.stat .num{font-size:26px;font-weight:800;letter-spacing:-.02em}.stat .lbl{color:var(--muted);font-size:12.5px;margin-top:2px}.ring-wrap{display:grid;place-items:center}.ring text.ring-num{fill:var(--text);font-size:22px;font-weight:800}.ring text.ring-lbl{fill:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.1em}.bar{height:8px;background:var(--panel-3);overflow:hidden}.bar,.bar>span{border-radius:999px}.bar>span{display:block;height:100%;background:var(--gold);transition:width .4s ease}.continue{display:flex;align-items:center;gap:18px;background:var(--panel);border:1px solid var(--border-2);border-radius:var(--radius);padding:18px 20px;margin-bottom:22px;box-shadow:var(--shadow)}.continue .play{width:46px;height:46px;border-radius:13px;background:var(--gold);display:grid;place-items:center;color:var(--ink);flex:none}.continue .meta{flex:1 1;min-width:0}.continue .meta .k{color:var(--gold-text);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.continue .meta .t{font-size:16px;font-weight:600;margin-top:1px}.section-head{display:flex;align-items:baseline;justify-content:space-between;margin:26px 2px 14px}.section-head h3{font-size:15px;letter-spacing:.01em;margin:0}.section-head .hint{color:var(--faint);font-size:12.5px}.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:16px;gap:16px}.course{position:relative;overflow:hidden;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:0;box-shadow:var(--shadow);transition:.18s;display:flex;flex-direction:column}.course:hover{transform:translateY(-3px);border-color:var(--border-2);box-shadow:var(--shadow-lg)}.course .cover{height:84px;position:relative;display:flex;align-items:flex-end;padding:12px 16px}.course .cover .pc{font-size:11px;font-weight:800;letter-spacing:.04em;color:hsla(0,0%,100%,.95);background:rgba(0,0,0,.32);padding:3px 9px;border-radius:7px}.course .cover .done-pill{position:absolute;top:12px;right:12px;font-size:11px;font-weight:700;color:#fff;background:rgba(0,0,0,.34);padding:3px 9px;border-radius:999px}.course .body{padding:14px 16px 16px;flex:1 1;display:flex;flex-direction:column}.course .body .ct{font-size:15px;font-weight:700;letter-spacing:-.01em}.course .body .cm{color:var(--muted);font-size:12.5px;margin:2px 0 12px}.course .body .cbar{margin-top:auto}.course .body .cmeta{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:7px}.course .cta{margin-top:12px;font-size:13px;font-weight:600;color:var(--gold-text)}.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:var(--panel-2)}.badge,.badge.not_started{color:var(--muted)}.badge.in_progress{color:var(--gold-text);border-color:var(--gold-line);background:var(--gold-soft)}.badge.done{color:var(--green);border-color:rgba(74,222,128,.35);background:rgba(74,222,128,.08)}.lesson-head{position:relative;overflow:hidden;border:1px solid var(--border);border-left:4px solid var(--gold);border-radius:18px;padding:24px 28px;margin-bottom:18px;box-shadow:var(--shadow);background:var(--panel)}.lesson-head .eyebrow{color:var(--gold-text);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.lesson-head h1{font-size:25px;letter-spacing:-.02em;margin:6px 0 12px}.crumbs{color:var(--faint);font-size:13px;margin-bottom:16px}.crumbs a:hover{color:var(--text);text-decoration:underline}input[type=number],input[type=text],select,textarea{width:100%;background:var(--panel-2);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:10px 12px;font:inherit;margin-top:6px;transition:.14s}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(57,177,209,.18)}textarea{min-height:110px;resize:vertical}.field{margin-bottom:14px}.row{display:flex;gap:14px;flex-wrap:wrap}.row>*{flex:1 1;min-width:160px}.btn-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.back,.muted{color:var(--muted)}.back{font-size:14px;display:inline-block;margin-bottom:14px}.saved{color:var(--green)}.guide-link,.saved{font-size:13px;font-weight:600}.guide-link{margin-left:12px;color:var(--gold-text)}.guide-link:hover{text-decoration:underline}.log-item{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--border)}.log-item:first-child{border-top:none}.log-meta{color:var(--muted);font-size:13px}.artifact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));grid-gap:16px;gap:16px}.artifact{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow);transition:.16s;display:flex;flex-direction:column}.artifact:hover{border-color:var(--border-2);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.artifact .anum{width:30px;height:30px;border-radius:9px;background:var(--gold-soft);color:var(--gold-text);display:grid;place-items:center;font-weight:800;font-size:13px}.rm-wrap{overflow-x:auto;padding:10px 14px 18px}.rm-legend{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted)}.rm-legend .sw{width:12px;height:12px;border-radius:4px;display:inline-block;border:1px solid var(--border-2)}.rm-legend .sw.done{background:rgba(74,222,128,.25);border-color:rgba(74,222,128,.6)}.rm-legend .sw.in_progress{background:var(--gold-soft);border-color:var(--gold-line)}.rm-legend .sw.not_started{background:var(--panel-2)}.rm-spine{stroke:var(--border-2);stroke-width:3}.rm-conn,.rm-dot{stroke:var(--border-2);stroke-width:2}.rm-dot{fill:var(--panel)}.rm-dot.in_progress{fill:var(--gold);stroke:var(--gold)}.rm-dot.done{fill:var(--green);stroke:var(--green)}.rm-ms{fill:var(--panel-3);stroke:var(--gold);stroke-width:1.5;transition:.15s}.rm-ms:hover{fill:var(--panel-2)}.rm-ms-t{fill:var(--text);font-weight:700;font-size:13.5px}.rm-ms-s{fill:var(--muted);font-size:10.5px}.rm-node{fill:var(--panel-2);stroke:var(--border);stroke-width:1.5;transition:.15s}.rm-node:hover{stroke:var(--gold)}.rm-node.done{fill:rgba(74,222,128,.13);stroke:rgba(74,222,128,.5)}.rm-node.in_progress{fill:var(--gold-soft);stroke:var(--gold-line)}.rm-node-n{fill:var(--gold-text);font-weight:800;font-size:12.5px}.rm-node-t{fill:var(--text);font-size:12.5px}.rm-node.not_started .rm-node-t{fill:var(--muted)}svg a{cursor:pointer}.rm-node.current{stroke:var(--gold);stroke-width:2.6}.rm-ms.cur{stroke-width:2.4}.rm-dot.current{fill:var(--gold);stroke:#fff;stroke-width:2;animation:rmpulse 1.8s ease-in-out infinite}@keyframes rmpulse{0%,to{r:5}50%{r:8}}.rm-here{fill:var(--gold)}.rm-here-lbl{fill:var(--ink);font-size:8.5px;font-weight:800;letter-spacing:.06em}.rm-here-t{font-size:10.5px}.rm-here-t,.rm-toggle{fill:var(--gold-text);font-weight:700}.rm-toggle{font-size:13px}.rm-guide{fill:var(--muted);font-size:10.5px;font-weight:600}.rm-guide:hover{fill:var(--gold-text)}.rm-ms-g:hover .rm-ms{fill:var(--panel-2)}.prose{line-height:1.72;font-size:15.5px}.prose>:first-child{margin-top:0}.prose h1{font-size:25px;letter-spacing:-.02em;margin:30px 0 12px;padding-bottom:10px;border-bottom:1px solid var(--border)}.prose h2{font-size:20px;letter-spacing:-.01em;margin:28px 0 10px}.prose h3{font-size:16px;margin:22px 0 6px;color:var(--gold-text);text-transform:none}.prose p{margin:11px 0}.prose ol,.prose ul{margin:11px 0;padding-left:24px}.prose li{margin:5px 0}.prose li::marker{color:var(--gold)}.prose a{color:var(--gold);text-decoration:underline;text-underline-offset:2px}.prose a:hover{color:var(--gold-hover)}.prose code{background:var(--panel-3);padding:2px 7px;border-radius:6px;font-size:13px;color:#bfe9f5}.prose pre{background:var(--panel-2);padding:14px;border-radius:10px;overflow-x:auto;border:1px solid var(--border)}.prose pre code{background:none;padding:0;color:var(--text)}.prose blockquote{border-left:3px solid var(--gold);margin:16px 0;padding:10px 16px;color:var(--muted);background:var(--gold-soft);border-radius:0 10px 10px 0}.prose table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px;overflow:hidden;border-radius:10px;border:1px solid var(--border)}.prose td,.prose th{border-bottom:1px solid var(--border);border-right:1px solid var(--border);padding:9px 12px;text-align:left;vertical-align:top}.prose tr:last-child td{border-bottom:none}.prose td:last-child,.prose th:last-child{border-right:none}.prose th{background:var(--panel-2);font-weight:700}.prose tr:hover td{background:rgba(57,177,209,.05)}.prose details{background:var(--panel-2);border:1px solid var(--border);border-radius:10px;padding:12px 16px;margin:14px 0}.prose summary{cursor:pointer;color:var(--gold-text);font-weight:600}.prose hr{border:none;border-top:1px solid var(--border);margin:26px 0}.prose strong{color:var(--text);font-weight:700}@media (max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:none;border-bottom:1px solid var(--border)}ul.side-weeks .wt{white-space:normal}.main-inner{padding:22px 18px 80px}.hero{flex-direction:column;align-items:flex-start}}.side-signout{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.side-signout button{width:100%;background:none;border:1px solid var(--border);color:var(--muted);font-size:13px;padding:9px 11px;border-radius:var(--radius-sm);cursor:pointer;transition:.15s}.side-signout button:hover{color:var(--text);background:var(--panel-2);border-color:var(--border-2)}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:100%;max-width:360px;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:28px 26px;box-shadow:var(--shadow-lg)}.login-title{font-size:18px;font-weight:700;margin:0 0 18px;color:var(--text)}.login-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-size:13px;color:var(--muted)}.login-field input{font:inherit;background:var(--panel-2);border:1px solid var(--border);color:var(--text);border-radius:var(--radius-sm);padding:10px 12px}.login-field input:focus{outline:none;border-color:var(--gold-line);background:var(--bg-2)}.login-error{color:var(--red);font-size:13px;margin:0 0 14px}.login-submit{width:100%;background:var(--gold);color:var(--ink);border:none;font-weight:700;font-size:14px;padding:11px;border-radius:var(--radius-sm);cursor:pointer;transition:.15s}.login-submit:hover{background:var(--gold-hover)}