*{box-sizing:border-box}body{color:#1f2937;background:#f5f7fb;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.auth-page{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.auth-card{background:#fff;border-radius:12px;width:100%;max-width:420px;padding:36px;box-shadow:0 10px 30px #00000014}.auth-card h1{margin:0 0 8px;font-size:30px}.auth-card>p{color:#6b7280;margin-bottom:24px}.auth-card form{flex-direction:column;gap:18px;display:flex}.auth-card label{flex-direction:column;gap:7px;font-weight:500;display:flex}.auth-card input{border:1px solid #d1d5db;border-radius:7px;outline:none;padding:11px 12px}.auth-card input:focus{border-color:#6366f1}.auth-card button{color:#fff;background:#4f46e5;border:none;border-radius:7px;padding:12px;font-weight:600}.auth-card button:disabled{opacity:.6;cursor:not-allowed}.error-message{color:#b91c1c;background:#fee2e2;border-radius:7px;margin-bottom:18px;padding:10px 12px}.auth-card a{color:#4f46e5;text-decoration:none}.console-container{background:#fff;border:1px solid #ddd;border-radius:8px;margin-top:20px;overflow:hidden}.console-header{background:#f5f5f5;border-bottom:1px solid #ddd;justify-content:space-between;align-items:center;padding:10px 15px;display:flex}.console-header h3{margin:0;font-size:15px}.console-textarea{resize:vertical;box-sizing:border-box;border:none;outline:none;width:100%;min-height:120px;padding:12px;font-family:monospace;font-size:14px}.console-output{min-height:120px;padding:12px;font-family:monospace;font-size:14px;overflow-x:auto}.console-output pre{white-space:pre-wrap;margin:0}.console-output.error{color:#d32f2f}.console-placeholder{color:#888}.console-title{align-items:center;gap:12px;display:flex}.clear-button{color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:5px;padding:5px 10px;font-size:13px}.clear-button:hover{background:#f3f4f6}.clear-button:disabled{opacity:.5;cursor:not-allowed}.execution-info{color:#6b7280;border-top:1px solid #e5e7eb;gap:20px;padding:8px 12px;font-size:12px;display:flex}.editor-page{background:#f5f7fb;flex-direction:column;height:100vh;display:flex}.editor-header{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:12px;height:60px;padding:0 16px;display:flex}.dashboard-button{color:#4f46e5;cursor:pointer;background:0 0;border:none;font-weight:600}.program-title{border:1px solid #d1d5db;border-radius:6px;outline:none;width:240px;padding:9px 12px}.program-title:focus{border-color:#4f46e5}.language-select{background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:9px 12px}.run-button,.save-button{color:#fff;cursor:pointer;border:none;border-radius:6px;padding:9px 16px;font-weight:600}.run-button{background:#16a34a;margin-left:auto}.save-button{background:#4f46e5}.run-button:disabled,.save-button:disabled{opacity:.6;cursor:not-allowed}.editor-workspace{background:#d1d5db;flex:1;grid-template-columns:60% 40%;gap:1px;min-height:0;display:grid}.code-panel,.side-panel{background:#fff;min-width:0;min-height:0}.code-panel{flex-direction:column;display:flex}.panel-header{background:#f3f4f6;border-bottom:1px solid #e5e7eb;align-items:center;height:40px;padding:0 14px;font-size:13px;font-weight:600;display:flex}.code-editor-wrapper{flex:1;min-height:0;overflow:auto}.side-panel{background:#d1d5db;grid-template-rows:40% 60%;gap:1px;display:grid}.side-panel .console-container{border:none;border-radius:0;flex-direction:column;min-height:0;margin:0;display:flex}.side-panel .console-output{flex:1;overflow:auto}.side-panel .console-textarea{resize:none;flex:1}@media (width<=900px){.editor-header{flex-wrap:wrap;height:auto;padding:10px}.program-title{width:180px}.editor-workspace{grid-template-rows:55% 45%;grid-template-columns:1fr}.side-panel{grid-template-rows:50% 50%}.run-button{margin-left:0}}.modal-overlay{z-index:1000;background:#00000073;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.delete-modal{background:#fff;border-radius:10px;width:400px;max-width:calc(100% - 40px);padding:24px;box-shadow:0 10px 30px #0003}.delete-modal h2{margin-top:0;margin-bottom:10px}.delete-modal p{color:#6b7280;line-height:1.5}.modal-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.cancel-button,.confirm-delete-button{cursor:pointer;border-radius:6px;padding:9px 16px;font-weight:600}.cancel-button{background:#fff;border:1px solid #d1d5db}.confirm-delete-button{color:#fff;background:#dc2626;border:none}.cancel-button:disabled,.confirm-delete-button:disabled{opacity:.6;cursor:not-allowed}.delete-button{color:#dc2626;cursor:pointer;background:0 0;border:none;font-weight:600}.delete-button:hover{text-decoration:underline}.theme-select{background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:9px 12px}.font-size-control{align-items:center;gap:6px;display:flex}.font-size-control button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:5px;width:28px;height:28px}.font-size-control span{text-align:center;min-width:42px;font-size:13px}.dashboard-filters{gap:12px;margin:20px 0 8px;display:flex}.search-input{border:1px solid #d1d5db;border-radius:6px;outline:none;flex:1;max-width:500px;padding:10px 12px}.search-input:focus{border-color:#4f46e5}.language-filter{background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:10px 12px}.result-count{color:#6b7280;margin:0 0 15px;font-size:14px}.no-results{text-align:center;color:#6b7280;padding:50px 20px}.no-results h3{color:#374151;margin-bottom:8px}.history-panel{background:#fff;border-top:1px solid #e5e7eb;max-height:260px;overflow-y:auto}.execution-history{flex-direction:column;display:flex}.history-item{text-align:left;cursor:pointer;background:#fff;border:none;border-bottom:1px solid #e5e7eb;flex-direction:column;gap:8px;padding:12px 16px;display:flex}.history-item:hover{background:#f9fafb}.history-item-main,.history-metadata{justify-content:space-between;align-items:center;gap:12px;display:flex}.history-status{font-size:13px;font-weight:600}.history-status.success{color:#15803d}.history-status.failed{color:#dc2626}.history-date,.history-metadata{color:#6b7280;font-size:12px}.history-empty,.history-error{padding:12px 16px;font-size:14px}.history-error{color:#dc2626}.history-item{border-bottom:1px solid #e5e7eb;padding:10px 16px}.history-result-button{text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;gap:8px;width:100%;padding:0;display:flex}.restore-code-button{color:#4f46e5;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:5px;align-self:flex-start;margin-top:8px;padding:5px 9px;font-size:12px}.restore-code-button:hover{background:#eef2ff}.dashboard-page{--dashboard-ink:#17243a;--dashboard-muted:#738096;--dashboard-border:#e5eaf2;--dashboard-blue:#087fce;--dashboard-blue-dark:#0866a6;min-height:100vh;color:var(--dashboard-ink);background:#f5f8fc}.dashboard-navbar{color:#f8fafc;background:#3611ee;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:24px;min-height:76px;padding:0 clamp(20px,5vw,76px);display:flex}.dashboard-brand{color:#fff;letter-spacing:-.7px;background:0 0;border:0;align-items:center;gap:11px;padding:0;font-size:22px;font-weight:750;display:inline-flex}.dashboard-brand-mark{color:#fff;letter-spacing:-1px;background:#087fce;border-radius:11px;place-items:center;width:39px;height:39px;font-size:15px;font-weight:800;display:grid}.dashboard-brand-accent{color:#54b7f2}.dashboard-nav-right{align-items:center;gap:12px;display:flex}.dashboard-nav-caption{color:#e9eaeb;margin-right:12px;font-size:13px}.dashboard-user-avatar{color:#0866a6;background:#d9efff;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:15px;font-weight:800;display:grid}.dashboard-user-details{flex-direction:column;gap:3px;min-width:80px;display:flex}.dashboard-user-name{color:#fff;font-size:13px;font-weight:650}.dashboard-user-role{color:#e9eaeb;font-size:12px}.dashboard-logout{color:#e5edf7;background:0 0;border:1px solid #3a4960;border-radius:8px;align-items:center;gap:8px;margin-left:14px;padding:9px 13px;font-size:12px;font-weight:650;transition:background .16s,border-color .16s;display:inline-flex}.dashboard-logout:hover{background:#223149;border-color:#64748b}.dashboard-main{width:min(1180px,100% - 48px);margin:0 auto}.dashboard-welcome{justify-content:space-between;align-items:center;gap:24px;padding:46px 0 30px;display:flex}.dashboard-welcome-copy{min-width:0}.dashboard-eyebrow{color:#087fce;letter-spacing:1.45px;align-items:center;gap:8px;margin-bottom:13px;font-size:10px;font-weight:800;display:flex}.dashboard-eyebrow-dot,.dashboard-summary-note-dot{background:#12a779;border-radius:50%;width:7px;height:7px}.dashboard-welcome h1{color:#152238;letter-spacing:-1.3px;margin:0;font-size:clamp(27px,3.4vw,38px);font-weight:760;line-height:1.2}.dashboard-welcome h1 span{color:#087fce}.dashboard-welcome p{color:#738096;margin:12px 0 0;font-size:14px;line-height:1.6}.dashboard-create-button{color:#fff;background:#087fce;border:1px solid #087fce;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:9px;padding:12px 17px;font-size:13px;font-weight:700;transition:background .16s,transform .16s,box-shadow .16s;display:inline-flex;box-shadow:0 5px 12px #087fce26}.dashboard-create-button:hover{background:#0866a6;transform:translateY(-1px);box-shadow:0 7px 16px #087fce33}.dashboard-create-plus{font-size:19px;line-height:12px}.dashboard-summary{background:linear-gradient(110deg,#fff 0%,#f7fbff 100%);border:1px solid #e2ebf5;border-radius:13px;align-items:center;gap:16px;min-height:94px;padding:18px 22px;display:flex;box-shadow:0 3px 12px #162e4d06}.dashboard-summary-icon{color:#087fce;letter-spacing:-1px;background:#e4f3ff;border-radius:12px;flex:none;place-items:center;width:49px;height:49px;font-size:15px;font-weight:800;display:grid}.dashboard-summary>div:nth-child(2){flex-direction:column;gap:5px;display:flex}.dashboard-summary-label{color:#738096;font-size:12px;font-weight:550}.dashboard-summary strong{color:#17243a;font-size:23px;line-height:1}.dashboard-summary-divider{background:#e1e8f1;width:1px;height:43px;margin:0 10px}.dashboard-summary-note{color:#738096;align-items:center;gap:8px;font-size:12px;display:flex}.dashboard-program-section{padding-top:37px}.dashboard-section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.dashboard-section-heading h2{color:#17243a;letter-spacing:-.4px;margin:0;font-size:21px;font-weight:750}.dashboard-section-heading p{color:#7a879a;margin:7px 0 0;font-size:12px}.dashboard-count-pill{color:#0874bb;white-space:nowrap;background:#edf7ff;border:1px solid #dceaf7;border-radius:999px;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.dashboard-toolbar{align-items:center;gap:12px;margin-bottom:21px;display:flex}.dashboard-search{background:#fff;border:1px solid #dfe6ef;border-radius:9px;flex:1;align-items:center;gap:10px;min-width:0;min-height:45px;padding:0 13px;transition:border-color .16s,box-shadow .16s;display:flex}.dashboard-search:focus-within{border-color:#70b7e6;box-shadow:0 0 0 3px #087fce14}.dashboard-search-icon{color:#8a97aa;font-size:23px;line-height:1;transform:rotate(-20deg)}.dashboard-search input{color:#26364c;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:12px 0;font-size:12px}.dashboard-search input::placeholder{color:#9aa5b5}.dashboard-search-clear{color:#7b8799;background:0 0;border:0;padding:2px 5px;font-size:20px}.dashboard-filter{background:#fff;border:1px solid #dfe6ef;border-radius:9px;align-items:center;gap:10px;min-height:45px;padding:0 12px;display:flex}.dashboard-filter>span{color:#8490a2;white-space:nowrap;font-size:11px}.dashboard-filter select{color:#26364c;cursor:pointer;background:0 0;border:0;outline:0;max-width:150px;padding:10px 0;font-size:12px}.dashboard-program-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.dashboard-program-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;min-width:0;min-height:207px;padding:19px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;box-shadow:0 3px 12px #162e4d06}.dashboard-program-card:hover{border-color:#b8dff7;transform:translateY(-2px);box-shadow:0 10px 24px #162e4d12}.dashboard-card-top{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.dashboard-language-icon{color:#0874bb;background:#e8f4ff;border-radius:10px;place-items:center;min-width:42px;height:42px;padding:0 5px;font-size:12px;font-weight:800;display:grid}.dashboard-language-python{color:#b77916;background:#fff3df}.dashboard-language-java{color:#c44e32;background:#ffebe6}.dashboard-language-cpp{color:#4658c7;background:#e9edff}.dashboard-card-menu{color:#8490a2;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;width:31px;height:31px;font-size:21px;line-height:1;display:grid}.dashboard-card-menu:hover{color:#c0392b;background:#f7f9fc;border-color:#e5eaf2}.dashboard-card-title-button{text-align:left;background:0 0;border:0;align-self:flex-start;max-width:100%;padding:0}.dashboard-card-title-button h3{color:#1c2b40;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:0;font-size:15px;font-weight:750;overflow:hidden}.dashboard-card-title-button:hover h3{color:#087fce}.dashboard-language-label{color:#69778c;background:#f2f5f9;border-radius:5px;align-self:flex-start;margin-top:9px;padding:4px 7px;font-size:10px;font-weight:650}.dashboard-card-footer{justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:18px;display:flex}.dashboard-updated{color:#8995a6;align-items:center;gap:6px;min-width:0;font-size:10px;display:flex}.dashboard-updated span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-open-button{color:#0874bb;background:#f2f9ff;border:1px solid #dceaf7;border-radius:7px;flex:none;align-items:center;gap:7px;padding:7px 10px;font-size:11px;font-weight:750;display:inline-flex}.dashboard-open-button:hover{background:#e4f3ff;border-color:#acd7f4}.dashboard-state-card{text-align:center;background:#ffffffb8;border:1px dashed #d7e2ee;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:34px 20px;display:flex}.dashboard-state-card h3{color:#23344b;margin:13px 0 0;font-size:17px}.dashboard-state-card p{color:#7b8799;max-width:400px;margin:8px 0 19px;font-size:12px;line-height:1.7}.dashboard-empty-icon{color:#087fce;background:#e7f4ff;border-radius:15px;place-items:center;width:56px;height:56px;font-size:22px;font-weight:800;display:grid}.dashboard-secondary-button{color:#3b4a60;background:#fff;border:1px solid #dce3ec;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:650}.dashboard-secondary-button:hover{background:#f7f9fc}.dashboard-spinner{border:3px solid #dbeefa;border-top-color:#087fce;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite dashboard-spin}@keyframes dashboard-spin{to{transform:rotate(360deg)}}.dashboard-alert{border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;padding:12px 14px;font-size:12px;display:flex}.dashboard-alert-error{color:brown;background:#fff2f2;border:1px solid #f2caca}.dashboard-alert button{color:inherit;background:0 0;border:0;font-size:12px;font-weight:750;text-decoration:underline}.dashboard-footer{color:#8b97a8;border-top:1px solid #e3eaf2;justify-content:space-between;align-items:center;gap:12px;margin-top:42px;padding:19px 0 24px;font-size:11px;display:flex}.dashboard-footer>span:first-child{color:#58677d;align-items:center;gap:7px;font-weight:750;display:flex}.dashboard-footer-mark{color:#087fce;font-weight:850}.dashboard-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d1b2e8f;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dashboard-delete-dialog{background:#fff;border:1px solid #e7ecf3;border-radius:16px;width:min(430px,100%);padding:27px;box-shadow:0 24px 80px #0a1c323d}.dashboard-delete-icon{color:#cf4938;background:#fff0ed;border-radius:12px;place-items:center;width:43px;height:43px;font-size:21px;font-weight:800;display:grid}.dashboard-delete-dialog h2{color:#1b2b41;margin:17px 0 8px;font-size:20px}.dashboard-delete-dialog p{color:#758196;margin:0;font-size:13px;line-height:1.7}.dashboard-delete-dialog p strong{color:#283950}.dashboard-dialog-error{color:#b42318!important;margin-top:12px!important}.dashboard-dialog-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.dashboard-confirm-delete{color:#fff;background:#d94337;border:1px solid #c9372c;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700}.dashboard-confirm-delete:hover{background:#b92d24}.dashboard-confirm-delete:disabled,.dashboard-dialog-actions button:disabled{opacity:.6;cursor:not-allowed}@media (width<=900px){.dashboard-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-nav-caption{display:none}.dashboard-welcome{padding-top:36px}}@media (width<=620px){.dashboard-navbar{min-height:68px;padding:0 17px}.dashboard-brand{gap:8px;font-size:19px}.dashboard-brand-mark{border-radius:9px;width:34px;height:34px;font-size:13px}.dashboard-user-details{display:none}.dashboard-logout{margin-left:2px;padding:8px 9px}.dashboard-main{width:calc(100% - 32px)}.dashboard-welcome{flex-direction:column;align-items:flex-start;gap:18px;padding:31px 0 23px}.dashboard-welcome h1{letter-spacing:-.8px;font-size:29px}.dashboard-welcome p{font-size:13px}.dashboard-summary{gap:11px;min-height:82px;padding:13px}.dashboard-summary-icon{width:42px;height:42px}.dashboard-summary-divider{margin:0 2px}.dashboard-summary-note{font-size:10px}.dashboard-program-section{padding-top:29px}.dashboard-section-heading{align-items:flex-start}.dashboard-section-heading h2{font-size:19px}.dashboard-toolbar{flex-direction:column;align-items:stretch;gap:9px}.dashboard-filter{justify-content:space-between}.dashboard-filter select{max-width:65%}.dashboard-program-grid{grid-template-columns:1fr;gap:12px}.dashboard-program-card{min-height:190px}.dashboard-footer{margin-top:30px}}@media (prefers-reduced-motion:reduce){.dashboard-page *,.dashboard-page :before,.dashboard-page :after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.editor-page{--editor-bg:#0b1020;--editor-surface:#11182a;--editor-surface-raised:#151e32;--editor-border:#26324a;--editor-text:#e5eaf5;--editor-muted:#8995ad;--editor-accent:#8b9cff;--editor-green:#37d39a;height:100vh;min-height:520px;color:var(--editor-text);background:var(--editor-bg);overflow:hidden}.editor-page-light{--editor-bg:#f3f5fa;--editor-surface:#fff;--editor-surface-raised:#f7f8fc;--editor-border:#e1e6f0;--editor-text:#182238;--editor-muted:#758198;--editor-accent:#4f46e5;--editor-green:#15976b}.editor-topbar{background:var(--editor-surface);border-bottom:1px solid var(--editor-border);flex:0 0 58px;align-items:center;gap:18px;height:58px;padding:0 22px;display:flex}.editor-brand{color:var(--editor-text);letter-spacing:-.5px;background:0 0;border:0;align-items:center;gap:9px;padding:0;font-size:17px;font-weight:750;display:inline-flex}.editor-brand-mark{color:#fff;background:#6675f5;border-radius:9px;place-items:center;width:30px;height:30px;font:700 12px ui-monospace,monospace;display:grid}.editor-brand-accent{color:var(--editor-accent)}.editor-breadcrumb{color:var(--editor-muted);font-size:13px}.editor-breadcrumb span{color:var(--editor-border);margin-right:8px}.editor-topbar-spacer,.editor-toolbar-spacer{flex:1}.editor-save-state{white-space:nowrap;text-overflow:ellipsis;max-width:280px;color:var(--editor-muted);align-items:center;gap:7px;font-size:12px;display:inline-flex;overflow:hidden}.editor-save-state.is-saved{color:var(--editor-green)}.editor-state-dot,.editor-live-dot{background:var(--editor-green);border-radius:50%;flex:0 0 7px;width:7px;height:7px}.editor-dashboard-link{border:1px solid var(--editor-border);color:var(--editor-text);background:0 0;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600}.editor-dashboard-link:hover{border-color:var(--editor-accent)}.editor-alert{justify-content:space-between;align-items:center;gap:12px;padding:8px 20px;font-size:12px;display:flex}.editor-alert button{color:inherit;background:0 0;border:0;font-size:20px;line-height:1}.editor-alert-error{color:#ffc3ce;background:#4b202b}.editor-alert-success{color:#a9f4d8;background:#123c35}.editor-page-light .editor-alert-error{color:#b4233a;background:#fff0f1}.editor-page-light .editor-alert-success{color:#08784f;background:#e8fbf3}.editor-toolbar{background:var(--editor-bg);border-bottom:1px solid var(--editor-border);flex:none;align-items:center;gap:16px;min-height:86px;padding:13px 22px;display:flex}.editor-title-group,.editor-language-group{flex-direction:column;gap:7px;display:flex}.editor-title-group{width:min(280px,25vw)}.editor-field-label{color:var(--editor-muted);letter-spacing:1.2px;font-size:9px;font-weight:800}.editor-title-input,.editor-language-select,.editor-theme-select{border:1px solid var(--editor-border);background:var(--editor-surface);min-height:34px;color:var(--editor-text);border-radius:7px;outline:none;font-size:12px}.editor-title-input{width:100%;padding:7px 10px}.editor-title-input:focus,.editor-language-select:focus,.editor-theme-select:focus{border-color:var(--editor-accent)}.editor-language-select,.editor-theme-select{padding:7px 10px}.editor-toolbar-divider{background:var(--editor-border);width:1px;height:38px}.editor-display-controls{align-items:center;gap:10px;display:flex}.editor-font-control{border:1px solid var(--editor-border);color:var(--editor-muted);border-radius:7px;align-items:center;gap:5px;padding:2px 5px;font-size:11px;display:flex}.editor-font-control button{width:23px;height:26px;color:var(--editor-text);background:0 0;border:0;border-radius:4px;font-size:17px}.editor-font-control button:hover{background:var(--editor-border)}.editor-font-control span{text-align:center;min-width:30px}.editor-save-button,.editor-run-button{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 14px;font-size:12px;font-weight:700;display:inline-flex}.editor-save-button{border:1px solid var(--editor-border);background:var(--editor-surface);color:var(--editor-text)}.editor-save-button span{font-size:17px}.editor-run-button{color:#06251b;background:#30c990;border:1px solid #36ce9a;box-shadow:0 4px 14px #30c9901f}.editor-run-button:hover{background:#49dfaa}.editor-save-button:disabled,.editor-run-button:disabled{opacity:.6;cursor:not-allowed}.editor-workspace-v2{background:var(--editor-border);flex:1;grid-template-columns:minmax(0,1.7fr) minmax(300px,.85fr);gap:1px;min-height:0;display:grid}.editor-code-panel,.editor-side-panel{background:var(--editor-surface);min-width:0;min-height:0}.editor-panel-heading{background:var(--editor-surface-raised);border-bottom:1px solid var(--editor-border);justify-content:space-between;align-items:center;gap:10px;height:42px;padding:0 16px;display:flex}.editor-panel-title{color:var(--editor-text);letter-spacing:1.2px;align-items:center;gap:9px;font-size:10px;font-weight:800;display:flex}.editor-file-label{border:1px solid var(--editor-border);color:var(--editor-muted);letter-spacing:0;text-transform:none;border-radius:5px;margin-left:4px;padding:4px 7px;font-size:10px;font-weight:500}.editor-panel-hint{color:var(--editor-muted);font-size:11px}.editor-code-panel .code-editor-wrapper{background:var(--editor-surface)}.editor-code-panel .cm-editor{height:100%}.editor-code-panel .cm-scroller{overflow:auto}.editor-statusbar{border-top:1px solid var(--editor-border);height:28px;color:var(--editor-muted);background:var(--editor-surface-raised);align-items:center;gap:17px;padding:0 13px;font-size:10px;display:flex}.editor-statusbar span:first-child{margin-right:auto}.editor-side-panel{flex-direction:column;display:flex}.editor-side-tabs{background:var(--editor-surface-raised);border-bottom:1px solid var(--editor-border);flex:0 0 43px;align-items:stretch;gap:4px;height:43px;padding:0 12px;display:flex}.editor-side-tabs button{color:var(--editor-muted);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:0 11px;font-size:12px;font-weight:600;display:inline-flex}.editor-side-tabs button>span{font-size:14px}.editor-side-tabs button.active{border-bottom-color:var(--editor-accent);color:var(--editor-text)}.editor-side-tabs button i{border-radius:50%;width:6px;height:6px}.editor-side-tabs .status-good{background:var(--editor-green)}.editor-side-tabs .status-bad{background:#fb7185}.editor-side-content{background:var(--editor-surface);flex:1;min-height:0;overflow:auto}.editor-side-content .console-container{background:var(--editor-surface);height:100%;min-height:220px;color:var(--editor-text);border:0;border-radius:0;flex-direction:column;margin:0;display:flex}.editor-side-content .console-header{background:var(--editor-surface);border-bottom:1px solid var(--editor-border);min-height:48px;padding:0 15px}.editor-side-content .console-header h3{color:var(--editor-text);font-size:12px}.editor-side-content .clear-button{border-color:var(--editor-border);background:var(--editor-surface-raised);color:var(--editor-muted)}.editor-side-content .clear-button:hover{color:var(--editor-text)}.editor-side-content .console-textarea{resize:none;background:var(--editor-surface);min-height:180px;color:var(--editor-text);border:0;outline:none;flex:1;font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace}.editor-side-content .console-output{background:var(--editor-surface);min-height:220px;color:var(--editor-text);flex:1;font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.editor-side-content .console-output.error{color:#ff8798}.editor-side-content .console-placeholder{color:var(--editor-muted)}.execute-status{border-radius:999px;align-items:center;padding:3px 7px;font-size:10px;font-weight:700;display:inline-flex}.execute-status.success{color:var(--editor-green);background:#37d39a21}.execute-status.failed{color:#fb7185;background:#fb718521}.editor-output-empty{color:var(--editor-muted);flex-direction:column;align-items:flex-start;gap:7px;padding:20px 4px;font-family:Inter,system-ui,sans-serif;display:flex}.editor-output-empty>span{border:1px solid var(--editor-border);width:34px;height:34px;color:var(--editor-accent);border-radius:8px;place-items:center;font:700 15px ui-monospace,monospace;display:grid}.editor-output-empty strong{color:var(--editor-text);font-size:12px}.editor-output-empty p{margin:0;font-size:11px}.editor-running-state,.editor-history-state{color:var(--editor-muted);align-items:center;gap:10px;padding:18px 4px;font-family:Inter,system-ui,sans-serif;font-size:12px;display:flex}.editor-loading{background:var(--editor-bg);height:100vh;color:var(--editor-text);justify-content:center;align-items:center;gap:12px;display:flex}.editor-loading-spinner{border:2px solid var(--editor-border);border-top-color:var(--editor-accent);border-radius:50%;width:15px;height:15px;animation:.8s linear infinite editor-spin;display:inline-block}@keyframes editor-spin{to{transform:rotate(360deg)}}.editor-side-footer{border-top:1px solid var(--editor-border);background:var(--editor-surface-raised);min-height:30px;color:var(--editor-muted);align-items:center;gap:7px;padding:0 13px;font-size:10px;display:flex}.editor-side-footer .editor-live-dot{flex-basis:5px;width:5px;height:5px}.editor-side-footer span:nth-child(2){margin-left:auto}.editor-history-content{padding-bottom:12px}.editor-history-intro{border-bottom:1px solid var(--editor-border);flex-direction:column;gap:5px;padding:17px 15px 12px;display:flex}.editor-history-intro strong{color:var(--editor-text);font-size:13px}.editor-history-intro span{color:var(--editor-muted);font-size:11px}.editor-history-content .history-empty,.editor-history-content .history-error{color:var(--editor-muted);padding:16px;font-size:12px;line-height:1.6}.editor-history-content .history-error{color:#fb7185}.editor-history-content .history-item{background:var(--editor-surface);border-bottom-color:var(--editor-border);padding:13px 15px}.editor-history-content .history-item:hover{background:var(--editor-surface-raised)}.editor-history-content .history-status{align-items:center;gap:6px;font-size:11px;display:inline-flex}.editor-history-content .history-status.success{color:var(--editor-green)}.editor-history-content .history-status.failed{color:#fb7185}.history-status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.editor-history-content .history-date,.editor-history-content .history-metadata{color:var(--editor-muted);font-size:10px}.editor-history-content .restore-code-button{border-color:var(--editor-border);color:var(--editor-accent);background:0 0}.editor-history-content .restore-code-button:hover{background:var(--editor-surface-raised)}.editor-page-light .editor-side-content .console-header,.editor-page-light .editor-side-content .console-textarea,.editor-page-light .editor-side-content .console-output{background:#fff}.editor-page-light .editor-side-content .clear-button{background:#f7f8fc}.editor-page-light .editor-code-panel .code-editor-wrapper{background:#fff}@media (width<=1050px){.editor-toolbar{flex-wrap:wrap;gap:10px;padding:12px}.editor-title-group{width:220px}.editor-toolbar-spacer{min-width:8px}.editor-display-controls{order:4}.editor-save-button,.editor-run-button{order:5}}@media (width<=760px){.editor-page{height:auto;min-height:100vh;overflow:visible}.editor-topbar{gap:10px;padding:0 12px}.editor-breadcrumb,.editor-save-state{display:none}.editor-dashboard-link{margin-left:auto}.editor-toolbar{align-items:stretch}.editor-title-group{width:calc(100% - 130px)}.editor-language-group{flex:1;min-width:120px}.editor-toolbar-divider,.editor-toolbar-spacer{display:none}.editor-display-controls{flex:1;order:3}.editor-theme-select{flex:1;min-width:0}.editor-save-button,.editor-run-button{flex:1;order:4}.editor-workspace-v2{grid-template-rows:minmax(440px,62vh) minmax(320px,42vh);grid-template-columns:minmax(0,1fr)}.editor-statusbar{gap:10px}}
