/* Mobile-first questionnaire polish. The clinical wording remains in the saved test. */
.patient-body{--navy:#0b2b53;--teal:#078993;--teal-dark:#066d77;--ink:#183456;--soft:#64758d;--edge:#dce6ec;--surface:#fff;--wash:#f5f8fb;background:var(--wash);color:var(--ink);font-size:14px;line-height:1.5}
.patient-body .site-header{position:sticky;top:0;z-index:20;height:66px;padding:8px 16px;background:#082750;box-shadow:0 4px 16px #071d3720}
.patient-body .brand{padding:0;border-radius:0;background:transparent}
.patient-body .brand-logo{width:158px}
.patient-body .header-phone{color:#fff;font-size:12px;white-space:nowrap}
.patient-body .patient-main{padding:14px 12px 28px;min-height:calc(100vh - 120px)}
.patient-body .check-workspace{display:block;max-width:700px;margin:auto}
.patient-body .check-nav,.patient-body .support{display:none}
.patient-body .test-heading{margin:0 2px 13px}
.patient-body .test-heading>span{display:none}
.patient-body .test-heading h1{font-size:19px;line-height:1.25;margin:0 0 3px;color:var(--navy);font-weight:750;letter-spacing:-.02em}
.patient-body .test-heading p{display:none}
.patient-body .question-panel{padding:20px 17px 18px;border:1px solid var(--edge);border-radius:14px;box-shadow:0 5px 24px #10284d09;background:var(--surface)}
.patient-body .progress-row{margin:0 0 23px}
.patient-body .progress-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:12px}
.patient-body .progress-row strong{display:none}
.patient-body .progress-row span{font-weight:650;color:var(--navy)}
.patient-body progress{height:6px;background:#e8eef2}
.patient-body .section-label{font-size:10px;letter-spacing:.1em;font-weight:750;color:#728399;margin:0 0 8px}
.patient-body .question-title{font-family:"Segoe UI",Arial,sans-serif;font-size:22px;line-height:1.24;font-weight:750;letter-spacing:-.025em;color:var(--navy);margin:0 0 8px}
.patient-body .question-help{font-size:12px;line-height:1.5;color:var(--soft);margin:0 0 18px}
.patient-body .answers,.patient-body .answers:has(>.answer:nth-child(4)){display:grid;grid-template-columns:1fr;gap:8px}
.patient-body .answer{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;position:relative;text-align:left;min-height:70px;padding:10px 13px;gap:12px;border:1px solid #d9e3ea;border-radius:9px;background:#fff;box-shadow:none;transition:background .15s,border-color .15s,transform .15s}
.patient-body .answer:hover{background:#f8fbfc;transform:translateY(-1px)}
.patient-body .answer:has(input:checked){background:#edf9fa;border-color:var(--teal);box-shadow:0 0 0 1px #07899322}
.patient-body .answer .ui-icon{order:1;width:27px;height:27px;opacity:.82}
.patient-body .answer-copy{order:2;min-width:0}
.patient-body .answer-copy strong{font-size:13px;line-height:1.35;font-weight:700;color:var(--ink)}
.patient-body .answer-copy small{font-size:11px;line-height:1.35;margin:3px 0 0;color:#667891}
.patient-body .answer input{order:0;position:static;opacity:1;width:17px!important;height:17px!important;accent-color:var(--teal);margin:0}
.patient-body .answer:has(input:focus-visible){outline:2px solid var(--teal);outline-offset:2px}
.patient-body .eligibility{margin-top:18px;padding:11px 0 0;border-top:1px solid #e8edf2}
.patient-body .eligibility .check-row{margin:9px 0;font-size:11px;line-height:1.45}
.patient-body .check-row{gap:10px;font-size:12px;line-height:1.45;margin:13px 0}
.patient-body .check-row input{width:18px;height:18px;margin:1px 0 0}
.patient-body .question-actions{position:static;display:flex;gap:9px;align-items:center;justify-content:space-between;margin:19px 0 0;padding:16px 0 0;border-top:1px solid #edf1f4;box-shadow:none;background:none}
.patient-body .question-actions .quiet{font-size:11px}
.patient-body .question-actions .button{flex:1;min-width:0}
.patient-body .question-actions .button.secondary{flex:0 0 auto}
.patient-body .button{min-height:46px;padding:10px 18px;font-size:13px;font-weight:700;border-radius:8px}
.patient-body .button svg{width:16px;height:16px}
.patient-body .emergency-strip{max-width:700px;margin:12px auto 0;padding:10px 12px;font-size:11px;line-height:1.45;gap:9px;border-radius:8px}
.patient-body .emergency-strip>.ui-icon{width:17px;height:17px}
.patient-body .site-footer,body.patient-body:has(#question-form) .site-footer{padding:15px 12px;font-size:10px}
.patient-body .details-progress{margin-bottom:16px}
.patient-body .result-title{font-family:"Segoe UI",Arial,sans-serif;font-size:25px;line-height:1.18;letter-spacing:-.03em;font-weight:750;color:var(--navy);margin:0 0 11px}
.patient-body .details-intro{font-size:13px;line-height:1.5;color:var(--soft);margin-bottom:20px}
.patient-body .field{font-size:12px;margin-bottom:13px}
.patient-body .field input,.patient-body .field select{min-height:44px;margin-top:5px;font-size:13px;border-radius:8px}
.patient-body .form-divider{font-size:13px;margin:17px 0 15px;padding-top:17px}
.patient-body .stack-actions{margin:20px 0 4px;gap:9px}
.patient-body .stack-actions .button{width:100%}
.patient-body .result-hero{text-align:center}
.patient-body .result-progress{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:9px;color:var(--navy)}
.patient-body .result-progress strong{font-size:12px}
.patient-body .result-progress span{font-weight:650}
.patient-body .result-progress-track{height:6px;background:#e8eef2;border-radius:99px;margin-bottom:22px;overflow:hidden}
.patient-body .result-progress-track span{display:block;width:100%;height:100%;background:var(--teal);border-radius:inherit}
.patient-body .result-eyebrow{font-family:"Segoe UI",Arial,sans-serif;font-size:15px;font-weight:750;letter-spacing:0;margin:0 0 12px}
.patient-body .result-indicator{width:142px;height:142px;padding:12px;margin:0 auto 18px;border-radius:50%;background:#bfe6e9;box-shadow:0 0 0 7px #eaf7f8}
.patient-body .result-indicator>span{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:#fff}
.patient-body .result-indicator .ui-icon{width:52px;height:52px;opacity:1;filter:invert(37%) sepia(77%) saturate(663%) hue-rotate(137deg)}
.patient-body .result-indicator.preview-priority{background:#f1dba3;box-shadow:0 0 0 7px #fbf3df}
.patient-body .result-indicator.preview-priority>span{color:var(--navy)}
.patient-body .result-indicator.preview-priority strong{font-size:48px;line-height:1;font-weight:800;letter-spacing:-.04em}
.patient-body .result-indicator.preview-priority small{font-size:15px;font-weight:700;letter-spacing:0}
.patient-body .draft-score-label{font-size:11px;color:#8b651a;font-weight:750;margin:-4px 0 16px}
.patient-body .draft-score-note{margin:0 0 13px;padding:12px 14px;background:#fff8e7;border:1px solid #eadba9;border-radius:8px;color:#5b4c2a;text-align:left}
.patient-body .draft-score-note strong{display:block;font-size:11px}
.patient-body .draft-score-note p{font-size:11px;line-height:1.45;margin:4px 0 0}
.patient-body .result-hero .result-title{font-size:24px;max-width:570px;margin:0 auto 11px}
.patient-body .result-body{font-size:13px;line-height:1.6;color:#52667f;max-width:570px;margin:0 auto 19px}
.patient-body .result-reference{display:grid;gap:3px;padding:14px 16px;border:1px solid #cce4e6;border-radius:9px;background:#f1fafa;margin:0 0 14px}
.patient-body .result-reference span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--teal-dark);font-weight:750}
.patient-body .result-reference strong{font-size:15px;color:var(--navy)}
.patient-body .result-reference small{font-size:11px;line-height:1.4;color:#52667f}
.patient-body .result-note{font-size:11px;line-height:1.5;color:#65748a;padding:10px 12px;background:#f4f7fa;border-radius:8px}
.patient-body .scan-next-step{display:grid;grid-template-columns:34px 1fr;gap:9px 11px;align-items:start;margin:14px 0 0;padding:14px;border:1px solid #b9dfe2;background:#eff9fa;border-radius:10px;text-align:left}
.patient-body .scan-next-step-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#dceff1}
.patient-body .scan-next-step-icon .ui-icon{width:21px;height:21px}
.patient-body .scan-next-step strong{display:block;color:var(--navy);font-size:13px}
.patient-body .scan-next-step p{font-size:11px;line-height:1.45;color:#536981;margin:3px 0 0}
.patient-body .scan-next-step>a{grid-column:2;display:inline-flex;align-items:center;gap:6px;justify-self:start;color:var(--teal-dark);font-size:12px;font-weight:750}
.patient-body .scan-next-step>a svg{width:15px;height:15px}
.patient-body .answer-summary{font-size:12px;margin-top:13px;padding:13px 0}
.patient-body .answer-summary summary{font-size:12px}
.patient-body .urgent-result{padding:10px 0;text-align:left}
.patient-body .urgent-result .urgent-icon{margin:0 0 16px}
.patient-body .urgent-result h2{font-size:25px}
.patient-body .urgent-result p{font-size:13px;line-height:1.55}
.patient-body .welcome-panel>p{font-size:14px;line-height:1.6;color:#52667f;margin:0 0 15px}
.patient-body .welcome-panel .result-title{font-size:27px;margin:4px 0 14px}
.patient-body #welcome-form{border-top:1px solid var(--edge);padding-top:10px;margin-top:18px}
.patient-body #welcome-form .button{width:100%;margin:12px 0 14px}
.patient-body .other-answer{display:block;margin:16px 0 0}.patient-body .other-answer[hidden]{display:none}
.patient-body .emergency-advice{border:2px solid #b94236;background:#fff3f0;color:#6d211e;border-radius:10px;padding:15px;margin:0 0 20px;font-size:13px;line-height:1.5}
.patient-body .emergency-advice p{margin:5px 0 0}.patient-body .emergency-advice a{font-weight:800;text-decoration:underline;color:#6d211e}
.patient-body .emergency-strip{display:flex;flex-wrap:wrap;align-items:center}
.patient-body .emergency-strip p{flex:1 1 190px;margin:0}
.patient-body .emergency-strip .text-button{font-size:11px;white-space:nowrap;color:#7c312b;font-weight:700}
.safety-dialog{width:min(92vw,480px);max-height:min(86vh,760px);border:1px solid #dce6ec;border-radius:16px;padding:0;color:#183456;box-shadow:0 24px 80px #08275055}
.safety-dialog::backdrop{background:#0b2b5380}
.safety-dialog-content{padding:23px}
.safety-dialog h2{font-family:"Segoe UI",Arial,sans-serif;font-size:23px;line-height:1.2;color:#0b2b53;margin:5px 0 12px}
.safety-dialog p{font-size:14px;line-height:1.55;margin:0 0 18px}
.safety-dialog .emergency-advice{border:2px solid #b94236;background:#fff3f0;color:#6d211e;border-radius:10px;padding:14px;margin:0 0 18px;font-size:13px}
.safety-dialog .emergency-advice p{font-size:13px;margin:5px 0 0}
.safety-dialog .emergency-advice a{font-weight:800;color:#6d211e}
.safety-dialog-actions{display:grid;gap:9px}
.safety-dialog-actions .button{width:100%;min-height:48px}
.safety-dialog-actions .text-button{justify-self:center}
@media(max-width:360px){.patient-body .site-header{padding-inline:10px}.patient-body .brand-logo{width:138px}.patient-body .header-phone{font-size:11px}.patient-body .patient-main{padding-inline:9px}.patient-body .question-panel{padding-inline:14px}.patient-body .question-title{font-size:20px}}
@media(min-width:761px){.patient-body .site-header{height:76px;padding:9px 24px}.patient-body .brand-logo{width:200px}.patient-body .header-phone{font-size:13px}.patient-body .patient-main{padding:24px 22px 38px;max-width:1240px}.patient-body .check-workspace{max-width:none;display:grid;grid-template-columns:145px minmax(0,1fr) 220px;gap:18px}.patient-body .check-nav{display:block;padding-top:16px}.patient-body .check-nav-item{padding:10px 9px;font-size:12px;gap:9px}.patient-body .check-nav-item.current{padding-left:6px}.patient-body .nav-help{padding:16px 7px;margin-top:18px}.patient-body .test-heading h1{font-size:22px}.patient-body .test-heading p{font-size:13px}.patient-body .support{display:block;padding:17px 15px;border-radius:10px}.patient-body .question-panel{padding:24px}.patient-body .question-title{font-size:24px}.patient-body .answers,.patient-body .answers:has(>.answer:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.patient-body .answer{min-height:80px}.patient-body .result-hero .result-title{font-size:28px}.patient-body .result-indicator{width:170px;height:170px}.patient-body .two-fields{grid-template-columns:1fr 1fr;gap:12px}}
@media(min-width:1120px){.patient-body .check-workspace{grid-template-columns:160px minmax(0,1fr) 235px;gap:22px}.patient-body .question-panel{padding:28px}.patient-body .answers:not(:has(>.answer:nth-child(5))){grid-template-columns:repeat(3,minmax(0,1fr))}.patient-body .answers:has(>.answer:nth-child(7)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.patient-body .answer{transition:none}}
