/* A focused intake flow; declarations never mimic clinical measurements. */
.ob-surface{--ob-bg:#f9fbfd;--ob-panel:#fff;--ob-soft:#edf3f5;--ob-ink:#102b3b;--ob-muted:#5c7180;--ob-border:#dbe5ea;--ob-accent:#087d88;--ob-tint:#e4f4f3;--ob-error:#a52e46;color:var(--ob-ink);background:var(--ob-bg);border:1px solid var(--ob-border);border-radius:22px;box-shadow:0 10px 28px #12334908;font-size:14px;line-height:1.5}
html[data-theme=dark] .ob-surface,html[data-doctor-theme=dark] .ob-surface{--ob-bg:#172631;--ob-panel:#1d303c;--ob-soft:#213642;--ob-ink:#e8f1f6;--ob-muted:#adc0cc;--ob-border:#334a59;--ob-accent:#71d6db;--ob-tint:#203e46;--ob-error:#ffb2be;box-shadow:0 12px 32px #0002}
.ob-surface :is(h1,h2,h3,p){margin-top:0}.ob-surface h1{font-size:clamp(25px,3vw,37px);line-height:1.15;letter-spacing:-1px;color:var(--ob-ink);margin-bottom:17px}.ob-surface h2{font-size:22px;line-height:1.25;color:var(--ob-ink);letter-spacing:-.5px}.ob-surface h3{font-size:14px;color:var(--ob-ink);margin-bottom:4px}.ob-surface p{color:var(--ob-muted)}.ob-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;margin-bottom:12px!important;color:var(--ob-muted)!important}.ob-muted{color:var(--ob-muted);font-size:12px}.ob-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid var(--ob-border,var(--ws-line,#dbe5ea));border-radius:11px;background:var(--ob-panel,var(--ws-raised,#fff));color:var(--ob-ink,var(--ws-ink,#102b3b));font-family:inherit;font-size:12px;font-weight:600;line-height:1.35;cursor:pointer;text-decoration:none}.ob-button[hidden]{display:none}.ob-button .ui-icon{width:17px;height:17px}.ob-primary{background:var(--ob-accent,#087d88);color:white;border-color:transparent}.ob-button:disabled{opacity:.55;cursor:wait}.ob-button:not(:disabled):hover{filter:brightness(.96)}html[data-theme=dark] .ob-primary,html[data-doctor-theme=dark] .ob-primary{color:#102b3b}.ob-surface :is(button,input,textarea,select,summary):focus-visible,.ob-row-actions button:focus-visible{outline:3px solid var(--ob-accent,var(--ws-accent,#087d88));outline-offset:3px}.ob-surface label{display:grid;gap:7px;font-size:13px;font-weight:600;margin:0 0 14px;color:var(--ob-ink)}.ob-surface :is(input,textarea,select){width:100%;min-width:0;font:inherit;font-size:14px;color:var(--ob-ink);background:var(--ob-panel);border:1px solid var(--ob-border);border-radius:11px;padding:11px 13px;min-height:44px;box-shadow:none}.ob-surface input::placeholder,.ob-surface textarea::placeholder{color:var(--ob-muted)}.ob-surface textarea{resize:vertical;min-height:95px;line-height:1.5}.ob-error{color:var(--ob-error)!important;font-size:13px;line-height:1.5;margin:10px 0}.ob-error:empty{display:none}.ob-symbol{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;flex-shrink:0;background:var(--ob-tint);color:var(--ob-accent);margin-bottom:20px}.ob-symbol .ui-icon{width:24px;height:24px}.ob-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.ob-wizard{max-width:1080px;margin:12px auto 28px;display:grid;grid-template-columns:300px minmax(0,1fr);overflow:hidden}.ob-rail{padding:33px 28px;background:var(--ob-soft);border-right:1px solid var(--ob-border);display:flex;flex-direction:column}.ob-rail h1{font-size:29px}.ob-rail>p:not(.ob-eyebrow){font-size:13px;line-height:1.7}.ob-step-list{list-style:none;padding:0;margin:15px 0 28px;display:grid;gap:10px}.ob-step-list li{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--ob-muted)}.ob-step-list li>span{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--ob-border);border-radius:50%;background:var(--ob-panel);font-size:11px}.ob-step-list li.current{color:var(--ob-accent);font-weight:700}.ob-step-list li.current>span{background:var(--ob-accent);color:white;border-color:var(--ob-accent)}html[data-theme=dark] .ob-step-list li.current>span{color:#102b3b}.ob-step-list li.past>span{color:var(--ob-accent);background:var(--ob-tint)}.ob-boundary{display:flex;align-items:start;gap:10px;margin-top:auto;padding-top:22px;border-top:1px solid var(--ob-border)}.ob-boundary .ui-icon{flex-shrink:0;width:17px;height:17px;color:var(--ob-muted)}.ob-boundary p{font-size:11px;line-height:1.6;margin:0}.ob-form-area{padding:30px 36px}.ob-form-area .ob-eyebrow{margin:0!important}.ob-form-area progress{display:block;appearance:none;width:100%;height:5px;overflow:hidden;border:0;border-radius:4px;margin:14px 0 28px;background:var(--ob-border);color:var(--ob-accent)}.ob-form-area progress::-webkit-progress-bar{background:var(--ob-border);border-radius:4px}.ob-form-area progress::-webkit-progress-value{background:var(--ob-accent);border-radius:4px}.ob-form-area progress::-moz-progress-bar{background:var(--ob-accent);border-radius:4px}.ob-form-area h2{margin-bottom:8px}.ob-question{margin:22px 0 0;padding:0;border:0;min-width:0}.ob-question label,.ob-question legend{display:block;font-size:14px;font-weight:600;margin:0 0 10px;padding:0;color:var(--ob-ink)}.ob-required,.ob-optional{display:inline-block;font-size:10px;font-weight:400;color:var(--ob-muted);margin-left:6px}.ob-options{display:flex;gap:8px;flex-wrap:wrap}.ob-options .ob-option{display:block;margin:0;position:relative;font-size:12px;font-weight:400}.ob-options input[type=radio]{position:absolute;width:1px;height:1px;min-height:0;opacity:0;padding:0;inset:50%;border:0}.ob-option>span{display:block;padding:11px 14px;border:1px solid var(--ob-border);border-radius:12px;background:var(--ob-panel);cursor:pointer;min-height:40px}.ob-option input:checked+span{background:var(--ob-tint);color:var(--ob-accent);border-color:var(--ob-accent);box-shadow:inset 0 0 0 1px var(--ob-accent)}.ob-option input:focus-visible+span{outline:3px solid var(--ob-accent);outline-offset:3px}.ob-save-status{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:34px;margin-top:23px;font-size:11px;color:var(--ob-muted)}.ob-save-status .ob-button{font-size:11px;min-height:30px;padding:5px 9px}.ob-form-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--ob-border);margin-top:14px;padding-top:20px}.ob-dialog{width:min(640px,calc(100vw - 28px));max-height:calc(100svh - 32px);overflow-y:auto;padding:26px}.ob-dialog::backdrop{background:#07121c99;backdrop-filter:blur(5px)}.ob-dialog>header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.ob-dialog h2{margin-bottom:0}.ob-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.ob-info,.ob-notice{padding:16px;background:var(--ob-soft);border:1px solid var(--ob-border);border-radius:13px;margin:16px 0}.ob-info p,.ob-notice p{font-size:13px;margin:7px 0 0}.ob-notice{background:var(--ob-tint)}.ob-answers{margin:20px 0 0}.ob-answers>div{padding:13px 0;border-top:1px solid var(--ob-border)}.ob-answers dt{font-size:12px;font-weight:600;color:var(--ob-muted)}.ob-answers dd{font-size:14px;line-height:1.6;margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.ob-completed{max-width:780px;margin:22px auto;padding:38px}.ob-success{width:64px;height:64px;display:grid;place-items:center;color:var(--ob-accent);background:var(--ob-tint);border:1px solid var(--ob-border);border-radius:50%;margin-bottom:24px}.ob-success .ui-icon{width:32px;height:32px}.ob-completed details{border-top:1px solid var(--ob-border);margin-top:24px;padding-top:20px}.ob-completed summary{cursor:pointer;font-weight:600;font-size:13px}.ob-password{max-width:580px;margin:30px auto;padding:34px}.ob-password form{margin-top:24px}.ob-password .ob-primary{width:100%}.ob-history{padding:22px;margin-bottom:20px}.ob-history h2{font-size:19px;margin-bottom:10px}.ob-assignment{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:15px 0;border-top:1px solid var(--ob-border)}.ob-assignment .ob-symbol{margin:0;width:35px;height:35px;border-radius:10px}.ob-assignment>div{flex:1;min-width:0}.ob-assignment p{font-size:11px;margin:0}.ob-assignment h3{font-size:13px}.ob-row-actions{display:flex;gap:6px;flex-wrap:wrap}.rx-table .ob-row-actions .ob-button{font-size:10px;min-height:32px;padding:6px 8px}.ob-clinical-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;margin-bottom:17px}.ob-clinical-summary .ob-eyebrow{margin-bottom:5px!important}.ob-clinical-summary h2{font-size:17px;margin-bottom:5px}.ob-clinical-summary p{font-size:11px;margin:0}.ob-dialog #onboarding-assign{margin-top:20px;border-top:1px solid var(--ob-border);padding-top:20px}
@media(prefers-reduced-motion:no-preference){.ob-wizard,.ob-completed,.ob-dialog[open]{animation:ob-enter .26s ease-out}.ob-button,.ob-option>span{transition:background-color .18s,border-color .18s,box-shadow .18s}.ob-form-area progress::-webkit-progress-value{transition:width .25s}@keyframes ob-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}}
@media(max-width:900px){.ob-wizard{grid-template-columns:235px minmax(0,1fr)}.ob-rail{padding:26px 22px}.ob-form-area{padding:26px}.ob-rail h1{font-size:26px}}
@media(max-width:650px){.ob-wizard{display:block;border-radius:17px;margin:0 auto 20px}.ob-rail{border-right:0;border-bottom:1px solid var(--ob-border);padding:22px}.ob-rail>.ob-symbol,.ob-rail>.ob-step-list,.ob-boundary{display:none}.ob-rail h1{font-size:26px;margin-bottom:8px}.ob-rail>p:last-of-type{font-size:12px;margin-bottom:0}.ob-rail .ob-eyebrow{font-size:9px;margin-bottom:8px!important}.ob-form-area{padding:23px 20px}.ob-form-area h2{font-size:22px}.ob-form-area .ob-section-heading{gap:7px}.ob-form-area .ob-section-heading .ob-muted{font-size:10px}.ob-surface :is(input,textarea,select){font-size:16px}.ob-question legend,.ob-question label{font-size:14px}.ob-options .ob-option{font-size:12px}.ob-completed,.ob-password{padding:25px 20px;margin:0 auto 20px}.ob-history{padding:18px}.ob-assignment{flex-wrap:wrap}.ob-assignment .ob-button{margin-left:auto}.ob-clinical-summary{flex-wrap:wrap;padding:18px}.ob-dialog{padding:21px}.ob-dialog>header{gap:12px}.ob-dialog h2{font-size:20px}.ob-dialog-actions{flex-wrap:wrap}.ob-dialog-actions .ob-button{flex:1}.ob-form-footer .ob-button{font-size:11px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.ob-surface *,.ob-surface{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.ob-access-instructions{margin:18px 0}.ob-access-instructions details{margin-top:17px}.ob-access-instructions summary{font-size:12px;font-weight:600;cursor:pointer}.ob-access-instructions details p{font-size:12px;line-height:1.6;margin:10px 0}.ob-save-status{flex-wrap:wrap}
.ob-review-chapter{margin-top:24px}.ob-review-chapter h3{font-size:16px}.ob-routine{margin-top:24px;padding:18px;border-radius:16px;background:var(--ob-soft)}.ob-routine>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ob-routine article{padding:14px;border:1px solid var(--ob-border);border-radius:12px;background:var(--ob-panel);min-width:0}.ob-routine article p{font-size:13px;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.ob-my-day{padding:24px;margin-bottom:20px}.ob-my-day ol{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.ob-my-day li{display:flex;gap:12px;align-items:center;padding:15px;background:var(--ob-panel);border:1px solid var(--ob-border);border-radius:14px}.ob-my-day li>span{color:var(--ob-accent)}.ob-my-day li p{margin:4px 0 0;font-size:12px}.ob-my-day .ob-day-accepted{border-color:var(--ob-accent);background:var(--ob-tint)}.ob-my-day .ob-day-completed>span{background:var(--ob-tint);border-radius:50%;padding:5px}
@media(max-width:450px){.ob-routine>div{grid-template-columns:1fr}.ob-my-day{padding:20px}}
@media(hover:none){.ob-button:not(:disabled):hover{filter:none}}

.ob-welcome{padding:28px;margin:12px 0 24px}.ob-welcome h1{font-size:27px}.ob-welcome .ob-button{margin:4px 4px 4px 0;min-height:46px}.ob-wizard .ob-button{min-height:46px}.ob-form-area{padding-bottom:max(24px,env(safe-area-inset-bottom))}@media(max-width:700px){.ob-surface :is(input,textarea,select){font-size:16px}.ob-welcome{padding:22px}.ob-step-list{display:none}.ob-wizard{margin-top:0}.ob-button{touch-action:manipulation}.ob-button:active{opacity:.8}}
