/* v1.13 isolated preview styles; original styles.v1.7.css is unchanged */
.research-hero{background:#101d30;color:white;padding:72px 0 58px}
.research-hero h1{max-width:880px;font-size:clamp(40px,6vw,66px);line-height:1.08;margin:22px 0}
.research-hero h1 em{color:#80e0b9;font-style:normal}
.research-hero .section-lead{color:#d9e7e5;max-width:780px}
.research-alert{max-width:790px;padding:17px 20px;margin-top:26px;border:1px solid #8fb3b1;border-radius:10px;background:#1b3540;line-height:1.55;font-size:15px}
.research-alert strong{display:block;color:#fff;margin-bottom:3px}
.research-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:24px;align-items:start}
.research-card{background:#fff;border:1px solid #dce6e5;border-radius:13px;padding:30px;box-shadow:0 9px 24px rgba(14,32,49,.06);min-width:0}
.research-card h2{font-size:clamp(24px,2.6vw,32px);line-height:1.18;margin:10px 0 14px}
.research-card p{line-height:1.65}
.research-card .kicker{font-size:12px}
.research-fieldset{padding:25px 0;border:0;border-top:1px solid #e2eaee;margin-top:27px;min-width:0}
.research-fieldset legend{font-weight:750;font-size:19px;color:#142b38;padding:0 8px 0 0}
.research-step{display:inline-flex;align-items:center;justify-content:center;background:#dff3eb;border-radius:7px;color:#11604d;font-size:13px;padding:7px 8px;margin-right:9px}
.research-fieldset>label,.pilot-card form>label:not(.pilot-consent){display:block;font-weight:650;color:#263b4b;margin:15px 0 9px;line-height:1.45}
.research-fieldset select,.pilot-card input[type=email]{display:block;max-width:100%;width:100%;border:1px solid #bfcfce;color:#18313d;background:#fff;padding:13px 14px;border-radius:8px;font:inherit;font-size:15px}
.research-fieldset select:focus,.research-options input:focus-visible,#reviewAnswers:focus-visible{outline:3px solid #7bd1b1;outline-offset:2px}
.research-instruction{font-weight:650;color:#263b4b;margin:15px 0}
.research-options{display:grid;gap:9px}
.research-options label{display:flex;gap:11px;align-items:flex-start;cursor:pointer;border:1px solid #dde8e6;border-radius:8px;padding:12px;font-size:15px;line-height:1.45;color:#253c47}
.research-options label:has(input:checked){background:#eaf7f1;border-color:#8dbfab}
.research-options input{margin-top:4px;flex-shrink:0;accent-color:#0d6b51;width:17px;height:17px}
.research-count{font-size:13px;color:#607681;margin:10px 0}
.research-disclaimer{background:#f0f6f5;border-left:3px solid #287861;padding:14px;color:#334e5b;font-size:14px}
.research-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px}
.research-error{font-size:14px;color:#a52d31;font-weight:650}
.research-summary{margin-top:25px;background:#eff8f4;border:1px solid #bbd9c9;border-radius:9px;padding:20px}
.research-summary h3{margin:0 0 12px}
.research-summary dl{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2fr);gap:8px 12px;margin:22px 0}
.research-summary dt{font-weight:700;color:#365968}
.research-summary dd{margin:0;overflow-wrap:anywhere}
.pilot-card{position:sticky;top:24px;background:#f8fbfa}
.pilot-card form{margin-top:21px;padding:21px;background:#fff;border:1px solid #dfebe6;border-radius:8px}
.pilot-card input[disabled],.pilot-card button[disabled]{opacity:.56;cursor:not-allowed}
.pilot-consent{font-weight:500;display:flex;align-items:flex-start;gap:9px;margin:18px 0;color:#415b65;line-height:1.5}
.pilot-card form .btn{width:100%;text-align:center;white-space:normal;justify-content:center}
.research-smallprint{font-size:14px;line-height:1.65;color:#475f67;border-top:1px solid #dae7e3;margin-top:24px;padding-top:18px}
@media(max-width:850px){.research-grid{grid-template-columns:1fr}.pilot-card{position:static}.research-card{padding:24px}}
@media(max-width:540px){.research-card{padding:20px}.research-hero{padding:50px 0}.research-fieldset legend{font-size:17px}.research-summary dl{grid-template-columns:1fr}.research-summary dd{margin-bottom:8px}.research-actions .btn{width:100%;justify-content:center}}

/* Contrast refinements for secondary controls within white questionnaire panels */
.research-actions .btn.secondary,.research-summary .btn.secondary{color:#173348;background:#fff;border:1px solid #8197a5}
.research-actions .btn.secondary:hover,.research-summary .btn.secondary:hover{background:#edf3f3}
.research-actions .btn:focus-visible,.research-summary .btn:focus-visible{outline:3px solid #0c7562;outline-offset:3px}

/* Optional submission panel (hidden when collection is disabled) */
.submit-research{margin-top:22px;padding-top:22px;border-top:1px solid #b8d5c8}
.research-submit-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.55;margin:18px 0}
.research-submit-consent input{width:20px;height:20px;flex-shrink:0;margin-top:5px;accent-color:#0c6b51}
#turnstilePlace{margin:18px 0;min-height:0}
#sendResearch[disabled]{opacity:.6;cursor:not-allowed}
#sendStatus{font-size:14px;line-height:1.5}

/* v1.19: hide receipt button until a confirmed submission exists. */
#copyResearchReceipt[hidden]{display:none}
