@font-face{font-family:DM Sans;font-style:normal;font-weight:100 1000;font-display:swap;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2) format("woff2")}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2")}:root{font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#26362f;background:#f4f6f5;font-synthesis:none;--bg:#f4f6f5;--surface:#fff;--surface-alt:#fafbfa;--surface-hover:#f1f5f2;--text:#26362f;--secondary:#66766e;--muted:#87948c;--faint:#a8b3ac;--border:#e5eae7;--accent:#15815f;--accent-hover:#0f6c50;--accent-soft:#edf7f1;--selection:#d9eee2;--editor-line:#f9fbf9;--diagram-grid:#e8ede9;--warning-bg:#fcf4e5;--warning:#a87b2b;--red:#bf5350;--red-bg:#fff2f0;color-scheme:light}:root[data-theme=dark]{--bg:#131a17;--surface:#1b231f;--surface-alt:#1f2923;--surface-hover:#27332c;--text:#e0e9e3;--secondary:#a7b7ad;--muted:#81958a;--faint:#5a6d61;--border:#303d34;--accent:#68c6a0;--accent-hover:#8fd9b9;--accent-soft:#233d31;--selection:#315644;--editor-line:#202b24;--diagram-grid:#2d3c32;--warning-bg:#3c3421;--warning:#d1af64;--red:#ef9085;--red-bg:#3b2927;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:inherit;background:none;border:0}button:disabled{opacity:.38;cursor:not-allowed}a{color:inherit;text-decoration:none}button,a,select{transition:background .16s,color .16s,border-color .16s,box-shadow .16s}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[role=separator]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}code,kbd,pre{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}code{font-size:.9em;background:var(--surface-hover);padding:2px 5px;border-radius:4px}kbd{font-size:10px;line-height:17px;padding:0 4px;border:1px solid var(--border);border-radius:4px;background:var(--surface-alt);color:var(--muted);font-weight:400;white-space:nowrap}::selection{background:var(--selection)}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 35%,transparent);border-radius:8px}::-webkit-scrollbar-track{background:transparent}.app-shell{height:100dvh;display:flex;flex-direction:column;background:var(--bg);overflow:hidden;min-height:520px}.app-header{height:65px;flex-shrink:0;padding:0 25px;display:flex;align-items:center;gap:23px;background:var(--surface);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;font:800 24px Manrope,sans-serif;letter-spacing:-1.2px}.brand-mark{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:#17825f;border-radius:9px;color:#fff;box-shadow:0 2px 3px #12623d0b}.brand-period{color:var(--accent)}.header-divider{height:21px;width:1px;background:var(--border)}.workspace-label{font-size:12px;color:var(--secondary);letter-spacing:.05px}.header-right{display:flex;align-items:center;gap:10px;margin-left:auto}.local-indicator{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--secondary);margin-right:12px}.local-indicator>span,.footer-dot,.small-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);display:inline-block}.local-indicator>span{box-shadow:0 0 0 3px var(--accent-soft)}.avatar{margin-left:7px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border:1px solid var(--border);font-size:12px;font-weight:600;height:31px;width:31px;border-radius:50%}.icon-button{width:28px;height:28px;padding:0;border-radius:5px;color:var(--secondary)}.icon-button:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.workspace-toolbar{height:63px;flex-shrink:0;display:flex;align-items:center;gap:16px;padding:0 18px}.problem-navigation{display:flex;align-items:center;gap:7px}.problem-list-button{font-size:12px;font-weight:500;gap:9px;padding:7px;border-radius:5px}.problem-list-button:hover{background:var(--surface-hover)}.problem-list-button>svg:first-child{color:var(--secondary)}.problem-list-button>svg:last-child{margin-left:8px;color:var(--muted)}.toolbar-divider{width:1px;height:19px;margin:0 5px;background:var(--border)}.problem-counter{font-size:11px;font-variant-numeric:tabular-nums;font-weight:600}.problem-counter>span{color:var(--muted);font-weight:400;margin-left:3px}.pace-note{font-size:11px;color:var(--muted);margin-left:9px}.run-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.timer{font-variant-numeric:tabular-nums;color:var(--secondary);font-size:11px;gap:7px;padding:8px 12px;margin-right:6px;border-radius:5px}.timer:hover,.timer.running{color:var(--accent);background:var(--accent-soft)}.run-button,.primary-button,.secondary-button{height:34px;border-radius:6px;padding:0 14px;font-size:12px;font-weight:550;white-space:nowrap}.run-button,.secondary-button{background:var(--surface);border:1px solid var(--border);box-shadow:0 1px 2px #00000003}.run-button:hover:not(:disabled),.secondary-button:hover{background:var(--surface-hover);border-color:var(--faint)}.run-button{gap:9px;padding-right:8px}.run-button>svg{width:12px}.run-button kbd{margin-left:8px;border:0;background:var(--bg);font-size:10px;padding:1px 5px}.primary-button{background:#15815f;color:#fff;border:1px solid #15815f;box-shadow:0 2px 3px #1050370d}.primary-button:hover:not(:disabled){background:#106d50;border-color:#106d50}.submit-button{padding:0 17px;gap:8px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(330px,var(--left-width)) 10px minmax(380px,1fr);margin:0 16px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:9px;overflow:hidden;box-shadow:0 2px 4px #24392c02}.description-panel{display:flex;flex-direction:column;min-height:0}.panel-tabs{display:flex;gap:22px;padding:0 20px;height:47px;flex-shrink:0;border-bottom:1px solid var(--border)}.panel-tabs>button{font-size:11.5px;padding:0;color:var(--secondary);gap:7px;position:relative;white-space:nowrap}.panel-tabs>button.active{color:var(--text);font-weight:550}.panel-tabs>button.active:after{content:"";position:absolute;height:2px;background:var(--accent);bottom:-1px;left:0;right:0;border-radius:2px}.panel-tabs>button.active svg{color:var(--accent)}.panel-tabs>button:hover{color:var(--accent)}.tab-count{display:inline-flex;font-size:9px;background:var(--surface-hover);padding:1px 5px;border-radius:4px;color:var(--secondary);margin-left:-1px;line-height:14px}.description-scroll{flex:1;min-height:0;overflow-y:auto}.description-content{padding:28px 30px 26px}.problem-eyebrow{display:flex;gap:9px;align-items:center;letter-spacing:1.35px;font-size:9px;font-weight:600;color:var(--muted);margin-bottom:8px}.problem-eyebrow span:last-of-type{letter-spacing:.6px}.eyebrow-dot{color:var(--faint)}.bookmark{margin-left:auto;width:27px;height:25px;border-radius:4px;color:var(--muted);margin-right:-4px}.bookmark:hover{background:var(--surface-hover)}.bookmark.is-bookmarked{color:var(--warning)}.description-content h1{font:750 29px/1.3 Manrope,sans-serif;letter-spacing:-1.05px}.problem-badges{display:flex;align-items:center;gap:7px;margin-top:13px}.badge{border-radius:5px;padding:4px 8px;line-height:14px;font-size:10px;display:inline-flex;align-items:center;gap:4px;font-weight:500}.medium{background:var(--warning-bg);color:var(--warning)}.tag{color:var(--secondary);background:var(--surface-hover)}.problem-status{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.problem-status.solved{color:var(--accent)}.intro{color:var(--secondary);font-size:12px;line-height:1.95;margin:23px 0 24px;max-width:570px}.section-label{display:flex;align-items:center;gap:7px;margin-bottom:12px}.section-label>svg{color:var(--secondary)}.description-content h2{font-size:12.5px;font-weight:600}.section-label h2 code{font-weight:500;margin-left:4px;font-size:11px}.schema-table{border:1px solid var(--border);border-radius:7px;overflow:hidden}.schema-table table{width:100%;border-collapse:collapse;text-align:left}.schema-table thead{background:var(--surface-alt)}.schema-table th{color:var(--secondary);font-size:10px;font-weight:500;padding:10px 14px}.schema-table td{padding:9px 14px;border-top:1px solid var(--border);font-size:11px}.schema-table th:first-child{width:70%}.schema-table code{background:none;padding:0;font-size:10.5px}.primary-key{font-size:7px;color:var(--muted);background:var(--surface-hover);border:1px solid var(--border);border-radius:3px;padding:2px 4px;margin-left:10px;letter-spacing:.2px;vertical-align:middle}.type-text{color:var(--muted);font:10.5px SFMono-Regular,Consolas,monospace}.schema-note{color:var(--muted);font-size:10.5px;line-height:1.8;margin-top:11px}.task-section{margin-top:26px}.task-section>p{font-size:12px;line-height:1.8;color:var(--secondary);margin-top:12px}.task-section code{font-size:10px}.rules-list{list-style:none;margin:10px 0 0;padding:0;color:var(--secondary);font-size:11.5px;line-height:1.85}.rules-list li{position:relative;padding-left:15px;margin-bottom:9px}.rules-list li:before{position:absolute;content:"";width:4px;height:4px;border-radius:50%;top:9px;left:0;background:var(--muted)}.ordering-note{margin-top:17px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--accent) 12%,var(--border));background:var(--accent-soft);display:flex;align-items:center;gap:10px;border-radius:6px;color:var(--accent)}.ordering-note>div{flex:1;display:flex;justify-content:space-between;gap:12px;align-items:center}.ordering-note strong{font-weight:550;font-size:10px}.ordering-note span{font:9.5px SFMono-Regular,Consolas,monospace}.example-section{margin-top:28px;padding-top:23px;border-top:1px solid var(--border)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.subtle-badge{color:var(--muted);font-size:9px;font-weight:400}.example-tables{display:grid;grid-template-columns:1fr 1fr;gap:16px}.example-section h3,.test-results h3{font-size:10px;font-weight:550;margin-bottom:9px}.example-section h3>span{font-weight:400;color:var(--muted);margin-left:4px}.data-table-wrap{border:1px solid var(--border);border-radius:6px;overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-family:SFMono-Regular,Consolas,monospace;font-size:10px;line-height:1.6;white-space:nowrap}.data-table th{background:var(--surface-alt);color:var(--secondary);font-size:9px;font-weight:500;padding:8px 11px;border-bottom:1px solid var(--border)}.data-table td{padding:7px 11px;border-bottom:1px solid var(--border);color:var(--secondary)}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:var(--surface-hover)}.empty-rows{color:var(--muted);font-size:11px;text-align:center;padding:17px}.diagram{border:1px solid var(--border);border-radius:7px;margin:18px 0;background:var(--surface-alt);overflow:hidden}.diagram-heading{display:flex;justify-content:space-between;gap:10px;padding:12px 14px 0;font-size:8px;color:var(--muted);letter-spacing:.8px}.diagram-heading>span:last-child{display:flex;align-items:center;gap:5px;letter-spacing:0;font-size:8px}.legend-dot{width:5px;height:5px;background:var(--accent);border-radius:50%}.diagram svg{width:100%;display:block;margin-top:3px}.explanation{font-size:11px;color:var(--secondary);line-height:1.95}.practice-note{margin-top:25px;padding-top:20px;border-top:1px solid var(--border);display:flex;gap:9px;color:var(--muted);align-items:flex-start}.practice-note>svg{margin-top:2px}.practice-note p{font-size:10px;line-height:1.8}.source-link{display:inline-flex;gap:5px;align-items:center;color:var(--secondary);font-size:10px;margin-top:16px}.source-link:hover{color:var(--accent)}.description-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 19px;height:35px;flex-shrink:0;border-top:1px solid var(--border);color:var(--muted);font-size:9px}.description-footer>span,.description-footer>a{display:flex;align-items:center;gap:6px}.splitter{display:flex;justify-content:center;align-items:center;touch-action:none}.splitter>span{background:var(--border);border-radius:3px;transition:background .15s}.splitter:hover>span,.splitter:focus>span{background:var(--accent)}.horizontal-splitter{cursor:col-resize}.horizontal-splitter>span{width:2px;height:24px}.vertical-splitter{cursor:row-resize}.vertical-splitter>span{width:26px;height:2px}.right-workspace{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(180px,var(--editor-height)) 10px minmax(180px,1fr)}.editor-panel{display:flex;flex-direction:column}.editor-panel-heading{display:flex;align-items:center;justify-content:space-between;height:46px;flex-shrink:0;border-bottom:1px solid var(--border);padding:0 13px 0 19px}.editor-panel-heading>span{display:flex;align-items:center;gap:8px;font-size:11.5px}.editor-panel-heading strong{font-weight:550}.editor-panel-heading>span>svg{color:var(--accent)}.editor-panel-heading>div{display:flex;gap:4px}.editor-panel-heading .icon-button{color:var(--muted)}.editor-options{height:37px;flex-shrink:0;padding:0 19px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.dialect-button{font-size:10px;gap:6px;padding:5px 0;color:var(--secondary)}.dialect-button>svg:last-child{margin-left:4px}.dialect-button:hover{color:var(--accent)}.editor-options>span{color:var(--muted);font-size:9px;display:flex;align-items:center;gap:5px}.editor-options .small-dot{width:4px;height:4px;background:var(--faint)}.sql-editor{flex:1;min-height:0;overflow:hidden}.editor-status{height:29px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 20px;border-top:1px solid var(--border);color:var(--muted);font-size:9px}.editor-status>span{display:flex;align-items:center;gap:5px}.editor-status>div{display:flex;align-items:center;gap:13px}.editor-status .icon-button{height:23px;color:var(--muted)}.test-panel{display:flex;flex-direction:column}.test-panel-heading{display:flex;align-items:center;justify-content:space-between;padding-right:12px;height:46px;border-bottom:1px solid var(--border);flex-shrink:0}.test-panel-heading .panel-tabs{border:0;height:46px;gap:23px}.test-panel-heading .panel-tabs>button.active:after{bottom:0}.test-panel-content{flex:1;min-height:0;overflow:auto}.testcases-content{padding:19px 21px}.case-switcher{display:flex;align-items:center;gap:7px;margin-bottom:19px}.case-pill{padding:5px 9px;border-radius:5px;font-size:10px;height:28px;color:var(--secondary);white-space:nowrap}.case-pill>.small-dot{background:var(--faint);width:4px;height:4px}.case-pill.selected{color:var(--accent);background:var(--accent-soft);font-weight:550}.case-pill.selected>.small-dot{background:var(--accent)}.case-pill:hover{background:var(--surface-hover)}.more-cases{border:0;background:var(--surface-alt);color:var(--muted);padding:5px 7px;height:27px;max-width:145px;margin-left:2px;border-radius:4px;font-size:9px;cursor:pointer;text-overflow:ellipsis}.more-cases.selected{color:var(--accent);background:var(--accent-soft)}.add-case{margin-left:auto}.case-description{display:flex;justify-content:space-between;align-items:center;font-size:10px}.case-description>span:first-child{font-weight:550}.case-description>span:last-child{color:var(--muted);font-size:9px}.case-helper{color:var(--muted);font-size:10px;margin-top:6px;line-height:1.7}.case-table{margin-top:17px}.table-heading{display:flex;align-items:center;gap:7px;margin-bottom:9px}.table-heading h3{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:500}.table-heading h3>svg{color:var(--muted)}.table-heading>span{margin-left:auto;font-size:9px;color:var(--muted)}.table-heading button{font-size:9px;color:var(--accent)}.compact .data-table th{font-size:9.5px;padding:7px 13px}.compact .data-table td{font-size:10px;padding:7px 13px}.case-bottom-note{display:flex;align-items:center;gap:6px;margin-top:16px;color:var(--muted);font-size:9px;flex-wrap:wrap}.case-bottom-note>button{margin-left:auto;color:var(--muted);font-size:9px;gap:2px;padding:0}.case-bottom-note>button:hover{color:var(--accent)}.bottom-collapsed{grid-template-rows:minmax(0,1fr) 10px 47px}.bottom-collapsed .test-panel-content{display:none}.rotate{transform:rotate(180deg)}.editor-focused{grid-template-columns:1fr;max-width:1400px;width:calc(100% - 32px);margin-left:auto;margin-right:auto}.editor-focused .description-panel,.editor-focused .horizontal-splitter{display:none}.app-footer{height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 23px;color:var(--muted);font-size:8.5px;letter-spacing:.1px}.app-footer>span{display:flex;align-items:center;gap:6px}.footer-dot{width:4px;height:4px;background:var(--muted)}.footer-separator{padding:0 2px;color:var(--faint)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 22px;color:var(--muted)}.empty-icon{height:48px;width:48px;background:var(--surface-alt);border:1px solid var(--border);border-radius:13px;color:var(--muted);display:grid;place-items:center;margin-bottom:16px}.empty-state h2{color:var(--text);font-size:16px;margin-bottom:8px}.empty-state h3{color:var(--secondary);font-size:12px;font-weight:500;margin:12px 0 8px}.empty-state p{font-size:11px;line-height:1.9}.results-empty{min-height:100%}.results-empty .empty-icon{margin-bottom:3px}.keyboard-hint{display:flex;align-items:center;gap:3px;margin-top:15px}.keyboard-hint>span{font-size:9px;padding-left:4px}.history-empty{height:100%;min-height:270px}.history-list,.history-detail{padding:26px}.history-list h2,.history-detail h2{font-size:16px}.submission-row{display:flex;width:100%;border-bottom:1px solid var(--border);padding:17px 0;text-align:left;justify-content:flex-start;gap:12px}.submission-row:hover{background:var(--surface-alt)}.submission-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--red-bg);color:var(--red)}.submission-icon.accepted{background:var(--accent-soft);color:var(--accent)}.submission-row>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.submission-row strong{font-size:11px;font-weight:550}.submission-row small{font-size:9px;color:var(--muted);font-weight:400}.submission-meta{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:5px;color:var(--secondary);font-size:11px}.submission-row>svg{color:var(--muted)}.text-button{color:var(--secondary);font-size:11px;padding:0}.text-button:hover{color:var(--accent)}.history-detail-title{display:flex;align-items:center;justify-content:space-between;margin:22px 0 10px}.history-detail-title>span{font-size:10px;color:var(--muted)}.history-detail>.muted{font-size:10px}.query-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-alt);padding:20px;border:1px solid var(--border);border-radius:7px;font-size:11px;line-height:1.8;margin:20px 0}.notes-panel{padding:27px;height:100%;display:flex;flex-direction:column}.notes-panel h2{font:650 18px Manrope,sans-serif}.notes-panel .section-heading>svg{color:var(--muted)}.notes-panel>p{color:var(--muted);font-size:11px;line-height:1.8}.notes-panel textarea{width:100%;flex:1;min-height:230px;resize:none;background:var(--surface-alt);border:1px solid var(--border);color:var(--text);padding:18px;border-radius:7px;margin-top:19px;font-size:12px;line-height:1.85}.notes-panel textarea::placeholder{color:var(--faint)}.note-saved{margin-top:12px;display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.test-results{padding:21px}.result-summary{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.result-summary h2{display:flex;align-items:center;gap:7px;font-size:18px;letter-spacing:-.35px;margin-bottom:7px}.result-summary>div>span{color:var(--muted);font-size:10px}.result-summary i{font-style:normal;padding:0 7px}.success-text{color:var(--accent)!important}.error-text{color:var(--red)!important}.result-spark{width:39px;height:39px;display:grid;place-items:center;color:var(--accent);border-radius:10px;background:var(--accent-soft)}.run-success-note{background:var(--accent-soft);color:var(--accent);padding:10px 12px;border-radius:5px;font-size:10px;margin-bottom:16px}.error-box{background:var(--red-bg);border:1px solid color-mix(in srgb,var(--red) 20%,transparent);border-radius:6px;padding:12px;font-size:11px;color:var(--red);line-height:1.8;overflow-wrap:anywhere}.error-box strong{font-weight:600;display:block;margin-bottom:5px}.mismatch-note{padding:10px 12px;background:var(--warning-bg);color:var(--warning);font-size:10px;line-height:1.8;border-radius:5px;margin-bottom:12px}.result-case-selector{display:flex;align-items:center;justify-content:space-between;margin:16px 0;gap:12px}.result-case-selector label{color:var(--secondary);font-size:10px}.result-case-selector select{border:1px solid var(--border);border-radius:5px;color:var(--text);background:var(--surface-alt);padding:6px 8px;font-size:10px;max-width:75%}.result-case-title{display:flex;justify-content:space-between;align-items:center;margin:15px 0;font-size:10px}.result-case-title>span:first-child{display:flex;align-items:center;gap:5px;font-weight:500}.result-case-title>span:last-child{color:var(--muted);font-size:9px}.result-input{margin:14px 0}.result-input summary{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--secondary);cursor:pointer;width:fit-content}.result-input[open] summary{margin-bottom:13px}.result-input summary::-webkit-details-marker{display:none}.result-input h3{margin-top:12px}.output-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.output-comparison>div{min-width:0}.output-comparison h3{display:flex;justify-content:space-between;font-size:10px}.output-comparison h3>span{font-size:9px;color:var(--muted);font-weight:400}.no-output{padding:15px;border:1px dashed var(--border);border-radius:5px;color:var(--muted);font-size:10px}.result-dot{width:5px;height:5px;border-radius:50%;background:var(--red);margin-left:2px}.result-dot.pass{background:var(--accent)}.modal{width:min(470px,calc(100vw - 32px));padding:24px;border:1px solid var(--border);border-radius:13px;color:var(--text);background:var(--surface);box-shadow:0 24px 100px #0d211329}.modal::backdrop{background:#14291f4d;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.modal-heading h2{font:650 18px Manrope,sans-serif;letter-spacing:-.4px}.modal>p{font-size:12px;line-height:1.9;color:var(--secondary);margin-bottom:16px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.modal-note{display:flex;align-items:flex-start;gap:8px;background:var(--surface-alt);border:1px solid var(--border);padding:12px;border-radius:6px;font-size:11px;line-height:1.8;color:var(--secondary)}.modal-note>svg{margin-top:2px}.modal>.modal-note{font-size:11px;margin-bottom:0}.dialect-card{background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:8px;color:var(--accent);display:flex;align-items:center;gap:13px;padding:18px 16px;margin-bottom:18px}.dialect-card>div{display:flex;flex-direction:column;gap:5px}.dialect-card strong{font-size:13px;font-weight:600}.dialect-card span{font-size:10px;color:var(--secondary)}.dialect-card>svg:last-child{margin-left:auto}.shortcut-list{margin:8px 0 20px}.shortcut-list>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:12px 0;gap:15px;font-size:11px}.shortcut-list kbd{font-size:9px}.test-stats{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid var(--border);background:var(--surface-alt);border-radius:8px;padding:18px 0;margin-bottom:20px}.test-stats>div{display:flex;flex-direction:column;align-items:center;gap:5px;border-right:1px solid var(--border)}.test-stats>div:last-child{border:0}.test-stats strong{font:650 25px Manrope,sans-serif;color:var(--accent)}.test-stats span{font-size:9px;color:var(--secondary)}.custom-input{width:100%;min-height:235px;background:var(--surface-alt);border:1px solid var(--border);color:var(--text);border-radius:7px;padding:15px;font:12px/1.8 SFMono-Regular,Consolas,monospace;resize:vertical}.custom-error{color:var(--red)!important;font-size:11px!important;margin-top:10px}.toast{position:fixed;bottom:47px;left:50%;transform:translate(-50%);background:var(--text);color:var(--surface);box-shadow:0 8px 30px #14291f24;padding:12px 19px;display:flex;align-items:center;gap:8px;font-size:11px;border-radius:8px;z-index:100;max-width:calc(100vw - 30px);white-space:nowrap;animation:toast-in .2s ease-out}.drawer-backdrop{position:fixed;inset:0;background:#14291f38;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:80}.problem-drawer{position:absolute;inset:0 auto 0 0;width:360px;max-width:92vw;background:var(--surface);padding:25px 22px;box-shadow:15px 0 70px #14291f19;display:flex;flex-direction:column;animation:drawer-in .2s ease-out}.drawer-title{display:flex;align-items:center;gap:10px}.drawer-title h2{font:650 16px Manrope,sans-serif;letter-spacing:-.4px}.drawer-title>.icon-button{margin-left:auto}.progress-card{margin-top:30px;border:1px solid var(--border);padding:18px;border-radius:9px;background:var(--surface-alt)}.progress-card>div:first-child{display:flex;align-items:center;justify-content:space-between}.progress-card>div>span{color:var(--secondary);font-size:10px}.progress-card strong{font:650 21px Manrope,sans-serif;color:var(--accent)}.progress-card strong>span{color:var(--faint);font-size:14px;font-weight:500}.progress-track{margin-top:16px;height:4px;background:var(--border);border-radius:3px;overflow:hidden}.progress-track>span{background:var(--accent);height:100%;display:block;border-radius:3px}.progress-card p{font-size:9px;color:var(--muted);margin-top:10px}.problem-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:6px;padding:10px;margin-top:24px;color:var(--muted)}.problem-search input{border:0;outline:none;background:none;width:100%;font-size:11px;color:var(--text)}.problem-search input::placeholder{color:var(--muted)}.drawer-filters{display:flex;gap:7px;margin:15px 0 18px}.drawer-filters>button{font-size:10px;padding:6px 8px;border-radius:5px;color:var(--secondary)}.drawer-filters>button.selected{color:var(--accent);background:var(--accent-soft)}.problem-card{width:100%;text-align:left;border:1px solid var(--border);border-radius:8px;padding:15px 12px;gap:11px;justify-content:flex-start}.problem-card.current{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 20%,var(--border))}.problem-card-check{color:var(--accent);align-self:flex-start;margin-top:20px}.problem-card>span:nth-child(2){display:flex;align-items:flex-start;flex-direction:column;gap:7px}.problem-card small{font-size:9px;color:var(--muted)}.problem-card strong{font-size:12px;font-weight:550}.problem-card .badge{padding:1px 5px;font-size:8px;margin-top:2px}.problem-card>svg{margin-left:auto;color:var(--accent)}.next-question-note{margin-top:auto;border:1px dashed var(--border);border-radius:9px;padding:23px;text-align:center;color:var(--muted)}.next-question-note>span{display:inline-grid;place-items:center;height:33px;width:33px;border-radius:50%;background:var(--surface-hover);margin-bottom:12px}.next-question-note h3{font-size:12px;font-weight:500;color:var(--secondary);margin-bottom:7px}.next-question-note p{font-size:10px;line-height:1.8}.drawer-empty{font-size:12px;padding:30px 10px;text-align:center;color:var(--muted)}.loading-screen{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100dvh;background:var(--bg);gap:18px}.loading-screen>.brand-mark{width:45px;height:45px;border-radius:12px}.loading-screen h1{font:800 30px Manrope,sans-serif;letter-spacing:-1px;margin-top:-5px}.loading-screen h1>span{color:var(--accent)}.loading-screen p{color:var(--secondary);font-size:12px}.loading-screen>.spin{color:var(--accent);margin-top:15px}.spin{animation:spin 1s linear infinite}.muted{color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{0%{opacity:0;bottom:39px}to{opacity:1;bottom:47px}}@keyframes drawer-in{0%{transform:translate(-30px);opacity:0}to{transform:translate(0);opacity:1}}@media(min-width:1550px){.description-content{padding:35px 39px}.description-content h1{font-size:32px}.intro,.task-section>p{font-size:13px}.rules-list{font-size:12.5px}.schema-note{font-size:11px}.workspace{margin:0 20px}.testcases-content,.test-results{padding:23px 26px}.panel-tabs>button{font-size:12px}}@media(max-width:1100px){.workspace-label,.pace-note{display:none}.app-header{gap:18px}.header-divider{display:none}.description-content{padding:25px 23px}.panel-tabs{gap:17px;padding:0 17px}.panel-tabs>button{font-size:10.5px}.example-tables{grid-template-columns:1fr;gap:15px}.more-cases{max-width:105px;font-size:8px}.case-switcher{gap:4px}.case-pill{padding:5px 7px;font-size:9px}.case-bottom-note>button{margin-left:0}.ordering-note>div{flex-wrap:wrap;gap:6px}.workspace{grid-template-columns:minmax(300px,var(--left-width)) 9px minmax(350px,1fr)}.editor-focused{grid-template-columns:1fr}.description-content h1{font-size:26px}.test-panel-heading .panel-tabs{gap:17px}.output-comparison{grid-template-columns:1fr}}@media(max-width:740px){.app-shell{height:auto;min-height:100dvh;overflow:visible}.app-header{height:58px;padding:0 15px}.brand{font-size:22px}.local-indicator{display:none}.header-right{gap:5px}.workspace-toolbar{padding:0 12px;height:57px;gap:5px}.problem-navigation{gap:0}.problem-navigation>.icon-button{display:none}.problem-counter,.toolbar-divider{display:none}.problem-list-button{font-size:10px;padding:4px;gap:5px}.problem-list-button>svg:last-child{margin-left:1px}.run-actions{gap:5px}.timer{margin-right:0;padding:6px 5px;font-size:10px;gap:4px}.run-button,.primary-button{padding:0 10px;height:32px;font-size:11px}.run-button kbd{display:none}.workspace{display:flex;flex-direction:column;gap:12px;margin:0 11px;min-height:0}.horizontal-splitter{display:none}.description-panel{height:650px}.description-content{padding:25px}.description-content h1{font-size:28px}.description-scroll{overflow-y:auto}.panel-tabs{gap:24px;padding:0 19px}.panel-tabs>button{font-size:11px}.example-tables{grid-template-columns:1fr 1fr;gap:13px}.right-workspace{height:760px;flex:none;grid-template-rows:350px 10px 400px}.right-workspace.bottom-collapsed{height:410px;grid-template-rows:350px 10px 47px}.vertical-splitter{pointer-events:none}.app-footer{padding:15px 15px 20px;height:auto;line-height:1.7;font-size:8px}.app-footer>span:last-child{display:none}.editor-focused{width:auto;margin:0 11px}.editor-focused .right-workspace{height:calc(100dvh - 155px);grid-template-rows:1fr 10px 340px}.editor-focused .right-workspace.bottom-collapsed{grid-template-rows:1fr 10px 47px}.case-switcher{gap:7px}.case-pill{font-size:10px}.more-cases{max-width:125px;font-size:9px}.case-bottom-note>button{margin-left:auto}.output-comparison{grid-template-columns:1fr 1fr}.toast{white-space:normal;text-align:center;font-size:10px;width:max-content}.notes-panel{min-height:500px}}body{color:var(--text);background:var(--bg)}.hard{color:var(--red);background:var(--red-bg)}.current-question-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:32vw}.playlist-context{display:flex;align-items:center;gap:7px;margin-top:21px;color:var(--muted);font-size:10px}.playlist-context>span:last-child{margin-left:auto;font-size:9px}.result-contract{display:flex;gap:12px;justify-content:space-between;padding:10px 0;margin:13px 0 19px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:9px;color:var(--secondary)}.imported-statement{font-size:12px;line-height:1.9;color:var(--secondary);overflow-wrap:anywhere}.imported-statement p{margin:13px 0;white-space:normal}.imported-statement strong{font-weight:600;color:var(--text)}.imported-statement code{font-size:10.5px}.imported-statement ul,.imported-statement ol{padding-left:20px;margin:12px 0}.imported-statement li{padding-left:2px;margin:6px 0}.imported-statement li::marker{color:var(--muted)}.imported-statement .statement-table{width:100%;overflow:auto;border:1px solid var(--border);border-radius:7px;margin:14px 0}.imported-statement table{border-collapse:collapse;width:100%;font-family:SFMono-Regular,Consolas,monospace;font-size:10px;text-align:left;white-space:nowrap;line-height:1.65}.imported-statement th{background:var(--surface-alt);font-weight:500;color:var(--secondary)}.imported-statement th,.imported-statement td{padding:8px 11px;border-bottom:1px solid var(--border)}.imported-statement tr:last-child td{border-bottom:0}.imported-statement pre{overflow:auto;padding:14px;font-size:10px;background:var(--surface-alt);border:1px solid var(--border);border-radius:7px}.imported-statement img{display:block;width:auto;max-width:100%;max-height:450px;height:auto;margin:20px auto;border-radius:7px}.video-reference{margin-top:28px;border:1px solid var(--border);border-radius:7px;padding:13px;background:var(--surface-alt)}.video-reference summary{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:11px;color:var(--text)}.video-reference summary>span{margin-left:auto;color:var(--muted);font-size:9px}.video-reference p{margin:14px 0;font-size:10px;line-height:1.8;color:var(--muted)}.video-reference a{display:flex;gap:5px;align-items:center;font-size:11px;color:var(--accent);margin-top:11px}.video-reference a:hover{text-decoration:underline}.problem-source-links{display:flex;justify-content:space-between}.problem-drawer{width:390px}.problem-drawer>div:not(.drawer-problems),.problem-drawer>label{flex-shrink:0}.drawer-problems{display:flex;flex-direction:column;gap:9px;overflow-y:auto;min-height:0;flex:1;padding:2px 5px 10px 2px;margin-right:-5px}.problem-card{flex-shrink:0}.problem-card>span:nth-child(2){min-width:0;flex:1}.problem-card strong{line-height:1.6}.drawer-filters{gap:6px}.drawer-filters>button{white-space:nowrap}.collection-summary{display:flex;justify-content:space-between;color:var(--secondary);font-size:9px;padding:0 2px 11px}.collection-summary>span{color:var(--muted)}.playlist-drawer-footer{margin-top:14px;padding:16px 4px 1px;border-top:1px solid var(--border);display:flex;align-items:center;gap:10px;color:var(--accent)}.playlist-drawer-footer>div{display:flex;flex-direction:column;gap:5px}.playlist-drawer-footer strong{font-size:11px;font-weight:500;color:var(--secondary)}.playlist-drawer-footer span{font-size:9px;color:var(--muted)}.playlist-drawer-footer>a{margin-left:auto;color:var(--muted)}.custom-schema-guide{display:flex;flex-direction:column;gap:10px;margin:12px 0 16px;max-height:145px;overflow:auto}.custom-schema-guide>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.custom-schema-guide strong{font-size:10px;font-weight:550}.custom-schema-guide code{font-size:9px;line-height:1.8;overflow-wrap:anywhere}@media(max-width:740px){.problem-navigation>.icon-button{display:inline-flex;width:22px}.current-question-title{display:none}}@media(min-width:480px)and (max-width:740px){.problem-counter{display:inline;font-size:9px;margin:0 3px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}.engine-controls{display:flex;align-items:center;gap:5px}.engine-selector{display:flex;align-items:center;gap:7px;color:var(--text);position:relative}.engine-selector select{appearance:none;border:0;background:transparent;font:inherit;color:inherit;padding:6px 18px 6px 0;cursor:pointer}.engine-selector>svg:last-child{position:absolute;right:0;pointer-events:none}.engine-selector select:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}.engine-selector select:disabled{cursor:wait;opacity:.6}.engine-cards{display:grid;gap:12px;margin:22px 0}.engine-card{display:flex;align-items:center;text-align:left;gap:14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);padding:16px;cursor:pointer}.engine-card.selected{border-color:var(--accent);background:var(--surface-alt)}.engine-card span{flex:1;display:grid;gap:5px}.engine-card small{color:var(--muted)}.app-header{height:42px;padding:0 16px;gap:16px}.app-header .brand{font-size:20px;gap:8px}.app-header .brand-mark{width:26px;height:26px;border-radius:7px}.app-header .brand-mark svg{width:18px;height:18px}.app-header .avatar{width:26px;height:26px;font-size:11px}.workspace-toolbar{height:42px}.workspace-toolbar .run-button,.workspace-toolbar .submit-button{height:30px}.workspace-toolbar .timer{padding-top:5px;padding-bottom:5px}.problem-eyebrow{flex-wrap:wrap;column-gap:8px;row-gap:5px}.problem-font-controls{margin-left:auto;display:inline-flex;align-items:center;gap:1px;border:1px solid var(--border);border-radius:5px;background:var(--surface-alt);flex-shrink:0;letter-spacing:0}.problem-font-controls button{min-width:26px;height:26px;padding:0 5px;border-radius:4px;font-size:11px;font-weight:600;color:var(--secondary)}.problem-font-controls button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.problem-font-controls .font-size-reset{min-width:39px;font-size:9px;font-weight:500;font-variant-numeric:tabular-nums}.problem-eyebrow .bookmark{margin-left:0}.description-content{--problem-title-size:29px;--problem-body-size:12px;--problem-rules-size:11.5px;--problem-note-size:10.5px}.description-content h1{font-size:calc(var(--problem-title-size) * var(--problem-font-scale,1));overflow-wrap:anywhere}.description-content h2{font-size:calc(12.5px * var(--problem-font-scale,1))}.description-content .intro,.description-content .task-section>p{font-size:calc(var(--problem-body-size) * var(--problem-font-scale,1))}.description-content .rules-list{font-size:calc(var(--problem-rules-size) * var(--problem-font-scale,1))}.description-content .schema-note{font-size:calc(var(--problem-note-size) * var(--problem-font-scale,1))}.description-content .schema-table th,.description-content .task-section code,.description-content .example-section h3,.description-content .practice-note p,.description-content .source-link,.description-content .ordering-note strong{font-size:calc(10px * var(--problem-font-scale,1))}.description-content .schema-table td,.description-content .section-label h2 code,.description-content .explanation{font-size:calc(11px * var(--problem-font-scale,1))}.description-content .schema-table{overflow:auto}.description-content .schema-table code,.description-content .type-text{font-size:calc(10.5px * var(--problem-font-scale,1))}.description-content .ordering-note span{font-size:calc(9.5px * var(--problem-font-scale,1))}.description-content .ordering-note>div{flex-wrap:wrap}.description-content .data-table{font-size:calc(10px * var(--problem-font-scale,1))}.description-content .data-table th{font-size:calc(9px * var(--problem-font-scale,1))}.description-content .imported-statement{font-size:calc(12px * var(--problem-font-scale,1))}.description-content .imported-statement code{font-size:calc(10.5px * var(--problem-font-scale,1))}.description-content .imported-statement table,.description-content .imported-statement pre{font-size:calc(10px * var(--problem-font-scale,1))}.description-content .video-reference{font-size:calc(11px * var(--problem-font-scale,1))}@media(min-width:1550px){.description-content{--problem-title-size:32px;--problem-body-size:13px;--problem-rules-size:12.5px;--problem-note-size:11px}}@media(max-width:1100px){.description-content{--problem-title-size:26px}}@media(max-width:740px){.app-header{height:42px;padding:0 12px}.workspace-toolbar{height:42px}.description-content{--problem-title-size:28px}.editor-focused .right-workspace{height:calc(100dvh - 124px)}}.drawer-filters{flex-wrap:wrap;row-gap:5px}
