
/* ==========================================================================
   RheumaView Holiday Professional Quiz — module styles (Thanksgiving edition)
   Every selector is scoped to .rvhq (the module root). Nothing here styles
   the host WordPress page. Keyframes are prefixed rvhq-.
   ========================================================================== */
.rvhq {
  --rvhq-ink: #2B2C2F;
  --rvhq-ink-2: #45474D;
  --rvhq-muted: #63656B;
  --rvhq-ivory: #FBF7EE;
  --rvhq-paper: #FFFDF8;
  --rvhq-line: #E6DBC6;
  --rvhq-line-2: #D3C2A2;
  --rvhq-bronze: #7E5A2A;
  --rvhq-bronze-2: #5F421D;
  --rvhq-bronze-tint: #F4EAD8;
  --rvhq-gold: #B5985A;
  --rvhq-gold-2: #E8C66A;
  --rvhq-gold-hi: #EBDCAB;
  --rvhq-berry: #A3384A;
  --rvhq-pine: #2F6B4F;
  --rvhq-ok: #23603A;
  --rvhq-ok-bg: #E7F1E9;
  --rvhq-bad: #962C22;
  --rvhq-bad-bg: #F8E7E3;
  --rvhq-warn-bg: #FBF2DC;
  --rvhq-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --rvhq-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --rvhq-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --rvhq-ease: cubic-bezier(.2, .7, .2, 1);
  display: block;
  max-width: 780px;
  margin: 0 auto;
  color: var(--rvhq-ink);
  font-family: var(--rvhq-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  text-align: left;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ---- local reset: neutralise common theme rules inside the module only ---- */
.rvhq, .rvhq *, .rvhq *::before, .rvhq *::after { box-sizing: border-box; }
.rvhq h2, .rvhq h3, .rvhq h4, .rvhq p, .rvhq ul, .rvhq ol, .rvhq li, .rvhq dl, .rvhq dt, .rvhq dd,
.rvhq fieldset, .rvhq legend, .rvhq figure, .rvhq section, .rvhq header, .rvhq footer, .rvhq details, .rvhq summary {
  margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit;
  text-transform: none; letter-spacing: inherit; text-align: inherit;
}
.rvhq ul, .rvhq ol { list-style: none; }
.rvhq li::before, .rvhq li::marker { content: none; }
.rvhq button, .rvhq input, .rvhq a { font: inherit; letter-spacing: normal; text-transform: none; }
.rvhq button { margin: 0; -webkit-appearance: none; appearance: none; }
.rvhq a { color: var(--rvhq-bronze); text-decoration: underline; text-underline-offset: 2px; box-shadow: none; }
.rvhq svg { display: inline-block; vertical-align: middle; }
.rvhq i { font-style: normal; }
.rvhq [hidden] { display: none !important; }
.rvhq .rvhq-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---- focus ---- */
.rvhq :focus { outline: none; }
.rvhq :focus-visible {
  outline: 3px solid var(--rvhq-ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(181, 152, 90, .45);
  border-radius: 10px;
}
.rvhq [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
.rvhq .rvhq-band :focus-visible { outline-color: #FFFDF8; box-shadow: 0 0 0 6px rgba(232, 198, 106, .5); }

/* ---- card ---- */
.rvhq .rvhq-card {
  position: relative;
  background: var(--rvhq-paper);
  border: 1px solid var(--rvhq-line);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(43, 44, 47, .06), 0 18px 40px -18px rgba(95, 66, 29, .38);
  overflow: hidden;
}
.rvhq .rvhq-confetti { position: absolute; top: 0; left: 0; width: 100%; height: 0; display: none; pointer-events: none; z-index: 6; }

/* ---- graphite band with falling autumn leaves and a leaf-and-pumpkin garland ---- */
.rvhq .rvhq-band {
  position: relative; color: #FBF7EE;
  background:
    radial-gradient(120% 150% at 50% -45%, rgba(232, 198, 106, .30) 0%, rgba(232, 198, 106, 0) 58%),
    linear-gradient(180deg, #232427 0%, #34363B 100%);
}
.rvhq .rvhq-leaves { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; pointer-events: none; }
.rvhq .rvhq-leaves i {
  position: absolute; top: -16px; display: block; border-radius: 2px 78% 2px 78%;
  animation: rvhq-fall linear infinite; will-change: transform;
}
@keyframes rvhq-fall {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(var(--rvhq-drift, 0), 215px, 0) rotate(var(--rvhq-spin, 400deg)); }
}
.rvhq .rvhq-garland {
  position: absolute; left: 0; right: 0; bottom: -15px; height: 30px; z-index: 2;
  display: flex; justify-content: center; overflow: hidden; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='14'%3E%3Cpath d='M0 1 Q23 15 46 1' fill='none' stroke='%238C7A52' stroke-width='1.3'/%3E%3C/svg%3E") repeat-x center top;
}
.rvhq .rvhq-charm { flex: 0 0 46px; height: 30px; position: relative; display: block; }
.rvhq .rvhq-charm::before {
  content: ""; position: absolute; left: 50%; top: 7px; width: 1.5px; height: 5px; margin-left: -.75px; background: #8C7A52;
}
.rvhq .rvhq-charm::after {
  content: ""; position: absolute; left: 50%; top: 11px; width: 11px; height: 11px; margin-left: -5.5px;
  background: var(--rvhq-b); border-radius: 2px 80% 2px 80%; transform-origin: 50% 0;
  transform: rotate(var(--rvhq-r, 45deg));
  animation: rvhq-sway 3.2s ease-in-out infinite; animation-delay: var(--rvhq-d, 0s);
}
.rvhq .rvhq-charm--0 { --rvhq-b: #E8C66A; }
.rvhq .rvhq-charm--1::after { width: 13px; height: 11px; margin-left: -6.5px; border-radius: 50% 50% 46% 46%; --rvhq-r: 0deg; box-shadow: inset 4px 0 0 -2px rgba(126, 60, 20, .35), inset -4px 0 0 -2px rgba(126, 60, 20, .35); }
.rvhq .rvhq-charm--1 { --rvhq-b: #E08A2E; }
.rvhq .rvhq-charm--2 { --rvhq-b: #C2475A; }
.rvhq .rvhq-charm--3 { --rvhq-b: #B98545; }
@keyframes rvhq-sway {
  0%, 100% { transform: rotate(calc(var(--rvhq-r, 45deg) - 10deg)); }
  50% { transform: rotate(calc(var(--rvhq-r, 45deg) + 10deg)); }
}

.rvhq .rvhq-head {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px; padding: 16px 20px 38px;
}
.rvhq .rvhq-brandrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.rvhq .rvhq-brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--rvhq-serif); font-size: 1.16rem; font-weight: 600; letter-spacing: .01em; color: #FBF7EE;
}
.rvhq .rvhq-star { width: 16px; height: 16px; color: var(--rvhq-gold); flex: none; }
.rvhq .rvhq-band .rvhq-star { color: var(--rvhq-gold-2); animation: rvhq-pulse 3.4s ease-in-out infinite; }
@keyframes rvhq-pulse { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.25) rotate(18deg); opacity: .75; } }
.rvhq .rvhq-demo {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: rgba(232, 198, 106, .14); border: 1px dashed var(--rvhq-gold-2);
  color: #F5E7BC; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.rvhq .rvhq-linkbtn {
  background: none; border: 0; padding: 6px 4px; min-height: 32px; cursor: pointer;
  color: var(--rvhq-gold-hi); font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px;
}
.rvhq .rvhq-linkbtn:hover { color: #FFFFFF; }
.rvhq .rvhq-tools { display: flex; align-items: center; gap: 8px; }
.rvhq .rvhq-fx {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(232, 198, 106, .18); border: 1px solid rgba(235, 220, 171, .5); color: #FFF3CF;
}
.rvhq .rvhq-fx svg { width: 20px; height: 20px; }
.rvhq .rvhq-fx:hover { background: rgba(232, 198, 106, .3); }
.rvhq .rvhq-fx[aria-pressed="false"] { background: transparent; color: #B9B3A4; }
.rvhq .rvhq-fx[aria-pressed="false"]::after {
  content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px;
  background: #B9B3A4; transform: rotate(-45deg); border-radius: 2px;
}
.rvhq .rvhq-lang {
  display: inline-flex; flex-wrap: nowrap; padding: 3px; gap: 2px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(235, 220, 171, .42); border-radius: 12px;
}
.rvhq .rvhq-lang button {
  min-width: 44px; min-height: 38px; padding: 6px 10px;
  background: transparent; border: 0; border-radius: 9px; cursor: pointer;
  color: #F1E9D6; font-size: .86rem; font-weight: 700; letter-spacing: .05em; line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.rvhq .rvhq-lang button:hover { background: rgba(255, 255, 255, .14); }
.rvhq .rvhq-lang button[aria-pressed="true"] { background: var(--rvhq-gold-2); color: #26272A; }

/* ---- body ---- */
.rvhq .rvhq-body { position: relative; padding: 36px 20px 26px; }
.rvhq .rvhq-foot {
  padding: 12px 20px 16px; border-top: 1px solid var(--rvhq-line);
  color: var(--rvhq-muted); font-size: .82rem; background: var(--rvhq-ivory);
}
.rvhq .rvhq-foot p + p { margin-top: 4px; }

.rvhq .rvhq-eyebrow {
  display: flex; align-items: center; gap: 8px;
  color: var(--rvhq-bronze); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.rvhq .rvhq-eyebrow .rvhq-star { width: 14px; height: 14px; }
.rvhq .rvhq-title {
  margin-top: 8px;
  font-family: var(--rvhq-serif); font-weight: 600; color: var(--rvhq-ink);
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.05rem); line-height: 1.2;
  overflow-wrap: break-word;
}
.rvhq .rvhq-tagline {
  margin-top: 10px; font-family: var(--rvhq-serif); font-style: italic; font-size: 1.14rem; line-height: 1.45;
  color: var(--rvhq-bronze-2);
}
.rvhq .rvhq-lead { margin-top: 12px; color: var(--rvhq-ink-2); font-size: 1.02rem; }
.rvhq .rvhq-h3 { font-family: var(--rvhq-serif); font-size: 1.16rem; font-weight: 600; line-height: 1.3; color: var(--rvhq-ink); }
.rvhq .rvhq-muted { color: var(--rvhq-muted); }
.rvhq .rvhq-small { font-size: .9rem; }

.rvhq .rvhq-rules-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rvhq .rvhq-chip {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  background: var(--rvhq-bronze-tint); border: 1px solid var(--rvhq-line-2);
  color: var(--rvhq-bronze-2); font-size: .9rem; font-weight: 700;
}
.rvhq .rvhq-panel {
  margin-top: 20px; padding: 16px 18px;
  background: var(--rvhq-ivory); border: 1px solid var(--rvhq-line); border-left: 4px solid var(--rvhq-gold);
  border-radius: 12px;
}
.rvhq .rvhq-panel p { margin-top: 6px; }
.rvhq .rvhq-section { margin-top: 22px; }
.rvhq .rvhq-bullets { margin-top: 8px; }
.rvhq .rvhq-bullets li { position: relative; padding-left: 22px; margin-top: 8px; }
.rvhq .rvhq-bullets li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px;
  background: var(--rvhq-gold); transform: rotate(45deg); border-radius: 1px;
}
.rvhq .rvhq-perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-weight: 600; color: var(--rvhq-ink-2); }
.rvhq .rvhq-perks li { display: inline-flex; align-items: center; gap: 6px; }
.rvhq .rvhq-tick { color: var(--rvhq-ok); font-weight: 800; }
.rvhq .rvhq-langnote { margin-top: 14px; font-size: .92rem; color: var(--rvhq-muted); }

/* ---- buttons ---- */
.rvhq .rvhq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.rvhq .rvhq-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; overflow: hidden;
  border-radius: 12px; border: 2px solid var(--rvhq-bronze);
  background: var(--rvhq-bronze); color: #FFFDF8;
  font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.rvhq .rvhq-btn:hover { background: var(--rvhq-bronze-2); border-color: var(--rvhq-bronze-2); color: #FFFDF8; transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(95, 66, 29, .8); }
.rvhq .rvhq-btn:active { transform: translateY(0); box-shadow: none; }
.rvhq .rvhq-btn--secondary { background: transparent; color: var(--rvhq-bronze-2); }
.rvhq .rvhq-btn--secondary:hover { background: var(--rvhq-bronze-tint); color: var(--rvhq-bronze-2); }
.rvhq .rvhq-btn[disabled], .rvhq .rvhq-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.rvhq .rvhq-btn[disabled]:hover { background: var(--rvhq-bronze); border-color: var(--rvhq-bronze); }
.rvhq .rvhq-btn--secondary[disabled]:hover { background: transparent; }
.rvhq .rvhq-btn--glow::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%;
  background: linear-gradient(110deg, rgba(255, 243, 207, 0) 35%, rgba(255, 243, 207, .5) 50%, rgba(255, 243, 207, 0) 65%);
  transform: translateX(-120%); animation: rvhq-sheen 4.6s ease-in-out infinite; pointer-events: none;
}
@keyframes rvhq-sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---- entry animations (only when a screen changes) ---- */
.rvhq .rvhq-enter .rvhq-anim { animation: rvhq-up .55s var(--rvhq-ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rvhq-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rvhq .rvhq-enter .rvhq-case.is-fwd { animation: rvhq-slide-l .5s var(--rvhq-ease) both; }
.rvhq .rvhq-enter .rvhq-case.is-back { animation: rvhq-slide-r .5s var(--rvhq-ease) both; }
@keyframes rvhq-slide-l { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes rvhq-slide-r { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes rvhq-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* ---- mascot: a turkey clinician in a pilgrim hat (decorative) ---- */
.rvhq .rvhq-hero { display: flow-root; }
.rvhq .rvhq-mascot { display: block; pointer-events: none; }
.rvhq .rvhq-mascot svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; }
.rvhq .rvhq-mascot--hero { float: right; width: 108px; margin: -10px 0 6px 16px; }
.rvhq .rvhq-mascot--case { position: absolute; right: 22px; top: -42px; width: 62px; z-index: 0; }
.rvhq .rvhq-m-eyes, .rvhq .rvhq-m-drop, .rvhq .rvhq-m-hat, .rvhq .rvhq-m-head, .rvhq .rvhq-m-tail, .rvhq .rvhq-m-wattle,
.rvhq .rvhq-m-arm-l, .rvhq .rvhq-m-arm-r, .rvhq .rvhq-t-wattle, .rvhq .rvhq-t-leg-a, .rvhq .rvhq-t-leg-b { transform-box: fill-box; }
.rvhq .rvhq-m-eyes { transform-origin: 50% 50%; animation: rvhq-blink 4.2s ease-in-out infinite; }
.rvhq .rvhq-m-arm-r, .rvhq .rvhq-m-arm-l { transform-origin: 50% 6%; }
.rvhq .rvhq-m-hat, .rvhq .rvhq-m-head, .rvhq .rvhq-m-tail { transform-origin: 50% 100%; }
.rvhq .rvhq-m-wattle { transform-origin: 50% 0; }
.rvhq .rvhq-m-drop { transform-origin: 50% 50%; }
@keyframes rvhq-blink { 0%, 91%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes rvhq-wave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-88deg); } 55% { transform: rotate(-52deg); } 80% { transform: rotate(-88deg); } }
@keyframes rvhq-wave-l { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(88deg); } 55% { transform: rotate(52deg); } 80% { transform: rotate(88deg); } }
@keyframes rvhq-hop {
  0% { transform: none; } 28% { transform: translateY(-16px) scale(.95, 1.07); }
  55% { transform: translateY(0) scale(1.07, .93); } 76% { transform: translateY(-5px); } 100% { transform: none; }
}
@keyframes rvhq-jiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-28deg); } 60% { transform: rotate(22deg); } 82% { transform: rotate(-10deg); } }
@keyframes rvhq-dance {
  0%, 100% { transform: rotate(-10deg); } 25% { transform: rotate(0) translateY(-7px); }
  50% { transform: rotate(10deg); } 75% { transform: rotate(0) translateY(-7px); }
}
@keyframes rvhq-fan { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14, 1.1); } }
@keyframes rvhq-hat { 0%, 100% { transform: none; } 50% { transform: translateY(-10px) rotate(-14deg); } }
@keyframes rvhq-drop {
  0%, 12% { transform: none; } 34%, 62% { transform: translate(4px, 40px) rotate(64deg); }
  80%, 100% { transform: none; }
}
@keyframes rvhq-nod { 0%, 14%, 80%, 100% { transform: none; } 38%, 60% { transform: rotate(13deg) translateY(2px); } }
@keyframes rvhq-peek { 0% { transform: translateY(50px); } 60% { transform: translateY(-7px); } 100% { transform: none; } }
/* start / welcome back / goodbye: pops in and waves a wing */
.rvhq .rvhq-enter .rvhq-mascot--hero { animation: rvhq-pop .6s var(--rvhq-ease) .1s both; }
.rvhq .rvhq-enter .rvhq-mascot.is-wave .rvhq-m-arm-r { animation: rvhq-wave 1.2s ease-in-out .7s 3; }
/* question: peeks over the case card, hops when an answer is picked (the same for any answer) */
.rvhq .rvhq-enter .rvhq-mascot--case { animation: rvhq-peek .7s var(--rvhq-ease) .2s both; }
.rvhq .rvhq-mascot.is-hop svg { animation: rvhq-hop .65s ease-out; }
.rvhq .rvhq-mascot.is-hop .rvhq-m-hat { animation: rvhq-hat .65s ease-out; }
.rvhq .rvhq-mascot.is-hop .rvhq-m-wattle { animation: rvhq-jiggle .8s ease-out; }
/* pass: victory dance, tail fanned out, hat in the air */
.rvhq .rvhq-enter .rvhq-mascot.is-dance svg { animation: rvhq-dance .9s ease-in-out .5s 6; }
.rvhq .rvhq-enter .rvhq-mascot.is-dance .rvhq-m-tail { animation: rvhq-fan .9s ease-in-out .5s 6; }
.rvhq .rvhq-enter .rvhq-mascot.is-dance .rvhq-m-hat { animation: rvhq-hat .9s ease-in-out .5s 6; }
.rvhq .rvhq-enter .rvhq-mascot.is-dance .rvhq-m-wattle { animation: rvhq-jiggle .45s ease-in-out .5s 12; }
.rvhq .rvhq-enter .rvhq-mascot.is-dance .rvhq-m-arm-r { animation: rvhq-wave .9s ease-in-out .5s 6; }
.rvhq .rvhq-enter .rvhq-mascot.is-dance .rvhq-m-arm-l { animation: rvhq-wave-l .9s ease-in-out .5s 6; }
/* not passed yet: a tail feather falls off, he looks at it, it pops back and he waves */
.rvhq .rvhq-enter .rvhq-mascot.is-oops .rvhq-m-drop { animation: rvhq-drop 2.8s ease-in-out .6s 1; }
.rvhq .rvhq-enter .rvhq-mascot.is-oops .rvhq-m-head { animation: rvhq-nod 2.8s ease-in-out .6s 1; }
.rvhq .rvhq-enter .rvhq-mascot.is-oops .rvhq-m-arm-r { animation: rvhq-wave 1.2s ease-in-out 3.5s 2; }
/* header: now and then he jogs along the garland in a race bib */
.rvhq .rvhq-trot { position: absolute; left: 0; bottom: 14px; width: 100%; height: 0; animation: rvhq-trot 22s linear 3s infinite backwards; }
.rvhq .rvhq-trot span { position: absolute; left: 0; bottom: 0; display: block; width: 50px; transform-origin: 50% 100%; animation: rvhq-bob .36s ease-in-out infinite; }
.rvhq .rvhq-trot svg { display: block; width: 100%; height: auto; overflow: visible; }
.rvhq .rvhq-t-wattle { transform-origin: 50% 0; animation: rvhq-flap .36s ease-in-out infinite; }
.rvhq .rvhq-t-leg-a, .rvhq .rvhq-t-leg-b { transform-origin: 50% 0; animation: rvhq-run .36s ease-in-out infinite alternate; }
.rvhq .rvhq-t-leg-b { animation-direction: alternate-reverse; }
@keyframes rvhq-trot { 0% { transform: translateX(-70px); } 42% { transform: translateX(104%); } 100% { transform: translateX(104%); } }
@keyframes rvhq-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3px) rotate(3deg); } }
@keyframes rvhq-flap { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(18deg); } }
@keyframes rvhq-run { from { transform: rotate(-34deg); } to { transform: rotate(34deg); } }

/* ---- question screen ---- */
.rvhq .rvhq-qhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.rvhq .rvhq-qcount { font-size: 1.05rem; font-weight: 700; color: var(--rvhq-ink); }
.rvhq .rvhq-attempt { font-size: .9rem; color: var(--rvhq-muted); font-weight: 600; }
.rvhq .rvhq-steps { margin-top: 16px; }
.rvhq .rvhq-steps ol { display: flex; flex-wrap: wrap; gap: 12px; }
.rvhq .rvhq-step {
  position: relative; width: 44px; height: 44px; border-radius: 50%; padding: 0;
  border: 2px solid var(--rvhq-line-2); color: var(--rvhq-ink-2);
  background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, var(--rvhq-paper) 55%, #F1E8D6 100%);
  font-weight: 700; font-size: .95rem; cursor: pointer; line-height: 1;
  transition: transform .15s ease, border-color .15s ease;
}
.rvhq .rvhq-step::before {
  content: ""; position: absolute; left: 50%; top: -9px; width: 7px; height: 10px; margin-left: -2px;
  border-radius: 3px 3px 1px 1px; background: #A9A77A; transform: rotate(16deg);
}
.rvhq .rvhq-step:hover { border-color: var(--rvhq-bronze); transform: translateY(-2px); }
.rvhq .rvhq-step.is-answered {
  background: radial-gradient(circle at 34% 28%, #FFE9BF 0%, #EDA24B 58%, #C9742A 100%);
  border-color: #C9742A; color: #26272A;
  box-shadow: inset 9px 0 6px -8px rgba(126, 60, 20, .5), inset -9px 0 6px -8px rgba(126, 60, 20, .5), 0 0 0 3px rgba(237, 162, 75, .28), 0 6px 12px -6px rgba(126, 90, 42, .7);
}
.rvhq .rvhq-step.is-answered::before { background: #6B7A3A; }
.rvhq .rvhq-step.is-answered::after {
  content: "✓"; position: absolute; right: -4px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--rvhq-bronze-2); color: #FFFDF8; font-size: 10px; line-height: 17px; text-align: center;
}
.rvhq .rvhq-step[aria-current="step"] { border-color: var(--rvhq-bronze-2); border-width: 3px; }
.rvhq .rvhq-step.is-lit { animation: rvhq-lit .7s ease-out; }
@keyframes rvhq-lit {
  0% { transform: scale(1) rotate(0); } 30% { transform: scale(1.2) rotate(-8deg); }
  60% { transform: scale(1.08) rotate(6deg); } 100% { transform: scale(1) rotate(0); }
}

.rvhq .rvhq-casewrap { position: relative; margin-top: 24px; }
.rvhq .rvhq-case {
  position: relative; z-index: 1; padding: 20px 20px 22px;
  background: var(--rvhq-ivory); border: 1px solid var(--rvhq-line-2); border-radius: 16px;
  box-shadow: inset 0 3px 0 0 var(--rvhq-gold-2), 0 10px 24px -18px rgba(95, 66, 29, .55);
}
.rvhq .rvhq-case-label { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rvhq-bronze); }
.rvhq .rvhq-case-title {
  margin-top: 4px; font-family: var(--rvhq-serif); font-style: italic; font-weight: 600;
  font-size: 1.22rem; line-height: 1.3; color: var(--rvhq-bronze-2); overflow-wrap: break-word;
}
.rvhq .rvhq-stem {
  margin-top: 10px; font-family: var(--rvhq-serif); font-size: 1.2rem; line-height: 1.55; color: var(--rvhq-ink);
  overflow-wrap: break-word;
}
.rvhq .rvhq-fieldset { margin-top: 16px; min-width: 0; }
.rvhq .rvhq-prompt {
  display: block; float: none; width: 100%;
  padding-top: 14px; border-top: 1px solid var(--rvhq-line-2);
  font-size: 1.08rem; font-weight: 700; line-height: 1.4; color: var(--rvhq-ink);
  overflow-wrap: break-word;
}
.rvhq .rvhq-options { display: grid; gap: 10px; margin-top: 14px; }
.rvhq .rvhq-option {
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: start; gap: 12px;
  min-height: 56px; padding: 14px 16px;
  background: var(--rvhq-paper); border: 2px solid var(--rvhq-line); border-radius: 12px;
  cursor: pointer; color: var(--rvhq-ink); font-size: 1rem; line-height: 1.45;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.rvhq .rvhq-option:hover { border-color: var(--rvhq-gold); transform: translateX(3px); box-shadow: -4px 0 0 0 var(--rvhq-gold-2); }
.rvhq .rvhq-option.is-selected {
  border-color: var(--rvhq-bronze); background: linear-gradient(100deg, #F7ECD3 0%, var(--rvhq-bronze-tint) 60%, #FBF3E2 100%);
  box-shadow: 0 8px 18px -12px rgba(95, 66, 29, .7);
}
.rvhq .rvhq-option.is-just { animation: rvhq-press .38s ease-out; }
@keyframes rvhq-press { 0% { transform: scale(1); } 45% { transform: scale(1.018); } 100% { transform: scale(1); } }
.rvhq .rvhq-option:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(181, 152, 90, .45); border-color: var(--rvhq-bronze-2); }
.rvhq .rvhq-option input[type="radio"] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--rvhq-bronze); cursor: pointer; }
.rvhq .rvhq-letter {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; margin-top: -1px; flex: none;
  border: 1.5px solid var(--rvhq-line-2); color: var(--rvhq-bronze-2); font-size: .82rem; font-weight: 800;
  transition: background-color .15s ease, color .15s ease;
}
.rvhq .rvhq-option.is-selected .rvhq-letter { background: var(--rvhq-bronze); border-color: var(--rvhq-bronze); color: #FFFDF8; }
.rvhq .rvhq-option-text { min-width: 0; overflow-wrap: break-word; word-break: normal; }
.rvhq .rvhq-spark {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; pointer-events: none;
  background: var(--rvhq-gold-2);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: rvhq-spark .7s ease-out forwards;
}
@keyframes rvhq-spark {
  from { transform: translate(0, 0) scale(.4) rotate(0); opacity: 1; }
  to { transform: translate(var(--dx, 0), var(--dy, 0)) scale(1.5) rotate(120deg); opacity: 0; }
}

.rvhq .rvhq-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; }
.rvhq .rvhq-nav .rvhq-btn { min-width: 132px; }
.rvhq .rvhq-cheer {
  min-height: 1.6em; margin-top: 16px; text-align: center;
  font-family: var(--rvhq-serif); font-style: italic; font-size: 1.05rem; color: var(--rvhq-bronze-2);
}
.rvhq .rvhq-cheer.is-pop { animation: rvhq-up .45s var(--rvhq-ease) both; }
.rvhq .rvhq-status-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 8px;
  font-size: .88rem; color: var(--rvhq-muted);
}
.rvhq .rvhq-save.is-failed { color: var(--rvhq-bad); font-weight: 600; }

/* ---- review ---- */
.rvhq .rvhq-review { margin-top: 18px; display: grid; gap: 10px; }
.rvhq .rvhq-review > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--rvhq-line); border-left: 4px solid var(--rvhq-gold-2);
  border-radius: 12px; background: var(--rvhq-ivory);
}
.rvhq .rvhq-review > li.is-missing { border-left-color: var(--rvhq-bad); }
.rvhq .rvhq-review-q { font-weight: 700; font-size: .9rem; color: var(--rvhq-bronze-2); overflow-wrap: break-word; }
.rvhq .rvhq-review-q em { font-family: var(--rvhq-serif); font-style: italic; font-weight: 600; }
.rvhq .rvhq-review-prompt { margin-top: 2px; font-weight: 600; overflow-wrap: break-word; }
.rvhq .rvhq-review-ans { margin-top: 4px; color: var(--rvhq-ink-2); overflow-wrap: break-word; }
.rvhq .rvhq-review-ans.is-missing { color: var(--rvhq-bad); font-weight: 700; }
.rvhq .rvhq-review .rvhq-btn { min-height: 44px; padding: 8px 14px; font-size: .92rem; }
.rvhq .rvhq-confirm { margin-top: 20px; padding: 18px; border-radius: 14px; background: var(--rvhq-warn-bg); border: 2px solid var(--rvhq-gold); }
.rvhq .rvhq-confirm p { margin-top: 6px; }

/* ---- alerts & loading ---- */
.rvhq .rvhq-alert {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  background: var(--rvhq-bad-bg); border: 1px solid #E5BDB5; border-left: 5px solid var(--rvhq-bad); color: var(--rvhq-ink);
}
.rvhq .rvhq-alert p + p { margin-top: 4px; }
.rvhq .rvhq-alert strong { color: var(--rvhq-bad); }
.rvhq .rvhq-alert .rvhq-actions { margin-top: 12px; }
.rvhq .rvhq-loading { display: flex; align-items: center; gap: 12px; padding: 26px 0; color: var(--rvhq-ink-2); font-weight: 600; }
.rvhq .rvhq-spinner {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 3px solid var(--rvhq-line-2); border-top-color: var(--rvhq-bronze);
  animation: rvhq-spin .9s linear infinite;
}
@keyframes rvhq-spin { to { transform: rotate(360deg); } }
.rvhq .rvhq-cloche { display: inline-block; width: 64px; height: 64px; flex: none; }
.rvhq .rvhq-cloche svg { width: 100%; height: 100%; overflow: visible; }
.rvhq .rvhq-cloche.is-wait { animation: rvhq-wobble 1.1s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes rvhq-wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.rvhq .rvhq-lid, .rvhq .rvhq-cloche-stars { transform-box: fill-box; transform-origin: 50% 100%; }
.rvhq .rvhq-lid { transform-origin: 4% 100%; }
.rvhq .rvhq-cloche.is-open .rvhq-lid { transform: rotate(-36deg); }
.rvhq .rvhq-cloche:not(.is-open) .rvhq-cloche-stars { opacity: 0; }

/* ---- results ---- */
.rvhq .rvhq-score { display: flex; align-items: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.rvhq .rvhq-ring { position: relative; width: 104px; height: 104px; flex: none; }
.rvhq .rvhq-ring svg { width: 100%; height: 100%; }
.rvhq .rvhq-ring-bg { fill: var(--rvhq-ivory); stroke: var(--rvhq-line); stroke-width: 7; }
.rvhq .rvhq-ring-fg { fill: none; stroke: var(--rvhq-bad); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--rvhq-ease); }
.rvhq .rvhq-ring.is-pass .rvhq-ring-fg { stroke: var(--rvhq-gold); }
.rvhq .rvhq-ring-num {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: baseline; justify-content: center;
  padding-top: 28px; font-family: var(--rvhq-serif); color: var(--rvhq-ink);
}
.rvhq .rvhq-ring-num b { font-size: 2.4rem; line-height: 1; font-weight: 700; }
.rvhq .rvhq-ring-num small { font-size: 1.1rem; color: var(--rvhq-muted); margin-left: 2px; }
.rvhq .rvhq-score-line { font-size: 1.15rem; font-weight: 700; }
.rvhq .rvhq-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .88rem; }
.rvhq .rvhq-tag--ok { background: var(--rvhq-ok-bg); color: var(--rvhq-ok); border: 1px solid #B9D6C1; }
.rvhq .rvhq-tag--bad { background: var(--rvhq-bad-bg); color: var(--rvhq-bad); border: 1px solid #E5BDB5; }

.rvhq .rvhq-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 8px; }
.rvhq .rvhq-orb {
  position: relative; width: 46px; height: 46px; border-radius: 50%; padding: 0; border: 0; cursor: pointer;
  color: #FFFFFF; font-weight: 800; font-size: 1rem; line-height: 1; transition: transform .15s ease;
}
.rvhq .rvhq-orb.is-ok { background: radial-gradient(circle at 34% 28%, #5FAE80 0%, #2E7A4B 60%, #1F5534 100%); }
.rvhq .rvhq-orb.is-bad { background: radial-gradient(circle at 34% 28%, #D0685C 0%, #A2372C 60%, #7C241B 100%); }
.rvhq .rvhq-orb:hover { transform: translateY(-3px); }
.rvhq .rvhq-orb-mark {
  position: absolute; right: -4px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%;
  background: #FFFDF8; border: 1px solid currentColor; font-size: 11px; line-height: 16px; text-align: center;
}
.rvhq .rvhq-orb.is-ok .rvhq-orb-mark { color: var(--rvhq-ok); }
.rvhq .rvhq-orb.is-bad .rvhq-orb-mark { color: var(--rvhq-bad); }
.rvhq .rvhq-enter .rvhq-strip li { animation: rvhq-pop .5s var(--rvhq-ease) both; animation-delay: calc(650ms + var(--i, 0) * 150ms); }

.rvhq .rvhq-code {
  position: relative; margin-top: 22px; padding: 18px; border-radius: 16px;
  background: linear-gradient(135deg, #FFFBF0 0%, var(--rvhq-ivory) 60%, #F7EED9 100%);
  border: 1px solid var(--rvhq-line-2); box-shadow: inset 0 3px 0 0 var(--rvhq-gold-2);
}
.rvhq .rvhq-code-top { display: flex; align-items: center; gap: 14px; }
.rvhq .rvhq-demo-tag {
  display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 6px;
  background: var(--rvhq-warn-bg); border: 1px dashed var(--rvhq-bronze);
  color: var(--rvhq-bronze-2); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.rvhq .rvhq-codebox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.rvhq .rvhq-codeval {
  position: relative; display: inline-block; padding: 10px 16px; border-radius: 10px; max-width: 100%; overflow: hidden;
  background: var(--rvhq-paper); border: 2px dashed var(--rvhq-gold);
  font-family: var(--rvhq-mono); font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; color: var(--rvhq-ink);
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
.rvhq .rvhq-codeval.is-demo { text-decoration: line-through; text-decoration-color: rgba(150, 44, 34, .55); text-decoration-thickness: 2px; }
.rvhq .rvhq-copystatus { min-height: 1.4em; margin-top: 8px; font-size: .9rem; color: var(--rvhq-ok); font-weight: 600; }
.rvhq .rvhq-copystatus.is-failed { color: var(--rvhq-bad); }
.rvhq .rvhq-code .rvhq-h4 { margin-top: 14px; font-weight: 700; }
.rvhq .rvhq-code p { margin-top: 6px; }
.rvhq .rvhq-reveal .rvhq-lid { animation: rvhq-lid 1s var(--rvhq-ease) .15s both; }
@keyframes rvhq-lid {
  0% { transform: none; } 28% { transform: rotate(3deg); }
  66% { transform: rotate(-46deg); } 100% { transform: rotate(-36deg); }
}
.rvhq .rvhq-reveal .rvhq-cloche-stars { animation: rvhq-pop .6s var(--rvhq-ease) .7s both; }
.rvhq .rvhq-reveal .rvhq-codeval { animation: rvhq-up .6s var(--rvhq-ease) .55s both; }
.rvhq .rvhq-reveal .rvhq-codeval::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%;
  background: linear-gradient(110deg, rgba(232, 198, 106, 0) 30%, rgba(232, 198, 106, .55) 50%, rgba(232, 198, 106, 0) 70%);
  transform: translateX(-120%); animation: rvhq-sweep 1.1s ease-out 1.1s 1 both; pointer-events: none;
}
@keyframes rvhq-sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

.rvhq .rvhq-explain { margin-top: 26px; }
.rvhq .rvhq-explain > ol { margin-top: 12px; display: grid; gap: 14px; }
.rvhq .rvhq-ex {
  padding: 16px; border-radius: 14px; background: var(--rvhq-paper); scroll-margin-top: 14px;
  border: 1px solid var(--rvhq-line); border-left: 5px solid var(--rvhq-line-2);
  box-shadow: 0 8px 20px -18px rgba(95, 66, 29, .6);
}
.rvhq .rvhq-ex.is-ok { border-left-color: var(--rvhq-ok); }
.rvhq .rvhq-ex.is-bad { border-left-color: var(--rvhq-bad); }
.rvhq .rvhq-ex:focus { box-shadow: 0 0 0 3px rgba(181, 152, 90, .55); }
.rvhq .rvhq-ex-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rvhq .rvhq-ex-num { font-weight: 700; color: var(--rvhq-muted); font-size: .9rem; }
.rvhq .rvhq-ex-title { margin-top: 8px; font-family: var(--rvhq-serif); font-style: italic; font-weight: 600; font-size: 1.14rem; color: var(--rvhq-bronze-2); overflow-wrap: break-word; }
.rvhq .rvhq-mark { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: .84rem; font-weight: 800; }
.rvhq .rvhq-mark--ok { background: var(--rvhq-ok-bg); color: var(--rvhq-ok); }
.rvhq .rvhq-mark--bad { background: var(--rvhq-bad-bg); color: var(--rvhq-bad); }
.rvhq .rvhq-ex-stem { margin-top: 6px; font-size: .95rem; color: var(--rvhq-ink-2); overflow-wrap: break-word; }
.rvhq .rvhq-ex-prompt { margin-top: 8px; font-weight: 700; overflow-wrap: break-word; }
.rvhq .rvhq-ex-opts { margin-top: 10px; display: grid; gap: 6px; }
.rvhq .rvhq-ex-opts > li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--rvhq-line);
  background: var(--rvhq-paper); font-size: .95rem; color: var(--rvhq-muted); overflow-wrap: break-word;
}
.rvhq .rvhq-ex-opts > li.is-best { border-color: #9CC7A9; background: var(--rvhq-ok-bg); color: var(--rvhq-ink); }
.rvhq .rvhq-ex-opts > li.is-wrong { border-color: #E5BDB5; background: var(--rvhq-bad-bg); color: var(--rvhq-ink); }
.rvhq .rvhq-ex-opts .rvhq-letter { width: 24px; height: 24px; font-size: .78rem; background: var(--rvhq-paper); }
.rvhq .rvhq-pills { display: block; margin-top: 4px; }
.rvhq .rvhq-pill { display: inline-block; margin: 0 6px 2px 0; padding: 1px 9px; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.rvhq .rvhq-pill--best { background: var(--rvhq-ok); color: #FFFFFF; }
.rvhq .rvhq-pill--you { background: var(--rvhq-paper); color: var(--rvhq-ink-2); border: 1px solid var(--rvhq-ink-2); }
.rvhq .rvhq-ex-why { margin-top: 12px; overflow-wrap: break-word; }
.rvhq .rvhq-ex-why strong { color: var(--rvhq-bronze-2); }
.rvhq .rvhq-quip {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  background: var(--rvhq-bronze-tint); font-family: var(--rvhq-serif); font-style: italic; font-size: 1.04rem;
  color: var(--rvhq-bronze-2); overflow-wrap: break-word;
}
.rvhq .rvhq-quip .rvhq-star { margin-top: 5px; }

.rvhq .rvhq-details { margin-top: 22px; border: 1px solid var(--rvhq-line); border-radius: 12px; background: var(--rvhq-ivory); }
.rvhq .rvhq-details > summary { display: list-item; cursor: pointer; padding: 14px 16px; min-height: 48px; font-weight: 700; color: var(--rvhq-bronze-2); }
.rvhq .rvhq-details[open] > summary { border-bottom: 1px solid var(--rvhq-line); }
.rvhq .rvhq-details > .rvhq-explain { margin: 0; padding: 4px 14px 14px; }

/* ---- small screens ---- */
@media (max-width: 520px) {
  .rvhq .rvhq-head { padding: 12px 14px 38px; }
  .rvhq .rvhq-body { padding: 32px 14px 22px; }
  .rvhq .rvhq-foot { padding: 12px 14px 14px; }
  .rvhq .rvhq-case { padding: 16px 14px 18px; border-radius: 14px; }
  .rvhq .rvhq-casewrap { margin-top: 46px; }
  .rvhq .rvhq-mascot--case { right: 12px; top: -37px; width: 54px; }
  .rvhq .rvhq-mascot--hero { width: 78px; margin: -4px 0 4px 10px; }
  .rvhq .rvhq-stem { font-size: 1.1rem; }
  .rvhq .rvhq-title, .rvhq .rvhq-stem, .rvhq .rvhq-prompt, .rvhq .rvhq-option-text, .rvhq .rvhq-ex-opts > li { hyphens: auto; -webkit-hyphens: auto; }
  /* the native radio stays in the DOM (keyboard + screen readers); the letter badge shows the state */
  .rvhq .rvhq-option { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px 12px; }
  .rvhq .rvhq-option:hover { transform: none; box-shadow: none; }
  .rvhq .rvhq-option input[type="radio"] { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
  .rvhq .rvhq-option:focus-within { box-shadow: 0 0 0 4px rgba(181, 152, 90, .5); border-color: var(--rvhq-bronze-2); }
  .rvhq .rvhq-actions .rvhq-btn { flex: 1 1 100%; }
  .rvhq .rvhq-nav { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .rvhq .rvhq-nav .rvhq-btn { min-width: 0; padding: 12px 14px; }
  .rvhq .rvhq-steps ol { gap: 10px; }
  .rvhq .rvhq-lang button { min-width: 40px; padding: 6px 8px; }
  .rvhq .rvhq-review > li { grid-template-columns: minmax(0, 1fr); }
  .rvhq .rvhq-review .rvhq-btn { justify-self: start; }
  .rvhq .rvhq-strip { gap: 10px; }
}
@media (min-width: 640px) {
  .rvhq .rvhq-body { padding: 40px 36px 34px; }
  .rvhq .rvhq-head { padding: 16px 28px 40px; }
  .rvhq .rvhq-foot { padding: 12px 28px 16px; }
}

/* ---- motion preferences: OS setting, and the module's own animation switch ---- */
@media (prefers-reduced-motion: reduce) {
  .rvhq *, .rvhq *::before, .rvhq *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rvhq .rvhq-leaves, .rvhq .rvhq-fx { display: none; }
}
.rvhq.rvhq--still *, .rvhq.rvhq--still *::before, .rvhq.rvhq--still *::after { animation: none !important; transition: none !important; }
.rvhq.rvhq--still .rvhq-leaves { display: none; }
@media (forced-colors: active) {
  .rvhq .rvhq-option.is-selected { outline: 3px solid Highlight; }
  .rvhq .rvhq-lang button[aria-pressed="true"] { outline: 2px solid Highlight; }
  .rvhq .rvhq-step.is-answered { outline: 2px solid Highlight; }
}
