/* WiseChoice request forms (Step 82) */
.rq-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--border); border-radius: 18px; background: var(--card); color: var(--off); box-shadow: 0 30px 80px rgba(0,0,0,0.5); overflow: auto; }
.rq-dialog::backdrop { background: rgba(8,16,20,0.72); backdrop-filter: blur(2px); }
.rq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 6px; position: sticky; top: 0; background: var(--card); z-index: 1; }
.rq-head h2 { font-size: 1.3rem; line-height: 1.25; color: #fff; }
.rq-lede { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.rq-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: var(--off); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.rq-close:hover, .rq-close:focus-visible { border-color: var(--teal-light); outline: none; }
.rq-form { display: grid; gap: 14px; padding: 12px 24px 24px; }
.rq-field label, .rq-group legend { display: block; font-size: 0.9rem; color: #dbe4e5; font-weight: 500; margin-bottom: 6px; }
.rq-req, .rq-opt { font-size: 0.74rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.rq-req { color: var(--orange); }
.rq-field input[type="text"], .rq-field input[type="email"], .rq-field input[type="tel"], .rq-field select, .rq-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--off); background: var(--navy-2); border: 1px solid rgba(255,255,255,0.16); border-radius: 10px; padding: 10px 12px; }
.rq-field textarea { resize: vertical; min-height: 96px; }
.rq-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.rq-field input:focus-visible, .rq-field select:focus-visible, .rq-field textarea:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 1px; border-color: transparent; }
.rq-field ::placeholder { color: #7f9396; }
.rq-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.rq-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-choice { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 8px 12px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; cursor: pointer; font-size: 0.9rem; color: var(--off) !important; }
.rq-choice:has(input:checked) { border-color: var(--teal-light); background: rgba(23,161,173,0.14); }
.rq-choice input { accent-color: var(--teal-light); width: 16px; height: 16px; margin: 0; }
.rq-bad input, .rq-bad select, .rq-bad textarea, .rq-bad .rq-choice { border-color: var(--orange) !important; }
.rq-bad label, .rq-bad legend { color: #ffb28f; }
.rq-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rq-note { font-size: 0.84rem; color: var(--muted); }
.rq-status { font-size: 0.9rem; min-height: 0; }
.rq-status:empty { display: none; }
.rq-err { color: #ffb28f; }
.rq-status a, .rq-alt { color: var(--teal-light); text-decoration: underline; text-underline-offset: 2px; }
.rq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.rq-send { border: none; font: inherit; cursor: pointer; }
.rq-send[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.rq-alt { font-size: 0.86rem; overflow-wrap: anywhere; }
.rq-done { display: grid; gap: 10px; justify-items: start; padding: 8px 0 4px; }
.rq-done-title { font-size: 1.1rem; font-weight: 600; color: var(--lime); }
.rq-done .btn { font: inherit; cursor: pointer; }
@media (max-width: 520px) { .rq-head { padding: 18px 18px 4px; } .rq-form { padding: 10px 18px 20px; } }
