.algo-page{scrollbar-gutter:stable}html:has(.algo-page){scrollbar-gutter:stable}.algo-page{--a:#ff6b35;--ink:#172033;--muted:#667085;--line:#e7e9ee;min-height:100vh;color:var(--ink);background:#f6f7f9}.algo-hero{color:#fff;background:radial-gradient(circle at 82% 10%,#ff8c5526,#0000 30%),#111827;justify-content:space-between;gap:42px;padding:110px max(24px,50vw - 720px) 54px;display:flex}.algo-hero>div{max-width:760px}.algo-hero span{letter-spacing:.12em;color:#ffad86;align-items:center;gap:7px;font-size:12px;font-weight:800;display:inline-flex}.algo-hero h1{letter-spacing:-.045em;margin:13px 0 15px;font-size:clamp(34px,4vw,58px);line-height:1.08}.algo-hero h1 em{color:#ff7a45;font-style:normal}.algo-hero p{color:#b8c0cf;max-width:650px;font-size:15px;line-height:1.8}.algo-hero dl{align-self:flex-end;margin:0;display:flex}.algo-hero dl div{border-left:1px solid #ffffff20;min-width:115px;padding:5px 20px}.algo-hero dt{color:#fff;font-size:25px;font-weight:800}.algo-hero dd{color:#98a2b3;margin:4px 0 0;font-size:12px}.algo-layout{border-inline:1px solid var(--line);background:#fff;grid-template-columns:320px minmax(0,1fr);max-width:1440px;min-height:900px;margin:auto;display:grid}.algo-sidebar{border-right:1px solid var(--line);scrollbar-gutter:stable;overscroll-behavior:contain;background:#fbfbfc;align-self:start;height:calc(100vh - 64px);padding:18px 14px;position:sticky;top:64px;overflow:auto}.algo-search{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.algo-search:focus-within{border-color:#ff9b75;box-shadow:0 0 0 3px #ff6b3515}.algo-search input{background:0 0;border:0;outline:0;width:100%;height:40px;font-size:13px}.algo-filters{grid-template-columns:1fr 1fr;gap:8px;margin-top:9px;display:grid}.algo-filters select,.algo-timeline select{height:34px;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:8px;padding:0 8px}.algo-count{color:var(--muted);margin:14px 4px 8px;font-size:11px}.algo-list-tabs{border:1px solid var(--line);background:#f1f3f6;border-radius:9px;grid-template-columns:1fr 1fr;gap:4px;margin-top:12px;padding:3px;display:grid}.algo-list-tabs button{color:#737d8e;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px;font-size:11px}.algo-list-tabs button.active{color:#bd4317;background:#fff;font-weight:800;box-shadow:0 1px 4px #10182812}.algo-problems{gap:4px;display:grid}.algo-problems button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 9px;display:grid}.algo-problems button:hover{border-color:var(--line);background:#fff}.algo-problems button.planned{cursor:not-allowed;opacity:.72}.algo-problems button.planned i{color:#788295;white-space:nowrap;background:#eef1f5;border-radius:99px;padding:3px 6px;font-size:10px;font-style:normal}.algo-problems button.active{background:#fff4ef;border-color:#ffb89d}.algo-no{color:#98a2b3;font:700 11px ui-monospace}.algo-problems strong{font-size:13px;display:block}.algo-problems small{color:#8a93a3;margin-top:3px;font-size:10px;display:block}.algo-problems i,.algo-level{border-radius:99px;padding:3px 6px;font-size:10px;font-style:normal;font-weight:800}.easy{color:#18864b;background:#e8f7ee}.medium{color:#a36500;background:#fff3d6}.hard{color:#c4322d;background:#fee9e8}.algo-workspace{min-width:0;padding:30px clamp(18px,3vw,44px) 70px}.algo-title{border-bottom:1px solid var(--line);padding-bottom:21px}.algo-title>div{color:#8a93a3;align-items:center;gap:9px;font-size:11px;display:flex}.algo-title h2{letter-spacing:-.025em;margin:12px 0 7px;font-size:30px}.algo-title p{color:var(--muted);margin:0}.algo-tabs{display:none}.algo-learn{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);gap:18px;margin-top:22px;display:grid}.algo-prompt,.algo-recall,.algo-learn details,.algo-runner,.algo-followups,.algo-player{border:1px solid var(--line);background:#fff;border-radius:14px}.algo-prompt{padding:20px}.algo-prompt h3,.algo-followups h3{margin:0 0 10px;font-size:15px}.algo-prompt p,.algo-learn details p{color:#525d70;font-size:14px;line-height:1.8}.algo-recall{background:linear-gradient(145deg,#fff8f4,#fff);grid-row:span 2;padding:20px}.algo-recall>span{color:#fff;background:#ff6b35;border-radius:99px;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.algo-recall ol{color:#414b5c;gap:10px;padding-left:25px;font-size:13px;line-height:1.65;display:grid}.algo-recall li::marker{color:var(--a);font-weight:800}.algo-recall>strong{color:#bd4317;border-top:1px dashed #ffc5ae;margin-top:18px;padding-top:15px;font-size:11px;display:block}.algo-recall>p{margin:7px 0 0;font-size:14px;font-weight:650;line-height:1.7}.algo-learn details{padding:15px 20px}.algo-learn summary,.algo-followups summary{cursor:pointer;font-weight:750}.algo-complexity{background:#f6f7f9;border-radius:8px;padding:10px 12px;font-weight:700}.algo-visual-section{margin-top:24px}.algo-paths{gap:8px;margin-bottom:8px;display:flex}.algo-paths button{color:#596274;cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 12px;font-size:12px}.algo-paths button.active{color:#bd4317;background:#fff3ed;border-color:#ff9d77}.algo-player{overflow:hidden}.algo-player-grid{grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);min-height:310px;display:grid}.algo-canvas{color:#fff;background:linear-gradient(155deg,#192235,#101827);flex-direction:column;justify-content:center;min-width:0;padding:26px;display:flex;position:relative;overflow:auto}.algo-canvas-label{letter-spacing:.12em;color:#71809a;text-transform:uppercase;font:700 10px ui-monospace;position:absolute;top:14px;left:17px}.algo-cells{justify-content:center;align-items:flex-end;gap:8px;min-width:max-content;padding-top:30px;display:flex}.algo-cell{grid-template-rows:20px var(--bar) 18px;text-align:center;align-items:end;min-width:45px;transition:all .25s;display:grid}.algo-cell b{color:#e8edf5;background:#283348;border:1px solid #43506a;border-radius:8px 8px 4px 4px;justify-content:center;align-items:center;height:100%;min-height:42px;padding:5px;display:flex}.algo-cell.active b{color:#fff;background:#b7451f;border-color:#ff9a70;box-shadow:0 0 0 3px #ff6b3525}.algo-cell.settled b{background:#17623f;border-color:#3fb779}.algo-cell small{color:#748198;font:10px ui-monospace}.algo-pointer{color:#ffad8b;align-self:center;font:700 10px ui-monospace}.algo-aux{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:25px;display:flex}.algo-aux code,.algo-aux span{color:#b8c3d6;border:1px solid #354159;border-radius:7px;padding:5px 8px;font-size:10px}.algo-code-trace{color:#9aa7bd;background:#0b1020;margin:0;padding:18px 0 18px 46px;font:12px/1.62 ui-monospace;overflow:auto}.algo-code-trace li{white-space:pre;border-left:2px solid #0000;min-height:20px;padding:0 12px 0 5px}.algo-code-trace li::marker{color:#44516a}.algo-code-trace li.active{color:#fff;background:#ff6b3520;border-color:#ff6b35}.algo-action{border-top:1px solid var(--line);background:#fff9f6;gap:10px;padding:14px 18px;display:flex}.algo-action>svg{color:var(--a);margin-top:4px}.algo-action small{color:#a44c2b;font-weight:800}.algo-action p{color:#414b5c;margin:3px 0;font-size:13px}.algo-action strong{color:#18864b;font:700 12px ui-monospace}.algo-timeline{border-top:1px solid var(--line);align-items:center;gap:7px;padding:10px 14px;display:flex}.algo-timeline button{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.algo-timeline button.primary{color:#fff;background:var(--a);border-color:var(--a)}.algo-timeline button:disabled{opacity:.35}.algo-timeline input{min-width:80px;accent-color:var(--a);flex:1}.algo-timeline span{color:#7b8495;font:11px ui-monospace}.algo-runner{margin-top:24px;overflow:hidden}.algo-runner-actions{justify-content:space-between;align-items:center;gap:10px;padding:12px 15px;display:flex}.algo-runner textarea{color:#dce4f1;resize:vertical;border:0;tab-size:2;background:#0b1020;border-block:1px solid #263147;outline:0;width:100%;min-height:300px;padding:18px;font:13px/1.65 ui-monospace;display:block}.algo-runner-actions button{color:#fff;cursor:pointer;background:var(--a);border:0;border-radius:8px;padding:9px 15px;font-weight:750}.algo-runner-actions button:disabled{cursor:not-allowed;opacity:.5}.algo-runner-actions span{color:#8a93a3;font-size:10px}.algo-results{gap:7px;padding:0 15px 15px;display:grid}.algo-results>div{border-radius:8px;gap:8px;padding:9px 11px;display:flex}.algo-results .pass{color:#137642;background:#edfaf2}.algo-results .fail{color:#a72b27;background:#fff0ef}.algo-results .neutral{color:#46536b;background:#f1f4f8}.algo-results strong{font-size:12px}.algo-results p{margin:2px 0 0;font:10px ui-monospace}.algo-followups{margin-top:24px;padding:20px}.algo-followups details{border-top:1px solid var(--line);padding:11px 0}.algo-followups p{color:#596274;margin:8px 0 0;font-size:13px;line-height:1.7}@media (min-width:901px){.algo-layout{height:calc(100vh - 64px);min-height:620px;overflow:hidden}.algo-sidebar{height:100%;position:static}.algo-workspace{scrollbar-gutter:stable;height:100%;overflow-y:auto}}@media (max-width:900px){.algo-hero{padding:92px 20px 34px;display:block}.algo-hero dl{margin-top:25px}.algo-hero dl div{min-width:90px;padding-left:12px}.algo-layout{display:block}.algo-sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;position:static}.algo-problems{display:flex;overflow-x:auto}.algo-problems button{min-width:245px}.algo-workspace{padding:24px 15px 55px}.algo-tabs{z-index:4;border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:repeat(3,1fr);margin:18px 0 10px;padding:4px;display:grid;position:sticky;top:58px}.algo-tabs button{background:0 0;border:0;border-radius:7px;padding:9px}.algo-tabs button.active{color:#bd4317;background:#fff0e9;font-weight:800}.mobile-hidden{display:none}.algo-learn{grid-template-columns:1fr}.algo-recall{grid-row:auto}.algo-player-grid{grid-template-columns:1fr}.algo-code-trace{max-height:300px}.algo-canvas{min-height:300px}.algo-timeline{flex-wrap:wrap}.algo-timeline input{flex-basis:60%;order:2}}@media (prefers-reduced-motion:reduce){.algo-cell{transition:none}}:root[data-theme=dark] .algo-page{--ink:#e7ecf7;--muted:#93a1bb;--line:#263149;color:var(--ink);background:#0d1320}:root[data-theme=dark] .algo-layout,:root[data-theme=dark] .algo-prompt,:root[data-theme=dark] .algo-recall,:root[data-theme=dark] .algo-learn details,:root[data-theme=dark] .algo-runner,:root[data-theme=dark] .algo-followups,:root[data-theme=dark] .algo-player,:root[data-theme=dark] .algo-paths button,:root[data-theme=dark] .algo-search,:root[data-theme=dark] .algo-filters select,:root[data-theme=dark] .algo-timeline select,:root[data-theme=dark] .algo-list-tabs button.active,:root[data-theme=dark] .algo-problems button:hover,:root[data-theme=dark] .algo-problems button.active{color:var(--ink);border-color:var(--line);background:#161d2d}:root[data-theme=dark] .algo-sidebar,:root[data-theme=dark] .algo-list-tabs{border-color:var(--line);background:#111827}:root[data-theme=dark] .algo-recall{background:linear-gradient(145deg,#2a1c14,#161d2d)}:root[data-theme=dark] .algo-prompt p,:root[data-theme=dark] .algo-learn details p,:root[data-theme=dark] .algo-recall ol,:root[data-theme=dark] .algo-title p,:root[data-theme=dark] .algo-problems small,:root[data-theme=dark] .algo-count{color:var(--muted)}:root[data-theme=dark] .algo-complexity{color:var(--ink);background:#111827}:root[data-theme=dark] .algo-title,:root[data-theme=dark] .algo-learn details,:root[data-theme=dark] .algo-followups details{border-color:var(--line)}:root[data-theme=dark] .easy{color:#6ee7a8;background:#12291f}:root[data-theme=dark] .medium{color:#ffd18c;background:#2c2214}:root[data-theme=dark] .hard{color:#ff9e94;background:#2c1a18}
.studio-library,.studio-practice{--studio-brand:#ff6b35;--studio-brand-deep:#d94f16;--studio-brand-soft:#fff3ee;--studio-violet:var(--studio-brand);--studio-violet-soft:var(--studio-brand-soft);--studio-teal:#0c9674;--studio-ink:#101828;--studio-muted:#667085;--studio-line:#e7e9ee;--a:var(--studio-brand);--ink:var(--studio-ink);--muted:var(--studio-muted);--line:var(--studio-line);color:var(--studio-ink);background:#f7f8fa}.studio-library{--studio-gutter:max(20px, calc((100vw - 1320px) / 2));min-height:100vh;padding:0 var(--studio-gutter) 88px}.studio-library.studio-skeleton{padding-top:92px}.studio-library:has(>.studio-cloud-state){place-items:center;padding-top:92px;display:grid}.studio-cloud-state{text-align:center;border:1px solid var(--studio-line);background:#fff;border-radius:20px;justify-items:center;gap:0;width:100%;max-width:440px;padding:36px 32px 30px;display:grid;position:relative;overflow:hidden;box-shadow:0 1px 2px #1018280d,0 26px 50px -34px #1018284d}.studio-cloud-state:before{pointer-events:none;content:"";height:96px;position:absolute;inset:0 0 auto}.studio-cloud-state.error:before{background:radial-gradient(360px 120px at 50% 0,#fef3f2 0,#0000 78%)}.studio-cloud-state>*{position:relative}.studio-cloud-state-icon{border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.studio-cloud-state.error .studio-cloud-state-icon{color:#d92d20;background:#fee4e2;box-shadow:0 0 0 6px #fef3f280}.studio-cloud-state .studio-eyebrow{color:#b42318;margin-top:18px}.studio-cloud-state h2{letter-spacing:-.02em;border:0;margin:9px 0 0;padding:0;font-size:19px;font-weight:800}.studio-cloud-state p{color:var(--studio-muted);text-wrap:pretty;margin:9px 0 0;font-size:13.5px;line-height:1.72}.studio-cloud-state code{color:#98a2b3;border:1px solid var(--studio-line);overflow-wrap:anywhere;background:#f7f8fa;border-radius:8px;max-width:100%;margin-top:16px;padding:6px 11px;font:500 11.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.studio-cloud-state-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px;display:flex}.studio-cloud-state-actions>button,.studio-cloud-state-actions>a{cursor:pointer;border-radius:10px;align-items:center;gap:7px;height:38px;padding:0 17px;font-size:13px;font-weight:700;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.studio-cloud-state-actions>button{color:#fff;background:var(--studio-brand);border:1px solid var(--studio-brand);box-shadow:0 6px 16px -10px #ff6b3599}.studio-cloud-state-actions>button:hover{background:var(--studio-brand-deep);border-color:var(--studio-brand-deep)}.studio-cloud-state-actions>a{color:var(--studio-ink);border:1px solid var(--studio-line);background:#fff;text-decoration:none}.studio-cloud-state-actions>a:hover{color:var(--studio-brand-deep);background:var(--studio-brand-soft);border-color:#ffd2bd}.studio-eyebrow{letter-spacing:.14em;color:var(--studio-brand-deep);align-items:center;gap:7px;font:800 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.studio-section-head{justify-content:space-between;align-items:flex-end;gap:24px;margin:54px 0 18px;display:flex}.studio-section-head h2{letter-spacing:-.03em;margin:10px 0 6px;font-size:clamp(21px,2.1vw,27px)}.studio-section-head p{max-width:620px;color:var(--studio-muted);margin:0;font-size:14px;line-height:1.7}.studio-section-head>small{color:var(--studio-muted);border:1px solid var(--studio-line);background:#fff;border-radius:999px;flex-shrink:0;padding:7px 13px;font-size:12px}.studio-hero-band{padding:96px var(--studio-gutter) 46px;margin:0 calc(var(--studio-gutter) * -1) 6px;background:radial-gradient(1250px 560px at 80% -6%,#ffe1cb 0,#0000 58%),radial-gradient(950px 480px at 2% 104%,#e6ebfa 0,#0000 62%),linear-gradient(#fffdfc 0%,#f7f8fa 100%);border-bottom:1px solid #ebe6e1;position:relative;overflow:hidden}.studio-hero-band:before{pointer-events:none;content:"";background-image:linear-gradient(#0f172a18 1px,#0000 1px),linear-gradient(90deg,#0f172a18 1px,#0000 1px);background-size:46px 46px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(130% 105% at 50% 8%,#000 0,#0009 46%,#0000 82%);mask-image:radial-gradient(130% 105% at 50% 8%,#000 0,#0009 46%,#0000 82%)}.studio-hero-band>*{position:relative}.studio-hero{grid-template-columns:minmax(0,1fr) minmax(430px,.92fr);align-items:center;gap:clamp(28px,4vw,64px);padding:0 0 clamp(26px,3vw,40px);display:grid}.studio-hero h1{letter-spacing:-.045em;margin:15px 0 14px;font-size:clamp(30px,3.5vw,46px);line-height:1.16}.studio-hero h1 em{white-space:nowrap;font-style:normal;position:relative}.studio-hero h1 em:after{content:"";background:#ffc9ab;border-radius:3px;height:.2em;position:absolute;bottom:.06em;left:-.04em;right:-.04em}.studio-hero h1 em>span{z-index:1;position:relative}.studio-hero-copy>p{color:#4a5567;max-width:560px;margin:0;font-size:15px;line-height:1.85}.studio-hero-steps{gap:9px;margin:24px 0 26px;padding:0;list-style:none;display:grid}.studio-hero-steps li{background:#fffdfbcc;border:1px solid #eee6e0;border-radius:13px;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:12px;padding:11px 14px;display:grid}.studio-hero-steps b{color:#fff;background:linear-gradient(140deg, #ff8a4c, var(--studio-brand-deep));border-radius:9px;place-items:center;width:26px;height:26px;font:800 11px ui-monospace,SFMono-Regular,Menlo,monospace;display:grid}.studio-hero-steps strong{margin-right:9px;font-size:14px}.studio-hero-steps small{color:var(--studio-muted);font-size:12.5px}.studio-hero-cta{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.studio-hero-cta button{color:#fff;cursor:pointer;background:linear-gradient(135deg, #ff8348, var(--studio-brand-deep));border:0;border-radius:12px;align-items:center;gap:9px;height:48px;padding:0 22px;font-size:15px;font-weight:750;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 12px 28px #ff6b3538}.studio-hero-cta button:hover{transform:translateY(-2px);box-shadow:0 16px 34px #ff6b3547}.studio-hero-cta a{color:#3c4757;background:#fff;border:1px solid #e2d9d2;border-radius:12px;align-items:center;gap:7px;height:48px;padding:0 18px;font-size:14px;font-weight:650;text-decoration:none;display:inline-flex}.studio-hero-cta a:hover{color:var(--studio-brand-deep);border-color:#ffb694}.studio-hero-preview{-webkit-user-select:none;user-select:none;background:linear-gradient(165deg,#1b2338,#0c1120);border:1px solid #232c44;border-radius:18px;overflow:hidden;box-shadow:0 30px 66px #10182833}.studio-hero-preview-bar{background:#151c30;border-bottom:1px solid #232c44;align-items:center;gap:6px;padding:11px 14px;display:flex}.studio-hero-preview-bar i{background:#39435f;border-radius:50%;width:8px;height:8px}.studio-hero-preview-bar i:first-child{background:#ff6b5d}.studio-hero-preview-bar span{color:#7e8db0;margin-left:8px;font:11px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-hero-preview-bar b{color:#ffb08a;background:#ff6b3524;border-radius:6px;margin-left:auto;padding:3px 8px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-hero-preview-stage{justify-content:center;gap:9px;padding:30px 18px 16px;display:flex}.studio-hero-preview-stage div{justify-items:center;gap:6px;min-width:46px;display:grid}.studio-hero-preview-stage em{color:#ffad8b;height:14px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;animation:.28s both studio-hero-caption}.studio-hero-preview-stage b{color:#dce4f3;background:#232e46;border:1px solid #3a4665;border-radius:9px;place-items:center;width:100%;height:46px;font-size:15px;transition:color .3s,background .3s,border-color .3s,box-shadow .3s;display:grid}.studio-hero-preview-stage small{color:#66748f;font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-hero-preview-stage .on b{color:#fff;background:#c14b21;border-color:#ff9a70;box-shadow:0 0 0 4px #ff6b352e}.studio-hero-preview-stage .hit b{color:#d8fbe9;background:#17623f;border-color:#3fb779}.studio-hero-preview-aux{justify-content:center;align-items:center;gap:7px;padding:0 18px 18px;display:flex}.studio-hero-preview-aux span{letter-spacing:.1em;color:#6a7896;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-hero-preview-aux code{color:#b6c2d8;background:#1a2237;border:1px solid #333f5c;border-radius:7px;padding:4px 9px;font-size:11px;animation:.32s both studio-hero-chip}.studio-hero-preview-aux code.ghost{color:#56637f;border-style:dashed}.studio-hero-preview-code{background:#080d1a;border-top:1px solid #1e2740;padding:14px 0}.studio-hero-preview-code p{color:#7c8aa6;white-space:pre;scrollbar-width:none;border-left:2px solid #0000;margin:0;padding:1px 16px;font:12px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace;transition:color .25s,background .25s,border-color .25s;overflow-x:auto}.studio-hero-preview-code p.active{color:#fff;border-left-color:var(--studio-brand);background:#ff6b351f}.studio-hero-preview-foot{background:#131a2d;border-top:1px solid #1e2740;gap:9px;padding:11px 16px 13px;display:grid}.studio-hero-preview-foot>p{color:#93a3c2;text-overflow:ellipsis;white-space:nowrap;min-height:17px;margin:0;font:11.5px/17px ui-monospace,SFMono-Regular,Menlo,monospace;animation:.34s both studio-hero-caption;overflow:hidden}.studio-hero-preview-foot>p[data-done=true]{color:#7fd3ac}.studio-hero-preview-foot>div{align-items:center;gap:11px;display:flex}.studio-hero-preview-foot i{background:#2b344c;border-radius:99px;flex:1;height:4px;position:relative}.studio-hero-preview-foot i b{background:var(--studio-brand);border-radius:99px;transition:width .4s;position:absolute;inset:0 auto 0 0}.studio-hero-preview-foot>div>span{color:#fff;background:var(--studio-brand);border-radius:50%;flex-shrink:0;place-items:center;width:24px;height:24px;display:grid}@keyframes studio-hero-caption{0%{opacity:0;transform:translateY(3px)}}@keyframes studio-hero-chip{0%{opacity:0;transform:translateY(-5px)}}.studio-stats{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffb8;border:1px solid #eae4de;border-radius:18px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:22px 12px;display:grid;box-shadow:0 12px 34px #1018280a}.studio-stats div{text-align:center;padding:2px 22px}.studio-stats div+div{border-left:1px solid #eef0f4}.studio-stats dt{letter-spacing:-.03em;font:800 clamp(24px,2.4vw,31px)/1 ui-monospace,SFMono-Regular,Menlo,monospace}.studio-stats dd{color:var(--studio-muted);margin:9px 0 0;font-size:12.5px}.studio-topic-panel{border:1px solid var(--studio-line);background:#fff;border-radius:18px;padding:18px;box-shadow:0 16px 46px #1018280a}.studio-stage-tabs{background:#f3f5f8;border-radius:13px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.studio-stage-tabs button{color:#5b6678;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;height:46px;padding:0 14px;font-size:13.5px;transition:color .18s,background .18s,box-shadow .18s;display:flex}.studio-stage-tabs button>svg{color:#98a2b3;flex-shrink:0;transition:color .18s}.studio-stage-tabs strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:700;overflow:hidden}.studio-stage-tabs em{color:#a5adbb;margin-right:3px;font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;transition:color .18s}.studio-stage-tabs b{color:#8b95a6;flex-shrink:0;font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace;transition:color .18s}.studio-stage-tabs button:hover{color:var(--studio-ink);background:#ffffffa8}.studio-stage-tabs button.active{color:var(--studio-ink);background:#fff;box-shadow:0 1px 3px #10182814,0 0 0 1px #ffd2ba}.studio-stage-tabs button.active>svg,.studio-stage-tabs button.active em,.studio-stage-tabs button.active b{color:var(--studio-brand-deep)}.studio-topic-desc{color:var(--studio-muted);align-items:center;gap:8px;margin:15px 2px 13px;font-size:13px;display:flex}.studio-topic-desc svg{color:var(--studio-brand);flex-shrink:0}.studio-shelves{grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:10px;display:grid}.studio-shelves button{color:var(--studio-ink);text-align:left;cursor:pointer;border:1px solid var(--studio-line);background:#fff;border-radius:13px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:7px 11px;padding:12px 14px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;display:grid}.studio-shelves button>i{color:#8a94a6;background:#f2f4f8;border-radius:10px;grid-row:span 2;place-items:center;width:32px;height:32px;transition:color .18s,background .18s;display:grid}.studio-shelves button>div{align-items:center;gap:8px;min-width:0;display:flex}.studio-shelves strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13.5px;overflow:hidden}.studio-shelves span{color:#8b95a6;flex-shrink:0;font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-shelves em{background:#eef0f4;border-radius:99px;flex:1;height:4px;overflow:hidden}.studio-shelves em b{background:var(--studio-teal);border-radius:99px;height:100%;transition:width .25s;display:block}.studio-shelves small{color:#a2abb9;flex-shrink:0;font:10.5px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-shelves button:hover{border-color:#ffb694;transform:translateY(-1px);box-shadow:0 8px 20px #10182812}.studio-shelves button:hover>i{color:var(--studio-brand-deep);background:var(--studio-brand-soft)}.studio-shelves button.active{background:linear-gradient(150deg,#fff5ef,#fff);border-color:#ffb694;box-shadow:0 8px 22px #ff6b3524}.studio-shelves button.active>i{color:#fff;background:linear-gradient(140deg, #ff8a4c, var(--studio-brand-deep))}.studio-shelves button.active strong,.studio-shelves button.active span{color:var(--studio-brand-deep)}.studio-shelves button.active em b{background:var(--studio-brand)}.studio-library-panel{border:1px solid var(--studio-line);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 16px 46px #1018280a}.studio-filterbar{border-bottom:1px solid var(--studio-line);background:#fcfcfd;gap:12px;padding:18px;display:grid}.studio-filterbar-top{grid-template-columns:minmax(0,1fr) 160px;gap:10px;display:grid}.studio-search{border:1px solid var(--studio-line);background:#fff;border-radius:11px;align-items:center;gap:10px;padding:0 14px;display:flex}.studio-search svg{color:#98a2b3;flex-shrink:0}.studio-search:focus-within{border-color:#ffa77e;box-shadow:0 0 0 3px #ff6b3520}.studio-search input{width:100%;height:44px;color:var(--studio-ink);background:0 0;border:0;outline:0;font-size:14px}.studio-select{align-items:center;display:flex;position:relative}.studio-select svg{color:#98a2b3;pointer-events:none;position:absolute;right:12px}.studio-select select,.studio-select .studio-select-trigger{width:100%;height:44px;color:var(--studio-ink);text-align:left;cursor:pointer;border:1px solid var(--studio-line);appearance:none;background:#fff;border-radius:11px;outline:0;align-items:center;padding:0 34px 0 13px;font-size:13.5px;display:flex}.studio-select select:focus,.studio-select .studio-select-trigger:focus-visible,.studio-select .studio-select-trigger[data-state=open]{border-color:#ffa77e}.studio-select-menu{min-width:var(--radix-dropdown-menu-trigger-width);color:#101828;background:#fff;border:1px solid #e7e9ee;border-radius:11px;padding:6px}:root[data-theme=dark] .studio-select-menu{color:#e7ecf7;background:#161d2d;box-shadow:0 18px 40px -18px #000000b3}.studio-select-menu [role=menuitemradio]{border-radius:8px;height:38px;font-size:13.5px}.studio-filterbar-bottom{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.studio-pills{border:1px solid var(--studio-line);background:#f2f4f8;border-radius:11px;gap:3px;padding:3px;display:flex}.studio-pills button{color:#5b6678;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 13px;font-size:12.5px}.studio-pills button:hover{color:var(--studio-ink)}.studio-pills button.active{color:var(--studio-ink);background:#fff;font-weight:750;box-shadow:0 1px 4px #10182814}.studio-pills button.active[data-level=easy]{color:#18864b}.studio-pills button.active[data-level=medium]{color:#a36500}.studio-pills button.active[data-level=hard]{color:#c4322d}.studio-active-chip{color:var(--studio-brand-deep);background:var(--studio-brand-soft);border:1px solid #ffcdb4;border-radius:999px;align-items:center;gap:7px;margin-left:auto;padding:7px 9px 7px 13px;font-size:12.5px;font-weight:650;display:inline-flex}.studio-active-chip button{color:#fff;cursor:pointer;background:#ffab88;border:0;border-radius:50%;place-items:center;width:19px;height:19px;display:grid}.studio-active-chip button:hover{background:var(--studio-brand-deep)}.studio-table-meta{color:var(--studio-muted);justify-content:space-between;align-items:center;padding:13px 20px;font-size:12px;display:flex}.studio-table-meta span{align-items:center;gap:6px;display:inline-flex}.studio-table-meta b{color:var(--studio-ink)}.studio-problem-table>div,.studio-problem-table>button{width:100%;min-height:70px;color:inherit;text-align:left;background:#fff;border:0;border-top:1px solid #eef0f4;grid-template-columns:50px minmax(200px,1.15fr) minmax(140px,.72fr) 118px 130px 84px;align-items:center;padding:0 20px;display:grid}.studio-problem-table>button{cursor:pointer;transition:background .15s}.studio-problem-table>button:hover{background:#fffaf7}.studio-table-head{letter-spacing:.04em;color:#8b95a6;font-size:11px;font-weight:750;background:#fafbfc!important;min-height:40px!important}.studio-problem-table button>span:first-child i{border:2px solid #dde1e9;border-radius:50%;width:17px;height:17px;margin-left:1px;display:block}.studio-problem-table .done{color:var(--studio-teal)}.studio-cell-title b{align-items:baseline;gap:9px;font-size:14.5px;display:flex}.studio-cell-title em{color:#98a2b3;font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-cell-title small{color:#8b95a6;align-items:center;gap:5px;margin-top:5px;font-size:11.5px;display:inline-flex}.studio-cell-pattern code{color:#5b6678;text-overflow:ellipsis;white-space:nowrap;background:#f4f6f9;border-radius:7px;max-width:100%;padding:4px 9px;font-size:11.5px;display:inline-block;overflow:hidden}.studio-cell-freq{align-items:center;gap:9px;display:flex}.studio-meter{gap:3px;display:flex}.studio-meter b{background:#e6e9ef;border-radius:2px;width:5px;height:12px}.studio-meter b.on{background:#ffb03a}.studio-cell-freq small{color:#8b95a6;font-size:11.5px}.studio-cell-freq[data-hot=true] small{color:var(--studio-brand-deep);font-weight:700}.studio-cell-freq[data-hot=true] .studio-meter b.on{background:var(--studio-brand)}.studio-cell-rate{white-space:nowrap;justify-content:flex-end;align-items:baseline;gap:5px;padding-right:16px;font:12.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.studio-cell-rate b{color:#3c4757;font-weight:700}.studio-cell-rate small{color:#5b6678;font-size:12.5px}.studio-cell-rate small:before{color:#cbd2dc;content:"·";margin-right:5px}.studio-cell-rate i{color:#cbd2dc;font-style:normal}.studio-problem-table>.studio-table-head>span:nth-child(5){text-align:right;padding-right:16px}.studio-problem-table>div>span:nth-child(6),.studio-problem-table>button>span:nth-child(6){text-align:right}.studio-difficulty{border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.studio-problem-table>.studio-table-empty{text-align:center;border-top:1px solid #eef0f4;grid-template-columns:none;place-items:center;gap:6px;min-height:0;padding:64px 20px;display:grid}.studio-table-empty svg{color:#cbd2dc}.studio-table-empty strong{font-size:15px}.studio-table-empty p{color:var(--studio-muted);margin:0;font-size:13px}.studio-table-empty button{color:var(--studio-brand-deep);cursor:pointer;background:var(--studio-brand-soft);border:1px solid #ffcdb4;border-radius:10px;margin-top:10px;padding:9px 16px;font-weight:650}.studio-pagination{border-top:1px solid var(--studio-line);justify-content:flex-end;gap:6px;padding:16px 20px;display:flex}.studio-pagination button{color:#55617a;cursor:pointer;border:1px solid var(--studio-line);background:#fff;border-radius:10px;min-width:38px;height:38px;padding:0 12px;font-size:13px}.studio-pagination button:hover:not(:disabled){color:var(--studio-brand-deep);border-color:#ffb694}.studio-pagination button.active{color:#fff;background:linear-gradient(140deg, #ff8348, var(--studio-brand-deep));border-color:#0000;font-weight:750}.studio-pagination button:disabled{cursor:not-allowed;opacity:.45}.studio-skeleton i{background:linear-gradient(100deg,#eceff5 20%,#f8f9fc 38%,#eceff5 56%) 0 0/240% 100%;border-radius:8px;animation:1.35s ease-in-out infinite studio-skeleton-wave;display:block}.studio-skeleton-hero{background:#fff;border:1px solid #e9e3dd;border-radius:26px;grid-template-columns:minmax(0,1fr) minmax(380px,.92fr);align-items:center;gap:48px;min-height:380px;padding:40px;display:grid}.studio-skeleton-hero>div:first-child i:first-child{width:138px;height:12px}.studio-skeleton-hero>div:first-child i:nth-child(2){width:78%;height:44px;margin-top:18px}.studio-skeleton-hero>div:first-child i:nth-child(3){width:92%;height:14px;margin-top:17px}.studio-skeleton-hero>div:last-child i{height:68px}.studio-skeleton-hero>div:last-child i+i{margin-top:12px}.studio-skeleton-topic,.studio-skeleton-table{border:1px solid var(--studio-line);background:#fff;border-radius:18px;margin-top:26px;overflow:hidden}.studio-skeleton-topic header{border-bottom:1px solid var(--studio-line);gap:16px;padding:19px 22px;display:flex}.studio-skeleton-topic header i:first-child{width:34px;height:15px}.studio-skeleton-topic header i:last-child{width:210px;height:15px}.studio-skeleton-topic>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;padding:18px 22px;display:grid}.studio-skeleton-topic>div i{border-radius:14px;height:96px}.studio-skeleton-table>header,.studio-skeleton-table>div{border-bottom:1px solid #eef0f5;grid-template-columns:2fr repeat(3,1fr);align-items:center;gap:28px;min-height:62px;padding:0 24px;display:grid}.studio-skeleton-table>header{min-height:72px}.studio-skeleton-table i{width:72%;height:12px}.studio-skeleton-table i:first-child{width:58%}.studio-skeleton-status{color:var(--studio-muted);text-align:right;margin-top:14px;font-size:12px;display:block}.studio-skeleton-practice-head{background:#fff;grid-template-columns:120px 280px 1fr;align-items:center;gap:20px;height:72px;padding:0 28px;display:grid}.studio-skeleton-practice-head i{height:34px}.studio-skeleton-practice-head i:last-child{justify-self:end;width:360px}.studio-skeleton-split{grid-template-columns:1fr 1fr;height:calc(100vh - 130px);display:grid}.studio-skeleton-split section{border-top:1px solid var(--studio-line);background:#fff;align-content:start;gap:22px;padding:34px;display:grid}.studio-skeleton-split section+section{border-left:1px solid var(--studio-line)}.studio-skeleton-split section:first-child i{height:14px}.studio-skeleton-split section:first-child i:nth-child(3n+1){width:42%;height:24px}.studio-skeleton-split .editor-head{width:180px;height:16px}.studio-skeleton-split .editor{border-radius:12px;width:100%;height:430px}.studio-skeleton-split section:last-child div{gap:10px;display:flex}.studio-skeleton-split section:last-child div i{width:90px;height:36px}@keyframes studio-skeleton-wave{to{background-position-x:-240%}}@media (max-width:1180px){.studio-hero{grid-template-columns:1fr}.studio-hero-preview{order:-1}.studio-skeleton-hero{grid-template-columns:1fr}.studio-skeleton-topic>div{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.studio-library{--studio-gutter:14px;padding:0 var(--studio-gutter) 56px}.studio-library.studio-skeleton{padding-top:78px}.studio-hero-band{padding:82px var(--studio-gutter) 26px}.studio-hero-band:before{background-size:34px 34px}.studio-hero{padding:0 0 22px}.studio-hero-preview{display:none}.studio-hero-cta button,.studio-hero-cta a{flex:1;justify-content:center}.studio-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0;padding:20px 6px}.studio-stats div:nth-child(odd){border-left:0}.studio-stats div{padding:2px 10px}.studio-section-head{margin:40px 0 14px;display:block}.studio-section-head>small{margin-top:12px;display:inline-block}.studio-stage-tabs{scrollbar-width:none;display:flex;overflow-x:auto}.studio-stage-tabs button{flex:none}.studio-topic-panel{padding:12px}.studio-shelves{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.studio-shelves button{padding:11px 12px}.studio-filterbar-top{grid-template-columns:1fr}.studio-filterbar-bottom{gap:8px}.studio-pills{flex:1;justify-content:space-between}.studio-pills button{padding:7px 9px;font-size:12px}.studio-active-chip{width:100%;margin-left:0}.studio-table-meta span:last-child,.studio-problem-table>.studio-table-head,.studio-problem-table button>span:nth-child(3),.studio-problem-table button>span:nth-child(4),.studio-problem-table button>span:nth-child(5){display:none}.studio-problem-table>button{grid-template-columns:34px minmax(0,1fr) 68px;min-height:64px;padding:0 13px}.studio-skeleton-hero{min-height:300px;padding:22px 18px}.studio-skeleton-hero>div:last-child{display:none}.studio-skeleton-topic>div{display:flex;overflow:hidden}.studio-skeleton-topic>div i{min-width:160px}.studio-skeleton-table>header,.studio-skeleton-table>div{grid-template-columns:2fr 1fr}.studio-skeleton-table i:nth-child(n+3){display:none}.studio-skeleton-practice-head{grid-template-columns:90px 1fr;padding:0 14px}.studio-skeleton-practice-head i:last-child{display:none}.studio-skeleton-split{height:auto;display:block}.studio-skeleton-split section+section{border-left:0}}@media (max-width:520px){.studio-hero-cta button,.studio-hero-cta a{white-space:nowrap;flex:100%;min-width:0}.studio-filterbar{padding:12px}.studio-filterbar-bottom{grid-template-columns:minmax(0,1fr);display:grid}.studio-pills{width:100%;min-width:0}.studio-pills button{white-space:nowrap;flex:1 1 0;min-width:0;padding:8px 6px}}@media (prefers-reduced-motion:reduce){.studio-shelves button,.studio-stage-tabs button,.studio-hero-cta button,.studio-hero-preview-stage b,.studio-hero-preview-code p,.studio-hero-preview-foot i b,.studio-followups details,.studio-followups summary>svg{transition:none}.studio-skeleton i,.studio-submissions-skeleton i,.studio-hero-preview-stage em,.studio-hero-preview-aux code,.studio-hero-preview-foot>p{animation:none}}.studio-practice{min-height:100vh;padding-top:calc(var(--site-nav-h) + .4px);background:#eef1f6}.studio-practice-head{top:calc(var(--site-nav-h) + .4px);z-index:10;border-bottom:1px solid var(--studio-line);background:#fff;grid-template-columns:auto minmax(160px,1fr) minmax(0,auto) auto;align-items:center;gap:18px;height:72px;padding:0 24px;display:grid;position:sticky;box-shadow:0 -6px #fff}.studio-practice-head .studio-practice-steps{justify-content:flex-end;gap:16px;min-width:0;display:flex}.studio-practice-head .studio-practice-steps button{color:#8a95a7;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:5px;min-width:0;max-width:240px;padding:6px 10px;font-size:12px;transition:background .15s,color .15s;display:inline-flex}.studio-practice-head .studio-practice-steps button:hover:not(:disabled){background:#f1f3f8}.studio-practice-head .studio-practice-steps button i{white-space:nowrap;font-style:normal}.studio-practice-head .studio-practice-steps button em{color:#3e4b60;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:650;overflow:hidden}.studio-practice-head .studio-practice-steps button:hover em{color:var(--studio-brand-deep)}.studio-practice-head .studio-practice-steps button:disabled{cursor:default;opacity:.5}.studio-practice-head>button,.studio-practice-head nav button{color:#526078;cursor:pointer;border:1px solid var(--studio-line);background:#fff;border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 12px;display:inline-flex}.studio-practice-head>div{align-items:center;gap:9px;min-width:0;display:flex}.studio-practice-head>div>span:first-child{color:var(--studio-violet);font:800 12px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-practice-head>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.studio-practice-head>div small{color:#8a95a7;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-practice-head nav{gap:6px;display:flex}.studio-practice-head nav button.active{color:#c2410c;background:var(--studio-violet-soft);border-color:#ffd9c8}.studio-solved{color:#7b879a;align-items:center;gap:6px;font-size:12px;display:inline-flex}.studio-solved.done{color:var(--studio-teal)}.studio-split{grid-template-columns:minmax(430px,1fr) minmax(520px,1.08fr);height:calc(100vh - 130px);min-height:620px;display:grid}.studio-reading-pane,.studio-code-pane{z-index:0;scrollbar-gutter:stable;background:#fff;min-width:0;position:relative;overflow-y:auto}.studio-reading-pane{border-right:1px solid #dfe3ec}.studio-code-pane{background:#f8f9fc}.studio-pane-title{z-index:9;border-bottom:1px solid var(--studio-line);background:#fff;justify-content:space-between;align-items:center;height:44px;padding:0 20px;display:flex;position:sticky;top:0}.studio-pane-tabs{z-index:9;border-bottom:1px solid var(--studio-line);scrollbar-width:none;background:#fff;align-items:center;gap:4px;height:44px;padding:0 20px;display:flex;position:sticky;top:0;overflow-x:auto}.studio-pane-tabs::-webkit-scrollbar{display:none}.studio-pane-tabs button{color:#8b95a6;cursor:pointer;background:0 0;border:0;flex-shrink:0;align-items:center;gap:6px;height:43px;padding:0 4px;font-size:13px;font-weight:700;transition:color .16s;display:inline-flex;position:relative}.studio-pane-tabs button+button{margin-left:16px}.studio-pane-tabs button:hover,.studio-pane-tabs button.active{color:var(--studio-ink)}.studio-pane-tabs button.active:after{background:var(--studio-brand);content:"";border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:0;left:0;right:0}.studio-pane-tabs small{color:#939dae;margin-left:auto;font-size:10px}.studio-submissions>header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.studio-submissions>header h3{margin:0 0 6px}.studio-submissions>header p{max-width:460px;color:var(--studio-muted);margin:0;font-size:13px}.studio-submissions>header span{color:var(--studio-brand-deep);background:var(--studio-brand-soft);border:1px solid #ffd9c8;border-radius:999px;flex-shrink:0;padding:4px 10px;font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-submissions-hint{color:var(--studio-muted);margin:0;font-size:13px}.studio-submissions-empty{text-align:center;background:#fbfcfd;border:1px dashed #dfe3ea;border-radius:14px;place-items:center;gap:6px;padding:46px 20px;display:grid}.studio-submissions-empty svg{color:#cbd2dc}.studio-submissions-empty strong{font-size:15px}.studio-submissions-empty p{max-width:320px;color:var(--studio-muted);margin:0;font-size:13px}.studio-document .studio-submissions-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.studio-document .studio-submissions-list>li{margin:0;padding:0;font-size:0;line-height:0}.studio-submissions-list>li>details,.studio-submissions-skeleton>li>div{margin:0;font-size:13px;line-height:normal}.studio-document .studio-submissions-skeleton>li{border:1px solid var(--studio-line);background:#fff;border-radius:12px}.studio-submissions-skeleton>li>div{align-items:center;gap:10px;min-height:42px;padding:0 14px;display:flex}.studio-submissions-skeleton i{background:linear-gradient(100deg,#eceff5 20%,#f8f9fc 38%,#eceff5 56%) 0 0/240% 100%;border-radius:6px;animation:1.35s ease-in-out infinite studio-skeleton-wave;display:block}.studio-submissions-skeleton i.dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.studio-submissions-skeleton i.status{width:68px;height:13px}.studio-submissions-skeleton i.mode{border-radius:999px;width:36px;height:16px}.studio-submissions-skeleton i.cases{width:92px;height:11px}.studio-submissions-skeleton i.time{width:52px;height:11px;margin-left:auto}.studio-submissions-skeleton>li:nth-child(2) i{animation-delay:.12s}.studio-submissions-skeleton>li:nth-child(3) i{animation-delay:.24s}.studio-submissions-list details{border:1px solid var(--studio-line);background:#fff;border-radius:12px;overflow:hidden}.studio-submissions-list summary{cursor:pointer;align-items:center;gap:10px;min-height:42px;padding:0 14px;line-height:normal;list-style:none;display:flex}.studio-submissions-list summary::-webkit-details-marker{display:none}.studio-submissions-list details[open] summary{border-bottom:1px solid #eef0f4}.studio-submissions-list summary i{border-radius:50%;flex-shrink:0;width:8px;height:8px}.studio-submissions-list summary i.pass{background:var(--studio-teal)}.studio-submissions-list summary i.fail{background:#d84b45}.studio-submissions-list summary i.neutral{background:#98a2b3}.studio-submissions-list summary strong{font-size:13.5px}.studio-submissions-list summary em{color:#6c7789;background:#f2f4f8;border-radius:999px;padding:2px 7px;font-size:10.5px;font-style:normal}.studio-submissions-list summary b,.studio-submissions-list summary span,.studio-submissions-list summary small{color:#8b95a6;font:11px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-submissions-list summary small{flex-shrink:0;margin-left:auto}.studio-submissions-cases{gap:6px;margin:0;padding:12px 14px;list-style:none;display:grid}.studio-document .studio-submissions-cases li{border-radius:9px;grid-template-columns:15px auto minmax(0,1fr);align-items:center;gap:8px;padding:7px 10px;font-size:12px;line-height:normal;display:grid}.studio-submissions-cases li.pass{color:#137642;background:#edfaf2}.studio-submissions-cases li.fail{color:#a72b27;background:#fff0ef}.studio-submissions-cases li.neutral{color:#46536b;background:#f1f4f8}.studio-submissions-cases li span{font-size:12px;font-weight:700}.studio-submissions-cases li code{text-overflow:ellipsis;white-space:nowrap;opacity:.85;font:11px ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.studio-submissions-list pre{color:#dce4f1;background:#0b1020;max-height:300px;margin:0;padding:14px;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.studio-submissions-list .studio-reference-highlight .code-wrapper{max-width:100%;margin:0}.studio-submissions-list .studio-reference-highlight pre.hljs{border-radius:0;padding:30px 14px 14px}.studio-pane-title span{font-size:13px;font-weight:800}.studio-pane-title small{color:#939dae;font-size:10px}.studio-code-pane-tools{align-items:center;gap:12px;display:flex}.studio-reset-code{color:#5d6b85;cursor:pointer;background:#f4f6fa;border:1px solid #e2e6ef;border-radius:7px;align-items:center;gap:4px;padding:4px 9px;font-size:11px;display:inline-flex}.studio-reset-code:hover{color:#a44c2b;background:#fff5f0;border-color:#ffd9c8}.studio-document{max-width:820px;margin:auto;padding:28px 30px 80px}.studio-document section{margin-bottom:30px}.studio-document h3{margin:0 0 13px;font-size:17px}.studio-document p,.studio-document li{color:#505d72;font-size:14px;line-height:1.85}.studio-examples{gap:12px;display:grid}.studio-examples article{border:1px solid var(--studio-line);background:#fafbfe;border-radius:11px;gap:7px;padding:15px 17px;display:grid}.studio-examples span{color:var(--studio-violet);font-size:11px;font-weight:800}.studio-examples code,.studio-proof code{color:#3c485c;overflow-wrap:anywhere;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace}.studio-constraints,.studio-pitfalls ul{margin:0;padding-left:20px}.studio-recall-card{background:#fff8f4;border:1px solid #ffd7c8;border-radius:14px;padding:22px}.studio-recall-card>span{color:#fff;background:#f36b39;border-radius:99px;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.studio-recall-card ol{padding-left:24px}.studio-recall-card>strong{color:#bc4e25;border-top:1px dashed #ffc6b1;padding-top:14px;font-size:11px;display:block}.studio-proof{border-left:4px solid var(--studio-teal);background:#f0faf7;border-radius:0 12px 12px 0;padding:20px}.studio-pitfalls{background:#fffaf0;border:1px solid #f3d8a2;border-radius:12px;padding:20px}.studio-pitfalls h3{color:#a66500;align-items:center;gap:7px;display:flex}.studio-followups{--fu-accent:#2f6fd0;--fu-surface:#fbfdff;--fu-line:#dbe7f6;--fu-badge:#e8f0fb}.studio-followups h3{color:var(--fu-accent);align-items:center;gap:7px;display:flex}.studio-followup-list{gap:9px;display:grid}.studio-followups details{background:var(--fu-surface);border:1px solid var(--fu-line);border-radius:11px;margin:0;transition:border-color .16s,box-shadow .16s;overflow:hidden}.studio-followups details:hover{border-color:#bfd6f1}.studio-followups details[open]{background:#fff;border-color:#c6dbf4;box-shadow:0 1px 2px #2f6fd012}.studio-followups summary{cursor:pointer;align-items:flex-start;gap:10px;padding:12px 14px;line-height:1.65;list-style:none;display:flex}.studio-followups summary::-webkit-details-marker{display:none}.studio-followups summary>b{color:var(--fu-accent);white-space:nowrap;background:var(--fu-badge);border-radius:4px;flex:none;margin-top:2px;padding:1px 6px;font-size:10.5px;font-weight:700;line-height:1.65}.studio-followups summary>span{color:#223449;flex:1;font-size:14px;font-weight:650}.studio-followups summary>svg{color:#94a7c2;flex:none;margin-top:4px;transition:transform .18s}.studio-followups details[open] summary>svg{transform:rotate(180deg)}.studio-followups summary code{color:#1c4f9c;border:1px solid var(--fu-line);background:#eef4fd;border-radius:4px;padding:1px 5px;font-size:.9em}.studio-followup-answer{border-top:1px solid var(--fu-line);padding:12px 14px 14px}.studio-followup-answer>em{color:#fff;background:var(--fu-accent);border-radius:4px;margin-bottom:6px;padding:1px 6px;font-size:10.5px;font-style:normal;font-weight:700;line-height:1.65;display:inline-flex}.studio-followup-answer .studio-solution-markdown>:first-child{margin-top:0}.studio-followup-answer .studio-solution-markdown>:last-child{margin-bottom:0}.studio-code-pane .algo-runner{background:#fff;border:0;border-radius:0;flex-direction:column;min-height:calc(100% - 44px);margin:0;display:flex}.studio-monaco{z-index:0;background:#0b1020;border-block:1px solid #263147;flex:1;grid-template-rows:minmax(0,1fr);min-height:300px;display:grid;position:relative;overflow:hidden}.studio-monaco>section{min-width:0;min-height:0}.studio-monaco-loading{color:#5d6b85;place-items:center;min-height:300px;font:12px ui-monospace,SFMono-Regular,Menlo,monospace;display:grid}.studio-test-console{border-top:1px solid var(--studio-line);background:#f8f9fc;padding:14px 16px}.studio-example-tabs,.studio-test-console label>span{align-items:center;gap:8px;display:flex}.studio-example-tabs{margin-bottom:11px}.studio-example-tabs strong{margin-right:auto;font-size:13px}.studio-example-tabs button{color:#c2410c;cursor:pointer;background:#fff;border:1px solid #ffd9c8;border-radius:7px;padding:5px 9px}.studio-test-console label>span{margin-bottom:7px;font-size:12px;font-weight:750}.studio-test-console label small{color:var(--studio-muted);font-weight:500}.studio-code-pane .studio-test-console textarea{width:100%;min-height:92px;color:var(--studio-ink);resize:vertical;background:#fff;border:1px solid #ffd9c8;border-radius:9px;outline:none;padding:12px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace}.studio-test-console-field{border-radius:9px}.studio-test-console-field textarea{display:block}.studio-analyze-tabs{border:1px solid var(--studio-line);background:#f7f8fa;border-radius:9px;gap:3px;margin-bottom:14px;padding:3px;display:inline-flex}.studio-analyze-tabs button{color:var(--studio-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;padding:5px 11px;font-size:12px;display:inline-flex}.studio-analyze-tabs button.is-on{color:#4f46e5;background:#fff;font-weight:700;box-shadow:0 1px 3px #0f172a14}.studio-analyze-map{border:1px solid var(--studio-line);background:#fff;border-radius:12px;overflow:hidden}.studio-analyze-map-bar{color:var(--studio-muted);border-bottom:1px solid var(--studio-line);background:#f7f8fa;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.studio-analyze-map-bar span,.studio-analyze-map-bar button{align-items:center;gap:5px;font-size:11px;display:inline-flex}.studio-analyze-map-bar button{color:var(--studio-muted);cursor:pointer;border:1px solid var(--studio-line);background:#fff;border-radius:6px;padding:4px 8px}.studio-analyze-map-canvas{--markmap-text-color:var(--studio-ink);--markmap-circle-open-bg:#fff;width:100%;height:440px;display:block}.studio-analyze-map>p{color:var(--studio-muted);text-align:right;border-top:1px solid var(--studio-line);padding:6px 12px;font-size:11px}.studio-analyze-map-empty{color:var(--studio-muted);text-align:center;border:1px dashed var(--studio-line);border-radius:10px;padding:24px}@media (max-width:640px){.studio-analyze-map-canvas{height:320px}.studio-analyze-map-bar span{display:none}}.studio-analyze-skeleton{width:100%;padding:28px 30px 60px}.studio-analyze-skeleton i{background:linear-gradient(100deg,#eceff5 20%,#f8f9fc 38%,#eceff5 56%) 0 0/240% 100%;border-radius:8px;animation:1.35s ease-in-out infinite studio-skeleton-wave;display:block}.studio-analyze-skeleton-title{width:92px;height:20px;margin-bottom:18px}.studio-analyze-skeleton-line{height:13px;margin-bottom:9px}.studio-analyze-skeleton-bar{gap:10px;margin:22px 0 24px;display:flex}.studio-analyze-skeleton-bar i:first-child{border-radius:9px;width:122px;height:32px}.studio-analyze-skeleton-bar i:last-child{border-radius:9px;width:112px;height:36px}.studio-analyze-content-skeleton{gap:9px;margin-top:4px;display:grid}.studio-analyze-content-skeleton i{background:linear-gradient(100deg,#eceff5 20%,#f8f9fc 38%,#eceff5 56%) 0 0/240% 100%;border-radius:8px;animation:1.35s ease-in-out infinite studio-skeleton-wave;display:block}.studio-analyze-content-skeleton .studio-analyze-skeleton-line{margin-bottom:0}.studio-analyze-skeleton-block{border-radius:12px;height:96px;margin-bottom:16px}.studio-analyze-bar{flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;display:flex}.studio-analyze-start,.studio-analyze-stop,.studio-analyze-alt{color:#fff;cursor:pointer;background:#ea580c;border:1px solid #ea580c;border-radius:9px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:750;display:inline-flex}.studio-analyze-stop,.studio-analyze-alt{color:#4a5568;background:#fff;border-color:#cdd3df}.studio-analyze-start:disabled{cursor:not-allowed;opacity:.5}.studio-analyze-start.is-skeleton{cursor:default;background:linear-gradient(90deg,#e6e8ec 25%,#ffffffd9 37%,#e6e8ec 63%) 0 0/400% 100%;border-color:#0000;width:86px;height:36px;animation:1.2s ease-in-out infinite studio-analyze-skeleton}:root[data-theme=dark] .studio-analyze-start.is-skeleton{background:linear-gradient(90deg,#ffffff1c 25%,#ffffff38 37%,#ffffff1c 63%) 0 0/400% 100%}@keyframes studio-analyze-skeleton{0%{background-position:100%}to{background-position:0}}@media (prefers-reduced-motion:reduce){.studio-analyze-start.is-skeleton{background:#e6e8ec;animation:none}}.studio-analyze-hint,.studio-analyze-typing{color:var(--studio-muted);align-items:center;gap:6px;margin-top:12px;font-size:12px;display:flex}.studio-analyze-typing svg{animation:.9s linear infinite studio-analyze-spin}.studio-analyze-failed{color:#b42318;align-items:center;gap:10px;font-size:12px;display:flex}.studio-analyze-failed button{color:#c2410c;cursor:pointer;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;display:inline-flex}.studio-analyze-failed button:disabled{cursor:not-allowed;opacity:.5}.studio-analyze .ai-key-tip{margin-top:12px}.studio-analyze-chat{border-top:1px solid var(--studio-line);margin-top:26px;padding-top:18px}.studio-reading-pane.is-chat{scrollbar-gutter:auto;flex-direction:column;display:flex;overflow:hidden}.studio-reading-pane.is-chat>.studio-pane-tabs{flex:none}.studio-ask-panel{flex-direction:column;flex:1;min-height:0;display:flex}.studio-ask-scroll{scrollbar-gutter:stable;overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.studio-ask-body{flex-direction:column;min-height:100%;padding-bottom:18px;display:flex}.studio-ask-body .studio-analyze-chat{flex-direction:column;flex:1;margin-bottom:0;display:flex}.studio-ask-foot{background:var(--studio-surface,#fff);flex:none;position:relative}.studio-ask-foot .studio-analyze-composer-dock{max-width:820px;margin:0 auto;padding:10px 30px 16px}.studio-ask-foot .studio-ask-menu{left:30px;right:30px}.studio-analyze-answer{border-top:1px dashed var(--studio-line);margin-top:22px;padding-top:18px}.studio-analyze-turns{gap:22px;margin-top:26px;display:grid}.studio-analyze-pair{border-bottom:1px dashed var(--studio-line);gap:14px;padding-bottom:22px;display:grid}.studio-analyze-pair:last-child{border-bottom:0;padding-bottom:0}.studio-analyze-turn{align-items:flex-start;gap:9px;display:flex}.studio-analyze-turn.is-user{flex-direction:row-reverse}.studio-analyze-turn.is-user p{color:#7c2d12;white-space:pre-wrap;background:var(--studio-brand-soft);border:1px solid #ffd9c8;border-radius:12px 12px 4px;max-width:90%;margin:0;padding:9px 13px;font-size:13px}.studio-analyze-turn.is-ai{padding:4px 2px}.studio-analyze-turn.is-ai:has(>.studio-analyze-bubble>.studio-analyze-typing){align-items:center}.studio-analyze-turn.is-ai:has(>.studio-analyze-bubble>.studio-analyze-typing) .studio-analyze-avatar{margin-top:0}.studio-analyze-bubble{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.studio-analyze-turn.is-user .studio-analyze-bubble{align-items:flex-end}.studio-analyze-time{font-variant-numeric:tabular-nums;color:var(--studio-muted);opacity:.75;font-size:11.5px}.studio-analyze-turn.is-ai .studio-analyze-md>:first-child{margin-top:0}.studio-analyze-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.studio-analyze-actions-time{font-variant-numeric:tabular-nums;color:var(--color-text-weak);opacity:.75;font-size:11.5px}.studio-analyze-actions button{color:var(--color-text-weak);cursor:pointer;opacity:.65;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:12px;transition:opacity .15s,color .15s;display:inline-flex}.studio-analyze-actions button:hover:not(:disabled){color:#4f46e5;opacity:1}.studio-analyze-actions button:disabled{cursor:not-allowed;opacity:.35}.studio-analyze-actions button:has(svg.lucide-check){color:#0c9674;opacity:1}.studio-analyze-avatar{width:26px;height:26px;color:var(--studio-muted);border:1px solid var(--studio-line);background:#f1f5f9;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;margin-top:2px;display:inline-flex;overflow:hidden}.studio-analyze-avatar.is-ai{color:#6366f1;background:#6366f11a;border-color:#6366f138}.studio-analyze-avatar img{object-fit:cover;width:100%;height:100%}.studio-analyze-presets{color:var(--studio-muted);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;font-size:12px;display:flex}.studio-analyze-presets button{color:#4a5568;cursor:pointer;border:1px solid var(--studio-line);background:#fff;border-radius:20px;padding:5px 10px;font-size:12px}.studio-analyze-presets button:hover:not(:disabled){color:var(--studio-brand-deep);border-color:#ffc7ad}.studio-analyze-presets button:disabled{cursor:not-allowed;opacity:.5}.studio-analyze-composer-dock{padding:10px 0 16px;position:relative}.studio-analyze-composer-dock:before{pointer-events:none;background:linear-gradient(180deg, transparent, var(--studio-surface,#fff));content:"";height:18px;position:absolute;bottom:100%;left:0;right:0}.studio-analyze-composer{border:1px solid var(--studio-line);background:#f8f9fc;border-radius:14px;transition:border-color .2s,box-shadow .2s,background .2s;box-shadow:0 6px 16px -12px #0f172a59}.studio-analyze-composer:focus-within{background:#fff;border-color:#ffc7ad;box-shadow:0 0 0 3px #ff6b351f,0 6px 16px -12px #0f172a59}.studio-analyze-composer textarea{width:100%;min-height:62px;max-height:220px;color:var(--studio-ink);resize:none;background:0 0;border:0;outline:none;padding:12px 14px 2px;font-family:inherit;font-size:14px;line-height:1.7;display:block;overflow-y:auto}.studio-analyze-composer textarea::placeholder{color:#9aa4b5}.studio-analyze-composer-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:8px 11px 11px;display:flex}.studio-analyze-composer-bar .studio-analyze-hint{margin:0}.studio-ask-menu{z-index:2;overscroll-behavior:contain;border:1px solid var(--studio-line);background:#fff;border-radius:14px;flex-direction:column;max-height:min(268px,46vh);margin-bottom:8px;padding:6px;display:flex;position:absolute;bottom:100%;left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px -18px #0f172a73}.studio-ask-menu.wi-glass{position:absolute}:root[data-theme=dark] .studio-ask-menu.wi-glass,:root[data-theme=dark] .studio-ask-menu-copy strong i.wi-glass:not(.is-cost){border-color:#0000}.studio-ask-menu-head{color:var(--studio-muted);padding:6px 8px 4px;font-size:11px}.studio-ask-menu>button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:7px 8px;display:flex}.studio-ask-menu>button.is-active{background:#f8f9fc}.studio-ask-menu-icon{width:28px;height:28px;color:var(--studio-muted);background:#f8f9fc;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.studio-ask-menu>button.is-active .studio-ask-menu-icon{color:var(--studio-brand);background:#fff}.studio-ask-menu-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.studio-ask-menu-copy strong{color:var(--studio-ink);align-items:center;gap:6px;font-size:13px;font-weight:700;display:flex}.studio-ask-menu-copy strong i{color:var(--studio-muted);border:1px solid var(--studio-line);border-radius:4px;padding:1px 5px;font-size:10.5px;font-style:normal;font-weight:400;line-height:1.5}.studio-ask-menu-copy small{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;line-height:1.5;overflow:hidden}.studio-ask-menu kbd{font-family:var(--font-mono,ui-monospace, monospace);color:var(--studio-muted);background:#f1f3f8;border:0;border-radius:5px;flex-shrink:0;padding:2px 6px;font-size:11px}.studio-ask-menu-copy strong i.is-cost{color:#b45309;white-space:nowrap;background:#d9770614;border-color:#d9770640;align-items:center;gap:2px;display:inline-flex}.studio-ask-menu-copy strong i.is-cost svg{opacity:.75;flex-shrink:0}.studio-ask-tool{width:28px;height:28px;color:var(--studio-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;transition:color .15s,background .15s;display:inline-flex;position:relative}.studio-ask-tool:hover:not(:disabled),.studio-ask-tool.is-on{color:var(--studio-brand-deep);background:var(--studio-brand-soft)}.studio-ask-tool:disabled{cursor:not-allowed;opacity:.45}.studio-ask-tool.is-thinking,.studio-ask-tool.is-thinking:hover:not(:disabled){color:var(--studio-brand);opacity:1;background:0 0}.studio-ask-ripple{pointer-events:none;border-radius:50%;animation:2.2s ease-out infinite studio-ask-ripple-ring;position:absolute;inset:-2px}.studio-ask-ripple:before{content:"";background:radial-gradient(circle,#ff6b354d 0%,#ff6b3530 48%,#ff6b3500 71%);border-radius:50%;animation:1.8s ease-in-out infinite studio-ask-breathe;position:absolute;inset:0}.studio-ask-ripple:after{content:"";border-radius:50%;animation:2.2s ease-out 1.1s infinite studio-ask-ripple-ring;position:absolute;inset:0}@keyframes studio-ask-breathe{0%,to{opacity:.45;transform:scale(.85)}50%{opacity:.82;transform:scale(1.12)}}@keyframes studio-ask-ripple-ring{0%{box-shadow:0 0 #ff6b3542}to{box-shadow:0 0 0 4px #ff6b3500}}@media (prefers-reduced-motion:reduce){.studio-ask-ripple,.studio-ask-ripple:before,.studio-ask-ripple:after{animation:none}.studio-ask-ripple:before{opacity:.6}.studio-ask-ripple:after{display:none}}.studio-ask-suggest{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px;display:flex}.studio-ask-suggest>svg{color:var(--studio-muted);opacity:.7;flex-shrink:0}.studio-ask-suggest button{max-width:100%;color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border:1px solid var(--studio-line);background:0 0;border-radius:999px;padding:4px 11px;font-size:12px;transition:color .15s,border-color .15s;overflow:hidden}.studio-ask-suggest button:hover{color:var(--studio-brand-deep);border-color:#ffc7ad}.studio-ask-command{max-width:100%;color:var(--studio-brand-deep);white-space:nowrap;background:var(--studio-brand-soft);border-radius:8px;align-items:center;gap:4px;margin-bottom:8px;padding:3px 5px 3px 9px;font-size:12px;font-weight:600;display:inline-flex}.studio-ask-command svg{opacity:.85;flex-shrink:0}.studio-ask-command button{color:inherit;cursor:pointer;opacity:.6;background:0 0;border:0;border-radius:5px;flex-shrink:0;padding:1px;transition:opacity .15s;display:inline-flex}.studio-ask-command button:hover{opacity:1}.studio-ask-cleared{color:var(--studio-brand-deep);background:var(--studio-brand-soft);border-radius:9px;align-items:center;gap:6px;margin-bottom:8px;padding:6px 11px;font-size:12px;display:flex}.studio-ask-cleared.is-compact{color:var(--studio-muted);background:#f8f9fc}.studio-ask-cleared button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline}.studio-analyze-empty{text-align:center;flex-direction:column;align-items:center;padding:44px 20px 16px;display:flex}.studio-analyze-empty-badge{width:44px;height:44px;color:var(--studio-brand);background:var(--studio-brand-soft);border-radius:14px;justify-content:center;align-items:center;margin-bottom:14px;display:inline-flex}.studio-analyze-empty strong{color:var(--studio-ink);font-size:16px;font-weight:700}.studio-analyze-empty p{max-width:420px;color:var(--studio-muted);margin-top:8px;font-size:13px;line-height:1.75}.studio-analyze-empty em{color:var(--studio-muted);opacity:.8;margin-top:22px;font-size:12px;font-style:normal}.studio-analyze-empty-starters{flex-direction:column;gap:8px;width:100%;max-width:420px;margin-top:10px;display:flex}.studio-analyze-empty-starters button{color:var(--studio-ink);text-align:left;cursor:pointer;background:#f8f9fc;border:1px solid #0000;border-radius:11px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;transition:color .15s,background .15s,border-color .15s;display:flex}.studio-analyze-empty-starters button svg{color:var(--studio-brand);opacity:.75;flex-shrink:0}.studio-analyze-empty-starters button:hover:not(:disabled){color:var(--studio-brand-deep);background:var(--studio-brand-soft);border-color:#ffd9c8}.studio-analyze-empty-starters button:disabled{cursor:not-allowed;opacity:.55}.studio-analyze-composer-send{flex-shrink:0;align-items:center;gap:8px;display:flex}.studio-analyze-composer-tools{align-items:center;gap:10px;min-width:0;display:flex}.studio-analyze-composer-tools .ai-model-select{flex-shrink:0}.studio-analyze-composer-tools .studio-analyze-hint{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@keyframes studio-analyze-spin{to{transform:rotate(360deg)}}.studio-analyze-error{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:10px;padding:12px 14px;font-size:13px}.studio-analyze-error p{margin:0}.studio-analyze-md{word-break:break-word;font-size:14px;line-height:1.85}.studio-analyze-md.studio-analyze-md :is(h1,h2,h3,h4,h5,h6){z-index:auto;box-shadow:none;background:0 0;position:static}.studio-analyze-md :is(h2,h3){border:0;margin:22px 0 8px;padding:0}.studio-analyze-md h2{font-size:17px}.studio-analyze-md h3{font-size:15px}.studio-analyze-md :is(h2,h3):before{display:none}.studio-analyze-md .code-wrapper{max-width:100%;margin-bottom:12px}.studio-analyze-md pre.hljs{color:#dce4f1;background-color:#0b1020;border-radius:10px;padding:30px 16px 16px;font-size:12.5px;line-height:1.7;overflow-x:auto}.studio-analyze-md table{max-width:100%;font-size:13px;display:block;overflow-x:auto}.studio-analyze-md :is(th,td){white-space:nowrap;padding:6px 10px}.studio-reference-head{border-top:1px dashed var(--studio-line);padding-top:24px}.studio-reference-meta{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.studio-reference-meta span{color:#4a5568;background:#f2f4f9;border-radius:99px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.studio-reference-card{border:1px solid var(--studio-line);background:#fff;border-radius:12px;overflow:hidden}.studio-reference-bar{justify-content:space-between;align-items:center;padding:10px 14px;font-size:13px;display:flex}.studio-reference-bar>div{align-items:center;gap:10px;display:flex}.studio-reference-bar button{color:#4a5568;cursor:pointer;background:#f4f6fa;border:1px solid #dfe3ec;border-radius:7px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.studio-reference-bar button.primary{color:#c2410c;background:#fff6f1;border-color:#ffd9c8}.studio-reference-card pre{color:#dce4f1;background:#0b1020;margin:0;padding:16px 18px;font:13px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-x:auto}.studio-reference-card .studio-reference-highlight .code-wrapper{max-width:100%;margin:0}.studio-reference-card .studio-reference-highlight pre.hljs{color:#dce4f1;background-color:#0b1020;border-radius:0;margin:0;padding:30px 18px 18px;font-size:13px;line-height:1.75;overflow-x:auto}.studio-reference-code-loading{min-height:160px}.studio-code-pane .algo-runner-actions{background:#f8f9fc;justify-content:flex-end;gap:10px;padding:0 16px 16px}.studio-code-pane .algo-runner-actions span{margin-right:auto}.studio-code-pane .algo-runner-actions button{border-radius:10px;justify-content:center;align-items:center;gap:7px;min-width:140px;height:42px;padding:0 24px;font-size:14px;font-weight:700;transition:background .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.studio-code-pane .algo-runner-actions button.secondary{color:#3e4b60;background:#fff;border:1px solid #d5dae4;box-shadow:0 1px 2px #1018280d}.studio-code-pane .algo-runner-actions button.secondary:hover:not(:disabled){color:var(--studio-brand-deep);background:var(--studio-brand-soft);border-color:#ffc7ad}.studio-code-pane .algo-runner-actions button:not(.secondary){border:1px solid var(--studio-brand-deep);box-shadow:0 1px 2px #d94f163d}.studio-code-pane .algo-runner-actions button:not(.secondary):hover:not(:disabled){background:var(--studio-brand-deep)}.studio-code-pane .algo-console{color:#cbd5e5;background:#0b1020;border:1px solid #263147;border-radius:10px;flex-direction:column;margin:0 16px 18px;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;display:flex;overflow:hidden}.studio-code-pane .algo-console header{letter-spacing:.04em;color:#8b9ab5;background:#111834;border-bottom:1px solid #263147;align-items:center;gap:7px;padding:8px 12px;font-size:11px;font-weight:700;display:flex}.studio-code-pane .algo-console header small{color:#5f6e8c;text-overflow:ellipsis;white-space:nowrap;font-weight:400;overflow:hidden}.studio-code-pane .algo-console header button{color:#8b9ab5;cursor:pointer;background:0 0;border:1px solid #2c3a56;border-radius:6px;margin-left:auto;padding:2px 8px;font-size:11px}.studio-code-pane .algo-console header button:hover:not(:disabled){color:#ffd0b8;border-color:#6b4530}.studio-code-pane .algo-console header button:disabled{cursor:not-allowed;opacity:.45}.studio-code-pane .algo-console-log{align-content:start;gap:6px;min-height:96px;max-height:320px;padding:10px 12px;display:grid;overflow-y:auto}.studio-code-pane .algo-console-result{border:1px solid #26334c;border-radius:8px;gap:8px;padding:7px 10px;display:flex}.studio-code-pane .algo-console-result strong{font-size:12px}.studio-code-pane .algo-console-result p{opacity:.86;margin:2px 0 0;font-size:11px}.studio-code-pane .algo-console-result.pass{color:#6ee7a8;background:#10b9811f;border-color:#10b98157}.studio-code-pane .algo-console-result.fail{color:#fda4af;background:#f43f5e1f;border-color:#f43f5e57}.studio-code-pane .algo-console-result.neutral{color:#b8c6de;background:#94a3b81a}.studio-code-pane .algo-console-line{gap:8px;margin:0;font-size:12px;display:flex}.studio-code-pane .algo-console-line i{color:#5f6e8c;-webkit-user-select:none;user-select:none;font-style:normal}.studio-code-pane .algo-console-line code{overflow-wrap:anywhere;white-space:pre-wrap}.studio-code-pane .algo-console-line.input{color:#e6edf9}.studio-code-pane .algo-console-line.output{color:#8ec8ff}.studio-code-pane .algo-console-line.error{color:#fda4af}.studio-code-pane .algo-console-line.warn{color:#fbc98a}.studio-code-pane .algo-console-line.log{color:#b8c6de}.studio-code-pane .algo-console-hint{color:#5f6e8c;margin:0;font-size:11px}.studio-code-pane .algo-console-hint code{color:#8ec8ff}.studio-code-pane .algo-console-prompt{background:#0e1530;border-top:1px solid #263147;align-items:flex-start;gap:8px;padding:9px 12px;display:flex}.studio-code-pane .algo-console-prompt span{color:#7c9cff;font-size:13px;font-weight:700;line-height:1.6}.studio-code-pane .algo-console-prompt textarea{color:#e6edf9;resize:none;caret-color:#ff8a5c;background:0 0;border:0;outline:0;width:100%;min-height:0;padding:0;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;display:block;overflow:hidden}.studio-code-pane .algo-console-prompt textarea::placeholder{color:#556482}.studio-animation-pane{padding:18px 20px 40px}.studio-algorithm-locked-preview{height:auto;position:relative;overflow:visible}.studio-algorithm-locked-preview>:first-child{max-height:210px;overflow:hidden}.studio-algorithm-locked-preview.is-animation>.algo-player{max-height:320px}.studio-algorithm-locked-preview:after{z-index:1;pointer-events:none;background:linear-gradient(to bottom, transparent, var(--bg-primary));content:"";height:120px;position:absolute;top:90px;left:0;right:0}.studio-algorithm-locked-preview.is-animation:after{height:130px;top:190px}.studio-algorithm-ai-preview{color:var(--color-text-secondary);padding:18px 2px}.studio-algorithm-ai-preview h4{color:var(--color-text-primary);margin:0 0 10px;font-size:16px}.studio-algorithm-ai-preview p{margin:0 0 24px;line-height:1.9}.studio-algorithm-locked{z-index:2;background:0 0;justify-content:center;align-items:center;height:auto;padding:18px 16px 8px;display:flex;position:relative}.studio-algorithm-locked-card{width:min(430px,100%);color:var(--color-text-secondary);background:color-mix(in srgb, var(--bg-primary) 96%, #fff);border:1px solid #fb923c61;border-radius:15px;padding:16px 18px;box-shadow:0 18px 40px -28px #ea580c8c}.studio-algorithm-locked-head{align-items:center;gap:10px;display:flex}.studio-algorithm-locked-head>span{color:#ea580c;background:#f973161f;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.studio-algorithm-locked-head small{color:#ea580c;align-items:center;gap:4px;font-size:10px;display:flex}.studio-algorithm-locked-head h3{color:var(--color-text-primary);margin:2px 0 0;font-size:16px}.studio-algorithm-locked-card>p{margin:10px 0;font-size:12px}.studio-algorithm-locked-card ul{flex-wrap:wrap;gap:7px 14px;margin:0;padding:0;list-style:none;display:flex}.studio-algorithm-locked-card li{align-items:center;gap:4px;font-size:11px;display:flex}.studio-algorithm-locked-card li svg{color:#f97316}.studio-algorithm-locked-actions{white-space:nowrap;justify-content:flex-start;align-items:center;gap:12px;width:100%;margin-top:13px;display:flex}.studio-algorithm-locked-actions button:first-child{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f97316,#ea580c);border-radius:10px;flex-shrink:0;gap:6px;width:auto;min-width:112px;max-width:none;height:36px;padding:0 18px;font-size:13px;font-weight:650}.studio-algorithm-locked-actions .is-login{color:#4f46e5;cursor:pointer;flex-shrink:0;width:auto;min-width:max-content;height:24px;font-size:12px}@media (max-width:640px){.studio-algorithm-locked-actions{gap:8px}}.studio-animation-pane .studio-animation-intro{margin-bottom:14px;display:block}.studio-animation-pane .studio-animation-intro h2{margin:6px 0;font-size:18px}.studio-animation-pane .studio-animation-intro p{font-size:13px}.studio-animation-pane .algo-paths{margin-top:12px}.studio-animation-view{scrollbar-gutter:stable;height:calc(100vh - 130px);min-height:650px;padding:24px max(24px,50vw - 750px);overflow-y:auto}.studio-animation-intro{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:14px;display:flex}.studio-animation-intro h2{margin:8px 0 5px;font-size:25px}.studio-animation-intro p{color:var(--studio-muted);margin:0}.studio-animation-view .algo-player{border-color:#d9dce8;position:relative;box-shadow:0 22px 70px #27335316}.studio-player-status{background:#fff;border-bottom:1px solid #dfe3ed;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:58px;padding:10px 18px;display:grid}.studio-player-status span{color:var(--studio-violet);background:#fff4ee;border:1px solid #ffd9c8;border-radius:8px;padding:6px 9px;font:800 11px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-player-status strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.studio-player-status small{color:#8b95a7;font-size:10px}.studio-animation-view .algo-player-grid{grid-template-columns:minmax(620px,1.55fr) minmax(360px,.72fr);min-height:520px}.studio-start-lesson{z-index:4;color:#fff;cursor:pointer;background:var(--studio-violet);border:0;border-radius:999px;align-items:center;gap:8px;padding:12px 18px;font-weight:750;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 28px #ff6b3552}.algo-timeline .narration.active{color:var(--studio-violet);background:#f2efff;border-color:#ffb694}.studio-animation-view .algo-canvas{background:radial-gradient(circle at 50% 35%,#262d59 0,#11172d 62%,#0b1020 100%);min-height:520px;padding-right:210px}.studio-animation-view .algo-aux{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#171f38e8;border:1px solid #3c4769;border-radius:12px;place-content:start stretch;width:174px;max-height:360px;margin:0;padding:13px;display:grid;position:absolute;top:72px;right:20px;overflow-y:auto}.studio-animation-view .algo-aux strong{letter-spacing:.08em;color:#aeb8d0;margin-bottom:6px;font:800 10px ui-monospace,SFMono-Regular,Menlo,monospace}.studio-animation-view .algo-aux code,.studio-animation-view .algo-aux span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-animation-view .algo-code-trace{max-height:520px}.studio-animation-view .algo-action{background:#fff;min-height:78px}.studio-frame-track{background:#fffaf7;gap:5px;padding:10px 17px 4px;display:flex}.studio-frame-track button{cursor:pointer;background:#e1e4ed;border:0;border-radius:99px;flex:1;min-width:8px;height:5px}.studio-frame-track button.done{background:#ffb694}.studio-frame-track button.active{background:var(--studio-violet);box-shadow:0 0 0 3px #ff6b3524}.studio-animation-view .algo-timeline{background:#fffaf7;min-height:62px}@media (max-width:1180px){.studio-practice-head{grid-template-columns:auto minmax(160px,1fr) auto minmax(0,auto)}.studio-practice-head nav{background:#fff;order:4;grid-column:1/-1;justify-content:center;padding-bottom:8px}.studio-split,.studio-animation-view{height:calc(100vh - 170px)}}@media (max-width:900px){.studio-practice-head{z-index:10;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"back title""steps steps";gap:8px 10px;height:auto;padding:10px 12px;position:sticky;top:58px}.studio-practice-head>button{grid-area:back}.studio-practice-head>div{grid-area:title}.studio-practice-head>div strong{font-size:15px}.studio-difficulty{white-space:nowrap;flex:none}.studio-practice-head>div small,.studio-practice-head .studio-solved{display:none}.studio-practice-head .studio-practice-steps{border-top:1px solid var(--studio-line);grid-area:steps;justify-content:space-between;gap:8px;padding-top:8px}.studio-practice-head .studio-practice-steps button{flex:1 1 0;max-width:none;padding:6px}.studio-practice-head .studio-practice-steps button:last-child{justify-content:flex-end}.studio-practice-head .studio-practice-steps button em{min-width:0}.studio-practice-head nav button{white-space:nowrap;flex:1;justify-content:center;gap:4px;padding:0 7px;font-size:12px}.studio-split{height:auto;min-height:calc(100vh - 170px);display:block}.studio-reading-pane,.studio-code-pane{height:auto;min-height:calc(100vh - 170px);overflow:visible}.studio-reading-pane.is-chat{display:block;overflow:visible}.studio-ask-scroll,.studio-ask-body{min-height:0;overflow:visible}.studio-ask-foot{z-index:8;position:sticky;bottom:0}.studio-code-pane{border-top:1px solid var(--studio-line)}.studio-animation-view{height:auto;min-height:calc(100vh - 170px);padding:16px 10px 50px;overflow:visible}.studio-animation-intro{display:block}.studio-animation-intro .algo-paths{margin-top:15px}.studio-animation-view .algo-player-grid{grid-template-columns:1fr;min-height:0}.studio-animation-view .algo-canvas{min-height:330px;padding-right:26px}.studio-animation-view .algo-aux{width:auto;max-height:none;margin-top:24px;position:static}.studio-animation-view .algo-code-trace{max-height:300px}}:root[data-theme=dark] .studio-library,:root[data-theme=dark] .studio-practice{--studio-brand-soft:#3a2113;--studio-ink:#e7ecf7;--studio-muted:#93a1bb;--studio-line:#263149;--studio-surface:#161d2d;--studio-surface-soft:#111827;background:#0d1320}:root[data-theme=dark] .studio-library-panel,:root[data-theme=dark] .studio-topic-panel,:root[data-theme=dark] .studio-stats,:root[data-theme=dark] .studio-cloud-state,:root[data-theme=dark] .studio-recall-card,:root[data-theme=dark] .studio-pitfalls,:root[data-theme=dark] .studio-proof,:root[data-theme=dark] .studio-practice-head,:root[data-theme=dark] .studio-pane-tabs,:root[data-theme=dark] .studio-pane-title,:root[data-theme=dark] .studio-code-pane,:root[data-theme=dark] .studio-code-pane .algo-runner,:root[data-theme=dark] .studio-code-pane .algo-runner-actions,:root[data-theme=dark] .studio-problem-table>button,:root[data-theme=dark] .studio-submissions-list details,:root[data-theme=dark] .studio-document .studio-submissions-skeleton>li,:root[data-theme=dark] .studio-reference-card,:root[data-theme=dark] .studio-analyze-composer,:root[data-theme=dark] .studio-hero-steps li,:root[data-theme=dark] .studio-hero-cta a,:root[data-theme=dark] .studio-frame-track,:root[data-theme=dark] .studio-player-status,:root[data-theme=dark] .studio-player-status span{color:var(--studio-ink);background:var(--studio-surface);border-color:var(--studio-line)}:root[data-theme=dark] .studio-cloud-state.error:before{background:radial-gradient(360px 120px at 50% 0,#f9737326 0,#0000 78%)}:root[data-theme=dark] .studio-cloud-state.error .studio-cloud-state-icon{color:#fda29b;background:#55160c;box-shadow:0 0 0 6px #7a271a4d}:root[data-theme=dark] .studio-cloud-state .studio-eyebrow{color:#fda29b}:root[data-theme=dark] .studio-cloud-state code{color:var(--studio-muted);background:var(--studio-surface-soft)}:root[data-theme=dark] .studio-cloud-state-actions>a{color:var(--studio-ink);background:var(--studio-surface-soft);border-color:var(--studio-line)}:root[data-theme=dark] .studio-cloud-state-actions>a:hover{color:#ffb694;background:#26202b;border-color:#4a3527}:root[data-theme=dark] .studio-search,:root[data-theme=dark] .studio-select select,:root[data-theme=dark] .studio-select .studio-select-trigger,:root[data-theme=dark] .studio-pills,:root[data-theme=dark] .studio-shelves button,:root[data-theme=dark] .studio-pagination button,:root[data-theme=dark] .studio-stage-tabs button:hover,:root[data-theme=dark] .studio-stage-tabs button.active,:root[data-theme=dark] .studio-problem-table>button:hover,:root[data-theme=dark] .studio-test-console,:root[data-theme=dark] .studio-code-pane .studio-test-console textarea,:root[data-theme=dark] .studio-example-tabs button,:root[data-theme=dark] .studio-analyze-presets button,:root[data-theme=dark] .studio-analyze-stop,:root[data-theme=dark] .studio-analyze-alt,:root[data-theme=dark] .studio-reference-bar button,:root[data-theme=dark] .studio-reset-code,:root[data-theme=dark] .studio-reset-code:hover,:root[data-theme=dark] .studio-code-pane .algo-runner-actions button.secondary,:root[data-theme=dark] .studio-animation-view .algo-timeline,:root[data-theme=dark] .studio-animation-view .algo-action{color:var(--studio-ink);background:var(--studio-surface-soft);border-color:var(--studio-line)}:root[data-theme=dark] .studio-analyze-composer:focus-within,:root[data-theme=dark] .studio-search:focus-within{background:var(--studio-surface)}:root[data-theme=dark] .studio-document li,:root[data-theme=dark] .studio-document p,:root[data-theme=dark] .studio-hero-copy>p,:root[data-theme=dark] .studio-cell-rate small,:root[data-theme=dark] .studio-cell-pattern code,:root[data-theme=dark] .studio-pills button,:root[data-theme=dark] .studio-stage-tabs button,:root[data-theme=dark] .studio-pagination button,:root[data-theme=dark] .studio-monaco-loading,:root[data-theme=dark] .studio-reference-meta span,:root[data-theme=dark] .studio-analyze-hint,:root[data-theme=dark] .studio-analyze-typing,:root[data-theme=dark] .studio-section-head>small{color:var(--studio-muted)}:root[data-theme=dark] .studio-practice-head .studio-practice-steps button em,:root[data-theme=dark] .studio-submissions-list summary strong,:root[data-theme=dark] .studio-document h3{color:var(--studio-ink)}:root[data-theme=dark] .studio-pills button.active,:root[data-theme=dark] .studio-analyze-presets button.active,:root[data-theme=dark] .studio-shelves button.active{color:#ffb694;background:var(--studio-brand-soft);border-color:#7a3c1d}:root[data-theme=dark] .studio-skeleton i,:root[data-theme=dark] .studio-analyze-skeleton i,:root[data-theme=dark] .studio-analyze-content-skeleton i,:root[data-theme=dark] .studio-submissions-skeleton i{background:linear-gradient(100deg,#1b2436 20%,#26324a 38%,#1b2436 56%) 0 0/240% 100%}:root[data-theme=dark] .studio-skeleton-hero,:root[data-theme=dark] .studio-skeleton-practice-head,:root[data-theme=dark] .studio-skeleton-split section,:root[data-theme=dark] .studio-skeleton-table{background:var(--studio-surface);border-color:var(--studio-line)}:root[data-theme=dark] .studio-analyze-turn.is-user p{color:var(--studio-ink);background:var(--studio-surface-soft)}:root[data-theme=dark] .studio-analyze-error{color:#ffb4ab;background:#3b1d1a;border-color:#5e2a25}:root[data-theme=dark] .studio-analyze-tabs{background:var(--studio-surface-soft)}:root[data-theme=dark] .studio-analyze-tabs button.is-on{color:#a5b4fc;background:var(--studio-surface);box-shadow:0 1px 3px #00000059}:root[data-theme=dark] .studio-analyze-map{background:var(--studio-surface);border-color:var(--studio-line)}:root[data-theme=dark] .studio-analyze-map-bar{background:var(--studio-surface-soft);border-bottom-color:var(--studio-line)}:root[data-theme=dark] .studio-analyze-map-bar button{color:var(--studio-ink);background:var(--studio-surface);border-color:var(--studio-line)}:root[data-theme=dark] .studio-analyze-empty-starters button{color:var(--studio-ink);background:var(--studio-surface-soft)}:root[data-theme=dark] .studio-analyze-empty-starters button:hover:not(:disabled){color:#ffb694;border-color:#7a3c1d}:root[data-theme=dark] .studio-problem-table>header,:root[data-theme=dark] .studio-analyze-md th{color:var(--studio-muted);background:var(--studio-surface-soft)}:root[data-theme=dark] .studio-reading-pane{background:var(--studio-surface);border-right-color:var(--studio-line)}:root[data-theme=dark] .studio-practice-head{box-shadow:0 -6px 0 var(--studio-surface)}:root[data-theme=dark] .studio-examples article{background:var(--studio-surface-soft);border-color:var(--studio-line)}:root[data-theme=dark] .studio-recall-card{background:linear-gradient(145deg, #2c1d14, var(--studio-surface));border-color:#6d3b21}:root[data-theme=dark] .studio-recall-card>strong{color:#ffb694;border-top-color:#6d3b21}:root[data-theme=dark] .studio-recall-card ol,:root[data-theme=dark] .studio-recall-card>p{color:var(--studio-ink)}:root[data-theme=dark] .studio-proof{background:#10231e}:root[data-theme=dark] .studio-proof code{color:#7ee2c1;background:#0c1a17}:root[data-theme=dark] .studio-pitfalls{background:#2a1f12;border-color:#6b4a20}:root[data-theme=dark] .studio-document :is(p,li)>code,:root[data-theme=dark] .studio-constraints code{color:#e6d5a8;background:#26221a}:root[data-theme=dark] .studio-examples code,:root[data-theme=dark] .studio-document .studio-submissions-cases li>code,:root[data-theme=dark] .studio-submissions-list pre code,:root[data-theme=dark] .studio-reference-card pre code,:root[data-theme=dark] .studio-analyze-md pre code,:root[data-theme=dark] .studio-proof code{color:inherit;background:0 0}:root[data-theme=dark] .studio-examples code{color:#cfd8ea}:root[data-theme=dark] .studio-submissions-cases li.pass,:root[data-theme=dark] .studio-submissions-cases li.fail,:root[data-theme=dark] .studio-submissions-cases li.neutral{background:0 0}:root[data-theme=dark] .studio-submissions-cases li.pass{color:#7ee2b8}:root[data-theme=dark] .studio-submissions-cases li.fail{color:#ffb4ab}:root[data-theme=dark] .studio-submissions-cases li.neutral{color:var(--studio-ink)}:root[data-theme=dark] .studio-submissions-list details[open] summary{border-bottom-color:#202a3d}:root[data-theme=dark] .studio-submissions-list summary em,:root[data-theme=dark] .studio-submissions-list summary b,:root[data-theme=dark] .studio-submissions-list summary span{color:var(--studio-muted);background:var(--studio-surface-soft);border-color:var(--studio-line)}:root[data-theme=dark] .studio-submissions-list pre,:root[data-theme=dark] .studio-submissions-empty{color:#dce4f1;border-color:var(--studio-line);background:#0b1020}:root[data-theme=dark] .studio-document :is(h2,h3,h4),:root[data-theme=dark] .studio-document strong{color:#f2f5fb}:root[data-theme=dark] .studio-followups{--fu-accent:#86b4f5;--fu-surface:#121b2b;--fu-line:#26374f;--fu-badge:#1c2b41}:root[data-theme=dark] .studio-followups h3{color:var(--fu-accent)}:root[data-theme=dark] .studio-followups details:hover{border-color:#33486699}:root[data-theme=dark] .studio-followups details[open]{background:var(--studio-surface);box-shadow:none;border-color:#33486a}:root[data-theme=dark] .studio-followups summary,:root[data-theme=dark] .studio-followups summary>span{color:var(--studio-ink)}:root[data-theme=dark] .studio-followups summary code{color:#b9d4fa;background:#182437}:root[data-theme=dark] .studio-followup-answer>em{color:#0d1320}:root[data-theme=dark] .studio-analyze-md table tr,:root[data-theme=dark] .studio-analyze-md table tr:nth-child(2n){color:var(--studio-ink);background-color:var(--studio-surface)}:root[data-theme=dark] .studio-analyze-md table tr:nth-child(2n){background-color:var(--studio-surface-soft)}:root[data-theme=dark] .studio-analyze-md table :is(td,th),:root[data-theme=dark] .studio-analyze-md table tr:nth-child(2n) :is(td,th){border-color:var(--studio-line);color:var(--studio-ink)!important}:root[data-theme=dark] .studio-analyze-md table th{background-color:var(--studio-surface-soft);color:var(--studio-muted)!important}:root[data-theme=dark] .studio-practice-head>button,:root[data-theme=dark] .studio-reference-meta span,:root[data-theme=dark] .studio-analyze-md :is(kbd),:root[data-theme=dark] .algo-action,:root[data-theme=dark] .algo-timeline,:root[data-theme=dark] .algo-timeline button,:root[data-theme=dark] .algo-timeline select,:root[data-theme=dark] .algo-timeline input,:root[data-theme=dark] .algo-paths button,:root[data-theme=dark] .studio-player-status,:root[data-theme=dark] .studio-player-status span,:root[data-theme=dark] .studio-frame-track{color:var(--studio-ink);background:var(--studio-surface-soft);border-color:var(--studio-line)}:root[data-theme=dark] .algo-action{background:#241a12;border-color:#5c3b1e}:root[data-theme=dark] .algo-timeline button.primary{color:#fff;background:var(--studio-brand);border-color:var(--studio-brand)}:root[data-theme=dark] .algo-timeline button:disabled{color:#6b7688;background:#131a28}:root[data-theme=dark] .studio-hero-band{border-bottom-color:var(--studio-line);background:radial-gradient(1250px 560px at 80% -6%,#3a2214 0,#0000 58%),radial-gradient(950px 480px at 2% 104%,#16203a 0,#0000 62%),linear-gradient(#111827 0%,#0d1320 100%)}:root[data-theme=dark] .studio-hero-band:before{background-image:linear-gradient(#ffffff0f 1px,#0000 1px),linear-gradient(90deg,#ffffff0f 1px,#0000 1px)}:root[data-theme=dark] .studio-hero h1,:root[data-theme=dark] .studio-hero-copy h1{color:#f2f5fb}:root[data-theme=dark] .studio-stats{border-color:var(--studio-line);background:#161d2dcc}:root[data-theme=dark] .studio-hero-cta a{color:var(--studio-ink);background:var(--studio-surface-soft);border-color:var(--studio-line)}:root[data-theme=dark] .studio-stage-tabs,:root[data-theme=dark] .studio-filterbar,:root[data-theme=dark] .studio-table-head,:root[data-theme=dark] .studio-section-head>small,:root[data-theme=dark] .studio-shelves button>i,:root[data-theme=dark] .studio-library code{color:var(--studio-muted);background:var(--studio-surface-soft);border-color:var(--studio-line)}:root[data-theme=dark] .studio-section-head>small,:root[data-theme=dark] .studio-library code{color:var(--studio-ink)}:root[data-theme=dark] .studio-skeleton-hero,:root[data-theme=dark] .studio-skeleton-topic,:root[data-theme=dark] .studio-skeleton-table,:root[data-theme=dark] .studio-skeleton-topic header,:root[data-theme=dark] .studio-skeleton-topic>div,:root[data-theme=dark] .studio-skeleton-table>header,:root[data-theme=dark] .studio-skeleton-table>div,:root[data-theme=dark] .studio-skeleton-status,:root[data-theme=dark] .studio-skeleton-practice-head,:root[data-theme=dark] .studio-skeleton-split,:root[data-theme=dark] .studio-skeleton-split section,:root[data-theme=dark] .studio-skeleton-split .editor-head{background:var(--studio-surface);border-color:var(--studio-line)}:root[data-theme=dark] .studio-skeleton-split section+section,:root[data-theme=dark] .studio-skeleton-table>div+div,:root[data-theme=dark] .studio-skeleton-topic>div+div{border-color:var(--studio-line)}:root[data-theme=dark] .studio-shelves em{background:#202a3d}:root[data-theme=dark] .studio-stats div+div{border-left-color:var(--studio-line)}:root[data-theme=dark] .studio-table-head{color:var(--studio-muted);background:var(--studio-surface-soft)!important}:root[data-theme=dark] .studio-problem-table button>span:first-child i{border-color:#35405a}:root[data-theme=dark] [class*=skeleton] i,:root[data-theme=dark] .is-skeleton,:root[data-theme=dark] .ai-model-select-trigger.is-loading{background:linear-gradient(100deg,#1b2436 20%,#26324a 38%,#1b2436 56%) 0 0/240% 100%}.studio-analyze-confirm{color:var(--color-text-secondary);background:#6366f112;border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;padding:9px 12px;font-size:12px;display:flex}.studio-analyze-confirm button{color:#fff;background:#4f46e5;border:none;border-radius:6px;height:26px;padding:0 12px;font-size:12px}.studio-analyze-confirm button.is-ghost{color:var(--color-text-secondary);border:1px solid var(--border-primary-color);background:0 0}.studio-analyze-notice{color:var(--color-text-secondary);margin:10px 0 0;font-size:12px;line-height:1.7}.studio-analyze-credits-inline{font-variant-numeric:tabular-nums;color:var(--color-text-secondary);opacity:.72;align-items:center;gap:3px;font-size:12px;display:inline-flex}:root[data-theme=dark] .studio-hero-preview.wi-glass,:root[data-theme=dark] .studio-hero-steps li.wi-glass,:root[data-theme=dark] .studio-hero-cta a.wi-glass,:root[data-theme=dark] .studio-stats.wi-glass,:root[data-theme=dark] .studio-topic-panel.wi-glass,:root[data-theme=dark] .studio-library-panel.wi-glass,:root[data-theme=dark] .studio-pills.wi-glass,:root[data-theme=dark] .studio-search.wi-glass,:root[data-theme=dark] .studio-search.wi-glass:focus-within,:root[data-theme=dark] .studio-shelves button.wi-glass:not(.active),:root[data-theme=dark] .studio-recall-card.wi-glass,:root[data-theme=dark] .studio-pitfalls.wi-glass,:root[data-theme=dark] .algo-console.wi-glass,:root[data-theme=dark] .studio-reset-code.wi-glass,:root[data-theme=dark] .studio-submissions-list details.wi-glass,:root[data-theme=dark] .studio-submissions>header span.wi-glass,:root[data-theme=dark] .studio-analyze-composer.wi-glass,:root[data-theme=dark] .studio-analyze-composer.wi-glass:focus-within,:root[data-theme=dark] .studio-analyze-turn.is-user p.wi-glass,:root[data-theme=dark] .algo-paths button.wi-glass:not(.active),:root[data-theme=dark] .algo-player.wi-glass,:root[data-theme=dark] .algo-timeline button.wi-glass:not(.active),:root[data-theme=dark] .algo-timeline select.wi-glass,:root[data-theme=dark] .studio-example-tabs button.wi-glass,:root[data-theme=dark] .studio-analyze-tabs.wi-glass,:root[data-theme=dark] .studio-ask-suggest button.wi-glass:not(:hover),:root[data-theme=dark] .studio-code-pane .algo-runner-actions button.secondary.wi-glass,:root[data-theme=dark] .studio-test-console-field.wi-glass textarea,:root[data-theme=dark] .studio-examples article.wi-glass,:root[data-theme=dark] .studio-practice-head button.wi-glass,:root[data-theme=dark] .studio-followup-list details.wi-glass,:root[data-theme=dark] .studio-reference-meta span.wi-glass,:root[data-theme=dark] .studio-reference-card.wi-glass,:root[data-theme=dark] .studio-select .studio-select-trigger.wi-glass:not([data-state=open]),:root[data-theme=dark] .studio-select-menu.wi-glass{border-color:#0000}
