/* Shared Catppuccin palette + body typography + terminal pane styles. Bundled in front of the page-specific rules via esbuild. */ @import "@hive/shared/base.css"; @import "@hive/shared/terminal.css"; @import "@hive/shared/tabs.css"; @import "@hive/shared/chrome.css"; /* Shared pill/chip/badge shape (the "extract pill component" issue, resolved as shared CSS rather than a JS component) — see pill.css itself for the classnames it covers. */ @import "@hive/shared/pill.css"; /* ─── global typography ───────────────────────────────────────────── Element-level rules shared across all three pages (index, flow, logs). These must not reference page-specific chrome classes. */ h1, h2 { color: var(--purple); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 2em; text-shadow: 0 0 8px color-mix(in srgb, var(--purple) 40%, transparent); } .divider { color: var(--purple-dim); overflow: hidden; white-space: nowrap; margin-bottom: 0.5em; } ul { list-style: none; padding-left: 0; } li { padding: 0.5em 0; } .glyph { color: var(--purple); margin-right: 0.5em; } a { color: var(--cyan); text-decoration: none; font-weight: bold; text-shadow: 0 0 4px color-mix(in srgb, var(--cyan) 50%, transparent); } a:hover { color: var(--fg); text-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 90%, transparent); } code { color: var(--amber); background: var(--bg-elev); padding: 0.1em 0.4em; border: 1px solid var(--border); border-radius: 2px; font-size: 0.9em; } /* ─── shared inline labels ────────────────────────────────────────── .meta / .id / .agent / .empty appear in message rows, build-log toolbars, and side-panel content rendered by common.js. */ .meta { color: var(--muted); font-size: 0.85em; margin-left: 0.4em; } .id { color: var(--pink); font-weight: bold; margin-right: 0.4em; } .agent { color: var(--amber); font-weight: bold; margin-right: 0.6em; } .empty { color: var(--muted); font-style: italic; } /* ─── status badges ───────────────────────────────────────────────── Semantic colour variants only — shape comes from `hive-pill-sm` (shared with the agent UI's pill/chip family, @hive/shared/pill.css), carried directly in the markup alongside each of these classnames (swarm.js/core.js/builds.js). Used on container rows and build-log rows. */ .badge-warn { color: var(--amber); border-color: var(--amber); text-shadow: 0 0 6px color-mix(in srgb, var(--amber) 50%, transparent); } .badge-rate-limited { color: var(--red); border-color: var(--red); text-shadow: 0 0 6px color-mix(in srgb, var(--red) 50%, transparent); } .badge-muted { color: var(--muted); border-color: var(--purple-dim); background: color-mix(in srgb, var(--muted) 8%, transparent); } .badge-loose-ends { color: var(--purple); border-color: var(--purple); text-shadow: 0 0 6px color-mix(in srgb, var(--purple) 40%, transparent); } /* Paused agent: turn loop parked, container still up. Clickable (btn-inline): clicking sends POST /api/resume/{name} so the badge doubles as a resume button. */ .badge-paused { color: var(--yellow); border-color: var(--yellow); background: color-mix(in srgb, var(--yellow) 10%, transparent); } /* Active Claude model badge on dashboard container rows. */ .badge-model { color: var(--blue); border-color: var(--blue); opacity: 0.8; } /* Context-window usage badges on dashboard container rows. */ .badge-ctx-ok { color: var(--green); border-color: var(--green); opacity: 0.85; } .badge-ctx-caution { color: var(--amber); border-color: var(--amber); text-shadow: 0 0 6px color-mix(in srgb, var(--amber) 50%, transparent); } .badge-ctx-warn { color: var(--red); border-color: var(--red); text-shadow: 0 0 6px color-mix(in srgb, var(--red) 50%, transparent); } .badge-ok { background: color-mix(in srgb, var(--green) 12%, transparent); color: var(--green); border-color: var(--green); } .badge-fail { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); border-color: var(--red); } .badge-running { background: color-mix(in srgb, var(--amber) 12%, transparent); color: var(--amber); border-color: var(--amber); } /* ─── buttons ─────────────────────────────────────────────────────── .btn base + semantic colour/size modifiers. Logs page uses .btn-restart for the ↻ refresh buttons; dashboard uses all variants. */ .btn { font-family: inherit; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; background: transparent; /* Strip browser UA button chrome (solid fill, system text colour). Without this, native