:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #63707b;
  --line: #dfe5e8;
  --surface: #ffffff;
  --canvas: #f4f7f6;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --danger: #b42318;
  --soft-accent: #dff4ef;
  --blue: #2563eb;
  --warning: #9a6700;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; }
a { color: inherit; text-decoration: none; }
.topbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(24px, calc((100vw - 1280px) / 2)); background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; letter-spacing: .02em; font-size: 18px; }.brand span { color: var(--muted); font-size: 13px; font-weight: 600; margin-left: 8px; }
.topnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }.topnav a { padding: 9px 10px; border-radius: 5px; color: var(--muted); font-size: 13px; font-weight: 650; }.topnav a:hover { color: var(--accent); background: var(--soft-accent); }
.shell { max-width: 1280px; margin: 0 auto; padding: 44px 24px 80px; }.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; } h1 { font-size: 36px; line-height: 1.12; margin: 8px 0; letter-spacing: 0; } h2 { font-size: 21px; margin: 8px 0 20px; letter-spacing: 0; }.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; }.muted { color: var(--muted); }.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }.upload-panel, .progress-panel, .source-card, .auth-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }.upload-panel { padding: 22px; }.drop-zone { min-height: 245px; border: 1.5px dashed #9dbab4; border-radius: 6px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; cursor: pointer; background: #fbfdfc; }.drop-zone.is-dragging { background: var(--soft-accent); border-color: var(--accent); }.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }.drop-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-accent); color: var(--accent); font-size: 24px; font-weight: 700; }.file-list { margin: 16px 0 4px; }.file-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }.file-type { color: var(--accent-dark); background: var(--soft-accent); border-radius: 4px; font-size: 10px; font-weight: 800; padding: 3px 5px; text-align: center; }.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.remove-file { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; padding: 3px 0; }.remove-file:hover { color: var(--danger); }.upload-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; }.button { border: 1px solid transparent; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; cursor: pointer; font: inherit; font-weight: 700; }.button:disabled { cursor: wait; opacity: .6; }.button-primary { background: var(--accent); color: white; }.button-primary:hover { background: var(--accent-dark); }.button-quiet { background: transparent; border-color: var(--line); color: var(--ink); }.button-small { min-height: 32px; padding: 0 11px; font-size: 12px; border-color: var(--line); margin-top: 14px; }.side-note { padding: 20px 2px; }.metric-list { border-top: 1px solid var(--line); }.metric-list div { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }.metric-list b { color: var(--accent); font-family: ui-monospace, monospace; font-size: 12px; width: 34px; }.metric-list span { color: var(--muted); font-size: 13px; }
.auth-panel { max-width: 430px; margin: 40px auto; padding: 34px; }.stack { display: grid; gap: 15px; margin-top: 26px; } label { display: grid; gap: 7px; font-weight: 700; } input, select, textarea { width: 100%; border: 1px solid #c7d1d4; border-radius: 5px; padding: 11px 12px; background: #fff; color: var(--ink); font: inherit; letter-spacing: 0; } textarea { resize: vertical; } input:focus, select:focus, textarea:focus { outline: 2px solid #99d7cb; outline-offset: 1px; border-color: var(--accent); }.alert { margin-top: 16px; border-radius: 5px; padding: 11px 13px; font-size: 13px; }.alert-error, .record-error { color: var(--danger); background: #fff1f0; border: 1px solid #f5c5c1; }.hidden { display: none !important; }
.recent-section { margin-top: 42px; }.section-heading { display: flex; justify-content: space-between; align-items: end; }.recent-table { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }.recent-row { display: grid; grid-template-columns: minmax(0, 1.6fr) auto 1fr 1fr; align-items: center; gap: 18px; padding: 13px 17px; border-bottom: 1px solid var(--line); }.recent-name { display: grid; min-width: 0; gap: 2px; }.recent-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.recent-row:last-child { border-bottom: 0; }.recent-row:hover { background: #fbfdfc; }.empty-state { padding: 20px 0; }
.job-heading { align-items: center; }.job-heading > div { min-width: 0; flex: 1; }.job-heading .button { flex-shrink: 0; }#job-name, #workflow-name { overflow-wrap: anywhere; }.progress-panel { padding: 20px; margin-bottom: 18px; }.progress-meta, .progress-context { display: flex; justify-content: space-between; gap: 16px; }.progress-context { color: var(--muted); font-size: 13px; }.progress-track { background: #e8eeee; border-radius: 10px; height: 8px; overflow: hidden; margin: 13px 0 9px; }.progress-bar { background: var(--accent); height: 100%; width: 0; transition: width .25s ease; }.job-actions { display: flex; justify-content: flex-end; margin: 18px 0; }.results-list { display: grid; gap: 14px; }.source-card { overflow: hidden; }.source-header { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 16px 18px; background: #fbfcfc; border-bottom: 1px solid var(--line); }.source-header strong { display: block; }.source-header .muted { display: block; font-size: 12px; margin-top: 3px; }.record-row { padding: 16px 18px; border-bottom: 1px solid var(--line); }.record-row:last-child { border-bottom: 0; }.record-title { display: flex; justify-content: space-between; align-items: center; gap: 15px; }.stats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }.stats span { min-width: 78px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 11px; }.stats b { display: block; color: var(--ink); font-size: 14px; }.record-error { padding: 9px 11px; margin-top: 11px; font-size: 12px; }.status { border-radius: 99px; padding: 4px 8px; white-space: nowrap; font-size: 11px; font-weight: 800; }.status-queued { color: #8a5a00; background: #fff5d8; }.status-processing { color: #075985; background: #e0f2fe; }.status-completed { color: #166534; background: #dcfce7; }.status-partial { color: #7c2d12; background: #ffedd5; }.status-failed { color: var(--danger); background: #fff1f0; }
.status-running, .status-waiting_review { color: #075985; background: #e0f2fe; }.status-succeeded { color: #166534; background: #dcfce7; }.status-canceled, .status-rejected { color: #505a63; background: #e9edef; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; flex: 0 0 36px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); font: 700 18px/1 system-ui; cursor: pointer; }.icon-button:hover { border-color: var(--accent); color: var(--accent); }
.compact-heading { align-items: center; }.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }.project-card { display: grid; min-height: 220px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }.project-card h2 { margin-bottom: 4px; }.project-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 17px 0; }.tool-link { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; font-weight: 700; }.tool-link:hover { border-color: #9dbab4; background: #fbfdfc; }.tool-link span, .panel-index { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 4px; background: var(--soft-accent); color: var(--accent-dark); font-size: 11px; font-weight: 850; }.project-meta { align-self: end; color: var(--muted); }.run-row { grid-template-columns: minmax(0, 1.5fr) auto auto 1fr; }.run-kind { color: var(--muted); font-size: 12px; font-weight: 700; }
.dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 70px #17212b33; }.dialog::backdrop { background: #17212b66; }.dialog form { padding: 22px; margin: 0; }.dialog-heading { display: flex; justify-content: space-between; align-items: center; }.dialog-heading h2 { margin: 0; }.form-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }.workspace-heading h1 { font-size: 30px; }.step-label, .project-chip, .tag-warning { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border-radius: 4px; font-size: 11px; font-weight: 800; }.step-label, .project-chip { color: var(--accent-dark); background: var(--soft-accent); }.tag-warning { color: var(--warning); background: #fff5d8; }.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }.tool-panel, .wide-tool-panel { padding: 24px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }.tool-panel.stack { margin: 0; gap: 18px; }.wide-tool-panel { max-width: 980px; }.panel-title { display: flex; align-items: start; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }.panel-title h2 { margin: 0 0 3px; }.panel-title p { margin: 0; color: var(--muted); }.panel-index { flex: 0 0 32px; width: 32px; height: 32px; }.workflow-aside { padding: 12px 0; }.output-list { border-top: 1px solid var(--line); }.output-list div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }.output-list dt { color: var(--accent-dark); font-size: 11px; font-weight: 850; }.output-list dd { margin: 0; color: var(--muted); font-size: 13px; }.callout { padding: 12px 14px; border-left: 3px solid var(--accent); background: #f2f8f6; color: #47545d; font-size: 13px; }.or-divider { height: 1px; position: relative; background: var(--line); margin: 4px 0; }.or-divider span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 0 9px; background: var(--surface); color: var(--muted); font-size: 11px; }.form-grid { display: grid; gap: 17px; margin: 22px 0; }.two-column { grid-template-columns: 1fr 1fr; }.span-two { grid-column: 1 / -1; } fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 15px; } legend { padding: 0 7px; font-weight: 800; }.endpoint-row { display: grid; grid-template-columns: 1fr 120px; gap: 8px; }.inline-tool { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 26px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }.inline-tool h2 { margin-bottom: 3px; }.inline-tool p { margin: 0; }.inline-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: center; gap: 10px; min-width: min(520px, 50%); }.inline-form .alert { grid-column: 1/-1; }
.run-usage { margin-top: 20px; }
.execution-panel { margin: 20px 0 28px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.execution-panel .section-heading { margin-bottom: 16px; }
.execution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.execution-card { min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fbfdfc; }
.execution-card span { display: block; color: var(--muted); font-size: 12px; }
.execution-card strong { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
#run-pipeline { white-space: normal; overflow-wrap: anywhere; font-family: inherit; }
.execution-note { margin: 14px 0 0; font-size: 12px; }
.run-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 24px; }.artifact-list, .event-list { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }.artifact-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--line); }.artifact-row:last-child { border-bottom: 0; }.artifact-row small { display: block; margin-top: 2px; color: var(--muted); font-family: ui-monospace, monospace; }.artifact-actions { display: flex; align-items: center; gap: 7px; }.artifact-actions .button-small { margin: 0; }.event-row { display: grid; grid-template-columns: 80px 1fr; gap: 9px; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: 13px; }.event-row time { color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; }.event-error { color: var(--danger); }.review-panel { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }.compact-input { max-width: 260px; }.table-scroll { overflow: auto; max-height: 560px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }.review-table { width: 100%; border-collapse: collapse; font-size: 13px; }.review-table th { position: sticky; top: 0; z-index: 1; background: #f7f9f8; text-align: left; color: var(--muted); }.review-table th, .review-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }.review-position { min-width: 110px; padding: 7px 8px; }.review-note { margin: 17px 0; }
.dataset-import { margin: 0 0 28px; }.dataset-import .inline-form { grid-template-columns: 160px minmax(210px,1fr) auto; }.report-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 10px; }.report-grid article { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }.report-grid span, .report-grid small { color: var(--muted); }
@media (max-width: 900px) { .topbar { align-items: flex-start; flex-wrap: wrap; padding: 13px 18px; gap: 8px; }.topnav { width: 100%; order: 3; overflow-x: auto; }.topnav a { white-space: nowrap; }.workspace-grid, .run-layout { grid-template-columns: 1fr; }.workflow-aside { order: -1; }.inline-tool { align-items: stretch; flex-direction: column; }.inline-form { min-width: 0; width: 100%; } }
@media (max-width: 720px) { .brand span { display: none; }.topnav { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0; }.topnav a { padding: 8px 5px; font-size: 12px; }.shell { padding: 30px 16px 60px; }.upload-layout { grid-template-columns: 1fr; }.side-note { padding: 5px 2px 20px; order: -1; }.page-heading, .workspace-heading, .job-heading { align-items: start; flex-direction: column; }.job-heading h1 { font-size: 28px; }.job-heading .button { align-self: flex-end; }.upload-footer { align-items: stretch; flex-direction: column; }.upload-footer .button { width: 100%; }.source-header, .record-title { align-items: start; flex-direction: column; gap: 8px; }.auth-panel { margin: 20px auto; padding: 25px 20px; }.stats span { flex: 1 0 29%; }.recent-row, .run-row { grid-template-columns: 1fr auto; gap: 6px 12px; }.recent-row .muted { font-size: 12px; }.two-column { grid-template-columns: 1fr; }.span-two { grid-column: auto; }.endpoint-row { grid-template-columns: 1fr 105px; }.inline-form, .dataset-import .inline-form { grid-template-columns: minmax(0, 1fr); }.inline-form > * { min-width: 0; max-width: 100%; }.dataset-import .inline-form .button { width: 100%; }.project-grid { grid-template-columns: 1fr; }.artifact-row { grid-template-columns: 60px minmax(0, 1fr); }.artifact-actions { grid-column: 1/-1; justify-content: flex-end; }.compact-input { max-width: 100%; } }
