/* A live dashboard's page (#5634): the bridge kit.css names its variables for, from the workbench's roles (#5629,
   workbench.css, linked before this), so a dashboard in a workbench tab draws in the shell's colours. The kit's rules are
   its own, inlined by the page; only its colours, its type and the page's scrolling are set here. The kit declares its
   defaults in :where(:root), which has no specificity, so these win. */
:root {
    color-scheme: dark;
    --kit-bg: var(--wb-surface);
    --kit-fg: var(--wb-fg);
    --kit-muted: var(--wb-muted);
    --kit-border: var(--wb-line);
    --kit-surface: var(--wb-raised);
    --kit-accent: var(--wb-accent);
    --kit-grid: color-mix(in srgb, var(--wb-line) 60%, transparent);
    --kit-edit-bg: var(--wb-chrome);
    --kit-edit-border: var(--wb-line);
    --kit-edit-border-focus: var(--wb-accent);
    --kit-button-bg: var(--wb-raised);
    --kit-button-hover: var(--wb-hover);
    --kit-button-border: var(--wb-line);
    --kit-hover: var(--wb-hover);
    --kit-selected: var(--wb-selected);
    --kit-tab-selected: var(--wb-surface);
    --kit-series-1: var(--wb-accent);
    --kit-series-2: var(--wb-agent);
    --kit-series-3: #6ccb5f;
    --kit-series-4: #b9a2e8;
    --kit-series-5: #f08a9c;
    --kit-series-6: #4fc3c7;
    --kit-error-bg: #2a1416;
    --kit-error-fg: #f1bbbc;
    --kit-error-border: #6e3b3a;
    --kit-good: #35c4b5;
    --kit-warn: #f5c04a;
    --kit-bad: #ff6f7d;
    --kit-ref: #8f8f8f;
    --kit-annotation: #cfcfcf;
    --kit-font-numeric: var(--wb-mono);
}

/* The workbench's stylesheet holds its own page still; a dashboard's page scrolls. */
html, body { height: auto; min-height: 100%; overflow: auto; }
body { font: var(--wb-text)/1.4 var(--wb-font); }

/* A page held to a width by default (#5646): one that isn't wrapped in the kit's <Page> is centred at the kit's Normal
   width, 1280 px, with its gutter, so it does not sprawl across a wide tab. A page that is wrapped keeps its own width. */
#app:not(:has(> .kit-page)) { box-sizing: border-box; width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
