/* Framework Health: components shared by the six service pages.
 * Generated by internal/design-labs/service-pages-mockups-src/port_live.py from mocklib.ADD_CSS and
 * convert/kit.py. Edit those, not this file. */
/* ---------- Added by the SEO/GEO pass (mockup) ---------- */
/* Provider names as their own headings inside a section, so each clinician is a named entity. */
.svc-detail .body h3{font-size:20px;margin:18px 0 6px;color:var(--ink)}
.svc-detail .body h3:first-child{margin-top:0}
/* "How membership works": the facts strip's dt/dd idiom, stacked. */
.svc-table{margin:18px 0 4px;border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden}
.svc-table>div{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.6fr);gap:14px;padding:12px 16px;border-top:1px solid var(--line)}
.svc-table>div:first-child{border-top:0}
.svc-table dt{font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--sage-deep);padding-top:3px}
.svc-table dd{font-size:14.5px;color:var(--ink);line-height:1.5}
@media(max-width:480px){.svc-table>div{grid-template-columns:minmax(0,1fr);gap:2px}}
/* Numbered steps: same row shape as .svc-points, with a number in place of the check. */
.svc-detail ol.svc-steps{list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:12px;margin:4px 0 14px}
.svc-detail ol.svc-steps li{counter-increment:s}
.svc-detail ol.svc-steps li::before{content:counter(s);flex:0 0 26px;height:26px;border-radius:50%;background:var(--sage-tint);
  color:var(--sage-deep);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.svc-detail li b{color:var(--ink);font-weight:600}

/* ================= Conversion kit (29 Sep 2026): shared by the six service pages =================
 * Only this block defines cv- classes. Tokens are style.css's; the review card, the form, the contact
 * list and the buttons are the site's own classes (.t-card, .reqbox/.reqform/.field, .clist, .btn), with
 * layout added here and nothing restyled. Rules that sit inside a section body are also written with the
 * .svc-detail .body prefix, because that is the specificity the site's section rules (p at 15px with a
 * 14px margin, h3 at 20px, ul/li as flex) use, and the kit has to win without !important. */
/* ---- K2 review cards: the homepage's .t-card, two across, then the source line ---- */
.cv-reviews{grid-column:1/-1;min-width:0}
.cv-label,.svc-detail .body .cv-label{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--sage-deep);line-height:1.4;margin:0 0 12px}
.cv-reviews-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.cv-reviews-grid.cv-one{grid-template-columns:minmax(0,1fr);max-width:640px}
.cv-review.t-card{margin:0;padding:24px 26px}
.cv-review .cv-rstars{display:block;fill:#C9A24B;margin-bottom:12px}
.cv-review blockquote::before{content:'"'}
.cv-review blockquote::after{content:'"'}
.cv-review blockquote.cv-cut-s::before{content:'"\2026\00a0'}
.cv-review blockquote.cv-cut-e::after{content:'\00a0\2026"'}
.cv-review .who{font-size:13px;margin-top:14px}
.cv-reviews-src,.svc-detail .body .cv-reviews-src{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--ink-3)}
.cv-reviews-src a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--sage-deep)}
@media(max-width:760px){.cv-reviews-grid{grid-template-columns:minmax(0,1fr);gap:12px}}
@media(max-width:480px){.cv-review.t-card{padding:18px 18px 16px}.cv-review blockquote{font-size:15px;line-height:1.58}
  .cv-review .cv-rstars{margin-bottom:10px}.cv-review .who{margin-top:10px}.cv-reviews-src .cv-dot{display:none}
  .cv-reviews-src a{display:flex}}

/* ---- K3 mid-page call to action: the contact page's sage-tint panel (.dpc), text left and buttons right
 *      when its own box is wide enough, stacked with full-width buttons when it is not ---- */
.cv-cta-w{container-type:inline-size;grid-column:1/-1;margin:20px 0 0}
.cv-cta{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;background:var(--sage-tint);border:1px solid var(--sage-line);
  border-radius:16px;padding:22px 24px}
.cv-cta .cv-cta-h,.svc-detail .body .cv-cta .cv-cta-h{font-family:var(--serif);font-size:21px;font-weight:500;line-height:1.25;color:var(--ink);margin:0 0 6px}
.cv-cta p,.svc-detail .body .cv-cta p{font-size:14.5px;line-height:1.55;color:var(--ink-2);margin:0}
.cv-cta-btns{display:flex;flex-direction:column;gap:10px}
.cv-cta-btns .btn{width:100%;padding:12px 22px}
@container (min-width:520px){
  .cv-cta{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:26px}
  .cv-cta-btns{min-width:228px}
}
@media(max-width:480px){.cv-cta{padding:20px 18px}}

/* ---- K4 self-check: native checkboxes, each row a full-width label ---- */
.cv-check,.svc-detail .body .cv-check{min-width:0;margin:18px 0 0;padding:18px 18px 12px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.cv-check legend{float:left;width:100%;padding:0;margin:0 0 12px;font-family:var(--serif);font-size:19px;font-weight:500;line-height:1.3;color:var(--ink)}
.cv-check-grid{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.cv-check label{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;
  background:var(--paper);font-size:14.5px;line-height:1.35;color:var(--ink);cursor:pointer}
/* the box is drawn 20px square; the input's own box is 44px tall so the target is honest even off the label */
.cv-check input{flex:none;width:20px;height:44px;margin:0;accent-color:var(--sage);cursor:pointer}
.cv-check input:focus-visible{outline:none}
.cv-check label:has(input:focus-visible){outline:3px solid var(--sage-2);outline-offset:2px}
.cv-check label:has(input:checked){background:var(--sage-tint);border-color:var(--sage-line)}
.cv-check-out,.svc-detail .body .cv-check-out{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 16px;
  margin:10px 0 0;font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.cv-check-out a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--sage-deep)}
.cv-check-note,.svc-detail .body .cv-check-note{margin:0;font-size:13px;line-height:1.45;color:var(--ink-3)}
@media(max-width:600px){.cv-check-grid{grid-template-columns:minmax(0,1fr)}}

/* ---- K5 closing: the contact page's .reqbox (copy left, form right), stacked under 880px ---- */
.cv-close .reqcopy>p{margin-top:12px}
.cv-close-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.cv-close-btns .btn{flex:1 1 200px}
.cv-close .clist{margin-top:24px}
.cv-close .clist a{color:var(--ink);text-decoration-color:var(--sage-line);text-underline-offset:3px}
/* The bot trap stays in the form and out of sight and the tab order. Here it is clipped in place rather
 * than parked at left:-9999px, so it cannot widen a phone page, and its input has no box to tap. */
.cv-close .reqform{position:relative}
.cv-close .hp{left:0;top:0;clip-path:inset(50%)}
.cv-close .hp input{width:0;height:0;min-height:0;padding:0;border:0}
@media(max-width:520px){.cv-close-btns .btn{flex-basis:100%}}
/* Under 760px the form waits behind one full-width secondary button (KIT_JS opens it at 760px and up, where
 * the button itself is not shown). Book and Text above stay the primary actions. No JS: closed, still works. */
.cv-form-d>summary{list-style:none;width:100%;gap:10px}
.cv-form-d>summary::-webkit-details-marker{display:none}
.cv-form-d>summary::after{content:"";flex:none;width:8px;height:8px;margin:-4px 0 0 2px;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s ease,margin .2s ease}
.cv-form-d[open]>summary::after{transform:rotate(225deg);margin-top:4px}
.cv-form-d[open]>summary{margin-bottom:14px}
@media(min-width:760px){.cv-form-d>summary{display:none}.cv-form-d[open]>summary{margin:0}}

/* ---- K6 reviewed-by line: a slim row under the facts strip ---- */
.cv-byline{background:var(--paper);border-bottom:1px solid var(--line)}
.cv-byline .wrap{display:flex;align-items:center;gap:10px;padding-top:10px;padding-bottom:10px}
/* Wrapper round and overflow:hidden, the img object-fit:cover at 100% of it (orchestrator, 29 Sep). The
 * portrait is nearly square with her face at 77% across and 30% down, so a plain cover shows her face about
 * 7px wide; a 2x zoom about the face (transform, clipped by the wrapper) brings it to about 15px. The zoom
 * is kept small enough that the transformed image never reaches past the page edge on a 390px phone, which
 * is why the face sits a little right of centre rather than dead centre. */
.cv-byline-ph{flex:none;width:28px;height:28px;border-radius:50%;overflow:hidden;background:var(--sage-tint)}
.cv-byline-ph img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:77% 30%;
  transform-origin:77.5% 30%;transform:translate(-3px,5.6px) scale(2)}
.cv-byline p{margin:0;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.cv-byline a{color:var(--sage-deep);font-weight:600;text-decoration:none}
.cv-byline a:hover{text-decoration:underline;text-underline-offset:3px}

/* ---- K7 questions, and fold: the site's FAQ card with a chevron that turns ---- */
.cv-faq{display:flex;flex-direction:column;gap:10px}
.cv-q,.cv-fold{background:var(--card);border:1px solid var(--line);border-radius:14px}
.cv-q>summary,.cv-fold>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;border-radius:13px}
.cv-q>summary{min-height:52px;padding:8px 18px}
.cv-fold>summary{min-height:48px;padding:8px 16px;font-size:14.5px;font-weight:600;line-height:1.4;color:var(--sage-deep)}
.cv-q>summary::-webkit-details-marker,.cv-fold>summary::-webkit-details-marker{display:none}
.cv-q>summary::after,.cv-fold>summary::after{content:"";flex:none;width:9px;height:9px;margin:-5px 3px 0 0;
  border-right:2px solid var(--sage);border-bottom:2px solid var(--sage);transform:rotate(45deg);transition:transform .2s ease,margin .2s ease}
.cv-q[open]>summary::after,.cv-fold[open]>summary::after{transform:rotate(225deg);margin-top:4px}
.cv-q>summary:hover h3,.cv-fold>summary:hover{color:var(--sage-deep)}
.cv-q>summary:focus-visible,.cv-fold>summary:focus-visible{outline:3px solid var(--sage-2);outline-offset:2px}
.cv-q h3,.svc-detail .body .cv-q h3{font-family:var(--sans);font-size:15.5px;font-weight:600;line-height:1.4;letter-spacing:0;color:var(--ink);margin:0}
.cv-a{padding:0 18px 16px}
.cv-a p,.svc-detail .body .cv-a p{font-size:14.5px;line-height:1.6;color:var(--ink-2);margin:0 0 10px}
.cv-a p:last-child,.svc-detail .body .cv-a p:last-child{margin-bottom:0}
.cv-fold-body{padding:4px 16px 16px}
.cv-fold,.svc-detail .body .cv-fold{margin:12px 0 0}
.cv-maps,.svc-detail .body .cv-maps{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0}
.cv-maps .btn{flex:1 1 140px;padding:12px 16px}

/* ---- K8 introduction video: 5:4, both faces in frame for all 49 seconds ---- */
.cv-video{margin:0}
.cv-video-frame{position:relative;aspect-ratio:5/4;border-radius:16px;overflow:hidden;background:var(--ink);box-shadow:var(--sh)}
.cv-video video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 40%}
.cv-video figcaption{margin-top:10px;font-size:13px;line-height:1.5;color:var(--ink-3)}
.cv-video-d .cv-video{max-width:430px}

/* ---- Related care rows on phones (kit v2; builder B's rows, now for all six pages via related_rows(n)).
 * At 600px and under each card becomes a row: the icon beside the title (and the Article label), an arrow
 * after the title in place of the "Learn more" line, since the whole card is the link. The one-line
 * descriptions stay in the HTML and on wider screens. Same card, tokens and icons as the live site. */
@media(max-width:600px){
  .cv-related .svc-grid{gap:12px}
  .cv-related .svc{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:14px;row-gap:6px;padding:18px 18px 16px;align-items:start}
  .cv-related .svc>*:not(.ic){grid-column:2}
  .cv-related .svc .ic{grid-column:1;grid-row:1 / span 3}
  .cv-related .svc .lm,.cv-related .svc p{display:none}
  .cv-related .svc h3::after{content:"\2192" / "";color:var(--sage);margin-left:6px}
}

/* The call-back section now sits mid-page between two content blocks (port_live.py layout()). Untinted, it would
 * run into an untinted block beside it, so it opens and closes on the same hairline the facts row and the breadcrumb use. */
section[aria-labelledby="cta-h"]:not(.alt){border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

