/* ── Diabetes Care Check — website popup ────────────────────────────────────
   Tokens sampled from the Figma "— Website popup" frames (file
   zFuVsNSALE6SHUJKUBUodW), the same "Quiz Premium" palette as the app's
   dcq_theme.dart. Feature-local: everything is scoped under .dcq / .qz-. */

.dcq {
  --q-forest: #0e3b36; --q-teal: #018380; --q-ink: #14211f; --q-muted: #6b746f;
  --q-tint: #f2f7f4; --q-hair: #ece5d8; --q-radio: #d6cfc2; --q-ans: #cfe3d8; --q-call: #d3e6db;
  --q-sage: #dcebe2; --q-butter: #f5e6b8; --q-peach: #f7dcc9; --q-lilac: #e4e1f4; --q-rose: #f4d0cb; --q-sky: #d6e9f2;
  --q-lav: #f6f5fb; --q-clay: #9a4a2e; --q-seg: #dfe8e3;
  --q-danger: #b6412b; --q-danger-bg: #fbede7; --q-danger-line: #f2d3c6;
  --q-body: 'Figtree', 'Inter', system-ui, sans-serif;
  --q-head: 'Rubik', 'Figtree', system-ui, sans-serif;
  position: fixed; inset: 0; z-index: 320; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px;
  opacity: 0; transition: opacity .22s ease;
  font-family: var(--q-body); color: var(--q-ink);
  -webkit-user-select: none; user-select: none;
}
.dcq.in { opacity: 1; }
.dcq *, .dcq *::before, .dcq *::after { box-sizing: border-box; }
.dcq-back { position: absolute; inset: 0; background: rgba(14, 59, 54, .36); }
.dcq-pop {
  position: relative; z-index: 1; width: 100%; max-width: 1120px; max-height: 90vh; max-height: 90dvh;
  display: flex; flex-direction: column; background: #fff; border-radius: 28px;
  box-shadow: 0 24px 64px -12px rgba(4, 26, 26, .19); outline: none;
  transform: translateY(14px) scale(.985); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.dcq.in .dcq-pop { transform: none; }
.dcq-pop.dcq-wide { max-width: 1200px; }
.dcq-pop > :not(.dcq-float-x) { min-width: 0; }
.dcq [hidden] { display: none !important; }
.dcq :where(button) { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dcq button:focus-visible, .dcq input:focus-visible, .dcq summary:focus-visible { outline: 3px solid rgba(1, 131, 128, .45); outline-offset: 2px; }
.dcq h2:focus, .dcq-pop:focus { outline: none; }
.dcq-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; }
.dcq-ic svg { width: 100%; height: 100%; display: block; }

/* ── Navigation bar ───────────────────────────────────────────────────── */
.dcq-nav { flex: none; height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 28px; border-bottom: 1px solid var(--q-hair); }
.dcq-nav-back { display: flex; align-items: center; gap: 8px; min-width: 117px; }
.dcq-nav-backlabel { font-weight: 600; font-size: 14px; color: var(--q-muted); }
.dcq-sq { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--q-tint); border: 1px solid var(--q-hair); border-radius: 12px; color: var(--q-teal); padding: 0; }
.dcq-sq:hover { background: #e7f1ec; }
.dcq-sq .dcq-ic { width: 22px; height: 22px; }
.dcq-progress { width: 360px; max-width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dcq-progress p { margin: 0; font-weight: 600; font-size: 14px; color: var(--q-forest); text-align: center; }
.dcq-progress.muted p { font-size: 13px; line-height: 18px; color: var(--q-muted); }
.dcq-segs { display: flex; gap: 5px; width: 100%; }
.dcq-progress.muted .dcq-segs { gap: 3px; }
.dcq-segs i { flex: 1; height: 4px; border-radius: 2px; background: var(--q-seg); }
.dcq-progress.muted .dcq-segs i { background: #e8e1d4; }
.dcq-segs i.on, .dcq-progress.muted .dcq-segs i.on { background: var(--q-teal); }
.dcq-float-x { position: absolute; top: -20px; right: -6px; z-index: 3; }

/* ── Two-column body ──────────────────────────────────────────────────── */
.dcq-main { flex: 1; min-height: 0; display: flex; align-items: stretch; }
.dcq-scroll { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.dcq-content { flex: 1; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 24px; }

.dcq-art {
  position: relative; flex: none; width: 450px; min-height: 540px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 0;
  background: #cae9e6 url(../../assets/img/quiz/pattern.webp) 0 0 / 620.9px 310.45px repeat;
  border-bottom-left-radius: 28px;
}
.dcq-brand { position: absolute; left: 28px; top: 20px; z-index: 2; background: #fff; border-radius: 40px; padding: 7px 14px; display: flex; }
.dcq-brand img { display: block; width: 201px; height: 44px; object-fit: contain; }
.dcq-subject { position: relative; width: 410px; height: 273px; margin-bottom: calc(var(--pull, 0px) * -1); display: flex; justify-content: center; }
.dcq-subject > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dcq-subject.tall { height: 375px; margin-bottom: -58px; }
.dcq-quote {
  position: relative; z-index: 1; width: 395px; max-width: calc(100% - 40px); margin: 0; padding: 32px 20px; background: #fff; border-radius: 28px;
  filter: drop-shadow(0 20px 30px rgba(4, 26, 26, .25));
  font-family: var(--q-head); font-weight: 600; font-size: 24px; line-height: 1.18; color: var(--q-teal); text-align: center;
  white-space: pre; overflow: hidden;
}
/* Q02 — the doctor with the tilted tip bubble */
.dcq-art-numbers .dcq-subject { width: auto; height: auto; align-items: flex-start; }
.dcq-art-numbers .dcq-subject > img { width: 301px; height: 298px; margin-right: -71px; }
.dcq-tip {
  align-self: center; transform: rotate(-3deg); display: flex; gap: 8px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 10px 14px 10px 12px;
  width: 186px; color: var(--q-forest); font-size: 19px; line-height: normal; margin-top: -40px;
}
.dcq-tip .dcq-ic { width: 20px; height: 20px; color: var(--q-teal); margin-top: 3px; }
.dcq-art-symptoms .dcq-subject { width: 363px; height: 242px; }

/* ── Intro block ──────────────────────────────────────────────────────── */
.dcq-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dcq-intro.small { gap: 6px; }
.dcq-chip { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 20px; background: var(--q-sage); color: var(--q-teal); font-weight: 700; font-size: 11px; line-height: 14px; letter-spacing: 1.1px; text-transform: uppercase; }
.dcq-chip-forest { color: var(--q-forest); font-size: 12px; letter-spacing: 1.2px; text-transform: none; }
.dcq-intro h2 { margin: 0; font-family: var(--q-head); font-weight: 600; font-size: 32px; line-height: 1.18; letter-spacing: -.32px; color: var(--q-ink); }
.dcq-step-symptoms .dcq-intro h2 { font-size: 27px; line-height: 32px; letter-spacing: -.27px; }
.dcq-helper { margin: 0; font-size: 15px; line-height: 1.5; color: var(--q-muted); }
.dcq-intro.small .dcq-helper { font-size: 14px; line-height: normal; }
.dcq-step-symptoms .dcq-helper { font-size: 13px; line-height: 19px; }

/* ── Answer cards ─────────────────────────────────────────────────────── */
.dcq-opts { display: flex; flex-direction: column; gap: 10px; }
.dcq-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 70px; padding: 12px 16px 12px 12px; text-align: left;
  background: #fff; border: 1px solid var(--q-hair); border-radius: 16px; transition: background .2s, border-color .2s;
}
.dcq-opt:hover { border-color: var(--q-ans); }
.dcq-opt.on { background: var(--q-tint); border: 1.5px solid var(--q-teal); padding: 11.5px 15.5px 11.5px 11.5px; }
.dcq-chipic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--q-sage); color: var(--q-teal); transition: background .2s, color .2s; }
.dcq-chipic .dcq-ic { width: 22px; height: 22px; }
.dcq-opt.on .dcq-chipic { background: var(--q-teal); color: #fff; }
.dcq-opt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dcq-opt-txt b { font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: -.08px; color: var(--q-ink); }
.dcq-opt-txt small { font-size: 13px; line-height: 18px; color: var(--q-muted); }
.dcq-radio { width: 24px; height: 24px; flex: none; border-radius: 12px; border: 1.5px solid var(--q-radio); background: #fff; display: grid; place-items: center; color: #fff; }
.on > .dcq-radio { background: var(--q-teal); border-color: var(--q-teal); animation: dcq-pop .25s ease; }
.dcq-radio .dcq-ic { width: 15px; height: 15px; }
@keyframes dcq-pop { from { transform: scale(.6); } to { transform: scale(1); } }

.tone-sage { background: var(--q-sage); } .tone-butter { background: var(--q-butter); } .tone-peach { background: var(--q-peach); }
.tone-lilac { background: var(--q-lilac); } .tone-rose { background: var(--q-rose); } .tone-sky { background: var(--q-sky); }
.dcq-chipic.tone-sage, .dcq-chipic.tone-butter, .dcq-chipic.tone-peach, .dcq-chipic.tone-lilac, .dcq-chipic.tone-rose, .dcq-chipic.tone-sky { color: var(--q-forest); }
.dcq-chipic.sq { width: 40px; height: 40px; border-radius: 13px; }
.dcq-chipic.clay { color: var(--q-clay); width: 40px; height: 40px; border-radius: 12px; }
.dcq-chipic.clay .dcq-ic { width: 20px; height: 20px; }
.dcq-chipic.tone-lilac { color: var(--q-teal); }

/* ── Primary button, skip link, notes ────────────────────────────────── */
.dcq-actions { display: flex; flex-direction: column; gap: 14px; }
.dcq-primary {
  width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 8px 8px 24px;
  border: 0; border-radius: 28px; background: var(--q-teal); color: #fff; font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: -.08px;
  transition: transform .15s ease, background .2s;
}
.dcq-primary:hover { background: #017673; }
.dcq-primary:active { transform: scale(.97); }
.dcq-arrow { display: grid; place-items: center; width: 20px; height: 40px; transition: transform .2s; }
.dcq-arrow .dcq-ic { width: 20px; height: 20px; }
.dcq-primary:hover .dcq-arrow { transform: translateX(4px); }
.dcq-skip { align-self: center; background: none; border: 0; padding: 6px 8px; min-height: 32px; font-weight: 600; font-size: 13px; color: var(--q-muted); text-decoration: underline; text-underline-offset: 2px; }
.dcq-err { margin: 0; font-size: 13px; font-weight: 600; color: var(--q-danger); }
.dcq-err:empty { display: none; }
.dcq-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--q-muted); }
.dcq-fine { margin: 0; font-size: 12px; color: var(--q-muted); text-align: center; }

.dcq-callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-size: 13px; line-height: 19px; color: var(--q-ink); }
.dcq-callout p { margin: 0; }
.dcq-callout b { display: block; font-weight: 600; margin-bottom: 4px; line-height: 18px; }
.dcq-callout.tone-butter { background: #f7ecc6; padding: 16px 20px; border-radius: 18px; align-items: center; }
.dcq-callout.tone-butter .dcq-ic { color: var(--q-forest); }
.dcq-callout.tone-lilac { background: var(--q-lilac); padding: 20px; border-radius: 18px; align-items: center; }
.dcq-callout.tone-lilac .dcq-ic { color: var(--q-ink); width: 16px; height: 16px; }
.dcq-callout.tone-butter .dcq-ic { width: 16px; height: 16px; }
.dcq-opts.compact .dcq-opt { min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
.dcq-opts.compact .dcq-opt.on { padding-top: 7.5px; padding-bottom: 7.5px; }
.dcq-opts.compact .dcq-opt-txt b { font-size: 14px; line-height: 19px; }
.dcq-opts.compact .dcq-chipic { width: 40px; height: 40px; border-radius: 12px; }
.dcq-callout.tone-danger { background: var(--q-danger-bg); border: 1px solid var(--q-danger-line); }
.dcq-callout.tone-danger .dcq-ic, .dcq-callout.tone-danger b { color: var(--q-danger); }
.dcq-callout.big { padding: 16px; border-radius: 20px; box-shadow: 0 5px 6px rgba(8, 48, 56, .12); }
.dcq-callout.tone-info { background: var(--q-tint); border: 1px solid var(--q-call); border-radius: 20px; padding: 16px; }
.dcq-callout.tone-info b { color: var(--q-forest); }
.dcq-callout.tone-info .dcq-ic { color: var(--q-forest); }
.dcq-callout ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; }

/* ── Welcome ──────────────────────────────────────────────────────────── */
.dcq-step-intro { height: 628px; }
.dcq-step-intro .dcq-main { border-radius: 28px; overflow: hidden; }
.dcq-art-welcome { background: linear-gradient(131deg, #0e3b36 14.29%, #018380 85.71%); min-height: 0; padding: 0; justify-content: flex-start; border-radius: 0; }
.dcq-art-welcome::before { content: ""; position: absolute; inset: 0; background: url(../../assets/img/quiz/pattern.webp) 0 0 / 887px 443.5px repeat; opacity: .06; }
.dcq-art-welcome .dcq-brand { left: 32px; top: 32px; }
.dcq-glow { position: absolute; border-radius: 50%; }
.dcq-glow.g1 { left: 35px; top: 100px; width: 380px; height: 380px; background: rgba(255, 255, 255, .08); }
.dcq-glow.g2 { left: 75px; top: 140px; width: 300px; height: 300px; background: var(--q-sage); }
.dcq-welcome-hero { position: absolute; left: 6px; top: 146px; width: 440px; height: 293px; object-fit: contain; }
.dcq-topic { position: absolute; z-index: 2; padding: 13px; border-radius: 99px; background: #fff; color: var(--q-teal); box-shadow: 0 10px 24px rgba(13, 51, 46, .22); display: flex; }
.dcq-topic .dcq-ic { width: 26px; height: 26px; }
.dcq-topic.t1 { left: 350px; top: 100px; } .dcq-topic.t2 { left: 30px; top: 176px; }
.dcq-topic.t3 { left: 368px; top: 342px; } .dcq-topic.t4 { left: 28px; top: 368px; }
.dcq-art-welcome .dcq-quote { position: absolute; left: 27px; top: 431px; text-align: left; padding: 32px 20px; }
.dcq-welcome { padding: 36px 40px 30px; gap: 22px; justify-content: center; }
.dcq-hook { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dcq-hook h2 { margin: 0; font-family: var(--q-head); font-weight: 600; font-size: 38px; line-height: 1.1; letter-spacing: -1.2px; color: var(--q-ink); }
.dcq-hook h2 em { font-style: normal; color: var(--q-teal); }
.dcq-hook .dcq-helper { font-size: 16px; line-height: normal; }
.dcq-benefits { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.dcq-benefits li { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--q-tint); border: 1px solid var(--q-hair); border-radius: 18px; font-weight: 600; font-size: 13px; color: var(--q-ink); }
.dcq-benefits .dcq-chipic { width: 40px; height: 40px; border-radius: 12px; color: var(--q-forest); }
.dcq-langs { display: flex; flex-direction: column; gap: 2px; }
.dcq-langs-h { margin: 0; font-family: var(--q-head); font-weight: 600; font-size: 15px; letter-spacing: -.075px; color: var(--q-ink); }
.dcq-langs-sub { margin: 0 0 4px; font-size: 13px; color: var(--q-muted); }
.dcq-lang-row { display: flex; gap: 12px; }
.dcq-lang { flex: 1; min-width: 0; min-height: 57px; display: flex; align-items: center; gap: 14px; padding: 6px 18px; text-align: left; background: #fff; border: 1px solid var(--q-hair); border-radius: 12px; }
.dcq-lang.on { background: var(--q-tint); border: 1.5px solid var(--q-teal); padding: 5.5px 17.5px; }
.dcq-lang-txt { flex: 1; display: flex; flex-direction: column; }
.dcq-lang-txt b { font-weight: 600; font-size: 16px; line-height: 23px; color: var(--q-ink); }
.dcq-lang.on .dcq-lang-txt b { font-weight: 400; }
.dcq-lang-txt small { font-weight: 600; font-size: 16px; line-height: 23px; color: var(--q-ink); }
.dcq-lang-txt small:empty { display: none; }
.dcq-lang.on .dcq-lang-txt small { font-weight: 400; font-size: 13px; color: var(--q-teal); }
.dcq-welcome .dcq-primary { gap: 16px; box-shadow: 0 8px 9px rgba(13, 59, 54, .22); }
.dcq-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; font-weight: 500; font-size: 13px; color: var(--q-muted); }
.dcq-trust span { display: inline-flex; align-items: center; gap: 6px; }
.dcq-trust .dcq-ic { width: 16px; height: 16px; color: var(--q-teal); }

/* Frame copy: a teal word inside a heading; long headings set smaller. */
.dcq-intro h2 em, .dcq-hook h2 em { font-style: normal; color: var(--q-teal); }
.dcq-intro.t-s h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.2px; }
.dcq-intro.t-l h2 { font-size: 27px; line-height: 1.18; letter-spacing: -.27px; }
.dcq-intro.t-m h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.24px; }
.dcq-adultnote { margin: -2px 0 0; font-size: 13px; color: var(--q-muted); }

/* ── Pathway ──────────────────────────────────────────────────────────── */
.dcq-yn-row { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--q-tint); border: 1px solid var(--q-ans); border-radius: 20px; }
.dcq-yn-label { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; line-height: 22px; color: var(--q-ink); }
.dcq-yn-pair { display: flex; gap: 6px; flex: none; }
.dcq-yn { min-width: 50px; height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--q-hair); background: transparent; font-weight: 600; font-size: 13px; color: var(--q-muted); }
.dcq-yn.yes.on { background: var(--q-teal); border-color: var(--q-teal); color: #fff; }
.dcq-yn.no.on { background: var(--q-forest); border-color: var(--q-forest); color: #fff; }
.dcq-opt.dcq-preg { background: var(--q-lav); border: 1px solid var(--q-hair); border-radius: 22px; padding: 12px 16px 12px 12px; box-shadow: 0 2px 3px rgba(20, 33, 31, .04); }
.dcq-opt.dcq-preg.on { border: 1.5px solid var(--q-teal); padding: 11.5px 15.5px 11.5px 11.5px; }
.dcq-opt.dcq-preg .dcq-chipic { background: var(--q-lilac); color: var(--q-teal); }
.dcq-preg .dcq-opt-txt b { font-size: 15px; line-height: normal; }
.dcq-preg .dcq-chipic { width: 48px; height: 48px; border-radius: 16px; }
.dcq-preg .dcq-chipic .dcq-ic { width: 24px; height: 24px; }

/* ── Q02 numbers ──────────────────────────────────────────────────────── */
.dcq-numbers { gap: 18px; }
.dcq-form { display: flex; flex-direction: column; gap: 6px; }
.dcq-row { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--q-tint); border: 1px solid var(--q-hair); border-radius: 18px; min-height: 72px; }
.dcq-row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dcq-row-txt b { font-weight: 600; font-size: 14px; color: var(--q-ink); }
.dcq-row-txt small { font-size: 12px; color: var(--q-muted); }
.dcq-field { position: relative; flex: none; width: 146px; height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; background: #fff; border: 1px solid var(--q-hair); border-radius: 14px; }
.dcq-field:focus-within { border-color: var(--q-teal); box-shadow: 0 0 0 3px rgba(1, 131, 128, .14); }
.dcq-field input[type="text"] { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding: 0; font: inherit; font-size: 15px; color: var(--q-ink); -webkit-user-select: text; user-select: text; }
.dcq-field input::placeholder { color: #a3aaa6; }
.dcq-unit { flex: none; border: 0; background: var(--q-sage); color: var(--q-teal); font-weight: 600; font-size: 12px; padding: 6px 9px; border-radius: 10px; }
.dcq-date { padding-right: 12px; }
.dcq-date-txt { flex: 1; min-width: 0; font-size: 15px; color: var(--q-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcq-date-txt.empty { color: #a3aaa6; }
.dcq-date .dcq-ic { width: 20px; height: 20px; color: var(--q-teal); }
.dcq-date input[type="date"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; font-size: 16px; }
.dcq-date input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.dcq-date:focus-within { border-color: var(--q-teal); box-shadow: 0 0 0 3px rgba(1, 131, 128, .14); }
.dcq-timing { min-height: 0; }
.dcq-timing .dcq-row-txt { flex: 0 1 225px; }
.dcq-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex: 1; min-width: 0; }
.dcq-pills.wrap { justify-content: flex-start; }
.dcq-pill { background: #fff; border: 1px solid var(--q-hair); border-radius: 18px; padding: 8px 11px; min-height: 34px; font-weight: 600; font-size: 12px; color: var(--q-ink); white-space: nowrap; }
.dcq-pill.on { background: var(--q-teal); border-color: var(--q-teal); color: #fff; }
.dcq-pill.sym { padding: 8px 14px; }
.dcq-years { display: flex; flex-direction: column; gap: 6px; }
.dcq-years > p { margin: 0; font-weight: 600; font-size: 14px; line-height: 1.5; color: var(--q-ink); }
.dcq-seg { display: flex; gap: 5px; padding: 5px; background: var(--q-sage); border-radius: 14px; }
.dcq-seg button { flex: 1; min-width: 0; min-height: 40px; padding: 10px 4px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: 13px; color: var(--q-muted); }
.dcq-seg button.on { background: #fff; color: var(--q-teal); }
.dcq-info { display: flex; gap: 14px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 19px; color: var(--q-ink); }
.dcq-info .dcq-ic { color: var(--q-ink); }
.dcq-numbers .dcq-actions { gap: 10px; }

/* ── Symptoms ─────────────────────────────────────────────────────────── */
.dcq-symgroup { display: flex; flex-direction: column; gap: 6px; }
.dcq-grouphead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dcq-grouphead > span:first-child { font-weight: 700; font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--q-muted); }
.dcq-counter { background: var(--q-sage); color: var(--q-forest); border-radius: 14px; padding: 5px 10px; font-weight: 600; font-size: 13px; line-height: 18px; white-space: nowrap; }

/* ── Wide frames (treatment / result) ────────────────────────────────── */
.dcq-wide-body { flex: 1; min-height: 0; border-radius: 0 0 28px 28px; }
.dcq-band { display: flex; align-items: center; gap: 32px; padding: 24px 36px; background: var(--q-tint); }
.dcq-band-art { width: 250px; height: 178px; flex: none; border-radius: 20px; display: grid; place-items: center; background: #cae9e6 url(../../assets/img/quiz/pattern.webp) 0 0 / 620.9px 310.45px; overflow: hidden; }
.dcq-band-art img { width: 178px; height: 176px; object-fit: contain; }
.dcq-band .dcq-intro { flex: 1; min-width: 0; }
.dcq-cols { display: flex; gap: 28px; padding: 36px; align-items: flex-start; }
.dcq-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dcq-col-2 { gap: 28px; }
.dcq-grouph { margin: 0; font-weight: 700; font-size: 12px; letter-spacing: .96px; text-transform: uppercase; color: var(--q-muted); }
.dcq-spend { background: var(--q-butter); border: 1px solid var(--q-hair); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.dcq-spend-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.dcq-spend-head > .dcq-ic:first-child { width: 24px; height: 24px; color: var(--q-ink); }
.dcq-spend-head > span:not(.dcq-ic) { flex: 1; display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.dcq-spend-head b { font-weight: 600; font-size: 15px; color: var(--q-ink); }
.dcq-spend-head small { font-size: 13px; color: var(--q-muted); }
.dcq-spend-x { width: 18px !important; height: 18px !important; color: var(--q-ink); }
.dcq-spend-help { margin: 0; font-size: 14px; line-height: 1.5; color: var(--q-muted); }
.dcq-fail { margin: 0; font-size: 14px; line-height: 1.5; color: var(--q-muted); }

.dcq-result { padding: 36px 36px 0; gap: 32px; align-items: stretch; border-radius: 0 0 28px 28px; }
.dcq-rleft { width: 354px; flex: none; display: flex; flex-direction: column; gap: 24px; min-height: 0; overflow-y: auto; padding-bottom: 36px; }
.dcq-rart { height: 250px; border-radius: 20px; display: grid; place-items: center; overflow: hidden; background: #cae9e6 url(../../assets/img/quiz/pattern.webp) 0 0 / 620.9px 310.45px; }
.dcq-rart img { width: 280px; height: 256px; object-fit: contain; margin-top: 6px; }
.dcq-score { background: linear-gradient(90deg, #1e6359, #0b302c); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.dcq-score-eb { margin: 0; font-weight: 700; font-size: 11px; letter-spacing: .88px; text-transform: uppercase; color: var(--q-butter); }
.dcq-score-row { display: flex; align-items: center; gap: 16px; }
.dcq-score-band { margin: 0; flex: 1; font-weight: 600; font-size: 21px; line-height: 1.5; text-wrap: balance; }
.dcq-score-h { margin: 0; font-family: var(--q-head); font-weight: 600; font-size: 28px; line-height: 1.2; color: #fff; }
.dcq-score-h em { font-style: normal; color: var(--q-butter); }
.dcq-score-cap { margin: 0; font-size: 13px; line-height: 1.5; color: var(--q-ans); }
.dcq-score-special { margin: 0; font-size: 13px; line-height: 1.5; color: var(--q-butter); }
.dcq-ring { position: relative; width: 132px; height: 132px; flex: none; }
.dcq-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dcq-ring b { position: absolute; left: 0; right: 0; top: 28px; text-align: center; font-family: var(--q-head); font-weight: 600; font-size: 64px; line-height: 64px; letter-spacing: -1.9px; color: #fff; }
.dcq-ring small { position: absolute; left: 0; right: 0; top: 94px; text-align: center; font-size: 13px; color: var(--q-ans); }
.dcq-rright { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 15px; padding: 0 2px 36px 0; }
.dcq-snap-h { margin: 0; font-weight: 700; font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--q-teal); }
.dcq-snap { display: flex; gap: 10px; margin-top: -5px; }
.dcq-snap ul { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 4px 14px; background: #fff; border: 1px solid var(--q-hair); border-radius: 22px; box-shadow: 0 2px 6px rgba(20, 33, 31, .04); }
.dcq-snap li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.dcq-snap li + li { border-top: 1px solid var(--q-hair); }
.dcq-chipic.sm { width: 36px; height: 36px; border-radius: 12px; }
.dcq-chipic.sm .dcq-ic { width: 20px; height: 20px; }
.dcq-snap-l { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; color: var(--q-ink); }
.dcq-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 16px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.dcq-status .dcq-ic { width: 14px; height: 14px; }
.st-strong { background: var(--q-sage); color: var(--q-forest); }
.st-could { background: var(--q-butter); color: var(--q-ink); }
.st-needs { background: var(--q-peach); color: var(--q-ink); }
.st-action { background: var(--q-danger-bg); color: var(--q-danger); }
.dcq-steps-h { display: flex; align-items: center; justify-content: space-between; }
.dcq-steps-h h3 { margin: 0; font-family: var(--q-head); font-weight: 600; font-size: 24px; color: var(--q-ink); }
.dcq-steps-h .dcq-ic { color: var(--q-ink); }
.dcq-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dcq-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--q-hair); border-radius: 20px; }
.dcq-num { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 18px; background: var(--q-peach); font-family: var(--q-head); font-weight: 600; font-size: 21px; color: var(--q-forest); }
.dcq-steps p { margin: 0; flex: 1; font-size: 15px; line-height: 23px; color: var(--q-ink); align-self: center; }
.dcq-keep { padding: 14px 16px; background: var(--q-tint); border: 1px solid var(--q-call); border-radius: 20px; }
.dcq-keep-h { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--q-forest); }
.dcq-keep-h .dcq-ic { width: 18px; height: 18px; color: var(--q-teal); }
.dcq-keep ul, .dcq-acc-body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--q-ink); }
.dcq-acc { border: 1px solid var(--q-hair); border-radius: 18px; background: #fff; }
.dcq-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; min-height: 48px; font-weight: 600; font-size: 14px; color: var(--q-ink); cursor: pointer; }
.dcq-acc summary::-webkit-details-marker { display: none; }
.dcq-acc-ic { width: 18px !important; height: 18px !important; color: var(--q-teal); transform: rotate(-90deg); transition: transform .2s; }
.dcq-acc[open] .dcq-acc-ic { transform: rotate(90deg); }
.dcq-acc-body { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.dcq-acc-body p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--q-muted); }
.dcq-acc-body p.ink { color: var(--q-ink); font-weight: 600; }
.dcq-bridge { background: var(--q-sage); border-radius: 24px; padding: 20px; text-align: center; font-family: var(--q-head); font-weight: 600; font-size: 19px; letter-spacing: -.5px; color: var(--q-ink); display: flex; flex-direction: column; gap: 4px; }
.dcq-bridge p { margin: 0; }
.dcq-bridge em { font-style: normal; color: var(--q-teal); }
.dcq-disclaimer { margin: 0; text-align: center; font-size: 13px; color: var(--q-muted); }
.dcq-disclaimer b { font-weight: 600; }

/* ── Tamil — Anek Tamil everywhere, the Tamil frames' sizes ───────────── */
.dcq-pop[lang="ta"] { --q-body: 'Anek Tamil', 'Figtree', system-ui, sans-serif; --q-head: 'Anek Tamil', 'Rubik', system-ui, sans-serif; font-family: var(--q-body); }
.dcq-pop[lang="ta"] .dcq-intro h2 { font-size: 30px; line-height: 1.25; letter-spacing: 0; }
.dcq-pop[lang="ta"] .dcq-hook h2 { font-size: 28px; letter-spacing: 0; }
.dcq-pop[lang="ta"] .dcq-quote { font-size: 22px; line-height: 1.3; }
.dcq-pop[lang="ta"] .dcq-chip { letter-spacing: 0; font-size: 12px; font-weight: 600; }
.dcq-pop[lang="ta"] .dcq-helper, .dcq-pop[lang="ta"] .dcq-note { font-size: 14px; }
.dcq-pop[lang="ta"] .dcq-opt-txt b, .dcq-pop[lang="ta"] .dcq-yn-label { font-size: 16px; line-height: 1.35; }
.dcq-pop[lang="ta"] .dcq-tip { font-size: 16px; }
.dcq-pop[lang="ta"] .dcq-score-h { font-size: 26px; line-height: 1.3; }
.dcq-pop[lang="ta"] .dcq-score-band { font-size: 16px; line-height: 1.4; }
.dcq-pop[lang="ta"] .dcq-bridge { font-size: 17px; letter-spacing: 0; }
.dcq-pop[lang="ta"] .dcq-steps-h h3 { font-size: 22px; }
.dcq-pop[lang="ta"] .dcq-steps p { font-size: 15px; line-height: 1.5; }
.dcq-pop[lang="ta"] .dcq-grouph, .dcq-pop[lang="ta"] .dcq-snap-h, .dcq-pop[lang="ta"] .dcq-score-eb, .dcq-pop[lang="ta"] .dcq-grouphead > span:first-child { letter-spacing: 0; font-size: 12px; }
.dcq-pop[lang="ta"] .dcq-langs-h, .dcq-pop[lang="ta"] .dcq-langs-sub, .dcq-pop[lang="ta"] .dcq-lang-txt { font-family: 'Figtree', 'Anek Tamil', system-ui, sans-serif; }
.dcq-pop[lang="ta"] .dcq-yn { min-width: 100px; }
.dcq-pop[lang="ta"] .row-awareness { flex-wrap: wrap; }
.dcq-pop[lang="ta"] .row-awareness .dcq-yn-label { flex: 1 1 calc(100% - 64px); }
.dcq-pop[lang="ta"] .row-awareness .dcq-yn-pair { flex: 1 1 100%; }
.dcq-pop[lang="ta"] .row-awareness .dcq-yn { flex: 1; }
.dcq-pop[lang="ta"] .dcq-timing { flex-wrap: wrap; row-gap: 8px; }
.dcq-pop[lang="ta"] .dcq-timing .dcq-row-txt { flex: 1 1 calc(100% - 52px); }
.dcq-pop[lang="ta"] .dcq-timing .dcq-pills { flex: 1 1 100%; justify-content: flex-start; padding-left: 52px; }
.dcq-pop[lang="ta"] .dcq-ring b, .dcq-pop[lang="ta"] .dcq-num { font-family: 'Rubik', system-ui, sans-serif; }

/* ── Tablet (640–1023): narrower popup, illustration on top ──────────── */
@media (max-width: 1023px) {
  .dcq { padding: 20px; }
  .dcq-pop, .dcq-pop.dcq-wide { max-width: 720px; }
  .dcq-main { flex-direction: column; }
  .dcq-art { width: 100%; min-height: 0; height: 230px; padding: 0; flex: none; border-radius: 0; justify-content: flex-end; }
  .dcq-subject, .dcq-subject.tall, .dcq-art-symptoms .dcq-subject { width: 100%; height: 210px; margin: 0; }
  .dcq-subject.tall > img { height: 100%; }
  .dcq-art .dcq-quote { display: none; }
  .dcq-brand { left: 16px; top: 14px; padding: 5px 10px; }
  .dcq-brand img { width: 150px; height: 32px; }
  .dcq-art-numbers .dcq-subject { align-items: center; justify-content: center; }
  .dcq-art-numbers .dcq-subject > img { width: auto; height: 210px; margin-right: -40px; }
  .dcq-tip { margin-top: 0; font-size: 15px; width: 160px; }
  .dcq-content { padding: 28px 32px 32px; }
  .dcq-step-intro { height: auto; }
  .dcq-art-welcome { height: 300px; }
  .dcq-art-welcome .dcq-glow.g1 { left: 50%; top: 30px; margin-left: -150px; width: 300px; height: 300px; }
  .dcq-art-welcome .dcq-glow.g2 { left: 50%; top: 60px; margin-left: -120px; width: 240px; height: 240px; }
  .dcq-welcome-hero { left: 50%; top: 70px; margin-left: -165px; width: 330px; height: 220px; }
  .dcq-topic.t1 { left: auto; right: 14%; top: 40px; } .dcq-topic.t2 { left: 12%; top: 90px; }
  .dcq-topic.t3 { left: auto; right: 10%; top: 200px; } .dcq-topic.t4 { left: 9%; top: 214px; }
  .dcq-welcome { padding: 28px 32px; }
  .dcq-band { padding: 20px 28px; gap: 20px; }
  .dcq-band-art { width: 160px; height: 130px; }
  .dcq-band-art img { width: 130px; height: 128px; }
  .dcq-cols { flex-direction: column; padding: 28px; gap: 24px; }
  .dcq-col { width: 100%; }
  .dcq-result { flex-direction: column; overflow-y: auto; padding: 28px; gap: 24px; }
  .dcq-result .dcq-rleft, .dcq-result .dcq-rright { width: 100%; max-height: none; overflow: visible; }
  .dcq-rart { height: 200px; }
  .dcq-rart img { height: 200px; }
  .dcq-result.dcq-main { overflow-y: auto; }
}

/* ── Phone (<640): full-screen sheet, art hero, pinned primary button ── */
@media (max-width: 639px) {
  .dcq { padding: 0; place-items: stretch; }
  .dcq-pop, .dcq-pop.dcq-wide { max-width: none; max-height: none; height: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .dcq-step-intro { height: 100%; height: 100dvh; }
  .dcq-step-intro .dcq-main { border-radius: 0; }
  .dcq-nav { height: 64px; padding: 0 16px; padding-top: env(safe-area-inset-top); height: calc(64px + env(safe-area-inset-top)); }
  .dcq-nav-back { min-width: 40px; }
  .dcq-nav-backlabel { display: none; }
  .dcq-progress { flex: 1; width: auto; gap: 8px; }
  .dcq-progress p { font-size: 13px; }
  .dcq-segs { gap: 3px; }
  .dcq-float-x { top: calc(12px + env(safe-area-inset-top)); right: 12px; background: rgba(255, 255, 255, .92); }
  .dcq-art { height: min(30vh, 220px); }
  .dcq-subject, .dcq-subject.tall, .dcq-art-symptoms .dcq-subject { height: calc(min(30vh, 220px) - 14px); }
  .dcq-art-numbers .dcq-subject > img { height: calc(min(30vh, 220px) - 14px); }
  .dcq-tip { display: none; }
  .dcq-brand img { width: 120px; height: 26px; }
  .dcq-content { padding: 20px 16px 0; gap: 20px; }
  .dcq-intro h2 { font-size: 24px; letter-spacing: -.2px; }
  .dcq-step-symptoms .dcq-intro h2 { font-size: 24px; line-height: 1.2; }
  .dcq-helper, .dcq-step-symptoms .dcq-helper, .dcq-intro.small .dcq-helper { font-size: 16px; line-height: 1.45; }
  .dcq-opt-txt b { font-size: 16px; line-height: 22px; }
  .dcq-opt { min-height: 64px; }
  .dcq-chipic { width: 40px; height: 40px; border-radius: 12px; }
  .dcq-note, .dcq-callout, .dcq-info, .dcq-fail, .dcq-spend-help, .dcq-acc-body p { font-size: 15px; line-height: 1.45; }
  .dcq-actions {
    position: sticky; bottom: 0; z-index: 2; margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 18px); gap: 8px;
  }
  .dcq-actions .dcq-info { display: none; }
  .dcq-numbers .dcq-form + .dcq-actions::before { content: none; }
  .dcq-skip { font-size: 14px; min-height: 40px; }
  .dcq-pill, .dcq-yn { min-height: 44px; font-size: 14px; }
  .dcq-pill.sym { font-size: 14px; }
  .dcq-seg button { min-height: 44px; font-size: 14px; }
  .dcq-unit { font-size: 13px; min-height: 32px; }
  .dcq-field { height: 48px; width: 152px; padding-left: 12px; }
  /* Treatment / result: the content is one long column, so the button is
     pinned to the screen rather than to its column. */
  .dcq-wide .dcq-actions { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; box-shadow: 0 -8px 16px rgba(14, 59, 54, .06); background: #fff; }
  .dcq-wide .dcq-wide-body, .dcq-wide .dcq-result { padding-bottom: 136px; }
  .dcq-wide .dcq-rright { padding: 0; }
  .dcq-field input[type="text"], .dcq-date-txt { font-size: 16px; }
  .dcq-row { flex-wrap: wrap; }
  .dcq-row .dcq-row-txt { flex: 1 1 80px; }
  .dcq-row > .dcq-field { width: 146px; }
  .dcq-timing .dcq-pills, .dcq-pop[lang="ta"] .dcq-timing .dcq-pills { flex: 1 1 100%; justify-content: flex-start; padding-left: 0; }
  .dcq-timing .dcq-row-txt { flex: 1 1 auto; }
  /* Welcome: hero on top, copy scrolls */
  .dcq-art-welcome { height: min(34vh, 260px); }
  .dcq-welcome-hero { top: auto; bottom: 0; height: calc(min(34vh, 260px) - 40px); width: auto; left: 50%; transform: translateX(-50%); margin: 0; }
  .dcq-art-welcome .dcq-glow.g1 { top: 20px; width: 220px; height: 220px; margin-left: -110px; }
  .dcq-art-welcome .dcq-glow.g2 { top: 45px; width: 170px; height: 170px; margin-left: -85px; }
  .dcq-topic { padding: 9px; }
  .dcq-topic .dcq-ic { width: 20px; height: 20px; }
  .dcq-topic.t1 { right: 6%; top: 74px; } .dcq-topic.t2 { left: 5%; top: 92px; }
  .dcq-topic.t3 { right: 4%; top: auto; bottom: 26px; } .dcq-topic.t4 { left: 4%; top: auto; bottom: 14px; }
  .dcq-welcome { padding: 20px 16px 0; gap: 18px; justify-content: flex-start; }
  .dcq-hook h2 { font-size: 30px; letter-spacing: -.8px; }
  .dcq-benefits { gap: 8px; }
  .dcq-benefits li { padding: 12px 10px; font-size: 13px; }
  .dcq-lang-row { gap: 8px; }
  .dcq-lang { padding: 6px 12px; gap: 8px; }
  .dcq-lang.on { padding: 5.5px 11.5px; }
  .dcq-welcome .dcq-fine { padding-bottom: 16px; }
  /* Treatment / result: one scrolling column */
  .dcq-band { flex-direction: column; align-items: stretch; padding: 16px; gap: 16px; }
  .dcq-band-art { width: 100%; height: 150px; }
  .dcq-cols { padding: 20px 16px 0; }
  .dcq-col-2 { gap: 20px; }
  .dcq-yn-row { flex-wrap: wrap; }
  .dcq-yn-label { flex: 1 1 160px; }
  .dcq-spend { padding: 18px; }
  .dcq-result { padding: 16px 16px 0; }
  .dcq-snap { flex-direction: column; }
  .dcq-score { padding: 22px; }
  .dcq-score-h { font-size: 24px; }
  .dcq-steps p { font-size: 15px; }
  .dcq-bridge { font-size: 17px; }
  .dcq-pop[lang="ta"] .dcq-intro h2 { font-size: 22px; }
  .dcq-pop[lang="ta"] .dcq-hook h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .dcq, .dcq-pop, .dcq-primary, .dcq-arrow { transition: none; }
  .on > .dcq-radio { animation: none; }
}

/* ── Home: the quiz card (above My Why) ───────────────────────────────── */
.qz-card {
  position: relative; overflow: hidden; border-radius: 22px; margin: 22px 0; color: #fff;
  background: linear-gradient(135deg, #0b3b4a 0%, #0b5b57 55%, #018380 100%);
  box-shadow: 0 12px 24px -6px rgba(1, 131, 128, .35);
}
.qz-card::before, .qz-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.qz-card::before { right: -40px; top: -50px; width: 170px; height: 170px; background: rgba(255, 255, 255, .08); }
.qz-card::after { left: -30px; bottom: -60px; width: 140px; height: 140px; background: rgba(94, 234, 212, .12); }
.qz-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.qz-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.qz-tag { background: #f5c76a; color: #3d2a0b; border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 11px; letter-spacing: .8px; }
.qz-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; color: #fff; }
.qz-sub { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.qz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--teal); font-weight: 800; font-size: 14.5px; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); margin-top: 6px; }
.qz-btn:hover { transform: translateY(-1px); }
.qz-btn .ms { font-size: 19px; }
.qz-art { position: relative; width: 110px; height: 110px; flex: none; display: grid; place-items: center; }
.qz-art::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: qz-pulse 2.4s ease-out infinite; }
.qz-art span { width: 98px; height: 98px; border-radius: 50%; padding: 14px; background: radial-gradient(#fff, #ddf4ee); box-shadow: 0 0 22px rgba(94, 234, 212, .45); display: grid; place-items: center; }
.qz-art img { width: 100%; height: 100%; object-fit: contain; }
@keyframes qz-pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.22); opacity: 0; } }
.qz-result { display: flex; align-items: center; gap: 16px; width: 100%; padding: 4px; margin: -4px; border: 0; border-radius: 16px; background: none; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.qz-result:hover { background: rgba(255, 255, 255, .06); }
.qz-ring { position: relative; width: 92px; height: 92px; flex: none; }
.qz-ring svg { position: absolute; inset: 0; }
.qz-ring b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.qz-ring b small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11px; color: rgba(255, 255, 255, .8); margin-top: 3px; }
.qz-eb { font-weight: 800; font-size: 11px; letter-spacing: .8px; color: #f5c76a; }
.qz-band { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.25; }
.qz-date { font-size: 13px; color: rgba(255, 255, 255, .8); }
.qz-view { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: 14px; text-decoration: underline; }
.qz-view .ms { font-size: 18px; text-decoration: none; }
.qz-res-in { flex-direction: column; align-items: stretch; gap: 14px; }
.qz-res-in .qz-btn { width: 100%; margin: 0; min-height: 48px; }
@media (min-width: 720px) {
  .qz-res-in { flex-direction: row; align-items: center; }
  .qz-res-in .qz-result { flex: 1; }
  .qz-res-in .qz-btn { width: auto; flex: none; }
}
@media (max-width: 520px) {
  .qz-in { padding: 18px 16px 18px 18px; gap: 10px; }
  .qz-title { font-size: 20px; }
  .qz-sub { font-size: 13px; }
  .qz-art { width: 92px; height: 92px; }
  .qz-art span { width: 82px; height: 82px; padding: 11px; }
}
@media (prefers-reduced-motion: reduce) { .qz-art::before { animation: none; } }
.qz-note { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.qz-note p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.qz-note .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Scroll columns never squash their blocks — they scroll instead. */
.dcq-content > *, .dcq-rleft > *, .dcq-rright > *, .dcq-wide-body > * { flex: none; }

/* ── Layer-verified frame details (Figma web frames, EN + TA) ─────────── */
/* The popup always fits the window; the content column scrolls and the
   primary button + skip link stay pinned at its bottom. */
.dcq-pop { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
.dcq-step-intro { height: min(628px, calc(100vh - 48px)); height: min(628px, calc(100dvh - 48px)); }
.dcq-art { min-height: 0; }
.dcq-content > .dcq-actions, .dcq-rright > .dcq-actions, .dcq-col-2 > .dcq-actions {
  position: sticky; bottom: 0; z-index: 2; background: #fff;
  padding-bottom: 40px; box-shadow: 0 -16px 16px -8px #fff;
}
/* The pinned footer carries the column's bottom padding (no negative
   margins, so the popup still sizes to its content). */
.dcq-content:not(.dcq-welcome) { padding-bottom: 0; }
.dcq-rright { padding-bottom: 0 !important; }
.dcq-welcome > .dcq-actions { margin-bottom: 0; padding-bottom: 0; }
.dcq-rright > .dcq-actions { padding-bottom: 12px; }
.dcq-rright > .dcq-disclaimer { padding-bottom: 36px; }
.dcq-col-2 { align-self: stretch; }
.dcq-col-2 > .dcq-actions { margin-bottom: 0; padding-bottom: 0; background: #fff; }
.dcq-wide-body .dcq-cols { padding-bottom: 12px; }
.dcq-wide .dcq-col-2 > .dcq-actions { bottom: 0; padding: 12px 0 24px; margin-bottom: 0; }

/* Titles / helpers as the frames set them */
.dcq-intro.t-l h2 { font-size: 27px; line-height: 32px; letter-spacing: -.27px; }
.dcq-helper.h-13 { font-size: 13px; line-height: 19px; }
.dcq-helper.h-14 { font-size: 14px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-intro h2 { font-size: 32px; line-height: normal; letter-spacing: 0; }
.dcq-pop[lang="ta"] [data-frame="q2"] h2 { font-size: 30px; line-height: 1.18; letter-spacing: -.3px; }
.dcq-pop[lang="ta"] .dcq-helper { font-size: 15px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-helper.h-14 { font-size: 14px; }
.dcq-pop[lang="ta"] .dcq-helper.h-13 { font-size: 13px; }
.dcq-pop[lang="ta"] .dcq-chip { font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: normal; }
.dcq-pop[lang="ta"] [data-frame="pathway"] .dcq-chip { color: var(--q-forest); }
.dcq-pop[lang="ta"] .dcq-opt-txt b { font-size: 16px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-opt-txt small { font-size: 15px; line-height: normal; color: var(--q-ink); }
.dcq-pop[lang="ta"] .dcq-step-pathway .dcq-note, .dcq-pop[lang="ta"].dcq-step-pathway .dcq-note { font-size: 14px; color: var(--q-ink); }

/* Q07 / Q08 supporting panels */
.dcq-callout.tone-butter, .dcq-callout.tone-lilac { padding: 24px; gap: 16px; border-radius: 20px; border: 1px solid var(--q-hair); align-items: center; font-size: 13px; line-height: 1.5; color: var(--q-forest); }
.dcq-callout.tone-butter { background: var(--q-butter); }
.dcq-callout.tone-lilac { background: var(--q-lilac); }
.dcq-callout.tone-butter .dcq-ic, .dcq-callout.tone-lilac .dcq-ic { width: 16px; height: 16px; color: var(--q-forest); }
.dcq-pop[lang="ta"] .dcq-callout.tone-butter, .dcq-pop[lang="ta"] .dcq-callout.tone-lilac { font-size: 14px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-callout.tone-butter { color: var(--q-teal); }

/* Q13 option cards */
.dcq-opts.compact { gap: 6px; }
.dcq-opts.compact .dcq-opt { min-height: 0; padding: 12px 16px 12px 12px; border-radius: 12px; filter: drop-shadow(0 5px 6px rgba(8, 48, 56, .12)); }
.dcq-opts.compact .dcq-opt.on { padding: 11.5px 15.5px 11.5px 11.5px; }
.dcq-opts.compact .dcq-chipic { width: 44px; height: 44px; border-radius: 14px; }
.dcq-opts.compact .dcq-opt-txt b { font-size: 15px; line-height: 21px; letter-spacing: -.075px; }
.dcq-pop[lang="ta"] .dcq-opts.compact .dcq-opt-txt b { font-size: 16px; line-height: normal; letter-spacing: 0; }

/* Symptom chips: semibold or bold-tracked, per chip, as the frames draw them */
.dcq-pill.sym { padding: 9px 14px; font-weight: 600; font-size: 12px; color: var(--q-ink); min-height: 0; line-height: normal; }
.dcq-pill.sym.bold { font-weight: 700; font-size: 11px; line-height: 14px; letter-spacing: 1.1px; color: var(--q-forest); }
.dcq-pill.sym.on { color: #fff; }
.dcq-pop[lang="ta"] .dcq-pill.sym { font-size: 14px; }
.dcq-pop[lang="ta"] .dcq-pill.sym.bold { font-size: 12px; letter-spacing: 0; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-pill.sym[data-dcq-sym="numbness"] { font-size: 12px; }
.dcq-pop[lang="ta"] .dcq-grouphead > span:first-child { text-transform: none; font-size: 12px; letter-spacing: 0; }
.dcq-pop[lang="ta"] .dcq-counter { font-size: 14px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-callout.big b { font-size: 14px; }

/* Tamil treatment */
.dcq-pop[lang="ta"] .dcq-yn-label { font-size: 14px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-yn-row .dcq-yn-pair { flex: 1 1 0; min-width: 0; }
.dcq-pop[lang="ta"] .dcq-yn-row .dcq-yn { flex: 1; min-width: 0; font-size: 14px; }
.dcq-pop[lang="ta"] .dcq-spend-head b, .dcq-pop[lang="ta"] .dcq-spend-head small, .dcq-pop[lang="ta"] .dcq-fail, .dcq-pop[lang="ta"] .dcq-spend-help { font-size: 14px; line-height: normal; }

/* Tamil result */
.dcq-pop[lang="ta"] .dcq-score-eb { font-size: 12px; letter-spacing: 0; text-transform: none; }
.dcq-pop[lang="ta"] .dcq-score-band { font-size: 14px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-score-h { font-size: 24px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-score-cap { font-size: 14px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-snap-l { font-size: 13px; }
.dcq-pop[lang="ta"] .dcq-snap-h { text-transform: none; }
.dcq-pop[lang="ta"] .dcq-steps-h h3 { font-size: 19px; }
.dcq-pop[lang="ta"] .dcq-steps p { font-size: 15px; line-height: normal; }
.dcq-pop[lang="ta"] .dcq-bridge { font-size: 17px; }
.dcq-pop[lang="ta"].dcq-step-result .dcq-primary span:first-child { font-size: 15px; white-space: normal; max-width: 260px; text-align: center; }

@media (max-width: 639px) {
  .dcq-pop, .dcq-pop.dcq-wide { max-height: none; }
  .dcq-step-intro { height: 100%; height: 100dvh; }
  .dcq-content > .dcq-actions { margin-bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); box-shadow: none; }
  .dcq-pop[lang="ta"] .dcq-intro h2, .dcq-pop[lang="ta"] [data-frame="q2"] h2 { font-size: 24px; }
  .dcq-wide .dcq-col-2 > .dcq-actions, .dcq-wide .dcq-rright > .dcq-actions {
    position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -8px 16px rgba(14, 59, 54, .06);
  }
}
.dcq-pop[lang="ta"] .dcq-yn-row.row-awareness { flex-wrap: wrap; }
.dcq-pop[lang="ta"] .dcq-yn-row.row-awareness .dcq-yn-label { flex: 1 1 calc(100% - 64px); }
.dcq-pop[lang="ta"] .dcq-yn-row.row-awareness .dcq-yn-pair { flex: 1 1 100%; }
@media (max-width: 639px) {
  .dcq-pop[lang="ta"] .dcq-yn-row { flex-wrap: wrap; }
  .dcq-pop[lang="ta"] .dcq-yn-row .dcq-yn-label { flex: 1 1 calc(100% - 64px); }
  .dcq-pop[lang="ta"] .dcq-yn-row .dcq-yn-pair { flex: 1 1 100%; }
}

/* ── Review fixes (Figma layers) ──────────────────────────────────────── */
/* Quote card: the text block is centred in the card, its lines start at the
   left; English opens with a hanging quote mark (-0.45em), Tamil indents its
   second line with two spaces (kept by white-space: pre). */
.dcq-quote { text-align: center; white-space: normal; }
.dcq-quote > span { display: inline-block; text-align: left; white-space: pre; }
.dcq-pop[lang="en"] .dcq-art:not(.dcq-art-welcome) .dcq-quote > span { text-indent: -.45em; }
.dcq-art-welcome .dcq-quote { text-align: left; }

/* Q02: the tip bubble sits behind the doctor, its top level with the figure. */
.dcq-art-numbers .dcq-subject { align-items: flex-start; }
.dcq-art-numbers .dcq-subject > img { position: relative; z-index: 1; }
.dcq-art-numbers .dcq-tip { position: relative; z-index: 0; align-self: flex-start; margin-top: 0; }

/* Q02 "When was this measured?": label 225px, chips start right after it. */
.dcq-pop[lang="en"] .dcq-timing .dcq-row-txt { flex: 0 0 225px; }
.dcq-pop[lang="en"] .dcq-timing .dcq-pills { justify-content: flex-start; flex-wrap: wrap; }

/* Icon colours sampled from the frames */
.dcq-numbers .dcq-row .dcq-chipic { color: var(--q-teal); }
.dcq-info .dcq-ic { color: var(--q-forest); }
.dcq-callout.tone-butter .dcq-ic { color: var(--q-teal); }

/* Result: one scroll for the whole body (both columns move together). */
.dcq-result.dcq-main { overflow-y: auto; overscroll-behavior: contain; align-items: flex-start; padding-bottom: 36px; }
.dcq-result .dcq-rleft, .dcq-result .dcq-rright { overflow: visible; max-height: none; min-height: 0; }
.dcq-result .dcq-rleft { padding-bottom: 0; }
.dcq-result .dcq-rright > .dcq-disclaimer { padding-bottom: 0; }
/* Result scrolls as one page: its button sits at the end of the content. */
.dcq-result .dcq-rright > .dcq-actions { position: static; box-shadow: none; padding-bottom: 0; }
@media (max-width: 639px) {
  .dcq-wide .dcq-result .dcq-rright > .dcq-actions { position: fixed; }
}

/* ── Review round 5 ───────────────────────────────────────────────────── */
/* The illustration never slides under the brand pill (pill: top 20, 58 tall). */
.dcq-art:not(.dcq-art-welcome) { padding: 88px 0 28px; justify-content: center; }
@media (max-width: 1023px) { .dcq-art:not(.dcq-art-welcome) { padding: 56px 0 0; } }
@media (max-width: 639px) { .dcq-art:not(.dcq-art-welcome) { padding-top: 44px; } }

/* Q02 timing: all three chips on one line, as in both frames. */
.dcq-timing .dcq-pills, .dcq-pop[lang="en"] .dcq-timing .dcq-pills { flex-wrap: nowrap; gap: 8px; }
.dcq-timing .dcq-pill { padding: 9px 11px; font-size: 12px; min-height: 0; line-height: normal; flex: none; }
.dcq-pop[lang="en"] .dcq-timing .dcq-row-txt { flex: 1 1 auto; min-width: 0; max-width: 225px; }
.dcq-pop[lang="ta"] .dcq-timing .dcq-pill { font-size: 13px; }

/* Symptoms: every chip in the "Frozen shoulder" style. */
.dcq-pill.sym, .dcq-pill.sym.bold { font-weight: 600; font-size: 12px; letter-spacing: 0; line-height: normal; color: var(--q-ink); text-transform: none; }
.dcq-pill.sym.on { color: #fff; }
.dcq-pop[lang="ta"] .dcq-pill.sym, .dcq-pop[lang="ta"] .dcq-pill.sym.bold, .dcq-pop[lang="ta"] .dcq-pill.sym[data-dcq-sym="numbness"] { font-size: 14px; }
@media (max-width: 1023px) {
  .dcq-art:not(.dcq-art-welcome) { height: 262px; }
  .dcq-art:not(.dcq-art-welcome) .dcq-subject, .dcq-art:not(.dcq-art-welcome) .dcq-subject.tall { height: 200px; }
  .dcq-art-numbers .dcq-subject > img { height: 200px; }
}
@media (max-width: 639px) {
  .dcq-art:not(.dcq-art-welcome) { height: min(32vh, 236px); padding-top: 46px; }
  .dcq-art:not(.dcq-art-welcome) .dcq-subject, .dcq-art:not(.dcq-art-welcome) .dcq-subject.tall, .dcq-art-numbers .dcq-subject > img { height: calc(min(32vh, 236px) - 50px); }
  .dcq-timing .dcq-pills, .dcq-pop[lang="en"] .dcq-timing .dcq-pills { flex-wrap: wrap; }
}
