@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";.home-shell .main-workspace{height:auto;min-height:100vh}.home-shell .topbar{background:#fcfdfb;position:sticky;top:0;z-index:30}.library-questions{scroll-margin-top:60px}.header-brand>.brand{padding:0}.breadcrumb-set{padding:0;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.drawer-set-name{min-width:0;overflow-wrap:anywhere}.drawer-list-header>.new-question{flex-shrink:0}.library-page{width:100%;max-width:1180px;margin:0 auto;padding:36px 32px 48px}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.library-heading h1{font-size:28px;letter-spacing:-1px}.library-heading p{margin-top:7px;color:#52655a;font-size:13px}.library-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.library-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}.library-page h2{font-family:Manrope,sans-serif;font-size:17px;font-weight:750;letter-spacing:-.35px;color:#293f34}.library-section-heading>span,.library-question-heading>div>span{font-size:12px;color:#52655a}.set-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:16px}.set-card{background:#fff;border:1px solid #d6e0d8;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.set-open{display:flex;align-items:center;gap:12px;width:100%;padding:18px 16px;text-align:left}.set-open:hover{background:#f4f8f1}.set-card-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;background:#edf3e8;border-radius:8px;color:#426244}.set-card-title{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.set-card-title strong{font-family:Manrope,sans-serif;font-size:16px;font-weight:750;color:#2f4938;overflow-wrap:anywhere}.set-card-title>span{font-size:12px;color:#52655a}.set-open>svg{color:#48674e}.all-questions-card{border-color:#a8bea5;background:#f4f8ef}.all-questions-card .set-card-icon{background:#dcedc4;color:#355d3e}.set-preview{padding:0 9px 6px}.set-preview>button{width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:8px;border-radius:5px;font-size:12px}.set-preview>button:hover{background:#edf3e8}.set-preview>button>.difficulty-dot{margin-left:0}.set-preview>button>span:nth-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.set-preview>button>svg{color:#647766}.set-preview>p{font-size:12px;color:#52655a;padding:8px}.set-card-actions{display:flex;align-items:center;justify-content:space-between;margin-top:auto;border-top:1px solid #e3e9df;padding:7px 12px;min-height:43px}.set-card-actions>.text-button{padding:5px 4px;font-size:12px;color:#385c43}.create-set-card{border:1px dashed #a8b9a8;border-radius:10px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:10px;padding:22px;color:#426249;min-height:188px;text-align:left}.create-set-card:hover{background:#edf3e8;border-color:#6d916f}.create-set-card strong{font-family:Manrope,sans-serif;font-size:15px}.create-set-card span{font-size:12px;color:#52655a;line-height:1.6;max-width:220px}.library-questions{margin-top:34px}.library-question-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.library-question-heading>div:first-child{display:flex;align-items:baseline;gap:10px;min-width:0}.library-question-heading h2{overflow-wrap:anywhere}.library-question-heading>div>span{white-space:nowrap}.library-filters{display:flex;align-items:center;gap:12px;margin-bottom:12px}.library-search{display:flex;align-items:center;gap:8px;padding:0 10px;background:#fff;border:1px solid #cbd6ce;border-radius:6px;color:#52655a;min-width:0}.library-search:focus-within{border-color:#79a484;box-shadow:0 0 0 3px #a1bf9e22}.library-search input{border:0;padding:9px 0;box-shadow:none;background:transparent;width:100%;font-size:12px}.library-filters>.library-search{flex:1}.library-filters>select{max-width:220px;font-size:12px;padding:9px 10px}.library-question-list{background:#fff;border-top:1px solid #cbd6ce;border-bottom:1px solid #cbd6ce}.library-question-list:empty{display:none}.library-question-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 74px 70px 16px;gap:16px;align-items:center;padding:15px 12px;text-align:left}.library-question-row+.library-question-row{border-top:1px solid #e6ebe7}.library-question-row:hover{background:#eff5ec}.library-question-title{font-size:14px;font-weight:550;color:#2d4736;overflow-wrap:anywhere}.library-question-row .difficulty{justify-self:start}.library-test-count{font-size:12px;color:#52655a;text-align:right}.library-empty{padding:24px 12px;color:#52655a;font-size:13px;line-height:1.7}.library-empty .button{margin-top:12px}.set-modal{width:min(540px,calc(100vw - 32px))}.set-modal form>label{font-size:12px;color:#465e4e}.set-picker-heading{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:12px}.set-picker-heading h3{font-size:13px}.set-picker-heading>span{font-size:12px;color:#52655a}.set-help{font-size:12px;line-height:1.6;color:#52655a;margin-top:7px}.set-modal form>.library-search{flex-direction:row;margin:14px 0 8px}.set-question-picker{max-height:300px;overflow:auto;overscroll-behavior:contain}.set-question-option{display:flex;align-items:center;gap:10px;padding:12px 4px;border-bottom:1px solid var(--line);cursor:pointer}.set-question-option>input{accent-color:#34614a;width:16px;height:16px;flex-shrink:0;margin:0}.set-question-option>span:first-of-type{flex:1;font-size:13px;overflow-wrap:anywhere}.set-question-option:hover{background:#f4f8ef}@media(max-width:750px){.library-page{padding:24px 18px 32px}.library-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:26px}.library-heading h1{font-size:25px}.library-question-heading{align-items:flex-start;flex-wrap:wrap}.library-question-heading>div:first-child{flex-wrap:wrap;gap:6px}.library-filters>select{max-width:45%}.set-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.library-question-row{grid-template-columns:minmax(0,1fr) 64px 16px;gap:8px;padding:14px 8px}.library-test-count{display:none}}@media(max-width:400px){.library-page{padding-left:14px;padding-right:14px}.set-grid{grid-template-columns:minmax(0,1fr)}.library-filters{gap:8px}.library-filters>select{max-width:43%}}.catalog-status{padding:9px 16px;color:var(--muted);font-size:12px;line-height:1.6;background:#fcfdfb;flex-shrink:0}.catalog-status[hidden]{display:none}.catalog-status .text-button{font-size:12px;margin-left:8px;text-decoration:underline}.account-control{position:relative;flex-shrink:0}.topbar{position:relative;z-index:30}.account-menu{position:absolute;top:calc(100% + 9px);right:0;width:min(268px,calc(100vw - 24px));padding:6px;border:1px solid var(--line);border-radius:8px;background:#fcfdfb;box-shadow:0 5px 30px #293b3820;color:var(--ink)}.account-summary{display:flex;flex-direction:column;gap:5px;padding:10px;font-size:12px}.account-summary strong{font-weight:650}.account-summary span{color:var(--muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}.account-menu>button,.account-menu>a{display:flex;align-items:center;gap:9px;width:100%;padding:10px;font-size:12px;text-align:left;border-radius:5px}.account-menu>button:hover,.account-menu>button:focus-visible,.account-menu>a:hover,.account-menu>a:focus-visible{background:var(--soft)}.account-profile{width:min(400px,calc(100vw - 32px))}.account-details{display:grid;gap:18px;margin:22px 0}.account-details dt{color:var(--muted);font-size:12px;margin-bottom:6px}.account-details dd{margin:0;font-size:14px;color:var(--ink);overflow-wrap:anywhere}.account-note{font-size:12px;line-height:1.7;color:var(--muted);margin-top:20px}.account-error{font-size:12px;line-height:1.6;color:var(--red);padding:8px 10px}.account-callback{padding:24px;max-width:440px;margin:12vh auto}.account-callback h1{font-size:22px;margin-bottom:12px}.account-callback p{line-height:1.7;margin-bottom:18px}.login-shell .main-workspace{height:auto;min-height:100vh}.login-shell .topbar{background:#fcfdfb}.account-login{width:min(400px,calc(100% - 36px));margin:12vh auto;padding:24px;background:#fcfdfb;border:1px solid var(--line);border-radius:9px}.account-login h1{font-size:24px}.account-login>p{margin-top:10px;color:var(--muted);font-size:13px;line-height:1.7}.login-options{display:grid;gap:10px;margin:24px 0}.login-options>.button{width:100%}:root{font-family:DM Sans,sans-serif;color:#34483e;background:#f6f8f7;font-synthesis:none;font-weight:400;font-size:13px;--bg:#f6f8f7;--green:#326149;--ink:#293f34;--muted:#52655a;--line:#e6ebe7;--soft:#eff5ef;--lime:#d9edb3;--red:#b85454}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid #76a889;outline-offset:3px}button{border:0;background:none}a{color:inherit;text-decoration:none}svg{flex-shrink:0}h1,h2,h3,p{margin:0}button{transition:background .15s,color .15s,box-shadow .15s}button:hover{color:#244d37}::selection{background:#dbeccb}code,kbd,pre{font-family:Cascadia Code,SFMono-Regular,Consolas,monospace}code{font-size:12px;overflow-wrap:anywhere}input,textarea,select{border:1px solid #dfe6e0;border-radius:6px;background:#fff;color:#34483e;padding:10px 12px;outline:0;min-width:0}input:focus,textarea:focus,select:focus{border-color:#79a484;box-shadow:0 0 0 3px #a1bf9e22}textarea{resize:vertical;line-height:1.65}button .spin,.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{display:flex;min-height:100vh}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:10px 14px;font-weight:550;font-size:12px;white-space:nowrap}.primary{background:#34614a;color:#fff;box-shadow:0 2px 3px #25433412}.primary:hover{background:#294e3b;color:#fff}.secondary{border:1px solid var(--line);background:#fff}.secondary:hover{background:#f5f7f4}.new-question:hover{background:#e3edda}.question-list{display:flex;flex-direction:column;gap:5px;overflow-y:auto}.question-item{padding:11px 10px;display:flex;align-items:center;gap:10px;text-align:left;font-size:12px;border-radius:6px;color:#5d675d;min-width:0}.question-item.selected{background:#eaf0e4;color:#4b643e;font-weight:550}.question-item:hover{background:#f0f4eb}.question-item>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.difficulty-dot{width:5px;height:5px;border-radius:50%;margin-left:auto;flex-shrink:0;background:#83a56d}.difficulty-dot.medium{background:#c99a4d}.difficulty-dot.hard{background:#c97474}.status-dot{display:inline-block;width:5px;height:5px;background:#83a887;border-radius:50%;flex-shrink:0}.question-search{display:flex;align-items:center;border:1px solid var(--line);padding-left:8px;margin:0 3px 10px;border-radius:5px;color:var(--muted)}.question-search input{width:100%;border:0;font-size:11px;padding:8px;background:transparent}.main-workspace{margin-left:0;flex:1;min-width:0;padding:0 29px;display:flex;flex-direction:column;min-height:100vh}.topbar{height:44px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:16px;flex-shrink:0;margin-bottom:12px}.breadcrumb{display:flex;align-items:center;gap:12px;color:#5f6761;font-size:11px;min-width:0}.breadcrumb strong{font-weight:500;color:#536557;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:260px}.breadcrumb>svg{color:#626661}.profile-avatar{width:25px;height:25px;flex-shrink:0;border-radius:50%;background:#e8eee0;border:3px solid #fff;color:#586a46;font-size:10px;font-weight:600;box-shadow:0 0 0 1px #e5ebdf}h1{font-family:Manrope,sans-serif;font-size:27px;line-height:1.35;letter-spacing:-1.2px;font-weight:750;color:#2f4437}h1>span{color:#5b694a}.save-status{display:flex;align-items:center;gap:5px;color:#5e675e;font-size:10px;white-space:nowrap;margin-left:auto;flex-shrink:0}.save-status svg{color:#5c6952}.save-status.save-failed{color:var(--red);white-space:normal;max-width:45%;font-size:9px;line-height:1.3}.workbench{display:grid;grid-template-columns:minmax(290px,.84fr) minmax(0,1.4fr);gap:16px;flex:1;min-height:660px;height:calc(100vh - 262px);max-height:1000px}.panel{background:#fff;border:1px solid #dfe6e0;border-radius:9px;box-shadow:0 2px 3px #28432602;min-width:0;overflow:hidden}.problem-panel{display:flex;flex-direction:column;min-height:0}.panel-tabs{height:47px;display:flex;align-items:stretch;border-bottom:1px solid var(--line);padding:0 15px;gap:21px;flex-shrink:0;position:relative}.panel-tabs>button{padding:0;display:flex;align-items:center;gap:7px;font-size:11px;color:#616661;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}.panel-tabs>button.active{color:#486345;border-bottom-color:#6c9260;font-weight:550}.panel-tabs>button.active svg{color:#536b4a}.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:15px;background:#eef2eb;color:#5c6855;border-radius:4px;font-size:9px;padding:0 4px;font-weight:500}.panel-menu{margin-left:auto;display:flex;align-items:center;position:relative}.icon-button{padding:6px;display:inline-flex;align-items:center;justify-content:center;color:#5f6760;border-radius:5px}.icon-button:hover{background:#f1f5ed;color:#4f6c43}.dropdown{position:absolute;top:40px;right:-5px;background:#fff;box-shadow:0 5px 30px #293b3820;border:1px solid var(--line);border-radius:8px;min-width:165px;padding:5px;z-index:20}.dropdown button{display:flex;align-items:center;gap:9px;width:100%;font-size:11px;text-align:left;padding:10px;border-radius:4px}.dropdown button:hover{background:#f4f7f1}.menu-dismiss{position:fixed;inset:0;z-index:19}.problem-scroll{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#dce4da transparent}.description-content{padding:27px 24px 24px}.question-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.question-heading h2{font-family:Manrope;font-size:22px;line-height:1.4;font-weight:700;letter-spacing:-.8px;overflow-wrap:anywhere;color:#32483a}.question-heading .icon-button{color:#626661}.question-badges{display:flex;align-items:center;gap:7px;margin:12px 0 25px}.difficulty{font-size:9px;font-weight:500;padding:4px 9px;border-radius:4px}.difficulty.easy{background:#eff5e7;color:#576b42}.difficulty.medium{background:#fcf3df;color:#79622e}.difficulty.hard{background:#faeaea;color:#8c5656}.owned-badge{color:#61665f;background:#f5f6f2;padding:4px 8px;font-size:9px;border-radius:4px}.question-description{font-size:12px;line-height:1.95;color:#5f6760}.question-description p{margin-bottom:16px;white-space:pre-wrap;overflow-wrap:anywhere}.examples{margin-top:27px}.examples h3{font-size:11px;font-weight:600;letter-spacing:.2px;margin-bottom:17px;color:#58695a}.example{margin-bottom:20px}.example-title{font-size:10px;color:#5b6956;font-weight:500;margin-bottom:9px}.example-body{background:#f7f9f5;border-left:2px solid #dce6d4;border-radius:0 5px 5px 0;padding:13px 14px}.example-body p{display:flex;align-items:baseline;gap:10px;line-height:1.7}.example-body p+p{margin-top:6px}.example-body p>span{font-size:10px;color:#5e6858;min-width:39px}.example-body code{font-size:11px;color:#556b4e}.function-card{border:1px solid #e7ece2;border-radius:6px;padding:15px;margin-top:26px;background:#fdfefb}.function-card>div{display:flex;align-items:center;gap:7px;font-size:10px;color:#5e6858;margin-bottom:11px}.function-card>code{color:#536b48;font-size:11px}.function-card>code>span{color:#60675a}.function-card p{font-size:10px;color:#61665e;line-height:1.6;margin-top:8px}.text-button{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#5d6854}.edit-tests{margin-top:19px;padding:0}.coding-column{display:grid;grid-template-rows:minmax(350px,1.47fr) minmax(250px,1fr);gap:14px;min-height:0;min-width:0}.editor-panel{display:flex;flex-direction:column;min-height:0}.editor-header{height:47px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 17px;gap:8px;flex-shrink:0}.editor-file{display:flex;align-items:center;gap:8px;font-size:11px;color:#5b685a}.editor-file svg{color:#596a4e}.file-dot{height:4px;width:4px;background:#b8c6af;border-radius:50%;margin-left:1px}.editor-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.language-picker{display:flex;align-items:center;gap:6px;position:relative}.language-picker select{padding:5px 13px 5px 1px;border:0;box-shadow:none;appearance:none;background:transparent;font-size:10px;color:#5d6859;cursor:pointer}.language-picker>svg{position:absolute;right:0;pointer-events:none;color:#5f675a}.language-mark{font-size:8px;font-weight:650;background:#f6eec8;color:#6d653a;padding:2px 3px;border-radius:2px}.language-mark.typescript{background:#e4edf5;color:#47678d}.tool-divider{width:1px;height:13px;background:var(--line)}.code-area{flex:1;min-height:0;overflow:hidden}.code-area>.cm-theme{height:100%}.code-area .cm-editor{height:100%}.editor-status{height:26px;flex-shrink:0;padding:0 17px;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#61665f}.editor-status>span{display:flex;align-items:center;gap:5px}.status-separator{padding:0 6px;color:#636660}.editor-status .status-dot{width:4px;height:4px;background:#a6b69a}kbd{font-size:8px;border:1px solid #e4e9e0;background:#fff;border-radius:3px;min-width:16px;height:17px;padding:2px 4px;text-align:center;color:#60675c;box-shadow:0 1px #e8ece4}.run-button{font-size:11px;padding:7px 11px;min-height:31px;min-width:91px}.run-button svg{width:12px}.stop-button{background:#f9e9e7;color:#a4483e;min-width:91px;min-height:31px;padding:7px 11px}.output-panel{display:flex;flex-direction:column;min-height:0}.output-tabs{gap:21px;height:43px}.output-tabs>button{font-size:10px}.output-tabs>button svg{width:14px}.output-tools{margin-left:auto;display:flex;align-items:center;gap:8px;color:#5a694e}.time-limit{display:flex;align-items:center;gap:5px;color:#62665d;font-size:8px;white-space:nowrap}.output-content{flex:1;overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#dce4da transparent}.output-empty{min-height:190px;height:100%;padding:23px 15px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.empty-terminal{width:45px;height:43px;border-radius:11px;background:#f1f5eb;color:#5d6852;display:grid;place-items:center;position:relative;margin-bottom:13px}.terminal-spark{font-size:15px;color:#5f6852;position:absolute;right:-6px;top:-7px}.output-empty h3{font-family:Manrope;font-size:12px;font-weight:600;color:#5c6855;letter-spacing:-.2px}.output-empty p{font-size:10px;color:#61675b;margin-top:7px}.empty-shortcut{margin-top:18px;color:#636660;font-size:9px}.console-empty>svg{color:#60675a;margin-bottom:14px}.results-content{padding:17px}.results-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:16px}.results-summary>span{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:550;flex-wrap:wrap}.results-summary>small{font-size:9px;color:#5f675b;white-space:nowrap;padding-top:3px}.results-summary>small>span{padding:0 4px}.success-text{color:#496d46!important}.danger-text{color:#985050!important}.stale-badge{background:#faf4e4;font-size:8px;font-weight:400;padding:3px 5px;color:#746332;border-radius:3px}.result-case-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.result-case-tabs>button{border:1px solid #e7ece2;border-radius:5px;display:flex;align-items:center;gap:5px;padding:6px 10px;font-size:10px;color:#5f6759}.result-case-tabs>button.selected{border-color:#d3e0c8;background:#f1f6ea;color:#516c41}.result-details{font-size:9px}.result-details>div>span,.result-values>div>span{display:block;color:#61675a;margin-bottom:6px}.result-details code{display:block;background:#f7f9f4;border-radius:5px;padding:9px 10px;font-size:10px;line-height:1.6;color:#586a50;white-space:pre-wrap}.result-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:11px}.muted{font-size:11px;color:#61675b}.console-content{padding:10px 15px}.console-case-label{font-size:8px;color:#61675a;letter-spacing:1px;margin:9px 0}.console-line{display:flex;align-items:flex-start;gap:7px;border-bottom:1px solid #f0f3ec;padding:7px 0;color:#596951}.console-line>svg{margin-top:3px;color:#5e6856}.console-line pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.6;flex:1;min-width:0}.console-line>span{font-size:8px;color:#62665d;margin-top:2px}.console-line.warn{color:#75632f}.console-line.error{color:#985050}.console-stale{font-size:10px;color:#72633e;padding:6px 0}.tests-content{padding:16px;background:#f5f7f5;min-height:100%}.tests-intro{margin-bottom:15px}.tests-intro h2{font-family:Manrope,sans-serif;font-size:16px;letter-spacing:-.35px;font-weight:700;color:#2d4436}.tests-intro p{font-size:12px;color:#56695c;line-height:1.6;margin-top:6px}.tests-intro code{font-size:12px;color:#304f3c}.inline-edit-signature{font-size:inherit;color:#305939;text-decoration:underline}.test-editor{border:1px solid #cbd6ce;border-radius:7px;margin-bottom:12px;padding:0 12px 12px;background:#fff;box-shadow:0 2px 5px #243b2d0a,0 1px 2px #243b2d05}.test-editor-heading{display:flex;align-items:center;justify-content:space-between;min-height:36px;border-bottom:1px solid #dce4de;margin-bottom:9px}.test-editor-heading h3{font-size:13px;font-weight:650;color:#2c4635}.test-editor-heading .input-format{margin-left:auto;margin-right:6px;font-size:11px;padding:4px 20px 4px 6px;max-width:130px;color:#354f3e}.test-editor-heading>.icon-button:last-child{margin-left:auto}.parameter-label{display:flex;align-items:center;gap:6px;min-width:0}.parameter-label>code{font-size:12px;font-weight:600;color:#294631}.parameter-label>span,.input-note{font-size:11px;color:#53664e}.parameter-label>.icon-button{margin-left:auto}.parameter-convert{font-size:10px;color:#305939;margin-left:auto;padding:3px 5px}.input-note{margin-left:auto}.test-editor label{display:flex;flex-direction:column;font-size:12px;font-weight:500;color:#465e4e;gap:5px;margin-top:9px}.test-editor textarea{width:100%;font-family:Cascadia Code,Consolas,monospace;font-size:13px;font-weight:400;line-height:1.5;padding:8px 10px;border:1px solid #bfcfc3;border-radius:5px;min-height:38px;max-height:180px;field-sizing:content;color:#253f30;background:#fbfcfb;box-shadow:inset 0 1px 2px #213d2a05}.test-editor textarea:focus{background:#fff;border-color:#558567;box-shadow:0 0 0 3px #5585671a}.test-editor .icon-button{padding:5px;color:#59685d}.test-editor .icon-button:hover{color:#a04747;background:#fbefef}.add-test{border:1px dashed #91ac98;width:100%;color:#375c44;font-size:12px;padding:9px 12px;background:#fff}.add-test:hover{background:#ebf3ed;border-color:#628d6f}.test-tip{font-size:11px;line-height:1.6;color:#57695c;margin-top:10px}.empty-workspace{flex:1;min-height:440px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.empty-workspace h2{font-family:Manrope;font-size:23px;letter-spacing:-.8px;margin:9px 0}.empty-workspace p{font-size:12px;color:#61675b;margin-bottom:25px}.modal{border:1px solid #dee7d7;border-radius:13px;box-shadow:0 25px 100px #243b3630;padding:27px;width:min(510px,calc(100vw - 36px));max-height:90vh;color:var(--ink);overflow-y:auto}.modal::backdrop{background:#23382d50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.modal h2{font-family:Manrope;font-size:20px;letter-spacing:-.7px;font-weight:700}.modal-intro{color:#5f6759;font-size:12px;line-height:1.8;margin-bottom:23px}.modal form>label,.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;margin-top:17px;color:#596a4f}.modal input,.modal textarea,.modal select{font-size:12px;line-height:1.6}.modal input::placeholder,.modal textarea::placeholder{color:#62665d}.form-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px}.field-help{font-size:10px;color:#61675b;line-height:1.7;margin-top:10px}.form-error{font-size:11px;color:var(--red);margin-top:10px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.danger{background:#a44747;color:#fff}.danger:hover{background:#a54f4f;color:#fff}.help-content>p{font-size:12px;line-height:1.8;color:#5f6758;margin:14px 0 24px}.help-step{display:flex;gap:13px;margin-bottom:21px}.help-step>span{display:grid;place-items:center;border-radius:8px;background:#eef5e5;color:#596a48;font-family:Manrope;font-size:13px;font-weight:600;width:28px;height:28px;flex-shrink:0}.help-step h3{font-size:12px;font-weight:600;margin:3px 0 7px;color:#576a4c}.help-step p{font-size:11px;line-height:1.8;color:#61675a}.help-step code{font-size:10px;color:#556b47}.help-note{font-size:10px;line-height:1.9;background:#f6f9f1;border-radius:7px;padding:13px;color:#606758}@media(min-width:1600px){.main-workspace{padding-left:42px;padding-right:42px}.workbench{grid-template-columns:minmax(350px,.8fr) minmax(0,1.4fr)}.description-content{padding:30px}.question-description{font-size:13px}.code-area .cm-editor{font-size:14px}h1{font-size:30px}}@media(max-width:1150px){.main-workspace{margin-left:0;padding:0 20px}.workbench{grid-template-columns:minmax(270px,.83fr) minmax(0,1.2fr);gap:12px}.description-content{padding:23px 18px}.panel-tabs{gap:15px;padding:0 12px}.panel-tabs>button{font-size:10px}.editor-header{padding:0 12px}.code-area .cm-editor{font-size:12px}.editor-file{font-size:10px}.editor-tools{gap:7px}.save-status{font-size:9px}.results-summary{flex-direction:column;gap:5px}.time-limit{display:none}.workbench{min-height:700px}}@media(max-width:900px){.main-workspace{margin-left:0;padding:0 17px}.workbench{grid-template-columns:1fr;height:auto;max-height:none;min-height:0}.problem-panel{max-height:430px}.description-content{padding:22px}.question-description{font-size:12px}.coding-column{grid-template-rows:480px 300px}}@media(max-width:600px){.main-workspace{margin-left:0;padding:0 14px}.topbar{gap:10px}.breadcrumb{gap:8px;font-size:10px}.breadcrumb strong{max-width:180px}h1{font-size:24px;letter-spacing:-1.1px}.save-status{font-size:9px}.workbench{gap:13px}.problem-panel{max-height:390px}.description-content{padding:23px 20px}.coding-column{grid-template-rows:430px 290px;gap:13px}.question-heading h2{font-size:21px}.panel-tabs{padding:0 16px;gap:22px}.editor-header{padding:0 15px}.editor-file{font-size:11px}.language-picker select{font-size:10px}.code-area .cm-editor{font-size:11px}.code-area .cm-gutters{padding-left:6px;padding-right:5px}.output-tabs{gap:21px}.time-limit{display:flex}.results-content{padding:15px}.results-summary{flex-direction:row}.results-summary>span{font-size:10px}.results-summary>small{font-size:8px}.modal{padding:22px}.modal h2{font-size:18px}.modal-intro{font-size:11px}.empty-workspace h2{font-size:20px}.empty-workspace p{font-size:11px;line-height:1.8}}.question-description{color:#59685e}.panel-tabs>button{color:#5b685d}.output-empty p{color:#5b6953}.example-body p>span{color:#596950}.function-card p{color:#5c6952}.editor-status{font-size:9px}.save-status{color:#5a6955}.question-description{font-size:13px;line-height:1.85}.results-summary>span{font-size:12px}.result-details code{font-size:11px}.output-empty h3{font-size:13px}.output-empty p{font-size:11px}@media(min-width:901px){.main-workspace{height:100vh;min-height:0}.workbench{height:auto;max-height:none;min-height:0}.coding-column{grid-template-rows:minmax(180px,1.47fr) minmax(140px,1fr)}}@media(max-width:900px){.main-workspace{height:auto}.workbench{flex:initial}}@media(max-width:600px){.question-description{font-size:12px}}@media(max-width:1150px){.editor-file>svg,.editor-file .file-dot{display:none}.editor-tools{gap:6px}}@media(max-width:600px){.editor-header{padding:0 10px}.tests-content{padding:13px}}@media(max-width:380px){.editor-file{display:none}.editor-tools{width:100%;justify-content:flex-end}.language-picker{margin-right:auto}}.output-tabs{gap:14px}.output-tabs .output-tools{margin-left:0}.output-tabs>.output-toggle{flex:1;min-width:28px;justify-content:flex-end;align-self:stretch;border:0;margin:0;color:#516b59}.output-tabs>.output-toggle:hover{color:#2e563c;background:#f1f5ef}.coding-column.output-collapsed{grid-template-rows:minmax(0,1fr) 38px}.output-collapsed .output-tabs{height:36px;border-bottom:0;background:#fafcf9}.output-collapsed .output-tabs>button.active{border-bottom-color:transparent}.output-content[hidden]{display:none}@media(max-width:900px){.coding-column{height:794px}}@media(max-width:600px){.coding-column{height:733px}.output-tabs .time-limit{display:none}}.main-workspace{padding:0}.topbar{margin-bottom:0;padding:0 16px;border-bottom-color:#cdd8d0}.workbench{gap:0}.workbench .panel{border:0;border-radius:0;box-shadow:none}.problem-panel{border-right:1px solid #cdd8d0!important}.coding-column{gap:0}.output-panel{border-top:1px solid #cdd8d0!important}.panel-tabs,.editor-header{height:40px;border-bottom-color:#d8e0da}.output-tabs,.output-collapsed .output-tabs{height:36px}.editor-status{height:20px;font-size:10px}.description-content{padding:18px 20px}.question-badges{margin:9px 0 16px}.question-description{line-height:1.7}.question-description p{margin-bottom:12px}.examples{margin-top:18px}.examples h3{margin-bottom:12px}.example{margin-bottom:14px}.function-card{margin-top:18px;padding:12px}.panel-tabs>button,.editor-file,.language-picker select{font-size:12px}.tab-count,.difficulty,.owned-badge,.save-status,.time-limit{font-size:11px}.example-title,.example-body p>span,.example-body code,.function-card>div,.function-card>code,.function-card p,.text-button{font-size:12px}.results-summary>small,.result-case-tabs>button,.result-details,.console-case-label,.console-line>span,.field-help,.help-note{font-size:11px}.result-details code,.console-line pre{font-size:12px}.output-empty{min-height:130px;padding:16px}.empty-shortcut{display:none}.output-empty h3{font-size:14px}.output-empty p{font-size:12px}@media(max-width:900px){.problem-panel{border-right:0!important;border-bottom:1px solid #cdd8d0!important}.coding-column{height:780px}}@media(max-width:600px){.topbar{padding:0 10px}.save-status{font-size:10px}.coding-column{height:720px}.panel-tabs{padding:0 12px;gap:14px}.editor-file,.language-picker select{font-size:11px}.description-content{padding:16px}.output-tabs .time-limit{display:none}.output-tabs{gap:10px}}.workbench{position:relative}.panel-resizer{display:none}.resizing-panels,.resizing-panels *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}@media(min-width:901px){.workbench{grid-template-columns:clamp(280px,var(--question-width,38%),calc(100% - 380px)) minmax(0,1fr)}.panel-resizer{display:flex;align-items:center;justify-content:center;position:absolute;z-index:10;top:0;bottom:0;left:clamp(280px,var(--question-width,38%),calc(100% - 380px));width:9px;transform:translate(-50%);cursor:col-resize;touch-action:none;outline:none}.panel-resizer:before{content:"";position:absolute;inset:0 3px;background:transparent}.panel-resizer>span{height:28px;width:3px;border-radius:2px;background:#879f8e;position:relative}.panel-resizer:hover:before,.panel-resizer:focus-visible:before,.resizing-panels .panel-resizer:before{background:#4c7c5c}.panel-resizer:focus-visible{box-shadow:inset 0 0 0 1px #4c7c5c}.panel-resizer:hover>span,.panel-resizer:focus-visible>span,.resizing-panels .panel-resizer>span{background:#244b31}.coding-column{container-type:inline-size}}@container (max-width:480px){.editor-file>svg,.editor-file .file-dot{display:none}.editor-file,.language-picker select{font-size:11px}.editor-header{padding:0 10px}.editor-tools{gap:6px}.output-tabs .time-limit{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.brand{font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.7px;display:flex;align-items:center;gap:7px;color:#2f4637;white-space:nowrap}.brand-icon{height:27px;width:27px;background:#dcedc4;display:grid;place-items:center;border-radius:7px;color:#355d3e}.header-brand{display:flex;align-items:center;gap:9px;flex-shrink:0}.question-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(340px,calc(100vw - 32px));height:100dvh;max-width:none;max-height:none;padding:0 12px 12px;border:0;border-right:1px solid #cdd8d0;background:#fcfdfb;color:var(--ink);box-shadow:8px 0 32px #23382d20;overflow:hidden}.question-drawer[open]{display:flex;flex-direction:column;animation:drawer-in .18s ease-out}.question-drawer::backdrop{background:#23382d40}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;border-bottom:1px solid var(--line);flex-shrink:0}.drawer-header .brand{font-size:21px}.drawer-header .brand-icon{height:30px;width:30px}.drawer-list-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;flex-shrink:0}.drawer-list-header>span{display:flex;align-items:center;gap:7px;font-weight:600;color:#465e4e}.new-question{padding:7px 9px;background:#edf3e8;color:#35543e;font-size:12px}.question-list{min-height:0;overscroll-behavior:contain}.question-item{font-size:13px;color:#465b4c;flex-shrink:0}.question-item.selected{color:#36542d}.question-search{flex-shrink:0;margin-left:0;margin-right:0}.question-search input{font-size:12px}.drawer-empty{padding:12px 6px;font-size:13px;color:#52655a;line-height:1.6}.theme-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:5px;color:#52655a}.theme-picker:hover{background:#edf3e8;color:#34552a}.theme-picker:focus-within{outline:2px solid #76a889;outline-offset:2px}.theme-picker select{position:absolute;inset:0;width:100%;height:100%;opacity:0;padding:0;cursor:pointer}.editor-panel[data-editor-theme] .code-area,.editor-panel[data-editor-theme] .editor-status{background:var(--editor-background)}.editor-panel[data-editor-theme] .editor-status,.editor-panel[data-editor-theme] .status-separator{color:var(--editor-muted)}@container (max-width:440px){.editor-tools .visualize-button>span{display:none}.editor-tools .visualize-button{padding:7px}}@media(max-width:480px){.editor-file{display:none}.editor-tools{width:100%;justify-content:flex-end}.editor-tools .language-picker{margin-right:auto}.editor-tools .visualize-button>span{display:none}.editor-tools .visualize-button{padding:7px}}.question-modal{width:min(820px,calc(100vw - 32px));padding:20px}.question-modal[open]{display:flex;flex-direction:column;overflow:hidden}.question-modal .modal-header{flex-shrink:0}.question-modal form{display:flex;flex-direction:column;min-height:0}.question-form-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;overflow-y:auto;min-height:0;padding:3px}.question-form-details>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;margin-bottom:14px;color:#465e4e}.question-form-details>.field-help{margin:-6px 0 14px}.function-card>code{overflow-wrap:anywhere}.question-form-tests>h3{display:flex;align-items:center;gap:7px;font-size:14px;color:#2c4635}.question-form-tests>.field-help{margin:8px 0 12px;line-height:1.6}.question-modal .modal-actions{flex-shrink:0;margin-top:16px;padding-top:12px}.question-modal .form-error{flex-shrink:0}@media(max-width:650px){.question-modal{padding:16px}.question-form-content{grid-template-columns:minmax(0,1fr);gap:20px}.question-form-tests .test-editor-heading{gap:4px}.question-form-tests .input-format{max-width:118px}}@keyframes drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@media(max-width:750px){.workspace-crumb{display:none}.topbar{gap:10px}.breadcrumb{gap:6px;flex:1}.save-status:not(.save-failed){display:none}.save-status.save-failed{max-width:30%}}@media(max-width:420px){.header-brand{gap:4px}.header-brand .brand{font-size:16px}.header-brand .brand-icon{display:none}.breadcrumb strong{font-size:11px}.topbar{gap:8px}}.language-mark.python{background:#e4edf5;color:#315a80}.difficulty.basic{background:#f1f4ef;color:#536451}.difficulty.very-hard{background:#faeaea;color:#793c3c}.difficulty-dot.basic{background:#758574}.difficulty-dot.very-hard{background:#a14d4d}.question-badges{flex-wrap:wrap}.question-topics{font-size:11px;color:#5f6760;overflow-wrap:anywhere}.editor-with-visualizer{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;min-width:0;position:relative}.editor-with-visualizer.is-open:not(.visualizer-stacked){grid-template-columns:minmax(0,1fr) var(--visualizer-width,340px)}.editor-with-visualizer .editor-panel{min-width:0;container-type:inline-size}.visualizer-panel{display:flex;flex-direction:column;min-width:0;min-height:0;border-left:1px solid #c8d7cd;background:#fcfdfb;overflow:hidden;container-type:inline-size;container-name:visualizer}.visualizer-header{height:40px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:0 12px;border-bottom:1px solid #d8e0da}.visualizer-header>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;color:#284a37}.visualizer-version{font-size:8px;letter-spacing:.7px;background:#e7efdf;color:#4d653e;padding:3px 4px;border-radius:3px}.visualizer-panel:focus-visible{outline:2px solid #496b91;outline-offset:-2px}.visualizer-header-tools{display:flex;align-items:center;gap:4px}.trace-clear-breakpoints{gap:3px;color:#8a4034;font-size:10px}.cm-breakpoint-gutter{width:18px}.cm-breakpoint-gutter .cm-gutterElement{display:flex;align-items:center;justify-content:center}.trace-breakpoint,.trace-breakpoint-spacer{display:block;width:16px;height:16px;flex-shrink:0}.trace-breakpoint{padding:0;display:grid;place-items:center;background:transparent;border:0;border-radius:3px;cursor:pointer}.trace-breakpoint:after{content:"";width:8px;height:8px;border:1px solid #bd463d;border-radius:50%;opacity:0}.cm-breakpoint-gutter:hover .trace-breakpoint:after,.trace-breakpoint:focus-visible:after{opacity:.65}.trace-breakpoint[aria-pressed=true]:after{opacity:1;background:#bd463d}.trace-breakpoint:hover{background:#bd463d22}.trace-select{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid #dce5dc;flex-shrink:0;background:#f5f8f2}.trace-select label{font-size:11px;color:#53664d}.trace-select select{padding:5px 6px;font-size:11px;flex:1;min-width:74px}.trace-again{font-size:11px;padding:6px 5px;gap:4px;background:#fff;border:1px solid #cbd8c4;color:#345830}.trace-body{flex:1;min-height:0;overflow:auto;padding:12px;scrollbar-width:thin}.trace-notice,.trace-error{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.6;padding:9px;border-radius:5px;margin-bottom:12px;border:1px solid #e5d5a2;background:#fff9e8;color:#735519}.trace-error{background:#fff2ef;border-color:#e7c2ba;color:#8c4035}.trace-notice>svg,.trace-error>svg{margin-top:2px}.trace-placeholder{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:18px 8px;color:#4d6851}.trace-placeholder h3{font-size:13px}.trace-placeholder p{font-size:12px;line-height:1.7}.trace-placeholder .trace-support{font-size:11px;color:#5c6859}.trace-current{display:flex;gap:8px;align-items:center;min-height:24px}.trace-line{color:#446e35;background:#eaf2e3;font-family:Consolas,monospace;font-size:10px;padding:4px 6px;border-radius:4px;white-space:nowrap}.trace-current strong{font-size:12px;font-weight:600;color:#314f38}.trace-calls{margin-bottom:14px;border-bottom:1px solid #d8e0da;padding-bottom:8px}.call-tree-heading{gap:6px;margin-bottom:5px}.call-tree-toggle{display:flex;gap:4px;align-items:center;font-size:12px;font-weight:600;padding:2px 0;color:#314f38}.call-tree-toggle>span{font-size:10px;font-weight:400;color:#526456}.call-tree-heading>span{margin-left:auto;white-space:nowrap}.call-tree-toggle:focus-visible{outline:2px solid #315fa3;outline-offset:2px}.call-follow{display:flex;align-items:center;gap:2px;font-size:10px;color:#315fa3;padding:3px;border-radius:3px;white-space:nowrap}.call-tree{min-width:0}.call-row{display:flex;align-items:center;gap:5px;width:100%;min-height:28px;padding:4px 4px 4px calc(3px + var(--call-depth)*11px);border-left:2px solid transparent;border-radius:3px;text-align:left;color:#354e42}.call-row:hover{background:#eef3ec}.call-row.call-active{background:#e0edd3;border-left-color:#6c9654}.call-row.call-selected{outline:1px solid #496b91;outline-offset:-1px}.call-row:focus-visible,.call-follow:focus-visible{outline:2px solid #315fa3;outline-offset:-2px}.call-branch{display:flex;align-items:center;color:#71836d;flex-shrink:0}.call-number{font:9px Consolas,monospace;color:#526456;flex-shrink:0}.call-signature{font:11px Consolas,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.call-status{display:flex;align-items:center;gap:3px;font-size:9px;white-space:nowrap;flex-shrink:0;color:#735519;max-width:37%;overflow:hidden}.call-active .call-status{color:#345830;font-weight:600}.call-returned .call-status{color:#345830}.call-status code{font:11px Consolas,monospace;overflow:hidden;text-overflow:ellipsis}.trace-semantics{font-size:10px;color:#63715c;margin:6px 0 15px}.trace-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.trace-section-heading>code{font-size:13px;font-weight:600;color:#2c4e36}.trace-section-heading>span{font-size:10px;color:#606f57}.trace-section-heading h3{font-size:12px;font-weight:600}.trace-array{margin-bottom:14px}.array-cells{display:flex;gap:5px;overflow-x:auto;padding:0 0 7px;scrollbar-width:thin}.array-cell{display:flex;flex-direction:column;flex:0 0 auto;min-width:42px;max-width:120px;text-align:center}.array-index{font:10px Consolas,monospace;color:#65715e;margin-bottom:5px}.array-cell>code{min-height:37px;display:flex;align-items:center;justify-content:center;padding:6px 9px;border:1px solid #c4d1bf;border-radius:5px;background:#fff;font-size:13px;color:#2c4030;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.array-cell.current>code,.array-cell.accessed>code{background:#e0edd3;border-color:#6c9654;box-shadow:inset 0 -2px #6c9654}.array-cell.changed>code{background:#fff0cc;border-color:#b88a32;box-shadow:inset 0 -2px #b88a32}.trace-matrix{margin-bottom:14px}.matrix-scroll{overflow-x:auto;scrollbar-width:thin;padding-bottom:7px}.matrix-grid{display:grid;grid-template-columns:20px repeat(var(--matrix-columns),minmax(37px,max-content));gap:4px;width:max-content;max-width:none}.matrix-index{font:10px Consolas,monospace;color:#53664d;text-align:center;align-self:center}.matrix-row-index{padding-right:4px}.matrix-cell{min-width:37px;max-width:120px;min-height:37px}.matrix-cell>code{display:flex;align-items:center;justify-content:center;min-height:37px;height:100%;padding:6px 8px;border:1px solid #c4d1bf;border-radius:5px;background:#fff;font-size:12px;color:#2c4030;white-space:nowrap;overflow:hidden}.matrix-cell.current>code,.matrix-cell.accessed>code{background:#e0edd3;border-color:#6c9654;box-shadow:inset 0 -2px #6c9654}.matrix-cell.changed>code{background:#fff0cc;border-color:#b88a32;box-shadow:inset 0 -2px #b88a32}.matrix-missing{display:grid;place-items:center;min-height:37px;color:#63715c;font-size:11px}.array-cell.in-range{background:#eaf1fa;border-radius:5px;box-shadow:inset 0 -3px #496b91;padding-bottom:5px}.array-pointer-labels{height:calc(var(--pointer-rows)*20px);display:flex;flex-direction:column;justify-content:flex-end;gap:2px;margin-bottom:4px}.array-pointer{display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 10px/18px Consolas,monospace;color:#244e78;background:#e1edf9;border-radius:3px;padding:0 4px}.array-pointer:after{content:" ↓"}.array-heading-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.array-view-heading{flex-wrap:wrap;gap:5px 8px}.array-view-heading>code{min-width:0;overflow-wrap:anywhere}.array-view-heading .array-heading-tools{flex-wrap:wrap;flex-shrink:1;justify-content:flex-end;gap:5px 7px;min-width:0;max-width:100%;color:#46553f}.array-view-control{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px;color:#46553f}.array-view-control select{min-width:0;max-width:110px;height:24px;padding:2px 4px;font-size:11px;color:#2c4030}.array-view-control select:focus-visible{outline:2px solid #315fa3;outline-offset:1px}.array-tree-error{margin:3px 0;font-size:11px;line-height:1.5;color:#735519}.array-mapping-toggle{display:flex;align-items:center;gap:4px;padding:3px 4px;color:#345d7f;font-size:10px;border-radius:3px}.array-mapping-toggle:hover,.array-mapping-toggle[aria-expanded=true]{background:#e6eef6}.array-mapping-toggle:focus-visible{outline:2px solid #496b91;outline-offset:2px}.array-range-label{display:flex;flex-wrap:wrap;align-items:center;gap:6px;justify-content:space-between;color:#345779;font-size:10px;margin-bottom:6px}.array-range-label code{font-size:10px}.array-pointer-outside{font:11px/1.6 Consolas,monospace;color:#345779;overflow-wrap:anywhere}.array-pointer-outside span{font:10px DM Sans,sans-serif;color:#52677b}.array-mapping{margin-bottom:9px;padding:8px 0;border-block:1px solid #d8e0da;font-size:11px;color:#354e42}.array-mapping>label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.array-mapping select{width:155px;max-width:60%;min-width:0;padding:4px 6px;font-size:11px;color:#354e42}.array-mapping fieldset{border:0;padding:0;margin:6px 0 9px;min-width:0}.array-mapping legend{font-size:10px;margin-bottom:5px;color:#526456}.pointer-options{display:flex;flex-wrap:wrap;gap:6px 12px}.pointer-options label{display:flex;align-items:center;gap:4px;max-width:100%;overflow-wrap:anywhere;font-family:Consolas,monospace}.pointer-options input[type=checkbox]{width:13px;height:13px;padding:0;margin:0;accent-color:#496b91}.array-mapping p{font-size:10px;line-height:1.5;color:#526456}.trace-legend{display:flex;gap:13px;margin:-4px 0 18px;font-size:10px;color:#53634a}.trace-legend>span{display:flex;align-items:center;gap:5px}.trace-legend i{width:8px;height:8px;border-radius:2px}.access-key{background:#e0edd3;border:1px solid #6c9654}.change-key{background:#fff0cc;border:1px solid #b88a32}.empty-array{padding:10px;border:1px dashed #c5d2be;border-radius:5px;font:15px Consolas,monospace;color:#4c643e;display:flex;gap:12px;align-items:center}.empty-array>span{font:11px DM Sans,sans-serif;color:#5c6d51}.trace-variables table{border-collapse:collapse;width:100%;font-size:12px;table-layout:fixed}.trace-variables th,.trace-variables td{border-bottom:1px solid #e0e7dc;padding:8px 7px;vertical-align:top;text-align:left;overflow-wrap:anywhere}.trace-variables thead th{font-size:10px;color:#5d7054;background:#f1f5ec;font-weight:500}.trace-variables th:first-child{width:36%}.trace-variables tbody th{font-weight:500;color:#3b5231}.trace-variables code{font-size:12px;white-space:pre-wrap}.trace-variables .variable-changed{background:#fff6e0}.trace-muted{font-size:11px;color:#5d6d55;line-height:1.6}.variable-heading h3{display:flex;align-items:center;gap:6px;white-space:nowrap}.variable-heading h3>span{font-size:10px;font-weight:400;color:#526456}.variable-filter{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;color:#354e42;cursor:pointer}.variable-filter input{width:13px;height:13px;padding:0;margin:0;accent-color:#496b91;cursor:pointer}.variable-name{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;min-width:0}.variable-name code{min-width:0;overflow-wrap:anywhere}.variable-pin{display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:3px;color:#63715c;border-radius:3px}.variable-pin:hover,.variable-pin[aria-pressed=true]{background:#e1edf9;color:#244e78}.variable-pin:focus-visible{outline:2px solid #496b91;outline-offset:1px}.trace-variables .variable-pinned>th{border-left:2px solid #496b91}.trace-variables .variable-before{color:#59614d}.variable-arrow{color:#795b23;font-size:12px}.variable-scope{color:#526456;font-size:11px;font-style:italic}.variable-scope-status{display:inline-block;margin-left:6px;font:10px DM Sans,sans-serif;color:#795b23}.array-before{font-size:11px;color:#625332}.array-change-arrow{font-size:11px;color:#795b23;flex-shrink:0}.array-value,.array-before{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trace-collection{min-width:0;font-size:11px;color:#2c4030}.trace-collection>summary{cursor:pointer;line-height:1.6;overflow-wrap:anywhere}.trace-collection>summary>code{font-size:12px}.trace-collection>summary:focus-visible{outline:2px solid #496b91;outline-offset:2px}.collection-deltas{display:inline-flex;gap:5px;margin-left:6px;font:600 10px Consolas,monospace}.collection-added{color:#356227}.collection-updated{color:#795b23}.collection-removed{color:#8a4034}.collection-entries{margin-top:5px;max-height:240px;overflow:auto;scrollbar-width:thin}.collection-entry{display:grid;grid-template-columns:9px minmax(0,.8fr) minmax(0,1fr);gap:4px;border-bottom:1px solid #d9e3d4;padding:4px 2px;min-width:0}.set-entries>.collection-entry{grid-template-columns:9px minmax(0,1fr)}.collection-mark{font:600 11px/1.6 Consolas,monospace}.collection-key,.collection-entry-value{min-width:0;overflow-wrap:anywhere}.collection-key{font-weight:600}.trace-variables .collection-entry code{font-size:11px}.collection-entry-value>.variable-value{white-space:pre-wrap}.collection-entry.entry-added{background:#eaf4e3}.collection-entry.entry-updated{background:#fff0cc}.collection-entry.entry-removed{background:#fbece6;color:#804239}.entry-removed>.collection-key,.entry-removed>.collection-entry-value>.variable-value{text-decoration:line-through}.entry-added>.collection-mark{color:#356227}.entry-updated>.collection-mark{color:#795b23}.entry-removed>.collection-mark{color:#8a4034}.collection-entry-value .collection-entry{grid-template-columns:8px minmax(0,.8fr) minmax(0,1fr);gap:3px}.collection-entry-value .set-entries>.collection-entry{grid-template-columns:8px minmax(0,1fr)}.collection-empty,.collection-limit{display:block;color:#526456;font-size:10px;padding:4px 0}.collection-entry-value:has(>.trace-collection[open]){grid-column:2/-1}.trace-return{display:flex;flex-direction:column;gap:8px;padding:12px;margin-top:16px;border:1px solid #a9c59a;border-radius:6px;background:#eff7e9}.trace-return>span{font-size:11px;font-weight:600;color:#3e602e}.trace-return>code{font-size:13px;color:#2c4522;white-space:pre-wrap;overflow-wrap:anywhere}.trace-out-of-bounds{font-size:10px;line-height:1.6;color:#8b4e2e;padding-top:3px}.trace-playback{padding:10px 12px 8px;border-top:1px solid #cfddc7;background:#f7faf3;flex-shrink:0}.trace-timeline{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#54674b;gap:6px}.trace-position-label{min-width:0;flex:1}.trace-position-label>label{font-weight:600;display:block}.trace-position-label>span{font-size:9px}.trace-watch{display:flex;align-items:center;gap:2px;min-width:0;max-width:57%}.trace-watch select{width:125px;min-width:0;padding:4px;font-size:10px;color:#354e42}.trace-watch .icon-button{padding:4px;color:#3d5c31;flex-shrink:0}.trace-playback input[type=range]{width:100%;height:16px;margin:7px 0 4px;padding:0;box-shadow:none;accent-color:#4c783a;cursor:pointer}.trace-playback input:disabled{opacity:.4;cursor:default}.trace-controls{display:flex;align-items:center;gap:1px;justify-content:center}.trace-controls .icon-button{color:#3d5c31;padding:6px;width:32px;height:34px;flex-shrink:0}.trace-controls .iteration-control{background:#eaf2e3;border-radius:4px}.trace-play{height:34px;width:35px;flex-shrink:0;background:#34614a;color:#fff;border-radius:5px;display:grid;place-items:center}.trace-play:hover{background:#274c38;color:#fff}.trace-speed{font-size:10px;padding:4px;width:52px;flex-shrink:0;color:#3e5a32}.trace-breakpoint-play{margin-left:4px;background:#315fa3}.trace-breakpoint-play:hover{background:#244b86;color:#fff}@container visualizer (max-width:300px){.trace-controls .icon-button{width:29px;padding:5px}}.output-tools .console-source{width:58px;padding:4px 3px;font-size:10px;color:#354e42}.output-tabs:has(.console-source){gap:8px}.output-tabs:has(.console-source) .output-tools{gap:3px}.output-tabs:has(.console-source) .time-limit{display:none}.trace-console .console-case-label{letter-spacing:.4px;color:#46594c}.trace-console-empty{font-size:12px;color:#526456;padding:8px 0;line-height:1.6}.console-log-step{font:10px/1.6 Consolas,monospace;color:#345d7e;white-space:nowrap;padding:2px 3px;border-radius:3px;flex-shrink:0}.console-log-step:hover{background:#e1edf9;color:#244e78}.console-log-step:focus-visible{outline:2px solid #496b91;outline-offset:1px}.trace-console-current{background:#edf4e7;box-shadow:inset 2px 0 #5e8746;padding-left:5px}.visualize-button{border:1px solid #b5c9a8;background:#eff6e8;color:#34552a;font-size:11px;padding:6px 9px;min-height:31px}.visualize-button[aria-expanded=true]{background:#e0edd5;border-color:#799c65}.visualizer-divider{position:absolute;z-index:11;right:var(--visualizer-width,340px);transform:translate(50%);top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;outline:none}.visualizer-divider:after{content:"";position:absolute;top:0;bottom:0;width:3px;left:3px;background:transparent}.visualizer-divider:hover:after,.visualizer-divider:focus-visible:after{background:#668f51}.visualizer-divider:focus-visible{box-shadow:inset 0 0 0 1px #668f51}.visualizer-divider>span{position:absolute;left:3px;top:50%;width:3px;height:25px;border-radius:2px;background:#879f8e}.cm-editor .cm-trace-line{background:#edf3d4!important;box-shadow:inset 3px 0 #729445}.loop-color-1{--loop-bg:#edf5fd;--loop-accent:#446c99}.loop-color-2{--loop-bg:#f3effb;--loop-accent:#755a9b}.loop-color-3{--loop-bg:#fff1e7;--loop-accent:#945b35}.loop-color-4{--loop-bg:#eaf6f1;--loop-accent:#346f5b}.loop-color-5{--loop-bg:#fbedf2;--loop-accent:#93536b}.loop-color-6{--loop-bg:#f8f4df;--loop-accent:#79652a}.cm-editor .cm-loop-scope{background:var(--loop-bg)}.cm-editor .cm-loop-scope.cm-trace-line{background:var(--loop-bg)!important;box-shadow:inset 4px 0 var(--loop-accent),inset 0 1px var(--loop-accent),inset 0 -1px var(--loop-accent)}.trace-variables tr.loop-variable{background:var(--loop-bg)}.trace-variables tr.loop-variable>th{box-shadow:inset 2px 0 var(--loop-accent)}.loop-depth-label{display:inline-block;margin-left:6px;font:9px DM Sans,sans-serif;font-weight:600;color:var(--loop-accent);white-space:nowrap}.loop-array-heading{background:var(--loop-bg);border-left:2px solid var(--loop-accent);padding:3px 6px}.editor-with-visualizer.visualizer-stacked{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(140px,1fr) minmax(220px,1fr)}.visualizer-stacked .visualizer-panel{border-left:0;border-top:1px solid #c8d7cd}.visualizer-stacked .visualizer-divider{display:none}.coding-column:has(.visualizer-stacked){grid-template-rows:minmax(0,1fr) minmax(140px,.35fr)}.coding-column.output-collapsed:has(.visualizer-stacked){grid-template-rows:minmax(0,1fr) 38px}@container (max-width:600px){.editor-file{display:none}.editor-tools{width:100%;justify-content:flex-end}.editor-tools .language-picker{margin-right:auto}}@container (max-width:350px){.visualize-button>span{display:none}.visualize-button{padding:7px}.editor-header{padding:0 8px}.editor-tools{gap:5px}}.trace-binary-tree{margin-bottom:12px;min-width:0}.binary-tree-heading{margin-bottom:3px}.binary-tree-toggle{display:flex;align-items:center;gap:3px;padding:2px 0;color:#2c4e36}.binary-tree-toggle code{font:600 13px Consolas,monospace}.binary-tree-toggle:focus-visible{outline:2px solid #315fa3;outline-offset:2px}.binary-tree-heading{flex-wrap:wrap;justify-content:flex-start;gap:3px 7px}.binary-tree-heading>span{margin-left:auto;white-space:nowrap;color:#46553f}.binary-tree-toggle{min-width:0}.binary-tree-toggle code{overflow-wrap:anywhere;text-align:left}.binary-tree-controls{display:flex;gap:2px;align-items:center}.binary-tree-controls button{display:flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:2px 4px;border-radius:3px;font-size:11px;color:#315477}.binary-tree-controls button:hover:not(:disabled),.binary-tree-controls button[aria-pressed=true]{background:#e1edf9}.binary-tree-controls button:disabled{opacity:.45;cursor:default}.binary-tree-controls button:focus-visible{outline:2px solid #315fa3;outline-offset:1px}.binary-tree-fold{cursor:pointer;outline:none}.binary-tree-fold-hit{fill:transparent;stroke:none}.binary-tree-fold:hover .binary-tree-fold-hit,.binary-tree-fold:focus-visible .binary-tree-fold-hit{fill:#e1edf9}.binary-tree-fold:focus-visible .binary-tree-fold-hit{stroke:#315fa3;stroke-width:2}.binary-tree-fold-chevron{stroke:#46553f;stroke-width:1.7;fill:none;pointer-events:none}.binary-tree-fold-count{font:600 10px Consolas,monospace;fill:#315477;cursor:pointer}.binary-tree-subtree.contains-selected .binary-tree-fold-count{fill:#315fa3}.binary-tree-subtree.contains-current .binary-tree-fold-count{fill:#256434}.binary-tree-subtree.contains-change .binary-tree-fold-count{fill:#906218}.binary-tree-fold-dot{fill:#347844}.binary-tree-view{margin-left:auto;padding:2px 5px;font-size:11px;color:#315477;border:1px solid #b5c8df;border-radius:4px;background:#edf3fb}.binary-tree-view:focus-visible{outline:2px solid #315fa3;outline-offset:2px}.binary-tree-diagram .binary-tree-node.added circle,.binary-tree-diagram .binary-tree-node.changed circle{fill:#fff0c7;stroke:#906218;stroke-width:3}.binary-tree-diagram .binary-tree-edge.connected path{stroke:#906218;stroke-width:3}.binary-tree-legend i.mutation-key{background:#fff0c7;border-color:#906218}.binary-tree-disconnected{stroke:#a24438;stroke-width:2;stroke-dasharray:4 3;fill:none}.binary-tree-removed circle{fill:#fcebe7;stroke:#a24438;stroke-width:2;stroke-dasharray:3 2}.binary-tree-removed text{font:12px Consolas,monospace;fill:#803b32}.binary-tree-removed path{stroke:#a24438;stroke-width:2}.binary-tree-legend i.removed-key{background:#fcebe7;border-color:#a24438;border-style:dashed}.binary-tree-scroll{overflow-x:auto;scrollbar-width:thin}.binary-tree-diagram{display:block;max-width:none;margin:auto}.binary-tree-edge path{stroke:#a2b2a5;stroke-width:1.5;fill:none}.binary-tree-edge.on-path path{stroke:#496b91;stroke-width:2.5}.binary-tree-edge text{font:9px Consolas,monospace;fill:#526456;paint-order:stroke;stroke:#fcfdfb;stroke-width:3px;stroke-linejoin:round}.binary-tree-node circle{fill:#fff;stroke:#a2b2a5;stroke-width:1.5}.binary-tree-node text{font:12px Consolas,monospace;fill:#2c4030;pointer-events:none}.binary-tree-node.visited circle{fill:#e1edf9;stroke:#496b91}.binary-tree-node.current circle{fill:#e0edd3;stroke:#6c9654;stroke-width:3}.binary-tree-node.selected circle{stroke:#315fa3;stroke-width:3}.binary-tree-node[role=button]{cursor:pointer}.binary-tree-node[role=button]:focus{outline:none}.binary-tree-node[role=button]:focus-visible circle{stroke:#315fa3;stroke-width:4;stroke-dasharray:3 2}.binary-tree-node .binary-tree-visit{font:700 9px Consolas,monospace;fill:#315fa3;paint-order:stroke;stroke:#fcfdfb;stroke-width:3px}.array-tree-view .binary-tree-node.accessed circle{fill:#e0edd3;stroke:#6c9654;stroke-width:3}.array-tree-view .binary-tree-node.changed circle{fill:#fff0cc;stroke:#b88a32;stroke-width:3}.array-tree-empty-slots{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0}.array-tree-empty-slot{padding:3px 5px;border:1px solid #a2b2a5;border-radius:4px;color:#2c4030;font-size:11px}.array-tree-empty-slot.current,.array-tree-empty-slot.accessed{background:#e0edd3;border-color:#6c9654}.array-tree-empty-slot.changed{background:#fff0cc;border-color:#b88a32}.binary-tree-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#46553f;margin:3px 0 6px}.binary-tree-legend span{display:flex;align-items:center;gap:4px}.binary-tree-legend i{width:8px;height:8px;border-radius:2px;background:#e1edf9;border:1px solid #496b91}.binary-tree-legend i.access-key{background:#e0edd3;border-color:#6c9654}.binary-tree-node.queued:not(.visited):not(.current) circle,.binary-tree-legend i.queued-key{fill:#fff4d6;background:#fff4d6;stroke:#9b742a;border-color:#9b742a}.binary-tree-node.queued:not(.current) circle{stroke-dasharray:3 2}.tree-queue{margin:9px 0 4px;min-width:0}.tree-queue-heading{display:flex;align-items:center;gap:8px;font-size:11px;color:#46553f;margin-bottom:5px}.tree-queue-heading code{font:600 12px Consolas,monospace;color:#2c4030}.tree-queue-heading span:last-child{margin-left:auto}.tree-queue-items{display:flex;gap:5px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:thin;min-height:27px}.tree-queue-item{flex:none;display:flex;align-items:center;justify-content:center;min-width:27px;max-width:90px;padding:3px 6px;border:1px solid #9b742a;border-radius:4px;background:#fff4d6;color:#4e3c1c;font:12px Consolas,monospace;overflow:hidden;text-overflow:ellipsis}.tree-queue-item{white-space:nowrap}.tree-queue-item.stack-top{border-width:2px;padding:2px 5px;font-weight:700}.tree-output{margin:9px 0 4px;min-width:0}.tree-output-item{flex:none;display:flex;align-items:center;gap:5px;max-width:110px;min-height:27px;padding:3px 6px;border:1px solid #496b91;border-radius:4px;background:#e1edf9;color:#2c4030;white-space:nowrap}.tree-output-item>span{font:600 10px Consolas,monospace;color:#315477}.tree-output-item>code{font:12px Consolas,monospace;overflow:hidden;text-overflow:ellipsis}.tree-output-item.emitting{background:#e0edd3;border-color:#6c9654;box-shadow:inset 0 -2px #6c9654}.tree-output-item:focus-visible{outline:2px solid #315fa3;outline-offset:2px}.binary-tree-node.emitting circle{stroke:#315fa3;stroke-width:4}.binary-tree-return rect{fill:#fcfdfb;stroke:#496b91;stroke-width:1}.binary-tree-return text{font:11px Consolas,monospace;fill:#2c4030;pointer-events:none}.binary-tree-return.pending rect{stroke:#a2b2a5;stroke-dasharray:2 2}.binary-tree-return.pending text{fill:#46553f}.binary-tree-return.returning rect{fill:#e0edd3;stroke:#315fa3;stroke-width:2}.binary-tree-return[role=button]{cursor:pointer}.binary-tree-return[role=button]:focus{outline:none}.binary-tree-return[role=button]:focus-visible rect{stroke:#315fa3;stroke-width:2;stroke-dasharray:3 2}.binary-tree-edge.returning path{stroke:#315fa3;stroke-width:3}.binary-tree-edge.search-path:not(.returning):not(.search-chosen) path{stroke:#496b91;stroke-width:2.5}.binary-tree-edge.search-chosen path{stroke:#315fa3;stroke-width:3}.binary-tree-node.search-match circle{fill:#e0edd3;stroke:#347844;stroke-width:4}.binary-tree-empty path{stroke:#315fa3;stroke-width:2;stroke-dasharray:3 2;fill:none}.binary-tree-empty circle{stroke:#496b91;stroke-width:1;fill:#fcfdfb}.binary-tree-empty text{font:12px Consolas,monospace;fill:#315477}.tree-search{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:3px 0 8px;color:#46553f;font-size:11px;min-width:0}.tree-search>button{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:3px 0;max-width:100%;color:#2c4030;text-align:left}.tree-search code{font:12px Consolas,monospace;overflow-wrap:anywhere}.tree-search>button:focus-visible{outline:2px solid #315fa3;outline-offset:2px}.tree-search-found{font-weight:600;color:#256434}
