/* ===========================================================================
 * a11y-overrides.css — Anamnea accessibility remediation layer (WEB-14)
 *
 * WHY THIS FILE EXISTS
 * The deployed Anamnea bundle is Vite/React BUILD OUTPUT. No JSX/TSX source,
 * no package.json and no sourcemaps exist on the server, so the component tree
 * cannot be edited. This file closes the audit rows that are reachable from
 * CSS alone, and NO RULE IN THIS FILE touches a minified byte of assets/*.
 *
 * It is loaded from index.html AFTER assets/index-CvSJxFgZ.css so it wins on
 * source order; selectors are id-anchored (#root ...) so they also win on
 * specificity against Tailwind's single-class utilities.
 *
 * ROLLBACK: delete the one <link> line in index.html that references this
 * file. That removes every declaration here, so removal is TOTAL FOR THE CSS.
 *
 * SCOPED 2026-11-20 (WEB-1297). The two sentences above are narrowed, not
 * reversed, and the superseded readings are kept visible because the
 * difference is load-bearing. They used to read "without touching a single
 * minified byte of assets/*" and "Nothing else in the bundle is modified, so
 * removal is total" — both true of THIS FILE in isolation, and both false of
 * the LAYER as a whole since 2026-10-30T20:45:25+01:00.
 *
 * What changed: commit 7bb843d (WEB-645) edited the bundle to make the five
 * #/features accordion headers keyboard operable, and in the SAME COMMIT
 * added the A4 addendum below (#root .feature-acc-btn:focus-visible, line
 * ~157) to draw that ring inset, because the card's overflow-hidden clipped
 * the outside-drawn one. So this file now styles a control that exists only
 * because a minified byte WAS edited — and the commit that falsified the
 * header is the commit that added the block relying on it.
 *
 * The practical consequence, which is why this is scoped rather than dropped:
 * deleting the <link> is still a complete and safe rollback OF THE STYLING.
 * It is NOT a rollback of the layer. The bundle edit has no <link> and no
 * <script>; it survives removing this file, and it is reverted only by
 * restoring or rebuilding the bundle. Registered as A8 in ../../../PATCHES.md
 * and recorded in ../../../source/RECONCILIATION.md 3.1 item 4.
 *
 * SCOPED 2026-11-20 (WEB-1370 / WEB-1359), CTO. The cascade sentence above —
 * "it wins on source order; selectors are id-anchored so they also win on
 * specificity" — is narrowed, not reversed, and the superseded reading is kept
 * visible because the difference decides which lever a later entry may reach
 * for. It was a complete description of how this file wins for every rule up
 * to 2026-11-20 and it is NOT complete any more: source order and specificity
 * are both powerless against an INLINE style attribute, whatever the selector.
 * The #/workflow demo trigger carries one, rewritten every frame by the
 * bundle's animation library, and the last block in this file is the first to
 * need `!important` to reach past it.
 *
 * So the file's strategy now reads in three tiers, strongest last, and an
 * entry may only use a tier when it has MEASURED that the tier above it loses:
 *   1. source order         — beats the bundle's own stylesheet
 *   2. id-anchored selector — beats Tailwind's single-class utilities
 *   3. `!important`         — the ONLY thing that beats an inline style
 * Tier 3 is permitted narrowly and the conditions are in the WEB-1370 block,
 * which is the one place in this file that states them. Before that block
 * this file carried the token 0 times in 67,783 bytes; it now carries FOUR
 * tier-3 DECLARATIONS, all of them in that one block, and the rest of the
 * matches a grep returns are this prose discussing it. Count declarations,
 * not matches — and it is meant to stay at four.
 *
 * ROWS CLOSED HERE          A4 (focus ring), A3 (field boundary),
 *                           A8 (hamburger + footer tap targets, partial)
 * ROWS THAT NEED THE SOURCE A7, A9, A10, A13 — see README.md.
 *
 * Every colour below is justified by a computed WCAG contrast ratio; do not
 * substitute a value without recomputing. Token names follow the WEB-7 --k-
 * set. Tokens marked PROVISIONAL have no agreed portfolio value yet and are
 * declared locally so this file introduces no untoken'd one-off literals.
 * ======================================================================== */

:root {
  /* Minimum touch target. WCAG 2.5.5 / 2.5.8. Agreed WEB-7 value. */
  --k-tap-min: 44px;

  /* Focus indicator palette. DECIDED on WEB-647 (2026-10-30), option 1: the
   * shipped #0b4f54 stays and the proposed #0B6E74 does not supersede it.
   * Measured off rendered pixels on all nine routes at 1440x900 and 390x844,
   * #0B6E74 passes nowhere #0b4f54 fails and fails nowhere it passes, and it
   * halves the margin on 338 of 397 control instances (6.01:1 against 9.29:1
   * on the white body). The tiebreak was salience, not conformance.
   *
   * The WEB-14 handoff prescribed `2px solid var(--k-brand-600)`. Measured,
   * the site's brand teal is #1ebac2, which scores only 2.37:1 against the
   * white page background — below the 3:1 that WCAG 1.4.11 requires of a
   * focus indicator. Implementing the prescription literally would have left
   * A4 failing, so a dual-ring indicator is used instead.
   *
   * The dual ring is a SALIENCE CHOICE, not a necessity. This block used to
   * claim that no single colour clears 3:1 across both Anamnea's near-white
   * body and its near-black promo bar (gray-900 #111827). Foundation v1.3
   * refuted that: the feasible single-colour window is luminance
   * 0.11776–0.300 and is not empty — #78838F measures 3.86:1 on white and
   * 4.87:1 on #0F1216. What drawing both colours actually buys is margin,
   * and freedom from per-surface knowledge:
   *   #0b4f54  9.29:1 on white   1.91:1 on the dark bar
   *   #ffffff  1.00:1 on white  17.74:1 on the dark bar
   * One ring always clears 3:1 wherever the element sits, with no per-surface
   * override to get wrong when a component moves between bands. A single
   * mid-grey would conform and be visually weaker (v1.5 §3.10). That is a
   * stronger defence of the ring than the refuted one, not a weaker one.
   *
   * Names follow foundation §3.2's typed-prefix rule — `--k-color-*` is
   * always a colour, `--k-*-width` always a length — so a grep for
   * `--k-color-` is a complete audit of colour use. v1.5 §3.10 names the
   * colour token `--k-color-focus-ring`. WEB-652 renamed both colours off the
   * length-shaped names this file shipped with; the two widths were already
   * correctly typed and keep theirs. The old names are deliberately not
   * quoted anywhere in this file, so a grep for them is a clean zero and can
   * be used as a guard — the provenance is in the WEB-652 commit. */
  --k-color-focus-ring: #0b4f54;  /* dark teal, derived from the brand hue */
  --k-color-focus-ring-halo: #ffffff;
  --k-focus-ring-width: 3px;
  --k-focus-ring-halo-width: 2px;

  /* PROVISIONAL — resting boundary for text entry fields.
   * gray-500 on the gray-50 field fill = 4.63:1, clears 1.4.11's 3:1. */
  --k-field-border: #6b7280;
}

/* ---------------------------------------------------------------------------
 * A4 — visible focus indicator
 *
 * Baseline measured `outline: auto 1px` (the UA default) on every interactive
 * element, and Tailwind's `outline-none` utility on the form fields.
 *
 * Implemented as two stacked box-shadow rings rather than a single outline:
 * an outline cannot render two colours, and the dual ring is what makes the
 * indicator survive both the white body and the dark promo bar.
 *
 * :focus-visible only, so pointer users see no change. The :focus fallback is
 * scoped to browsers without :focus-visible support.
 * ------------------------------------------------------------------------ */
#root a:focus-visible,
#root button:focus-visible,
#root input:focus-visible,
#root select:focus-visible,
#root textarea:focus-visible,
#root [tabindex]:focus-visible {
  outline: var(--k-focus-ring-width) solid transparent; /* forced-colors hook */
  outline-offset: var(--k-focus-ring-halo-width);
  box-shadow:
    0 0 0 var(--k-focus-ring-halo-width) var(--k-color-focus-ring-halo),
    0 0 0 calc(var(--k-focus-ring-halo-width) + var(--k-focus-ring-width)) var(--k-color-focus-ring);
  /* The ring is drawn outside the box; keep it from being clipped. */
  position: relative;
  z-index: 1;
}

/* Windows High Contrast / forced-colors ignores box-shadow entirely, so the
 * transparent outline above is promoted to a real system-coloured one. */
@media (forced-colors: active) {
  #root a:focus-visible,
  #root button:focus-visible,
  #root input:focus-visible,
  #root select:focus-visible,
  #root textarea:focus-visible,
  #root [tabindex]:focus-visible {
    outline-color: CanvasText;
  }
}

/* A4, addendum — the #/features accordion controls (WEB-645).
 *
 * WEB-645 made the five #/features cards keyboard operable by putting a real
 * <button> inside each <h3>. Those buttons fill their card exactly, and the
 * card carries Tailwind's `overflow-hidden` (it is what clips the active-tab
 * bar to the card's 16px corners). The dual ring above is drawn OUTSIDE the
 * button box, so on these five controls every pixel of it lands in the card's
 * 1px border or beyond, and is clipped away: measured invisible at both
 * 1440x900 and 390x844 before this rule.
 *
 * Same two colours, same two widths, same token — drawn inside the box rather
 * than outside it, so the overflow box cannot eat it. The button carries
 * `rounded-2xl`, so the ring follows the card's own radius.
 *
 * The negative outline-offset pulls the transparent forced-colors hook inside
 * the box too; the @media block above still supplies its CanvasText colour,
 * because these buttons match `#root button:focus-visible` as well.
 *
 * COLOUR IS SETTLED. WEB-647 (2026-10-30) decided option 1: the shipped
 * --k-color-focus-ring #0b4f54 stays, and this rule reuses it. The WEB-643
 * ruling prescribed a single 3px `#0B6E74` outline and called it "the first
 * named token in the shared foundation". It is neither: `git grep` returns
 * zero occurrences of it anywhere in the estate, and the foundation shares
 * the ring's geometry while leaving colour per-brand (v1.5 §3.10 — "Width
 * and offset are never per-brand — only colour is"). It was also written
 * without this file in view: A4 already ships an estate-wide indicator.
 * Reusing the token keeps one focus colour across the portfolio and lets a
 * later token promotion reach these five for free. Do not re-open the
 * #0B6E74 swap: it was measured on rendered pixels and ruled against
 * (6.01:1 against the shipped 9.29:1 on the white body, better on nothing
 * that is judged).
 *
 * This is the first inset ring in the estate, and v1.5 §3.10 judges an inset
 * ring against the component's own fill in every state it can be focused in.
 * Measured on WEB-647 over CDP-forced pseudo-states, all five buttons at both
 * viewports: 9.06–9.29:1 in base, :hover and :active, and the fill is never a
 * brand fill, so §3.10's D6 prohibition on brand-filled inset rings does not
 * bite. It passes.
 * ------------------------------------------------------------------------ */
#root .feature-acc-btn:focus-visible {
  box-shadow:
    inset 0 0 0 var(--k-focus-ring-halo-width) var(--k-color-focus-ring-halo),
    inset 0 0 0 calc(var(--k-focus-ring-halo-width) + var(--k-focus-ring-width))
      var(--k-color-focus-ring);
  outline-offset: calc(-1 * (var(--k-focus-ring-halo-width) + var(--k-focus-ring-width)));
}

/* ---------------------------------------------------------------------------
 * A3 — resting boundary on text entry fields
 *
 * Baseline measured `border: 1px solid rgba(0, 0, 0, 0)` on all five contact
 * controls: a border box exists but is fully transparent, so the field has no
 * boundary at any contrast. Only the colour is changed — border-width stays
 * 1px, so no field changes size and no layout shifts.
 *
 * Range inputs are excluded deliberately: a slider has no text-entry boundary
 * to delineate, and a border on the track would be a visual regression.
 * ------------------------------------------------------------------------ */
#root input:not([type='range']):not([type='hidden']):not([type='checkbox']):not([type='radio']),
#root textarea,
#root select {
  border-color: var(--k-field-border);
}

/* ---------------------------------------------------------------------------
 * A8 — touch target floor (partial)
 *
 * Baseline measured 17 targets under 44x44 at 390px and 23 at 1440px. The two
 * groups reachable from CSS are handled here.
 *
 * (a) Nav buttons, including the hamburger, measured 40x40 (a 24px icon in
 *     Tailwind `p-2`). Grown to 44x44 from the centre so the icon does not
 *     move and the bar's vertical rhythm is unchanged.
 * ------------------------------------------------------------------------ */
#root nav button {
  min-width: var(--k-tap-min);
  min-height: var(--k-tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* A8, addendum - WEB-1100. THE RULE ABOVE IS WHY THE HAMBURGER SHOWED AT
 * DESKTOP WIDTH, and this block is its scoping fix.
 *
 * `#root nav button` has specificity (1,0,2). The bundle hides the hamburger
 * above the `lg` breakpoint with Tailwind's `.lg\:hidden { display: none }`
 * inside `@media(min-width:64rem)`, specificity (0,1,0). The id selector wins
 * that cascade, so `display: inline-flex` above has painted the burger at
 * EVERY width since A1 shipped on 2026-10-23 - next to the full inline nav,
 * on all nine routes. Driven on production at 1440: a real click flipped
 * `aria-expanded` to `true`, drew P4's `Menue schliessen` close button over
 * the trigger's own position, and opened no panel. A control that reports a
 * state it does not have is SC 4.1.2, not only a layout blemish.
 *
 * This restores the authored intent for that one button and nothing else.
 *
 * `64rem`, NOT `1024px`, is deliberate and is not a style preference: the
 * condition must track the bundle's own `lg` boundary under any root font
 * size. A px restatement would drift apart from it exactly when the visitor
 * has enlarged their default type - which is the defect the A6 block in this
 * file already records - and the drift window would show BOTH affordances or
 * NEITHER. The other breakpoints in this file are px because they are
 * content-driven; this one is not ours to choose.
 *
 * The 44px tap-target floor above still applies BELOW the breakpoint, where
 * the burger is the control A8 was written for. Measured on production with
 * this rule injected: display:none at 1024/1440/1721 and 44x44 at
 * 1023/480/390, on all nine routes, with the menu still opening and closing
 * at 390.
 *
 * Remove when: the A8 rule stops setting `display` at id specificity - i.e.
 * when the source returns (WEB-22) and the tap-target floor is authored in
 * the component, or when that one declaration is dropped to
 * `:where(#root nav) button` so that any Tailwind display utility wins on its
 * own. Until then this addendum is the narrower, measured fix. */
@media (min-width: 64rem) {
  #root nav button.lg\:hidden {
    display: none;
  }
}

/* (b) Footer links measured 17-20px tall. Made block-level so the whole row
 *     is hittable and padded to the 44px floor. `space-y-4` on the parent
 *     <ul> still supplies the gap between rows; the extra height comes from
 *     padding inside each link, which is what makes the target bigger rather
 *     than just moving it. */
#root footer a {
  display: inline-flex;
  align-items: center;
  min-height: var(--k-tap-min);
}

/* (c) The footer social icons are `w-10 h-10` circles — 40px wide. The rule
 *     above already lifted them to 44px tall; this takes the width to match,
 *     keeping them circular. min-width beats the `w-10` utility regardless of
 *     specificity, because a min constraint always clamps the used width. */
#root footer a.rounded-full {
  min-width: var(--k-tap-min);
  justify-content: center;
}

/* WEB-1324 (c). The footer's gray-400 tier: 2.602:1 on pure white against a
   4.5 floor, on all nine routes at both viewports. #6a7282 is gray-500 and is
   already painted by this same footer's intro paragraph at 4.836:1 - it is not
   a new colour, and not even new in this footer.
   TYPE-QUALIFIED DELIBERATELY: the unqualified .text-gray-400 form reaches 11
   elements here, six of them the social icon links and their svgs, which
   belong to WEB-1322 / WEB-1327 and must not be recoloured from here. */
#root footer h4.text-gray-400,
#root footer p.text-gray-400,
#root footer div.text-gray-400 { color: #6a7282; }

/* The company-name link inherits gray-400 from the <p> above and carries NO
   colour class, so a class-keyed selector cannot reach it. The underline is
   not decoration: at rest this link is identical in colour to the sentence
   containing it and has no resting underline, so it is distinguished by
   NOTHING. SC 1.4.1. Hover is already governed by WEB-1320 A3. */
#root footer p.text-gray-400 > a {
  color: #6a7282;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* NOT FIXED HERE, deliberately — each needs the React source:
 *
 *  - Promo bar link (41px tall). The nav below it is positioned with a
 *    HARDCODED inline `top: "40px"` baked into the bundle, not measured from
 *    the bar. Growing the bar to 44px would push its own content under the
 *    nav. Verified by reading the minified source: exactly one occurrence of
 *    top:"40px", and one getBoundingClientRect call in the whole bundle.
 *  - Desktop nav links (20px tall at 1440px) and the three calculator sliders
 *    (12px tall). Both are reachable from CSS but only by changing the visual
 *    design of the nav pill and the slider track, which is the WebDesigner's
 *    call, not a mechanical a11y fix.
 *  - The "Datenschutzerklärung" link inside the consent sentence (17px tall)
 *    is an inline link in a block of text, which WCAG 2.5.8 explicitly
 *    exempts. Reported as a false positive rather than padded.
 */

/* The footer's contact rows wrap an icon and a label in a flex <li>; keep the
 * icon aligned to the text's optical centre now that the link box is taller. */
#root footer li.flex > svg {
  align-self: center;
  margin-top: 0;
}

/* ---------------------------------------------------------------------------
 * R1 / R2 — the cookie consent card: contrast and choice parity
 * WEB-661, implementing the WebDesigner's ruling on WEB-654.
 *
 * HOW THESE THREE TARGETS ARE MATCHED. Same rule the JS layer states: exact
 * handles, no prefix or substring matching, no counting siblings. The consent
 * component is one `ub=()=>{...}` factory in assets/index-c7jT0TdB.js and each
 * of the three class strings below occurs EXACTLY ONCE in the whole bundle
 * (measured with grep -c -F over assets/*.js, 2026-10-30), so an exact
 * `[class="..."]` attribute match is a unique handle and cannot reach another
 * page. Tailwind emits the class list in authored order, so the string is
 * stable for as long as the bundle hash is.
 *
 * CONSEQUENCE, AND IT IS LOAD-BEARING: nothing may add or remove a class on
 * these three elements. The WEB-661 JS entry (A6) therefore adds only
 * attributes - role, aria-*, tabindex, data-k-consent - and never touches
 * `class`. If a future entry needs a class there, these selectors must move to
 * the data attribute at the same time.
 *
 * THE CONSTRAINT NOW COVERS FOUR ELEMENTS, NOT THREE (WEB-1468, 2026-11-22).
 * The R3 entry at the foot of this file keys a fourth exact handle inside this
 * same dialog - the text block `flex items-center gap-4 flex-1 min-w-[300px]`
 * - on the same discipline and for the same reason. Re-verified when that
 * entry landed: both of its class strings still occur EXACTLY ONCE in
 * assets/index-c7jT0TdB.js, which is the bundle the live index.html loads, and
 * the two JS layers' only `className` writes are to nodes those layers create
 * themselves (a11y-patches.js A11's own nav item, deploy-patches.js's own
 * Impressum contact block), so neither mutates `class` on any of the four.
 * Whoever moves these selectors to data attributes must move R3's too.
 *
 * R1 - SC 1.4.3, two measured failures (WebDesigner, computed colours, both
 * viewports): the `Akzeptieren` label was #ffffff on the brand teal #1ebac2 at
 * 2.37:1, and the `Datenschutzerklärung` link #1ebac2 on #ffffff, also
 * 2.37:1. Floor is 4.5:1. #1ebac2 is the same brand-primary result A4 above
 * re-derives for the focus ring, so the fix reuses this file's existing
 * --k-color-focus-ring (#0b4f54, 9.29:1 on white). No new colour is introduced.
 *
 * THE RULING NAMED THIS TOKEN BY ITS OLD NAME, AND OBEYING THAT LITERALLY
 * WOULD HAVE SHIPPED A BROKEN RULE. The length-shaped name it quoted was
 * correct on main, but the WEB-652 ride-along renames both colour tokens, and
 * PATCHES.md required carrying that branch for any publish of this file. The
 * rule as first written survived the merge as a var() reference to a property
 * :root no longer declares - invalid at computed-value time, so the link fell
 * back to the inherited 2.37:1 brand teal while the diff still read as a
 * contrast fix. That is case D in publish/web652/RIDE-ALONG.md, one file over
 * from where it was predicted; the link measured 9.29:1 only after the name
 * was corrected here.
 *
 * Two consequences for whoever edits this block next. Run that document's grep
 * guard for the superseded names before any publish and keep it at zero - and
 * do not quote those old names anywhere in this file, not even in a comment
 * explaining this paragraph, because the guard cannot tell prose from code.
 * This paragraph is written the long way round for exactly that reason.
 *
 * The token's NAME is still wrong for this use - a focus-indicator token being
 * read as a link colour. It is used anyway, deliberately: one hex in this file
 * beats two. If the --k- set grows a link token (klassen-it.com carries
 * --k-color-link-on-light, but at #764ba2, which is that site's brand and not
 * this one's), rename both uses together.
 *
 * R2 - consent-choice parity, the klassen-it.com WEB-178 row L4 treatment.
 * There, the two buttons' style attributes are byte-identical so neither can
 * drift into being the prominent one. anamnea carried the full asymmetry the
 * WEB-178 comment describes as the old klassen-it state: brand fill, white
 * text, `shadow-lg shadow-primary/20` and a `hover:-translate-y-0.5` lift on
 * `Akzeptieren`, against a grey `bg-gray-100` fill on `Ablehnen`.
 *
 * Values are WEB-178's: #ffffff fill, #374151 text, 2px solid #374151 border,
 * weight 600, 16px radius, no shadow, and one shared #f3f4f6 hover.
 *
 * PADDING IS 10px 22px, NOT the bundle's 12px 24px, AND THAT IS NOT A STYLE
 * PREFERENCE — it is the border width subtracted back out. These buttons have
 * no authored height, so a 2px border grows the box 4px in each axis whatever
 * box-sizing says. Measured, with 12px/24px kept: each button went 48px -> 52px
 * tall, the card went 222px -> 226px at 390x844, and the SC 2.4.11 count this
 * ticket exists to reduce went from 18 failures to 37 — three more footer rows
 * per route fell under the taller card. A contrast fix that made Focus Not
 * Obscured twice as bad would have been a bad trade, and the diff looked
 * completely fine. At 10px 22px the outer box is byte-identical to today's:
 * 48px tall, card 222px, sweep back to the 18-failure baseline. The 22px also
 * happens to be exactly WEB-178's horizontal padding.
 *
 * One further recorded deviation from WEB-178: font-size is left inherited
 * (measured 16px here), not pinned to 15px. Criterion 6 asks that the two
 * buttons equal EACH OTHER, which they do; re-typesetting the card is a design
 * decision nobody asked for.
 *
 * Removing the brand fill is what closes the `Akzeptieren` half of R1 by
 * construction: #374151 on #ffffff is 10.31:1.
 *
 * ROLLBACK: delete this block. The three targets return to the bundle's own
 * Tailwind utilities; nothing else in the file depends on it.
 * ------------------------------------------------------------------------ */

/* R1 - the privacy-policy link in the consent sentence. This is the required
 * route from the consent prompt to the privacy policy on a German-market site,
 * so it is the one link on the card that must not be hard to see.
 *
 * NOT MATCHED ON ITS href, which was the first attempt and was wrong: the
 * bundle authors `href="/#/datenschutz"` but deploy-patches.js — live and
 * CEO-approved since WEB-23 — rewrites it to "/datenschutz" at runtime, so an
 * href-keyed selector matched nothing in the rendered DOM. Measured, not
 * reasoned: the rule silently did nothing until the selector changed. It is
 * now the unique class string scoped inside the consent shell, which is true
 * whichever of the two hrefs the element is carrying.
 *
 * The underline is AUTHORED here, not kept: the bundle ships `hover:underline`,
 * i.e. no resting underline, so the link was distinguished from the surrounding
 * gray-600 copy by colour alone. At #0b4f54 against that copy's #4b5563 the
 * two differ by 1.229:1 - far under the 3:1 that a colour-only distinction
 * needs - so the colour fix alone would have left a link a colour-blind reader
 * cannot find. The ruling says "keep the underline"; this is the smallest
 * change that makes that true at rest as well as on hover.
 *
 * FIGURE CORRECTED 2026-11-20 (WEB-1319 condition 9, CEO-ruled). This line
 * read "1.75:1" from this block's first authoring. Re-derived from the two
 * hexes by WCAG 2.x relative luminance: L(#0b4f54) = 0.0630337,
 * L(#4b5563) = 0.0889470, ratio = 1.229:1. THE CONCLUSION AND THE SHIPPED
 * RULE ARE UNCHANGED AND MUST NOT CHANGE - 1.229 is further under the 3:1
 * floor than 1.75 was, so the authored underline was and remains required.
 * This was a provenance inaccuracy in a comment, corrected so that whoever
 * edits this block next does not inherit it. No declaration moved. */
#root div[class="fixed inset-0 z-[9999] flex items-end justify-center p-4 pointer-events-none"] a[class="text-primary hover:underline font-medium"] {
  color: var(--k-color-focus-ring);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* R1 + R2 - both consent buttons, resting. One rule for the pair, so the two
 * cannot be given different values by a later edit to one selector. */
#root button[class="bg-gray-100 text-gray-700 py-3 px-6 rounded-2xl font-semibold hover:bg-gray-200 transition-all whitespace-nowrap"],
#root button[class="bg-primary text-white py-3 px-6 rounded-2xl font-semibold hover:bg-primary/90 transition-all shadow-lg shadow-primary/20 hover:-translate-y-0.5 whitespace-nowrap"] {
  background: #ffffff;
  color: #374151;
  border: 2px solid #374151;
  border-radius: 16px;
  font-weight: 600;
  /* 12px 24px minus the 2px border, so the rendered box does not move. See the
   * measured 18 -> 37 regression in the block comment above. */
  padding: 10px 22px;
  min-height: var(--k-tap-min);
  box-shadow: none;
  transform: none;
}

/* R2 - and hover, which is where the asymmetry used to come back: accept lifted
 * and gained a brand shadow while decline only darkened its grey. One shared
 * declaration is this file's equivalent of WEB-178's one shared handler. */
#root button[class="bg-gray-100 text-gray-700 py-3 px-6 rounded-2xl font-semibold hover:bg-gray-200 transition-all whitespace-nowrap"]:hover,
#root button[class="bg-primary text-white py-3 px-6 rounded-2xl font-semibold hover:bg-primary/90 transition-all shadow-lg shadow-primary/20 hover:-translate-y-0.5 whitespace-nowrap"]:hover {
  background: #f3f4f6;
  box-shadow: none;
  transform: none;
}

/* R1 + R2, FOCUSED - WEB-1597. SC 2.4.7 Focus Visible, Level A.
 *
 * The two rules above governed the FOCUSED state as collateral, and that left
 * both consent buttons with no visible focus indicator at all. Their
 * `box-shadow: none` exists to kill the bundle's `shadow-lg shadow-primary/20`
 * so the two buttons match each other (R2, consent-choice parity) - but
 * `box-shadow` is also A4's visible half, and A4's `outline` is deliberately
 * transparent because it is a forced-colors hook rather than a ring. So on an
 * ordinary display nothing was left to paint. Same shape as the WEB-1370 block
 * further down this file, from a different cause: there an inline style
 * outranked A4, here two rules in this file do.
 *
 * WHY THEY WIN WITHOUT THIS RULE. The resting rule is (1,1,1) - `#root` +
 * `[class="..."]` + `button` - which is IDENTICAL to A4's
 * `#root button:focus-visible`, and it sits later in the same stylesheet, so
 * source order decides and A4 loses.
 *
 * AND THE HOVER RULE IS WHY THIS RULE SITS HERE RATHER THAN BESIDE THE
 * RESTING ONE. `...:hover` is (1,2,1), exactly what `...:focus-visible` is,
 * so specificity cannot separate them and SOURCE ORDER decides between the
 * two. Placed with the resting rule - the obvious spot, and where this was
 * first written - the ring would be correct until the pointer happened to
 * rest on the focused control, at which point the hover rule's
 * `box-shadow: none` would win and the indicator would vanish. A mouse sits
 * wherever it was last left, so that is an ordinary keyboard session on a
 * desktop, not an edge case. Last wins, so this rule goes LAST in the block.
 * Hover's `background: #f3f4f6` still applies underneath it, which is the
 * right outcome: hover feedback and the focus ring are both visible at once.
 *
 * THAT IS MEASURED, NOT REASONED, because it is the difference between this
 * fix and a half of it. Both placements were built from the SAME BYTES in a
 * different order - identical length, identical byte multiset - and each was
 * rendered against the live page with focus taken by real Tab presses. With
 * the pointer then resting on the focused control: painted changed pixels
 * against the resting band, and rings found by walking four orthogonal rays
 * outward from the border box (never computed from `outline-offset`):
 *     THIS placement      5748 / 7870 px changed at 1440x900, 5742 / 7863 at
 *                         390x844; ring on 4 of 4 rays, both buttons
 *     beside the resting
 *     rule                4626 / 6740 and 4620 / 6744; ring on 0 of 4 rays -
 *                         and those four figures are EXACTLY the unpatched
 *                         page's, to the pixel, on both buttons and both
 *                         viewports
 * So the rejected placement is not a weaker ring. With a pointer anywhere on
 * the control it is no ring at all, and it is indistinguishable from shipping
 * nothing.
 *
 * RE-DECLARE, NOT NEGATE, and the reason is failure direction rather than
 * taste (CEO ruling, WEB-1597). The alternative was `:not(:focus-visible)` on
 * the resting rule. A selector-level pseudo-class that an engine cannot parse
 * invalidates the WHOLE rule, not the declaration - so if `:focus-visible` is
 * ever unparsed, the negation form drops the resting rule entirely and the
 * bundle's brand fill, white text and `shadow-lg shadow-primary/20` lift come
 * back on `Akzeptieren`: silently reinstating, on the resting state, the exact
 * asymmetry WEB-1319 landed to remove. This form fails the other way - if
 * `:focus-visible` does not match, this rule simply does not apply and the
 * resting rule still governs. One shape fails safe and the other fails open.
 *
 * IT OVERRIDES `box-shadow` ONLY. A4's `outline`, `outline-offset`,
 * `position: relative` and `z-index: 1` all still apply, so the forced-colors
 * block near A4 still promotes that outline to CanvasText. `transform` is not
 * restated: the resting and hover rules already pin it to `none`, so focusing
 * ADDS a ring and changes nothing else. No new token, no new colour, no
 * `!important` - there is no inline style and no animation on these two, which
 * is what forced tier 3 on WEB-1370, so this file's tier-3 declaration count
 * is unchanged. No change to A4: the ring is the one A4 already owns, read
 * from `--k-color-focus-ring` / `--k-color-focus-ring-halo` and the two
 * widths.
 *
 * SC 1.4.11 IS SAMPLED FROM THE PIXELS ACTUALLY ADJACENT ON THIS CARD, not
 * inherited from the token's estate-wide justification. Four orthogonal rays
 * per button, walked outward until the colour settles, runs of one pixel
 * discarded as antialias blends: the ring resolves as `#0b4f54`, exactly 3 px
 * wide, starting exactly 2 px out from the border box, on 4 of 4 rays on both
 * buttons at both viewports - and against the white it sits between on BOTH
 * sides, inward halo and outward card, the ratio is 9.289:1 against a 3:1
 * floor. The same figure in the focused-and-hovered state. Unpatched, 0 of 4
 * rays carry a ring in either state.
 *
 * THE RESTING STATE IS UNCHANGED, and that is an invariant this rule had to
 * clear rather than an expectation: the resting band's painted pixels hash
 * IDENTICAL before and after on both buttons at both viewports, geometry
 * identical, and zero deltas across sixteen computed properties. The WEB-1319
 * parity result still holds too - the two buttons' resting computed style is
 * equal to each other property for property.
 *
 * ROLLBACK: delete this rule. The buttons return to having no focus ring. */
#root button[class="bg-gray-100 text-gray-700 py-3 px-6 rounded-2xl font-semibold hover:bg-gray-200 transition-all whitespace-nowrap"]:focus-visible,
#root button[class="bg-primary text-white py-3 px-6 rounded-2xl font-semibold hover:bg-primary/90 transition-all shadow-lg shadow-primary/20 hover:-translate-y-0.5 whitespace-nowrap"]:focus-visible {
  box-shadow:
    0 0 0 var(--k-focus-ring-halo-width) var(--k-color-focus-ring-halo),
    0 0 0 calc(var(--k-focus-ring-halo-width) + var(--k-focus-ring-width)) var(--k-color-focus-ring);
}

/* ------------------------------------------------------------------ WEB-1065
   anamnea patient gallery (`Hg`, route #/insights-patients): collapse a row
   whose media column holds no <video>.

   Spec: WebDesigner on WEB-1065 (attachment `web1065-spec.css`). One token
   changed by the CTO at implementation — the rule-2 media query is
   `min-width: 1024px`, not `min-width: 64rem`. The spec's own stated intent is
   that the gate's scope be "exactly the scope of the `lg:flex-row-reverse` it
   cancels". Tailwind's `lg:` is `min-width: 1024px`, and `rem` in a media
   query resolves against the browser's INITIAL font size, so at a 20px default
   `64rem` = 1280px: measured mismatch window viewport 1024-1279px, where
   rule 1 still hides the column and rule 2 does not fire, leaving `Hg[1]`'s
   text pinned to the right half unfixed. px makes the stated intent true at
   every user font size. `--k-measure-text` stays in `rem` — that is a length
   and is correctly font-relative; only the breakpoint needs to match the
   px breakpoint it cancels.

   Self-deleting: when WEB-1041's re-recorded clip restores `Hg[n].image`, the
   bundle renders a <video>, both selectors stop matching, and the live layout
   returns with no code change.

   Tokens: --k-measure-text is the readable-measure cap. Proposed as a shared
   token; the fallback keeps this block standalone if it is not adopted.
   -------------------------------------------------------------------------- */

:root {
  --k-measure-text: 42rem; /* 672px = Tailwind max-w-2xl, on the site's scale */
}

/* 1. An emptied media column leaves the flow entirely. This also reclaims the
      48px `gap-12` it was still consuming at every viewport, including mobile,
      where the column is 0x0 and therefore invisible but not free. */
#root .max-w-6xl.mx-auto.mb-32
  .lg\:w-1\/2:has(> .max-w-\[400px\].bg-gray-100):not(:has(video)):not(:has(img)) {
  display: none;
}

/* 2. From 1024px up, where `lg:flex-row-reverse` would otherwise push the text
      of `Hg[1]` into the right half with nothing beside it, cancel the reverse
      and give the surviving text column a defined measure at the container's
      own left edge. Below 1024px the rows are already stacked and rule 1 is
      the whole change. */
@media (min-width: 1024px) {
  #root .max-w-6xl.mx-auto.mb-32
    > .flex:has(> .lg\:w-1\/2 > .max-w-\[400px\].bg-gray-100):not(:has(video)) {
    flex-direction: row;
  }
  /* Matches both columns; harmless on the one rule 1 has already removed. */
  #root .max-w-6xl.mx-auto.mb-32
    > .flex:has(> .lg\:w-1\/2 > .max-w-\[400px\].bg-gray-100):not(:has(video))
    > .lg\:w-1\/2 {
    width: 100%;
    max-width: var(--k-measure-text, 42rem);
  }
}

/* ------------------------------------------------------------------ WEB-1072
   anamnea feature-card media frame (route #/features): the designed empty
   state for a frame that carries no media. CSS half of register entry `P6`.

   WHY THIS IS HERE AND NOT IN deploy-patches.js. That file's own rule, stated
   in its header, is "no CSS injection (CSS workarounds go in
   a11y-overrides.css)". The DOM half — the condition, the MutationObserver and
   the markup — is entry `P6` in deploy-patches.js. NEITHER HALF WORKS ALONE:
   without this block the injected element is an unpositioned, unstyled run of
   text at the top of a near-black frame. Publish the two together.

   WHY UTILITY CLASSES WOULD NOT HAVE DONE. Measured by the WebDesigner on
   WEB-1055 against the shipped `assets/index-CvSJxFgZ.css`: NO `sm:`/`md:`
   variants are compiled at all (only `lg:hidden`/`lg:block`), and
   `text-white/70`, `leading-snug`, `py-8`, `px-12`, `text-balance` and
   `max-w-prose` are all absent. The source tree is lost (WEB-22) and the CSS
   is a fixed build, so a class that was never compiled is inert. A responsive
   ramp in utilities is simply not available on this artifact.

   Spec: WebDesigner on WEB-1055, items 1-5, built verbatim. The VALUES are the
   component's own scale (same gray-900 ground, same Inter, sizes drawn from
   the Tailwind steps the component already uses) so it reads as native even
   though the class names are ours.

   BREAKPOINTS ARE 480px AND 1024px, NOT TAILWIND'S 640. 1024 matches the
   component's own `lg` split. 480 is content-driven — measured as the width
   where the icon and the larger type start to fit — not inherited from a
   framework. px, not rem: a `rem` breakpoint resolves against the browser's
   INITIAL font size, which is the measured defect the A6 block above records.

   THE `z-index: 1` IS LOAD-BEARING, DO NOT DROP IT. The block is inserted
   `afterbegin`, so the bundle's chrome overlay (dots, badge, bottom title,
   `bg-gradient-to-t from-gray-900 via-gray-900/20`) comes LATER in source
   order and would otherwise paint over it — veiling the copy in ~20% of
   gray-900 and voiding the contrast figures below. With `z-index: 1` the
   positioned chrome (`z-index: auto`) stays underneath, the gradient's own
   colour IS gray-900 so the effective ground is unchanged at #101828, and the
   chrome's own content sits at the frame edges clear of the centred stack.

   CONTRAST, computed on the #101828 ground (WEB-1055, re-measured on the
   built page this ticket):
     headline  #ffffff              17.75:1  floor 4.5:1
     body      rgba(255,255,255,.6) 7.00:1   floor 4.5:1
     link      #1ebac2              7.49:1   floor 4.5:1
     icon      rgba(255,255,255,.4) 3.79:1   floor 3:1
   DO NOT "SOFTEN" THE ICON TO /.3 — that is 2.69:1 and fails SC 1.4.11.

   THE UNDERLINE IS MANDATORY, NOT DECORATIVE (SC 1.4.1). Link teal against
   the body grey is 1.07:1, so colour cannot possibly distinguish them.
   Removing the underline fails outright.

   Self-deleting: `P6` is keyed on ABSENT media, never on a path. Restore any
   `videoPlaceholder` and the bundle renders a <video>, the condition stops
   matching, the marker class is removed and this block matches nothing — gone
   with no code change.

   ROLLBACK: delete this block and entry `P6` from deploy-patches.js, and
   re-upload both files. NOT by deleting the <link> line in index.html — that
   is the documented rollback for the FILE, and it would take entries `A1` and
   `A6` with it.

   Tokens: local to this block, `--k-` named per WEB-7/WEB-652.
   --k-media-empty-ground is RECORDED, not applied — the frame paints its own
   `bg-gray-900` and this block deliberately adds no background of its own; the
   token exists so the measured ground behind the ratios above is in the file.
   -------------------------------------------------------------------------- */

:root {
  --k-media-empty-ground: oklch(21% 0.034 264.665); /* = the frame's bg-gray-900, #101828 */
  --k-media-empty-fg: #ffffff;
  --k-media-empty-fg-soft: rgba(255, 255, 255, 0.6);
  --k-media-empty-icon: rgba(255, 255, 255, 0.4);
  --k-media-empty-link: #1ebac2; /* = --color-primary, unchanged */
}

/* 1. The stack. Centred in the frame, and NOT inheriting the chrome's `p-8`:
      at a 320px viewport the frame is 272x153 and `p-8` would leave 89px of
      height for a three-element centred stack that needs 79. `.75rem 1rem`
      leaves 129px. The chrome gets away with p-8 only because it pins its
      content to the top and bottom edges. */
#root .k-media-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: Inter, sans-serif;
  z-index: 1;
}

/* 2. The icon is the one element carrying no information, so it is the one that
      yields below 480px. If this ever overflows, drop the icon first, then step
      the body down. NEVER TRUNCATE THE COPY — it is the payload. */
#root .k-media-empty__icon {
  display: none;
  width: 2rem;
  height: 2rem;
  flex: none;
  color: var(--k-media-empty-icon);
}

/* 3. Two <p>, not a heading: the frame sits inside a section that already has a
      heading outline (WEB-9/WEB-645) and an injected <h*> would corrupt it.
      34ch/52ch, not a single 48ch: 48ch wrapped the body THROUGH the link and
      orphaned "uns an." onto its own line. */
#root .k-media-empty__head {
  margin: 0;
  color: var(--k-media-empty-fg);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25;
  max-width: 34ch;
  text-wrap: balance;
}

#root .k-media-empty__body {
  margin: 0;
  color: var(--k-media-empty-fg-soft);
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 52ch;
  text-wrap: balance;
}

/* 4. Focus is NOT authored here: the injected <a> inherits the WEB-14/WEB-647
      dual ring from `#root a:focus-visible` at the top of this file for free.
      Measured computed value on the built page:
      `box-shadow: #ffffff 0 0 0 2px, #0b4f54 0 0 0 5px`. */
#root .k-media-empty__link {
  color: var(--k-media-empty-link);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: from-font;
}

#root .k-media-empty__link:hover {
  color: var(--k-media-empty-fg);
}

@media (min-width: 480px) {
  #root .k-media-empty {
    gap: 0.75rem;
    padding: 1.5rem;
  }
  #root .k-media-empty__icon {
    display: block;
  }
  #root .k-media-empty__head {
    font-size: 1.125rem;
  }
  #root .k-media-empty__body {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  #root .k-media-empty {
    gap: 1rem;
    padding: 2rem;
  }
  #root .k-media-empty__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  #root .k-media-empty__head {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  #root .k-media-empty__body {
    font-size: 1rem;
  }
}

/* 5. Chrome suppression below `lg`, and this is measured, not a preference: at
      390x844 the three layers COLLIDE — the badge abuts the headline and the
      bottom title (`text-2xl`, 24px, unchanged from desktop) overlaps the body
      line. Nothing is lost by hiding it there: in the mobile branch the frame
      renders inside the rail item, directly beneath that card's own <h3>
      carrying the same title, ~16px above the frame.

      At >=1024 the chrome STAYS — dots, badge and bottom title coexist with the
      centred block, and the frame still reads as a stylised device. That is
      honest now: "Live Preview" was already removed on live by WEB-620, so the
      frame no longer claims live footage.

      Scoped by the marker class, so card 3's working video keeps its chrome at
      every viewport. The selector can only ever reach the `lg:hidden` mobile
      frame anyway — the desktop frame's parent is `hidden lg:block` and is
      display:none below 1024 — but the marker class is what makes that true by
      construction rather than by coincidence. */
@media (max-width: 1023.98px) {
  #root .k-media-frame--empty > .absolute.inset-0 {
    display: none;
  }
}

/* ------------------------------------------------------------------ WEB-1103
   anamnea patient gallery (route #/insights-patients): the media-less rows
   become a two-up band instead of two half-empty full-width rows.

   BUILDS ON WEB-1065, DOES NOT REPLACE IT. The WEB-1065 block is live today
   (a11y-overrides.css) and does the two things this block depends on:
     - rule 1 removes the emptied media column from the flow;
     - rule 2 cancels `lg:flex-row-reverse` and caps the surviving text column
       at --k-measure-text so every row keeps one left edge.
   Keep both. This block only changes how many of those rows share a line.

   WHY 1280px AND NOT 1024px. Tailwind's `container` is a stepped max-width:
   it is 1024px for every viewport from 1024 to 1279, so a two-up band there
   would be 464px per column -- measured 36 and 38 characters per line, below
   a comfortable measure. At 1280 the container steps to 1280px, giving the
   1152px grid the rest of the page already uses, and 552px columns at a
   measured 48 and 51 characters -- identical to what is live today and
   identical to row 3's own text column. The breakpoint is where the measure
   survives, not a round number.

   WHY THE CONTAINER IS PINNED TO 1200px. Without the pin, `calc(50% - 24px)`
   resolves against the container's own 1232px content box, not the 1152px
   grid: measured 592px columns starting at x=104 while row 3 starts at x=144.
   That is a 40px alignment break against every other row on the page. The pin
   makes the flex percentage resolve on the same grid: 552px at x=144/x=744,
   which are exactly row 3's text and media column positions.

   SELF-DELETING: when a clip returns to a row (WEB-1041), that row renders a
   <video>, `:not(:has(video))` stops matching, and it goes back to a full-width
   media row with no code change. If only ONE row is left media-less it is
   alone on its flex line and `flex-grow: 1` returns it to full width, i.e. to
   exactly today's live layout.

   SELECTOR HAZARD, MEASURED TWICE NOW: `:has()` MUST NOT be nested inside
   `:has()`. The first draft of the container selector was
   `.container:has(> .max-w-6xl...:has(...))` -- a SyntaxError, so the whole
   rule was dropped silently and the render was a perfect no-op that measured
   clean. Both selectors below are flat and were probed with
   `CSS.supports('selector(...)')` -> true before any measurement was trusted.
   Re-probe (web1103-sel.py) before trusting any edit to this block.

   REACH: probed on all 10 routes of this app. The container selector matches
   1 element on #/insights-patients and 0 everywhere else, including #/insights
   and #/.
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {

  /* 1. Pin the gallery container to the 1152px grid (1152 + 2x24px of px-6),
        so a flex percentage below resolves on the same grid as every other
        row. Scoped by :has() to the one container that holds this gallery. */
  #root .container.mx-auto.px-6:has(> .max-w-6xl.mx-auto.mb-32 .max-w-\[400px\].bg-gray-100) {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* tops align; do NOT use stretch - the rows'
                                inner `items-center` would then vertically
                                centre each card's copy against the taller
                                sibling and the two headings would not align */
    column-gap: 48px;        /* the gallery's own gap-12 */
    row-gap: 0;              /* vertical rhythm stays with the rows' mb-32 */
  }

  /* 2. Default: every direct child keeps a line to itself, exactly as it does
        in normal block flow today. This is what makes rule 3 the only change. */
  #root .container.mx-auto.px-6:has(> .max-w-6xl.mx-auto.mb-32 .max-w-\[400px\].bg-gray-100) > * {
    flex: 0 0 100%;
  }

  /* 3. A media-less row takes half a line. `flex-grow: 1` means that if it is
        the only one on its line it grows back to the full 1152px, so a single
        media-less row renders exactly as it does live today. */
  #root .container.mx-auto.px-6:has(> .max-w-6xl.mx-auto.mb-32 .max-w-\[400px\].bg-gray-100)
    > .max-w-6xl.mx-auto.mb-32:has(.lg\:w-1\/2 > .max-w-\[400px\].bg-gray-100):not(:has(video)) {
    flex: 1 1 calc(50% - 24px);
    margin-inline: 0;   /* mx-auto would otherwise absorb the free space before
                           flex-grow could, and the pair would not sit on the
                           grid */
    max-width: none;    /* max-w-6xl is 1152px and would not bind at 552px, but
                           it would bind on the grow-back-to-full case */
  }
}

/* ----------------------------------------------------------------- WEB-1321
 * SC 1.4.4 Resize text (AA) + SC 1.4.10 — the 18 #/features reason cards
 * overflow their fixed 320px box, and body copy renders OUTSIDE the card.
 *
 * Design authority: the WebDesigner's lever B3 on WEB-1318 (comment
 * 491ed485, 2026-11-20). Route changed from her four class strings to CSS on
 * WEB-1321, for one measured reason: `min-h-[320px]` HAS NO COMPILED RULE.
 * Tailwind emits an arbitrary-value utility only for literals it scanned at
 * build time, and this page is build output we never rebuild. The only
 * compiled `min-h-` utilities in assets/index-CvSJxFgZ.css are
 * `min-h-[3.5rem]`, `min-h-[120px]`, `min-h-[500px]` and `min-h-screen`;
 * `min-h-80` (= 20rem = 320px) is absent too. Swapping `h-[320px]` for
 * `min-h-[320px]` in the bundle would therefore have DELETED the only working
 * height source and added a no-op. Her lever measurement could not see this
 * because the levers were applied as inline style PROPERTIES, which apply
 * whether or not a utility class exists. Expressed here the problem does not
 * arise: these are plain properties, and no minified byte moves.
 *
 * THE DEFECT, measured on the live page (WEB-1318):
 *   100% zoom   fronts needing > 320px: 18/18 @320, 16/18 @390/768/1023,
 *               5/18 @1024, 0/18 @1440. Worst card 8, +134px.
 *               Ink past the card's own edge: 13/18 @320, and on 4 cards the
 *               "Klicken fuer Details" hint is painted UNDER the next card.
 *   200% text   18/18 cards overflow on BOTH faces at EVERY viewport, worst
 *               1076px @390 and 720px @1440. This is the 1.4.4 failure: the
 *               320px box and the 32px padding are px, the type scale is rem.
 *
 * THE DOM, from the bundle (`Zg.map(...)`), because every selector turns on it:
 *   outer  div.relative.h-[320px].cursor-pointer      <- the ONLY height source
 *     flip   div.relative.w-full.h-full.preserve-3d
 *       FRONT  div.absolute.w-full.h-full.p-8.rounded-3xl.bg-gray-50.border
 *       BACK   div.absolute.w-full.h-full.p-8.rounded-3xl.bg-gradient-to-br
 * BOTH FACES ARE position:absolute, so neither contributes layout height.
 * That is why `min-height` ALONE is a no-op (measured byte-identical to
 * baseline at six viewports): the outer has no in-flow content to grow it.
 * Rule 1 raises the floor, rule 2 gives it something in flow to grow against.
 *
 * REACH. `relative h-[320px] cursor-pointer` occurs EXACTLY ONCE in
 * assets/index-c7jT0TdB.js (392 349 B, sha256 6f467cfd...79f77, offset
 * 337210) and `h-[320px]` occurs ONCE, so the anchor cannot reach another
 * element on the site. `bg-gray-50` (36) and `bg-gradient-to-br` (51) are NOT
 * handles on their own; they are only used to tell the two faces apart, since
 * `absolute w-full h-full p-8` occurs twice (337541 front, 338245 back) and
 * position cannot distinguish them once rule 2 has changed one of them. The
 * selectors are class-list form, not `[class="..."]` attribute-equals, so
 * they survive class reordering and additions — including WEB-1311, which
 * edits `text-white` -> `text-gray-900` on the back-face root and leaves
 * `bg-gradient-to-br` and `bg-gray-50` untouched.
 *
 * ROLLBACK: delete this block and restore `a11y-overrides.css?v=2` in
 * index.html. No state, no bundle byte, no other rule in this file depends on
 * it, and nothing here redefines a token.
 *
 * RESIDUAL, named and owned by the WebDesigner on WEB-1318, not re-litigated
 * here: +16% scroll length at 320px (6304 -> 7310px) and a ragged bottom edge
 * BETWEEN grid rows. Within a row every card stays equal height. She judged
 * that worth paying against 13 of 18 cards leaking text today.
 * ------------------------------------------------------------------------ */

/* 1. Raise the 320px fixed height to a floor. `height: auto` is required:
      `h-[320px]` is `height: 320px` and would otherwise still bind. At
      >=1280 the tallest card needs 316px, so the floor is what keeps the
      desktop grid at exactly 320px per card and 2080px overall. */
#root .h-\[320px\].cursor-pointer {
  height: auto;
  min-height: 320px;
}

/* 2. Put the FRONT face in flow so the card has something to size to. It
      keeps `w-full h-full`; with the outer at `height: auto` the percentage
      resolves against the grid-stretched track, which is what makes rule 3's
      alignment hold. */
#root .h-\[320px\].cursor-pointer > .preserve-3d > .bg-gray-50 {
  position: relative;
}

/* 3. The BACK face stays absolute and MUST be given insets. It has none in
      the bundle, so it sits at its STATIC position — which was the top of
      the flipper only because the front was also out of flow. With rule 2 in
      place and no `inset: 0`, the back is pushed down by exactly the front's
      height (measured 402px at 390, on all 18 cards). The content metrics
      all read clean in that state; only looking at the flipped render
      catches it. `flex` + `flex-direction: column` activates the `mt-auto`
      the bundle already writes on the technical-info block, which is a
      no-op today because the face is `display: block` — median 55px of dead
      space live, and up to 121px once the card can grow. */
#root .h-\[320px\].cursor-pointer > .preserve-3d > .bg-gradient-to-br {
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* ----------------------------------------------------------- WEB-1319 (A1b)
 * SC 1.4.3 / 1.4.11 - the brand teal #1ebac2 as INK on light grounds.
 *
 * ONE BLOCK, SEVEN RULES, ONE PUBLISH. CEO rulings on WEB-1312 and WEB-1320,
 * both 2026-11-20, implementing the WebDesigner's two determinations. They are
 * consolidated here on the CEO's instruction rather than shipped as six
 * publishes: each group's rollback is still deleting its own rule, so nothing
 * is lost by combining them.
 *
 * THE ONE INK, FOR EVERY RULE BELOW: var(--k-color-focus-ring) = #0b4f54,
 * already declared on :root above (line 88) and already used by R1 for the
 * identical defect. NO NEW COLOUR IS INTRODUCED by any rule in this block.
 * "One hex in this file beats two."
 *
 * EVERY RATIO BELOW IS A WORST PAINTED PIXEL MEASURED ON THE STAGED TREE, AND
 * SEVERAL ARE LOWER THAN THE FIGURES THE RULING PREDICTED. The ruling derived
 * its numbers against #ffffff and #f9fafb. Four of these seven groups are not
 * painted on either: the desktop nav and its dropdown sit over a teal-tinted
 * hero band, the mobile overlay is #feffff rather than white, and the stat
 * pills are brand teal at 10% composited over their card. Each group below
 * therefore NAMES THE GROUND IT WAS MEASURED ON. Every group still clears its
 * floor - no verdict moves - but a reader must not take these as the ruled
 * predictions, and the next person to edit a rule here must re-measure against
 * the ground rather than against white. Corrected 2026-11-20 (WEB-1319, CEO
 * ruling) in the same spirit as condition 9's fix to R1 four hundred lines
 * above: a figure that reads as measured while being predicted is the defect.
 *
 * WHAT IS DELIBERATELY *NOT* DONE, and it is the whole shape of the ruling:
 * --color-primary is NOT redefined and .text-primary is NOT blanket-
 * overridden. The class is not wrong; THE CLASS ON A LIGHT GROUND is wrong.
 * A class-wide change would break the one text instance that PASSES today -
 * `.text-primary.p-6.text-center` ("Anamnea Digital") on the dark #272e3f
 * /pricing card, 5.719:1 - because #0b4f54 on that ground measures 1.460:1,
 * a fifth of its floor. It would also break the gallery-frame link this file
 * deliberately keeps at 7.49:1 (--k-media-empty-link, left alone). Every
 * selector below is therefore ground-scoped, and none of them reaches either.
 *
 * ---------------------------------------------------------------------------
 * WEB-1312 - the #/features reason-card FRONT-face hint "Klicken fuer Details"
 *
 * The element is `A&&jsx("p",{className:"text-xs text-primary font-semibold
 * mt-4", ...})` in assets/index-c7jT0TdB.js, where `A` is
 * `window.innerWidth < 1024` - so these 18 instances exist on mobile/tablet
 * only and do not exist at >=1024px. 12px/600 is NOT large text: floor 4.5:1.
 *
 *   before  #1ebac2 on #f9fafb  2.269:1  FAIL
 *   after   #0b4f54 on #f9fafb  8.889:1  PASS, +4.389
 *
 * NO UNDERLINE, and that is a deliberate departure from R1's accompanying
 * underline rather than an omission. R1's link sits inside a sentence and was
 * distinguished from the surrounding copy by colour alone, which SC 1.4.1
 * forbids. This hint is a standalone line, font-semibold against font-normal
 * body copy, separated by mt-4, carrying self-describing text and an arrow
 * glyph. Colour is not the only signifier, so 1.4.1 is not engaged - and an
 * underline would assert a link affordance on something that is not a link.
 * CONTRAST THIS WITH A2 BELOW, where the same reasoning runs the other way.
 *
 * The `p` type qualifier is load-bearing: deploy-patches.js line 446 authors
 * `a.className = 'text-primary hover:underline'` at runtime, and the type
 * selector excludes it. A class census over the bundle cannot see that.
 * ------------------------------------------------------------------------ */
#root p.text-primary.text-xs {
  color: var(--k-color-focus-ring);
}

/* --------------------------------------------------------------------------
 * A - nav active item, desktop bar. 6 instances, one per route.
 *
 *   before  2.078-2.371:1   after  8.064-9.289:1   floor 4.5:1
 *   grounds #d2f6f4 (/, 8.064 - the worst), #e9f9f8 (/workflow, 8.569),
 *           #f9fafb (/features, 8.889), #f4f8fa (/insights, 8.694),
 *           #ffffff (/pricing and /contact, 9.289)
 *
 * THE UNDERLINE IS RULED IN BY THE CEO, over the WebDesigner's finding that
 * ink alone would satisfy SC 1.4.1 here (the 500->600 weight step survives
 * the ink change). Two reasons, recorded because a later editor will read the
 * determination and wonder why the optional half shipped: the two navs must
 * not render one state two different ways - A2 below CANNOT go without the
 * underline - and today the "you are here" marker is the PALEST item in the
 * bar, so the current page reads as the de-emphasised one.
 *
 * NOT ELEMENT-QUALIFIED AS `a`, AND THAT IS THE TRAP. The `Einblicke` active
 * item is a <button> - it is the dropdown trigger - so `#root a.text-primary
 * .text-sm.font-semibold` would reach 5 of 6 and the miss would be invisible
 * in a diff. Measured on the staged tree, not assumed.
 * ------------------------------------------------------------------------ */
#root .text-primary.text-sm.font-semibold {
  color: var(--k-color-focus-ring);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* --------------------------------------------------------------------------
 * A2 - nav active item, mobile overlay menu. 1 instance.
 *
 *   before  2.367:1   after  9.273:1   floor 3:1 (24px/500 IS large text)
 *   ground  #feffff - the overlay panel, which is NOT pure white
 *
 * HERE THE UNDERLINE IS NOT OPTIONAL AND MUST NOT BE DROPPED. The overlay's
 * items are identical at 24px/500 with no weight step, so the active item is
 * distinguished from its siblings by HUE ALONE. Today that distinction
 * measures 7.485:1; the ink change takes it to 1.910:1, against the 3:1 a
 * colour-only distinction needs. Shipping A2's colour WITHOUT the underline
 * would therefore fail SC 1.4.1 HARDER than the page does today - a contrast
 * fix that makes a different criterion worse, which is the exact shape of
 * defect the R1 block above exists to warn about.
 * ------------------------------------------------------------------------ */
#root a.text-primary.text-2xl.font-medium {
  color: var(--k-color-focus-ring);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* --------------------------------------------------------------------------
 * A3 - every nav and footer item that BECOMES the brand teal on hover.
 * 16 in the DOM, of which 14 are rendered. 8 nav + 8 footer, minus one on the
 * six routes that have a nav active item (that item drops hover:text-primary
 * and becomes group A above), and minus the two Einblicke dropdown children,
 * which are `visibility: hidden` until the dropdown opens. 14 is therefore the
 * VISIBLE count on a route with no active nav item - which is where the ruled
 * figure came from, and it reconciles exactly.
 *
 *   before  1.709-2.371:1   after  6.711-9.289:1   floor 4.5:1
 *   grounds #cedfd8 ("Fuer Patienten", 6.711 - the worst in this whole block),
 *           #d3f6f3 ... #f5f6ea for the other nav items over the hero band,
 *           #ffffff for all 8 footer items (9.289)
 *
 * WATCH THIS ONE. 6.711:1 clears the 4.5 floor by +2.211, the TIGHTEST margin
 * in this block and less than half the headroom the ruling assumed. It is the
 * dropdown panel painting over the hero gradient. If that band is ever
 * darkened, A3 is the rule that fails first, and it will fail on a hover state
 * that no static audit renders.
 *
 * THE BACKSLASH IN `hover\:text-primary` IS A REAL CSS ESCAPE AND IT IS LOAD-
 * BEARING. The Tailwind class literally contains a colon, which CSS parses as
 * the start of a pseudo-class unless escaped. A collapsed backslash is a
 * SILENT NO-OP - the rule parses, matches nothing, and the diff still reads
 * as a contrast fix. It happened THREE times in the measurement work for this
 * ticket - twice in the WebDesigner's harness and once more in a shell
 * heredoc that silently ate the backslash before the script ever ran.
 * Verified by rendered match on the staged tree, not by the file parsing. No underline: the hover state is a transient pointer affordance,
 * not a persistent distinction between two visible items.
 * ------------------------------------------------------------------------ */
#root a.hover\:text-primary:hover,
#root button.hover\:text-primary:hover {
  color: var(--k-color-focus-ring);
}

/* --------------------------------------------------------------------------
 * B - the /impressum (x3) and /datenschutz (x7) link lists. 10 instances.
 *
 *   before  2.371:1   after  9.289:1   floor 4.5:1
 *
 * `:not(.font-medium)` IS LOAD-BEARING, NOT COSMETIC. Without it this
 * selector reaches 19 elements rather than 10, and the overlap includes R1's
 * consent-card privacy link above - which is already fixed, by a rule with a
 * different underline offset. Two rules fighting over one element is how a
 * later edit to one of them silently changes the other.
 *
 * THE RESTING UNDERLINE IS A CONDITION OF THIS LEVER, NOT AN ADDITION TO IT.
 * Shipping B's ink without it is not a partial implementation - it is a
 * different change, because it takes the colour-only distinction against the
 * surrounding body copy from 3.188:1 to 1.229:1 ON A LEGAL PAGE. That is R1's
 * own reasoning, on the same two hexes, arriving at the same answer.
 *
 * COLOUR AND text-decoration ONLY. No text, no href, no link target, no
 * element and no attribute changes on any Impressum or Datenschutz link.
 * ------------------------------------------------------------------------ */
#root a.text-primary[class*="hover:underline"]:not(.font-medium) {
  color: var(--k-color-focus-ring);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
 * C - the two display figures on white. 1 + 1 instances.
 *
 *   before  2.371:1   after  9.289:1   floor 3:1 (large text), clears by
 *                                      +6.289
 *
 * Two selectors rather than one because the two elements share no class:
 * the hero's emphasis span is identified by its parent, the pricing figure by
 * its own type scale. No underline - neither is a link and neither is
 * distinguished from a sibling by hue.
 * ------------------------------------------------------------------------ */
#root h2 > span.text-primary {
  color: var(--k-color-focus-ring);
}

#root span.text-primary.text-2xl.font-bold {
  color: var(--k-color-focus-ring);
}

/* --------------------------------------------------------------------------
 * D - the stat pills on the bg-primary/10 chip. 6 instances.
 *
 *   before  2.109-2.171:1   after  8.264-8.505:1   floor 4.5:1
 *   grounds #e8f8f9 (the / pills, 8.505) and #e0f6f6/#e1f7f6/#e2f7f7 (the
 *           /pricing pills, 8.264-8.302) - the composite differs slightly
 *           between the two cards the pills sit on
 *
 * The ground here is NOT white and NOT #f9fafb: it is brand teal at 10%
 * composited over the card, which resolves to #e8f8f9. That is why D's
 * figures differ from every other group in this block, and why reading the
 * class string instead of the painted pixel gives a wrong answer here - an
 * unblended read of `bg-primary/10` scores these at 1.002:1, which is an
 * artifact, not a finding.
 *
 * ATTRIBUTE-CONTAINS FORM IS DELIBERATE HERE, against this file's general
 * preference for the class-list form: `bg-primary/10` contains a `/`, so the
 * class-list form needs an escape of its own and buys nothing over the
 * attribute match. `[class*="text-primary"]` alone would also match
 * `hover:text-primary` by substring; the second attribute is what stops that.
 * ------------------------------------------------------------------------ */
#root [class*="text-primary"][class*="bg-primary\/10"] {
  color: var(--k-color-focus-ring);
}

/* ---------------------------------------------------------------------------
 * Gradient-filled heading fragments: `bg-clip-text` + `text-transparent` over
 * a `bg-gradient-to-r` ramp. 9 painted instances across 6 routes in FIVE
 * different recipes, all doing one job - marking an emphasised fragment of a
 * heading. Every one of them fails SC 1.4.3 against a 3:1 large-text floor on
 * this root's light grounds: worst 1.593-1.666 (`Zukunft`, / hero, 96px/800),
 * best 2.371 (`Sie da.`, /contact). Measured on painted pixels at 1440x900 and
 * 390x844 - WEB-1331, superseding and SUBSUMING the WEB-1324 declaration,
 * whose 3 elements are a strict subset of this rule's 9.
 *
 * `Zukunft`'s PAINTED GROUND AT 1440x900 IS ANIMATED, so both of its figures
 * are ranges and a single number there is not reproducible. Four distinct
 * modal grounds over an 8-sample probe, max frame-to-frame shift 41.7: its
 * baseline is the range 1.593-1.666 (1440x900) / 1.782 (390x844) and its
 * fixed figure the range 7.935-8.301 (1440x900) / 8.873-8.879 (390x844).
 * THOSE TWO FIXED RANGES ARE THE UNION OF TWO INDEPENDENT 8-SAMPLE PROBES,
 * WEB-1331 and WEB-1342 - not one probe's spread, because one probe's spread
 * is not reproducible either: an 8-sample probe catches whichever phases it
 * happens to land on, and the two probes' 1440x900 spreads came out 0.06-0.12
 * apart. At 390x844 the ground is STATIC and the 8.873-8.879 width is between
 * probes rather than between frames - the two read one step apart on the modal
 * ground, #f8fafb against #f9fafb. Without this the next author re-measures
 * the hero, gets a number that does not match the file, and concludes the file
 * is wrong. No other instance on this root has an animated ground.
 *
 * AND THE SAME CAVEAT COVERS ALL NINE, NOT JUST THE HERO - the hero is not the
 * exposed case, it is only the one that was already written as a range. EVERY
 * CONTRAST FIGURE IN THIS BLOCK, AND EVERY PER-INSTANCE FIGURE ON WEB-1331 AND
 * WEB-1342, IS A REFERENCE MEASUREMENT AND NOT A REPRODUCIBLE CONSTANT. The
 * second probe reproduced all nine as clearing both the 3:1 large-text floor
 * and 4.5:1 - worst margin +3.435 over 4.5:1 - while reading four of them
 * 0.07-0.41 LOWER than the figures recorded here: `Ihre neue Praxis-Software.`
 * -0.41, `In Ihrer Sprache.` -0.27/-0.20, `in Aktion` -0.07, and the hero's
 * low phase. Those four sit on soft teal-wash grounds whose modal purity is
 * 0.108-0.381, so WHICH pixel is modal is probe-sensitive there in a way it is
 * not on the flat white and near-white grounds, where the two probes agree
 * exactly. A re-measure landing a few tenths low on this block is the
 * instrument, not a regression: check the verdict - does it still clear the
 * floor - rather than the decimal.
 *
 * WHY SOLID AND NOT DARKER STOPS. For the teal->gold recipes WEB-1324 ruled
 * that the midpoint is a desaturated olive at every lightness, so darkening
 * keeps the ramp's shape and leaves the weakest point mid-word. For the
 * teal and blue->teal recipes darkening DOES clear the floor (k=0.28 in
 * linear light clears 4.5:1 on all nine) - and it preserves almost nothing:
 * the teal ramps measure dE*ab 17.7-17.9 stop to stop and already read as flat
 * teal, and the one bold ramp, blue->teal, is the only place blue appears as
 * heading ink on this root. `color` alone suffices (the bundle declares no
 * -webkit-text-fill-color); `background-image: none` is authored so the rule
 * says what it means rather than relying on an opaque fill covering a
 * gradient that is still declared.
 *
 * SCOPED TO HEADINGS DELIBERATELY - this is the whole safety of the rule.
 * The three gradient-text instances that PASS are the promo banner (6.332:1)
 * and the ROI calculator's two printed EUR results (9.483:1 and 6.534:1); all
 * three pass because their painted ground is dark navy, and NONE of the three
 * is inside a heading. THE TWO ROI FIGURES ARE NAMED BY ROLE AND DELIBERATELY
 * NOT QUOTED: they are `roi-printed-figures`, a withheld_permanent denylist
 * entry, and this docroot is a declared claims-gate surface (carriers.json
 * `anamnea`, WEB-1345), so a comment that printed them would publish them.
 * Their contrast ratios are above and identify them for anyone re-measuring;
 * the amounts add nothing here. WEB-1357 is why this paragraph exists.
 * The unqualified `span.text-transparent.bg-clip-text` form reaches 19
 * elements and would take the promo banner below floor on all nine routes.
 * Reach of the rule below, measured: 9 painted elements, 9 routes, both
 * viewports, intersection with the three passers = 0.
 * --------------------------------------------------------------------------- */
#root :is(h1, h2, h3, h4, h5, h6) span.text-transparent.bg-clip-text {
  color: var(--k-color-focus-ring);
  background-image: none;
}

/* --------------------------------------------------------- WEB-1327 (A1b, E)
 * E - the six ROI-calculator slider THUMBS. SC 1.4.11, not 1.4.3.
 *
 * CEO ruling on WEB-1322, 2026-11-20, out of the WebDesigner's determination
 * of the same morning. This is ONE DECLARATION folded into the block above,
 * not a second edit of this file: the WEB-1322 census closed 23 of its 24
 * icons to no action, and this is its only live-exposure finding.
 *
 * The thumb is the control's handle AND its position indicator, which is the
 * paradigm SC 1.4.11 case. Nothing about it is decorative, so the 3:1 floor
 * applies to it against BOTH its adjacent colours - the track it sits in and
 * the page/card it sits on.
 *
 *   route     n  track ground        thumb vs track     thumb vs surround
 *   /         3  bg-gray-100         2.154 -> 8.441     2.371 -> 9.289
 *   /pricing  3  bg-gray-200         1.915 -> 7.503     2.314 -> 9.069
 *
 * Worst case before 1.915:1 against a floor of 3:1. The other seven routes
 * carry no slider at all.
 *
 * WHY accent-color AND NOT ::-webkit-slider-thumb. The thumb is a UA shadow
 * pseudo-element; the bundle already paints it through `accent-primary`, which
 * the stylesheet defines as exactly `accent-color: var(--color-primary)`
 * (one occurrence, assets/index-CvSJxFgZ.css). Re-inking the same property is
 * a one-line, one-engine-agnostic change whose rollback is deleting this rule;
 * authoring a ::-webkit-slider-thumb rule instead would mean reconstructing
 * the whole native thumb (size, radius, shadow) from scratch in one engine's
 * prefixed pseudo-element and would silently drop the thumb on the others.
 *
 * THESE SIX ARE NOT IN THE 111 and are reached by no ruled selector above.
 * They are `input[type=range]`, so they carry no `text-primary`, and the ink
 * does not travel through `color` at all.
 *
 * #0b4f54 IS RULED OVER #0f766e, which the WebDesigner named as the fallback,
 * and the trade is the CEO's and already made: one remediation ink across the
 * whole Anamnea contrast programme rather than a second hex living on two
 * sliders and nowhere else in the estate; and a larger margin that survives a
 * future ground change. #0d9488 was offered and REFUSED - 3.024:1 on the
 * /pricing track is not a margin. Do not "simplify" this to a lighter teal.
 *
 * THE ACCEPTED COST, recorded so it is not re-litigated: #0b4f54 is already
 * the focus-ring colour on this exact control (the 2px outline around the
 * track, from --k-color-focus-ring above), so the resting thumb and the focus
 * ring now share a hue. Accepted on the reasoning that focus detectability
 * rests on the ring APPEARING where there was no ring at all - a 2px outline
 * around a 495px track differs from a 14px dot inside it in shape and
 * position, not only in colour. Verified by capture, both states, both
 * viewports; see WEB-1327.
 *
 * SELECTOR REACH IS EXACTLY SIX, and the type+attribute qualifier is not
 * decoration. `accent-primary` occurs 6 times in the bundle and 0 times in
 * deploy-patches.js and a11y-patches.js, so the class alone would reach six
 * today - but `accent-color` is inherited and meaningless on anything that is
 * not a form control, and the qualifier is what keeps a future non-input use
 * of the class out of this rule. Three on /, three on /pricing, zero on the
 * other seven routes.
 *
 * NOTHING ELSE CHANGES. Not the accessible names (`aria-labelledby` already
 * gives slider "Patienten pro Tag" 30 / "Zeitersparnis pro Patient (Min)" 5 /
 * "Stundenlohn MFA (Arbeitgeberbrutto)" 25 at the tree), not the value pills,
 * not the focus ring, not the bg-gray-100 / bg-gray-200 track. The track is
 * painted by the Tailwind background and not by accent-color, because
 * `appearance-none` on these inputs has already suppressed the native track -
 * confirmed by sampled pixel, not by reading the property.
 * ------------------------------------------------------------------------ */
#root input[type='range'].accent-primary {
  accent-color: var(--k-color-focus-ring);
}

/* ---------------------------------------------------------------------------
 * The #/workflow demo trigger — WEB-1359 (motion preference) and WEB-1370
 * (visible focus indicator, SC 2.4.7, Level A). Two WebDesigner
 * determinations, one element, one selector stem, landed as ONE entry.
 *
 * THIS IS THE ONLY BLOCK IN THIS FILE THAT USES `!important`. It was the
 * file's first, and the conditions under which a later entry may use it are
 * stated here and nowhere else.
 *
 * WHY THE TWO TIERS IN THE HEADER ARE NOT ENOUGH HERE — measured, not argued.
 * The bundle animates this one control with a JS animation library that
 * rewrites its `style` attribute every frame. An inline declaration outranks
 * any stylesheet declaration regardless of selector, so the whole of this
 * file's strategy — load last, anchor on #root — loses to it by construction.
 * Four arms on the live page, each a fresh context, sampling computed
 * `transform` / `box-shadow` and the painted rect ten times over ~2.2 s:
 *   control, no CSS            10/10 distinct — moving
 *   NORMAL declaration         10/10 distinct — LOSES. The premise, measured.
 *   `!important`                1/10 distinct — wins, `transform: none`
 *   `!important`, no-preference 10/10 distinct — correctly inert
 *
 * AND WE DO NOT RACE THE LIBRARY, WE OUTRANK IT. In the winning arm the
 * inline style is STILL being rewritten 10/10 — the library does not notice,
 * does not fight back and does not re-escalate. That is what makes this safe,
 * and it is why reaching into the bundle was rejected: there is no fight to
 * have, so there is nothing to win by fighting.
 *
 * CONDITIONS FOR TIER 3, decided by the CTO on WEB-1370 (2026-11-20),
 * narrowly and on the record. `!important` may be used in this file only when
 * ALL FOUR hold, and the entry must show its work:
 *   1. a measurement ON THE LIVE PAGE shows an inline style written by the
 *      bundle defeating a normal id-anchored declaration — not a reading of
 *      the cascade spec, and not a specificity argument;
 *   2. the entry records that measurement where the next reader will find it;
 *   3. the declaration is the narrowest selector that reaches the element and
 *      overrides ONLY the properties the inline style actually contests;
 *   4. the header's three-tier strategy above stays a true description.
 * Anything else is a fresh decision. "The cascade was inconvenient" is not
 * condition 1, and a rule that loses to Tailwind is a selector defect.
 *
 * SELECTOR REACH IS EXACTLY ONE. The stem below matches 1 element on
 * #/workflow and 0 on the other eight routes. Three looser candidates reach
 * the same single element; the narrowest is chosen because it documents what
 * it targets.
 *
 * THE TWO RULES ARE SOURCE-ORDER INDEPENDENT, which is measured rather than
 * inferred: the focus rule is (1,4,1) and the motion rule is (1,3,1), and
 * injecting them in BOTH orders gives an identical focused `box-shadow` and
 * an identical ring-pixel count. The focus rule therefore wins where they
 * overlap — a focused control under `reduce` — which is the intent.
 *
 * RESIDUAL — SELECTOR FRAGILITY. The anchor is utility classes from build
 * output. A bundle rebuild could rename them and both rules would go silently
 * inert. That is inherent to this whole layer (WEB-22, the source is lost)
 * and it is a reason to keep the selector narrow and documented, not a reason
 * to prefer a weaker lever. `!important` does not make this worse than any
 * other rule here.
 * ------------------------------------------------------------------------ */

:root {
  /* PROVISIONAL — the demo trigger's resting glow. NOT INVENTED: it is
   * keyframe 0 and 2 of the component's own animated shadow array, so the
   * value we hold it at is the one the component already renders twice per
   * cycle. Split into a colour and a length so the typed-prefix rule holds
   * and a grep for `--k-color-` stays a complete audit of colour use. */
  --k-color-anamnea-workflow-glow: rgba(168, 85, 247, 0.6);
  --k-anamnea-workflow-glow-blur: 20px;
}

/* WEB-1359 — honour the motion preference on the demo trigger.
 *
 * The control pulses forever: 10 of 10 distinct inline values under BOTH
 * motion settings, i.e. `prefers-reduced-motion: reduce` is ignored outright.
 * This holds it still for users who asked for that, and does nothing at all
 * for users who did not.
 *
 * `transform: none` IS THE ONLY CORRECT FREEZE, and the obvious alternative
 * fails a different criterion. The animation's own endpoints are `scale(.8)`,
 * so freezing "where the loop rests" is the natural reading — and measured it
 * paints 229.60 x 35.20, which is UNDER --k-tap-min (44px). `none` is the CSS
 * base, scale 1, and paints 287.00 x 44.00 — exactly the agreed token. So
 * freezing at the animation's resting keyframe would have introduced an
 * SC 2.5.8 target-size failure while fixing a motion one.
 *
 * NOT A DISCHARGE OF SC 2.2.2, and this is deliberate. 2.2.2 needs a
 * mechanism for EVERYONE, including users who expressed no motion preference;
 * a media-query freeze reaches only those who did. Whether 2.2.2 is engaged
 * at all on this control is a decoration-vs-information question that is the
 * CEO's and is open. Do not record this rule as closing it. (Same reading as
 * the A6 precedent in a11y-patches.js.)
 *
 * NEW MOTION, as distinct from this retrofit: the standing design rule is
 * FINITE AND <= 5 s unless the loop is load-bearing, which sidesteps 2.2.2
 * entirely rather than arguing it (CEO ruling WEB-1378 part 3, carried on
 * WEB-1379; the full record, including why A6 is NOT authority for a
 * decorative exemption, is in the a11y-patches.js header). THE RULE DOES
 * NOT REACH THIS ELEMENT, and that is measured rather than assumed: at
 * 2026-11-20T12:50:19Z there is no repeat count here to make finite —
 * `animationName` is `none`, the route runs zero CSS keyframe animations,
 * and the pulse is written inline per frame by the bundle's JS animation
 * library. A retrofit here is SCR22-shaped, not G152-shaped.
 */
@media (prefers-reduced-motion: reduce) {
  #root button.from-purple-600.via-violet-600.to-fuchsia-600 {
    transform: none !important;
    box-shadow: 0 0 var(--k-anamnea-workflow-glow-blur)
                var(--k-color-anamnea-workflow-glow) !important;
  }
}

/* WEB-1370 — SC 2.4.7 Focus Visible, Level A. The control had NO visible
 * focus indicator at all, under both motion settings.
 *
 * A4 above is the site's only focus indicator and it is drawn with
 * `box-shadow`, declared normal. The inline shadow outranks it, and A4's
 * `outline` is deliberately transparent because it exists as a forced-colors
 * hook rather than as a visible ring — so on an ordinary display nothing was
 * left. Measured in PAINTED PIXELS, not computed style, with focus taken by
 * real Tab presses (hop 12 at 1440x900, hop 6 at 390x844, because
 * :focus-visible does not reliably match programmatic focus): ZERO exact
 * ring pixels and ZERO exact halo pixels anywhere in a 14px band around the
 * control, on 10,983 band pixels at desktop, under BOTH motion settings.
 *
 * This rule restores A4's two rings past the inline style, and CARRIES THE
 * GLOW as the third shadow so that focusing the control ADDS a ring rather
 * than also restyling it. Without the glow, focus would make the ring appear
 * and the resting glow disappear at the same instant — two unrelated changes
 * where the user needs one signal.
 *
 * It overrides `box-shadow` only, so A4's `outline`, `outline-offset`,
 * `position: relative` and `z-index: 1` all still apply, and the
 * forced-colors block above still promotes that outline to CanvasText.
 * Restated in the A4 tokens and PROVED equivalent to the literal form rather
 * than assumed: the computed `box-shadow` is identical either way.
 *
 * TRANSFORM IS PINNED HERE TOO, for both motion settings, and this is the
 * finding neither ticket predicted. Under `no-preference` the library freezes
 * the glow while focused but KEEPS PULSING THE SCALE, so the restored ring
 * pulses with it. Measured, unpinned against pinned:
 *     unpinned  39.20-48.83 px tall, 16 of 16 distinct heights, and ZERO
 *               exact halo pixels — the white halo is antialiased away on
 *               every frame because the element is mid-scale
 *     pinned    287.00 x 44.00, 1 distinct height, 618 exact halo pixels
 * So unpinned, the indicator is degraded exactly where it has to be clearest,
 * and the focused control dips below --k-tap-min. Pinning also makes the
 * focused state IDENTICAL under both motion settings, so there is one
 * acceptance criterion instead of two.
 *
 * THE ACCEPTED COST, recorded so it is not re-litigated: a `no-preference`
 * user sees a one-time step from the pulsing scale to scale 1 when focus
 * lands — 46.94 to 44.00 px over the element's own 150ms transition, settled.
 * Under `reduce` there is no step at all, because the WEB-1359 rule above
 * already holds the transform at `none`. Paid only by users who did not ask
 * for reduced motion, once per focus, and inside the Doherty threshold.
 *
 * THE FADE-IN IS DELIBERATELY NOT SUPPRESSED. The element carries Tailwind's
 * `transition-all`, so the ring cross-fades in over a measured 163ms. A
 * box-shadow cross-fade is not motion — nothing moves or changes position —
 * so the reduced-motion concern does not engage, and suppressing it would
 * buy an asymmetry (instant in, fading out) for no measured gain.
 *
 * SC 1.4.11 IS SAMPLED FROM THE PIXELS ACTUALLY ADJACENT ON THIS CARD, not
 * inherited from the token's estate-wide justification: ring against its
 * outer neighbour 7.51-7.93:1, ring against halo 9.29:1, halo against the
 * button fill 5.68-5.75:1. Every pair clears the 3:1 floor with margin.
 *
 * REJECTED VARIANT, recorded so nobody re-derives it: scoping the WEB-1359
 * freeze with `:not(:focus-visible)` to spare the ring. It does not spare the
 * ring — the inline style wins again the moment the `!important` stops
 * applying — AND it resumes the animation while the control has focus, so a
 * `reduce` user would get motion exactly while interacting with it. Strictly
 * worse than doing nothing. This rule does the opposite: motion STOPS while
 * the control is focused. */
#root button.from-purple-600.via-violet-600.to-fuchsia-600:focus-visible {
  box-shadow:
    0 0 0 var(--k-focus-ring-halo-width) var(--k-color-focus-ring-halo),
    0 0 0 calc(var(--k-focus-ring-halo-width) + var(--k-focus-ring-width)) var(--k-color-focus-ring),
    0 0 var(--k-anamnea-workflow-glow-blur) var(--k-color-anamnea-workflow-glow) !important;
  transform: none !important;
}

/* ---------------------------------------------------------------------------
 * WEB-1371 — the landing route's five looping decorations and the motion
 * preference. WebDesigner determination, CTO publish, 2026-11-20.
 *
 * THIS ENTRY IS TIER 2 AND USES NO `!important`. The header's three-tier
 * strategy therefore stays a true description, and the tier-3 declaration
 * count stays at FOUR — all of them in the WEB-1370 block above, which is
 * still the only block in this file that carries the token. This entry is
 * recorded here partly to make that non-growth visible: the block before it
 * needed tier 3 and this one does not, and the difference is measured rather
 * than assumed.
 *
 * THE FINDING. `#/` runs five infinitely-repeating CSS keyframe animations
 * and ignores `prefers-reduced-motion: reduce` outright. Measured on the live
 * route with `matchMedia('(prefers-reduced-motion: reduce)').matches === true`,
 * after a 3.2 s settle so one-shot entrances are excluded:
 *     3 x `blob`   7s infinite, delays 0s / 2s / 4s, at w-[70vw] and w-[60vw]
 *     1 x `ping`   1s infinite
 *     1 x `pulse`  2s infinite
 * The three blobs are the significant ones: they are the largest moving
 * objects on the page, they sit behind the hero, and they drift for as long
 * as the page is open. Estate-wide this is 5 on `#/` and 0 on the other eight
 * routes, under BOTH motion settings. Before this entry no stylesheet on the
 * site declared a `prefers-reduced-motion` block for them at all.
 *
 * WHY TIER 2 IS ENOUGH HERE, as cascade arithmetic and not as a preference.
 * These are keyframe animations driven by a class, not an inline style, so
 * the tier-3 case does not arise. Every one of the five utilities is a
 * single-class selector at specificity (0,1,0):
 *     .animate-ping  { animation: var(--animate-ping)  }   Tailwind theme var
 *     .animate-pulse { animation: var(--animate-pulse) }   Tailwind theme var
 *     .animate-blob  { animation: 7s infinite blob }            ours, literal
 *     .animate-float { animation: 6s ease-in-out infinite float } ours, literal
 * The selectors below are (1,1,0), so they win on specificity alone. PROVED
 * RATHER THAN ARGUED, and deliberately in the pessimistic position: injected
 * as the FIRST child of <head> — ahead of every existing stylesheet, i.e.
 * giving up tier 1 entirely — a normal declaration still took the count from
 * 5 to 0 at 1440x900 and 390x844. Source order is not load-bearing for this
 * entry; it is belt and braces.
 *
 * `animation: none` IS THE RIGHT FREEZE, AND NOTHING IS LOST BY IT. The usual
 * objection to `none` is that it can strand an element in a base state that
 * is only coherent mid-animation. Measured at 0 s / 1.5 s / 4.5 s after the
 * rule lands, all five base states ARE the intended resting appearance:
 *     blob x3   transform none, opacity 1, visible
 *     ping      transform none, opacity 0.75 (its own `opacity-75` class)
 *     pulse     transform none, opacity 1, visible
 * Both dots end up MORE visible at rest than in motion — `pulse` was sampled
 * mid-dip at 0.97 and `ping` at 0.00, because `@keyframes ping` ends at
 * `opacity: 0`.
 *
 * NEITHER DOT CARRIES STATE, so there is no SC 2.3.3-against-SC 1.4.1 trade
 * to adjudicate — which was the open question on the ticket and is the one
 * thing that could have made `none` wrong.
 *   - The `animate-pulse` teal dot is a 6px decorative bullet inside an <h4>,
 *     immediately before the words "Ihr Einsparpotenzial". It signifies
 *     nothing and has no accessible name.
 *   - The `animate-ping` green dot is the canonical TWO-SPAN status pattern,
 *     and the state is carried by the STATIC sibling, not the animated one:
 *     the animated span is the expanding halo, and underneath it sits a
 *     second `h-2 w-2 bg-green-500` span with `animation-name: none` and
 *     `opacity: 1` that this rule does not touch. Killing the halo removes
 *     the pulse, not the indicator. Confirmed in rendered pixels, not only in
 *     computed style: both dots are plainly present at rest.
 *
 * SELECTOR REACH IS CLASS-BASED, DELIBERATELY, AND THIS DEPARTS FROM THE
 * `input[type='range'].accent-primary` PRECEDENT ABOVE. That block narrows a
 * bare class with a type+attribute qualifier and says the qualifier is what
 * keeps a future non-input use of the class out of the rule. The two cases
 * genuinely differ. `accent-color` is meaningless on anything that is not a
 * form control, so narrowing it costs nothing and prevents nonsense;
 * `animation: none` under `reduce` is meaningful on ANY element, and the
 * breadth is the point — a future element that loops forever while the user
 * has asked for reduced motion is a defect whether or not we anticipated it.
 * Measured reach today: 5 elements, all on `#/`, 0 on the other eight routes.
 * The only shape this could harm is a future `animate-pulse` whose motion is
 * the SOLE carrier of state with nothing static behind it — and that element
 * would already fail SC 1.4.1 on its own. This rule cannot create that
 * failure; it can only expose one that already exists.
 *
 * `animate-float` IS INCLUDED AND IS INERT TODAY. 0 users on all nine routes,
 * so the before/after figures are identical with it present. It is included
 * because its own declaration is literally `6s ease-in-out infinite float`,
 * so it is provably infinite without needing a user to prove it on, and one
 * selector line closes the gap before a first use can reintroduce the defect.
 *
 * `animate-spin` IS DELIBERATELY EXCLUDED. Also 0 users today, so adding it
 * would have looked equally free — and it would be wrong. A spinner's motion
 * IS its status signal, and `animation: none` would leave a frozen spinner
 * asserting "working" forever, which is worse than a moving one. DO NOT
 * extend this selector list to `animate-spin` without re-deciding that.
 *
 * REJECTED ALTERNATIVES, recorded so nobody re-derives them.
 *   - The global reset (`*,*::before,*::after{animation-duration:.01ms
 *     !important;animation-iteration-count:1 !important;...}`). Needs three
 *     tier-3 declarations, spends the budget the WEB-1370 block fixes at
 *     four, and reaches every transition on the site including the focus-ring
 *     and cookie-card ones. Far too wide for a five-element finding.
 *   - `animation-iteration-count: 1`. All three keyframes return to their
 *     start state at 100%, so the end state is identical to `none` — while
 *     still delivering a full 7 s of unwanted motion to someone who asked
 *     for none.
 *   - `animation-duration: 0.01ms`. Fires the keyframes at high frequency
 *     instead of stopping them, and on `ping` — which ends at `opacity: 0` —
 *     that risks a flicker. Strictly worse than `none` here.
 *
 * NOT A DISCHARGE OF SC 2.2.2, and this is deliberate, on the same reading as
 * the WEB-1359 block above and the A6 precedent in a11y-patches.js. 2.2.2
 * needs a mechanism for EVERYONE, including users who expressed no motion
 * preference; a media-query freeze reaches only those who did. The route does
 * carry a pause control, `#anamnea-hero-media-toggle`, and it was ACTIVATED
 * and re-counted rather than read: the count stayed at 5 with all five still
 * `running`, under both motion settings. It governs only the <video>. So
 * these five have no pause/stop/hide mechanism for anyone, that is unchanged
 * by this entry, and no 2.2.2 claim is made here.
 *
 * ONE THING WORTH KNOWING ABOUT THIS ROUTE, because it reframes the entry:
 * the video layer on the SAME page already honours the preference — under
 * `reduce` it is `autoplay:false, paused:true` offering "Video abspielen",
 * and under `no-preference` it autoplays offering "Video pausieren". So
 * respecting `reduce` is an established convention on this page already. The
 * five CSS animations were the gap in it, not a new policy.
 *
 * RESIDUAL — FAILS OPEN ON A REBUILD. The anchor is utility classes from
 * build output and the Tailwind config that generates them is not on the
 * server (WEB-22, the source is lost). A rebuild that renames `animate-blob`
 * makes this rule silently inert and the motion returns with nothing
 * alerting. That is inherent to this whole layer and is a reason to keep the
 * selector documented, not a reason to prefer a weaker lever. Re-measure
 * after any bundle rebuild.
 *
 * NOT IN SCOPE, named so the next sweep does not re-file them as new:
 * `animate-slide-up` (present once on every one of the nine routes, a
 * one-shot entrance — measured NOT infinite, which is why the eight other
 * routes report 0), and `hover:scale-105 transition-transform` on the hero
 * pill (a user-initiated transition, not an animation).
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  #root .animate-blob,
  #root .animate-float,
  #root .animate-ping,
  #root .animate-pulse {
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
 * WEB-1354 / WEB-1361 — the three dead social placeholders in the footer
 * brand column. SC 2.4.4 and SC 4.1.2, on all nine routes, both viewports.
 *
 * THE FINDING. The footer brand column ends in a row of three round icon
 * buttons — LinkedIn, Instagram, Twitter. Every one is `href="#"` and has no
 * accessible name by ANY route: no text node, no `aria-label`, no `title`
 * attribute, no `<title>` inside the svg, no `alt`. axe-core reports
 * `link-name`, impact serious, 3 nodes, on every render of this root at both
 * 1440x900 and 390x844. They are decoration that announces itself as a link
 * and goes nowhere.
 *
 * RULED REMOVE, NOT NAME — WEB-1354 determination, 2026-11-20, and this is
 * settled rather than re-opened here. The CEO answered the underlying content
 * question on 2026-10-26 (WEB-14 card `0f04ab30`, option `will-check`) with an
 * explicit stated default: "The default if no answer comes back is `none` —
 * delete the three icons. You do not need to re-ask me for that." The board
 * half (WEB-22 card `076f0800`, `social_accounts`) EXPIRED UNANSWERED
 * 2026-10-31T21:46:36.559Z, `result.outcome: issue_closed`, and WEB-22 is
 * `cancelled`. Both card states were re-read live before this block was
 * written. Three `aria-label`s would convert broken decoration into a
 * convincingly-labelled trap — the WEB-34 ruling, which the A2 entry in
 * ../a11y-patches.js already records in source as "Blocked on V5".
 *
 * WHAT THE SELECTOR ACTUALLY MATCHES, AND WHY THAT IS NOT WHAT IT LOOKS LIKE.
 * Measured in the live DOM, 2026-11-20: the three anchors are SIBLINGS inside
 * ONE container, `div.flex.gap-4.pt-4` (3 children, all `A`), itself inside
 * the brand column `div.md\:col-span-2.space-y-6.pr-12`. So the three limbs
 * below all match THE SAME SINGLE DIV — `document.querySelectorAll(...)`
 * returns 1, not 3 — and any one limb alone would hide all three links.
 *
 * The redundancy is deliberate and must not be "simplified" away. Each limb
 * is an independent identity anchor on the same container, so a bundle rebuild
 * that renames one lucide icon class (`lucide-twitter` -> `lucide-x`, say)
 * leaves the other two still matching and the row still hidden. Failing in the
 * direction of STAYING HIDDEN is the safe direction for a dead link. Deleting
 * two limbs as duplicates would trade that away for nothing.
 *
 * The consequence to know: this hides the ROW, not three anchors individually.
 * A rebuild that adds a REAL social link into this same row would hide that
 * one too. That is covered by REMOVE WHEN below — which is also why no limb
 * here is keyed on position or on the container's own class string, per this
 * file's rule 2: the anchor is the identity lucide stamps into the icon class.
 *
 * MEASURED 2026-11-20, live page + these exact staged bytes injected, on all
 * nine routes at both viewports — 18 of 18 combinations, each from its own
 * page load:
 *   axe `link-name` scoped to `footer`   3 violations / 8 passes -> 0 / 8
 *   footer links                         11 -> 11 (8 rendered, 3 display:none)
 *   real Tab walk of the footer          11 stops -> 8, all 8 named
 * The Tab walk is a real one — Tab pressed from the top of the document until
 * focus entered the footer and left it again — and each stop's name is read
 * from CHROMIUM'S AX TREE (`Accessibility.getPartialAXTree` over CDP), not
 * from `textContent`, per verify/heading-ruling-standard.md 3e (WEB-1405).
 * All eight survivors report role `link` with a non-empty computed name on
 * 18 of 18 combinations.
 *   footer height  1440x900              548.5px -> 535.5px   (-13px)
 *   footer height  390x844              1404.5px -> 1344.5px  (-60px)
 * The pass count is 8 both before and after: the eight real links always
 * passed, and the three dead ones leave the rule's scope rather than moving
 * into it. The other eight links are unchanged in href, accessible name and
 * order on all 18 combinations. The three dead stops were the FIRST three
 * footer tab stops, so a keyboard user met three nameless dead ends before
 * reaching anything real.
 *
 * THE -60px AT 390x844 IS 24px SHORT OF A FULL DOM REMOVAL, AND THAT IS
 * ACCEPTED, NOT MISSED (WEB-1361 AC 5). Measured against an actual
 * `row.remove()` on the live page: at 1440x900 `display: none` and DOM
 * removal are IDENTICAL (-13px, shortfall 0.0px); at 390x844 removal gives
 * -84px against this block's -60px, a shortfall of exactly 24.0px — one step
 * on the spacing scale. It was inspected rendered and reads as ordinary
 * column padding. DO NOT add a second declaration to chase it.
 *
 * One correction to the mechanism, which does not move the figure or the
 * decision: the shortfall is NOT a margin on the hidden element. The hidden
 * row's own computed `margin-top` is `0px` at both viewports, so the 24px is
 * contributed by the column's spacing mechanism and not by a margin that
 * `display: none` carries away with the child. The figure and the accept are
 * measured; the cause is not established here and is not relied on.
 *
 * `:has()` IS BASELINE — Chrome 105+, Safari 15.4+, Firefox 121+. A browser
 * without it ignores the whole rule and renders today's state: the three dead
 * links come back, which is the pre-existing defect and not a new one. No
 * partial render is possible, so no fallback is wanted and none is added.
 * Verified non-throwing in the measuring engine (`selectorError: null`).
 *
 * REJECTED ALTERNATIVES, recorded so nobody re-derives them.
 *   - Three `aria-label`s. Settled above; names a dead link.
 *   - `display: none` on the three anchors instead of their container. Leaves
 *     the row box and its `pt-4` behind, so the footer keeps padding for a row
 *     with nothing in it, and the -13px/-60px figures above would not hold.
 *   - `visibility: hidden` or `opacity: 0`. Both leave the links in the tab
 *     order on some engine/version combinations, which keeps the 2.4.4 defect
 *     while hiding the evidence of it. `display: none` removes the subtree
 *     from the accessibility tree and from sequential focus navigation.
 *   - Editing the JSX. There is no JSX — this is Vite/React build output and
 *     the source is lost (WEB-22). That is why this file exists.
 *
 * ROLLBACK: delete this block. Nothing above or below depends on it, and it
 * depends on nothing above it.
 *
 * REMOVE WHEN: the Anamnea source is recovered and the row is deleted in JSX,
 * or a real social presence exists and the row is rebuilt with real hrefs and
 * real accessible names. The second one is a CEO content decision and is NOT
 * this entry's to make.
 *
 * RESIDUAL — FAILS OPEN ON A REBUILD, as every anchor in this file does. The
 * identity is a utility class in build output whose generating config is not
 * on the server. A rebuild that renames all three lucide classes makes this
 * rule silently inert and the three nameless links return with nothing
 * alerting. Re-measure after any bundle rebuild.
 * ------------------------------------------------------------------------ */

#root footer div:has(> a[href="#"] > svg.lucide-linkedin),
#root footer div:has(> a[href="#"] > svg.lucide-instagram),
#root footer div:has(> a[href="#"] > svg.lucide-twitter) { display: none; }

/* ---------------------------------------------------------------------------
 * WEB-1459 — SC 1.4.10 Reflow: the two routes that required horizontal
 * scrolling at 320 CSS px.
 *
 * FOUR RULE GROUPS IN THREE FIXES, and the pairing matters: entry 1 stands
 * alone, entry 3 stands alone, while entries 2 and 2b are ONE fix in two rules
 * and must ship, change or revert together — entry 2 on its own is measurably a
 * regression, and entry 2b is the reason it is not.
 *
 * TWO OF THE THREE ARE THE WebDesigner's DESIGN DECISIONS, NOT MINE. Entry 3
 * (the heading) and entries 2/2b (the widget's narrow-width look) were ruled on
 * WEB-1464 comment `4713b55c`, 2026-11-21T04:13:26Z, after the WebDesigner
 * measured all eight heading candidates and both widget treatments on the live
 * pages in three engines. This file implements that ruling; it does not make
 * the call. Where I departed from the ruled SELECTORS — which the ruling
 * expressly delegated — the departure is recorded at entry 2b with the
 * measurement that forced it.
 *
 * THE FINDING. Measured 2026-11-21 on the live served pages, plain contexts at
 * `reducedMotion: reduce`, nine live routes x {320, 390} CSS px,
 * `document.documentElement.scrollWidth` against its own `clientWidth` with
 * BOTH SIDES RE-DERIVED AT RUN TIME (WEB-1342 — the invariant is "no
 * horizontal overflow", never "scrollWidth is 320"):
 *
 *     route            320px                  390px
 *     #/datenschutz    scrollWidth 512 (+192) scrollWidth 512 (+122)
 *     #/               scrollWidth 375  (+55) clean
 *     other seven      clean                  clean
 *
 * WCAG 2.1 SC 1.4.10 (AA). BFSG / EN 301 549 reference WCAG 2.1 AA, so this is
 * exposure and not preference.
 *
 * WHY A PLAIN VIEWPORT AND NOT `isMobile`, because it changes the number you
 * get. Under `isMobile` Chromium honours the page's viewport meta, so the
 * overflow reflows the LAYOUT viewport wider — 512 x 1109 instead of 390 x 844
 * — and the measurement then reports the symptom as the width. It also makes
 * other instruments lie: on WEB-1457 the panel-open pass reported
 * `#/datenschutz` NOT-ASKABLE because the nav trigger never satisfied
 * Playwright's stability check on the reflowed viewport.
 *
 * ------------------------------------------------------------------------
 * ENTRY 1 — the unbroken URLs in the legal prose. 488px inside a 272px box.
 *
 * `#/datenschutz` prints bare URLs as link text. The widest is
 * `https://marketingplatform.google.com/about/analytics/terms/de/` at 488px
 * and it alone accounts for the whole 512: its `<p>` is correctly 272px, the
 * anchor is a single token with no break opportunity, and at
 * `overflow-wrap: normal` the inline box grows rather than breaking. FIVE of
 * the ten anchors in the legal prose exceed their box at 320px — 488, 325.6,
 * 323.9, 317.7 and 306.2 — so this is a class, not one bad link.
 *
 * `anywhere` AND NOT `break-word`, AND THIS IS MEASURED, NOT STYLISTIC. The
 * two are not interchangeable here. `break-word` leaves the element's
 * MIN-CONTENT contribution unchanged, so a box that is sized by its content
 * still grows to 488px and the page still scrolls; measured on the live page
 * it changed the figures by zero — 393.3px h1 and 512px page, i.e. the before
 * numbers exactly. `anywhere` reduces the min-content contribution, which is
 * the property this defect needs. Do not "simplify" it back.
 *
 * SCOPED TO THE LEGAL PROSE, NOT GLOBAL, and the reach is measured rather
 * than asserted: `#root .prose a` matches 10 anchors on 2 of the 9 live routes
 * (`#/impressum` 3, `#/datenschutz` 7) against 215 anchors estate-wide. The
 * anchor class is a good one: the bundle's own stylesheet DEFINES NO `.prose`
 * RULE AT ALL (0 occurrences in index-CvSJxFgZ.css — the Tailwind typography
 * plugin is not in this build), so `prose prose-lg max-w-none` is a pure
 * marker class on the two legal pages and nothing of the bundle's styling
 * depends on it. A global `a { overflow-wrap: anywhere }` was rejected: it
 * would reach all 215 anchors, including nav and button labels where a
 * mid-word break is a defect rather than a fix.
 *
 * ------------------------------------------------------------------------
 * ENTRY 3 — the `#/datenschutz` <h1>. THE WebDesigner's TYPE DECISION, ruled
 * on WEB-1464 as "O3+": 30px below `md`, hyphenated at the compound seam, with
 * a hard break-anywhere floor underneath it.
 *
 * THE BUDGET IS 224px AT 320, NOT 272, and this is the fact most likely to be
 * got wrong by the next reader. The h1 is a FLEX ITEM in
 * `<div class="flex items-center gap-4 mb-8">`: the row is 272px at left=24,
 * and a ~32px icon plus the 16px `gap-4` take the first 48px, so the h1 starts
 * at left=72. Arithmetic check against a measured page: at `font-size: 24px`
 * the h1 is 262.2px wide and the page reads scrollWidth 334 — and
 * 24 + 48 + 262.2 = 334.2. The row is `flex-wrap: nowrap`, so the icon and the
 * heading cannot fall onto separate lines without a rule that says so.
 * CONSEQUENCE: no font-size reduction ALONE clears 320px until 20px
 * (`text-xl`, 218.5px) — `text-3xl` is 327.7px and `text-2xl` is 262.2px, and
 * both still exceed the 224px budget.
 *
 * WHY 30px AND NOT SMALLER — the existing type scale, measured by the
 * WebDesigner across both legal routes: h1 36/700 x1, **h2 24/700 x7**,
 * h3 20/600 x16, h4 18/600 x13, body 16/400. At 24px the page title becomes
 * typographically IDENTICAL to all seven section headings (hierarchy
 * collapse); at 20px it drops BELOW them, third in the visual scale
 * (hierarchy inversion). So the narrow-width heading must stay >= 28px to keep
 * one clear step above the 24px h2 — which rules out every option that does
 * not need hyphenation, and leaves 30px as the smallest safe step.
 *
 * WHY `overflow-wrap: anywhere` IS LOAD-BEARING HERE AND NOT BELT-AND-BRACES.
 * `hyphens: auto` IS NOT UNIVERSAL. Measured on the live page in three
 * engines: Chromium and Firefox both break `Datenschutz-/erklärung` at 320 and
 * 390, and **WebKit does not hyphenate German at all** — one line, h1 327.7px,
 * `scrollWidth` 400 against both a 320px and a 390px viewport, i.e. the fix
 * would fail at BOTH widths in that engine. `hyphens` computes to `auto`; the
 * engine simply declines the break. With the floor added, WebKit goes to
 * 320/320 and 390/390 and the geometry in Chromium and Firefox is BYTE-
 * IDENTICAL with and without it (214.2 x 72 at 320, 272.7 x 72 at 390) — so
 * the floor costs nothing where hyphenation works and converts a failure into
 * a pass where it does not. The deliberate trade: where no dictionary is
 * present the heading breaks mid-word, which is ugly and COMPLIANT, rather
 * than elegant and NON-COMPLIANT. A fix for a legal accessibility floor must
 * not be conditional on a hyphenation dictionary being installed.
 *   CAVEAT, stated because the conclusion rests on it: Playwright's WebKit on
 *   Windows is NOT Safari. Safari on macOS/iOS takes hyphenation dictionaries
 *   from the OS and very likely DOES hyphenate German. The claim here is the
 *   weaker and sufficient one — hyphenation is not guaranteed — and NOT
 *   "Safari breaks".
 *
 * `hyphenate-limit-chars: 10 6 9` IS A TYPE DECISION, NOT A TUNING KNOB. The
 * default break is width-dependent and lands badly: measured, Chromium and
 * Firefox both break `Datenschutzer-/klärung` at 390px, a legal syllable break
 * that at the largest type on the page reads as a word that is not there
 * (*Datenschützer*). Requiring >= 6 characters before and >= 9 after admits
 * only the compound seam `Datenschutz-/erklärung`, at 320 AND 390. Engines
 * without support ignore the declaration and fall back to the default break —
 * pure progressive enhancement, no downside.
 *
 * SCOPE AND REACH, MEASURED, AND IT REACHES `#/impressum` BY DESIGN — RULED,
 * NOT INHERITED. `#root div.flex.items-center.gap-4 > h1` matches exactly 2
 * elements across the nine live routes — `#/datenschutz` and `#/impressum` —
 * and 0 elsewhere, so `#/`'s 60px hero and every other heading in the estate
 * are untouched. (Re-derived with a fresh browser context per route, 1 + 1 + 0,
 * both reading 36px before injection.) `#/impressum` was NOT failing — 196.5px
 * at 36px, right=296 inside a 320px viewport — and this rule still takes its h1
 * 36px -> 30px below `md`.
 *
 * THE WebDesigner RULED "KEEP" ON EXACTLY THAT QUESTION (WEB-1464 comment
 * `77607dc0`, 2026-11-21T04:49:38Z), having measured both branches on the live
 * pages in three engines. DO NOT ADD THE `:has()`. Narrowing by icon —
 * `:has(> div svg.lucide-shield)` for Datenschutz against `lucide-file-text`
 * for Impressum — IS available and matches 1 / 0 as you would expect; it was
 * declined on cost, not availability. Their four reasons, so the next reader
 * does not re-open it: (1) a visitor sees the two legal pages as ONE template,
 * and divergence should be a deliberate choice rather than an accident of how
 * long one German word happens to be; (2) a type scale is a property of a page
 * CLASS, not of a string — narrowed, the rule would really read "legal titles
 * are 36px except where the word is too long", keyed on an icon glyph name, and
 * the next legal page added (AGB, Widerrufsbelehrung) would inherit whichever
 * branch its title length tripped; (3) it would put a THIRD build-output
 * dependency on the one rule that keeps `#/datenschutz` compliant — see the
 * RESIDUAL note at the foot of this block; (4) the measured cost of keeping is
 * 32.8px of width and 4px of height on a page that was not failing, below `md`
 * only, still one line and still the largest type on it.
 *
 * THE HONEST COST, recorded because it is a real loss and not a free win: the
 * step from page title to section heading tightens from 1.5 (36/24) to
 * 1.25 (30/24), and at 30px the title sits slightly subordinate to its own
 * ~48px icon badge. Accepted deliberately — 1.25 is still a visible step and a
 * legitimate ratio, and it is THE SAME RATIO `#/datenschutz` now carries, which
 * is the point: after this both legal pages have one scale instead of two.
 *
 * WHAT EACH DECLARATION IS FOR, AND WHY THE RULE IS NOT SPLIT. The rule below
 * carries two different kinds of thing and a later reader must not "tidy" one
 * into the other:
 *   - `hyphens` / `-webkit-hyphens` / `hyphenate-limit-chars` / `overflow-wrap`
 *     are THE COMPLIANCE FLOOR. They are what makes SC 1.4.10 pass at 320 and
 *     390, and `overflow-wrap: anywhere` is load-bearing rather than defensive
 *     — see the engine table above. Do not remove one to tidy the rule.
 *   - `font-size` / `line-height` are A TYPE DECISION: one scale across both
 *     legal pages, ruled on WEB-1464. Changing it is the WebDesigner's call.
 * They are deliberately in ONE rule on ONE selector. Splitting them — floor
 * unconditional, size narrowed — would be the right shape only under a
 * narrowed selector, and under "keep" both halves target the same two headings,
 * so a split buys nothing and costs a rule. This comment is the split.
 *
 * ONE STRUCTURAL NOTE THAT IS NOT A FINDING, carried from the WebDesigner's
 * ruling so nobody re-derives it as news: an unsupported functional pseudo
 * invalidates and drops the WHOLE rule, so under a narrowed selector an engine
 * without `:has()` would lose the Datenschutz COMPLIANCE fix and not merely the
 * Impressum nicety. Measured on a fixture, not on the live page. But all three
 * engines in the test set DO support `:has()`, the deep form,
 * `hyphenate-limit-chars` and `overflow-wrap: anywhere` — so this is a reason
 * the split above would have mattered, not evidence of current breakage, and it
 * is NOT what the ruling rests on.
 *
 * BOUNDED AT `max-width: 767px` SO DESKTOP IS INERT, which is measured and not
 * assumed: the bundle's `md:` breakpoint is 768px and `md:text-5xl` owns the
 * heading from there up. At 768 and 1440, before vs after, in all three
 * engines: `#/datenschutz` 48px / 524.4 x 48 and `#/impressum` 48px / 262 x 48,
 * byte-identical, with `hyphens` back to `manual` and `overflow-wrap` to
 * `normal`.
 *
 * ------------------------------------------------------------------------
 * ENTRY 2 — the `#/` cost-calculator grid item's automatic minimum size.
 *
 * At 320px the ROI widget card renders 346.7px wide inside a 272px container.
 * The cause is not a long word and `overflow-wrap` does not touch it: the card
 * is a GRID ITEM, grid items default to `min-width: auto`, and an `auto`
 * minimum floors the item at its own min-content size. The track resolved to
 * `grid-template-columns: 346.734px` against a 272px grid box — the container
 * is well-behaved and the item refuses to shrink. `min-width: 0` restores the
 * item's ability to shrink to its track; its contents are `w-full` blocks and
 * reflow with it.
 *
 * SCOPED TO ONE GRID, AND THE NARROWING IS THE POINT. The obvious rule,
 * `#root .grid > * { min-width: 0 }` — which is also the form the WebDesigner's
 * ruling wrote — does work, but it reaches EVERY `.grid` child in the estate
 * (measured: 40 on `#/pricing`, 8 on `#/contact`, 6 on `#/`, 4 on each legal
 * route) and it MEASURABLY MOVED A ROUTE THIS TICKET IS NOT ABOUT:
 * `#/workflow`'s viewport-overflowing element count went 67 -> 42 at 320px and
 * 31 -> 4 at 390px, i.e. it relaid out a carousel whose off-screen slides are
 * deliberate and clipped. "Better-looking numbers on a route nobody asked me
 * to change" is still an unrequested layout change. The attribute form below
 * matches EXACTLY ONE grid and TWO children, on `#/` only, and the class
 * triple occurs once in the whole bundle.
 *
 * BOUNDED AT `max-width: 767px` per the ruling. Above that the rule is inert
 * by arithmetic as well as by media query — the item's track exceeds its
 * 346.7px min-content from ~400px of container up — and inertness at 431, 500
 * and 767 is measured below rather than inferred.
 *
 * ATTRIBUTE SELECTORS RATHER THAN ESCAPED CLASS NAMES — `[class~="lg:grid-cols-2"]`
 * and not `.lg\:grid-cols-2` — because the two are equivalent in reach here,
 * both resolving to the same single element, and the attribute form survives
 * being copied through a shell heredoc, a JSON payload or an issue comment
 * without the backslash escape being eaten. That is not hypothetical: it was
 * eaten once while this entry was being measured.
 *
 * ------------------------------------------------------------------------
 * ENTRY 2b — THE COMPANION ENTRY 2 REQUIRES. DO NOT SHIP ENTRY 2 WITHOUT IT.
 *
 * Entry 2 alone is NOT an improvement, and this was caught by measurement
 * rather than by reading the diff. Letting the grid item shrink to its 272px
 * track exposes a second defect behind the first: the dark "Ihr
 * Einsparpotenzial" card carries `overflow-hidden`, its own min-content is
 * 289px, and at 272px it therefore CLIPS 17px of content instead of scrolling
 * it. The clipped element is not decoration — it is
 * `<span class="font-extrabold text-3xl ...">...</span>`, the annual net
 * saving, i.e. the figure the widget exists to produce. So entry 2 on its own
 * trades a 55px page scroll for silently truncated content, which is worse
 * rather than better: a scrollbar is reachable and a clipped number is not.
 *
 * THE FIGURE ITSELF IS DELIBERATELY NOT QUOTED IN THIS FILE, and the three
 * places above that would have quoted it read `...`, `that figure` and
 * `that figure` instead. It is a `roi-printed-figures` literal - class A,
 * `withheld_permanent`, `releasedBy: null` in claims/denylist.json - and a
 * CSS comment is SERVED BYTES, so quoting it here publishes a withheld
 * savings claim to every visitor of these pages. That is the WEB-1344
 * habit exactly: a patch layer whose derivation comments quote page copy.
 * Measured on this payload before the fix: the live docroot carried 0
 * occurrences across all 17 text carriers and this file would have added 3.
 * Do NOT 'fix' this by printing the arithmetically-correct year-one figure
 * either - the same denylist entry denies that one too, for that reason.
 * The measured values live on WEB-1459 and WEB-1464, which is where
 * evidence belongs.
 *
 * THE RULED LOOK, from WEB-1464: label on its own line, value directly beneath
 * it sharing the label's LEFT edge, `row-gap: 0.25rem` so the value reads as
 * the label's answer rather than as the next item, and ALL THREE ledger rows
 * stack together — "if the card stacks, it stacks as a unit". Left and not
 * right: the label is ragged-right at these widths, so a right-aligned value
 * under it would share an edge with nothing. `justify-between` already
 * produces the left edge for a single item per line, so no alignment rule is
 * needed. Two alternatives were measured and rejected by the WebDesigner:
 * `text-3xl` -> `text-2xl` with entry 2 still CLIPS that figure, by 24.2px
 * (shrinking the figure does not recover enough width; only wrapping does),
 * and a per-row threshold that stacks only the row in trouble produced two
 * stacked rows beside one unstacked row IN THE SAME CARD, with the three
 * figures on three different axes.
 *
 * THE BREAKPOINT IS 430px, NOT 767px, AND THAT IS DELIBERATE. 430 is the
 * widest mainstream phone viewport. Below it the card stacks; above it the
 * ledger reading — three values on one right-hand axis — survives, and it is
 * working today. The WebDesigner measured the 767px form restacking the rows
 * at 390, 430 and 767 where nothing clips and nothing overflows, because
 * `flex-wrap` decides on the items' HYPOTHETICAL main size and the label's
 * max-content is the whole sentence; so a 767px bound reaches tablets and
 * changes a reading that has no defect.
 *
 * I NARROWED THE RULED SELECTOR, AND THIS IS THE MEASUREMENT THAT FORCED IT.
 * The ruling's `#root .grid .flex.justify-between` resolves, on `#/`, to NINE
 * rows and EIGHTEEN children — not the three the ruling describes. Six of the
 * nine are in the WHITE "Ihre Praxis-Parameter" card, and `flex-basis: 100%`
 * on their children is a regression: three are slider label rows (the value
 * chip would drop under its label) and three are the sliders' MIN/MAX SCALE
 * rows, where "5" and "100" are meant to sit at opposite ends of the track and
 * would instead stack one above the other. Adding `[class~="items-center"]`
 * separates them exactly: the three dark ledger rows all carry `items-center`
 * and none of the six slider rows does. Reach after narrowing: 3 rows, 6
 * children, on `#/` only.
 *
 * AND IT IS WORSE THAN "NINE ON `#/`" — re-derived with a fresh browser context
 * per route, which is the only way to count this honestly on a hash-routed SPA.
 * The ruled row selector reaches NINETEEN rows across THREE routes: 9 on `#/`,
 * **6 on `#/pricing`** and **4 on `#/features`** — two routes this ticket is not
 * about and which the first count, taken from a shared page object, never
 * named. The narrowed selector reaches 3 rows on `#/` and **0 on both of them**.
 * Recorded as a correction to this block's own earlier figure, not as a new
 * finding: the narrowing was already justified by the slider-scale measurement
 * below, and this only widens the blast radius it avoided.
 *
 * THE COUNTING TRAP, worth more than the figure and found by the WebDesigner
 * against their own first pass (WEB-1464 `77607dc0`): on this SPA a route change
 * is a hash change, NOT a document load, so injected CSS and router state
 * SURVIVE across routes in one page object. A sweep that walks nine routes in
 * one page can read a "baseline" for route N with route N-1's injected style
 * still attached — and it reads as a perfectly plausible baseline. Every figure
 * in this block comes from a harness that opens a FRESH CONTEXT PER
 * ROUTE x WIDTH CELL and closes it after; the one script that shared a page
 * injected no CSS at all, and its counts were re-derived per-context anyway.
 *
 * VERIFIED BOTH WAYS IN ONE RUN, baseline / ruled-literal / narrowed against
 * the same live page, Chromium and WebKit. Under the ruled selector ALL SIX
 * slider rows stack — `flex-wrap: wrap`, row height 28 -> 52 on the label rows
 * and 16 -> 36 on the scale rows, and the two scale children pull apart
 * vertically ("5" at top 2298.5 against "100" at 2318.5 where the baseline has
 * both at 2274.5). Under the selector below all six keep `flex-wrap: nowrap`
 * and every pair keeps a shared top. AND IT HAPPENS AT 390px TOO, where the
 * baseline is already clean at 390/390: the ruling's own objection to a 767px
 * bound — "it restacks a reading that has no defect" — applies to its own
 * selector at the most common phone width, because `#root .grid` reaches the
 * white card's rows and `max-width: 430px` includes 390. At 390 the narrowed
 * form is byte-identical to the baseline on all six rows.
 *
 * The ruling delegated selectors in terms ("Selectors are yours to finalise...
 * If you narrow it, re-measure") and this is that re-measure. Same run, same
 * method, the `#/workflow` half: ruled-literal 67 -> 42 overflowing elements at
 * 320px, narrowed 67 -> 67.
 *
 * THE ONE THING THAT DOES CHANGE IN THE WHITE CARD IS TEXT REFLOW, NOT LAYOUT:
 * at 320px two slider labels wrap to two lines (row height 28 -> 48) because
 * the card is legitimately 272px instead of 346.7px. That is what SC 1.4.10
 * asks for. `flex-wrap` stays `nowrap` on all six and no scale label moves off
 * its baseline.
 *
 * MEASURED RESULT of entries 1 + 2 + 2b + 3 together, live served pages, 61
 * route x width x engine cells across Chromium, Firefox and WebKit, against
 * the same contexts in the same run with nothing injected:
 *   - reflow invariant: 46 of 61 cells PASS -> 61 of 61. All 15 failing cells
 *     fixed, zero regressions, in all three engines.
 *   - narrowed overflow invariant (no element carrying its own text or
 *     interactive, outside a clipping/scrolling ancestor, with
 *     `right > clientWidth`): `#/` at 320 twelve failures -> 0, `#/datenschutz`
 *     at 320 six -> 0, every other route 0 -> 0, every engine. The only
 *     residue is the cookie dialog, which these rules do not touch and which is
 *     named under NOT IN SCOPE below.
 *   - clipped boxes: the sorted set is BYTE-IDENTICAL before vs after on all 61
 *     cells, so these rules introduce no new clipping anywhere.
 *   - that figure at 320px: inside the dark card's padding box by 26px, with the
 *     card's own `scrollWidth - clientWidth` at 0. The clipping that entry 2
 *     alone introduces is absent.
 *   - inertness above the breakpoints, before vs after, byte-identical: at 431,
 *     500 and 767 the ROI grid children (383 / 452 / 592px), the three ledger
 *     rows and all three value positions are unchanged; at 768 and 1440 both
 *     legal h1s are unchanged.
 *
 * ------------------------------------------------------------------------
 * NOT IN SCOPE, named so the next sweep does not re-file them as new.
 *
 *   - THE COOKIE BANNER'S `min-w-[300px]` AT 320px. Its `<p>` and `<h3>` reach
 *     right=341 on EVERY one of the nine routes, i.e. 21px of the consent text
 *     is outside a 320px viewport and the Datenschutzerklärung link inside it
 *     is cut by 3.4px. Reproduced in all three engines; clean at 390 and above.
 *     IT IS NOT AN SC 1.4.10 FAILURE AND THAT IS MEASURED, NOT ASSUMED: the
 *     dialog is `position: fixed`, so it contributes nothing to
 *     `documentElement.scrollWidth` — `#/features` reads 341px of element
 *     overflow at scrollWidth 320. WHICH IS THE SHARP PART: WEB-1459's leading
 *     acceptance criterion PASSES while a legally-required link is unreachable
 *     at the narrowest supported width, so that criterion is blind to this
 *     whole class. Cookie consent is a legal surface (WEB-895 ruling 1
 *     condition 3), so it is raised as its own gated ticket rather than
 *     absorbed here. The verified fix is an invariant and not a constant —
 *     `min-width: min(300px, 100%)`; plain `min-width: 0` collapses the text
 *     block to 8.4px at 390 and was measured before being written down.
 *   - `#/workflow`'s off-screen carousel slides (67 elements past the viewport
 *     at 320px, scrollWidth clean). Deliberate, clipped, reachable by the
 *     carousel's own control. The entry 2 note above is why no rule here
 *     reaches them.
 *   - The decorative `absolute -inset-*` blur and gradient layers on `#/` and
 *     `#/workflow`. Zero text, clipped, no scroll contribution. These are also
 *     why the unnarrowed form of the overflow invariant is unsatisfiable — 7 of
 *     9 routes fail it before any change, `#/workflow` with 37 failures at
 *     320px, all of them `w-[600px] h-[600px] blur-3xl`-class decoration
 *     deliberately bleeding off-canvas inside clipping ancestors.
 *
 * TIER 2, NO `!important`. Entry 1 beats a Tailwind single-class utility on the
 * id-anchored selector; nothing in the bundle sets `overflow-wrap` on these
 * anchors at all, so source order alone would have done it. Entry 3 is
 * 1 id + 3 classes + 2 types against Tailwind's single-class `.text-4xl`, and a
 * media query adds no specificity, so it wins on the selector alone. Entry 2
 * overrides the `min-width: auto` grid-item default and meets no competing
 * declaration. Entry 2b overrides Tailwind's `flex-wrap: nowrap` on a
 * three-class selector from the id-anchored stem. NONE OF THE FOUR NEEDS
 * TIER 3 and the header's condition — that a tier may only be used once the
 * tier above it is measured to lose — is satisfied by all four staying at
 * tier 2. The file's `!important` declaration count is UNCHANGED at four,
 * re-derived on both sides by one method (regex over the file with CSS
 * comments stripped: 4 before, 4 after).
 *
 * ROLLBACK: delete this block. Nothing above or below depends on it, and it
 * depends on nothing above it. A single `git revert` of one commit restores
 * both this file and the `index.html` cache-bust together (WEB-1459 AC 5).
 *
 * REMOVE WHEN: the Anamnea source is recovered (WEB-22) and all three are fixed
 * at source — the URLs given link text instead of being printed raw, the legal
 * heading given a narrow-width size in the component, and the ROI widget given
 * a narrow-width layout.
 *
 * RESIDUAL — FAILS OPEN ON A REBUILD, as every anchor in this file does.
 * Entries 2 and 2b identify their targets by utility classes from build output
 * whose generating config is not on the server; a rebuild that renames them
 * makes the rules silently inert and `#/` scrolls horizontally again at 320px
 * with nothing alerting. Entries 1 and 3 are more durable — `.prose` is an
 * author marker and `flex items-center gap-4` is a stable Tailwind triple — but
 * they are the same class of risk. Re-measure after any bundle rebuild.
 * ------------------------------------------------------------------------ */

#root .prose a { overflow-wrap: anywhere; }

@media (max-width: 767px) {
  #root div.flex.items-center.gap-4 > h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-limit-chars: 10 6 9;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  #root div[class~="lg:grid-cols-2"][class~="gap-12"][class~="items-start"] > * {
    min-width: 0;
  }
}

@media (max-width: 430px) {
  #root div[class~="lg:grid-cols-2"][class~="gap-12"][class~="items-start"]
    div[class~="justify-between"][class~="items-center"] {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }

  #root div[class~="lg:grid-cols-2"][class~="gap-12"][class~="items-start"]
    div[class~="justify-between"][class~="items-center"] > * {
    flex-basis: 100%;
  }
}

/* ---------------------------------------------------------------------------
 * R3 - the cookie consent card overflows a 320px viewport and cuts the
 * Datenschutzerklaerung link. SC 1.4.10 Reflow.
 * WEB-1468. Defect found by the WebDesigner on WEB-1464 comment 4713b55c and
 * the fix FORM is theirs; every figure below is re-measured here, and where
 * mine disagree with the ticket's the disagreement is called out rather than
 * quietly corrected.
 *
 * READ THIS WITH THE R1 / R2 BLOCK ABOVE. Same dialog, same exact-handle
 * discipline, and that block's "nothing may add or remove a class" constraint
 * now covers this entry's handle as a fourth element.
 *
 * THE DEFECT. The text block is `flex-1 min-w-[300px]` inside a row whose
 * content box is 238px at a 320px viewport, so the 300px min-width floor wins
 * and the block renders width 300, left 41, right 341 - 21px past the
 * viewport. The heading, the body copy and the privacy link are all painted
 * off-viewport; the link itself is cut by 3.4px. Measured on ALL NINE live
 * routes in ALL THREE engines, 27 of 27 cells.
 *
 * WHY NO REFLOW SWEEP CAUGHT IT, AND THIS IS THE PART WORTH KEEPING.
 * `document.documentElement.scrollWidth` is BLIND to it: the dialog is
 * `position: fixed`, so it contributes nothing to document scroll width. The
 * form that does catch this class is the element-level one - no element that
 * carries its own text or is interactive, and is not inside an ancestor that
 * clips or scrolls horizontally, has `right > clientWidth`. The only
 * horizontally-clipping ancestor anywhere inside this dialog is the cookie
 * glyph's own `svg.lucide-cookie`, so nothing here is excluded by that
 * carve-out and the element-level criterion does reach it.
 *
 * THE FORM IS AN INVARIANT, NOT A CONSTANT, AND THAT IS THE WHOLE FIX.
 * `min-width: 0` is the wrong answer and was measured before being written
 * down: it collapses the text block to single-digit pixels at 390 and leaves
 * the buttons the whole row. That figure is the WebDesigner's, recorded on
 * their authority and NOT reproduced here, because the form was rejected
 * rather than shipped. `min(300px, 100%)` keeps the 300px floor wherever there
 * is room for it and yields to the viewport where there is not.
 *
 * THE TWO THINGS THAT COULD HAVE MADE THIS A LEGAL CHANGE RATHER THAN A
 * GEOMETRIC ONE, BOTH MEASURED ABSENT. Neither is theoretical: the second is a
 * regression this file has already shipped once and caught once.
 *   1. CONSENT-CHOICE PARITY - R2 above, and the reason cookie consent is a
 *      gated surface at all. A change that made the accept control easier to
 *      reach than the decline control would be a change to the choice
 *      architecture, not a reflow fix. Measured: the two buttons stay equal to
 *      each other on fill, text colour, border, padding, shadow, weight, size
 *      and radius; their boxes are BYTE-IDENTICAL before and after; both sit
 *      fully inside the viewport; `min-height` stays at the `--k-tap-min`
 *      floor against a larger rendered height. The button row is
 *      `flex gap-3 flex-shrink-0` and this rule does not reach it. Nothing
 *      about the choice moves.
 *   2. SC 2.4.11 FOCUS NOT OBSCURED. The text reflows onto more lines, so this
 *      bottom-anchored card grows UPWARD. The R1 / R2 block records that a
 *      mere +4px of card growth once took the obscured-focus count from 18 to
 *      37, so a card growing by tens of pixels is the one knock-on that could
 *      have turned this into a criterion-against-criterion trade. It does not:
 *      the focusable elements outside the dialog whose boxes this card covers
 *      are unchanged in count before and after, on every route and every
 *      engine measured, with zero cells made worse - the band the card newly
 *      covers contains no focusable element on any route. And the test is live
 *      rather than moot: focus is NOT trapped in this dialog (`role` and
 *      `aria-modal` both read null on the shell, and WEB-661's Gate B
 *      modality was never shipped), so content behind the card is genuinely
 *      reachable and 2.4.11 genuinely applies.
 *
 * WHERE IT IS INERT AND WHERE IT IS NOT - geometry only, both sides re-derived
 * at run time (WEB-1342: no pinned expected values):
 *   320  the offending elements go to ZERO on every route in every engine.
 *   390 and above   BYTE-IDENTICAL geometry - every named box, every element
 *        rect, both buttons - at 390, 431, 768 and 1440.
 *   360  NOT INERT, and this CORRECTS THE TICKET'S OWN FIGURE. WEB-1468 as
 *        filed says the fix is "identical to today at 360, 390 and 420". At
 *        390 and above that is exactly right. At 360 it is not: the text block
 *        narrows and this card grows taller, in all three engines, at a width
 *        where the baseline has ZERO off-viewport elements - a visual change
 *        where nothing was failing. ACCEPTED, NOT MISSED: at 360 the block
 *        already overflows its own row's content box and stays inside the
 *        viewport only by the 41px offset, so letting it fit the row is the
 *        same correction arriving one breakpoint early. A 360px lower bound
 *        was considered and REJECTED - it would pin the rule to a device width
 *        instead of to the condition it is for, which is the pinned-constant
 *        trap WEB-1342 rules against.
 *
 * THE MEDIA QUERY IS BELT-AND-BRACES, NOT LOAD-BEARING, and is kept anyway.
 * `min(300px, 100%)` is self-limiting: above 767 the row's content box is
 * always wider than 300px, so the rule computes to today's `300px` and does
 * nothing. Measured - the same declaration with NO media query is also
 * byte-identical to the baseline at 768 and 1440 in all three engines. The
 * bound is retained because it makes inertness above 767 true by construction
 * instead of true by measurement, which is what this file's other bounded
 * entries do. It is not load-bearing and must not be cited as if it were.
 *
 * SELECTOR - EXACT HANDLES, NOT THE SUBSTRING FORM THE TICKET PROPOSES.
 * WEB-1468 offers `div[class*="z-[9999]"] [class*="min-w-["]`. That is a
 * substring match, which is precisely what the R1 / R2 block forbids on this
 * dialog, and it would reach any future `min-w-[...]` descendant of the
 * consent shell. Both exact strings below occur EXACTLY ONCE in
 * assets/index-c7jT0TdB.js, the bundle the live index.html loads, so the pair
 * is a unique handle and cannot reach another page.
 *
 * ROLLBACK: delete this block. The text block returns to the bundle's own
 * `min-w-[300px]`; nothing above or below depends on it, and it depends on
 * nothing but the R1 / R2 handle discipline it shares.
 *
 * REMOVE WHEN: the Anamnea source is recovered and the consent component's
 * `min-w-[300px]` is authored as a viewport-yielding floor in JSX.
 *
 * RESIDUAL - FAILS OPEN ON A REBUILD, as every anchor in this file does. Both
 * handles are utility class strings in build output whose generating config is
 * not on the server. A rebuild that reorders or renames them makes this rule
 * silently inert and the overflow returns with nothing alerting. Re-measure
 * after any bundle rebuild.
 * ------------------------------------------------------------------------ */

@media (max-width: 767px) {
  #root div[class="fixed inset-0 z-[9999] flex items-end justify-center p-4 pointer-events-none"] div[class="flex items-center gap-4 flex-1 min-w-[300px]"] {
    min-width: min(300px, 100%);
  }
}

/* ===========================================================================
 * A18 — G3: clearance for the fixed top chrome and the consent card.
 *
 * WCAG 2.1 SC 2.4.11 Focus Not Obscured (Minimum), Level AA. WEB-654 and
 * WEB-731, specified as G1-G3 on WEB-723, implemented on WEB-1508.
 *
 * THIS IS HALF OF ONE MECHANISM. The other half is entry A18 in
 * a11y-patches.js, which derives the three custom properties below at
 * runtime. Neither half does anything alone, in both directions:
 *
 *   - a token with no declaration reading it changes no pixel;
 *   - a declaration whose token is unset is INVALID AT COMPUTED-VALUE TIME,
 *     so the property falls back to its initial value and the page behaves
 *     exactly as it does today.
 *
 * So the failure mode of a half-publish is "no fix", never "broken page" —
 * but it is still a half-publish, and WEB-1295 §4 is the rule: both edits,
 * never either.
 *
 * NO LITERAL BAND VALUE APPEARS HERE. That is WEB-723 acceptance criterion
 * 9, and it is why the footer's own base padding is a derived token too
 * rather than the `calc(48px + ...)` the spec drafted. 48px is what the
 * footer measures today; it is not written down anywhere in this mechanism.
 *
 * WHY `html` AND NOT `body`. `document.scrollingElement` is `html` on every
 * probed anamnea route — measured on WEB-723 and again on WEB-1508 — so the
 * scroll container is the element the two `scroll-padding` declarations have
 * to sit on. And the document-height half goes on the FOOTER, not `body`:
 * anamnea's footer is `bg-white` and the band has to be inside it or it
 * reads as a void below a white block.
 *
 * WHY THE TOP DECLARATION IS UNCONDITIONAL. The sticky chrome is present
 * whatever the consent state. WEB-723 measured that the bottom declaration
 * alone takes WebKit from 2 header failures to 3 while `FAIL_CONSENT` reads
 * a clean zero — more bottom padding pushes resting positions upward, which
 * is the direction of the WEB-731 failure. These two declarations are one
 * remedy and the top one is not optional.
 * ======================================================================== */

/* unconditional — the top chrome is always there. WEB-731. */
html {
  scroll-padding-top: var(--k-chrome-clearance);
}

/* conditional on the unanswered state. WEB-723 / WEB-654. */
html[data-consent="unanswered"] {
  scroll-padding-bottom: var(--k-consent-clearance);
}

html[data-consent="unanswered"] footer {
  padding-bottom: calc(var(--k-footer-base-padding) + var(--k-consent-clearance));
}

/* ------------------------------------------------------------------ WEB-1296
   A12 — the CSS half of the keyboard-operable disclosure for the 18 reason
   cards on #/features. THE DOM HALF IS ENTRY A12 IN a11y-patches.js UNDER THE
   SAME WEB-1296 BANNER AND NEITHER HALF WORKS ALONE: without these two rules
   the injected control toggles an attribute that nothing renders. They publish
   together, like the WEB-1072 pair.

   WHY THE FLIP IS HELD HERE AND NOT BY TOGGLING THE APP'S OWN CLASS. The
   bundle renders `preserve-3d ${b.has(C) ? "rotate-y-180" : ""}` and defines
   `.rotate-y-180` in its own <style jsx>. Toggling that class from JS was
   measured on the live site and DOES NOT HOLD: React recomputes the className
   from its own hover/flip state and wipes it on the card's next re-render.
   Rule 1 below is keyed on a data-* attribute React does not manage, so it
   survives that churn — measured, three hover/unhover cycles at 1440x900 with
   the flip still held while the flipper's own class carried no
   `rotate-y-180`.

   SPECIFICITY, deliberately: `#root` + an attribute + a child combinator beats
   the bundle's single-class `.rotate-y-180`, and this sheet is <link>ed after
   the bundle's stylesheet so it also wins on source order. When BOTH are
   rotated (our control open and the pointer hovering) the two declarations
   agree, so there is no fight to resolve.

   NO APP VALUE IS RESTATED IN THIS BLOCK, and that is the point. An earlier
   draft put the overlay at `pointer-events: auto`, which stopped the front
   face's own `hover:border-gray-100 hover:shadow-xl` from matching and would
   have needed a `:has()` rule repeating the app's measured border colour and
   shadow stack — pinning a value the app owns in a file the app does not
   control, so a front-face restyle would silently freeze the old border.
   `pointer-events: none` plus the capture-phase listener in the JS half
   removes that need entirely: the pointer still targets the front face, so the
   app's hover styling is UNCHANGED. Do not reintroduce `pointer-events: auto`
   here without re-reading that measurement.

   NO VIEWPORT GATE, and that is deliberate: the defect and the fix are
   viewport-independent, unlike A6. In particular this entry renders NO hint
   text at any width, so it cannot propagate the WEB-1312 `"Klicken für
   Details"` contrast failure (2.269:1, <1024px only) onto desktop — which is
   the ground on which the CEO discharged that ordering constraint on
   WEB-1296.

   REMOVE WHEN: the source tree is recovered (WEB-22) and the grid is authored
   as a real disclosure at source. Delete this block and entry A12 in
   a11y-patches.js together. Nothing in the bundle is modified, so removal is
   total.
   ------------------------------------------------------------------------ */

/* 1. Hold the flip from our own state. `transform` is the only property
      touched; the bundle's `transition-transform duration-500` still animates
      it, so the motion is the app's, not ours. */
#root [data-a12-open='true'] > .preserve-3d {
  transform: rotateY(180deg);
}

/* 2. The injected control covers its card and paints nothing. It is
      `pointer-events: none` so every pointer interaction falls through to the
      app untouched — see the block header; the JS half owns the gesture from
      the capture phase instead. It stays focusable and keyboard-operable
      regardless, because pointer-events does not affect focus. Styling an
      element this layer created itself is the A3 precedent. */
#root button.a12-disclose {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  pointer-events: none;
  z-index: 2;   /* above both faces, below the promo strip's 50 */
}
