/* subway-web-kit 0.8.0 | Subway Web Kit design standard: standards/web-kit/subway-web-kit-design-standard.md
   The only file where a color value is written (rule C-1). Scope: everything under .swk. */

/* ---------- Tokens (C-1..C-6). Data colors validated with the dataviz script, Nov 3 2026: see kit/README.md. ---------- */
/* swk-generated:begin tokens: generated from subway-web-kit.ini by build-tokens.mjs: do not edit; change the ini and run node build-tokens.mjs */
.swk{
  --swk-green:#008938;
  --swk-yellow:#F2B700;
  --swk-on-brand:#ffffff;
  --swk-ink-light:#ffffff;
  --swk-ink-dark:#0b0b0b;
  /* C-8: label ink on a lighter tint (a color-mix of a data token with the panel). Dark ink on light, white on dark. */
  --swk-ink-tint:#0b0b0b;
  /* series (C-2): generic chart series colors, used in this fixed order and validated together as a set (C-3, kit/README.md) */
  --swk-series-1:#3a84ca;
  --swk-series-2:#764ab2;
  /* series 3-9 (Nov 6, 2026): picked by script, never by eye; 9 is a grey, never a tile edge or a header (owner ruling) */
  --swk-series-3:#d64bd9;
  --swk-series-4:#c57684;
  --swk-series-5:#ab8704;
  --swk-series-6:#85284d;
  --swk-series-7:#0235da;
  --swk-series-8:#1f790c;
  --swk-series-9:#696969;
  /* the old Guest Care channel names (web form, virtual agent), kept as aliases through 0.x and removed at 1.0: use the series names */
  --swk-form:var(--swk-series-1);
  --swk-va:var(--swk-series-2);
  /* status: reserved, never a series */
  --swk-good:#2f9e5b;
  --swk-good-soft:#86c99b;
  --swk-sand:#cdb47e;
  --swk-watch:#945e06;
  --swk-warn:#ef8a3c;
  --swk-bad:#d9534f;
  /* status as TEXT (K-6 change indicators): the fills above are too light to read as text. APCA Lc 72-76 light, 61-65 dark. */
  --swk-good-ink:#00782f;
  --swk-bad-ink:#b3261e;
  --swk-watch-ink:#8a6100;
  /* C-10 (0.8.0, PBI 1906850): brand green for SELECTED text (.swk-text-brand: a savings figure; .swk-text-brand-h: a heading).
     Subway Green #008938 is only 4.21:1 on the light panel, so Light uses a darker text-safe green: 5.48:1 on the page, 5.09:1 on the
     panel, 4.74:1 on a band. Dark: 7.32:1 (figures) and 9.72:1 (headings) on the panel. The checker computes all of them. */
  --swk-brand-text:#007a32;
  --swk-brand-text-head:#007a32;
  /* brand text on a solid Subway Yellow fill (data-swk-fill="yellow"): stays dark in both themes, 5.54:1 on #F2B700 */
  --swk-brand-text-on-yellow:#004d21;
  /* C-10 page category colors (.swk-cat chips): a veil of the panel laid over the category color, one for the chip and one for its
     1px ring, and the chip text. Light: no veil (the color itself) and white text. Dark: a 70% panel veil (a 30% mix of the color over
     the panel), a 40% veil on the ring (a 60% mix), light text. */
  --swk-catchip-veil:color-mix(in srgb,var(--color-panel) 0%,transparent);
  --swk-catchip-ring:color-mix(in srgb,var(--color-panel) 0%,transparent);
  --swk-catchip-ink:#ffffff;
  /* severity (K-25, 0.4.0): priority pills, colored by LEVEL, never by label (1 red, 2 orange, 3 yellow, 4 blue; ruled Nov 5, 2026).
     Separate from the status tokens on purpose (C-5). Per level: the hue (pill border, key swatch), a tint (pill background) and
     the ink (pill text on that tint, 4.5:1 or better; the checker computes it). Major (M1/M2) = level 1 solid: --swk-sev-major/-ink. */
  --swk-sev-1:#c42b23;
  --swk-sev-1-bg:#fde7e5;
  --swk-sev-1-ink:#9b1c15;
  --swk-sev-2:#c25a0a;
  --swk-sev-2-bg:#fdecd9;
  --swk-sev-2-ink:#8a3d00;
  --swk-sev-3:#a98000;
  --swk-sev-3-bg:#fcf1c2;
  --swk-sev-3-ink:#3b2d00;
  --swk-sev-4:#2f6db5;
  --swk-sev-4-bg:#e2edf9;
  --swk-sev-4-ink:#17467f;
  --swk-sev-major:#c42b23;
  --swk-sev-major-ink:#ffffff;
  /* routes */
  --swk-route-queue:#33a397;
  --swk-route-gc:#b9448e;
  --swk-route-other:#d67523;
  /* hues with no shared meaning */
  --swk-hue-indigo:#5546c9;
  --swk-hue-magenta:#b9448e;
  --swk-hue-aqua:#5fb8ae;
  /* indigo as TEXT (an end label on a line, M-12): mixed toward the text color, so it follows the theme. 8.0:1 light, 5.2:1 dark. */
  --swk-hue-indigo-ink:color-mix(in srgb,var(--swk-hue-indigo) 75%,var(--color-fg));
  /* chrome */
  --swk-band:#ecefed;
  --swk-indent:1.2rem;
  --swk-radius-pill:999px;
  --swk-max-w:1600px;
  --swk-ev-ink:color-mix(in srgb,var(--color-fg) 80%,var(--color-panel));
  --swk-span:color-mix(in srgb,var(--color-fg) 7%,transparent);
  --swk-hover-band:color-mix(in srgb,var(--swk-green) 9%,transparent);
  --swk-green-ink:#00782f;
  --swk-tint:16%;
  --swk-dim:.45;
  /* --swk-dim-line (0.7.0, M-1): how far the other lines fade while one line is in focus */
  --swk-dim-line:.2;
  /* --swk-ln-on (0.7.0, M-1): how thick the line in focus is drawn */
  --swk-ln-on:3.5px;
  /* --swk-ln-prior (0.7.0, M-14): how thick an earlier-period (dotted) line is drawn; thinner than the primary line */
  --swk-ln-prior:1.75px;
  /* --swk-dot (0.7.0, M-14): the dash pattern of an earlier-period line; zero-length dashes with round caps draw dots */
  --swk-dot:0 4;
  /* --swk-gap (M-2): width of the panel-colored line that separates stacked bar segments */
  --swk-gap:1.5px;
  /* --swk-gap-arc (M-2): the same separator between donut and pie slices */
  --swk-gap-arc:1px;
  /* --swk-dur: how long a hover change takes (a card's shadow, a mark's fade) */
  --swk-dur:130ms;
  /* --swk-shadow: the raised look of a clickable card on hover */
  --swk-shadow:0 0 0 1px color-mix(in srgb,var(--color-fg) 14%,transparent),0 6px 18px color-mix(in srgb,var(--color-fg) 18%,transparent);
  /* K-37 orange as TEXT (the At risk word in the list view): the warn fill is too light to read as text, like the other status fills (K-6).
     Measured 6.00:1 on the panel and 6.46:1 on the page in Light, 8.03:1 and 8.79:1 in Dark (4.5:1 needed; the checker computes it). */
  --swk-warn-ink:#9a4600;
  /* Neutral edge for callouts and the empty tile: the text color mixed with the panel, so it follows the theme.
     Chrome only, never a data color (C-6). */
  --swk-edge-neutral:color-mix(in srgb,var(--color-fg) 55%,var(--color-panel));
  /* K-20: the narrowest a tile may be, so K-7's "narrowest tile" is a defined width (fits a 24-character label). */
  --swk-tile-min:13rem;
  /* K-20: the narrowest a card in an auto-fit grid may be. */
  --swk-card-min:22rem;
  /* K-23: the narrowest a comparison column may be before the columns stack. */
  --swk-compare-min:18rem;
  /* K-37 status fills for roadmap bars, list chips and key swatches. They ARE the kit's status and series colors, named by what a
     roadmap means by them: Complete is the series 1 blue, On track the good green, At risk the warn orange (with dark ink, C-8), Delayed the
     bad red, Planned the series 2 purple (white ink). Tentative and Stopped have no fill: dashed and thin outlines. */
  --swk-road-done:var(--swk-series-1);
  --swk-road-ok:var(--swk-good);
  --swk-road-risk:var(--swk-warn);
  --swk-road-late:var(--swk-bad);
  --swk-road-plan:var(--swk-series-2);
  /* K-37 the Tentative label as TEXT: the plan purple mixed toward the text color so it follows the theme. 8.0:1 light, 5.2:1 dark on the panel. */
  --swk-road-plan-ink:color-mix(in srgb,var(--swk-series-2) 70%,var(--color-fg));
  /* M-7: one bar thickness for every horizontal bar chart, and the row pitch around it. subway-web-kit.js reads both (swkKit.BAR, swkKit.BAR_ROW); these numbers are the fallback there.
     C-10 option, off by default: the section heading (.swk-sec-h) color. Set it to var(--swk-brand-text-head) to make every section
     heading brand green, in an override file (build-tokens.mjs --override) or the kit's own ini. */
  --swk-sec-h-ink:var(--color-fg);
  --swk-road-bar:22px;
  --swk-road-pitch:30px;
}
.swk.swk-light{
  color-scheme:light;
  /* I-5: .swk-light and .swk-dark set the host tokens. Auto (no class) leaves the host's own theme alone. */
  --color-bg:#ffffff;
  --color-panel:#f5f7f5;
  --color-fg:#18201b;
  --color-fg-muted:#4b564f;
  --color-border-line:#c5cec8;
  --cds-chart-grid:#e8ece9;
  --cds-chart-axis:#c2cac4;
  --cds-chart-reference:#6f7c73;
  --cds-chart-muted:#b6bfb9;
  --cds-surface-popover:#ffffff;
  --cds-border:#c5cec8;
  --cds-text-secondary:#4b564f;
}
.swk.swk-dark{
  color-scheme:dark;
  --color-bg:#131715;
  --color-panel:#1b201d;
  --color-fg:#e8ede9;
  --color-fg-muted:#bcc5be;
  --color-border-line:#2d3430;
  --cds-chart-grid:#252b27;
  --cds-chart-axis:#3e4641;
  --cds-chart-reference:#8b968e;
  --cds-chart-muted:#535d57;
  --cds-surface-popover:#1b201d;
  --cds-border:#2d3430;
  --cds-text-secondary:#bcc5be;
  --swk-green-ink:#3fb56a;
}
.swk.swk-dark,.swk.swk-auto-dark{
  color-scheme:dark;
  /* Dark data colors: validated as a pair on the dark panel (dataviz validator + 3:1 for marks), Nov 3 2026.
     .swk-auto-dark is set by the kit when Auto is on and the HOST theme is dark (read from --color-bg, not the OS). */
  --swk-warn-ink:#f5a25c;
  --swk-ev-ink:color-mix(in srgb,var(--color-fg) 62%,var(--color-panel));
  --swk-span:color-mix(in srgb,var(--color-fg) 11%,transparent);
  --swk-hover-band:color-mix(in srgb,var(--swk-green) 20%,transparent);
  --swk-band:#252b27;
  --swk-series-1:#428cd3;
  --swk-series-2:#8951bf;
  --swk-series-3:#dc50ca;
  --swk-series-4:#c8787e;
  --swk-series-5:#a58c0d;
  --swk-series-6:#d71663;
  --swk-series-7:#1c58fc;
  --swk-series-8:#0d7c1c;
  --swk-series-9:#646c6d;
  --swk-green-ink:#3fb56a;
  --swk-ink-tint:#ffffff;
  --swk-hue-indigo:#6f63d8;
  --swk-good-ink:#6fd08f;
  --swk-bad-ink:#ff9a92;
  --swk-watch-ink:#a68230;
  --swk-brand-text:#4cc27a;
  --swk-brand-text-head:#8fd6a8;
  --swk-catchip-veil:color-mix(in srgb,var(--color-panel) 70%,transparent);
  --swk-catchip-ring:color-mix(in srgb,var(--color-panel) 40%,transparent);
  --swk-catchip-ink:#e8ede9;
  --swk-sev-1:#ef6a60;
  --swk-sev-1-bg:#eeb0aa;
  --swk-sev-1-ink:#3d0805;
  --swk-sev-2:#f08a3e;
  --swk-sev-2-bg:#efc69c;
  --swk-sev-2-ink:#3a1c00;
  --swk-sev-3:#e3bb3a;
  --swk-sev-3-bg:#e6d07c;
  --swk-sev-3-ink:#2a2000;
  --swk-sev-4:#6a9fe0;
  --swk-sev-4-bg:#b0cbec;
  --swk-sev-4-ink:#0b2647;
  --swk-sev-major:#c62f26;
  --swk-sev-major-ink:#ffffff;
}
/* I-5 (0.8.0): data-swk-force="light" or "dark" on any element keeps that section in one theme whatever the page theme:
   inside a .swk root, on the root, or on an element that wraps one. Host colors, data colors, color-scheme, background, text. */
.swk [data-swk-force="light"],.swk[data-swk-force="light"],[data-swk-force="light"] .swk{
  color-scheme:light;
  background:var(--color-bg);
  color:var(--color-fg);
  --color-bg:#ffffff;
  --color-panel:#f5f7f5;
  --color-fg:#18201b;
  --color-fg-muted:#4b564f;
  --color-border-line:#c5cec8;
  --cds-chart-grid:#e8ece9;
  --cds-chart-axis:#c2cac4;
  --cds-chart-reference:#6f7c73;
  --cds-chart-muted:#b6bfb9;
  --cds-surface-popover:#ffffff;
  --cds-border:#c5cec8;
  --cds-text-secondary:#4b564f;
  --swk-green:#008938;
  --swk-yellow:#F2B700;
  --swk-on-brand:#ffffff;
  --swk-ink-light:#ffffff;
  --swk-ink-dark:#0b0b0b;
  --swk-ink-tint:#0b0b0b;
  --swk-series-1:#3a84ca;
  --swk-series-2:#764ab2;
  --swk-series-3:#d64bd9;
  --swk-series-4:#c57684;
  --swk-series-5:#ab8704;
  --swk-series-6:#85284d;
  --swk-series-7:#0235da;
  --swk-series-8:#1f790c;
  --swk-series-9:#696969;
  --swk-form:var(--swk-series-1);
  --swk-va:var(--swk-series-2);
  --swk-good:#2f9e5b;
  --swk-good-soft:#86c99b;
  --swk-sand:#cdb47e;
  --swk-watch:#945e06;
  --swk-warn:#ef8a3c;
  --swk-bad:#d9534f;
  --swk-good-ink:#00782f;
  --swk-bad-ink:#b3261e;
  --swk-watch-ink:#8a6100;
  --swk-brand-text:#007a32;
  --swk-brand-text-head:#007a32;
  --swk-brand-text-on-yellow:#004d21;
  --swk-catchip-veil:color-mix(in srgb,var(--color-panel) 0%,transparent);
  --swk-catchip-ring:color-mix(in srgb,var(--color-panel) 0%,transparent);
  --swk-catchip-ink:#ffffff;
  --swk-sev-1:#c42b23;
  --swk-sev-1-bg:#fde7e5;
  --swk-sev-1-ink:#9b1c15;
  --swk-sev-2:#c25a0a;
  --swk-sev-2-bg:#fdecd9;
  --swk-sev-2-ink:#8a3d00;
  --swk-sev-3:#a98000;
  --swk-sev-3-bg:#fcf1c2;
  --swk-sev-3-ink:#3b2d00;
  --swk-sev-4:#2f6db5;
  --swk-sev-4-bg:#e2edf9;
  --swk-sev-4-ink:#17467f;
  --swk-sev-major:#c42b23;
  --swk-sev-major-ink:#ffffff;
  --swk-route-queue:#33a397;
  --swk-route-gc:#b9448e;
  --swk-route-other:#d67523;
  --swk-hue-indigo:#5546c9;
  --swk-hue-magenta:#b9448e;
  --swk-hue-aqua:#5fb8ae;
  --swk-hue-indigo-ink:color-mix(in srgb,var(--swk-hue-indigo) 75%,var(--color-fg));
  --swk-band:#ecefed;
  --swk-ev-ink:color-mix(in srgb,var(--color-fg) 80%,var(--color-panel));
  --swk-span:color-mix(in srgb,var(--color-fg) 7%,transparent);
  --swk-hover-band:color-mix(in srgb,var(--swk-green) 9%,transparent);
  --swk-green-ink:#00782f;
  --swk-warn-ink:#9a4600;
  --swk-shadow:0 0 0 1px color-mix(in srgb,var(--color-fg) 14%,transparent),0 6px 18px color-mix(in srgb,var(--color-fg) 18%,transparent);
  --swk-edge-neutral:color-mix(in srgb,var(--color-fg) 55%,var(--color-panel));
  --swk-road-done:var(--swk-series-1);
  --swk-road-ok:var(--swk-good);
  --swk-road-risk:var(--swk-warn);
  --swk-road-late:var(--swk-bad);
  --swk-road-plan:var(--swk-series-2);
  --swk-road-plan-ink:color-mix(in srgb,var(--swk-series-2) 70%,var(--color-fg));
  --swk-sec-h-ink:var(--color-fg);
}
.swk [data-swk-force="dark"],.swk[data-swk-force="dark"],[data-swk-force="dark"] .swk{
  color-scheme:dark;
  background:var(--color-bg);
  color:var(--color-fg);
  --color-bg:#131715;
  --color-panel:#1b201d;
  --color-fg:#e8ede9;
  --color-fg-muted:#bcc5be;
  --color-border-line:#2d3430;
  --cds-chart-grid:#252b27;
  --cds-chart-axis:#3e4641;
  --cds-chart-reference:#8b968e;
  --cds-chart-muted:#535d57;
  --cds-surface-popover:#1b201d;
  --cds-border:#2d3430;
  --cds-text-secondary:#bcc5be;
  --swk-green-ink:#3fb56a;
  --swk-warn-ink:#f5a25c;
  --swk-ev-ink:color-mix(in srgb,var(--color-fg) 62%,var(--color-panel));
  --swk-span:color-mix(in srgb,var(--color-fg) 11%,transparent);
  --swk-hover-band:color-mix(in srgb,var(--swk-green) 20%,transparent);
  --swk-band:#252b27;
  --swk-series-1:#428cd3;
  --swk-series-2:#8951bf;
  --swk-series-3:#dc50ca;
  --swk-series-4:#c8787e;
  --swk-series-5:#a58c0d;
  --swk-series-6:#d71663;
  --swk-series-7:#1c58fc;
  --swk-series-8:#0d7c1c;
  --swk-series-9:#646c6d;
  --swk-ink-tint:#ffffff;
  --swk-hue-indigo:#6f63d8;
  --swk-good-ink:#6fd08f;
  --swk-bad-ink:#ff9a92;
  --swk-watch-ink:#a68230;
  --swk-brand-text:#4cc27a;
  --swk-brand-text-head:#8fd6a8;
  --swk-catchip-veil:color-mix(in srgb,var(--color-panel) 70%,transparent);
  --swk-catchip-ring:color-mix(in srgb,var(--color-panel) 40%,transparent);
  --swk-catchip-ink:#e8ede9;
  --swk-sev-1:#ef6a60;
  --swk-sev-1-bg:#eeb0aa;
  --swk-sev-1-ink:#3d0805;
  --swk-sev-2:#f08a3e;
  --swk-sev-2-bg:#efc69c;
  --swk-sev-2-ink:#3a1c00;
  --swk-sev-3:#e3bb3a;
  --swk-sev-3-bg:#e6d07c;
  --swk-sev-3-ink:#2a2000;
  --swk-sev-4:#6a9fe0;
  --swk-sev-4-bg:#b0cbec;
  --swk-sev-4-ink:#0b2647;
  --swk-sev-major:#c62f26;
  --swk-sev-major-ink:#ffffff;
  --swk-form:var(--swk-series-1);
  --swk-va:var(--swk-series-2);
  --swk-hue-indigo-ink:color-mix(in srgb,var(--swk-hue-indigo) 75%,var(--color-fg));
  --swk-shadow:0 0 0 1px color-mix(in srgb,var(--color-fg) 14%,transparent),0 6px 18px color-mix(in srgb,var(--color-fg) 18%,transparent);
  --swk-edge-neutral:color-mix(in srgb,var(--color-fg) 55%,var(--color-panel));
  --swk-road-done:var(--swk-series-1);
  --swk-road-ok:var(--swk-good);
  --swk-road-risk:var(--swk-warn);
  --swk-road-late:var(--swk-bad);
  --swk-road-plan:var(--swk-series-2);
  --swk-road-plan-ink:color-mix(in srgb,var(--swk-series-2) 70%,var(--color-fg));
  --swk-sec-h-ink:var(--color-fg);
}
/* swk-generated:end tokens */
/* The page carries its own margin and edge in every theme, so switching Auto/Light/Dark never moves content;
   a forced theme can differ from the host frame around it. */
/* P-7: content stops growing at 1600 px and centers, so charts and lines of text never stretch on very wide screens.
   S-4 (0.4.0): one typeface token. --swk-font sets all kit text and --swk-font-figure the big numbers and the header title; --swk-figure-weight (0.7.0, default 400) the big numbers' weight;
   a host or page sets either once (on :root, html or .swk) and the kit follows. Unset, they fall back to the host stacks.
   S-3, S-4 (0.7.0, PBI 1905819): unset, big numbers fall back to the body sans, not the serif. Georgia's digits are old-style (3, 4, 5,
   7 and 9 drop below the line) and it has no lining set, so a row of figures looked uneven. Figures also ask for lining, even-width
   digits (lining-nums tabular-nums), for a host typeface that has both sets. The header title keeps the serif. */
.swk{padding:var(--cds-pad-xl);border-radius:var(--cds-radius);max-width:var(--swk-max-w);margin-inline:auto;box-sizing:border-box;font-family:var(--swk-font,var(--font-anthropic-sans))}
.swk.swk-light,.swk.swk-dark{background:var(--color-bg);color:var(--color-fg)}

/* ---------- Tiles and cards (K-1, K-2) ---------- */
.swk .swk-card{background:var(--color-panel);border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:var(--cds-pad-lg);min-width:0;display:flex;flex-direction:column;gap:var(--cds-gap-sm)}
.swk .swk-tile{--swk-edge:color-mix(in srgb,var(--swk-green) 45%,var(--color-panel));background:var(--color-panel);border:1px solid var(--color-border-line);border-top:3px solid var(--swk-edge);border-radius:var(--cds-radius);padding:var(--cds-pad-lg);min-width:0;display:flex;flex-direction:column;gap:var(--cds-gap-xs);font-variant-numeric:tabular-nums}
.swk .swk-tile--good{--swk-edge:var(--swk-good);--swk-val:var(--swk-good-ink)}
.swk .swk-tile--bad{--swk-edge:var(--swk-bad);--swk-val:var(--swk-bad-ink)}
.swk .swk-tile--warn{--swk-edge:var(--swk-warn)}
.swk .swk-tile--series-1,.swk .swk-tile--form{--swk-edge:var(--swk-series-1)}
.swk .swk-tile--series-2,.swk .swk-tile--va{--swk-edge:var(--swk-series-2)}
.swk .swk-tile--series-3{--swk-edge:var(--swk-series-3)}
.swk .swk-tile--series-4{--swk-edge:var(--swk-series-4)}
.swk .swk-tile--series-5{--swk-edge:var(--swk-series-5)}
.swk .swk-tile--series-6{--swk-edge:var(--swk-series-6)}
.swk .swk-tile--series-7{--swk-edge:var(--swk-series-7)}
.swk .swk-tile--series-8{--swk-edge:var(--swk-series-8)}
.swk .swk-tile--brand{--swk-edge:var(--swk-green)}
.swk .swk-tile-l{font-size:var(--cds-font-size-body);font-weight:600;color:var(--color-fg);line-height:1.3;min-height:2.6em}
.swk .swk-tiles--compact .swk-tile-l{font-size:var(--cds-font-size-caption);font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--color-fg-muted);min-height:0}
.swk .swk-tile-v{font-family:var(--swk-font-figure,var(--font-anthropic-sans));font-weight:var(--swk-figure-weight,400);font-size:var(--cds-font-size-title);color:var(--swk-val,var(--color-fg));font-variant-numeric:lining-nums tabular-nums}
.swk .swk-tile-n{font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);line-height:1.4}
.swk .swk-tile-trend{margin-top:auto}

/* ---------- Change indicator (K-6): arrow + signed amount + the comparison, colored by MEANING, never by direction. ---------- */
/* K-6: the chip wraps inside its tile; the comparison words drop to the next line. A figure is never clipped or cut short. */
.swk .swk-delta{display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:.3em;row-gap:2px;max-width:100%;min-width:0;font-weight:600;font-variant-numeric:tabular-nums;color:var(--color-fg);white-space:normal}
.swk .swk-delta-a{font-size:1.2em;line-height:1}
.swk .swk-delta--good{color:var(--swk-good-ink)}
.swk .swk-delta--bad{color:var(--swk-bad-ink)}
.swk .swk-delta--watch{color:var(--swk-watch-ink)}
.swk .swk-delta-vs{font-weight:400;color:var(--color-fg-muted);white-space:normal}
.swk .swk-tile-n{min-width:0;overflow-wrap:break-word}
/* K-6 neutral: no better direction or no target. A muted outlined chip; the page writes "no target" in its .swk-sr words and title. */
.swk .swk-delta--neutral{color:var(--color-fg-muted);font-weight:500;border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:0 .45em}
/* Words for screen readers only (the arrow itself is aria-hidden). */
.swk .swk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---------- Clickable (I-1). Shadow only: border and colors never change on hover (C-7). ---------- */
.swk .swk-click{cursor:pointer;transition:box-shadow var(--swk-dur) ease-out}
.swk .swk-click:hover{box-shadow:var(--swk-shadow)}
.swk .swk-click:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px}
.swk .swk-hint{margin-top:auto;font-size:var(--cds-font-size-caption);font-weight:600;color:var(--swk-green-ink)}

/* ---------- One switch (I-2) ---------- */
.swk .swk-seg-wrap{display:inline-flex;align-items:center;gap:var(--cds-gap-sm);flex-wrap:wrap}
.swk .swk-seg-label{font-size:var(--cds-font-size-caption);font-weight:600;color:var(--color-fg-muted)}
.swk .swk-seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--swk-green);border-radius:var(--swk-radius-pill);overflow:hidden;background:var(--color-panel)}
.swk .swk-seg button{font:inherit;font-size:var(--cds-font-size-caption);font-weight:600;background:transparent;color:var(--color-fg);border:0;padding:var(--cds-pad-sm) var(--cds-pad-lg);cursor:pointer;line-height:1.2;transition:background var(--swk-dur) ease-out}
.swk .swk-seg button+button{border-left:1px solid color-mix(in srgb,var(--swk-green) 45%,var(--color-panel))}
.swk .swk-seg button:hover{background:color-mix(in srgb,var(--swk-green) var(--swk-tint),var(--color-panel))}
.swk .swk-seg button[aria-pressed=true]{background:var(--swk-green);color:var(--swk-on-brand)}
.swk .swk-seg button:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px}
.swk .swk-select{font:inherit;font-size:var(--cds-font-size-caption);font-weight:600;color:var(--color-fg);background:var(--color-panel);border:1px solid var(--swk-green);border-radius:var(--swk-radius-pill);padding:var(--cds-pad-sm) var(--cds-pad-lg)}
.swk .swk-select:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px}

/* ---------- Slider (K-39; 0.8.0) ---------- */
/* A styled native <input type="range"> in a .swk-slider: label and value words on one line (the page writes both, P-1), the track, then
   the minimum and maximum labels. data-swk-range: two inputs share the track; each handle takes the pointer, the track does not. The kit
   sets --swk-lo and --swk-hi (the filled part, in percent). A phone (coarse pointer or 600px or less) gets a 28px handle on a 44px target. */
.swk .swk-slider{--swk-lo:0%;--swk-hi:0%;--swk-thumb:18px;--swk-slide-h:28px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--cds-pad-xs) var(--cds-gap-sm);align-items:baseline;min-width:0;max-width:28rem}
.swk .swk-slider-label{font-size:var(--cds-font-size-caption);font-weight:600;color:var(--color-fg-muted);min-width:0}
.swk .swk-slider-val{font-size:var(--cds-font-size-caption);font-weight:700;color:var(--color-fg);font-variant-numeric:tabular-nums;text-align:right}
.swk .swk-slider-track{grid-column:1/-1;position:relative;height:var(--swk-slide-h)}
.swk .swk-slider-track::before{content:"";position:absolute;left:calc(var(--swk-thumb) / 2);right:calc(var(--swk-thumb) / 2);top:50%;height:6px;margin-top:-3px;border-radius:3px;pointer-events:none;background:linear-gradient(to right,var(--color-border-line) var(--swk-lo),var(--swk-green) var(--swk-lo),var(--swk-green) var(--swk-hi),var(--color-border-line) var(--swk-hi))}
.swk .swk-slider input[type=range]{-webkit-appearance:none;appearance:none;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;background:transparent;font:inherit}
.swk .swk-slider[data-swk-range] input[type=range]{pointer-events:none}
.swk .swk-slider input[type=range]:focus{outline:none;z-index:1}
.swk .swk-slider input.swk-slider-up{z-index:2}
.swk .swk-slider input[type=range]::-webkit-slider-runnable-track{height:100%;background:transparent;border:0}
.swk .swk-slider input[type=range]::-moz-range-track{height:100%;background:transparent;border:0}
.swk .swk-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:auto;width:var(--swk-thumb);height:var(--swk-thumb);margin-top:calc((var(--swk-slide-h) - var(--swk-thumb)) / 2);border-radius:50%;background:var(--color-panel);border:3px solid var(--swk-green);box-sizing:border-box;cursor:pointer}
.swk .swk-slider input[type=range]::-moz-range-thumb{pointer-events:auto;width:var(--swk-thumb);height:var(--swk-thumb);border-radius:50%;background:var(--color-panel);border:3px solid var(--swk-green);box-sizing:border-box;cursor:pointer}
.swk .swk-slider input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--color-panel),0 0 0 5px var(--swk-green)}
.swk .swk-slider input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 2px var(--color-panel),0 0 0 5px var(--swk-green)}
.swk .swk-slider-ends{grid-column:1/-1;display:flex;justify-content:space-between;gap:var(--cds-gap-sm);font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);font-variant-numeric:tabular-nums}
@media (pointer:coarse),(max-width:600px){.swk .swk-slider{--swk-thumb:28px;--swk-slide-h:44px}}

/* ---------- One tooltip (T-1..T-4) ---------- */
.swk .swk-tip{position:absolute;z-index:20;pointer-events:none;min-width:160px;max-width:320px;white-space:normal;background:var(--cds-surface-popover,var(--color-panel));color:var(--color-fg);border:1px solid var(--color-border-line);border-top:3px solid var(--swk-green);border-radius:var(--cds-radius);padding:var(--cds-pad-md) var(--cds-pad-lg);font-size:var(--cds-font-size-caption);line-height:1.45;font-variant-numeric:tabular-nums;box-shadow:var(--swk-shadow)}
.swk .swk-tip[hidden]{display:none}
.swk .swk-tip-head{font-weight:700;color:var(--color-fg);margin-bottom:var(--cds-gap-xs);padding-bottom:var(--cds-gap-xs);border-bottom:1px solid var(--color-border-line)}
.swk .swk-tip-row{display:flex;align-items:center;gap:var(--cds-gap-sm)}
.swk .swk-tip-row+.swk-tip-row{margin-top:var(--cds-pad-xs)}
.swk .swk-tip-sw{width:10px;height:10px;border-radius:2px;flex:none}
/* subway-web-kit 0.8.0 | Tooltip extras (T-1), shared by the roadmap (K-37) and the board (K-38). Paste once into subway-web-kit.css,
   right after the .swk-tip rules: the page's fields as a definition list (.swk-tip-dl, dt label, dd value) and a muted hint line
   (.swk-tip-hint, "Select the bar to open details"). Built by swkKit.roadmap and swkKit.board after swkKit.tip has placed itself. */
.swk .swk-tip-dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--cds-pad-xs) var(--cds-gap-sm);margin:var(--cds-pad-xs) 0 0}
.swk .swk-tip-dl dt{color:var(--color-fg-muted);font-weight:600}
.swk .swk-tip-dl dd{margin:0}
.swk .swk-tip-hint{color:var(--color-fg-muted);font-weight:600}
/* Since 0.8.0 (PBI 1906378): a subtitle under the head (.swk-tip-sub, muted, one line of context such as a date or a team) and short
   paragraphs of notes (.swk-tip-p, where a figure comes from, what a gap means). The tip helper builds them from {sub} and {p} lines, or they are
   written by the page. Both wrap (T-2); the page writes every word (P-1). */
.swk .swk-tip-sub{color:var(--color-fg-muted);font-weight:600;margin:calc(-1 * var(--cds-pad-xs)) 0 var(--cds-gap-xs)}
.swk .swk-tip-p{margin:var(--cds-pad-xs) 0 0;max-width:60ch}
.swk .swk-tip-p+.swk-tip-p{margin-top:var(--cds-gap-xs)}

/* ---------- Legend: a swatch per series, text in text tokens (never the series color). ---------- */
.swk .swk-legend{display:flex;flex-wrap:wrap;gap:var(--cds-gap-xs) var(--cds-gap-lg);font-size:var(--cds-font-size-caption);color:var(--color-fg-muted)}
.swk .swk-legend>span{display:inline-flex;align-items:center;gap:var(--cds-gap-xs)}
.swk .swk-sw{display:inline-block;width:10px;height:10px;border-radius:2px;flex:none;background:var(--swk-sw,var(--color-fg-muted))}
/* A swatch set inline in a label or heading (not in a .swk-legend, whose gap spaces it) keeps a gap before its text. */
.swk .swk-tile-l>.swk-sw,.swk :is(h2,h3,h4,th,td,p)>.swk-sw,.swk .swk-sw--inline{margin-right:var(--cds-gap-xs);vertical-align:-1px}
/* Line swatches: a 3px filled bar with rounded ends, so the key reads as heavy as the 2-2.5px chart line it stands for (Nov 4, 2026). */
.swk .swk-sw--line{height:3px;width:16px;border-radius:2px;border:0;background:var(--swk-sw,var(--color-fg-muted));vertical-align:middle}
.swk .swk-sw--dash{height:3px;width:16px;border-radius:1px;border:0;background:repeating-linear-gradient(90deg,var(--swk-sw,var(--color-fg-muted)) 0 5px,transparent 5px 8px);vertical-align:middle}
/* M-14 (0.7.0): the earlier-period swatch, a row of dots in the series color, the same meaning as a dotted line. */
.swk .swk-sw--dotted{height:3px;width:16px;border-radius:0;border:0;background:radial-gradient(circle,var(--swk-sw,var(--color-fg-muted)) 0 1.25px,transparent 1.5px) left center/4px 3px repeat-x;vertical-align:middle}
/* M-9: the event swatch, the marker's dot on its stem, so a legend names the event markers. */
.swk .swk-sw--event{width:10px;height:14px;border-radius:0;background:linear-gradient(var(--cds-chart-reference),var(--cds-chart-reference)) center bottom/1px 100% no-repeat,radial-gradient(circle,var(--cds-chart-reference) 0 2.5px,transparent 3px) center top/7px 7px no-repeat}
/* M-9: the span swatch, a light band with an edge, so a legend names a span. */
.swk .swk-sw--span{width:14px;height:10px;border-radius:0;background:linear-gradient(var(--swk-ev-ink),var(--swk-ev-ink)) left/1.5px 100% no-repeat,var(--swk-span);box-shadow:inset 0 0 0 1px var(--swk-span)}
/* T-1: a round swatch, for a series drawn as dots. */
.swk .swk-sw--dot{border-radius:50%}
/* legend swatch in a series color (C-2): class="swk-sw swk-sw--series-3", the same as style="--swk-sw:var(--swk-series-3)" */
.swk .swk-sw--series-1{--swk-sw:var(--swk-series-1)}
.swk .swk-sw--series-2{--swk-sw:var(--swk-series-2)}
.swk .swk-sw--series-3{--swk-sw:var(--swk-series-3)}
.swk .swk-sw--series-4{--swk-sw:var(--swk-series-4)}
.swk .swk-sw--series-5{--swk-sw:var(--swk-series-5)}
.swk .swk-sw--series-6{--swk-sw:var(--swk-series-6)}
.swk .swk-sw--series-7{--swk-sw:var(--swk-series-7)}
.swk .swk-sw--series-8{--swk-sw:var(--swk-series-8)}
.swk .swk-sw--series-9{--swk-sw:var(--swk-series-9)}
.swk .swk-sw--ring{border-radius:50%;background:none;border:2px solid var(--swk-sw,var(--color-fg-muted));box-sizing:border-box}
.swk .swk-sw--hatch{background:repeating-linear-gradient(45deg,var(--swk-sw,var(--color-fg-muted)) 0 3px,var(--color-panel) 3px 5px)}
/* K-36 legend as a control (0.5.0, swkKit.legend): each entry of a 2+ series line, stacked or grouped bar chart is a button (aria-pressed = shown). */
.swk .swk-lgi{display:inline-flex;align-items:center;gap:var(--cds-gap-xs);transition:opacity var(--swk-dur) ease-out}
.swk .swk-legend button{font:inherit;color:var(--color-fg);background:transparent;border:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;gap:var(--cds-gap-xs);border-radius:var(--cds-radius)}
.swk .swk-legend button:focus-visible{outline:3px solid var(--swk-green);outline-offset:2px}
/* K-36 off (.swk-lg-b with aria-pressed=false): a hollow swatch and muted text. Never dashed (dashed means in progress, M-8), never dotted (dotted means an earlier period, M-14) and never struck through. The last shown entry is aria-disabled: one series stays on. */
.swk .swk-lg-b[aria-pressed=false]{color:var(--color-fg-muted)}
.swk .swk-lg-b[aria-pressed=false] .swk-sw{background:transparent;box-shadow:inset 0 0 0 1.5px var(--swk-sw,var(--color-fg-muted))}
.swk .swk-lg-b[aria-pressed=false] .swk-sw--line,.swk .swk-lg-b[aria-pressed=false] .swk-sw--dotted{height:5px;box-shadow:inset 0 0 0 1px var(--swk-sw,var(--color-fg-muted))}
.swk .swk-lg-b[aria-disabled=true]{cursor:default}
/* K-36: the state line (.swk-lg-state) says what is hidden ("Showing 1 of 2"), in the text color, semibold. */
.swk .swk-lg-state{font-weight:600;color:var(--color-fg)}
/* K-36: "only" (.swk-lg-only, shown with 4 or more series, or data-swk-only="on") and the "Show all" reset (.swk-lg-reset) read as link actions. */
.swk .swk-lg-only,.swk .swk-lg-reset{color:var(--swk-green-ink);font-weight:600;text-decoration:underline;text-underline-offset:.2em}
.swk .swk-legend .swk-lg-only{padding:0 var(--cds-pad-xs);color:var(--swk-green-ink)}
.swk .swk-legend .swk-lg-reset{color:var(--swk-green-ink)}
/* Pointing at a series (the legend's hl(k) sets .swk-legend--hl and .swk-lgi--on) keeps its entry full and fades the rest (M-1). */
.swk .swk-legend--hl .swk-lgi:not(.swk-lgi--on){opacity:var(--swk-dim)}
@media (prefers-reduced-motion:reduce){.swk .swk-lgi{transition:none}}
.swk svg[tabindex]:focus-visible{outline:3px solid var(--swk-green);outline-offset:2px;border-radius:var(--cds-radius)}

/* ---------- Chart marks (M-1..M-3) ---------- */
.swk svg .swk-gap{stroke:var(--color-panel);stroke-width:var(--swk-gap)}
/* Paths (donut slices, area fills) take the thinner separator, so small rings do not read as white slices (M-2). */
.swk svg path.swk-gap{stroke-width:var(--swk-gap-arc)}
.swk svg .swk-mk{transition:opacity var(--swk-dur) ease-out,transform var(--swk-dur) ease-out}
.swk svg.swk-hl .swk-mk:not(.swk-on){opacity:var(--swk-dim)}
/* M-1 for lines (0.7.0): a series line is .swk-mk.swk-ln (a <path> or <polyline>, or the <g> holding it, as Recharts draws one). The line in focus
   (.swk-on, the one nearest the pointer: swkKit.nearest) is drawn thicker; the other lines fade further than other marks. */
.swk svg.swk-hl .swk-ln:not(.swk-on){opacity:var(--swk-dim-line)}
/* M-14 (0.7.0): a dotted line is an earlier period of the same measure (.swk-mk.swk-ln.swk-ln--prior). Dots, never dashes, thinner than the
   primary line. Lit by hover it keeps the dots and takes --swk-ln-on: the lit rule below outranks this one (0,4,1 against 0,2,0). */
.swk .swk-ln--prior,.swk .swk-ln--prior path{stroke-dasharray:var(--swk-dot);stroke-linecap:round;stroke-width:var(--swk-ln-prior)}
.swk svg.swk-hl .swk-ln.swk-on,.swk svg.swk-hl .swk-ln.swk-on path{stroke-width:var(--swk-ln-on)}
/* M-1: a donut or pie slice marked .swk-pop moves out by --dx, --dy while it is pointed at. */
.swk svg .swk-pop.swk-on{transform:translate(var(--dx,0),var(--dy,0))}
/* M-13 hover column band (swkKit.hoverBand): one light band the width of the pointed period, behind the marks, above span bands.
   Never a line: a thin solid vertical line is an M-9 event. While it shows (.swk-hb) the period's lit dots grow. */
.swk svg .swk-hover-band{fill:var(--swk-hover-band);stroke:none;pointer-events:none}
.swk svg.swk-hb circle.swk-mk.swk-on{transform:scale(1.35);transform-box:fill-box;transform-origin:center}
.swk svg .swk-partial{fill:url(#swk-hatch);pointer-events:none}
.swk .swk-hatch-stroke{stroke:var(--color-panel);stroke-width:2}
/* M-9 event marker: a thin SOLID rule with a dot at the top and a short label naming the type. Dashed only ever means "not finished yet".
   Same look for every event type. Put .swk-mk and .swk-ev on the <g>; swkKit.hlOn/hlOff (hover, or the arrow-key walk) adds .swk-on: rule thickens and darkens, label goes full strength. */
.swk svg .swk-ev line{stroke:var(--swk-ev-ink);stroke-width:1.5px;transition:stroke-width var(--swk-dur) ease-out}
.swk svg .swk-ev circle{fill:var(--swk-ev-ink)}
.swk svg .swk-ev text{fill:var(--color-fg-muted);font-weight:600;paint-order:stroke;stroke:var(--color-panel);stroke-width:3px;stroke-linejoin:round}
.swk svg .swk-ev.swk-on line{stroke:var(--color-fg);stroke-width:2}
.swk svg .swk-ev.swk-on circle{fill:var(--color-fg)}
.swk svg .swk-ev.swk-on text{fill:var(--color-fg)}
/* M-9 span (0.3.0): something that runs from a start to an end (a prepaid annual cost spread over 12 months, an amortization schedule).
   A light band in --swk-span (never brand green or yellow, never a status color) from start to end, drawn BEHIND the marks, with the
   rule, dot and label of a point marker at the start. Draw it with swkKit.span; the <g> is .swk-mk.swk-ev.swk-span, so hover and the
   arrow-key walk light it like a point marker (band a little stronger). A span past the window is clipped at the edge (no rule at a
   clipped start, no arrows); the tooltip says "started <date>" or "continues to <date>" (swkKit.spanDates). */
.swk svg .swk-span .swk-span-band{fill:var(--swk-span);stroke:none;transition:fill var(--swk-dur) ease-out}
.swk svg .swk-span.swk-on .swk-span-band{fill:color-mix(in srgb,var(--swk-span),var(--color-fg) 6%)}
@media (prefers-reduced-motion:reduce){.swk svg .swk-ev line,.swk svg .swk-span .swk-span-band,.swk svg .swk-mk,.swk .swk-click,.swk .swk-seg button,.swk .swk-theme-toggle{transition:none}.swk svg .swk-pop.swk-on{transform:none}}

/* ---------- Overlay (I-4): absolute in the page root, card kept in view with sticky. ---------- */
.swk{position:relative}
.swk .swk-overlay{position:absolute;inset:0;z-index:50;background:color-mix(in srgb,var(--swk-ink-dark) 50%,transparent);padding:var(--cds-pad-lg)}
.swk .swk-overlay[hidden]{display:none}
.swk .swk-overlay-card{position:sticky;top:var(--cds-pad-lg);margin:0 auto;max-width:760px;max-height:calc(100dvh - 2 * var(--cds-pad-lg) - 4rem);overflow:auto;background:var(--color-panel);color:var(--color-fg);border:1px solid var(--color-border-line);border-top:4px solid var(--swk-green);border-radius:var(--cds-radius);padding:var(--cds-pad-lg);display:flex;flex-direction:column;gap:var(--cds-gap-md)}
/* The card scrolls; nothing inside it shrinks to fit (a squeezed chart box spills over the next line). 4rem clears host chrome at the window's foot. */
.swk .swk-overlay-card>*{flex-shrink:0}
/* Expanded chart: swkKit.popup adds --wide for a panel marked data-wide, so the chart redraws at the page's width. */
.swk .swk-overlay-card--wide{max-width:min(1180px,100%)}
/* Side panel (0.8.0, PBI 1906841): a panel marked data-swk-place="side" opens full height on the right edge, so the table behind stays in view.
   Still absolute in the page root and sticky like the centered card (I-4); the overlay drops its padding so the panel meets the edge.
   Full width on a phone (max-width:100%); its body scrolls; it slides in, except under reduced motion. Width: --swk-side-w. */
.swk .swk-overlay:has(>.swk-overlay-card--side){padding:0}
.swk .swk-overlay-card--side{top:0;margin:0 0 0 auto;width:var(--swk-side-w,620px);max-width:100%;height:100dvh;max-height:100%;border-radius:0;border-top:0;border-left:4px solid var(--swk-green)}
/* Settled opening (0.8.0, PBI 1908024): full window height; swkKit.popup keeps the overlay unseen (--pre) until the panel is drawn, then
   (--in) the backdrop fades in while the panel slides a short way, both over --swk-dur. A step to another row does not re-run it. */
.swk .swk-overlay--pre:has(>.swk-overlay-card--side){opacity:0}
.swk .swk-overlay--in:has(>.swk-overlay-card--side){animation:swk-fade-in var(--swk-dur) ease-out}
.swk .swk-overlay--in>.swk-overlay-card--side{animation:swk-side-in var(--swk-dur) ease-out}
@keyframes swk-side-in{from{transform:translateX(1.5rem)}to{transform:none}}
@keyframes swk-fade-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.swk .swk-overlay--pre:has(>.swk-overlay-card--side){opacity:1}.swk .swk-overlay--in:has(>.swk-overlay-card--side),.swk .swk-overlay--in>.swk-overlay-card--side{animation:none}}
/* Row stepper (PBI 1908024): the page writes the bar (Previous, "N of M", Next); the kit fills the numbers and marks the ends. */
.swk .swk-rowstep{display:flex;align-items:center;gap:var(--cds-gap-sm)}
.swk .swk-rowstep[hidden]{display:none}
.swk .swk-rowstep>span{font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);font-variant-numeric:tabular-nums}
.swk .swk-rowstep [aria-disabled=true]{opacity:.5;cursor:default}
/* Expand button (maximize) in a card header: an icon button, named by its aria-label. Shadow only on hover (C-7). */
.swk .swk-max{display:inline-flex;align-items:center;justify-content:center;font:inherit;line-height:0;color:var(--color-fg-muted);background:transparent;border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:var(--cds-pad-xs);cursor:pointer;transition:box-shadow var(--swk-dur) ease-out}
.swk .swk-max svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.swk .swk-max:hover{box-shadow:var(--swk-shadow)}
.swk .swk-max:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px}

/* ---------- Data-sources text (K-4) ---------- */
.swk .swk-src{font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);border-left:3px solid var(--swk-green);padding-left:var(--cds-pad-sm);line-height:1.45}
.swk:not(.swk-src-on) .swk-src{display:none}

/* ---------- Print (P-4) ---------- */
@media print{
  /* swk-generated:begin print: generated from subway-web-kit.ini by build-tokens.mjs: do not edit; change the ini and run node build-tokens.mjs */
  .swk,.swk.swk-dark,.swk.swk-light,.swk.swk-auto-dark,.swk [data-swk-force],.swk[data-swk-force],[data-swk-force] .swk{
    color-scheme:light;
    --swk-warn-ink:#9a4600;
    --swk-series-1:#3a84ca;
    --swk-series-2:#764ab2;
    --swk-series-3:#d64bd9;
    --swk-series-4:#c57684;
    --swk-series-5:#ab8704;
    --swk-series-6:#85284d;
    --swk-series-7:#0235da;
    --swk-series-8:#1f790c;
    --swk-series-9:#696969;
    --swk-band:#ecefed;
    --color-bg:#ffffff;
    --color-panel:#ffffff;
    --color-fg:#18201b;
    --color-fg-muted:#4b564f;
    --color-border-line:#c5cec8;
    --cds-chart-grid:#e8ece9;
    --cds-chart-axis:#c2cac4;
    --cds-surface-popover:#ffffff;
    --swk-green-ink:#00782f;
    --swk-ink-tint:#0b0b0b;
    --swk-hue-indigo:#5546c9;
    --swk-good-ink:#00782f;
    --swk-bad-ink:#b3261e;
    --swk-watch-ink:#8a6100;
    --swk-brand-text:#007a32;
    --swk-brand-text-head:#007a32;
    --swk-catchip-veil:color-mix(in srgb,var(--color-panel) 0%,transparent);
    --swk-catchip-ring:color-mix(in srgb,var(--color-panel) 0%,transparent);
    --swk-catchip-ink:#ffffff;
    --swk-sev-1:#c42b23;
    --swk-sev-1-bg:#fde7e5;
    --swk-sev-1-ink:#9b1c15;
    --swk-sev-2:#c25a0a;
    --swk-sev-2-bg:#fdecd9;
    --swk-sev-2-ink:#8a3d00;
    --swk-sev-3:#a98000;
    --swk-sev-3-bg:#fcf1c2;
    --swk-sev-3-ink:#3b2d00;
    --swk-sev-4:#2f6db5;
    --swk-sev-4-bg:#e2edf9;
    --swk-sev-4-ink:#17467f;
    --swk-sev-major:#c42b23;
    --swk-sev-major-ink:#ffffff;
  }
  /* swk-generated:end print */
  .swk .swk-tip,.swk .swk-overlay,.swk .swk-seg-wrap,.swk .swk-max,.swk .swk-theme-toggle{display:none!important}
  .swk svg.swk-hl .swk-mk{opacity:1}
  .swk .swk-click:hover{box-shadow:none}
}

/* ---------- Buttons and tables ---------- */
.swk .swk-btn{font:inherit;font-weight:600;background:var(--swk-green);color:var(--swk-on-brand);border:0;border-radius:var(--cds-radius);padding:var(--cds-pad-sm) var(--cds-pad-lg);cursor:pointer}
.swk .swk-btn:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px}
/* K-5 tables. Header: caption, muted, heavier rule. Row label (tbody th): left, medium. Numbers right, on one line; .swk-txt columns left. */
.swk .swk-table{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;font-size:var(--cds-font-size-body)}
.swk .swk-table th,.swk .swk-table td{text-align:right;padding:var(--cds-pad-xs) var(--cds-pad-sm);border-bottom:1px solid var(--color-border-line);vertical-align:baseline}
.swk .swk-table th:first-child,.swk .swk-table td:first-child,.swk .swk-table .swk-txt{text-align:left}
/* A figure never wraps (0.7.0, PBI 1905821): "$53,392 (35%)" stays on one line; the row label and .swk-txt columns wrap instead, and a
   table too wide for its card scrolls inside its .tbl box (P-3). Not in a field table (K-22, its values are text) or a fixed-width
   grid (I-14, its columns are set from every row and a long cell wraps inside its column). */
.swk .swk-table:not(.swk-table--fields,.swk-table--fixed) td:not(:first-child,.swk-txt){white-space:nowrap}
.swk .swk-table thead th{color:var(--color-fg-muted);font-weight:var(--cds-font-weight-medium);font-size:var(--cds-font-size-caption);border-bottom:2px solid var(--color-border-line);white-space:nowrap}
.swk .swk-table tbody th{font-weight:var(--cds-font-weight-medium);color:var(--color-fg)}
.swk .swk-table tbody tr:hover>*{background-color:color-mix(in srgb,var(--swk-green) 6%,transparent)}
/* Long tables (more than 8 rows) are banded; grouped tables use group rows instead. */
.swk .swk-table.swk-band tbody tr:nth-child(even)>*{background-color:var(--swk-band)}
.swk .swk-table.swk-band tbody tr:nth-child(even):hover>*{background-color:color-mix(in srgb,var(--swk-green) 6%,var(--swk-band))}
/* Group row: the repeated value of a column, said once. Its note is the value every row in the group shared. */
.swk .swk-table tr.swk-group>th{font-weight:600;padding-top:var(--cds-pad-md);border-bottom:1px solid var(--color-fg-muted)}
.swk .swk-table tr.swk-group .swk-group-note{font-weight:400;color:var(--color-fg-muted);font-size:var(--cds-font-size-caption);margin-left:var(--cds-gap-sm)}
.swk .swk-table tr.swk-group:hover>*{background-color:transparent}
/* Total row: bold, a rule above. */
.swk .swk-table tr.swk-total>*{font-weight:600}
.swk .swk-table tr:not(.swk-total)+tr.swk-total>*{border-top:1.5px solid var(--color-fg-muted)}
/* .swk-em (K-5) marks the one column the reader came for: semibold cells, and the row labels drop to regular weight, so the emphasis
   lands on the figure, not the name (0.7.0, PBI 1905824). Group and total rows keep their weight. swkKit.table opt.em sets it. */
.swk .swk-table td.swk-em{font-weight:600}
.swk .swk-table:has(td.swk-em) tbody tr:not(.swk-group,.swk-total)>th{font-weight:400}
/* Zero, empty, not applicable: muted so real values stand out. */
.swk .swk-table .swk-zero{color:var(--color-fg-muted)}
/* In-cell bar: a 4px data bar under the value. Set --swk-bar-w (a percent) and --swk-bar-c (a kit color) on the cell. */
/* I-14 swkKit.grid: widths from every row, not the page drawn (Bug 1904430); a long cell wraps inside its column. */
.swk .swk-table--fixed{table-layout:fixed}
.swk [data-swk-grid-tabs] [role=tab] [data-draw]{display:inline-block;font-variant-numeric:tabular-nums;text-align:start}
.swk .swk-table--fixed :is(td,th){overflow-wrap:anywhere}
.swk .swk-table td.swk-barcell{background-image:linear-gradient(var(--swk-bar-c,var(--swk-series-1)),var(--swk-bar-c,var(--swk-series-1)));background-repeat:no-repeat;background-origin:border-box;background-position:right var(--cds-pad-sm) bottom 3px;background-size:max(0px,calc(var(--swk-bar-w,0%) - var(--cds-pad-sm))) 4px;padding-bottom:calc(var(--cds-pad-xs) + 8px);width:8rem}
/* .swk-table--roomy (K-5) gives every cell more room, 6 x 12 px in host tokens, for a wide table whose figures crowd together
   (0.7.0, PBI 1905821). One modifier, not a spacing token, so every roomy table has the same spacing (S-2). swkKit.table opt.roomy sets it. */
.swk .swk-table--roomy :is(th,td){padding:var(--cds-pad-sm) var(--cds-pad-lg)}
.swk .swk-table--roomy td.swk-barcell{background-position:right var(--cds-pad-lg) bottom 3px;background-size:max(0px,calc(var(--swk-bar-w,0%) - var(--cds-pad-lg))) 4px;padding-bottom:calc(var(--cds-pad-sm) + 8px)}
.swk .swk-seg[hidden]{display:none}
.swk svg .swk-halo{paint-order:stroke;stroke:var(--color-panel);stroke-width:3px;stroke-linejoin:round}

/* A switch on the green header band (I-2): white outline, selected = white with green text, in every theme. */
.swk .swk-seg--on-brand{background:transparent;border-color:color-mix(in srgb,var(--swk-on-brand) 65%,transparent)}
.swk .swk-seg--on-brand button{color:var(--swk-on-brand)}
.swk .swk-seg--on-brand button+button{border-left-color:color-mix(in srgb,var(--swk-on-brand) 45%,transparent)}
.swk .swk-seg--on-brand button:hover{background:color-mix(in srgb,var(--swk-on-brand) 16%,transparent)}
.swk .swk-seg--on-brand button[aria-pressed=true]{background:var(--swk-on-brand);color:var(--swk-green)}
.swk .swk-seg--on-brand button:focus-visible{outline-color:var(--swk-on-brand)}
.swk .swk-seg-wrap--on-brand .swk-seg-label{color:var(--swk-on-brand)}
/* Labels never steal the pointer from the mark under them (T-3). */
.swk [data-draw] svg text{pointer-events:none}
/* P-3: a wide table scrolls sideways inside its own box, never past its card. swkKit.table wraps tables in .tbl.
   The box is positioned (PBI 1905820): a .swk-sr word in a cell is position:absolute and would otherwise be placed against the .swk
   root, outside the scroll box, and widen a phone page (375 px became 585 px on FinOps' Cost Explorer). */
.swk .tbl{overflow-x:auto;position:relative}

/* ---------- Page organization: sections and the 2-up grid (K-8), section rail (I-9), tabs and sub-tabs (I-10), top section bar (I-11) ---------- */
/* K-8: a section groups cards under one heading and an optional one-line intro. The page may keep its own section and heading
   classes; .swk-sec, .swk-sec-h and .swk-sec-intro are the kit look for pages that have none. */
.swk .swk-sec{display:flex;flex-direction:column;gap:var(--cds-gap-md);min-width:0}
.swk .swk-sec-head{display:flex;flex-direction:column;gap:var(--cds-gap-xs)}
.swk .swk-sec-h{margin:0;font-size:var(--cds-font-size-heading);font-weight:var(--cds-font-weight-medium);color:var(--swk-sec-h-ink,var(--color-fg));text-wrap:balance}
.swk .swk-sec-intro{margin:0;max-width:72ch;color:var(--color-fg-muted)}
/* A section heading takes focus after a link jump (it carries tabindex="-1" in the markup): ring for the keyboard only. */
.swk :is(h1,h2,h3,h4,section)[tabindex="-1"]:focus{outline:none}
.swk :is(h1,h2,h3,h4,section)[tabindex="-1"]:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px;border-radius:var(--cds-radius)}
/* K-8: two small cards side by side; one column when the grid itself is under 700 px (a container query, so it also holds beside a rail). */
.swk .swk-grid2{container:swk-grid2/inline-size;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--cds-gap-lg);align-items:stretch}
@container swk-grid2 (max-width:700px){.swk .swk-grid2>*{grid-column:1/-1}}

/* Section links: shared look for the rail and the top bar. swkKit.sections sets aria-current="true" on the link of the section in view. I-9: the current link is marked by color, background and the bar only, never by weight, size, spacing, padding or border width, so a label never re-wraps and the menu never jumps. */
.swk .swk-secnav{min-width:0;font-size:var(--cds-font-size-body)}
.swk .swk-secnav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--cds-gap-xs);min-width:0}
.swk .swk-secnav a{display:block;padding:var(--cds-pad-xs) var(--cds-pad-sm);border-left:3px solid transparent;border-radius:0 var(--cds-radius) var(--cds-radius) 0;color:var(--color-fg-muted);text-decoration:none;line-height:1.3;transition:background var(--swk-dur) ease-out}
.swk .swk-secnav a:hover{color:var(--color-fg);background:color-mix(in srgb,var(--swk-green) var(--swk-tint),transparent)}
.swk .swk-secnav a[aria-current=true]{color:var(--swk-green-ink);border-left-color:var(--swk-green);background:color-mix(in srgb,var(--swk-green) 8%,transparent)}
.swk .swk-secnav a:focus-visible{outline:3px solid var(--swk-green);outline-offset:-3px}
/* I-9 rail layout: <div class="swk-railpage"> holds <nav class="swk-secnav swk-secnav--rail"> and <div class="swk-railmain">.
   Flex, not grid, so the rail stays sticky for the whole page when it folds into a bar (a sticky grid item stops at its own row). */
.swk .swk-railpage{container:swk-rail/inline-size;display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--cds-gap-xl)}
.swk .swk-railmain{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:var(--cds-gap-xl)}
.swk .swk-secnav--rail{flex:0 0 13rem;position:sticky;top:var(--cds-pad-lg);max-height:calc(100dvh - 2 * var(--cds-pad-lg));overflow-y:auto}
/* I-11 top bar, and the rail folded under 900 px: one sticky row of links that scrolls sideways inside itself, never the page. */
.swk .swk-secnav--top{position:sticky;top:0;z-index:10;background:var(--color-bg);border-bottom:1px solid var(--color-border-line)}
.swk .swk-secnav--top ul{flex-direction:row;overflow-x:auto;scrollbar-width:thin}
.swk .swk-secnav--top a{white-space:nowrap;border-left:0;border-bottom:3px solid transparent;border-radius:0}
.swk .swk-secnav--top a[aria-current=true]{border-bottom-color:var(--swk-green)}
@container swk-rail (max-width:900px){
  .swk .swk-railpage>.swk-secnav--rail{flex-basis:100%;top:0;z-index:10;max-height:none;overflow:visible;background:var(--color-bg);border-bottom:1px solid var(--color-border-line)}
  .swk .swk-railpage>.swk-secnav--rail ul{flex-direction:row;overflow-x:auto;scrollbar-width:thin}
  .swk .swk-railpage>.swk-secnav--rail a{white-space:nowrap;border-left:0;border-bottom:3px solid transparent;border-radius:0}
  .swk .swk-railpage>.swk-secnav--rail a[aria-current=true]{border-bottom-color:var(--swk-green)}
}

/* I-10 tabs: a different control from the .swk-seg switch (I-2). role=tablist/tab/tabpanel; the selected tab is green (C-4).
   .swk-tabs--sub is the second row under a main tab: smaller, a thinner rule, no row border. */
.swk .swk-tabs{display:flex;gap:var(--cds-gap-xs);border-bottom:1px solid var(--color-border-line);overflow-x:auto;min-width:0;scrollbar-width:thin}
.swk .swk-tabs [role=tab]{font:inherit;font-size:var(--cds-font-size-body);font-weight:600;color:var(--color-fg-muted);background:transparent;border:0;border-bottom:3px solid transparent;padding:var(--cds-pad-sm) var(--cds-pad-lg);cursor:pointer;white-space:nowrap;line-height:1.2;transition:background var(--swk-dur) ease-out}
.swk .swk-tabs [role=tab]:hover{color:var(--color-fg);background:color-mix(in srgb,var(--swk-green) var(--swk-tint),transparent)}
.swk .swk-tabs [role=tab][aria-selected=true]{color:var(--swk-green-ink);border-bottom-color:var(--swk-green)}
.swk .swk-tabs [role=tab]:focus-visible{outline:3px solid var(--swk-green);outline-offset:-3px}
.swk .swk-tabs--sub{border-bottom:0}
.swk .swk-tabs--sub [role=tab]{font-size:var(--cds-font-size-caption);border-bottom-width:2px;padding:var(--cds-pad-xs) var(--cds-pad-md)}
.swk [role=tabpanel][hidden]{display:none}
@media (prefers-reduced-motion:reduce){.swk .swk-secnav a,.swk .swk-tabs [role=tab]{transition:none}}
@media print{.swk .swk-secnav{display:none}.swk .swk-railpage{display:block}}

/* ---------- Floating filter bar (I-12, opt-in; class names keep the older "pbar" name) ----------
   Holds every page-wide filter (Period, a page-wide Team or Region); filters sit in a row, each with its .swk-seg-label, and wrap on narrow screens.
   <header data-swk-sticky-filters> (or the older data-swk-sticky-period) + one <div class="swk-pbar" hidden> right after it, a direct child of the .swk root. The bar is a zero-height
   sticky anchor (so showing it moves nothing below) holding a strip drawn over the content; the kit only toggles `hidden`. Sticky, never fixed (I-4). */
.swk .swk-pbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:11;height:0;margin:0;overflow:visible}
.swk .swk-pbar[hidden]{display:none}
.swk .swk-pbar-in{position:absolute;inset-inline:0;top:0;display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--cds-gap-lg);row-gap:var(--cds-gap-xs);padding:var(--cds-pad-sm) var(--cds-pad-lg);background:var(--swk-green);color:var(--swk-on-brand);border-radius:0 0 var(--cds-radius) var(--cds-radius);box-shadow:var(--swk-shadow);animation:swk-pbar-in var(--swk-dur) ease-out}
.swk .swk-pbar-note{font-size:var(--cds-font-size-caption);font-weight:600}
.swk .swk-pbar-note [hidden]{display:none}
@keyframes swk-pbar-in{from{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:none}}
/* I-11 pages: the Period switch rides inside the top section bar instead (add .swk-secnav--period to the nav, put a plain .swk-seg-wrap before the ul). */
.swk .swk-secnav--period{display:flex;align-items:center;gap:var(--cds-gap-md)}
.swk .swk-secnav--period>ul{flex:1 1 0}
.swk .swk-secnav--period>.swk-seg-wrap{flex:none;padding-inline-start:var(--cds-pad-sm)}
@media (prefers-reduced-motion:reduce){.swk .swk-pbar-in{animation:none}}
@media print{.swk .swk-pbar{display:none}}
/* I-15 multi-select filter (0.5.0): .swk-seg.swk-seg--multi holds one chip per value plus an "All" chip (data-swk-all). Separate chips, not one joined
   pill, so the reader sees that several can be picked; they wrap on a phone and never scroll out of sight. Pressed = filled, like the switch (I-2). */
.swk .swk-seg--multi{border:0;border-radius:0;background:transparent;overflow:visible;gap:var(--cds-gap-xs)}
.swk .swk-seg--multi button{border:1px solid var(--swk-green);border-radius:var(--swk-radius-pill);background:var(--color-panel);padding:calc(var(--cds-pad-sm) - 1px) var(--cds-pad-md)}
.swk .swk-seg--multi button+button{border-left:1px solid var(--swk-green)}
.swk .swk-seg--multi.swk-seg--on-brand button{background:transparent;border-color:color-mix(in srgb,var(--swk-on-brand) 65%,transparent)}
.swk .swk-seg--multi.swk-seg--on-brand button+button{border-left-color:color-mix(in srgb,var(--swk-on-brand) 65%,transparent)}
.swk .swk-seg--multi.swk-seg--on-brand button:hover{background:color-mix(in srgb,var(--swk-on-brand) 16%,transparent)}
.swk .swk-seg--multi.swk-seg--on-brand button[aria-pressed=true]{background:var(--swk-on-brand);color:var(--swk-green)}
/* I-12 filter group (.swk-fgroup, 0.5.0): the page-wide filters in one row with ONE "Clear all" (data-swk-clear) and the drawn count (.swk-fcount, "3 of 5 teams"),
   last in the row so its words never push a control aside. Clear all is aria-disabled while nothing is filtered. */
.swk .swk-fgroup{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--cds-gap-lg);row-gap:var(--cds-gap-xs);min-width:0}
.swk .swk-fcount{display:inline-block;min-width:16ch;white-space:nowrap;font-size:var(--cds-font-size-caption);font-weight:600;color:var(--color-fg)}
/* Hidden keeps its room (visibility, not display:none) and the box has a fixed width: picking a team, Clear all or a Period never moves the row (0.5.0, fix-filter-row-shift). */
.swk .swk-fcount[hidden]{display:inline-block;visibility:hidden}
/* An empty .swk-fcount still has a line of height, so the row is as tall hidden as shown. */
.swk .swk-fcount:empty::before{content:"\a0"}
.swk .swk-pbar .swk-fcount,.swk .swk-header .swk-fcount{color:var(--swk-on-brand)}
.swk [data-swk-clear]{font-size:var(--cds-font-size-caption)}
.swk [data-swk-clear][aria-disabled=true]{opacity:.5;cursor:default}
.swk .swk-pbar [data-swk-clear].swk-btn--link,.swk .swk-header [data-swk-clear].swk-btn--link{color:var(--swk-on-brand)}
.swk .swk-pbar [data-swk-clear]:focus-visible,.swk .swk-header [data-swk-clear]:focus-visible{outline-color:var(--swk-on-brand)}

/* ---------- Page components (K-9 to K-23), added Nov 4, 2026 from the Guest Care audit ---------- */

/* ---------- Components (K-9..K-23, staged Nov 4, 2026; append to subway-web-kit.css) ----------
   Page furniture found outside the kit by the Guest Care clone audit: banner, chip, eyebrow, callout, note, footer,
   collapsible detail, button variants, steps, empty tile, header band, tile row and card grid, card edges, field table,
   and the media comparison layout. Every color is a kit or host token or a color-mix of them (C-1); spacing is
   --cds-* (S-2); type sizes are the host scale (S-1). Neutral pieces never use brand yellow (C-4) or a status color (C-5). */
/* K-9 Banner: a page or section notice ("Draft for discussion"). Neutral; --watch only for a real warning, with the word. */
.swk .swk-banner{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--cds-gap-xs) var(--cds-gap-md);background:var(--color-panel);color:var(--color-fg);border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:var(--cds-pad-md) var(--cds-pad-lg);font-size:var(--cds-font-size-body);line-height:1.45}
.swk .swk-banner-l{font-size:var(--cds-font-size-caption);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-fg)}
.swk .swk-banner p{margin:0;min-width:0}
.swk .swk-banner--watch{border-color:var(--swk-watch);border-left-width:4px}
.swk .swk-banner--watch .swk-banner-l{color:var(--swk-watch-ink)}

/* K-10 Chip: a small inline label. Neutral; the word carries the meaning (New, Removed, Unchanged).
   --proposal is dashed because a proposal is not final yet (the M-8 meaning of a dash).
   --good / --bad / --watch only when the label IS a status, and only in the status ink tokens. */
.swk .swk-chip{display:inline-flex;align-items:center;gap:var(--cds-gap-xs);max-width:100%;font-size:var(--cds-font-size-caption);font-weight:600;line-height:1.3;color:var(--color-fg);background:var(--color-bg);border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:0 var(--cds-pad-sm);white-space:nowrap;vertical-align:baseline}
.swk .swk-chip--proposal{border-style:dashed;border-color:var(--swk-edge-neutral)}
.swk .swk-chip--good{color:var(--swk-good-ink);border-color:color-mix(in srgb,var(--swk-good) 60%,var(--color-panel))}
.swk .swk-chip--bad{color:var(--swk-bad-ink);border-color:color-mix(in srgb,var(--swk-bad) 60%,var(--color-panel))}
.swk .swk-chip--watch{color:var(--swk-watch-ink);border-color:color-mix(in srgb,var(--swk-watch) 60%,var(--color-panel))}
/* K-10 series chips (PBI 1908025): a CATEGORY (source, type, team) takes one of the nine chart series colors, never a status color.
   A 16% tint of the series color over the panel, the series color as a 1px edge, and the normal text color as ink, so the words stay
   readable in both themes (check-dashboard.mjs checks the ink on every tint). --quiet is the dense-text form: a neutral chip with a
   swatch dot. Print and forced colors fall back to the plain outlined chip; the word always shows (C-5). */
.swk .swk-chip--series-1{--swk-chip-s:var(--swk-series-1)}.swk .swk-chip--series-2{--swk-chip-s:var(--swk-series-2)}.swk .swk-chip--series-3{--swk-chip-s:var(--swk-series-3)}
.swk .swk-chip--series-4{--swk-chip-s:var(--swk-series-4)}.swk .swk-chip--series-5{--swk-chip-s:var(--swk-series-5)}.swk .swk-chip--series-6{--swk-chip-s:var(--swk-series-6)}
.swk .swk-chip--series-7{--swk-chip-s:var(--swk-series-7)}.swk .swk-chip--series-8{--swk-chip-s:var(--swk-series-8)}.swk .swk-chip--series-9{--swk-chip-s:var(--swk-series-9)}
.swk .swk-chip[class*="swk-chip--series-"]{background:color-mix(in srgb,var(--swk-chip-s) 16%,var(--color-panel));border-color:var(--swk-chip-s)}
.swk .swk-chip--quiet[class*="swk-chip--series-"]{background:var(--color-bg);border-color:var(--color-border-line)}
.swk .swk-chip--quiet[class*="swk-chip--series-"]::before{content:"";flex:none;width:.6em;height:.6em;border-radius:50%;background:var(--swk-chip-s)}
@media print,(forced-colors:active){.swk .swk-chip[class*="swk-chip--series-"]{background:var(--color-bg);border-color:var(--swk-edge-neutral)}.swk .swk-chip--quiet[class*="swk-chip--series-"]::before{display:none}}

/* K-11 Eyebrow: a small uppercase label above a heading. Caption size, muted. No rule under it, never yellow (C-4). */
.swk .swk-eyebrow{margin:0;font-size:var(--cds-font-size-caption);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--color-fg-muted);line-height:1.3}

/* K-12 Callout: a boxed aside with a left edge. Neutral edge; a status edge only when it states a status, with a lead word.
   Not the green-edged .swk-src note (K-4), which hides behind the Notes switch. */
.swk .swk-callout{background:var(--color-bg);color:var(--color-fg);border:1px solid var(--color-border-line);border-left:4px solid var(--swk-callout-edge,var(--swk-edge-neutral));border-radius:0 var(--cds-radius) var(--cds-radius) 0;padding:var(--cds-pad-md) var(--cds-pad-lg);line-height:1.45;min-width:0}
.swk .swk-callout>*{margin:0}
.swk .swk-callout>*+*{margin-top:var(--cds-gap-xs)}
.swk .swk-callout-l{font-weight:700}
.swk .swk-callout--good{--swk-callout-edge:var(--swk-good)}
.swk .swk-callout--bad{--swk-callout-edge:var(--swk-bad)}
.swk .swk-callout--watch{--swk-callout-edge:var(--swk-watch)}
.swk .swk-callout--good .swk-callout-l{color:var(--swk-good-ink)}
.swk .swk-callout--bad .swk-callout-l{color:var(--swk-bad-ink)}
.swk .swk-callout--watch .swk-callout-l{color:var(--swk-watch-ink)}

/* K-13 Note: the one-line note under a card title (K-2): what it shows and the window. Always visible (unlike .swk-src). */
.swk .swk-note{margin:0;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);line-height:1.4}

/* K-14 Footer: secondary page details (data scope, sources, live links), after the content. */
.swk .swk-footer{margin-top:var(--cds-gap-xl);padding-top:var(--cds-pad-lg);border-top:1px solid var(--color-border-line);display:flex;flex-direction:column;gap:var(--cds-gap-xs);font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);line-height:1.45}
.swk .swk-footer p{margin:0;max-width:90ch}
.swk .swk-footer b{color:var(--color-fg);font-weight:600}
.swk .swk-footer a{color:var(--swk-green-ink)}
.swk .swk-footer a:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px;border-radius:var(--cds-radius)}

/* K-15 More (.swk-more): collapsible detail on native <details>/<summary>. Keyboard and screen readers get it from the browser;
   the kit adds the focus ring (I-1) and the "words, not discovery" hint color. No script. */
.swk .swk-more{min-width:0}
.swk .swk-more>summary{cursor:pointer;width:fit-content;max-width:100%;font-size:var(--cds-font-size-caption);font-weight:600;color:var(--swk-green-ink);border-radius:var(--cds-radius);padding:var(--cds-pad-xs) 0}
.swk .swk-more>summary:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px}
.swk .swk-more-body{margin-top:var(--cds-gap-sm);display:flex;flex-direction:column;gap:var(--cds-gap-sm);min-width:0}

/* K-16 Buttons: variants of the one .swk-btn (K-5). Outline = a second action; link = an inline action that reads as text;
   on-brand = on the green header band (white, green text: 4.5:1 both ways). Add .swk-click for the hover shadow (I-1). */
.swk .swk-btn--outline{background:transparent;color:var(--swk-green-ink);border:1px solid var(--swk-green);padding:calc(var(--cds-pad-sm) - 1px) calc(var(--cds-pad-lg) - 1px)}
.swk .swk-btn--link{background:transparent;color:var(--swk-green-ink);padding:0;text-decoration:underline;text-underline-offset:.2em}
.swk .swk-btn--on-brand{background:var(--swk-on-brand);color:var(--swk-green)}
.swk .swk-btn--on-brand:focus-visible{outline-color:var(--swk-on-brand)}
/* I-5 theme toggle (0.3.0): one button that flips Light and Dark; the kit writes its icon and words (the mode it switches TO).
   Same pill outline as the .swk-seg switch, but it is an action, not a choice: no aria-pressed, never filled. --on-brand for the green band. */
.swk .swk-theme-toggle{display:inline-flex;align-items:center;gap:var(--cds-gap-sm);font:inherit;font-size:var(--cds-font-size-caption);font-weight:600;line-height:1.2;background:var(--color-panel);color:var(--color-fg);border:1px solid var(--swk-green);border-radius:var(--swk-radius-pill);padding:var(--cds-pad-sm) var(--cds-pad-lg);cursor:pointer;transition:background var(--swk-dur) ease-out}
.swk .swk-theme-toggle:hover{background:color-mix(in srgb,var(--swk-green) var(--swk-tint),var(--color-panel))}
.swk .swk-theme-toggle:focus-visible{outline:3px solid var(--swk-green);outline-offset:3px}
.swk .swk-theme-toggle .swk-theme-ico{flex:none;display:block}
/* I-14: both labels share one grid cell and the hidden one keeps its space, so flipping theme or notes never changes the button width */
.swk .swk-theme-toggle:has(>[data-swk-to]),.swk [data-swk-src]:has(>[data-swk-when]){display:inline-grid;align-items:center;justify-items:center}
.swk-theme-toggle>[data-swk-to]{display:inline-flex;align-items:center;gap:var(--cds-gap-sm);grid-area:1/1}[data-swk-src]>[data-swk-when]{grid-area:1/1}
.swk-theme-toggle>[data-swk-to][hidden],[data-swk-src]>[data-swk-when][hidden]{display:none}
.swk .swk-theme-toggle>[data-swk-to][hidden]{display:inline-flex;visibility:hidden}.swk [data-swk-src]>[data-swk-when][hidden]{display:block;visibility:hidden}
.swk .swk-theme-toggle--on-brand{background:transparent;color:var(--swk-on-brand);border-color:color-mix(in srgb,var(--swk-on-brand) 65%,transparent)}
.swk .swk-theme-toggle--on-brand:hover{background:color-mix(in srgb,var(--swk-on-brand) 16%,transparent)}
.swk .swk-theme-toggle--on-brand:focus-visible{outline-color:var(--swk-on-brand)}

/* K-17 Steps: numbered step cards, one look. An <ol class="swk-steps"> of <li class="swk-step">: number badge, title, body,
   optional chip. The number is written in the markup (no CSS counter), so a screen reader reads it and a gap keeps numbering. */
.swk .swk-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--swk-tile-min)),1fr));gap:var(--cds-gap-md);min-width:0}
.swk .swk-step{background:var(--color-panel);border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:var(--cds-pad-lg);min-width:0;display:flex;flex-direction:column;gap:var(--cds-gap-sm)}
.swk .swk-step-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:var(--cds-gap-sm);row-gap:var(--cds-gap-xs);min-width:0}
/* PBI 1907988: the head is a grid, so a long title wraps beside its number (never under it) and the chip has its own slot under the
   title. Steps in one .swk-steps row share their head and body rows (subgrid), so side-by-side heads are one height and the bodies
   start together. In a set where any step has a chip, a step without one still keeps the slot. */
.swk .swk-steps>.swk-step{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:var(--cds-gap-sm)}
.swk .swk-steps--wide{grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--swk-card-min)),1fr))}
.swk .swk-steps:has(.swk-step-head .swk-chip) .swk-step-head::after{content:"";grid-column:2;min-height:var(--swk-chip-slot,1.5rem)}
.swk .swk-step-n{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:1.75em;height:1.75em;padding:0 var(--cds-pad-xs);box-sizing:border-box;border-radius:var(--swk-radius-pill);background:var(--color-fg);color:var(--color-bg);font-size:var(--cds-font-size-caption);font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.swk .swk-step-t{margin:0;font-size:var(--cds-font-size-body);font-weight:600;color:var(--color-fg);min-width:0}
.swk .swk-step-head .swk-chip{grid-column:2;justify-self:start}
.swk .swk-steps:has(.swk-step-head .swk-chip) .swk-step-head:has(.swk-chip)::after{display:none}
.swk .swk-step-b{margin:0;color:var(--color-fg);line-height:1.45}

/* K-18 Empty tile: a tile whose figure is not live yet. K-7 wants a figure, so the value slot shows a dash and the note says
   why. The top edge is neutral and dashed: dashed means "not finished yet" (M-8), never a status. */
.swk .swk-tile--empty{--swk-edge:var(--swk-edge-neutral);--swk-val:var(--color-fg-muted);border-top-style:dashed}

/* K-19 Header band (.swk-header): green (C-4), yellow bottom rule (the one yellow use besides the jump flash), logo slot, title, meta line,
   controls. All text on green is the full --swk-on-brand: white on brand green measures 4.53:1, so ANY transparency drops a caption
   below 4.5:1 (85% white measured 3.7-3.85:1). Hierarchy on the band comes from size and weight, never from fading the text. */
.swk .swk-header{background:var(--swk-green);color:var(--swk-on-brand);border-bottom:4px solid var(--swk-yellow);border-radius:var(--cds-radius);padding:var(--cds-pad-lg) var(--cds-pad-xl);display:flex;flex-wrap:wrap;gap:var(--cds-gap-lg);align-items:flex-end;justify-content:space-between;min-width:0}
.swk .swk-header-main{display:flex;flex-direction:column;gap:var(--cds-gap-sm);min-width:0;flex:1 1 24rem}
.swk .swk-header-brand{display:flex;gap:var(--cds-gap-md);align-items:center;min-width:0}
.swk .swk-header-logo{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:48px;border-radius:var(--cds-radius);background:var(--swk-on-brand);overflow:hidden}
.swk .swk-header-logo>img,.swk .swk-header-logo>svg{display:block;max-width:28px;max-height:40px;height:auto}
/* K-19 wide wordmark (0.8.0, PBI 1906380): <span class="swk-header-logo swk-header-logo--wordmark"> holds the wide Subway wordmark on the
   same white panel in both themes. The mark is 28px tall (readable on the band); the panel never grows past the band, and on a phone the
   mark shrinks and the title wraps under it (P-3: no sideways scroll). The square mark stays the default. */
.swk .swk-header-brand:has(>.swk-header-logo--wordmark){flex-wrap:wrap}
.swk .swk-header-logo--wordmark{width:auto;max-width:100%;padding:0 var(--cds-pad-md)}
.swk .swk-header-logo--wordmark>img,.swk .swk-header-logo--wordmark>svg{max-width:min(200px,100%);max-height:28px;width:auto}
@media (max-width:600px){
  .swk .swk-header-logo--wordmark{height:40px;padding:0 var(--cds-pad-sm)}
  .swk .swk-header-logo--wordmark>img,.swk .swk-header-logo--wordmark>svg{max-width:min(150px,100%);max-height:22px}
}
.swk .swk-header-kicker{margin:0;font-size:var(--cds-font-size-caption);font-weight:600;color:var(--swk-on-brand)}
.swk .swk-header-title{margin:0;font-family:var(--swk-font-figure,var(--font-anthropic-serif));font-variant-numeric:lining-nums;font-weight:400;font-size:var(--cds-font-size-title);line-height:1.15;color:var(--swk-on-brand);text-wrap:balance}
.swk .swk-header-meta{margin:0;max-width:72ch;font-size:var(--cds-font-size-caption);color:var(--swk-on-brand);line-height:1.45}
.swk .swk-header-meta>*+*::before{content:" \00B7\00A0"}
.swk .swk-header a{color:var(--swk-on-brand);text-decoration:underline}
.swk .swk-header-controls{display:flex;flex-wrap:wrap;gap:var(--cds-gap-md);align-items:center;min-width:0}
.swk .swk-header a:focus-visible{outline:3px solid var(--swk-on-brand);outline-offset:3px}
/* An on-brand button written as a link (<a class="swk-btn swk-btn--on-brand">) keeps its green text: the header link rule above made it
   white on its white fill (found by the C-9 dark pass; 0.8.0). */
.swk .swk-header a.swk-btn--on-brand{color:var(--swk-green);text-decoration:none}
/* K-19 home link (0.5.0, PBI 1904428): the brand block (logo and title) is one link home, <a class="swk-header-brand" href data-swk-home aria-label="<title>, home">. White on the green, no underline, a pointer, and the header focus ring above. */
.swk .swk-header a.swk-header-brand{color:var(--swk-on-brand);text-decoration:none;cursor:pointer;border-radius:var(--cds-radius)}
/* The switch label on the band: full white, not the 85% the kit's .swk-seg-wrap--on-brand sets (3.7:1). */
.swk .swk-header .swk-seg-label{color:var(--swk-on-brand)}

/* K-20 Tile row and card grid. The tile row sets the narrowest tile (--swk-tile-min), so K-7 is measured at a known width.
   .swk-grid is an auto-fit card grid; for exactly two cards side by side use .swk-grid2 (K-8). */
.swk .swk-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--swk-tile-min)),1fr));gap:var(--cds-gap-md);min-width:0}
.swk .swk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--swk-card-min)),1fr));gap:var(--cds-gap-lg);align-items:stretch;min-width:0}

/* K-21 Card status edge: an insight card that states a status gets a LEFT edge (K-1 keeps the top edge for tiles),
   and says the status in words as well (C-5). */
.swk .swk-card--edge-good{border-left:4px solid var(--swk-good)}
.swk .swk-card--edge-bad{border-left:4px solid var(--swk-bad)}
.swk .swk-card--edge-watch{border-left:4px solid var(--swk-watch)}

/* K-22 Field table (.swk-table--fields): a two-column label / value list, a variant of the one table (K-5). Labels are <th scope="row">,
   values are text (left). No header row, no hover tint (the rows are not data to compare). */
.swk .swk-table--fields th,.swk .swk-table--fields td{text-align:left;vertical-align:top;padding:var(--cds-pad-sm)}
.swk .swk-table--fields tbody th{width:30%;color:var(--color-fg-muted);font-weight:600}
.swk .swk-table--fields tbody tr:hover>*{background-color:transparent}
.swk .swk-table--fields tbody tr:last-child>*{border-bottom:0}

/* K-23 Media comparison: two or more aligned columns ("Today", "Proposed"), each a heading plus a list of step cards.
   Rows align across columns through subgrid: set --swk-rows on .swk-compare to the number of step rows.
   A missing step is an empty <li class="swk-compare-none"> so the next step stays on its row.
   Narrow screens: the columns stack (auto-fit), so visual order = reading order = tab order. */
.swk .swk-compare{--swk-rows:3;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--swk-compare-min)),1fr));column-gap:var(--cds-gap-lg);row-gap:var(--cds-gap-md);min-width:0}
.swk .swk-compare-col{display:grid;grid-row:span calc(var(--swk-rows) + 1);grid-template-rows:subgrid;row-gap:var(--cds-gap-md);min-width:0}
.swk .swk-compare-h{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:var(--cds-gap-sm);font-size:var(--cds-font-size-heading);font-weight:var(--cds-font-weight-medium);color:var(--color-fg);padding-bottom:var(--cds-pad-sm);border-bottom:2px solid var(--color-border-line)}
.swk .swk-compare-list{list-style:none;margin:0;padding:0;display:grid;grid-row:span var(--swk-rows);grid-template-rows:subgrid;row-gap:var(--cds-gap-md);min-width:0}
.swk .swk-compare-list>.swk-step{min-height:0}
.swk .swk-compare-none{min-width:0}
/* The media slot: the page fills it (a screenshot, an embedded screen). The kit only keeps it inside its card. */
.swk .swk-compare-media{min-width:0;max-width:100%}
.swk .swk-compare-media>:is(img,svg,video,iframe){display:block;max-width:100%;height:auto}
.swk .swk-compare-cap{margin:0;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);line-height:1.4}

/* ---------- Pills, keys and links (K-25..K-28, 0.4.0) ---------- */
/* K-25 Priority pill: <span class="swk-pill" data-level="1..4">P1</span>. The color comes from the LEVEL, never the label, so
   P1, M1 and High at level 1 share one red (ruled Nov 5, 2026). Tinted (hue border, tint, dark ink) in both themes; level 3 keeps
   dark text on yellow. --major is level 1 filled solid, for a major incident (M1, M2). The label always shows (the checker fails
   an empty pill). Rounded ends tell it apart from the square-cornered status chip (K-10), and the two never share a row (C-5). */
.swk .swk-pill{display:inline-flex;align-items:center;justify-content:center;gap:var(--cds-gap-xs);max-width:100%;min-width:1.75em;box-sizing:border-box;font-size:var(--cds-font-size-caption);font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap;vertical-align:baseline;color:var(--swk-pill-ink,var(--color-fg));background:var(--swk-pill-bg,var(--color-bg));border:1px solid var(--swk-pill-edge,var(--color-border-line));border-radius:var(--swk-radius-pill);padding:0 var(--cds-pad-sm)}
.swk .swk-pill[data-level="1"]{--swk-pill-edge:var(--swk-sev-1);--swk-pill-bg:var(--swk-sev-1-bg);--swk-pill-ink:var(--swk-sev-1-ink)}
.swk .swk-pill[data-level="2"]{--swk-pill-edge:var(--swk-sev-2);--swk-pill-bg:var(--swk-sev-2-bg);--swk-pill-ink:var(--swk-sev-2-ink)}
.swk .swk-pill[data-level="3"]{--swk-pill-edge:var(--swk-sev-3);--swk-pill-bg:var(--swk-sev-3-bg);--swk-pill-ink:var(--swk-sev-3-ink)}
.swk .swk-pill[data-level="4"]{--swk-pill-edge:var(--swk-sev-4);--swk-pill-bg:var(--swk-sev-4-bg);--swk-pill-ink:var(--swk-sev-4-ink)}
.swk .swk-pill--major[data-level="1"]{--swk-pill-edge:var(--swk-sev-major);--swk-pill-bg:var(--swk-sev-major);--swk-pill-ink:var(--swk-sev-major-ink)}
/* K-26 RACI pill: one letter, categorical and neutral (no severity color). A filled, R outlined, C and I muted. The full word is
   the title and screen-reader text. --uncertain is dashed: not final yet, the meaning a dash has everywhere (M-8). */
.swk .swk-pill--raci{border-radius:var(--cds-radius);padding:0 var(--cds-pad-xs)}
.swk .swk-pill--raci[data-raci="A"]{--swk-pill-edge:var(--color-fg);--swk-pill-bg:var(--color-fg);--swk-pill-ink:var(--color-bg)}
.swk .swk-pill--raci[data-raci="R"]{--swk-pill-edge:var(--color-fg);--swk-pill-bg:var(--color-bg);--swk-pill-ink:var(--color-fg)}
.swk .swk-pill--raci:is([data-raci="C"],[data-raci="I"]){--swk-pill-edge:var(--color-border-line);--swk-pill-bg:var(--color-bg);--swk-pill-ink:var(--color-fg-muted);font-weight:400}
.swk .swk-pill--uncertain{border-style:dashed}
/* A filled pill cannot show a dashed border against its own fill: the dash goes outside it. */
.swk .swk-pill--raci.swk-pill--uncertain[data-raci="A"]{outline:1.5px dashed var(--color-fg);outline-offset:1.5px}
/* K-27 Key (.swk-key): the small legend line that names a pill scheme (C-5): "Priority: P1 highest ... P4 lowest", or the four RACI
   letters. It sits above the table or board that uses the scheme. Caption size, muted words, the pills themselves as swatches. */
.swk .swk-key{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cds-gap-xs) var(--cds-gap-md);margin:0;font-size:var(--cds-font-size-caption);line-height:1.4;color:var(--color-fg-muted)}
.swk .swk-key-l{font-weight:600;color:var(--color-fg)}
.swk .swk-key-i{display:inline-flex;align-items:center;gap:var(--cds-gap-xs)}
/* K-28 Links: one look for a text link anywhere in .swk. Green ink (4.5:1 in both themes), always underlined, the same color once
   visited, the kit focus ring. No arrow after an off-site link (PBI 1905829: in a narrow table cell it wrapped onto a line of its own);
   a link that opens a tab carries rel="noopener", and the page adds <span class="swk-sr"> (opens in a new tab)</span> for screen readers.
   Class swk-ext (an off-site link that opens in the same tab) is still accepted and draws nothing.
   The selector is .swk :where(...), so it weighs one class (0,1,0):
   a site's own one-class link rule ties with it and wins when the site's stylesheet loads after the kit; the header band, section
   links, footer and every .swk-btn keep their own look. */
.swk :where(a:not(.swk-btn)){color:var(--swk-green-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.swk :where(a:not(.swk-btn):hover){text-decoration-thickness:2px}
.swk :where(a:not(.swk-btn):focus-visible){outline:3px solid var(--swk-green);outline-offset:2px;border-radius:var(--cds-radius)}
/* swk-ext keeps a rule so the class stays declared (removing a class is a major version); it draws nothing. */
.swk :where(a.swk-ext:not(.swk-btn))::after{content:none}
.swk svg a{color:inherit;text-decoration:none}

/* ---------- Colored text and page category colors, C-10 (0.8.0, PBI 1906850) ---------- */
/* Colored text marks one thing worth noticing (a figure, a word, a heading), never a paragraph or a table. Good and bad: the K-6
   status inks, and the words say it too (C-5). Brand emphasis: .swk-text-brand for a figure, .swk-text-brand-h for a heading or
   lighter text. Inside a solid Subway Yellow fill (data-swk-fill="yellow") brand text stays dark in both themes.
   Category colors: the page declares --swk-cat-<name>:<hex> once; a chip (.swk-cat) or a key swatch (.swk-cat-key) sets
   --swk-cat:var(--swk-cat-<name>). Light: the color is the fill, white text. Dark: the chip is a 30% mix over the panel with a 1px
   ring at 60% and light text (a panel veil over the color); the swatch keeps the color in both themes. */
.swk .swk-text-good{color:var(--swk-good-ink)}
.swk .swk-text-bad{color:var(--swk-bad-ink)}
.swk .swk-text-brand{color:var(--swk-brand-text)}
.swk .swk-text-brand-h{color:var(--swk-brand-text-head)}
.swk [data-swk-fill=yellow] :is(.swk-text-brand,.swk-text-brand-h),.swk [data-swk-fill=yellow]:is(.swk-text-brand,.swk-text-brand-h){color:var(--swk-brand-text-on-yellow)}
.swk .swk-cat{display:inline-flex;align-items:center;max-width:100%;font-size:var(--cds-font-size-caption);font-weight:600;line-height:1.3;white-space:nowrap;vertical-align:baseline;border-radius:var(--cds-radius);padding:1px var(--cds-pad-sm);color:var(--swk-catchip-ink);background:linear-gradient(var(--swk-catchip-veil),var(--swk-catchip-veil)) var(--swk-cat,var(--swk-edge-neutral));box-shadow:inset 0 0 0 1px var(--swk-catchip-ring),inset 0 0 0 1px var(--swk-cat,var(--swk-edge-neutral))}
.swk .swk-cat-key{display:inline-block;width:.75em;height:.75em;border-radius:2px;background:var(--swk-cat,var(--swk-edge-neutral));vertical-align:baseline;flex:none}

/* ---------- Roadmap (K-37, 0.5.0) ---------- */
/* K-37 Roadmap: lanes by kind of work, one row per project, bars on one shared month axis. The root is the container its own narrow
   layout queries and clips sideways overflow (the screen-reader words are positioned off to the side, and must never widen the page); --swk-road-bar and --swk-road-pitch (M-7: a 22 px bar on a 30 px pitch) come from the settings on .swk, so a team override reaches the roadmap with or without script; swkKit.roadmap copies them inline. */
.swk .swk-road{container:swk-road/inline-size;display:flex;flex-direction:column;gap:var(--cds-gap-md);min-width:0;position:relative;overflow-x:clip;overflow-clip-margin:8px}
.swk .swk-road [hidden]{display:none}
/* K-37 The row of switches above a roadmap: View (Timeline, List) and Show stopped, both the one I-2 switch. */
.swk .swk-road-tools{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cds-gap-sm) var(--cds-gap-lg)}
/* K-37 The timeline: the shared axis (a percentage of one width), so a bar, a milestone, a month line and the Today line always agree.
   Its two column widths, the lane heading and the lead column, shrink under 700 px of root width, where the lead column drops. */
.swk .swk-road-plot{position:relative;isolation:isolate;font-size:var(--cds-font-size-caption);line-height:1.3;min-width:0;--swk-road-head:9.5rem;--swk-road-who:11rem;--swk-road-ax-h:calc((2 + var(--swk-road-mrows,1)) * 1.6em)}
.swk .swk-road-plot.swk-road--nowho{--swk-road-who:0px}
.swk .swk-road--nowho .swk-road-who{display:none}
.swk .swk-road--nowho .swk-road-row{grid-template-columns:minmax(0,1fr)}
/* K-37 The axis header: quarters, then months, then a band for the marker labels (Today, deadlines) just above the lanes. Labels are placed by percent
   and thinned so they never overlap. */
.swk .swk-road-axis{display:grid;grid-template-columns:calc(var(--swk-road-head) + var(--swk-road-who)) minmax(0,1fr)}
.swk .swk-road-axis-t{position:relative;min-width:0}
.swk .swk-road-ax-m{height:calc(var(--swk-road-mrows,1) * 1.6em)}
.swk .swk-road-ax-q,.swk .swk-road-ax-mo{position:relative;height:1.6em}
.swk .swk-road-q,.swk .swk-road-mo{position:absolute;top:0;left:calc(var(--swk-l) * 1%);padding-left:var(--cds-pad-xs);white-space:nowrap}
.swk .swk-road-q{font-weight:600;color:var(--color-fg)}
.swk .swk-road-mo{color:var(--color-fg-muted)}
/* K-37 Grid lines: a month line in the chart grid color, a quarter line stronger. One layer across every lane, behind the bars. */
.swk .swk-road-grid,.swk .swk-road-marks{position:absolute;top:0;bottom:0;right:0;left:calc(var(--swk-road-head) + var(--swk-road-who));pointer-events:none}
.swk .swk-road-grid{z-index:0}
.swk .swk-road-gl{position:absolute;top:3.2em;bottom:0;left:calc(var(--swk-l) * 1%);width:1px;background:var(--cds-chart-grid)}
.swk .swk-road-gl--q{background:var(--cds-chart-axis)}
/* K-37 Today and deadline markers (M-9): ONE element each across every lane, a solid 1.5 px rule in --swk-ev-ink with a dot at its top and the
   label above, never dashed and never red. A label that would collide moves up a row; one at the right edge sits left of its rule. */
.swk .swk-road-marks{z-index:4}
.swk .swk-road-mark{position:absolute;top:0;bottom:0;left:calc(var(--swk-l) * 1%);width:0}
.swk .swk-road-mark::before{content:"";position:absolute;top:var(--swk-road-ax-h);bottom:0;left:-.75px;width:1.5px;background:var(--swk-ev-ink)}
.swk .swk-road-mark::after{content:"";position:absolute;top:calc(var(--swk-road-ax-h) - 3px);left:-3px;width:6px;height:6px;border-radius:50%;background:var(--swk-ev-ink)}
.swk .swk-road-mark-l{position:absolute;left:var(--cds-pad-xs);top:calc((2 + var(--swk-road-mrows,1) - 1 - var(--swk-row,0)) * 1.6em);font-weight:600;color:var(--color-fg-muted);white-space:nowrap}
.swk .swk-road-mark--end .swk-road-mark-l{left:auto;right:var(--cds-pad-xs)}
/* K-37 A lane: its heading (the theme in semibold, a caption of detail under it) beside its rows. Lanes alternate --swk-band by lane. */
.swk .swk-road-lane{display:grid;grid-template-columns:var(--swk-road-head) minmax(0,1fr);min-width:0}
.swk .swk-road-lane:nth-of-type(odd){background:var(--swk-band)}
.swk .swk-road-lane-head{display:flex;flex-direction:column;gap:var(--cds-pad-xs);padding:var(--cds-pad-sm) var(--cds-pad-md);min-width:0}
.swk .swk-road-lane-h{margin:0;font-size:var(--cds-font-size-body);font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.swk .swk-road-lane-h .swk-btn--link{font:inherit;font-weight:600;text-align:left}
.swk .swk-road-lane-d{margin:0;color:var(--color-fg-muted);line-height:1.35}
.swk .swk-road-rows{display:flex;flex-direction:column;min-width:0}
/* K-37 One project row: the lead column (a K-25 priority pill and the owner) then the track its bar sits in. */
.swk .swk-road-row{display:grid;grid-template-columns:var(--swk-road-who) minmax(0,1fr);min-width:0}
.swk .swk-road-who{display:flex;align-items:center;gap:var(--cds-gap-xs);min-width:0;height:var(--swk-road-pitch);padding-right:var(--cds-pad-sm);color:var(--color-fg-muted);white-space:nowrap;overflow:hidden}
.swk .swk-road-owner{min-width:0;overflow:hidden;text-overflow:ellipsis}
.swk .swk-road-who .swk-btn--link{font-size:inherit;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left}
.swk .swk-road-who a{min-width:0;overflow:hidden;text-overflow:ellipsis}
.swk .swk-road-track{position:relative;height:var(--swk-road-pitch);min-width:0}
.swk .swk-road-track>.swk-none{position:absolute;left:var(--cds-pad-sm);right:var(--cds-pad-sm);top:50%;transform:translateY(-50%);white-space:normal;line-height:1.15}
/* K-37 Narrow roadmap: under 700 px of the roadmap's own width the lane heading shrinks and the lead column (priority pill and owner) drops; the list view
   carries them (and is the view shown first). Placed after the rules it overrides. */
@container swk-road (max-width:700px){.swk .swk-road-plot{--swk-road-head:6rem;--swk-road-who:0px}.swk .swk-road-who{display:none}.swk .swk-road-row{grid-template-columns:minmax(0,1fr)}}
/* K-37 A bar: a button, or a link when the item links out, so each takes one tab stop. Thickness is M-7's. Its color is a status (data-swk-road),
   its edge a darker mix of that color so it holds 3:1 on the lane. The label sits inside only when it fits (M-4); the rest is in the tooltip
   and the accessible name. Hover and focus use the kit shadow and ring (I-1) and dim the other bars (M-1). */
.swk .swk-road-bar{--swk-road-fill:var(--swk-road-plan);--swk-road-ink:var(--swk-ink-light);position:absolute;z-index:2;box-sizing:border-box;top:calc((var(--swk-road-pitch) - var(--swk-road-bar)) / 2);height:var(--swk-road-bar);left:calc(var(--swk-l) * 1%);width:calc(var(--swk-w) * 1%);min-width:6px;display:flex;align-items:center;gap:var(--cds-gap-xs);margin:0;padding:0 var(--cds-pad-sm);overflow:hidden;font:inherit;font-size:var(--cds-font-size-caption);font-weight:600;line-height:1;white-space:nowrap;text-align:left;text-decoration:none;color:var(--swk-road-ink);background:var(--swk-road-fill);border:1px solid color-mix(in srgb,var(--swk-road-fill) 55%,var(--color-fg));border-radius:var(--cds-radius)}
.swk .swk-road-bar::after{content:none}
.swk .swk-road-bar-l{flex:0 1 auto;min-width:0;overflow:hidden}
.swk .swk-road-ck{flex:none;font-weight:700}
/* K-37 Status, fixed words and looks. Complete takes a check, On track and Delayed and Planned a solid fill with white ink, At risk the warn orange
   with dark ink (C-8). Tentative is dashed with no fill (M-8: not final) and its label in the plan ink. Stopped is a thin outline in --swk-ev-ink
   with a struck label (an item that is no longer data, so no data color, C-6). */
.swk [data-swk-road=done]{--swk-road-fill:var(--swk-road-done);--swk-road-ink:var(--swk-ink-light)}
.swk [data-swk-road=ok]{--swk-road-fill:var(--swk-road-ok);--swk-road-ink:var(--swk-ink-light)}
.swk [data-swk-road=risk]{--swk-road-fill:var(--swk-road-risk);--swk-road-ink:var(--swk-ink-dark)}
.swk [data-swk-road=late]{--swk-road-fill:var(--swk-road-late);--swk-road-ink:var(--swk-ink-light)}
.swk [data-swk-road=plan]{--swk-road-fill:var(--swk-road-plan);--swk-road-ink:var(--swk-ink-light)}
.swk .swk-road-bar[data-swk-road=tent]{background:transparent;border:2px dashed var(--swk-road-plan);color:var(--swk-road-plan-ink)}
.swk .swk-road-bar[data-swk-road=stop]{background:transparent;border:1px solid var(--swk-ev-ink);color:var(--swk-ev-ink);font-weight:400}
.swk .swk-road-bar[data-swk-road=stop] .swk-road-bar-l{text-decoration:line-through}
/* K-37 Modifiers never change the fill. Ended is a square end cap in --swk-ev-ink (a project closed on purpose); a bar that runs past the window
   is square at that edge (clip-l, clip-r). Watch, Moved and Waiting are drawn by their own elements or only in words (see below). */
.swk .swk-road-bar[data-swk-mod~=ended]{border-right:4px solid var(--swk-ev-ink);border-top-right-radius:0;border-bottom-right-radius:0}
.swk .swk-road-bar[data-swk-mod~=clip-l]{border-top-left-radius:0;border-bottom-left-radius:0}
.swk .swk-road-bar[data-swk-mod~=clip-r]{border-top-right-radius:0;border-bottom-right-radius:0}
/* K-37 Watch: a 2 px outline in --swk-watch around a bar that is done, on track, planned or tentative. It is its own element, not a style of the bar,
   so it keeps full strength when the other bars dim (M-1). */
.swk .swk-road-watch{position:absolute;z-index:3;pointer-events:none;box-sizing:border-box;top:calc((var(--swk-road-pitch) - var(--swk-road-bar)) / 2 - 3px);height:calc(var(--swk-road-bar) + 6px);left:calc(var(--swk-l) * 1% - 3px);width:calc(var(--swk-w) * 1% + 6px);border:2px solid var(--swk-watch);border-radius:calc(var(--cds-radius) + 2px)}
/* K-37 Moved: a ghost of the old span (--swk-span, with a hairline edge) behind the bar. It also covers a descoped item. The tooltip says "Moved from <dates>". */
.swk .swk-road-ghost{position:absolute;z-index:1;pointer-events:none;box-sizing:border-box;top:calc((var(--swk-road-pitch) - var(--swk-road-bar)) / 2);height:var(--swk-road-bar);left:calc(var(--swk-l) * 1%);width:calc(var(--swk-w) * 1%);background:var(--swk-span);border:1px solid color-mix(in srgb,var(--color-fg) 30%,transparent);border-radius:var(--cds-radius)}
/* K-37 Milestone: a diamond at its date, centered on the bottom edge of its bar so it never covers the bar's label. It is filled with the item's status
   color (the Delayed color when it was missed) and ringed in the panel color. */
.swk .swk-road-ms{position:absolute;z-index:3;box-sizing:border-box;top:calc((var(--swk-road-pitch) - var(--swk-road-bar)) / 2 + var(--swk-road-bar) - 5px);left:calc(var(--swk-l) * 1%);width:10px;height:10px;margin-left:-5px;background:var(--swk-road-fill,var(--swk-road-plan));border:1.5px solid var(--color-panel);outline:1px solid color-mix(in srgb,var(--swk-road-fill,var(--swk-road-plan)) 55%,var(--color-fg));transform:rotate(45deg)}
/* K-37 Dependencies: one thin connector in --swk-ev-ink from the end of the bar an item waits on to its start, behind the bars. Drawn by script from
   the measured bars; decorative (aria-hidden), the words are "Waits on <name>" in the tooltip and the list. */
.swk .swk-road-deps{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:visible}
.swk .swk-road-deps polyline{fill:none;stroke:var(--swk-ev-ink);stroke-width:1}
.swk .swk-road-deps polygon{fill:var(--swk-ev-ink)}
/* K-37 M-1 for the roadmap: the pointed-at row's bar and milestones stay full strength and the others fade to --swk-dim. Nothing grows. */
.swk .swk-road .swk-mk{transition:opacity var(--swk-dur) ease-out}
.swk .swk-road.swk-hl .swk-mk:not(.swk-on){opacity:var(--swk-dim)}
@media (prefers-reduced-motion:reduce){.swk .swk-road .swk-mk{transition:none}}
/* K-37 The list view and screen-reader path: a heading and one swkKit.table per lane. The status is a K-10 chip (the word), in its own column; a priority pill
   has another, so the two never share a cell (C-5). The chip color is the status ink, never the fill, which is too light as text. */
.swk .swk-road-list{display:flex;flex-direction:column;gap:var(--cds-gap-lg)}
.swk .swk-road-list-sec{display:flex;flex-direction:column;gap:var(--cds-gap-xs);min-width:0}
.swk .swk-road-list-sec .swk-road-lane-h{margin:0}
.swk .swk-road-chip{--swk-road-chip-ink:var(--color-fg);color:var(--swk-road-chip-ink);border-color:color-mix(in srgb,var(--swk-road-fill,var(--swk-edge-neutral)) 60%,var(--color-panel))}
.swk .swk-road-chip[data-swk-road=ok]{--swk-road-chip-ink:var(--swk-good-ink)}
.swk .swk-road-chip[data-swk-road=risk]{--swk-road-chip-ink:var(--swk-warn-ink)}
.swk .swk-road-chip[data-swk-road=late]{--swk-road-chip-ink:var(--swk-bad-ink)}
.swk .swk-road-chip[data-swk-road=plan]{--swk-road-chip-ink:var(--swk-road-plan-ink)}
.swk .swk-road-chip[data-swk-road=tent]{--swk-road-chip-ink:var(--swk-road-plan-ink);--swk-road-fill:var(--swk-road-plan);border-style:dashed}
.swk .swk-road-chip[data-swk-road=stop]{--swk-road-chip-ink:var(--swk-ev-ink);border-color:var(--swk-ev-ink)}
/* K-37 Key swatches (the K-27 key above a roadmap): the same look as the bars, one small shape per status and modifier. */
.swk .swk-road-sw{display:inline-block;flex:none;box-sizing:border-box;width:1.7em;height:.85em;background:var(--swk-road-fill,var(--swk-road-plan));border:1px solid color-mix(in srgb,var(--swk-road-fill,var(--swk-road-plan)) 55%,var(--color-fg));border-radius:3px}
.swk .swk-road-sw[data-swk-road=tent]{background:transparent;border:2px dashed var(--swk-road-plan)}
.swk .swk-road-sw[data-swk-road=stop]{background:transparent;border:1px solid var(--swk-ev-ink)}
.swk .swk-road-sw--watch{outline:2px solid var(--swk-watch);outline-offset:1px}
.swk .swk-road-sw--moved{background:var(--swk-span);border-color:color-mix(in srgb,var(--color-fg) 30%,transparent)}
.swk .swk-road-sw--ended{border-right:4px solid var(--swk-ev-ink);border-radius:3px 0 0 3px}
.swk .swk-road-sw--ms{width:.7em;height:.7em;border-radius:0;transform:rotate(45deg)}
.swk .swk-road-sw--rule{width:1.5px;height:1em;border:0;border-radius:0;background:var(--swk-ev-ink)}

/* ---------- Board (K-38, 0.5.0) ---------- */
/* K-38 Board: a read-only kanban board (swkKit.board, or the same classes written by hand). The page declares its columns in order;
   each column is a <section aria-labelledby> whose heading is its name and its count (.swk-board-n, "4", or "4 of 3" with a limit), and
   whose cards are <li> items of one <ul role="list">. No column has a color. Under 700 px of board width the columns stack in order and
   nothing scrolls sideways (P-3); from 700 px they sit side by side (12rem at least each, wrapping to a second row rather than squeezing).
   Written as a container query, so a board in a narrow card or pop-up stacks too, whatever the window. */
.swk .swk-board{--swk-board-edge:4px;container:swk-board/inline-size;position:relative;display:flex;flex-direction:column;gap:var(--cds-gap-md);min-width:0}
.swk .swk-board-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--cds-gap-md);align-items:start;min-width:0}
@container swk-board (min-width:700px){.swk .swk-board-cols{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr))}}
.swk .swk-board-col{display:flex;flex-direction:column;gap:var(--cds-gap-sm);min-width:0}
.swk .swk-board-h{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cds-gap-sm);row-gap:0;padding-bottom:var(--cds-pad-sm);border-bottom:1px solid var(--color-border-line);font-size:var(--cds-font-size-body);font-weight:600;color:var(--color-fg)}
/* K-38 Count: the number of cards in the column. With a work-in-progress limit it reads "4 of 3" and, over the limit, adds the words
   "Over limit" in the watch ink (C-5: words, not color). The screen-reader text is a sentence ("4 items, limit 3, over limit"). */
.swk .swk-board-n{font-weight:400;font-variant-numeric:tabular-nums;color:var(--color-fg-muted)}
/* K-38 .swk-board-over: the words "Over limit" next to a count past its work-in-progress limit, in the watch ink (C-5). */
.swk .swk-board-over{font-weight:600;color:var(--swk-watch-ink)}
/* K-38 .swk-board-list: a column's cards, one unbulleted list stacked with a small gap. */
.swk .swk-board-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--cds-gap-sm);min-width:0}
/* K-38 Card: a bordered item on the page background. Row 1 is the record number (a link built from one page constant, K-32) and the type
   as a word; then the title (two lines at most, the full title in the tooltip, K-24); row 2 the priority pill, the owner and the size;
   row 3 the health chip alone; row 4 neutral tag chips. A card that can be opened has .swk-click on the card (the pointer and the hover shadow) and a title button that reads as a link (K-16); a click anywhere on the card presses it. */
.swk .swk-board-card{display:flex;flex-direction:column;gap:var(--cds-gap-xs);min-width:0;background:var(--color-bg);color:var(--color-fg);border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:var(--cds-pad-md);padding-left:calc(var(--cds-pad-md) + var(--swk-board-edge) - 1px);overflow-wrap:anywhere}
/* K-38 Health: a 4 px left edge (K-21) and a chip with the words. --idle is the watch color: the card has had no change for the page's
   threshold (default 7 days, one band; the day count carries the severity). --blocked is the bad color: the chip says "Blocked" and the
   reason. Never a whole-card tint, and never color alone: the edge always comes with its chip (C-5). A board uses these two colors only. */
.swk .swk-board-card--idle{border-left:var(--swk-board-edge) solid var(--swk-watch);padding-left:var(--cds-pad-md)}
.swk .swk-board-card--blocked{border-left:var(--swk-board-edge) solid var(--swk-bad);padding-left:var(--cds-pad-md)}
.swk .swk-board-row{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--cds-gap-sm);row-gap:var(--cds-gap-xs);min-width:0;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted)}
.swk .swk-board-id{font-weight:600;font-variant-numeric:tabular-nums}
.swk .swk-board-type{color:var(--color-fg-muted)}
.swk .swk-board-t{margin:0;font-weight:600;line-height:1.3;color:var(--color-fg)}
.swk .swk-board-tt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:left}
/* K-38 The title is the card's open control but reads as the card's TITLE, not a link (Mike, Nov 5, 2026: long green underlined titles on
   the dark panel read as a wall of links). Text ink, semibold, no underline at rest; the underline and the kit focus ring appear on card hover
   and on keyboard focus, and the whole card is the click target (.swk-click shadow). The record number stays the only link-look element. */
.swk .swk-board-open{display:block;width:100%;text-align:left;color:inherit;font:inherit;text-decoration:none}
.swk .swk-board-card.swk-click:hover .swk-board-open,.swk .swk-board-open:focus-visible{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
/* K-38 .swk-board-person: an owner or other person on a card, in caption text. It is a link or button in the K-28 look when the page supplies opt.person(name). */
.swk .swk-board-person{font-size:var(--cds-font-size-caption);color:var(--color-fg)}
.swk .swk-board-row .swk-btn--link.swk-board-person{font-weight:400;color:var(--swk-green-ink)}
/* K-38 .swk-board-size: a card's size with its unit word ("3 h", "5 tasks"), in even-width digits on one line. */
.swk .swk-board-size{font-variant-numeric:tabular-nums;white-space:nowrap}
.swk .swk-board-health{display:block;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.swk .swk-board-tags{display:flex;flex-wrap:wrap;gap:var(--cds-gap-xs)}
.swk .swk-board-empty{margin:0;padding:var(--cds-pad-sm) 0}
/* K-38 Swimlanes: rows by any card field (opt.laneBy: feature, owner, epic). Each lane is a native <details class="swk-more"> (K-15),
   open by default, whose summary holds the lane heading, an optional detail line, the count in every column and, in words, how many cards
   are blocked or idle, so a collapsed lane still says where the trouble is. With lanes, a totals row above them carries each column's
   whole count and its limit. opt.lane makes a link or pop-up button at the top of the lane body, never inside the summary. */
.swk .swk-board-sum{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:var(--cds-gap-xs) var(--cds-gap-lg);font-size:var(--cds-font-size-caption);font-weight:600}
.swk .swk-board-lane{border-top:1px solid var(--color-border-line);padding-top:var(--cds-pad-sm)}
.swk .swk-board-lane>summary{width:auto;max-width:none;font-size:var(--cds-font-size-body);color:var(--color-fg)}
.swk .swk-board-lane-t{display:inline;margin:0;font-size:inherit;font-weight:600}
/* K-38 .swk-board-lane-a: the lane's link or pop-up button (opt.lane), at the top of the lane body, never inside the summary. */
.swk .swk-board-lane-a{margin:0 0 var(--cds-gap-sm)}
.swk .swk-board-card[tabindex]:focus-visible{outline:3px solid var(--swk-green);outline-offset:2px}
.swk .swk-board-lane-d{margin-inline-start:var(--cds-gap-sm);font-size:var(--cds-font-size-caption);font-weight:400;color:var(--color-fg-muted)}
.swk .swk-board-lane-c{margin-inline-start:var(--cds-gap-md);font-size:var(--cds-font-size-caption);font-weight:400;color:var(--color-fg-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.swk .swk-board-lane-s{margin-inline-start:var(--cds-gap-md);font-size:var(--cds-font-size-caption);font-weight:600}
.swk .swk-board-lane-s--blocked{color:var(--swk-bad-ink)}
.swk .swk-board-lane-s--idle{color:var(--swk-watch-ink)}
/* K-38 Key swatch: the small edge beside a key item ("no change in 7 days or more"), drawn as the card edge is. The key itself is the
   page's own <p class="swk-key" data-swk-key="board"> line (K-27) naming the priority levels, both edges and the words. */
.swk .swk-board-sw{display:inline-block;width:var(--swk-board-edge,4px);height:1em;border-radius:1px;flex:none;vertical-align:text-bottom}
.swk .swk-board-sw--idle{background:var(--swk-watch)}
.swk .swk-board-sw--blocked{background:var(--swk-bad)}
/* K-38 Tooltip rows use the shared .swk-tip-dl and .swk-tip-hint (in shared/tip-extras.css), the same field list as the roadmap. */

/* ---------- Honest numbers (K-5, K-6, K-29..K-31, M-2, M-3; 0.4.0) ---------- */
/* M-2 negatives: a chart with negative values draws a visible zero line (swkKit.zeroLine) and stacks negatives below it. */
.swk svg .swk-zero-line{stroke:var(--color-fg);stroke-width:1px;opacity:.7;pointer-events:none}
/* K-29 a missing value shows its reason word ("Not fed"), never a blank or a 0; it reads as words, not as a number.
   .swk-zero (K-5) stays for a measured zero only. */
.swk .swk-none{font-style:italic;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);white-space:nowrap}
/* K-29 data-state chips (.swk-chip.swk-state[data-swk-state]): neutral, with two exceptions; the word is fixed (swkKit.state). */
.swk .swk-state[data-swk-state="error"]{color:var(--swk-bad-ink);border-color:color-mix(in srgb,var(--swk-bad) 60%,var(--color-panel))}
.swk .swk-state[data-swk-state="stale"]{color:var(--swk-watch-ink);border-color:color-mix(in srgb,var(--swk-watch) 60%,var(--color-panel))}
/* Lower confidence is dashed: not final, the meaning a dash has everywhere (M-8), the same as .swk-pill--uncertain and .swk-chip--proposal. */
.swk .swk-state[data-swk-state="lower-confidence"]{border-style:dashed;border-color:var(--swk-edge-neutral)}
/* A value shown with lower confidence (matched by a time window, inferred): a dashed outline around the value itself. */
.swk .swk-lowconf{outline:1.5px dashed var(--swk-edge-neutral);outline-offset:2px;border-radius:2px}
/* A stale value keeps its last good number, muted, beside a Stale chip and its "as of" date. */
.swk .swk-stale-v,.swk .swk-tile-v.swk-stale-v{color:var(--color-fg-muted)}
/* M-3 estimated marks: a light tint of the series with a solid outline in the series color, and an "est." label. Distinct from the
   hatch (partial period), the dash (in progress, M-8) and the hollow dot (pending). Set --swk-est-c to the series token. */
.swk svg .swk-est{fill:color-mix(in srgb,var(--swk-est-c,var(--color-fg-muted)) 30%,var(--color-panel));stroke:var(--swk-est-c,var(--color-fg-muted));stroke-width:1.5px}
.swk .swk-sw--est{background:color-mix(in srgb,var(--swk-sw,var(--color-fg-muted)) 30%,var(--color-panel));border:1.5px solid var(--swk-sw,var(--color-fg-muted));box-sizing:border-box}
/* M-3 the "est." label an estimated mark carries (swkKit.estLabel). Open month (0.4.0): a bar is posted (solid) with the estimate
   (.swk-est) stacked on top; a line runs solid to the last complete month, then dashed (M-8) to an estimated point (circle.swk-est). */
.swk svg .swk-est-l{fill:var(--color-fg-muted);font-size:11px;font-style:italic;paint-order:stroke;stroke:var(--color-panel);stroke-width:3px;stroke-linejoin:round}
/* I-7 the labelled daily view on a month-grain page: its "data through" line per source. */
.swk .swk-through{margin:0;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted)}
/* K-5 a short qualifier under a table row name. */
.swk .swk-row-note{display:block;font-size:var(--cds-font-size-caption);font-weight:400;color:var(--color-fg-muted)}
/* K-30 basis caption: one line under the card title saying exactly what the number counts (population, unit, window, time zone).
   Always visible, never behind Show notes. */
.swk .swk-basis{margin:0;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);line-height:1.4}
/* K-30 card definition slot: measure, basis, window, source, as of (swkKit.def fills it from data). A compact label / value list. */
.swk .swk-def{display:grid;grid-template-columns:max-content 1fr;gap:var(--cds-gap-xs) var(--cds-gap-md);margin:0;font-size:var(--cds-font-size-caption);line-height:1.4}
.swk .swk-def>div{display:contents}
.swk .swk-def dt{color:var(--color-fg-muted);font-weight:600}
.swk .swk-def dd{margin:0;color:var(--color-fg)}
/* K-19 (0.4.0, PBI 1904183): less empty space above the header. A page that opens with the kit header drops the root's top padding
   to the small step, and the band's own top and bottom padding to the large step (the sides keep the extra-large step); the title,
   chip, controls and yellow rule are unchanged. Measured on gallery/components.html (Edge, 1000 px): the first header line sat 40 px
   below the page top before, 18 px after. */
.swk:has(> .swk-header){padding-top:var(--cds-pad-sm)}
/* I-5 (0.4.0): the frame around a page that follows the page's own Light / Dark pick lives in subway-web-kit-host.css, which only a page
   that is all dashboard loads; a kit section on a larger site never repaints the site around it. */
/* K-31 the stale banner is written hidden and shown by swkKit.freshness: the banner's display:flex must not beat [hidden]. */
.swk .swk-banner[hidden]{display:none}
/* K-31 "as of": the header's short "Data to <date>" line. */
.swk .swk-asof{margin:0;font-size:var(--cds-font-size-caption)}

/* Print (P-4): the header keeps its band but drops its controls; a closed .swk-more stays closed (open it before printing). */
@media print{.swk .swk-header-controls{display:none}}

/* ---------- Tables for long lists (K-32, K-33, K-34, I-13; 0.4.0) ---------- */
/* K-32 sticky header and first column. The .tbl box scrolls both ways inside its card, up to --swk-sticky-h tall (a page may set it on
   the .tbl). Sticky cells keep an opaque panel background so scrolled cells never show through; a sticky table is always banded. */
.swk .tbl:has(>.swk-table--sticky){overflow:auto;max-height:var(--swk-sticky-h,28rem);overscroll-behavior:contain}
.swk .swk-table--sticky thead th{position:sticky;top:0;z-index:2;background-color:var(--color-panel)}
.swk .swk-table--sticky tbody>tr>:first-child{position:sticky;left:0;z-index:1;background-color:var(--color-panel);box-shadow:inset -1px 0 0 var(--color-border-line)}
.swk .swk-table--sticky thead th:first-child{left:0;z-index:3;box-shadow:inset -1px 0 0 var(--color-border-line)}
.swk .swk-table--sticky tbody tr:hover>*{background-color:color-mix(in srgb,var(--swk-green) 6%,var(--color-panel))}
/* K-32 sortable header: the words are a real button (Enter and Space work); the th carries aria-sort and the arrow is drawn from it,
   silent to screen readers. A sortable column not sorted shows a faint double arrow. */
.swk .swk-sort{font:inherit;color:inherit;background:transparent;border:0;padding:0;margin:0;cursor:pointer;display:inline-flex;align-items:baseline;gap:var(--cds-gap-xs);text-align:inherit;white-space:nowrap}
.swk .swk-sort::after{content:"\2195";content:"\2195"/"";font-size:.92em;opacity:.5;display:inline-block;width:1em;text-align:center}
.swk th[aria-sort=ascending]>.swk-sort::after{content:"\25B2";content:"\25B2"/"";opacity:1}
.swk th[aria-sort=descending]>.swk-sort::after{content:"\25BC";content:"\25BC"/"";opacity:1}
.swk .swk-table thead th:is([aria-sort=ascending],[aria-sort=descending]){color:var(--color-fg)}
.swk .swk-sort:hover{color:var(--color-fg);text-decoration:underline;text-underline-offset:.2em}
.swk .swk-sort:focus-visible{outline:3px solid var(--swk-green);outline-offset:2px;border-radius:var(--cds-radius)}
/* K-32 a chip after a cell's value (swkKit.table chips) stays on the line where it fits. I-13: a row that opens its list. */
.swk .swk-table td>.swk-chip,.swk .swk-table th>.swk-chip{vertical-align:baseline}
.swk .swk-table tr.swk-drill-row{cursor:pointer}
/* K-5 (0.7.0, PBI 1905821): a link in any table cell stays on one line (a ticket number such as INC0012345, a record name), in a
   text column, a field table and a grid alike; the words around it still wrap. A link button (.swk-btn) keeps its own rule. */
.swk .swk-table :is(th,td) a:not(.swk-btn){white-space:nowrap}
/* K-32, I-13: a drill button in a cell keeps the cell's alignment; its words are short ("View all 12"), and a longer label wraps
   inside its cell rather than run over the next one (0.8.0, PBI 1907987). */
.swk .swk-table .swk-drill{white-space:normal;overflow-wrap:anywhere;text-align:inherit;max-width:100%}
/* I-13 (0.8.0, PBI 1906828): .swk-hint--table is the one word hint above a table whose rows open details, in the page's words ("Select a row to see details"). */
.swk .swk-hint--table{display:block;margin:0 0 var(--cds-gap-xs)}
/* I-13 (0.8.0): .swk-drill-ico is a row's drill button, a chevron after the row name (K-32); its svg is aria-hidden and its aria-label names the row. */
.swk .swk-drill-ico{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;margin:-4px 0 -4px var(--cds-gap-xs);padding:0;border:0;border-radius:var(--cds-radius);background:transparent;color:var(--swk-green-ink);cursor:pointer;vertical-align:middle}
.swk .swk-drill-ico svg{width:16px;height:16px;display:block}
.swk .swk-drill-ico:hover,.swk tr:hover>*>.swk-drill-ico{background-color:color-mix(in srgb,var(--swk-green) 14%,transparent)}
.swk .swk-drill-ico:focus-visible{outline:3px solid var(--swk-green);outline-offset:2px}
.swk .swk-table tr:has(.swk-drill-ico){cursor:pointer}
/* K-33 the paged list: a bar of controls (type tabs, search, rows per page, export), the table, then the pager with its count. */
.swk .swk-grid-bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cds-gap-sm) var(--cds-gap-md);min-width:0}
.swk .swk-grid-bar>.swk-tabs{flex:1 1 100%}
.swk .swk-search{display:inline-flex;align-items:center;gap:var(--cds-gap-sm);font-size:var(--cds-font-size-caption);font-weight:600;color:var(--color-fg-muted);min-width:0;max-width:100%}
.swk .swk-search input{font:inherit;font-size:var(--cds-font-size-body);font-weight:400;color:var(--color-fg);background:var(--color-panel);border:1px solid var(--color-border-line);border-radius:var(--cds-radius);padding:var(--cds-pad-xs) var(--cds-pad-sm);width:16rem;max-width:100%;min-width:0;box-sizing:border-box}
.swk .swk-search input:focus-visible{outline:3px solid var(--swk-green);outline-offset:2px}
.swk .swk-pager{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cds-gap-sm) var(--cds-gap-md)}
.swk .swk-pager-n{margin:0;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted);font-variant-numeric:tabular-nums}
.swk .swk-pager [aria-disabled=true]{opacity:.5;cursor:default;box-shadow:none}
.swk .swk-pager [data-swk-page][hidden]{display:none}
.swk .swk-grid-empty{margin:0;padding:var(--cds-pad-md) 0;color:var(--color-fg-muted)}
/* K-34 export: the page's own confirmation words, one shown at a time by the kit, read out by the live region. */
.swk .swk-export-msg{margin:0;font-size:var(--cds-font-size-caption);color:var(--color-fg-muted)}
.swk .swk-export-msg>[data-swk-when][hidden]{display:none}
@media print{
  .swk .swk-grid-bar,.swk .swk-pager [data-swk-page],.swk [data-swk-csv],.swk [data-swk-copy],.swk .swk-export-msg{display:none}
  .swk .tbl:has(>.swk-table--sticky){max-height:none;overflow:visible}
  .swk .swk-table--sticky th,.swk .swk-table--sticky td{position:static}
}
