/* Base layer: the dark palette comes from design/tokens/tokens.css (linked first); this file only paints shared primitives. The shell grid lives in shell.css, list/detail surfaces in lists.css. */ :root { color-scheme: dark; } * { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; overflow: hidden; background: var(--color-bg); color: var(--color-text); font: var(--type-body); -webkit-font-smoothing: antialiased; } button, input, select, textarea { font: inherit; color: inherit; } button { min-height: var(--density-control-height); padding: 0 var(--space-control-pad-inline); border-radius: var(--radius-control); border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text); cursor: pointer; transition: background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard); } button:hover { background: var(--color-elevated); } button:active { background: var(--color-elevated-2); } button.ghost { background: transparent; border-color: transparent; color: var(--color-muted); } button.ghost:hover { background: var(--tint-hover); color: var(--color-text); } button:disabled { opacity: var(--opacity-disabled); cursor: not-allowed; } input[type="text"], input[type="search"], select, textarea { min-height: var(--density-control-height); padding: 0 var(--space-s); background: var(--color-surface-2); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-control); } :focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); } a { color: var(--color-accent); } .list { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--color-surface); } .row { display: block; width: 100%; min-height: 0; text-align: left; border: 0; border-bottom: 1px solid var(--color-divider); border-radius: 0; background: transparent; padding: var(--space-xs) var(--space-s); } .row:last-child { border-bottom: 0; } .row:hover { background: var(--tint-hover); } .row.selected { background: var(--tint-selected); box-shadow: inset 3px 0 0 var(--color-accent); } /* A selected row keeps its selected surface while hovered: re-tinting it made the chat list's chosen session flicker with an inner highlight under the pointer. */ .row.selected:hover { background: var(--tint-selected); } .row-head { display: flex; gap: var(--space-xs); justify-content: space-between; align-items: center; min-width: 0; } .row-title { display: block; max-width: 100%; font-weight: var(--weight-semibold); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .row-meta { display: block; color: var(--color-muted); font-size: 12px; line-height: 16px; margin-top: 2px; } .kv { display: grid; gap: var(--space-2xs); } .kv.tight { margin-top: 6px; } .kv-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--space-s); } .kv-key { color: var(--color-muted); } .kv-val { word-break: break-word; min-width: 0; } .stages { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); } .stages li { display: flex; gap: var(--space-xs); align-items: center; } .steps { display: grid; gap: var(--space-xs); } .step { border-bottom: 1px solid var(--color-divider); padding: var(--space-s) 0; } .step-head { display: flex; gap: var(--space-xs); align-items: center; flex-wrap: wrap; } .artifacts { margin-top: var(--space-xs); font-size: 12px; } .artifacts a { color: var(--color-accent); margin-right: 10px; } .artifacts-summary { color: var(--color-accent); } .artifacts-note { margin-top: 2px; } .artifact-hint { margin: 4px 0; } /* Run-level artifacts gallery: group headers + a fitting tile grid. */ .artifacts-header { margin-top: var(--space-m); } .artifact-gallery { display: grid; gap: var(--space-s); } .artifact-group-head { color: var(--color-muted); font-size: 12px; font-weight: var(--weight-semibold); margin-top: 4px; } .artifact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--space-xs); } .artifact-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: var(--space-xs); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; text-align: center; } .artifact-tile.clickable { cursor: pointer; } .artifact-tile.clickable:hover { border-color: var(--color-border-strong); } .artifact-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .artifact-poster { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); } .artifact-play { font-size: 18px; color: var(--color-text); } .artifact-kind { color: var(--color-muted); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); } .artifact-name { font-size: 12px; font-weight: var(--weight-semibold); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .artifact-size { color: var(--color-muted); font-size: 11px; font-variant-numeric: tabular-nums; } .artifact-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; } .artifact-action { min-height: 24px; padding: 0 6px; font-size: 10px; border-radius: var(--radius-s); background: rgba(10, 10, 11, 0.72); } .artifact-action:disabled { opacity: 0.4; cursor: not-allowed; } /* The per-visit session export link / notice (parity R9). */ .session-export { margin-top: 6px; font-size: 12px; } .session-link { color: var(--color-accent); } /* Full-screen artifact viewer overlay. */ .artifact-viewer { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; gap: var(--space-s); padding: 20px; background: rgba(0, 0, 0, 0.86); } .viewer-head { display: flex; align-items: baseline; gap: var(--space-s); flex-wrap: wrap; } .viewer-title { font-size: 15px; font-weight: var(--weight-semibold); } .viewer-position { font-size: 12px; font-variant-numeric: tabular-nums; } .viewer-board { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; } .viewer-image { max-width: 100%; max-height: 100%; object-fit: contain; } .viewer-placeholder { display: flex; flex-direction: column; align-items: center; gap: var(--space-s); padding: var(--space-xl); color: var(--color-muted); } .viewer-placeholder .artifact-play { font-size: 40px; } .viewer-nav { display: flex; gap: var(--space-xs); justify-content: center; } .viewer-page:disabled { opacity: 0.4; cursor: not-allowed; } .viewer-actions { display: flex; gap: var(--space-xs); justify-content: flex-end; } .chip { display: inline-block; flex: none; padding: 1px 8px; border-radius: var(--radius-pill); font-size: 11px; line-height: 16px; border: 1px solid var(--color-border); color: var(--color-muted); font-variant-numeric: tabular-nums; } /* The app-owned status hues (RunStatusPalette): status is never colour-only, every chip still carries its own label. */ .chip-running, .chip-active { color: var(--status-running); border-color: var(--status-running); } .chip-waiting { color: var(--status-waiting); border-color: var(--status-waiting); } .chip-succeeded { color: var(--status-succeeded); border-color: var(--status-succeeded); } .chip-failed { color: var(--status-failed); border-color: var(--status-failed); } .chip-canceled { color: var(--status-canceled); border-color: var(--status-canceled); } .chip-interrupted { color: var(--status-interrupted); border-color: var(--status-interrupted); } .chip-queued { color: var(--status-queued); border-color: var(--status-queued); } .chip-blocked { color: var(--status-blocked); border-color: var(--status-blocked); } .chip-skipped { color: var(--status-skipped); border-color: var(--status-skipped); } .chip-unknown { color: var(--status-unknown); border-color: var(--status-unknown); } .dot::before { content: "\25cf"; margin-right: 6px; } .dot.ok::before { color: var(--color-ok); } .dot.warn::before { color: var(--color-warn); } .dot.bad::before { color: var(--color-bad); } .dot.idle::before { color: var(--color-muted); } .state { color: var(--color-muted); white-space: nowrap; } .muted { color: var(--color-muted); } .ok { color: var(--color-ok); } .warn { color: var(--color-warn); } .bad { color: var(--color-bad); } .pad { padding: var(--space-s); } .banner { padding: var(--space-xs) var(--space-m); } .banner.warn { background: var(--tint-warn-soft); color: var(--color-warn); } .banner.error { background: var(--tint-bad-soft); color: var(--color-bad); } code { background: var(--color-surface-2); padding: 1px 6px; border-radius: var(--radius-xs); font: var(--type-code); } /* Live-stream badge (LiveBadge.kt): a dot plus the honest word, so colour is never the only signal. */ .live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-muted); white-space: nowrap; } .live-badge .live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; } .live-live { color: var(--color-ok); } .live-reconnecting { color: var(--color-warn); } .live-reconnecting .live-dot { opacity: 0.4; } .live-not-live { color: var(--color-muted); } .live-not-live .live-dot { opacity: 0.4; } /* One 8px-grid rhythm for every pane heading. */ .pane-head { display: flex; flex: 0 0 auto; gap: var(--space-xs); align-items: center; justify-content: space-between; min-width: 0; padding: var(--space-xs) var(--space-s); border-bottom: 1px solid var(--color-divider); } .pane-title { margin: 0; min-width: 0; font: var(--type-title-small); letter-spacing: var(--tracking-tight); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pane-subtitle { margin: 2px 0 0; color: var(--color-muted); font-size: 12px; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }