:root{--bg:#f4f5f7;--surface:#fff;--surface-2:#f7f8fa;--border:#e3e5ea;--border-strong:#d3d6de;--line:#edeef1;--ink:#15171c;--ink-2:#3f4350;--muted:#5b6070;--accent:#3346d3;--accent-ink:#2233a8;--accent-soft:#e8ebfc;--accent-mid:#a9b3f3;--master:#b45309;--master-ink:#8f4207;--master-soft:#fdf0e1;--master-mid:#f2c38f;--warn-bg:#fff5e0;--warn-ink:#6b4600;--danger:#b42318;--radius:14px;--radius-lg:20px;--display:"Space Grotesk", system-ui, sans-serif;--sans:Inter, system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;margin:0}a{color:var(--accent-ink)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}h1,h2,h3{font-family:var(--display);margin:0}p{margin:0}.btn{white-space:nowrap;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.55;cursor:default}.btn-dark{background:var(--ink);color:#fff}.btn-primary{background:var(--accent);color:#fff}.btn-ghost{background:var(--surface);border-color:var(--border-strong);color:var(--ink)}.btn-quiet{color:var(--muted);background:0 0;padding:0 10px}.btn-danger{background:var(--surface);border-color:var(--border-strong);color:var(--danger)}.btn-lg{border-radius:12px;min-height:48px;padding:0 22px;font-size:15px}.btn-block{width:100%}.icon-btn{background:var(--bg);width:44px;height:44px;color:var(--ink-2);border:none;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:10;position:sticky;top:0}.topbar-in{flex-wrap:wrap;align-items:center;gap:12px;max-width:1280px;margin:0 auto;padding:12px 24px;display:flex}.brand{color:var(--ink);flex-grow:1;align-items:center;gap:10px;text-decoration:none;display:flex}.brand-mark{background:var(--ink);border-radius:9px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.brand-name{font-family:var(--display);letter-spacing:-.01em;font-size:19px;font-weight:700}.nav{gap:4px;display:flex}.nav a{color:var(--muted);border-radius:8px;padding:10px 14px;font-size:14px;font-weight:500;text-decoration:none}.nav a.active{background:var(--accent-soft);color:var(--accent-ink);font-weight:600}.avatar{background:var(--accent-soft);width:40px;height:40px;color:var(--accent-ink);border:none;border-radius:50%;justify-content:center;align-items:center;font-size:14px;font-weight:700;display:inline-flex}.menu{position:relative}.menu-pop{background:var(--surface);border:1px solid var(--border);z-index:20;border-radius:12px;min-width:220px;padding:6px;position:absolute;top:48px;right:0;box-shadow:0 12px 32px #15171c1f}.menu-pop .who{color:var(--muted);border-bottom:1px solid var(--line);text-overflow:ellipsis;margin-bottom:4px;padding:10px 12px;font-size:13px;overflow:hidden}.menu-pop button{text-align:left;background:0 0;border:none;border-radius:8px;width:100%;padding:12px;font-size:14px;font-weight:500}.menu-pop button:hover{background:var(--bg)}.page{flex-direction:column;gap:28px;max-width:1280px;margin:0 auto;padding:36px 24px 72px;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.page-title{letter-spacing:-.02em;font-size:36px;font-weight:700}.sub{color:var(--muted);margin-top:6px;font-size:16px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px}.stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:6px;padding:20px;display:flex}.stat-label{color:var(--muted);font-size:13px;font-weight:500}.stat-value{font-family:var(--display);font-size:30px;font-weight:700}.kv-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:500}.kv-value{font-family:var(--display);font-size:22px;font-weight:600}.kv-note{color:var(--muted);font-size:13px}.lang-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr));gap:20px;display:grid}.lang-card{flex-direction:column;gap:20px;display:flex}.lang-head{align-items:center;gap:14px;display:flex}.lang-code{background:var(--bg);border:1px solid var(--border);width:48px;height:48px;font-family:var(--display);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.lang-code.lg{border-radius:16px;width:64px;height:64px;font-size:20px}.lang-name{font-size:22px;font-weight:600}.lang-phase{color:var(--muted);font-size:14px}.grow{flex-grow:1;min-width:0}.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.foot{border-top:1px solid var(--line);color:var(--ink-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;font-size:14px;display:flex}.link{min-height:44px;color:var(--accent-ink);align-items:center;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.badge{white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600}.badge-learn{background:var(--accent-soft);color:var(--accent-ink)}.badge-master{background:var(--master-soft);color:var(--master-ink)}.badge-paused{color:#4a4f5c;background:#edeef1}.track{align-items:center;gap:4px;display:flex}.seg{background:var(--border);border-radius:5px;flex:1;height:10px}.seg.done{background:var(--accent)}.seg.cur{background:var(--accent-mid);box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--accent)}.seg.m.done{background:var(--master)}.seg.m.cur{background:var(--master-mid);box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--master)}.track.gray .seg.done{background:#9a9fad}.track.gray .seg.cur{background:var(--border-strong);box-shadow:0 0 0 2px #fff,0 0 0 4px #9a9fad}.track-div{background:var(--ink);border-radius:1px;width:2px;height:18px;margin:0 3px}.track-legend{color:var(--muted);justify-content:space-between;margin-top:8px;font-size:12px;display:flex}.bar{background:#edeef1;border-radius:3px;height:6px;overflow:hidden}.bar>div{background:var(--accent);border-radius:3px;height:100%}.bar.late>div{background:#c98a12}.note-warn{background:var(--warn-bg);color:var(--warn-ink);border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.45}.empty{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:56px 24px;display:flex}.empty h2{font-size:24px}.empty p{color:var(--muted);max-width:440px;line-height:1.5}.add-card{border:2px dashed var(--border-strong);border-radius:var(--radius-lg);min-height:200px;color:var(--muted);background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:15px;font-weight:600;display:flex}.add-card:hover{border-color:var(--accent);color:var(--accent-ink)}.hero{flex-wrap:wrap;align-items:center;gap:28px;display:flex}.hero-id{flex:999 360px;align-items:center;gap:16px;min-width:0;display:flex}.hero-stats{flex:420px;grid-template-columns:repeat(3,minmax(110px,1fr));gap:20px;display:grid}.split{flex-wrap:wrap;align-items:flex-start;gap:28px;display:flex}.split-side{flex-direction:column;flex:340px;gap:28px;display:flex}.split-main{flex-direction:column;flex:999 560px;gap:28px;min-width:0;display:flex}.section-title{margin-bottom:14px;font-size:20px;font-weight:600}.timeline{margin:0;padding:0;list-style:none}.timeline li{gap:14px;padding:10px 0;display:flex}.dot{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:13px;font-weight:700;display:flex}.dot.done{background:var(--accent);color:#fff}.dot.cur{background:var(--accent-soft);border:2px solid var(--accent);color:var(--accent-ink)}.dot.locked{background:var(--bg);border:1px solid var(--border-strong);color:#6b7080;font-weight:600}.dot.m.done{background:var(--master)}.dot.m.cur{background:var(--master-soft);border-color:var(--master);color:var(--master-ink)}.tl-name{font-size:15px;font-weight:600}.tl-meta{color:var(--muted);margin-top:2px;font-size:13px}.tl-div{background:var(--bg);color:#4a4f5c;text-transform:uppercase;letter-spacing:.05em;border-radius:8px;font-size:12px;font-weight:600;margin:8px 0 12px!important;padding:8px 12px!important}.current{border:2px solid var(--accent);flex-direction:column;gap:22px;display:flex}.current.m{border-color:var(--master)}.eyebrow{color:var(--accent-ink);text-transform:uppercase;letter-spacing:.05em;font-size:13px;font-weight:600}.current.m .eyebrow{color:var(--master-ink)}.current h2{margin-top:6px;font-size:26px;font-weight:700}.current .goal{color:var(--ink-2);margin-top:6px;font-size:15px;line-height:1.5}.h3{font-family:var(--sans);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:10px;font-size:13px;font-weight:600}.check{background:var(--surface-2);cursor:pointer;border-radius:12px;align-items:flex-start;gap:12px;min-height:44px;margin-bottom:8px;padding:12px 14px;font-size:15px;line-height:1.45;display:flex}.check input{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0;margin:0}.check.on span{color:var(--muted);text-decoration:line-through}.criterion{background:var(--accent-soft);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex}.current.m .criterion{background:var(--master-soft)}.criterion-label{color:var(--accent-ink);font-size:13px;font-weight:600}.current.m .criterion-label{color:var(--master-ink)}.chart{border-bottom:1px solid var(--border);grid-template-columns:repeat(8,minmax(0,1fr));align-items:end;gap:12px;height:220px;display:grid}.col{flex-direction:column;justify-content:flex-end;gap:2px;height:100%;display:flex}.col-total{color:var(--ink-2);text-align:center;margin-bottom:4px;font-size:12px;font-weight:600}.col-part{border-radius:3px;min-height:2px}.chart-x{color:var(--muted);text-align:center;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin-top:8px;font-size:12px;display:grid}.legend{color:var(--ink-2);flex-wrap:wrap;gap:14px;font-size:13px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.sw{border-radius:3px;flex-shrink:0;width:10px;height:10px;display:inline-block}.hist-row{border-top:1px solid var(--line);align-items:center;gap:14px;padding:12px 0;display:flex}.hist-kind{font-size:15px;font-weight:600}.hist-note{color:var(--muted);text-overflow:ellipsis;margin-top:2px;font-size:13px;overflow:hidden}.hist-right{flex-direction:column;align-items:flex-end;gap:2px;font-size:15px;font-weight:600;display:flex}.hist-right small{color:var(--muted);font-size:12px;font-weight:400}.overlay{z-index:50;background:#15171c73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.dialog{background:var(--surface);border-radius:22px;flex-direction:column;gap:22px;width:100%;max-width:560px;max-height:calc(100vh - 32px);padding:28px;display:flex;overflow-y:auto;box-shadow:0 24px 60px #15171c40}.dialog-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.dialog-head h2{font-size:24px;font-weight:700}.field{color:var(--ink-2);flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.input{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--ink);border-radius:10px;width:100%;padding:0 12px;font-size:15px;font-weight:500}textarea.input{resize:vertical;min-height:84px;padding:12px;font-weight:400}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--ink-2);border-radius:999px;padding:0 16px;font-size:14px;font-weight:500}.chip[aria-pressed=true]{border:2px solid var(--accent);background:var(--accent-soft);color:var(--accent-ink);font-weight:600}.durs{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.dur{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--ink-2);border-radius:10px;font-size:14px;font-weight:500}.dur[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:600}.hint{background:var(--bg);color:var(--ink-2);border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.45}.actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.err{color:var(--danger);font-size:14px}.lang-pick{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;max-height:360px;display:grid;overflow-y:auto}.lang-opt{border:1px solid var(--border-strong);background:var(--surface);text-align:left;border-radius:12px;align-items:center;gap:10px;min-height:52px;padding:0 12px;font-size:15px;font-weight:500;display:flex}.lang-opt[aria-pressed=true]{border:2px solid var(--accent);background:var(--accent-soft)}.lang-opt:disabled{opacity:.45;cursor:default}.lang-opt .code{font-family:var(--display);color:var(--muted);width:26px;font-size:13px;font-weight:700}.celebrate{background:var(--ink);color:#fff;z-index:60;display:flex;position:fixed;inset:0;overflow-y:auto}.celebrate-in{flex-direction:column;gap:36px;width:100%;max-width:880px;margin:auto;padding:56px 24px;display:flex}.celebrate .eyebrow{color:var(--master-mid);letter-spacing:.08em}.celebrate h1{letter-spacing:-.03em;margin-top:16px;font-size:clamp(44px,8vw,72px);font-weight:700;line-height:1}.celebrate p{color:#c9ccd6;max-width:620px;margin-top:18px;font-size:18px;line-height:1.5}.celebrate .track{max-width:420px}.celebrate .seg{background:#3a3d46}.celebrate .seg.done{background:#8e9bf0}.celebrate .seg.m.done{background:var(--master-mid)}.celebrate .seg.cur,.celebrate .seg.m.cur{box-shadow:0 0 0 2px var(--ink), 0 0 0 4px #fff}.celebrate .track-div{background:#fff}.c-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.c-stat{background:#22252d;border-radius:14px;flex-direction:column;gap:4px;padding:18px 20px;display:flex}.c-stat span:first-child{color:#a9aebc;font-size:13px}.c-stat span:last-child{font-family:var(--display);font-size:28px;font-weight:700}.c-foot{border-top:1px solid #2e3139;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding-top:24px;display:flex}.btn-gold{background:var(--master-mid);color:var(--ink);font-weight:700}.btn-outline-dark{color:#fff;background:0 0;border-color:#3a3d46}.auth{flex-wrap:wrap;min-height:100vh;display:flex}.auth-side{background:var(--ink);color:#fff;flex-direction:column;flex:420px;justify-content:space-between;gap:40px;padding:48px;display:flex}.auth-side h1{letter-spacing:-.03em;font-size:clamp(36px,5vw,56px);line-height:1.05}.auth-side p{color:#c9ccd6;max-width:460px;margin-top:16px;font-size:17px;line-height:1.5}.auth-phases{color:#c9ccd6;flex-direction:column;gap:10px;font-size:14px;display:flex}.auth-phases div{align-items:center;gap:12px;display:flex}.auth-phases b{color:#fff;background:#22252d;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:12px;display:inline-flex}.auth-phases .m b{color:var(--master-mid);background:#3b2a17}.auth-main{background:var(--surface);flex:420px;justify-content:center;align-items:center;padding:48px 24px;display:flex}.auth-form{flex-direction:column;gap:18px;width:100%;max-width:380px;display:flex}.auth-form h2{font-size:28px;font-weight:700}.seg-ctl{background:var(--bg);border-radius:12px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.seg-ctl button{min-height:40px;color:var(--muted);background:0 0;border:none;border-radius:9px;font-size:14px;font-weight:600}.seg-ctl button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #15171c1f}.or{color:var(--muted);align-items:center;gap:12px;font-size:13px;display:flex}.or:before,.or:after{content:"";background:var(--border);flex:1;height:1px}.ok{color:#14532d;background:#e6f4ec;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.45}.center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100vh;padding:24px;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=640px){.page{padding:24px 16px 56px}.topbar-in{padding:10px 16px}.nav{display:none}.page-title{font-size:30px}.hero-stats,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-value{font-size:24px}.chart,.chart-x{gap:6px}.durs{grid-template-columns:repeat(3,minmax(0,1fr))}.dialog{padding:22px}.auth-side{padding:32px 20px}.hide-sm{display:none}}.sr-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
