.health-check{--surface:var(--white);--accent:var(--blue);--accent-ink:#fff;--accent-soft:var(--blue-wash);--good:#00773e;--warn:#956219;--crit:#b42318;--good-soft:#e2f6ec;--warn-soft:#fbf0dc;--crit-soft:#fde6e6;--mono:monospace}
.health-check .assessment-shell{width:min(760px,calc(100% - 28px));margin-inline:auto}
.health-check .card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:28px 24px}
@media (max-width:480px){.health-check .card{padding:22px 16px}}
.health-check h1,.health-check h2,.health-check h3{font-family:var(--display);text-wrap:balance;margin:0;letter-spacing:-.015em}
.health-check h1:focus,.health-check h2:focus{outline:none}
.health-check h1{font-size:clamp(30px,7vw,42px);line-height:1.08;font-weight:700}
.health-check h2{font-size:clamp(22px,5vw,26px);line-height:1.2;font-weight:700}
.health-check h3{font-size:17px;font-weight:700}
.health-check p{margin:0}
.health-check .lead{color:var(--muted);font-size:17px;max-width:60ch}
.health-check .eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:600}
.health-check .stack{display:flex;flex-direction:column;gap:16px}
.health-check .stack-lg{display:flex;flex-direction:column;gap:24px}
.health-check .facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.health-check .fact{border-top:3px solid var(--accent);padding-top:8px}
.health-check .fact:nth-child(2){border-top-color:var(--good)}
.health-check .fact:nth-child(3){border-top-color:var(--crit)}
.health-check .fact b{display:block;font-family:var(--mono);font-size:20px}
.health-check .fact span{font-size:13px;color:var(--muted)}
.health-check .areas-intro{display:flex;flex-direction:column;gap:10px}
.health-check .areas-intro div{display:flex;gap:12px;align-items:baseline}
.health-check .areas-intro .pts{font-family:var(--mono);font-size:13px;color:var(--muted);min-width:56px}
.health-check .btn{font:600 16px var(--body);border-radius:10px;padding:13px 22px;border:1px solid transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.health-check .btn-primary{background:var(--accent);color:var(--accent-ink)}
.health-check .btn-primary:disabled{opacity:.35;cursor:not-allowed}
.health-check .btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.health-check .btn:focus-visible,.health-check .opt:focus-visible,.health-check input:focus-visible,.health-check select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.health-check .nav{display:flex;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid var(--line);margin-top:8px;padding-top:20px}
.health-check .progress{display:flex;justify-content:space-between;font-family:var(--mono);font-size:12px;color:var(--muted)}
.health-check .bar{height:4px;background:var(--line);border-radius:4px;overflow:hidden}
.health-check .bar i{display:block;height:100%;background:var(--accent);transition:width .3s}
.health-check .opts{display:flex;flex-direction:column;gap:10px}
.health-check .opt{text-align:left;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:13px 14px;font:inherit;cursor:pointer;display:flex;gap:12px;align-items:flex-start;width:100%}
.health-check .opt:hover{border-color:var(--accent)}
.health-check .opt .mark{flex:none;width:20px;height:20px;border:1.5px solid var(--muted);margin-top:2px;display:grid;place-items:center}
.health-check .opt.radio .mark{border-radius:50%}
.health-check .opt.check .mark{border-radius:5px}
.health-check .opt[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft)}
.health-check .opt[aria-pressed="true"] .mark{border-color:var(--accent);background:var(--accent)}
.health-check .opt[aria-pressed="true"] .mark::after{content:"";width:8px;height:8px;background:var(--accent-ink);border-radius:inherit}
.health-check .opt.check[aria-pressed="true"] .mark::after{width:10px;height:6px;background:none;border-left:2px solid var(--accent-ink);border-bottom:2px solid var(--accent-ink);transform:rotate(-45deg) translate(1px,-1px);border-radius:0}
.health-check .opt .t{font-weight:600;display:block}
.health-check .opt .s{font-size:14px;color:var(--muted);display:block}
.health-check .hint{font-size:14px;color:var(--muted)}
/* result */
.health-check .score-row{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.health-check .dial{width:150px;height:150px;flex:none}
.health-check .dial text{font-family:var(--mono)}
.health-check .band-chip{display:inline-block;font:600 13px var(--mono);letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:6px}
.health-check .areas{display:flex;flex-direction:column;gap:14px}
.health-check .area-head{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.health-check .area-head b{font-weight:600}
.health-check .area-head span{font-family:var(--mono);font-variant-numeric:tabular-nums}
.health-check .meter{height:10px;background:var(--line);border-radius:6px;overflow:hidden;margin-top:6px}
.health-check .meter i{display:block;height:100%;border-radius:6px}
.health-check .flags{border:1px solid var(--crit);background:var(--crit-soft);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.health-check .flags h3{color:var(--crit);font-size:15px}
.health-check .flags ul,.health-check .gaps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.health-check .gaps li{padding-left:2px}
.health-check .tag{display:block;font-family:var(--mono);font-size:11.5px;color:var(--muted);overflow-wrap:anywhere}
.health-check .locked{border:1px dashed var(--accent);border-radius:10px;padding:16px;background:var(--accent-soft);display:flex;flex-direction:column;gap:12px}
/* form */
.health-check .field{display:flex;flex-direction:column;gap:6px}
.health-check label,.health-check .legend{font-weight:600;font-size:15px}
.health-check .req{color:var(--crit)}
.health-check input,.health-check select{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 12px;width:100%}
.health-check .grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:520px){.health-check .grid2,.health-check .facts{grid-template-columns:1fr}}
.health-check .chips{display:flex;flex-wrap:wrap;gap:8px}
.health-check .chips .opt{width:auto;padding:9px 12px;font-size:15px}
.health-check .chips .opt .mark{display:none}
.health-check .err{color:var(--crit);font-size:14px}
.health-check .summary{font-family:var(--mono);font-size:13px;white-space:pre-wrap;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:14px;max-height:260px;overflow:auto;width:100%;resize:vertical;color:var(--ink)}
.health-check .wa{background:#1F8F4E;color:#fff}
.health-check .actions{display:flex;gap:10px;flex-wrap:wrap}
.health-check .reco{border-left:3px solid var(--accent);padding-left:14px}
.health-check .assessment-footer{margin-top:20px;font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:4px;text-align:center}
.health-check .sel{user-select:all;font-family:var(--mono)}
@media (prefers-reduced-motion:reduce){.health-check *{transition:none!important}}

.health-check { font-family: var(--body); }
.health-check .card { padding: clamp(18px, 4vw, 40px); border-radius: 20px; box-shadow: var(--shadow-sm); }
.health-check h1,.health-check h2 { font-weight: 600; letter-spacing: -.04em; }
.health-check h1 { font-size: clamp(2rem, 5vw, 3rem); }
.health-check h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.health-check h3,.health-check .eyebrow,.health-check .progress,.health-check .tag { font-family: var(--body); }
.health-check .lead { font-size: 1rem; }
.health-check .nav { flex-wrap: wrap; }
.health-check .field { min-width: 0; }
.health-check .lead-entry { border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow-wrap: anywhere; }
.health-check .lead-entry pre { white-space: pre-wrap; font: inherit; }
@media (max-width: 480px) {
  .health-check .section { padding-block: 22px; }
  .health-check .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .health-check .nav > .btn { flex: 1 1 100%; }
}

.health-check .score-dial { position: relative; width: clamp(126px, 30vw, 150px); aspect-ratio: 1; flex: none; }
.health-check .score-dial .dial { display: block; width: 100%; height: 100%; }
.health-check .score-value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-variant-numeric: tabular-nums; }
.health-check .score-value strong { font: 600 clamp(2.6rem, 8vw, 3.1rem)/1 var(--display); letter-spacing: -.06em; }
.health-check .score-value span { font-size: .85rem; font-weight: 700; color: var(--muted); }
.health-check .score-row { padding: clamp(14px, 4vw, 24px); border: 1px solid var(--line); border-radius: 16px; background: var(--blue-wash); }
.health-check .score-row > .stack { min-width: min(100%, 200px) !important; }
.health-check .report-group { display: grid; gap: 16px; min-width: 0; margin: 0; padding: clamp(12px, 3vw, 20px); border: 1px solid var(--line); border-radius: 14px; }
.health-check .report-group > legend { padding-inline: 6px; font-size: .95rem; font-weight: 800; color: var(--navy); }
.health-check .chips .opt { min-height: 44px; padding: 8px 12px; line-height: 1.35; }
.health-check .report-group :is(input,select) { min-height: 46px; border-color: #aaa5c0; }
@media (max-width: 520px) {
  .health-check .score-row { justify-content: center; gap: 12px; }
  .health-check .score-row > .stack { text-align: center; align-items: center; }
  .health-check .score-row .band-chip { align-self: center !important; }
}
