.uhp{--navy:#12324a;--teal:#086f75;max-width:820px;margin:24px auto;background:#fff;color:var(--navy);border:1px solid #dfe8eb;border-radius:18px;overflow:hidden;font:inherit}.uhp *{box-sizing:border-box}.uhp [hidden]{display:none!important}.uhp header,.uhp footer{padding:18px 26px;background:#f4f8f8;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.uhp header b{font-size:23px}.uhp header span,.uhp a,.uhp-kicker{color:var(--teal)}.uhp main{padding:30px 36px}.uhp h1{font-size:clamp(28px,4vw,40px);margin:0 0 16px;color:var(--navy)}.uhp h2,.uhp legend{font-size:22px;font-weight:700;color:var(--navy)}.uhp p{line-height:1.55}.uhp-kicker{font-size:12px;font-weight:700;letter-spacing:.08em}.uhp label{display:block;margin:12px 0 5px;font-weight:550}.uhp input:not([type=checkbox]):not([type=hidden]),.uhp select{display:block;width:100%;margin:6px 0 12px;padding:12px;border:1px solid #adbec6;border-radius:8px;font:inherit;background:white;color:var(--navy)}.uhp .uhp-inline,.uhp-checks label{display:flex;gap:9px;align-items:flex-start;font-weight:400}.uhp input[type=checkbox]{flex-shrink:0;width:19px;height:19px;margin-top:3px}.uhp button,.uhp .uhp-button{display:inline-block;background:var(--teal);color:white;border:1px solid var(--teal);padding:12px 18px;border-radius:8px;font:inherit;font-weight:650;text-decoration:none;cursor:pointer;margin:8px 0}.uhp button:disabled{opacity:.45;cursor:default}.uhp .uhp-prev{background:white;color:var(--teal)}.uhp fieldset{border:0;padding:16px 0;margin:0;min-width:0}.uhp .uhp-nav{display:flex;justify-content:space-between;gap:10px}.uhp-progress{padding:0 0 12px;border-bottom:5px solid #e4eeee;position:relative;margin:20px 0}.uhp-progress:after{content:'';position:absolute;bottom:-5px;left:0;width:var(--progress,0);height:5px;background:var(--teal)}.uhp details,.uhp-dashboard,.uhp-notice{background:#f4f8f8;border:1px solid #dfe8eb;border-radius:10px;padding:16px;margin:12px 0}.uhp summary{cursor:pointer;font-weight:700}.uhp :focus-visible{outline:3px solid #c7812b;outline-offset:3px}.uhp footer{font-size:13px}@media(max-width:600px){.uhp main{padding:20px}.uhp header,.uhp footer{padding:16px 20px}}

/* v1.3: wider, readable clinical form; scoped to the plugin only. */
.uhp{max-width:1040px;margin:32px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;box-shadow:0 6px 24px rgba(18,50,74,.045)}
.uhp main{padding:clamp(20px,4vw,40px)}
.uhp h1,.uhp h2,.uhp legend{font-family:inherit;letter-spacing:-.02em;font-weight:650}
.uhp h1{font-size:clamp(26px,3vw,34px)}
.uhp .uhp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;align-items:start}
.uhp .uhp-field{min-width:0}
.uhp .uhp-field:has(.uhp-checks),.uhp [data-field="condition_details"],.uhp [data-field="hospital_details"],.uhp [data-field="medication_details"]{grid-column:1/-1}
.uhp .uhp-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;padding:12px 16px;border:1px solid #dfe8eb;border-radius:10px;background:#f8fafb}
.uhp .uhp-checks label{margin:4px 0;min-height:32px;align-items:center}
.uhp input[type=checkbox]{accent-color:#086f75}
.uhp .uhp-progress{font-size:14px;font-weight:650;color:#086f75}
.uhp .uhp-nav button{min-width:112px}
.uhp .uhp-inline{flex-wrap:wrap;align-items:baseline;line-height:1.6}
@media(max-width:640px){.uhp .uhp-fields,.uhp .uhp-checks{grid-template-columns:1fr}.uhp{margin:16px auto}.uhp main{padding:20px}.uhp .uhp-nav button{min-width:0}}
