/* Find my perfect PILF (/quiz/perfect-pilf/) and the quiz hub (/quiz/). v4, Sep 24, 2026 (evening) [C, on his 16 notes: research/quiz_v4_changes.md].
   The round-3 mock's layout (site/proto/site_choices_r3.src.html), on the site's own tokens from pilf.css: ground, ink and its tints, forest for
   what you tap, sage only when something is selected, #9B3B2A (the site's error red) for a hard fail and the SAMPLE stamp. Phone first; 360px is
   the narrowest it's drawn for. Square corners, like the rest of the site.
   v4 adds: the hub and the sample report [M notes 1–3]; list or grid on every question [M note 5]; the light meter and its most → least scale
   [M note 4]; rank badges 1 · 2 · 3 [M note 10]; the echo under the answer just tapped [M note 12]; the six-slide story, sized in container units
   so a slide on the phone looks like the image it saves [M note 14]; the report's big ranks and "why it fits you" [M note 15]; cut-outs centered,
   never cropped [M note 16]. */
.qz { --qz-tile: #fff; --qz-sel: color-mix(in srgb, var(--sage) 16%, #fff); --qz-bad: #9B3B2A; display: flex; flex-direction: column; min-width: 0; }
.qz [hidden], .qh [hidden] { display: none !important; }
/* the resets carry no weight (:where), so every class below, and the site's .btn, wins without !important */
:where(.qz) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
:where(.qz) img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qz .ink { display: block; width: 100%; height: 100%; }
.qz .o { fill: var(--qz-tile); }
.qz h1, .qz h2, .qh h1, .qh h2 { margin: 0; }
.qz h1:focus, .qz h2:focus, .qh h1:focus { outline: none; }
.qz .btn, .qh .btn { font-family: var(--font-name); text-align: center; }
.qz .btn.ghost { background: transparent; }
.qz-intro, .qz-scr { display: flex; flex-direction: column; gap: 16px; }
@media (prefers-reduced-motion: no-preference) { .qz:not(.still) .qz-scr.in { animation: qz-in .22s ease-out; } }
@keyframes qz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* the breath between questions [M Sep 25]: out, a beat of three dots, in. The .in animation is slower than before (.22s → .42s) */
@media (prefers-reduced-motion: no-preference) { .qz:not(.still) .qz-scr.in { animation-duration: .3s; } .qz:not(.still) .qz-scr.out { opacity: 0; transition: opacity .18s ease; } }
.qz-think { display: flex; justify-content: center; gap: 8px; padding: 72px 0; min-height: 40vh; align-items: center; }
.qz-think i { width: 6px; height: 6px; border-radius: var(--radius-dot); background: var(--sage, #7C8F72); animation: qz-breathe 1.1s ease-in-out infinite; }
.qz-think i:nth-child(2) { animation-delay: .18s; } .qz-think i:nth-child(3) { animation-delay: .36s; }
@keyframes qz-breathe { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* a plant's picture [M note 16]: a cut-out sits whole and centered on its ground; a photo without one sits in a neat frame */
.qz-pic { display: block; width: 100%; height: 100%; }
.qz-pic picture { display: block; width: 100%; height: 100%; }
.qz-pic img { display: block; width: 100%; height: 100%; }
.qz-pic.cut img { object-fit: contain; }
.qz-pic.framed { padding: 7%; background: #fff; box-shadow: inset 0 0 0 1px var(--ink-15); }
.qz-pic.framed img { object-fit: cover; }
.qz-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink-45); background: var(--photo); } .qz-ph svg { width: 62%; height: 62%; }

/* the hub [M notes 1–3] */
.qh { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.qh-head { display: flex; flex-direction: column; gap: 12px; }
.qh-h1 { font-family: var(--font-name); font-weight: 650; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.qh-sub { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink-75); }
.qh-main { background: #fff; border: 1px solid var(--ink-15); padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.qh-top, .qz-introtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.qh-meta { font-family: var(--font-name); font-weight: 650; font-size: 12.5px; line-height: 1.2; letter-spacing: .02em; color: var(--forest); background: rgba(31,61,43,.07); padding: 4px 8px; white-space: nowrap; }
.qh-t { font-family: var(--font-name); font-weight: 700; font-size: 22px; line-height: 1.12; letter-spacing: -.015em; }
.qh-body { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-75); }
.qh-fun { margin-top: 12px !important; font-size: 10.5px; }
/* the four fun cards [M Sep 24 evening: "all different heights" → one height, one thumbnail size, one text length; "can the thumbnails for these be
   sample outcomes" → each is a small sample of that quiz's real result, stamped SAMPLE]. One column at every width, so the words never squeeze [C] */
.qh-grid { list-style: none; margin: -8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.qh-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; align-items: stretch; height: 150px; background: #fff; border: 1px solid var(--ink-15); padding: 12px; text-decoration: none; color: var(--ink); overflow: hidden; }
.qh-card:hover { border-color: var(--forest); color: var(--ink); }
.qh-tx { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.qh-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qh-tx b { font-family: var(--font-name); font-weight: 700; font-size: 16.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qh-d { font-size: 14px; line-height: 1.38; color: var(--ink-66); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qh-card .qh-meta { padding: 4px 8px; font-size: 11px; white-space: normal; }   /* "2 questions, 12 swipes · about 2 min" wraps at 360px instead of running out of the card */
.qh-row .qh-arr { flex: none; }
.qh-arr { font-size: 22px; line-height: 1; color: var(--forest); }
/* the samples: 100 × 128, a tiny result each */
.qh-smp { position: relative; width: 100px; height: 128px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 22px 8px 8px; font-family: var(--font-name); }   /* the top 20px is the stamp's */
.qs-stamp { position: absolute; top: 4px; right: 4px; transform: rotate(6deg); border: 1.5px solid #9B3B2A; color: #9B3B2A; background: rgba(255,255,255,.88); font-weight: 800; font-size: 7.5px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; padding: 2px 2px 2px 4px; }
.qs-k { font-weight: 700; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.qs-n { font-weight: 800; font-size: 11px; line-height: 1.1; }
.qs-t { font-family: var(--font-body); font-weight: 400; font-size: 10.5px; line-height: 1.2; opacity: .8; }
.qs-cut { display: block; width: 56px; height: 44px; margin-top: 2px; } .qs-cut.big { width: 66px; height: 56px; }
.qs-cut picture, .qs-cut img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qs-pothotype, .qs-parent { background: var(--forest); color: var(--ground); }
.qs-sprout, .qs-soilmate { background: var(--ground); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-15); }
.qs-code { font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: .03em; margin: 1px 0; }
.qs-pothotype .qs-n { margin-bottom: 2px; }
.qs-parent .qs-n { font-size: 15px; margin: 1px 0 8px; }
.qs-lad { display: flex; flex-direction: column; gap: 4px; width: 72px; }
.qs-lad > i, .qs-lad > span > i { display: block; height: 8px; border: 1.5px solid rgba(247,244,238,.4); }
.qs-lad > span { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .qs-lad > span > i { height: 14px; }
.qs-lad i.me { background: var(--ground); border-color: var(--ground); }
.qs-parent .qs-t { margin-top: 4px; }
.qs-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 84px; padding: 8px 4px 8px; background: #fff; border-radius: var(--radius-none); box-shadow: 0 6px 14px -8px rgba(29,33,30,.45); }
.qs-card .qs-cut { width: 60px; height: 52px; background: var(--photo); border-radius: var(--radius-none); margin-bottom: 4px; }
.qs-heart { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: var(--radius-dot); background: var(--forest); color: #fff; display: grid; place-items: center; z-index: 1; }
.qs-heart svg { width: 11px; height: 11px; display: block; }
.qs-soilmate .qs-k { color: var(--forest); opacity: 1; }
@media (min-width: 640px) { .qh-h1 { font-size: 44px; } .qh-main { padding: 22px; } }

/* intro */
.qz-xl { font-family: var(--font-name); font-weight: 650; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.qz-lead { font-size: 16.5px; line-height: 1.5; color: var(--ink-75); }
.qz-fine { font-size: 14px; color: var(--ink-66); text-align: center; margin: -8px 0 0; }
a.lbl { text-decoration: none; } a.lbl:hover { color: var(--forest); text-decoration: underline; }
html:not(.js) .qz-start { display: none; }
.qz-pill { align-self: flex-start; font-family: var(--font-name); font-weight: 700; font-size: 10.5px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); background: rgba(31,61,43,.06); padding: 4px 8px; white-space: nowrap; }
.qz-err { font-size: 14px; color: #9B3B2A; }

/* the sample report [M note 1]: tilted, stamped, a made-up taker, the real top three */
.qz-smp { position: relative; background: #fff; border: 1px solid var(--ink-15); box-shadow: 0 10px 26px rgba(29,33,30,.1); padding: 16px 16px 8px; margin: 8px 8px 12px; transform: rotate(-1.6deg); display: flex; flex-direction: column; gap: 8px; }
.qz-stamp { position: absolute; top: 12px; right: 10px; transform: rotate(9deg); border: 2px solid #9B3B2A; color: #9B3B2A; font-family: var(--font-name); font-weight: 800; font-size: 14px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; padding: 8px 8px 4px 8px; opacity: .88; background: rgba(255,255,255,.7); }
.qz-smp .lbl { padding-right: 72px; }
.qz-smp-who { margin: 0 72px 4px 0; font-family: var(--font-name); font-weight: 650; font-size: 14px; line-height: 1.35; }
.qz-smp-list { list-style: none; margin: 0; padding: 0; }
.qz-smp-list li { display: grid; grid-template-columns: 24px 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--ink-15); }
.qz-smp-rk { font-family: var(--font-name); font-weight: 800; font-size: 32px; line-height: 1; color: var(--forest); text-align: center; }
.qz-smp-pic { display: block; width: 58px; height: 58px; background: var(--ground); }
.qz-smp-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qz-smp-t b { font-family: var(--font-name); font-weight: 700; font-size: 14px; line-height: 1.2; }
.qz-smp-t span { font-size: 12.5px; line-height: 1.35; color: var(--ink-66); }
.qz-smp-pct { font-family: var(--font-name); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }

/* questions */
.qz-top { display: flex; align-items: center; justify-content: space-between; margin: -12px 0 -8px; }
.qz-back { font-family: var(--font-name) !important; font-weight: 650; font-size: 14px; color: var(--forest) !important; min-height: 44px; min-width: 44px; }
.qz-count { font-family: var(--font-name); font-weight: 600; font-size: 12.5px; color: var(--ink-66); }
.qz-prog { height: 3px; background: var(--ink-15); overflow: hidden; } .qz-prog i { display: block; height: 100%; background: var(--forest); }
@media (prefers-reduced-motion: no-preference) { .qz:not(.still) .qz-prog i { transition: width .3s; } }
.qz-sc { font-family: var(--font-name); font-weight: 700; font-size: 10.5px; line-height: 1; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.qz-q { font-family: var(--font-name); font-weight: 650; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; margin-top: -4px !important; text-wrap: balance; }
/* one grey line that says how to answer [M note 13], the list/grid switch beside it [M note 5]; context on its own line below */
.qz-how { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -12px 0 -8px; min-height: 44px; }
.qz-sub { margin: 0; font-size: 14px; color: var(--ink-66); }
.qz-line { font-size: 14px; line-height: 1.45; color: var(--ink-75); margin: -4px 0 0; }
.qz-kick { font-family: var(--font-name); font-weight: 600; font-size: 12.5px; color: var(--ink-66); margin: 0; }
.qz-view { display: flex; flex: none; }
.qz-view button { width: 44px; height: 44px; display: grid !important; place-items: center; border: 1px solid var(--ink-15) !important; background: #fff !important; color: var(--ink-66) !important; }
.qz-view button + button { margin-left: -1px; }
.qz-view button[aria-pressed="true"] { background: var(--forest) !important; border-color: var(--forest) !important; color: #fff !important; position: relative; }
.qz-view svg { width: 16px; height: 16px; fill: currentColor; }
/* the light meter [M note 4]: five steps, most light → least; the scale over the answers says which way it runs */
.qz-meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; flex: none; }
.qz-meter i { display: block; width: 5px; background: var(--ink-15); }
.qz-meter i:nth-child(1) { height: 5px; } .qz-meter i:nth-child(2) { height: 7px; } .qz-meter i:nth-child(3) { height: 9px; } .qz-meter i:nth-child(4) { height: 11px; } .qz-meter i:nth-child(5) { height: 13px; }
.qz-meter i.on { background: var(--forest); }
.qz-scale { display: flex; align-items: center; gap: 8px; font-family: var(--font-name); font-weight: 650; font-size: 12.5px; color: var(--ink-75); margin-top: -4px; }
.qz-scale .qz-arrow { flex: 1; height: 2px; background: linear-gradient(90deg, var(--forest), var(--ink-15)); position: relative; min-width: 16px; }
.qz-scale .qz-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--ink-30); border-right: 0; }
.qz-tx .qz-meter { margin: 4px 0 1px; }
.qz-hres { display: flex; flex-direction: column; gap: 8px; } .qz-hres .qz-meter { align-self: flex-start; transform: scale(1.4); transform-origin: left bottom; margin-bottom: 4px; }

/* the answers: .is-grid or .is-list, for every kind [M note 5] */
.qz-opts { display: grid; gap: 8px; grid-template-columns: 1fr; }
.qz-opts.is-grid { grid-template-columns: 1fr 1fr; } .qz-opts.is-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qz-opts .wide { grid-column: 1 / -1; }
.qz-t { position: relative; background: var(--qz-tile) !important; border: 1px solid var(--ink-15) !important; min-height: 48px; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.qz-t[aria-pressed="true"] { --qz-tile: var(--qz-sel); border-color: var(--sage) !important; box-shadow: inset 0 0 0 1px var(--sage); }
.qz-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qz-tn { font-family: var(--font-name); font-weight: 650; font-size: 14px; line-height: 1.2; }
.qz-tl { font-size: 12.5px; line-height: 1.35; color: var(--ink-66); }
.qz-tno { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--forest); background: rgba(31,61,43,.08); padding: 8px 8px; }
.is-grid .qz-tr .qz-tno { margin-right: -32px; }   /* in a grid tile the echo uses the width under the check */
.qz-or { margin: 8px 0 -2px; font-family: var(--font-name); font-weight: 650; font-size: 12.5px; color: var(--ink-66); }
.qz-tpic { aspect-ratio: 1; display: block; background: var(--photo); overflow: hidden; flex: none; }
.qz-tpic picture { display: block; width: 100%; height: 100%; }
.qz-draw { display: grid; place-items: center; width: 100%; height: 100%; color: var(--forest); } .qz-draw svg { width: 64%; height: 64%; }
.qz-ta { display: block; color: var(--forest); flex: none; }
/* photo tiles */
.is-grid .qz-tp .qz-tx { padding: 8px 8px 12px; }
.is-list .qz-tp { flex-direction: row; align-items: center; }
.is-list .qz-tp .qz-tpic { width: 76px; }
.is-list .qz-tp .qz-tx { padding: 8px 48px 8px 12px; }
/* drawing tiles: 1.6× v3's in grid [M note 6] */
.is-grid .qz-td { align-items: stretch; } .is-grid .qz-td .qz-ta { width: 100px; height: 100px; margin: 12px auto 0; }
.is-grid .qz-td .qz-tx { text-align: center; align-items: center; padding: 8px 8px 12px; }
.is-grid.g3 .qz-td .qz-ta { width: 84px; height: 84px; margin-top: 12px; } .is-grid.g3 .qz-tn { font-size: 12.5px; } .is-grid.g3 .qz-td .qz-tx { padding: 4px 4px 12px; }
.is-grid.g3 .qz-tl { font-size: 11px; }
/* bigger drawings keep v3's line weight instead of thickening with the size (the thin leaves would fill in) [C] */
.is-grid:not(.g3) .qz-ta svg, .qz-draw svg { stroke-width: 2.8px; }
.is-grid:not(.g3) .qz-ta svg *, .qz-draw svg * { vector-effect: non-scaling-stroke; }
.is-grid:not(.g3) .qz-ta svg [stroke-width^="1."], .qz-draw svg [stroke-width^="1."] { stroke-width: 1.5px; }
.is-grid:not(.g3) .qz-ta svg [stroke-width^="2"], .qz-draw svg [stroke-width^="2"] { stroke-width: 2.8px; }
.is-list .qz-td { flex-direction: row; align-items: center; min-height: 64px; }
.is-list .qz-td .qz-ta { width: 52px; height: 52px; margin: 8px 8px 8px 12px; }
.is-list .qz-td .qz-tx { padding: 8px 48px 8px 4px; }
/* text tiles (and the days) */
.qz-tr { flex-direction: row; align-items: center; padding: 12px 48px 12px 16px; min-height: 52px; }
.is-grid .qz-tr:not(.wide) { align-items: flex-start; padding: 12px 32px 12px 12px; min-height: 76px; }
.qz-tr .qz-tx { gap: 8px; }
.qz-tr.wide.haspic { padding: 0 48px 0 0; min-height: 64px; } .qz-tr.wide.haspic .qz-tpic { width: 64px; margin-right: 12px; }
.qz-help { flex-direction: column; gap: 2px; padding: 12px 48px 12px 16px; border-style: dashed !important; }
.qz-arr { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--forest); }
/* the check, or the rank [M note 10: "the tiles show 1 and 2"] */
.qz-ck { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: var(--radius-dot); border: 1.5px solid var(--ink-30); background: var(--qz-tile); display: grid; place-items: center; color: transparent; }
.qz-ck svg { width: 14px; height: 14px; }
.qz-ck.rk { width: 30px; height: 30px; font-family: var(--font-name); font-weight: 800; font-size: 16px; line-height: 1; }
.is-list .qz-t > .qz-ck, .qz-tr > .qz-ck { top: 50%; transform: translateY(-50%); right: 10px; }
.is-grid .qz-tr:not(.wide) > .qz-ck { top: 10px; transform: none; }
.is-grid .qz-tp > .qz-ck, .is-grid .qz-td > .qz-ck { opacity: 0; }
.qz-t[aria-pressed="true"] > .qz-ck { background: var(--sage); border-color: var(--sage); color: #fff; opacity: 1; }
.qz-t[aria-pressed="true"] > .qz-ck.rk { background: var(--forest); border-color: #fff; box-shadow: 0 0 0 1px var(--forest); }
.qz-days { display: flex; gap: 2px; flex-wrap: wrap; } .qz-days i { width: 4px; height: 10px; background: var(--sage); opacity: .8; }
.qz-foot { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.qz-skip { font-size: 14px; color: var(--ink-66) !important; text-decoration: underline; text-underline-offset: 3px; text-align: center !important; min-height: 44px; }
.qz-more { font-size: 14px; } .qz-more summary { cursor: pointer; font-family: var(--font-name); font-weight: 650; font-size: 14px; color: var(--forest); min-height: 44px; display: flex; align-items: center; }
.qz-more ul { margin: 2px 0 0; padding-left: 16px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-75); }

/* ═════ the story [M note 14]: the slides' insides. The rack itself (the turning, the bars, Pause/Play, the slide's chrome, Share and the icons)
   is static/rack.css since Sep 25, shared with the four fun quizzes [M Sep 24 evening]. Everything here is in container units of the slide
   (cqw, cqh), so the slide on a phone is a small copy of the 1080×1920 image it saves; minimums keep the words readable. ═════ */
.qz-scr.qz-story { gap: 8px; margin-top: -16px; }
.qz-sl-h { font-family: var(--font-name); font-weight: 700; font-size: max(20px, 8.4cqw); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; max-width: 100%; }
.qz-sl-kick2 { font-family: var(--font-name); font-weight: 650; font-size: max(10.5px, 3cqw); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-bottom: -1.4cqh; }
.qz-sl-pic { flex: 1 1 0; min-height: 22cqh; width: 100%; display: flex; justify-content: center; }
.qz-sl-pic .qz-pic { width: 100%; height: 100%; }
.qz-sl-pic .qz-pic.framed { width: auto; height: 100%; aspect-ratio: 1; max-width: 100%; }
.qz-sl-pic.sm { flex-basis: 0; max-height: 38cqh; }
.qz-sl-pic.mid { max-height: 30cqh; }
.qz-sl-pct { margin: 0; font-family: var(--font-name); font-weight: 800; font-size: max(40px, 15cqw); line-height: 1; letter-spacing: -.03em; }
.qz-sl-pct small { font-size: .5em; } .qz-sl-pct span { font-size: max(13px, 4.2cqw); font-weight: 650; letter-spacing: 0; color: var(--soft); }
.qz-sl-thin { margin: 0; font-family: var(--font-name); font-weight: 650; font-size: max(13px, 4.2cqw); color: var(--soft); }
.qz-sl-why, .qz-sl-p { margin: 0; font-size: max(13px, 4.4cqw); line-height: 1.38; max-width: 100%; }
.qz-sl-p { color: var(--soft); font-size: max(12.5px, 4cqw); }
.qz-sl-sub { margin: -1cqh 0 0; font-family: var(--font-name); font-weight: 650; font-size: max(12.5px, 4.2cqw); color: var(--soft); }
.qz-sl-name { margin: 0; font-size: max(13px, 4.4cqw); } .qz-sl-name b { font-family: var(--font-name); font-weight: 700; }
.rk-sl .qz-take { min-height: 44px; }
.rk-sl.bg-forest .qz-take { background: var(--ground); color: var(--forest) !important; }
/* a plant with no photo and no cut-out: the mark, no box (the hero slots get rack.css's specimen label) [his brief, Sep 24 evening] */
.qz-pic.none { display: grid; place-items: center; color: var(--acc, var(--forest)); }
.qz-mk { display: block; width: 58%; height: 58%; opacity: .8; } .qz-mk svg { display: block; width: 100%; height: 100%; }
/* 2 · the podium */
.qz-pod { flex: 1; min-height: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5cqw; align-items: end; }
.qz-pod-c { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 1.2cqh; }
.qz-pod-pic { width: 130%; margin: 0 -15%; aspect-ratio: 1; } .qz-pod-c.p1 .qz-pod-pic { width: 160%; margin: 0 -30%; }
.qz-pod-n { font-family: var(--font-name); font-weight: 700; font-size: max(11px, 3.6cqw); line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qz-pod-step { width: 100%; background: var(--forest); color: var(--ground); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 2cqh; }
.qz-pod-c.p1 .qz-pod-step { height: 25cqh; } .qz-pod-c.p2 .qz-pod-step { height: 18cqh; } .qz-pod-c.p3 .qz-pod-step { height: 13cqh; }
.qz-pod-rk { font-family: var(--font-name); font-weight: 800; font-size: max(26px, 12cqw); line-height: 1; }
.qz-pod-pct { font-family: var(--font-name); font-weight: 700; font-size: max(12px, 4.6cqw); margin-top: .8cqh; }
/* 3 · why · 4 · twins · 5 · skip */
.qz-sl-th { display: block; width: 22cqw; height: 22cqw; flex: none; }
.qz-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4cqh; }
.qz-facts li { display: flex; flex-direction: column; gap: .8cqh; }
.qz-facts b { font-family: var(--font-name); font-weight: 800; font-size: max(20px, 7.6cqw); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.qz-facts span { font-size: max(12.5px, 4.1cqw); color: var(--soft); }
.qz-twins, .qz-skips { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 3cqh; text-align: left; }
.qz-twins li, .qz-skips li { display: grid; grid-template-columns: 27cqw minmax(0, 1fr); gap: 4cqw; align-items: center; }
.qz-twins .qz-sl-th, .qz-skips .qz-sl-th { width: 27cqw; height: 27cqw; }
.qz-twins li > span:last-child, .qz-skips li > span:last-child { display: flex; flex-direction: column; gap: .5cqh; min-width: 0; }
.qz-tw-k { font-family: var(--font-name); font-weight: 700; font-size: max(9.5px, 2.8cqw); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.qz-twins b, .qz-skips b { font-family: var(--font-name); font-weight: 800; font-size: max(15px, 5.4cqw); line-height: 1.12; }
.qz-twins li span span:last-child, .qz-skips li span span:last-child { font-size: max(12px, 3.7cqw); line-height: 1.35; color: var(--soft); }
.qz-skips .qz-sl-th { opacity: .9; }
/* 6 · the short version: #1 with its picture, then label-and-name rows [the memo's slide 6, C] */
.qz-rc1 { display: grid; grid-template-columns: 27cqw minmax(0, 1fr); gap: 4cqw; align-items: center; width: 100%; text-align: left; }
.qz-rc1 .qz-sl-th { width: 27cqw; height: 27cqw; }
.qz-rc1 > span:last-child { display: flex; flex-direction: column; gap: .8cqw; min-width: 0; }
.qz-rc1 b { font-family: var(--font-name); font-weight: 800; font-size: max(17px, 6.6cqw); line-height: 1.08; }
.qz-rcg { margin: 0; width: 100%; display: flex; flex-direction: column; text-align: left; }
.qz-rcg > div { border-top: 1px solid var(--trk); padding: 1.6cqh 0; display: flex; flex-direction: column; gap: .8cqw; }
.qz-rcg dt { font-family: var(--font-name); font-weight: 700; font-size: max(9.5px, 2.8cqw); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.qz-rcg dd { margin: 0; display: flex; flex-direction: column; gap: .4cqw; }
.qz-rcg dd > span { font-family: var(--font-name); font-weight: 800; font-size: max(14px, 5cqw); line-height: 1.15; }
.qz-rcg small { font-family: var(--font-body); font-weight: 400; font-size: max(11.5px, 3.6cqw); color: var(--soft); }
/* the report (spec A5.2; v4 note 15) */
.qz-rh { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qz-r { font-family: var(--font-name); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; }
.qz-recap { font-family: var(--font-name); font-weight: 600; font-size: 14px; line-height: 1.35; margin-top: -8px; }
.qz-hard { font-size: 15px; line-height: 1.45; border-left: 3px solid var(--qz-bad); padding: 4px 12px; }
.qz-note { font-size: 14px; color: var(--ink-66); }
.qz-card { background: #fff; border: 1px solid var(--ink-15); padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* the rank you can't miss [M note 15]: #1 on the left, the match on the right */
.qz-cscore { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ink-15); padding-bottom: 8px; }
.qz-crk { font-family: var(--font-name); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--forest); }
.qz-card.big .qz-crk { font-size: 48px; }
.qz-pct { font-family: var(--font-name); font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.02em; } .qz-card.big .qz-pct { font-size: 44px; }
.qz-pct small { font-size: 14px; font-weight: 650; letter-spacing: 0; color: var(--ink-66); }
.qz-pch { color: var(--ink-45); }
.qz-ch { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; }
.qz-card.big .qz-ch { grid-template-columns: 112px minmax(0, 1fr); }
.qz-cp { display: block; width: 84px; height: 84px; background: var(--ground); } .qz-card.big .qz-cp { width: 112px; height: 112px; }
.qz-cn { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qz-cn h2 { font-family: var(--font-name); font-weight: 700; font-size: 18px; line-height: 1.15; overflow-wrap: anywhere; } .qz-card.big .qz-cn h2 { font-size: 20px; }
.qz-cn h2 a { text-decoration: none; } .qz-cn h2 a:hover { text-decoration: underline; }
.qz-fit { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--ink); } .qz-fit.sm { font-size: 14px; }
.qz-desc { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-66); }
.qz-bars { display: flex; flex-direction: column; gap: 2px; }
.qz-br { display: grid !important; grid-template-columns: 82px minmax(0, 1fr) 30px; align-items: center; gap: 8px; min-height: 44px; width: 100%; }
.qz-bl { font-family: var(--font-name); font-weight: 600; font-size: 12.5px; line-height: 1.1; }
.qz-bt { height: 8px; background: var(--ink-05); overflow: hidden; display: block; } .qz-bars.sm .qz-bt { height: 6px; }
.qz-bt i { display: block; height: 100%; background: var(--ink); }
.qz-bv { font-family: var(--font-name); font-weight: 700; font-size: 14px; text-align: right; }
.qz-bar.hf .qz-bt { background: repeating-linear-gradient(135deg, rgba(155,59,42,.45) 0 2px, transparent 2px 5px), var(--ink-05); }
.qz-bar.hf .qz-bt i { background: var(--qz-bad); }
.qz-br[aria-expanded="true"] .qz-bl { text-decoration: underline; text-underline-offset: 3px; }
.qz-hfl { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.35; color: var(--qz-bad); margin: 0 0 4px; }
.qz-hfl svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.qz-why { font-size: 14px; line-height: 1.45; color: var(--ink-75); background: var(--ink-05); padding: 8px 8px; margin: 0 0 4px; }
.qz-stock { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--ink-15); padding-top: 12px; }
.qz-at { font-family: var(--font-name); font-weight: 700; font-size: 14px; color: var(--forest); }
.qz-take { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 16px; background: var(--forest); color: #fff !important; text-decoration: none; font-family: var(--font-name); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.qz-take:hover { background: #17301F; }
.qz-stock.no span { font-size: 14px; color: var(--ink-66); }
.qz-lnk { font-family: var(--font-name) !important; font-weight: 650; font-size: 14px; color: var(--forest) !important; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.qz-also { font-size: 14px; color: var(--ink-66); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qz-chip { display: inline-flex; align-items: center; font-family: var(--font-name) !important; font-weight: 600; font-size: 12.5px; line-height: 1.2; border: 1px solid var(--ink-15) !important; border-radius: var(--radius-none); padding: 8px 12px; min-height: 44px; background: #fff !important; color: var(--ink) !important; text-decoration: none; }
.qz-chip[aria-expanded="true"] { border-color: var(--forest) !important; color: var(--forest) !important; }
.qz-sib { background: var(--ink-05); padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; } .qz-sib b { font-family: var(--font-name); font-weight: 650; font-size: 14px; }
.qz-div { border: 1px solid var(--forest); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.qz-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-today { border-top: 1px solid var(--ink-15); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.qz-tdr { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.35; } .qz-tdr b { font-family: var(--font-name); font-weight: 650; }
.qz-th { display: block; width: 40px; height: 40px; overflow: hidden; background: var(--ground); flex: none; }
.qz-rows { display: flex; flex-direction: column; gap: 8px; }
.qz-rw { background: #fff; border: 1px solid var(--ink-15); min-width: 0; }
/* the rows [M note 15: "bigger numbers on rows #4–#13"] */
.qz-rwb { display: grid !important; grid-template-columns: 34px 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 8px 12px 8px 8px; min-height: 64px; }
.qz-rwb .qz-th { width: 48px; height: 48px; }
.qz-rn { font-family: var(--font-name); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.02em; color: var(--forest); text-align: center; }
.qz-rw.all .qz-rn { font-size: 16px; }
.qz-rt { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .qz-rt b { font-family: var(--font-name); font-weight: 650; font-size: 14px; line-height: 1.2; }
.qz-rf2 { font-size: 14px; line-height: 1.35; color: var(--ink-75); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qz-ds { font-size: 12.5px; line-height: 1.3; color: var(--ink-66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-rp { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; width: 46px; } .qz-rp b { font-family: var(--font-name); font-weight: 700; font-size: 14px; }
.qz-tb { width: 44px; height: 3px; background: var(--ink-15); overflow: hidden; display: block; } .qz-tb i { display: block; height: 100%; background: var(--ink); }
.qz-rwx { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.qz-rwl { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; } .qz-rwl .textlink { min-height: 44px; display: inline-flex; align-items: center; }
.qz-all, .qz-out { border: 1px solid var(--ink-15); background: #fff; padding: 4px 12px; }
.qz-all > summary, .qz-out > summary { cursor: pointer; font-family: var(--font-name); font-weight: 700; font-size: 14px; min-height: 48px; display: flex; align-items: center; }
.qz-all[open] { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; }
.qz-all .qz-rw { background: var(--ground); border-color: transparent; }
.qz-all .qz-rw .qz-th { background: #fff; }
.qz-ro { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--ink-15); font-size: 14px; line-height: 1.4; color: var(--ink-75); }
.qz-ro b { font-family: var(--font-name); font-weight: 650; font-size: 14px; color: var(--ink); } .qz-ro b a { text-decoration: none; }
.qz-out[open] { padding-bottom: 8px; }
.qz-srch { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-name); font-weight: 600; font-size: 12.5px; color: var(--ink-66); }
.qz-srch input { font: 400 16px/1.2 var(--font-body); padding: 12px 12px; border: 1px solid var(--ink-30); border-radius: var(--radius-none); background: #fff; color: var(--ink); min-height: 44px; width: 100%; -webkit-appearance: none; }
.qz-wwc { border: 1px solid var(--ink-15); padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.qz-rf { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-75); border-top: 1px solid var(--ink-15); padding-top: 16px; margin-top: 8px; }
.qz-rf b { color: var(--ink); font-weight: 550; }
.qz-end { display: flex; flex-direction: column; gap: 8px; }

.qz-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--ground); padding: 12px 16px; font-family: var(--font-name); font-size: 14px; letter-spacing: .02em; z-index: 60; max-width: calc(100% - 32px); text-align: center; opacity: 0; pointer-events: none; }
.qz-toast[data-on] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .qz-toast { transition: opacity .2s; } }
@media (min-width: 640px) { .qz-xl { font-size: 32px; } .qz-q { font-size: 22px; } }

/* quiz320, the remainder [C Sep 26, audit run 5; his call, the list view under 375 px, is quiz.js › view]. Nothing is cut; it moves down a layer
   [M: layer depth, don't delete it]. On a phone, Find my perfect PILF's button and "No email needed." sit above the sample report, on the hub
   and the intro, so the button is on the first screen; the report follows as the proof. Wider than a phone, the order is as it was */
@media (max-width: 639px) { .qh-main .qh-sample, .qz-intro .qz-sample { order: 1; } }
/* under 360 px: the hub's paragraph ("Tell us about your light…") also moves under the button, which is still below a 320×568 screen with only the
   report moved (685 px). Question screens drop the "Scores: Light" kicker to screen readers only, and the most → least light scale over question 1
   (each answer keeps its own light meter), so the answers start right under the question */
@media (max-width: 359px) {
  .qh-main .qh-body { order: 1; }
  .qz-sc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .qz-scale { display: none; }
}
