# orca.ui.style

> A module of morca's API.

The stylesheet `orca ui` serves at `/static/orca.css`: magmalake.dev's colours and type, light and dark, and system fonts (nothing is fetched).

## Aliases

### `STYLE`

```mojo
comptime STYLE = ":root {\n  --bg: #fbf9f7; --bg-alt: #f4f0ec; --surface: #ffffff; --surface-2: #f8f5f2;\n  --border: #e3dcd4; --border-strong: #cfc5ba;\n  --text: #17151a; --muted: #6b645d; --faint: #948c84;\n  --ember: #c33c10; --ember-soft: #e8631f; --ember-wash: #fdefe7;\n  --lake: #0d6a70; --lake-soft: #14868d; --lake-wash: #e6f2f2;\n  --ok: #1f7a3d; --bad: #b42318; --warn: #9a5b00; --live: #1d5fb4;\n  --shadow: 0 1px 2px rgb(23 21 26 / 0.04), 0 8px 24px -12px rgb(23 21 26 / 0.12);\n  --radius: 10px; --radius-sm: 6px;\n  --mono: ui-monospace, SFMono-Regular, \22SF Mono\22, Menlo, Consolas, monospace;\n  --sans: ui-sans-serif, system-ui, -apple-system, \22Segoe UI\22, Roboto, sans-serif;\n  color-scheme: light dark;\n}\n@media (prefers-color-scheme: dark) {\n  :root {\n    --bg: #0e0d11; --bg-alt: #131218; --surface: #17161d; --surface-2: #1c1b23;\n    --border: #2a2833; --border-strong: #3d3a48;\n    --text: #eeeae4; --muted: #a49d95; --faint: #7b746d;\n    --ember: #ff7a45; --ember-soft: #ff9466; --ember-wash: #2a1710;\n    --lake: #4ecdc4; --lake-soft: #7bddd6; --lake-wash: #0f2422;\n    --ok: #5fd08a; --bad: #ff7b72; --warn: #f0b24a; --live: #6ea8fe;\n    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px -12px rgb(0 0 0 / 0.6);\n  }\n}\n* { box-sizing: border-box; }\nbody { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans);\n  -webkit-font-smoothing: antialiased; }\na { color: var(--lake); text-decoration-color: color-mix(in srgb, var(--lake) 35%, transparent);\n  text-underline-offset: 0.18em; }\na:hover { text-decoration-color: currentColor; }\ncode, pre { font-family: var(--mono); font-size: 0.9em; }\ncode { background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px;\n  padding: 0.05em 0.35em; }\npre { white-space: pre-wrap; }\npre code { background: none; border: 0; padding: 0; }\n\n/* The header: the mark, the sections, and who's logged in. */\n.top { display: flex; align-items: stretch; gap: 1.75rem; padding: 0 1.25rem; min-height: 3.5rem;\n  background: var(--surface); border-bottom: 1px solid var(--border);\n  box-shadow: 0 1px 0 color-mix(in srgb, var(--ember) 10%, transparent), var(--shadow);\n  position: relative; z-index: 1; }\n.top__brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700;\n  font-size: 1.1rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }\n.top__mark { display: block; flex-shrink: 0; }\n.top nav { display: flex; gap: 1.25rem; }\n.top nav a { display: flex; align-items: center; color: var(--muted); text-decoration: none;\n  font-size: 0.9375rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }\n.top nav a:hover { color: var(--text); }\n.top nav a[aria-current] { color: var(--text); font-weight: 600; border-bottom-color: var(--ember); }\n.menu { position: relative; display: flex; }\n.menu__sub { display: none; position: absolute; top: 100%; left: -0.75rem; min-width: 9rem;\n  flex-direction: column; padding: 0.35rem 0; background: var(--surface);\n  border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); }\n.menu:hover .menu__sub, .menu:focus-within .menu__sub { display: flex; }\n.top nav .menu__sub a { padding: 0.45rem 0.85rem; margin: 0; border: 0; white-space: nowrap; }\n.top nav .menu__sub a:hover { background: var(--surface-2); }\n.top nav a:focus-visible { outline: 2px solid var(--lake); outline-offset: 2px; border-radius: 2px; }\n.top__user { display: flex; align-items: center; gap: 0.5rem; margin-left: auto;\n  color: var(--muted); font-size: 0.9375rem; }\na.top__user { color: var(--lake); }\n.top__user form { display: inline; }\n.top__user button { font: inherit; color: var(--muted); background: none; border: 0;\n  padding: 0; cursor: pointer; text-decoration: underline; }\n.top__user button:hover { color: var(--text); }\n@media (max-width: 640px) {\n  .top { flex-wrap: wrap; gap: 0 1rem; padding: 0 1rem; }\n  .top__brand, .top__user { min-height: 3rem; }\n  .top nav { order: 3; width: 100%; gap: 1rem; overflow-x: auto; }\n  .top nav a { padding: 0.35rem 0 0.5rem; white-space: nowrap; }\n  /* The nav scrolls sideways here, which would clip a dropdown: show the\n     submenu inline, after \22Ops\22. */\n  .menu { gap: 1rem; }\n  .menu__sub, .menu:hover .menu__sub, .menu:focus-within .menu__sub { display: flex; position: static;\n    flex-direction: row; gap: 1rem; padding: 0; min-width: 0; border: 0; box-shadow: none; background: none; }\n  .top nav .menu__sub a { padding: 0.35rem 0 0.5rem; }\n  .top nav .menu__sub a:hover { background: none; }\n}\n\nmain { max-width: 72rem; margin: 0 auto; padding: 1.75rem 1.25rem 3rem; }\n@media (max-width: 640px) { main { padding: 1.25rem 1rem 2.5rem; } }\nh1 { font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.2; margin: 0.2rem 0 1rem; }\nh2 { font-size: 1.1rem; letter-spacing: -0.01em; margin: 2rem 0 0.7rem; }\n.crumb { margin: 0 0 0.3rem; color: var(--muted); font-size: 0.875rem; }\n.muted, .empty { color: var(--muted); }\n.empty { background: var(--surface); border: 1px dashed var(--border-strong);\n  border-radius: var(--radius); padding: 1rem 1.2rem; }\n.more { font-size: 0.875rem; }\n.error { color: var(--bad); }\n\n/* A section of the home page: a heading, then its table or chart. */\n.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);\n  box-shadow: var(--shadow); margin: 1.25rem 0; overflow: hidden; }\n.card > h2 { font-size: 0.9375rem; margin: 0; padding: 0.75rem 1.1rem;\n  border-bottom: 1px solid var(--border); background: var(--surface-2); }\n/* A heading that links to its own section, so a page can be linked to it. */\n.card > h2 > a.anchor { color: inherit; text-decoration: none; }\n.card > h2 > a.anchor:hover::after { content: \22 #\22; color: var(--muted); }\n.card > p { margin: 0; padding: 0.8rem 1.1rem; }\n.card > .muted { font-size: 0.875rem; border-bottom: 1px solid var(--border); }\n.card > .scroll { padding: 0; }\n.card > .scroll > .tl { padding: 1rem 1.1rem 0.6rem; }\n.card > table, .card > .scroll > table { border: 0; border-radius: 0; box-shadow: none; }\n.card > h2 + .scroll { border-top: 0; }\n\n/* Tables: hairline rows, a tinted header, hover, and the numbers lined up. */\n.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }\ntable { border-collapse: separate; border-spacing: 0; width: 100%; background: var(--surface);\n  border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem;\n  overflow: hidden; }\nth, td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--border);\n  vertical-align: top; }\nth { color: var(--faint); font-family: var(--mono); font-weight: 500; font-size: 0.6875rem;\n  text-transform: uppercase; letter-spacing: 0.08em; background: var(--surface-2);\n  white-space: nowrap; }\ntd { white-space: nowrap; }\ntbody tr:last-child td { border-bottom: 0; }\ntbody tr:hover td { background: color-mix(in srgb, var(--ember) 3%, transparent); }\n.mono { font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; }\nth.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }\ntd.num { font-family: var(--mono); font-size: 0.78rem; }\ntd.parts { max-width: 22rem; overflow: hidden; text-overflow: ellipsis; }\ndetails.all-parts > summary { cursor: pointer; color: var(--muted); font-size: 0.85rem; }\ndetails.all-parts > div { max-height: 16rem; overflow-y: auto; overflow-wrap: anywhere; margin-top: 0.3rem; }\ntd.error { white-space: normal; color: var(--bad); font-family: var(--mono); font-size: 0.8rem; max-width: 32rem; }\ntd code { font-size: 0.8125rem; }\n/* A pipeline's coverage on the home page: the percent over a thin bar. */\n.covpct { display: inline-grid; gap: 2px; min-width: 3.2rem; color: var(--text); text-decoration: none; }\n.covpct:hover { color: var(--lake); }\n.covpct__bar { display: block; height: 3px; border-radius: 2px; overflow: hidden;\n  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }\n.covpct__bar > span { display: block; height: 100%; background: var(--ok); }\n\n/* A run's number, a count, a status. */\n.chip { display: inline-block; font-family: var(--mono); font-size: 0.75rem; line-height: 1.5;\n  font-variant-numeric: tabular-nums; color: var(--text); text-decoration: none;\n  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);\n  padding: 0 0.45rem; }\n.chip::before { content: \22#\22; color: var(--faint); margin-right: 0.05em; }\n.chip:hover { border-color: var(--lake); color: var(--lake); }\n.badge { display: inline-block; font-family: var(--mono); font-size: 0.75rem; line-height: 1.5;\n  font-variant-numeric: tabular-nums; color: var(--muted); background: var(--surface-2);\n  border: 1px solid var(--border); border-radius: 999px; padding: 0 0.55rem; white-space: nowrap; }\n.badge--running { color: var(--live); background: color-mix(in srgb, var(--live) 10%, transparent);\n  border-color: color-mix(in srgb, var(--live) 30%, transparent); font-weight: 600; }\n.badge--queued { color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent);\n  border-color: color-mix(in srgb, var(--warn) 30%, transparent); font-weight: 600; }\n.status { display: inline-block; font-family: var(--mono); font-size: 0.75rem; line-height: 1.5;\n  padding: 0 0.55rem; border-radius: 999px; white-space: nowrap; font-weight: 500;\n  color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); }\n.status--succeeded { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent);\n  border-color: color-mix(in srgb, var(--ok) 30%, transparent); }\n.status--failed { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent);\n  border-color: color-mix(in srgb, var(--bad) 30%, transparent); }\n.status--running { color: var(--live); background: color-mix(in srgb, var(--live) 10%, transparent);\n  border-color: color-mix(in srgb, var(--live) 30%, transparent); }\n.status--running::before { content: \22\22; display: inline-block; width: 0.45em; height: 0.45em;\n  border-radius: 50%; background: currentColor; margin-right: 0.45em; vertical-align: 0.1em;\n  animation: pulse 1.6s ease-in-out infinite; }\n@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }\n@media (prefers-reduced-motion: reduce) { .status--running::before { animation: none; } }\n.status--queued, .status--pending { color: var(--warn);\n  background: color-mix(in srgb, var(--warn) 10%, transparent);\n  border-color: color-mix(in srgb, var(--warn) 30%, transparent); }\n.status--cancelled, .status--deferred { color: var(--muted); background: var(--surface-2); border-color: var(--border-strong); }\n.status--skipped, .status--not-done { color: var(--faint); background: transparent;\n  border-style: dashed; }\n/* A machine's state on Pools (orca.ui.pools): live, draining, gone. */\n.status--live { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent);\n  border-color: color-mix(in srgb, var(--ok) 30%, transparent); }\n.status--draining { color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent);\n  border-color: color-mix(in srgb, var(--warn) 30%, transparent); }\n.status--gone { color: var(--faint); background: transparent; border-style: dashed; }\ntr.pools__gone td { color: var(--muted); }\n/* Ops \E2\80\BA Alerts (orca.ui.alerts): an open alert's row, the message under its title. */\ntr.alerts__open td { background: color-mix(in srgb, var(--bad) 6%, transparent); }\ntr.alerts__open td:first-child { box-shadow: inset 3px 0 0 var(--bad); }\ntd.alerts__msg { white-space: normal; min-width: 16rem; max-width: 34rem; }\ntd.alerts__links { white-space: normal; max-width: 13rem; }\ntd.alerts__delivery { white-space: normal; max-width: 14rem; }\n.alerts__err { display: block; margin-top: 0.2rem; font-family: var(--mono); font-size: 0.75rem; color: var(--bad); }\ntd.alerts__state time { font-size: 0.75rem; color: var(--muted); }\n.alerts__body { display: block; color: var(--muted); font-size: 0.8125rem; white-space: pre-line; }\n.alerts__kind { white-space: nowrap; }\n.alerts__summary { margin: 0 0 0.8rem; font-size: 0.875rem; color: var(--muted); }\n.alerts__summary strong { color: var(--bad); }\n.pools__pools { margin: -0.25rem 0 1rem; }\nh1 .status, h2 .status { vertical-align: middle; margin-left: 0.5rem; }\n\n/* Facts about a pipeline, a run, a dataset. */\n.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.4rem; margin: 0 0 0.5rem;\n  font-size: 0.9375rem; }\n.facts dt { color: var(--muted); }\n.facts dd { margin: 0; overflow-wrap: anywhere; }\n\n/* The pipeline page's cards: Progress, Config, Code and Resources side by\n   side where there's room, one above the other where there isn't. */\n.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem;\n  align-items: start; margin: 1rem 0 1.25rem; }\n.pcards > .card { margin: 0; }\n.pcards--one { grid-template-columns: 1fr; }\n\n/* The pipeline page's tabs: Overview, Runs and Operate, each its own page. */\n/* overflow-y: hidden, since overflow-x: auto alone makes y auto too, and the\n   tabs' -1px margin over the border then overflowed: a vertical scrollbar. */\n.ptabs { display: flex; gap: 1.5rem; margin: 0 0 1rem; border-bottom: 1px solid var(--border);\n  overflow-x: auto; overflow-y: hidden; }\n.ptabs__tab { padding: 0.4rem 0.1rem 0.55rem; margin-bottom: -1px; color: var(--muted);\n  text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }\n.ptabs__tab:hover { color: var(--text); }\n.ptabs__tab[aria-current] { color: var(--text); font-weight: 600; border-bottom-color: var(--ember); }\n.ptabs__tab:focus-visible { outline: 2px solid var(--lake); outline-offset: -2px; border-radius: 2px; }\n.card--facts { overflow: visible; }\n.card--facts > h2 { border-radius: var(--radius) var(--radius) 0 0; }\n.card > .facts, .card > div > .facts { padding: 0.8rem 1.1rem; margin: 0; gap: 0.45rem 1.1rem;\n  font-size: 0.875rem; }\n.card > p.hash { font-size: 0.75rem; color: var(--faint); border-top: 1px solid var(--border);\n  padding: 0.5rem 1.1rem; }\n.card > p.hash code { font-size: 0.95em; color: var(--muted); }\n.card--facts a.src { font-size: 0.8125rem; }\n.card > p.card__none { padding: 0.8rem 1.1rem; margin: 0; font-size: 0.875rem; color: var(--muted); }\n\n/* The run page's cards: a line under the heading saying what the card\n   is, a plain warning when its numbers aren't the run's alone, and the\n   run's actions at the foot of its Status card. */\n.card > p.card__sub { padding: 0.55rem 1.1rem; font-size: 0.8125rem; color: var(--muted);\n  border-bottom: 1px solid var(--border); }\n.card > p.card__warn { padding: 0.55rem 1.1rem; font-size: 0.8125rem; color: var(--warn);\n  background: color-mix(in srgb, var(--warn) 8%, transparent); border-bottom: 1px solid var(--border); }\n.card > .actions { margin: 0; padding: 0.7rem 1.1rem 0.9rem; border-top: 1px solid var(--border); }\n.card > .mx__legend { padding: 0.55rem 1.1rem 0; border-bottom: 0; }\n.card > .scroll > .mx { padding: 0 1.1rem; }\n.facts code.env { font-size: 0.8125rem; }\n/* A long link to code in a card wraps rather than widening a phone's page. */\n.card--facts dd a.src { white-space: normal; overflow-wrap: anywhere; }\n.steps__graph > .tl { margin: 0.25rem 0; }\n\n/* The lineage diagram's legend. */\n.card > .graph__legend { padding: 0.55rem 1.1rem; font-size: 0.8125rem; }\n.graph__key { display: inline-block; width: 1.4em; height: 0.85em; margin: 0 0.35em 0 0.8em;\n  vertical-align: -0.1em; border: 1.5px solid var(--border-strong); border-radius: 3px;\n  background: var(--surface); }\n.graph__key:first-child { margin-left: 0; }\n.graph__key--start { border: 2.5px solid var(--ember); }\n.graph__key--source { border-style: dashed; }\n.graph__key--other { border-style: dotted; opacity: 0.7; }\n.graph__node--other rect { stroke-dasharray: 2 3; }\n.graph__node--other text { opacity: 0.75; }\n.graph__arrow { margin-left: 0.8em; color: var(--faint); }\n.card > .scroll > .graph { margin: 0.75rem auto; }\n\n/* The Steps card: its heading with Graph and Table tabs. */\n.steps__head { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center;\n  justify-content: space-between; padding: 0.5rem 1.1rem; border-bottom: 1px solid var(--border);\n  background: var(--surface-2); }\n.steps__head h2 { font-size: 0.9375rem; margin: 0; }\n.steps__graph { padding: 0.5rem 1.1rem; }\n.steps__head .vtabs { margin: 0; }\na.vtabs__tab { display: inline-block; text-decoration: none; }\n\n/* A \22?\22 after a fact's name: its help on hover or keyboard focus. */\n.help { position: relative; display: inline-block; margin-left: 0.35rem; vertical-align: 0.08em; }\n.help__btn { display: inline-grid; place-items: center; width: 1rem; height: 1rem; padding: 0;\n  border-radius: 50%; font: 600 0.625rem/1 var(--sans); color: var(--faint);\n  background: transparent; border: 1px solid var(--border-strong); cursor: help; }\n.help__btn:hover, .help:focus-within .help__btn { color: var(--lake); border-color: var(--lake); }\n.help__tip { display: none; position: absolute; z-index: 20; top: calc(100% + 0.4rem); left: -0.6rem;\n  width: max-content; max-width: min(20rem, 80vw); padding: 0.55rem 0.75rem; text-align: left;\n  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);\n  border-radius: var(--radius-sm); box-shadow: var(--shadow); font: 400 0.8125rem/1.45 var(--sans);\n  letter-spacing: 0; text-transform: none; white-space: normal; }\n.help__tip::before { content: \22\22; position: absolute; left: 0; right: 0; top: -0.5rem; height: 0.5rem; }\n.help:hover .help__tip, .help:focus-within .help__tip { display: block; }\n.help.help--shut .help__tip { display: none; }\n\n/* In a table, which scrolls sideways, a \22?\22's help escapes the box: fixed,\n   placed under its button by the page script (`_TIPS`). */\n.scroll .help__tip { position: fixed; top: auto; left: auto; }\n.scroll .help__tip::before { display: none; }\nth .help { margin-left: 0.25rem; vertical-align: 0; }\n\n/* A value from a fixed set (a status, a step's kind, a trigger, a\n   placement): what it means on hover, keyboard focus or a tap, in one\n   floating box the page script places (`_TIPS`). */\n.term { text-decoration: underline dotted var(--muted); text-underline-offset: 0.2em; }\n[data-tip] { cursor: help; }\n[data-tip]:focus-visible { outline: 2px solid var(--lake); outline-offset: 1px; }\n.help__tip.tip { position: fixed; display: none; top: 0; left: 0; }\n.help__tip.tip::before { display: none; }\n\n/* A function's source, shown on hovering a link to it. */\n.peek { position: absolute; z-index: 30; width: min(42rem, calc(100vw - 1rem));\n  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);\n  box-shadow: var(--shadow); overflow: hidden; }\n.peek__head { padding: 0.35rem 0.75rem; font: 0.75rem var(--mono); color: var(--muted);\n  background: var(--surface-2); border-bottom: 1px solid var(--border); }\n.peek__head span { color: var(--faint); }\n.peek pre { margin: 0; padding: 0.4rem 0; max-height: 24rem; overflow: auto; white-space: pre;\n  font-size: 0.75rem; line-height: 1.5; }\n.peek__line { display: block; padding-right: 0.75rem; }\n.peek__line--at { background: color-mix(in srgb, var(--lake) 12%, transparent); }\n.peek__ln { display: inline-block; width: 3.4em; padding-right: 0.9em; text-align: right;\n  color: var(--faint); user-select: none; }\n.peek__lead { margin: 0; padding: 0.55rem 0.75rem 0; font: 500 0.875rem/1.45 var(--sans); color: var(--text); }\n.peek__more { margin: 0; padding: 0.2rem 0.75rem 0; font-size: 0.8125rem; line-height: 1.45; color: var(--muted);\n  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }\n.peek__lead + pre, .peek__more + pre { margin-top: 0.35rem; border-top: 1px solid var(--border); }\n.peek__msg { margin: 0; padding: 0.6rem 0.75rem; color: var(--muted); font-size: 0.8125rem; }\n/* A step's card (orca.ui.step_cards), on hovering, focusing or tapping a step\n   in the steps views: its signature, kind, types, datasets and recent\n   runs, or on a run's page the attempt's. */\n[data-step] { cursor: help; }\n.step-ref { text-decoration: underline dotted var(--muted); text-underline-offset: 0.2em; }\n[data-step]:focus-visible { outline: 2px solid var(--lake); outline-offset: 1px; }\n.scard { position: fixed; z-index: 30; width: min(28rem, calc(100vw - 1rem)); max-height: 70vh; overflow: auto;\n  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);\n  box-shadow: var(--shadow); font-size: 0.8125rem; color: var(--text); }\n.scard__head { padding: 0.45rem 0.75rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }\n.scard__sig { margin: 0; padding: 0.5rem 0.75rem; white-space: pre-wrap; overflow-wrap: anywhere;\n  font-size: 0.75rem; line-height: 1.5; border-bottom: 1px solid var(--border); }\n.scard__doc { margin: 0; padding: 0.45rem 0.75rem 0; color: var(--muted); font-size: 0.8125rem;\n  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }\n.scard__lead { margin: 0; padding: 0.5rem 0.75rem 0.4rem; font-weight: 500; }\n.scard__src { margin: 0; padding: 0.3rem 0.75rem 0; font: 0.75rem var(--mono); }\n.scard__facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.2rem 0.75rem;\n  margin: 0; padding: 0.5rem 0.75rem 0.6rem; }\n.scard__facts dt { color: var(--muted); }\n.scard__facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }\n.help__tip.tip { z-index: 40; }  /* a kind's meaning, over the card */\n/* Its colours (orca.highlight), from the theme's tokens. */\n.hl--kw { color: var(--ember); }\n.hl--fn { color: var(--live); font-weight: 600; }\n.hl--str { color: var(--ok); }\n.hl--com { color: var(--faint); font-style: italic; }\n.hl--num, .hl--const { color: var(--lake); }\n.hl--dec { color: var(--warn); }\n\n/* Forms: filters, actions, and logging in. */\n.filters { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: end; margin-bottom: 1rem; }\n.filters label { display: grid; gap: 0.2rem; font-size: 0.8rem; color: var(--muted); }\n.filters input[type=search] { min-width: 0; }\n/* One height for every control in a filter row: selects, date and text\n   inputs, the status picker and the button differ by browser otherwise. */\n.filters select, .filters input:not([type=checkbox]), .filters .pick__value,\n.filters button { box-sizing: border-box; height: 2.25rem; padding-top: 0; padding-bottom: 0;\n  line-height: calc(2.25rem - 2px); font: inherit; font-size: 0.875rem; }\n.filters select { padding-left: 0.5rem; padding-right: 1.6rem; border: 1px solid var(--border-strong);\n  border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }\n.filters__quick { display: flex; flex-wrap: wrap; gap: 0.2rem 0.7rem; align-self: center; font-size: 0.8125rem; }\n.filters__quick a[aria-current] { font-weight: 600; text-decoration: none; color: var(--text); }\n.filters__clear { align-self: center; font-size: 0.8125rem; }\ndetails.pick { position: relative; }\ndetails.pick > summary { list-style: none; cursor: pointer; display: grid; gap: 0.2rem; font-size: 0.8rem; color: var(--muted); }\ndetails.pick > summary::-webkit-details-marker { display: none; }\n.pick__value { display: block; padding: 0.35rem 1.6rem 0.35rem 0.6rem; border: 1px solid var(--border-strong);\n  border-radius: var(--radius-sm); background: var(--surface); color: var(--text);\n  max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; }\n.pick__value::after { content: \22\E2\96\BE\22; position: absolute; right: 0.5rem; color: var(--muted); }\n.pick__menu { position: absolute; z-index: 30; top: 100%; left: 0; margin-top: 0.25rem; min-width: 12rem;\n  display: grid; gap: 0.15rem; padding: 0.4rem; border: 1px solid var(--border-strong);\n  border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 6px 18px rgb(0 0 0 / 0.15); }\n.filters .pick__item { display: flex; gap: 0.45rem; align-items: center; padding: 0.15rem 0.3rem; font-size: 0.875rem; color: var(--text); }\n.pick__item input { margin: 0; }\n.pick__item .status { flex: none; }\n.pick__n { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }\nth.pick, td.pick { width: 1.5rem; padding-right: 0; }\ntd.pick input, th.pick input { margin: 0; vertical-align: middle; }\nform.bulk { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: center; margin: 0 0 0.6rem; font-size: 0.875rem; }\n.bulk__what, .bulk__all { color: var(--muted); }\n.bulk__all { display: flex; gap: 0.35rem; align-items: center; }\nform.bulk button { font-size: 0.8125rem; padding: 0.2rem 0.6rem; }\np.bulk__login { margin: 0 0 0.6rem; font-size: 0.8125rem; color: var(--muted); }\nbody.anon p.bulk__login { display: block; }\n.notice { padding: 0.5rem 0.75rem; border: 1px solid var(--border-strong); border-left: 3px solid var(--lake);\n  border-radius: var(--radius-sm); background: var(--surface); font-size: 0.875rem; }\n@media (max-width: 40rem) {\n  .filters { gap: 0.5rem 0.6rem; }\n  .filters label, details.pick { flex: 1 1 8.5rem; }\n  .filters label input, .filters label select { width: 100%; }\n  .pick__value { max-width: none; }\n  .filters__quick { flex-basis: 100%; }\n}\n.pager { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; margin-top: 0.8rem; font-size: 0.875rem; }\n.pager__at { color: var(--muted); font-variant-numeric: tabular-nums; }\ninput, button, select { font: inherit; padding: 0.35rem 0.6rem; border: 1px solid var(--border-strong);\n  border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }\ninput:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--lake);\n  outline-offset: 1px; border-color: var(--lake); }\nbutton { cursor: pointer; font-weight: 500; }\nbutton:hover { border-color: var(--lake); color: var(--lake); }\nbutton.danger { color: var(--bad); }\nbutton.danger:hover { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 6%, transparent); }\n.actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: end; margin: 1rem 0; }\nform.action { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; margin: 0; }\nform.action label { display: grid; gap: 0.2rem; font-size: 0.8rem; color: var(--muted); }\nform.act { display: inline; margin: 0 0 0 0.4rem; }\n.act__btn { font-size: 0.75rem; padding: 0.05rem 0.45rem; vertical-align: middle; font-weight: 500; }\nh1 .act__btn { font-size: 0.8125rem; padding: 0.15rem 0.6rem; }\n.act__login { display: none; margin-left: 0.4rem; font-size: 0.75rem; font-weight: 400; }\nbody.anon form.act, body.anon .act__need { display: none; }\nbody.anon .act__login { display: inline; }\n/* The dialog an action asks with (`_ASK`): a card over the page. */\ndialog.ask { width: min(28rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0;\n  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);\n  border-radius: var(--radius); box-shadow: var(--shadow), 0 24px 48px -20px rgb(0 0 0 / 0.35); font: inherit; }\ndialog.ask::backdrop { background: rgb(14 13 17 / 0.45); }\ndialog.ask[open] { animation: ask-in 0.12s ease-out; }\n@keyframes ask-in { from { opacity: 0; transform: translateY(0.4rem); } }\n@media (prefers-reduced-motion: reduce) { dialog.ask[open] { animation: none; } }\n.ask__form { display: grid; gap: 0.5rem; margin: 0; padding: 1.15rem 1.25rem 1.1rem; }\n.ask__title { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }\n.ask__body { margin: 0; color: var(--muted); font-size: 0.875rem; overflow-wrap: anywhere; }\n.ask__body:empty { display: none; }\n.ask__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; margin-top: 0.6rem; }\ndialog.ask .ask__yes { background: var(--lake); border-color: var(--lake); color: var(--bg); font-weight: 600; }\ndialog.ask .ask__yes.danger { background: var(--bad); border-color: var(--bad); color: var(--bg); }\ndialog.ask .ask__yes:hover { filter: brightness(1.08); color: var(--bg); }\n@media (max-width: 30rem) { .ask__btns > button { flex: 1 1 auto; padding: 0.5rem 0.75rem; } }\n.chain { margin: 0.4rem 0 0.8rem; padding-left: 1.4rem; }\n.chain__level { margin: 0.2rem 0; }\n.chain__level + .chain__level::marker { content: \22\E2\86\92 \22; }\nform.start { display: grid; gap: 0.7rem; margin: 1rem 0; max-width: 46rem; }\n.start__range { display: grid; gap: 0.2rem; font-size: 0.8rem; color: var(--muted); max-width: 22rem; }\n.start__check { font-size: 0.875rem; display: flex; gap: 0.4rem; align-items: center; }\n.start__choices { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }\n.start__choice { display: grid; gap: 0.25rem; max-width: 21rem; align-content: start; }\n.start__choice p { margin: 0; font-size: 0.8125rem; }\nform.start > button { justify-self: start; }\nbutton.primary { background: var(--lake); border-color: var(--lake); color: #fff; font-weight: 600; }\nbutton.primary:hover { filter: brightness(1.08); color: #fff; }\n.start__preview p { margin: 0.2rem 0; }\n.start__preview .refused { color: var(--bad); }\n.start__cli { margin: 0; font-size: 0.8125rem; }\npre.cmd { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);\n  padding: 0.5rem 0.8rem; font-size: 0.8125rem; overflow-x: auto; user-select: all; }\n.cmdbox { display: flex; gap: 0.5rem; align-items: stretch; }\n.cmdbox pre.cmd { flex: 1; min-width: 0; }\n.cmdbox .copy { flex: none; font-size: 0.8125rem; }\n.auth { max-width: 22rem; margin: 3rem auto; background: var(--surface); border: 1px solid var(--border);\n  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.75rem 1.5rem; }\n.auth h1 { font-size: 1.35rem; margin: 0 0 1rem; }\n.auth .error { margin: 0 0 0.8rem; font-size: 0.875rem; }\n.auth .muted { font-size: 0.8125rem; margin: 1rem 0 0; }\nform.login { display: grid; gap: 0.7rem; }\nform.login label { display: grid; gap: 0.25rem; font-size: 0.8125rem; color: var(--muted); }\nform.login input { display: block; width: 100%; }\nform.login button { margin-top: 0.4rem; background: var(--ember); border-color: var(--ember);\n  color: #fff; font-weight: 600; }\nform.login button:hover { background: var(--ember-soft); border-color: var(--ember-soft); color: #fff; }\n\n/* Logs and errors. */\npre.log { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);\n  padding: 0.8rem 1rem; font-size: 0.8rem; line-height: 1.45; max-height: 70vh; overflow: auto;\n  white-space: pre-wrap; }\npre.error { color: var(--bad); background: var(--surface); border: 1px solid var(--border);\n  border-left: 3px solid var(--bad); border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; }\n\n/* The DAG of a pipeline's steps, coloured by a run. */\n.dag { display: block; margin: 0.5rem 0 0.5rem; font-family: var(--mono); }\n.dag rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }\n.dag__edge { fill: none; stroke: var(--faint); stroke-width: 1.5; }\n.dag__head { fill: var(--faint); }\n.dag__name { font-size: 13px; font-weight: 600; fill: var(--text); }\n.dag__kind { font-size: 11px; fill: var(--muted); }\n.dag a:hover rect { stroke: var(--lake); }\n/* A link to source code on its host, unlike a link inside orca: an icon, the\n   file and line in monospace, and an arrow out. */\na.src { font-family: var(--mono); font-size: 0.78rem; font-weight: 400; color: var(--muted);\n  text-decoration: none; white-space: nowrap; }\na.src:hover { color: var(--lake); }\na.src:hover .src__at { text-decoration: underline; text-underline-offset: 0.18em; }\n.src__icon { display: inline-block; vertical-align: -0.1em; margin-right: 0.3em; }\n.src__out { color: var(--faint); margin-left: 0.2em; }\na.src:hover .src__out { color: inherit; }\n.steps-of { color: var(--muted); }\n.doc { font-size: 0.75rem; font-weight: 400; margin-left: 0.5rem; color: var(--faint); }\n.dag__box--succeeded rect { stroke: var(--ok); }\n.dag__box--failed rect { stroke: var(--bad); stroke-width: 2; }\n.dag__box--running rect { stroke: var(--live); stroke-width: 2; }\n.dag__box--skipped rect, .dag__box--pending rect, .dag__box--queued rect,\n.dag__box--cancelled rect { stroke-dasharray: 4 3; }\n\n/* The flow of datasets through pipelines. */\n.graph { display: block; margin: 0.5rem auto; font-family: var(--mono); max-width: 100%; height: auto; }\n.graph rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }\n.graph a:hover rect { stroke: var(--lake); }\n.graph__edge { fill: none; stroke: var(--faint); stroke-width: 1.5; }\n.graph__head { fill: var(--faint); }\n.graph__label { font-size: 13px; font-weight: 600; fill: var(--text); }\n.graph__sub { font-size: 11px; fill: var(--muted); }\n.graph__node--dataset rect { stroke: var(--lake); }\n.graph__node--pipeline rect { stroke: var(--ember); }\n.graph__node--source rect { stroke-dasharray: 4 3; }\n.graph__node--start rect { stroke: var(--ember); stroke-width: 2.5; }\n\n/* Timelines and the runs-per-day chart. */\n.tl { display: block; margin: 0.5rem 0; font-family: var(--mono); }\n.tl__lane, .tl__time { font-size: 11px; fill: var(--faint); }\n.tl__tick { stroke: var(--border); }\n.tl__count { fill: none; stroke: var(--lake); stroke-width: 2; }\n.tl--0 { fill: var(--lake); } .tl--1 { fill: var(--ember); } .tl--2 { fill: var(--ok); }\n.tl--3 { fill: #7a5af8; } .tl--4 { fill: #b54708; } .tl--5 { fill: #c11574; }\n.tl---1 { fill: var(--faint); }\n.runs--ok { fill: var(--lake); } .runs--bad { fill: var(--bad); }\n.runs--other { fill: var(--border-strong); }\n.runs--none { fill: transparent; }\n.tl g:hover .runs--ok { fill: var(--lake-soft); }\n.tl g:hover .runs--none { fill: color-mix(in srgb, var(--text) 4%, transparent); }\n\n/* A run's machines (orca.metrics). */\n.mx__name { font-size: 12px; font-weight: 600; fill: var(--text); }\n.mx__strip { fill: var(--surface-2); }\n.mx__cpu { fill: color-mix(in srgb, var(--lake) 55%, transparent); }\n.mx__wait { fill: color-mix(in srgb, var(--warn) 45%, transparent); }\n.mx__steal, .mx__mem, .mx__disk, .mx__io, .mx__net { fill: none; stroke-width: 1.5; }\n.mx__steal { stroke: var(--bad); }\n.mx__mem { stroke: var(--ember); } .mx__disk { stroke: #7a5af8; }\n.mx__io { stroke: #b54708; } .mx__net { stroke: var(--lake); }\n.mx__warn { fill: color-mix(in srgb, var(--bad) 14%, transparent); }\n.mx__now { stroke: var(--live); stroke-dasharray: 3 3; }\n.mx__key { display: inline-block; width: 0.9em; height: 0.55em; margin: 0 0.3em 0 0.7em; border-radius: 2px; }\n.mx__key--cpu { background: color-mix(in srgb, var(--lake) 55%, transparent); }\n.mx__key--wait { background: color-mix(in srgb, var(--warn) 45%, transparent); }\n.mx__key--steal { background: var(--bad); } .mx__key--mem { background: var(--ember); }\n.mx__key--disk { background: #7a5af8; } .mx__key--io { background: #b54708; }\n.mx__key--net { background: var(--lake); }\n.mx__key--warn { background: color-mix(in srgb, var(--bad) 14%, transparent); border: 1px solid var(--bad); }\n/* The fleet page (orca.fleet): summary cards, the hosts table and charts. */\n.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 0.75rem;\n  margin: 0 0 1.25rem; }\n.stat { display: grid; gap: 0.15rem; align-content: start; background: var(--surface);\n  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);\n  padding: 0.7rem 0.9rem; color: var(--text); text-decoration: none; }\n.stat:hover { border-color: var(--lake); }\n.stat__k { font-family: var(--mono); font-size: 0.6875rem; text-transform: uppercase;\n  letter-spacing: 0.08em; color: var(--faint); }\n.stat__v { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2;\n  font-variant-numeric: tabular-nums; }\n.stat__v small { font-size: 0.8125rem; font-weight: 400; color: var(--muted); }\n.stat__s { font-size: 0.8125rem; color: var(--muted); }\n.stat--errors .stat__v { color: var(--bad); }\n.stats--compact .stat { padding: 0.45rem 0.75rem; }\n.stats--compact .stat__v { font-size: 1.15rem; }\n.spark { display: inline-block; vertical-align: middle; }\n.spark polyline { fill: none; stroke: var(--lake); stroke-width: 1.5; stroke-linejoin: round; }\n.stat--errors .spark polyline { stroke: var(--bad); }\ntable.hosts td, table.hosts th { vertical-align: middle; }\na.sortby { color: inherit; text-decoration: none; }\na.sortby:hover { color: var(--text); }\nth[aria-sort] { color: var(--text); }\n.range { margin: 1.25rem 0 0; font-size: 0.875rem; color: var(--muted); }\nsvg.fl { display: block; width: 100%; min-width: 34rem; height: auto; font-family: var(--mono); }\n.fl--0 { fill: var(--lake); } .fl--1 { fill: var(--ember); } .fl--2 { fill: #7a5af8; }\n.fl--3 { fill: #d4a72c; }\n.fl--live { fill: var(--live); } .fl--bad { fill: var(--bad); } .fl--faint { fill: var(--faint); }\n.fl__line { fill: none; stroke-width: 1.75; stroke-linejoin: round; }\n.fl__line.fl--0 { stroke: var(--lake); } .fl__line.fl--1 { stroke: var(--ember); }\n.fl__line.fl--faint { stroke: var(--faint); stroke-dasharray: 4 3; }\n.fl__line.fl--2 { stroke: #7a5af8; } .fl__line.fl--live { stroke: var(--live); }\n.fl__line.fl--3 { stroke: #d4a72c; }\n.fl__line.fl--bad { stroke: var(--bad); }\n/* A warning on the home and system pages (orca.system). */\n.alert { margin: 0 0 1.25rem; padding: 0.6rem 0.9rem; border-radius: var(--radius); font-size: 0.9rem;\n  color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent);\n  border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }\n.alert a { color: inherit; font-weight: 600; }\n.alert--trip { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent);\n  border-color: color-mix(in srgb, var(--bad) 45%, transparent); }\n.fl__area { stroke: none; opacity: 0.22; }\n.fl__keys { margin: 0; padding: 0.4rem 1.1rem 0.8rem; font-size: 0.8125rem; color: var(--muted); }\n.fl__key { display: inline-block; width: 0.9em; height: 0.55em; margin-right: 0.3em; border-radius: 2px;\n  background: currentColor; }\n.fl__key.fl--0 { color: var(--lake); } .fl__key.fl--1 { color: var(--ember); }\n.fl__key.fl--2 { color: #7a5af8; } .fl__key.fl--live { color: var(--live); }\n.fl__key.fl--3 { color: #d4a72c; }\n.fl__key.fl--bad { color: var(--bad); } .fl__key.fl--faint { color: var(--faint); }\n.cal { display: grid; gap: 0.4rem; max-width: 22rem; margin: 0.3rem 0; }\n.cal[hidden] { display: none; }\n.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }\n.cal__head a, .cal__head button { min-width: 2.25rem; text-align: center; padding: 0.2rem 0.5rem; }\n.cal__grid { display: grid; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }\n.cal__grid--days { grid-template-columns: repeat(7, 1fr); }\n.cal__grid--months { grid-template-columns: repeat(4, 1fr); }\n.cal__dow { text-align: center; font-size: 0.7rem; color: var(--faint); }\n.cal__day { display: flex; align-items: center; justify-content: center; position: relative; min-height: 2.25rem;\n  font: inherit; font-size: 0.8125rem; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm);\n  background: var(--surface); color: var(--text); }\nbutton.cal__day { cursor: pointer; }\n.cal__day::after { position: absolute; top: 1px; right: 3px; font-size: 0.6rem; line-height: 1; }\n.cal--done { background: color-mix(in srgb, var(--ok) 22%, var(--surface)); border-color: var(--ok); }\n.cal--done::after { content: \22\\2713\22; color: var(--ok); }\n.cal--failed { background: color-mix(in srgb, var(--bad) 22%, var(--surface)); border-color: var(--bad); }\n.cal--failed::after { content: \22\\2715\22; color: var(--bad); }\n.cal--live { background: color-mix(in srgb, var(--live) 22%, var(--surface)); border-color: var(--live); }\n.cal--live::after { content: \22\\25CF\22; color: var(--live); }\n.cal--outside { color: var(--faint); background: var(--bg-alt); border-style: dashed; opacity: 0.6; cursor: default; }\n.cal--sel { outline: 2px solid var(--lake); outline-offset: -2px; font-weight: 700; }\n.cal--anchor { box-shadow: 0 0 0 2px var(--ember); }\nbutton.cal__day:focus-visible { outline: 2px solid var(--lake-soft); outline-offset: 1px; }\n.cal__legend, .cal__hint { margin: 0; font-size: 0.75rem; }\n.cal__key { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; vertical-align: middle; }\n.cal__key::after { content: none; }\n.cal--static .cal__day { cursor: default; }\n.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n"
```
