:root{--su-bg:#070a12;--su-accent:#5f7cff;--su-accent-2:#7aa2ff;--su-accent-3:#2fd07f;--su-text:#f4f6ff;--su-text-muted:#f4f6ffbd;--su-surface:#0c101af0;--su-card-bg:#0d121ed1;--su-panel-bg:#080c16e6;--su-border-strong:#acb9d62e;--su-border-soft:#acb9d61c;--su-chip-bg:#8498c217;--su-chip-border:#acb9d629;--su-shadow:0 14px 34px #0000006b;--su-glow-accent:0 0 0 1px #5f7cff47, 0 8px 18px #5f7cff2e;--su-ease-out:cubic-bezier(.23, 1, .32, 1);--ok:#22c55e;--warn:#f59e0b;--bad:#ef4444}*{box-sizing:border-box}html,body,#root{height:100%}body{color:var(--su-text);background:linear-gradient(180deg, #0a0f1a 0%, var(--su-bg) 54%, #05070d 100%);margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.app{height:100%;overflow:hidden}.result-modal-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:50;background:#03060ca6;place-items:center;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.result-modal{background:var(--su-surface);border:1px solid var(--su-border-strong);width:min(520px,100vw - 32px);box-shadow:var(--su-shadow);border-radius:16px;padding:18px}.result-modal-title{color:var(--su-text);font-size:26px;font-weight:800;line-height:1.2}.result-modal-subtitle{color:var(--su-text-muted);margin-top:10px;font-size:15px}.result-modal-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.lang-switch{border:1px solid var(--su-chip-border);background:var(--su-panel-bg);box-shadow:none;border-radius:999px;align-items:center;gap:8px;padding:6px;display:inline-flex}.lang-pill{min-width:56px;color:var(--su-text-muted);letter-spacing:.02em;cursor:pointer;transition:background .16s var(--su-ease-out), color .16s var(--su-ease-out), box-shadow .16s var(--su-ease-out), transform .12s var(--su-ease-out);background:0 0;border:0;border-radius:999px;padding:10px 14px;font-size:16px;font-weight:700;line-height:1}.lang-pill:hover{color:var(--su-text);transform:translateY(-1px)}.lang-pill.active{color:#f8fbff;background:#5f7cffc7;box-shadow:inset 0 0 0 1px #cfd8ff2e}.main{grid-template-columns:25% 6px 1fr;height:100dvh;min-height:0;max-height:100dvh;display:grid;position:relative;overflow:hidden}.left{border-right:1px solid var(--su-border-soft);background:#080c16bd;grid-template-rows:auto 1fr;min-width:0;min-height:0;display:grid;overflow:hidden}.main.left-hidden .left,.left.hidden{visibility:hidden;opacity:0;pointer-events:none}.left-tabs{border-bottom:1px solid var(--su-border-soft);flex-wrap:wrap;gap:8px;padding:10px;display:flex}.ltab{color:var(--su-text-muted);cursor:pointer;min-height:40px;transition:background .16s var(--su-ease-out), color .16s var(--su-ease-out), border-color .16s var(--su-ease-out);background:0 0;border:1px solid #0000;border-radius:10px;padding:8px 12px}.ltab:hover{color:var(--su-text);background:#ffffff08}.ltab.active{color:var(--su-text);background:var(--su-chip-bg);border-color:var(--su-chip-border)}.ltab-toggle{min-width:40px;margin-left:auto;font-weight:700}.left-show-fab{border:1px solid var(--su-chip-border);background:var(--su-surface);width:40px;height:40px;color:var(--su-text);cursor:pointer;box-shadow:none;transition:border-color .16s var(--su-ease-out), transform .12s var(--su-ease-out);border-radius:11px;font-size:18px}.left-show-fab:hover{border-color:var(--su-border-strong);transform:translateY(-1px)}.splitter{cursor:col-resize;background:#acb9d614;border-left:1px solid #acb9d614;border-right:1px solid #acb9d614;width:6px}.splitter.hidden{cursor:default;background:0 0;border:0;width:0}.splitter.dragging{background:#5f7cff57}.panel-scroll{min-width:0;min-height:0;padding:12px;overflow:auto}.desc-box,.status-box,.hint-item,.step-card{background:var(--su-card-bg);border:1px solid var(--su-border-strong);min-width:0;box-shadow:none;border-radius:12px}.desc-box,.hint-item,.step-card{padding:12px}.desc-box{line-height:1.55}.desc-box p,.desc-box li{line-height:inherit}.desc-box p:first-child,.hint-item p:first-child,.step-desc p:first-child{margin-top:0}.desc-box p:last-child,.hint-item p:last-child,.step-desc p:last-child{margin-bottom:0}.desc-box ul,.desc-box ol,.hint-item ul,.hint-item ol,.step-desc ul,.step-desc ol{margin:10px 0;padding-left:20px}.desc-box pre,.hint-item pre,.step-desc pre{margin:10px 0}.md-pre{cursor:copy;background:#080a12f2;border:1px solid #ffffff1f;border-radius:10px;max-width:100%;padding:10px 42px 10px 10px;position:relative;overflow:hidden auto}.md-pre code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:13px;line-height:1.4;display:block}.md-copy-hint{border:1px solid var(--su-chip-border);color:var(--su-text-muted);pointer-events:none;background:#0f111af2;border-radius:999px;padding:4px 8px;font-size:11px;line-height:1;position:absolute;top:8px;right:8px}.md-pre.copied{border-color:#22c55e94;box-shadow:0 0 0 1px #22c55e29}.md-pre.copied .md-copy-hint{color:#86efac;border-color:#22c55e66}.md-code-inline{cursor:copy;white-space:normal;overflow-wrap:anywhere;word-break:break-word;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:6px;padding:1px 6px;display:inline}.md-code-inline.copied{background:#22c55e2e;border-color:#22c55e94}.status-box{min-height:44px;margin-top:10px;padding:10px}.manage-actions,.step-actions{flex-wrap:wrap;gap:8px;display:flex}.btn{color:#fff;cursor:pointer;min-height:40px;transition:transform .12s var(--su-ease-out), box-shadow .16s var(--su-ease-out), opacity .16s var(--su-ease-out);border:1px solid #0000;border-radius:11px;padding:8px 12px;font-weight:600}.btn:hover{transform:translateY(-1px)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-green{box-shadow:none;background:#178a4d}.btn-orange{box-shadow:none;background:#b86f00}.btn-blue{background:var(--su-accent);box-shadow:var(--su-glow-accent)}.hint-actions{justify-content:center;margin-top:10px;display:flex}.hints-panel{flex-direction:column;display:flex;overflow:hidden}.hints-list{overscroll-behavior:contain;scrollbar-gutter:stable;flex:0 auto;align-content:start;min-height:0;overflow-y:auto}.hints-list,.step-hints-list,.steps-wrap{gap:10px;display:grid}.muted{color:var(--su-text-muted)}.step-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.step-head .title{font-weight:600}.step-status{border:1px solid #0000;border-radius:999px;padding:2px 10px;font-size:12px}.step-status.pending{color:#cabdff;background:#7c5cff33;border-color:#7c5cff61}.step-status.ok{color:#86efac;background:#22c55e33;border-color:#22c55e59}.step-status.fail{color:#fca5a5;background:#ef444433;border-color:#ef444459}.step-desc{color:var(--su-text);overflow-wrap:anywhere;margin-top:8px;line-height:1.55}.step-desc p{line-height:inherit}.step-card-ok{border-color:#22c55e99;animation:.22s ease-out stepPop;box-shadow:0 0 0 1px #22c55e24}.step-card-fail{border-color:#ef444499;animation:.22s ease-out stepPop;box-shadow:0 0 0 1px #ef444424}@keyframes stepPop{0%{transform:translateY(1px)scale(.995)}to{transform:translateY(0)scale(1)}}.terminal-area{isolation:isolate;grid-template-rows:auto 1fr;min-height:0;padding:8px;display:grid;position:relative}.tabs-row{z-index:3;justify-content:space-between;align-items:flex-end;gap:10px;display:flex;position:relative}.tabs-strip{align-items:flex-end;gap:8px;display:flex;overflow-x:auto}.tabs-actions{flex-shrink:0;align-items:center;gap:7px;margin-left:8px;display:inline-flex}.deadline-pill{background:var(--su-surface);min-width:118px;max-width:210px;height:40px;color:var(--su-text);white-space:nowrap;box-shadow:none;border:1px solid #ffffff1f;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-size:13px;font-weight:700;line-height:1;display:inline-flex}.deadline-pill.warning{color:#fde68a;background:#452c0ce6;border-color:#f59e0b70}.deadline-pill.expired{color:#fecaca;background:#450a0aeb;border-color:#ef444480}.deadline-dot{background:var(--su-accent-3);width:7px;height:7px;box-shadow:none;border-radius:999px;flex:0 0 7px}.deadline-pill.warning .deadline-dot{box-shadow:none;background:#f59e0b}.deadline-pill.expired .deadline-dot{box-shadow:none;background:#ef4444}.deadline-text{text-overflow:ellipsis;min-width:0;overflow:hidden}.stop-square,.pause-square{background:var(--su-surface);color:#f87171;cursor:pointer;width:40px;height:40px;box-shadow:none;transition:background .16s var(--su-ease-out), border-color .16s var(--su-ease-out), color .16s var(--su-ease-out), opacity .16s var(--su-ease-out), transform .12s var(--su-ease-out);border:1px solid #ffffff1a;border-radius:8px;place-items:center;display:inline-grid}.stop-square-icon{background:currentColor;border-radius:1px;width:12px;height:12px}.stop-square:hover{color:#fecaca;background:#450a0a94;border-color:#f8717185}.pause-square{color:#fbbf24;flex:0 0 40px}.pause-square:hover:not(:disabled){color:#fde68a;background:#422006;border-color:#fbbf24}.pause-square:focus-visible{outline-offset:2px;outline:2px solid}.stop-square:disabled,.pause-square:disabled{opacity:.45;cursor:not-allowed;transform:none}.stop-square:active,.pause-square:active:not(:disabled){transform:scale(.97)}.tab-btn{border:1px solid var(--su-chip-border);background:var(--su-surface);min-height:40px;color:var(--su-text-muted);cursor:pointer;border-radius:12px 12px 0 0;align-items:center;gap:8px;padding:8px 10px;display:inline-flex}.tab-btn.active{color:var(--su-text);border-bottom-color:#5f7cffd1;box-shadow:inset 0 -2px #5f7cffe6}.tab-btn .close{opacity:.75}.add-tab{border:1px solid var(--su-chip-border);background:var(--su-surface);color:#dbe7ff;cursor:pointer;width:40px;height:40px;box-shadow:none;transition:transform .12s var(--su-ease-out), border-color .16s var(--su-ease-out), color .16s var(--su-ease-out);border-radius:12px;font-size:20px;line-height:1}.lang-switch--compact{background:var(--su-surface);min-height:40px;box-shadow:none;border-color:#ffffff1a;border-radius:8px;gap:2px;padding:2px}.lang-switch--compact .lang-pill{color:#f4f6ffad;border-radius:6px;min-width:36px;height:34px;padding:0 9px;font-size:12px;font-weight:750;transform:none}.lang-switch--compact .lang-pill:hover{color:var(--su-text);background:#ffffff0a;transform:none}.lang-switch--compact .lang-pill.active{color:#fff;background:#5f7cff8a;box-shadow:inset 0 0 0 1px #cfd8ff2e}.add-tab:hover{border-color:var(--su-border-strong);color:#fff;transform:translateY(-1px)}.add-tab-inline{flex:none}.terminal-frame-wrap{border:1px solid var(--su-border-strong);z-index:1;min-height:0;box-shadow:none;background:#030712;border-radius:0 12px 12px;margin-top:0;position:relative;overflow:hidden}.terminal-frame{border:0;width:100%;height:100%;display:none;position:absolute;top:0;bottom:0;left:0;right:0}.terminal-frame.active{display:block}.empty-terminal{color:var(--su-text-muted);padding:14px}.terminal-wait{text-align:center;place-content:center;justify-items:center;gap:10px;height:100%;min-height:220px;padding:24px;display:grid}.spinner{border:4px solid #5f7cff33;border-top-color:#90b4ff;border-radius:999px;width:42px;height:42px;animation:.9s linear infinite spin}.wait-title{color:var(--su-text);font-weight:700}.wait-sub{color:var(--su-text-muted);max-width:420px}.socket-pill{border:1px solid #0000;border-radius:999px;padding:4px 10px;font-size:12px}.socket-pill.online{color:#86efac;background:#22c55e33;border-color:#22c55e59}.socket-pill.offline{color:#fcd34d;background:#f59e0b33;border-color:#f59e0b59}.wait-err{color:#fca5a5;font-size:12px}.terminal-notice{flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 8px;display:flex}.terminal-failure{text-align:center;place-content:center;justify-items:center;gap:10px;max-width:620px;height:100%;min-height:220px;margin:0 auto;padding:24px;display:grid}.failure-mark{color:#fecaca;background:#7f1d1d47;border:1px solid #f8717180;border-radius:999px;place-items:center;width:42px;height:42px;font-size:24px;font-weight:800;display:grid}.failure-title{color:var(--su-text);font-weight:750}.failure-hint{max-width:520px;color:var(--su-text-muted);text-wrap:pretty;line-height:1.5}.failure-code{color:#fecaca;align-items:center;gap:8px;max-width:100%;margin-top:4px;font-size:12px;display:flex}.failure-code code{color:#fee2e2;overflow-wrap:anywhere;background:#7f1d1d52;border-radius:6px;max-width:100%;padding:4px 8px}.desc-check-wrap{justify-content:center;margin-top:12px;display:flex}.desc-check-btn{min-width:180px}.exam-desc-spoiler details{background:#ffffff05;border:1px solid #ffffff1a;border-radius:10px;padding:8px 10px}.exam-desc-spoiler summary{cursor:pointer;color:var(--su-text-muted);-webkit-user-select:none;user-select:none;font-size:13px}.exam-desc-spoiler .exam-base-desc{margin-top:8px}.exam-current-step{box-shadow:none;background:#5f7cff12;border:1px solid #5f7cff70;border-radius:10px;padding:10px}.exam-flow{gap:8px;margin-top:12px;display:grid}.exam-progress{color:var(--su-text-muted);font-size:13px}.exam-steps{gap:8px;display:grid}.exam-step{background:#ffffff05;border:1px solid #ffffff1a;border-radius:10px;padding:8px 10px}.exam-step.current{border-color:#5f7cff70;box-shadow:0 0 0 1px #5f7cff1f}.exam-step.done{border-color:#22c55e73}.exam-step-head{justify-content:space-between;align-items:center;gap:10px;font-weight:600;display:flex}.exam-current-step .exam-step-picker+.exam-step-head{margin-top:16px}.guided-step-label{color:var(--su-text-muted);letter-spacing:.02em;margin-bottom:10px;font-size:12px;font-weight:700}.exam-step-head-actions{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.exam-step-title-md{min-width:0}.exam-step-title-md p{margin:0}.exam-step-pill{border:1px solid #0000;border-radius:999px;padding:2px 8px;font-size:11px}.exam-step-pill.current{color:#cabdff;background:#7c5cff2e;border-color:#7c5cff59}.exam-step-pill.done{color:#86efac;background:#22c55e29;border-color:#22c55e59}.exam-step-picker{gap:6px;display:grid}.exam-step-picker-label,.exam-step-local-notes-title,.exam-step-local-note-status{color:var(--su-text-muted);font-size:12px}.exam-step-picker-trigger,.exam-step-picker-option{width:100%;color:var(--su-text);background:#ffffff08;border:1px solid #ffffff1f;border-radius:10px}.exam-step-picker-trigger{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.exam-step-picker-trigger.open{border-color:#5f7cff70;box-shadow:0 0 0 1px #5f7cff1f}.exam-step-picker-trigger-main,.exam-step-picker-option-main,.exam-step-picker-trigger-meta,.exam-step-picker-option-meta{align-items:center;gap:8px;min-width:0;display:inline-flex}.exam-step-picker-trigger-main,.exam-step-picker-option-main{flex:auto}.exam-step-picker-trigger-text,.exam-step-picker-option-title{text-overflow:ellipsis;white-space:nowrap;text-align:left;min-width:0;overflow:hidden}.exam-step-picker-caret{color:var(--su-text-muted);font-size:12px}.step-note-icon,.step-note-placeholder{text-align:center;flex:0 0 18px;width:18px;font-size:15px;line-height:1}.step-note-placeholder{color:#ffffff38}.step-note-icon.done{color:#22c55e}.step-note-icon.flag{color:#ef4444}.exam-step-picker-menu{background:var(--su-surface);max-height:280px;box-shadow:var(--su-shadow);border:1px solid #ffffff1f;border-radius:10px;gap:6px;padding:6px;display:grid;overflow:auto}.exam-step-picker-option{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;transition:border-color .2s,background .2s,transform .16s;display:flex}.exam-step-picker-option:hover{background:#ffffff0d;border-color:#ffffff2e;transform:translateY(-1px)}.exam-step-picker-option.selected{background:#5f7cff1a;border-color:#5f7cff70}.exam-step-local-notes{border-top:1px solid #ffffff14;gap:8px;margin-top:12px;padding-top:10px;display:grid}.exam-step-local-note-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.exam-note-nav,.exam-note-btn{background:var(--su-chip-bg);cursor:pointer;border:1px solid #ffffff1f;border-radius:10px;width:40px;height:40px;font-size:18px;line-height:1;transition:transform .16s,border-color .2s,background .2s}.exam-note-nav{color:var(--su-text)}.exam-note-btn:hover,.exam-note-nav:hover,.exam-note-clear:hover{transform:translateY(-1px)}.exam-note-nav:disabled{opacity:.38;cursor:not-allowed;transform:none}.exam-note-btn.done{color:#86efac}.exam-note-btn.flag{color:#fca5a5}.exam-note-btn.done.active{background:#22c55e24;border-color:#22c55e8c}.exam-note-btn.flag.active{background:#ef444424;border-color:#ef44448c}.exam-note-clear{color:var(--su-text-muted);cursor:pointer;background:0 0;border:1px solid #ffffff1f;border-radius:10px;padding:8px 12px;transition:border-color .2s,color .2s,transform .16s}.exam-note-clear:hover{color:var(--su-text);border-color:#ffffff2e}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:980px){.header{padding:0 12px}.header .title{font-size:20px}.main{grid-template-rows:minmax(260px,36dvh) minmax(0,1fr);grid-template-columns:1fr!important}.main.left-hidden{grid-template-rows:minmax(0,1fr)}.main.left-hidden .left{display:none}.terminal-area{padding:8px}.tabs-row{flex-wrap:wrap;align-items:flex-start}.tabs-strip{width:100%}.tabs-actions{justify-content:flex-start;width:100%;margin-left:0;padding-bottom:2px;overflow-x:auto}.deadline-pill{min-width:min(180px,100%)}.splitter{display:none}.left{border-right:0;border-bottom:1px solid var(--su-border-soft)}}.web-apps-panel{background:#070c166b;border:1px solid #94a3b82e;border-radius:10px;gap:8px;margin-bottom:12px;padding:12px;display:grid}.web-apps-list{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.web-app-control{padding-bottom:32px;display:inline-flex;position:relative}.web-app-open{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:1px solid #94a3b847;border-radius:50%;place-items:center;padding:0;display:inline-grid}.web-app-open img{object-fit:contain;width:24px;height:24px}.web-app-open:hover:not([aria-disabled=true]){background:#94a3b81f}.web-app-open:focus-visible{outline-offset:3px;outline:2px solid #67e8f9}.web-app-open[aria-disabled=true]{cursor:not-allowed;opacity:.48}.web-app-open[aria-busy=true]{cursor:progress}.web-app-tooltip{z-index:2;color:#f8fafc;white-space:normal;overflow-wrap:anywhere;pointer-events:none;visibility:hidden;background:#1e293b;border-radius:6px;width:max-content;max-width:calc(100vw - 24px);padding:5px 8px;font-size:.8rem;position:absolute;top:52px;left:0}.web-app-control:hover .web-app-tooltip,.web-app-control:focus-within .web-app-tooltip{visibility:visible}.runtime-stop-view{box-sizing:border-box;place-items:center;min-height:100vh;padding:24px;display:grid}.runtime-stop-view section{background:var(--panel,#0c111b);border:1px solid var(--border,#263040);border-radius:12px;width:100%;max-width:560px;padding:24px}.runtime-stop-view .btn{margin:8px 12px 0 0;text-decoration:none;display:inline-flex}.runtime-stop-view h1{font-size:1.5rem;line-height:1.3}.runtime-stop-view .runtime-result-link{color:#fff;background:#116b3d;justify-content:center;align-items:center;min-height:44px}.runtime-stop-view .runtime-result-link:hover{background:#0d5530}.runtime-stop-view a:focus-visible{outline-offset:3px;outline:2px solid #6690ff}
