/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   HLISTIX · מפת הקליניקה — the Q design system (2.3.0).
   One self-contained stylesheet for the quiz and the result (replaces pa.css on these two pages).
   Principles (from the Q concepts): calm off-white canvas, white cards, navy type, one action blue,
   pastel area tones (blue · lavender · mint · sky), soft shadows, generous radius.
   Every quiz screen fits the viewport — desktop, laptop, tablet, phone — with no page scrolling:
   the app bar + one screen. Long content scrolls inside its card; the action stays visible.
   ═══════════════════════════════════════════════════════════════════════════════════════════════ */

.pq {
  --pq-canvas: #F6F6F2;
  --pq-card: #FFFFFF;
  --pq-line: #E4E8EF;
  --pq-navy: #13295B;
  --pq-text: #24324D;
  --pq-muted: #5E6B82;
  --pq-blue: #4867F2;
  --pq-blue-d: #3552D8;
  --pq-sel: #EEF2FF;
  --pq-t1: #EEF3FD;        /* blue tone   — before / time */
  --pq-t2: #F1EEFC;        /* lavender    — during */
  --pq-t3: #E9F6F1;        /* mint        — after / brand */
  --pq-t4: #EAF4FA;        /* sky         — between */
  --pq-i1: #3D5BD9; --pq-i2: #6A55D6; --pq-i3: #1F8A72; --pq-i4: #2F7FAE;
  --pq-mint-ink: #1F7A66;
  --pq-shadow: 0 12px 34px rgba(19, 41, 91, .07), 0 2px 6px rgba(19, 41, 91, .04);
  --pq-r: 20px;
  --pq-top-h: 72px;
  --pq-foot-h: 40px;
  --pq-gap: 20px;
  --pq-maxw: 1180px;
  font-family: var(--font-body);
  color: var(--pq-text);
}
@media (max-width: 1023px) { .pq { --pq-top-h: 64px; --pq-gap: 16px; } }
@media (max-width: 767px) { .pq { --pq-top-h: 56px; --pq-gap: 12px; --pq-r: 18px; } }

.pq [hidden] { display: none !important; }
.pq *, .pq *::before, .pq *::after { box-sizing: border-box; }

/* ── page frame: app bar · one screen · slim footer ── */
body[data-page^="practice-audit"] { background: #F6F6F2; min-block-size: 100dvh; display: flex; flex-direction: column; }
body[data-page^="practice-audit"] .site-head { display: none; }
body[data-page^="practice-audit"] main#main { flex: 1 0 auto; display: flex; flex-direction: column; }
.pq { flex: 1 0 auto; display: flex; flex-direction: column; position: relative; }
.pq > :not(.pq-decor) { position: relative; z-index: 1; }

/* the slim footer strip */
.pa-foot { flex: none; position: relative; z-index: 3; background: #1B355E; color: #D9E1EE; font-size: 13px; }
.pa-foot__in { max-inline-size: 1320px; margin-inline: auto; min-block-size: var(--pq-foot-h, 40px); padding: 6px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; white-space: nowrap; }
.pa-foot a, .pa-foot summary { color: #fff; text-decoration: none; cursor: pointer; }
.pa-foot a:hover, .pa-foot summary:hover { text-decoration: underline; }
.pa-foot__edu { color: #AFC0DA; overflow: hidden; text-overflow: ellipsis; }
.pa-foot__legal { position: relative; margin-inline-start: auto; }
.pa-foot__legal > summary { list-style: none; }
.pa-foot__legal > summary::-webkit-details-marker { display: none; }
.pa-foot__legal-in { position: absolute; inset-block-end: calc(100% + 10px); inset-inline-end: 0; inline-size: min(640px, 92vw);
  max-block-size: 60vh; overflow: auto; padding: 16px 18px; border-radius: 12px; background: #fff; color: #33415C;
  box-shadow: 0 18px 50px rgba(19, 41, 91, .22); white-space: normal; font-size: 12.5px; line-height: 1.55; }
.pa-foot__legal-in p { margin: 0 0 8px; }
body.pa-focus .pa-foot { display: none; }
@media (max-width: 767px) {
  .pa-foot { font-size: 12px; }
  .pa-foot__in { padding: 6px 16px; gap: 12px; }
  .pa-foot__edu, .pa-foot__c { display: none; }
}

/* decorative edges — the herbs + 中醫 (left) and the meridian figure (right), only in the free margins */
.pq-decor { display: none; }
@media (min-width: 1280px) {
  .pq-decor { display: block; position: fixed; inset: var(--pq-top-h) 0 0 0; z-index: 0; pointer-events: none; }
  .pq-decor__l { position: absolute; inset-block: 0; inset-inline-end: 0; block-size: 100%;
    inline-size: clamp(110px, calc((100vw - var(--pq-maxw)) / 2 + 30px), 330px); object-fit: cover; object-position: left center;
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 45%); mask-image: linear-gradient(to left, transparent 0, #000 45%); }
  .pq-decor__r { position: absolute; inset-block: 0; inset-inline-start: 0; block-size: 100%;
    inline-size: clamp(80px, calc((100vw - var(--pq-maxw)) / 2 - 10px), 147px); object-fit: cover; object-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 50%); mask-image: linear-gradient(to right, transparent 0, #000 50%); }
}

/* ── shared atoms ── */
.pa-i, .pq svg { inline-size: 24px; block-size: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pq-pill { display: inline-block; margin: 0 auto 14px; padding: 6px 16px; border-radius: 999px; background: var(--pq-t3); color: var(--pq-mint-ink);
  font-size: 14px; font-weight: 700; line-height: 1.3; }
.pq-ico { flex: none; inline-size: 48px; block-size: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pq-i1); }
.pq-ico--sm { inline-size: 40px; block-size: 40px; }
.pq-ico--sm svg { inline-size: 20px; block-size: 20px; }
.pq-tone-1 { background: var(--pq-t1); } .pq-tone-1 .pq-ico { color: var(--pq-i1); }
.pq-tone-2 { background: var(--pq-t2); } .pq-tone-2 .pq-ico { color: var(--pq-i2); }
.pq-tone-3 { background: var(--pq-t3); } .pq-tone-3 .pq-ico { color: var(--pq-i3); }
.pq-tone-4 { background: var(--pq-t4); } .pq-tone-4 .pq-ico { color: var(--pq-i4); }
.pq-card { background: var(--pq-card); border: 1px solid var(--pq-line); border-radius: var(--pq-r); box-shadow: var(--pq-shadow); }
.pq-rule { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 18px; font-weight: 800; color: var(--pq-navy); }
.pq-rule::before, .pq-rule::after { content: ""; flex: 1; block-size: 1px; background: var(--pq-line); }

/* buttons */
.pq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 48px; padding: 10px 26px;
  border-radius: 12px; border: 1.5px solid transparent; font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.pq-btn:active { transform: translateY(1px); }
.pq-btn:focus-visible { outline: 3px solid rgba(72, 103, 242, .45); outline-offset: 2px; }
.pq-btn--primary { background: var(--pq-blue); color: #fff; box-shadow: 0 10px 22px rgba(72, 103, 242, .28); }
.pq-btn--primary:hover { background: var(--pq-blue-d); }
.pq-btn--ghost { background: #fff; color: var(--pq-navy); border-color: #C9D1DE; }
.pq-btn--ghost:hover { border-color: var(--pq-navy); }
.pq-btn--lg { min-block-size: 54px; padding-inline: 34px; font-size: 17px; }
.pq-btn svg { inline-size: 20px; block-size: 20px; }
.pq-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ── the app bar ── */
.pq-top { flex: none; block-size: var(--pq-top-h); background: rgba(255, 255, 255, .94); border-block-end: 1px solid var(--pq-line);
  backdrop-filter: blur(6px); }
.pq-top__in { block-size: 100%; max-inline-size: 1320px; margin-inline: auto; padding-inline: 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.pq-brand { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 14px; text-decoration: none; min-inline-size: 0; }
.pq-brand__logo { font: 700 31px/1 'DM Sans', var(--font-head); letter-spacing: .005em; color: var(--pq-navy); }
.pq-brand__tag { display: none; padding-inline-start: 14px; border-inline-start: 1px solid #CDD5E1; font: 500 12px/1.3 'DM Sans', var(--font-head);
  letter-spacing: .02em; color: #6A7891; white-space: nowrap; }
@media (min-width: 1400px) { .pq-brand__tag { display: block; } }
.pq-steps { grid-column: 2; display: grid; justify-items: center; gap: 4px; }
.pq-top__end { grid-column: 3; }
.pq .pa-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.pq .pa-steps__item { position: relative; inline-size: 92px; display: grid; justify-items: center; gap: 7px; }
.pq .pa-steps__item:not(:last-child)::after { content: ""; position: absolute; inset-block-start: 8px; inset-inline-start: calc(50% + 10px);
  inline-size: calc(100% - 20px); block-size: 2px; background: #D9DFE9; border-radius: 2px; }
.pq .pa-steps__item.is-done:not(:last-child)::after { background: var(--pq-blue); }
.pq .pa-steps__mark { inline-size: 18px; block-size: 18px; border-radius: 50%; border: 2px solid #C5CEDC; background: #fff; }
.pq .pa-steps__item.is-done .pa-steps__mark { border-color: var(--pq-blue); background: var(--pq-blue); }
.pq .pa-steps__item.is-current .pa-steps__mark { border-color: var(--pq-blue); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 9px var(--pq-blue); }
.pq .pa-steps__label { font-size: 13px; font-weight: 600; color: #6A7891; text-align: center; line-height: 1.25; }
.pq .pa-steps__item.is-current .pa-steps__label { color: var(--pq-navy); font-weight: 800; }
.pq .pa-shell__stage { display: none; margin: 0; font-size: 13.5px; color: var(--pq-muted); white-space: nowrap; }
@media (max-width: 1023px) {
  .pq-top__in { grid-template-columns: auto 1fr; padding-inline: 20px; }
  .pq-steps { grid-column: 2; justify-self: end; justify-items: end; }
  .pq-top__end { display: none; }
  .pq .pa-steps__item { inline-size: 38px; gap: 0; }
  .pq .pa-steps__label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pq .pa-steps__mark { inline-size: 14px; block-size: 14px; }
  .pq .pa-steps__item:not(:last-child)::after { inset-block-start: 6px; inset-inline-start: calc(50% + 8px); inline-size: calc(100% - 16px); }
  .pq .pa-steps__item.is-current .pa-steps__mark { box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 7px var(--pq-blue); }
  body.pa-focus .pq .pa-shell__stage { display: block; }
}
@media (max-width: 767px) {
  .pq-top__in { padding-inline: 16px; gap: 10px; }
  .pq-brand__logo { font-size: 24px; }
  .pq .pa-steps__item { inline-size: 26px; }
  .pq .pa-steps__mark { inline-size: 12px; block-size: 12px; }
  .pq .pa-steps__item:not(:last-child)::after { inset-block-start: 5px; inset-inline-start: calc(50% + 7px); inline-size: calc(100% - 14px); }
  .pq .pa-steps__item.is-current .pa-steps__mark { box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px var(--pq-blue); }
  .pq .pa-shell__stage { font-size: 12.5px; }
}
@media (max-width: 359px) { .pq .pa-shell__sep, .pq .pa-shell__title { display: none; } }

/* ═════════════ ① entry screen ═════════════ */
.pq-intro { flex: 1 0 auto; display: flex; align-items: center; justify-content: center;
  min-block-size: calc(100dvh - var(--pq-top-h) - var(--pq-foot-h)); padding: var(--pq-gap) 16px; }
.pq-intro__card { inline-size: min(1000px, 100%); padding: clamp(22px, 4.2vh, 44px) clamp(18px, 4vw, 48px) clamp(18px, 3vh, 28px); text-align: center; }
.pq-intro__h1 { margin: 0 auto clamp(10px, 1.8vh, 16px); max-inline-size: 880px; font: 800 clamp(26px, min(4vw, 5.2vh), 46px)/1.2 var(--font-body);
  color: var(--pq-navy); letter-spacing: -.005em; text-wrap: balance; }
.pq-intro__lead { margin: 0 auto clamp(12px, 2.2vh, 20px); max-inline-size: 760px; font-size: clamp(15px, min(1.6vw, 2.2vh), 19px); line-height: 1.6; color: var(--pq-muted); }
.pq-trust { list-style: none; margin: 0 0 clamp(14px, 2.6vh, 24px); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; }
.pq-trust li { display: flex; align-items: center; gap: 8px; padding-inline: 20px; font-size: 15.5px; font-weight: 600; color: var(--pq-navy); }
.pq-trust li:not(:last-child) { border-inline-end: 1px solid var(--pq-line); }
.pq-trust svg { color: var(--pq-blue); inline-size: 22px; block-size: 22px; }
.pq-outcomes { list-style: none; margin: 0 0 clamp(14px, 2.8vh, 26px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: start; }
.pq-outcomes li { display: flex; align-items: flex-start; gap: 14px; padding: clamp(12px, 2vh, 18px); border-radius: 16px; }
.pq-outcomes__tx { display: grid; gap: 4px; }
.pq-outcomes__tx strong { font-size: 17.5px; line-height: 1.3; color: var(--pq-navy); }
.pq-outcomes__tx span { font-size: 14.5px; line-height: 1.5; color: var(--pq-muted); }
.pq-start { display: grid; justify-items: center; gap: 10px; margin: 0 0 clamp(14px, 2.4vh, 22px); }
.pq-start .pa-start { min-inline-size: 300px; }
.pq-how { display: grid; justify-items: center; }
.pq-how > summary { list-style: none; min-inline-size: 220px; }
.pq-how > summary::-webkit-details-marker { display: none; }
.pq-how__steps { margin: 10px auto 0; max-inline-size: 560px; padding-inline-start: 20px; text-align: start; display: grid; gap: 4px; font-size: 15px; color: var(--pq-muted); }
.pq-band { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 12px;
  background: var(--pq-t3); color: #2D5F55; font-size: 14.5px; }
.pq-band svg { color: var(--pq-mint-ink); }
.pq-resume { margin: 0 auto 16px; padding: 14px; border-radius: 14px; background: var(--pq-t1); max-inline-size: 560px; }
.pq-resume p { margin: 0 0 10px; font-weight: 700; color: var(--pq-navy); }
/* short screens: keep the essentials, drop what repeats */
@media (max-height: 820px) and (min-width: 768px) { .pq-band { display: none; } }
@media (max-height: 720px) and (min-width: 768px) { .pq-outcomes__tx span { display: none; } .pq-outcomes li { align-items: center; } }
@media (max-width: 767px) {
  .pq-intro { align-items: stretch; padding: 12px; }
  .pq-intro__card { display: flex; flex-direction: column; justify-content: center; padding: 18px 16px 16px; }
  .pq-intro__h1 { font-size: clamp(22px, 6.6vw, 27px); }
  .pq-intro__lead { font-size: 14.5px; line-height: 1.55; }
  .pq-trust { gap: 4px 0; }
  .pq-trust li { padding-inline: 10px; font-size: 13.5px; gap: 5px; }
  .pq-trust svg { inline-size: 18px; block-size: 18px; }
  .pq-rule { font-size: 15.5px; margin-block-end: 10px; }
  .pq-outcomes { grid-template-columns: 1fr; gap: 8px; }
  .pq-outcomes li { padding: 10px 12px; gap: 12px; align-items: center; }
  .pq-outcomes .pq-ico { inline-size: 38px; block-size: 38px; }
  .pq-outcomes .pq-ico svg { inline-size: 20px; block-size: 20px; }
  .pq-outcomes__tx strong { font-size: 15px; }
  .pq-outcomes__tx span { font-size: 13px; line-height: 1.4; }
  .pq-start { margin-block-end: 0; }
  .pq-start .pa-start { inline-size: 100%; min-inline-size: 0; }
  .pq-how > summary { min-block-size: 40px; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; }
  .pq-band { display: none; }
}
@media (max-width: 767px) and (max-height: 700px) { .pq-outcomes__tx span { display: none; } .pq-intro__lead { display: none; } }

/* ═════════════ ② question screens: question card + Practice Map card ═════════════ */
.pq-run { flex: 1 0 auto; display: flex; }
.pq-stage { flex: 1; display: grid; block-size: calc(100dvh - var(--pq-top-h)); min-block-size: 0;
  grid-template-columns: minmax(0, 1fr) 310px; grid-template-areas: "main map"; gap: var(--pq-gap);
  padding: var(--pq-gap) max(24px, calc((100% - var(--pq-maxw)) / 2)); }
.pq-main { grid-area: main; min-block-size: 0; display: flex; flex-direction: column; }
.pq-main > .pq-card { flex: 1; min-block-size: 0; }
.pq-map { grid-area: map; min-block-size: 0; }

/* question card */
.pq-q { display: flex; flex-direction: column; overflow: hidden; }
.pq-form { flex: 1; min-block-size: 0; display: flex; flex-direction: column; }
.pq-fs { flex: 1; min-block-size: 0; overflow: auto; margin: 0; border: 0; min-inline-size: 0;
  padding: clamp(18px, 3.4vh, 36px) clamp(18px, 3.4vw, 44px) 12px; text-align: center; overscroll-behavior: contain; }
.pq-fs > .pq-pill { margin-block-end: clamp(10px, 1.8vh, 16px); }
.pq-q__title { float: right; inline-size: 100%; margin: 0 0 8px; padding: 0; text-align: center;
  font: 800 clamp(23px, min(2.6vw, 4.2vh), 36px)/1.25 var(--font-body); color: var(--pq-navy); text-wrap: balance; }
.pq-q__title:focus { outline: none; }
.pq-q__hint { clear: both; margin: 0 auto 4px; max-inline-size: 680px; font-size: clamp(15px, 2vh, 17px); line-height: 1.5; color: var(--pq-muted); }
.pq .pa-options { clear: both; display: grid; gap: 12px; margin-block-start: clamp(14px, 2.6vh, 26px); text-align: start; }
.pq-nav { flex: none; display: flex; align-items: center; gap: 12px; margin-inline: clamp(18px, 3.4vw, 44px);
  padding-block: 14px clamp(14px, 2.4vh, 22px); border-block-start: 1px solid var(--pq-line); }
.pq-error { clear: both; min-block-size: 0; margin: 10px 0 0; color: #B3261E; font-weight: 700; font-size: 15px; }
.pq-error:empty { display: none; }
.pq-other { clear: both; margin: 14px auto 0; max-inline-size: 560px; text-align: start; }
.pq-other label { display: block; margin-block-end: 6px; font-weight: 700; color: var(--pq-navy); }
.pq-other input { inline-size: 100%; min-block-size: 46px; padding: 8px 12px; border: 1.5px solid #C9D1DE; border-radius: 10px; font: inherit; }
.pq-warn { margin: 6px 0 0; font-size: 13px; color: var(--pq-muted); }

/* options — one visual language; exactly ONE mark per option (the native control is visually hidden) */
.pq .pa-opt { position: relative; display: flex; align-items: center; gap: 12px; min-block-size: 54px; padding: 12px 16px;
  border: 1.5px solid #DCE2EB; border-radius: 14px; background: #fff; color: var(--pq-navy); cursor: pointer;
  font-size: 16.5px; font-weight: 600; line-height: 1.35; transition: border-color .15s, background .15s, box-shadow .15s; }
.pq .pa-opt:hover { border-color: #AFC0EE; }
.pq .pa-opt > input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pq .pa-opt:has(input:focus-visible) { outline: 3px solid rgba(72, 103, 242, .4); outline-offset: 2px; }
.pq .pa-opt:has(input:checked) { border: 2px solid var(--pq-blue); background: var(--pq-sel); box-shadow: 0 8px 18px rgba(72, 103, 242, .14); }
.pq .pa-opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.pq .pa-opt__t { flex: 1; min-inline-size: 0; }
.pq .pa-opt > svg { inline-size: 22px; block-size: 22px; color: var(--pq-i1); }
.pq .pa-opt.is-confirmed { box-shadow: 0 0 0 4px rgba(72, 103, 242, .18); }
.pq-mark { flex: none; display: grid; place-items: center; order: -1; inline-size: 22px; block-size: 22px; border: 2px solid #B8C3D6; background: #fff; color: #fff; }
.pq-mark svg { inline-size: 14px; block-size: 14px; stroke-width: 3; opacity: 0; }
.pq-mark--checkbox { border-radius: 7px; }
.pq-mark--radio { border-radius: 50%; }
.pq .pa-opt:has(input:checked) .pq-mark { background: var(--pq-blue); border-color: var(--pq-blue); }
.pq .pa-opt:has(input:checked) .pq-mark svg { opacity: 1; }
/* single-choice tiles / scale / cards: the selection itself is the mark */
.pq .pa-opt--tiles .pq-mark, .pq .pa-opt--scale .pq-mark, .pq .pa-opt--cards .pq-mark--radio { display: none; }

/* tiles: short ranges in one row */
.pq .pq-opts--tiles { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.pq .pa-opt--tiles { justify-content: center; text-align: center; min-block-size: clamp(64px, 11vh, 108px);
  font: 700 clamp(18px, 2.4vh, 21px)/1.25 var(--font-body); }
/* scale: 4–5 ordered answers in one row */
.pq .pq-opts--scale { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.pq .pa-opt--scale { justify-content: center; text-align: center; min-block-size: clamp(64px, 11vh, 108px); padding: 10px 10px;
  font: 700 clamp(16px, 2.2vh, 19px)/1.3 var(--font-body); }
/* cards: a few longer answers */
.pq .pq-opts--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pq .pq-opts--cards.pq-n3, .pq .pq-opts--cards.pq-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pq .pa-opt--cards { min-block-size: clamp(54px, 8vh, 72px); }
/* grid: multi-choice with icons */
.pq .pq-opts--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pq .pa-opt--grid { min-block-size: clamp(50px, 7.2vh, 64px); padding: 10px 14px; font-size: 15.5px; }
/* list: longer single/multi answers */
.pq .pq-opts--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pq .pa-opt--list { min-block-size: clamp(50px, 7vh, 60px); padding: 10px 14px; font-size: 15.5px; }

/* severity matrix (desktop: two columns of rows, the scale once per column) */
.pq .pa-heat { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.pq .pa-heat__col { display: grid; gap: 4px; align-content: start; }
.pq .pa-heat__scale, .pq .pa-heat__row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 58px); gap: 2px; align-items: center; }
.pq .pa-heat__lv { font-size: 13px; font-weight: 700; color: var(--pq-muted); text-align: center; line-height: 1.15; }
.pq .pa-heat__row { min-block-size: 46px; padding: 4px 10px; border-radius: 12px; border: 1px solid transparent; }
.pq .pa-heat__row:nth-child(odd) { background: #F7F9FC; }
.pq .pa-heat__row.is-missing { border-color: #E29A8E; background: #FFF6F4; }
.pq .pa-sev__label { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--pq-navy); text-align: start; }
.pq .pa-sev__opt { position: relative; display: grid; place-items: center; min-block-size: 44px; cursor: pointer; }
.pq .pa-sev__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pq .pa-heat__mark { inline-size: 26px; block-size: 26px; border-radius: 50%; border: 2px solid #B8C3D6; background: #fff;
  font-size: 0; color: transparent; pointer-events: none; transition: background .12s, border-color .12s; }
.pq .pa-sev__opt:hover .pa-heat__mark { border-color: var(--pq-blue); }
.pq .pa-sev__opt:has(input:checked) .pa-heat__mark { border-color: var(--pq-blue); background: var(--pq-blue); box-shadow: inset 0 0 0 4px #fff; }
.pq .pa-sev__opt:has(input:focus-visible) .pa-heat__mark { outline: 3px solid rgba(72, 103, 242, .4); outline-offset: 2px; }
.pq .pa-sev__count { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--pq-muted); text-align: start; }
.pq .pa-heat__corner { display: block; }

/* priority: choose up to 3, then order */
.pq .pq-opts--priority { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; column-gap: 24px; }
.pq .pa-prio-pick { grid-row: 1 / span 2; display: grid; gap: 8px; }
.pq .pa-prio-pick__opt { min-block-size: 50px; padding: 8px 14px; font-size: 15.5px; }
.pq .pa-prio-pick__n { order: -1; flex: none; inline-size: 26px; block-size: 26px; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid #B8C3D6; font-size: 13px; font-weight: 800; color: #fff; }
.pq .pa-prio-pick__opt:has(input:checked) .pa-prio-pick__n { background: var(--pq-blue); border-color: var(--pq-blue); }
.pq .pa-prio-rank__h { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--pq-navy); }
.pq .pa-prio-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pq .pa-prio-rank__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--pq-t1); }
.pq .pa-prio-rank__n { flex: none; inline-size: 26px; block-size: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--pq-navy); color: #fff; font-size: 13px; font-weight: 800; }
.pq .pa-prio-rank__tx { flex: 1; display: grid; min-inline-size: 0; }
.pq .pa-prio-rank__t { font-size: 14.5px; font-weight: 700; color: var(--pq-navy); line-height: 1.3; }
.pq .pa-prio-rank__k { font-size: 12px; color: var(--pq-muted); }
.pq .pa-prio-rank__mv { display: flex; gap: 4px; }
.pq .pa-prio-rank__btn { inline-size: 32px; block-size: 32px; border-radius: 8px; border: 1px solid #C9D1DE; background: #fff; color: var(--pq-navy); cursor: pointer; font-size: 11px; }
.pq .pa-prio-rank__btn:disabled { opacity: .35; cursor: default; }

/* the Practice Map card (desktop): title · three newest learned signals · running total */
.pq-map { display: flex; flex-direction: column; background: var(--pq-card); border: 1px solid var(--pq-line); border-radius: var(--pq-r); box-shadow: var(--pq-shadow); overflow: hidden; }
.pq-map__bar { display: none; }
.pq-map__panel { flex: 1; min-block-size: 0; display: flex; flex-direction: column; padding: clamp(18px, 3vh, 28px) 20px 20px; }
.pq-map__head { margin-block-end: clamp(12px, 2.4vh, 22px); }
.pq-map__title { margin: 0; font-size: 21px; font-weight: 800; color: var(--pq-navy); }
.pq-map__sub { margin: 2px 0 0; font-size: 13.5px; color: var(--pq-muted); }
.pq-map__close { display: none; }
.pq-map__groups { display: flex; flex-direction: column; gap: 10px; }
.pq .pa-map__group, .pq .pa-map__dims { display: contents; }
.pq .pa-map__gtitle { display: none; }
.pq-dim { display: none; }
.pq-dim.is-filled.is-recent { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--pq-t1); }
.pq .pa-map__group[data-group="context"] .pq-dim { background: var(--pq-t3); }
.pq .pa-map__group[data-group="during"] .pq-dim { background: var(--pq-t2); }
.pq .pa-map__group[data-group="after"] .pq-dim { background: var(--pq-t3); }
.pq .pa-map__group[data-group="between"] .pq-dim { background: var(--pq-t4); }
.pq-dim__tx { display: grid; gap: 2px; min-inline-size: 0; }
.pq-dim__k { font-size: 14px; color: var(--pq-muted); }
.pq-dim__v { font: 800 clamp(19px, 2.8vh, 24px)/1.15 var(--font-body); color: var(--pq-navy); }
.pq-dim__ico { flex: none; inline-size: 46px; block-size: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pq-i1); }
.pq-dim.is-new { animation: pq-in .5s var(--ease, ease) both; }
@keyframes pq-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pq-map__foot { margin-block-start: auto; padding-block-start: 14px; }
.pq-map__running { display: grid; justify-items: center; gap: 6px; margin: 0; padding: 16px 14px; border-radius: 16px; background: var(--pq-t3); text-align: center; }
.pq-map__running strong { font-size: 16px; line-height: 1.4; color: var(--pq-navy); }
.pq-map__running > span:last-child { font-size: 13px; color: var(--pq-muted); }
.pq-map__running-ico { inline-size: 40px; block-size: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pq-mint-ink); }
.pq-map__building { display: none; justify-items: center; gap: 8px; padding: 16px 14px; border-top: 1px solid var(--pq-line); text-align: center; }
.pq-map__building p { margin: 0; font-size: 15px; font-weight: 600; color: var(--pq-navy); line-height: 1.45; }
.pq-map__building .pq-map__running-ico { background: var(--pq-t1); color: var(--pq-blue); }
.pq-meter { display: block; inline-size: 70%; block-size: 6px; border-radius: 6px; background: #E5EAF2; overflow: hidden; }
.pq-meter > span { display: block; block-size: 100%; inline-size: 6%; border-radius: 6px; background: var(--pq-blue); transition: inline-size .6s ease; }
/* note screens: the map shows where you are in the five stages */
.pq-mapstages { display: none; list-style: none; margin: 0; padding: 0; gap: 6px; }
.pq-mapstages li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px;
  font-size: 15.5px; color: var(--pq-muted); }
.pq-mapstages li > span:last-child { order: -1; }
.pq-mapstages__m { inline-size: 24px; block-size: 24px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #C5CEDC; color: transparent; }
.pq-mapstages__m svg { inline-size: 14px; block-size: 14px; stroke-width: 3; }
.pq-mapstages li.is-done { color: var(--pq-navy); }
.pq-mapstages li.is-done .pq-mapstages__m { background: #2BA57F; border-color: #2BA57F; color: #fff; }
.pq-mapstages li.is-current { background: var(--pq-t1); color: var(--pq-navy); font-weight: 800; }
.pq-mapstages li.is-current .pq-mapstages__m { border-color: var(--pq-blue); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 9px var(--pq-blue); }
.pq.is-note .pq-mapstages { display: grid; }
.pq.is-note .pq-map__groups, .pq.is-note .pq-map__running { display: none !important; }
.pq.is-note .pq-map__building { display: grid; }

/* note screens: insight · branch · chapter · explanation — same frame as a question */
.pq-note { display: flex; flex-direction: column; overflow: hidden; }
.pq-note__in { flex: 1; min-block-size: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(20px, 3.6vh, 40px) clamp(18px, 4vw, 52px) 8px; text-align: center; }
.pq-note__title { margin: 0 0 clamp(10px, 2vh, 18px); max-inline-size: 760px; font: 800 clamp(23px, min(2.8vw, 4.4vh), 38px)/1.25 var(--font-body); color: var(--pq-navy); text-wrap: balance; }
.pq-note__title:focus { outline: none; }
.pq-note__line { margin: 0 auto 10px; max-inline-size: 700px; font-size: clamp(16px, 2.2vh, 19px); line-height: 1.6; color: var(--pq-text); }
.pq-note__interp { margin: 4px auto 10px; max-inline-size: 700px; font-size: clamp(15.5px, 2.1vh, 18px); line-height: 1.6; color: var(--pq-muted); }
.pq-note__ctx { margin: 0 auto; max-inline-size: 660px; font-size: 15px; color: var(--pq-muted); }
.pq-note__meta { margin: 6px 0 0; font-size: 14px; color: var(--pq-muted); }
.pq-note__ico { display: grid; place-items: center; inline-size: 60px; block-size: 60px; margin-block-end: 14px; border-radius: 50%; background: var(--pq-t1); color: var(--pq-blue); }
.pq-note__ico svg { inline-size: 30px; block-size: 30px; }
.pq-note__nav { flex: none; display: flex; justify-content: center; padding: 12px 20px clamp(18px, 3vh, 30px); }
.pq-note__nav .pq-btn { min-inline-size: min(300px, 100%); }
.pq .pa-explain__list { display: none; }
.pq .pa-explain__foot--key { font-weight: 700; color: var(--pq-navy); }
/* insight hero: the number in a soft box, like the concept */
.pq-hero { position: relative; display: flex; align-items: center; gap: 22px; margin: 4px auto clamp(14px, 2.6vh, 22px); padding: clamp(14px, 2.6vh, 24px) clamp(22px, 3vw, 40px);
  border-radius: 22px; background: linear-gradient(135deg, #F1F5FF, #EEF0FD); text-align: start; }
.pq-hero::before, .pq-hero::after { content: ""; position: absolute; inset-block-start: 50%; inline-size: 26px; block-size: 3px; border-radius: 3px;
  background: #F2C14E; box-shadow: 0 -16px 0 #BFD0F7, 0 16px 0 #F2C14E; }
.pq-hero::before { inset-inline-end: -40px; transform: rotate(-20deg); }
.pq-hero::after { inset-inline-start: -40px; transform: rotate(20deg); }
.pq-hero__ico { flex: none; inline-size: 64px; block-size: 64px; display: grid; place-items: center; color: var(--pq-blue); }
.pq-hero__ico svg { inline-size: 54px; block-size: 54px; stroke-width: 2.6; }
.pq-hero__tx { display: grid; gap: 2px; }
.pq-hero__n { margin: 0; font: 800 clamp(34px, min(4.6vw, 7vh), 58px)/1.05 var(--font-body); color: var(--pq-navy); }
.pq-hero__n:focus { outline: none; }
.pq-hero__sub { margin: 0; font-size: clamp(16px, 2.4vh, 21px); color: var(--pq-muted); }
.pq-facts { list-style: none; margin: 0 auto clamp(12px, 2.2vh, 18px); padding: 0; inline-size: min(100%, 820px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 12px; }
.pq-facts__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; text-align: start; }
.pq-facts__tx { display: grid; gap: 2px; min-inline-size: 0; }
.pq-facts__k { font-size: 14px; color: var(--pq-muted); line-height: 1.3; }
.pq-facts__v { font-size: 17px; color: var(--pq-navy); line-height: 1.3; }
.pq-chain { list-style: none; margin: 0 auto clamp(12px, 2.2vh, 18px); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pq-chain li { padding: 9px 16px; border-radius: 999px; background: var(--pq-t3); color: var(--pq-navy); font-weight: 700; font-size: 15px; }
.pq-chain li:not(:last-child)::after { content: "←"; margin-inline-start: 12px; color: #8C9BB3; }

/* ═════════════ ③ building the map ═════════════ */
.pq-build { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-block-size: calc(100dvh - var(--pq-top-h)); padding: 16px; }
.pq-build__card { inline-size: min(560px, 100%); padding: clamp(28px, 6vh, 52px) 32px; text-align: center; }
.pq-build__ico { display: inline-grid; place-items: center; inline-size: 72px; block-size: 72px; margin-block-end: 16px; border-radius: 50%; background: var(--pq-t1); color: var(--pq-blue); }
.pq-build__ico svg { inline-size: 36px; block-size: 36px; animation: pq-pulse 1.4s ease-in-out infinite; }
@keyframes pq-pulse { 50% { transform: scale(1.08); } }
.pq-build__msg { margin: 0 0 22px; font: 800 clamp(22px, 3vw, 30px)/1.3 var(--font-body); color: var(--pq-navy); }
.pq-parts { list-style: none; margin: 0 auto 8px; padding: 0; display: grid; gap: 10px; max-inline-size: 380px; text-align: start; }
.pq-parts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #F6F8FB; color: var(--pq-muted); font-size: 16px; transition: background .3s, color .3s; }
.pq-parts__m { flex: none; inline-size: 24px; block-size: 24px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #C5CEDC; color: transparent; transition: all .3s; }
.pq-parts__m svg { inline-size: 14px; block-size: 14px; stroke-width: 3; }
.pq-parts li.is-on { background: var(--pq-t3); color: var(--pq-navy); font-weight: 700; }
.pq-parts li.is-on .pq-parts__m { background: #2BA57F; border-color: #2BA57F; color: #fff; }

/* ═════════════ tablet (768–1023): the map is a strip above the question ═════════════ */
@media (max-width: 1023px) {
  .pq-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "map" "main"; padding: var(--pq-gap) 24px; }
  .pq-map__panel { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; }
  .pq-map__head { flex: none; inline-size: 150px; margin: 0; }
  .pq-map__title { font-size: 16px; }
  .pq-map__sub { font-size: 12px; }
  .pq-map__groups { flex: 1; flex-direction: row; gap: 8px; min-inline-size: 0; }
  .pq-dim.is-filled.is-recent { flex: 1 1 0; min-inline-size: 0; padding: 8px 10px; }
  .pq-dim__ico { display: none; }
  .pq-dim__k { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pq-dim__v { font-size: 17px; }
  .pq-map__foot, .pq.is-note .pq-mapstages { display: none !important; }
  .pq.is-note .pq-map__groups { display: flex !important; }
}

/* ═════════════ phone (< 768): question first, the map is a bar under it that opens as a sheet ═════════════ */
@media (max-width: 767px) {
  .pq-stage { grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "main" "map"; padding: 10px 10px 10px; gap: 10px; }
  .pq-map { border-radius: 14px; overflow: visible; box-shadow: none; }
  .pq-map__bar { display: flex; align-items: center; gap: 10px; inline-size: 100%; min-block-size: 50px; padding: 6px 12px; border: 0; background: none;
    font: inherit; color: var(--pq-navy); text-align: start; cursor: pointer; }
  .pq-map__bar-ico { flex: none; inline-size: 34px; block-size: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--pq-t1); color: var(--pq-blue); }
  .pq-map__bar-ico svg { inline-size: 18px; block-size: 18px; }
  .pq-map__bar-tx { flex: 1; display: grid; min-inline-size: 0; font-size: 14px; font-weight: 700; }
  .pq-map__bar-v, .pa-map__summary-last { font-size: 12.5px; font-weight: 500; color: var(--pq-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pa-map__summary-last:empty { display: none; }
  .pq-map__bar.has-last .pq-map__bar-v { display: none; }
  .pq-map__bar-open { flex: none; font-size: 13px; font-weight: 700; color: var(--pq-blue); }
  .pq-map__panel { display: none; }
  .pq-map.is-open .pq-map__panel { display: flex; flex-direction: column; position: fixed; z-index: 40; inset-inline: 0; inset-block-end: 0;
    max-block-size: 78dvh; overflow: auto; padding: 18px 16px 22px; background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -18px 50px rgba(19, 41, 91, .2); }
  .pq-map.is-open .pq-map__head { display: grid; grid-template-columns: 1fr auto; align-items: start; inline-size: auto; margin-block-end: 12px; }
  .pq-map.is-open .pq-map__close { display: inline-flex; grid-row: 1 / span 2; grid-column: 2; padding: 6px 12px; border: 1px solid #C9D1DE; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--pq-navy); }
  .pq-map.is-open .pq-dim.is-filled { display: flex; }                /* the sheet shows everything learned so far */
  .pq-map.is-open .pq-map__foot { display: block !important; }
  .pq-scrim:not([hidden]) { position: fixed; inset: 0; z-index: 39; background: rgba(19, 41, 91, .35); }
  .pq.is-note .pq-map { display: none; }

  .pq-fs { padding: 16px 14px 8px; }
  .pq-fs > .pq-pill { margin-block-end: 8px; font-size: 13px; padding: 4px 12px; }
  .pq-q__title { font-size: clamp(20px, 5.8vw, 24px); }
  .pq-q__hint { font-size: 14.5px; }
  .pq .pa-options { gap: 8px; margin-block-start: 14px; }
  .pq-nav { margin-inline: 14px; padding-block: 10px 12px; }
  .pq-nav [data-pa-next] { flex: 1; }
  .pq .pa-opt { min-block-size: 48px; padding: 9px 12px; font-size: 15px; border-radius: 12px; }
  .pq .pq-opts--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pq .pa-opt--tiles { min-block-size: 62px; font-size: 17px; }
  .pq .pq-opts--scale { grid-auto-flow: row; grid-template-columns: 1fr; }
  .pq .pa-opt--scale { min-block-size: 50px; font-size: 16px; }
  .pq .pq-opts--cards, .pq .pq-opts--list, .pq .pq-opts--grid { grid-template-columns: 1fr; }
  .pq .pa-opt--cards, .pq .pa-opt--list, .pq .pa-opt--grid { min-block-size: 46px; }
  .pq .pq-opts--list.pq-n10 .pa-opt, .pq .pq-opts--grid.pq-n10 .pa-opt, .pq .pq-opts--grid.pq-n9 .pa-opt { min-block-size: 42px; padding-block: 7px; font-size: 14.5px; }
  .pq .pq-opts--priority { grid-template-columns: 1fr; }
  .pq .pa-prio-pick { grid-row: auto; }
  /* the matrix, one statement at a time */
  .pq .pa-heat { grid-template-columns: 1fr; }
  .pq .pa-heat__scale { display: none; }
  .pq .pq-heat--step .pa-heat__col { display: contents; }
  .pq .pq-heat--step .pa-heat__row { display: none; }
  .pq .pq-heat--step .pa-heat__row.is-active { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0; background: none; border: 0; }
  .pq .pq-heat--step .pa-sev__label { margin-block-end: 6px; font-size: 18px; font-weight: 700; text-align: center; min-block-size: 3.2em; display: grid; place-items: center; }
  .pq .pq-heat--step .pa-sev__opt { min-block-size: 50px; border: 1.5px solid #DCE2EB; border-radius: 12px; background: #fff; }
  .pq .pq-heat--step .pa-heat__mark { inline-size: auto; block-size: auto; border: 0; background: none; box-shadow: none; font-size: 16px; font-weight: 700; color: var(--pq-navy); }
  .pq .pq-heat--step .pa-sev__opt:has(input:checked) { border: 2px solid var(--pq-blue); background: var(--pq-sel); }
  .pq .pq-heat--step .pa-sev__opt:has(input:checked) .pa-heat__mark { background: none; box-shadow: none; color: var(--pq-blue); }
  .pq-pager { display: flex; align-items: center; justify-content: space-between; margin-block-start: 12px; }
  .pq-pager__b { min-block-size: 40px; padding: 6px 14px; border: 1px solid #C9D1DE; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--pq-navy); }
  .pq-pager__b:disabled { opacity: .35; }
  .pq-pager__pos { font-weight: 800; color: var(--pq-navy); }
  .pq .pa-sev__count { text-align: center; }

  .pq-note__in { padding: 18px 16px 8px; }
  .pq-hero { gap: 12px; padding: 14px 18px; }
  .pq-hero::before, .pq-hero::after { display: none; }
  .pq-hero__ico { inline-size: 44px; block-size: 44px; }
  .pq-hero__ico svg { inline-size: 36px; block-size: 36px; }
  .pq-facts { grid-auto-flow: row; grid-template-columns: 1fr; gap: 8px; }
  .pq-facts__item { padding: 10px 12px; }
  .pq-note__nav { padding: 10px 14px 14px; }
  .pq-note__nav .pq-btn { inline-size: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pq *, .pq *::before, .pq *::after { animation: none !important; transition: none !important; }
}

/* the matrix takes the full width (the map returns on the next screen) */
@media (min-width: 768px) {
  body.pa-wide .pq-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "main"; }
  body.pa-wide .pq-map { display: none; }
}
/* multi-choice with icons: the icon carries the option; the selection shows as a corner check badge */
.pq .pa-opt--grid .pq-mark { order: 3; position: absolute; inset-block-start: -8px; inset-inline-end: -8px; inline-size: 22px; block-size: 22px;
  border: 0; border-radius: 50%; background: var(--pq-blue); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.pq .pa-opt--grid:has(input:checked) .pq-mark { opacity: 1; transform: none; }
.pq .pa-opt--grid > svg { inline-size: 24px; block-size: 24px; }
/* proportions: the question fills its card like the concept (bigger title, taller answers, breathing room) */
@media (min-width: 768px) {
  .pq-fs { padding-block-start: clamp(18px, 5vh, 56px); }
  .pq-q__title { font-size: clamp(24px, min(3vw, 4.8vh), 44px); margin-block-end: 10px; }
  .pq-q__hint { font-size: clamp(15px, 2.2vh, 18px); }
  .pq .pa-options { margin-block-start: clamp(16px, 4vh, 40px); gap: clamp(10px, 1.5vh, 14px); }
  .pq .pa-opt--tiles, .pq .pa-opt--scale { min-block-size: clamp(66px, 14vh, 132px); font-size: clamp(17px, 2.6vh, 23px); border-radius: 16px; }
  .pq .pa-opt--cards { min-block-size: clamp(56px, 9vh, 84px); font-size: clamp(16px, 2.1vh, 18px); }
  .pq .pa-opt--grid, .pq .pa-opt--list { min-block-size: clamp(50px, 7.6vh, 70px); font-size: clamp(15px, 2vh, 17px); }
  .pq .pq-opts--list.pq-n10 .pa-opt, .pq .pq-opts--grid.pq-n10 .pa-opt { min-block-size: clamp(46px, 6.6vh, 62px); }
}
/* priority: until something is chosen, the order column explains itself */
.pq .pq-opts--priority:not(:has(.pa-prio-rank__item)) .pa-prio-rank__h { padding: 34px 18px; border: 1.5px dashed #C9D1DE; border-radius: 14px;
  text-align: center; font-weight: 600; color: var(--pq-muted); }

/* entry screen on short viewports (laptops 768px tall, small phones): CTA + "how" side by side, tighter rhythm */
@media (max-height: 820px) and (min-width: 768px) {
  .pq-start { grid-auto-flow: column; justify-content: center; align-items: start; gap: 12px; }
  .pq-how > summary { min-inline-size: 0; min-block-size: 54px; }
  .pq-intro { padding-block: 12px; }
}
@media (max-width: 767px) and (max-height: 780px) {
  .pq-outcomes__tx span { display: none; }
  .pq-outcomes li { padding-block: 8px; }
  .pq-intro__lead { font-size: 13.5px; margin-block-end: 10px; }
  .pq-trust { margin-block-end: 10px; }
  .pq-pill { margin-block-end: 8px; }
}

@media (max-width: 767px) {
  .pq-fs > .pq-pill { display: none; }            /* the app bar already names the stage */
  .pq .pq-heat--step ~ .pa-sev__count { display: none; }
  .pq .pq-opts--grid.pq-n10, .pq .pq-opts--list.pq-n10 { gap: 6px; }
}

/* the question block is centred in its card: the legend names the group for assistive tech (visually hidden),
   the identical visible heading sits inside the centred block */
.pq-legend { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pq-fs { display: flex; flex-direction: column; }
.pq-fs__in { margin-block: auto; display: flex; flex-direction: column; align-items: stretch; }
.pq-fs__in > .pq-pill { align-self: center; }
.pq-q__title { float: none; }
@media (min-width: 768px) { .pq-fs { padding-block: clamp(16px, 3vh, 36px) 12px; } }

@media (min-width: 768px) and (max-width: 1023px) { .pq-q__title { font-size: clamp(26px, min(4.2vw, 4.4vh), 40px); } .pq .pa-opt--tiles, .pq .pa-opt--scale { min-block-size: clamp(80px, 12vh, 128px); } }
@media (max-width: 767px) and (max-height: 780px) { .pq-intro__h1 { font-size: 21.5px; margin-block-end: 8px; } .pq-rule { margin-block-end: 8px; } .pq-outcomes { margin-block-end: 12px; } }
@media (max-width: 767px) { .pq-q__title { font-size: clamp(22px, 6.2vw, 26px); } }

/* ═══════════════════════════ 2.4.0 — final production instructions ═══════════════════════════ */
.pq { --pq-maxw: 1200px; --pq-green: #2BA57F; }

/* header: left = HLISTIX logo + English tagline (stacked, left-aligned) · centre = stage progress · right = clear */
.pq-top__start { grid-column: 1; }
.pq-brand { grid-column: 3; justify-self: end; display: grid; justify-items: start; gap: 3px; text-align: left; }
.pq-brand__logo { font-size: 30px; line-height: 1; }
.pq-brand__tag { display: block; padding: 0; border: 0; font: 500 12.5px/1.35 'DM Sans', var(--font-head); letter-spacing: .02em; color: #5E6B82; white-space: nowrap; }
@media (max-width: 1399px) { .pq-brand__tag { white-space: normal; max-inline-size: 230px; } }
@media (max-width: 1023px) {
  .pq-top__in { grid-template-columns: 1fr auto; }
  .pq-top__start { display: none; }
  .pq-steps { grid-column: 1; justify-self: start; justify-items: start; }
  .pq-brand { grid-column: 2; }
}
@media (max-width: 599px) { .pq-brand__tag { display: none; } }

/* stage progress: completed = green check · current = HLISTIX blue · upcoming = muted */
.pq .pa-steps__mark { display: grid; place-items: center; color: transparent; }
.pq .pa-steps__mark svg { inline-size: 11px; block-size: 11px; stroke-width: 3.4; }
.pq .pa-steps__item.is-done .pa-steps__mark { background: var(--pq-green); border-color: var(--pq-green); color: #fff; }
.pq .pa-steps__item.is-done:not(:last-child)::after { background: var(--pq-green); }
.pq .pa-steps__item.is-current .pa-steps__mark { background: #fff; color: transparent; }
@media (max-width: 1023px) { .pq .pa-steps__mark svg { inline-size: 9px; block-size: 9px; } }

/* the live intelligence panel is narrower (220–260px); the question takes the rest */
@media (min-width: 1024px) {
  .pq-stage { grid-template-columns: minmax(0, 1fr) 250px; }
  .pq-map__panel { padding-inline: 16px; }
  .pq-dim.is-filled.is-recent { padding: 12px 14px; }
  .pq-dim__ico { inline-size: 40px; block-size: 40px; }
  .pq-dim__v { font-size: clamp(18px, 2.6vh, 22px); }
}

/* typography (Heebo, as on the Israel landing page) */
@media (min-width: 768px) {
  .pq-q__title { font-size: clamp(26px, min(2.8vw, 4.6vh), 40px); font-weight: 700; }
  .pq-q__hint { font-size: clamp(16px, 2.1vh, 17px); }
  .pq .pa-opt { font-size: 17px; font-weight: 600; }
  .pq .pa-opt--tiles, .pq .pa-opt--scale { font-size: clamp(17px, 2.3vh, 19px); font-weight: 700; }
  .pq .pa-opt--cards { font-size: clamp(17px, 2.2vh, 18px); }
  .pq .pa-opt--grid, .pq .pa-opt--list { font-size: 17px; }
  .pq .pq-opts--list.pq-n10 .pa-opt, .pq .pq-opts--grid.pq-n10 .pa-opt { font-size: 16px; }
  .pq-note__title { font-size: clamp(26px, min(2.8vw, 4.6vh), 40px); font-weight: 700; }
  .pq-note__line { font-size: clamp(17px, 2.2vh, 18px); }
}
.pq-outcomes__tx span, .pq-band { font-size: 15px; }
.pq-map__sub, .pq-map__running > span:last-child, .pq-dim__k { font-size: 14px; }
.pq-fine, .pa-foot { font-size: 13px; }
.pq-btn { font-size: 16px; font-weight: 600; }
.pq-btn--lg { font-size: 17px; }

/* "no need to calculate" — only on the time questions that may cause hesitation */
.pq-q__est { clear: both; margin: 6px auto 0; max-inline-size: 620px; font-size: 15px; line-height: 1.5; color: var(--pq-mint-ink); }

/* insight box: no yellow accents — HLISTIX blue + mint only */
.pq-hero::before, .pq-hero::after { background: #BFD0F7; box-shadow: 0 -16px 0 #CDEBE0, 0 16px 0 #BFD0F7; }

/* phone: the compact "map so far" sits above the question */
@media (max-width: 767px) {
  .pq-stage { grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "map" "main"; }
  .pq-q__title { font-size: clamp(24px, 6.8vw, 28px); }
  .pq-q__hint, .pq-q__est { font-size: 15.5px; }
  .pq .pa-opt { font-size: 16px; }
  .pq .pq-opts--list.pq-n10 .pa-opt, .pq .pq-opts--grid.pq-n10 .pa-opt, .pq .pq-opts--grid.pq-n9 .pa-opt { font-size: 15.5px; }
  .pq-note__line { font-size: 16px; }
}

/* ═════════════ ④ the Practice Map (result) — one desktop screen ═════════════ */
.pq-result { padding-block-end: 8px; }
.pq-dash, .pq-after, .pq-more, .pq-endnote { inline-size: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.pq-dash { display: grid; gap: 12px; padding-block-start: 12px; }

/* 1–3: clinic type · weekly hours · main bottleneck */
.pq-id { padding: 18px 26px; }
.pq-id__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 200px; align-items: center; gap: 26px; }
.pq-id__type { text-align: start; }
.pq-id__title { margin: 0 0 8px; font: 700 22px/1.2 var(--font-body); color: var(--pq-muted); }
.pq-id__k { margin: 0; font-size: 14px; font-weight: 700; color: var(--pq-mint-ink); }
.pq-id__name { margin: 2px 0 6px; font: 800 clamp(32px, 3vw, 42px)/1.15 var(--font-body); color: var(--pq-navy); }
.pq-id__tag { margin: 0; max-inline-size: 540px; font-size: 17px; line-height: 1.5; color: var(--pq-text); }
.pq-id__hours { text-align: center; padding-inline: 22px; border-inline: 1px solid var(--pq-line); }
.pq-id__num { margin: 0; font: 800 clamp(40px, 3.8vw, 58px)/1.1 var(--font-body); color: var(--pq-navy); white-space: nowrap; }
.pq-id__sub { margin: 2px 0 10px; font-size: 18px; font-weight: 600; color: var(--pq-muted); }
.pq-id__bn { display: inline-block; margin: 0; padding: 8px 16px; border-radius: 12px; background: var(--pq-t1); font-size: 16px; line-height: 1.4; color: var(--pq-muted); }
.pq-id__bn strong { color: var(--pq-navy); }
.pq-id__basis { margin: 8px 0 0; font-size: 13px; color: var(--pq-muted); }
.pq-days { position: relative; display: flex; align-items: center; justify-content: center; }
.pq .pq-clock { flex: none; inline-size: 96px; block-size: 96px; stroke: none; filter: drop-shadow(0 10px 18px rgba(72, 103, 242, .18)); }
.pq-clock__ring { fill: #fff; stroke: #CBD8FA; stroke-width: 6; }
.pq-clock__face { fill: #fff; stroke: #E6ECFB; stroke-width: 2; }
.pq-clock__ticks line { stroke: #8EA2D8; stroke-width: 2; stroke-linecap: round; }
.pq-clock__min { stroke: var(--pq-blue); stroke-width: 4; stroke-linecap: round; }
.pq-clock__hr { stroke: var(--pq-blue); stroke-width: 5; stroke-linecap: round; }
.pq-clock__pin { fill: var(--pq-blue); }
.pq-days__note { order: 2; margin: 30px -10px 0 0; display: grid; gap: 3px; inline-size: 110px; padding: 10px 11px; border-radius: 6px;
  background: linear-gradient(180deg, #F6F8FE, #EEF2FC); transform: rotate(-5deg); box-shadow: 0 8px 18px rgba(19, 41, 91, .1); }
.pq-days__note strong { font-size: 15px; font-weight: 600; line-height: 1.35; color: #2D4C95; }
.pq-days__note span { font-size: 13px; line-height: 1.3; color: var(--pq-muted); }

/* 4–5: what we found (right) · where to start (left) */
.pq-dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pq-found, .pq-startl { padding: 16px 22px 18px; }
.pq-sec__h { margin: 0 0 12px; font: 800 22px/1.3 var(--font-body); color: var(--pq-navy); }
.pq-found__kv { margin: 0 0 12px; display: grid; gap: 6px; }
.pq-found__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 12px; border-radius: 12px; background: #F6F8FB; }
.pq-found__row--1 { background: var(--pq-t1); }
.pq-found__row dt { font-size: 14px; color: var(--pq-muted); }
.pq-found__row dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--pq-navy); text-align: end; }
.pq-found__k { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--pq-muted); }
.pq-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pq-bar { display: grid; grid-template-columns: 30px 150px minmax(0, 1fr) 70px; align-items: center; gap: 10px; min-block-size: 30px; }
.pq-bar__ico { inline-size: 30px; block-size: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--pq-t1); color: var(--pq-i1); }
.pq-bar__ico svg { inline-size: 16px; block-size: 16px; }
.pq-bar__label { font-size: 15px; font-weight: 600; color: var(--pq-navy); }
.pq-bar__track { block-size: 12px; border-radius: 6px; background: #EEF1F6; overflow: hidden; }
.pq-bar__fill { display: block; block-size: 100%; border-radius: 6px; background: #6A86F0; }
.pq-bar__v { font-size: 15px; font-weight: 800; color: var(--pq-navy); text-align: end; white-space: nowrap; }
.pq-bar__text { grid-column: 3 / span 2; font-size: 14px; color: var(--pq-muted); }
.pq-bar--during .pq-bar__ico { background: var(--pq-t2); color: var(--pq-i2); } .pq-bar--during .pq-bar__fill { background: #8C7BE3; }
.pq-bar--after .pq-bar__ico { background: var(--pq-t3); color: var(--pq-i3); } .pq-bar--after .pq-bar__fill { background: #3FAE8C; }
.pq-bar--between .pq-bar__ico { background: var(--pq-t4); color: var(--pq-i4); } .pq-bar--between .pq-bar__fill { background: #4F9FCC; }
.pq-steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pq-steps3__item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border: 1px solid var(--pq-line); border-radius: 14px; }
.pq-steps3__n { flex: none; inline-size: 30px; block-size: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--pq-blue); color: #fff; font-size: 15px; font-weight: 800; }
.pq-steps3__tx { display: grid; gap: 2px; min-inline-size: 0; }
.pq-steps3__tx strong { font-size: 17px; line-height: 1.35; color: var(--pq-navy); }
.pq-steps3__tx span { font-size: 15px; line-height: 1.45; color: var(--pq-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 6: share the map (right) · HLISTIX (left, compact) */
.pq-dash__row3 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
.pq-sharem { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 18px; padding: 14px 18px 14px 14px; }
.pq-sharem__card { padding: 14px 16px; border-radius: 16px; background: linear-gradient(150deg, #EEF3FD 0%, #E9F6F1 100%); }
.pq-sharem__card p { margin: 0; }
.pq-sharem__t { font-size: 13px; font-weight: 700; color: var(--pq-muted); }
.pq-sharem__name { margin-block: 2px 4px !important; font: 800 21px/1.25 var(--font-body); color: var(--pq-navy); }
.pq-sharem__h { font-size: 14px; font-weight: 700; color: var(--pq-mint-ink); }
.pq-sharem__b { margin-block-start: 2px !important; font-size: 14px; line-height: 1.4; color: var(--pq-navy); }
.pq-sharem__brand { margin-block-start: 8px !important; font: 700 13px/1 'DM Sans', var(--font-head); color: var(--pq-navy); text-align: left; }
.pq-sharem__ask { margin: 0; font: 800 19px/1.3 var(--font-body); color: var(--pq-navy); }
.pq-sharem__sub { margin: 4px 0 10px; font-size: 15px; line-height: 1.45; color: var(--pq-muted); }
.pq-sharem__img { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-block-start: 8px; }
.pq-btns--start { justify-content: flex-start; }
.pq-link { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--pq-blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pq-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--pq-text); cursor: pointer; }
.pq-consent input { margin-block-start: 3px; inline-size: 18px; block-size: 18px; accent-color: var(--pq-blue); }
.pq-consent--inline { align-items: center; font-size: 13px; color: var(--pq-muted); }
.pq-consent--inline input { margin: 0; inline-size: 16px; block-size: 16px; }
.pq-hlx { padding: 14px 20px; background: linear-gradient(100deg, #F3FAF7, #EEF6F3); border-color: #D6ECE4; }
.pq-hlx__h { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 800 19px/1.3 var(--font-body); color: var(--pq-navy); }
.pq-hlx__h svg { color: var(--pq-mint-ink); }
.pq-hlx__p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: var(--pq-text); }
.pq-hlx__honest { margin: -4px 0 10px; font-size: 13px; line-height: 1.4; color: var(--pq-muted); }
.pq-hlx .pq-fine { margin: 6px 0 0; }
.pq-thanks { margin: 6px 0 0; font-weight: 700; color: var(--pq-mint-ink); font-size: 14px; }
.pq-thanks:empty { display: none; }

/* after the main viewport: rate · keep · more details */
.pq-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block-start: 14px; align-items: start; }
.pq-box { padding: 18px 22px; }
.pq-box h2 { margin: 0 0 6px; font: 800 19px/1.35 var(--font-body); color: var(--pq-navy); }
.pq-box__p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--pq-muted); }
.pq-rate { margin: 0 0 14px; padding: 0; border: 0; }
.pq-rate legend { margin: 0 0 8px; padding: 0; font-weight: 800; font-size: 16px; color: var(--pq-navy); }
.pq-rate__scale { display: flex; gap: 8px; flex-wrap: wrap; }
.pq-chip { position: relative; display: grid; place-items: center; min-inline-size: 46px; min-block-size: 44px; padding: 0 12px; border: 1.5px solid #DCE2EB; border-radius: 12px;
  background: #fff; cursor: pointer; font-weight: 700; color: var(--pq-navy); }
.pq-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pq-chip:has(input:checked) { border: 2px solid var(--pq-blue); background: var(--pq-sel); color: var(--pq-blue); }
.pq-chip:has(input:focus-visible) { outline: 3px solid rgba(72, 103, 242, .4); outline-offset: 2px; }
.pq-chip--w { min-inline-size: 80px; }
.pq-rate__ends { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 13px; color: var(--pq-muted); max-inline-size: 290px; }
.pq-mail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pq-field { display: grid; gap: 4px; }
.pq-field--full, .pq-mail .pq-consent, .pq-mail .pq-fine, .pq-mail .pq-error, .pq-mail .pq-thanks { grid-column: 1 / -1; }
.pq-field label { font-size: 14px; font-weight: 700; color: var(--pq-navy); }
.pq-field input { inline-size: 100%; min-inline-size: 0; min-block-size: 44px; padding: 8px 12px; border: 1.5px solid #C9D1DE; border-radius: 10px; font: inherit; }
.pq-field input:focus { outline: 3px solid rgba(72, 103, 242, .3); border-color: var(--pq-blue); }
.pq-opt { font-weight: 400; color: var(--pq-muted); }
.pq-mail .pq-fine { margin: 0; }
.pq-mail button[type="submit"] { justify-self: start; }
.pq-more { margin-block: 12px 0; padding: 0; }
.pq-more > summary { list-style: none; padding: 14px 22px; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--pq-navy); }
.pq-more > summary::-webkit-details-marker { display: none; }
.pq-more > summary::after { content: "+"; float: left; color: var(--pq-blue); font-weight: 800; }
.pq-more[open] > summary::after { content: "–"; }
.pq-more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 22px 18px; }
.pq-more__h { margin: 0 0 8px; font: 800 17px/1.35 var(--font-body); color: var(--pq-navy); }
.pq-more__list { margin: 0 0 10px; padding-inline-start: 18px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
.pq-more__p { margin: 0; font-size: 15px; }
.pq-spot { margin-block-start: 12px; }
.pq-spot__k { margin: 0; font-size: 13px; font-weight: 700; color: var(--pq-mint-ink); }
.pq-spot h3 { margin: 2px 0 4px; font-size: 17px; color: var(--pq-navy); }
.pq-spot p { margin: 0 0 8px; font-size: 15px; }
.pq-endnote { margin-block: 12px 14px; text-align: center; }

@media (max-width: 1239px) {
  .pq-id__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .pq-days { display: none; }
  .pq-id__hours { border-inline-end: 0; padding-inline-end: 0; }
}
@media (max-width: 1023px) {
  .pq-dash__grid, .pq-dash__row3 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .pq-dash, .pq-after, .pq-more, .pq-endnote { inline-size: calc(100% - 20px); }
  .pq-dash { gap: 10px; padding-block-start: 10px; }
  .pq-id { padding: 16px; }
  .pq-id__row { grid-template-columns: 1fr; gap: 14px; }
  .pq-id__title { font-size: 21px; }
  .pq-id__name { font-size: clamp(28px, 8vw, 34px); }
  .pq-id__tag { font-size: 16px; }
  .pq-id__hours { border: 0; border-block-start: 1px solid var(--pq-line); padding: 14px 0 0; }
  .pq-id__num { white-space: normal; font-size: clamp(34px, 10vw, 44px); }
  .pq-id__sub { font-size: 16px; }
  .pq-found, .pq-startl { padding: 14px 16px; }
  .pq-sec__h { font-size: 21px; }
  .pq-bar { grid-template-columns: 26px 104px minmax(0, 1fr) 62px; gap: 8px; }
  .pq-bar__label { font-size: 14px; }
  .pq-sharem { grid-template-columns: 1fr; padding: 14px; }
  .pq-after, .pq-more__grid { grid-template-columns: 1fr; }
  .pq-mail { grid-template-columns: minmax(0, 1fr); }
  .pq-steps3__tx span { -webkit-line-clamp: unset; }
}

/* hours column: the number always fits on one line at desktop widths */
@media (min-width: 1240px) { .pq-id__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) 168px; gap: 22px; } }
.pq-id__num { font-size: clamp(40px, 3.4vw, 54px); }
@media (min-width: 1024px) {
  .pq-id { padding-block: 16px; }
  .pq-steps3 { gap: 8px; }
  .pq-steps3__item { padding: 10px 14px; }
  .pq-found, .pq-startl { padding-block: 14px 16px; }
  .pq-sec__h { margin-block-end: 10px; }
}

@media (min-width: 1240px) { .pq-id__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 168px; } }
.pq-id__num { font-size: clamp(40px, 3.4vw, 50px); }

/* laptops / shorter desktop viewports: the same map, tighter rhythm — still one screen at ≥1280×720 */
@media (min-width: 1024px) and (max-height: 860px) {
  .pq-dash { gap: 10px; padding-block-start: 10px; }
  .pq-id { padding-block: 12px; }
  .pq-id__title { margin-block-end: 4px; font-size: 19px; }
  .pq-id__name { font-size: clamp(30px, 2.6vw, 36px); margin-block: 0 4px; }
  .pq-id__tag { font-size: 15.5px; line-height: 1.45; }
  .pq-id__num { font-size: clamp(38px, 3vw, 46px); }
  .pq-id__sub { margin-block: 0 6px; font-size: 16px; }
  .pq-id__bn { padding: 6px 14px; font-size: 15px; }
  .pq-id__basis { margin-block-start: 4px; }
  .pq .pq-clock { inline-size: 80px; block-size: 80px; }
  .pq-found, .pq-startl { padding-block: 12px 14px; }
  .pq-sec__h { font-size: 20px; margin-block-end: 8px; }
  .pq-found__kv { gap: 4px; margin-block-end: 8px; }
  .pq-found__row { padding-block: 5px; }
  .pq-found__k { margin-block-end: 4px; }
  .pq-bars { gap: 4px; }
  .pq-bar { min-block-size: 26px; }
  .pq-bar__ico { inline-size: 26px; block-size: 26px; }
  .pq-steps3 { gap: 6px; }
  .pq-steps3__item { padding: 8px 12px; }
  .pq-steps3__tx strong { font-size: 16px; }
  .pq-steps3__tx span { -webkit-line-clamp: 1; }
  .pq-sharem { padding-block: 10px; }
  .pq-sharem__card { padding: 10px 14px; }
  .pq-sharem__sub { margin-block: 2px 8px; }
  .pq-hlx { padding-block: 10px; }
  .pq-hlx__p { margin-block-end: 8px; }
}
@media (min-width: 1024px) and (max-height: 800px) {
  .pq-id__basis, .pq-found__k { display: none; }
  .pq-id__k { display: none; }
  .pq-id__title { font-size: 17px; margin-block-end: 2px; }
  .pq-found__row:not(.pq-found__row--1) { display: none; }
  .pq-sharem__img { margin-block-start: 4px; }
  .pq-hlx .pq-fine { display: none; }
  .pq-sharem__sub { display: none; }
}
@media (min-width: 1024px) and (max-height: 740px) { .pq-dash { gap: 8px; padding-block-start: 8px; } .pq-id { padding-block: 8px; } .pq-steps3__item { padding-block: 5px; } .pq-found, .pq-startl { padding-block: 10px 12px; } .pq-sec__h { margin-block-end: 6px; font-size: 19px; } .pq-sharem, .pq-hlx { padding-block: 8px; } .pq-hlx__p { margin-block-end: 6px; } }

/* 2.4 fit fixes: phone entry rhythm, tablet hours headline */
@media (max-width: 767px) { .pq-intro__card { padding-block: 14px 12px; } .pq-intro__h1 { margin-block-end: 8px; } .pq-trust { margin-block-end: 10px; } .pq-outcomes { margin-block-end: 12px; gap: 6px; } .pq-outcomes li { padding-block: 8px; } }
@media (max-width: 1023px) { .pq-id__num { white-space: normal; } }
@media (max-width: 767px) { .pq-fs__in > .pq-pill { display: none; } }

/* the site's cookie banner, while visible, reserves its own space (--pq-cc-h is set by the quiz scripts) */
.pq-stage { block-size: calc(100dvh - var(--pq-top-h) - var(--pq-cc-h, 0px)); }
.pq-intro { min-block-size: calc(100dvh - var(--pq-top-h) - var(--pq-foot-h) - var(--pq-cc-h, 0px)); }
.pq-build { min-block-size: calc(100dvh - var(--pq-top-h) - var(--pq-cc-h, 0px)); }
body[data-page^="practice-audit"] { padding-block-end: var(--pq-cc-h, 0px); }
