/* ==========================================================================
   p-method.css — exp38 stage-7 polish, scoped to TWO pages only:
     method.html  (body[data-page="method"])
     audit.html   (body[data-page="audit"])

   Loads LAST in both heads, after s35-a11y.css and s37-a11y.css. Every rule
   is scoped with body[data-page] so nothing here can reach another page.
   Colour is token-only; no new palette entries.

   Contents
     1. SVG figure type floor  — no figure text under 12px (DESIGN.md founder
        item 14). Re-asserts the method figure ramp that linking s37-a11y.css
        (whose .fig text/.lbl floors load later than p35-method.css and win
        ties) would otherwise flatten, and floors the audit figure annotation
        classes that s37-a11y's generic selectors cannot reach.
     2. HTML metadata floor    — the two sub-12px bases s35-craft.css reaches
        only via the span safety net, raised at the source so the rendered
        size never depends on max() support, plus the two media-query
        stragglers craft's lists never covered.
     3. Tap-target de-confliction — s37-a11y.css gives .cta-quiet a ~44px
        halo; on these pages' .mp-links / .au-links rows (row gaps .7rem and
        .8rem) the full halo would let stacked links' hit boxes cross when
        the row wraps. Vertical extension clamped under half the row gap,
        same device as s37's own .link-row / .ev-links rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SVG FIGURE TYPE FLOOR (12px minimum, per-figure ramp preserved)
   -------------------------------------------------------------------------- */
body[data-page="method"] .mp-fig text{font-size:12.5px;}
body[data-page="method"] .mp-fig .lbl{font-size:12px;letter-spacing:.09em;}
body[data-page="method"] .mp-fig .big{font-size:15px;}
body[data-page="method"] .mp-flow text{font-size:12px;}
body[data-page="method"] .mp-flow .lbl{font-size:12px;}
body[data-page="method"] .mp-flow .big{font-size:15px;}
@media (max-width:760px){
  body[data-page="method"] .mp-fig text{font-size:15.5px;}
  body[data-page="method"] .mp-fig .lbl{font-size:13px;letter-spacing:.07em;}
  body[data-page="method"] .mp-fig .big{font-size:18px;}
}

/* audit figure annotations authored at 10.2–11.3px */
body[data-page="audit"] .fig .au-fnote{font-size:12px;}
body[data-page="audit"] .fig .au-fsm{font-size:12px;}
body[data-page="audit"] .fig .au-tstale{font-size:12px;}
body[data-page="audit"] .au-keep .fig .lbl{font-size:12px;}
body[data-page="audit"] .au-keep .fig .au-fnote{font-size:12px;}
body[data-page="audit"] .au-keep .fig .au-fsm{font-size:12px;}

/* --------------------------------------------------------------------------
   2. HTML METADATA FLOOR
   -------------------------------------------------------------------------- */
/* bases authored at .68rem (10.88px): their child spans were floored by
   s35-craft's span safety net, but the base itself should sit on the floor */
body[data-page="method"] .mp-clause-head,
body[data-page="method"] .mp-rec-head{font-size:.75rem;}
/* the hero rail link base (.72rem); its i/span children were already floored */
body[data-page="method"] .mp-rail a{font-size:.75rem;}
/* the commitments counter numeral (pseudo-element, outside every safety net) */
body[data-page="audit"] .au-ol li::before{font-size:.75rem;}
/* media-query stragglers craft's lists never covered */
@media (max-width:900px){
  body[data-page="method"] .mp-rec-f{font-size:.75rem;}
}
@media (max-width:430px){
  body[data-page="method"] .mp-in li{font-size:.75rem;}
}

/* --------------------------------------------------------------------------
   3. TAP-TARGET DE-CONFLICTION on wrapped quiet-link rows
   The rows' authored row gaps (.7rem / .8rem) were smaller than two full s37
   halos, so stacked links' hit boxes crossed when the row wrapped. Fixed at
   the source: the row gap opens to 1.4rem (22.4px) and the vertical halo is
   clamped to .65rem per side — 23.5px resting line + 20.8px halo ≈ 44px
   effective target, and two boxes can never intersect (20.8 < 22.4).
   -------------------------------------------------------------------------- */
body[data-page="method"] .mp-links{gap:1.4rem 1.6rem;}
body[data-page="audit"] .au-links{gap:1.4rem 1.5rem;}
body[data-page="method"] .mp-links .cta-quiet::after,
body[data-page="audit"] .au-links .cta-quiet::after{inset:-0.65rem -0.55rem;}
