/* TASK-B1 site additions for the eight care page types (PORTING-CONTRACT section 2: one additions sheet per stage-2 task,
   loaded after site.css by <BaseLayout siteSheet="b1">). The approved board CSS (public/styles/board/, vendored) is the style
   source ([R25]); a rule here only adapts the approved markup to a builder necessity (the <Prose> wrapper element, a
   ruled fallback), each with its reason. */

/* [R15] Prose re-scope, links: the approved P1 pages mark a writer's in-prose link `a.p1-inlink` (service p1.css); <Prose>
   renders that link as a bare <a> (src/lib/prose.ts segments, the injection-safe subset), so the same declarations apply to a
   bare anchor inside a P1 prose block (the P2 pages already style `.p2-prose a`). Values copied from p1.css .p1-inlink. */
[data-variant="A"] .p1-prose a:not([class]) { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(183,139,91,.7); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .3s var(--ease), text-decoration-color .3s var(--ease); }
[data-variant="A"] .p1-prose a:not([class]):hover { color: var(--bronze-dk); text-decoration-color: var(--bronze-dk); }

/* [R15] Prose re-scope, plan steps: the approved service plan (Regenerative Medicine) puts the step body `p.p1-plan-b` in the
   step grid's second column (service p1.css `.p1-plan-b { grid-column: 2 }`); <Prose> wraps that paragraph in its element, so
   the wrapper takes the column instead (it is the grid item now). */
[data-variant="A"] .li-plan-step > div { grid-column: 2; }

/* R-34 hub review card (HubProof.astro): a hub with a bound verbatim review shows it beside the rating numeral and the three
   trust facts, ONLY when reviewsConfig.namedCleared (Checkpoint C). The approved hub draws no card (no pilot hub has a bound
   review), so the card is the approved service review card (p1-rev, in the hub sheet) placed on its own row under the grid (the
   grid's own gap spaces it). No approved drawing exists for this card: a designer check is owed (TASK-B1 report). */
[data-variant="A"] .b1-hub-revs { grid-column: 1 / -1; }

/* R-33 (CONTENT-CONTRACT v1.3 K-14; TASK-B3): the conditions past the 8 cards, a plain text-link list beside the see-all
   button (each condition's short name, linked to its page). The approved boards show no overflow (no pilot has more than
   8), so it takes the board's own link colour and the see-all spacing; no new look. Renders only when a page writes it. */
[data-variant="A"] .p1-overflow { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
[data-variant="A"] .p1-overflow a { color: var(--bronze-dk); text-decoration: underline; text-underline-offset: 0.2em; }
