:root{--bg:#f8f9fb;--paper:#fff;--ink:#26333b;--muted:#879099;--line:#edf0f2;--orange:#ed7546;--orange-dark:#d85a2a;--orange-pale:#fff0e8;--green:#508b73;--green-pale:#edf6f1;--blue:#628db0;--blue-pale:#eef4fa;--purple:#947bac;--purple-pale:#f3eff8;--font:'DM Sans','Segoe UI',sans-serif;--display:'Manrope','Segoe UI',sans-serif;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ed75468c;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--display);letter-spacing:-.045em}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.skip-link{position:fixed;top:-100px;left:20px;background:var(--ink);color:white;padding:10px;z-index:40}.skip-link:focus{top:10px}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:var(--paper);padding:32px 20px 0;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding-left:13px;font:800 32px var(--display);letter-spacing:-2px;width:max-content}.brand-mark{font:750 30px var(--display);background:var(--orange);color:#fff;width:39px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:11px;letter-spacing:-4px;padding-right:5px;box-shadow:0 4px 9px #ed75461a}.brand-mark span{font-size:20px;transform:translate(3px,5px)}.brand-dot{color:var(--orange)}.workspace-label{font-size:9px;font-weight:650;color:#a1a8ac;letter-spacing:1.8px;margin:48px 0 15px 15px}.nav-link{display:flex;align-items:center;gap:13px;min-height:48px;padding:11px 15px;margin:5px 0;border-radius:9px;color:#79838b;font-weight:500;font-size:13px;transition:background .3s var(--ease),color .3s var(--ease)}.nav-link.active{background:var(--orange-pale);color:var(--orange-dark);font-weight:650}.nav-link:hover{background:#f8f8f8;color:var(--ink)}.nav-link.active:hover{background:var(--orange-pale);color:var(--orange-dark)}.nav-link .nav-dot{margin-left:auto;background:var(--orange);width:5px;height:5px;border-radius:50%}.nav-separator{height:1px;background:var(--line);margin:23px 14px}.sidebar-bottom{margin-top:auto}.sidebar-note{position:relative;background:#f5f7f6;border-radius:13px;margin:30px 2px 20px;padding:19px 17px;overflow:hidden}.note-spark{font-size:31px;color:#8fa69c;display:block;line-height:1.1;margin-bottom:12px}.sidebar-note p{font-size:15px;font-weight:500;line-height:1.6;letter-spacing:-.25px}.sidebar-note strong{font-weight:650}.sidebar-note>span:last-of-type{font-size:10px;color:#8c9690;display:block;margin-top:9px;max-width:140px}.sidebar-note>a{font-size:11px;font-weight:650;display:flex;justify-content:space-between;border-top:1px solid #e6ece8;padding-top:13px;margin-top:17px}.profile-button{border:0;border-top:1px solid var(--line);width:calc(100% + 40px);margin-left:-20px;background:transparent;display:flex;align-items:center;gap:10px;padding:19px 19px;text-align:left}.avatar{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;flex-shrink:0;border-radius:50%;background:#f0e7df;color:#9a7357;font:700 13px var(--display)}.profile-button strong{display:block;font-size:11px;font-weight:650}.profile-button small{font-size:8px;color:var(--muted)}.profile-arrow{margin-left:auto;font-size:17px;color:#99a1a6}.main-shell{margin-left:242px;min-height:100dvh;display:flex;flex-direction:column}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid var(--line);background:#ffffff80}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:11px;color:#7d8790}.breadcrumb-slash{color:#c7cdd1}.breadcrumb-current{color:#444f58}.topbar-right{display:flex;gap:18px;align-items:center}.engine-pill{display:flex;align-items:center;gap:7px;border-radius:20px;background:#f0f6f2;padding:5px 10px;font-size:9px;color:#78917e}.engine-pill i{height:5px;width:5px;border-radius:50%;background:#72a787}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:white;border-radius:50%;width:29px;height:29px;font-size:12px;color:#899199}.mobile-menu{display:none}#main{padding:35px 44px 32px;max-width:1480px;width:100%;margin:auto;flex:1;outline:none}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:18px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.8px;color:#a0a6ab;text-transform:uppercase;margin-bottom:7px}.page-heading h1{font-size:28px;line-height:1.5;font-weight:750}.page-heading p{font-size:12px;color:var(--muted);margin-top:5px}.date-label{font-size:10px;display:flex;align-items:center;gap:8px;color:#9aa2a8}.date-label .icon{width:15px;height:15px}.hero-grid{display:grid;grid-template-columns:minmax(0,2.85fr) minmax(230px,1fr);gap:21px;margin-bottom:23px}.hero{border-radius:16px;background:#f7eade;position:relative;min-height:259px;overflow:hidden;display:flex;align-items:center;padding:28px 34px}.hero-content{position:relative;z-index:1;width:60%}.hero-kicker{display:inline-flex;gap:6px;align-items:center;color:#ae7857;font-size:9px;font-weight:550;margin-bottom:14px}.hero-kicker .icon{width:13px;height:13px}.hero h2{font-size:34px;font-weight:750;line-height:1.29;color:#563f30;letter-spacing:-1.6px}.hero h2 em{font-style:normal;color:#d17444}.hero p{font-size:10px;color:#a28b78;max-width:265px;margin:13px 0 20px;line-height:1.9}.button{border:0;border-radius:7px;min-height:39px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:11px;font-weight:600;background:var(--orange);color:#fff;transition:transform .25s var(--ease),background .25s var(--ease),box-shadow .25s var(--ease)}.button:hover{background:var(--orange-dark);box-shadow:0 4px 12px #ed754622;transform:translateY(-1px)}.button:active{transform:scale(.98)}.button .icon{width:15px;height:15px}.button.secondary{background:white;color:#68747d;box-shadow:inset 0 0 0 1px #e8ecef}.button.secondary:hover{background:#f3f5f7}.button.dark{background:#354c45}.button.text{padding:3px 0;min-height:25px;background:transparent;color:var(--orange-dark);box-shadow:none;font-size:11px}.button.tiny{padding:6px 10px;min-height:30px;font-size:10px}.button.wide{width:100%}.hero-art{position:absolute;width:310px;height:255px;right:9px;top:8px}.orbit{position:absolute;inset:25px 10px;border:1px dashed #d8bc9f99;border-radius:50%;transform:rotate(-30deg)}.orbit:after{content:'';position:absolute;inset:28px;border:1px solid #e2cbb666;border-radius:50%}.hero-window{position:absolute;top:55px;left:37px;width:218px;height:144px;border-radius:12px;background:#fffcf6;box-shadow:0 12px 24px #906e4820;transform:rotate(-7deg);border:5px solid #ffffff66;padding:13px 15px}.window-dots{display:flex;gap:4px;margin-bottom:18px}.window-dots i{height:4px;width:4px;border-radius:50%;background:#eac7ae}.window-dots i:first-child{background:#ed895a}.mini-code{font:9px/2.15 'Cascadia Code',Consolas,monospace;color:#9c8b79}.mini-code b{color:#da7443;font-weight:500}.mini-code em{color:#90a18d;font-style:normal}.floating-block{position:absolute;background:#fffdf9;padding:9px 12px;border-radius:8px;box-shadow:0 5px 20px #8f765b15;font:9px 'Cascadia Code',Consolas,monospace;color:#b28058;border:1px solid #f0ddcc}.floating-block.one{top:23px;left:100px;transform:rotate(7deg);color:#e1784b}.floating-block.two{top:185px;left:8px;transform:rotate(-5deg);background:#ed794b;color:white;border-color:#ed794b;padding:11px 15px;font-size:10px}.floating-block.three{right:2px;top:133px;transform:rotate(9deg);padding:13px 17px}.art-star{position:absolute;right:40px;top:30px;font-size:30px;color:#e39d6e}.art-star.second{top:190px;right:66px;font-size:18px}.goal-card{background:white;border:1px solid #f0f2f3;border-radius:16px;padding:22px 21px;position:relative;display:flex;flex-direction:column}.card-topline{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600}.card-topline .icon{width:16px;height:16px;color:#adb7ad}.goal-center{display:flex;align-items:center;gap:16px;margin:27px 0 24px}.goal-ring{height:79px;width:79px;position:relative;display:grid;place-items:center;background:conic-gradient(var(--orange) var(--goal,0%),#f2f3f3 0);border-radius:50%;flex-shrink:0}.goal-ring:before{content:'';position:absolute;inset:7px;border-radius:50%;background:white}.goal-ring span{position:relative;font:750 24px var(--display);letter-spacing:-1px}.goal-ring small{font-size:12px;color:#a4acb2;font-weight:500;letter-spacing:0}.goal-copy strong{display:block;font-size:12px;font-weight:600}.goal-copy span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.goal-foot{border-top:1px solid var(--line);padding-top:13px;font-size:9px;color:#99a0a7;display:flex;align-items:center;gap:7px;margin-top:auto}.goal-foot .icon{color:#d2aa6d;width:13px;height:13px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid #eef0f2;border-radius:12px;padding:18px 0;margin-bottom:31px}.stat{padding:0 23px;display:flex;align-items:center;gap:13px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat-icon{height:37px;width:37px;border-radius:10px;display:grid;place-items:center;background:var(--orange-pale);color:#da9b72}.stat:nth-child(2) .stat-icon{background:var(--green-pale);color:#7ca68c}.stat:nth-child(3) .stat-icon{background:var(--blue-pale);color:#83a0b8}.stat:nth-child(4) .stat-icon{background:var(--purple-pale);color:#a294b9}.stat-icon .icon{width:18px;height:18px}.stat-value{font:750 21px var(--display);letter-spacing:-1px;line-height:1.3}.stat-value small{font:500 11px var(--font);letter-spacing:0;color:#a2a8ae;margin-left:4px}.stat-label{font-size:9px;color:#929ba3;margin-top:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:27px 0 16px}.section-heading h2{font-size:18px;font-weight:750}.section-heading p{font-size:10px;color:#97a0a6;margin-top:4px}.section-heading a{display:flex;align-items:center;gap:8px;font-size:10px;color:#89949b}.section-heading a:hover{color:var(--orange-dark)}.section-heading .icon{width:13px;height:13px}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.scenario-card{background:white;border:1px solid #edf0f2;padding:6px;border-radius:13px;transition:transform .4s var(--ease),box-shadow .4s var(--ease);min-width:0}.scenario-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #26333b08}.scenario-art{height:125px;border-radius:8px;background:var(--orange-pale);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#c88b61}.scenario-art.green{background:#edf2e9;color:#879a73}.scenario-art.purple{background:#f1edf6;color:#a493ba}.scenario-art.blue{background:#edf2f7;color:#829cb6}.scene-grid{position:absolute;inset:0;opacity:.3;background-image:linear-gradient(currentColor 1px,transparent 1px),linear-gradient(90deg,currentColor 1px,transparent 1px);background-size:26px 26px;mask-image:radial-gradient(ellipse,black,transparent 66%)}.scene-illo{position:relative;width:150px;height:112px}.scene-illo .icon{position:absolute;left:48px;top:23px;width:61px;height:61px;stroke-width:1.1;transform:rotate(-9deg)}.scene-circle{position:absolute;width:76px;height:76px;border-radius:50%;background:#ffffff55;top:18px;left:36px}.scene-illo:before{content:'{ }';position:absolute;top:28px;left:9px;font:16px Consolas;transform:rotate(-14deg);opacity:.5}.scene-illo:after{content:'✳';position:absolute;top:19px;right:9px;font-size:20px;opacity:.6}.scene-chip{position:absolute;right:12px;bottom:12px;font:8px Consolas;background:#fffc;padding:5px 7px;border-radius:4px;box-shadow:0 3px 9px #00000005;transform:rotate(-4deg)}.scene-label{position:absolute;top:11px;left:11px;font-size:8px;letter-spacing:.6px;background:#ffffffa6;border-radius:4px;padding:3px 6px}.scenario-body{padding:15px 13px 9px}.scenario-meta{font-size:8px;color:#a0a7ad;display:flex;align-items:center;gap:5px;margin-bottom:6px}.scenario-meta span:first-child{color:#859883}.meta-dot{font-size:7px;margin:0 3px}.scenario-body h3{font-size:15px;letter-spacing:-.5px;font-weight:700}.scenario-body>p{font-size:10px;color:#929ba3;line-height:1.8;margin:7px 0 14px;min-height:36px}.scenario-tags{display:flex;gap:5px;flex-wrap:wrap}.tag{font:8px/1.5 'Cascadia Code',Consolas,monospace;background:#f5f6f7;color:#8a949d;border-radius:4px;padding:3px 6px}.scenario-bottom{border-top:1px solid var(--line);margin-top:14px;padding:10px 0 2px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a0a8af}.scenario-bottom button{border:0;background:transparent;color:#b87a59;display:flex;align-items:center;gap:6px;font-size:10px;font-weight:550;padding:3px 0}.scenario-bottom .icon{width:13px;height:13px}.bottom-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:21px;margin-top:28px}.path-card,.tip-card{border-radius:12px;border:1px solid #edf0f2;background:white;padding:20px 23px}.path-title{font-weight:600;font-size:12px;display:flex;align-items:center;justify-content:space-between}.path-title a{font-size:9px;color:var(--muted);font-weight:450}.learning-path{display:flex;margin-top:21px;align-items:flex-start}.path-item{flex:1;position:relative;text-align:center;font-size:8px;color:#a0a7ae}.path-item:after{content:'';position:absolute;height:1px;background:#e9edef;top:15px;left:calc(50% + 20px);right:calc(-50% + 20px)}.path-item:last-child:after{display:none}.path-circle{height:31px;width:31px;background:#f5f6f7;color:#a1abb3;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;font-size:11px}.path-item.active .path-circle{background:var(--orange-pale);color:var(--orange)}.path-item.active{color:#af7a5c}.path-item.done .path-circle{background:var(--green-pale);color:var(--green)}.tip-card{background:#f0f5f1;border-color:#e8efe9;display:flex;gap:16px;align-items:center}.tip-icon{font-size:28px;color:#96ad98;line-height:1}.tip-card .eyebrow{font-size:8px;color:#9ba99b;margin-bottom:5px}.tip-card h3{font-size:13px;color:#667b68}.tip-card p{font-size:10px;color:#8b9c8d;margin-top:6px;line-height:1.8}.footer{display:flex;justify-content:space-between;padding:20px 44px;border-top:1px solid var(--line);font-size:9px;color:#a5acb2}.footer>span:first-child{font-family:var(--display);font-weight:800;font-size:13px;color:#a2aab0;letter-spacing:-.5px}.footer>span>span:last-child{font:9px var(--font);letter-spacing:0;font-weight:400;margin-left:10px}.footer>span:last-child{padding-top:3px}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 23px}.segmented{display:flex;gap:4px;padding:4px;background:#edf0f2;border-radius:9px;flex-wrap:wrap}.segmented button{border:0;background:transparent;padding:7px 13px;border-radius:6px;font-size:11px;color:#87929b;transition:background .25s var(--ease)}.segmented button.active{background:white;color:#35434d;box-shadow:0 2px 5px #00000004}.search-wrap{position:relative}.search-wrap .icon{position:absolute;top:11px;left:12px;width:16px;height:16px;color:#a5adb4}.search-input{background:white;border:1px solid #e7ecef;border-radius:8px;padding:9px 12px 9px 36px;font-size:11px;width:230px}.empty-card{text-align:center;border:1px dashed #d9e1e5;border-radius:14px;padding:38px 20px;grid-column:1/-1;color:#8f9ba4}.empty-card>.icon{width:35px;height:35px;color:#abbab4;margin-bottom:13px}.empty-card h3{font-size:17px;color:var(--ink);margin-bottom:8px}.empty-card p{font-size:12px;margin-bottom:17px}.banner{background:var(--blue-pale);color:#6c8498;padding:14px 18px;border-radius:9px;font-size:11px;margin-bottom:20px;display:flex;gap:12px;align-items:center}.banner .icon{width:17px;height:17px}.notice{background:#fff5e9;color:#aa8050;padding:12px 15px;border-radius:8px;font-size:11px;margin:14px 0}.practice-layout{display:grid;grid-template-columns:295px minmax(0,1fr);gap:22px}.task-panel,.editor-panel,.result-panel,.schema-card,.panel{background:white;border:1px solid #e9eef1;border-radius:12px;padding:22px}.task-panel{align-self:start}.task-panel .eyebrow{color:var(--orange);font-size:8px}.task-panel h2{font-size:19px;margin:10px 0 12px}.task-prompt{font-size:12px;line-height:1.9;color:#7c8993}.task-steps{display:flex;gap:5px;margin:20px 0}.task-step{height:4px;flex:1;border-radius:3px;background:#edf0f3}.task-step.done{background:#84ad93}.task-step.current{background:#ec926a}.task-count{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a0a8ae;margin-top:20px}.task-topic{color:var(--orange);background:var(--orange-pale);padding:3px 7px;border-radius:4px;font:9px Consolas}.task-actions{display:flex;gap:14px;border-top:1px solid var(--line);padding-top:16px;margin-top:23px;flex-wrap:wrap}.task-actions .button{font-size:10px}.hint-box{background:#fff7e9;color:#aa8859;font-size:11px;padding:12px;margin-top:16px;border-radius:6px;line-height:1.8}.hint-box pre{white-space:pre-wrap;font:11px/1.9 Consolas}.schema-card{margin-top:18px;padding:18px}.schema-title{font-size:11px;font-weight:600;display:flex;gap:8px;align-items:center}.schema-title .icon{width:15px;height:15px;color:#9eacb4}.schema-table{margin-top:16px}.schema-table summary{font:600 11px var(--font);cursor:pointer;display:flex;align-items:center;gap:7px}.schema-table summary .icon{width:13px;height:13px;color:#9ba7b0}.schema-table summary span{font:8px var(--font);color:#a2adb5;margin-left:auto}.schema-column{font:10px Consolas;display:flex;justify-content:space-between;margin:8px 0 0 21px;color:#7d8b95}.schema-column span{color:#b0b8be;font-size:9px}.schema-key{color:#d1a871!important}.editor-panel{padding:0;overflow:hidden}.editor-top{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid var(--line);gap:10px}.editor-top .segmented{background:#f4f6f7}.editor-top .segmented button{font-size:10px;padding:6px 12px}.editor-label{font:9px Consolas;color:#95a4ae;display:flex;align-items:center;gap:5px}.editor-label i{width:5px;height:5px;border-radius:50%;background:#85ae98}.code-area{position:relative;min-height:209px;display:flex;background:#fcfdfe}.line-numbers{padding:21px 13px 20px 20px;text-align:right;white-space:pre;color:#bdc7ce;font:12px/1.9 Consolas;user-select:none}.sql-editor{width:100%;resize:vertical;min-height:210px;padding:20px 18px 20px 7px;border:0;outline:none;color:#5d7e91;background:transparent;font:12px/1.9 'Cascadia Code',Consolas,monospace;tab-size:2}.sql-editor:focus-visible{outline:0}.editor-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 17px;background:white;border-top:1px solid var(--line);gap:10px}.editor-bottom>span{font-size:9px;color:#a1abb2}.editor-bottom kbd{font:8px var(--font);background:#f4f6f7;padding:2px 4px;border-radius:3px}.editor-controls{display:flex;gap:8px}.result-panel{margin-top:18px;padding:19px;overflow:hidden}.result-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600}.result-heading>span{font-size:9px;color:#a2acb4;font-weight:400}.result-empty{padding:32px 15px;text-align:center;color:#a0acb5;font-size:11px}.result-empty .icon{width:26px;height:26px;display:block;margin:0 auto 11px;color:#bec9d0}.result-status{padding:12px 14px;display:flex;gap:9px;border-radius:7px;font-size:11px;margin-top:15px;background:#fff3eb;color:#ac7b58}.result-status.success{background:var(--green-pale);color:#518669}.result-status .icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}.result-status code{display:block;font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}.table-scroll{overflow:auto;max-height:300px;margin-top:15px}table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}th{background:#f6f8f9;color:#82929e;font-weight:500;padding:8px 12px;white-space:nowrap}td{padding:8px 12px;border-bottom:1px solid #f0f3f5;color:#71828e;white-space:nowrap}td.null{color:#b4bbc1;font-style:italic}tr:hover td{background:#fcfdfd}.explanation{margin-top:18px;padding:15px;background:#f7faf8;border-radius:8px}.explanation h4{font-size:12px;margin-bottom:12px;color:#608371}.explanation-step{font-size:11px;color:#80948a;display:flex;gap:10px;padding:7px 0;animation:fade-up .5s var(--ease) both;animation-delay:calc(var(--i)*.4s)}.explanation-step span{height:19px;width:19px;display:grid;place-items:center;background:white;border-radius:50%;font-size:9px;flex-shrink:0}.next-action{display:flex;justify-content:flex-end;margin-top:16px}.toolbox{padding:15px 17px;border-bottom:1px solid var(--line);display:flex;gap:7px;flex-wrap:wrap}.block-add{font:9px Consolas;padding:6px 9px;border-radius:5px;border:1px solid #ecd6c6;background:#fff3e9;color:#bb825f;cursor:grab}.block-add[data-kind="WHERE"],.block-add[data-kind="AND"]{background:#edf5f0;color:#70957d;border-color:#cfe2d5}.block-add[data-kind="ORDER BY"],.block-add[data-kind="LIMIT"]{background:#f2eff9;color:#9480ad;border-color:#e3d9ef}.block-add[data-kind="JOIN"],.block-add[data-kind="GROUP BY"],.block-add[data-kind="HAVING"]{background:#edf4fa;color:#7592ad;border-color:#d8e5ef}.block-workspace{min-height:175px;padding:17px;background:#fcfdfe;background-image:radial-gradient(#dbe1e5 .8px,transparent .8px);background-size:15px 15px}.block-workspace.drag-over{background-color:#fdf0e5;outline:2px dashed #edab87;outline-offset:-5px}.blocks-empty{color:#a5afb6;font-size:11px;text-align:center;padding:25px 15px}.blocks-empty .icon{display:block;width:26px;height:26px;margin:0 auto 10px;color:#bdc7cf}.sql-block{display:flex;align-items:center;gap:7px;background:#f9ede2;border:1px solid #edd6c3;border-radius:6px;padding:8px;margin-bottom:7px;animation:fade-up .35s var(--ease)}.block-grip{font-size:15px;color:#c2a28b;cursor:grab}.block-prefix{font:600 10px Consolas;color:#ad7754;white-space:nowrap}.block-value{border:0;background:#fff9;border-radius:3px;min-width:40px;flex:1;padding:5px 7px;font:10px Consolas;color:#7e786e;width:100%}.block-small{border:0;background:transparent;color:#ad967f;padding:2px;font-size:12px}.code-preview-title{font-size:8px;letter-spacing:1px;padding:13px 18px 0;color:#adb7be}.code-preview{margin:0;padding:12px 18px 18px;font:11px/1.9 Consolas;color:#7991a0;white-space:pre-wrap;overflow-wrap:anywhere;min-height:70px}.run-page-heading h1{font-size:24px}.run-header-controls{display:flex;gap:8px}.run-header-controls .button{min-height:33px;font-size:10px}.summary-header{text-align:center;padding:28px 20px 23px}.summary-badge{height:68px;width:68px;border-radius:22px;background:#edf6ef;display:grid;place-items:center;color:#82a386;margin:0 auto 18px;transform:rotate(-5deg)}.summary-badge .icon{width:34px;height:34px}.summary-header h1{font-size:29px}.summary-header p{font-size:12px;color:var(--muted);margin-top:9px}.summary-grid{max-width:730px;margin:auto}.step-report{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);gap:14px}.step-report h3{font-size:12px;letter-spacing:-.2px}.step-report p{font-size:10px;color:#a2aab0;margin-top:3px}.report-status{font-size:10px;color:var(--green);display:flex;gap:6px;align-items:center;white-space:nowrap}.report-status .icon{width:15px;height:15px}.summary-actions{display:flex;justify-content:center;gap:10px;margin:25px 0}.guide-grid{display:grid;grid-template-columns:220px 1fr;gap:22px}.guide-nav{align-self:start;background:white;border:1px solid var(--line);border-radius:12px;padding:13px}.guide-nav button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:9px 12px;font-size:11px;color:#85929d;border-radius:6px}.guide-nav button.active{background:var(--orange-pale);color:#b97b56}.guide-content h2{font-size:25px;margin-bottom:13px}.guide-content p{font-size:12px;color:#85929b;line-height:1.95;margin-bottom:18px}.guide-code{background:#f4f7f9;padding:22px;border-radius:9px;font:12px/2 Consolas;color:#6d8da1;white-space:pre-wrap;overflow-wrap:anywhere;margin:22px 0}.guide-content h3{font-size:15px;margin-top:25px;margin-bottom:12px}.guide-points{font-size:12px;color:#8c98a1;line-height:2.3;padding-left:20px}.guide-navigation{display:flex;justify-content:space-between;margin-top:30px;border-top:1px solid var(--line);padding-top:20px;gap:15px}.progress-layout{display:grid;grid-template-columns:1fr 1.7fr;gap:22px}.progress-overview{text-align:center;padding:35px 20px}.big-number{font:750 52px var(--display);color:#d18b61;letter-spacing:-3px}.progress-overview h2{font-size:17px;margin-top:6px}.progress-overview p{font-size:11px;color:var(--muted);margin:9px 0 20px}.topic-progress{padding:13px 0;border-bottom:1px solid var(--line)}.topic-progress>div{display:flex;justify-content:space-between;font-size:11px;color:#8998a3;margin-bottom:8px}.progress-track{height:5px;background:#f0f3f5;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:#a3bba7;border-radius:3px}.recent-list{margin-top:22px}.recent-run{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:12px 0}.recent-run>.icon{background:var(--orange-pale);color:#bc9577;padding:7px;box-sizing:content-box;border-radius:8px}.recent-run h3{font-size:11px;letter-spacing:0}.recent-run p{font-size:9px;color:var(--muted);margin-top:3px}.recent-run .button{margin-left:auto}.leader-row{display:flex;align-items:center;gap:17px;padding:16px;border-bottom:1px solid var(--line)}.leader-row.me{background:#fff7f0;border-radius:8px}.leader-rank{width:25px;color:#a3adb5;font:650 14px var(--display)}.leader-row h3{font-size:12px;letter-spacing:0}.leader-row small{font-size:9px;color:var(--muted)}.leader-xp{margin-left:auto;color:#b8906f;font-size:12px}.leader-xp small{margin-left:5px}.invite-panel{padding:25px;background:#f1f5f2;border-radius:12px;margin:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.invite-panel h2{font-size:16px;color:#6c8373}.invite-panel p{font-size:11px;color:#8b9d90;margin-top:6px}.loading-state{display:flex;min-height:400px;justify-content:center;align-items:center;flex-direction:column;color:#9ca7b0;font-size:12px;gap:14px}.loading-ring{width:25px;height:25px;border:2px solid #eee6df;border-top-color:#da936c;border-radius:50%;animation:spin 1s cubic-bezier(.5,.1,.5,.9) infinite}dialog{border:0;border-radius:17px;padding:30px;width:410px;max-width:calc(100vw - 32px);box-shadow:0 30px 100px #26333b30;color:var(--ink)}dialog::backdrop{background:#25374150;backdrop-filter:blur(3px)}dialog h2{font-size:24px;margin:4px 0 8px}dialog p{font-size:12px;color:var(--muted);margin-bottom:20px}.modal-close{position:absolute;top:16px;right:16px;border:0;background:#f2f5f6;border-radius:50%;height:26px;width:26px;color:#8d9ba5}.form-group{margin:15px 0}.form-group label{display:block;font-size:11px;font-weight:500;margin-bottom:6px;color:#85919a}.form-group input,.form-group select{width:100%;border:1px solid #e1e7eb;border-radius:7px;padding:10px 12px;background:#fff;font-size:12px;color:#70818d}.form-error{font-size:11px;color:#b86950;background:#fff0e9;border-radius:6px;padding:9px 11px;margin:15px 0}.form-switch{text-align:center;margin-top:18px;font-size:11px;color:#9aa4ac}.form-switch button{border:0;color:var(--orange-dark);background:transparent;font-size:11px;padding:0 4px}.modal-note{font-size:9px;color:#a5aeb5;text-align:center;margin-top:15px}.shortcut-list{display:grid;gap:15px;margin-top:22px;font-size:12px;color:#87959f}.shortcut-list div{display:flex;justify-content:space-between}.shortcut-list kbd{background:#f1f4f6;border-radius:4px;padding:2px 7px;font-size:10px}#toast{position:fixed;bottom:25px;left:calc(50% + 121px);transform:translate(-50%,20px);padding:11px 20px;background:#354c45;color:white;font-size:11px;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .3s var(--ease),transform .3s var(--ease);z-index:30;max-width:calc(100vw - 30px)}#toast.visible{opacity:1;transform:translate(-50%,0)}.fade-in{animation:fade-up .55s var(--ease) both}.error-page{padding:60px 20px;text-align:center}.error-page h1{font-size:25px;margin-bottom:12px}.error-page p{font-size:12px;color:var(--muted);margin-bottom:25px}
@keyframes fade-up{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){#main{padding-top:45px}.hero{min-height:285px}.hero-art{right:30px;top:24px}.scenario-art{height:150px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.main-shell{margin-left:210px}.profile-button{width:calc(100% + 28px);margin-left:-14px;padding-left:14px;padding-right:14px}.topbar{padding:0 28px}#main{padding:28px}.footer{padding:20px 28px}.hero{padding:26px;min-height:250px}.hero h2{font-size:30px}.hero-art{right:-45px;transform:scale(.88)}.hero-content{width:65%}.hero-grid{grid-template-columns:minmax(0,2.4fr) minmax(210px,1fr);gap:16px}.goal-card{padding:20px 16px}.goal-center{gap:10px}.goal-ring{width:68px;height:68px}.stat{padding:0 16px;gap:9px}.stat-icon{height:32px;width:32px}.scenario-grid{gap:14px}.practice-layout{grid-template-columns:265px minmax(0,1fr);gap:16px}#toast{left:calc(50% + 105px)}}
@media(max-width:1000px){.sidebar{width:185px}.main-shell{margin-left:185px}.brand{font-size:28px;padding-left:8px}.brand-mark{width:34px;height:35px;font-size:27px}.workspace-label{font-size:8px;letter-spacing:1px;margin-left:10px}.nav-link{font-size:11px;padding-left:11px;gap:10px}.nav-link .icon{height:17px;width:17px}.sidebar-note{padding:16px 14px}.sidebar-note p{font-size:13px}.profile-button small{font-size:7px}.hero-art{opacity:.8;right:-70px}.hero-content{width:75%}.hero h2{font-size:28px}.hero p{max-width:220px}.hero-grid{grid-template-columns:1fr 205px;gap:14px}.page-heading h1{font-size:24px}.goal-copy strong{font-size:11px}.goal-copy span{font-size:9px}.stats-grid{padding:16px 0}.stat{padding:0 13px;gap:10px}.stat-icon{display:none}.stat-value{font-size:23px}.scenario-body{padding:12px 9px 8px}.scenario-body h3{font-size:13px}.scenario-body>p{font-size:9px}.bottom-grid{grid-template-columns:1.3fr 1fr;gap:14px}.tip-card{padding:18px;gap:11px}.tip-icon{font-size:23px}.tip-card h3{font-size:12px}.tip-card p{font-size:9px}.practice-layout{grid-template-columns:235px minmax(0,1fr)}.task-panel{padding:18px}.task-panel h2{font-size:17px}.task-prompt{font-size:11px}.editor-bottom>span{font-size:8px}.editor-bottom .button{font-size:10px;padding:8px 11px}.guide-grid{grid-template-columns:175px 1fr}.date-label{display:none}#toast{left:calc(50% + 92px)}}
@media(max-width:800px){.sidebar{width:72px;padding:25px 9px 0}.brand{padding:0;margin:0 auto}.brand>span:last-child{display:none}.workspace-label{font-size:0;margin:35px 0 10px}.nav-link{height:43px;padding:12px;justify-content:center;font-size:0;margin-bottom:10px;gap:0}.nav-link .icon{width:20px;height:20px}.nav-link .nav-dot,.sidebar-note,.profile-button>span:not(.avatar){display:none}.nav-separator{margin:20px 9px}.profile-button{justify-content:center;padding:18px 0;width:calc(100% + 18px);margin-left:-9px}.main-shell{margin-left:72px}.hero-grid{grid-template-columns:minmax(0,1fr) 215px}.hero-art{right:-72px}.hero p{max-width:200px}.hero h2{font-size:27px}.bottom-grid{grid-template-columns:1fr 1fr}.guide-grid{grid-template-columns:150px 1fr}.guide-nav{padding:8px}.guide-nav button{padding:9px 7px;font-size:10px}.run-page-heading h1{font-size:20px}.run-page-heading .eyebrow{font-size:8px}.practice-layout{grid-template-columns:220px minmax(0,1fr);gap:13px}.editor-label{display:none}.editor-top{justify-content:center}.editor-bottom>span{display:none}.editor-bottom{justify-content:flex-end}.run-header-controls .button{padding:8px 11px}.run-header-controls .button span{display:none}#toast{left:calc(50% + 36px)}}
@media(max-width:650px){.sidebar{transform:translateX(-100%);width:230px;padding:25px 17px 0;transition:transform .35s var(--ease);box-shadow:20px 0 80px #26333b15}.sidebar.open{transform:translateX(0)}.sidebar .brand>span:last-child{display:inline}.sidebar .brand{margin:0 10px}.workspace-label{font-size:9px;margin-top:35px}.nav-link{justify-content:flex-start;font-size:12px;gap:13px;padding:12px 15px}.nav-link .nav-dot{display:block}.sidebar .sidebar-note{display:block}.profile-button{width:calc(100% + 34px);margin-left:-17px;justify-content:flex-start;padding:18px}.profile-button>span:not(.avatar){display:block}.main-shell{margin-left:0}.topbar{height:64px;padding:0 20px}.mobile-menu{display:flex;border:0;background:transparent;font-size:18px;width:22px;margin-right:3px}.breadcrumb{font-size:10px;gap:10px}.topbar-right{gap:12px}.engine-pill{font-size:8px;padding:5px 8px}.help-button{height:25px;width:25px}#main{padding:25px 20px}.page-heading{margin-bottom:22px;gap:12px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:300px}.eyebrow{font-size:8px;letter-spacing:1.4px}.hero-grid{grid-template-columns:1fr;gap:14px}.hero{min-height:249px;padding:27px}.hero h2{font-size:31px}.hero-content{width:70%}.hero-art{right:-25px;transform:scale(.88);opacity:1}.hero p{max-width:230px}.goal-card{padding:17px 20px;display:grid;grid-template-columns:1fr 1fr;gap:0}.goal-card>.card-topline{grid-column:1;align-self:start}.goal-center{grid-column:2;grid-row:1/3;margin:0;justify-content:flex-end}.goal-ring{height:55px;width:55px}.goal-ring:before{inset:5px}.goal-ring span{font-size:19px}.goal-foot{grid-column:1;border:0;padding:0;margin-top:10px;font-size:8px;align-self:end;max-width:140px}.goal-copy strong{font-size:10px}.goal-copy span{font-size:9px}.stats-grid{margin-bottom:25px;padding:16px 0;gap:0}.stat{padding:0 12px}.stat-value{font-size:22px}.stat-value small{font-size:8px;margin-left:2px}.stat-label{font-size:8px}.section-heading h2{font-size:17px}.section-heading>a{font-size:9px;gap:4px}.section-heading p{font-size:10px}.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.scenario-grid.dashboard-cards .scenario-card:last-child{display:none}.scenario-art{height:116px}.scenario-body{padding:13px 10px 8px}.scenario-body h3{font-size:13px}.scenario-body>p{font-size:9px;min-height:48px}.scenario-meta{font-size:7px;gap:3px}.scenario-bottom{font-size:8px}.scenario-bottom button{font-size:9px}.scenario-tags .tag{font-size:7px}.bottom-grid{grid-template-columns:1fr;gap:14px;margin-top:23px}.path-card{padding:20px}.tip-card{padding:21px;gap:19px}.tip-card h3{font-size:14px}.tip-card p{font-size:10px}.footer{padding:18px 20px;font-size:8px}.footer>span:last-child{display:none}.filter-bar{flex-wrap:wrap;align-items:stretch}.search-wrap{width:100%}.search-input{width:100%}.segmented button{font-size:10px;padding:7px 12px}.practice-layout{grid-template-columns:1fr;gap:18px}.schema-card{display:none}.task-panel{padding:20px}.task-panel h2{font-size:19px;margin-bottom:10px}.task-prompt{font-size:12px}.task-steps{margin-bottom:0;margin-top:16px}.task-actions{margin-top:16px;padding-top:12px}.task-count{margin-top:12px}.run-page-heading{align-items:flex-start}.run-page-heading h1{font-size:20px}.run-header-controls{flex-shrink:0;margin-top:7px}.editor-top{justify-content:space-between}.editor-label{display:flex}.editor-bottom>span{display:inline}.editor-bottom{justify-content:space-between}.guide-grid{grid-template-columns:1fr}.guide-nav{display:flex;overflow-x:auto;gap:3px;padding:8px;max-width:calc(100vw - 40px)}.guide-nav button{width:auto;white-space:nowrap;font-size:10px;padding:8px 11px;flex-shrink:0}.guide-content{padding:23px}.guide-content h2{font-size:23px}.progress-layout{grid-template-columns:1fr}.invite-panel{padding:22px;align-items:flex-start;flex-direction:column;gap:17px}.leader-row{padding:14px 8px;gap:11px}.summary-header h1{font-size:25px}.summary-actions{flex-wrap:wrap}#toast{left:50%}.date-label{display:none}.form-group input{font-size:16px}.block-value{font-size:12px}.sql-editor{font-size:13px}.run-header-controls .button{font-size:9px}.banner{font-size:10px}.page-heading>.button{font-size:10px;padding:9px 12px}.scenario-grid+.section-heading{margin-top:24px}}
@media(max-width:390px){.hero-art{right:-62px;opacity:.75;transform:scale(.8)}.hero-content{width:80%}.hero h2{font-size:30px}.hero p{max-width:200px}.goal-card{padding:16px}.goal-center{gap:8px}.goal-copy{max-width:75px}.stat{padding:0 10px}.stat-value{font-size:20px}.stat-label{font-size:7px}.scenario-body{padding:11px 8px 7px}.scenario-body h3{font-size:12px}.scenario-body>p{font-size:8px}.scenario-meta{font-size:6px}.scenario-bottom{font-size:7px}.scenario-bottom button{font-size:8px}.tag{font-size:7px;padding:3px 4px}.engine-pill{font-size:7px}.editor-label{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.reward-dialog{width:min(680px,calc(100vw - 32px));max-height:92dvh;padding:27px 28px 22px;background:#fcfaf7;text-align:center;overflow:auto;border-radius:20px}.reward-dialog::backdrop{background:#1f2c36c9;backdrop-filter:blur(6px)}.reward-heading{position:relative}.reward-check{display:inline-grid;place-items:center;width:25px;height:25px;background:#e7f0e9;color:#6e9a7b;border-radius:50%;margin-bottom:10px}.reward-heading .eyebrow{display:block;font-size:9px;letter-spacing:1.7px;color:#9aa68f}.reward-heading h2{font-size:24px;margin:4px 0 9px;letter-spacing:-1px}.reward-xp{display:inline-block;background:#fff0e0;color:#bd8b5d;border-radius:20px;padding:3px 12px;font-size:10px;font-weight:650}.reward-stage{display:flex;align-items:center;justify-content:center;min-height:210px;margin:16px auto 0;max-height:52dvh}.reward-image{max-height:49dvh;max-width:100%;object-fit:contain;border-radius:10px;display:block}.reward-video{width:100%;max-height:49dvh;display:block;border-radius:10px;background:#232c30}.reward-bottom{margin-top:17px;border-top:1px solid #eee9e0;padding-top:16px}.reward-caption{font-size:11px;color:#9c9d92;margin:0 0 14px}.reward-actions{display:flex;justify-content:center;gap:10px}.reward-actions .button{min-width:135px}.reward-actions .button:disabled{cursor:default}.reward-bottom>[hidden]{display:none}.reward-bottom>#reward-unmute:not([hidden]){margin-bottom:13px}.reward-stage img[data-frozen]{animation:none}.reward-dialog [hidden]{display:none!important}@media(max-width:650px){.reward-dialog{padding:22px 20px}.reward-heading h2{font-size:21px}.reward-image,.reward-video{max-height:43dvh}.reward-actions .button{min-width:0;flex:1}.reward-stage{max-height:46dvh}.reward-heading .eyebrow{font-size:8px}}
