:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#151f2c;letter-spacing:0;--bg:#f5f6f3;--surface:#fff;--surface-soft:#f8faf7;--line:#dbdfd3;--line-strong:#c9d0c0;--text:#151f2c;--muted:#66715f;--nav:#151f2c;--nav-2:#223140;--teal:#1b9f94;--teal-dark:#00857a;--lime:#9ad80a;--lime-soft:#effbd5;--danger:#b42318;--warning:#9a6200;background:#f5f6f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.shell{grid-template-columns:252px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:radial-gradient(circle at top left, #1b9f9433, transparent 34%), var(--nav);color:#fff;flex-direction:column;gap:28px;padding:22px 16px;display:flex}.brand{align-items:center;gap:12px;min-height:48px;display:flex}.brandMark{background:var(--teal);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-weight:800;display:inline-flex}.brand strong,.brand small{display:block}.brand small{color:#c8d0c3;margin-top:2px;font-size:12px}.sidebar nav{gap:8px;display:grid}.navItem{color:#dce4d6;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;min-height:44px;padding:0 12px;display:flex}.navItem svg{width:18px;height:18px}.navItem.active,.navItem:hover{color:#fff;background:#223140;border-color:#9ad80a52}.user{color:#cbd7c6;overflow-wrap:anywhere;border-top:1px solid #ffffff1f;margin-top:auto;padding-top:16px;font-size:13px}.userMenu{border-top:1px solid #ffffff1f;gap:10px;margin-top:auto;padding-top:16px;display:grid}.userMenu>span{color:#cbd7c6;overflow-wrap:anywhere;font-size:13px}.userMenu button{color:#fff;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 12px;display:inline-flex}.userMenu button:hover{background:#ffffff1a;border-color:#9ad80a57}.authPage{background:radial-gradient(circle at 12% 18%,#1b9f9429,#0000 28%),linear-gradient(135deg,#f5f6f3 0%,#fff 100%);align-items:center;min-height:100vh;padding:24px;display:grid}.authCard{border:1px solid var(--line);background:#fff;border-radius:8px;gap:16px;width:100%;max-width:520px;margin:0 auto;padding:32px;display:grid;box-shadow:0 24px 60px #151f2c1a}.authBrand{color:var(--text);margin-bottom:8px}.authBrand small{color:var(--muted)}.authCard h1{font-size:32px}.authCard p{color:var(--muted);line-height:1.45}.authButton{justify-self:start;margin-top:8px}.main{grid-template-rows:auto auto 1fr;gap:18px;min-width:0;padding:24px;display:grid}.topbar{justify-content:space-between;align-items:center;gap:16px;display:flex}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.15}h2{font-size:18px;line-height:1.2}h3{color:var(--text);letter-spacing:.02em;text-transform:uppercase;font-size:13px}.eyebrow{color:var(--teal-dark);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:12px;font-weight:800;display:block}.topbar p,.detail p,.panel p,.formHeader p{color:var(--muted);margin-top:6px}.iconButton,.primary,.secondary,.danger{white-space:nowrap;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;display:inline-flex}.iconButton{border:1px solid var(--line);color:var(--text);background:#fff;width:42px}.primary{background:var(--teal);color:#fff;font-weight:700}.primary:hover{background:var(--teal-dark)}.linkButton{text-decoration:none}.primary:disabled,.secondary:disabled,.danger:disabled{color:#7b8573;cursor:not-allowed;background:#d8ded1}.secondary{border:1px solid var(--line-strong);color:var(--text);background:#fff}.secondary:hover{border-color:var(--teal)}.danger{background:var(--danger);color:#fff;font-weight:700}.alert,.notice{border-radius:8px;padding:12px 14px}.alert{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa}.notice{color:#365314;background:#effbd5;border:1px solid #c9f56d}.livePreflight{background:#fbfff4;border:1px solid #c9f56d;border-radius:8px;gap:14px;padding:18px;display:grid}.checkboxLine{background:#fff;border:1px solid #e3e8dc;border-radius:8px;align-items:center;gap:10px;padding:12px;font-weight:700;line-height:1.35;display:flex}.checkboxLine input{width:18px;height:18px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.metric,.panel,.form{background:var(--surface);border:1px solid var(--line);border-radius:8px}.metric{gap:8px;min-height:96px;padding:16px;display:grid}.metric span{color:var(--muted);font-size:13px}.metric strong{color:var(--text);overflow-wrap:anywhere;font-size:24px;line-height:1.1}.inlineMetric{min-height:82px;padding:13px 14px}.inlineMetric strong{font-size:16px}.wide{grid-column:1/-1}.panel{min-width:0;padding:18px}.loginPanel{justify-content:space-between;align-items:center;min-height:180px;display:flex}.panelHeader{justify-content:space-between;align-items:start;gap:12px;display:flex}.statusList{gap:0;margin:18px 0 0;display:grid}.statusList div{border-bottom:1px solid #edf0e8;grid-template-columns:160px minmax(0,1fr);gap:10px;padding:12px 0;display:grid}.statusList div:first-child{padding-top:0}dt{color:var(--muted)}dd{overflow-wrap:anywhere;min-width:0;margin:0}.runSurface{grid-template-columns:minmax(560px,.95fr) minmax(460px,1.05fr);align-items:start;gap:18px;min-width:0;display:grid}.runFormColumn{min-width:0}.form{gap:18px;padding:20px;display:grid}.formHeader{justify-content:space-between;align-items:start;gap:16px;display:flex}.flowSteps{background:var(--surface-soft);border:1px solid #e3e8dc;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px;display:grid}.flowSteps div{grid-template-columns:28px 1fr;align-items:center;gap:2px 10px;min-width:0;padding:8px;display:grid}.flowSteps span{background:var(--lime-soft);color:#365314;border:1px solid #d3f777;border-radius:999px;grid-row:span 2;justify-content:center;align-items:center;width:28px;height:28px;font-size:13px;font-weight:800;display:inline-flex}.flowSteps strong,.flowSteps small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.flowSteps small{color:var(--muted);font-size:12px}.formSection{border-top:1px solid #edf0e8;gap:12px;padding-top:16px;display:grid}label{color:#334155;gap:7px;min-width:0;font-size:13px;font-weight:700;display:grid}input,select{color:var(--text);background:#fff;border:1px solid #cbd5c4;border-radius:8px;width:100%;min-height:42px;padding:0 12px}input:focus,select:focus{border-color:var(--teal);outline:none;box-shadow:0 0 0 3px #1b9f9424}.fieldGrid,.formGrid{gap:12px;display:grid}.twoColumns{grid-template-columns:repeat(2,minmax(0,1fr))}.formGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.actions{flex-wrap:wrap;gap:10px;margin-top:2px;display:flex}.primaryActions{background:var(--surface-soft);border:1px solid #e3e8dc;border-radius:8px;margin-top:-4px;padding:10px}.runMonitor{gap:16px;min-width:0;display:grid}.historyPanel{padding-bottom:10px}.historyList{gap:8px;max-height:235px;margin-top:14px;padding-right:2px;display:grid;overflow:auto}.historyItem{color:var(--text);text-align:left;background:#fff;border:1px solid #e5eadf;border-radius:8px;grid-template-columns:auto minmax(120px,1fr) minmax(0,1.4fr);gap:8px;min-height:72px;padding:12px;display:grid}.historyItem:hover,.historyItem.selected{border-color:var(--teal);box-shadow:0 0 0 3px #1b9f941a}.historyItem strong,.historyItem small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.historyItem small{color:var(--muted);font-size:12px}.detailHeader{justify-content:space-between;align-items:start;gap:12px;display:flex}.detailHeader>div{min-width:0}.detailHeader p{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.badge{white-space:nowrap;border-radius:999px;align-items:center;min-height:26px;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.badge.pending,.badge.starting,.badge.running{color:#166534;background:#e7f8ef}.badge.stopping,.badge.stopped,.badge.cancelled{color:#075985;background:#eef6ff}.badge.failed{color:#991b1b;background:#fee2e2}.badge.completed_with_errors{color:#9a3412;background:#fff7ed}.badge.completed{color:#365314;background:#effbd5}.clusterBadge{border-radius:999px;min-height:26px;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.clusterBadge.green{color:#166534;background:#e7f8ef}.clusterBadge.yellow{color:#854d0e;background:#fef9c3}.clusterBadge.red{color:#991b1b;background:#fee2e2}.detailActions{margin-top:16px}.liveProgress,.elasticTarget{background:var(--surface-soft);border:1px solid #e3e8dc;border-radius:8px;gap:14px;margin-top:16px;padding:14px;display:grid}.elasticTarget{margin-top:16px}.liveBadge{color:#166534;background:#e7f8ef;border-radius:999px;align-items:center;min-height:26px;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.liveBadge:before{background:var(--teal);content:"";border-radius:999px;width:7px;height:7px;margin-right:7px}.progressBlock{gap:8px;display:grid}.progressMeta{justify-content:space-between;align-items:center;gap:12px;display:flex}.progressMeta strong,.progressMeta span{font-size:13px}.progressMeta span{color:var(--muted)}.progressTrack{background:#e8ede1;border-radius:999px;height:10px;overflow:hidden}.progressTrack div{background:linear-gradient(90deg, var(--teal), var(--lime));border-radius:inherit;min-width:2px;height:100%;transition:width .24s}.runtimeGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.runtimeGrid .metric,.estimateGrid .metric{min-height:82px;padding:12px}.runtimeGrid .metric strong,.estimateGrid .metric strong{font-size:20px}.detailList{background:var(--surface-soft);border:1px solid #e3e8dc;border-radius:8px;margin-top:16px;padding:12px 14px}.detailList div{grid-template-columns:120px minmax(0,1fr)}.detailColumns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.logList,.fileList{border:1px solid #edf0e8;border-radius:8px;max-height:220px;margin-top:10px;display:grid;overflow:auto}.logRow,.fileRow{gap:4px;padding:10px 12px;display:grid}.logRow.warn,.fileRow.warn{background:#fffaf0}.logRow.error{background:#fff1f2}.fileRowHeader{justify-content:space-between;align-items:center;gap:10px;display:flex}.logRow:not(:last-child),.fileRow:not(:last-child){border-bottom:1px solid #edf0e8}.logRow span,.fileRow span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.logRow small,.fileRow small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.diagnosticText{color:#9a3412!important;white-space:normal!important}.emptyState,.emptyDetail{color:var(--muted)}.emptyState{padding:12px}.emptyDetail{text-align:center;place-items:center;min-height:260px;display:grid}.emptyDetail svg{color:var(--teal)}.estimatePanel{background:var(--surface-soft);border:1px solid #dfe5d8;border-radius:8px;gap:16px;padding:16px;display:grid}.estimateHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}.estimateHeader strong{color:var(--teal-dark);font-size:22px}.estimateGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.compact{margin-top:0}.segmented{background:#edf2e7;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;display:grid}.segmented button{background:0 0;border:0;border-radius:6px;min-height:38px}.segmented .selected{background:#fff;box-shadow:0 1px 2px #151f2c1f}.workflowSwitch{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:4px}@media (width<=1240px){.runSurface,.runMonitor{grid-template-columns:1fr}}@media (width<=980px){.shell{grid-template-columns:1fr}.sidebar{position:static}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.navItem{justify-content:center}.navItem span{display:none}.grid,.formGrid,.estimateGrid,.runtimeGrid,.detailColumns,.twoColumns,.flowSteps,.historyItem,.statusList div{grid-template-columns:1fr}}@media (width<=560px){.main{padding:16px}.topbar{align-items:flex-start}h1{font-size:24px}}
