/* ==========================================================================
   p-product.css — exp38 stage-7 page-polish layer for the four product-side
   pages: product.html, graph.html, agents.html, changes.html.

   Loaded LAST on those pages only (after s35-a11y.css and s37-a11y.css).
   Scope discipline: every selector here belongs to a page sheet those four
   pages load (p35-product / p35-agents / p35-changes) or to a page-local
   pattern (.gp-*, .pc-rail); nothing repaints a shared component.

   Contents
     1. Metadata Floor  — the s37 floor pass, extended to the three page
                          sheets it never covered: nothing renders under
                          .75rem / 12px (DESIGN.md founder item 14).
     2. Tap targets     — the changes-page contents rail and the graph-page
                          ring picker reach ~44px effective height.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. METADATA FLOOR RULE.
   Selectors mirror the page sheets exactly; this sheet loading last wins
   the tie. SVG figure text is user units, same convention as s37-a11y.
   -------------------------------------------------------------------------- */

/* --- p35-product.css --- */
.pr-lab,
.pr-rl,
.pr-src,
.pr-shotnote,
.pr-fields li > span,
.pr-col > h3 { font-size: .75rem; }
/* theme forks re-declare the eyebrow size at higher specificity */
html[data-theme="terminal"] .pr-col > h3,
html[data-theme="riso"] .pr-col > h3,
html[data-theme="brutal"] .pr-col > h3,
html[data-theme="acid"] .pr-col > h3 { font-size: .75rem; }
.pr-tree .pr-l1,
.pr-tree .pr-l2,
.pr-tree .pr-gl,
.pr-fig .pr-k,
.pr-fig .pr-m,
.pr-fig .pr-d { font-size: 12px; }

/* --- p35-agents.css --- */
.p35-ret-h,
.p35-ret-cap,
.p35-state,
.p35-row-f dt,
.p35-bound-h,
.p35-chips-cap,
.p35-surf-h,
.p35-surf-s,
.p35-field dt { font-size: .75rem; }
.p35-fig .lbl,
.ag .p35-fig .ags,
.p35-fig .p35-word { font-size: 12px; }

/* --- p35-changes.css --- */
.pc-ic,
.pc-col-h,
.pc-unc-lab,
.pc-unc-fine,
.pc-chip,
.pc-klab,
.pc-lab,
.pc-cap,
.pc-cap-t,
.pc-recs-h,
.pc-recs-l li::before,
.pc-recs-fine,
.pc-guard-lab,
.pc-tier-n,
.pc-in,
.pc-out,
.pc-radius-h,
.pc-radius-cap,
.pc-strip-s,
.pc-strip-t,
.pc-rc-l dt,
.pc-cta-fine { font-size: .75rem; }

/* --------------------------------------------------------------------------
   2. TAP TARGETS.
   .pc-rail a rested at ~39px (font .72rem, padding .72rem): the floor bump
   plus a taller pad clears 44px without changing the grid.
   .rail-beat rested at ~31px; an absolutely-positioned halo extends the hit
   box the way s37-a11y does for .cta-quiet. The row gap is opened to 1rem so
   wrapped rows' halos can never intersect (halo 0.45rem × 2 < 1rem gap).
   -------------------------------------------------------------------------- */
.pc-rail a { font-size: .75rem; padding: .85rem .9rem; }

.gp-fan-rail .rail-beats { gap: 1.4rem 1.6rem; }
.gp-fan-rail .rail-beat { position: relative; }
.gp-fan-rail .rail-beat::after {
  content: "";
  position: absolute;
  inset: -0.65rem -0.5rem;
}
