:root { color: #17212b; background: #f4f6f7; font-family: Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }
.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.topbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d6dce0; }
.brand { color: #15202b; font-size: 22px; font-weight: 700; text-decoration: none; letter-spacing: 0; }
.account { display: flex; align-items: center; gap: 12px; color: #465765; font-size: 14px; }
.icon-button { width: 34px; height: 34px; border: 1px solid #bfc9cf; border-radius: 5px; background: #fff; color: #263744; font-size: 20px; line-height: 1; }
.icon-button:hover, .icon-button:focus-visible { background: #e8f0f3; border-color: #657983; }
.auth { display: grid; justify-content: center; padding: 44px 0; }
.state { padding: 48px 0; color: #5d6d79; text-align: center; }
.error { color: #a63030; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 16px; }
h1 { margin: 0; font-size: 25px; letter-spacing: 0; }
.section-heading p { margin: 6px 0 0; color: #5d6d79; font-size: 14px; }
.table-wrap { overflow-x: auto; border-top: 2px solid #1d5d70; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 13px 12px; border-bottom: 1px solid #dce2e5; text-align: left; font-size: 14px; vertical-align: middle; }
th { color: #53636f; font-weight: 600; white-space: nowrap; }
td:first-child { min-width: 250px; }
.job-link { color: #145e76; background: none; border: 0; padding: 0; text-align: left; }
.status { display: inline-block; min-width: 74px; color: #225c3d; }
.status.failed { color: #a63030; }.status.queued,.status.running { color: #9a5d00; }
.delete { color: #8c2929; border: 0; background: none; }
.more { margin: 16px 0 40px; padding: 8px 12px; border: 1px solid #8ca0aa; border-radius: 4px; background: transparent; color: #173f50; }
dialog { width: min(640px, calc(100% - 32px)); border: 1px solid #aebdc4; border-radius: 6px; padding: 0; color: #182631; }
dialog::backdrop { background: rgb(16 32 42 / 42%); }
dialog header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #dce2e5; }
#job-detail { padding: 16px; }
.detail-status { margin: 0 0 14px; font-weight: 600; color: #225c3d; }.detail-status.failed, .detail-error { color: #a63030; }.detail-status.queued,.detail-status.running { color: #9a5d00; }
.stage-list,.event-list { margin: 0; padding: 0; list-style: none; }.stage-list { display: grid; gap: 5px; }
.stage-item { position: relative; padding-left: 20px; color: #76848d; font-size: 14px; }.stage-item::before { content: "○"; left: 0; position: absolute; }.stage-item.complete { color: #225c3d; }.stage-item.complete::before { content: "✓"; }.stage-item.current { color: #9a5d00; font-weight: 600; }.stage-item.current::before { content: "◌"; }.stage-item.failed { color: #a63030; font-weight: 600; }.stage-item.failed::before { content: "!"; }
#job-detail h2 { margin: 20px 0 8px; font-size: 16px; }.event-list { display: grid; gap: 5px; color: #52636d; font-size: 13px; }.detail-error { margin: 14px 0 0; }
.artifacts { display: flex; flex-wrap: wrap; gap: 8px; }.artifacts button { border: 1px solid #88a1ac; border-radius: 4px; background: #fff; padding: 7px 9px; color: #15566b; }.artifact-empty { margin: 0; color: #5d6d79; font-size: 14px; }
@media (max-width: 640px) { .shell { width: min(100% - 20px, 1080px); } th:nth-child(4), td:nth-child(4) { display: none; } .section-heading { align-items: flex-start; } }

/* V2Insight operational-surface tokens. Existing selectors remain stable for cabinet.js. */
:root { color: var(--v2-color-ink); background: var(--v2-color-paper); font-family: var(--v2-font-ui); }
.topbar { min-height: 72px; border-color: var(--v2-color-border); }.brand img { display: block; }.icon-button { width: 40px; height: 40px; border-color: var(--v2-color-border); border-radius: var(--v2-radius-md); color: var(--v2-color-ink); }.icon-button:hover, .icon-button:focus-visible { border-color: var(--v2-color-signal); color: var(--v2-color-signal); background: var(--v2-color-surface); }.section-heading { margin-top: 48px; }.eyebrow { margin: 0 0 6px; color: var(--v2-color-signal); font-size: 12px; font-weight: 700; text-transform: uppercase; }.table-wrap { border-top-color: var(--v2-color-ink); }th, td { border-color: var(--v2-color-border); }th { color: var(--v2-color-muted); }.job-link { color: var(--v2-color-ink); font-weight: 700; }.status::before { content: "●"; margin-right: 6px; }.status.done, .detail-status.done { color: var(--v2-color-success); }.status.queued, .status.running, .detail-status.queued, .detail-status.running { color: var(--v2-color-warning); }.status.failed, .detail-status.failed, .error, .detail-error { color: var(--v2-color-danger); }dialog { max-height: min(720px, calc(100dvh - 32px)); overflow: auto; border-color: var(--v2-color-border); }dialog header { position: sticky; top: 0; background: var(--v2-color-surface); border-color: var(--v2-color-border); }.stage-item.complete { color: var(--v2-color-success); }.stage-item.current { color: var(--v2-color-warning); }.stage-item.failed { color: var(--v2-color-danger); }button:focus-visible, input:focus-visible, .job-link:focus-visible { outline: 3px solid var(--v2-color-focus); outline-offset: 2px; }.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 640px) { th:nth-child(3), td:nth-child(3), th:nth-child(4), td:nth-child(4) { display: none; } }
