/* ── gpsignals app-local styles ───────────────────────────────────────────────
   App-specific rules that don't belong in the shared UI kit (ui.css) — per
   references/ui-migration.md step 5, an app keeps its own page CSS here, linked
   after ui.css, with colours expressed as tokens/vars rather than raw hex in the
   components.

   Categorical chart palette. The kit's semantic tokens cover status and chrome but
   not an N-way categorical series, so the hand-rolled SVG charts (DonutChart,
   StackedTrendChart) read these. Neutrals in those charts use `currentColor`
   (the theme's text colour), so only the series hues live here. The default set
   reads on the light canvases (Classic / Aurum / Mono / Meridian); the Terminal
   (dark) theme gets brighter variants for contrast on black. */
:root {
    --chart-1: #5947FF;   /* indigo */
    --chart-2: #2E6B5E;   /* forest */
    --chart-3: #9C91FF;   /* indigo 60 */
    --chart-4: #7DBFAD;   /* forest light */
    --chart-5: #CDC7FF;   /* indigo 30 */
    --chart-6: #1A4D43;   /* forest deep */
    --chart-7: #D98EFF;   /* lilac */
    --chart-8: #102323;   /* green dark */
    --chart-priority: #FF8138;   /* orange — the attention accent (priority overlay) */
}

/* A form/panel that reads badly at full width is capped (ui-patterns: cap that one panel). */
.report-email { max-width: 560px; }

/* A clamped briefing snippet in a watchlist row (the full text is in the split-view detail pane).
   Kept narrow so the 9-column watchlist table fits the screen without a horizontal scroll. */
.wl-snip {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 260px;
    color: var(--fg-2);
}

/* Terminal is the kit's only dark theme; lift the series off the black canvas. */
:root[data-theme="terminal"] {
    --chart-1: #9C91FF;
    --chart-2: #75F0A6;
    --chart-3: #CDC7FF;
    --chart-4: #7DBFAD;
    --chart-5: #D98EFF;
    --chart-6: #5FD394;
    --chart-7: #F5F573;
    --chart-8: #AEB6C4;
    --chart-priority: #FFB37A;
}
