/* Teapak.co 1.18.0 (assets/css/score.css; 1.17.0 of 21 Nov 2026, 1.18.0 of 22 Nov 2026): the Recovery Score.
   inc/setup.php loads it after wp.css on the home page (the band #score-band under the hero card and the pilot box
   #pilot-box after the Reset Plans bento, template-parts/score-band.php and pilot-box.php), on the check page (/check/,
   page-check.php) and on the result page (/score/, page-score.php; the parts assets/js/check.js draws). Light only: the
   tokens of site.css :root; the theme's steps: phones up to 720 px, tablets to 1100 px, computers from 1101 px (the
   band's two columns from 900 px, the check's and the result's from 1024 px). The owner's design "เดสก์ท็อป 1 · หน้าแรก":
   a light-blue panel with a dark pill, white chips and a full-width blue button; the dashed white box.
   1.18.0 (docs/FEATURES-1.18.md; his pictures "เดสก์ท็อป 2 · แบบเช็ก 2 นาที" / "2 · แบบเช็ก 2 นาที" and "เดสก์ท็อป 3 · ผลคะแนน
   + แผนที่แนะนำ" / "3 · ผลคะแนน + แผนที่แนะนำ"): the check and the result are one grey page (--bg) under a short white bar
   (header-focus.php, template-parts/focus-bar.php: the logo and one link; on phones the bar sits on the grey, the link
   at the start and the logo at the end), the content 1152 px wide at most (the pictures' 64 px margins at 1280 px),
   white cards with a hairline edge and 28 px corners. The check: the texts on the start side, the questions in one
   card on the end side (each question its own card on phones), the ranges drawn here (a blue part up to the value from
   --p, a grey rest, a blue round thumb), the safety question as two option buttons. The result: the score card and the
   bars on the start side; the plan panel (the photo on its start half; none on phones), the share card and the member
   link on the end side. The site's own buttons (.btn, pills) as everywhere. */

/* ---------- the home band: under the hero card, before the Reset Plans bento ---------- */
/* the spacing the plans band had from the hero card (site.css .plans-band>.wrap: 56 / 48 / 44 px); the plans band keeps
   its own from the band's bottom */
#site .score-band>.wrap{padding-top:56px}
#site .sb{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:28px 56px;align-items:center;padding:40px 48px;border-radius:24px;background:var(--blue-xl)}
#site .sb-copy{min-width:0}
#site .sb-pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 13px;background:var(--find-bg);color:var(--find-ink);font-size:12.5px;font-weight:700;line-height:1.3;letter-spacing:.01em}
#site .sb-title{margin-top:16px;font-size:clamp(26px,3vw,36px);font-weight:700;line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
#site[data-lang="th"] .sb-title{font-weight:600;letter-spacing:0;line-height:1.3}
#site .sb-text{margin-top:12px;max-width:600px;font-size:16.5px;line-height:1.6;color:var(--nav-ink)}
#site .sb-note{margin-top:12px;font-size:13px;line-height:1.5;color:var(--muted)}
#site .sb-side{min-width:0}
#site .sb-dims{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#site .sb-dim{display:flex;align-items:center;justify-content:center;min-height:60px;padding:10px 12px;border-radius:16px;background:var(--panel);box-shadow:var(--shadow-xs);color:var(--fg);font-size:15px;font-weight:700;line-height:1.3;text-align:center;text-decoration:none;transition:background .15s,color .15s}
#site a.sb-dim:hover{background:var(--blue-l);color:var(--blue-d)}
#site .sb-btn{display:flex;width:100%;margin-top:14px}
#site .sb-btn .ar{width:18px;height:18px}

/* ---------- the pilot box: after the bento, before the Top activities band ---------- */
#site .pilot-box>.wrap{padding-top:28px}
#site .pb{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 32px;padding:24px 28px;border-radius:20px;background:var(--panel);border:2px dashed var(--line-2)}
#site .pb-copy{flex:1 1 360px;min-width:0}
#site .pb-title{font-size:19px;font-weight:700;line-height:1.3;letter-spacing:-.01em}
#site[data-lang="th"] .pb-title{letter-spacing:0}
#site .pb-text{margin-top:6px;font-size:14.5px;line-height:1.55;color:var(--muted)}
#site .pb-btn{flex:none}
/* the texts with a value ({trips}, {n}) are printed once a language (span[lang]); the page language's one shows */
#site[data-lang="th"] .pb [lang="en"],#site[data-lang="en"] .pb [lang="th"]{display:none}

/* ---------- 1.18.0: the focus pages (the check and the result): one grey page under a short white bar ---------- */
/* #site holds the focus bar only on these two pages (header-focus.php); a browser without :has keeps the white page,
   where the cards keep their edges. The grey reaches the window's bottom (less WordPress's admin bar, whose height core
   gives in --wp-admin--admin-bar--height, so an administrator gets no needless scroll) */
#site:has(>.hdr-focus){--container:1152px;min-height:100vh;min-height:calc(100vh - var(--wp-admin--admin-bar--height,0px));min-height:calc(100svh - var(--wp-admin--admin-bar--height,0px));background:var(--bg)}
#site .hdr-focus{background:var(--page);border-bottom:1px solid var(--line)}
#site .hdr-focus .hdr-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;padding:0}
/* the pictures' smaller wordmark; the padding makes its link a taller target without moving it */
#site .hdr-focus .mark{display:inline-block;padding-block:10px;font-size:20px}
#site .hdr-focus-link{display:inline-flex;align-items:center;min-height:44px;margin-inline-end:-6px;padding:0 6px;border-radius:10px;color:var(--muted);font-size:16px;font-weight:400;line-height:1.3;text-decoration:none;white-space:nowrap;transition:color .15s}
#site .hdr-focus-link:hover{color:var(--blue-d)}
#site .hdr-focus-link .hf-short{display:none}

/* ---------- the check page ---------- */
#site .ck-page>.wrap{padding-top:48px;padding-bottom:104px}   /* room under the last line for the site's Chat button, which floats at the bottom of these footer-less pages */
/* off: one white card */
#site .ck-off-card{max-width:720px;margin-inline:auto;padding:40px;border:1px solid var(--line);border-radius:28px;background:var(--panel)}
#site .ck-off-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
/* on: the texts on the start side (rows 1-3), the form on the end side across every row; the last row takes what the
   form is taller, so the texts keep their own heights */
#site .ck{display:grid;grid-template-columns:minmax(0,456fr) minmax(0,653fr);grid-template-rows:auto auto auto 1fr;grid-template-areas:"head form" "after form" "note form" ". form";column-gap:44px;align-items:start}
#site .ck-head{grid-area:head;min-width:0}
#site .ck-after{grid-area:after;min-width:0}
#site .ck-note{grid-area:note;min-width:0}
#site .ck-form{grid-area:form;min-width:0}
#site .ck-kicker{font-size:15px;line-height:1.45;color:var(--muted)}
#site .ck-title{margin-top:12px;font-size:clamp(32px,3.75vw,48px);font-weight:800;line-height:1.15;letter-spacing:-.03em;text-wrap:balance}
#site[data-lang="th"] .ck-title{font-weight:700;line-height:1.3;letter-spacing:0}
#site .ck-off-card .ck-title{margin-top:0;font-size:clamp(28px,3vw,36px)}
#site .ck-intro{margin-top:16px;font-size:18px;line-height:1.6;color:var(--muted);text-wrap:pretty}
#site .ck-off-card .ck-intro{max-width:600px;font-size:17px}
#site .ck-after{margin-top:32px;padding:24px 28px 26px;border-radius:20px;background:var(--blue-xl)}
#site .ck-after-h{font-size:16px;font-weight:700;line-height:1.45;color:var(--fg)}
#site .ck-after-list{margin-top:12px;display:grid;gap:6px}
#site .ck-after-list li{position:relative;padding-inline-start:22px;font-size:16px;line-height:1.6;color:var(--nav-ink)}
#site .ck-after-list li::before{content:"";position:absolute;inset-inline-start:4px;top:.68em;width:6px;height:6px;border-radius:50%;background:var(--fg)}
#site .ck-note{margin-top:28px;font-size:13.5px;line-height:1.6;color:var(--muted)}
/* the form: one white card, hairlines between the questions */
#site .ck-form{padding:8px 32px 32px;border:1px solid var(--line);border-radius:28px;background:var(--panel)}
#site .ck-stage{margin-top:24px;padding:14px 18px;border-radius:16px;background:var(--blue-xl)}
#site .ck-stage-t{display:block;font-size:15.5px;font-weight:700;line-height:1.45;color:var(--blue-d)}
#site .ck-stage-hint{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:var(--nav-ink)}
#site .ck-stage-hint:empty{display:none}
#site .ck-q{min-width:0;margin:0;padding:24px 0;border:0}
#site .ck-q+.ck-q{border-top:1px solid var(--line)}
#site .ck-q-label{display:block;font-size:18px;font-weight:700;line-height:1.45;color:var(--fg)}
#site .ck-n{font-variant-numeric:tabular-nums}
/* the range: still a native input (keyboard, screen readers); its track is blue up to the value (--p, check.js) and grey
   after it, the thumb a blue disc. The blue part ends under the thumb at every value. */
#site .ck-range{--p:44.444%;-webkit-appearance:none;appearance:none;display:block;width:100%;height:28px;margin:10px 0 6px;padding:0;border-radius:999px;background:transparent;cursor:pointer}
#site .ck-range:focus{outline:none}
#site .ck-range:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
#site .ck-range::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:linear-gradient(to right,var(--blue-fill) 0,var(--blue-fill) var(--p),var(--line-2) var(--p),var(--line-2) 100%)}
#site .ck-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;margin-top:-6px;border:0;border-radius:50%;background:var(--blue-fill);box-shadow:0 1px 3px rgba(11,27,58,.25)}
#site .ck-range::-moz-range-track{height:8px;border:0;border-radius:999px;background:var(--line-2)}
#site .ck-range::-moz-range-progress{height:8px;border-radius:999px;background:var(--blue-fill)}
#site .ck-range::-moz-range-thumb{width:20px;height:20px;border:0;border-radius:50%;background:var(--blue-fill);box-shadow:0 1px 3px rgba(11,27,58,.25)}
/* the ends and the value: the low end at the start, the value in the middle, the high end at the end */
#site .ck-ends{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:12px;font-size:14.5px;line-height:1.4;color:var(--muted)}
#site .ck-hi{text-align:end}
#site .ck-val{min-width:2ch;color:var(--fg);font-size:16px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
/* question 4: the legend floats, so the fieldset's hairline is drawn whole (a legend in the border would cut it) */
#site .ck-safe>legend{float:left;width:100%;margin:0 0 14px;padding:0}
#site .ck-radios{clear:both;display:flex;flex-wrap:wrap;gap:12px}
#site .ck-radio{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:160px;min-height:46px;padding:8px 22px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--panel);color:var(--fg);font-size:16px;line-height:1.3;text-align:center;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
#site .ck-radio:hover{border-color:var(--blue)}
/* the radio covers its button, unseen: a click anywhere on the button picks it, and the browser's "please choose" note
   points at the button */
#site .ck-radio input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#site .ck-radio:has(input:checked){border-color:var(--blue-fill);background:var(--blue-xl);color:var(--blue-d);font-weight:600}
#site .ck-radio:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}
@supports not selector(:has(*)){
  /* no :has: the radio shows itself, so its state and its focus stay visible */
  #site .ck-radio{gap:10px}
  #site .ck-radio input{position:static;width:18px;height:18px;opacity:1;accent-color:var(--blue-fill)}
}
#site .ck-q4-note{margin-top:12px;font-size:13.5px;line-height:1.55;color:var(--muted)}
/* the consent (only while scores are kept), the button and the note */
#site .ck-consent-row{margin-top:4px}
#site .ck-consent{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.55;color:var(--nav-ink);cursor:pointer}
#site .ck-consent input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--blue-fill);cursor:pointer}
#site .ck-consent-more{display:inline-block;margin:4px 0 0;margin-inline-start:32px;color:var(--blue-d);font-size:14px;font-weight:500;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
#site .ck-consent-more:hover{color:var(--fg)}
#site .ck-submit{margin-top:24px}
#site .ck-submit.is-busy,#site .sc-delete.is-busy{opacity:.72;cursor:progress}
#site .ck-privacy{margin-top:14px;font-size:13px;line-height:1.55;color:var(--muted)}

/* ---------- the result page ---------- */
/* the page's own two columns, the same as the result's: every part spans both, except the privacy line under a shown
   result, which goes under the end column (after the note) */
#site .sc-page>.wrap{display:grid;grid-template-columns:minmax(0,461fr) minmax(0,659fr);column-gap:32px;align-items:start;padding-top:40px;padding-bottom:104px}
#site .sc-page>.wrap>*{grid-column:1/-1}
/* no score yet, and the safety answer: one white card in the middle */
#site .sc-panel{width:100%;max-width:760px;margin-inline:auto;padding:32px;border:1px solid var(--line);border-radius:28px;background:var(--panel)}
#site .sc-missing{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px}
#site .sc-missing-text{font-size:17px;font-weight:600;line-height:1.5}
#site .sc-safe-h{font-size:26px;font-weight:700;line-height:1.25;letter-spacing:-.02em}
#site[data-lang="th"] .sc-safe-h{letter-spacing:0;line-height:1.35}
#site .sc-safe-text{margin-top:12px;max-width:680px;font-size:16.5px;line-height:1.6;color:var(--nav-ink)}
#site .sc-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
/* the score: the start column (the score card, the bars), the end column (the plan, the share card, the member row) */
#site .sc-result{display:grid;grid-template-columns:minmax(0,461fr) minmax(0,659fr);gap:24px 32px;align-items:start}
#site .sc-col{display:grid;gap:24px;min-width:0}
#site .sc-card{min-width:0;padding:30px 32px;border:1px solid var(--line);border-radius:28px;background:var(--panel)}
#site .sc-score{display:flex;flex-direction:column;align-items:center;padding:38px 32px 36px;text-align:center}
#site .sc-k{font-size:16px;font-weight:400;line-height:1.5;color:var(--muted)}
#site .sc-big{display:flex;align-items:baseline;justify-content:center;gap:12px;margin-top:10px}
#site .sc-num{font-size:96px;font-weight:800;line-height:1;letter-spacing:-.04em;color:var(--fg);font-variant-numeric:tabular-nums}
#site .sc-of{font-size:36px;font-weight:500;line-height:1;letter-spacing:-.01em;color:var(--muted);white-space:nowrap}
/* the band pill: yellow (the fee pill's) for low, light blue for mid, mint for high; every pair 4.5:1 or better */
#site .sc-band{display:inline-flex;align-items:center;margin-top:20px;border-radius:999px;padding:6px 18px;font-size:15px;font-weight:700;line-height:1.3}
#site .sc-band:empty{display:none}
#site .sc-band.is-low{background:var(--fee-pill);color:var(--fee-pill-ink)}
#site .sc-band.is-mid{background:var(--blue-l);color:var(--blue-d)}
#site .sc-band.is-high{background:var(--mint);color:var(--mint-ink)}
#site .sc-line{max-width:440px;margin-top:16px;font-size:16.5px;line-height:1.6;color:var(--muted);text-wrap:pretty}
/* what the save answered, and Delete */
#site .sc-saved{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;width:100%;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
#site .sc-saved-text{font-size:14px;line-height:1.5;color:var(--muted)}
#site .sc-delete{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 16px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--line-2);color:var(--fg);font-size:13.5px;font-weight:600;line-height:1.2;white-space:nowrap;transition:box-shadow .15s,color .15s}
#site .sc-delete:hover{box-shadow:inset 0 0 0 1.5px var(--blue);color:var(--blue-d)}
/* the bars: the area and "n / 10" over the bar; the lowest bold, its bar orange */
#site .sc-bars{padding:30px 32px 32px}
#site .sc-bar-list{display:grid;gap:16px}
#site .sc-bar-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:17px;line-height:1.4;color:var(--fg)}
#site .sc-bar-k,#site .sc-bar-v,#site .sc-bar-v b{font-weight:400}
#site .sc-lowest{font-style:normal}
#site .sc-bar.is-low .sc-bar-k,#site .sc-bar.is-low .sc-bar-v,#site .sc-bar.is-low .sc-bar-v b{font-weight:700}
#site .sc-bar-v{font-variant-numeric:tabular-nums;white-space:nowrap}
#site .sc-track{margin-top:8px;height:12px;border-radius:999px;background:var(--line);overflow:hidden}
#site .sc-fill{display:block;height:100%;border-radius:999px;background:var(--blue-fill)}
#site .sc-bar.is-low .sc-fill{background:var(--hot)}
/* the plan: the photo on the start half (rounded start corners by the panel's), the light-blue half with the texts */
#site .sc-plan:empty{display:none}
#site .sc-plan-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:370px;border-radius:28px;background:var(--blue-xl);overflow:hidden}
#site .sc-plan-photo{position:relative;display:block;min-height:100%}
#site .sc-plan-photo>.photo{position:absolute;inset:0;width:100%;height:100%}
#site .sc-plan-body{min-width:0;padding:36px 28px 30px;display:flex;flex-direction:column;align-items:stretch}
#site .sc-plan-k{font-size:15px;font-weight:700;line-height:1.4;color:var(--blue-d)}
#site .sc-plan-name{margin-top:14px;font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.015em;text-wrap:balance}
#site[data-lang="th"] .sc-plan-name{letter-spacing:0;line-height:1.35}
#site .sc-plan-name a{text-decoration:none}
#site .sc-plan-name a:hover{color:var(--blue-d)}
#site .sc-plan-why{margin-top:14px;font-size:16px;line-height:1.6;color:var(--muted)}
#site .sc-plan-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px;margin-top:14px;font-size:16px;line-height:1.5;color:var(--fg)}
#site .sc-plan-price b{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
#site .sc-plan-price .fee-was-w{font-size:14px;color:var(--muted)}
#site .sc-plan-body>.fee-pill{align-self:flex-start;margin-top:8px}
#site .sc-plan-go{display:flex;width:100%;margin-top:22px}
/* 1.19.0: the advice over the consult button (score.consult_advice), the panel's blue on its light blue (6.9:1) */
#site .sc-plan-advice{margin-top:18px;padding-top:14px;border-top:1px solid var(--blue-l);font-size:15px;font-weight:600;line-height:1.55;color:var(--blue-d)}
#site .sc-plan-advice+.sc-plan-go{margin-top:12px}
#site .sc-plan-more{align-self:center;display:inline-flex;align-items:center;min-height:44px;margin-top:8px;padding:0 6px;color:var(--blue-d);font-size:16px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
#site .sc-plan-more:hover{color:var(--fg)}
/* the share card: the texts at the start, the two buttons stacked at the end */
#site .sc-share{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:16px 28px;align-items:center}
#site .sc-share-h{font-size:19px;font-weight:700;line-height:1.4}
#site .sc-share-text{margin-top:10px;font-size:15.5px;line-height:1.6;color:var(--muted)}
#site .sc-share-acts{display:grid;gap:10px}
#site .sc-share-btn{width:100%}
#site .sc-share-status{grid-column:1/-1;font-size:14px;font-weight:600;line-height:1.45;color:var(--mint-ink);text-align:center}
#site .sc-share-status.is-url{font-weight:400;color:var(--fg);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}
/* the member link at the start, the note at the end */
#site .sc-foot{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 32px;margin-top:4px}
#site .sc-member{flex:0 1 260px;color:var(--blue-d);font-size:16px;font-weight:500;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
#site .sc-member:hover{color:var(--fg)}
#site .sc-note{flex:1 1 280px;font-size:13.5px;line-height:1.6;color:var(--muted)}
#site .sc-privacy{margin-top:14px;font-size:13px;line-height:1.55;color:var(--muted)}
#site .sc-result:not([hidden])~.sc-privacy{grid-column:2}
#site .sc-result[hidden]~.sc-privacy{width:100%;max-width:760px;margin-inline:auto;margin-top:16px}

/* ---------- motion: the bars grow in; still for visitors who ask for less motion ---------- */
@media (prefers-reduced-motion:no-preference){
  #site .sc-fill{animation:sc-grow .6s cubic-bezier(.2,.75,.2,1) backwards}
  @keyframes sc-grow{from{transform:scaleX(0);transform-origin:0 50%}to{transform:none;transform-origin:0 50%}}
}

/* ---------- tablets ---------- */
@media (max-width:1100px){
  #site .score-band>.wrap{padding-top:48px}
  #site .sb{grid-template-columns:minmax(0,1fr) 380px;gap:24px 36px;padding:32px 36px}
}
@media (max-width:1023px){
  /* the check and the result in one column of at most 760 px */
  #site .ck{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"head" "after" "form" "note";max-width:760px;margin-inline:auto}
  #site .ck-after{margin-top:24px}
  #site .ck-form{margin-top:28px}
  #site .ck-note{margin-top:18px}
  #site .sc-page>.wrap{grid-template-columns:minmax(0,1fr)}
  #site .sc-result{grid-template-columns:minmax(0,1fr);width:100%;max-width:760px;margin-inline:auto}
  #site .sc-privacy,#site .sc-result:not([hidden])~.sc-privacy{grid-column:1/-1;width:100%;max-width:760px;margin-inline:auto}
}
@media (max-width:900px){
  #site .sb{grid-template-columns:minmax(0,1fr);padding:28px}
  #site .sb-text{max-width:none}
}

/* ---------- phones ---------- */
@media (max-width:720px){
  #site .score-band>.wrap{padding-top:44px}
  #site .sb{padding:24px 20px;border-radius:22px;gap:22px}
  #site .sb-title{font-size:26px}
  #site .sb-text{font-size:15.5px}
  #site .sb-dims{gap:8px}
  #site .sb-dim{min-height:54px;padding:8px;font-size:14px;border-radius:14px}
  #site .pilot-box>.wrap{padding-top:22px}
  #site .pb{display:grid;padding:20px;border-radius:18px;gap:14px}
  #site .pb-title{font-size:17px}
  #site .pb-btn{display:flex;width:100%}
  /* the focus bar on the grey: the link at the start, the logo at the end (picture 3, phone) */
  #site:has(>.hdr-focus){--gutter:max(20px,env(safe-area-inset-left,0px));--gutter-r:max(20px,env(safe-area-inset-right,0px))}
  #site .hdr-focus{background:transparent;border-bottom:0}
  #site .hdr-focus .hdr-in{min-height:68px}
  #site .hdr-focus .mark{order:2;font-size:19px}
  #site .hdr-focus-link{margin-inline:-6px 0;font-size:15px}
  #site .hdr-focus-link .hf-long{display:none}
  #site .hdr-focus-link .hf-short{display:inline}
  /* the check: the head, each question its own card, then the consent, the button and the notes */
  #site .ck-page>.wrap{padding-top:4px;padding-bottom:96px}
  #site .ck-off-card{padding:24px 20px;border-radius:22px}
  #site .ck-off-acts .btn{flex:1 1 160px}
  #site .ck{grid-template-areas:"head" "form" "note"}
  #site .ck-after{display:none}
  #site .ck-title{margin-top:8px;font-size:30px}
  #site .ck-intro{margin-top:10px;font-size:16.5px}
  #site .ck-form{margin-top:22px;padding:0;border:0;border-radius:0;background:none}
  #site .ck-stage{margin:0 0 16px}
  #site .ck-q{padding:18px 20px 20px;border:1px solid var(--line);border-radius:22px;background:var(--panel)}
  #site .ck-q+.ck-q{margin-top:18px;border-top:1px solid var(--line)}
  #site .ck-q-label{font-size:17px}
  #site .ck-radios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #site .ck-radio{min-width:0;padding-inline:12px}
  #site .ck-consent-row{margin-top:22px;padding-inline:4px}
  #site .ck-submit{display:flex;width:100%;margin-top:22px}
  #site .ck-privacy{text-align:center}
  #site .ck-note{margin-top:8px;text-align:center}
  /* the result: one column; the plan panel without its photo; the share buttons side by side */
  #site .sc-page>.wrap{padding-top:8px;padding-bottom:96px}
  #site .sc-panel{padding:24px 20px;border-radius:22px}
  #site .sc-missing .btn,#site .sc-acts .btn{flex:1 1 160px}
  #site .sc-safe-h{font-size:22px}
  #site .sc-result,#site .sc-col{gap:18px}
  #site .sc-card{padding:22px 20px;border-radius:22px}
  #site .sc-score{padding:26px 20px 24px}
  #site .sc-k{font-size:15px}
  #site .sc-big{margin-top:6px;gap:8px}
  #site .sc-num{font-size:76px}
  #site .sc-of{font-size:26px}
  #site .sc-band{margin-top:16px;padding:5px 14px;font-size:14px}
  #site .sc-line{margin-top:12px;font-size:15.5px}
  #site .sc-bars{padding:22px 20px 24px}
  #site .sc-bar-head{font-size:16px}
  #site .sc-plan-card{grid-template-columns:minmax(0,1fr);min-height:0;border-radius:22px}
  #site .sc-plan-photo{display:none}
  #site .sc-plan-body{padding:26px 20px 22px}
  #site .sc-plan-k{font-size:14px}
  #site .sc-plan-name{margin-top:12px;font-size:23px}
  #site .sc-plan-why{margin-top:12px;font-size:15px}
  #site .sc-plan-price{font-size:15.5px}
  #site .sc-plan-go{margin-top:18px}
  #site .sc-share{grid-template-columns:minmax(0,1fr);gap:16px}
  #site .sc-share-h{font-size:17px}
  #site .sc-share-text{margin-top:8px;font-size:14.5px}
  #site .sc-share-acts{grid-template-columns:repeat(2,minmax(0,1fr))}
  #site .sc-share-btn{min-width:0;padding-inline:12px;white-space:normal;text-align:center}
  #site .sc-foot{display:grid;gap:10px;margin-top:2px}
  #site .sc-privacy{margin-top:18px}
}

/* ---------- forced colours (Windows contrast themes): the shadows and tints go, an edge stays ---------- */
@media (forced-colors:active){
  #site .sb,#site .sb-dim,#site .sb-pill,#site .pb,#site .ck-val,#site .sc-band,#site .sc-track,#site .ck-after,#site .ck-stage,#site .sc-plan-card,#site .sc-delete{border:1px solid CanvasText}
  #site .sc-fill{background:CanvasText}
  /* the pill buttons lose their fill there: an edge keeps each one a button */
  #site :is(.ck-off-acts,.sc-missing,.sc-acts,.sc-share-acts) .btn,#site .ck-submit,#site .sc-plan-go{border:1px solid ButtonText}
  /* the ranges keep their own colours, from the system's palette */
  #site .ck-range{forced-color-adjust:none}
  #site .ck-range::-webkit-slider-runnable-track{background:linear-gradient(to right,Highlight 0,Highlight var(--p),Canvas var(--p),Canvas 100%);box-shadow:inset 0 0 0 1px CanvasText}
  #site .ck-range::-webkit-slider-thumb{background:Highlight;box-shadow:0 0 0 2px Canvas,0 0 0 3px CanvasText}
  #site .ck-range::-moz-range-track{background:Canvas;border:1px solid CanvasText}
  #site .ck-range::-moz-range-progress{background:Highlight}
  #site .ck-range::-moz-range-thumb{background:Highlight;box-shadow:0 0 0 2px Canvas,0 0 0 3px CanvasText}
  #site .ck-radio:has(input:checked){forced-color-adjust:none;border-color:Highlight;background:Highlight;color:HighlightText}
}
