.hz-health-page{
  --hz-health-line:#dce8ec;
  --hz-health-ink:#102c3b;
  --hz-health-muted:#5d7480;
  --hz-health-soft:#f4f9fa;
  --hz-health-soft-2:#eef6f8;
  --hz-health-danger:#a72d2d;
  --hz-health-danger-soft:#fff1f1;
  --hz-health-success:#267052;
  background:#fff;
  color:var(--hz-health-ink)
}
.hz-health-page *{box-sizing:border-box}
.hz-health-shell{width:min(1160px,calc(100% - 32px));margin:0 auto}
.hz-health-hero{padding:54px 0 38px;background:linear-gradient(180deg,#f4fafb 0%,#fff 100%);border-bottom:1px solid var(--hz-health-line)}
.hz-health-hero>.hz-health-shell{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.7fr);gap:42px;align-items:center}
.hz-health-eyebrow{margin:0 0 9px;color:var(--hz-primary);font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}
.hz-health-hero h1{margin:0;color:var(--hz-navy);font-size:clamp(2.25rem,5vw,4.45rem);line-height:1;letter-spacing:-.045em}
.hz-health-lead{max-width:820px;margin:18px 0 0;color:#395766;font-size:clamp(1.04rem,2vw,1.28rem);line-height:1.65}
.hz-health-clinical-note{display:grid;gap:4px;max-width:910px;margin-top:22px;padding:16px 18px;border-left:4px solid var(--hz-primary);border-radius:0 14px 14px 0;background:#fff;box-shadow:0 8px 30px rgba(9,40,58,.06);line-height:1.52}
.hz-health-clinical-note span{color:#486470}
.hz-health-hero-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.hz-health-time{color:var(--hz-health-muted);font-size:.92rem}
.hz-health-hero-side{display:grid;gap:12px}
.hz-health-hero-side>div{display:grid;gap:2px;padding:17px 18px;border:1px solid var(--hz-health-line);border-radius:16px;background:rgba(255,255,255,.88)}
.hz-health-hero-side strong{color:var(--hz-navy);font-size:1rem}
.hz-health-hero-side span{color:var(--hz-health-muted);font-size:.9rem;line-height:1.4}

.hz-health-resume{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:24px;padding:18px 20px;border:1px solid #b7d2dc;border-radius:16px;background:#f3fafc}
.hz-health-resume>div:first-child{display:grid;gap:3px}
.hz-health-resume span{color:var(--hz-health-muted)}
.hz-health-resume-actions{display:flex;gap:10px;flex-wrap:wrap}

.hz-health-workspace{padding:30px 0 72px}
.hz-health-stepper{position:sticky;top:6px;z-index:20;margin-bottom:32px;padding:12px 0 10px;border-bottom:1px solid var(--hz-health-line);background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}
.hz-health-progress-copy{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:8px;font-size:.9rem}
.hz-health-progress-copy strong{color:var(--hz-navy)}
.hz-health-progress-copy span{color:var(--hz-health-muted)}
.hz-health-stepper progress{display:block;width:100%;height:8px;border:0;border-radius:999px;overflow:hidden;background:#e9f0f2}
.hz-health-stepper progress::-webkit-progress-bar{background:#e9f0f2}
.hz-health-stepper progress::-webkit-progress-value{background:var(--hz-primary)}
.hz-health-stepper progress::-moz-progress-bar{background:var(--hz-primary)}
.hz-health-step-tabs{display:grid;grid-template-columns:repeat(9,minmax(78px,1fr));gap:6px;margin-top:10px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.hz-health-step-tabs button{min-width:78px;min-height:42px;border:1px solid transparent;border-radius:10px;background:transparent;color:#607985;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.hz-health-step-tabs button span{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:5px;border-radius:999px;background:#edf3f5;color:#56707c;font-size:.72rem}
.hz-health-step-tabs button.is-current{border-color:#bcd3dc;background:#edf6f8;color:var(--hz-primary)}
.hz-health-step-tabs button.is-current span,.hz-health-step-tabs button.is-done span{background:var(--hz-primary);color:#fff}
.hz-health-step-tabs button:disabled{opacity:.46;cursor:not-allowed}
.hz-health-step-tabs button:focus-visible{outline:3px solid rgba(10,91,136,.2);outline-offset:2px}

.hz-health-form{max-width:980px;margin:0 auto}
.hz-health-step{scroll-margin-top:148px}
.hz-health-section-head{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;align-items:start;margin-bottom:24px}
.hz-health-section-head>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--hz-health-soft-2);color:var(--hz-primary);font-weight:900}
.hz-health-section-head h2{margin:0;color:var(--hz-navy);font-size:clamp(1.55rem,3vw,2.35rem);letter-spacing:-.025em}
.hz-health-section-head p{margin:7px 0 0;color:var(--hz-health-muted);line-height:1.5}

.hz-health-card{min-width:0;margin:0;padding:20px;border:1px solid var(--hz-health-line);border-radius:18px;background:#fbfdfd}
.hz-health-card legend{max-width:100%;padding:0 8px;color:var(--hz-navy);font-weight:900}
.hz-health-card p{line-height:1.5}
.hz-health-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}
.hz-health-profile-grid{margin-top:18px}
.hz-health-field{display:grid;min-width:0;gap:7px}
.hz-health-field>span,.hz-health-field-label{color:#244653;font-weight:800}
.hz-health-field input[type=text],.hz-health-field textarea,.hz-health-field select{width:100%;min-height:46px;border:1px solid #bfd1d8;border-radius:12px;padding:12px 14px;background:#fff;color:var(--hz-health-ink);font:inherit;transition:border-color .15s,box-shadow .15s}
.hz-health-field textarea{min-height:96px;resize:vertical;line-height:1.5}
.hz-health-field input:focus,.hz-health-field textarea:focus,.hz-health-field select:focus{outline:none;border-color:var(--hz-primary);box-shadow:0 0 0 3px rgba(10,91,136,.13)}
.hz-health-field-wide{margin-bottom:24px}
.hz-health-role-detail{display:grid;gap:6px;margin-top:16px}.hz-health-role-detail>small{color:var(--hz-health-muted);font-size:.84rem;line-height:1.45}
.hz-health-muted{color:var(--hz-health-muted);font-size:.92rem}

.hz-health-choice-grid{display:grid;gap:12px}
.hz-health-choice-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hz-health-choice{position:relative;display:block;cursor:pointer}
.hz-health-choice input{position:absolute;opacity:0;pointer-events:none}
.hz-health-choice>span{display:grid;gap:4px;min-height:82px;padding:16px;border:1px solid #cbdade;border-radius:14px;background:#fff;transition:.15s}
.hz-health-choice b{color:#244653}
.hz-health-choice small{color:var(--hz-health-muted);line-height:1.4}
.hz-health-choice input:checked+span{border-color:var(--hz-primary);background:#eaf4f8;box-shadow:inset 0 0 0 1px var(--hz-primary)}
.hz-health-choice input:focus-visible+span{outline:3px solid rgba(10,91,136,.2);outline-offset:2px}

.hz-health-priority-panel{margin:22px 0;padding:20px;border:1px solid var(--hz-health-line);border-radius:18px;background:var(--hz-health-soft)}
.hz-health-inline-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:13px}
.hz-health-inline-title>div{display:grid;gap:2px}
.hz-health-inline-title strong{color:var(--hz-navy)}
.hz-health-inline-title span{color:var(--hz-health-muted);font-size:.9rem}
.hz-health-inline-title output{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#fff;color:var(--hz-primary);font-size:.82rem;font-weight:900;border:1px solid #c8dce3}
.hz-health-chip-group{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}
.hz-health-chip-group>p{width:100%;margin:0 0 2px;font-weight:900;color:#244653}
.hz-health-chip{position:relative}
.hz-health-chip input{position:absolute;opacity:0;pointer-events:none}
.hz-health-chip span{display:flex;align-items:center;min-height:44px;padding:9px 14px;border:1px solid #cbdade;border-radius:999px;background:#fff;color:#355562;cursor:pointer;font-weight:750;transition:.15s}
.hz-health-chip input:checked+span{border-color:var(--hz-primary);background:#eaf4f8;color:var(--hz-primary);box-shadow:inset 0 0 0 1px var(--hz-primary)}
.hz-health-chip input:focus-visible+span{outline:3px solid rgba(10,91,136,.22);outline-offset:2px}
.hz-health-validation{min-height:20px;margin:4px 0 0;color:#9b3a2e;font-size:.88rem;font-weight:700}

.hz-health-local-save{margin-top:20px;padding:16px 18px;border:1px dashed #b7cbd2;border-radius:16px;background:#fff}
.hz-health-switch{display:flex;gap:11px;align-items:center;cursor:pointer}
.hz-health-switch input{position:absolute;opacity:0}
.hz-health-switch>span{position:relative;width:46px;height:26px;flex:0 0 auto;border-radius:999px;background:#cbd8dd;transition:.2s}
.hz-health-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.16);transition:.2s}
.hz-health-switch input:checked+span{background:var(--hz-primary)}
.hz-health-switch input:checked+span:after{transform:translateX(20px)}
.hz-health-switch input:focus-visible+span{outline:3px solid rgba(10,91,136,.22);outline-offset:2px}
.hz-health-local-save p{margin:8px 0 0;color:var(--hz-health-muted);font-size:.86rem;line-height:1.5}
.hz-health-save-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}.hz-health-save-actions span{color:var(--hz-health-muted);font-size:.82rem}.hz-health-save-status{min-height:20px;margin-top:5px;color:var(--hz-health-success);font-size:.84rem;font-weight:800}

.hz-health-check{display:flex;gap:10px;align-items:flex-start;padding:8px 0;line-height:1.4}
.hz-health-check input{width:20px;height:20px;flex:0 0 auto;margin-top:1px;accent-color:var(--hz-primary)}
.hz-health-emergency-check{margin:0 0 18px;padding:20px;border:1px solid #e7c4c4;border-radius:18px;background:#fffafa}
.hz-health-emergency-check legend{padding:0 8px;color:#7b2525;font-weight:900}
.hz-health-emergency-check>p{margin:0 0 12px;color:#795050;line-height:1.45}
.hz-health-emergency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px}
.hz-health-red-flag{color:#652323}
.hz-health-red-flag input{accent-color:var(--hz-health-danger)}
.hz-health-urgent{margin:18px 0;padding:18px 20px;border:2px solid #c54242;border-radius:16px;background:var(--hz-health-danger-soft);color:#641f1f}
.hz-health-urgent strong{font-size:1.08rem}
.hz-health-urgent p{margin:6px 0 0;line-height:1.55}
.hz-health-urgent-block:focus{outline:3px solid rgba(167,45,45,.2);outline-offset:3px}
.hz-health-page.has-emergency-selection .hz-health-next{opacity:.6}

.hz-health-system-title{margin-top:24px}
.hz-health-system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.hz-health-system-card{border:1px solid var(--hz-health-line);border-radius:15px;background:#fff;overflow:hidden}
.hz-health-system-card summary{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:56px;padding:14px 15px;cursor:pointer;color:#244653;font-weight:900;list-style:none}
.hz-health-system-card summary::-webkit-details-marker{display:none}
.hz-health-system-card summary small{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:#eef4f6;color:#647b85;font-size:.76rem}
.hz-health-system-card[open] summary{background:#f4f9fa;border-bottom:1px solid var(--hz-health-line)}
.hz-health-system-card.has-selection{border-color:#9fc4d2}
.hz-health-system-card.has-selection summary small{background:var(--hz-primary);color:#fff}
.hz-health-system-card>div{padding:7px 15px 13px}

.hz-health-segmented{display:flex;flex-wrap:wrap;gap:8px}
.hz-health-segmented label{position:relative;min-width:0}
.hz-health-segmented input{position:absolute;opacity:0;pointer-events:none}
.hz-health-segmented span{display:flex;min-height:42px;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #cbdade;border-radius:10px;background:#fff;color:#3c5a66;cursor:pointer;font-size:.9rem;font-weight:750;text-align:center}
.hz-health-segmented input:checked+span{border-color:var(--hz-primary);background:#eaf4f8;color:var(--hz-primary);box-shadow:inset 0 0 0 1px var(--hz-primary)}
.hz-health-segmented input:focus-visible+span{outline:3px solid rgba(10,91,136,.2);outline-offset:2px}
.hz-health-segmented-small span{min-height:38px;padding:7px 9px;font-size:.82rem}

.hz-health-pain-workspace{display:grid;gap:18px}
.hz-health-pain-panel{padding:20px;border:1px solid var(--hz-health-line);border-radius:18px;background:#fff}
.hz-health-range-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.hz-health-range-head label{font-weight:900;color:var(--hz-navy)}
.hz-health-range-head output{font-size:1.35rem;font-weight:900;color:var(--hz-primary)}
.hz-health-pain-panel input[type=range]{width:100%;margin:18px 0 8px;accent-color:var(--hz-primary)}
.hz-health-pain-scale{display:flex;justify-content:space-between;color:#526d79;font-weight:800;text-align:center}
.hz-health-pain-scale small{font-size:.72rem;font-weight:600;color:var(--hz-health-muted)}
.hz-health-body-card{padding:20px;border:1px solid var(--hz-health-line);border-radius:18px;background:var(--hz-health-soft)}
.hz-health-body-map{position:relative;width:min(330px,100%);margin:4px auto 12px;aspect-ratio:220/500}
.hz-health-body-map svg{display:block;width:100%;height:100%}
.hz-health-body-map svg circle,.hz-health-body-map svg path{fill:#e2ecef;stroke:#9fb6bf;stroke-width:2}
.hz-health-body-pin{position:absolute;left:var(--hz-x);top:var(--hz-y);transform:translate(-50%,-50%);width:28px;height:28px;border:3px solid #fff;border-radius:50%;background:#718c97;box-shadow:0 1px 7px rgba(16,44,59,.3);cursor:pointer;transition:.15s}
.hz-health-body-pin:hover,.hz-health-body-pin:focus-visible{transform:translate(-50%,-50%) scale(1.15)}
.hz-health-body-pin:focus-visible{outline:3px solid rgba(10,91,136,.25);outline-offset:2px}
.hz-health-body-pin.is-selected{background:var(--hz-primary);box-shadow:0 0 0 4px rgba(10,91,136,.16)}
.hz-health-body-selected{min-height:42px;padding:10px 12px;border-radius:12px;background:#fff;color:#3f5f6c;font-size:.9rem;line-height:1.45}

.hz-health-med-awareness{margin-bottom:18px}
.hz-health-yesno-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hz-health-yesno-grid>div{display:grid;align-content:start;gap:10px}
.hz-health-yesno-grid>div>span{font-size:.92rem;font-weight:800;line-height:1.4}
.hz-health-builder{margin:18px 0;padding:20px;border:1px solid var(--hz-health-line);border-radius:18px;background:#fbfdfd}
.hz-health-builder-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:10px}
.hz-health-builder-head h3{margin:0;color:var(--hz-navy);font-size:1.22rem}
.hz-health-builder-head p{margin:5px 0 0;color:var(--hz-health-muted);font-size:.9rem;line-height:1.45}
.hz-health-builder-none{margin-bottom:6px}
.hz-health-builder-list{display:grid;gap:12px;margin-top:12px}
.hz-health-builder-row{padding:16px;border:1px solid #d4e1e5;border-radius:15px;background:#fff}
.hz-health-builder-row-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.hz-health-builder-row-head strong{color:#284a57}
.hz-health-remove{display:grid;place-items:center;width:36px;height:36px;border:1px solid #d8c1c1;border-radius:10px;background:#fff;color:#8a2e2e;font-size:1.3rem;line-height:1;cursor:pointer}
.hz-health-remove:focus-visible{outline:3px solid rgba(167,45,45,.2);outline-offset:2px}
.hz-health-builder-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hz-health-builder-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hz-health-builder-fields .hz-health-field span{font-size:.82rem}
.hz-health-builder-fields .hz-health-field input,.hz-health-builder-fields .hz-health-field select{min-height:42px;padding:9px 10px}
.hz-health-builder-flags{display:flex;gap:18px;flex-wrap:wrap;margin-top:7px}
.hz-health-builder.is-none .hz-health-builder-head{opacity:.65}

.hz-health-condition-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}
.hz-health-condition-group{border:1px solid var(--hz-health-line);border-radius:15px;background:#fff;overflow:hidden}
.hz-health-condition-group summary{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:54px;padding:14px 15px;cursor:pointer;font-weight:900;list-style:none;color:#244653}
.hz-health-condition-group summary::-webkit-details-marker{display:none}
.hz-health-condition-group summary small{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:#eef4f6;color:#647b85;font-size:.76rem}
.hz-health-condition-group[open] summary{background:#f5f9fa;border-bottom:1px solid var(--hz-health-line)}
.hz-health-condition-group.has-selection{border-color:#9fc4d2}
.hz-health-condition-group.has-selection summary small{background:var(--hz-primary);color:#fff}
.hz-health-condition-group>div{padding:8px 15px 14px}
.hz-health-adaptive{margin:16px 0;padding:18px;border:1px solid #b9d2dc;border-radius:17px;background:#f2f9fb}
.hz-health-adaptive-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:14px}
.hz-health-adaptive-head strong{color:var(--hz-navy)}
.hz-health-adaptive-head span{color:var(--hz-health-muted);font-size:.84rem}
.hz-health-history-grid{margin-top:20px}
.hz-health-family-table{display:grid;margin:5px 0 15px;border:1px solid var(--hz-health-line);border-radius:12px;overflow:hidden}
.hz-health-family-head,.hz-health-family-row{display:grid;grid-template-columns:minmax(130px,1fr) 58px 58px 72px;align-items:center}
.hz-health-family-head{background:#edf4f6;font-size:.73rem;font-weight:900;text-align:center}
.hz-health-family-head span{padding:8px 5px}
.hz-health-family-head span:first-child{text-align:left}
.hz-health-family-row{border-top:1px solid var(--hz-health-line);font-size:.82rem}
.hz-health-family-row>span{padding:9px}
.hz-health-family-row label{display:grid;place-items:center;height:100%;border-left:1px solid var(--hz-health-line)}
.hz-health-family-row input{width:19px;height:19px;accent-color:var(--hz-primary)}
.hz-health-social-card{margin-top:18px}
.hz-health-social-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.75fr);gap:16px;align-items:center;padding:13px 0;border-top:1px solid var(--hz-health-line)}
.hz-health-social-row>span{font-weight:750;line-height:1.45}

.hz-health-adl-list{border:1px solid var(--hz-health-line);border-radius:18px;overflow:hidden}
.hz-health-adl{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,auto);gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--hz-health-line)}
.hz-health-adl:last-child{border-bottom:0}
.hz-health-adl>span{font-weight:850}
.hz-health-adl>div{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.hz-health-adl label{position:relative}
.hz-health-adl label input{position:absolute;opacity:0}
.hz-health-adl label span{display:block;min-height:38px;padding:8px 10px;border:1px solid #cbdade;border-radius:10px;background:#fff;font-size:.82rem;cursor:pointer;text-align:center}
.hz-health-adl label input:checked+span{border-color:var(--hz-primary);background:#eaf4f8;color:var(--hz-primary);font-weight:850}
.hz-health-adl label input:focus-visible+span{outline:3px solid rgba(10,91,136,.2)}

.hz-health-prevention-list{display:grid;gap:10px}
.hz-health-prevention-row{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(0,1.5fr);gap:18px;align-items:center;margin:0;padding:14px 16px;border:1px solid var(--hz-health-line);border-radius:15px;background:#fff}
.hz-health-prevention-row legend{float:left;width:100%;padding:0;margin:0;color:#244653;font-weight:900}
.hz-health-prevention-row legend+*{clear:none}
.hz-health-prevention-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.hz-health-prevention-options label{position:relative}
.hz-health-prevention-options input{position:absolute;opacity:0}
.hz-health-prevention-options span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:7px 8px;border:1px solid #cbdade;border-radius:10px;background:#fff;color:#48636e;font-size:.78rem;font-weight:750;text-align:center;cursor:pointer}
.hz-health-prevention-options input:checked+span{border-color:var(--hz-primary);background:#eaf4f8;color:var(--hz-primary);box-shadow:inset 0 0 0 1px var(--hz-primary)}
.hz-health-prevention-options input:focus-visible+span{outline:3px solid rgba(10,91,136,.2);outline-offset:2px}
.hz-health-prevention-list>[data-hz-diabetes-prevention]{display:grid;gap:10px;margin-top:10px;padding:16px;border:1px solid #b9d2dc;border-radius:17px;background:#f2f9fb}

.hz-health-phq{margin:0 0 20px;padding:0;border:0}
.hz-health-phq>legend{margin-bottom:14px;font-weight:900;color:var(--hz-navy)}
.hz-health-phq-row{padding:16px 0;border-bottom:1px solid var(--hz-health-line)}
.hz-health-phq-row>p{display:flex;gap:10px;align-items:flex-start;margin:0 0 12px;font-weight:800;line-height:1.45}
.hz-health-phq-row>p>span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:9px;background:#eef5f7;color:var(--hz-primary);font-size:.83rem}
.hz-health-phq-row>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.hz-health-phq-row label{position:relative}
.hz-health-phq-row input{position:absolute;opacity:0}
.hz-health-phq-row label>span{display:grid;place-items:center;gap:4px;min-height:72px;padding:8px;border:1px solid #cbdade;border-radius:11px;background:#fff;color:#526d78;font-size:.75rem;text-align:center;cursor:pointer}
.hz-health-phq-row label b{font-size:1rem;color:#325260}
.hz-health-phq-row input:checked+span{border-color:var(--hz-primary);background:#eaf4f8;color:var(--hz-primary);box-shadow:inset 0 0 0 1px var(--hz-primary)}
.hz-health-phq-row input:focus-visible+span{outline:3px solid rgba(10,91,136,.2);outline-offset:2px}
.hz-health-phq-score{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0 20px;padding:14px 16px;border-radius:14px;background:#eef6f8}
.hz-health-phq-score span{font-weight:850}
.hz-health-phq-score strong{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff;color:var(--hz-primary);font-size:1.25rem}
.hz-health-phq-score small{flex:1 1 260px;color:var(--hz-health-muted);line-height:1.4}

.hz-health-snapshot{overflow:hidden;margin-bottom:22px;border:1px solid #bfd5dd;border-radius:20px;background:#fbfefe}
.hz-health-snapshot-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px;background:#eef7f9;border-bottom:1px solid #cfe0e5}
.hz-health-snapshot-head p{margin:0 0 3px;color:var(--hz-primary);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.hz-health-snapshot-head h3{margin:0;color:var(--hz-navy);font-size:1.35rem}
.hz-health-snapshot-head>span{color:#57717c;font-size:.86rem;font-weight:800}
.hz-health-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}
.hz-health-summary-card{min-width:0;padding:16px;border:1px solid var(--hz-health-line);border-radius:15px;background:#fff}
.hz-health-summary-card.is-accent{grid-column:1/-1;border-color:#a8cad7;background:#f5fbfc}
.hz-health-summary-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.hz-health-summary-card h4{margin:0;color:#274957;font-size:1rem}
.hz-health-summary-card ul{margin:10px 0 0;padding-left:18px;color:#526d78;font-size:.9rem;line-height:1.5}
.hz-health-summary-edit{border:0;background:transparent;color:var(--hz-primary);font:inherit;font-size:.82rem;font-weight:900;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.hz-health-summary-edit:focus-visible{outline:3px solid rgba(10,91,136,.2);outline-offset:2px;border-radius:4px}
.hz-health-doctor-only{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:start;margin:22px 0;padding:20px;border:1px solid #b9d4dd;border-radius:18px;background:#f1f8fa}
.hz-health-doctor-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:var(--hz-primary);color:#fff;font-size:2rem;line-height:1}
.hz-health-doctor-only h3{margin:1px 0 5px;color:var(--hz-navy)}
.hz-health-doctor-only p{margin:0;color:#4c6874;line-height:1.55}
.hz-health-appointment-plan{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:18px;align-items:end;margin:20px 0;padding:20px;border:1px solid var(--hz-health-line);border-radius:18px;background:#fff}
.hz-health-appointment-plan strong{color:var(--hz-navy)}
.hz-health-appointment-plan p{margin:5px 0 0;color:var(--hz-health-muted);font-size:.9rem;line-height:1.45}
.hz-health-share-choice{padding:18px;border:1px solid var(--hz-health-line);border-radius:16px;background:#fff}
.hz-health-share-choice small{display:block;margin-left:30px;color:var(--hz-health-muted);line-height:1.45}
.hz-health-reason-preview{display:grid;gap:4px;margin-top:13px;padding:12px 14px;border-radius:12px;background:#f5f9fa}
.hz-health-reason-preview span{color:var(--hz-health-muted);font-size:.8rem;font-weight:800}
.hz-health-reason-preview strong{display:block;color:#2c4c59;font-size:.9rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.hz-health-final-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}
.hz-health-final-note{color:var(--hz-health-muted);font-size:.88rem;line-height:1.45}

.hz-health-secondary,.hz-health-back,.hz-health-link-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #bfd1d8;border-radius:10px;padding:9px 14px;background:#fff;color:#315361;font:inherit;font-weight:850;cursor:pointer;text-decoration:none}
.hz-health-secondary:hover,.hz-health-back:hover{background:#f3f7f8}
.hz-health-secondary:disabled,.hz-health-back:disabled{opacity:.5;cursor:not-allowed}
.hz-health-link-button{border-color:transparent;background:transparent;color:var(--hz-primary);text-decoration:underline;text-underline-offset:3px}
.hz-health-secondary:focus-visible,.hz-health-back:focus-visible,.hz-health-link-button:focus-visible{outline:3px solid rgba(10,91,136,.2);outline-offset:2px}
.hz-health-nav{position:sticky;bottom:8px;z-index:15;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;margin-top:30px;padding:12px;border:1px solid rgba(190,208,215,.9);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(16,44,59,.08);backdrop-filter:blur(12px)}
.hz-health-nav-center{text-align:center;color:var(--hz-health-muted);font-size:.83rem}
.hz-health-nav.is-summary{grid-template-columns:auto 1fr}
.hz-health-nav.is-summary .hz-health-nav-center{text-align:right}

@media (max-width:980px){
  .hz-health-hero>.hz-health-shell{grid-template-columns:1fr}
  .hz-health-hero-side{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hz-health-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hz-health-builder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hz-health-social-row{grid-template-columns:1fr}
  .hz-health-adl{grid-template-columns:1fr}
  .hz-health-adl>div{justify-content:flex-start}
  .hz-health-prevention-row{grid-template-columns:1fr}
}

@media (max-width:760px){
  .hz-health-shell{width:min(100% - 22px,1160px)}
  .hz-health-hero{padding:36px 0 28px}
  .hz-health-hero-side{grid-template-columns:1fr}
  .hz-health-resume{align-items:flex-start;flex-direction:column}
  .hz-health-workspace{padding-top:20px}
  .hz-health-stepper{top:0;margin-bottom:24px;padding-top:9px}
  .hz-health-progress-copy{font-size:.82rem}
  .hz-health-step-tabs{grid-template-columns:repeat(9,82px)}
  .hz-health-step-tabs button{font-size:.73rem}
  .hz-health-section-head{grid-template-columns:44px minmax(0,1fr);gap:11px}
  .hz-health-section-head>span{width:42px;height:42px;border-radius:13px}
  .hz-health-card-grid,.hz-health-choice-grid-2,.hz-health-condition-list,.hz-health-summary-grid,.hz-health-emergency-grid,.hz-health-system-grid,.hz-health-yesno-grid{grid-template-columns:1fr}
  .hz-health-adaptive-head,.hz-health-builder-head,.hz-health-inline-title{align-items:flex-start;flex-direction:column}
  .hz-health-inline-title output{align-self:flex-start}
  .hz-health-builder-fields,.hz-health-builder-fields-2{grid-template-columns:1fr}
  .hz-health-family-head,.hz-health-family-row{grid-template-columns:minmax(120px,1fr) 52px 52px 64px}
  .hz-health-phq-row>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hz-health-prevention-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hz-health-summary-card.is-accent{grid-column:auto}
  .hz-health-appointment-plan{grid-template-columns:1fr}
  .hz-health-share-choice small{margin-left:0}
  .hz-health-nav{bottom:4px;grid-template-columns:auto 1fr auto;gap:8px;padding:9px}
  .hz-health-nav-center{display:none}
  .hz-health-nav .hz-button,.hz-health-nav .hz-health-back{min-height:46px;padding-left:14px;padding-right:14px}
}

@media (max-width:480px){
  .hz-health-shell{width:min(100% - 16px,1160px)}
  .hz-health-hero h1{font-size:2.25rem}
  .hz-health-lead{font-size:1rem}
  .hz-health-clinical-note{padding:14px}
  .hz-health-card,.hz-health-builder,.hz-health-body-card,.hz-health-pain-panel,.hz-health-priority-panel{padding:15px;border-radius:15px}
  .hz-health-step{scroll-margin-top:132px}
  .hz-health-stepper{margin-left:-2px;margin-right:-2px}
  .hz-health-step-tabs{gap:4px;grid-template-columns:repeat(9,76px)}
  .hz-health-step-tabs button{min-width:76px;padding:5px}
  .hz-health-step-tabs button span{display:block;margin:0 auto 2px}
  .hz-health-choice-grid{grid-template-columns:1fr}
  .hz-health-chip span{min-height:42px;padding:8px 11px;font-size:.86rem}
  .hz-health-segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .hz-health-segmented label{width:100%}
  .hz-health-segmented span{width:100%}
  .hz-health-system-card summary{min-height:52px}
  .hz-health-body-map{width:min(280px,100%)}
  .hz-health-body-pin{width:26px;height:26px}
  .hz-health-family-table{overflow-x:auto}
  .hz-health-family-head,.hz-health-family-row{min-width:330px}
  .hz-health-adl>div{display:grid;grid-template-columns:1fr;width:100%}
  .hz-health-adl label span{width:100%}
  .hz-health-prevention-options{grid-template-columns:1fr}
  .hz-health-phq-row>div{grid-template-columns:1fr}
  .hz-health-phq-row label>span{min-height:54px;grid-template-columns:32px 1fr;text-align:left;justify-items:start;padding:9px 12px}
  .hz-health-snapshot-head{align-items:flex-start;flex-direction:column}
  .hz-health-doctor-only{grid-template-columns:1fr}
  .hz-health-final-actions{display:grid;grid-template-columns:1fr}
  .hz-health-final-actions>*{width:100%}
  .hz-health-resume-actions{display:grid;grid-template-columns:1fr;width:100%}
  .hz-health-resume-actions>*{width:100%}
  .hz-health-nav{grid-template-columns:1fr 1.35fr}
  .hz-health-nav.is-summary{grid-template-columns:1fr}
  .hz-health-nav .hz-button,.hz-health-nav .hz-health-back{width:100%;padding:9px 10px}
}

@media (prefers-reduced-motion:reduce){
  .hz-health-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
