@font-face{font-family:Manrope Variable;font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2")}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-weight:100 800;font-display:swap;src:url(/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2) format("woff2")}*{box-sizing:border-box}:root{font-family:Manrope Variable,sans-serif;background:var(--bg);color:var(--text)}body{margin:0;font-size:16px;line-height:1.55}.medal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;margin-block:20px}.medal{padding:22px;min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.medal>span{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid var(--border);border-radius:50%;color:var(--muted)}.medal.earned>span{color:var(--success);border-color:var(--success)}.medal h3{font-size:18px;line-height:1.5;margin:14px 0 8px}.medal p,.medal small{color:var(--muted);line-height:1.7;font-size:14px}.passport-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-block:20px}.passport-actions button{white-space:normal;text-align:start;min-height:44px;border:1px solid var(--border)}.passport-dialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;padding:clamp(18px,4vw,32px);color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:14px}.passport-dialog p{line-height:1.8;overflow-wrap:anywhere;font-size:15px}.passport-dialog>.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.passport-dialog>.dialog-header h2{margin:0;font-size:clamp(22px,4vw,28px)}.passport-local,.passport-recovered,.passport-cloud{padding-block:20px;border-top:1px solid var(--border)}.passport-cloud fieldset{min-width:0;border:1px solid var(--border);border-radius:8px;padding:16px;margin-block:16px}.passport-dialog input[type=text]{width:100%;min-width:0;margin-top:8px;font-family:JetBrains Mono Variable,monospace;font-size:13px}.cloud-connection{padding:9px 12px;border-left:3px solid var(--accent-secondary);background:var(--bg-subtle);color:var(--muted);font-size:12px!important}.passport-upload{display:grid;gap:10px;width:100%;font-size:15px}.passport-upload input{max-width:100%}#passport-recoveries{display:flex;flex-direction:column;gap:8px}.recovered-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}#passport-recoveries button{white-space:normal;justify-content:flex-start;text-align:left}.shared-source{max-height:45dvh;overflow:auto;padding:16px;background:var(--editor);font:14px/1.7 JetBrains Mono Variable,monospace}dialog{max-width:calc(100vw - 24px)}dialog .dialog-actions{flex-wrap:wrap}dialog :is(input,select,textarea){max-width:100%}dialog :is(button,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(prefers-reduced-motion:reduce){button,a,summary,input,select,textarea{transition:none!important}button:active{transform:none}}button,input,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;background:transparent;color:var(--text);border-radius:7px;padding:9px 12px;cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s,color .12s}button:hover{background:var(--raised)}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}:root[data-theme=light] button:focus-visible,:root[data-theme=light] a:focus-visible,:root[data-theme=light] summary:focus-visible,:root[data-theme=light] [tabindex]:focus-visible{outline-color:#1d4ed8}input,select{background:var(--bg);border:1px solid var(--border);border-radius:7px;color:var(--text);padding:10px 12px}input:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px}input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px;padding:0}a{color:inherit}button.primary{background:var(--accent);color:var(--accent-ink);font-weight:800;padding:10px 17px;box-shadow:0 2px #0002}button.primary:hover{background:#2563eb}:root[data-theme=light] button.primary:hover{background:#1e40af}.icon-button{width:34px;height:34px;padding:7px;flex:none}.icon-button>span{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:16px;top:-100px;padding:12px;background:var(--accent);color:var(--accent-ink);z-index:100}.skip-link:focus{top:12px}#app{display:flex;flex-direction:column}.topbar{padding:0 24px;display:flex;align-items:center;border-bottom:1px solid var(--border);gap:40px;flex:none;background:var(--panel)}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:800;letter-spacing:-1px;text-decoration:none}.brand img{border-radius:10px}.brand-dot{color:var(--accent)}:root[data-theme=light] .brand-dot{color:#59812b}.main-nav{height:100%;display:flex;gap:18px;align-items:stretch}.main-nav button{border-radius:0;font-size:13px;color:var(--muted);padding:0 6px}.main-nav .selected{color:var(--text);border-bottom:2px solid var(--accent);font-weight:750}.top-actions{margin-left:auto;display:flex;align-items:center;gap:7px}.connection{font-size:11px;color:var(--muted);margin-right:12px;display:inline-flex;align-items:center;gap:7px}.connection:before,.status-dot{content:"";width:6px;height:6px;border-radius:50%;background:#b4de79;display:inline-block;flex:none}.connection.offline:before{background:#93c5fd}.projectbar{flex:none;border-bottom:1px solid var(--border);padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.project-context{min-width:0}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:var(--muted)}.project-context>.eyebrow{display:block;margin-bottom:7px}.project-context>button{font-size:19px;font-weight:750;letter-spacing:-.5px;padding:0;text-overflow:ellipsis;overflow:hidden;max-width:40vw;display:block;text-align:left}.project-context>button:hover{background:transparent;color:var(--accent)}:root[data-theme=light] .project-context>button:hover{color:#426221}.project-actions{display:flex;gap:6px;align-items:center}#save-status{font-size:12px;color:var(--muted);padding-right:14px}#save-status:before{content:"·";margin-right:7px;color:#b4de79}#save-status[data-state=saved]:before{content:"✓"}.save-error{color:var(--danger)!important}.save-error:before{content:"!"!important;color:var(--danger)!important}kbd{font-family:inherit;font-size:10px;color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:3px 6px}.run-key{margin-left:3px}.app-body{display:flex;min-height:0}.sidebar{width:218px;flex:none;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:16px 12px;background:var(--panel)}.sidebar-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px 7px;font-weight:750;letter-spacing:1.5px;color:var(--muted)}.sidebar-title .icon-button{width:26px;height:26px;padding:4px}.folder-label{display:flex;align-items:center;gap:9px;margin:0 7px 12px;color:var(--muted);font-size:11px;min-width:0}.folder-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files{display:flex;flex-direction:column;gap:4px;overflow:auto;max-height:45%}.file{justify-content:flex-start;padding:10px 12px;width:100%;overflow:hidden}.file span:last-child{text-overflow:ellipsis;overflow:hidden}.file.active{background:var(--soft);color:var(--accent);box-shadow:inset 3px 0 var(--accent)}:root[data-theme=light] .file.active{color:#304818}.file-badge{display:inline-grid;place-items:center;flex:none;font-family:JetBrains Mono Variable,monospace;font-weight:600;font-size:9px;width:18px;height:18px;color:#06b6d4}.file-badge.css{color:#96b4ff}.file-badge.js{color:#60a5fa;font-size:8px}:root[data-theme=light] .file-badge.html{color:#2563eb}:root[data-theme=light] .file-badge.css{color:#3255b6}:root[data-theme=light] .file-badge.js{color:#2563eb}.file-actions{padding:5px 0}.file-actions button{font-size:10px;color:var(--muted);width:100%;justify-content:flex-start}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:3px}.sidebar-bottom>button{justify-content:flex-start;font-size:11px}.local-card{background:var(--raised);border:1px solid var(--border);border-radius:10px;padding:18px;margin:12px 2px 8px;position:relative;overflow:hidden}.local-card strong{font-size:18px;line-height:1.35;font-weight:650;letter-spacing:-.5px}.local-card p{font-size:11px;color:var(--muted);line-height:1.6;margin:14px 0 0;max-width:170px}.local-orbit{position:absolute;right:14px;top:15px;font-size:27px;color:var(--accent)}.workspace{display:flex;flex-direction:column;flex:1;min-width:0}.breadcrumb{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumb span{margin-left:8px}.breadcrumb #breadcrumb-name{color:var(--text)}.layout-tools{display:flex;align-items:center;gap:5px;flex:none}.layout-tools label{display:flex;margin-right:3px;color:var(--muted)}.layout-tools select{min-height:40px;width:170px;padding:8px 12px;border:1px solid var(--border);background:var(--panel);color:var(--text);font-size:14px;font-weight:600;max-width:100%}.layout-tools .icon-button{width:28px;height:28px}.panes{--ratio: 50%;display:flex;min-width:0}.editor-pane{width:var(--ratio);display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--editor)}.tabs{height:43px;display:flex;flex:none;background:var(--panel);border-bottom:1px solid var(--border);overflow-x:auto}.tabs::-webkit-scrollbar{height:7px}.tabs::-webkit-scrollbar-thumb{background:var(--border);border-radius:7px}.tab{padding:0 13px;border-right:1px solid var(--border);border-radius:0;gap:6px;border-top:2px solid transparent}.tab.active{background:var(--editor);border-top-color:var(--accent);color:var(--text);font-weight:750}#editor-host{flex:1;min-height:0;overflow:hidden;position:relative}.editor-status{display:flex;align-items:center;gap:16px;color:var(--muted);height:28px;padding:0 14px;border-top:1px solid var(--border);flex:none}.editor-status #language{color:#93c5fd}.editor-status #cursor{margin-left:auto}.cm-editor{background:var(--editor)!important}.cm-editor .cm-scroller{overflow:auto}.cm-editor .cm-scroller::-webkit-scrollbar{width:9px;height:9px}.cm-editor .cm-scroller::-webkit-scrollbar-thumb{background:var(--border);border-radius:9px}.cm-editor .cm-gutters{background:var(--editor);color:#8398a9;padding-left:6px}.cm-editor.cm-focused{outline:1px solid var(--accent)!important;outline-offset:-1px}:root[data-theme=dark] .cm-editor .cm-activeLine,:root[data-theme=dark] .cm-editor .cm-activeLineGutter{background:#ffffff0a}.cm-editor .cm-search{font-family:Manrope Variable,sans-serif;font-size:11px;line-height:1.8;padding:10px;background:var(--panel);color:var(--text)}.cm-editor .cm-search input{background:var(--bg);color:var(--text)}.cm-editor .cm-search button{background:var(--raised);color:var(--text);box-shadow:none;border:1px solid var(--border);border-radius:4px}.splitter{width:6px;flex:none;background:var(--border);border-left:1px solid var(--border);border-right:1px solid var(--border);cursor:col-resize;position:relative}.splitter:hover,.splitter:focus-visible{background:#8da04c}.resizing iframe{pointer-events:none}.resizing{-webkit-user-select:none;user-select:none}.preview-pane{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--panel)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;height:43px;padding:0 14px;border-bottom:1px solid var(--border);flex:none}.preview-toolbar>span{display:flex;gap:8px;align-items:center;font-weight:650}.preview-toolbar>div{display:flex;gap:3px;align-items:center}.preview-toolbar .icon-button{width:27px;height:27px;padding:5px}.live-label{color:var(--muted);display:flex;gap:5px;align-items:center;margin-right:7px}.preview-address{height:34px;flex:none;display:flex;align-items:center;gap:8px;padding:0 15px;font:11px JetBrains Mono Variable,monospace;color:var(--muted);background:var(--bg);border-bottom:1px solid var(--border)}.preview-address svg{width:12px;height:12px}.sandbox-label{margin-left:auto;font-family:Manrope Variable,sans-serif;font-size:12px;border:1px solid var(--border);border-radius:4px;padding:1px 5px}#preview-host{flex:1;min-height:0;overflow:auto;background:#f0f5ef;color:#19382e;display:flex;align-items:center;justify-content:center;position:relative}#preview-host iframe{width:100%;height:100%;border:0;display:block;background:#fff}#preview-host.stale:after{content:"Modificaciones pendientes · Ejecutar para actualizar";position:absolute;bottom:10px;left:10px;right:10px;padding:8px 12px;background:#17212bee;color:#fff;border-radius:6px;font-size:10px;pointer-events:none}.console{flex:none;border-top:1px solid var(--border)}.console-toolbar{height:36px;display:flex;align-items:center;justify-content:space-between;padding:0 9px}.console-toolbar button{font-size:12px;gap:8px;padding:5px}.console-toolbar .icon-button{width:26px;height:26px}#console-count{font:9px JetBrains Mono Variable,monospace;background:var(--raised);padding:2px 5px;border-radius:4px}#console-output{height:105px;overflow:auto;background:var(--bg);border-top:1px solid var(--border);padding:9px 12px;font:10px/1.7 JetBrains Mono Variable,monospace}.console-empty{color:var(--muted);margin:4px 0}.console-row{display:flex;gap:10px;border-bottom:1px solid #ffffff06;padding:8px 0;font-size:13px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.console-row>span:first-child{width:12px;flex:none;color:var(--muted)}.console-row.error{color:var(--danger)}.console-row.warn{color:#60a5fa}:root[data-theme=light] .console-row.warn{color:#2563eb}.console-row.info{color:var(--muted)}.panes[data-layout=stack]{flex-direction:column}.panes[data-layout=stack] .editor-pane{width:100%;height:var(--ratio);flex:none}.panes[data-layout=stack] .splitter{height:6px;width:100%;cursor:row-resize;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.mobile-new-file{display:none}.panes[data-layout=editor] .editor-pane{width:100%}.panes[data-layout=editor] .preview-pane,.panes[data-layout=editor] .splitter,.panes[data-layout=preview] .editor-pane,.panes[data-layout=preview] .splitter{display:none}.statusbar{flex:none;height:30px;border-top:1px solid var(--border);padding:0 16px;display:flex;align-items:center;gap:24px;color:var(--muted);font-size:12px;background:var(--panel)}.statusbar>span:first-child{display:flex;align-items:center;gap:7px}.statusbar>span:last-child{margin-left:auto;white-space:nowrap}.statusbar b{padding:0 4px;color:#91a070}.statusbar button{font-size:12px;padding:3px 6px}#pwa-status{color:var(--muted)}dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);border:1px solid var(--border);border-radius:16px;background:var(--panel);color:var(--text);padding:26px;box-shadow:var(--shadow);overflow:auto}dialog.wide{width:min(960px,calc(100vw - 32px))}dialog::backdrop{background:#080f0ac9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.dialog-head h2{font-size:20px;letter-spacing:-.6px;margin:0}.dialog-head .icon-button{background:var(--raised)}dialog p{color:var(--muted);line-height:1.65;font-size:13px}dialog form>label{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;font-size:13px}dialog form input,dialog form select{width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px;flex-wrap:wrap}.dialog-actions>button{border-color:var(--border);font-size:12px}#notice{position:fixed;bottom:45px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100vw - 32px);padding:13px 20px;border:1px solid var(--border);border-radius:10px;background:var(--text);color:var(--bg);box-shadow:var(--shadow);z-index:100;font-size:12px;line-height:1.5}#notice.error{background:var(--panel);color:var(--danger);border-color:var(--danger)}.library-intro{display:flex;align-items:center;justify-content:space-between;padding:16px 22px 20px;background:var(--soft);border:1px solid var(--border);border-radius:12px;margin-bottom:24px}.library-intro h3{font-size:28px;letter-spacing:-1px;margin:10px 0}.library-intro p{margin:0}.library-symbol{font-size:100px;line-height:1;color:var(--accent);padding:0 16px}:root[data-theme=light] .library-symbol{color:#59812b}.library-filters{display:flex;gap:10px;margin-bottom:20px}.library-filters input{flex:1;min-width:0}.library-filters select{font-size:12px}.example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.example-card{padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--bg);display:flex;flex-direction:column;transition:border-color .12s}.example-card:hover{border-color:#76884b}.example-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.example-number{font:22px JetBrains Mono Variable,monospace;color:var(--muted)}.pill{font-size:11px;border:1px solid var(--border);padding:3px 7px;border-radius:20px;color:var(--muted);white-space:nowrap}.example-card h3{font-size:18px;letter-spacing:-.5px;margin:10px 0 0;line-height:1.4}.example-card>p{font-size:13px;margin:10px 0 18px}.example-card details{margin-top:auto;font-size:12px;color:var(--muted)}.example-card details p{font-size:12px}.example-card summary{cursor:pointer;line-height:1.6}.example-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;border-top:1px solid var(--border);padding-top:14px;gap:3px}.techs{font:10px JetBrains Mono Variable,monospace;color:var(--muted);white-space:nowrap}.example-card footer button{font-size:12px;color:var(--accent);padding:5px 0}:root[data-theme=light] .example-card footer button{color:#436221}.project-row{display:flex;border-bottom:1px solid var(--border);align-items:center;gap:10px}.project-row>button:first-child{flex:1;justify-content:flex-start;padding:16px 8px;min-width:0}.project-row strong{display:block;text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:13px}.project-row small{display:block;text-align:left;color:var(--muted);font-size:10px;margin-top:5px}.project-row>button>span:nth-child(2){flex:1;min-width:0}.file-menu{display:grid;gap:8px}.file-menu button{justify-content:flex-start;border:1px solid var(--border)}.settings label{display:flex;align-items:center;gap:10px}.settings button{border:1px solid var(--border);font-size:11px}.help-content h3{margin-top:24px}.shortcuts{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);padding:16px;border-radius:8px;gap:12px;font-size:11px}.shortcuts dt{font-family:JetBrains Mono Variable,monospace;font-size:10px}.shortcuts dd{margin:0;color:var(--muted)}#snippet-search{width:100%;margin-bottom:12px}#snippet-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.snippet{border:1px solid var(--border);border-radius:10px;padding:20px;min-width:0}.snippet h3{font-size:17px;margin:12px 0}.snippet pre{background:var(--bg);border:1px solid var(--border);padding:12px;border-radius:7px;overflow:auto;font:10px/1.8 JetBrains Mono Variable,monospace}.snippet button{font-size:11px;border:1px solid var(--border)}.boot{padding:24px;color:var(--muted)}@media(min-width:1600px){.sidebar{width:240px}.topbar,.projectbar{padding-left:32px;padding-right:32px}.cm-editor{font-size:14px!important}}@media(max-width:1100px){.sidebar{width:180px}.topbar{gap:24px}.project-actions{gap:2px}.run-key{display:none}#save-status{padding-right:6px}.main-nav{gap:10px}.preview-toolbar{padding:0 9px}.live-label{font-size:12px}.example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.sidebar{width:48px;padding:14px 5px}.sidebar-title>span,.sidebar .folder-label,.file>span:last-child,.file-actions,.local-card,.sidebar-bottom>button>span{display:none}.sidebar-title{margin:0 0 15px;justify-content:center}.sidebar-bottom>button{padding:8px;justify-content:center}.file{padding:9px;justify-content:center}.topbar{padding:0 16px;gap:24px}.brand{font-size:20px}.brand img{width:30px;height:30px}.connection{display:none}.main-nav button{font-size:11px}.projectbar{padding:0 16px;height:80px}.project-context>button{font-size:16px}.project-actions>button[data-action=new-project] span,.project-actions>button[data-action=export] span{display:none}.project-actions>button{padding:9px}#save-status{max-width:110px;line-height:1.5}.breadcrumb{display:none}.tab{padding:0 9px;font-size:12px;gap:4px}.editor-status{gap:10px;padding:0 8px}.editor-status>span:last-child{display:none}.statusbar{gap:10px;padding:0 10px;font-size:12px}.statusbar>span:first-child{display:none}.preview-toolbar>span{font-size:12px}.live-label{font-size:12px;gap:2px;margin-right:0}.preview-toolbar svg{width:14px}.library-symbol{font-size:70px}.library-intro h3{font-size:23px}}@media(max-width:600px){#app{min-height:580px}.brand{font-size:19px}.main-nav{margin-left:auto}.main-nav button>span{display:none}.top-actions{margin-left:0}.projectbar{position:relative;align-items:flex-start;padding-top:13px;gap:4px}.project-context>.eyebrow{font-size:8px;margin-bottom:7px}.project-context>button{font-size:15px}.project-actions{margin-top:16px}.project-actions .primary{padding:9px 12px;font-size:11px}.project-actions>button[data-action=new-project]{display:none}#save-status{position:absolute;left:16px;bottom:11px;max-width:calc(100vw - 32px);font-size:12px}.sidebar{padding:14px 3px}.panes[data-layout=side]{flex-direction:column}.panes[data-layout=side] .editor-pane{width:100%;height:var(--ratio)}.panes[data-layout=side] .splitter{height:6px;width:100%;cursor:row-resize}.editor-status{height:23px}.preview-toolbar{height:36px}.preview-address{height:26px;font-size:10px}#console-output{height:65px;font-size:9px}.console-toolbar{height:30px}.tabs{height:36px}.statusbar>span:last-child{display:none}.statusbar>span{font-size:9px}.layout-tools{gap:3px}.example-grid,#snippet-list{grid-template-columns:1fr}.library-filters{flex-wrap:wrap}.library-filters input{flex-basis:100%}.library-filters select{flex:1;min-width:0}.library-symbol{display:none}.library-intro{padding:16px}.library-intro h3{font-size:23px}dialog{padding:20px}.dialog-head h2{font-size:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.quick-insert{display:flex;align-items:center;gap:8px;min-width:0;flex:none;padding:8px 10px;border-bottom:1px solid var(--border);background:var(--panel);overflow-x:auto;scrollbar-width:thin}.quick-insert[hidden]{display:none}.quick-insert button{flex:none;min-height:40px;padding:8px 12px;border:1px solid var(--border);background:var(--bg);font-size:13px;font-weight:700}.quick-insert button:hover{border-color:var(--accent);background:var(--soft)}.quick-insert button:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.editor-actions{height:38px;flex:none;display:flex;align-items:center;gap:4px;padding:0 8px;border-bottom:1px solid var(--border);background:var(--panel)}.editor-actions button{font-size:11px;padding:5px 9px}.editor-actions .icon-button{width:30px;height:30px}.editor-actions button[data-action=redo] svg{transform:scaleX(-1)}.completion-hint{font-size:10px;color:var(--muted);margin-left:8px}.editor-actions button:last-child{margin-left:auto}.editor-status button{font-size:12px;padding:3px 5px;color:var(--muted)}.cm-tooltip-autocomplete{background:var(--panel)!important;border:1px solid var(--border)!important;border-radius:8px;box-shadow:var(--shadow);overflow:hidden;max-width:min(400px,calc(100vw - 24px));color:var(--text)!important}.cm-tooltip-autocomplete ul{font-family:JetBrains Mono Variable,monospace;font-size:13px!important}.cm-tooltip-autocomplete li{padding:6px 10px!important;min-height:30px}.cm-tooltip-autocomplete li[aria-selected=true]{background:var(--accent)!important;color:var(--accent-ink)!important}.cm-tooltip-autocomplete:after{content:"Tab aceptar · ↑ ↓ elegir · Esc cerrar";display:block;padding:8px 10px;border-top:1px solid var(--border);font:10px Manrope Variable,sans-serif;color:var(--muted)}.sidebar{overflow-y:auto}@media(max-height:780px)and (min-width:1001px){.local-card{padding:12px;margin:10px 2px}.local-card strong{font-size:16px}.local-card p{font-size:9px;margin-top:9px}}@media(pointer:coarse),(max-width:1000px){button{min-height:40px}.icon-button,.editor-actions .icon-button{min-width:40px;min-height:40px}.editor-actions{height:46px}.tab{min-height:44px}.tabs{height:44px}.editor-actions button{min-height:40px}.cm-tooltip-autocomplete li{min-height:42px}.completion-hint{display:none}.sidebar-bottom>button{min-width:40px;padding:8px 2px}.preview-toolbar{height:46px}.preview-toolbar .icon-button{width:38px;min-width:38px;min-height:40px}.layout-tools .icon-button{min-width:38px;min-height:38px}.preview-toolbar input[type=checkbox]{width:18px;height:18px}.console-toolbar{height:40px}.console-toolbar button{min-height:34px}.editor-status{min-height:36px}.editor-status button{min-height:30px}.dialog-head .icon-button{width:42px;height:42px}.project-actions{flex-shrink:0}}@media(max-width:600px){.topbar{padding:0 12px;gap:8px}.top-actions{gap:0}.top-actions .icon-button{width:40px;min-width:40px}.main-nav{gap:0}.main-nav button{width:40px;padding:0 10px}.sidebar{width:46px}.sidebar-title .icon-button{width:38px;min-width:38px;min-height:38px}.files .file{min-width:38px;min-height:42px;padding:8px}.project-context>button{max-width:calc(100vw - 182px)}.editor-actions{gap:2px;padding:0 4px}.editor-actions button{padding:5px 8px;font-size:11px}.editor-actions .icon-button{width:36px;min-width:36px}.editor-status{gap:8px}.editor-status>span:nth-child(n+3){display:none}}.statusbar{max-width:100%;overflow-x:auto;white-space:nowrap}.statusbar>*{flex-shrink:0}@media(max-width:600px){.statusbar{height:34px}.statusbar button{min-height:28px}:root[data-scroll=true] #app{padding-bottom:40px}}html{overflow-y:scroll;scroll-padding-block:16px 48px}body{min-height:100vh;min-height:100dvh;overflow-x:clip}#app{height:auto;min-height:100vh;min-height:100dvh;padding-bottom:40px}.app-body{flex:none;align-items:stretch}.workspace{min-height:0;overflow:visible}.panes{flex:none;min-height:0;height:var(--single-panel-height, 720px);border:1px solid var(--border);border-radius:12px;overflow:hidden}.sidebar{position:sticky;top:0;height:calc(100vh - 40px);height:calc(100dvh - 40px);min-height:350px;align-self:flex-start}.statusbar{position:fixed;bottom:0;left:0;right:0;z-index:20}:root[data-scroll=true] .panes{height:auto;flex:none;flex-direction:column}:root[data-scroll=true] .editor-pane{height:var(--stack-editor-height, 440px);min-height:360px;width:100%;flex:none;order:0}:root[data-scroll=true] .preview-pane{height:var(--stack-preview-height, 560px);min-height:320px;flex:none;order:2}:root[data-scroll=true] .splitter{width:100%;height:8px;cursor:row-resize;order:1;touch-action:none}:root[data-scroll=true] .sidebar{position:sticky;top:0;height:calc(100vh - 126px);height:calc(100dvh - 126px);min-height:350px;align-self:flex-start}:root[data-scroll=true] .statusbar{position:fixed;bottom:0;left:0;right:0;z-index:20}:root[data-scroll=true] .editor-status{height:32px}:root{font-size:14px}.topbar{height:56px}.projectbar{height:70px}.sidebar-title{font-size:10px}.file{font-size:13px}.tab,.preview-toolbar,.live-label{font-size:12px}.breadcrumb{font-size:11px}.editor-status,#console-output{font-size:12px}.cm-editor{font-size:var(--code-size, 15px)!important}.cm-search input,.cm-search button{font-size:12px!important}.settings .font-setting{display:flex;justify-content:space-between;margin:18px 0}@media(min-width:1600px){.projectbar{height:76px}}@media(max-width:600px){.topbar{height:54px}.projectbar{height:90px}.tab,.live-label,.editor-status{font-size:12px}}.panes[data-layout=stack] .preview-pane{order:2}.panes[data-layout=stack] .splitter{order:1}.panes[data-layout=stack] .editor-pane{order:0}@media(max-width:800px){.panes[data-layout=side] .preview-pane{order:2}.panes[data-layout=side] .splitter{order:1}.panes[data-layout=side] .editor-pane{order:0}}.projectbar{background:var(--panel)}.sidebar{box-shadow:1px 0 0 var(--border)}.sidebar-title{color:var(--muted)}.file{border-radius:6px}.file:hover,.tab:hover{background:var(--raised)}.tab{color:var(--muted)}.preview-pane{border-left:1px solid var(--border)}.editor-pane{border-right:1px solid var(--border)}.preview-toolbar,.tabs,.editor-actions{background:var(--panel)}.preview-address{background:var(--editor)}#save-status[data-state=saved]{color:var(--text)}.console-toolbar,.statusbar{background:var(--panel)}dialog::backdrop{background:#09121fd9;-webkit-backdrop-filter:none;backdrop-filter:none}@media(max-width:1100px){.local-card{display:none}.sidebar-bottom{padding-bottom:12px}}@media(max-width:450px){.sidebar{display:none}.mobile-new-file{display:inline-flex}.layout-tools{min-width:0}.layout-tools select{max-width:102px;font-size:12px}.layout-tools label{display:none}.tabs{scrollbar-width:thin}.tab{flex:0 0 auto;min-width:98px;justify-content:center}.editor-actions{overflow-x:auto;scrollbar-width:thin}.editor-actions button{flex:none}.preview-pane,.editor-pane{border:0}.preview-toolbar{padding-inline:8px}.preview-toolbar>span{min-width:0;font-size:11px}.preview-toolbar>div{gap:0}.live-label{font-size:12px}.statusbar{justify-content:space-between}.library-filters{display:grid;grid-template-columns:minmax(0,1fr)}.library-filters input,.library-filters select{width:100%}.example-card footer{flex-direction:column;align-items:flex-start;gap:8px}.example-card footer button{min-height:40px}}@media(max-width:360px){.brand>span{display:none}.topbar{justify-content:space-between}.main-nav{margin-left:auto}.top-actions{margin-left:0}.project-context>button{max-width:130px}#save-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-toolbar>span{max-width:110px}}html{scroll-padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))}#app,:root[data-scroll=true] #app{padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))}.statusbar{height:calc(40px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px)}dialog{overscroll-behavior:contain}button,select,input{touch-action:manipulation}input[type=checkbox]{flex-shrink:0}.editor-pane,.preview-pane{scroll-margin-block:16px 56px}.statusbar>span{font-size:12px}@media(max-width:360px){.topbar{padding-inline:8px;gap:4px}.brand{font-size:17px;gap:6px}.brand img{width:26px;height:26px}}.learning-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:12px;margin-bottom:20px;border-bottom:1px solid var(--border)}.learning-tabs button{flex:none;min-height:42px;font-size:13px}.learning-tabs button[aria-selected=true]{background:var(--soft);color:var(--text);border-color:var(--border);font-weight:800}#learning-panel{min-width:0}#learning-panel h3{font-size:19px;letter-spacing:-.4px}#learning-panel p,#learning-panel li,#learning-panel label{font-size:13px;line-height:1.7}#learning-panel label{display:flex;flex-direction:column;gap:8px;margin:16px 0 8px}.challenge-grid,.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.challenge-card,.reference-grid article{min-width:0;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}.challenge-card details{color:var(--muted);font-size:13px;line-height:1.7}.challenge-card summary{cursor:pointer}.challenge-card label{flex-direction:row!important;align-items:center;min-height:40px}.challenge-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.challenge-actions button{min-height:42px;border-color:var(--border);font-size:13px}.practice-code{display:block;width:100%;max-width:100%;border:1px solid var(--border);border-radius:10px;padding:14px;resize:vertical;background:var(--bg);color:var(--text);font:14px/1.8 JetBrains Mono Variable,monospace}.practice-code:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.typing-target,.practice-output,.reference-grid pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 JetBrains Mono Variable,monospace;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}.practice-results{padding:16px 0;font-size:14px;font-variant-numeric:tabular-nums}.practice-output{min-height:100px;max-height:300px}@media(max-width:600px){.challenge-grid,.reference-grid{grid-template-columns:minmax(0,1fr)}.learning-tabs{gap:4px}.learning-tabs button{padding:8px 10px}.challenge-card{padding:16px}}.eyebrow,.sidebar-title,.folder-label,.file-actions button,.sidebar-bottom>button,.local-card p,.file-badge,.file-badge.js,#preview-host.stale:after{font-size:12px}.file-badge{width:22px;height:22px}.sidebar-title .icon-button{width:32px;height:32px}.file-actions button,.sidebar-bottom>button{min-height:36px}.local-card{padding:16px}.local-card p{line-height:1.5}.editor-load-error{max-width:38rem;margin:40px auto;padding:24px;color:var(--text);line-height:1.6}.editor-load-error button{margin-top:12px}@media(max-height:700px)and (min-width:801px){.local-card{display:none}}#home .home-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center}#home .hero-copy,#home .hero-demo{min-width:0}#home .hero-demo{background:#111827;border:1px solid rgba(148,163,184,.2);border-radius:14px;padding:20px;box-shadow:0 24px 64px #0006}#home .hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}#home .hero-beginner{display:inline-flex;justify-content:center;background:#8b5cf626;border:1px solid #6366f1;color:#f8fafc;padding:10px 18px;border-radius:10px;text-decoration:none}#home .hero-beginner:hover{background:#8b5cf647}#home .hero-beginner:focus-visible{outline:3px solid var(--accent);outline-offset:4px}#home .benefit-grid,#home .academy-grid,#home .gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}#home .benefit-card,#home .academy-card,#home .gallery-card{min-width:0;background:#111827;border:1px solid rgba(148,163,184,.16);border-radius:12px;padding:24px}#home .gallery-info{padding:20px 0 0}#home .benefit-card:hover,#home .academy-card:hover,#home .academy-card:focus-within,#home .gallery-card:hover,#home .gallery-card:focus-within{border-color:var(--accent)}:root[data-theme=light] #home .hero-demo,:root[data-theme=light] #home .benefit-card,:root[data-theme=light] #home .academy-card,:root[data-theme=light] #home .gallery-card{background:var(--panel)}:root[data-theme=light] #home .hero-beginner{color:#4c1d95}@media(min-width:1024px){#home .home-hero{grid-template-columns:1.15fr .85fr}}@media(max-width:600px){#home .hero-actions{align-items:stretch}}@media(max-width:360px){#home .benefit-grid,#home .academy-grid,#home .gallery-grid{grid-template-columns:minmax(0,1fr)}}.medal{position:relative;overflow:hidden;border-top:4px solid #64748b;transition:transform .2s}.medal.earned{border-top-color:#3b82f6}.medal:hover{transform:translateY(-3px)}.medal .medal-art{display:block;width:76px;height:88px;filter:saturate(.6)}.medal.earned .medal-art{filter:none;animation:medal-arrive .6s ease-out both}.medal.earned:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#3b82f626 50%,transparent 65%);transform:translate(-100%);animation:medal-shine 2.5s ease-in-out 2}.medal progress{display:block;width:100%;height:8px;margin:18px 0 8px;accent-color:#16a34a}.medal small{display:block}.help-lead{font-size:20px;line-height:1.6;max-width:36ch}.help-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}.help-card-grid article{padding:20px;border:1px solid var(--border);border-radius:15px;background:var(--panel);border-top:4px solid #38bdf8}.help-card-grid article:nth-child(3n+2){border-top-color:#3b82f6}.help-card-grid article:nth-child(3n){border-top-color:#4ade80}.help-symbol{display:grid;place-items:center;width:48px;height:48px;background:#38bdf818;color:var(--text);font:700 28px JetBrains Mono Variable,monospace;border-radius:12px}.help-card-grid h3{margin:16px 0 8px;font-size:18px}.help-card-grid p{font-size:14px;line-height:1.7}.help-card-grid small{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:12px}.help-workshop kbd{display:inline-block;padding:5px 8px;margin:4px 0;background:var(--bg);border:1px solid var(--border);border-bottom-width:4px;border-radius:6px;font:12px JetBrains Mono Variable,monospace}.help-workshop details{padding:18px 0;border-top:1px solid var(--border);font-size:13px;line-height:1.7}.help-workshop summary{cursor:pointer;font-weight:700}@keyframes medal-shine{to{transform:translate(100%)}}@keyframes medal-arrive{0%{transform:rotate(-12deg) scale(.8);opacity:0}to{transform:none;opacity:1}}@media(max-width:540px){.help-card-grid{grid-template-columns:1fr}.help-card-grid article{padding:16px}}@media(prefers-reduced-motion:reduce){.medal,.medal *,.medal:after{animation:none!important;transition:none!important}.medal:hover{transform:none}}[hidden]{display:none!important}.global-search{min-width:0}.global-results{max-height:min(65dvh,520px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:10px}.global-results button{white-space:normal;text-align:left;min-height:44px}.settings{display:grid;gap:16px;min-width:0}.settings label{line-height:1.65}@media(max-width:600px){.global-results{max-width:calc(100vw - 32px)}.passport-actions>button{width:100%}}#app,:root[data-scroll=true] #app{margin-left:var(--nav-width);padding-bottom:0;min-height:100dvh}#app[data-view=editor]{--nav-width: 64px}#app[data-nav-hidden=true],:root[data-scroll=true] #app[data-nav-hidden=true]{margin-left:0}.navigation-toggle{flex:none;min-height:40px;padding:8px 10px;gap:8px;border:1px solid var(--border);background:var(--panel);color:var(--text);font-size:13px}.navigation-toggle svg{width:18px;height:18px;flex:none}.product-nav{position:fixed;inset:0 auto 0 0;width:var(--nav-width);display:flex;flex-direction:column;padding:26px 14px 20px;border-right:1px solid var(--border);background:var(--bg);z-index:30;overflow-y:auto}.product-nav .brand{padding:0 8px 28px;gap:12px;font-size:29px;letter-spacing:-1.2px}.product-nav .brand img{width:42px;height:42px;flex:none;border-radius:0}.product-nav nav{display:flex;flex-direction:column;gap:23px}.nav-group{display:flex;flex-direction:column;gap:4px}.nav-group button{min-width:0}.nav-group button>span{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25}.nav-group>span{color:var(--muted);padding:0 14px 8px;font-size:13px}.nav-group button{position:relative;justify-content:flex-start;padding:11px 16px;min-height:42px;color:var(--muted);font-size:14px;gap:16px;text-align:left}.nav-group button svg{width:23px;height:23px;flex:none}.nav-group button[aria-current=page]{background:var(--raised);color:var(--text);font-weight:700}.nav-group button[aria-current=page]:before{content:"";position:absolute;left:0;inset-block:4px;width:4px;border-radius:4px;background:var(--accent)}.nav-group button[aria-current=page] svg{color:var(--accent)}.nav-local{margin-top:auto;padding:32px 14px 0;color:var(--muted);font-size:12px;display:flex;gap:9px;align-items:center}[data-view=editor] .product-nav{padding:18px 8px}[data-view=editor] .product-nav .brand{padding:0 3px 24px}[data-view=editor] .product-nav .brand span,[data-view=editor] .nav-group>span,[data-view=editor] .nav-group button>span,[data-view=editor] .nav-local{display:none}[data-view=editor] .product-nav .brand img{width:40px;height:40px}[data-view=editor] .product-nav nav{gap:18px}[data-view=editor] .nav-group button{justify-content:center;padding:10px}.topbar{height:76px;padding:0 32px;gap:24px;background:var(--bg);position:relative;z-index:25}.global-search{position:relative;display:flex;align-items:center;gap:14px;flex:1;min-width:0;max-width:840px;border:1px solid #3a4654;border-radius:9px;background:var(--raised);padding:0 16px}.global-search>svg{width:21px;height:21px;flex:none;color:var(--muted)}.global-search input{width:100%;padding:13px 0;font-size:14px;border:0;background:transparent;min-width:0}.global-search:focus-within{outline:2px solid #87b43b;outline-offset:2px}.global-search input:focus{outline:none}.global-search input::placeholder{color:var(--muted);opacity:1}.global-results{position:absolute;top:calc(100% + 8px);left:0;right:0;max-height:min(70dvh,520px);overflow:auto;background:var(--panel);padding:12px;border:1px solid var(--border);border-radius:9px;box-shadow:0 12px 28px #0004}.global-results button{width:100%;justify-content:flex-start;text-align:left;white-space:normal}.search-group{font-size:12px;color:var(--muted);margin:12px 10px 5px}.search-empty{padding-inline:10px;font-size:13px;color:var(--muted)}.top-context{font-size:12px;color:var(--muted);white-space:nowrap}.top-actions{gap:7px;flex:none}.connection{font-size:12px;margin-right:4px}.compact-home{display:none}.language-control select{min-width:56px;padding:8px;font-size:12px}@media(max-width:500px){.language-control select{min-width:48px;padding:7px 3px;font-size:11px}.topbar{gap:6px}.top-actions{gap:0}.global-search{gap:5px;padding-inline:8px}.top-actions .icon-button{width:29px}.global-search input{font-size:11px}}.home{padding:28px 32px 16px;max-width:1560px;width:100%;margin:0 auto}.home-heading{margin-bottom:24px}.home-heading h1{font-size:clamp(27px,2.5vw,38px);line-height:1.2;letter-spacing:-1.1px;margin:0 0 10px;font-weight:800}.home-heading p{color:var(--muted);font-size:15px;line-height:1.65;margin:0}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 264px;align-items:start;gap:22px}.home-main{min-width:0}.continue-card,.study-card,.writing-card{border:1px solid var(--border);border-radius:10px;background:var(--panel)}.continue-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:22px;padding:22px;min-height:326px}.continue-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.continue-label{color:var(--accent);background:#b5fa4b20;padding:8px 12px;border-radius:7px;font-weight:800;font-size:11px;letter-spacing:.1px}.continue-copy h2{font-size:clamp(24px,2vw,31px);line-height:1.25;letter-spacing:-.9px;margin:17px 0 12px;overflow-wrap:anywhere}.continue-copy p{color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 22px;max-width:36ch}.open-editor{min-height:50px;font-size:15px;gap:12px;padding-inline:22px!important}.open-editor:after{content:"→";margin-left:8px;font-size:23px;font-weight:400}.open-editor svg{width:24px;height:24px}.project-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:auto;padding-top:24px;color:var(--muted);font-size:11px}.project-meta span{display:inline-flex;gap:6px;align-items:center}.code-sample{background:var(--editor);border:1px solid var(--border);border-radius:8px;min-width:0;align-self:stretch;overflow:hidden}.sample-tabs{display:flex;border-bottom:1px solid var(--border);padding:0 10px;overflow-x:auto}.sample-tabs button{border-radius:0;padding:10px 12px;font-size:11px;color:var(--muted)}.sample-tabs button[aria-pressed=true]{color:var(--text);border-bottom:2px solid var(--accent)}.sample-lines{padding:12px 0;overflow:auto;max-height:300px;font:10px/1.65 JetBrains Mono Variable,monospace}.sample-lines>div{display:flex;min-width:max-content;padding-right:12px}.sample-number{width:34px;flex:none;text-align:right;padding-right:12px;color:#91a0b1;-webkit-user-select:none;user-select:none}.sample-lines code{font:inherit;white-space:pre}.sample-tag{color:#ff91ae}.sample-value{color:#c9e8a2}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 16px}.section-heading h2{margin:0;font-size:25px;letter-spacing:-.6px}.section-heading button{font-size:12px;color:var(--accent)}.study-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.study-card{min-width:0;padding:20px;display:flex;flex-direction:column}.study-card header{display:flex;align-items:flex-start;gap:14px}.study-card header>svg{color:var(--accent);width:30px;height:30px;flex:none}.study-card h3{margin:0 0 7px;font-size:18px;letter-spacing:-.4px;line-height:1.4}.study-card p{color:var(--muted);font-size:12px;line-height:1.7;margin:0}.keyboard-picture{margin:20px -4px 18px}.keyboard-picture>div{display:flex;gap:4px;justify-content:center;margin:4px 0}.keyboard-picture span{display:flex;align-items:center;justify-content:center;width:28px;height:31px;border:1px solid #44515f;border-radius:5px;color:#d4dde9;background:var(--raised);font-size:12px;box-shadow:0 2px #0004}.keyboard-picture .key-accent{background:var(--accent);color:#152112;border-color:var(--accent);font-weight:800}.typing-summary{display:flex;gap:18px;color:var(--muted);font-size:11px;margin-top:auto}.typing-summary>span+span{border-left:1px solid var(--border);padding-left:18px}.typing-summary strong{display:block;font-size:21px;color:var(--text);margin-bottom:4px}.typing-summary small{font-size:10px}.card-link{font-size:12px;color:var(--accent);justify-content:flex-start;padding-left:0;margin-top:12px}.topic-list{list-style:none;padding:0;margin:22px 0;display:flex;flex-direction:column;gap:15px}.topic-list li{display:grid;grid-template-columns:24px minmax(0,1fr) 52px 24px;align-items:center;gap:8px;font-size:11px}.topic-number{width:23px;height:23px;border:1px solid #4c5a69;border-radius:50%;display:grid;place-items:center;color:var(--muted)}progress{width:100%;height:8px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--raised);color:var(--accent)}progress::-webkit-progress-bar{background:var(--raised)}progress::-webkit-progress-value{background:var(--accent);border-radius:8px}progress::-moz-progress-bar{background:var(--accent);border-radius:8px}.topic-list small{color:var(--muted);font-size:10px;text-align:right}.course-button{width:100%;margin-top:auto;background:var(--raised);border:1px solid #3e4b59;color:var(--accent);min-height:42px;font-size:13px}.writing-card{padding:22px 20px;margin-top:-106px}.writing-card header{display:flex;align-items:center;gap:14px}.writing-card header svg{width:28px;height:28px;color:var(--accent);flex:none}.writing-card h2{margin:0;font-size:19px;letter-spacing:-.3px}.writing-card>p{color:var(--muted);font-size:13px;line-height:1.7;margin:14px 0 22px}.writing-stat{display:flex;align-items:center;gap:16px;padding:22px 0}.writing-stat+.writing-stat{border-top:1px solid var(--border)}.writing-stat>strong{font-size:43px;letter-spacing:-1.5px;line-height:1.3}.writing-stat>span{font-size:12px}.writing-stat small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:6px}.writing-card .course-button{margin-top:12px}.real-progress{margin-top:26px;color:var(--muted);font-size:12px}.real-progress progress{display:block;margin:14px 0 10px;height:9px}.real-progress small{display:flex;justify-content:space-between;gap:8px;font-size:10px}.home-footer-note{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:11px;line-height:1.7;padding:20px 0 4px}.home-footer-note svg{flex:none}.statusbar,:root[data-scroll=true] .statusbar{position:static;height:auto;min-height:36px;padding:10px 24px;flex-wrap:wrap;gap:8px 20px;margin-top:auto}.statusbar>span{font-size:11px}.legal-reader{font-size:14px;line-height:1.9;max-width:75ch;margin:auto}.legal-reader h3{font-size:19px;margin:28px 0 10px}.legal-reader p{color:var(--muted)}.legal-reader a{text-decoration:underline;text-underline-offset:4px}.legal-reader .legal-draft{border-left:3px solid var(--accent);padding:12px 18px;background:var(--bg);font-size:12px}.projectbar{padding:16px 24px;min-height:88px;height:auto;flex-wrap:wrap;gap:16px 24px}.project-context{flex:1 1 240px;min-width:0}.project-context>.eyebrow{font-size:11px;line-height:1.5;letter-spacing:.12em;margin-bottom:4px}.project-context>button{max-width:100%;min-height:36px;padding:2px 6px;margin-left:-6px;font-size:20px;line-height:1.4;color:var(--text)}.project-context>button:hover{background:var(--raised);color:var(--text)}:root[data-theme=light] .project-context>button:hover{color:var(--text)}.project-actions{flex-wrap:wrap;justify-content:flex-end}.project-actions>button{font-size:12px;min-height:38px}#save-status{position:static;font-size:11px;max-width:none}.app-body{min-width:0}.sidebar,:root[data-scroll=true] .sidebar{width:186px;min-width:186px;position:sticky;top:0;height:calc(100dvh - 80px);min-height:360px;background:var(--bg);padding:18px 10px;box-shadow:none}.file-search{display:flex;align-items:center;gap:6px;margin:0 0 14px;padding:0 7px;border:1px solid var(--border);border-radius:6px;min-width:0}.file-search svg{width:14px;flex:none;color:var(--muted)}.file-search input{padding:9px 0;border:0;width:100%;min-width:0;font-size:12px}.file-search input:focus{outline-offset:2px}.file-empty{color:var(--muted);font-size:12px;padding:10px}.breadcrumb{min-width:0;flex:1 1 180px;font-size:13px;line-height:1.5}.layout-tools{gap:8px}.layout-tools label{gap:8px;margin-right:2px;font-size:13px;font-weight:600;color:var(--muted)}.workspace-tools .layout-tools select{width:170px;max-width:100%;font-size:14px;line-height:1.4}.workspace-tools .layout-tools select option{background:var(--panel);color:var(--text)}.workspace-tools .layout-tools .icon-button{width:38px;height:40px}.workspace{padding:0 18px 18px;min-width:0}.panes{border-radius:8px}.file-tab{display:flex;flex:none;align-items:center;border-right:1px solid var(--border)}.file-tab .tab{border-right:0;min-width:0;padding-inline:12px 4px}.close-tab{width:28px;height:32px;min-height:0;padding:7px;color:var(--muted);border-radius:4px;margin-right:4px}.close-tab svg{width:13px;height:13px}.close-tab:hover{color:var(--text)}.no-open-files{padding:36px 24px;color:var(--muted);line-height:1.8}.no-open-files h2{color:var(--text);font-size:20px}.no-open-files button{border-color:var(--border)}[data-theme=light] .sample-tag{color:#9d2449}[data-theme=light] .sample-value{color:#427318}[data-theme=light] .sample-number{color:#667585}[data-theme=light] .continue-label,[data-theme=light] .section-heading button,[data-theme=light] .card-link,[data-theme=light] .course-button,[data-theme=light] .study-card header>svg,[data-theme=light] .writing-card header svg,[data-theme=light] .nav-group button[aria-current=page] svg{color:#446b17}@media(min-width:1500px){:root{--nav-width: 278px}.home{padding:28px 38px}.home-grid{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.continue-card{min-height:350px;padding:24px}.study-card{padding:22px}.sample-lines{font-size:11px}}@media(max-width:1250px){:root{--nav-width: 212px}.product-nav .brand{font-size:25px;gap:8px;padding-inline:2px}.home{padding:24px}.home-grid{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.continue-card{grid-template-columns:minmax(0,1fr)}.code-sample{max-height:190px}.continue-copy p{max-width:none}.project-meta{padding-top:18px}.study-grid{grid-template-columns:minmax(0,1fr)}.top-context{display:none}.topbar{padding-inline:24px}.writing-stat>strong{font-size:36px}.writing-card{padding:20px 16px}.keyboard-picture span{width:32px}}@media(max-width:1000px){.home-grid{grid-template-columns:minmax(0,1fr)}.writing-card{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-top:0}.writing-card>p{margin:0}.writing-stat{padding:12px 0}.writing-stat+.writing-stat{border:0}.writing-card .course-button{margin:0}.real-progress{margin-top:0}.projectbar{align-items:flex-start}.project-actions{gap:4px}#save-status{flex-basis:100%;text-align:right}.sidebar,:root[data-scroll=true] .sidebar{width:162px;min-width:162px}.workspace{padding-inline:10px}}@media(max-width:800px){#app,#app[data-view=editor],:root[data-scroll=true] #app{--nav-width: 0px;margin-left:0}.product-nav,[data-view=editor] .product-nav{position:relative;inset:auto;width:100%;padding:14px 16px 0;overflow:visible}.product-nav .brand,[data-view=editor] .product-nav .brand{padding:0 0 12px;font-size:26px}.product-nav .brand span,[data-view=editor] .product-nav .brand span{display:inline}.product-nav .brand img,[data-view=editor] .product-nav .brand img{width:34px;height:34px}.product-nav nav,[data-view=editor] .product-nav nav{display:flex;flex-direction:row;gap:0;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.nav-group{display:contents}.nav-group>span,.nav-local{display:none}.nav-group button,[data-view=editor] .nav-group button{flex:none;padding:9px 12px;gap:8px;min-height:40px;font-size:12px}[data-view=editor] .nav-group button>span{display:inline}.nav-group button svg{width:18px;height:18px}.nav-group button[aria-current=page]:before{inset:auto 10px 0;width:auto;height:2px}.topbar{padding:12px 16px;height:auto;gap:8px}.global-search{padding-inline:10px;gap:8px}.global-search input{font-size:12px;padding-block:11px}.top-actions{gap:0}.connection{display:none}.home{padding:24px 20px}.home-heading h1{font-size:30px}.continue-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:20px;gap:20px}.code-sample{max-height:none}.study-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.projectbar{padding-inline:16px}.sidebar,:root[data-scroll=true] .sidebar{width:150px;min-width:150px}:root[data-scroll=true] .preview-pane,:root[data-scroll=true] .editor-pane{border:0}}@media(max-width:600px){.home-heading h1{font-size:27px}.home-heading p{font-size:13px}.home{padding:20px 16px}.home-grid{gap:18px}.continue-card{grid-template-columns:minmax(0,1fr);padding:20px}.continue-copy h2{font-size:27px}.continue-copy p{font-size:14px}.code-sample{max-height:215px}.study-grid{grid-template-columns:minmax(0,1fr)}.section-heading h2{font-size:22px}.section-heading button{padding-inline:0}.writing-card{display:block;padding:22px}.writing-card>p{margin:14px 0}.writing-stat+.writing-stat{border-top:1px solid var(--border)}.writing-stat{padding:20px 0}.real-progress{margin-top:24px}.sidebar,:root[data-scroll=true] .sidebar{display:none}.mobile-new-file{display:inline-flex}.projectbar{flex-direction:column;gap:14px;padding:16px}.project-context{width:100%;flex-basis:auto}.project-context>button{max-width:100%}.project-actions{width:100%;justify-content:flex-start;gap:6px;margin-top:0}.project-actions>button[data-action=new-project]{display:inline-flex}.project-actions>button[data-action=new-project] span,.project-actions>button[data-action=export] span{display:inline}#save-status{order:5;text-align:left;padding-top:4px}.project-actions>button{padding:8px 9px;font-size:12px;min-height:40px}.project-actions>button svg{width:16px;height:16px}.project-actions>button[data-action=run]{margin-left:auto}.workspace{padding-inline:8px}.workspace-tools .layout-tools select{width:158px}.file-tab .tab{min-width:0;padding-inline:9px 3px}.close-tab{width:25px;height:38px;padding:6px;margin-right:2px}.tabs{overflow-x:auto}.tab{min-height:42px}.breadcrumb{display:none}.statusbar{padding:14px 16px}.statusbar>span:last-child{display:none}.top-actions>button{width:32px;height:36px}.global-search input{min-width:0}.global-results{min-width:240px}}@media(max-width:360px){.project-actions>button{padding-inline:7px;gap:5px}.project-actions>button:not(.primary) svg{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0s!important}}.topbar{gap:16px;border-bottom:1px solid var(--border)}.top-local-status{flex:none;color:var(--muted);font-size:12px;line-height:1.35;max-width:150px}.top-editor{flex:none;min-height:42px}.top-editor svg{width:18px;height:18px}.global-search{border-color:var(--border);background:var(--panel)}.global-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.product-nav .brand img{filter:none}.nav-group button:hover{color:var(--text)}.home{max-width:1640px;padding:36px clamp(20px,3vw,56px) 76px}.home h1,.home h2,.home h3{color:var(--text)}.home h1{font-size:clamp(40px,4vw,52px);line-height:1.07;letter-spacing:-.045em}.home h2{font-size:clamp(28px,2.8vw,36px);line-height:1.16;letter-spacing:-.035em}.home h3{font-size:clamp(20px,1.8vw,24px);line-height:1.25;letter-spacing:-.025em}.home p{font-size:16px;line-height:1.68}.home a{text-decoration:none}.home a:hover{text-decoration:underline;text-underline-offset:4px}.home button,.home a{min-height:44px}.home button:focus-visible,.home a:focus-visible,.home summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.home-hero{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:clamp(24px,3vw,54px);align-items:center;padding:18px 0 48px}.hero-copy{min-width:0}.hero-eyebrow,.section-kicker{color:#93baff;font-weight:800;font-size:12px!important;letter-spacing:.12em;line-height:1.5!important;text-transform:uppercase}.hero-eyebrow{max-width:52ch;margin:0 0 22px}.hero-copy h1{max-width:15ch;margin:0}.hero-lead{color:var(--muted);font-size:clamp(16px,1.5vw,18px)!important;max-width:56ch;margin:24px 0 0}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:32px}.hero-primary{font-size:16px;min-height:54px!important;padding:13px 22px!important}.hero-beginner{display:inline-flex;align-items:center;gap:8px;color:#a7c5ff;font-size:15px;font-weight:800;white-space:normal;max-width:31ch}.hero-secondary{border-color:var(--border);color:var(--text)}.hero-reassurance{font-size:13px!important;color:var(--muted);margin:18px 0 0}.hero-demo,.benefit-card,.academy-card,.gallery-card,.trust-panel,.faq-grid details{border:1px solid rgba(148,163,184,.15);border-radius:16px;background:var(--panel);box-shadow:0 14px 36px #03071230}.hero-demo{min-width:0;overflow:hidden}.demo-header{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 18px;border-bottom:1px solid var(--border)}.demo-header strong{font-size:14px}.demo-header small{margin-left:auto;color:var(--muted);font-size:11px}.demo-dots{display:flex;gap:5px}.demo-dots i{width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.65}.demo-dots i:first-child{background:var(--education);opacity:1}.demo-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);min-height:270px}.demo-code{min-width:0;border-right:1px solid var(--border);background:var(--bg)}.demo-code .sample-tabs{padding-inline:10px}.demo-code .sample-tabs button{min-height:43px;font-size:12px}.demo-code .sample-lines{max-height:270px;min-height:215px;padding:19px 0;font:14px/1.8 JetBrains Mono Variable,monospace}.demo-code .sample-number{width:42px;padding-right:14px;color:var(--muted)}.demo-result{display:flex;flex-direction:column;padding:20px;background:#dbeafe;color:#0b1120}.demo-result-label{color:#334155;font-size:11px;font-weight:800;letter-spacing:.11em}.demo-result-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;flex:1}.demo-result-card>span{color:#2563eb;font-size:38px;line-height:1}.demo-result-card strong{font-size:clamp(18px,2vw,27px);line-height:1.15}.demo-result-card button{min-height:40px;padding:8px 15px;border-radius:8px;background:#1d4ed8;color:#fff;font-size:12px;font-weight:800}.demo-result-card button:hover{background:#1e40af}.demo-result-card button:focus-visible{outline-color:#0b1120}.demo-result-card small{font-size:13px;min-height:1.2em;color:#1e3a8a;font-weight:800}.demo-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;border-top:1px solid var(--border)}.demo-footer>span{display:inline-flex;align-items:center;gap:6px;min-width:0;color:var(--muted);font-size:12px}.demo-footer strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.demo-continue{color:#a7c5ff;font-size:12px;font-weight:800}.home-section{margin:0 0 70px}.home-section-heading{max-width:760px;margin:0 0 24px}.home-section-heading h2{margin:9px 0 0}.home-section-heading p{color:var(--muted);margin:12px 0 0}.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.benefit-card{padding:25px}.benefit-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;color:#bfafff;background:#8b5cf622}.benefit-icon svg{width:24px;height:24px}.benefit-card h3{margin:20px 0 8px}.benefit-card p,.academy-card p,.gallery-card p{color:var(--muted);margin:0}.academy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.academy-card{min-width:0;padding:26px;display:grid;grid-template-columns:56px minmax(0,1fr);gap:0 18px}.academy-symbol{display:grid;place-items:center;width:56px;height:56px;border-radius:13px;background:#3b82f628;color:#93baff;font:800 20px/1 JetBrains Mono Variable,monospace}.academy-tools .academy-symbol{background:#8b5cf628;color:#c4b5fd}.academy-label{color:#a7c5ff;font-size:11px;font-weight:800;letter-spacing:.1em}.academy-card h3{margin:7px 0 9px}.academy-card small{display:inline-block;margin-top:16px;color:var(--muted);font-size:12px}.academy-card>a,.academy-links{grid-column:2;margin-top:16px}.academy-card a{display:inline-flex;align-items:center;color:#a7c5ff;font-weight:800;font-size:14px}.academy-links{display:flex;flex-wrap:wrap;gap:10px 20px}.academy-tools .writing-stat{gap:10px;padding:9px 0 0}.academy-tools .writing-stat strong{font-size:28px}.academy-tools .writing-stat span{color:var(--muted)}.home-progress{display:flex;align-items:center;gap:20px;margin-top:18px;color:var(--muted);font-size:13px}.home-progress .real-progress{display:flex;align-items:center;gap:14px;flex:1;margin:0}.home-progress progress{flex:1;height:9px;margin:0}.home-progress strong{flex:none;font-size:12px;color:var(--text)}.home-heading-inline{display:flex;align-items:end;justify-content:space-between;max-width:none;gap:16px}.gallery-all{border-color:var(--border)}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.gallery-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s ease,border-color .15s ease}.gallery-card:hover,.gallery-card:focus-within,.academy-card:hover,.academy-card:focus-within,.benefit-card:hover{border-color:#3b82f680}.gallery-card:hover{transform:translateY(-3px)}.gallery-visual{display:grid;place-items:center;height:136px;border-bottom:1px solid var(--border);background:#1c2940;font:800 clamp(24px,3vw,36px)/1 "JetBrains Mono Variable",monospace;color:#bfafff}.gallery-clock{background:#182d43;color:#86efac}.gallery-calculator{background:#1b2445;color:#93baff;font-size:22px}.gallery-gallery{background:#302447;color:#e9d5ff}.gallery-info{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:20px}.gallery-type{color:#a7c5ff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.gallery-card h3{font-size:20px;margin:8px 0}.gallery-card p{font-size:14px}.gallery-open{margin:auto 0 0;padding:16px 0 0;color:#a7c5ff;font-weight:800;font-size:13px;white-space:normal;text-align:left}.trust-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:30px;padding:clamp(25px,3vw,42px)}.trust-panel h2{margin:10px 0 14px}.trust-panel p{color:var(--muted);max-width:67ch;margin:0}.trust-backup{border-left:1px solid var(--border);padding-left:28px}.trust-backup>span{color:#86efac}.trust-backup h3{margin:12px 0}.trust-link{color:#a7c5ff;font-weight:800;padding-inline:0;margin-top:12px}.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.faq-grid details{padding:20px 23px}.faq-grid summary{font-size:17px;font-weight:800;cursor:pointer}.faq-grid details[open]{border-color:#3b82f680}.faq-grid p{color:var(--muted);font-size:15px;margin:12px 0 0}.home-end{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:clamp(27px,3vw,44px);border:1px solid #3b82f666;border-radius:18px;background:#132447}.home-end h2{max-width:18ch;margin:8px 0 12px}.home-end p{color:#cbd5e1;margin:0}.home-end-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.home-end-actions a{display:inline-flex;align-items:center;color:#dbeafe;font-weight:800}:root[data-theme=light] .home-hero,.home-section{color:var(--text)}:root[data-theme=light] .hero-eyebrow,:root[data-theme=light] .section-kicker,:root[data-theme=light] .academy-label,:root[data-theme=light] .gallery-type,:root[data-theme=light] .hero-beginner,:root[data-theme=light] .academy-card a,:root[data-theme=light] .gallery-open,:root[data-theme=light] .demo-continue,:root[data-theme=light] .trust-link{color:#1d4ed8}:root[data-theme=light] .home-end{background:#dbeafe;border-color:#bfdbfe}:root[data-theme=light] .home-end p,:root[data-theme=light] .home-end-actions a{color:#1e3a8a}:root[data-theme=light] .academy-symbol{color:#1d4ed8}:root[data-theme=light] .academy-tools .academy-symbol{color:#6d28d9}@media(max-width:1360px){.home-hero{grid-template-columns:minmax(0,1fr)}.hero-copy h1{max-width:21ch}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{gap:10px}}@media(max-width:800px){.topbar{flex-wrap:wrap}.top-editor{order:1}.top-actions{order:1;margin-left:auto}.top-local-status{display:inline;order:1;margin-left:auto}.global-search{order:2;flex-basis:100%;max-width:none}.home{padding:30px 20px 60px}.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trust-panel{grid-template-columns:minmax(0,1fr)}.trust-backup{border-left:0;border-top:1px solid var(--border);padding:24px 0 0}.home-end{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.topbar{gap:8px}.top-editor{padding:8px 10px!important;min-height:38px;font-size:12px}.top-editor svg{display:none}.top-local-status{order:2;margin:0;max-width:none;font-size:11px}.global-search{order:3}.home{padding:25px 16px 55px}.home-hero{gap:28px;padding:0 0 42px}.hero-copy h1{font-size:40px}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions>*{width:100%;justify-content:center;text-align:center}.demo-body{grid-template-columns:minmax(0,1fr)}.demo-code{border-right:0;border-bottom:1px solid var(--border)}.demo-code .sample-lines{min-height:160px;max-height:180px}.demo-result{min-height:180px}.demo-result-card{flex-direction:row;align-items:center;flex-wrap:wrap}.demo-footer{flex-wrap:wrap}.home-section{margin-bottom:54px}.benefit-grid,.academy-grid,.gallery-grid,.faq-grid{grid-template-columns:minmax(0,1fr)}.home-heading-inline,.home-progress{align-items:flex-start;flex-direction:column}.home-progress .real-progress{width:100%}.home-end-actions{align-items:flex-start;flex-direction:column}}@media(max-width:360px){.topbar .compact-home{display:none}.top-local-status{flex-basis:100%}.hero-copy h1{overflow-wrap:anywhere}.academy-card{grid-template-columns:44px minmax(0,1fr);padding:18px;gap:12px}.academy-symbol{width:44px;height:44px;font-size:16px}.demo-header small{display:none}.home-progress .real-progress{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.gallery-card{transition:none}.gallery-card:hover{transform:none}}.file-coach{margin:0 0 12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);min-width:0}.file-coach>summary{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;font-size:13px;color:var(--text)}.file-coach>summary>svg{flex:none;color:var(--accent)}.file-coach>summary>span{margin-left:auto;color:var(--muted);font-size:12px}.file-coach>summary:after{content:"+";margin-left:6px;color:var(--muted);font-size:18px}.file-coach[open]>summary:after{content:"−"}.file-coach-body{border-top:1px solid var(--border);padding:18px}.file-coach-role{color:var(--muted);font-size:13px;margin:0 0 16px}.file-coach-tip{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.file-coach-count{color:var(--accent);font:12px JetBrains Mono Variable,monospace}.file-coach h3{font-size:18px;margin:8px 0 12px}.file-coach-tip p{font-size:14px;line-height:1.7}.file-coach-challenge{color:var(--muted)}.file-coach pre{margin:0;padding:16px;background:var(--editor);border:1px solid var(--border);border-radius:6px;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 JetBrains Mono Variable,monospace;min-width:0}.file-coach-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between;margin-top:18px}.file-coach-actions button{min-height:40px;border-color:var(--border);font-size:13px}.advertising-label{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase}.advertising-space p{margin:6px 0 0;font-size:13px}.home>.advertising-space{margin:8px 0 32px}.workspace>.advertising-space{flex:none;margin-top:18px}@media(max-width:700px){.file-coach-tip{grid-template-columns:minmax(0,1fr);gap:16px}.file-coach>summary>span{display:none}.file-coach-actions{gap:6px}.file-coach-actions button{flex:1;padding:8px;font-size:12px}}.mobile-navigation{display:none}.workbench-bar{display:flex;align-items:center;gap:12px;min-width:0;padding:6px 10px;border-bottom:1px solid var(--border);background:var(--panel)}.workbench-bar .projectbar{display:flex;flex:none;margin:0;padding:0;border:0;background:none;min-height:0;gap:8px}.workbench-bar .projectbar{flex-direction:row;align-items:center}.workbench-bar .project-context{flex:none;width:auto;min-width:0}.workbench-bar .project-actions{flex:none;width:auto;margin:0}.workbench-bar .editor-actions{flex:none;padding:0;margin:0;min-height:36px;height:auto;border:0;gap:2px}.workbench-bar .editor-actions button{padding:7px;min-height:34px;font-size:11px}.workbench-bar .editor-actions .completion-hint,.workbench-bar .editor-actions [data-action=suggest] span,.workbench-bar .editor-actions [data-action=file-menu]{display:none}.workbench-bar #project-title{max-width:155px;font-size:13px;line-height:1.4}.workbench-bar .project-actions{gap:4px}.workbench-bar .project-actions button{padding:8px;min-height:36px}.workbench-bar .project-actions button:not([data-action=run]) span{display:none}.workbench-bar #save-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.workbench-bar .tabs{flex:1;width:auto;min-width:100px;border:0;padding:0}.workbench-bar .tab{padding:10px 8px;min-height:38px;font-size:12px}.workbench-bar .layout-tools{flex:none;gap:5px}.workbench-bar .layout-tools label,.workbench-bar [data-action=search]{display:none}.workbench-bar .layout-tools select{max-width:138px;min-height:36px;font-size:12px}.workbench-bar [data-action=code-coach]{padding:8px;min-height:36px}.workbench-bar [data-action=code-coach] span{display:none}.code-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(540px,100%);height:100vh;height:100dvh;max-height:none;max-width:100%;border:0;border-left:1px solid var(--border);padding:24px;color:var(--text);background:var(--panel);overflow-y:auto;overscroll-behavior:contain}.code-drawer[open]{display:block}.code-drawer::backdrop{background:#0206178c}.code-drawer>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.code-drawer h2{font-size:21px}.code-drawer [data-drawer-close]{font-size:24px;min-width:42px}.code-drawer .file-coach-tip{grid-template-columns:minmax(0,1fr)}.code-drawer .editor-actions{flex-wrap:wrap;height:auto;padding:12px 0}.code-drawer .quick-insert{flex-wrap:wrap;overflow:visible}.web-learning-path{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:14px 0 22px;font-size:13px}.web-learning-path a{color:var(--accent);text-underline-offset:4px}.web-next-steps{display:flex;flex-wrap:wrap;gap:20px;margin:28px 0}.ad-slot{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:728px;max-width:100%;height:100px;margin:32px auto;border:1px dashed var(--border);border-radius:8px;background:var(--bg-subtle);color:var(--muted);font-size:12px;text-align:center}.ad-slot[hidden]{display:none}.ad-slot p{margin:0}.ad-slot>span{text-transform:uppercase;letter-spacing:.1em;font-size:10px}.ad-slot>button{position:absolute;right:5px;top:5px;padding:2px 8px;background:none}.ad-slot[data-format=card]{width:320px;height:180px}#home .sample-tabs{overflow:visible;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0}#home .sample-tabs button{min-width:0;padding:10px 3px;font-size:11px}#home .sample-lines{overflow:hidden;height:auto;max-height:none}#home .sample-lines>div{min-width:0;align-items:flex-start}#home .sample-lines code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:0}#home .sample-number{flex:none;width:30px;padding-right:8px}.concept-scene{width:100%;height:auto;max-height:240px;overflow:visible}.concept-scene text{stroke:none;fill:var(--text);font-family:Consolas,monospace}.concept-node.is-active,.concept-signal{animation:concept-arrive .24s ease-out both;transform-box:fill-box;transform-origin:center}@keyframes concept-arrive{0%{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(min-width:800px){[data-view=editor] .topbar{min-height:38px;height:38px;padding-block:2px}[data-view=editor] .topbar .global-search,[data-view=editor] .topbar .top-editor{display:none}[data-view=editor] .topbar .top-actions{margin-left:auto}[data-view=editor] .app-body{display:grid;min-height:0;height:calc(100vh - 60px);grid-template-columns:170px minmax(0,1fr)}[data-view=editor] .workspace{display:flex;flex-direction:column;min-height:0;overflow:visible}[data-view=editor] .panes{flex:1;min-height:calc(85vh - 20px);height:auto}[data-view=editor] .editor-pane,[data-view=editor] .preview-pane{min-height:0}[data-view=editor] #editor-host{flex:1;min-height:0}[data-view=editor] .editor-status{min-height:20px;height:20px;padding-block:0}[data-view=editor] .preview-toolbar{min-height:36px;padding-block:2px}[data-view=editor] .preview-address{display:none}[data-view=editor] .statusbar{min-height:22px;padding-block:0}}@media(max-width:799px){.product-nav{position:fixed!important;top:58px!important;left:12px!important;right:12px;width:auto!important;height:auto!important;max-height:70vh;overflow:auto;z-index:100;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}.product-nav .brand,.product-nav .nav-local{display:none}.product-nav nav,[data-view=editor] .product-nav nav{display:flex;flex-direction:column;overflow:visible;padding:12px}.product-nav .nav-group{display:flex;flex-direction:column}.product-nav .nav-group>span{display:block;margin:12px 8px 4px}.topbar{min-height:52px;padding:6px 12px;flex-wrap:nowrap}.topbar .global-search,.topbar .top-local-status,.topbar .top-editor,.topbar .connection{display:none}.topbar .top-actions{margin-left:auto}.mobile-navigation{position:fixed;z-index:80;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));left:0;right:0;bottom:0;padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));background:var(--panel);border-top:1px solid var(--border)}.mobile-navigation button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 1px;font-size:10px;border:0;min-height:44px}#app{padding-bottom:64px}.workbench-bar{flex-wrap:wrap;gap:5px;padding:6px}.workbench-bar .projectbar{flex:1}.workbench-bar .tabs{order:3;flex-basis:100%}.workbench-bar .layout-tools{margin-left:auto}.workbench-bar .layout-tools select{width:95px}.workbench-bar .project-actions [data-action=new-project],.workbench-bar .project-actions [data-action=save]{display:none}.workbench-bar #project-title{max-width:110px}.ad-slot{width:320px;height:100px}}@media(prefers-reduced-motion:reduce){.concept-node.is-active,.concept-signal{animation:none}}@media(min-width:800px){.workbench-bar .projectbar{flex-direction:row;align-items:center;flex-wrap:nowrap}.workbench-bar .project-context{flex-basis:auto;width:auto;max-width:150px}.workbench-bar .project-actions{width:auto;flex-wrap:nowrap;align-items:center}.workbench-bar .project-actions>button{margin:0}[data-view=editor] .workspace{padding:0}.workbench-bar .layout-tools [data-action=settings]{padding:7px}.workbench-bar .tabs{min-width:0}.workbench-bar .editor-actions{max-width:150px}}@media(max-width:1100px)and (min-width:800px){.workbench-bar #project-title{max-width:90px}.workbench-bar .project-actions [data-action=new-project],.workbench-bar .project-actions [data-action=save],.workbench-bar .project-actions [data-action=run] span{display:none}.workbench-bar .layout-tools select{width:100px}.workbench-bar .editor-actions [data-action=redo]{display:none}}@media(max-width:799px){.workbench-bar .editor-actions{order:4;flex-basis:100%;justify-content:flex-start}.code-drawer{top:52px;bottom:64px;height:calc(100vh - 116px);width:min(480px,100%)}}@media(min-width:800px){[data-view=editor] .workspace{overflow:hidden}[data-view=editor] #panes{display:grid;flex:1 1 0%;height:auto;min-height:0;min-width:0}[data-view=editor] #panes[data-layout=side]{grid-template-columns:minmax(0,var(--ratio)) 6px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}[data-view=editor] #panes[data-layout=stack]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,var(--ratio)) 6px minmax(0,1fr)}[data-view=editor] #panes[data-layout=editor],[data-view=editor] #panes[data-layout=preview]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}[data-view=editor] #panes>.editor-pane,[data-view=editor] #panes>.preview-pane{width:auto;height:auto;min-height:0;min-width:0;overflow:hidden}[data-view=editor] #splitter{width:6px;height:auto;margin:0;border:0;background:var(--border);touch-action:none}[data-view=editor] #panes[data-layout=stack] #splitter{width:auto;height:6px;cursor:row-resize}[data-view=editor] #splitter:hover,[data-view=editor] #splitter:focus-visible{background:var(--accent)}.workbench-bar #tabs{height:42px;overflow-y:hidden}.workbench-bar .file-tab,.workbench-bar .tab,.workbench-bar .close-tab{height:40px;min-height:40px}}.workbench-bar .layout-tools [data-action=search]{display:inline-flex}#app[data-search-open=true] .global-search{display:flex;position:fixed;z-index:120;top:48px;left:max(12px,calc(50% - 260px));right:12px;width:520px;max-width:calc(100vw - 24px);margin:0;box-shadow:var(--shadow)}.web-course-map a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:7px;font-size:13px;color:var(--muted);text-decoration:none}.web-course-map a[aria-current=step]{color:var(--text);background:var(--raised);border-left:3px solid var(--accent)}.project-class-coach{padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--border)}.project-class-coach header{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.project-class-coach h3{font-size:22px;margin:18px 0 10px}.project-class-coach h4{font-size:16px;margin:18px 0 10px}.project-class-coach p,.project-class-coach li{font-size:14px}.project-class-coach ol{padding-left:22px}.project-class-coach li+li{margin-top:12px}.project-class-coach details{margin:18px 0}.project-class-coach pre{font:12px/1.7 Consolas,monospace;padding:12px;max-height:240px;overflow:auto;background:var(--editor);border:1px solid var(--border)}.class-replace-note{display:block;font-size:11px;color:var(--muted);margin-top:8px}.class-check{border-left:3px solid var(--accent-secondary);padding-left:12px}.class-step-check{display:flex;align-items:flex-start;gap:10px;margin:20px 0;font-size:13px}.class-step-check input{flex:none;margin-top:5px}.class-step-navigation{display:flex;justify-content:space-between;gap:12px}.example-card footer{flex-wrap:wrap;gap:10px}:root{color-scheme:dark;--bg: #070b14;--bg-subtle: #0b1120;--panel: #0f172a;--raised: #1e293b;--editor: #090e1a;--border: rgba(148, 163, 184, .14);--border-strong: rgba(56, 189, 248, .32);--text: #f8fafc;--muted: #94a3b8;--accent: #3b82f6;--accent-hover: #2563eb;--accent-glow: rgba(59, 130, 246, .22);--accent-secondary: #06b6d4;--accent-ink: #07101f;--education: #6366f1;--success: #10b981;--warning: #f59e0b;--danger: #f43f5e;--brand-action: #2563eb;--brand-ink: #10254a;--brand-soft: #15243b;--soft: #15243b;--shadow: 0 18px 48px rgba(2, 8, 23, .34);--nav-width: 232px}:root[data-theme=light]{color-scheme:light;--bg: #f8fafc;--bg-subtle: #f1f5f9;--panel: #fff;--raised: #e2e8f0;--editor: #f8fafc;--border: #cbd5e1;--border-strong: rgba(37, 99, 235, .3);--text: #0f172a;--muted: #475569;--accent: #2563eb;--accent-hover: #1d4ed8;--accent-glow: rgba(37, 99, 235, .14);--accent-secondary: #0891b2;--accent-ink: #fff;--education: #4f46e5;--success: #059669;--warning: #b45309;--danger: #e11d48;--brand-action: #2563eb;--brand-ink: #1e3a8a;--brand-soft: #eff6ff;--soft: #eaf2ff;--shadow: 0 18px 48px rgba(15, 23, 42, .12)}body{font-feature-settings:"ss01";text-rendering:optimizeLegibility}button,a,input,select,textarea{touch-action:manipulation}button{border-radius:8px;font-weight:650;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}button.primary,.hero-primary{background:var(--brand-action);border:1px solid var(--brand-action);color:#fff;box-shadow:0 5px 14px var(--accent-glow)}button.primary:hover,.hero-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.52}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--accent-secondary);outline-offset:3px}h1,h2,h3{letter-spacing:-.025em;line-height:1.15;font-weight:750}body{font-size:1rem;line-height:1.65}code,pre,kbd,.course-code{font-family:JetBrains Mono Variable,Fira Code,Consolas,monospace;font-variant-ligatures:contextual}.product-nav{background:var(--panel)}.product-nav .brand{font-size:24px;letter-spacing:-.04em}.nav-group>span{font:700 10px/1.5 JetBrains Mono Variable,monospace;text-transform:uppercase;letter-spacing:1.25px}.nav-group button{font-size:13px;padding:10px 11px;gap:11px}.nav-group button svg{width:19px;height:19px}.nav-group button[aria-current=page]{background:var(--soft)}.nav-group button[aria-current=page]:before{width:3px;border-radius:0 3px 3px 0}.nav-local{font-size:11px;line-height:1.7}.topbar{background:var(--panel);-webkit-backdrop-filter:none;backdrop-filter:none}.top-actions button{border-radius:7px}.top-actions [data-action=power]{font-size:11px;padding:8px 10px;white-space:nowrap}#home{max-width:1350px;margin-inline:auto}.home-hero{gap:48px;padding-block:56px 64px;align-items:center}.home-hero h1{font-size:clamp(36px,4.2vw,62px);line-height:1.08;letter-spacing:-.045em;max-width:12ch;font-weight:800}.hero-eyebrow,.section-kicker{font:700 10px/1.7 JetBrains Mono Variable,monospace;letter-spacing:1.2px;color:var(--muted)}.hero-lead{font-size:17px;line-height:1.8;max-width:45ch}.hero-reassurance{font-size:12px;max-width:46ch}.hero-actions{gap:12px}.hero-beginner{font-size:13px;color:var(--text);text-decoration:underline;text-underline-offset:5px}.hero-demo{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 34px #02081724;transform:none;background:var(--panel)}.hero-demo pre,.hero-demo code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.demo-header{border-bottom:1px solid var(--border);background:var(--raised)}.demo-result-card{background:var(--bg-subtle);color:var(--text);border-radius:8px;box-shadow:none}.demo-result-card>span{color:var(--accent-secondary)}.demo-result-card button{background:var(--brand-ink);color:#fff;border:0;border-radius:6px}.demo-dots i{width:6px;height:6px}.home-section{padding-block:40px;border-top:1px solid var(--border)}.home-section-heading h2{font-size:clamp(24px,2.6vw,34px);letter-spacing:-.03em;line-height:1.25}.home-section-heading p{max-width:62ch}.academy-grid{gap:0;border:1px solid var(--border);border-radius:12px;overflow:hidden}.academy-card{border:0;border-radius:0;border-bottom:1px solid var(--border);background:var(--panel);padding:26px;box-shadow:none;min-height:0}.academy-card:nth-child(odd){border-right:1px solid var(--border)}.academy-card h3{font-size:20px}.academy-card p{font-size:13px;line-height:1.8}.academy-symbol{border-radius:9px;font:700 22px JetBrains Mono Variable,monospace;width:50px;height:50px;background:var(--brand-soft);color:var(--text);border:1px solid var(--border)}.academy-label{font-size:10px;letter-spacing:1px}.academy-card a,.home-web-path a,.home-continue a{color:var(--accent);font-weight:700}.academy-card small{font-size:11px}.benefit-card{border:0;border-radius:0;background:transparent;padding:12px 24px 12px 0}.benefit-icon{background:none;color:var(--accent-secondary);border:0}.benefit-card h3{font-size:17px}.benefit-card p{font-size:13px;line-height:1.8}.gallery-visual{border-radius:8px;background:var(--brand-soft);color:var(--text)}.gallery-card{border-radius:10px;box-shadow:none}.gallery-info h3{font-size:17px}.trust-panel{background:var(--brand-soft);border-radius:10px;padding:32px}.faq-grid details{border-radius:8px;background:var(--panel)}.home-end{border-radius:10px;background:var(--brand-ink);color:#fff;padding:36px}.home-end .section-kicker,.home-end p{color:#c5d3e4}.medal{box-shadow:none;border-radius:10px}.medal h3{font-size:16px}.medal .medal-art{width:52px;height:60px}.help-card-grid article{border-radius:10px;border-top-width:2px}.home-continue{display:flex;align-items:center;gap:18px;border:1px solid var(--border);background:var(--panel);border-radius:10px;padding:20px 24px;margin:0 0 28px}.home-continue span{font:11px JetBrains Mono Variable,monospace;color:var(--muted)}.home-continue strong{display:block;font-size:16px;margin-top:5px}.home-continue a{margin-left:auto;padding:10px 14px;font-size:13px}.home-web-path{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-bottom:1px solid var(--border);background:var(--panel)}.home-web-path h3{margin:0 0 5px}.home-web-path p{margin:0;font-size:13px;color:var(--muted)}.home-web-path a{white-space:nowrap}:root[data-power=light] *,:root[data-power=light] *:before,:root[data-power=light] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.compatibility-list{padding:0;list-style:none;font-size:13px}.compatibility-list li{padding:7px 0}.compatibility-note{font-size:12px;line-height:1.7;color:var(--muted)}@media(max-width:1100px){.home-hero{gap:28px}.home-hero h1{font-size:44px}.hero-actions{flex-wrap:wrap}}@media(max-width:700px){.home-hero{padding-block:28px 40px}.home-hero h1{font-size:40px;letter-spacing:-.04em;max-width:16ch}.hero-demo{box-shadow:4px 5px 0 var(--raised)}.home-continue,.home-web-path{align-items:flex-start;flex-direction:column}.home-continue a{margin-left:0;padding-left:0}.academy-card:nth-child(odd){border-right:0}.trust-panel{padding:22px}.top-actions [data-action=power]{max-width:70px;white-space:normal}.home-section{padding-block:28px}}@supports not (height: 100dvh){#app{min-height:100vh}.product-nav{height:100vh}.dialog{max-height:90vh}}
