/* =========================================================================
   SIDES LABS — design tokens
   -------------------------------------------------------------------------
   THIS IS THE ONLY STYLESHEET THAT MAY CONTAIN A LITERAL COLOUR.

   Files outside CSS also carry brand literals and have to, because an SVG file
   cannot read a custom property: assets/img/favicon.svg, the motif under
   assets/img/motif/ (U-2277) and the home page's hero graphic,
   assets/img/hero-platform.svg (U-2278). That is the complete exception list — see LEARNING_FRONTEND.md L-FE-13,
   which also records that audit rule D-1 still needs the carve-out written
   into it.

   It mirrors resources/design_guide/DESIGN_TOKENS.md and invents no value.
   Every value below appears in that document; adding a token means editing
   the document first.

   Theming is three-state (DESIGN_TOKENS.md §1):
     1. :root                                            complete light palette
     2. @media (prefers-color-scheme: dark)
        + :root:not([data-theme="light"])                system dark
     3. :root[data-theme="dark"] / [data-theme="light"]   the toggle wins

   No colour has its only definition inside a media or [data-theme] block:
   light is the base layer, dark redefines.
   ========================================================================= */

/* ---- 1. Light palette — the base layer --------------------------------- */

:root {
  /* Let the UA style scrollbars and native controls for the active theme.
     Overridden per explicit choice at the bottom of this file. */
  color-scheme: light dark;

  /* --- Brand (DESIGN_TOKENS.md §2) ------------------------------------- */
  --sd-primary: #5FE7A7;          /* mint  — primary CTA fill              */
  --sd-primary-hover: #A6F4CA;
  --sd-on-primary: #262626;       /* text on primary                       */
  --sd-secondary: #027261;        /* teal  — links, active nav, tabs       */
  --sd-secondary-hover: #00AE8F;
  --sd-tertiary: #3E7912;         /* forest — checkbox, radio, switch      */

  /* --- Neutrals (§3) --------------------------------------------------- */
  --sd-text: #262626;
  --sd-text-soft: #737373;
  --sd-muted: #A8A8A8;
  --sd-border: #D0D0D0;
  --sd-border-strong: #A8A8A8;
  --sd-divider: #E9E9E9;
  --sd-surface: #FFFFFF;
  --sd-surface-alt: #F4F4F4;
  --sd-surface-alt2: #E9E9E9;
  --sd-body: #E5E1E1;
  --sd-row-hover: #F4F4F4;

  /* --- The third ground (DESIGN_TOKENS.md §9.1) ------------------------- *
   * A recess INSIDE a surface: table head, chip ground, bar track, a row
   * that has stepped back. It sits BETWEEN the page ground and the surface
   * in BOTH themes -- measured relative luminance, light
   * 0.826 < 0.905 < 1.000 and dark 0.017 < 0.023 < 0.031 -- so "quieter
   * than the content around it" means the same thing in either theme.
   *
   * WHY NOT --sd-surface-alt, WHICH LOOKS LIKE IT ALREADY DOES THIS: it is
   * #F4F4F4 in light (BELOW the #FFFFFF surface) and #3A3A3A in dark (ABOVE
   * the #313131 surface). Its role inverts between the themes, so every
   * element reaching for it to recede rises instead in dark mode. That is
   * L-FE-44. --sd-surface-alt keeps its value and means "a step UP from the
   * surface" -- a hover fill, a pressed button.
   *
   * No new value: #F4F4F4 and #2A2A2A both already appear in this file.    */
  --sd-sunk: #F4F4F4;

  /* --- Semantic (§4) --------------------------------------------------- */
  --sd-success: #3E7912;
  --sd-success-bg: #E1FAC5;
  --sd-success-bd: #E1FAC5;
  --sd-warning: #B74A06;
  --sd-warning-bg: #FFECB3;
  --sd-warning-bd: #FFECB3;
  --sd-error: #D32F2F;
  --sd-error-bg: #FDE3E3;
  --sd-error-bd: #FDE3E3;
  --sd-info: #0277BD;
  --sd-info-bg: #BAE4FD;
  --sd-info-bd: #BAE4FD;

  /* --- Documentation / portal chrome (§5) ------------------------------ */
  --doc-bg: #E5E1E1;
  --doc-panel: #FFFFFF;
  --doc-ink: #262626;
  --doc-ink-soft: #737373;
  --doc-line: #D0D0D0;
  --doc-code-bg: #F4F4F4;

  /* --- The one surface that does not follow the theme (U-796) ---------- *
   * A QR code is read by a camera, not by a person, and a scanner expects dark
   * modules on a light field — a symbol inverted to suit a dark page is one many
   * readers refuse. So this is defined ONCE and deliberately not redefined in
   * either dark block: it is not a theme decision, it is the polarity the format
   * is specified in. It is a token rather than a literal so that the exception is
   * written down where the colours are, and not in a page stylesheet where it
   * would read as somebody forgetting the rule.
   */
  --scan-field: #FFFFFF;

  /* --- The brand-dark pair (§5) ---------------------------------------- *
   * WHAT IS LEFT OF THE SIDEBAR PALETTE, AND WHY IT SHRANK. These six tokens
   * dressed a portal sidebar and a site footer that were #063F36 in both
   * themes. U-728 made both of them themed surfaces (DESIGN_TOKENS.md §9.7),
   * which left three of the six — `--nav-bg-hover`, `--nav-ink` and
   * `--nav-ink-soft` — with no caller at all. They are gone rather than kept
   * against a use somebody might find: a token nothing reads is a value this
   * file asserts and no page can contradict, and the document keeps the
   * literals if a later surface wants them back.
   *
   * The three that remain have callers that can be named:
   *   --nav-bg          the darkest stop of the key-visual bloom, three pages
   *   --nav-active-bg   the identity chip's initials, with the ink below
   *   --nav-active-ink  white on that teal — 5.86:1 in EVERY theme state,
   *                     which is the property the themed pair does not have
   *                     (`--sd-secondary` goes light in dark mode and white on
   *                     it measures 1.98:1; see components/sidebar.css).       */
  --nav-bg: #063F36;
  --nav-active-bg: #027261;
  --nav-active-ink: #FFFFFF;

  /* --- Brand gradient (§5) --------------------------------------------- */
  --hero-grad: linear-gradient(150deg, #025C4E 0%, #027261 46%, #04836F 100%);

  /* --- Typography (§6) -------------------------------------------------- */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* --- Shape & metrics (§7) -------------------------------------------- */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --control-h: 42px;
  --nav-h: 36px;
  --nav-w: 240px;
  --nav-w-collapsed: 64px;
  --shadow-sm: 0 0 10px rgba(0, 0, 0, .05);
  --shadow-pop: 0 6px 24px rgba(0, 0, 0, .12);

  /* --- A progress bar has THREE roles (DESIGN_TOKENS.md §9.4) ----------- *
   * `var()` aliases, so they follow the theme automatically -- the opposite
   * of the pinned constants below, and correct for the opposite reason: a
   * bar is never on a theme-invariant surface.
   *
   * The third one exists because FULL and FINISHED are different facts. A
   * quota bar at 100 % is full and is NOT done; it is exhausted. Two tokens
   * force both into one picture.
   *
   * MEASURED LIMIT, and it is why no bar may rely on colour alone: fill and
   * done separate by 1.24:1 (light) and 1.16:1 (dark) -- hue, with almost no
   * luminance. In greyscale they are the same bar. The colour CONFIRMS the
   * state; the form and the label carry it.                                */
  --sd-bar-track: var(--sd-sunk);
  --sd-bar-fill: var(--sd-secondary);
  --sd-bar-done: var(--sd-tertiary);

  /* --- The SIDES type scale (DESIGN_TOKENS.md §6.1, ADR-0167) ------------- *
   * Body 13/20 and caption 12/16 and title-lg 16/24 are SIDES text styles; the
   * page title 20/28 and the counter 24/32 are this portal's named additions
   * (ADR-0167). Letter-spacing is 0 throughout.                              */
  --text-caption: 12px;
  --text-caption-lh: 16px;
  --text-body: 13px;
  --text-body-lh: 20px;
  --text-title-lg: 16px;
  --text-title-lg-lh: 24px;
  --text-page-title: 20px;
  --text-page-title-lh: 28px;
  --text-counter: 24px;
  --text-counter-lh: 32px;

  /* --- Spacing, radii, borders, the one shadow (§7.1, ADR-0167) ---------- */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --radius-sm: 4px;
  --border-w: 1px;
  --border-w-strong: 1.6px;
  --shadow-overlay: 0 2px 8px rgba(0, 0, 0, 0.12);
  --backdrop: rgba(0, 0, 0, 0.6);

  /* --- SIDES Labs' own additions to the SIDES set (§8.1, ADR-0167) -------- *
   * The motif, the header and navigation tints, the dashboards' accent
   * bar and the info card's icon box. Not SIDES values: named here so a
   * later Figma set can replace them. */
  --motif-line: rgba(38, 38, 38, 0.07);
  --motif-atom: rgba(2, 114, 97, 0.22);
  --motif-accent: rgba(2, 114, 97, 0.28);
  --motif-accent-soft: rgba(2, 114, 97, 0.13);
  --glow-strong: rgba(95, 231, 167, 0.24);
  --glow-soft: rgba(95, 231, 167, 0.12);
  --hdr-tint: rgba(95, 231, 167, 0.16);
  --accent-bar: #5FE7A7;
  --flask: rgba(60, 194, 155, 0.6);
  --nav-tint: rgba(95, 231, 167, 0.21);
  --nav-tint-top: rgba(95, 231, 167, 0.07);
  --border-selected: #027261;
  --tier-default-tint: rgba(95, 231, 167, 0.06);
  --icon-bg: #D0FBE2;

  /* --- The public site's marketing face (DESIGN_TOKENS.md §8.2, U-2277) -- *
   * Type above the six SIDES text styles, as `font` shorthands, and the
   * measure of a public page. The ring is the ink, so it follows the theme. */
  --font-display-xl: 700 48px/56px var(--font);
  --display-xl-tracking: -0.5px;
  --font-display-md: 700 28px/36px var(--font);
  --font-lead: 400 16px/26px var(--font);
  --font-prose: 400 15px/26px var(--font);
  --font-eyebrow: 600 12px/16px var(--font);
  --eyebrow-tracking: 0.8px;
  --page-max: 1200px;
  --page-gutter: 24px;
  /* The container's outer width and side gutter (base.css). The public bodies
     set them to the measure above in pages/marketing.css (U-2277). */
  --container-max: 1160px;
  --container-gutter: clamp(16px, 5vw, 40px);
  --ring: var(--doc-ink);
}

/* Below 640 px the display sizes step down and the gutter narrows (§8.2). */
@media (max-width: 639px) {
  :root {
    --font-display-xl: 700 36px/44px var(--font);
    --font-display-md: 700 24px/32px var(--font);
    --page-gutter: 16px;
  }
}

/* ---- 2. Theme-invariant brand surfaces --------------------------------- *
 * The splash hero, the portal sidebar and the site footer are dark teal in
 * BOTH themes (DESIGN_TOKENS.md §5). Text and fills placed on them therefore
 * may not follow the theme — a mint CTA that becomes teal in dark mode would
 * be invisible on a teal gradient.
 *
 * These aliases pin the LIGHT-theme values of --sd-primary, --sd-primary-hover
 * and --sd-on-primary, and reuse the sidebar ink. No new value is introduced;
 * every literal below already appears in DESIGN_TOKENS.md §2 and §5.
 *
 * NOTE for the head session: DESIGN_TOKENS.md has no name for this role. The
 * names are ours, the values are the document's. Worth a token-set amendment.
 * ------------------------------------------------------------------------ */

:root {
  --brand-mint: #5FE7A7;          /* = --sd-primary (light)                */
  --brand-mint-hover: #A6F4CA;    /* = --sd-primary-hover (light)          */
  --brand-mint-ink: #262626;      /* = --sd-on-primary (light)             */
  --brand-on-dark: #FFFFFF;       /* = --nav-active-ink                    */

  /* The public site's dark surfaces (DESIGN_TOKENS.md §8.2, U-2277): the hero
     band, the code block and the closing band. Dark in both themes, so their
     values are literals for the same reason as the four above. */
  --hero-ground: #08110E;
  --hero-glow: rgba(95, 231, 167, 0.16);
  --hero-glow-deep: rgba(2, 114, 97, 0.35);
  --hero-ink-lead: #C9D6D1;
  --hero-ink-quiet: #9FB3AC;
  --code-ground: #0F1714;
  --band-from: #027261;
  --band-to: #014A40;
  --band-ink-lead: #D0FBE2;
  --on-dark-line: rgba(255, 255, 255, 0.4);
  --on-dark-hover: rgba(255, 255, 255, 0.08);
  /* A blog post's cover (U-2281): the dark motif tile over one bloom, in
     three tints that alternate down the index. */
  --cover-ground: #0B1813;
  --cover-glow: rgba(95, 231, 167, 0.35);
  --cover-ground-blue: #0B1320;
  --cover-glow-blue: rgba(130, 200, 245, 0.35);
  --cover-ground-amber: #17110B;
  --cover-glow-amber: rgba(255, 184, 112, 0.3);
  /* There is deliberately no "soft" ink for these surfaces. The obvious
     candidate, #D6EFE7, measures 3.87:1 against the hero gradient's lightest
     stop and fails AA for body text. It used to be `--nav-ink`, safe on the
     flat footer at 9.8:1 and unsafe on the gradient — a token that is safe on
     one brand surface and unsafe on another is a trap with a name, and the
     flat footer it was safe on is not a brand surface any more (U-728), so the
     token is gone and the trap with it. Use --brand-on-dark and accept the
     harder contrast. */
}

/* ---- 3. System dark — no explicit choice ------------------------------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sd-primary: #5FE7A7;
    --sd-primary-hover: #A6F4CA;
    --sd-on-primary: #262626;
    --sd-secondary: #5FE7A7;
    --sd-secondary-hover: #A6F4CA;
    --sd-tertiary: #82C94A;

    --sd-text: #EDEDED;
    --sd-text-soft: #A3A3A3;
    --sd-muted: #5E5E5E;
    --sd-border: #454545;
    --sd-border-strong: #666666;
    --sd-divider: #393939;
    --sd-surface: #232323;
    --sd-surface-alt: #2E2E2E;
    --sd-surface-alt2: #393939;
    --sd-body: #0D0D0D;
    --sd-row-hover: #2E2E2E;
    --sd-sunk: #1A1A1A;

    --sd-success: #A5D97A;
    --sd-success-bg: #1D3310;
    --sd-success-bd: #1D3310;
    --sd-warning: #FFB870;
    --sd-warning-bg: #3D2A0C;
    --sd-warning-bd: #3D2A0C;
    --sd-error: #FF8A80;
    --sd-error-bg: #3D1717;
    --sd-error-bd: #3D1717;
    --sd-info: #82C8F5;
    --sd-info-bg: #0C2C42;
    --sd-info-bd: #0C2C42;

    --doc-bg: #0D0D0D;
    --doc-panel: #232323;
    --doc-ink: #EDEDED;
    --doc-ink-soft: #A3A3A3;
    --doc-line: #454545;
    --doc-code-bg: #2E2E2E;

    --shadow-overlay: 0 2px 8px rgba(0, 0, 0, 0.5);
    --backdrop: rgba(0, 0, 0, 0.72);
    --motif-line: rgba(255, 255, 255, 0.06);
    --motif-atom: rgba(95, 231, 167, 0.22);
    --motif-accent: rgba(95, 231, 167, 0.32);
    --motif-accent-soft: rgba(95, 231, 167, 0.14);
    --glow-strong: rgba(95, 231, 167, 0.16);
    --glow-soft: rgba(95, 231, 167, 0.07);
    --hdr-tint: rgba(95, 231, 167, 0.09);
    --flask: rgba(166, 244, 202, 0.55);
    --nav-tint: rgba(95, 231, 167, 0.11);
    --nav-tint-top: rgba(95, 231, 167, 0.04);
    --border-selected: #3CC29B;
    --tier-default-tint: rgba(95, 231, 167, 0.06);
    --icon-bg: #0F4031;
  }
}

/* ---- 4. Explicit dark — the toggle wins over the OS --------------------- */

:root[data-theme="dark"] {
  --sd-primary: #5FE7A7;
  --sd-primary-hover: #A6F4CA;
  --sd-on-primary: #262626;
  --sd-secondary: #5FE7A7;
  --sd-secondary-hover: #A6F4CA;
  --sd-tertiary: #82C94A;

  --sd-text: #EDEDED;
  --sd-text-soft: #A3A3A3;
  --sd-muted: #5E5E5E;
  --sd-border: #454545;
  --sd-border-strong: #666666;
  --sd-divider: #393939;
  --sd-surface: #232323;
  --sd-surface-alt: #2E2E2E;
  --sd-surface-alt2: #393939;
  --sd-body: #0D0D0D;
  --sd-row-hover: #2E2E2E;
  --sd-sunk: #1A1A1A;

  --sd-success: #A5D97A;
  --sd-success-bg: #1D3310;
  --sd-success-bd: #1D3310;
  --sd-warning: #FFB870;
  --sd-warning-bg: #3D2A0C;
  --sd-warning-bd: #3D2A0C;
  --sd-error: #FF8A80;
  --sd-error-bg: #3D1717;
  --sd-error-bd: #3D1717;
  --sd-info: #82C8F5;
  --sd-info-bg: #0C2C42;
  --sd-info-bd: #0C2C42;

  --doc-bg: #0D0D0D;
  --doc-panel: #232323;
  --doc-ink: #EDEDED;
  --doc-ink-soft: #A3A3A3;
  --doc-line: #454545;
  --doc-code-bg: #2E2E2E;

  --shadow-overlay: 0 2px 8px rgba(0, 0, 0, 0.5);
  --backdrop: rgba(0, 0, 0, 0.72);
  --motif-line: rgba(255, 255, 255, 0.06);
  --motif-atom: rgba(95, 231, 167, 0.22);
  --motif-accent: rgba(95, 231, 167, 0.32);
  --motif-accent-soft: rgba(95, 231, 167, 0.14);
  --glow-strong: rgba(95, 231, 167, 0.16);
  --glow-soft: rgba(95, 231, 167, 0.07);
  --hdr-tint: rgba(95, 231, 167, 0.09);
  --flask: rgba(166, 244, 202, 0.55);
  --nav-tint: rgba(95, 231, 167, 0.11);
  --nav-tint-top: rgba(95, 231, 167, 0.04);
  --border-selected: #3CC29B;
  --tier-default-tint: rgba(95, 231, 167, 0.06);
  --icon-bg: #0F4031;
}

/* ---- 5. Explicit light — the toggle wins over a dark OS ------------------ *
 * :root already carries the complete light palette, and the system-dark block
 * is guarded by :not([data-theme="light"]), so an explicit light choice needs
 * no redefinition. The selector is stated so the three states are visible in
 * one file rather than inferred.
 * ------------------------------------------------------------------------ */

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

/* ---- 6. Print — paper is white in every theme --------------------------- *
 * A FOURTH state, and it belongs here for the same reason the other three do:
 * this is the only file that may hold a literal colour (audit rule D-1), so a
 * print layer that needs theme-independent ink cannot pin it anywhere else.
 *
 * WHY IT IS NEEDED: --doc-ink is #262626 in light and #F2F2F2 in dark. A print
 * stylesheet that restores ink with `var(--doc-ink)` therefore prints WHITE on
 * white for every visitor whose theme is dark — and because base.css sets
 * `body { color: var(--doc-ink) }`, that is the whole page, not just the brand
 * surfaces. It was measured in the light scheme only and looked fixed.
 *
 * WHY ALL FOUR SELECTORS: each mirrors one of §1's states and matches its
 * specificity. `:root[data-theme="dark"]` and `:root:not([data-theme="light"])`
 * are both (0,2,0); a bare `:root` here is (0,1,0) and would lose to them. Being
 * last in the file settles the ties.
 *
 * Every value below already appears somewhere in DESIGN_TOKENS.md — this pins
 * light-theme INK ON WHITE PAPER, which is not quite "the light palette":
 * --doc-bg and --doc-panel are #FFFFFF here, where the light theme puts
 * --doc-bg at #E5E1E1. Paper is white; a page background is not.
 * ------------------------------------------------------------------------ */

@media print {
  :root,
  :root:not([data-theme="light"]),
  :root[data-theme="light"],
  :root[data-theme="dark"] {
    color-scheme: light;

    --doc-ink: #262626;
    --doc-ink-soft: #737373;
    --doc-bg: #FFFFFF;
    --doc-panel: #FFFFFF;
    --doc-line: #D0D0D0;
    --doc-code-bg: #F4F4F4;

    --sd-text: #262626;
    --sd-text-soft: #737373;
    --sd-secondary: #027261;

    /* THE SURFACE ITSELF, and it was the one ground this block did not pin.
       Measured on `{en,de}/register.html` with print media emulated and
       `prefers-color-scheme: dark`: the unselected tier option is
       `background: var(--sd-surface)`, which stays **#313131** on paper while
       the ink above is pinned to #262626 — **1.16:1** for the tier name,
       **2.22:1** for its price and **1.93:1** for its description. The SELECTED
       option was fine, because it swaps to `--sd-info-bg`, which this block
       already pinned; so the failure was in the options a reader has not chosen
       and the one they had chosen looked correct. Found by U-732's sweep of all
       37 pages in both print schemes.

       IT IS ONE TOKEN AND NOT FIVE, AND THAT IS SETTLED BY GREP RATHER THAN BY
       THE SWEEP. `--sd-surface-alt`, `--sd-surface-alt2`, `--sd-body` and
       `--sd-row-hover` invert between the themes in exactly the same way, so
       "the sweep did not reach them" would be a reason to wait, not a reason
       they are safe. They are safe: `--sd-surface-alt2` and `--sd-body` have
       ZERO `var()` callers in this directory — `--sd-body` is read by nothing
       at all — and every one of the twelve callers of `--sd-surface-alt` (9)
       and `--sd-row-hover` (3) is a `:hover` rule. Paper has no hover.
       Pinning them would be four assertions nobody can point at; leaving them
       is a fact anyone can re-run.
       *A block that pins the ink and half the grounds is not half-safe: it is
       exactly as wrong as pinning nothing, on whatever it missed.* */
    --sd-surface: #FFFFFF;

    /* `--sd-surface-alt` gained a caller that is not a hover in U-2277: a
       card on the public site's alternating band (components/band.css). In
       dark it is #2E2E2E behind the #262626 ink above, so it is pinned now. */
    --sd-surface-alt: #F4F4F4;

    /* The third ground, for the same reason as the semantic tints below:
       with "Background graphics" ticked, a dark-theme reader would otherwise
       print the #2A2A2A recess behind the #262626 ink pinned above --
       1.10:1. Every chip, table head and bar track sits on this. */
    --sd-sunk: #F4F4F4;

    /* A filled button prints as its LABEL: the fill is a background, and
       backgrounds are off by default. In dark mode --sd-on-primary is #FFFFFF,
       so "Sign in" and "Back to home" came out white on white even after the
       ink above was pinned — the fill hid it on screen, paper did not. */
    --sd-primary: #5FE7A7;
    --sd-primary-hover: #A6F4CA;
    --sd-on-primary: #262626;

    /* The theme-invariant brand ink assumes a dark surface underneath. On paper
       there is none — the gradient is a background image and it does not print.
       Redefining it here closes the whole class rather than the two rules that
       happen to be reachable today: `.on-brand .nav-link[aria-current="page"]`
       is (0,3,0) and would outrank anything print.css can reasonably write, and
       `.site-header.on-brand` is (0,2,0). Neither paints text right now. That is
       luck, not design.
     *
     * `--nav-ink` and `--nav-ink-soft` were pinned here too, for a footer that
       printed #7FB3A5 at 2.36:1 on white. U-728 made the footer a themed
       surface: it reads `--doc-ink-soft`, which this block already pins, so
       those two pins had nothing left to protect and went with the tokens. */
    --brand-on-dark: #262626;

    /* The marketing face's lead inks, for the same reason: their ground is a
       background and does not print (U-2277). */
    --hero-ink-lead: #262626;
    --hero-ink-quiet: #737373;
    --band-ink-lead: #262626;

    /* The semantic TINTS, for the reader who ticks "Background graphics".
       With Chrome's default the fills are dropped and the pinned ink above is
       enough; with backgrounds on, #262626 lands on the dark-theme #152A3A and
       #22331A at 1.03:1 and 1.12:1 — the method chip in a code panel header,
       which does paint text. The comment above claims this block closes a
       class rather than the instances it happened to find, so it has to. */
    --sd-success-bg: #E1FAC5;
    --sd-success-bd: #E1FAC5;
    --sd-warning-bg: #FFECB3;
    --sd-warning-bd: #FFECB3;
    --sd-error-bg: #FDE3E3;
    --sd-error-bd: #FDE3E3;
    --sd-info-bg: #BAE4FD;
    --sd-info-bd: #BAE4FD;
  }
}
