#hd-case-open{position:fixed;bottom:22px;right:22px;z-index:900;background:#164f36;color:#fff;border:1px solid #ffffff70;border-radius:30px;padding:15px 22px;box-shadow:0 5px 22px #12382235;font:600 14px inherit;cursor:pointer;min-height:48px}#hd-case-open span{margin-right:8px}#hd-case-dialog{padding:0;border:1px solid #d7e4da;border-radius:20px;width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 32px);color:#203e2c;background:#fff;box-shadow:0 24px 90px #102b3a40;font-family:inherit}#hd-case-dialog[open]{display:flex;flex-direction:column}#hd-case-dialog::backdrop{background:#142e266b;backdrop-filter:blur(3px)}#hd-case-dialog [hidden]{display:none!important}#hd-case-dialog *{box-sizing:border-box}#hd-case-dialog button{font-family:inherit;cursor:pointer;min-height:42px;padding:10px 14px;border:1px solid #d3e1d8;border-radius:9px;background:#fff;color:#285c3c;font-size:13px}#hd-case-dialog button.hd-case-primary{background:#17663c;border-color:#17663c;color:#fff}#hd-case-dialog button:disabled{cursor:default;opacity:.5}.hd-case-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 26px;background:#eef5ef;border-bottom:1px solid #dbe8de;flex-shrink:0}.hd-case-head small{font-size:10px;letter-spacing:1.3px;color:#53755e}.hd-case-head h2{font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:9px 0 0}#hd-case-close{font-size:25px!important;min-width:42px}.hd-case-body{padding:20px 26px;overflow:auto;overscroll-behavior:contain;min-height:0;font-size:14px;line-height:1.7}.hd-case-body p{margin:0 0 16px}.hd-case-note{font-size:12px;color:#587060;border-left:3px solid #a8c5ad;padding-left:12px}#hd-case-intro button{margin:8px 0}#hd-case-progress{font-size:12px;margin:10px 0 4px;color:#62766a}#hd-case-meter{width:100%;height:5px;accent-color:#17663c;margin-bottom:20px}#hd-case-transcript:empty{display:none}.hd-case-message{border-radius:12px;background:#f1f6f2;padding:12px 15px;margin:0 0 12px;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.hd-case-message strong{display:block;color:#54705b;font-size:11px;margin-bottom:4px}#hd-case-question{display:block;font-size:18px;font-weight:600;line-height:1.45;margin:18px 0 10px;white-space:pre-line}#hd-case-hint{font-size:12px;color:#586e5e}#hd-case-answer{width:100%;border:1px solid #adc7b5;border-radius:10px;padding:12px;font:inherit;resize:vertical;min-height:94px;max-height:230px;background:#fbfdfb;color:#203e2c}.hd-case-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#hd-case-error{font-size:12px;color:#a33a2a;margin-top:6px}#hd-case-summary article{padding:15px 0;border-bottom:1px solid #e0e9e2;overflow-wrap:anywhere}#hd-case-summary strong{display:block;font-size:12px;color:#53745e}#hd-case-summary p{white-space:pre-wrap;margin:6px 0 8px}#hd-case-summary button{min-height:32px;font-size:11px;padding:5px 10px}#hd-case-review h3,#hd-case-urgent h3{font-size:22px;line-height:1.3}#hd-case-urgent{background:#fff5ec;border:1px solid #e9c5ac;padding:18px;border-radius:12px;color:#733823}#hd-case-urgent a{color:inherit;font-size:12px}.hd-case-foot{padding:13px 22px;border-top:1px solid #e2ebe4;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;background:#fafcfb;flex-shrink:0}#hd-case-emergency{color:#8c3929!important}#hd-case-clear-check{width:100%;font-size:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}#hd-case-download{margin-top:12px}#hd-case-download-status{font-size:12px;margin-top:12px}body:has(#hd-case-dialog[open]){overflow:hidden}@media(max-width:540px){#hd-case-open{bottom:14px;right:12px;padding:12px 16px}#hd-case-dialog{max-height:calc(100dvh - 16px);border-radius:15px}.hd-case-head{padding:18px}.hd-case-head h2{font-size:23px}.hd-case-body{padding:18px}.hd-case-foot{padding:10px 14px}.hd-case-foot button{font-size:12px!important}}
#hd-case-dialog textarea,#hd-case-dialog input:not([type=checkbox]):not([type=radio]),#hd-clinic-dialog input,#hd-clinic-dialog textarea,#hd-clinic-dialog select{width:100%;padding:10px 12px;border:1px solid #b6cabc;border-radius:8px;background:white;color:#203e2c;font:inherit;margin:5px 0 13px}#hd-case-dialog label,#hd-clinic-dialog label{display:block;line-height:1.6;margin-bottom:10px}#hd-case-dialog fieldset,#hd-clinic-dialog fieldset{border:1px solid #d8e5dc;border-radius:12px;padding:16px;margin:18px 0}#hd-case-dialog legend{font-weight:600;padding:0 6px;font-size:13px}.hd-case-small,#hd-case-form-source{font-size:12px;line-height:1.7;color:#607467}.hd-case-check{font-size:12px;display:flex!important;align-items:flex-start;gap:9px}.hd-case-check input{margin:5px 0 0;flex-shrink:0}#hd-case-connection{padding:10px 13px;background:#f1f6f2;border-radius:9px;font-size:12px}.hd-case-resume{margin-top:22px;border-top:1px solid #dce6df;padding-top:15px}.hd-case-resume summary{cursor:pointer}.hd-case-resume form{margin-top:16px}#hd-case-dialog textarea{resize:vertical;min-height:84px}#hd-case-bill dl{display:grid;grid-template-columns:1fr auto;gap:8px}#hd-case-bill dd{margin:0;font-weight:600}#hd-case-bill dt{margin:0}#hd-case-prescription article{border:1px solid #dce6df;border-radius:10px;padding:14px;margin:14px 0}#hd-case-prescription p{white-space:pre-wrap;overflow-wrap:anywhere}#hd-case-status-content h3{font-size:22px}#hd-case-status-content p{overflow-wrap:anywhere}#hd-clinic-dialog{padding:0;width:min(1120px,calc(100vw - 28px));max-height:calc(100dvh - 32px);border:1px solid #d7e4da;border-radius:18px;color:#203e2c;background:white;font:14px/1.7 inherit}#hd-clinic-dialog[open]{display:flex;flex-direction:column}#hd-clinic-dialog::backdrop{background:#17312690}#hd-clinic-dialog [hidden]{display:none!important}.hd-clinic-body{overflow:auto;padding:22px;min-height:0}#hd-clinic-dialog button{font-family:inherit;cursor:pointer;min-height:40px;border-radius:8px;background:#f5f9f6;border:1px solid #c7dacc;color:#234f33;padding:9px 13px}#hd-clinic-dialog button.hd-case-primary{background:#17663c;color:#fff}#hd-clinic-dialog button:disabled{opacity:.5;cursor:default}#hd-clinic-dialog *{box-sizing:border-box}.hd-clinic-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;margin-top:20px}#hd-clinic-list button{display:block;text-align:left;width:100%;margin-bottom:10px;overflow-wrap:anywhere}#hd-clinic-case pre{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere;background:#f5f9f6;padding:16px;border-radius:10px}#hd-clinic-case h3{font-size:22px}.hd-clinic-line{padding:14px;border:1px solid #cdded2;border-radius:12px;margin:12px 0}.hd-clinic-line-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}#hd-clinic-status{white-space:pre-wrap;overflow-wrap:anywhere}#hd-clinic-case .hd-case-check input{width:auto}.hd-clinic-candidate{border-left:3px solid #b5cbbd;padding:10px 14px;margin:10px 0}.hd-clinic-candidate p{white-space:pre-wrap}#hd-case-open{font-family:inherit;font-size:14px;font-weight:600}@media(max-width:760px){.hd-clinic-grid{grid-template-columns:1fr}.hd-clinic-body{padding:15px}#hd-clinic-list{max-height:210px;overflow:auto}.hd-clinic-line-grid{grid-template-columns:1fr}}
.hd-intake-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#567060;margin:10px 0 16px}.hd-intake-heading h3{font-size:20px;margin:0;color:#203e2c}#hd-case-chat-log{display:flex;flex-direction:column;gap:14px;max-height:310px;min-height:110px;overflow:auto;padding:4px 2px 12px;scroll-behavior:smooth}.hd-chat-message{max-width:94%;border:1px solid #dce7df;border-radius:14px 14px 14px 3px;background:#f1f7f2;padding:13px 16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.hd-chat-message.hd-chat-patient{align-self:flex-end;background:#205c3c;border-color:#205c3c;color:white;border-radius:14px 14px 3px 14px}.hd-chat-message small{display:block;font-size:10px;letter-spacing:.6px;text-transform:uppercase;margin-bottom:6px;opacity:.8}.hd-chat-message button{display:block!important;padding:3px 8px!important;min-height:28px!important;margin-top:8px;font-size:11px!important}.hd-voice-controls{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.hd-voice-controls label{margin:0!important;display:flex!important;align-items:center;gap:6px;font-size:11px;flex:1}.hd-voice-controls select{padding:8px;max-width:155px;border:1px solid #b6cabc;border-radius:8px;background:#fff;color:#285c3c;font:inherit}.hd-voice-controls button{display:inline-flex;align-items:center;gap:7px}#hd-case-mic[aria-pressed=true]{background:#fff1ed!important;color:#993e2c!important;border-color:#c77b68!important}#hd-case-voice-status{margin:9px 0 12px}#hd-case-chat-consents,#hd-case-voice-privacy,#hd-case-sources{font-size:12px;border:1px solid #d9e4dd;padding:12px 14px;border-radius:10px;margin:12px 0}#hd-case-dialog summary{cursor:pointer;font-weight:600}#hd-case-chat-consents[open] summary,#hd-case-voice-privacy[open] summary,#hd-case-sources[open] summary{margin-bottom:12px}#hd-case-chat-next{padding:14px;background:#f5f9f6;border-radius:12px;margin-top:14px}#hd-case-chat-next button{margin:5px 6px 0 0}#hd-case-fields>details{border-bottom:1px solid #dfe8e1;padding:13px 0}#hd-case-fields>details>summary{font-size:15px;margin-bottom:10px;color:#245739}#hd-case-fields label{margin-bottom:16px}.hd-case-field-hint{display:block;font-size:11px;color:#667d6c;font-weight:400;line-height:1.6}.hd-case-field-origin{font-size:10px;color:#547e5f}#hd-case-source-list a{color:#21643b}#hd-case-source-list p{margin:8px 0 14px}#hd-case-completion{position:sticky;bottom:0;background:#f3f8f4;padding:9px 12px;border-radius:8px}#hd-case-problem:read-only{background:#f1f6f2}@media(max-width:540px){#hd-case-chat-log{max-height:280px}.hd-voice-controls{gap:6px}.hd-voice-controls label{order:3;flex-basis:100%;justify-content:flex-start}.hd-voice-controls #hd-case-send{margin-left:auto}.hd-intake-heading{flex-wrap:wrap}.hd-chat-message{max-width:97%}}

#hd-case-dialog .hd-answer-card{margin:16px 0;padding:16px;border:1px solid #dbe8e3;border-radius:14px;background:#fff}#hd-case-dialog .hd-answer-card legend{font-weight:650;padding:0 6px;font-size:15px}#hd-case-dialog .hd-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:8px 0 14px}#hd-case-dialog .hd-choice-grid label{display:flex;align-items:center;gap:9px;margin:0;padding:10px 12px;background:#f4f8f6;border:1px solid #dce8e2;border-radius:8px;font-weight:400;cursor:pointer}#hd-case-dialog .hd-choice-grid label:has(input:checked){border-color:#25765a;background:#e3f2e9}#hd-case-dialog .hd-choice-grid input{width:18px;height:18px;flex:0 0 18px;accent-color:#25765a}#hd-case-dialog .hd-answer-card textarea{min-height:58px}#hd-clinic-case .hd-review-note{padding:12px;background:#e8f5ed;border-radius:8px}#hd-clinic-case .hd-research-result{white-space:pre-wrap;font-size:14px;overflow-wrap:anywhere}

#hd-case-dialog .hd-match-summary{background:linear-gradient(120deg,#e8f4ed,#f3f8f4);padding:20px;border:1px solid #ccdfd3;border-radius:16px;margin:12px 0}#hd-case-dialog .hd-match-summary strong{font-size:19px;color:#20573f}#hd-case-dialog .hd-match-summary p{font-size:14px;margin:8px 0}#hd-case-section-nav{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px}#hd-case-section-nav button{flex:0 0 auto;border-radius:20px;padding:8px 12px;font-size:12px;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#hd-case-fields>details>summary{display:flex;justify-content:space-between;gap:12px}#hd-case-fields>details>summary:after{content:attr(data-progress);font-size:12px;background:#e5efe9;border-radius:12px;padding:3px 8px;white-space:nowrap}#hd-case-progress{display:block;width:100%;height:10px;accent-color:#25765a;margin-top:22px}#hd-case-fields [hidden]{display:none!important}#hd-case-dialog .hd-answer-card{scroll-margin-top:14px}#hd-case-fields>details{scroll-margin-top:12px}

#hd-case-form-actions{width:100%;display:flex;align-items:center;gap:10px}#hd-case-form-actions small{font-size:11px;line-height:1.4;max-width:220px}#hd-case-form-actions button{flex-shrink:0}#hd-case-completion{position:static}#hd-case-dialog .hd-coupon-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}#hd-case-dialog .hd-coupon-row input{flex:1;min-width:110px;width:120px;margin:0}#hd-case-coupon-form{padding:14px;background:#f1f7f3;border:1px solid #cbdfd1;border-radius:12px;margin:16px 0}#hd-case-dialog .hd-case-foot:has(#hd-case-form-actions:not([hidden]))>button{min-height:30px;padding:5px 9px;font-size:11px}#hd-case-record[aria-pressed=true]{background:#fff1ed!important;color:#993e2c!important}

#hd-case-host-shortcut{position:fixed;right:24px;bottom:78px;border:1px solid #bdd3c4;border-radius:24px;padding:8px 16px;background:#fff;color:#21543b;z-index:899;font:600 12px inherit;cursor:pointer}.hd-case-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:10px 0 22px}.hd-case-counts article{padding:20px;background:#f0f7f3;border:1px solid #d7e7dc;border-radius:14px}.hd-case-counts strong{display:block;font-size:32px;line-height:1.2}.hd-case-counts span{font-size:12px;color:#56705e}.hd-empty-case{padding:30px;background:#f5f8f6;border-radius:16px}.hd-status-pill{display:inline-block;padding:5px 12px;border-radius:22px;background:#e2f1e8;color:#245d40;font-size:12px}.hd-danger{color:#9b392c!important;border-color:#e5c4bc!important}.hd-trial-entry{padding:12px 0;color:#526b5d;font-size:13px}#hd-case-prescription pre{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere}#hd-case-error:not(:empty){padding:12px;background:#fff3ed;border-radius:9px}#hd-case-form-actions small{max-width:none}#hd-case-topic-choice{max-width:100%;padding:10px}#hd-clinic-dialog input[type=checkbox]{width:auto}@media(max-width:540px){.hd-case-counts article{padding:12px}.hd-case-counts strong{font-size:24px}#hd-case-host-shortcut{right:14px;bottom:68px}}

#hd-host-dialog{border:1px solid #dbe7df;border-radius:20px;box-shadow:0 24px 90px #183c302b;padding:28px;color:#193d2b;background:#fff}#hd-host-dialog:not(.hd-admin-mode){width:min(420px,calc(100vw - 32px))}#hd-host-dialog::backdrop{background:#102a23a8;backdrop-filter:blur(4px)}#hd-host-credentials>p{color:#667c6d;line-height:1.6}#hd-host-credentials label{display:block;margin:18px 0;font-size:13px;font-weight:600}#hd-host-password{min-height:48px;border-radius:10px!important}#hd-host-credentials button[type=submit]{min-height:48px;border-radius:10px;width:100%}#hd-host-status{line-height:1.6;font-size:13px}#hd-clinic-login{max-width:420px;margin:12px auto 24px;padding:22px;background:#f4f8f5;border-radius:16px;border:1px solid #dce9df}#hd-clinic-login h3{font-size:22px;margin:0 0 8px}#hd-clinic-login button{width:100%;min-height:46px}#hd-clinic-login p{color:#627766}#hd-host-dialog button:focus-visible,#hd-case-dialog button:focus-visible,#hd-clinic-dialog button:focus-visible{outline:3px solid #92bba6;outline-offset:3px}#hd-clinic-list button:hover{background:#e7f1ea}#hd-case-dialog .hd-case-note{line-height:1.65}#hd-clinic-counts article{box-shadow:0 3px 12px #234c3310}.hd-admin-tabs{position:sticky;top:0;background:#fff;z-index:1;padding:10px 0}#hd-case-open{box-shadow:0 8px 26px #163d2c30}
