/* /data request quiz (static/request/*.js). Everything is scoped to #rq so it cannot touch the rest of the site. */
.rq { max-width:760px; margin:0 auto; padding:0 20px; color:var(--text-primary); }
.rq .tag { display:inline-block; font-size:13px; font-weight:600; color:var(--accent-text); background:var(--accent-soft); padding:3px 10px; border-radius:99px; }
.rq h1 { font-size:clamp(24px,4vw,32px); line-height:1.2; margin:12px 0 8px; }
.rq .lead { color:var(--text-secondary); margin:0 0 20px; }
.rq .terms { display:flex; gap:18px; flex-wrap:wrap; font-size:14px; margin-bottom:24px; }
.rq .terms b { color:var(--accent-text); }
.rq form { background:var(--bg-card); border:1px solid var(--border); border-radius:14px; padding:24px; }
.rq input[type=text], .rq input[type=email] { width:100%; margin-top:12px; padding:13px; font:inherit; font-size:17px; color:var(--text-primary); border:1px solid var(--border); border-radius:10px; background:var(--bg-card); }
.rq input + input { margin-top:10px; }
.rq button { width:100%; padding:13px; font:inherit; font-weight:700; color:#fff; background:var(--accent); border:0; border-radius:10px; cursor:pointer; }
.rq button:hover { background:var(--accent-hover); }
.rq button:disabled { opacity:.6; cursor:default; }
.rq .after { font-size:14px; color:var(--text-secondary); margin:12px 0 0; text-align:center; }
.rq #done { display:none; margin-top:16px; padding:14px; border-radius:10px; background:var(--accent-soft); font-size:15px; }
.rq.note { margin-top:18px; font-size:13px; color:var(--text-muted); text-align:center; }

/* menu of offers */
.rq .offers { list-style:none; padding:0; display:grid; gap:12px; }
.rq .offers a { display:block; padding:18px; background:var(--bg-card); border:1px solid var(--border); border-radius:14px; color:inherit; text-decoration:none; }
.rq .offers a:hover { border-color:var(--border-hover); }
.rq .offers b { display:block; margin-top:8px; font-size:18px; }

/* one question per screen */
.rq .bar { height:6px; background:var(--border); border-radius:99px; margin-bottom:16px; overflow:hidden; }
.rq .bar i { display:block; height:100%; width:0; background:var(--accent); transition:width .3s; }
.rq .step { display:none; }
.rq .step.on { display:block; animation:rq-in .25s ease; }
@keyframes rq-in { from { opacity:0; transform:translateX(12px); } }
.rq .step h2 { font-size:22px; margin:4px 0 6px; }
.rq .count { font-size:13px; color:var(--text-muted); margin:0; font-family:var(--font-mono); }
.rq .hint { color:var(--text-secondary); font-size:14px; margin:0 0 6px; }

/* answers: up to 6 = one full-width row each; more (makes, years, days) = 4 equal columns, 2 on phones */
.rq .choices { display:grid; gap:10px; margin-top:14px; }
.rq .choices.grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.rq .choices.list { grid-template-columns:1fr; }
.rq .choices.grid:has(> label:nth-child(7):last-child) { grid-template-columns:repeat(7,minmax(0,1fr)); } /* the 7 days on one row */
.rq .choices label { position:relative; display:flex; align-items:center; justify-content:center; min-height:50px; padding:10px 14px; font-size:16px; font-weight:500; text-align:center; border:1px solid var(--border); border-radius:10px; cursor:pointer; background:var(--bg-card); }
.rq .choices label:hover { border-color:var(--border-hover); }
.rq .choices label:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); }
.rq .choices label:has(input:disabled) { opacity:.35; cursor:default; }
.rq .choices.list label { justify-content:space-between; text-align:left; }
.rq .choices.list label span { flex:1; }
.rq .choices.list label::after { content:""; flex:none; width:20px; height:20px; margin-left:12px; border:2px solid var(--border); border-radius:50%; }
.rq .choices.list label:has(input[type=checkbox])::after { border-radius:5px; }
.rq .choices.list label:has(input:checked)::after { border-color:var(--accent); background:var(--accent); box-shadow:inset 0 0 0 3px #fff; }
.rq .choices input { position:absolute; opacity:0; pointer-events:none; }
.rq .choices small { display:block; margin-top:2px; font-size:13px; font-weight:400; color:var(--text-secondary); }

.rq .rq-nav { display:flex; gap:10px; margin-top:20px; }
.rq .rq-nav .back { width:35%; background:var(--bg-card); color:var(--text-primary); border:1px solid var(--border); }
.rq .rq-nav .back:hover { background:var(--bg-card-hover); }

.rq .review dl { display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:14px 0 20px; font-size:15px; }
.rq .review dt { color:var(--text-secondary); }
.rq .review dd { margin:0; display:flex; justify-content:space-between; gap:10px; }
.rq .review dd a { flex:none; font-size:13px; color:var(--accent-text); }

@media (max-width:560px) {
  .rq form { padding:18px; }
  .rq .choices.grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rq .choices.grid:has(> label:nth-child(7):last-child) { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .rq .review dl { grid-template-columns:1fr; gap:0; }
  .rq .review dt { margin-top:10px; font-size:13px; }
}
