:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202337;background:#f6f7fb;--bg:#f6f7fb;--panel:#fff;--text:#202337;--muted:#777d92;--border:#e5e7f0;--accent:#5546e8;--soft:#efedff;--shadow:0 10px 30px #27254c08;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9287ff;outline-offset:2px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(29px,4vw,39px);letter-spacing:-1.7px;line-height:1.15}h2{letter-spacing:-.7px}p{line-height:1.65;color:var(--muted)}.center{min-height:100vh;display:grid;place-content:center;text-align:center;justify-items:center;gap:12px;padding:24px}.brand{display:flex;align-items:center;gap:7px;font-size:21px;font-weight:800;letter-spacing:-.9px;white-space:nowrap}.brand img{width:35px;height:35px;margin-right:2px}.brand span{color:var(--accent)}.eyebrow,.nav-label{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--accent)}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:48px 64px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;background:radial-gradient(circle at 80% 20%,#5146a9 0,transparent 40%),#211b49;color:#fff}.auth-story .brand span{color:#b5aaff}.auth-story h1{font-size:clamp(42px,6vw,75px);letter-spacing:-4px;margin:22px 0}.auth-story h1 em{font-style:normal;color:#a99aff}.auth-story p{color:#d4cdee;max-width:430px}.auth-story small{color:#c5bbef}.light{color:#b4a9ff}.auth-numbers{display:flex;gap:30px;margin-top:42px}.auth-numbers strong{display:block;font-size:31px}.auth-numbers span{color:#bcb3e6;font-size:12px}.auth-main{display:grid;place-items:center;padding:32px}.auth-card{width:min(100%,420px)}.auth-card h2{font-size:34px;margin:12px 0 5px}.google,.primary{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;padding:13px 15px;border-radius:10px;font-weight:700;border:1px solid var(--border);background:var(--panel);color:var(--text)}.google{margin-top:24px}.google img{width:20px}.primary{background:var(--accent);border:0;color:#fff}.or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:22px 0}.or:before,.or:after{content:"";height:1px;background:var(--border);flex:1}form label{display:grid;gap:8px;font-weight:650;font-size:13px;margin-bottom:15px}input,select{border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text);padding:11px 12px;min-width:0}.text-button{border:0;background:none;color:var(--accent);font-weight:700;padding:0}.auth-card #forgot{display:block;margin:0 0 18px auto;font-size:12px}.switch{text-align:center;margin-top:18px;font-size:13px}#auth-message{font-size:13px;margin-top:14px;color:var(--accent)}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:var(--panel);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:27px 18px;z-index:20}.sidebar .brand{margin:0 6px 47px}.nav-label{color:var(--muted);padding:0 12px;margin-bottom:12px}.nav{width:100%;display:flex;align-items:center;gap:12px;border:0;background:none;color:var(--muted);padding:11px 12px;text-align:left;border-radius:9px;font-size:14px;font-weight:650;margin-bottom:5px}.nav span{font-size:21px;width:23px;text-align:center;line-height:1}.nav:hover,.nav.active{background:var(--soft);color:var(--accent)}.side-bottom{margin-top:auto}.side-progress{padding:15px;background:var(--bg);border-radius:12px;margin-bottom:18px;border:1px solid var(--border)}.side-progress span{font-size:10px;font-weight:800;color:var(--muted);letter-spacing:.7px}.side-progress strong{display:block;font-size:14px;margin:10px 0}.side-progress small{color:var(--muted);font-size:11px}.meter{height:7px;border-radius:20px;background:var(--border);overflow:hidden;margin:10px 0}.meter i{display:block;background:var(--accent);height:100%;width:0;transition:width .3s}.main{margin-left:246px;min-height:100vh}.top{height:69px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:var(--panel);padding:0 32px;gap:15px}.top #menu{display:none;background:none;border:0;color:var(--text);font-size:22px}.top #breadcrumb{font-size:13px;color:var(--muted)}.profile{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted);min-width:0}.profile span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}#avatar{height:34px;width:34px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--accent);font-weight:800;flex-shrink:0}.content{max-width:1400px;margin:auto;padding:33px 38px 30px}.page-head{margin-bottom:24px}.page-head p{margin-top:8px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.stat{background:var(--panel);border:1px solid var(--border);border-radius:13px;padding:17px 19px;box-shadow:var(--shadow)}.stat small{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:6px}.hero{background:linear-gradient(115deg,#261f58,#5146c7);color:#fff;border-radius:18px;padding:34px;display:flex;justify-content:space-between;align-items:center;gap:18px;position:relative;overflow:hidden}.hero h2{font-size:32px;margin:12px 0}.hero p{color:#ddd9ff;max-width:540px}.hero .primary{width:auto;background:#fff;color:#4234c1;display:inline-flex;margin-top:23px}.hero-badge{font-size:11px;letter-spacing:1px;color:#d5caff;font-weight:800}.hero-art{font-size:105px;font-weight:100;color:#ffffff45;flex-shrink:0;line-height:1;transform:rotate(-12deg);padding:0 20px}.section-title{font-size:19px;margin:25px 0 15px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.quick{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:17px;text-align:left;color:var(--text)}.quick strong{display:block;margin-bottom:8px}.quick small{color:var(--muted)}.filters{display:flex;gap:9px;flex-wrap:wrap;background:var(--panel);border:1px solid var(--border);border-radius:13px;padding:13px;margin:22px 0 12px}.filters input{flex:1 1 240px}.filters select{flex:0 1 175px;max-width:100%;font-size:13px}.filters button{background:var(--soft);color:var(--accent);border:0;border-radius:8px;padding:10px 14px;font-weight:700}.result-line{font-size:12px;color:var(--muted);margin:13px 2px}.topic{background:var(--panel);border:1px solid var(--border);border-radius:12px;margin-bottom:10px;overflow:hidden;box-shadow:var(--shadow)}.topic-toggle{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:16px 18px;border:0;background:var(--panel);color:var(--text)}.topic-num{width:39px;height:39px;border-radius:10px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-weight:800;font-size:13px;flex-shrink:0}.topic-text{flex:1;min-width:0}.topic-text strong{display:block;font-size:15px}.topic-text small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.topic-progress{width:110px;color:var(--muted);font-size:11px;text-align:right}.topic-progress .meter{margin:5px 0 0;height:5px}.chev{font-size:20px;color:var(--muted)}.topic-body{border-top:1px solid var(--border)}.prereq{padding:12px 19px;background:var(--bg);font-size:12px;color:var(--muted)}.level-heading{font-size:11px;letter-spacing:1px;text-transform:uppercase;font-weight:800;color:var(--muted);padding:12px 18px 8px;background:var(--bg)}.problem{display:grid;grid-template-columns:37px 25px minmax(0,1fr) 105px 114px 33px 30px;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid var(--border)}.problem:hover{background:var(--bg)}.problem .order{font-size:11px;color:var(--muted)}.logo-wrap{width:25px;height:25px;position:relative;border-radius:5px;background:var(--bg);display:grid;place-items:center;font-size:9px;font-weight:800;color:var(--muted)}.logo-wrap img{width:20px;height:20px;object-fit:contain;position:absolute;inset:2px}.problem-name{font-weight:650;font-size:13px;line-height:1.35;display:block;overflow-wrap:anywhere}.problem-name:hover{color:var(--accent);text-decoration:underline}.problem-meta{font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.level{font-size:11px;font-weight:750;border-radius:6px;padding:5px 7px;justify-self:start;white-space:nowrap}.foundation{color:#6b7280;background:#edf0f5}.easy{color:#13784c;background:#e3f7eb}.intermediate{color:#8d6100;background:#fff1cb}.advanced{color:#b94f13;background:#ffeadb}.expert{color:#a62b4d;background:#fce0e8}.status{font-size:11px;padding:7px 5px;width:100%}.star,.out{background:none;border:0;color:var(--muted);font-size:19px;text-align:center;padding:3px}.star.saved{color:#c58c06}.empty{padding:28px;text-align:center;border:1px dashed var(--border);border-radius:12px;color:var(--muted)}.note{font-size:12px;color:var(--muted);margin:12px 0;line-height:1.6}footer{font-size:11px;color:var(--muted);padding:20px 38px}#toast{position:fixed;bottom:24px;right:24px;z-index:100;background:#25223d;color:#fff;border-radius:10px;padding:12px 17px;max-width:calc(100vw - 48px);box-shadow:0 8px 30px #0003}#toast:empty{display:none}[data-theme=dark]{color-scheme:dark;--bg:#141520;--panel:#1e2030;--text:#ebebf5;--muted:#9b9fb6;--border:#303349;--accent:#a79aff;--soft:#302a54;--shadow:none}.dark .primary,[data-theme=dark] .primary{background:#5546e8;color:white}[data-theme=dark] .hero .primary{background:#fff;color:#4234c1}@media(max-width:950px){.sidebar{width:205px}.main{margin-left:205px}.content{padding:25px 22px}.problem{grid-template-columns:25px 23px minmax(0,1fr) 90px 99px 28px;gap:7px;padding:12px}.out{display:none}.hero-art{display:none}.stats{gap:9px}.stat{padding:13px}.stat strong{font-size:25px}}@media(max-width:700px){.auth-layout{grid-template-columns:1fr}.auth-story{min-height:0;padding:24px}.auth-story h1{font-size:41px;letter-spacing:-2px;margin:20px 0 10px}.auth-story h1 br{display:none}.auth-story small,.auth-numbers{display:none}.auth-story .eyebrow{margin-top:30px}.auth-main{padding:25px 21px 40px}.sidebar{transform:translateX(-100%);transition:transform .2s;width:240px;box-shadow:0 0 40px #0002}.sidebar.open{transform:translateX(0)}.main{margin:0}.top{padding:0 15px;height:60px}.top #menu{display:block}.top #breadcrumb{flex:1;font-size:11px}.profile span{max-width:90px}.content{padding:23px 15px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:23px}.hero h2{font-size:27px}.quick-grid{grid-template-columns:1fr}.filters input{flex:1 1 100%}.filters select{flex:1 1 125px}.topic-toggle{padding:13px 12px;gap:9px}.topic-progress{width:55px}.topic-text strong{font-size:13px}.topic-text small{font-size:10px}.topic-num{width:32px;height:32px}.problem{grid-template-columns:22px minmax(0,1fr) 78px 25px;gap:7px}.problem .order{display:none}.problem .level{grid-column:2;grid-row:2}.problem .status{grid-column:3;grid-row:1 / span 2}.problem .star{grid-column:4;grid-row:1 / span 2}.problem .logo-wrap{align-self:start}.problem-meta{font-size:10px}.problem-name{font-size:12px}.level{font-size:10px;padding:4px 6px}.status{font-size:10px}.prereq{padding:10px 12px}footer{padding:15px}}
