@import "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap";:root{color:#17211f;font-synthesis:none;text-rendering:geometricprecision;--ink:#17211f;--muted:#687470;--line:#c4cdca;--panel:#f6f8f7;--steel:#e4e9e7;--blue:#205ee8;--amber:#ed8c28;--red:#c84635;--green:#21785c;background:#d9dfdc;font-family:IBM Plex Sans,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{overflow:hidden}button,input,select{font:inherit}button{color:inherit}button:focus-visible,summary:focus-visible{outline-offset:2px;outline:3px solid #205ee859}.app-shell{background:var(--steel);grid-template-rows:66px minmax(0,1fr) 28px;height:100vh;min-height:100vh;display:grid;overflow:hidden}.topbar{z-index:10;background:#f9faf9f7;border-bottom:1px solid #aab5b1;grid-template-columns:310px minmax(0,1fr) auto;align-items:center;display:grid}.brand-lockup{border-right:1px solid var(--line);align-items:center;gap:12px;height:100%;padding:0 20px;display:flex}.brand-mark{background:var(--ink);grid-template-columns:repeat(3,1fr);align-items:end;gap:3px;width:30px;height:30px;padding:5px;display:grid}.brand-mark span{background:#fff;height:8px}.brand-mark span:nth-child(2){background:#7fa3ff;height:17px}.brand-mark span:nth-child(3){height:12px}.brand-name{letter-spacing:.07em;font-family:Barlow Condensed,sans-serif;font-size:22px;font-weight:700;line-height:1}.brand-subtitle{color:var(--muted);margin-top:4px;font-size:10px}.job-identity{align-items:baseline;gap:10px;min-width:0;padding:0 20px;display:flex}.job-identity strong{font-family:Barlow Condensed,sans-serif;font-size:21px}.job-identity span{color:var(--muted);font-size:11px}.cell-health{border-left:1px solid var(--line);color:#315e50;align-items:center;gap:9px;height:100%;padding:0 20px;font-size:11px;font-weight:700;display:flex}.cell-health.attention{color:#88461f}.cell-health.attention .status-dot{background:var(--amber);box-shadow:0 0 0 4px #ed8c2824}.cell-health.complete{color:var(--green)}.status-dot{background:#36a57c;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 4px #36a57c1f}.workspace{grid-template-columns:310px minmax(0,1fr);min-height:0;display:grid}.operator-panel{z-index:5;background:var(--panel);border-right:1px solid #aeb9b5;min-height:0;overflow-y:auto}.operator-intro{border-bottom:1px solid var(--line);padding:20px 18px 16px}.operator-intro p{color:#485652;max-width:30ch;margin:0;font-size:12px;line-height:1.55}.scenario-picker{border:0;border-bottom:1px solid var(--line);gap:7px;margin:0;padding:16px 14px 18px;display:grid}.scenario-picker legend{padding:0 4px;font-family:Barlow Condensed,sans-serif;font-size:16px;font-weight:700}.scenario-picker button{text-align:left;cursor:pointer;background:#fff;border:1px solid #c1cac7;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;width:100%;min-height:55px;padding:8px 12px;display:flex}.scenario-picker button:hover{border-color:#7d91c9}.scenario-picker button.selected{box-shadow:inset 4px 0 0 var(--blue);background:#edf2ff;border-color:#6f8ee4}.scenario-picker button span{font-size:11px;font-weight:700}.scenario-picker button small{color:var(--muted);font-size:9px;line-height:1.35}.scenario-picker:disabled button{cursor:not-allowed;opacity:.62}.process-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:40px;padding:0 16px;font-size:11px;font-weight:700;display:flex}.process-heading strong{color:var(--muted);font-size:9px}.process-rail{margin:0;padding:6px 14px 10px;list-style:none}.process-rail li{color:#7c8783;grid-template-columns:26px 1fr;align-items:center;gap:10px;min-height:38px;display:grid;position:relative}.process-rail li:not(:last-child):after{content:"";background:#d0d7d4;width:2px;position:absolute;top:31px;bottom:-7px;left:12px}.process-rail li>span{z-index:1;background:#fff;border:1px solid #b8c2be;border-radius:50%;place-items:center;width:25px;height:25px;font-size:9px;display:grid}.process-rail li strong{font-size:10px;font-weight:600}.process-rail li.active{color:var(--ink)}.process-rail li.active>span{color:#fff;border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 4px #205ee81f}.process-rail li.done>span{color:#fff;border-color:var(--green);background:var(--green)}.process-rail li.done:not(:last-child):after{background:#75ad9a}.recovery-card{box-shadow:inset 3px 0 0 var(--amber);color:#6b401c;background:#fff4e6;border:1px solid #d9a261;grid-template-columns:23px 1fr;gap:8px 10px;margin:10px 14px 14px;padding:12px;display:grid}.recovery-card div{min-width:0}.recovery-card strong{font-size:10px;display:block}.recovery-card p{overflow-wrap:anywhere;margin:4px 0 0;font-size:9px;line-height:1.45}.recovery-card button{color:#fff;cursor:pointer;background:#8b531f;border:1px solid #9a5d24;grid-column:1/-1;min-height:36px;font-size:10px;font-weight:700}.recovery-card button:disabled{opacity:.6;cursor:default}.recovery-success{color:#245e4b;background:#edf7f3;border:1px solid #95c2b1;gap:10px;margin:10px 14px 14px;padding:11px;display:flex}.recovery-success span{flex-direction:column;gap:3px;display:flex}.recovery-success strong{font-size:10px}.recovery-success small{font-size:9px;line-height:1.4}.technical-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.technical-details summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:44px;padding:0 16px;font-size:11px;font-weight:700;display:flex}.technical-details summary:after{content:"+";font-size:18px;font-weight:400}.technical-details[open] summary:after{content:"−"}.technical-content{padding:0 14px 16px}.technical-row{border-top:1px solid #dce2e0;justify-content:space-between;align-items:center;gap:12px;min-height:36px;font-size:9px;display:flex}.technical-row span{color:var(--muted)}.technical-row strong{text-align:right;overflow-wrap:anywhere;max-width:56%}.component-detail{border-top:1px solid #dce2e0;flex-direction:column;gap:3px;padding:12px 0;display:flex}.component-detail small,.component-detail span{color:var(--muted);font-size:8px}.component-detail strong{font-family:Barlow Condensed,sans-serif;font-size:17px}.technical-toggle,.export-button{cursor:pointer;background:#fff;border:1px solid #aebbb7;justify-content:center;align-items:center;gap:7px;width:100%;min-height:36px;margin-top:7px;font-size:9px;font-weight:700;display:flex}.export-button{color:#fff;border-color:var(--ink);background:var(--ink)}.export-button:disabled{color:#8b9491;cursor:not-allowed;background:#e8eceb;border-color:#cbd2d0}.scope-note{color:var(--muted);margin:12px 0 0;font-size:8px;line-height:1.5}.viewport{background:#dfe5e3;min-width:0;min-height:0;position:relative;overflow:hidden}.viewport canvas{display:block}.scene-loading{color:#61706d;background:#e7ebea;place-content:center;justify-items:center;gap:12px;font-size:10px;display:grid;position:absolute;inset:0}.scene-loading span{border:2px solid #bac5c2;border-top-color:var(--blue);border-radius:50%;width:30px;height:30px;animation:.7s linear infinite spin}.scene-error{z-index:2;color:#5b2420;background:#f3e9e5;place-content:center;justify-items:center;gap:8px;font-size:11px;display:grid;position:absolute;inset:0}.scene-error strong{color:var(--red);font-family:Barlow Condensed,sans-serif;font-size:24px}.scene-error button{cursor:pointer;background:#fff9f7;border:1px solid #bd6d61;margin-top:6px;padding:8px 18px}.viewport-meta{pointer-events:none;gap:7px;display:flex;position:absolute;top:14px;left:14px;right:14px}.view-chip{color:#4f5d59;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);pointer-events:auto;background:#f9fafae6;border:1px solid #74827d61;align-items:center;gap:7px;min-height:31px;padding:0 10px;font-size:9px;display:inline-flex}button.view-chip{cursor:pointer}.view-chip.toggle.on{color:#174ab7;background:#ebf1fff0;border-color:#7897ea}.control-deck{border:1px solid #1f2b276b;border-top:4px solid var(--blue);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f9faf9f0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;min-height:96px;padding:14px 14px 14px 18px;display:grid;position:absolute;bottom:18px;left:22px;right:22px;box-shadow:0 18px 45px #1f2b2733}.control-deck.has-fault{border-top-color:var(--amber)}.control-deck.is-complete{border-top-color:var(--green)}.run-status{flex-direction:column;gap:5px;min-width:0;display:flex}.run-status>span{color:var(--muted);font-size:9px;font-weight:700}.run-status>strong{text-overflow:ellipsis;white-space:nowrap;font-family:Barlow Condensed,sans-serif;font-size:22px;line-height:1.05;overflow:hidden}.progress-track{background:#ced6d3;height:4px;margin-top:4px;overflow:hidden}.progress-track span{background:var(--blue);height:100%;transition:width .1s linear;display:block}.is-complete .progress-track span{background:var(--green)}.run-actions{align-items:stretch;gap:7px;display:flex}.run-actions button{cursor:pointer;background:#fff;border:1px solid #aeb9b5;min-width:72px;height:48px;font-size:10px;font-weight:700}.run-actions button:disabled{color:#8a9491;cursor:not-allowed;background:#e8eceb}.run-actions .primary-run{color:#fff;background:var(--blue);border-color:#174fc4;justify-content:center;align-items:center;gap:8px;min-width:132px;font-size:12px;display:flex;box-shadow:0 7px 16px #205ee83b}.run-actions .primary-run:disabled{color:#7d8985;box-shadow:none;background:#dce2df;border-color:#bdc7c3}.statusbar{color:#c9d0ce;background:#202827;border-top:1px solid #929f9b;align-items:center;gap:18px;padding:0 12px;font-size:8px;display:flex}.statusbar>div{white-space:nowrap;align-items:center;gap:6px;display:flex}.statusbar strong{color:#fff}.statusbar-spacer{flex:1}.toast{z-index:30;color:#fff;background:#202827;align-items:center;gap:9px;max-width:min(90vw,620px);padding:10px 14px;font-size:11px;animation:.18s ease-out toast-in;display:flex;position:fixed;bottom:46px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #18201f40}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}@media (width<=820px){body{overflow:auto}.app-shell{grid-template-rows:58px auto 28px;height:auto;min-height:100vh;overflow:hidden}.topbar{grid-template-columns:150px minmax(0,1fr);height:58px;position:sticky;top:0}.brand-lockup{padding:0 11px}.brand-mark{width:24px;height:24px;padding:4px}.brand-name{font-size:18px}.brand-subtitle,.cell-health{display:none}.job-identity{text-align:right;justify-content:flex-end;padding:0 11px}.job-identity strong{font-size:17px}.job-identity span{display:none}.workspace{flex-direction:column;display:flex}.viewport{order:1;width:100%;height:64vh;min-height:480px}.operator-panel{border:0;order:2;width:100%;overflow:visible}.operator-intro p{max-width:62ch}.scenario-picker{grid-template-columns:repeat(3,1fr)}.scenario-picker legend{grid-column:1/-1}.scenario-picker button{min-width:0;padding:8px}.process-rail{grid-template-columns:repeat(5,1fr);padding:10px;display:grid}.process-rail li{text-align:center;flex-direction:column;gap:5px;min-width:0;display:flex}.process-rail li:not(:last-child):after{width:auto;height:2px;inset:12px calc(13px - 50%) auto calc(50% + 13px)}.process-rail li strong{font-size:8px;line-height:1.2}.control-deck{grid-template-columns:1fr;gap:10px;min-height:132px;padding:12px;bottom:9px;left:9px;right:9px}.run-status>strong{white-space:normal;font-size:19px}.run-actions{min-width:0;display:flex}.run-actions button{flex:1 1 0;min-width:0}.run-actions .primary-run{flex:1.4 1 0;min-width:0}.viewport-meta{top:9px;left:9px;right:9px}.statusbar>div:last-child{display:none}}@media (width<=430px){.scenario-picker{grid-template-columns:1fr}.scenario-picker legend{grid-column:auto}.viewport{height:68vh;min-height:500px}.view-chip{padding:0 8px;font-size:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
