.ay-shell{flex-direction:column;min-height:100vh;display:flex}.ay-shell__header{width:min(100% - 32px, var(--ay-content-width));border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:16px;margin:0 auto;padding:22px 0;display:flex}.ay-brand:not(.dashboard-brand-lockup){color:var(--ui-text);align-items:center;gap:10px;font-weight:700;text-decoration:none;display:inline-flex}.dashboard-brand-lockup{color:var(--ui-text);text-decoration:none}.ay-brand__mark:not(.dashboard-brand-mark){background:var(--ui-accent);width:32px;height:32px;color:var(--ui-surface);border-radius:50%;place-items:center;display:grid}.ay-brand__mark--logo{border-radius:var(--ui-radius-sm);overflow:hidden;background:0 0!important}.ay-shell__status{color:var(--ui-muted);font-size:.82rem}.ay-shell__main{width:min(100% - 32px, var(--ay-content-width));flex:1;margin:0 auto;padding:clamp(40px,7vw,88px) 0 56px}.ay-hero{max-width:720px}.ay-eyebrow{color:var(--ui-accent);letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px;font-size:.8rem;font-weight:700}.ay-hero h1{letter-spacing:-.025em;margin:0;font-size:clamp(2rem,4vw,3.6rem);line-height:1.08}.ay-lede{max-width:62ch;color:var(--ui-text-soft);margin:20px 0 0;font-size:1.08rem}.ay-actions{flex-wrap:wrap;gap:12px;margin-top:28px;display:flex}.ay-content{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:52px;display:grid}.ay-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);padding:24px}.ay-card h2{margin:0 0 10px;font-size:1.08rem}.ay-card p{color:var(--ui-text-soft);margin:0}.ay-card form{gap:13px;margin-top:18px;display:grid}.ay-card form>label{color:var(--ui-text-soft);font-size:.76rem;font-weight:620}.ay-card [role=alert]{color:var(--ui-danger)}.ay-brand__mark img{object-fit:contain;width:100%;height:100%}.ay-queue-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;padding:0;list-style:none;display:grid}.ay-queue-summary li{border:1px solid var(--ui-border);border-radius:var(--ui-radius);color:var(--ui-text-soft);justify-content:space-between;gap:12px;padding:10px 12px;display:flex}.ay-queue-summary strong{color:var(--ui-text)}.ay-queue-controls{grid-template-columns:auto minmax(160px,1fr) auto minmax(160px,1fr) auto minmax(120px,1fr);align-items:center;gap:10px;margin-top:18px;display:grid}.ay-queue-list{gap:10px}.ay-queue-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}.ay-queue-item div{gap:4px;min-width:0;display:grid}.ay-queue-item span{color:var(--ui-text-soft);font-size:.9rem}.ay-chart-shell{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-shadow-card);grid-column:1/-1}.ay-chart-header{align-items:flex-start}.ay-chart-header .ay-eyebrow{margin:0 0 5px}.ay-chart-meta{color:var(--ui-text-soft);margin:6px 0 0}.ay-chart-tab{cursor:pointer;border-bottom:3px solid #0000}.ay-chart-tab:hover,.ay-chart-tab:focus-visible{color:var(--ui-accent)}.ay-chart-tab.is-selected{border-bottom-color:var(--ui-accent);color:var(--ui-accent)}.ay-chart-body>p{max-width:70ch}.ay-chart-disclosure{color:var(--ui-muted);margin-top:12px;font-size:.72rem;line-height:1.5}.ay-spinner{border:2px solid var(--ui-accent-border);border-top-color:var(--ui-accent);border-radius:50%;flex:0 0 15px;width:15px;height:15px;animation:.75s linear infinite ay-spin}.ay-shell__footer{width:min(100% - 32px, var(--ay-content-width));color:var(--ui-muted);margin:0 auto;padding:20px 0 26px;font-size:.82rem}.ay-shell--clinical .ay-brand__mark:not(.dashboard-brand-mark){background:var(--ui-info)}.ay-shell--platform .ay-brand__mark{background:var(--ui-accent)}@media (width<=600px){.ay-shell__status{display:none}.ay-shell__main{padding-top:48px}}@media (width<=720px){.ay-queue-controls{grid-template-columns:1fr 1fr}.ay-queue-item{grid-template-columns:1fr}.ay-queue-item .ay-button{justify-self:start}}@media (width<=600px){.ay-chart-header{flex-direction:column;padding:18px}.ay-chart-tabs{padding-inline:12px}.ay-chart-body{padding:22px 18px}.ay-chart-header .ay-button{align-self:flex-start}}@keyframes ay-spin{to{transform:rotate(360deg)}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ay-shell--workspace{background:var(--ui-canvas);height:100dvh;min-height:100dvh;overflow:hidden}.ay-workspace-masthead:not(.dashboard-masthead){border-bottom:1px solid var(--ui-border);background:var(--ui-surface);flex:0 0 56px;align-items:center;min-height:56px;padding:0 18px;display:flex}.ay-workspace-masthead:not(.dashboard-masthead) .ay-brand{letter-spacing:0;text-transform:none;min-width:0;font-size:.88rem}.ay-workspace-masthead:not(.dashboard-masthead) .ay-workspace-divider{color:var(--ui-border-strong);margin-left:8px}.ay-workspace-masthead:not(.dashboard-masthead) .ay-workspace-section{color:var(--ui-muted);text-transform:none;margin-left:8px;font-size:.78rem}.ay-workspace-main{flex:auto;min-height:0;padding:0;display:flex}.ay-clinical-dashboard{grid-template-columns:64px minmax(0,1fr);width:100%;min-width:0;min-height:0;display:grid;overflow:hidden}@media (width>=900px){.ay-pull-refresh{display:none}}.ay-dashboard-rail{border-right:1px solid var(--ui-border);background:var(--ui-surface);flex-direction:column;align-items:center;padding:12px 8px;display:flex}.ay-rail-button,.ay-account-button{border-radius:var(--ui-radius-sm);width:48px;min-height:42px;color:var(--ui-muted);text-align:center;background:0 0;border:0;place-items:center;padding:5px 2px;font-size:.59rem;font-weight:650;display:grid;position:relative}.ay-rail-button.is-selected,.ay-rail-button:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-rail-button b{border:2px solid var(--ui-surface);background:var(--ui-accent-fill);min-width:16px;color:var(--ui-on-accent);border-radius:999px;padding:2px 4px;font-size:.58rem;position:absolute;top:0;right:0}.ay-rail-spacer{flex:1}.ay-account-button{background:var(--ui-text-soft);color:#fff;border-radius:50%;width:38px;height:38px}.ay-clinical-workspace{grid-template-columns:minmax(300px,34%) minmax(0,1fr);min-width:0;min-height:0;position:relative;overflow:hidden}.ay-queue-sidebar{flex-direction:column;min-width:0;min-height:0;padding:15px 19px 17px;display:flex;overflow:hidden}.ay-queue-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.ay-queue-heading h1{margin:0;font-size:1.25rem}.ay-queue-heading .ay-eyebrow{display:none}.ay-live{color:var(--ui-muted);align-items:center;gap:6px;font-size:.68rem;display:inline-flex}.ay-live i{background:var(--ui-success);border-radius:50%;width:7px;height:7px}.ay-queue-toolbar{margin-bottom:12px}.ay-queue-toolbar .ui-input{min-width:0;min-height:40px}.ay-queue-columns{border:1px solid var(--ui-border);border-radius:var(--ui-radius) var(--ui-radius) 0 0;background:var(--ui-surface-muted);min-height:38px;color:var(--ui-muted);letter-spacing:.055em;text-transform:uppercase;border-bottom:0;padding:10px 15px;font-size:.63rem;font-weight:680}.ay-queue-list{border:1px solid var(--ui-border);border-radius:0 0 var(--ui-radius) var(--ui-radius);background:var(--ui-surface);min-height:0;box-shadow:var(--ui-shadow-card);overscroll-behavior:contain;flex:1;margin:0;padding:0;list-style:none;overflow:hidden auto}.ay-queue-row{width:100%;min-height:68px;color:var(--ui-text);text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 15px;display:grid}.ay-queue-row:hover,.ay-queue-row:focus-visible{background:var(--ui-accent-soft)}.ay-avatar{background:var(--ui-surface-muted);width:36px;height:36px;color:var(--ui-text-soft);border-radius:50%;place-items:center;font-size:.7rem;font-weight:700;display:grid}.ay-queue-copy{gap:2px;min-width:0;display:grid}.ay-queue-copy strong,.ay-queue-copy span,.ay-queue-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ay-queue-copy strong{font-size:.78rem}.ay-queue-copy span,.ay-queue-copy small{color:var(--ui-muted);font-size:.68rem}.ay-status-pill{text-overflow:ellipsis;white-space:nowrap;background:var(--ui-accent-soft);max-width:130px;color:var(--ui-accent);border-radius:999px;padding:4px 8px;font-size:.64rem;font-weight:680;overflow:hidden}.ay-empty,.ay-dashboard-state{min-height:180px;color:var(--ui-muted);text-align:center;place-items:center;padding:22px;display:grid}.ay-stale-chunk{gap:12px}.ay-stale-chunk p{color:var(--ui-text,inherit);margin:0}.ay-stale-chunk .ay-button{align-items:center;gap:8px;display:inline-flex}.ay-queue-footer{color:var(--ui-muted);flex:none;padding-top:8px;font-size:.68rem}.ay-detail-empty{border-left:1px solid var(--ui-border);min-width:0;min-height:0;color:var(--ui-muted);place-items:center}.ay-detail-empty.is-hidden{display:none}.ay-detail-pane{grid-column:2}.ay-chart-shell{background:var(--ui-canvas);flex-direction:column;min-width:0;height:100%;min-height:0;overflow:hidden}.ay-chart-header{border-bottom:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);grid-template-columns:minmax(250px,1fr) minmax(350px,1.7fr);gap:20px;padding:14px 17px;display:grid;position:relative}.ay-chart-header h2{margin:0;font-size:1rem}.ay-chart-meta{color:var(--ui-muted);margin:4px 0 0;font-size:.73rem}.ay-chart-contact{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0;display:flex}.ay-chart-meta-skeleton,.ay-chart-contact-skeleton{background:linear-gradient(90deg,#edf0f0 25%,#f7f8f8 50%,#edf0f0 75%) 0 0/200% 100%;border-radius:999px;height:11px;animation:1.35s ease-in-out infinite patient-attachment-pulse;display:inline-block}.ay-chart-meta-skeleton{width:130px}.ay-chart-contact-skeleton{width:180px}.ay-chart-summary span{color:var(--ui-accent);letter-spacing:.065em;text-transform:uppercase;font-size:.61rem;font-weight:700}.ay-chart-summary p{color:var(--ui-text-soft);margin:5px 0 0;font-size:.74rem}.ay-chart-cc{display:none}.ay-chart-history-pill{z-index:1;border:1px solid var(--ui-accent-border);background:var(--ui-surface);min-height:30px;color:var(--ui-text-soft);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:5px 10px;font-size:.71rem;font-weight:600;display:inline-flex;position:absolute;bottom:14px;right:17px}.ay-chart-history-pill svg{color:var(--ui-accent);flex:none}.ay-chart-history-pill:hover{border-color:var(--ui-accent);color:var(--ui-text)}.ay-chart-history-pill:focus-within{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-chart-history-pill__select{opacity:0;cursor:pointer;appearance:none;width:calc(100% + 6px);height:calc(100% + 6px);font-size:16px;position:absolute;inset:-3px}@media (width<=899px){.ay-chart-history-pill{flex:none;margin-left:auto;position:relative;bottom:auto;right:auto}.ay-chart-contact:has(.ay-chart-history-pill){flex-wrap:nowrap;column-gap:24px}.ay-chart-contact:has(.ay-chart-history-pill) .ay-chart-email{flex:0 auto;min-width:0}}.ay-visit-notice{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;padding:9px 13px;display:flex}.ay-visit-notice p{color:var(--ui-text-soft);margin:0;font-size:.74rem}.ay-visit-notice .ay-button{flex:none}@media (width<=600px){.ay-visit-notice{flex-direction:column;align-items:flex-start}}.ay-chart-email{border:1px solid var(--ui-accent-border);background:var(--ui-surface);max-width:100%;color:var(--ui-text-soft);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:5px 12px 5px 9px;font-size:.71rem;font-weight:600;transition:border-color .15s,background-color .15s,color .15s;display:inline-flex}.ay-chart-email svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:13px;height:13px}.ay-chart-email span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ay-chart-email:hover,.ay-chart-email:focus-visible{border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-chart-copy-status{color:var(--ui-accent);font-size:.68rem;font-weight:650}.ay-chart-tabs{flex:none}.ay-chart-tab{color:var(--ui-muted);background:0 0;flex:none;font-weight:650}.ay-chart-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1 1 0;min-height:0;padding:16px 19px 22px;overflow:hidden auto}.ay-chart-placeholder{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);padding:18px}.ay-chart-placeholder h3{margin:0 0 7px;font-size:.9rem}.ay-chart-placeholder p{color:var(--ui-text-soft);margin:0 0 16px}.ay-clinical-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);padding:22px 26px}.ay-clinical-card__header h3{margin:0 0 5px;font-size:.92rem}.ay-clinical-card__header p{color:var(--ui-muted);margin:0 0 15px;font-size:.72rem}.ay-wellness-home{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:14px;display:grid}.ay-wellness-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0;display:grid}.ay-wellness-summary div{border-bottom:1px solid var(--ui-border);min-width:0;padding:8px 0}.ay-wellness-summary dt{color:var(--ui-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.65rem}.ay-wellness-summary dd{color:var(--ui-text);margin:4px 0 0;font-size:.78rem;font-weight:650}.ay-enrollment-notice{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);margin:0 0 12px;padding:10px 12px;font-size:.72rem}.ay-note-title{align-items:center;gap:8px;min-width:0;display:flex}.ay-scribe-mark{border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);width:22px;height:22px;color:var(--ui-warning);cursor:default;border-radius:50%;flex:0 0 22px;place-items:center;display:inline-grid;position:relative}.ay-scribe-mark:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-scribe-mark--failed{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.ay-chart-name-row{align-items:center;gap:8px;min-width:0;display:flex}.ay-chart-name-row>h2{min-width:0}.ay-scribe-mark--referral{border-color:var(--ui-referral-border);background:var(--ui-referral-soft);color:var(--ui-referral)}.ay-scribe-mark--language{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.ay-scribe-mark--generating:after{content:"";border:1px solid var(--ui-warning-border);animation:ay-scribe-mark-pulse 1.6s var(--ui-ease-out) infinite;border-radius:50%;position:absolute;inset:-4px}.ay-scribe-mark__tip{z-index:20;border-radius:var(--ui-radius-sm);color:#fff;white-space:normal;opacity:0;visibility:hidden;width:max-content;max-width:min(280px,70vw);transition:opacity .15s var(--ui-ease-out), transform .15s var(--ui-ease-out), visibility 0s linear .15s;pointer-events:none;background:#172126;padding:8px 10px;font-size:.72rem;font-weight:500;line-height:1.4;position:absolute;top:calc(100% + 8px);left:-6px;transform:translateY(-2px)}.ay-scribe-mark:focus-visible .ay-scribe-mark__tip{opacity:1;visibility:visible;transition-delay:0s;transform:none}@media (hover:hover) and (pointer:fine){.ay-scribe-mark:hover .ay-scribe-mark__tip{opacity:1;visibility:visible;transition-delay:0s;transform:none}}html.clinical-ui.dark .ay-chart-header{background:color-mix(in srgb, var(--ui-accent) 8%, var(--ui-canvas));border-bottom-color:var(--ui-border)}html.clinical-ui.dark .ay-scribe-mark__tip{background:color-mix(in srgb, var(--ui-text) 10%, var(--ui-surface));border:1px solid var(--ui-border-strong);color:var(--ui-text);box-shadow:0 10px 24px #00000073}@keyframes ay-scribe-mark-pulse{0%{opacity:.9;transform:scale(.85)}to{opacity:0;transform:scale(1.25)}}@media (prefers-reduced-motion:reduce){.ay-scribe-mark--generating:after{opacity:.6;animation:none}.ay-scribe-mark__tip{transition:none}}.ay-scribe-mark--envelope,.ay-scribe-mark--note{border-color:var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-muted);font:inherit;cursor:pointer;padding:0}.ay-scribe-mark--envelope:hover,.ay-scribe-mark--note:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-scribe-mark--envelope:disabled,.ay-scribe-mark--note:disabled{opacity:.6;cursor:default}.ay-scribe-mark--envelope.is-checked,.ay-scribe-mark--note.is-checked,.ay-scribe-mark--envelope.is-checked:hover,.ay-scribe-mark--note.is-checked:hover{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-wellness-progress{grid-template-columns:repeat(5,1fr);gap:5px;margin:18px 0 0;padding:0;list-style:none;display:grid}.ay-wellness-progress li{color:var(--ui-muted);text-align:center;justify-items:center;gap:4px;font-size:.58rem;display:grid;position:relative}.ay-wellness-progress li:not(:last-child):after{content:"";background:var(--ui-border-strong);width:calc(100% - 19px);height:1px;position:absolute;top:11px;left:calc(50% + 12px)}.ay-wellness-progress li.is-complete:not(:last-child):after{background:var(--ui-accent)}.ay-wellness-progress span{z-index:1;border:1px solid var(--ui-border-strong);background:var(--ui-surface);border-radius:50%;place-items:center;width:23px;height:23px;display:grid;position:relative}.ay-wellness-progress li.is-current,.ay-wellness-progress li.is-complete{color:var(--ui-accent)}.ay-wellness-progress li.is-current span,.ay-wellness-progress li.is-complete span{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.ay-note-card{flex-direction:column;gap:14px;min-height:0;display:flex}.ay-note-editor{flex-direction:column;gap:7px;min-height:0;display:flex}.ay-note-editor .ui-field__label{color:var(--ui-text);font-size:.68rem;font-weight:700}.ay-note-body{resize:vertical;white-space:pre-wrap;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:100%;height:min(68vh,660px);min-height:260px;color:var(--ui-text);padding:16px;font-family:inherit;font-size:14px;font-weight:430;line-height:1.5;overflow:auto}.ay-chart-body>.ay-note-fill,.ay-generated-layout.ay-note-fill .ay-generated-editor,.ay-generated-layout.ay-note-fill .ay-note-card,.ay-generated-layout.ay-note-fill .ay-plan-card{height:100%;min-height:0}.ay-footer-portal-target{display:contents}.ay-note-fill .ay-note-body{resize:none;flex:auto;height:auto;min-height:0}.ay-note-body:focus{outline:2px solid var(--ui-accent-border);outline-offset:1px;border-color:var(--ui-accent)}.ay-note-status{color:var(--ui-muted);margin:0;font-size:.7rem}.ay-note-status--error{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);color:var(--ui-danger);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.ay-note-footer-status{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-right:auto;overflow:hidden}.ay-note-footer-status.is-success{color:var(--ui-success)}.ay-note-footer-status.is-error{color:var(--ui-danger)}.ay-chart-highlights{grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:10px 14px;margin:0;display:grid}.ay-chart-highlights>div{display:contents}.ay-chart-highlights dt{color:var(--ui-text);font-size:.78rem;font-weight:650}.ay-chart-highlights dd{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);color:var(--ui-text);overflow-wrap:anywhere;margin:0;padding:10px 12px;font-size:.78rem}.ay-chart-highlights dd.is-multiline{white-space:pre-wrap;min-height:64px;line-height:1.45}.ay-copy-chip{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:36px;height:36px;color:var(--ui-accent);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.ay-copy-chip svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.ay-copy-chip:hover,.ay-copy-chip:focus-visible{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-copy-chip.is-copied{border-color:var(--ui-accent);color:var(--ui-success,var(--ui-accent))}.ay-data-section{flex-direction:column;gap:14px;display:flex}.ay-data-section .ay-clinical-card__header p{margin-bottom:0}.ay-data-layout{grid-template-columns:1fr 1fr;align-items:start;gap:14px;display:grid}.ay-data-layout .ay-clinical-card__header p{margin-bottom:0}.ay-chart-body>.ay-data-fill{height:100%;min-height:0}.ay-data-fill .ay-data-key-card,.ay-data-fill .ay-data-intake-card{flex-direction:column;gap:14px;height:100%;min-height:0;display:flex;overflow:auto}.ay-data-intake-card{min-width:0}.ay-data-intake-body{resize:none;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:100%;min-height:0;color:var(--ui-text);white-space:pre-wrap;flex:auto;padding:16px;font-family:inherit;font-size:14px;font-weight:430;line-height:1.5}.ay-data-intake-body:focus{outline:2px solid var(--ui-accent-border);outline-offset:1px;border-color:var(--ui-accent)}.ay-plan-layout{grid-template-columns:minmax(0,2fr) minmax(240px,1fr);align-items:start;gap:14px;display:grid}.ay-plan-card{flex-direction:column;gap:14px;display:flex}.ay-plan-card>.ay-button{align-self:flex-start}.ay-plan-card__header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ay-plan-card__header p{margin-bottom:0}.ay-plan-status{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;flex:none;padding:5px 9px;font-size:.64rem;font-weight:750}.ay-plan-status--draft{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.ay-plan-status--approved{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-note-approval-meta{border:1px solid var(--ui-success-border);background:var(--ui-success-soft);max-width:100%;color:var(--ui-success);border-radius:999px;align-self:flex-start;align-items:center;gap:6px;margin:10px 0 0;padding:4px 10px;font-size:.7rem;font-weight:600;line-height:1.4;display:inline-flex}.ay-note-approval-meta svg{flex:0 0 14px;width:14px;height:14px}.ay-plan-status--unavailable{border-color:var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-muted)}.ay-plan-body{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-height:260px;max-height:min(62vh,620px);color:var(--ui-text);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;line-height:1.65;overflow:auto}.ay-plan-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 16px;margin:0;display:grid}.ay-plan-meta div{border-top:1px solid var(--ui-border);min-width:0;padding-top:9px}.ay-plan-meta dt,.ay-plan-provenance dt{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.63rem}.ay-plan-meta dd,.ay-plan-provenance dd{color:var(--ui-text-soft);overflow-wrap:anywhere;margin:4px 0 0;font-size:.72rem}.ay-plan-provenance-card{flex-direction:column;gap:12px;padding:16px 20px;display:flex}.ay-plan-provenance-card .ay-clinical-card__header p{margin-bottom:0}.ay-plan-provenance{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0;display:grid}.ay-plan-provenance div{border-bottom:1px solid var(--ui-border);min-width:0;padding:8px 0}.ay-plan-status--pending,.ay-plan-status--awaiting_diagnosis{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.ay-telehealth-recommendations-card,.ay-telehealth-narrative-card,.ay-instructions-card{flex-direction:column;gap:14px;min-width:0;display:flex}.ay-telehealth-plan-groups{gap:11px;display:grid}.ay-telehealth-plan-group{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-width:0;overflow:hidden}.ay-telehealth-plan-group h4{border-bottom:1px solid var(--ui-border);background:var(--ui-success-soft);color:var(--ui-text);margin:0;padding:10px 13px;font-size:.76rem}.ay-telehealth-plan-item{border-bottom:1px solid var(--ui-border);color:var(--ui-muted);grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px;padding:10px 13px;display:grid}.ay-telehealth-plan-item:has(input:checked){background:var(--ui-accent-soft)}.ay-telehealth-plan-item input{appearance:none;border:1px solid var(--ui-border-strong);background:var(--ui-surface);cursor:pointer;border-radius:50%;width:18px;height:18px;margin:1px 0 0}.ay-telehealth-plan-item input:checked{border-color:var(--ui-accent);background:var(--ui-accent);box-shadow:inset 0 0 0 4px var(--ui-accent)}.ay-telehealth-plan-item input:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-telehealth-plan-item:last-child{border-bottom:0}.ay-telehealth-plan-item>span{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:18px;height:18px;color:var(--ui-muted);border-radius:50%;place-items:center;margin-top:1px;font-size:.65rem;font-weight:800;display:grid}.ay-telehealth-plan-item p{min-width:0;color:var(--ui-text-soft);overflow-wrap:anywhere;margin:0;font-size:.74rem;line-height:1.45}.ay-telehealth-plan-item.is-selected>span{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}.ay-telehealth-plan-item.is-selected p{color:var(--ui-text);font-weight:650}.ay-telehealth-plan-item.is-manual{grid-template-columns:22px minmax(0,1fr) 22px;align-items:center}.ay-telehealth-plan-item.is-manual>span{border-radius:var(--ui-radius-xs);border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-plan-item-remove{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-xs);background:var(--ui-danger-soft);width:18px;height:18px;color:var(--ui-danger);cursor:pointer;justify-self:end;place-items:center;padding:0;transition:background-color .14s ease-out,border-color .14s ease-out,color .14s ease-out;display:grid;position:relative}.ay-plan-item-remove:after{content:"";border-radius:var(--ui-radius-sm);position:absolute;inset:-7px}.ay-plan-item-remove svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:11px;height:11px}.ay-plan-item-remove:hover{border-color:var(--ui-danger);background:var(--ui-danger);color:#fff}.ay-plan-item-remove:focus-visible{outline:2px solid var(--ui-danger);outline-offset:3px}.ay-telehealth-plan-warning{color:var(--ui-danger);margin-top:5px;font-size:.66rem;line-height:1.4;display:block}.ay-plan-safety-note{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);margin:0;padding:10px 12px;font-size:.7rem;line-height:1.45}.ay-plan-manual-entry{border-top:1px solid var(--ui-border);background:var(--ui-surface);align-items:center;gap:8px;padding:10px 13px;display:flex}.ay-plan-manual-entry .ui-input{flex:1;min-width:0;padding:8px 10px;font-size:.72rem}.ay-plan-manual-entry .ay-button{padding:8px 11px;font-size:.68rem}.ay-plan-inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ay-plan-inline-actions .ay-button{padding:8px 11px;font-size:.68rem}.ay-plan-primary-actions{background:0 0;border:0;border-radius:0;justify-content:flex-start;margin:14px 0 0;padding:0}.ay-inline-success{color:var(--ui-success);margin:0;font-size:.68rem;font-weight:700}.ay-telehealth-narrative-card .ay-clinical-card__header p,.ay-instructions-card .ay-clinical-card__header p{margin-bottom:0}.ay-telehealth-narrative-card .ay-plan-body{background:var(--ui-surface);min-height:240px;max-height:min(58vh,560px);padding:16px;font-size:14px;font-weight:430;line-height:1.5}.ay-instructions-card>.ay-button{align-self:flex-start}.ay-instructions-diagnosis{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);gap:4px;padding:11px 13px;display:grid}.ay-instructions-diagnosis span{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.63rem;font-weight:700}.ay-instructions-diagnosis strong{color:var(--ui-text);overflow-wrap:anywhere;font-size:.78rem}.ay-orders-tab{flex-direction:column;gap:14px;min-width:0;display:flex}.ay-diagnosis-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ay-diagnosis-row .ui-field{flex:auto;min-width:200px}.ay-instructions-card .ay-plan-body{background:var(--ui-surface);min-height:240px;max-height:min(58vh,560px);padding:16px;font-size:14px;font-weight:430;line-height:1.5}.ay-chart-body>.ay-orders-tab{height:100%;min-height:0}.ay-orders-tab .ay-instructions-card{flex:auto;height:100%;min-height:0}.ay-orders-tab .ay-instructions-card .ay-plan-body{resize:none;flex:auto;height:auto;min-height:0;max-height:none}.ay-generated-layout{grid-template-columns:minmax(0,3fr) minmax(260px,1fr);align-items:start;gap:14px;display:grid}.ay-generated-editor{flex-direction:column;gap:14px;min-width:0;display:flex}.ay-generated-card-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ay-generated-card-actions{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.ay-ai-regenerate{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:30px;height:30px;color:var(--ui-text-soft);cursor:pointer;transition:background-color .16s var(--ui-ease-out),border-color .16s var(--ui-ease-out),color .16s var(--ui-ease-out),transform .16s var(--ui-ease-out);border-radius:999px;flex:none;place-items:center;padding:0;display:grid;position:relative}.ay-ai-regenerate:after{content:"";border-radius:999px;position:absolute;inset:-5px}.ay-ai-regenerate>svg{stroke-width:2px;width:15px;height:15px}.ay-ai-regenerate>.ay-spinner{flex-basis:13px;width:13px;height:13px}.ay-ai-regenerate:hover:not(:disabled){border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-ai-regenerate:active:not(:disabled){transform:scale(.94)}.ay-ai-regenerate:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}.ay-ai-regenerate:disabled{cursor:not-allowed}.ay-ai-regenerate:disabled>svg{opacity:.5}.ay-ai-regenerate.is-loading>svg{animation:.8s linear infinite ay-ai-regenerate-spin}.ay-ai-regenerate-feedback{color:var(--ui-success);margin:0;font-size:.68rem;font-weight:700}.ay-ai-regenerate-modal .ay-order-confirm-dialog{max-width:430px}@keyframes ay-ai-regenerate-spin{to{transform:rotate(360deg)}}.ay-icon-tip{z-index:30;border-radius:var(--ui-radius-sm);color:#fff;letter-spacing:.005em;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transform-origin:100% 0;transition:opacity .15s var(--ui-ease-out),transform .15s var(--ui-ease-out),visibility 0s linear .15s;background:#172126;padding:6px 9px;font-size:.7rem;font-weight:600;line-height:1.2;position:absolute;top:calc(100% + 8px);right:-4px;transform:translateY(-2px)scale(.97)}@media (hover:hover) and (pointer:fine){.ay-ai-regenerate:hover>.ay-icon-tip{opacity:1;visibility:visible;transition-delay:.35s,.35s,0s;transform:none}}.ay-ai-regenerate:focus-visible>.ay-icon-tip{opacity:1;visibility:visible;transition-delay:0s;transform:none}.ay-icon-pill{border:1px solid var(--ui-border-strong);background:var(--ui-surface);border-radius:999px;align-items:center;height:30px;padding:0;display:inline-flex}.ay-icon-pill>.ay-ai-regenerate,.ay-icon-pill__extra>.ay-ai-regenerate{background:0 0;border:0;width:28px;height:28px}.ay-icon-pill>.ay-ai-regenerate:hover:not(:disabled),.ay-icon-pill__extra>.ay-ai-regenerate:hover:not(:disabled){background:var(--ui-accent-soft)}.ay-icon-pill__extra{flex:none;align-items:center;width:33px;display:inline-flex}.ay-icon-pill__divider{background:var(--ui-border-strong);border-radius:1px;flex:none;width:1px;height:14px;margin:0 2px}.ay-icon-pill__extra.is-entering{animation:ay-icon-pill-grow .26s var(--ui-ease-out) backwards}.ay-icon-pill__extra.is-entering .ay-icon-pill__divider{animation:ay-icon-pill-divider .2s var(--ui-ease-out) 90ms backwards}.ay-icon-pill__extra.is-entering>.ay-ai-restore>svg{animation:ay-icon-pill-icon .22s var(--ui-ease-out) .11s backwards}@keyframes ay-icon-pill-grow{0%{clip-path:inset(0);width:0}to{clip-path:inset(0);width:33px}}@keyframes ay-icon-pill-divider{0%{opacity:0;transform:scaleY(.2)}to{opacity:1;transform:none}}@keyframes ay-icon-pill-icon{0%{opacity:0;transform:scale(.9)rotate(-35deg)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.ay-ai-regenerate,.ay-icon-tip{transition:none}.ay-ai-regenerate.is-loading>svg,.ay-icon-pill__extra.is-entering,.ay-icon-pill__extra.is-entering .ay-icon-pill__divider,.ay-icon-pill__extra.is-entering>.ay-ai-restore>svg{animation:none}}.ay-suggestions-card{background:var(--ui-surface-muted);flex-direction:column;gap:10px;padding:16px 18px;display:flex}.ay-suggestions-card .ay-clinical-card__header p{margin-bottom:0}.ay-suggestions-field{position:relative}.ay-suggestions-field textarea{background:var(--ui-surface);resize:vertical;min-height:88px;padding-bottom:34px}.ay-suggestions-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.ay-suggestions-status{color:var(--ui-text-soft);align-items:center;gap:7px;margin:0;font-size:.72rem;display:flex}.ay-suggestions-status.is-error{color:var(--ui-danger)}@media (width<=899px){.ay-generated-layout,.ay-settings-group-card--wide .ay-patient-settings-form{grid-template-columns:1fr}}@media (width<=600px){.ay-plan-card__header.ay-generated-card-header,.ay-complete-record-card .ay-generated-card-header{flex-direction:row;align-items:flex-start}.ay-generated-card-actions{flex-wrap:wrap}}.ay-data-remaining{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);padding:13px 15px}.ay-data-remaining h4{margin:0 0 5px;font-size:.78rem}.ay-data-remaining p{color:var(--ui-text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.76rem;line-height:1.5}.ay-assessment-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:16px;height:100%;min-height:0;display:grid}.ay-notes-card,.ay-assessment-section{min-width:0;height:100%;min-height:0;overflow:hidden}.ay-notes-card{flex-direction:column;display:flex}.ay-note-body--readonly{white-space:pre-wrap;cursor:text;overflow:auto}.ay-assessment-section{flex-direction:column;gap:14px;display:flex}.ay-assessment-section .ay-clinical-card__header p{margin-bottom:0}.ay-chart-body>.ay-assessment-fill{height:100%;min-height:0}.ay-assessment-fill{min-height:0}.ay-assessment-fill .ay-assessment-accordion,.ay-assessment-fill .ay-section-empty{flex:auto;min-height:0;overflow:auto}.ay-assessment-accordion{grid-auto-rows:max-content;align-content:start;gap:8px;display:grid}.ay-assessment-accordion details{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);align-self:start;height:max-content;overflow:hidden}.ay-assessment-accordion details:not([open])>.ay-assessment-answers,.ay-assessment-accordion details:not([open])>.ay-note-document-wrap{display:none}.ay-assessment-accordion summary{color:var(--ui-text);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:.76rem;font-weight:700;list-style-position:inside;display:flex}.ay-assessment-accordion summary::marker{color:var(--ui-accent)}.ay-assessment-accordion summary time{color:var(--ui-muted);flex:none;font-size:.68rem;font-weight:500}.ay-assessment-answers{gap:10px;padding:14px 14px 14px 32px;display:grid}.ay-assessment-accordion{--ay-accordion-body:var(--ui-surface)}.ay-assessment-accordion details{background:var(--ui-surface)}.ay-assessment-accordion details>summary{background:var(--ui-success-soft)}.ay-assessment-accordion details[open]>summary{border-bottom:1px solid var(--ui-border)}.ay-assessment-accordion details>.ay-assessment-answers,.ay-assessment-accordion details>.ay-note-document-wrap{background:var(--ay-accordion-body)}.ay-assessment-answers div{min-width:0}.ay-assessment-answers dt{color:var(--ui-muted);font-size:.68rem;font-weight:700}.ay-assessment-answers dd{color:var(--ui-text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0;font-size:.76rem;line-height:1.45}.ay-notes-card>.ay-clinical-card__header{flex:none}.ay-notes-summary-meta{flex:none;align-items:center;gap:8px;display:flex}.ay-note-document-wrap{padding:16px 18px 18px 32px}.ay-note-document{color:var(--ui-text-soft);gap:10px;font-size:.78rem;line-height:1.55;display:grid}.ay-note-document p{overflow-wrap:anywhere;margin:0}.ay-note-document h4{color:var(--ui-text);flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 0;font-size:.82rem;font-weight:750;display:flex}.ay-note-document ul,.ay-note-document ol{gap:6px;margin:0;padding-left:20px;display:grid}.ay-note-document li{overflow-wrap:anywhere;padding-left:2px}.ay-note-document strong{color:var(--ui-text);margin-right:.3em}.ay-note-notice{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);color:var(--ui-muted);margin:0 0 4px;padding:8px 10px;font-size:.68rem;font-style:italic}.ay-note-grade{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;flex:none;padding:3px 8px;font-size:.6rem;font-weight:750}.ay-note-grade--warning{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.ay-note-grade--accent{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-note-grade--success{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-note-grade--muted{border-color:var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-muted)}.ay-note-priority-tag{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);letter-spacing:.02em;text-transform:uppercase;border-radius:999px;margin-left:4px;padding:1px 6px;font-size:.6rem;font-weight:750;display:inline-block}.ay-order-confirm-dialog:has(.ay-notes-textarea){width:min(100%,720px)}.ay-order-confirm-dialog textarea.ay-notes-textarea{min-height:280px;line-height:1.55}.ay-notes-char-count{color:var(--ui-muted);text-align:right;margin:6px 0 0;font-size:.68rem}@media (width<=600px){.ay-order-confirm-dialog textarea.ay-notes-textarea{min-height:44dvh}}.ay-messages-layout{grid-template-columns:1fr;align-items:start;gap:14px;display:grid}.ay-messages-card,.ay-followups-card{flex-direction:column;gap:14px;min-width:0;display:flex}.ay-messages-card .ay-clinical-card__header p,.ay-followups-card .ay-clinical-card__header p{margin-bottom:0}.ay-followup-list,.ay-message-thread{gap:9px;min-width:0;display:grid}.ay-message-bubble{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-width:0;padding:12px 14px}.ay-chart-shell .ay-message-thread{overscroll-behavior:contain;scroll-behavior:smooth;max-height:min(52vh,520px);padding-right:2px;overflow-y:auto}.ay-chart-shell .ay-message-bubble{max-width:min(82%,640px)}.ay-chart-shell .ay-message-bubble.is-patient{justify-self:start}.ay-chart-shell .ay-message-bubble.is-clinician{justify-self:end}.ay-message-meta{color:var(--ui-muted);flex-wrap:wrap;align-items:baseline;gap:7px;font-size:.67rem;display:flex}.ay-message-meta strong{color:var(--ui-text);font-size:.72rem}.ay-message-meta time{margin-left:auto}.ay-message-bubble p{color:var(--ui-text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 10px;font-size:.78rem;line-height:1.5}.ay-message-status{color:var(--ui-muted);flex-wrap:wrap;align-items:center;gap:9px;font-size:.64rem;display:flex}.ay-message-status .is-reviewed{color:var(--ui-success);font-weight:700}.ay-message-status .is-pending{color:var(--ui-warning);font-weight:700}.ay-message-status .ay-message-review-action{border-radius:999px;height:23px;min-height:0;padding:0 9px;font-size:.62rem;font-weight:650}.ay-followup-item{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-width:0;overflow:hidden}.ay-followup-item.is-open{border-color:var(--ui-accent-border);box-shadow:0 0 0 1px var(--ui-accent-soft)}.ay-followup-item.is-closed{opacity:.76}.ay-followup-item--highlight{animation:ay-followup-highlight 2s var(--ui-ease-out)}@keyframes ay-followup-highlight{0%,35%{box-shadow:0 0 0 2px var(--ui-accent)}to{box-shadow:0 0 0 1px var(--ui-accent-soft)}}@media (prefers-reduced-motion:reduce){.ay-followup-item--highlight{box-shadow:0 0 0 2px var(--ui-accent);animation:none}}.ay-followup-item summary{color:var(--ui-text);cursor:pointer;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px 13px;list-style-position:inside;display:flex}.ay-followup-summary{gap:4px;min-width:0;display:grid}.ay-followup-summary strong{color:var(--ui-text);overflow-wrap:anywhere;font-size:.75rem;line-height:1.35}.ay-followup-summary small{color:var(--ui-muted);font-size:.66rem}.ay-followup-status{color:var(--ui-accent);text-transform:capitalize;flex:none;font-size:.64rem;font-weight:700}.ay-followup-item.is-open .ay-followup-status{color:var(--ui-warning)}.ay-followup-detail{gap:10px;padding:0 13px 13px 31px;display:grid}.ay-followup-detail p{color:var(--ui-text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.73rem;line-height:1.45}.ay-followup-detail p strong{color:var(--ui-muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px;font-size:.64rem;display:block}.ay-followup-detail dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.ay-followup-detail dt{color:var(--ui-muted);text-transform:uppercase;font-size:.61rem}.ay-followup-detail dd{color:var(--ui-text-soft);overflow-wrap:anywhere;margin:3px 0 0;font-size:.68rem}.ay-followup-pending{color:var(--ui-muted)!important}.ay-order-disclosure{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);margin:12px 0 0;padding:8px 10px;font-size:.67rem;line-height:1.4}.ay-patient-settings-layout,.ay-patient-settings-card{flex-direction:column;gap:14px;min-width:0;display:flex}.ay-patient-settings-card .ay-clinical-card__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ay-patient-settings-card .ay-clinical-card__header p{margin-bottom:0}.ay-ps-export .ay-actions{margin-top:0}.ay-patient-settings-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:0;display:grid}.ay-patient-settings-list div{border-bottom:1px solid var(--ui-border);min-width:0;padding:9px 0}.ay-patient-settings-list div.is-wide{grid-column:1/-1}.ay-patient-settings-list dt{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.62rem;font-weight:700}.ay-patient-settings-list dd{color:var(--ui-text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;font-size:.74rem;line-height:1.45}.ay-patient-settings-status{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-muted);border-radius:999px;flex:none;padding:5px 9px;font-size:.62rem;font-weight:750}.ay-patient-settings-status--linked{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-patient-settings-status--invited{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-patient-invitation{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);gap:7px;padding:13px 15px;display:grid}.ay-patient-invitation>span{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.62rem;font-weight:700}.ay-patient-invitation code{color:var(--ui-text);overflow-wrap:anywhere;user-select:all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;line-height:1.5;display:block}.ay-patient-invitation p,.ay-patient-settings-copy{color:var(--ui-muted);overflow-wrap:anywhere;margin:0;font-size:.68rem;line-height:1.45}.ay-patient-settings-handoff{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.ay-patient-settings-handoff h3{color:var(--ui-text);margin:0 0 4px;font-size:.78rem}.ay-patient-settings-handoff p{color:var(--ui-text-soft);margin:0;font-size:.7rem;line-height:1.45}.ay-patient-settings-handoff .ay-button{flex:none}.ay-complete-layout{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start;gap:16px;display:grid}.ay-complete-layout--full{grid-template-columns:1fr}.ay-complete-layout--single{grid-template-columns:1fr;align-content:start}.ay-complete-layout--single .ay-complete-plan-card{width:100%}.ay-complete-layout--single.ay-note-fill{grid-template-rows:1fr;align-content:stretch;align-items:stretch}.ay-complete-record-card,.ay-complete-workflow-card,.ay-complete-plan-card{min-width:0}.ay-complete-record-card .ay-clinical-card__header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ay-complete-record-card .ay-clinical-card__header p,.ay-complete-workflow-card .ay-clinical-card__header p,.ay-complete-plan-card .ay-clinical-card__header p{margin-bottom:0}.ay-complete-state{border:1px solid var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-text-soft);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;flex:none;padding:5px 9px;font-size:.62rem;font-weight:750}.ay-complete-state--completed{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-complete-record{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-height:360px;max-height:calc(100dvh - 330px);color:var(--ui-text);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:18px;padding:18px;font-size:.76rem;font-weight:500;line-height:1.65;overflow:auto}.ay-complete-layout.ay-note-fill .ay-complete-record-card,.ay-complete-layout.ay-note-fill .ay-complete-plan-card{height:100%;min-height:0}.ay-complete-record-card.ay-note-card .ay-complete-dates,.ay-complete-record-card.ay-note-card .ay-complete-notices,.ay-complete-record-card.ay-note-card .ay-complete-reopen{margin-top:0}.ay-complete-dates{grid-template-columns:1fr 1fr;gap:9px;margin:16px 0 0;display:grid}.ay-complete-dates div{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-width:0;padding:10px}.ay-complete-dates dt{color:var(--ui-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.61rem;font-weight:700}.ay-complete-dates dd{color:var(--ui-text);overflow-wrap:anywhere;margin:4px 0 0;font-size:.72rem;font-weight:700}.ay-complete-notices{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-text-soft);gap:6px;margin:16px 0 0;padding:11px 12px 11px 28px;font-size:.7rem;line-height:1.45;display:grid}.ay-complete-notices li.is-blocked{color:var(--ui-danger)}.ay-complete-plan-actions{gap:10px;margin-top:14px;display:grid}.ay-complete-plan-actions .ay-button{justify-self:start}.ay-complete-workflow{gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.ay-complete-workflow li{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.ay-complete-workflow li.is-available{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-complete-step-icon{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:28px;height:28px;color:var(--ui-muted);border-radius:50%;place-items:center;font-size:.68rem;font-weight:750;display:grid}.ay-complete-workflow li.is-complete .ay-complete-step-icon{border-color:var(--ui-success);background:var(--ui-success);color:#fff}.ay-complete-workflow strong{color:var(--ui-text);font-size:.72rem;display:block}.ay-complete-workflow small{color:var(--ui-muted);margin-top:2px;font-size:.63rem;display:block}.ay-complete-step-state{color:var(--ui-muted);text-transform:uppercase;font-size:.61rem;font-weight:750}.ay-complete-workflow li.is-complete .ay-complete-step-state{color:var(--ui-success)}.ay-complete-workflow li.is-available .ay-complete-step-state{color:var(--ui-accent)}.ay-complete-handoff{flex-direction:column;grid-column:auto;align-items:flex-start}.ay-complete-handoff .ay-button{flex:none}.ay-load-more{justify-content:center;display:flex}.ay-load-more .ay-button{gap:7px;min-width:118px}.ay-section-empty{border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius-sm);min-height:130px;color:var(--ui-muted);text-align:center;place-items:center;margin:0;padding:20px;display:grid}.ay-section-error{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);padding:14px}.ay-section-error p{color:var(--ui-danger);margin:0;font-size:.76rem}.ay-section-error .ay-actions{margin-top:14px}.ay-wellness-data-layout{gap:16px;display:grid}.ay-wellness-trend-averages{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;display:grid}.ay-wellness-trend-averages>div{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-width:0;padding:12px 14px}.ay-wellness-trend-averages dt{color:var(--ui-muted);letter-spacing:.035em;text-transform:uppercase;font-size:.67rem;font-weight:700}.ay-wellness-trend-averages dd{color:var(--ui-text);font-variant-numeric:tabular-nums;margin:5px 0 0;font-size:1rem;font-weight:720}.ay-wellness-trend-table-wrap{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);overflow-x:auto}.ay-wellness-trend-table{border-collapse:collapse;width:100%;color:var(--ui-text-soft);font-variant-numeric:tabular-nums;font-size:.74rem}.ay-wellness-trend-table th,.ay-wellness-trend-table td{border-bottom:1px solid var(--ui-border);text-align:left;white-space:nowrap;padding:11px 12px}.ay-wellness-trend-table thead th{background:var(--ui-surface-muted);color:var(--ui-muted);letter-spacing:.035em;text-transform:uppercase;font-size:.65rem;font-weight:720}.ay-wellness-trend-table tbody th{color:var(--ui-text);font-weight:680}.ay-wellness-trend-table tbody tr:last-child>*{border-bottom:0}.ay-data-note{color:var(--ui-muted);margin:0;font-size:.7rem}.ay-documents-section{flex-direction:column;gap:14px;display:flex}.ay-documents-section .ay-clinical-card__header p{margin-bottom:0}.ay-documents-section>.ay-button{align-self:flex-start}.ay-chart-body>.ay-documents-fill{height:100%;min-height:0}.ay-documents-fill.clinical-documents-card{min-height:0}.ay-documents-fill .clinical-document-list,.ay-documents-fill .ay-section-empty{flex:auto;min-height:0;overflow:auto}.ay-documents-fill .clinical-document-list{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start}.ay-documents-fill .ay-document-row{grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;min-width:0;height:max-content;margin:0}.ay-documents-fill .clinical-document-summary,.ay-documents-fill .patient-attachment-copy{min-width:0}.ay-documents-fill .clinical-document-actions{flex-wrap:nowrap;justify-content:flex-end}@media (width<=899px){.ay-documents-fill .clinical-document-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.ay-documents-fill .clinical-document-list{grid-template-columns:1fr}}.document-filter{grid-template-columns:repeat(2,minmax(0,210px))}.document-filter-field{gap:5px;min-width:0;display:grid}.document-filter-field .ui-field__label{color:var(--ui-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.66rem;font-weight:700}.document-filter-field .ui-select{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background-color:var(--ui-surface);width:100%;min-height:38px;color:var(--ui-text);font:inherit;padding:8px 34px 8px 10px;font-size:.74rem}.ay-document-row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.patient-attachment-icon{border:1px solid var(--ui-accent-border)}.ay-document-file-icon{letter-spacing:.03em;font-size:.54rem;font-weight:800}.patient-attachment-copy small{overflow-wrap:anywhere;line-height:1.4}.clinical-document-actions{align-items:center}.clinical-document-actions .ay-button{gap:7px;min-width:72px;padding:8px 11px;font-size:.7rem}.ay-document-row-error{color:var(--ui-danger);grid-column:1/-1;margin:0;font-size:.7rem}.ay-document-preview-modal{z-index:120;background:var(--ui-overlay);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.ay-document-preview-dialog{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(100%,920px);height:min(86dvh,760px);min-height:320px;box-shadow:var(--ui-shadow-card);flex-direction:column;display:flex;overflow:hidden}.ay-document-preview-header{border-bottom:1px solid var(--ui-border);flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:15px 17px;display:flex}.ay-document-preview-header h3{color:var(--ui-text);overflow-wrap:anywhere;margin:4px 0 0;font-size:.9rem}.attachment-preview-close-icon{cursor:pointer;flex:0 0 32px;font-size:1.15rem}.ay-document-preview-stage{background:var(--ui-canvas);flex:auto;place-items:center;min-height:0;padding:14px;display:grid;overflow:auto}.ay-document-preview-stage.is-pdf{padding:0;display:block;overflow:hidden}.ay-document-preview-image{object-fit:contain;max-width:100%;max-height:100%;display:block}.attachment-preview-status{text-align:center;margin:0}.ay-document-preview-loading{place-items:center;width:100%;height:100%;display:grid}.ay-document-preview-error{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.ay-document-preview-footer{border-top:1px solid var(--ui-border);background:var(--ui-surface);flex:none;justify-content:flex-end;align-items:center;gap:9px;padding:10px 15px;display:flex}.ay-pdf-viewer{background:var(--ui-canvas);flex-direction:column;width:100%;height:100%;min-height:0;display:flex;position:relative}.ay-pdf-viewer__status{color:var(--ui-muted);text-align:center;flex:auto;justify-content:center;align-items:center;gap:9px;padding:16px;font-size:.8rem;display:flex}.ay-pdf-viewer__status--error{color:var(--ui-danger)}.ay-pdf-viewer__scroll{scroll-behavior:smooth;flex:auto;min-height:0;overflow:auto}.ay-pdf-viewer__scroll.is-hidden{display:none}.ay-pdf-viewer__pages{flex-direction:column;align-items:center;gap:14px;padding:14px;display:flex}.ay-pdf-viewer__page{max-width:100%;box-shadow:var(--ui-shadow-card);border-radius:var(--ui-radius-sm);background:#fff;line-height:0;display:block;overflow:hidden}.ay-pdf-viewer__canvas{background:#fff;max-width:100%;height:auto;display:block}.ay-pdf-viewer__indicator{background:color-mix(in srgb, var(--ui-overlay) 82%, black);color:#fff;letter-spacing:.01em;pointer-events:none;border-radius:999px;align-self:center;margin-top:-40px;padding:5px 12px;font-size:.68rem;font-weight:650;position:sticky;bottom:10px}@media (width<=600px){.ay-pdf-viewer__pages{gap:10px;padding:10px}}.ay-chart-footer{border-top:1px solid var(--ui-border);background:var(--ui-surface);min-height:54px;color:var(--ui-muted);flex:none;justify-content:flex-start;align-items:center;gap:10px;padding:8px 18px;font-size:.7rem;display:flex}.ay-chart-footer .ay-note-footer-status{min-width:0;margin-right:auto}.ay-chart-footer .ay-button{flex:none}.ay-chart-footer-close{margin-right:auto}.ay-chart-footer-close:has(+.ay-note-footer-status){margin-right:0}.ay-order-confirm-modal{z-index:110;background:var(--ui-overlay);place-items:center;padding:18px;display:grid;position:fixed;inset:0}.ay-order-confirm-dialog{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(100%,760px);max-height:min(92dvh,900px);box-shadow:var(--ui-shadow-card);width:min(100%,560px);padding:20px;overflow:auto}.ay-order-confirm-dialog h3{color:var(--ui-text);margin:4px 0 0;font-size:.92rem}.ay-order-confirm-dialog textarea{resize:vertical;min-height:74px}.ay-order-editor-footer{border-top:1px solid var(--ui-border);flex:none;justify-content:flex-end;gap:9px;padding:12px 17px;display:flex}.ay-order-confirm-dialog>p{color:var(--ui-text-soft);font-size:.74rem;line-height:1.5}.ay-checkbox-field{color:var(--ui-text-soft);align-items:flex-start;gap:9px;margin:14px 0;font-size:.74rem;line-height:1.45;display:flex}.ay-checkbox-field input{flex:none;margin-top:2px}.ay-order-confirm-dialog .ui-field{margin-top:12px}.ay-mobile-nav{display:none}.ay-nav-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.ay-rail-button{cursor:pointer;text-decoration:none}.ay-rail-button span{line-height:1.05}.ay-patient-settings-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ay-patient-settings-form .ui-field.is-wide,.ay-patient-settings-form .ay-checkbox-field.is-wide,.ay-patient-settings-form>.is-wide{grid-column:1/-1}.ay-patient-settings-form .ay-actions{grid-column:1/-1;align-items:center}.ay-settings-readonly{color:var(--ui-muted);margin:0;font-size:.68rem}.ay-message-composer,.ay-followup-create{border-top:1px solid var(--ui-border);gap:10px;padding-top:12px;display:grid}.ay-message-composer-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-file-button{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);min-height:36px;color:var(--ui-text-soft);cursor:pointer;align-items:center;padding:8px 11px;font-size:.68rem;display:inline-flex}.ay-file-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ay-followup-create{grid-template-columns:minmax(0,1fr) 150px auto;align-items:end}.ay-followup-create p{grid-column:1/-1}.ay-complete-reopen{gap:10px;margin-top:12px;display:grid}.ay-alert-panel{z-index:98;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(320px,100vw - 96px);max-height:min(420px,100dvh - 32px);box-shadow:var(--ui-shadow-popover);transform-origin:0 100%;opacity:0;pointer-events:none;transition:opacity var(--ui-duration-standard) var(--ui-ease-out), transform var(--ui-duration-standard) var(--ui-ease-out);padding:14px;position:fixed;bottom:12px;left:72px;overflow:auto;transform:translate(-6px)scale(.98)}.ay-alert-panel.is-open{opacity:1;pointer-events:auto;transform:translate(0)scale(1)}@media (width<=899px){.ay-alert-panel{transform-origin:top;width:auto;inset:64px 12px auto;transform:translateY(-6px)scale(.98)}.ay-alert-panel.is-open{transform:translateY(0)scale(1)}}.ay-alert-panel header{justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-alert-panel h2{color:var(--ui-text);margin:0;font-size:.82rem}.ay-alert-panel ul{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.ay-alert-panel li{border-radius:var(--ui-radius-sm);padding:0;overflow:hidden}.ay-alert-item{border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);width:100%;color:var(--ui-text-soft);font:inherit;text-align:left;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 9px;font-size:.7rem;display:grid}button.ay-alert-item{cursor:pointer;transition:background-color var(--ui-duration-standard) var(--ui-ease-out), transform .12s var(--ui-ease-out)}button.ay-alert-item:hover,button.ay-alert-item:focus-visible{background:var(--ui-accent-soft);color:var(--ui-text)}button.ay-alert-item:active{transform:scale(.98)}.ay-alert-icon{background:var(--ui-accent-soft);width:28px;height:28px;color:var(--ui-accent);border-radius:50%;place-items:center;display:grid}.ay-alert-icon .ay-nav-icon{width:16px;height:16px}.ay-alert-item.is-critical .ay-alert-icon{background:var(--ui-danger-soft);color:var(--ui-danger)}.ay-alert-copy{gap:1px;min-width:0;display:grid}.ay-alert-copy strong{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;font-weight:700;overflow:hidden}.ay-alert-copy span{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.ay-alert-item.is-critical .ay-alert-copy span{color:var(--ui-danger)}.ay-alert-time{color:var(--ui-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.66rem}.ay-alert-panel>p{color:var(--ui-muted);margin:12px 0 0;font-size:.7rem}.ay-global-status{z-index:60;pointer-events:none;border:1px solid var(--ui-success);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-success);box-shadow:var(--ui-shadow-card);margin:0;padding:9px 14px;font-size:.72rem;font-weight:800;position:fixed;top:68px;left:50%;transform:translate(-50%)}@media (width<=899px){.ay-shell--workspace .ay-workspace-masthead:not(.dashboard-masthead){padding:0 12px}.ay-workspace-divider,.ay-workspace-section{display:none}.ay-clinical-dashboard{padding-bottom:64px;display:block}.ay-dashboard-rail{display:none}.ay-clinical-workspace{height:calc(100dvh - 120px);display:block}.ay-queue-sidebar{height:100%;padding:11px}.ay-queue-toolbar{grid-template-columns:minmax(0,1fr) auto}.ay-queue-toolbar select:last-child{grid-area:1/2;width:40px;font-size:0}.ay-queue-columns,.ay-detail-empty{display:none}.ay-queue-list{box-shadow:none;background:0 0;border:0;border-radius:0}.ay-queue-item{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);margin-bottom:9px}.ay-queue-row{grid-template-columns:36px minmax(0,1fr) auto;min-height:118px;padding:13px}.ay-queue-copy small{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.ay-queue-footer{display:none}.ay-detail-pane{z-index:40;background:var(--ui-canvas);border:0;animation:.2s ease-out ay-chart-in;position:absolute;inset:0}.ay-chart-header{grid-template-columns:1fr;gap:7px;padding:11px 44px 11px 13px}.ay-chart-summary{display:none}.ay-chart-cc{display:block}.ay-chart-tabs{padding-inline:9px}.ay-chart-body{padding:12px 11px 16px}.ay-chart-footer{min-height:58px;padding:8px 11px max(8px,env(safe-area-inset-bottom));flex-wrap:wrap;row-gap:8px}.ay-mobile-nav{z-index:60;height:64px;padding:5px max(7px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom));border-top:1px solid var(--ui-border);background:var(--ui-surface);justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.ay-mobile-nav button{border-radius:var(--ui-radius-sm);width:25%;max-width:105px;color:var(--ui-muted);background:0 0;border:0;place-items:center;gap:2px;font-size:.61rem;font-weight:650;display:grid;position:relative}.ay-mobile-nav button b{background:var(--ui-accent);color:#fff;border-radius:999px;min-width:16px;padding:1px 4px;font-size:.56rem;position:absolute;top:1px;right:18%}.ay-mobile-nav button.is-selected{background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-clinical-dashboard.has-selection .ay-mobile-nav{display:none}.ay-wellness-home,.ay-messages-layout,.ay-plan-layout,.ay-patient-settings-layout,.ay-complete-layout{grid-template-columns:1fr}.ay-clinical-card{padding:16px}.ay-wellness-summary{grid-template-columns:1fr 1fr}.ay-note-body{height:48dvh}.ay-chart-body>.ay-note-fill,.ay-generated-layout.ay-note-fill .ay-generated-editor,.ay-generated-layout.ay-note-fill .ay-note-card,.ay-generated-layout.ay-note-fill .ay-plan-card,.ay-complete-layout.ay-note-fill .ay-complete-record-card,.ay-complete-layout.ay-note-fill .ay-complete-plan-card{height:auto}.ay-note-fill .ay-note-body{resize:vertical;flex:none;height:48dvh}.ay-chart-body>.ay-orders-tab{height:auto}.ay-orders-tab .ay-instructions-card{flex:none;height:auto}.ay-orders-tab .ay-instructions-card .ay-plan-body{resize:vertical;flex:none;height:48dvh}.ay-chart-body>.ay-documents-fill{height:auto}.ay-documents-fill .clinical-document-list,.ay-documents-fill .ay-section-empty{flex:none;max-height:48dvh;overflow:auto}.ay-chart-body>.ay-assessment-fill{height:auto}.ay-assessment-layout{grid-template-rows:auto}.ay-assessment-note-card,.ay-assessment-section{height:auto;overflow:visible}.ay-assessment-note-card .ay-note-body--readonly{flex:none;max-height:42dvh}.ay-assessment-fill .ay-assessment-accordion,.ay-assessment-fill .ay-section-empty{flex:none;max-height:48dvh;overflow:auto}.ay-data-layout{grid-template-columns:1fr}.ay-chart-body>.ay-data-fill{height:auto}.ay-data-fill .ay-data-key-card,.ay-data-fill .ay-data-intake-card{height:auto;max-height:48dvh}.ay-data-intake-body{flex:none;height:48dvh}.ay-plan-meta{grid-template-columns:1fr 1fr}.ay-plan-body,.ay-complete-record{max-height:none}}@media (width<=600px){.ay-patient-settings-form,.ay-followup-create{grid-template-columns:1fr}.ay-patient-settings-form .ui-field.is-wide{grid-column:auto}.ay-plan-card__header{flex-direction:column}.ay-plan-status{align-self:flex-start}.ay-plan-body{min-height:220px;padding:15px}}@media (width<=899px){.ay-chart-highlights{grid-template-columns:84px minmax(0,1fr) auto;gap:8px}.ay-copy-chip{width:32px;height:32px}.ay-assessment-accordion summary{flex-direction:column;align-items:flex-start;gap:4px}.ay-wellness-trend-averages{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-followup-detail dl{grid-template-columns:1fr}}@media (width<=600px){.document-filter{grid-template-columns:1fr 1fr}.ay-document-row{grid-template-columns:minmax(0,1fr)}.clinical-document-actions .ay-button{width:100%}.ay-documents-fill .ay-document-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.ay-documents-fill .clinical-document-actions .ay-button{width:auto;min-width:0;padding-inline:9px}.ay-document-preview-modal{padding:9px}.ay-document-preview-dialog{height:calc(100% - 18px)}.ay-document-preview-header{padding:12px}.ay-document-preview-stage{padding:8px}.ay-document-preview-footer{padding:9px}.ay-patient-settings-card .ay-clinical-card__header,.ay-complete-record-card .ay-clinical-card__header{flex-direction:column}.ay-patient-settings-status,.ay-complete-state{align-self:flex-start}.ay-patient-settings-list,.ay-complete-dates{grid-template-columns:1fr}.ay-order-confirm-dialog{max-height:calc(100% - 36px)}.ay-order-editor-footer{flex-wrap:wrap;padding:10px 12px}.ay-order-editor-footer .ay-button{flex:auto}.ay-patient-settings-handoff{flex-direction:column;align-items:flex-start}.ay-complete-record{min-height:300px;padding:14px}.ay-complete-workflow li{grid-template-columns:28px minmax(0,1fr)}.ay-complete-step-state{grid-column:2}}@keyframes ay-chart-in{0%{left:100%;right:-100%}to{left:0;right:0}}@media (prefers-reduced-motion:reduce){.ay-spinner{animation:none}}.ay-settings-assistant-launcher{z-index:80;border:1px solid var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent);font:inherit;cursor:pointer;align-items:center;gap:8px;padding:9px 14px;font-size:.76rem;font-weight:750;display:inline-flex;position:fixed;right:22px}.ay-settings-assistant-launcher:hover{background:var(--ui-accent-hover)}.ay-settings-assistant{z-index:90;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);flex-direction:column;width:min(410px,100vw - 32px);max-height:min(720px,100dvh - 104px);display:flex;position:fixed;bottom:84px;right:20px;overflow:hidden}.ay-settings-assistant>header{border-bottom:1px solid var(--ui-border);background:var(--ui-accent-soft);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.ay-settings-assistant>header strong,.ay-settings-assistant>header small{display:block}.ay-settings-assistant>header strong{color:var(--ui-text);font-size:.82rem}.ay-settings-assistant>header small{color:var(--ui-muted);margin-top:2px;font-size:.72rem}.ay-settings-assistant-window-actions{gap:5px;display:flex}.ay-settings-assistant-window-actions button,.ay-settings-assistant>footer button{color:var(--ui-text-soft);font:inherit;cursor:pointer;background:0 0;border:0}.ay-settings-assistant-window-actions button{border-radius:var(--ui-radius-sm);width:30px;height:30px;font-size:1.1rem}.ay-settings-assistant-window-actions button:hover{background:var(--ui-surface);color:var(--ui-accent)}.ay-settings-assistant.is-minimized{max-height:none}.ay-settings-assistant-paths{grid-template-columns:1fr 1fr;gap:8px;padding:14px;display:grid}.ay-settings-assistant-paths p{color:var(--ui-text-soft);grid-column:1/-1;margin:0 0 3px;font-size:.72rem}.ay-settings-assistant-paths button{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-height:40px;color:var(--ui-text);font:inherit;text-align:left;cursor:pointer;padding:8px 10px;font-size:.69rem;font-weight:650}.ay-settings-assistant-paths button:hover{border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-settings-assistant-messages{background:var(--ui-canvas);flex:auto;align-content:start;gap:9px;min-height:150px;padding:14px;display:grid;overflow:auto}.ay-settings-assistant-messages article{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:fit-content;max-width:88%;padding:9px 11px}.ay-settings-assistant-messages article.is-admin{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);justify-self:end}.ay-settings-assistant-messages article strong{color:var(--ui-muted);text-transform:uppercase;margin-bottom:3px;font-size:.59rem;display:block}.ay-settings-assistant-messages article p{color:var(--ui-text);white-space:pre-wrap;margin:0;font-size:.71rem;line-height:1.48}.ay-settings-assistant-thinking{color:var(--ui-muted);align-items:center;gap:7px;margin:0;font-size:.68rem;display:flex}.ay-settings-assistant-proposal{border-top:1px solid var(--ui-accent-border);border-bottom:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);flex:none;gap:7px;padding:12px 14px;display:grid}.ay-settings-assistant-proposal>strong{color:var(--ui-text);font-size:.73rem}.ay-settings-assistant-proposal p,.ay-settings-assistant-proposal small{color:var(--ui-text-soft);margin:0;font-size:.67rem;line-height:1.45}.ay-settings-assistant-proposal ul{flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none;display:flex}.ay-settings-assistant-proposal li button{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-accent);font:inherit;cursor:pointer;padding:4px 7px;font-size:.61rem}.ay-settings-assistant-proposal>div{gap:7px;display:flex}.ay-settings-assistant-proposal .ay-button{padding:7px 10px;font-size:.67rem}.ay-settings-assistant-error{border-bottom:1px solid var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger);margin:0;padding:9px 14px;font-size:.68rem}.ay-settings-assistant-composer{flex:none;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:11px 14px;display:grid}.ay-settings-assistant-composer textarea{resize:vertical;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);min-width:0;min-height:58px;max-height:120px;color:var(--ui-text);font:inherit;padding:9px 10px;font-size:.71rem}.ay-settings-assistant-composer .ay-button{min-height:38px;padding:8px 11px;font-size:.69rem}.ay-settings-assistant>footer{border-top:1px solid var(--ui-border);color:var(--ui-muted);justify-content:space-between;gap:12px;padding:8px 14px;font-size:.61rem;display:flex}.ay-settings-assistant>footer button{color:var(--ui-accent);font-size:inherit;padding:0}@media (width<=600px){.ay-settings-assistant-launcher{bottom:12px;right:12px}.ay-settings-assistant{border-radius:var(--ui-radius) var(--ui-radius) 0 0;border-left:0;border-right:0;width:100%;max-height:min(66dvh,720px);inset:auto 0 72px}.ay-settings-assistant-paths{grid-template-columns:1fr}.ay-settings-assistant-composer{padding-bottom:max(11px,env(safe-area-inset-bottom))}}.ay-settings-page{background:var(--ui-canvas);grid-template-columns:220px minmax(0,1fr);width:100%;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.ay-settings-page>.ay-note-status{z-index:20;max-width:min(520px,100% - 256px);margin:0;position:absolute;top:10px;right:18px}.ay-settings-step-nav{z-index:5;border-right:1px solid var(--ui-border);background:var(--ui-surface);overscroll-behavior:contain;align-content:start;gap:4px;min-width:0;min-height:0;padding:18px 12px 76px;display:grid;overflow:hidden auto}.ay-settings-step-nav>strong{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;padding:4px 9px 10px}.ay-settings-step-nav__group{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;margin-top:8px;padding:4px 9px 2px;font-size:.64rem;font-weight:700}.ay-settings-step-nav__group:first-of-type{margin-top:0}.ay-settings-step-nav button{border-radius:var(--ui-radius-sm);width:100%;color:var(--ui-text-soft);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;padding:8px 9px;display:grid}.ay-settings-step-nav button span{border:1px solid var(--ui-border-strong);width:22px;height:22px;color:var(--ui-muted);border-radius:50%;place-items:center;display:grid}.ay-settings-step-nav button:hover,.ay-settings-step-nav button.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-settings-skeleton>.ay-settings-loading{align-self:center;min-height:0}.ay-settings-skeleton .ay-settings-step-nav button:disabled{cursor:default}.ay-settings-skeleton .ay-settings-step-nav button:disabled:not(.is-selected):hover{color:var(--ui-text-soft);background:0 0;border-color:#0000}.ay-settings-editor{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-width:0;height:100%;min-height:0;padding:20px 24px 94px;overflow:hidden auto}.ay-settings-editor__header{justify-content:space-between;align-items:flex-start;gap:18px;max-width:1120px;margin:0 auto 14px;display:flex}.ay-settings-editor__header h1{color:var(--ui-text);margin:4px 0 0;font-size:1.3rem;line-height:1.2}.ay-settings-editor__header p:not(.ay-eyebrow){color:var(--ui-muted);margin:5px 0 0;font-size:.74rem;line-height:1.5}.ay-settings-editor>.config-status,.ay-settings-editor>.platform-floor,.ay-settings-editor>.config-grid,.ay-settings-editor>.ay-note-status{width:min(100%,1120px);margin-left:auto;margin-right:auto}.ay-settings-editor>.config-grid{margin-top:0}.ay-settings-editor .config-card{border-radius:var(--ui-radius)}.ay-settings-editor .ay-patient-settings-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px;display:grid}.ay-settings-toggle-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);grid-column:1/-1;min-width:0;margin:0;padding:15px 16px 16px}.ay-settings-toggle-card legend{color:var(--ui-text);padding:0 6px;font-size:.78rem;font-weight:750}.ay-settings-toggle-card>p{color:var(--ui-muted);margin:3px 0 13px;font-size:.7rem;line-height:1.45}.ay-settings-toggle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 16px;display:grid}.ay-settings-toggle-grid .check-field{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);align-content:center;min-width:0;min-height:42px;margin:0;padding:7px 9px;display:grid}.ay-settings-toggle-grid .ay-switch-row{min-height:34px}.ay-settings-wellness-portal{border-top:1px solid var(--ui-border);gap:12px;margin-top:14px;padding-top:14px;display:grid}.ay-settings-wellness-portal .check-field{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);align-content:center;min-width:0;min-height:42px;margin:0;padding:7px 9px;display:grid}.ay-settings-wellness-portal .ay-switch-row{min-height:34px}.ay-settings-wellness-portal .ui-field textarea{resize:vertical;width:100%;min-height:76px}.ay-settings-editor .ui-field__label{min-height:22px;color:var(--ui-text-soft);justify-content:flex-start;align-items:center;gap:2px;padding:0;font-size:.73rem;font-weight:650;line-height:1.4;display:flex}.ay-settings-editor .ui-field__label label,.ay-settings-advanced .ui-field__label label{color:inherit;font:inherit;cursor:default;margin:0}fieldset.ay-role-field{border:0;min-width:0;margin:0;padding:0}.ay-settings-editor fieldset.ay-role-field{box-shadow:none;background:0 0}fieldset.ay-role-field>legend{padding:0}.ay-switch-row{align-items:center;gap:2px;min-height:32px;display:flex}.ay-switch{min-height:32px;color:var(--ui-text-soft);cursor:pointer;align-items:center;gap:10px;font-size:.73rem;font-weight:650;line-height:1.4;display:inline-flex;position:relative}.ay-switch input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.ay-switch__track{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);border-radius:999px;flex:none;width:34px;height:20px;transition:background-color .14s ease-out,border-color .14s ease-out;position:relative}.ay-switch__track:after{content:"";background:var(--ui-surface);width:14px;height:14px;transition:transform .16s var(--ui-ease-out,cubic-bezier(.23,1,.32,1));border-radius:50%;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #141e2347}.ay-switch input:checked+.ay-switch__track{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill)}.ay-switch input:checked+.ay-switch__track:after{transform:translate(14px)}html.clinical-ui.dark .ay-switch input:checked+.ay-switch__track{border-color:color-mix(in srgb,var(--ui-accent-fill) 75%,var(--ui-accent));background:color-mix(in srgb,var(--ui-accent-fill) 75%,var(--ui-accent))}.ay-switch input:focus-visible+.ay-switch__track{box-shadow:var(--ui-focus)}.ay-switch input:disabled+.ay-switch__track,.ay-switch input:disabled~.ay-switch__text{opacity:.55;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.ay-switch__track:after{transition:none}}.ay-role-choices .ay-switch{min-height:36px}.ay-settings-editor .ay-settings-content-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin-top:0;display:grid}.ay-policy-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-width:0;padding:16px}.ay-policy-card>h3{margin:0 0 12px}.ay-policy-card .ay-patient-settings-form{grid-template-columns:minmax(0,1fr)}.ay-question-list{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);display:grid;overflow:hidden}.ay-question-row{border-top:1px solid var(--ui-border);padding:8px 14px}.ay-question-row:first-child{border-top:0}.ay-question-row__head{justify-content:space-between;align-items:center;gap:12px;display:flex}.ay-question-row__toggle{border-radius:var(--ui-radius-sm);min-height:32px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0 10px;font-size:.73rem;font-weight:650;transition:background-color .14s ease-out}@media (hover:hover) and (pointer:fine){.ay-question-row__toggle:hover{background:var(--ui-accent-soft)}}.ay-question-row__preview{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px 44px;font-size:.72rem;line-height:1.4;overflow:hidden}.ay-question-row.is-off .ay-question-row__preview{opacity:.6}.ay-question-row__body{margin:6px 0 8px 44px}.ay-subsection{border-top:1px solid var(--ui-border);margin-top:22px;padding-top:20px}.ay-subsection>h3{margin-top:0}.ay-subsection>.ui-field+.ui-field,.ay-subsection>.ui-field+button{margin-top:14px}.ay-settings-editor h3{margin:24px 0 10px}.ay-settings-editor .ay-clinical-card__header h3,.ay-settings-editor .ay-policy-card>h3,.ay-settings-editor .ay-subsection>h3{margin-top:0}.ay-settings-editor .step-heading{gap:6px;margin-bottom:20px;display:grid}.ay-settings-editor .step-heading :where(h2,p){margin:0}.ay-settings-editor .step-heading p{max-width:76ch;color:var(--ui-muted);line-height:1.55}.ay-settings-section-stack{gap:20px;display:grid}.ay-settings-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.ay-settings-group-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);align-content:start;gap:16px;min-width:0;padding:18px;display:grid}.ay-settings-group-card--wide{grid-column:1/-1}.ay-settings-group-card--wide .ay-patient-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-ai-prompt-field{resize:vertical;min-height:360px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;line-height:1.55}.ay-settings-group-card>header{gap:4px;display:grid}.ay-settings-group-card>header :where(h3,p){margin:0}.ay-settings-group-card>header h3{font-size:.86rem}.ay-settings-group-card>header p{color:var(--ui-muted);font-size:.72rem;line-height:1.5}.ay-settings-group-card>header:has(.ay-status-pill){grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:10px}.ay-settings-group-card>header:has(.ay-status-pill) h3{grid-area:1/1}.ay-settings-group-card>header:has(.ay-status-pill) .ay-status-pill{grid-area:1/2}.ay-settings-group-card>header:has(.ay-status-pill) p{grid-area:2/1/auto/-1}.ay-settings-group-card .ay-settings-panel-action{justify-self:start;width:auto}.ay-settings-field-card-grid,.ay-workflow-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.ay-settings-field-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);align-content:start;gap:12px;min-width:0;padding:16px;display:grid}.ay-settings-field-card>.ui-field{align-content:start;height:100%}.ay-settings-field-card textarea{min-height:112px}.ay-settings-policy-link>h3,.ay-settings-policy-link>p{margin:0}.ay-settings-policy-link>h3{font-size:.8rem}.ay-settings-policy-link>p{color:var(--ui-muted);font-size:.7rem;line-height:1.45}.ay-settings-content-grid.ay-eligibility-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.ay-eligibility-grid .ay-settings-group-card{height:100%}.ay-eligibility-grid .ay-settings-group-card .ay-patient-settings-form{grid-template-columns:minmax(0,1fr)}.ay-settings-section-check{border-top:1px solid var(--ui-border);justify-items:start;gap:10px;margin-top:18px;padding-top:18px;display:grid}.ay-settings-check-button{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);min-height:42px;color:var(--ui-accent)}.ay-settings-section-check.is-approved .ay-settings-check-button{border-color:var(--ui-success);background:var(--ui-success);color:#fff}.ay-settings-check-button svg,.ay-settings-check-message svg,.ay-icon-text-action svg,.ay-settings-subsection-heading .ay-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:17px;height:17px}.ay-settings-check-message{align-items:flex-start;gap:9px;max-width:70ch;margin:0;font-size:.72rem;line-height:1.5;display:flex}.ay-settings-check-message.is-warning{border:1px solid var(--ui-warning-border,var(--ui-danger-border));border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft,var(--ui-danger-soft));color:var(--ui-text);padding:11px 12px}.ay-settings-check-message.is-warning strong{color:var(--ui-text)}.ay-settings-check-message.is-warning ul{margin:5px 0 0;padding-left:18px}.ay-settings-check-message.is-success{color:var(--ui-success);font-weight:650}.ay-note-format-description{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-text-soft);margin:0;padding:11px 12px;font-size:.72rem;line-height:1.5}.ay-settings-subsection-heading{justify-content:space-between;align-items:center;gap:14px;margin-top:4px;display:flex}.ay-settings-subsection-heading :where(h4,p){margin:0}.ay-settings-subsection-heading h4{color:var(--ui-text);font-size:.8rem}.ay-settings-subsection-heading p{color:var(--ui-muted);margin-top:3px;font-size:.69rem;line-height:1.45}.ay-settings-subsection-heading .ay-button{min-height:40px}.ay-settings-field-card__heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-settings-field-card__heading h4{min-width:0;color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.78rem;overflow:hidden}.ay-icon-text-action{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);min-height:36px;color:var(--ui-text-soft);font:inherit;cursor:pointer;align-items:center;gap:6px;padding:6px 9px;font-size:.68rem;font-weight:650;display:inline-flex}.ay-icon-text-action.is-danger{border-color:var(--ui-danger-border);color:var(--ui-danger)}.ay-advanced-nav-button{text-align:left;min-height:40px;color:var(--ui-text);font-size:.76rem;font-weight:700;display:block}.ay-settings-step-nav>strong,.ay-settings-step-nav button span,.ay-settings-editor .ay-status-pill,.ay-settings-editor small,.ay-settings-advanced small{font-size:.72rem}.ay-settings-footer .ay-button,.ay-settings-footer button{font-size:max(.74rem,12px)}.ay-settings-content-grid{margin-top:0}.ay-settings-preview-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:18px}.ay-settings-editor :where(input,textarea,select)[aria-invalid=true]{border-color:var(--ui-danger);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-danger) 14%,transparent)}.ay-settings-editor :where(input[type=checkbox],input[type=radio]){width:17px;min-width:17px;height:17px;accent-color:var(--ui-accent);flex:0 0 17px;margin:2px 0 0}.ay-settings-editor select.ui-input{min-height:40px;padding-right:34px}.ay-settings-editor .ay-note-status--error>div{flex:1;min-width:0}.ay-settings-editor .ay-note-status--error ul{margin:8px 0 0;padding:0;list-style:none;display:grid}.ay-settings-editor .ay-note-status--error li{border-top:1px solid var(--ui-danger-border);justify-content:space-between;align-items:center;gap:14px;padding:8px 0;display:flex}.ay-settings-editor .ay-note-status--error li>span{overflow-wrap:anywhere;gap:2px;min-width:0;font-size:.78rem;line-height:1.4;display:grid}.ay-settings-editor .ay-note-status--error li small{color:color-mix(in srgb, var(--ui-danger) 78%, var(--ui-text));letter-spacing:.02em;font-size:.66rem;font-weight:700}.ay-role-choices{flex-wrap:wrap;gap:6px 18px;padding-top:2px;display:flex}.ay-settings-error-review{border:1px solid var(--ui-danger-border);min-height:30px;color:var(--ui-danger);font:inherit;cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:0 12px;font-size:.72rem;font-weight:650;transition:background-color .14s ease-out}.ay-settings-error-review:hover,.ay-settings-error-review:focus-visible{background:color-mix(in srgb, var(--ui-danger) 10%, transparent)}html[data-theme-surface=clinic-configuration] select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;background-color:var(--ui-surface);cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7880' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:38px}html[data-theme-surface=clinic-configuration] select:not([multiple]):not([size]):hover,html[data-theme-surface=clinic-configuration] select:not([multiple]):not([size]):focus-visible{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314506a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}html[data-theme-surface=clinic-configuration].dark select:not([multiple]):not([size]),html[data-theme-surface=clinic-configuration].dark select:not([multiple]):not([size]):hover,html[data-theme-surface=clinic-configuration].dark select:not([multiple]):not([size]):focus-visible{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab7b4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}html[data-theme-surface=clinic-configuration] select:not([multiple]):not([size]):disabled{cursor:not-allowed;opacity:.6}.ay-settings-editor textarea.ui-input{min-height:92px;line-height:1.45}.ay-settings-editor .ay-actions{gap:8px;margin-top:14px}.ay-settings-section-title{align-items:center;gap:7px;min-width:0;display:flex}.ay-settings-section-title .clinic-settings-info{flex:none}.ay-intake-location-field{padding-bottom:20px}.ay-intake-settings-stack{gap:0;display:grid}.ay-intake-settings-stack>:not(:first-child){border-top:1px solid var(--ui-border);margin-top:24px;padding-top:24px}.ay-referral-rules{grid-column:1/-1;gap:12px;display:grid}.ay-referral-rules__heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ay-referral-rules__heading h3{margin:0}.ay-referral-rules__empty{border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);justify-items:start;gap:12px;padding:18px;display:grid}.ay-referral-rules__empty p{color:var(--ui-muted);margin:0;font-size:.76rem}.ay-referral-rules__actions{justify-content:flex-start;display:flex}.ay-referral-card{flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.ay-referral-card__head{justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:10px 14px;display:flex}.ay-referral-card h4{min-width:0;color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;flex:auto;margin:0;font-size:.82rem;overflow:hidden}.ay-referral-card__toggle{border:1px solid var(--ui-border-strong);min-width:64px;min-height:30px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:0 12px;font-size:.72rem;font-weight:700}.ay-referral-card__toggle:hover,.ay-referral-card__toggle:focus-visible{background:var(--ui-accent-soft)}.ay-referral-card__body{gap:14px;padding:0 14px 14px;display:grid}.ay-referral-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.ay-referral-editor-grid>.ui-field:nth-child(5),.ay-referral-availability{grid-column:1/-1}.ay-referral-editor-grid textarea{min-height:72px}.ay-referral-availability{gap:6px;display:grid}.ay-referral-availability__label{color:var(--ui-muted);font-size:.7rem;font-weight:700}.ay-referral-availability__fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;display:grid}.ay-referral-card__footer{border-top:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;display:flex}.ay-referral-card__footer .check-field{margin:0}@media (pointer:coarse){.ay-referral-card__toggle{min-height:44px}}@media (width<=600px){.ay-referral-editor-grid,.ay-referral-availability__fields{grid-template-columns:1fr}.ay-referral-editor-grid>.ui-field:nth-child(5){grid-column:auto}}.ay-settings-page .ay-clinical-workspace{height:auto;min-height:0;overflow:visible}.ay-settings-page .ay-content>.ay-clinical-card,.ay-settings-advanced{scroll-margin-top:72px}.ay-settings-advanced{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);gap:14px;padding:20px;display:grid}.clinic-settings-info{vertical-align:middle;margin-left:4px;display:inline-flex;position:relative}.clinic-settings-info>.clinic-settings-info__button{width:24px;min-width:0;height:24px;min-height:0;box-shadow:none;color:var(--ui-muted);cursor:help;background:0 0;border:0;border-radius:50%;place-items:center;margin:-4px 0;padding:0;transition:color .14s ease-out,background-color .14s ease-out;display:inline-grid}.clinic-settings-info__button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.clinic-settings-info.is-open>.clinic-settings-info__button,.clinic-settings-info>.clinic-settings-info__button:focus-visible{color:var(--ui-accent);background:var(--ui-accent-soft)}@media (hover:hover) and (pointer:fine){.clinic-settings-info>.clinic-settings-info__button:hover{color:var(--ui-accent);background:var(--ui-accent-soft)}}@media (pointer:coarse){.clinic-settings-info>.clinic-settings-info__button{width:32px;height:32px;margin:-8px -4px}}.clinic-settings-info>.clinic-settings-info__bubble{top:var(--tip-top,0);left:var(--tip-left,0);z-index:600;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:min(260px,100vw - 24px);color:var(--ui-text-soft);box-shadow:var(--ui-shadow-card);pointer-events:none;opacity:0;visibility:hidden;padding:8px 10px;font-size:.72rem;font-weight:500;line-height:1.45;transition:opacity .12s ease-out,transform .12s ease-out,visibility 0s linear .12s;position:fixed;right:auto;transform:translateY(2px)}.clinic-settings-info.is-open>.clinic-settings-info__bubble,.clinic-settings-info:has(>.clinic-settings-info__button:focus-visible)>.clinic-settings-info__bubble{opacity:1;visibility:visible;transition:opacity .12s ease-out,transform .12s ease-out,visibility;transform:translateY(0)}@media (hover:hover) and (pointer:fine){.clinic-settings-info:hover>.clinic-settings-info__bubble{opacity:1;visibility:visible;transition:opacity .12s ease-out .12s,transform .12s ease-out .12s,visibility 0s linear .12s;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.clinic-settings-info>.clinic-settings-info__bubble{transition:opacity 1ms;transform:none}}@media (width<=640px){.ui-field{position:relative}.ui-field .clinic-settings-info{position:static}}.ay-settings-dialog-backdrop{z-index:400;background:var(--ui-overlay);place-items:center;padding:18px;display:grid;position:fixed;inset:0}.ay-settings-dialog{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(100%,460px);padding:20px}.ay-settings-dialog h2{color:var(--ui-text);margin:0;font-size:1rem}.ay-settings-dialog header p{color:var(--ui-muted);margin:6px 0 16px;font-size:.72rem;line-height:1.5}.ay-settings-dialog form{gap:10px;display:grid}.ay-settings-dialog label{color:var(--ui-text-soft);font-size:.7rem;font-weight:750}@media (width<=899px){.ay-settings-page{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.ay-settings-page>.ay-note-status{max-width:none;top:58px;left:10px;right:10px}.ay-settings-step-nav{border-right:0;border-bottom:1px solid var(--ui-border);scrollbar-width:thin;padding:8px;display:flex;overflow:auto hidden}.ay-settings-step-nav>strong,.ay-settings-step-nav__group{display:none}.ay-settings-step-nav button{white-space:nowrap;flex:none;width:auto;min-height:38px}.ay-settings-step-nav{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),#0000)}.ay-settings-step-nav:after{content:"";flex:0 0 28px}.ay-settings-editor{padding:16px 16px 92px}}@media (width<=600px){.ay-settings-editor{padding:13px 11px 86px}.ay-settings-editor__header{flex-direction:column;align-items:stretch;gap:8px}.ay-settings-editor__header .ay-status-pill{align-self:flex-start}.ay-settings-editor .ay-patient-settings-form,.ay-settings-editor .field-grid,.ay-settings-editor .policy-grid,.ay-settings-toggle-grid{grid-template-columns:minmax(0,1fr)}.ay-settings-editor .config-card{margin-bottom:11px;padding:15px}}.ay-intake-app{background:var(--ui-canvas);width:100%;height:100dvh;min-height:0;color:var(--ui-text);display:grid;overflow:hidden}.ay-intake-header{border-bottom:1px solid var(--ui-border);color:var(--ui-muted);justify-content:space-between;align-items:center;gap:16px;font-size:.72rem;display:flex}.ay-intake-brand{min-width:0;color:var(--ui-text);align-items:center;gap:10px;text-decoration:none;display:flex}.ay-intake-brand img,.ay-intake-brand>span{object-fit:contain;border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);width:36px;height:36px;color:var(--ui-accent);flex:0 0 36px;place-items:center;display:grid}.ay-intake-brand strong{text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}.ay-intake-main{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-width:0;min-height:0;overflow:hidden auto}.ay-intake-startup{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(100%,760px);min-height:280px;box-shadow:var(--ui-shadow-card);align-content:center;justify-items:start;gap:12px;margin:0 auto;padding:clamp(22px,4vw,42px);display:grid}.ay-intake-startup__icon{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);width:44px;height:44px;color:var(--ui-accent);place-items:center;font-size:1.25rem;display:grid}.ay-intake-startup h1{color:var(--ui-text);margin:6px 0 0;font-size:clamp(1.25rem,2.5vw,1.7rem)}.ay-intake-startup>p{max-width:60ch;color:var(--ui-text-soft);margin:0;font-size:.82rem;line-height:1.55}.ay-intake-startup__status{color:var(--ui-muted);align-items:center;gap:8px;margin-top:5px;font-size:.72rem;display:flex}.ay-intake-startup__actions{flex-wrap:wrap;gap:9px;width:100%;margin-top:10px;display:flex}.ay-intake-startup__actions .ay-button{min-width:150px}.ay-intake-transcript{align-content:start;gap:16px;width:min(100%,880px);margin:0 auto;display:grid}.ay-intake-notice{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);text-align:left;align-items:flex-start;gap:10px;margin:0;padding:10px 13px;font-size:max(.76rem,12px);line-height:1.45;display:flex}.ay-intake-notice svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px;margin-top:1px}.ay-intake-bubble{border:1px solid var(--ui-border);width:fit-content;color:var(--ui-text)}.ay-intake-bubble p{margin:0}.ay-intake-bubble.is-patient{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);justify-self:end}.ay-intake-edit{color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;margin-top:7px;padding:0;font-size:.68rem;text-decoration:underline}.ay-intake-workflow{gap:16px;width:min(100%,880px);margin:0 auto;display:grid}.ay-intake-progress{color:var(--ui-muted);font-size:.72rem;font-weight:700}.ay-intake-question,.ay-intake-boundary,.ay-intake-gate{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);gap:14px;padding:clamp(18px,3vw,28px);display:grid}.ay-intake-question h1,.ay-intake-boundary h1,.ay-intake-boundary h2,.ay-intake-gate h1,.ay-intake-gate h2{color:var(--ui-text);margin:0;font-size:clamp(1.05rem,2.2vw,1.35rem);line-height:1.35}.ay-intake-boundary p{color:var(--ui-text-soft);margin:0;font-size:.8rem;line-height:1.55}.ay-intake-gate{border-color:var(--ui-warning-border);background:var(--ui-warning-soft)}.ay-intake-gate--danger{border-color:var(--ui-danger-border);background:var(--ui-danger-soft)}.ay-intake-gate__label{color:var(--ui-warning);letter-spacing:.065em;text-transform:uppercase;font-size:.66rem;font-weight:750}.ay-intake-gate--danger .ay-intake-gate__label{color:var(--ui-danger)}.ay-intake-gate>p{max-width:68ch;color:var(--ui-text-soft);margin:0;font-size:.8rem;line-height:1.55}.ay-intake-gate>.ay-intake-gate__support{color:var(--ui-muted);font-size:.72rem}.ay-intake-acknowledgement{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text);cursor:pointer;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:12px 13px;font-size:.76rem;line-height:1.5;display:grid}.ay-intake-acknowledgement input{width:17px;height:17px;accent-color:var(--ui-accent);margin:2px 0 0}.ay-intake-question fieldset{border:0;margin:0;padding:0}.ay-intake-choice{border:1px solid var(--ui-border);color:var(--ui-text);cursor:pointer;align-items:center;gap:10px;display:flex}.ay-intake-choice:has(input:checked){border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-intake-choice input{width:16px;height:16px}.ay-intake-field{border:1px solid var(--ui-border-strong);width:100%;color:var(--ui-text);font:inherit}.ay-intake-field[aria-invalid=true]{border-color:var(--ui-danger)}.ay-intake-question textarea{resize:vertical}.ay-intake-actions,.ay-intake-save{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-intake-save{min-height:28px;color:var(--ui-muted);font-size:.72rem}.ay-intake-validation{color:var(--ui-danger);margin:0;font-size:.75rem}.ay-intake-ai-status{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:fit-content;color:var(--ui-muted);align-items:center;gap:8px;padding:10px 12px;font-size:.72rem;display:flex}.ay-intake-ai-error{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);color:var(--ui-danger);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:.74rem;display:flex}.ay-intake-voice{min-height:30px;color:var(--ui-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:.7rem;display:flex}.ay-intake-voice__start{width:fit-content}.ay-intake-voice__timer{color:var(--ui-danger);font-variant-numeric:tabular-nums;font-weight:750}.ay-intake-voice__status{align-items:center;gap:7px;display:inline-flex}.ay-intake-voice__error{color:var(--ui-danger);flex:220px;line-height:1.45}.ay-intake-voice-fallback{color:var(--ui-muted);margin:0;font-size:.7rem;line-height:1.45}.ay-intake-voice--recording{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);padding:7px 9px}.ay-intake-voice--transcribing,.ay-intake-voice--review{padding:4px 0}.ay-intake-review__header{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);padding:clamp(18px,3vw,28px)}.ay-intake-review__header h1{color:var(--ui-text);margin:5px 0 0;font-size:clamp(1.15rem,2.4vw,1.5rem);line-height:1.3}.ay-intake-review__header p{max-width:68ch;color:var(--ui-text-soft);margin:7px 0 0;font-size:.78rem;line-height:1.55}.ay-intake-review__list{gap:10px;display:grid}.ay-intake-review__item{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:14px 16px;display:flex}.ay-intake-review__item>div{gap:4px;min-width:0;display:grid}.ay-intake-review__item h2{color:var(--ui-text);margin:0;font-size:.76rem;line-height:1.4}.ay-intake-review__item p{overflow-wrap:anywhere;color:var(--ui-text-soft);margin:0;font-size:.76rem;line-height:1.5}.ay-intake-review__status{border:1px solid var(--ui-border);background:var(--ui-surface-muted);width:fit-content;color:var(--ui-muted);border-radius:999px;padding:3px 7px;font-size:.62rem;font-weight:700}.ay-intake-review__editor{z-index:2;border-color:var(--ui-accent-border);position:sticky;bottom:0}.ay-intake-review__editor h2{color:var(--ui-text);margin:0;font-size:.9rem}.ay-intake-step-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-intake-upload-card,.ay-intake-consent__card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);gap:14px;padding:clamp(18px,3vw,26px);display:grid}.ay-intake-upload{border:1px dashed var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);min-height:116px;color:var(--ui-accent);cursor:pointer;align-content:center;place-items:center;gap:6px;padding:20px;display:grid}.ay-intake-upload.is-disabled{opacity:.65;cursor:default}.ay-intake-upload input{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ay-intake-upload span{font-size:.78rem;font-weight:750}.ay-intake-upload small,.ay-intake-empty{color:var(--ui-muted);margin:0;font-size:.68rem;line-height:1.45}.ay-intake-file-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.ay-intake-file-list li{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px 12px;display:flex}.ay-intake-file-list li>div{gap:3px;min-width:0;display:grid}.ay-intake-file-list strong{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.ay-intake-file-list span{color:var(--ui-muted);font-size:.64rem}.ay-intake-consent__card>div{gap:7px;display:grid}.ay-intake-consent__card h2{color:var(--ui-text);margin:0;font-size:.84rem}.ay-intake-consent__card p{color:var(--ui-text-soft);margin:0;font-size:.76rem;line-height:1.55}.ay-intake-policy-links{flex-wrap:wrap;gap:8px;display:flex}.ay-intake-policy-links a{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);color:var(--ui-accent);padding:7px 10px;font-size:.69rem;font-weight:700;text-decoration:none}.ay-intake-policy-links a:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-intake-complete{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-height:300px;box-shadow:var(--ui-shadow-card);text-align:center;align-content:center;justify-items:center;gap:10px;padding:clamp(26px,5vw,48px);display:grid}.ay-intake-complete__icon{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);width:48px;height:48px;color:var(--ui-accent);border-radius:50%;place-items:center;font-size:1.2rem;font-weight:800;display:grid}.ay-intake-complete h1{color:var(--ui-text);margin:4px 0 0;font-size:clamp(1.2rem,2.5vw,1.55rem)}.ay-intake-complete p{max-width:52ch;color:var(--ui-text-soft);margin:0;font-size:.78rem;line-height:1.55}.ay-intake-complete .ay-intake-complete__reference{color:var(--ui-muted);margin-top:8px;font-size:.68rem}.ay-intake-composer{min-width:0;padding:10px max(16px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border-top:1px solid var(--ui-border);background:var(--ui-surface);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.ay-intake-composer textarea{resize:none;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);width:100%;min-height:44px;max-height:120px;color:var(--ui-text);font:inherit;padding:11px 13px;font-size:.76rem}.ay-intake-composer .ay-button{min-height:44px}@media (width<=600px){.ay-intake-header{min-height:58px}.ay-intake-main{padding:12px}.ay-intake-startup{min-height:240px;padding:22px 18px}.ay-intake-startup__actions{grid-template-columns:1fr;display:grid}.ay-intake-startup__actions .ay-button{width:100%;min-width:0}.ay-intake-bubble{max-width:92%}.ay-intake-question,.ay-intake-boundary,.ay-intake-gate,.ay-intake-review__header{padding:18px 15px}.ay-intake-actions{grid-template-columns:1fr 1fr;display:grid}.ay-intake-actions .ay-button{width:100%}.ay-intake-review__item{align-items:flex-start;padding:12px}.ay-intake-review__item .ay-button{flex:none}.ay-intake-upload-card,.ay-intake-consent__card{padding:15px}.ay-intake-step-actions{grid-template-columns:1fr 1fr;display:grid}.ay-intake-step-actions .ay-button{width:100%}.ay-intake-file-list li{align-items:flex-start}.ay-intake-composer{padding-top:8px}}.ay-card,.ay-chart-shell{border-radius:var(--ui-radius)}.ay-clinical-workspace{display:block}.ay-queue-sidebar{width:100%;height:100%}.ay-detail-empty{display:none}.ay-detail-pane{z-index:20;background:var(--ui-canvas);border-left:0;width:100%;min-width:0;min-height:0;position:absolute;inset:0;overflow:hidden}.ay-detail-pane.workspace-detail.has-selection.is-open{transition:none;transform:none}.ay-queue-toolbar{grid-template-columns:minmax(220px,1fr) auto;gap:8px;display:grid;position:relative}.ay-queue-search{min-width:0;position:relative}.ay-queue-search>svg{z-index:1;fill:none;width:18px;height:18px;stroke:var(--ui-muted);stroke-width:1.8px;stroke-linecap:round;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.ay-queue-search .ui-input{width:100%;padding-left:40px;padding-right:36px}.ay-queue-search>button{width:28px;height:28px;color:var(--ui-muted);background:0 0;border:0;border-radius:50%;padding:0;font-size:1.1rem;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.ay-queue-filter{border:1px solid var(--ui-border-strong);background:var(--ui-surface);min-width:84px;color:var(--ui-text-soft);font:inherit;justify-content:center;align-items:center;gap:6px;padding:7px 11px;font-size:.7rem;font-weight:650;display:inline-flex}.ay-queue-filter:hover,.ay-queue-filter.is-open{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-queue-filter svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:18px;height:18px}.ay-queue-filter-panel{z-index:30;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(280px,100%);box-shadow:var(--ui-shadow-card);gap:7px;padding:12px;display:grid;position:absolute;right:0}.ay-queue-filter-panel label{color:var(--ui-text-soft);font-size:.68rem;font-weight:700}.ay-queue-list{display:block}.ay-queue-item{border:0;border-bottom:1px solid var(--ui-border);border-radius:0;padding:0;display:block}.ay-queue-item:last-child{border-bottom:0}.ay-chart-shell{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:64px minmax(0,1fr);display:grid}.ay-chart-header{grid-area:1/2}.ay-chart-tabs{border-right:1px solid var(--ui-border);background:var(--ui-surface);border-bottom:0;flex-direction:column;grid-area:1/1/-1;align-items:center;gap:6px;min-width:0;padding:10px 7px;display:flex;overflow:hidden auto}.ay-chart-tab{border-radius:var(--ui-radius-sm);text-align:center;white-space:normal;border:1px solid #0000;place-items:center;gap:2px;width:50px;padding:5px 2px;font-size:.56rem;line-height:1.1;display:grid}.ay-chart-tab.is-selected,.ay-chart-tab:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-chart-tab-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.ay-chart-tab span{max-width:46px;display:block}.ay-chart-body{grid-area:2/2}.ay-chart-footer{grid-area:3/2}@media (width>=900px){.ay-chart-shell{grid-template-columns:minmax(0,1fr)}.ay-chart-tabs{display:none}.ay-chart-header,.ay-chart-body,.ay-chart-footer{grid-column:1}}@media (width<=899px){.ay-chart-shell{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}.ay-chart-header{grid-area:1/1}.ay-chart-tabs{border-right:0;border-bottom:1px solid var(--ui-border);flex-direction:row;grid-area:2/1;align-items:stretch;gap:5px;padding:8px 12px;overflow:auto hidden}.ay-chart-tab{white-space:nowrap;border-radius:999px;gap:6px;width:auto;min-width:max-content;min-height:38px;padding:7px 11px;font-size:.7rem;display:flex}.ay-chart-tab-icon{width:17px;height:17px}.ay-chart-tab span{max-width:none}.ay-chart-body{grid-area:3/1}.ay-chart-footer{grid-area:4/1}}.ay-settings-page .ay-content>[data-settings-section],.ay-settings-page [data-settings-section]{display:none}.ay-settings-footer:not(.setup-footer){z-index:60;padding:9px 20px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--ui-border);background:var(--ui-surface);box-shadow:var(--ui-shadow-footer);align-items:center;gap:9px;display:flex;position:fixed;bottom:0;left:220px;right:0}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__step{color:var(--ui-muted);margin-right:auto;font-size:.72rem}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__pager{gap:6px;display:flex}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__pager .ay-button{border-radius:50%;padding:0;font-size:1rem}.ay-settings-footer__pager .ay-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions{white-space:nowrap;align-items:center;gap:7px;display:flex}.ay-intake-app{grid-template-rows:70px minmax(0,1fr)}.ay-intake-header{z-index:20;min-height:70px;padding:8px max(18px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left));background:color-mix(in srgb,var(--ui-surface) 92%,transparent);-webkit-backdrop-filter:blur(14px);position:relative}.ay-intake-brand img{background:var(--ui-accent-soft);flex-basis:42px;width:42px;height:42px;padding:3px}.ay-intake-brand-placeholder{border-radius:var(--ui-radius-sm)!important;flex:0 0 42px!important;width:42px!important;height:42px!important}.ay-intake-brand-placeholder svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}.ay-intake-wordmark{gap:1px;min-width:0;display:grid;place-items:initial!important;width:auto!important;height:auto!important;color:var(--ui-text)!important;background:0 0!important;border-radius:0!important;flex:auto!important}.ay-intake-wordmark strong{letter-spacing:.01em;font-size:.95rem}.ay-intake-wordmark small{color:var(--ui-muted);font-size:.61rem;font-weight:600}.ay-intake-header-actions{align-items:center;gap:8px;display:flex;position:relative}.ay-intake-secure{color:var(--ui-muted);align-items:center;gap:5px;font-size:.65rem;display:inline-flex}.ay-intake-secure svg,.ay-intake-menu-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.ay-intake-menu-button{border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text-soft);place-items:center;padding:0;display:grid}.ay-intake-menu-button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-intake-menu{z-index:80;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);gap:5px;width:min(260px,100vw - 24px);padding:8px;display:grid;position:absolute;top:calc(100% + 9px);right:0}.ay-intake-menu button,.ay-intake-menu a{border-radius:var(--ui-radius-sm);color:var(--ui-text-soft);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:8px 10px;font-size:.72rem;font-weight:650;text-decoration:none;display:flex}.ay-intake-menu button:hover,.ay-intake-menu a:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-intake-menu p{color:var(--ui-muted);margin:4px 5px;font-size:.65rem;line-height:1.45}.ay-intake-main{padding:24px max(16px,env(safe-area-inset-right)) 104px max(16px,env(safe-area-inset-left))}.ay-intake-workflow,.ay-intake-transcript{width:min(100%,780px)}.ay-intake-bubble{max-width:80%;padding:12px 16px}.ay-intake-bubble p{font-size:.98rem;line-height:1.5}.ay-intake-question{box-shadow:none;background:0 0;border:0;padding:0}.ay-intake-question fieldset{flex-wrap:wrap;gap:8px;display:flex}.ay-intake-choice{width:auto;padding:9px 14px;font-size:.86rem}.ay-intake-choice input{accent-color:var(--ui-accent)}.ay-intake-field{background:var(--ui-surface);border-radius:20px;min-height:56px;padding:14px 16px;font-size:.92rem}.ay-intake-actions{justify-content:flex-end}.ay-intake-actions>span{display:none}.ay-intake-startup,.ay-intake-boundary,.ay-intake-gate,.ay-intake-review__header,.ay-intake-upload-card,.ay-intake-consent__card,.ay-intake-complete{border-radius:var(--ui-radius)}.dashboard-mobile-action{display:none}@media (width<=899px){#mainContent.ay-clinical-dashboard{padding-bottom:0}.ay-dashboard-rail.dashboard-navigation-rail{padding:5px max(7px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));border:0;border-top:1px solid var(--ui-border);flex-direction:row;justify-content:center;gap:0;display:flex}.ay-dashboard-rail.dashboard-navigation-rail>.dashboard-rail-control-wrap,.ay-dashboard-rail.dashboard-navigation-rail>.dashboard-rail-spacer{display:none}.dashboard-mobile-action{width:38px;height:38px;color:var(--ui-text-soft);font:inherit;background:0 0;border:0;border-radius:50%;flex:0 0 38px;place-items:center;padding:0;display:grid;position:relative}.dashboard-mobile-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.dashboard-mobile-action b{border:2px solid var(--ui-surface);background:var(--ui-accent);color:#fff;border-radius:999px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:9px;display:grid;position:absolute;top:-1px;right:-1px}.dashboard-mobile-account{background:var(--ui-text-soft);color:#fff;font-size:.68rem;font-weight:700}body:has(.workspace-detail.has-selection) .ay-dashboard-rail.dashboard-navigation-rail{display:none}.ay-settings-footer:not(.setup-footer){padding-inline:10px;left:0}.ay-settings-footer__step{display:none}.ay-settings-footer .ay-button{padding-inline:10px}}@media (width<=600px){.ay-clinical-dashboard.has-selection{grid-template-columns:1fr}.ay-queue-toolbar{grid-template-columns:minmax(0,1fr) auto}.ay-queue-filter{width:42px;min-width:42px;padding:0}.ay-queue-filter span{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.ay-intake-app{grid-template-rows:62px minmax(0,1fr)}.ay-intake-header{min-height:62px}.ay-intake-secure{display:none}.ay-intake-main{padding:14px 12px 92px}.ay-intake-bubble{max-width:90%}.ay-intake-question{padding:0}.ay-intake-actions{display:flex}.ay-settings-footer:not(.setup-footer){gap:6px;overflow-x:auto}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__pager .ay-button{width:32px;min-width:32px;height:32px;min-height:32px}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions{gap:5px}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions .ay-button{min-height:32px;padding:7px 9px;font-size:.66rem}}.ay-shell--auth{background:radial-gradient(circle at 50% 18%, color-mix(in srgb,var(--ui-accent-soft) 60%,transparent) 0, transparent 42%), var(--ui-canvas);min-height:100dvh}.ay-auth-main{place-items:center;min-height:100dvh;padding:clamp(20px,5vw,64px) 18px;display:grid}.ay-auth-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,448px);min-height:520px;box-shadow:var(--ui-shadow-dialog);grid-template-rows:auto minmax(0,1fr) auto;align-content:start;gap:22px;padding:clamp(24px,5vw,36px);display:grid}.ay-auth-card__header{align-items:center;gap:14px;display:flex}.ay-auth-brand-mark{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius);background:var(--ui-accent-soft);width:46px;height:46px;color:var(--ui-accent);flex:0 0 46px;place-items:center;font-size:.95rem;font-weight:750;display:grid;overflow:hidden}.ay-auth-brand-mark img{object-fit:contain;width:100%;height:100%}.ay-auth-brand-mark--lock svg{width:22px;height:22px}.ay-auth-brand{color:var(--ui-muted);margin:0 0 8px;font-size:.72rem;font-weight:700}.ay-auth-card h1{color:var(--ui-text);letter-spacing:-.025em;margin:0;font-size:clamp(1.35rem,4vw,1.65rem);line-height:1.15}.ay-auth-card__header p:last-child{color:var(--ui-text-soft);margin:7px 0 0;font-size:.82rem;line-height:1.5}.ay-auth-card__body{min-height:0}.ay-auth-flow{gap:16px;display:grid}.ay-auth-flow.ay-auth-checking{align-content:center;place-items:center;min-height:180px}.ay-auth-flow>header{gap:5px;display:grid}.ay-auth-flow h2{color:var(--ui-text);margin:0;font-size:1rem}.ay-auth-flow p{color:var(--ui-text-soft);margin:0;font-size:.78rem;line-height:1.5}.ay-auth-flow form{gap:10px;display:grid}.ay-auth-flow label{color:var(--ui-text-soft);font-size:.76rem;font-weight:700}.ay-auth-flow .ui-input{min-height:48px}.ay-code-field{align-content:start;gap:6px;min-width:0;margin:0;display:grid}.ay-code-field__label{color:var(--ui-text-soft);font-size:.76rem;font-weight:700}.ay-code-input{width:100%;max-width:400px;position:relative}.ay-code-input__squares{justify-content:space-between;gap:clamp(5px,2.2vw,10px);display:flex}.ay-code-input__square{aspect-ratio:46/56;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface-muted);min-width:0;max-width:54px;color:var(--ui-text);font-variant-numeric:tabular-nums;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background-color var(--ui-duration-fast) var(--ui-ease-out), box-shadow var(--ui-duration-fast) var(--ui-ease-out);flex:1 1 0;place-items:center;font-size:1.4rem;font-weight:650;line-height:1;display:grid;position:relative}.ay-code-input__square.is-filled{background:var(--ui-surface)}.ay-code-input__square.is-active{border-color:var(--ui-accent);background:var(--ui-surface);box-shadow:var(--ui-focus)}.ay-code-input__caret{background:var(--ui-accent);border-radius:1px;width:2px;height:1.5rem;animation:1.1s step-end infinite ay-code-caret}@keyframes ay-code-caret{0%,55%{opacity:1}56%,to{opacity:0}}.ay-code-input .ay-code-input__field.ay-code-input__field:not([type=checkbox]):not([type=radio]){z-index:1;border-radius:var(--ui-radius);width:100%;height:100%;min-height:0;box-shadow:none;color:#0000;-webkit-text-fill-color:transparent;caret-color:#0000;cursor:text;background:0 0;border:0;outline:0;margin:0;padding:0;font-size:16px;position:absolute;inset:0}.ay-code-input__field::selection{color:#0000;background:0 0}.ay-code-input__field:-webkit-autofill{-webkit-text-fill-color:transparent;transition:background-color 9999s;box-shadow:inset 0 0 0 100px #0000}@media (hover:hover) and (pointer:fine){.ay-code-input:not(.is-focused):not(.is-disabled) .ay-code-input__square:not(.is-filled):hover{border-color:var(--ui-muted)}}.ay-code-input.is-invalid .ay-code-input__square{border-color:var(--ui-danger)}.ay-code-input.is-invalid .ay-code-input__square.is-active{box-shadow:0 0 0 3px color-mix(in srgb, var(--ui-danger) 20%, transparent)}.ay-code-input.is-invalid .ay-code-input__caret{background:var(--ui-danger)}.ay-code-input.is-disabled .ay-code-input__square{border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-muted)}.ay-code-input.is-disabled .ay-code-input__field{cursor:not-allowed}@media (width<=360px){.ay-code-input__square{border-radius:var(--ui-radius-sm);font-size:1.2rem}.ay-code-input__caret{height:1.25rem}}@media (prefers-reduced-motion:reduce){.ay-code-input__square{transition:none}.ay-code-input__caret{animation:none}}@media (forced-colors:active){.ay-code-input__square.is-active{outline:2px solid highlight}}.ay-auth-flow [role=alert]{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);min-height:42px;color:var(--ui-danger);padding:9px 11px}.ay-auth-actions{justify-content:space-between;align-items:center;margin-top:7px}.ay-auth-actions .ay-button{min-width:148px}.ay-auth-options-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.ay-auth-submit .ay-button{width:100%}.ay-auth-link{min-height:44px;color:var(--ui-accent);font:inherit;background:0 0;border:0;padding:8px 4px;font-size:.76rem;font-weight:700}.ay-auth-options-end{align-items:center;gap:6px;display:flex}.ay-auth-passkey{border:1px solid var(--ui-border);width:32px;height:32px;color:var(--ui-accent);cursor:pointer;background:0 0;border-radius:8px;place-items:center;padding:0;display:grid}.ay-auth-passkey:hover{background:var(--ui-accent-soft);border-color:var(--ui-accent-soft)}.ay-auth-passkey:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-auth-passkey:disabled{opacity:.55;cursor:default}.ay-passkey-backdrop{z-index:140;background:#18222780;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.ay-passkey-dialog{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,380px);color:var(--ui-text);box-shadow:var(--ui-shadow-dialog);padding:20px}.ay-passkey-dialog>header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.ay-passkey-dialog h2{margin:2px 0 0;font-size:1.05rem}.ay-passkey-dialog form{gap:8px;display:grid}.ay-passkey-dialog form label{color:var(--ui-text-soft);font-size:.72rem;font-weight:650}.ay-passkey-close{border:1px solid var(--ui-border);background:var(--ui-surface);width:32px;height:32px;color:var(--ui-text);font:inherit;cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:1.1rem;display:grid}.ay-auth-card__status{color:var(--ui-muted);margin:0;font-size:.72rem}@media (width<=600px){.ay-auth-main{min-height:100dvh;padding:20px 16px}.ay-auth-card{height:auto;min-height:0;padding:24px 20px}}.ay-card,.ay-chart-shell,.ay-clinical-card,.config-card,.ay-settings-advanced{border-color:var(--ui-border);box-shadow:var(--ui-shadow-card)}.ay-queue-filter-panel,.ay-intake-menu,.clinic-settings-info>.clinic-settings-info__bubble{box-shadow:var(--ui-shadow-popover)}.ay-settings-dialog{box-shadow:var(--ui-shadow-dialog)}.ay-queue-filter-panel,.ay-intake-menu,.ay-settings-dialog{transform-origin:100% 0;animation:ay-layer-in var(--ui-duration-standard) var(--ui-ease-out) both}.ay-settings-dialog-backdrop{animation:ay-backdrop-in var(--ui-duration-standard) var(--ui-ease-out) both}.ay-settings-dialog{transform-origin:50%;animation:ay-dialog-in var(--ui-duration-dialog) var(--ui-ease-out) both}@keyframes ay-layer-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes ay-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes ay-dialog-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.ay-dashboard-rail{gap:8px}.ay-rail-button,.ay-account-button,.dashboard-mobile-action,.ay-intake-menu-button{min-width:44px;min-height:44px}.ay-rail-button{width:48px;font-size:.62rem;line-height:1.15}.ay-queue-filter{border-radius:var(--ui-radius-sm);min-height:44px}.ay-queue-filter-panel{top:calc(100% + 8px)}.ay-chart-header{padding-block:13px}.ay-chart-body{padding-bottom:30px}.ay-chart-footer,.ay-settings-footer:not(.setup-footer){box-shadow:var(--ui-shadow-footer)}.ay-chart-tab{min-height:44px}.ay-message-bubble{box-shadow:0 1px 2px #382d2009;border-left-width:1px!important}.ay-message-bubble.is-patient{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-message-bubble.is-clinician{border-color:var(--ui-border);background:var(--ui-surface)}.ay-settings-editor{padding-inline:clamp(16px,3vw,32px)}.ay-settings-editor__header,.ay-settings-editor>.config-status,.ay-settings-editor>.platform-floor,.ay-settings-editor>.config-grid,.ay-settings-editor>.ay-note-status{max-width:var(--ui-content-form)}.ay-settings-editor .config-card .config-card,.ay-settings-advanced .ay-clinical-card .ay-clinical-card{border:0;border-top:1px solid var(--ui-border);box-shadow:none;background:0 0;border-radius:0;padding:14px 0 0}.ay-settings-step-nav button{min-height:44px;font-size:.73rem}.ay-settings-step-nav button.is-selected span{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}.ay-settings-footer:not(.setup-footer){min-height:64px}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__pager .ay-button{width:44px;min-width:44px;min-height:44px}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions .ay-button{min-height:44px}.ay-settings-assistant-launcher{border-radius:var(--ui-radius-sm);min-height:44px;box-shadow:var(--ui-shadow-popover)}.ay-settings-assistant-launcher svg,.ay-settings-assistant-window-actions svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.ay-settings-assistant{box-shadow:var(--ui-shadow-dialog);animation:ay-assistant-in var(--ui-duration-dialog) var(--ui-ease-drawer) both}@keyframes ay-assistant-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.ay-settings-assistant button{min-height:44px}.ay-settings-assistant .ay-settings-assistant-window-actions button{place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;display:grid}.ay-settings-assistant-window-actions svg{flex:none}.ay-settings-assistant-launcher{right:22px;bottom:calc(max(64px, 53px + env(safe-area-inset-bottom)) + 12px);width:48px;height:48px;transition:background-color var(--ui-duration-fast) ease, transform .12s var(--ui-ease-out);border-radius:50%;justify-content:center;padding:0}.ay-settings-assistant-launcher:active{transform:scale(.94)}html[data-theme-surface=clinic-configuration] .ay-settings-assistant-launcher{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=clinic-configuration] .ay-settings-assistant-launcher:hover{background:var(--ui-accent-fill-hover)}}html[data-theme-surface=clinic-configuration] .ay-settings-assistant-launcher:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}html.clinical-ui.dark[data-theme-surface=clinic-configuration] .ay-settings-assistant-launcher{border-color:var(--ui-accent);background:var(--ui-accent);color:var(--ui-canvas)}@media (hover:hover) and (pointer:fine){html.clinical-ui.dark[data-theme-surface=clinic-configuration] .ay-settings-assistant-launcher:hover{background:var(--ui-accent-hover)}}.ay-settings-assistant-launcher>.ay-icon-tip{transform-origin:100% 100%;top:auto;bottom:calc(100% + 8px);right:0;transform:translateY(2px)scale(.97)}.ay-settings-assistant-launcher:focus-visible>.ay-icon-tip{opacity:1;visibility:visible;transition-delay:0s;transform:none}@media (hover:hover) and (pointer:fine){.ay-settings-assistant-launcher:hover>.ay-icon-tip{opacity:1;visibility:visible;transition-delay:.35s,.35s,0s;transform:none}}html[data-theme-surface=clinic-configuration] .ay-settings-editor{padding-bottom:calc(max(64px, 53px + env(safe-area-inset-bottom)) + 12px + 48px + 20px)}@media (width<=600px){.ay-settings-assistant-launcher{right:12px}}.ay-advanced-settings{grid-template-columns:minmax(190px,240px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.ay-advanced-nav{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);align-content:start;gap:4px;padding:7px;display:grid;position:sticky;top:0}.ay-advanced-nav>div,.ay-team-list>div{min-width:0;position:relative}.ay-advanced-nav-button,.ay-team-member{border-radius:var(--ui-radius-sm);width:100%;min-height:54px;color:var(--ui-text-soft);font:inherit;text-align:left;background:0 0;border:1px solid #0000;gap:3px;padding:9px 11px;display:grid}.ay-advanced-nav-button strong,.ay-team-member strong{color:var(--ui-text);font-size:.76rem}.ay-advanced-nav-button small,.ay-team-member small{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.67rem;line-height:1.35;overflow:hidden}.ay-advanced-nav-button:hover,.ay-advanced-nav-button.is-selected,.ay-team-member:hover,.ay-team-member.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-advanced-content,.ay-advanced-stack,.ay-workflow-step-fields{gap:14px;min-width:0;display:grid}.ay-action-inline{align-items:center;gap:6px;min-width:0;display:inline-flex}.ay-action-inline .ay-button{min-height:42px}.ay-action-inline .clinic-settings-info{flex:none}.ay-workflow-step-fields{gap:10px;margin-top:12px}.ay-team-browser{grid-template-columns:minmax(180px,.8fr) minmax(0,1.5fr);gap:18px;display:grid}.ay-team-list{border-right:1px solid var(--ui-border);align-content:start;gap:4px;padding-right:14px;display:grid}.ay-team-detail{min-width:0}.ay-team-detail h4{margin:0 0 4px;font-size:.9rem}.ay-team-detail dl{gap:8px;margin:16px 0 0;display:grid}.ay-team-detail dl div{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:12px;padding:8px 0;display:grid}.ay-team-detail dt{color:var(--ui-muted);font-size:.7rem}.ay-team-detail dd{color:var(--ui-text);margin:0;font-size:.74rem;font-weight:650}.ay-team-list .ay-team-member{text-align:left;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start;gap:2px;min-height:56px;padding:10px 12px;display:grid}.ay-team-list .ay-team-member strong{overflow-wrap:anywhere;font-size:.78rem;line-height:1.3}.ay-team-list .ay-team-member small{white-space:normal;text-overflow:clip;color:var(--ui-muted);font-weight:500;line-height:1.4;overflow:visible}.ay-wellness-track-settings__note{color:var(--ui-muted);grid-column:1/-1;margin:0;font-size:.7rem;line-height:1.45}.ay-settings-page .ay-button:has(>.ay-settings-icon){justify-content:center;align-items:center;gap:7px;display:inline-flex}.ay-settings-page .ay-button>.ay-settings-icon{width:16px;height:16px}.ay-settings-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.ay-team-detail{align-content:start;gap:14px;display:grid}.ay-team-detail>p{margin:0}.ay-team-detail>.ay-settings-panel-action{justify-self:start}.ay-team-list .ay-team-add-button{justify-content:flex-start;width:100%;margin-bottom:8px}.ay-team-list .ay-team-add-button.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-team-add,.ay-team-add-fields,.ay-team-find,.ay-signing,.ay-signing-form{align-content:start;gap:14px;min-width:0;display:grid}.ay-team-pane-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;display:flex}.ay-team-pane-header h4{margin:0;font-size:.9rem}.ay-team-pane-header p{color:var(--ui-muted);flex:100%;order:3;margin:0;font-size:.72rem;line-height:1.5}.ay-team-hint{color:var(--ui-muted);margin:0;font-size:.7rem;line-height:1.5}.ay-team-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ay-team-detail .ay-team-actions .ay-settings-panel-action{justify-self:auto}.ay-team-account{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);gap:8px;padding:12px;display:grid}.ay-team-account>strong{color:var(--ui-text);overflow-wrap:anywhere;font-size:.78rem}.ay-team-account ul{flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;list-style:none;display:flex}.ay-team-account li{align-items:center;gap:6px;font-size:.72rem;font-weight:650;display:inline-flex}.ay-team-account li.is-ok{color:var(--ui-success)}.ay-team-account li.is-missing{color:var(--ui-danger)}.ay-team-account li .ay-settings-icon{width:16px;height:16px}.ay-signing{border-top:1px solid var(--ui-border);padding-top:16px}.ay-signing-badge{border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-muted);border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:.68rem;font-weight:700;display:inline-flex}.ay-signing-badge .ay-settings-icon{width:15px;height:15px}.ay-signing-badge.is-approved{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-team-detail .ay-signing-facts{gap:0;margin:0;display:grid}.ay-signing-facts div{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:12px;padding:8px 0;display:grid}.ay-signing-facts dt{color:var(--ui-muted);font-size:.7rem}.ay-signing-facts dd{color:var(--ui-text);overflow-wrap:anywhere;margin:0;font-size:.74rem;font-weight:650}.ay-signing-form .ay-patient-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-state-picker{gap:8px;display:grid}.ay-state-summary{color:var(--ui-muted);overflow-wrap:anywhere;margin:0;font-size:.7rem;line-height:1.5}.ay-state-chips{flex-wrap:wrap;gap:6px;max-height:208px;padding:2px;display:flex;overflow-y:auto}.ay-state-chips .ay-state-chip{letter-spacing:.02em;min-width:44px;min-height:36px;padding:6px 8px;font-size:.72rem;font-weight:700}.ay-state-chips .ay-state-chip.is-selected{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}.ay-state-chips .ay-state-chip.is-selected:hover{border-color:var(--ui-accent-fill-hover);background:var(--ui-accent-fill-hover);color:var(--ui-on-accent)}@media (width<=600px){.ay-signing-form .ay-patient-settings-form{grid-template-columns:minmax(0,1fr)}.ay-state-chips{max-height:248px}.ay-state-chips .ay-state-chip{min-width:48px;min-height:44px}.ay-team-actions .ay-button{flex:auto}}.ay-operations-list{gap:12px;display:grid}.ay-operations-item{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);gap:10px;padding:14px;display:grid}.ay-operations-item__heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-operations-item :where(h4,p){margin:0}.ay-operations-item h4{color:var(--ui-text);font-size:.78rem}.ay-operations-item>p{color:var(--ui-muted);font-size:.7rem;line-height:1.45}.ay-operations-item>.ay-button,.ay-reconcile-form>.ay-button{justify-self:start;width:auto}.ay-reconcile-form{border-top:1px solid var(--ui-border);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:10px;display:grid}.ay-reconcile-form>.ay-action-inline{align-self:end}.ay-intake-menu-button{border-radius:var(--ui-radius-sm);width:44px;height:44px}.ay-intake-startup__icon svg,.ay-intake-menu button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 20px;width:20px;height:20px}.ay-intake-menu{box-shadow:var(--ui-shadow-popover)}.ay-intake-menu button,.ay-intake-menu a{min-height:44px}.ay-intake-bubble{background:var(--ui-surface);border-radius:16px 16px 16px 5px}.ay-intake-bubble.is-patient{border-radius:16px 16px 5px}.ay-intake-choice{border-radius:var(--ui-radius);background:var(--ui-surface-soft);min-height:44px}.ay-intake-ai-status,.ay-intake-voice{min-height:36px}.ay-intake-transcript-end{width:1px;height:1px}.ay-intake-latest{z-index:4;width:max-content;box-shadow:var(--ui-shadow-popover);justify-self:center;position:sticky;bottom:8px}html.clinical-ui.dark .ay-intake-bubble.is-assistant{border-color:var(--ui-chat-assistant-border);background:var(--ui-chat-assistant-surface)}html.clinical-ui.dark .ay-intake-bubble.is-patient{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}html.clinical-ui.dark .ay-intake-choice{border-color:var(--ui-chat-choice-border);background:var(--ui-chat-choice-surface)}html.clinical-ui.dark .ay-intake-choice:hover{border-color:var(--ui-accent-border);background:var(--ui-chat-choice-hover)}html.clinical-ui.dark .ay-intake-choice:has(input:checked){border-color:var(--ui-accent);background:var(--ui-accent-soft)}@media (hover:hover){.ay-rail-button:hover,.ay-chart-tab:hover,.ay-queue-row:hover,.ay-settings-step-nav button:hover,.ay-intake-menu button:hover,.ay-intake-menu a:hover{transition:background-color var(--ui-duration-fast) var(--ui-ease-out), border-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out)}}@media (width<=600px){.ay-auth-main{padding:16px 14px}.ay-auth-card{width:min(100%,448px);height:auto;min-height:0;max-height:calc(100dvh - 32px);padding:24px 20px;overflow:auto}.ay-auth-options-row{gap:8px}.ay-auth-link{white-space:nowrap;font-size:.72rem}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__pager .ay-button{width:44px;min-width:44px;height:44px;min-height:44px}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions .ay-button{min-height:44px;padding:8px 10px;font-size:.68rem}.ay-intake-bubble{max-width:92%}}@media (width<=780px){.ay-advanced-settings{grid-template-columns:minmax(0,1fr)}.ay-advanced-nav{display:flex;position:static;overflow-x:auto}.ay-advanced-nav>div{flex:0 0 150px}.ay-advanced-nav-button small{white-space:normal}.ay-team-browser{grid-template-columns:minmax(0,1fr)}.ay-team-list{border-right:0;border-bottom:1px solid var(--ui-border);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:0 0 14px}.ay-reconcile-form,.ay-settings-group-grid,.ay-settings-field-card-grid,.ay-workflow-stage-grid,.ay-settings-content-grid.ay-eligibility-grid{grid-template-columns:minmax(0,1fr)}.ay-settings-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-settings-subsection-heading{flex-direction:column;align-items:flex-start}.ay-settings-subsection-heading .ay-button{justify-content:center;width:100%}.preview-dashboard-layout{grid-template-columns:64px minmax(0,1fr)}.preview-dashboard-chart{border-top:1px solid var(--ui-border);grid-column:1/-1}}@media (prefers-reduced-motion:reduce){.ay-queue-filter-panel,.ay-intake-menu,.ay-settings-dialog,.ay-settings-dialog-backdrop,.ay-settings-assistant{animation-duration:1ms;transform:none}}@font-face{font-family:Quicksand;font-style:normal;font-display:swap;font-weight:300 700;src:url(/vendor/fonts/quicksand-vietnamese-wght-normal.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Quicksand;font-style:normal;font-display:swap;font-weight:300 700;src:url(/vendor/fonts/quicksand-latin-ext-wght-normal.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Quicksand;font-style:normal;font-display:swap;font-weight:300 700;src:url(/vendor/fonts/quicksand-latin-wght-normal.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Arabic;font-style:normal;font-display:swap;font-weight:100 900;src:url(/vendor/fonts/noto-sans-arabic-arabic-wght-normal.woff2)format("woff2-variations");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}@font-face{font-family:Noto Nastaliq Urdu;font-style:normal;font-display:swap;font-weight:400 700;src:url(/vendor/fonts/noto-nastaliq-urdu-arabic-wght-normal.woff2)format("woff2-variations");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}@font-face{font-family:Noto Sans Myanmar;font-style:normal;font-display:swap;font-weight:100 900;src:url(/vendor/fonts/noto-sans-myanmar-myanmar-wght-normal.woff2)format("woff2-variations");unicode-range:U+1000-109F,U+200C-200D,U+25CC,U+A92E,U+A9E0-A9FE,U+AA60-AA7F,U+116D0-116E3}@font-face{font-family:Noto Sans Devanagari;font-style:normal;font-display:swap;font-weight:100 900;src:url(/vendor/fonts/noto-sans-devanagari-devanagari-wght-normal.woff2)format("woff2-variations");unicode-range:U+900-97F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}:root{color-scheme:light;--ay-content-width:1120px;--ui-canvas:#f6f8f8;--ui-surface:#fff;--ui-surface-soft:#f9fbfb;--ui-surface-muted:#f1f4f4;--ui-border:#e8ebec;--ui-border-strong:#dce1e2;--ui-text:#202a30;--ui-text-soft:#344148;--ui-muted:#344148;--ui-faint:#46535a;--ui-brand:var(--deployment-brand,#0e9d90);--ui-accent:var(--deployment-brand-strong,#0f5954);--ui-accent-fill:var(--deployment-brand-strong,#0f5954);--ui-accent-fill-hover:color-mix(in srgb, var(--ui-accent-fill) 84%, #000);--ui-on-accent:#fff;--ui-accent-hover:color-mix(in srgb, var(--ui-accent) 84%, #000);--ui-accent-soft:var(--deployment-brand-wash,#e8f3f1);--ui-accent-border:var(--deployment-brand-wash-strong,#bfd9d5);--ui-info:#1f4e70;--ui-info-soft:#eaf3fb;--ui-info-border:#cbdfee;--ui-referral:#5b3aa8;--ui-referral-soft:#f1ecfb;--ui-referral-border:#d8ccf1;--ui-success:#145c3b;--ui-success-soft:#e9f5ed;--ui-success-border:#c8e2d1;--ui-warning:#5c3b13;--ui-warning-soft:#f8efe0;--ui-warning-border:#ead6b3;--ui-danger:#74251f;--ui-danger-soft:#faeae8;--ui-danger-border:#e8c2bf;--ui-overlay:#18222780;--ui-chat-assistant-surface:var(--ui-surface);--ui-chat-assistant-border:var(--ui-border);--ui-chat-choice-surface:var(--ui-surface-soft);--ui-chat-choice-border:var(--ui-border-strong);--ui-chat-choice-hover:var(--ui-accent-soft);--ui-radius-xs:5px;--ui-radius-sm:7px;--ui-radius:9px;--ui-radius-lg:11px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;--ui-space-6:24px;--ui-space-8:32px;--ui-content-reading:720px;--ui-content-form:1040px;--ui-content-workspace:1440px;--ui-shadow-card:0 1px 2px #382d2009, 0 7px 20px #382d2007;--ui-shadow-popover:0 14px 38px #382d2024, 0 3px 10px #382d2012;--ui-shadow-dialog:0 28px 72px #2b221933, 0 7px 22px #2b22191a;--ui-shadow-footer:0 -8px 24px #382d200e;--ui-duration-fast:.14s;--ui-duration-standard:.19s;--ui-duration-dialog:.25s;--ui-ease-out:cubic-bezier(.23, 1, .32, 1);--ui-ease-in-out:cubic-bezier(.77, 0, .175, 1);--ui-ease-drawer:cubic-bezier(.32, .72, 0, 1);--ui-focus:0 0 0 3px color-mix(in srgb, var(--ui-accent) 20%, transparent);--ui-font:"Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif}*,:before,:after{box-sizing:border-box}html{background:var(--ui-canvas);color:var(--ui-text);font-family:var(--ui-font);scrollbar-color:var(--ui-border-strong) transparent;font-size:17px}body{background:var(--ui-canvas);min-width:320px;color:var(--ui-text);font-family:var(--ui-font);margin:0;line-height:1.45}button,input,textarea,select{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}::selection{background:var(--ui-accent-soft);color:var(--ui-text)}button:disabled{cursor:not-allowed;border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-muted);-webkit-text-fill-color:currentColor;opacity:1!important}a{color:var(--ui-accent)}[hidden],.hidden,.module-disabled{display:none!important}:where(button,a,input,textarea,select,[tabindex]):focus-visible{box-shadow:var(--ui-focus);outline:0}html.clinical-ui .ui-loading-state{white-space:nowrap;flex-wrap:nowrap;justify-content:center;align-items:center;gap:7px;max-width:100%;display:inline-flex}html.clinical-ui .ui-loading-state i{flex:0 0 15px;width:15px;height:15px}html.clinical-ui .ui-loading-state>span{min-width:0}.flex{display:flex}.grid{display:grid}.block{display:block}.inline-flex{display:inline-flex}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.flex-wrap{flex-wrap:wrap}.gap-2{gap:8px}.gap-3{gap:12px}.ml-auto{margin-left:auto}.mb-1{margin-bottom:4px}.mb-3{margin-bottom:12px}.w-full{width:100%}.min-w-0{min-width:0}.shrink-0{flex-shrink:0}.text-center{text-align:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.space-y-2>*+*{margin-top:8px}.space-y-3>*+*{margin-top:12px}.space-y-4>*+*{margin-top:16px}.space-y-5>*+*{margin-top:20px}.text-display{color:var(--ui-text);letter-spacing:-.025em;margin:0;font-size:1.45rem;font-weight:650}.text-title{color:var(--ui-text);letter-spacing:-.015em;margin:0;font-size:1rem;font-weight:650}.text-caption,.text-xs{color:var(--ui-muted);font-size:.76rem;line-height:1.45}.text-primary{color:var(--ui-text)}.text-accent{color:var(--ui-accent)}.text-danger{color:var(--ui-danger)}.font-medium{font-weight:550}.font-semibold{font-weight:650}.card,.ui-card,.clinical-card,.ay-card,.ay-clinical-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card)}.btn,.ui-button,.ay-button,.clinical-surface button,.clinical-surface a.ui-button{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);min-height:40px;color:var(--ui-text-soft);transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out), box-shadow var(--ui-duration-fast) var(--ui-ease-out), transform var(--ui-duration-fast) var(--ui-ease-out);justify-content:center;align-items:center;gap:7px;padding:8px 14px;font-size:.76rem;font-weight:620;line-height:1.1;text-decoration:none;display:inline-flex}.btn:hover,.ui-button:hover,.ay-button:hover,.clinical-surface button:hover,.clinical-surface a.ui-button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.btn-primary,.ui-button--primary,.ay-button--primary,.clinical-surface button.primary,.clinical-surface .ui-button--primary{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}.btn-primary:hover,.ui-button--primary:hover,.ay-button--primary:hover,.clinical-surface button.primary:hover,.clinical-surface .ui-button--primary:hover{border-color:var(--ui-accent-fill-hover);background:var(--ui-accent-fill-hover);color:var(--ui-on-accent)}.btn-secondary,.ui-button--secondary,.ay-button--secondary{background:var(--ui-surface)}.ui-button--soft,.ay-button--soft,.clinical-surface .ui-button--soft{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ui-button--soft:hover,.ay-button--soft:hover,.clinical-surface .ui-button--soft:hover{border-color:var(--ui-accent);background:color-mix(in srgb, var(--ui-accent-soft) 78%, var(--ui-accent) 22%);color:var(--ui-accent-hover)}.ay-button--quiet{color:var(--ui-text-soft);background:0 0}.ay-button--quiet:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}html[data-theme-surface] .ay-intake-main .ay-button.ay-service-choice{justify-content:center;align-items:center;gap:10px;display:inline-flex}html[data-theme-surface] .ay-intake-main .ay-button.ay-service-choice svg{background:var(--ui-accent-soft);width:30px;height:30px;color:var(--ui-accent);border-radius:8px;flex:none;padding:6px}.btn-danger,.ui-button--danger,.ay-button--danger{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.btn-danger:hover,.ui-button--danger:hover,.ay-button--danger:hover{border-color:var(--ui-danger);background:var(--ui-danger);color:#fff}.ay-button:active:not(:disabled){transform:translateY(1px)}.btn-icon,.ui-icon-button{border-radius:var(--ui-radius-sm);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--ui-muted);background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.btn-icon:hover,.ui-icon-button:hover{background:var(--ui-surface-muted);color:var(--ui-accent)}.ui-field,.clinical-surface label.ui-field{min-width:0;color:var(--ui-text-soft);align-content:start;gap:6px;margin:0;font-size:.76rem;font-weight:620;display:grid}.ui-field__hint{color:var(--ui-muted);font-size:.7rem;font-weight:450;line-height:1.45}.ui-input,.ui-textarea,.ui-select,.clinical-surface input:not([type=checkbox]):not([type=radio]),.clinical-surface textarea,.clinical-surface select{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:100%;min-width:0;min-height:40px;color:var(--ui-text);margin:0;padding:9px 11px;font-size:14px;font-weight:430;line-height:1.4}.ui-textarea,.clinical-surface textarea{resize:vertical;min-height:96px}:root{--ui-select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23768187' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}html.dark{--ui-select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab7b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.ui-select,.clinical-surface select{appearance:none;background-image:var(--ui-select-chevron);background-position:right 11px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:34px}.ui-input:hover,.ui-textarea:hover,.ui-select:hover,.clinical-surface input:not([type=checkbox]):not([type=radio]):hover,.clinical-surface textarea:hover,.clinical-surface select:hover{border-color:#c8d2d4}.ui-input:focus,.ui-textarea:focus,.ui-select:focus,.clinical-surface input:not([type=checkbox]):not([type=radio]):focus,.clinical-surface textarea:focus,.clinical-surface select:focus{border-color:var(--ui-accent)}input[type=checkbox],input[type=radio]{accent-color:var(--ui-accent)}.ui-form,.clinical-surface form{gap:13px;margin:0;display:grid}.ui-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px;display:grid}.ui-form-actions,.actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.ui-form-section{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-width:0;box-shadow:var(--ui-shadow-card);padding:16px}.ui-form-section__header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.ui-form-section__header h3,.ui-card h3{color:var(--ui-text);margin:0;font-size:.9rem;font-weight:650}.ui-form-section__header p{color:var(--ui-muted);margin:4px 0 0;font-size:.72rem}.ui-disclosure{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-width:0;box-shadow:var(--ui-shadow-card);overflow:hidden}.ui-disclosure__trigger,.clinical-surface .ui-disclosure__trigger{width:100%;min-height:44px;color:var(--ui-text);text-align:left;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;font-size:.78rem;font-weight:650;display:flex}.ui-disclosure__trigger:hover,.clinical-surface .ui-disclosure__trigger:hover{background:var(--ui-surface-soft);color:var(--ui-accent);border-color:#0000}.ui-disclosure__trigger i{flex:0 0 13px;width:13px;height:13px;transition:transform .14s}.ui-disclosure__trigger[aria-expanded=true] i{transform:rotate(180deg)}.ui-disclosure__body{border-top:1px solid var(--ui-border);gap:13px;padding:0 13px 13px;display:grid}.ui-disclosure__body[hidden]{display:none}.ui-disclosure__body>:first-child{margin-top:13px}.ui-chip,.clinical-badge,.badge,.eyebrow{background:var(--ui-surface-muted);color:#566268;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;width:fit-content;padding:5px 8px;font-size:.65rem;font-weight:620;line-height:1;display:inline-flex}.ui-chip--success{background:var(--ui-success-soft);color:var(--ui-success)}.ui-chip--warning{background:var(--ui-warning-soft);color:var(--ui-warning)}.ui-chip--danger{background:var(--ui-danger-soft);color:var(--ui-danger)}.ui-modal,.dashboard-modal{z-index:100;background:#18222780;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.ui-dialog,.dashboard-dialog{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,620px);max-height:min(90dvh,840px);box-shadow:var(--ui-shadow-dialog);overflow:auto}.ui-dialog__header,.ui-dialog__footer{justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;display:flex}.ui-dialog__header{border-bottom:1px solid var(--ui-border)}.ui-dialog__footer{border-top:1px solid var(--ui-border)}.ui-dialog__body{padding:17px}.fa-solid,.fa-regular,.fa-brands{width:18px;height:18px;-webkit-mask:var(--ui-icon) center / contain no-repeat;mask:var(--ui-icon) center / contain no-repeat;background:currentColor;flex:0 0 18px;line-height:0;display:inline-block;font-size:0!important}.fa-magnifying-glass{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cpath d='m20 20-3.7-3.7'/%3E%3C/svg%3E")}.fa-house{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v11h14V10M9 21v-7h6v7'/%3E%3C/svg%3E")}.fa-clipboard-check{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5V3h6v2M8 4H6v17h12V4h-2'/%3E%3Cpath d='m9 13 2 2 4-5'/%3E%3C/svg%3E")}.fa-sliders,.fa-arrow-down-short-wide,.fa-arrow-up-short-wide{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h3M11 17h9M14 4v6M7 14v6'/%3E%3C/svg%3E")}.fa-stethoscope{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v6a4 4 0 0 0 8 0V3M4 3h4M12 3h4M10 15v1a4 4 0 0 0 8 0v-2'/%3E%3Ccircle cx='18' cy='11' r='2'/%3E%3C/svg%3E")}.fa-leaf{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4C12 4 5 8 5 15c0 3 2 5 5 5 7 0 10-8 10-16Z'/%3E%3Cpath d='M4 21c3-7 8-10 13-13'/%3E%3C/svg%3E")}.fa-box-archive,.fa-folder-open{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v13H4zM3 3h18v4H3zM9 11h6'/%3E%3C/svg%3E")}.fa-users,.fa-user,.fa-address-card,.fa-user-check,.fa-user-lock,.fa-user-plus{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-4 2-6 6-6s6 2 6 6M17 5a3 3 0 0 1 0 6M18 14c2 .6 3 2.4 3 5'/%3E%3C/svg%3E")}.fa-bell{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E")}.fa-xmark{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E")}.fa-envelope,.fa-envelope-circle-check{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM3 6l9 7 9-7'/%3E%3C/svg%3E")}.fa-note-sticky,.fa-file-medical,.fa-notes-medical,.fa-clipboard,.fa-file-pdf{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6zM15 3v4h4M9 11h6M9 15h6'/%3E%3C/svg%3E")}.fa-list-check{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m3 6 2 2 3-4M11 6h10M3 14l2 2 3-4M11 14h10M11 20h10'/%3E%3C/svg%3E")}.fa-comment-dots{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E")}.fa-check{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")}.fa-arrow-left,.fa-chevron-left{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E")}.fa-chevron-right{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E")}.fa-chevron-down{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.fa-prescription{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 3v18M5 4h7a4 4 0 0 1 0 8H5M11 12l8 9M18 13l-7 8'/%3E%3C/svg%3E")}.fa-flask{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6L4 20h16L14 9V3M7 15h10'/%3E%3C/svg%3E")}.fa-x-ray,.fa-image{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m4 18 5-5 4 4 2-2 5 5'/%3E%3C/svg%3E")}.fa-download,.fa-arrow-up-right-from-square{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E")}.fa-trash,.fa-trash-can{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/svg%3E")}.fa-lock,.fa-shield-halved{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3C/svg%3E")}.fa-triangle-exclamation,.fa-exclamation{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 10 18H2zM12 9v5M12 18h.01'/%3E%3C/svg%3E")}.fa-copy{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V4H4v12h4'/%3E%3C/svg%3E")}.fa-arrows-rotate,.fa-rotate{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M6.5 8A7 7 0 0 1 19 10M17.5 16A7 7 0 0 1 5 14'/%3E%3C/svg%3E")}.fa-arrow-right-from-bracket{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 4H4v16h6M14 8l4 4-4 4M8 12h10'/%3E%3C/svg%3E")}.fa-circle-question{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.7 9a2.5 2.5 0 1 1 3.1 2.4c-.8.3-.8 1-.8 1.6M12 17h.01'/%3E%3C/svg%3E")}.fa-gear{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.38a2 2 0 0 0-.73-2.73l-.15-.09a2 2 0 0 1-1-1.74v-.51a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}.fa-clock,.fa-clock-rotate-left{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}.fa-route{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 18h3a3 3 0 0 0 3-3v-6a3 3 0 0 1 3-3h1'/%3E%3C/svg%3E")}.fa-calendar-check{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18M8 15l2 2 5-5'/%3E%3C/svg%3E")}.fa-paperclip{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 11-8.5 8.5a5 5 0 0 1-7-7L14 3a3.5 3.5 0 0 1 5 5l-9.5 9.5a2 2 0 0 1-3-3L15 6'/%3E%3C/svg%3E")}.fa-mobile-screen-button{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2'/%3E%3Cpath d='M10 5h4M12 18h.01'/%3E%3C/svg%3E")}.fa-heart-pulse{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3Cpath d='M3 12h5l2-3 3 6 2-3h6'/%3E%3C/svg%3E")}.fa-wand-magic-sparkles{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m4 20 11-11M13 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1zM19 13l.7 1.3L21 15l-1.3.7L19 17l-.7-1.3L17 15l1.3-.7zM5 6l.7 1.3L7 8l-1.3.7L5 10l-.7-1.3L3 8l1.3-.7z'/%3E%3C/svg%3E")}.fa-circle-notch{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3a9 9 0 1 1-8 5'/%3E%3C/svg%3E")}.fa-moon{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 15.5A8.5 8.5 0 0 1 8.5 4 8.5 8.5 0 1 0 20 15.5Z'/%3E%3C/svg%3E")}.fa-sun{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E")}.fa-plus{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")}.fa-bars{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E")}.fa-ellipsis{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='5' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='19' cy='12' r='1.6'/%3E%3C/svg%3E")}.fa-language{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h10M9 3v2M6 9c2 3 4 5 7 6M13 6c-1 4-4 7-8 9M14 21l4-10 4 10M15.5 17h5'/%3E%3C/svg%3E")}.fa-microphone{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3M9 21h6'/%3E%3C/svg%3E")}.fa-paper-plane{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-8-8 18-2-8zM11 13 21 3'/%3E%3C/svg%3E")}.fa-stop{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3C/svg%3E")}.fa-circle{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E")}.fa-circle-check{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E")}.fa-circle-exclamation{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E")}.fa-arrow-rotate-right,.fa-rotate-right{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 1 0-2.3 5.7M20 4v7h-7'/%3E%3C/svg%3E")}.fa-shield-heart{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='M15.4 9.2a2.1 2.1 0 0 0-3 0l-.4.4-.4-.4a2.1 2.1 0 1 0-3 3L12 15.5l3.4-3.3a2.1 2.1 0 0 0 0-3Z'/%3E%3C/svg%3E")}.fa-apple{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16.7 13.1c0-2.5 2-3.7 2.1-3.8a4.6 4.6 0 0 0-3.6-2c-1.5-.2-3 .9-3.8.9-.8 0-2-.9-3.3-.8a4.9 4.9 0 0 0-4.1 2.5c-1.8 3.1-.5 7.7 1.2 10.2.9 1.2 1.9 2.5 3.2 2.4 1.3-.1 1.8-.8 3.4-.8 1.6 0 2 .8 3.4.8 1.4 0 2.3-1.2 3.1-2.4 1-1.4 1.4-2.8 1.4-2.9-.1 0-3-.9-3-4.1ZM14.2 5.7a4.2 4.2 0 0 0 1-3.1 4.4 4.4 0 0 0-2.9 1.5 4 4 0 0 0-1 3c1.1.1 2.2-.5 2.9-1.4Z'/%3E%3C/svg%3E")}.fa-google-play{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 3.8v16.4l9-8.2zM14.4 10.7l2.4-2.2L6.8 3l7.6 7.7ZM14.4 13.3 6.8 21l10-5.5zM18 9.2 15.1 12l2.9 2.8c2.7-1.5 2.7-4.1 0-5.6Z'/%3E%3C/svg%3E")}.fa-spin{animation:.8s linear infinite ui-spin}@keyframes ui-spin{to{transform:rotate(360deg)}}@media (width<=720px){.ui-form-grid{grid-template-columns:1fr}.ui-dialog,.dashboard-dialog{width:100%;max-height:calc(100dvh - 18px)}.ui-modal,.dashboard-modal{align-items:end;padding:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}html,body{overscroll-behavior-x:none;width:100%;min-width:320px;height:100%;overflow:hidden}body{min-height:100dvh}#authLoadingGate,#pinGate{z-index:120;background:var(--ui-canvas);justify-content:center;place-items:center;padding:20px;display:grid;position:fixed;inset:0}#authLoadingGate[hidden],#authLoadingGate.hidden,#pinGate[hidden],#pinGate.hidden{display:none!important}.auth-loading-content{box-sizing:border-box;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);width:min(404px,100vw - 40px);height:440px;min-height:440px;color:var(--ui-text-soft);box-shadow:var(--ui-shadow-dialog);background:#fff;justify-content:center;align-items:center;gap:10px;padding:24px;font-size:.82rem;display:flex;overflow:hidden}#pinGate>.card{box-sizing:border-box;width:min(404px,100vw - 40px);height:440px;min-height:440px;padding:24px;overflow:hidden}.login-card{box-shadow:var(--ui-shadow-dialog);grid-template-rows:auto 1fr;align-content:start;gap:18px;display:grid}.login-card-header{justify-items:center;gap:8px;display:grid}.login-card-icon{width:48px;height:48px;margin:0 auto 2px;font-size:1rem}.login-form{gap:12px;display:grid}.icon-tile{border-radius:var(--ui-radius);background:var(--ui-accent-soft);color:var(--ui-accent);place-items:center;display:grid}.login-options-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.remember-me-row,.remember-me-label{align-items:center;gap:6px;display:flex}.remember-me-label{color:var(--ui-text-soft);margin:0}.remember-me-label input{width:17px;height:17px;margin:0}.remember-me-info{border:1px solid var(--ui-border-strong);width:18px;height:18px;color:var(--ui-muted);font:inherit;cursor:help;background:0 0;border-radius:50%;place-items:center;padding:0;font-size:10px;display:grid;position:relative}.remember-me-info:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.remember-me-tooltip{border-radius:var(--ui-radius-sm);color:#fff;background:#172126;width:230px;padding:8px 10px;font-size:.68rem;line-height:1.4;display:none;position:absolute;bottom:26px;left:0}.remember-me-info:hover .remember-me-tooltip,.remember-me-info:focus .remember-me-tooltip{display:block}.login-text-button{color:var(--ui-accent);background:0 0;border:0;font-size:.76rem;font-weight:600;text-decoration:none}.login-notice{border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-accent-hover);padding:9px 10px;font-size:.74rem;line-height:1.45}.login-form>.text-danger,.login-notice{min-height:38px}#loginForm input:not([type=checkbox]):not([type=radio]),#loginMfaForm input:not([type=checkbox]):not([type=radio]){min-height:42px;border:1px solid var(--ui-border-strong)!important;border-radius:var(--ui-radius-sm)!important;width:100%!important;color:var(--ui-text)!important;background:#fff!important;margin:0!important;padding:10px 12px!important;font-size:14px!important;transform:none!important}.verification-dialog{z-index:1000;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100vw - 36px,460px);max-width:none;max-height:min(100dvh - 36px,720px);color:var(--ui-text);box-shadow:var(--ui-shadow-dialog);padding:0;overflow:hidden;margin:auto!important;position:fixed!important;inset:0!important}.verification-dialog::backdrop{background:#18222780}.verification-dialog h2{margin:0;font-size:1rem;font-weight:700}.verification-dialog__form{overscroll-behavior:contain;gap:12px;max-height:calc(100dvh - 96px);display:grid;overflow-y:auto}.verification-dialog__error{color:var(--ui-danger);margin:-2px 0 0;font-size:.72rem;font-weight:550;line-height:1.4}.verification-dialog__actions{margin:4px -17px -17px}.verification-dialog__actions .ui-button{flex:0 auto}#recentAuthModal,#dashboardInputModal,#dashboardConfirmModal,#mfaEnrollmentModal,#aiSettingsModal,#notificationCenterModal,#accountSettingsModal,.attachment-preview-modal{place-items:center;display:grid;z-index:100!important;background:#18222780!important;padding:18px!important;position:fixed!important;inset:0!important}#dashboardInputModal,#dashboardConfirmModal{z-index:140!important}#recentAuthModal,#mfaEnrollmentModal{z-index:150!important}#recentAuthModal.hidden,#dashboardInputModal.hidden,#dashboardConfirmModal.hidden,#mfaEnrollmentModal.hidden,#aiSettingsModal.hidden,#notificationCenterModal.hidden,#accountSettingsModal.hidden,.attachment-preview-modal.hidden{display:none!important}.dashboard-settings-dialog,.attachment-preview-dialog{max-height:min(90dvh,850px);overflow:auto;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius-lg)!important;width:min(100%,520px)!important;max-width:none!important;box-shadow:var(--ui-shadow-dialog)!important;background:#fff!important;padding:20px!important}.dashboard-settings-dialog{width:min(100%,940px)!important;padding:0!important}.focused-dialog{width:min(100%,680px)}.settings-dialog-subtitle,.dialog-subtitle{margin:3px 0 0}.notification-center-body,.account-settings-body{gap:12px;display:grid}.clinic-alert-list{gap:8px;margin-top:10px;display:grid}.clinic-alert-row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:10px;display:flex}.clinic-alert-row.is-critical{border-color:var(--ui-danger-border);background:var(--ui-danger-soft)}.patient-message-notification-row .btn{flex:none}.security-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.dashboard-settings-header,.dashboard-settings-footer,.attachment-preview-header,.attachment-preview-footer{justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;display:flex}.dashboard-settings-header,.attachment-preview-header{border-bottom:1px solid var(--ui-border)}.dashboard-settings-footer,.attachment-preview-footer{border-top:1px solid var(--ui-border)}.dashboard-settings-body{padding:17px;overflow:auto}.settings-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.settings-panel{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:#fff;min-width:0;padding:15px}.settings-panel--wide{grid-column:1/-1}.settings-panel-title{color:var(--ui-text);margin:0;font-size:.86rem;font-weight:650}.settings-panel-help{color:var(--ui-muted);margin:4px 0 12px;font-size:.72rem;line-height:1.5}.attachment-preview-dialog{width:min(100%,920px)!important;padding:0!important}.attachment-preview-eyebrow{color:var(--ui-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.65rem;font-weight:650}.attachment-preview-heading h3{margin:3px 0 0;font-size:1rem}.attachment-preview-close-icon{border-radius:var(--ui-radius-sm);width:38px;height:38px;color:var(--ui-muted);background:0 0;border:0;place-items:center;display:grid}.attachment-preview-stage{background:var(--ui-canvas);place-items:center;min-height:min(60dvh,560px);padding:16px;display:grid}.attachment-preview-image{object-fit:contain;max-width:100%;max-height:58dvh;display:block}.attachment-preview-status{color:var(--ui-muted);align-items:center;gap:9px;font-size:.8rem;display:flex}.attachment-preview-status.is-error{color:var(--ui-danger)}.page-wrap{background:var(--ui-canvas);flex-direction:column;width:100%;height:100dvh;display:flex;overflow:hidden}.page-wrap:not(.visible){display:none}.dashboard-masthead{border-bottom:1px solid var(--ui-border);background:var(--ui-surface);flex:0 0 56px;min-height:56px}.dashboard-masthead-inner{align-items:center;gap:12px;height:56px;padding:0 18px;display:flex}.dashboard-brand-lockup{align-items:center;gap:9px;min-width:0;display:flex}.dashboard-brand-mark{border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);width:32px;height:32px;color:var(--ui-accent);place-items:center;display:grid}.dashboard-brand-logo{object-fit:contain;flex:0 0 32px;width:32px;height:32px}.dashboard-brand-primary{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:680;overflow:hidden}.dashboard-brand-divider{color:var(--ui-border-strong)}.dashboard-brand-section{color:var(--ui-muted);font-size:.78rem}.dashboard-settings-trigger{width:38px;height:38px;color:var(--ui-text-soft);background:0 0;border:0;border-radius:50%;flex:0 0 38px;place-items:center;margin-left:auto;padding:0;display:grid}.dashboard-settings-trigger i{flex-basis:19px;width:19px;height:19px}.dashboard-settings-trigger svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.dashboard-masthead-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.dashboard-masthead-actions .dashboard-settings-trigger{margin-left:0}.dashboard-settings-trigger:hover{background:var(--ui-surface-muted);color:var(--ui-accent)}body:has(.workspace-detail.has-selection) .dashboard-settings-trigger{display:none}.ay-refresh-action{width:38px;height:38px;color:var(--ui-text-soft);background:0 0;border:0;border-radius:50%;place-items:center;margin-left:auto;padding:0;display:grid}.ay-refresh-action:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}@media (width<=899px){.ay-refresh-action{display:none}}#mainContent{background:var(--ui-canvas);flex:auto;grid-template-columns:64px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.dashboard-navigation-rail{border-right:1px solid var(--ui-border);background:var(--ui-surface);flex-direction:column;align-items:center;gap:6px;min-height:0;padding:12px 8px;display:flex}.workspace-mode-row{flex-direction:column;gap:6px;width:100%;display:flex}body:has(.workspace-detail.has-selection) .dashboard-navigation-rail .workspace-mode-row{display:flex}body:has(.workspace-detail.has-selection) .dashboard-navigation-rail .workspace-mode-row>.workspace-rail-button{display:none}.dashboard-navigation-rail .workspace-mode-row .btn,.dashboard-rail-control,.dashboard-account-trigger{border-radius:var(--ui-radius-sm);width:38px;min-width:38px;height:38px;min-height:38px;color:var(--ui-muted);box-shadow:none;background:0 0;border:0;place-items:center;margin:0 auto;padding:0;display:grid;position:relative}.dashboard-navigation-rail .workspace-mode-row .btn>span:not(.tab-count-badge){clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dashboard-navigation-rail .workspace-mode-row .btn-primary,.dashboard-navigation-rail .workspace-mode-row .btn:hover,.dashboard-rail-control:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}.dashboard-rail-control{position:relative}.menu-alert-badge{border:2px solid var(--ui-surface);background:var(--ui-accent-fill);min-width:17px;height:17px;color:var(--ui-on-accent);border-radius:999px;place-items:center;padding:0 4px;font-size:.58rem;font-weight:700;line-height:1;display:inline-grid;position:absolute;top:-3px;right:-3px}.dashboard-navigation-rail [data-rail-label]:after{z-index:95;border-radius:var(--ui-radius-xs);color:#fff;content:attr(data-rail-label);opacity:0;pointer-events:none;visibility:hidden;background:#172126;min-width:max-content;padding:6px 8px;font-size:.68rem;font-weight:550;transition:opacity .12s,transform .12s;position:absolute;top:50%;left:46px;transform:translate(-4px,-50%)}.dashboard-navigation-rail [data-rail-label]:hover:after,.dashboard-navigation-rail [data-rail-label]:focus-visible:after{opacity:1;visibility:visible;transform:translateY(-50%)}.tab-count-badge{background:var(--ui-accent);color:#fff;border:2px solid #fff;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:9px;font-weight:700;display:grid;position:absolute;top:-4px;right:-4px}#completedCount{display:none!important}.dashboard-rail-spacer{flex:1}.dashboard-rail-control-wrap{flex:0 0 38px;position:relative}.dashboard-account-wrap{flex:none;position:relative}.dashboard-account-trigger{color:#fff;background:#2b3938;border-radius:50%;font-size:.7rem;font-weight:720}.dashboard-account-popover{z-index:98;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:225px;box-shadow:var(--ui-shadow-popover);padding:7px;position:absolute;bottom:0;left:48px}.dashboard-account-popover:not(.open){display:none}.dashboard-account-identity{border-bottom:1px solid var(--ui-border);gap:3px;padding:8px 9px 10px;display:grid}.dashboard-account-identity strong{font-size:.8rem;font-weight:650}.dashboard-account-identity span{color:var(--ui-muted);font-size:.69rem}.menu-grid{gap:2px;padding-top:5px;display:grid}.menu-grid-btn{border-radius:var(--ui-radius-xs);width:100%;min-height:36px;color:var(--ui-text-soft);background:0 0;border:0;justify-content:flex-start;align-items:center;gap:9px;padding:7px 9px;font-size:.74rem;text-decoration:none;display:flex}.menu-grid-btn:hover{background:var(--ui-surface-muted)}.menu-grid-btn--danger{color:var(--ui-danger)}.workspace{min-width:0;height:100%;min-height:0;position:relative;overflow:hidden}.workspace-sidebar{background:var(--ui-canvas);flex-direction:column;min-width:0;min-height:0;padding:15px 19px 17px;display:flex;position:absolute;inset:0}.workspace-sidebar-heading{justify-content:space-between;align-items:center;min-height:42px;margin-bottom:10px;display:flex}.workspace-sidebar-heading h1{color:var(--ui-text);letter-spacing:-.025em;margin:0;font-size:1.25rem;font-weight:650}.workspace-eyebrow{display:none}.workspace-live-indicator{color:var(--ui-muted);align-items:center;gap:6px;font-size:.68rem;display:inline-flex}.workspace-live-indicator>span{background:#43a072;border-radius:50%;width:7px;height:7px}.workspace-toolbar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex;position:relative}.workspace-filter-wrap{flex:none;align-items:center;gap:6px;display:flex;position:relative}.workspace-search{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);align-items:center;gap:8px;width:min(520px,100% - 150px);height:40px;padding:0 12px;display:flex}.workspace-search-icon{color:var(--ui-muted)}.workspace-search-input{min-width:0;height:38px;color:var(--ui-text);background:0 0;border:0;outline:0;flex:1;padding:0;font-size:16px}.workspace-search-input::placeholder{color:var(--ui-faint)}.workspace-search-clear{border-radius:var(--ui-radius-xs);width:30px;height:30px;color:var(--ui-muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.ay-queue-search-wrap{flex-direction:column;flex:auto;gap:4px;min-width:0;max-width:520px;display:flex}.ay-queue-search-wrap>.workspace-search{width:100%}.ay-search-all-action{background:0 0;border:0;align-self:flex-start;min-height:0;padding:2px 2px 0;font-size:.72rem;font-weight:600}.ay-search-all-action:hover{background:0 0;text-decoration:underline}.workspace-sort-btn{border:1px solid var(--ui-border-strong);background:var(--ui-surface);min-height:38px;color:var(--ui-text-soft);border-radius:999px;align-items:center;gap:7px;padding:8px 13px;font-size:.73rem;font-weight:620;display:inline-flex}.workspace-sort-btn:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.workspace-filter-popover{z-index:40;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);width:280px;box-shadow:var(--ui-shadow-popover);padding:14px;position:absolute;top:46px;right:0}.workspace-filter-popover h3{margin:0 0 10px;font-size:.83rem}.workspace-filter-group{border-top:1px solid var(--ui-border);padding:10px 0}.workspace-filter-group:first-of-type{border-top:0}.workspace-filter-group>span{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;margin-bottom:7px;font-size:.66rem;font-weight:650;display:block}.workspace-filter-option{border-radius:var(--ui-radius-xs);width:100%;min-height:34px;color:var(--ui-text-soft);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:7px 8px;font-size:.74rem;display:flex}.workspace-filter-option:hover,.workspace-filter-option[aria-pressed=true]{background:var(--ui-accent-soft);color:var(--ui-accent)}.workspace-filter-check{border:1px solid var(--ui-border-strong);border-radius:4px;place-items:center;width:17px;height:17px;display:grid}.workspace-filter-option[aria-pressed=true] .workspace-filter-check{border-color:var(--ui-accent);background:var(--ui-accent);color:#fff}.workspace-filter-check svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:12px;height:12px}.clinical-access-status{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);color:var(--ui-muted);background:#fff;margin:0 0 10px;padding:10px 12px;font-size:.74rem}.workspace-table-head,.workspace-list .compact-card,.workspace-list .clinical-queue-card{grid-template-columns:minmax(180px,1.25fr) minmax(190px,1.12fr) minmax(95px,.62fr) minmax(230px,1.55fr) minmax(90px,.55fr) 42px;align-items:center;gap:14px;display:grid}.workspace-table-head{border:1px solid var(--ui-border);border-radius:var(--ui-radius) var(--ui-radius) 0 0;background:var(--ui-surface-soft);min-height:38px;color:var(--ui-muted);letter-spacing:.055em;text-transform:uppercase;border-bottom:0;padding:0 15px;font-size:.63rem;font-weight:680}.ay-archive-window-note{color:var(--ui-muted);margin:0 0 8px;padding:0 2px;font-size:.74rem;line-height:1.4}.workspace-list-wrap{border:1px solid var(--ui-border);border-radius:0 0 var(--ui-radius) var(--ui-radius);background:var(--ui-surface);min-height:0;box-shadow:var(--ui-shadow-card);flex:1;position:relative;overflow:hidden}.workspace-list{background:var(--ui-surface);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;height:100%;min-height:0;max-height:100%;overflow:hidden auto}.workspace-list .compact-card,.workspace-list .clinical-queue-card{border:0;border-bottom:1px solid var(--ui-border);background:var(--ui-surface);width:100%;min-height:64px;color:var(--ui-text);box-shadow:none;text-align:left;border-radius:0;margin:0;padding:8px 15px;position:relative}.workspace-list .compact-card:has(.patient-row-open:hover),.workspace-list .compact-card:focus-within,.workspace-list .clinical-queue-card:has(.patient-row-open:hover),.workspace-list .clinical-queue-card:has(.patient-row-open[aria-current=page]){background:var(--ui-surface-soft)}.workspace-list .compact-card.sidebar-card--selected{background:var(--ui-accent-soft)}.patient-row-open{z-index:0;border-radius:inherit;width:100%;min-height:100%;color:inherit;background:0 0;border:0;padding:0;position:absolute;inset:0}.patient-row-open:focus-visible{box-shadow:inset var(--ui-focus)}.workspace-list .compact-card>.patient-list-cell,.workspace-list .clinical-queue-card>.patient-list-cell{z-index:1;pointer-events:none;position:relative}.workspace-list .patient-list-note,.workspace-list .notes-widget,.workspace-list .notes-fab,.workspace-list .safety-alert-icon{z-index:2;pointer-events:auto}.patient-list-cell{min-width:0;color:var(--ui-text-soft);font-size:.74rem}.patient-list-identity{align-items:center;gap:9px;display:flex}.patient-list-avatar{background:var(--ui-surface-muted);width:36px;height:36px;color:var(--ui-text-soft);border-radius:50%;flex:0 0 36px;place-items:center;font-size:.68rem;font-weight:700;display:grid}.patient-list-row-content{min-width:0}.compact-card-identity{align-items:center;gap:6px;min-width:0;display:flex}.compact-card-name{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:650;overflow:hidden}.patient-list-demographics{color:var(--ui-muted);gap:6px;margin-top:3px;font-size:.68rem;display:flex}.patient-list-email,.patient-list-reason{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.patient-list-email{align-items:center;gap:6px;display:flex}.patient-list-email svg{fill:none;width:14px;height:14px;stroke:var(--ui-faint);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 14px}.patient-type-badge{border:1px solid #0000}.patient-type-badge--blue{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.patient-type-badge--green{background:var(--ui-success-soft);color:var(--ui-success);border-color:#c8e2d1}.patient-list-type{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.wait-time{min-height:24px;color:var(--ui-text-soft);white-space:nowrap;align-items:center;font-size:.71rem;font-weight:580;display:inline-flex}.wait-time--watch,.wait-time--late{border-radius:999px;padding:4px 9px;font-weight:650}.wait-time--watch{background:var(--ui-warning-soft);color:var(--ui-warning)}.wait-time--late{background:var(--ui-danger-soft);color:var(--ui-danger)}.program-status{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;min-height:24px;padding:4px 9px;font-size:.68rem;font-weight:680;line-height:1.2;display:inline-flex}.program-status--pending-eligibility{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.program-status--awaiting-payment{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.program-status--active{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.program-status--overdue{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.program-status--cancellation-attention{color:#6f4a91;background:#f4effb;border-color:#ddd1ee}.sidebar-card-unread-dot{background:var(--ui-accent);border-radius:50%;flex:0 0 7px;width:7px;height:7px;margin-left:-3px}.notes-widget{justify-content:flex-end;display:flex;position:relative}.workspace-list .patient-list-note:has(.notes-popover.open),.workspace-list .notes-widget:has(.notes-popover.open){z-index:110}.notes-fab{border-radius:var(--ui-radius-sm);width:36px;height:36px;color:var(--ui-muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.notes-fab:hover,.notes-fab.has-notes{background:var(--ui-accent-soft);color:var(--ui-accent)}.nf-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.notes-fab.has-notes .nf-icon{fill:currentColor;fill-opacity:.16}.notes-popover{z-index:85;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(330px,100vw - 24px);box-shadow:var(--ui-shadow-popover);padding:13px;display:none;position:fixed}.notes-popover.open{display:block}.notes-popover-label{color:var(--ui-text-soft);margin-bottom:7px;font-size:.72rem;font-weight:650}.notes-save-status{margin-top:7px;display:block}.provider-notes{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);width:100%;min-height:110px;color:var(--ui-text);resize:vertical;padding:10px 11px;font-size:16px}.queue-section-label{border-bottom:1px solid var(--ui-border);color:var(--ui-muted);letter-spacing:.055em;text-transform:uppercase;background:#fafbfb;padding:10px 14px 7px;font-size:.66rem;font-weight:680}.archive-service-filter{border-bottom:1px solid var(--ui-border);color:var(--ui-muted);justify-content:flex-end;align-items:center;gap:8px;padding:9px 13px;font-size:.72rem;font-weight:620;display:flex}.archive-service-filter select{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background-color:#fff;width:auto;min-width:145px;min-height:34px;padding:6px 30px 6px 9px;font-size:16px}.empty-state{min-height:180px;color:var(--ui-muted);text-align:center;place-items:center;padding:22px;font-size:.8rem;display:grid}.wellness-roster-list>.empty-state,.chart-content-section .empty-state,.clinical-files-section .empty-state{text-align:left;justify-items:start;min-height:0;padding:12px 2px}.chart-panel-loading{width:100%;min-height:128px;color:var(--ui-muted);text-align:center;grid-column:1/-1;justify-content:center;align-self:start;align-items:center;gap:7px;padding:22px;font-size:.8rem;line-height:1.4;display:flex}.chart-panel-loading i{flex:none}.workspace-sidebar-footer{padding-top:8px}.ay-search-form{flex-direction:column;gap:12px;margin-bottom:14px;display:flex}.ay-search-field{flex-direction:column;gap:5px;min-width:0;display:flex}.ay-search-field label{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.66rem;font-weight:650}.ay-search-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.ay-search-filters .ay-search-field{flex:140px;min-width:120px}.ay-search-submit{flex:none;align-self:flex-end;min-height:40px}.ay-search-hint,.ay-search-error{color:var(--ui-muted);margin:0;font-size:.8rem;line-height:1.4}.ay-search-error{color:var(--ui-danger)}.ay-search-results{flex-direction:column;flex:1;min-height:0;display:flex}.ay-search-form .ui-input,.ay-search-submit{box-sizing:border-box;height:42px;min-height:42px}.ay-search-form input[type=date].ui-input{padding-top:0;padding-bottom:0;line-height:40px}.ay-search-form select.ui-input{-webkit-appearance:none;appearance:none;background-color:var(--ui-surface);cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7880' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;padding:0 38px 0 11px;line-height:40px}.ay-search-form select.ui-input:hover,.ay-search-form select.ui-input:focus-visible{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314506a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}html.dark .ay-search-form select.ui-input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab7b4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}@media (width<=899px){.ay-search-filters{grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:10px;display:grid}.ay-search-filters .ay-search-field{flex:none;grid-column:span 3;min-width:0}.ay-search-filters .ay-search-field:nth-child(-n+3){grid-column:span 2}.ay-search-filters .ay-search-field label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ay-search-submit{grid-column:1/-1;width:100%}}@media (width<=600px){.ay-search-form select.ui-input{text-overflow:ellipsis;background-position:right 8px center;background-size:14px 14px;padding:0 26px 0 9px}}.last-updated{color:var(--ui-faint);font-size:.66rem}.pull-refresh-indicator{display:none}.safety-alert-icon{background:var(--ui-danger-soft);width:20px;height:20px;color:var(--ui-danger);border:0;border-radius:50%;place-items:center;padding:0;display:grid}.safety-alert-icon i{flex-basis:11px;width:11px;height:11px}.safety-alert-popover{z-index:90;border-radius:var(--ui-radius-sm);color:#fff;max-width:min(330px,100vw - 20px);box-shadow:var(--ui-shadow-popover);background:#342525;padding:9px 11px;font-size:.71rem;line-height:1.45;display:none;position:fixed}.safety-alert-popover.open{display:block}.workspace-detail{z-index:20;background:var(--ui-canvas);min-width:0;min-height:0;display:none;position:absolute;inset:0}.workspace-detail.has-selection{display:block}.workspace-detail-empty{height:100%;color:var(--ui-muted);place-items:center;display:none}.workspace-detail-pulltab{display:none}.workspace-detail-card{background:var(--ui-canvas);width:100%;height:100%;min-height:0;max-height:100%;box-shadow:none;border:0;border-radius:0;flex-direction:column;display:flex;overflow:hidden}.patient-detail-modal-sticky-top{background:#fff;flex:none}.patient-open-tabs{border-bottom:1px solid var(--ui-border);background:#fff;align-items:center;gap:4px;min-height:52px;padding:6px 17px;display:flex}.patient-open-tab{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);min-height:35px;color:var(--ui-muted);background:#f7f9f9;justify-content:center;align-items:center;gap:6px;padding:0 13px;font-size:.73rem;line-height:1;display:inline-flex}.patient-open-tab.is-active{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);font-weight:650}.patient-open-tabs-fill{flex:1}.patient-open-actions{align-items:center;gap:7px;min-width:0;display:flex;overflow:hidden}.clinical-shell-tools,.chart-tool-row{align-items:center;gap:7px;min-width:0;display:flex}.clinical-shell-tools[hidden]{display:none!important}.clinical-shell-tools{overscroll-behavior-x:contain;scrollbar-width:thin;touch-action:pan-x;-webkit-overflow-scrolling:touch;max-width:min(48vw,520px);overflow-x:auto}.clinical-shell-tools .chart-tool-row{flex:0 0 max-content}.clinical-shell-tools button,.chart-tool-row button{border:1px solid var(--ui-border-strong);min-height:35px;color:var(--ui-text-soft);background:#fff;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:7px 12px;font-size:.74rem;font-weight:620;display:inline-flex}.clinical-shell-tools button i,.chart-tool-row button i{flex:0 0 16px;width:16px;height:16px;margin:0}.patient-detail-modal-header{border-bottom:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);grid-template-columns:minmax(250px,1fr) minmax(350px,1.7fr);align-items:center;gap:20px;min-height:80px;padding:10px 17px;display:grid}.patient-detail-modal-identity h3{margin:0;font-size:1rem;font-weight:650}.patient-detail-modal-meta{color:var(--ui-muted)}.patient-detail-summary{min-width:0}.patient-detail-summary-label{color:var(--ui-accent);letter-spacing:.065em;text-transform:uppercase;font-size:.61rem;font-weight:700}.patient-detail-summary p{color:var(--ui-text-soft);margin:5px 0 0;font-size:.74rem;line-height:1.45}.patient-detail-summary .ui-loading-state{align-items:center;gap:6px;display:inline-flex}.patient-detail-summary .ui-loading-state i{flex:none}.patient-detail-modal-header-right{display:none}#patientDetailDeleteBtn,#patientDetailRetentionHoldBtn,#patientDetailCompleteBtn{display:none!important}.patient-detail-modal-header-right:empty{display:none}.detail-complete-toggle,.status-dot{border:1px solid var(--ui-border-strong);width:26px;height:26px;color:var(--ui-faint);background:#fff;border-radius:50%;place-items:center;padding:0;display:grid}.detail-complete-toggle.is-checked,.status-dot.is-checked{background:var(--ui-success-soft);color:var(--ui-success);border-color:#9acdaf}.detail-complete-toggle i,.status-dot i{flex-basis:13px;width:13px;height:13px}.patient-contact-row{grid-column:1;align-items:center;gap:7px;margin-top:-18px;display:flex}.email-copy-btn{min-width:0;color:var(--ui-muted);background:0 0;border:0;align-items:center;gap:6px;padding:0;display:inline-flex}.email-copy-btn span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.patient-detail-modal-status-icons{gap:5px;display:flex}.patient-detail-safety-banner{background:var(--ui-danger-soft);color:var(--ui-danger);border-bottom:1px solid #efd3d0;align-items:center;gap:10px;padding:9px 17px;font-size:.72rem;display:flex}.patient-detail-safety-banner div{flex-wrap:wrap;gap:7px;display:flex}.patient-chart-layout{flex:1 1 0;min-height:0;display:flex;overflow:hidden}.patient-detail-view-buttons{z-index:70;border-right:1px solid var(--ui-border);background:#fff;flex-direction:column;align-items:center;width:64px;padding:12px 8px;display:none;position:fixed;top:56px;bottom:104px;left:0}body:has(.workspace-detail.has-selection) .workspace-mode-row{display:none}body:has(.workspace-detail.has-selection) .patient-detail-view-buttons{display:flex}.patient-detail-tab-scroll{flex-direction:column;align-items:center;gap:6px;width:100%;display:flex;overflow:visible}.patient-detail-tab-scroll .btn{border-radius:var(--ui-radius-sm);width:38px;min-width:38px;height:38px;min-height:38px;color:var(--ui-muted);background:0 0;border:0;gap:0;padding:0;font-size:0;position:relative}.patient-detail-tab-scroll .btn i{flex:0 0 16px;width:16px;height:16px;margin:0}.patient-detail-tab-scroll .btn:hover,.patient-detail-tab-scroll .btn[aria-selected=true],.patient-detail-tab-scroll .btn.btn-primary{background:var(--ui-accent-soft);color:var(--ui-accent)}.patient-detail-tab-scroll .btn[aria-selected=true]{box-shadow:none}.clinical-tab-unread-badge{z-index:2;background:var(--ui-danger);color:#fff;border:2px solid #fff;border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:.56rem;font-weight:700;line-height:1;display:inline-grid;position:absolute;top:-5px;right:-5px}.workspace-detail-card.is-clinical-chart .telehealth-chart-tab{display:none!important}.patient-detail-tab-scroll .btn:after{z-index:100;border-radius:var(--ui-radius-xs);color:#fff;content:attr(aria-label);opacity:0;pointer-events:none;visibility:hidden;background:#172126;min-width:max-content;padding:6px 8px;font-size:.68rem;font-weight:550;position:absolute;top:50%;left:46px;transform:translate(-4px,-50%)}.patient-detail-tab-scroll .btn:hover:after,.patient-detail-tab-scroll .btn:focus-visible:after{opacity:1;visibility:visible;transform:translateY(-50%)}.patient-detail-tab-scroll .patient-complete-tab{color:var(--ui-success);margin-top:8px}.patient-detail-copy-note-btn{display:none!important}.patient-chart-main{background:var(--ui-canvas);flex-direction:column;flex:1 1 0;min-width:0;min-height:0;display:flex;overflow:hidden}.patient-detail-modal-body,.integrated-clinical-chart [role=tabpanel]{background:var(--ui-canvas);-webkit-overflow-scrolling:touch;touch-action:pan-y;flex:1 1 0;min-height:0;padding:16px 19px 22px;overflow:hidden auto}.patient-detail-modal-footer{z-index:30;border-top:1px solid var(--ui-border);background:#fff;flex:none;min-height:54px;padding:8px 18px;position:relative}.workspace-detail-card.is-clinical-chart>.patient-chart-layout>.patient-chart-main>.patient-detail-modal-body,.workspace-detail-card.is-clinical-chart>.patient-chart-layout>.patient-chart-main>.patient-detail-modal-footer:empty{display:none!important}.integrated-clinical-chart{background:var(--ui-canvas);flex:1 1 0;min-width:0;min-height:0;overflow:hidden}.integrated-clinical-chart>#detail{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.integrated-clinical-chart>#detail>[role=tabpanel]:not([hidden]){overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;flex:1 1 0;width:100%;height:100%;min-height:0;overflow:hidden auto}.integrated-clinical-chart .clinical-chart-header{display:none}.chart-content-section,.soap-note-editor-wrap,.plan-order-section,.patient-data-highlights,.patient-attachments,.instructions-diagnosis-block,.clinical-chart-section,.clinical-surface .document,.clinical-surface .panel,.clinical-surface fieldset,.wellness-program-card,.wellness-answer-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);min-width:0;box-shadow:var(--ui-shadow-card);background:#fff;margin:0 0 12px;padding:22px 26px}.chart-content-section-header,.chart-section-heading,.wellness-card-heading,.wellness-workflow-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px;display:flex}.chart-content-section h3,.chart-section-heading h3,.clinical-surface h3,.telehealth-chart-card h3,.wellness-card-heading h3,.wellness-workflow-heading h4{color:var(--ui-text);margin:0;font-size:.94rem;font-weight:680}.chart-content-section p,.clinical-surface p,.telehealth-chart-card p,.wellness-card-heading p,.wellness-workflow-heading p{color:var(--ui-muted);margin:6px 0;font-size:.78rem;line-height:1.52}.soap-note-editor-wrap{padding:0;overflow:hidden}.soap-note-editor{width:100%;min-height:55vh;color:var(--ui-text-soft);resize:vertical;background:#fff;border:0;padding:18px;font-size:14px;line-height:1.65}.workspace-detail-card.is-telehealth-chart .telehealth-chart-card{margin-bottom:14px}.workspace-detail-card.is-telehealth-chart .telehealth-editor-wrap{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);box-shadow:none;background:#fff;margin:0;padding:0}.workspace-detail-card.is-telehealth-chart .telehealth-editor-wrap .soap-note-editor{border-radius:inherit}.plan-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.plan-section{min-width:0;overflow:hidden}.plan-section-head{border-bottom:1px solid var(--ui-border);background:#fff;align-items:center;min-height:48px;padding:13px 16px;display:flex}.plan-section-head h3{color:var(--ui-text);margin:0;font-size:.94rem;font-weight:680}.plan-section-body{padding:7px 16px 14px}.plan-order-row{border-bottom:1px solid var(--ui-border);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;padding:10px 0;display:grid}.plan-order-row:last-of-type{border-bottom:0}.plan-order-row input[type=checkbox]{margin-top:2px}.clinical-surface input[type=checkbox],.clinical-surface input[type=radio],.settings-panel input[type=checkbox],.settings-panel input[type=radio]{flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0}.plan-order-copy,.plan-order-name,.plan-order-script{min-width:0;color:var(--ui-text-soft);font-size:.78rem;line-height:1.45}.plan-manual-entries{gap:7px;padding-top:9px;display:grid}.plan-manual-entry-row{align-items:center;gap:6px;display:flex}.plan-manual-entry-input-wrap{flex:1;min-width:0}.plan-manual-entry-input{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);width:100%;min-height:38px;color:var(--ui-text);font:inherit;background:#fff;padding:8px 10px;font-size:14px}.plan-manual-add-btn,.plan-manual-remove-btn{min-height:32px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;font-size:.7rem;font-weight:650}.plan-manual-add-btn{justify-self:start;padding:5px 8px}.plan-manual-remove-btn{flex:0 0 32px;width:32px;padding:0}.plan-manual-add-btn:hover,.plan-manual-remove-btn:hover{background:var(--ui-accent-soft)}.plan-generate-row,.patient-detail-field-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:12px;display:flex}.plan-generate-row{justify-content:flex-end}.patient-detail-field-actions-buttons{flex-wrap:wrap;gap:7px;display:flex}.plan-notes-editor-wrap{margin-top:0}.plan-notes-editor-wrap .soap-note-editor{min-height:220px}.instructions-editor-wrap .soap-note-editor{min-height:280px}.instructions-diagnosis-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.instructions-diagnosis-input-wrap{gap:6px;min-width:0;display:grid}.instructions-diagnosis-label,.patient-data-highlight-label{color:var(--ui-text-soft);font-size:.76rem;font-weight:650}.instructions-diagnosis-input{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);width:100%;min-height:40px;color:var(--ui-text);background:#fff;padding:9px 11px;font-size:14px}.patient-detail-modal-footer:empty{display:none}.patient-detail-modal-footer .patient-detail-field-actions{width:100%;margin:0}.patient-detail-modal-footer>.wellness-plan-footer,.patient-detail-modal-footer>.clinical-complete-actions,.patient-detail-modal-footer>.clinical-order-footer,.patient-detail-modal-footer>[data-clinical-footer-for]{backdrop-filter:none;background:0 0;border:0;width:100%;margin:0;padding:0;position:static}.patient-detail-modal-footer:has(>.wellness-plan-footer){margin-top:12px}.plan-blocked-note{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);margin:0 0 10px;padding:9px 11px}.plan-narrative-empty,.plan-section-empty{color:var(--ui-muted)}.plan-loading-lines{gap:8px;padding:7px 0 3px;display:grid}.plan-loading-line{background:#edf0f0;border-radius:999px;width:100%;height:10px;display:block}.plan-loading-line--long{width:88%}.plan-loading-line--short{width:61%}.plan-loading-card.is-generating .plan-loading-line{background:linear-gradient(90deg, #edf0f0 24%, var(--ui-accent-soft) 50%, #edf0f0 76%);background-size:220% 100%;animation:1.5s ease-in-out infinite plan-loading-shimmer}.plan-loading-caption{margin:9px 0 0}.plan-generated-card--waiting textarea:disabled{background:var(--ui-surface-soft);color:var(--ui-muted);opacity:1}@keyframes plan-loading-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.chart-card-grid,#clinical-panel-home:not([hidden]),.wellness-answer-grid,.wellness-program-section{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;display:grid}.chart-card-grid>.wide,.wellness-grid-wide,.wellness-program-overview-card,.wellness-card--wide{grid-column:1/-1}.wellness-program-section{grid-column:1/-1;margin:0}.wellness-program-section>.wellness-card-heading{grid-column:1/-1;margin:0 0 18px;padding:0}.wellness-program-overview-card>.wellness-card-heading h3{font-size:1rem;font-weight:650}.wellness-program-overview-card>.wellness-card-heading p{margin:5px 0 0;font-size:.78rem;line-height:1.48}.wellness-program-summary{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:34px;margin:0;display:grid}.wellness-program-summary>div{min-width:0;padding:12px 0}.wellness-program-summary>div:nth-child(n+3){border-top:1px solid var(--ui-border)}.wellness-program-summary dt{color:var(--ui-muted);letter-spacing:0;text-transform:none;margin:0 0 4px;font-size:.72rem;font-weight:500}.wellness-program-summary dd{color:var(--ui-text);text-transform:capitalize;margin:0;font-size:.88rem;font-weight:550;line-height:1.4}.wellness-program-summary dd.is-overdue{color:var(--ui-danger)}.wellness-home-grid{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;width:100%;min-width:0;display:grid}.wellness-home-grid>.patient-settings-card{min-width:0}.wellness-home-summary:only-child{grid-column:1/-1}.wellness-workflow-card:has(.wellness-eligibility-state),.wellness-workflow-card:has(.wellness-eligibility-form){grid-column:auto}.wellness-workflow-card:not(:has(.wellness-eligibility-state)):not(:has(.wellness-eligibility-form)){grid-column:1/-1}.wellness-track-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px!important;display:grid!important}.wellness-track-form .ui-button{min-height:40px}.wellness-progress{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:3px 0 0;padding:0;list-style:none;display:grid}.wellness-progress li{min-width:0;color:var(--ui-faint);text-align:center;justify-items:center;gap:6px;font-size:.66rem;display:grid;position:relative}.wellness-progress li:not(:last-child):after{background:var(--ui-border-strong);content:"";height:2px;position:absolute;top:12px;left:calc(50% + 14px);right:calc(14px - 50%)}.wellness-progress li>span{z-index:1;border:1px solid var(--ui-border-strong);background:#fff;border-radius:50%;place-items:center;width:25px;height:25px;font-size:.65rem;font-weight:700;display:grid;position:relative}.wellness-progress li strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:600;overflow:hidden}.wellness-progress li.is-current,.wellness-progress li.is-complete{color:var(--ui-accent)}.wellness-progress li.is-current>span,.wellness-progress li.is-complete>span{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.wellness-progress li.is-complete:not(:last-child):after{background:var(--ui-accent-border)}.wellness-eligibility-state{justify-content:space-between;align-items:center;gap:10px;display:flex}.wellness-enrollment-notice,.wellness-eligibility-feedback{color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.45}.wellness-enrollment-notice{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-text-soft);padding:9px 10px}.wellness-eligibility-feedback[data-tone=danger]{color:var(--ui-danger)}.wellness-eligibility-feedback[data-tone=success]{color:var(--ui-success)}.wellness-assessment-history{gap:10px;display:grid}.wellness-assessment-history>.chart-content-section-header{padding:2px 1px 7px}.wellness-assessment-list{gap:8px;display:grid}.wellness-assessment-entry{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:#fff;overflow:hidden}.wellness-assessment-entry.is-open{border-color:var(--ui-accent-border);box-shadow:var(--ui-shadow-card)}.wellness-assessment-trigger{text-align:left;align-items:center;gap:12px;width:100%;min-height:48px;color:var(--ui-text)!important;background:#fff!important;border:0!important;border-radius:0!important;justify-content:space-between!important;margin:0!important;padding:10px 12px!important;display:flex!important}.wellness-assessment-trigger:hover{background:var(--ui-surface-soft)!important}.wellness-assessment-trigger-copy{gap:2px;min-width:0;display:grid}.wellness-assessment-trigger-copy strong{font-size:.78rem;font-weight:680}.wellness-assessment-trigger-copy small{color:var(--ui-muted);font-size:.7rem}.wellness-assessment-trigger i{color:var(--ui-muted);transition:transform .14s}.wellness-assessment-trigger[aria-expanded=true] i{transform:rotate(180deg)}.wellness-assessment-answers{border-top:1px solid var(--ui-border);background:var(--ui-surface-soft);gap:0;padding:0;display:grid}.wellness-assessment-answer{border-bottom:1px solid var(--ui-border);padding:12px 13px}.wellness-assessment-answer:last-child{border-bottom:0}.wellness-assessment-answer span{color:var(--ui-text);font-size:.76rem;font-weight:650;display:block}.wellness-assessment-answer p{color:var(--ui-text-soft);margin:5px 0 0;font-size:.75rem}#clinical-panel-plan:not([hidden]){grid-template-rows:minmax(0,1fr);align-content:stretch;gap:12px;display:grid}.wellness-plan-source-summary{gap:0;margin:0;display:grid}.wellness-plan-source-summary>div{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(150px,.42fr) minmax(0,1fr);gap:12px;padding:9px 0;display:grid}.wellness-plan-source-summary>div:last-child{border-bottom:0}.wellness-plan-source-summary dt{color:var(--ui-muted);font-size:.7rem;font-weight:650}.wellness-plan-source-summary dd{color:var(--ui-text-soft);margin:0;font-size:.75rem}.wellness-plan-grid{grid-template-columns:minmax(0,2fr) minmax(250px,1fr);align-items:start;gap:12px;min-height:0;padding-bottom:14px;display:grid}.wellness-plan-grid>.patient-settings-card{flex-direction:column;min-width:0;height:auto;margin:0;display:flex}.wellness-plan-grid>.patient-settings-card>.patient-settings-card-body{flex:auto;min-height:0}.wellness-plan-editor-card{position:relative}.clinical-surface .wellness-plan-editor{resize:vertical;height:clamp(420px,62dvh,820px);min-height:clamp(420px,62dvh,820px);padding-bottom:30px;scroll-padding-bottom:30px;overflow-y:auto}.wellness-plan-grid>.wellness-plan-refine-card{align-self:start;height:auto}.wellness-plan-grid>.wellness-plan-refine-card>.patient-settings-card-body{flex:none}.clinical-surface .wellness-plan-refine-card textarea{height:clamp(180px,28dvh,340px);min-height:clamp(180px,28dvh,340px)}.wellness-plan-footer,.clinical-complete-actions{z-index:4;border-top:1px solid var(--ui-border);backdrop-filter:blur(10px);background:#fffffff5;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:12px -12px -12px;padding:10px 12px;display:flex;position:sticky;bottom:0;left:0;right:0}.wellness-assessment-section{box-shadow:none;background:0 0;border:0;grid-column:1/-1;padding:0}.wellness-answer-grid{margin-top:11px}.wellness-answer-card{margin:0}.wellness-form-primary{grid-column:1/-1;justify-self:end}.wellness-inline-status{background:var(--ui-accent-soft);border-radius:999px;width:fit-content;padding:6px 9px;display:inline-flex;color:var(--ui-accent)!important;margin:0 6px 10px 0!important}.wellness-inline-status.needs-review,.wellness-inline-status.draft-failed{background:var(--ui-danger-soft);color:var(--ui-danger)!important}.clinical-surface .task{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.clinical-surface .task:last-child{border-bottom:0}.clinical-files-section .document,.patient-attachment-row,.clinical-document-row{align-items:center;gap:11px;display:flex}.integrated-clinical-chart #clinical-panel-files:not([hidden]){grid-template-columns:minmax(0,1fr);align-content:start;gap:12px;display:grid}.integrated-clinical-chart #clinical-panel-files>.patient-settings-card{min-width:0;margin:0}.integrated-clinical-chart #clinical-panel-files>.clinical-documents-card{margin-bottom:0}.clinical-documents-card{min-height:45vh}.clinical-upload-card{margin-top:0!important}.document-filter{flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 14px;display:flex}.document-filter .ui-field{flex:0 240px;width:min(240px,100%);min-width:min(210px,100%)}.document-filter .ui-field__label{color:var(--ui-text-soft);font-size:.76rem;font-weight:620;line-height:1.4}.document-filter .ui-select{min-height:40px;font-size:14px;font-weight:430}.unified-document-list{gap:8px;display:grid}.clinical-document-list{gap:8px;margin:12px 0 16px;display:grid}.clinical-document-row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);margin:0;padding:10px}.clinical-document-row .patient-attachment-copy{flex:1;gap:2px;min-width:0;display:grid}.clinical-document-row .patient-attachment-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.clinical-document-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.clinical-generated-document{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 12px;margin:8px 0;padding:10px;display:grid}.clinical-generated-document>.meta{grid-column:1/-1;margin:0}.clinical-document-summary{align-items:center;gap:10px;min-width:0;display:flex}.clinical-document-summary .patient-attachment-copy{gap:3px;min-width:0;display:grid}.clinical-generated-document>label,.clinical-generated-document>.ui-disclosure,.clinical-generated-document>.clinical-order-editor{grid-column:1/-1}.clinical-message-dialog{width:min(520px,100vw - 24px)}.clinical-message-dialog form{gap:14px;display:grid}.clinical-review-delivery{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);gap:10px;margin:0 17px 14px;padding:13px;display:grid}.ui-choice{min-height:36px;color:var(--ui-text-soft);align-items:center;gap:8px;font-size:.76rem;margin:0!important;font-weight:550!important;display:flex!important}.ui-choice input[type=checkbox],.ui-choice input[type=radio],.clinical-surface input[type=checkbox],.clinical-surface input[type=radio]{box-sizing:border-box;min-width:16px;accent-color:var(--ui-accent);width:16px!important;height:16px!important;margin:0!important;padding:0!important}.clinical-order-footer{z-index:3;border-top:1px solid var(--ui-border);backdrop-filter:blur(10px);background:#fffffff7;flex-wrap:wrap;grid-column:1/-1;justify-content:flex-start;gap:8px;margin:8px -14px -14px;padding:10px 14px;display:flex;position:sticky;bottom:0}.clinical-order-review-note,.clinical-order-support-note{color:var(--ui-muted);grid-column:1/-1;margin:0;font-weight:450;line-height:1.5;font-size:.7rem!important}.clinical-order-form-feedback{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);color:var(--ui-danger);grid-column:1/-1;margin:0;padding:9px 11px;font-size:.72rem;font-weight:560;line-height:1.45}.clinical-order-dialog-status{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);color:var(--ui-danger);flex:none;margin:0 14px;padding:9px 11px;font-size:.72rem;font-weight:560;line-height:1.45}.clinical-followups-section{margin-top:12px}.clinical-followups-section .empty-state{margin:-2px 0 0;padding:0}.followup-create-editor{border-top:1px solid var(--ui-border);margin-top:2px;padding-top:14px}.followup-create-editor form{gap:12px}.followup-create-editor .ui-textarea{min-height:128px}.followup-create-editor .ui-button--primary{justify-self:start}.followup-workspace{grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);gap:12px;min-width:0;display:grid}.followup-list,.followup-detail{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);align-content:start;gap:7px;min-width:0;padding:11px;display:grid}.clinical-surface .followup-list-item{border-radius:var(--ui-radius-sm);background:var(--ui-surface);text-align:left;border:1px solid #0000;grid-template-columns:minmax(0,1fr) auto;gap:9px;width:100%;min-height:50px;padding:9px;display:grid}.clinical-surface .followup-list-item:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.followup-list-item>span:first-child{gap:2px;min-width:0;display:grid}.followup-list-item strong{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.followup-list-item small,.followup-list-item>span:last-child{color:var(--ui-muted);text-transform:capitalize;font-size:.64rem}.followup-list-item.is-closed{opacity:.62}.followup-detail-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.followup-detail-heading h4,.followup-detail-heading p{margin:0}.followup-detail-heading h4{color:var(--ui-text);font-size:.78rem}.followup-detail-heading p,.followup-original-note,.followup-resolution-note{color:var(--ui-muted);font-size:.69rem;line-height:1.45}.followup-original-note,.followup-resolution-note{border-radius:var(--ui-radius-sm);background:var(--ui-surface);margin:0;padding:9px 10px}.followup-detail form{gap:9px}.followup-detail textarea{min-height:74px}.followup-detail-actions{flex-wrap:wrap;gap:7px;display:flex}.patient-profile-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.patient-profile-form>.ui-field:has(textarea),.patient-profile-form>.patient-identity-confirmation,.patient-profile-form>.meta,.patient-profile-form>button{grid-column:1/-1}.patient-profile-form>button{justify-self:end}.clinical-upload-form,.clinical-order-editor form{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.clinical-upload-form>button,.clinical-order-editor form>button,.clinical-order-editor form>p,.clinical-order-editor form>fieldset{grid-column:1/-1}.clinical-upload-form>button,.clinical-order-editor form>button{justify-self:end}.clinical-order-editor{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:min(78dvh,840px);overflow:auto}.clinical-order-form{align-content:start}.clinical-order-group{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);margin:0;padding:14px}.clinical-order-group>legend{max-width:calc(100% - 16px);color:var(--ui-text);gap:2px;padding:0 6px;display:grid}.clinical-order-group>legend strong{font-size:.8rem;font-weight:680}.clinical-order-group>legend small{color:var(--ui-muted);font-size:.68rem;font-weight:430;line-height:1.35}.clinical-order-group__fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.clinical-order-group__fields>.ui-field:has(textarea),.clinical-order-group__fields>p,.clinical-order-confirmation{grid-column:1/-1}.clinical-order-confirmation{color:var(--ui-text-soft);align-items:flex-start;gap:9px;font-size:.72rem;display:flex}.clinical-order-confirmation input{margin-top:2px}.patient-link-confirmation{align-items:flex-start}.patient-link-confirmation input{margin-top:2px!important}.workspace[data-list-mode=wellness] .workspace-list-wrap{border-radius:var(--ui-radius);background:var(--ui-canvas)}.workspace[data-list-mode=wellness] .workspace-list{background:var(--ui-canvas);padding:10px;display:block}.wellness-queue-group{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-height:228px;box-shadow:var(--ui-shadow-card);flex-direction:column;flex:1 1 0;display:flex;overflow:hidden}.wellness-queue-group-header{border-bottom:1px solid var(--ui-border);flex:none;justify-content:space-between;align-items:center;gap:14px;min-height:40px;padding:8px 14px;display:flex}.wellness-queue-group--new .wellness-queue-group-header{background:var(--ui-info-soft)}.wellness-queue-group--returning .wellness-queue-group-header{background:var(--ui-success-soft)}.wellness-queue-group-copy{min-width:0}.wellness-queue-group-copy h2{color:var(--ui-text);margin:0;font-size:.79rem;font-weight:680}.wellness-queue-group-count{border:1px solid var(--ui-border);background:var(--ui-surface);min-width:24px;height:24px;color:var(--ui-accent);border-radius:999px;place-items:center;padding:0 7px;font-size:.66rem;font-weight:700;display:grid}.wellness-queue-group-body{background:var(--ui-surface);flex:auto;min-height:174px;overflow-y:auto}.wellness-queue-group-body>.workspace-empty-state{height:100%}.wellness-queue-group-body>.clinical-queue-card:last-of-type{border-bottom:0}.wellness-load-more{margin:10px 14px 12px}.queue-card--attention{border-color:var(--ui-danger-border)!important;background:color-mix(in srgb, var(--ui-danger-soft) 34%, var(--ui-surface))!important}.patient-attachment-copy{flex:1;gap:3px;min-width:0;display:grid}.patient-attachment-copy strong{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:650;overflow:hidden}.patient-attachment-copy small{color:var(--ui-muted);font-size:.72rem}.patient-attachment-icon{border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);width:42px;height:42px;color:var(--ui-accent);flex:0 0 42px;place-items:center;display:grid}.patient-attachments-list{align-content:start;gap:8px;min-height:216px;display:grid}.patient-attachment-row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);width:100%;min-height:64px;color:var(--ui-text);text-align:left;padding:10px 11px;font-family:inherit}button.patient-attachment-row{cursor:pointer;transition:border-color .13s,background .13s}button.patient-attachment-row:hover,button.patient-attachment-row:focus-visible{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}button.patient-attachment-row.is-opening{opacity:.68}.patient-attachment-open-icon{width:28px;height:28px;color:var(--ui-muted);flex:0 0 28px;place-items:center;display:grid}.patient-attachment-skeleton{pointer-events:none}.patient-attachment-skeleton .patient-attachment-icon,.patient-attachment-skeleton-action,.patient-attachment-skeleton-line{background:linear-gradient(90deg,#edf0f0 25%,#f7f8f8 50%,#edf0f0 75%) 0 0/200% 100%;animation:1.35s ease-in-out infinite patient-attachment-pulse}.patient-attachment-skeleton-line{border-radius:999px;height:10px}.patient-attachment-skeleton-line--name{width:min(260px,72%)}.patient-attachment-skeleton-line--meta{width:min(180px,52%)}.patient-attachment-skeleton-action{border-radius:50%;width:28px;height:28px}@keyframes patient-attachment-pulse{0%{background-position:100% 0}to{background-position:-100% 0}}.patient-data-highlight-row{grid-template-columns:132px minmax(0,1fr) 38px;align-items:center;gap:10px;padding:7px 0;display:grid}.patient-data-highlight-input{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);width:100%;min-height:40px;color:var(--ui-text-soft);padding:9px 11px;font-size:14px}.patient-data-copy-button{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);width:38px;min-width:38px;height:38px;color:var(--ui-accent);background:#fff;place-items:center;padding:0;display:grid}.patient-data-copy-button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.clinical-surface .patient-data-copy-button{border-color:var(--ui-border);border-radius:var(--ui-radius-sm);color:var(--ui-accent);background:#fff}.clinical-surface .patient-data-copy-button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.clinical-surface .patient-data-highlight-input{border-color:var(--ui-border-strong);background:var(--ui-surface-soft);color:var(--ui-text-soft)}.patient-settings-list{gap:0;margin:0;display:grid}.patient-settings-list>div{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(95px,.42fr) minmax(0,1fr);align-items:baseline;gap:12px;padding:9px 0;display:grid}.patient-settings-list>div:last-child{border-bottom:0}.patient-settings-list dt{color:var(--ui-muted);font-size:.69rem;font-weight:620}.patient-settings-list dd{overflow-wrap:anywhere;min-width:0;color:var(--ui-text);margin:0;font-size:.75rem}.portal-access-status{align-items:center;margin-bottom:12px;display:flex}.portal-invitation-code{gap:6px;display:grid}.portal-invitation-code__row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.portal-invitation-code__row .ui-input{min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.68rem}.patient-settings-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.patient-settings-grid{align-items:start}.patient-settings-card{margin-bottom:0}.patient-settings-card-header{margin-bottom:16px}.patient-settings-card-header h3{font-weight:700}.patient-settings-card-header p{color:var(--ui-muted);margin:4px 0 0;font-weight:400}.patient-settings-card-body{gap:13px;display:grid}.patient-settings-card-body>p{margin:0}.patient-settings-card-body form{gap:13px;display:grid}.patient-settings-card-body form>p{margin:0}.patient-settings-card-body fieldset{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0}.patient-settings-card-body fieldset legend{color:var(--ui-text);margin-bottom:9px;font-size:.76rem;font-weight:680}.patient-settings-card-body fieldset label{color:var(--ui-text-soft);align-items:center;gap:8px;margin-top:8px;font-size:.76rem;display:flex}.patient-settings-status-copy{margin:0!important}.patient-settings-danger-zone{border-color:#efd3d0;grid-column:1/-1}.integrated-clinical-chart #clinical-panel-settings:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;display:grid}.integrated-clinical-chart #clinical-panel-settings>.patient-settings-card{margin:0}.wellness-program-section>.wellness-workflow-card{grid-column:1/-1}.clinical-generated-documents>.document{background:var(--ui-surface-soft);box-shadow:none;margin:9px 0 0}.clinical-message-list{gap:9px;display:grid}.clinical-message-list>.document{background:var(--ui-surface-soft);box-shadow:none;margin:0}.provider-message-list{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-canvas);padding:14px}.provider-message-entry{justify-self:start;gap:4px;width:min(82%,660px);display:grid}.provider-message-entry--clinic{justify-self:end}.provider-message-bubble{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);justify-items:start;gap:5px;width:100%;padding:11px 13px;display:grid}.provider-message-bubble--clinic{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.provider-message-bubble strong{color:var(--ui-text);font-size:.72rem}.clinical-surface .provider-message-bubble p{color:var(--ui-text-soft);margin:0;font-size:.76rem;font-weight:400;line-height:1.5}.provider-message-bubble small{color:var(--ui-muted);font-size:.65rem}.provider-message-review{width:max-content;min-height:18px;color:var(--ui-muted);gap:5px;padding:0 2px;font-size:.65rem;line-height:1.2;display:inline-flex!important}.provider-message-review input[type=checkbox]{flex-basis:13px;min-width:13px;min-height:13px;width:13px!important;height:13px!important}.provider-message-composer{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:10px;margin-top:14px;padding:14px;display:grid}.provider-message-composer h4,.provider-message-composer .meta{margin:0}.provider-message-composer-actions{justify-content:space-between;gap:8px;display:flex}.provider-message-attachment{position:relative;overflow:hidden}.provider-message-attachment input{opacity:0;width:1px;height:1px;position:absolute}.message-composer{border-top:1px solid var(--ui-border);gap:9px;margin-top:16px;padding-top:15px;display:grid}.message-composer h4{color:var(--ui-text);margin:0;font-size:.8rem}.message-composer>button{justify-self:end}.complete-chart-preview .soap-note-editor{min-height:42vh}.complete-chart-preview>.chart-content-section-header{text-align:left;justify-content:flex-start}.clinical-complete-actions{justify-content:flex-start}.clinical-surface .wellness-raw-data{height:clamp(380px,55dvh,760px);min-height:clamp(380px,55dvh,760px)}.queue-subsection-label{color:var(--ui-muted);padding:9px 14px 4px;font-size:.67rem;font-weight:650}.clinical-pdf-dialog{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);width:min(94vw,980px);max-height:92dvh;color:var(--ui-text);box-shadow:var(--ui-shadow-dialog);background:#fff;padding:0;overflow:auto}.clinical-pdf-dialog::backdrop{background:#18222785}.clinical-pdf-dialog h2,.clinical-pdf-dialog>p,.clinical-pdf-dialog>.actions{margin:0;padding:14px 17px}.clinical-pdf-dialog h2{border-bottom:1px solid var(--ui-border);font-size:1rem}.clinical-pdf-dialog iframe{background:var(--ui-canvas);border:0;width:100%;height:62dvh}.clinical-pdf-dialog img{max-width:100%;max-height:62dvh;margin:auto;padding:14px;display:block}.clinical-order-dialog{width:min(820px,100vw - 40px);max-width:none;height:min(880px,100dvh - 48px);max-height:calc(100dvh - 48px);overflow:hidden}.clinical-order-dialog[open]{flex-direction:column;display:flex}.clinical-order-dialog-header{z-index:5;border-bottom:1px solid var(--ui-border);background:#fff;flex:none;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 17px;display:flex;position:relative}.clinical-order-dialog-header h2{border:0;margin:0;padding:0}.clinical-order-dialog-header p{color:var(--ui-muted);margin:4px 0 0;font-size:.72rem}.clinical-order-dialog-close{border:1px solid var(--ui-border);background:#fff;border-radius:50%;flex:0 0 34px;width:34px;min-width:34px;height:34px;min-height:34px}.clinical-order-dialog-close i{width:15px;height:15px}.clinical-order-dialog-body{flex:1 1 0;min-height:0;padding:0;overflow:hidden}.clinical-order-dialog-body>.ui-form-section{height:100%;max-height:none;box-shadow:none;border:0;border-radius:0;margin:0;padding:0;overflow:hidden}.clinical-order-dialog-body>.ui-form-section>.ui-form-section__header{display:none}.clinical-order-dialog-body .clinical-order-form{scrollbar-gutter:stable;height:100%;min-height:0;padding:14px;overflow:hidden auto}.clinical-order-dialog>.clinical-order-dialog-footer{z-index:6;border-top:1px solid var(--ui-border);backdrop-filter:blur(10px);background:#fffffffa;flex:none;width:100%;margin:0;padding:10px 14px;position:relative;bottom:auto;left:auto;right:auto}#toast{z-index:130;border:1px solid var(--ui-border);max-width:min(430px,100vw - 24px);color:var(--ui-text-soft);box-shadow:var(--ui-shadow-popover);opacity:0;pointer-events:none;background:#fff;border-radius:999px;padding:10px 13px;font-size:.74rem;transition:opacity .15s,transform .15s;position:fixed;top:68px;left:50%;transform:translate(-50%,-8px)}#toast.show{opacity:1;transform:translate(-50%)}@media (width<=1120px){.workspace-table-head,.workspace-list .compact-card,.workspace-list .clinical-queue-card{grid-template-columns:minmax(170px,1.1fr) minmax(170px,1fr) minmax(90px,.55fr) minmax(200px,1.2fr) 42px}.workspace-table-head>:nth-child(5),.patient-list-time{display:none}}@media (width<=899px){.plan-sections{grid-template-columns:minmax(0,1fr)}.dashboard-masthead{flex-basis:56px}.dashboard-masthead-inner{padding:0 12px}.dashboard-brand-divider,.dashboard-brand-section{display:none}#mainContent{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}.workspace{grid-row:1}.dashboard-navigation-rail{z-index:60;min-height:64px;padding:5px max(7px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left));border:0;border-top:1px solid var(--ui-border);flex-direction:row;grid-row:2;justify-content:center;gap:0}.workspace-mode-row{flex-direction:row;justify-content:space-around;gap:2px;width:min(100%,520px)}.dashboard-navigation-rail .workspace-mode-row .btn{border-radius:var(--ui-radius-sm);flex-direction:column;gap:3px;width:25%;max-width:92px;height:52px;font-size:.61rem;display:flex}.dashboard-navigation-rail .workspace-mode-row .btn>span:not(.tab-count-badge){clip:auto;width:auto;height:auto;position:static;overflow:visible}#completedCount,.dashboard-navigation-rail [data-rail-label]:after,.dashboard-rail-spacer{display:none}.dashboard-rail-control{z-index:80;background:var(--ui-surface);display:grid;position:fixed;top:9px;right:96px}.dashboard-account-wrap{z-index:80;position:fixed;top:9px;right:54px}.dashboard-account-trigger{width:36px;min-width:36px;height:36px;min-height:36px}.dashboard-account-popover{inset:44px -42px auto auto}.workspace-sidebar{padding:11px 11px 10px}.workspace-sidebar-heading{min-height:38px;margin-bottom:8px}.workspace-sidebar-heading h1{font-size:1.1rem}.workspace-toolbar{gap:8px;margin-bottom:10px}.workspace-search{flex:1;width:auto}.workspace-sort-btn{justify-content:center;gap:0;width:40px;min-width:40px;height:40px;padding:0;font-size:0}.workspace-sort-btn>span{display:none}.workspace-filter-popover{width:min(290px,100vw - 22px);top:47px}.workspace-table-head{display:none}.workspace-list-wrap{box-shadow:none;background:0 0;border:0;border-radius:0}.workspace-list{will-change:transform;background:0 0;align-content:start;gap:9px;padding:0 1px 14px;transition:transform .18s;display:grid}.workspace-list-wrap.is-pulling .workspace-list{transition:none}.pull-refresh-indicator{z-index:4;background:var(--ui-accent-soft);min-height:48px;color:var(--ui-accent);pointer-events:none;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:.72rem;font-weight:650;transition:transform .18s;display:flex;position:absolute;top:0;left:0;right:0;transform:translateY(-100%)}.workspace-list-wrap.is-pulling .pull-refresh-indicator{transition:none}.pull-refresh-indicator .ay-nav-icon{flex:0 0 15px;width:15px;height:15px}.pull-refresh-indicator.refreshing .ay-nav-icon{animation:.8s linear infinite pull-refresh-spin}.workspace[data-list-mode=wellness] .workspace-list{padding:0 1px 14px;display:block}.wellness-queue-group{min-height:188px}.wellness-queue-group-header{min-height:38px;padding:7px 12px}.wellness-queue-group-body{align-content:start;gap:8px;min-height:138px;padding:9px;display:grid}.wellness-queue-group-body>.clinical-queue-card{border-bottom:1px solid var(--ui-border)}.workspace-list .compact-card,.workspace-list .clinical-queue-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);grid-template-rows:auto auto minmax(36px,auto);grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:11px 13px;display:grid}.workspace-list .compact-card.sidebar-card--selected,.workspace-list .clinical-queue-card[aria-pressed=true]{border-color:var(--ui-accent-border);background:var(--ui-surface)}.patient-list-identity{grid-area:1/1}.patient-list-email{display:none}.patient-list-type{grid-area:1/2;align-self:start}.patient-list-reason{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-area:2/1/auto/-1;min-width:0;padding-left:45px;padding-right:4px;display:-webkit-box;overflow:hidden}.workspace-list .compact-card>.patient-list-time,.workspace-list .clinical-queue-card>.patient-list-time{grid-area:3/1;align-self:center;align-items:center;min-height:36px;margin:0;padding-left:45px;padding-right:0;display:flex}.workspace-list .compact-card>.patient-list-note,.workspace-list .clinical-queue-card>.patient-list-note{grid-area:3/2;place-self:center end;min-height:36px;display:flex;bottom:auto;right:auto;position:static!important}.queue-section-label{background:0 0;border:0;padding:7px 2px 1px}.archive-service-filter{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:#fff}.workspace-sidebar-footer{display:none}.workspace-detail{transition:transform .23s cubic-bezier(.32,.72,0,1);transform:translate(100%)}.workspace-detail.has-selection.is-open{display:block;transform:translate(0)}body:has(.workspace-detail.has-selection) #mainContent{grid-template-rows:minmax(0,1fr)}body:has(.workspace-detail.has-selection) .dashboard-navigation-rail,body:has(.workspace-detail.has-selection) .dashboard-account-wrap{display:none}.patient-open-tabs{min-height:48px;padding:6px 9px}.patient-open-tab{min-height:34px;padding:0 10px}.patient-open-actions{gap:4px}.clinical-shell-tools{max-width:min(42vw,260px)}.clinical-shell-tools button{min-height:32px;padding:6px 9px}.dashboard-chart-close{width:36px;min-width:36px;height:36px;min-height:36px}.patient-detail-modal-header{border-bottom-color:var(--ui-border);background:#fff;grid-template-columns:minmax(0,1fr);gap:0;padding:0}.patient-detail-modal-identity{border-bottom:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);padding:11px 13px}.patient-detail-summary{background:color-mix(in srgb, var(--ui-accent-soft) 52%, #fff);border:0;padding:9px 13px}.patient-contact-row{background:color-mix(in srgb, var(--ui-accent-soft) 52%, #fff);border:0;grid-column:1;margin-top:0;padding:7px 13px 11px}.patient-chart-layout{flex-direction:column}body:has(.workspace-detail.has-selection) .patient-detail-view-buttons{z-index:auto;border-right:0;border-bottom:1px solid var(--ui-border);background:#fff;flex:none;width:100%;padding:6px 9px;display:block;position:static;overflow:hidden}.patient-detail-tab-scroll{scrollbar-width:none;scroll-behavior:smooth;flex-direction:row;align-items:center;gap:5px;overflow-x:auto;mask-image:linear-gradient(90deg,#0000 0,#000 9px calc(100% - 9px),#0000 100%)}.patient-detail-tab-scroll::-webkit-scrollbar{display:none}.patient-detail-tab-scroll .btn{border:1px solid var(--ui-border);background:#fff;border-radius:999px;gap:6px;width:auto;min-width:max-content;height:34px;min-height:34px;padding:0 11px;font-size:.7rem}.patient-detail-tab-scroll .btn[aria-selected=true],.patient-detail-tab-scroll .btn.btn-primary{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);box-shadow:none}.patient-detail-tab-scroll .btn i{flex-basis:14px;width:14px;height:14px}.patient-detail-tab-scroll .btn:after{display:none}.patient-detail-tab-scroll .patient-complete-tab{margin:0}.patient-detail-modal-body,.integrated-clinical-chart [role=tabpanel]{padding:12px 11px 16px;scroll-padding-bottom:16px}.chart-content-section,.soap-note-editor-wrap,.plan-order-section,.patient-data-highlights,.patient-attachments,.instructions-diagnosis-block,.clinical-chart-section,.clinical-surface .document,.clinical-surface .panel,.clinical-surface fieldset,.wellness-program-card,.wellness-answer-card{padding:16px}.soap-note-editor-wrap{padding:0}.patient-detail-modal-footer{z-index:30;min-height:58px;padding:8px 11px max(8px, env(safe-area-inset-bottom));position:relative;bottom:auto;left:auto;right:auto}.chart-card-grid,#clinical-panel-home:not([hidden]),.wellness-answer-grid,.wellness-program-section,.wellness-home-grid{grid-template-columns:minmax(0,1fr)}.chart-card-grid>.wide,.wellness-grid-wide,.wellness-program-overview-card,.wellness-card--wide,.wellness-program-section>.wellness-card-heading,.wellness-home-summary{grid-column:1}.wellness-plan-grid{grid-template-columns:minmax(0,1fr)}.wellness-plan-grid>.patient-settings-card{height:auto}.clinical-surface .wellness-plan-editor{height:48dvh;min-height:48dvh}.clinical-surface .wellness-plan-refine-card textarea{height:140px;min-height:140px}.clinical-surface .wellness-raw-data{height:52dvh;min-height:52dvh}.wellness-form-primary{justify-self:stretch;width:100%}.clinical-upload-form,.clinical-order-editor form,.clinical-order-group__fields,.integrated-clinical-chart #clinical-panel-files:not([hidden]),.patient-profile-form,.clinical-generated-document{grid-template-columns:minmax(0,1fr)}.clinical-generated-document>.clinical-document-actions{justify-content:flex-start}.clinical-upload-form>*,.clinical-order-editor form>*,.clinical-order-group__fields>*{grid-column:1}.clinical-order-editor{max-height:calc(100dvh - 96px)}.clinical-order-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.patient-data-highlight-row{grid-template-columns:minmax(0,1fr) 38px}.patient-data-highlight-label{grid-column:1/-1}input:not([type=checkbox]):not([type=radio]),textarea,select,#loginForm input:not([type=checkbox]):not([type=radio]),#loginMfaForm input:not([type=checkbox]):not([type=radio]),.soap-note-editor,.plan-manual-entry-input,.instructions-diagnosis-input,.patient-data-highlight-input,.provider-notes,.archive-service-filter select{font-size-adjust:.44;font-size:16px!important}.integrated-clinical-chart #clinical-panel-settings:not([hidden]){grid-template-columns:minmax(0,1fr)}.integrated-clinical-chart #clinical-panel-settings>.clinical-settings-heading{grid-column:1}.auth-loading-content,#pinGate>.card{width:min(404px,100vw - 40px);height:min(440px,100dvh - 40px);min-height:min(440px,100dvh - 40px);padding:22px 20px}#recentAuthModal,#dashboardInputModal,#dashboardConfirmModal,#mfaEnrollmentModal,#aiSettingsModal,#notificationCenterModal,#accountSettingsModal,.attachment-preview-modal{align-items:end;padding:8px!important}.dashboard-settings-dialog,.attachment-preview-dialog{max-height:calc(100dvh - 16px)}.settings-panel-grid{grid-template-columns:1fr}.settings-panel--wide{grid-column:1}}@media (width<=560px){.dashboard-brand-logo{flex-basis:30px;width:30px;height:30px}.dashboard-brand-primary{max-width:170px}.patient-open-tab--all{font-size:0}.patient-open-tab--all i{margin:0}.patient-open-tabs-fill{flex:0}.patient-open-actions{margin-left:auto}.clinical-shell-tools{max-width:104px}.clinical-shell-tools button{width:32px;min-width:32px;padding:0;font-size:0}.clinical-shell-tools button i{flex-basis:16px;width:16px;height:16px}.instructions-diagnosis-row{grid-template-columns:minmax(0,1fr);align-items:stretch}.instructions-diagnosis-row .btn{width:100%}.patient-attachment-row{min-height:60px;padding:9px}.wellness-program-summary{grid-template-columns:1fr}.wellness-program-summary>div,.wellness-program-summary>div:nth-child(n+3){border-top:0;border-bottom:1px solid var(--ui-border);padding:9px 0}.wellness-program-summary>div:last-child{border-bottom:0}}@media (prefers-reduced-motion:reduce){.workspace-detail,#toast,.workspace-list,.pull-refresh-indicator,.ay-alert-panel{transition:none}.patient-attachment-skeleton .patient-attachment-icon,.patient-attachment-skeleton-action,.patient-attachment-skeleton-line,.plan-loading-card.is-generating .plan-loading-line,.pull-refresh-indicator.refreshing .ay-nav-icon,.ay-chart-meta-skeleton,.ay-chart-contact-skeleton{animation:none}}@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}.fa-upload{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 15v5h16v-5'/%3E%3C/svg%3E")}.fa-right-from-bracket{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H4v16h6M14 8l4 4-4 4M8 12h10'/%3E%3C/svg%3E")}html[data-theme-surface=patient-portal]{overscroll-behavior-y:none;background:var(--ui-canvas);height:auto;min-height:100%;overflow:hidden auto}html[data-theme-surface=patient-portal] body{overscroll-behavior-y:none;height:auto;min-height:100dvh;overflow:hidden auto}html.clinical-ui.dark{color-scheme:dark;--ui-canvas:#151b1d;--ui-surface:#202729;--ui-surface-soft:#252e30;--ui-surface-muted:#2b3436;--ui-border:#334044;--ui-border-strong:#465459;--ui-text:#f2f6f5;--ui-text-soft:#d5dedc;--ui-muted:#c4cecc;--ui-faint:#b7c2c0;--ui-brand:var(--deployment-brand-dark,#83c4bb);--ui-accent:var(--deployment-brand-strong-dark,#83c4bb);--ui-accent-fill:var(--deployment-brand-fill-dark,#286f68);--ui-accent-fill-hover:color-mix(in srgb, var(--ui-accent-fill) 82%, #000);--ui-on-accent:#fff;--ui-accent-hover:color-mix(in srgb, var(--ui-accent) 78%, #fff);--ui-accent-soft:var(--deployment-brand-wash-dark,#213b3a);--ui-accent-border:var(--deployment-brand-wash-strong-dark,#3d6965);--ui-info-soft:#1c3443;--ui-info-border:#31566c;--ui-info:#b8def5;--ui-referral-soft:#2c2440;--ui-referral-border:#4d3f73;--ui-referral:#d3c4f7;--ui-success-soft:#1d382c;--ui-success-border:#365e49;--ui-success:#a8dfbd;--ui-warning-soft:#3a3021;--ui-warning-border:#654f2f;--ui-warning:#f3d6a2;--ui-danger-soft:#402725;--ui-danger-border:#70423e;--ui-danger:#f3b3ae;--ui-overlay:#060a0cb8;--ui-chat-assistant-surface:#2a3234;--ui-chat-assistant-border:#465154;--ui-chat-choice-surface:#202729;--ui-chat-choice-border:#4c5a5d;--ui-chat-choice-hover:#263133;--ui-shadow-card:0 1px 2px #00000029, 0 7px 20px #0000001a;--ui-shadow-popover:0 16px 44px #00000061, 0 3px 10px #0000002e;--ui-shadow-dialog:0 30px 76px #00000080, 0 8px 24px #0000003d;--ui-shadow-footer:0 -8px 24px #00000038}html.clinical-ui.dark :where(.btn-primary,.ui-button--primary,.ay-button--primary,.clinical-surface button.primary,.clinical-surface .ui-button--primary){border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}html.clinical-ui.dark :where(.btn-primary,.ui-button--primary,.ay-button--primary,.clinical-surface button.primary,.clinical-surface .ui-button--primary):hover{background:var(--ui-accent-fill-hover);color:var(--ui-on-accent)}html.clinical-ui.dark[data-theme-surface=clinic-configuration] :where(.config-status,.config-card,.setup-nav,.setup-group>details,.setup-advanced,.assistant-result,.question-row,.role-pill,.preview-chip,.preview-action,.preview-chat-shell,.preview-dashboard-shell,.interface-preview-frame){background-color:var(--ui-surface);color:var(--ui-text)}html.clinical-ui.dark[data-theme-surface=clinic-configuration] :where(.policy-card,.custom-card,.interface-preview,.question-group,.controlled-field){background-color:var(--ui-surface-soft)!important;color:var(--ui-text)!important}html.clinical-ui.dark[data-theme-surface=clinic-configuration] :where(.field input,.field textarea,.field select,.publish-row input,.question-edit textarea,.question-library-select){background-color:var(--ui-surface-soft);color:var(--ui-text)}html.clinical-ui.dark[data-theme-surface=clinic-configuration] .setup-footer{background:color-mix(in srgb, var(--ui-surface) 94%, transparent)}html[data-theme-surface=patient-portal] .skip-link{z-index:200;border-radius:var(--ui-radius-sm);background:var(--ui-accent);color:#fff;padding:9px 12px;font-size:.76rem;font-weight:650;text-decoration:none;position:fixed;top:8px;left:8px;transform:translateY(-150%)}html[data-theme-surface=patient-portal] .skip-link:focus{transform:translateY(0)}.portal-masthead{z-index:40;border-bottom:1px solid var(--ui-border);background:color-mix(in srgb, var(--ui-surface) 94%, transparent);backdrop-filter:blur(14px);justify-content:space-between;align-items:center;gap:18px;min-height:68px;padding:10px clamp(16px,4vw,44px);display:flex;position:sticky;top:0}.portal-brand{align-items:center;gap:11px;min-width:0;display:flex}.portal-brand-logo{object-fit:contain;flex:0 0 38px;width:38px;height:38px}.portal-brand-copy{flex-direction:column;min-width:0;line-height:1.15;display:flex}.portal-wordmark{align-items:center;gap:.25rem;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:1rem;line-height:1;display:inline-flex}.portal-brand-word.primary{color:var(--ui-text);letter-spacing:-.025em;font-weight:800}.portal-brand-word.secondary{color:var(--ui-accent);letter-spacing:.025em;font-weight:300}.portal-brand-subtitle{color:var(--ui-muted);margin-top:3px;font-size:.7rem;font-weight:600}.portal-brand-mark,.portal-card-icon{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);width:38px;height:38px;color:var(--ui-accent);flex:0 0 38px;place-items:center;display:grid}.portal-brand-mark i,.portal-card-icon i{flex-basis:18px;width:18px;height:18px}.portal-brand h1{color:var(--ui-text);letter-spacing:-.02em;margin:1px 0 0;font-size:1.08rem;font-weight:670}.portal-eyebrow{color:var(--ui-accent);letter-spacing:.08em;text-transform:uppercase;font-size:.61rem;font-weight:720;line-height:1.25;display:block}.portal-masthead-actions{align-items:center;gap:8px;display:flex}.portal-masthead .theme-icon-control{border-radius:var(--ui-radius-sm);width:36px;min-width:36px;height:36px;min-height:36px;color:var(--ui-muted);background:0 0;border:0;padding:0;font-size:.9rem}.portal-masthead .theme-icon-control:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-main{--portal-chevron-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");width:min(100%,1240px);margin:0 auto;padding:18px clamp(14px,3vw,30px) 40px}.portal-main .portal-status{width:fit-content;max-width:100%;min-height:30px;color:var(--ui-text-soft);border:1px solid #0000;border-radius:999px;align-items:center;gap:7px;margin:0 auto 14px;padding:6px 10px;font-size:.71rem;font-weight:560;line-height:1.3;display:flex}.portal-main .portal-status:empty{min-height:0;margin-bottom:0;padding:0}.portal-main .portal-status[data-error=true]{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.portal-main .portal-status .ui-loading-state{align-items:center;gap:7px;display:inline-flex}.portal-main .portal-status .ui-loading-state i{flex:0 0 15px;width:15px;height:15px}.portal-auth-stage{place-items:center;min-height:min(62dvh,610px);display:grid}.portal-auth-stage:empty,.portal-auth-stage:not(:has(>:not([hidden]))){display:none}.portal-main .portal-auth-card,.portal-main .account-setup{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,470px);min-height:0;margin:0;padding:24px;box-shadow:0 10px 34px #1c292e0e}.portal-card-heading,.portal-section-heading{align-items:flex-start;gap:12px;display:flex}.portal-card-heading{margin-bottom:18px}.portal-card-heading h2,.portal-main .account-setup h2{color:var(--ui-text);letter-spacing:-.018em;margin:0;font-size:1.08rem;font-weight:670}.portal-card-heading p,.portal-main .account-setup>p,.portal-supporting-copy{color:var(--ui-muted);margin:4px 0 0;font-size:.74rem;line-height:1.5}.portal-main :where(.portal-auth-card,.account-setup) form{gap:13px}.portal-main :where(.portal-auth-card,.account-setup) label,.portal-main :where(.portal-section,.portal-composer,.portal-upload-form) label{min-width:0;color:var(--ui-text-soft);gap:6px;margin:0;font-size:.75rem;font-weight:630;display:grid}.portal-main :where(.portal-auth-card,.account-setup) form>button.primary{width:100%;margin-top:2px}.portal-main .account-setup-actions{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.portal-main .account-setup-actions .ui-button{min-height:36px}.portal-main .account-setup-actions .ui-button--primary{flex:190px}.portal-main .portal-auth-card>.actions{justify-content:center;gap:3px 12px;margin-top:13px!important}.portal-main .portal-auth-card>.actions button,.portal-main .account-setup>button{min-height:30px;color:var(--ui-accent);background:0 0;border:0;padding:5px 4px}.portal-main .portal-auth-card>.actions button:hover,.portal-main .account-setup>button:hover{color:var(--ui-accent-hover);background:0 0;text-decoration:underline}.portal-main .account-setup code{overflow-wrap:anywhere;border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);color:var(--ui-text);padding:10px;font-size:.76rem;display:block}.portal-main .account-setup img{border-radius:var(--ui-radius-sm);margin:10px auto;display:block}.portal-hero{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius);background:linear-gradient(115deg, var(--ui-accent-soft), color-mix(in srgb, var(--ui-accent-soft) 52%, var(--ui-surface)));box-shadow:var(--ui-shadow-card);justify-content:space-between;align-items:center;gap:18px;padding:21px 24px;display:flex}.portal-hero h2{color:var(--ui-text);letter-spacing:-.02em;margin:4px 0 0;font-size:1.2rem;font-weight:680}.portal-hero p{color:var(--ui-text-soft);margin:4px 0 0;font-size:.76rem}.portal-load-more{margin:12px auto 0;display:flex}.portal-tabs{overscroll-behavior-x:contain;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);scrollbar-width:thin;touch-action:pan-x;-webkit-overflow-scrolling:touch;align-items:center;gap:6px;margin:13px 0;padding:5px;display:flex;position:relative;overflow-x:auto}.portal-tabs button{border-radius:var(--ui-radius-sm);min-width:max-content;min-height:38px;color:var(--ui-muted);background:0 0;border:1px solid #0000;justify-content:flex-start;gap:7px;padding:8px 12px;font-size:.72rem}.portal-tabs button:hover,.portal-tabs button[aria-selected=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-tabs button[aria-selected=true]{font-weight:680}.portal-tabs button i{flex:0 0 16px;width:16px;height:16px}.portal-more-trigger,.portal-more-menu{display:none}.portal-main .portal-section{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-height:360px;box-shadow:var(--ui-shadow-card);margin:0;padding:23px 25px}.portal-section-heading{border-bottom:1px solid var(--ui-border);margin-bottom:19px;padding-bottom:15px}.portal-section-heading h3{color:var(--ui-text);margin:0;font-size:.94rem;font-weight:680}.portal-section-heading p{color:var(--ui-muted);margin:3px 0 0;font-size:.72rem}.portal-card-icon{flex-basis:36px;width:36px;height:36px}.portal-stack,.portal-message-list,.portal-file-list{gap:10px;display:grid}.portal-stack>p:only-child,.portal-message-list>p:only-child,.portal-file-list>p:only-child{color:var(--ui-muted);text-align:center;margin:0;padding:22px 4px;font-size:.76rem}.portal-stack>.ui-loading-state{min-height:150px;color:var(--ui-muted);justify-content:center;align-items:center;gap:7px;font-size:.76rem;display:flex}.portal-stack>.ui-loading-state i{flex:0 0 16px;width:16px;height:16px}.portal-document-notice{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);margin:0;padding:10px 12px;font-size:.72rem}.portal-main details{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);overflow:hidden}.portal-main details>summary{min-height:44px;color:var(--ui-text);cursor:pointer;align-items:center;padding:10px 38px 10px 13px;font-size:.76rem;font-weight:650;list-style:none;display:flex;position:relative}.portal-main details>summary::-webkit-details-marker{display:none}.portal-main details>summary:after{content:"";width:14px;height:14px;-webkit-mask:var(--portal-chevron-down) center / contain no-repeat;mask:var(--portal-chevron-down) center / contain no-repeat;background:currentColor;transition:transform .14s;position:absolute;right:13px}.portal-main details[open]>summary:after{transform:rotate(180deg)}.portal-main details>:not(summary){margin-left:13px;margin-right:13px}.portal-main details>:last-child{margin-bottom:13px}.portal-main details pre{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);max-height:300px;color:var(--ui-text-soft);font:500 .7rem/1.55 var(--ui-font);white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;overflow:auto}.portal-note,.portal-safety-note{border-radius:var(--ui-radius-sm);align-items:flex-start;gap:7px;padding:10px 11px;font-size:.68rem;line-height:1.45;display:flex}.portal-main .portal-note{background:var(--ui-surface-muted);color:var(--ui-text-soft);margin:16px 0 0}.portal-safety-note{border:1px solid var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger);margin:0 0 14px}.portal-safety-note i{flex:0 0 15px;width:15px;height:15px;margin-top:1px}.portal-main .portal-message{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);justify-items:start;gap:5px;max-width:min(82%,660px);margin:0;padding:11px 13px;display:grid}.portal-main .portal-message--patient{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);justify-self:end}.portal-message strong{font-size:.72rem}.portal-message p{color:var(--ui-text-soft);margin:0;font-size:.76rem;line-height:1.5}.portal-message small{color:var(--ui-muted);font-size:.65rem}.portal-message button{min-height:31px;padding:6px 10px;font-size:.67rem}.portal-composer,.portal-upload-form{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);padding:17px;margin-top:18px!important}.portal-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.portal-form-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.portal-file-list>.portal-file,.portal-stack>.portal-file{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);min-height:52px;color:var(--ui-text-soft);grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:8px 10px;font-size:.74rem;display:grid}.portal-file-icon{border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);width:36px;height:36px;color:var(--ui-accent);place-items:center;display:grid}.portal-file-icon i{flex-basis:16px;width:16px;height:16px}.portal-file-copy{overflow-wrap:anywhere;min-width:0}.portal-file-copy strong{color:var(--ui-text);font-size:.73rem;display:block}.portal-file-copy span{color:var(--ui-muted);text-transform:capitalize;margin-top:2px;font-size:.66rem;display:block}.portal-file button{min-height:32px;padding:6px 10px}.portal-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.portal-overview-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);align-items:center;gap:11px;min-width:0;padding:14px;display:flex}.portal-overview-card>div{gap:2px;min-width:0;display:grid}.portal-overview-card strong{color:var(--ui-text);font-size:.82rem}.portal-overview-card small,.portal-overview-label{color:var(--ui-muted);font-size:.67rem;line-height:1.4}.portal-overview-label{letter-spacing:.045em;text-transform:uppercase;font-weight:680}.portal-home-grid>.ui-button{grid-column:1/-1;justify-self:start}.portal-home-trends{margin-top:20px}.portal-subsection-heading h4{color:var(--ui-text);margin:0;font-size:.84rem}.portal-subsection-heading p{color:var(--ui-muted);margin:3px 0 10px;font-size:.7rem}.portal-trend-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.portal-trend-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);gap:4px;padding:13px;display:grid}.portal-trend-card strong{color:var(--ui-text-soft);font-size:.72rem}.portal-trend-card>span{color:var(--ui-accent);font-size:1.2rem;font-weight:700}.portal-trend-card small{color:var(--ui-muted);font-size:.66rem}.portal-message-meta{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.portal-attachment-status,.upload-progress{color:var(--ui-muted);margin:0;font-size:.68rem}.portal-composer-actions{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.portal-composer-actions :where(.portal-attachment-picker,button){white-space:nowrap;height:34px;min-height:34px;padding:6px 11px;font-size:.7rem}.portal-composer-actions :where(.portal-attachment-picker,button) i{flex-basis:14px;width:14px;height:14px}.portal-main .portal-composer-actions .portal-attachment-picker{grid-template-columns:none;align-items:center;gap:6px;min-width:0;display:inline-flex;position:relative;overflow:hidden}.portal-attachment-picker span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-main .portal-composer-actions>button{flex:none;height:34px;min-height:34px}.portal-attachment-picker input{opacity:0;pointer-events:none;position:absolute;width:1px!important;height:1px!important}.portal-history-record summary>span{gap:2px;min-width:0;display:grid}.portal-history-record summary small{color:var(--ui-muted);font-size:.66rem;font-weight:500}.portal-history-answers{grid-template-columns:minmax(130px,.55fr) minmax(0,1.45fr);gap:0;padding-bottom:6px;display:grid}.portal-history-answers dt,.portal-history-answers dd{border-top:1px solid var(--ui-border);margin:0;padding:9px 0;font-size:.71rem;line-height:1.45}.portal-history-answers dt{color:var(--ui-text);padding-right:12px;font-weight:640}.portal-history-answers dd{color:var(--ui-text-soft);white-space:pre-wrap}.portal-settings-layout{grid-template-columns:190px minmax(0,1fr);align-items:start;gap:16px;display:grid}.portal-settings-nav{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:4px;padding:5px;display:grid}.portal-settings-nav button{min-height:36px;color:var(--ui-muted);background:0 0;border:1px solid #0000;justify-content:flex-start;padding:7px 10px;font-size:.71rem}.portal-settings-nav button[aria-selected=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-settings-panes>section{min-width:0}.portal-settings-panes h4{color:var(--ui-text);margin:0 0 4px;font-size:.86rem}.portal-settings-panes h4+p{color:var(--ui-muted);margin:0 0 14px;font-size:.71rem}.portal-form-grid-wide{grid-column:1/-1}.portal-settings-actions,.portal-choice-list{gap:9px;display:grid}.portal-choice-list .ui-choice{align-items:center;gap:8px;display:flex}.portal-checkin-chat{margin-bottom:14px}.portal-checkin-start,.portal-checkin-submit{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:11px;padding:14px;display:grid}.portal-checkin-start .primary,.portal-checkin-submit .ui-button{justify-self:start}.portal-success-note{border:1px solid var(--ui-success-border);border-radius:var(--ui-radius-sm);background:var(--ui-success-soft);color:var(--ui-success);padding:11px 12px;font-size:.72rem}.portal-masthead #signoutButton,.portal-hero #refreshButton{justify-content:center;align-items:center}.portal-masthead #signoutButton i,.portal-hero #refreshButton i{margin:0;display:block}.portal-main #program{gap:13px}.portal-main #program>p:first-child{border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-accent);text-transform:capitalize;margin:0;padding:11px 13px;font-size:.74rem;font-weight:650}.portal-main #program>form,.portal-main #program>section{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:12px;padding:15px;display:grid}.portal-main #program>section h4{margin:0;font-size:.84rem}.portal-main #program article{border-radius:var(--ui-radius-sm);background:var(--ui-surface);padding:10px 12px}.portal-main #program article strong{font-size:.7rem}.portal-main #program article p{margin:3px 0 0;font-size:.74rem}.portal-main #program label:has(input[type=checkbox]){grid-template-columns:none;align-items:flex-start;gap:9px;font-size:.72rem;font-weight:520;display:flex}.portal-main #wellness form{gap:13px;display:grid}.portal-main #wellness form>button{justify-self:end}.portal-main input[type=file]{background:var(--ui-surface);color:var(--ui-muted);padding:6px}.portal-main input[type=file]::file-selector-button{border:1px solid var(--ui-border-strong);background:var(--ui-surface);min-height:30px;color:var(--ui-text-soft);font:620 .7rem var(--ui-font);cursor:pointer;border-radius:999px;margin-right:9px;padding:6px 11px}.portal-main input[type=file]::file-selector-button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-theme-surface=patient-portal].dark :where(.portal-masthead,.portal-main .portal-auth-card,.portal-main .account-setup,.portal-main .portal-section,.portal-tabs,.portal-main details pre,.portal-main #program article){background-color:var(--ui-surface)}html[data-theme-surface=patient-portal].dark .portal-masthead{background:color-mix(in srgb, var(--ui-surface) 94%, transparent)}html[data-theme-surface=patient-portal].dark .portal-hero{background:linear-gradient(115deg, var(--ui-accent-soft), color-mix(in srgb, var(--ui-accent-soft) 50%, var(--ui-surface)))}html[data-theme-surface=patient-portal].dark .portal-tabs button:not([aria-selected=true]){color:var(--ui-muted);transition:none}@media (width<=680px){.portal-masthead{min-height:62px;padding:9px 14px}.portal-brand-logo{flex-basis:34px;width:34px;height:34px}.portal-wordmark{font-size:.94rem}.portal-brand-subtitle{font-size:.64rem}.portal-masthead-actions{gap:4px}.portal-masthead #signoutButton{width:36px;min-width:36px;padding:0;font-size:0}.portal-masthead #signoutButton i{margin:0}.portal-main{padding:13px 11px 30px}.portal-status{margin-bottom:10px}.portal-auth-stage{align-items:center;min-height:calc(100dvh - 155px)}.portal-main .portal-auth-card,.portal-main .account-setup{width:min(100%,430px);padding:19px 17px}.portal-hero{align-items:flex-start;padding:17px}.portal-hero h2{font-size:1.03rem}.portal-hero #refreshButton{width:36px;min-width:36px;min-height:36px;padding:0;font-size:0}.portal-hero #refreshButton i{margin:0}.portal-tabs{margin:10px 0;padding:4px}.portal-tabs button{min-height:36px;padding:7px 10px}.portal-tabs button[data-mobile-more=true]{display:none}.portal-tabs .portal-more-trigger{display:inline-flex}.portal-more-menu{z-index:45;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-width:165px;box-shadow:var(--ui-shadow-popover);padding:5px;position:fixed;top:178px;right:11px}.portal-more-menu:not([hidden]){display:grid}.portal-more-menu button{justify-content:flex-start;width:100%}.portal-main .portal-section{min-height:300px;padding:17px 15px}.portal-section-heading{margin-bottom:15px;padding-bottom:13px}.portal-section-heading .portal-card-icon{display:none}.portal-form-grid{grid-template-columns:minmax(0,1fr)}.portal-form-grid-wide{grid-column:auto}.portal-home-grid,.portal-trend-grid,.portal-settings-layout{grid-template-columns:minmax(0,1fr)}.portal-settings-nav{display:flex;overflow-x:auto}.portal-settings-nav button{min-width:max-content}.portal-history-answers{grid-template-columns:minmax(0,1fr)}.portal-history-answers dt{padding-bottom:2px}.portal-history-answers dd{border-top:0;padding-top:2px}.portal-main .portal-message{max-width:92%}.portal-composer,.portal-upload-form{padding:13px}.portal-file-list>.portal-file{grid-template-columns:34px minmax(0,1fr)}.portal-file>button{grid-column:2;justify-self:start}.portal-main input:not([type=checkbox]):not([type=radio]),.portal-main textarea,.portal-main select{font-size-adjust:.44;font-size:16px!important}}@media (prefers-reduced-motion:reduce){.portal-main details>summary:after{transition:none}}html[data-theme-surface=clinic-configuration],html[data-theme-surface=clinic-configuration] body{background:var(--ui-canvas);width:100%;min-width:320px;height:auto;min-height:100%;overflow:hidden auto}html[data-theme-surface=clinic-configuration] .config-shell{width:min(1220px,100% - 32px);margin:0 auto;padding:24px 0 84px}.config-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.config-header h1{margin-top:7px!important;font-size:1.35rem!important}.config-header p{margin-top:4px!important}.config-back-button{width:fit-content;min-height:36px}.config-back-button__icon{place-items:center;line-height:1;display:inline-grid}.config-status{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-height:42px;color:var(--ui-text-soft);box-shadow:var(--ui-shadow-card);align-items:center;margin-bottom:16px;padding:10px 13px;font-size:.76rem;display:flex}.config-status[data-tone=danger]{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.config-status[data-tone=success]{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-settings-loading{place-items:center;width:100%;min-height:96px;animation:.2s ease-out .18s both config-loading-in;display:grid;position:relative}.ay-settings-loading.is-overlay{z-index:300;pointer-events:none;min-height:0;position:fixed;inset:0}body:has(.ay-settings-dialog-backdrop:not(.is-leaving)) .ay-settings-loading{display:none}.ay-settings-loading.is-blocking{pointer-events:auto;background:color-mix(in srgb, var(--ui-canvas) 78%, transparent)}html[data-theme-surface=clinic-configuration] .dashboard-modern-spinner{border:3px solid var(--ui-accent-soft);border-top-color:var(--ui-accent);border-radius:50%;width:38px;height:38px;animation:.72s linear infinite dashboard-spinner;display:block}html[data-theme-surface=clinic-configuration] .ui-loading-state:has(>i.fa-spin){place-items:center;gap:0;width:100%;min-height:96px;animation:.2s ease-out .18s both config-loading-in;display:grid;position:relative}html[data-theme-surface=clinic-configuration] .ui-loading-state:has(>i.fa-spin)>i{color:#0000;border:3px solid var(--ui-accent-soft);border-top-color:var(--ui-accent);border-radius:50%;flex:none;width:38px;height:38px;font-size:0;animation:.72s linear infinite dashboard-spinner;display:block}html[data-theme-surface=clinic-configuration] .ui-loading-state:has(>i.fa-spin)>i:before{content:none}html[data-theme-surface=clinic-configuration] .ui-loading-state:has(>i.fa-spin)>span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}html[data-theme-surface=clinic-configuration] .config-status:has(>.ui-loading-state>i.fa-spin){z-index:300;background:color-mix(in srgb, var(--ui-canvas) 82%, transparent);min-height:0;box-shadow:none;border:0;border-radius:0;place-items:center;margin:0;padding:0;animation:.2s ease-out .18s both config-loading-in;display:grid;position:fixed;inset:0}html[data-theme-surface=clinic-configuration] .config-status>.ui-loading-state:has(>i.fa-spin){min-height:0;animation:none}@keyframes config-loading-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=clinic-configuration] .ui-loading-state>i,html[data-theme-surface=clinic-configuration] .dashboard-modern-spinner{animation-duration:1.8s}}.config-inline-status{margin:0 0 14px;padding:0 2px}.config-inline-status p{color:var(--ui-muted);margin:0;font-size:.74rem;line-height:1.45}.config-grid{display:block}.config-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);min-width:0;box-shadow:var(--ui-shadow-card);margin-bottom:14px;padding:19px}.config-card--wide{grid-column:1/-1}.config-card h2{color:var(--ui-text);letter-spacing:-.015em;margin:0 0 4px;font-size:1rem;font-weight:650}.config-card h3{color:var(--ui-text);font-weight:650}.config-subheading{margin:18px 0 8px;font-size:.88rem}.config-help{color:var(--ui-muted);margin:0 0 14px;font-size:.74rem;line-height:1.5}.config-help i{vertical-align:-3px}.field-grid,.policy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;display:grid}.field{align-content:start;gap:6px;min-width:0;display:grid}.field--wide{grid-column:1/-1}.field label,.field-label{color:var(--ui-text-soft);margin:0;font-size:.75rem;font-weight:650}html[data-theme-surface=clinic-configuration] :where(.field input,.field textarea,.field select,.publish-row input,.question-edit textarea,.question-library-select,.settings-inline-section input:not([type=checkbox]):not([type=radio]),.settings-inline-section textarea,.settings-inline-section select){border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:100%;min-width:0;min-height:40px;color:var(--ui-text);margin:0;padding:9px 11px;font-size:14px}html[data-theme-surface=clinic-configuration] :where(.field textarea,.question-edit textarea,.settings-inline-section textarea){resize:vertical;min-height:92px}.policy-card,.custom-card,.interface-preview{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);min-width:0;padding:14px}.policy-head,.custom-card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.policy-title{color:var(--ui-text);font-size:.8rem;font-weight:650}.check-row{min-width:0;color:var(--ui-text-soft);align-items:flex-start;gap:8px;margin:0;font-size:.75rem;font-weight:520;line-height:1.45;display:flex}.check-row input[type=checkbox],.check-row input[type=radio]{flex:0 0 17px;width:17px;height:17px;margin:2px 0 0}.publish-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:14px;display:grid}.validation-list{color:var(--ui-danger);margin:10px 0 0;padding-left:20px;font-size:.74rem}.changed-sections,.version-meta{color:var(--ui-muted);font-size:.72rem}.version-list{gap:8px;display:grid}.version-history{border-top:1px solid var(--ui-border);gap:8px;margin-top:8px;padding-top:12px;display:grid}.version-list-heading{margin:0;font-size:.78rem}.version-item{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.platform-floor{border:1px solid var(--ui-accent-border);background:color-mix(in srgb, var(--ui-accent-soft) 42%, var(--ui-surface))}.setup-layout{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:18px;display:grid}.setup-nav{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);gap:3px;padding:8px;display:grid;position:sticky;top:16px}.setup-nav button{border-radius:var(--ui-radius-sm);width:100%;min-height:42px;color:var(--ui-text-soft);text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:10px;padding:9px 10px;font-size:.76rem;font-weight:620;display:flex}.setup-nav button:hover{background:var(--ui-surface-soft);color:var(--ui-accent)}.setup-nav button[aria-current=step]{background:var(--ui-accent-soft);color:var(--ui-accent)}.step-number{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:23px;height:23px;color:var(--ui-muted);border-radius:50%;flex:0 0 23px;place-items:center;font-size:.66rem;display:grid}.setup-nav button[aria-current=step] .step-number{border-color:var(--ui-accent-border);background:var(--ui-accent);color:#fff}.setup-main{min-width:0}.config-card[data-step-panel]{display:none}.config-card[data-step-panel].is-active{animation:.16s ease-out config-fade;display:block}.ay-settings-group-card>.ay-settings-toggle-card{box-shadow:none;background:0 0;border:0;margin:0;padding:0}.config-card[data-step-panel]>:not(header)+:not(header){margin-top:16px}@keyframes config-fade{0%{transform:translateY(3px)}}.step-heading{margin:0 0 15px}.setup-footer{z-index:12;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:color-mix(in srgb, var(--ui-surface) 94%, transparent);box-shadow:var(--ui-shadow-popover);backdrop-filter:blur(14px);flex-wrap:nowrap;align-items:center;gap:8px;margin-top:14px;padding:9px;display:flex;position:sticky;bottom:10px}.setup-footer-navigation,.setup-footer-actions{align-items:center;gap:7px;display:flex}.setup-footer-navigation{flex:none}.setup-footer-position{white-space:nowrap;margin-right:auto}.setup-footer-actions{white-space:nowrap;flex:none}.setup-footer-actions .btn{min-height:34px;padding:7px 13px;font-size:.72rem}.setup-footer-arrow{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:34px;min-width:34px;height:34px;color:var(--ui-text-soft);border-radius:50%;place-items:center;padding:0;display:grid}.setup-footer-arrow:hover:not(:disabled){border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.setup-footer-arrow:disabled{opacity:.4;cursor:not-allowed}.setup-footer-arrow i{width:13px;height:13px}.assistant-card{border-color:var(--ui-accent-border);background:linear-gradient(135deg, color-mix(in srgb, var(--ui-accent-soft) 55%, var(--ui-surface)), var(--ui-surface))}.assistant-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.assistant-result{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);margin-top:12px;padding:12px}.assistant-result-actions,.role-pills,.preview-action-row,.preview-chip-row{flex-wrap:wrap;gap:8px;display:flex}.assistant-result-actions,.preview-action-row{margin-top:10px}.question-groups{gap:11px;display:grid}.question-group{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);overflow:hidden}.question-group-title{border-bottom:1px solid var(--ui-border);color:var(--ui-text);margin:0;padding:12px 13px;font-size:.78rem;font-weight:650}.question-list{background:var(--ui-border);gap:1px;display:grid}.question-row{background:var(--ui-surface);padding:11px 13px}.question-row-main{justify-content:space-between;align-items:center;gap:12px;display:flex}.question-row-main>label:first-child{font-size:.76rem;font-weight:620}.question-edit{gap:6px;margin-top:9px;display:grid}.question-edit label{color:var(--ui-text-soft);font-size:.7rem;font-weight:620}.question-library-actions{border-top:1px solid var(--ui-border);background:var(--ui-surface);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:12px 13px;display:grid}.switch{flex:0 0 38px;width:38px;height:22px;position:relative}.switch input{opacity:0;position:absolute}.switch span{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);border-radius:999px;transition:all .15s;position:absolute;inset:0}.switch span:after{content:"";background:var(--ui-surface);border-radius:50%;width:16px;height:16px;transition:all .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0f172a2e}.switch input:checked+span{border-color:var(--ui-accent);background:var(--ui-accent)}.switch input:checked+span:after{transform:translate(16px)}.switch input:focus-visible+span{box-shadow:var(--ui-focus)}.role-pill,.preview-chip,.preview-action{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text-soft);align-items:center;gap:6px;display:inline-flex}.role-pill{border-radius:999px;padding:7px 10px;font-size:.72rem}.controlled-field{background:var(--ui-surface-muted)!important;color:var(--ui-text-soft)!important}.interface-preview-grid{grid-template-columns:1fr;gap:12px;margin-top:14px;display:grid}.interface-preview-title{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;margin:0 0 9px;font-size:.67rem;font-weight:650}.interface-preview-toolbar{color:var(--ui-text);justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:.78rem;display:flex}.preview-size-controls{gap:6px;display:flex}.preview-size-controls .btn{min-height:34px;padding:6px 11px;font-size:.7rem}.preview-size-controls .btn.is-active{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.preview-chat-shell,.preview-dashboard-shell,.interface-preview-frame{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);padding:11px}.interface-preview-frame{width:100%;transition:opacity var(--ui-duration-fast) var(--ui-ease-out);margin-inline:auto}.interface-preview-frame.is-mobile{width:min(390px,100%)}.patient-chat-preview{background:var(--ui-canvas);padding:0;overflow:hidden}.patient-chat-preview__masthead{border-bottom:1px solid var(--ui-border);background:var(--ui-surface);align-items:center;gap:10px;min-height:54px;padding:10px 14px;display:flex}.patient-chat-preview__mark{border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);width:30px;height:30px;color:var(--ui-accent);flex:0 0 30px;place-items:center;font-size:1rem;display:grid}.patient-chat-preview__masthead div{gap:1px;display:grid}.patient-chat-preview__masthead strong{color:var(--ui-text);font-size:.76rem}.patient-chat-preview__masthead span:last-child{color:var(--ui-muted);font-size:.64rem}.patient-chat-preview__mark img{object-fit:contain;border-radius:inherit;width:100%;height:100%}.patient-chat-preview__menu{grid-auto-flow:column;align-items:center;margin-left:auto;gap:5px!important;display:flex!important}.patient-chat-preview__menu span{border:1px solid var(--ui-border);border-radius:var(--ui-radius-xs);color:var(--ui-muted);padding:4px 6px;font-size:.58rem!important}.patient-chat-preview__notice{color:var(--ui-danger);text-align:center;margin:10px auto 0;padding:7px 11px;font-size:.67rem;font-weight:600}.patient-chat-preview__conversation{flex-direction:column;gap:9px;min-height:178px;padding:14px;display:flex}.patient-chat-preview__bubble{border:1px solid var(--ui-border);border-radius:var(--ui-radius) var(--ui-radius) var(--ui-radius) 3px;background:var(--ui-surface);width:min(72%,430px);color:var(--ui-text-soft);box-shadow:var(--ui-shadow-card);padding:10px 12px;font-size:.72rem}.patient-chat-preview__bubble.is-patient{border-color:color-mix(in srgb,var(--preview-accent) 32%,var(--ui-border));border-radius:var(--ui-radius) var(--ui-radius) 3px var(--ui-radius);background:color-mix(in srgb,var(--preview-accent) 10%,var(--ui-surface));align-self:flex-end;width:auto;max-width:62%}.patient-chat-preview__choices{flex-wrap:wrap;gap:6px;display:flex}.patient-chat-preview__choices span{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);color:var(--ui-text);padding:6px 9px;font-size:.66rem;font-weight:650}.patient-chat-preview__composer{border-top:1px solid var(--ui-border);background:var(--ui-surface);padding:10px}.patient-chat-preview__composer textarea{resize:none!important;min-height:48px!important}.patient-chat-preview__controls{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.patient-chat-preview__controls .btn{min-height:32px;padding:6px 10px;font-size:.66rem}.patient-chat-preview__controls span{border:1px solid var(--ui-border);border-radius:var(--ui-radius-xs);min-height:30px;color:var(--ui-muted);align-items:center;padding:5px 8px;font-size:.62rem;display:inline-flex}.patient-chat-preview__controls .is-security{border:0;margin-right:auto}.patient-chat-preview__controls .is-send{border-color:var(--preview-accent);background:var(--preview-accent);color:#fff}.ay-settings-field-card-grid>.ay-settings-policy-link:last-child:nth-child(odd){grid-column:1/-1}.patient-chat-preview.is-dark{--ui-canvas:#11191b;--ui-surface:#1d2729;--ui-surface-soft:#172123;--ui-border:#344447;--ui-border-strong:#53676b;--ui-text:#f3f6f5;--ui-text-soft:#dbe4e2;--ui-muted:#aebcba;--ui-danger:#ffb4ab;--ui-shadow-card:none}.patient-chat-preview.is-mobile .patient-chat-preview__controls .btn{flex:calc(50% - 6px)}.preview-chat-message{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-text-soft);padding:7px 9px;font-size:.72rem}.preview-chat-composer{border:1px solid var(--ui-border);border-radius:999px;align-items:center;gap:7px;margin-top:11px;padding:7px 8px;display:flex}.preview-chat-composer span:first-child{color:var(--ui-muted);flex:1;font-size:.68rem}.preview-chip{border-radius:999px;padding:5px 8px;font-size:.65rem;font-weight:650}.preview-chip.is-primary{border-color:var(--ui-accent);background:var(--ui-accent);color:#fff}.preview-action{border-radius:var(--ui-radius-xs);padding:5px 7px;font-size:.64rem}.preview-dashboard-shell{padding:0;overflow:hidden}.preview-dashboard-masthead{border-bottom:1px solid var(--ui-border);align-items:center;gap:10px;min-height:48px;padding:10px 13px;display:flex}.preview-dashboard-masthead strong{color:var(--ui-text);font-size:.72rem}.preview-dashboard-masthead span{border-left:1px solid var(--ui-border);color:var(--ui-muted);padding-left:10px;font-size:.65rem}.preview-dashboard-layout{grid-template-columns:90px minmax(150px,.8fr) minmax(190px,1.2fr);min-height:210px;display:grid}.preview-dashboard-layout>*{min-width:0;padding:11px}.preview-dashboard-layout>nav{border-right:1px solid var(--ui-border);background:var(--ui-surface-soft);align-content:start;gap:5px;display:grid}.preview-dashboard-layout>nav span{border-radius:var(--ui-radius-xs);color:var(--ui-muted);padding:7px;font-size:.61rem}.preview-dashboard-layout>nav span.is-active{background:var(--ui-accent-soft);color:var(--ui-accent);font-weight:700}.preview-dashboard-queue{border-right:1px solid var(--ui-border)}.preview-dashboard-search{border:1px solid var(--ui-border);border-radius:var(--ui-radius-xs);color:var(--ui-muted);margin-bottom:10px;padding:7px 8px;font-size:.61rem}.preview-dashboard-queue article{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:10px;display:grid}.preview-dashboard-queue article strong{color:var(--ui-text);font-size:.67rem}.preview-dashboard-queue article small{color:var(--ui-muted);grid-column:1;font-size:.59rem}.preview-dashboard-queue article span{background:var(--ui-accent-soft);color:var(--ui-accent);border-radius:999px;grid-area:1/2/3;align-self:center;padding:4px 6px;font-size:.57rem;font-weight:700}.preview-dashboard-chart{align-content:start;gap:9px;display:grid}.preview-dashboard-chart>strong{color:var(--ui-text);font-size:.72rem}.preview-dashboard-chart>p{color:var(--ui-muted);margin:0;font-size:.62rem;line-height:1.45}.preview-dashboard-tabs{border-bottom:1px solid var(--ui-border);gap:6px;padding-bottom:8px;display:flex}.preview-dashboard-tabs span{color:var(--ui-muted);padding:4px 7px;font-size:.6rem}.preview-dashboard-tabs span.is-active{border-bottom:2px solid var(--ui-accent);color:var(--ui-accent);font-weight:700}.preview-hidden{display:none!important}.dashboard-dialog-textarea{resize:vertical;min-height:110px}.mfa-enrollment-qr-wrap{text-align:center;margin-bottom:14px}.mfa-enrollment-qr-label{margin-bottom:8px}.mfa-enrollment-qr{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:#fff;width:220px;max-width:100%;height:220px;margin:0 auto;padding:8px;display:block}.mfa-enrollment-secret{overflow-wrap:anywhere;border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);margin-top:4px;padding:10px}.mfa-enrollment-help{margin-top:8px}.commercial-only-control{display:none!important}.setup-group{border:0;gap:12px;margin:0;padding:0;display:grid}.setup-group+.setup-group{border-top:1px solid var(--ui-border);margin-top:16px;padding-top:16px}.setup-group>h3{margin:0;font-size:.84rem}.settings-section-stack,[data-clinical-settings]{gap:12px;display:grid}.settings-inline-section{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:13px;min-width:0;padding:15px;display:grid}.settings-inline-section__header{gap:3px;display:grid}.settings-inline-section__header h3{color:var(--ui-text);margin:0;font-size:.82rem;font-weight:650}.settings-inline-section__header p{max-width:76ch;color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.48}.settings-inline-subsection{background:var(--ui-surface)}.settings-inline-section form{gap:12px;width:100%;max-width:780px;margin:0;display:grid}.settings-inline-section form>label:not(.ui-field):not(.check-row){min-width:0;color:var(--ui-text-soft);gap:6px;font-size:.75rem;font-weight:620;display:grid}.settings-inline-section form>label:has(>input[type=checkbox]),.settings-inline-section fieldset>label:has(>input[type=checkbox]){align-items:flex-start;gap:8px;font-weight:520;display:flex}.settings-inline-section :where(input[type=checkbox],input[type=radio]){flex:0 0 17px;width:17px;height:17px;margin:2px 0 0}.settings-inline-section form>p,.settings-inline-section>p{max-width:76ch;color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.48}.setup-group fieldset{border:1px solid var(--ui-border);border-radius:var(--ui-radius);min-width:0;margin:15px 0;padding:14px}.setup-group>p,#adminTools>p{max-width:72ch;color:var(--ui-muted);font-size:.74rem}.staff-lookup{flex-wrap:wrap;padding-bottom:16px}.staff-lookup label{flex:240px}.referral-editor{gap:13px;display:grid}.referral-summary,.referral-editor-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);min-width:0;padding:14px}.referral-summary-table-wrap{margin-top:12px;overflow-x:auto}.referral-summary-table{border-collapse:collapse;width:100%;font-size:.72rem}.referral-summary-table th,.referral-summary-table td{border-bottom:1px solid var(--ui-border);color:var(--ui-text-soft);text-align:left;white-space:nowrap;padding:9px 10px}.referral-summary-table th{color:var(--ui-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.66rem;font-weight:650}.status-pill{border:1px solid var(--ui-border);border-radius:999px;padding:4px 8px;font-size:.66rem;font-weight:620;display:inline-flex}.status-pill--success{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.status-pill--neutral{background:var(--ui-surface-muted);color:var(--ui-muted)}.referral-editor-card{background:var(--ui-surface);gap:12px;margin:0;display:grid}.referral-code{border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);color:var(--ui-muted);grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:8px 10px;font-size:.7rem;display:flex}.referral-code strong{color:var(--ui-accent);overflow-wrap:anywhere;font-size:.7rem}.referral-remove{justify-self:start}@media (width<=760px){.ay-settings-field-card-grid>.ay-settings-policy-link:last-child:nth-child(odd){grid-column:auto}html[data-theme-surface=clinic-configuration] .config-shell{width:min(100% - 20px,1220px);padding-top:14px}.config-header,.version-item{flex-direction:column;align-items:stretch}.config-back-button{width:36px;min-width:36px;height:36px;padding:0}.config-back-button__label{display:none}.field-grid,.policy-grid,.interface-preview-grid{grid-template-columns:1fr}.field--wide,.config-card--wide{grid-column:auto}.publish-row,.assistant-row,.setup-layout{grid-template-columns:1fr}.setup-nav{scrollbar-width:thin;display:flex;position:static;overflow-x:auto}.setup-nav button{width:auto;min-width:max-content}.setup-footer{scrollbar-width:none;gap:6px;bottom:7px;overflow-x:auto}.setup-footer::-webkit-scrollbar{display:none}.setup-footer-position{display:none}.setup-footer-actions{gap:5px}.setup-footer-actions .btn{min-height:32px;padding:6px 10px;font-size:.68rem}.setup-footer-arrow{width:32px;min-width:32px;height:32px}.config-card{padding:16px}.question-library-actions{grid-template-columns:1fr}.question-library-actions .btn{width:100%}.dashboard-modal{align-items:end;padding:9px}}.referral-editor-heading{grid-column:1/-1}.referral-editor-card{grid-template-columns:minmax(0,1fr)}.referral-editor-field-grid{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;display:grid}.referral-editor-field-grid>.ui-field:nth-child(3),.referral-editor-field-grid>.ui-field:nth-child(4){grid-column:1/-1}.referral-editor-field-grid textarea{min-height:84px}.referral-availability{grid-column:1/-1}.referral-editor-actions{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.referral-code>div{gap:2px;min-width:0;display:grid}.referral-summary-empty{margin:10px 0 0}.question-library-field{min-width:0}.wellness-question-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);gap:12px;margin:0;padding:14px;display:grid}.wellness-question-card+.wellness-question-card{margin-top:10px}.wellness-question-card legend{color:var(--ui-text);padding:0 6px;font-size:.78rem;font-weight:650}.wellness-question-choices{flex-wrap:wrap;gap:8px 20px;display:flex}.settings-template-preview{gap:7px;display:grid}.settings-template-preview p{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.45}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.settings-form-grid>:where(p,button){grid-column:1/-1;justify-self:start}.settings-inline-section--testing{border-color:var(--ui-warning-border);background:var(--ui-warning-soft)}.settings-operation-note{font-weight:600;color:var(--ui-warning)!important}.staff-dashboard-preview__queue{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);overflow:hidden}.staff-dashboard-preview__row{grid-template-columns:auto minmax(125px,1.1fr) minmax(145px,1.2fr) auto minmax(110px,.7fr);align-items:center;gap:10px;min-height:64px;padding:10px 12px;display:grid}.staff-dashboard-preview__avatar{background:var(--ui-accent-soft);width:34px;height:34px;color:var(--ui-accent);border-radius:50%;place-items:center;font-size:.67rem;font-weight:700;display:grid}.staff-dashboard-preview__patient{gap:2px;display:grid}.staff-dashboard-preview__patient strong{font-size:.74rem}.staff-dashboard-preview__patient span,.staff-dashboard-preview__email,.staff-dashboard-preview__state{color:var(--ui-muted);font-size:.68rem}.staff-dashboard-preview.is-mobile .staff-dashboard-preview__row{grid-template-columns:auto minmax(0,1fr) auto}.staff-dashboard-preview.is-mobile :where(.staff-dashboard-preview__email,.staff-dashboard-preview__state){display:none}.completion-role-fieldset{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:9px;min-width:0;margin:0;padding:13px;display:grid}.completion-role-fieldset legend{color:var(--ui-text);padding:0 5px;font-size:.76rem;font-weight:650}.completion-role-fieldset>.config-help{margin:0}.completion-role-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.completion-role-option{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);align-items:flex-start;min-height:58px;padding:10px}.completion-role-option>span{gap:2px;min-width:0;display:grid}.completion-role-option strong{color:var(--ui-text);font-size:.75rem;font-weight:650}.completion-role-option small{color:var(--ui-muted);font-size:.68rem;font-weight:450;line-height:1.4}.completion-role-option:has(input:checked){border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.workflow-template-settings>.workflow-template-form,.notification-settings>.notification-settings-form{max-width:none}.workflow-template-form{gap:13px!important}.workflow-template-form>.ui-field:first-child{max-width:420px}.workflow-step-list{gap:9px;display:grid}.workflow-step-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);grid-template-columns:minmax(0,1.35fr) minmax(190px,.65fr);gap:9px 12px;min-width:0;margin:0;padding:12px;display:grid}.workflow-step-card legend{color:var(--ui-muted);letter-spacing:.04em;text-transform:uppercase;padding:0 5px;font-size:.66rem;font-weight:680}.workflow-step-toggle{grid-column:1/-1;min-height:26px}.workflow-step-card .ui-field{font-size:.73rem}.workflow-template-form>p,.workflow-preview{color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.48}.workflow-preview:not(:empty){border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-text-soft);padding:10px 12px}.workflow-history{gap:8px;display:grid}.workflow-history>div{border-top:1px solid var(--ui-border);padding:10px 0}.workflow-history p{color:var(--ui-text-soft);margin:0 0 7px;font-size:.72rem}.staff-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr);align-items:start;gap:12px;min-width:0;display:grid}.staff-directory,.staff-detail{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);gap:12px;min-width:0;padding:13px;display:grid}.staff-panel-header{border-bottom:1px solid var(--ui-border);gap:3px;padding-bottom:10px;display:grid}.staff-panel-header h4,.staff-detail-empty h4{color:var(--ui-text);margin:0;font-size:.78rem;font-weight:650}.staff-panel-header p,.staff-detail-empty p{color:var(--ui-muted);margin:0;font-size:.7rem;line-height:1.45}.staff-directory-search{width:100%}.staff-person-list{gap:5px;max-height:430px;padding-right:2px;display:grid;overflow:auto}.clinical-surface .staff-person-row{border-radius:var(--ui-radius-sm);width:100%;min-height:52px;color:var(--ui-text-soft);text-align:left;background:0 0;border:1px solid #0000;grid-template-columns:34px minmax(0,1fr);justify-content:stretch;align-items:center;gap:9px;padding:8px;display:grid}.clinical-surface .staff-person-row:hover,.clinical-surface .staff-person-row[aria-pressed=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.staff-person-avatar{background:var(--ui-surface-muted);width:34px;height:34px;color:var(--ui-text-soft);border-radius:50%;place-items:center;font-size:.7rem;font-weight:700;display:grid}.staff-person-row[aria-pressed=true] .staff-person-avatar{background:var(--ui-surface);color:var(--ui-accent)}.staff-person-copy{gap:2px;min-width:0;display:grid}.staff-person-copy strong,.staff-person-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.staff-person-copy strong{color:inherit;font-size:.74rem;font-weight:650}.staff-person-copy small{color:var(--ui-muted);font-size:.65rem;font-weight:450}.staff-detail-empty{text-align:center;place-content:center;gap:4px;min-height:150px;padding:18px;display:grid}.staff-detail>form{max-width:none}.staff-detail>form>h3{color:var(--ui-text);margin:0;font-size:.86rem}.staff-detail>form>.meta{color:var(--ui-muted);margin:-7px 0 0;font-size:.7rem}.staff-detail fieldset{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);gap:7px;margin:0;padding:11px;display:grid}.staff-detail fieldset legend{color:var(--ui-text-soft);padding:0 5px;font-size:.72rem;font-weight:650}.staff-detail fieldset label:not(.ui-field){min-height:30px}.staff-role-fieldset{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-role-fieldset legend{grid-column:1/-1}.staff-role-option{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);padding:8px 9px;min-height:38px!important;color:var(--ui-text-soft)!important;font-size:.72rem!important;font-weight:560!important}.staff-role-option>input[type=checkbox],.staff-verification-choice>input[type=checkbox],.staff-recovery-confirmation>input[type=checkbox]{inline-size:16px!important;width:16px!important;min-width:16px!important;max-width:16px!important;block-size:16px!important;flex:0 0 16px!important;height:16px!important;min-height:16px!important;max-height:16px!important}.staff-role-option:has(input:checked){border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)!important}.staff-verification-choice{min-height:30px!important;color:var(--ui-text-soft)!important;font-size:.72rem!important}.staff-recovery-settings>.staff-recovery-form{max-width:none}.staff-recovery-explanation{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);gap:3px;padding:11px 12px;display:grid}.staff-recovery-explanation strong{color:var(--ui-text);font-size:.73rem;font-weight:650}.staff-recovery-explanation p,.staff-recovery-status,.staff-recovery-result,.staff-recovery-help{color:var(--ui-muted);margin:0;font-size:.7rem;line-height:1.45}.staff-recovery-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.staff-recovery-form>.ui-field:has(textarea),.staff-recovery-form>.staff-recovery-status,.staff-recovery-form>.staff-recovery-confirmation,.staff-recovery-form>.staff-recovery-actions,.staff-recovery-form>.staff-recovery-result,.staff-recovery-form>.staff-recovery-help{grid-column:1/-1}.staff-recovery-confirmation{min-height:30px!important;font-size:.72rem!important}.staff-recovery-actions{flex-wrap:wrap;gap:8px;display:flex}.staff-recovery-result:not(:empty){border:1px solid var(--ui-success-border,var(--ui-accent-border));border-radius:var(--ui-radius-sm);background:var(--ui-success-soft,var(--ui-accent-soft));color:var(--ui-text-soft);padding:9px 11px}.staff-lookup{border-top:1px solid var(--ui-border);border-bottom:0;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:11px 0 0;display:grid}.staff-lookup label{min-width:0;margin:0}.notification-settings-form{gap:12px!important}.notification-master-choices{flex-wrap:wrap;gap:8px 22px;display:flex}.notification-master-choice{min-height:30px}.notification-routing-tools{justify-content:space-between;align-items:center;gap:10px;display:flex}.notification-routing-status{color:var(--ui-muted);margin:0;font-size:.7rem;line-height:1.4}.notification-routing{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.notification-route-group{align-content:start;gap:9px;min-width:0;display:grid}.notification-route-group>h4{color:var(--ui-text);margin:0;font-size:.78rem;font-weight:650}.notification-route-group>p{color:var(--ui-muted);margin:-5px 0 0;font-size:.69rem;line-height:1.42}.notification-route-list{gap:8px;display:grid}.notification-event-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);gap:8px;min-width:0;margin:0;padding:11px;display:grid}.notification-event-card legend{max-width:calc(100% - 10px);color:var(--ui-text);padding:0 5px;font-size:.73rem;font-weight:650}.notification-channel-choices{flex-wrap:wrap;gap:6px 18px;display:flex}.notification-channel-choices .ui-choice{min-height:28px;font-size:.71rem}.notification-recipient-choices{border-top:1px solid var(--ui-border);gap:6px;padding-top:7px;display:grid}.notification-recipient-choices p{color:var(--ui-muted);margin:0;font-size:.67rem;line-height:1.4}.notification-staff-list{gap:4px;max-height:170px;display:grid;overflow:auto}.notification-staff-list .ui-choice{min-height:28px;font-size:.69rem}.notification-failure-list{gap:8px;display:grid}.notification-failure-list>p{color:var(--ui-text-soft);margin:0;font-size:.71rem}@media (width<=760px){.referral-editor-field-grid,.settings-form-grid{grid-template-columns:1fr!important}.referral-editor-field-grid>.ui-field:nth-child(3),.referral-editor-field-grid>.ui-field:nth-child(4){grid-column:auto}.referral-code{flex-direction:column;align-items:flex-start}.completion-role-grid,.workflow-step-card,.staff-layout,.notification-routing{grid-template-columns:1fr}.staff-directory,.staff-detail{padding:11px}.staff-person-list{max-height:290px}.staff-role-fieldset,.staff-recovery-form,.staff-lookup{grid-template-columns:1fr}.notification-routing-tools{flex-direction:column;align-items:stretch}.notification-routing-tools .ui-button{width:100%}.followup-workspace{grid-template-columns:1fr}.provider-message-entry{width:min(92%,650px)}.provider-message-composer-actions{flex-direction:column;align-items:stretch}}html.clinical-ui.dark:not([data-theme-surface=dashboard]) :where(.ui-card,.panel,.action-card,.config-card,.config-status,.setup-nav,.setup-group>details,.setup-advanced,.assistant-result,.question-row,.role-pill,.interface-preview-frame,.portal-auth-card,.account-setup,.portal-section,.portal-tabs,.portal-main details,.portal-main details pre,.portal-main #program article,.clinical-pdf-dialog,.clinical-order-dialog,.clinical-order-dialog-header,.clinical-order-dialog-close,.portal-masthead,.staff-directory,.staff-detail,.notification-event-card){border-color:var(--ui-border);background-color:var(--ui-surface);color:var(--ui-text)}html.clinical-ui.dark:not([data-theme-surface=dashboard]) :where(input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select){border-color:var(--ui-border-strong)!important;background-color:var(--ui-surface-soft)!important;color:var(--ui-text)!important}html.clinical-ui.dark:not([data-theme-surface=dashboard]) :where(input,textarea)::placeholder{color:var(--ui-muted);opacity:.82}html.clinical-ui.dark .ay-code-input input.ay-code-input__field{color:#0000!important;background-color:#0000!important;border-color:#0000!important}html.clinical-ui.dark:not([data-theme-surface=dashboard]) :where(.btn-secondary,.ui-button--secondary,.ui-button--soft,.clinical-surface button:not(.primary):not(.btn-primary):not(.ui-button--primary),.clinical-surface .portal-auth-card>.actions button,.clinical-surface .account-setup>button){border-color:var(--ui-border-strong);background-color:var(--ui-surface-soft);color:var(--ui-text-soft)}html.clinical-ui.dark:not([data-theme-surface=dashboard]) :where(.portal-tabs button[aria-selected=true],.portal-settings-nav button[aria-selected=true],.staff-person-row[aria-pressed=true],.staff-role-option:has(input:checked)){border-color:var(--ui-accent-border);background-color:var(--ui-accent-soft);color:var(--ui-accent)}html.clinical-ui.dark:not([data-theme-surface=dashboard]) :where(.btn-primary,.ui-button--primary,.clinical-surface button.primary,.clinical-surface .ui-button--primary){color:#fff;background-color:#105c55;border-color:#2a9188}html.clinical-ui.dark:not([data-theme-surface=dashboard]) :where(.btn-primary:hover,.ui-button--primary:hover,.clinical-surface button.primary:hover,.clinical-surface .ui-button--primary:hover){color:#fff;background-color:#126059;border-color:#3fa99f}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input:not([type=checkbox]):not([type=radio]):not([type=file]){caret-color:var(--ui-text);border-color:var(--ui-border-strong)!important;background:var(--ui-surface-soft)!important;color:var(--ui-text)!important}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input:-webkit-autofill,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input:-webkit-autofill:hover,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input:-webkit-autofill:focus{caret-color:var(--ui-text);-webkit-box-shadow:0 0 0 1000px var(--ui-surface-soft) inset!important;-webkit-text-fill-color:var(--ui-text)!important}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input.ay-code-input__field:not([type=checkbox]):not([type=radio]):not([type=file]){caret-color:#0000;color:#0000!important;background:0 0!important;border-color:#0000!important}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input.ay-code-input__field:-webkit-autofill,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input.ay-code-input__field:-webkit-autofill:hover,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-main :is(.portal-auth-card,.account-setup) input.ay-code-input__field:-webkit-autofill:focus{-webkit-text-fill-color:transparent!important;-webkit-box-shadow:inset 0 0 0 1000px #0000!important}html[data-theme-surface=dashboard] .dashboard-navigation-rail .dashboard-rail-control{place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;display:grid}html[data-theme-surface=dashboard] .dashboard-navigation-rail .dashboard-rail-control>span{display:none}html[data-theme-surface=dashboard] .dashboard-account-trigger{border:0;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;display:grid}html[data-theme-surface=dashboard] .dashboard-account-popover{background:var(--ui-surface)}html[data-theme-surface=dashboard] .dashboard-account-menu-grid{gap:2px;padding-top:5px;display:grid}html[data-theme-surface=dashboard] .dashboard-account-menu-grid>:is(a,button){border-radius:var(--ui-radius-sm);min-height:40px;color:var(--ui-text-soft);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:8px 9px;font-size:.72rem;font-weight:650;line-height:1.25;text-decoration:none;display:flex}html[data-theme-surface=dashboard] .dashboard-account-menu-grid>:is(a,button):hover{background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-theme-surface=dashboard] .dashboard-account-menu-grid>.is-danger{color:var(--ui-danger)}html[data-theme-surface=dashboard] .dashboard-account-menu-grid .ay-nav-icon{flex:0 0 18px;width:18px;height:18px}html[data-theme-surface=dashboard] .dashboard-account-menu-state{color:var(--ui-muted);margin-left:auto;font-weight:600}html[data-theme-surface=dashboard] :is(.tab-count-badge,.menu-alert-badge,.dashboard-mobile-action b){box-sizing:border-box;font-variant-numeric:tabular-nums;border-radius:50%;width:18px;min-width:18px;height:18px;padding:0;line-height:1}html[data-theme-surface=dashboard] .dashboard-mobile-action b{width:17px;min-width:17px;height:17px}html[data-theme-surface=dashboard] .dashboard-settings-trigger{display:none!important}html[data-theme-surface=dashboard] .dashboard-account-wrap--mobile{display:none}html[data-theme-surface=dashboard] .dashboard-loading-state{place-items:center;width:100%;min-height:50vh;display:grid}html[data-theme-surface=dashboard] .ay-chart-body>.dashboard-loading-state{height:100%;min-height:0}html[data-theme-surface=dashboard] .dashboard-modern-spinner,html[data-theme-surface=scribe] .dashboard-modern-spinner{border:3px solid var(--ui-accent-soft);border-top-color:var(--ui-accent);border-radius:50%;width:38px;height:38px;animation:.72s linear infinite dashboard-spinner;display:block}@keyframes dashboard-spinner{to{transform:rotate(360deg)}}html[data-theme-surface=dashboard] .workspace-list-wrap.is-refreshing>:not(.workspace-list-refresh){opacity:.58;transition:opacity .14s}html[data-theme-surface=dashboard] .workspace-list-refresh{z-index:8;background:color-mix(in srgb, var(--ui-surface) 72%, transparent);pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}html[data-theme-surface=dashboard] .workspace-empty-state{min-height:210px;color:var(--ui-muted);text-align:center;place-content:center;justify-items:center;gap:6px;padding:28px;display:grid}html[data-theme-surface=dashboard] .workspace-empty-state svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;opacity:.72;width:42px;height:42px;margin-bottom:3px}html[data-theme-surface=dashboard] .workspace-empty-state strong{color:var(--ui-text-soft);font-size:.82rem}html[data-theme-surface=dashboard] .workspace-empty-state span{max-width:28rem;font-size:.7rem;line-height:1.45}html[data-theme-surface=dashboard] .workspace-sidebar[data-list-mode=wellness] .workspace-list-wrap{border-radius:var(--ui-radius);background:var(--ui-canvas)}html[data-theme-surface=dashboard] .workspace-sidebar[data-list-mode=wellness] .workspace-list{background:var(--ui-canvas);flex-direction:column;gap:10px;height:100%;min-height:0;padding:10px;display:flex}html[data-theme-surface=dashboard] .wellness-queue-group-body>ul{min-height:inherit;margin:0;padding:0;list-style:none}html[data-theme-surface=dashboard] .dashboard-account-dialog-backdrop{z-index:140;background:#18222780;place-items:center;padding:18px;display:grid;position:fixed;inset:0}html[data-theme-surface=dashboard] .dashboard-account-dialog{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,560px);max-height:min(760px,100dvh - 36px);color:var(--ui-text);box-shadow:var(--ui-shadow-dialog);padding:20px;overflow:auto}html[data-theme-surface=dashboard] .dashboard-account-dialog>header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}html[data-theme-surface=dashboard] .dashboard-account-dialog h2{margin:2px 0 0;font-size:1.05rem}html[data-theme-surface=dashboard] .dashboard-account-dialog-close{border:1px solid var(--ui-border);background:var(--ui-surface);width:36px;height:36px;color:var(--ui-text);font:inherit;border-radius:50%;place-items:center;padding:0;font-size:1.2rem;display:grid}html[data-theme-surface=dashboard] .dashboard-account-dialog form{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding-bottom:18px;display:grid}html[data-theme-surface=dashboard] .dashboard-account-dialog form label{color:var(--ui-text-soft);grid-column:1/-1;font-size:.72rem;font-weight:650}html[data-theme-surface=dashboard] .dashboard-account-status{gap:0;margin:8px 0 16px;display:grid}html[data-theme-surface=dashboard] .dashboard-account-status>div{border-bottom:1px solid var(--ui-border);grid-template-columns:9rem minmax(0,1fr);gap:14px;padding:10px 0;display:grid}html[data-theme-surface=dashboard] .dashboard-account-status dt{color:var(--ui-muted);font-size:.69rem}html[data-theme-surface=dashboard] .dashboard-account-status dd{color:var(--ui-text);overflow-wrap:anywhere;margin:0;font-size:.72rem}html[data-theme-surface=dashboard] .dashboard-status-dot{color:var(--ui-muted);margin-left:6px;font-size:.64rem}html[data-theme-surface=dashboard] .dashboard-status-dot.is-good{color:var(--ui-success,var(--ui-accent))}html[data-theme-surface=dashboard] .dashboard-account-security-actions{flex-wrap:wrap;gap:6px;display:flex}html[data-theme-surface=dashboard] .dashboard-account-security-actions .ay-button{white-space:nowrap;border-radius:8px;min-height:30px;padding:6px 11px;font-size:.68rem}html[data-theme-surface=dashboard] .dashboard-account-dialog form .ay-button{white-space:nowrap;min-height:38px;padding:8px 14px;font-size:.72rem}html[data-theme-surface=dashboard] .dashboard-passkey-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .dashboard-passkey-list li{flex-wrap:wrap;align-items:baseline;gap:2px 8px;display:flex}html[data-theme-surface=dashboard] .dashboard-passkey-list .dashboard-status-dot{margin-left:0}html[data-theme-surface=dashboard] .dashboard-inline-action{color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:0;font-size:.69rem;font-weight:650}html[data-theme-surface=dashboard] .dashboard-inline-action:hover{text-decoration:underline}html[data-theme-surface=dashboard] .dashboard-inline-action--start{margin:6px 0 0;display:block}html[data-theme-surface=dashboard] .dashboard-inline-action:disabled{opacity:.55;cursor:default}html[data-theme-surface=dashboard] .dashboard-account-hint{color:var(--ui-muted);margin:6px 0 0;font-size:.64rem;line-height:1.45}html[data-theme-surface=dashboard] .dashboard-account-build{color:var(--ui-muted);text-align:right;font-variant-numeric:tabular-nums;user-select:all;margin:10px 0 0;font-size:.62rem;line-height:1.4}html[data-theme-surface=dashboard] .dashboard-status-dot--lead{margin-left:0}html[data-theme-surface=dashboard] .dashboard-push-actions{flex-wrap:wrap;gap:4px 14px;margin-top:6px;display:flex}html[data-theme-surface=dashboard] .dashboard-push-actions .dashboard-inline-action{margin-left:0}html[data-theme-surface=dashboard] :is(.dashboard-push-actions,.dashboard-push-device-list) .dashboard-inline-action{align-items:center;gap:4px;display:inline-flex}html[data-theme-surface=dashboard] :is(.dashboard-push-actions,.dashboard-push-device-list) .dashboard-inline-action svg.lucide{flex:none;width:13px;height:13px}html[data-theme-surface=dashboard] .dashboard-push-device-list li{align-items:center}html[data-theme-surface=dashboard] .dashboard-push-device-list li>svg.lucide{width:14px;height:14px;color:var(--ui-muted);flex:none}@media (width<=899px){html[data-theme-surface=dashboard] .ay-dashboard-rail.dashboard-navigation-rail>.dashboard-rail-control-wrap,html[data-theme-surface=dashboard] .ay-dashboard-rail.dashboard-navigation-rail>.dashboard-account-wrap{display:none}html[data-theme-surface=dashboard] .dashboard-account-wrap--mobile{z-index:90;display:block;position:relative;inset:auto}html[data-theme-surface=dashboard] body:has(.workspace-detail.has-selection) .dashboard-account-wrap--mobile{display:block}html[data-theme-surface=dashboard] .dashboard-account-wrap--mobile .dashboard-account-popover{width:min(235px,100vw - 24px);position:absolute;inset:calc(100% + 9px) 0 auto auto}html[data-theme-surface=dashboard] .dashboard-account-dialog{padding:17px}html[data-theme-surface=dashboard] .dashboard-account-dialog form{grid-template-columns:1fr}html[data-theme-surface=dashboard] .dashboard-account-status>div{grid-template-columns:1fr;gap:3px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .dashboard-modern-spinner{animation-duration:1.8s}}.ay-review-backdrop{z-index:350;background:var(--ui-overlay);animation:ay-review-fade .16s var(--ui-ease-out) both;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.ay-review-backdrop.is-leaving{animation:ay-review-fade-out .12s var(--ui-ease-out) both;pointer-events:none}.ay-review-dialog{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(100%,440px);max-height:min(640px,100dvh - 36px);box-shadow:var(--ui-shadow-popover);animation:ay-review-rise .2s var(--ui-ease-out) both;outline:none;padding:24px 22px 20px;overflow:auto}.ay-review-backdrop.is-leaving .ay-review-dialog{animation:ay-review-sink .12s var(--ui-ease-out) both}.ay-review-dialog__body{animation:ay-review-fade .16s var(--ui-ease-out) both;justify-items:stretch;gap:10px;display:grid}.ay-review-dialog__icon{place-items:center;width:44px;height:44px;margin:0 auto 2px;display:grid}.ay-review-dialog__icon svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;width:36px;height:36px}.ay-review-dialog.is-ready .ay-review-dialog__icon{color:var(--ui-success)}.ay-review-dialog.is-problem .ay-review-dialog__icon{color:var(--ui-danger)}.ay-review-dialog__icon .dashboard-modern-spinner{width:32px;height:32px}.ay-review-dialog h2{color:var(--ui-text);text-align:center;text-wrap:balance;margin:0;font-size:1.05rem;line-height:1.3}.ay-review-dialog p{color:var(--ui-muted);text-align:center;margin:0;font-size:.8rem;line-height:1.5}.ay-review-problems,.ay-review-updates{text-align:left;margin:4px 0 0;padding:0;list-style:none;display:grid}.ay-review-problems li,.ay-review-updates li{border-top:1px solid var(--ui-border);color:var(--ui-text);padding:10px 2px;font-size:.8rem;line-height:1.45}.ay-review-problems li:last-child,.ay-review-updates li:last-child{border-bottom:1px solid var(--ui-border)}.ay-review-problems li{gap:2px;display:grid}.ay-review-problems small{color:var(--ui-muted);font-size:.78rem;font-weight:700}.ay-review-updates li{align-items:center;gap:10px;font-weight:650;display:flex}.ay-review-updates svg{fill:none;width:18px;height:18px;stroke:var(--ui-success);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ay-review-dialog .ay-review-note{border-radius:var(--ui-radius-sm);background:var(--ui-canvas);color:var(--ui-text);text-align:left;gap:2px;padding:10px 12px;display:grid}.ay-review-note small{color:var(--ui-muted);font-size:.78rem;font-weight:700}.ay-review-dialog__actions{flex-direction:row-reverse;justify-content:flex-start;gap:8px;margin-top:8px;display:flex}.ay-review-dialog__actions .ay-button{min-height:40px;padding-inline:18px}@media (width<=520px){.ay-review-backdrop{align-items:end;padding:0}.ay-review-dialog{border-radius:var(--ui-radius) var(--ui-radius) 0 0;width:100%;max-height:calc(100dvh - 24px);padding-bottom:max(20px,env(safe-area-inset-bottom))}.ay-review-dialog__actions{flex-direction:column}.ay-review-dialog__actions .ay-button{width:100%}}.ay-flow-banner{border-radius:var(--ui-radius-sm);animation:ay-review-fade .2s var(--ui-ease-out) both;border:1px solid;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;font-size:.8rem;font-weight:650;line-height:1.45;display:flex}.ay-flow-banner svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.ay-flow-banner span{color:var(--ui-text)}.ay-flow-banner.is-success{border-color:color-mix(in srgb, var(--ui-success) 45%, transparent);background:var(--ui-success-soft);color:var(--ui-success)}.ay-flow-banner.is-error{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}@keyframes ay-review-fade{0%{opacity:0}to{opacity:1}}@keyframes ay-review-fade-out{0%{opacity:1}to{opacity:0}}@keyframes ay-review-rise{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}@keyframes ay-review-sink{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(6px)scale(.985)}}@media (prefers-reduced-motion:reduce){.ay-review-dialog,.ay-review-backdrop.is-leaving .ay-review-dialog{animation:none}.ay-review-dialog__body,.ay-flow-banner,.ay-review-backdrop,.ay-review-backdrop.is-leaving{animation-duration:1ms}}html[data-theme-surface=clinic-configuration] .clinical-surface .ay-button--primary:not(:disabled),html[data-theme-surface=clinic-configuration] .ay-review-dialog .ay-button--primary:not(:disabled){border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}html[data-theme-surface=clinic-configuration] .clinical-surface .ay-button--primary:not(:disabled):hover,html[data-theme-surface=clinic-configuration] .ay-review-dialog .ay-button--primary:not(:disabled):hover{border-color:var(--ui-accent-fill-hover);background:var(--ui-accent-fill-hover);color:var(--ui-on-accent)}.ay-settings-assistant.is-leaving{pointer-events:none;animation:.12s ease-in both ay-assistant-out}.ay-settings-dialog-backdrop.is-leaving{pointer-events:none;animation:.12s ease-in both ay-review-fade-out}.ay-settings-dialog-backdrop.is-leaving .ay-settings-dialog{animation:.12s ease-in both ay-review-sink}.ay-settings-loading.is-leaving{pointer-events:none;animation:.12s ease-in both config-loading-out}@keyframes ay-assistant-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(8px)}}@keyframes config-loading-out{0%{opacity:1}to{opacity:0}}.ay-settings-editor .ay-note-status:not(.sr-only){animation:ay-review-fade .18s var(--ui-ease-out) both}@media (prefers-reduced-motion:reduce){.ay-settings-editor .ay-note-status:not(.sr-only),.ay-settings-assistant.is-leaving,.ay-settings-loading.is-leaving{animation-duration:1ms}}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions .ay-button{font-size:max(.74rem,12px)}.ay-settings-editor .ay-status-pill,.ay-settings-editor small,.ay-settings-advanced small,.ay-settings-editor .ay-note-status--error li small{font-size:max(.72rem,12px)}.ay-settings-editor .ay-note-status{font-size:max(.74rem,12px)}.ay-intake-review .ay-intake-review__header{box-shadow:none;background:0 0;border:0;border-radius:0;padding:4px 2px 10px}.ay-intake-review .ay-intake-review__header h1{margin:0}.ay-intake-review__list{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);gap:0;margin:0;padding:0;list-style:none;display:block;overflow:hidden}.ay-intake-review__list>.ay-intake-review__item{border:0;border-top:1px solid var(--ui-border);box-shadow:none;background:0 0;border-radius:0;min-height:56px;padding:10px 6px 10px 16px}.ay-intake-review__list>.ay-intake-review__item:first-child{border-top:0}.ay-intake-review__edit{min-width:44px;min-height:44px;padding:0 12px;font-weight:700}html[data-theme-surface=patient-chat] .ay-intake-review .ay-intake-review__list .ay-intake-review__edit{color:var(--ui-accent);background:0 0;border-color:#0000}.ay-intake-review__status{font-size:max(.72rem,12px)}.ay-intake-review .ay-intake-step-actions{z-index:2;padding:12px 0 max(12px, env(safe-area-inset-bottom));background:var(--ui-canvas);margin-top:6px;display:flex;position:sticky;bottom:0}.ay-intake-review .ay-intake-step-actions .ay-button{flex:100%;width:100%;min-height:48px}.ay-intake-gate__label{letter-spacing:0;text-transform:none;font-size:max(.72rem,12px)}.ay-intake-consent__notice{color:var(--ui-text-soft);margin:0;font-size:max(.78rem,12px);line-height:1.6}.ay-intake-consent__notice a{color:var(--ui-accent);text-underline-offset:2px;font-weight:700;text-decoration:underline}.ay-intake-module{gap:10px;width:100%;min-width:0;display:grid}.ay-intake-module.ay-intake-review .ay-intake-gate{gap:6px;padding:14px 16px}.ay-intake-module.ay-intake-review .ay-intake-gate h2{margin:0;font-size:.95rem}.ay-intake-module.ay-intake-review .ay-intake-gate p{margin:0}.ay-intake-module--note{gap:8px;display:grid}.ay-intake-module--note p{margin:0}.ay-intake-questions{gap:12px;display:grid}.ay-intake-questions__intro{color:var(--ui-text-soft);margin:0;font-size:max(.76rem,12px);line-height:1.55}ol.ay-question-list{margin:0;padding:0;list-style:none}.ay-question-list--ordered .ay-question-row{cursor:grab;gap:2px;padding:8px 10px 8px 12px;transition:background-color .14s ease-out,box-shadow .14s ease-out,opacity .14s ease-out;display:grid}.ay-question-list--ordered .ay-question-row:active{cursor:grabbing}.ay-question-list--ordered .ay-question-row.is-dragging{opacity:.62}.ay-question-list--ordered .ay-question-row.is-drag-over{box-shadow:inset 0 2px 0 var(--ui-accent)}.ay-question-list--ordered .ay-question-row.is-moving{animation:.18s cubic-bezier(.16,1,.3,1) ay-question-row-moved}@keyframes ay-question-row-moved{0%{opacity:.78;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.ay-question-row__position{width:24px;color:var(--ui-muted);font-variant-numeric:tabular-nums;text-align:right;flex:none;font-size:max(.72rem,12px);font-weight:700}.ay-question-list--ordered .ay-question-row__head{justify-content:flex-start;gap:8px}.ay-question-list--ordered .ay-question-row__head .ay-switch-row{flex:auto;min-width:0}.ay-question-row__managed{flex:auto;gap:1px;min-width:0;display:grid}.ay-question-row__managed-label{color:var(--ui-accent);letter-spacing:.01em;font-size:max(.7rem,12px);font-weight:700}.ay-question-row__managed strong{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:max(.78rem,12px);line-height:1.35;overflow:hidden}.ay-question-row__managed small,.ay-question-row__managed-copy{color:var(--ui-muted);font-size:max(.72rem,12px);line-height:1.45}.ay-question-row__managed-copy{margin:0}.ay-question-row__moves{flex:none;gap:2px;display:inline-flex}.ay-icon-button{border-radius:var(--ui-radius-sm);width:34px;height:34px;min-height:34px;color:var(--ui-text-soft);cursor:pointer;background:0 0;border:1px solid #0000;place-items:center;padding:0;display:grid}.ay-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.ay-icon-button:disabled{opacity:.35;cursor:not-allowed;background:0 0;border-color:#0000}@media (hover:hover) and (pointer:fine){.ay-icon-button:not(:disabled):hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}.ay-question-list--ordered .ay-question-row__preview{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 4px 32px;display:-webkit-box}.ay-question-row__condition{color:var(--ui-accent);margin-top:2px;font-weight:650;display:block}.ay-question-list--ordered .ay-question-row__body{gap:12px;margin:6px 0 8px 32px;display:grid}.ay-question-marker{border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-accent);margin:2px 0 0 32px;padding:6px 10px;font-size:max(.72rem,12px);line-height:1.45}.ay-question-marker--above{margin:2px 0 6px 32px}.ay-question-warning{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);margin:0 0 4px 32px;padding:6px 10px;font-size:max(.72rem,12px);line-height:1.45}.ay-condition{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);gap:10px;min-width:0;margin:0;padding:12px 14px;display:grid}.ay-condition legend{color:var(--ui-text);align-items:center;gap:4px;padding:0 6px;font-size:max(.74rem,12px);font-weight:750;display:inline-flex}.ay-condition__hint{color:var(--ui-muted);margin:0;font-size:max(.74rem,12px)}.ay-condition__row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,2fr);gap:10px;display:grid}@media (width<=720px){.ay-condition__row{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-condition__row>:first-child,.ay-condition__row>.ay-button{grid-column:1/-1}.ay-question-list--ordered .ay-question-row__body,.ay-question-list--ordered .ay-question-row__preview,.ay-question-marker{margin-left:0}}.ay-answer-buttons{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);gap:10px;min-width:0;margin:0;padding:12px 14px;display:grid}.ay-answer-buttons legend{color:var(--ui-text);align-items:center;gap:4px;padding:0 6px;font-size:max(.74rem,12px);font-weight:750;display:inline-flex}.ay-answer-buttons__hint{color:var(--ui-muted);margin:0;font-size:max(.74rem,12px);line-height:1.45}html[data-theme-surface=clinic-configuration] .ay-question-row__moves .ay-icon-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0}html[data-theme-surface=clinic-configuration] .ay-question-row__moves .ay-icon-button:not(:disabled){color:var(--ui-text-soft);background:0 0;border-color:#0000}html[data-theme-surface=clinic-configuration] .ay-question-row__moves .ay-icon-button:disabled{color:var(--ui-muted);background:0 0;border-color:#0000}.ay-question-list--ordered .ay-question-row,.ay-question-list--ordered .ay-question-row>*{min-width:0}@media (width<=720px){.ay-question-list--ordered .ay-question-row__head{flex-wrap:wrap;row-gap:2px}.ay-question-list--ordered .ay-question-row__head .ay-switch-row{flex:calc(100% - 40px)}.ay-question-list--ordered .ay-question-row__managed{flex-basis:calc(100% - 40px)}.ay-question-list--ordered .ay-question-row__moves{margin-left:32px}.ay-question-list--ordered .ay-question-row__toggle{margin-left:auto}}@media (prefers-reduced-motion:reduce){.ay-question-list--ordered .ay-question-row{transition-duration:0s}.ay-question-list--ordered .ay-question-row.is-moving{animation:none}}.ay-wellness-questions{border-top:1px solid var(--ui-border);gap:14px;margin-top:18px;padding-top:18px;display:grid}.ay-wellness-questions--disabled{border:1px dashed var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-muted);filter:grayscale(.72);opacity:.72;padding:16px}.ay-wellness-questions--disabled .ay-clinical-card__header{background:0 0;border:0;padding:0}.ay-wellness-disabled-state{color:var(--ui-muted);align-items:center;gap:8px;margin-top:4px;font-size:max(.76rem,12px);display:flex}.ay-wellness-disabled-state svg{fill:none;stroke:currentColor;stroke-width:1.8px;flex:none;width:18px;height:18px}.ay-wellness-questions>.ay-clinical-card__header{background:0 0;border:0;padding:0}.ay-wellness-questions>.ay-clinical-card__header h3{margin:0}.ay-wellness-questions>.ay-clinical-card__header p,.ay-wellness-branch__header p,.ay-wellness-pathways-heading p{color:var(--ui-muted);margin:3px 0 0;font-size:max(.76rem,12px);line-height:1.5}.ay-wellness-branch{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);gap:8px;padding:12px;display:grid}.ay-wellness-branch.has-error{border-color:var(--ui-danger-border);background:color-mix(in srgb, var(--ui-danger-soft) 28%, var(--ui-surface))}.ay-wellness-branch__header,.ay-wellness-pathways-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ay-wellness-branch__header h3,.ay-wellness-pathways-heading h3{color:var(--ui-text);margin:0;font-size:max(.86rem,13px)}.ay-wellness-branch__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.ay-wellness-questions .ay-button{align-items:center;gap:7px;display:inline-flex}.ay-wellness-questions .ay-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ay-wellness-branch__actions .ay-switch-row{flex:none}.ay-wellness-pathways-heading{align-items:center;padding-top:6px}.ay-wellness-tree-list{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);overflow:hidden}.ay-wellness-tree-list .ay-question-row.has-error{background:color-mix(in srgb, var(--ui-danger-soft) 44%, var(--ui-surface))}.ay-question-row__error{margin:6px 0 8px 32px}.ay-wellness-tree-list:empty{min-height:44px}.ay-wellness-tree-list+.ay-button{justify-self:start}.ay-wellness-question-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ay-wellness-move-label{color:var(--ui-text-soft);align-items:center;gap:8px;font-size:max(.74rem,12px);display:inline-flex}.ay-wellness-move-label .ui-input{min-width:180px}.ay-wellness-condition{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);gap:10px;min-width:0;margin:0;padding:12px 14px;display:grid}.ay-wellness-condition legend{color:var(--ui-text);padding:0 6px;font-size:max(.74rem,12px);font-weight:750}.ay-wellness-condition .ay-condition__row{align-items:end}@media (width<=720px){.ay-wellness-branch__header,.ay-wellness-pathways-heading{flex-direction:column;align-items:stretch}.ay-wellness-branch__actions{justify-content:flex-start}.ay-wellness-question-actions{flex-direction:column;align-items:stretch}.ay-wellness-move-label .ui-input{flex:1;min-width:0}}@media (prefers-reduced-motion:reduce){.ay-wellness-questions *,.ay-wellness-questions :before,.ay-wellness-questions :after{transition-duration:0s!important;animation-duration:1ms!important}}.ay-wellness-branch__title{align-items:flex-start;gap:10px;min-width:0;display:flex}.ay-wellness-branch__toggle{min-width:0;color:var(--ui-text);text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;align-items:flex-start;gap:8px;padding:2px;display:flex}.ay-wellness-branch__toggle>svg{flex:none;margin-top:2px;transition:transform .16s ease-out}.ay-wellness-branch__toggle.is-expanded>svg{transform:rotate(90deg)}.ay-wellness-branch__toggle span{gap:3px;min-width:0;display:grid}.ay-wellness-branch__toggle strong{font-size:max(.86rem,13px)}.ay-wellness-branch__toggle small{color:var(--ui-muted);font-size:max(.74rem,12px);line-height:1.45}.ay-wellness-track-status{border:1px solid var(--ui-border);color:var(--ui-muted);border-radius:999px;flex:none;padding:3px 8px;font-size:max(.68rem,11px);font-weight:700}.ay-wellness-track-status--active{border-color:color-mix(in srgb,var(--ui-accent) 35%,var(--ui-border));color:var(--ui-accent);background:var(--ui-accent-soft)}.ay-wellness-track-status--retired{color:var(--ui-danger);background:var(--ui-danger-soft)}.ay-wellness-track-name{max-width:420px}.ay-wellness-empty{border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius-sm);color:var(--ui-muted);background:var(--ui-surface-muted);justify-items:start;gap:3px;padding:14px;display:grid}.ay-wellness-empty svg{width:18px;height:18px;color:var(--ui-accent)}.ay-wellness-empty p{color:var(--ui-text);margin:0;font-weight:700}.ay-wellness-empty span{font-size:max(.74rem,12px)}@media (width<=720px){.ay-wellness-branch__title{flex-direction:column;align-items:stretch}.ay-wellness-track-status{align-self:flex-start}.ay-wellness-track-name{max-width:none}}.ay-wellness-questions{gap:26px}.ay-wellness-section,.ay-wellness-tracks{gap:12px;min-width:0;display:grid}.ay-wellness-section+.ay-wellness-section,.ay-wellness-section+.ay-wellness-tracks,.ay-wellness-tracks+.ay-wellness-track-detail{border-top:1px solid var(--ui-border);padding-top:24px}.ay-wellness-section__header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ay-wellness-section__header h3{color:var(--ui-text);margin:0;font-size:max(.9rem,14px);line-height:1.3}.ay-wellness-section__header p{max-width:72ch;color:var(--ui-muted);margin:4px 0 0;font-size:max(.76rem,12px);line-height:1.5}.ay-wellness-section.has-error>.ay-wellness-section__header h3{color:var(--ui-danger)}.ay-wellness-section .ay-wellness-tree-list:empty{display:none}.ay-wellness-track-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);min-height:78px;color:var(--ui-text);text-align:left;cursor:pointer;box-shadow:none;transition:border-color var(--ui-duration-fast) ease, background-color var(--ui-duration-fast) ease, color var(--ui-duration-fast) ease, transform var(--ui-duration-fast) var(--ui-ease-out);align-content:center;justify-items:start;gap:5px;padding:14px 16px;display:grid}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile:not(.ay-wellness-track-tile--add)>strong,html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile:not(.ay-wellness-track-tile--add)>span{text-align:left;justify-self:stretch;width:100%}button.ay-wellness-track-tile:not(.ay-wellness-track-tile--add){text-align:left;flex-direction:column;justify-content:center;align-items:stretch;width:100%;display:flex}button.ay-wellness-track-tile:not(.ay-wellness-track-tile--add)>strong,button.ay-wellness-track-tile:not(.ay-wellness-track-tile--add)>span{text-align:left;align-self:stretch;width:100%;display:block}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile:hover{border-color:var(--ui-border-strong);background:var(--ui-surface-muted)}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile:active{transform:translateY(1px)}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile:focus-visible{box-shadow:var(--ui-focus);outline:0}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile.is-retired:not(.is-selected){background:var(--ui-surface-muted);color:var(--ui-muted)}.ay-wellness-track-tile>strong,.ay-wellness-track-tile--add strong{font-size:max(.8rem,13px);font-weight:750;line-height:1.3}.ay-wellness-track-tile>span{color:var(--ui-muted);font-size:max(.72rem,12px);line-height:1.35}.ay-wellness-track-tile.is-selected>span{color:var(--ui-accent)}html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile--add{color:var(--ui-accent);border-style:dashed;grid-template-columns:28px minmax(0,1fr);align-content:center;align-items:center}.ay-wellness-track-tile--add>svg{fill:none;stroke:currentColor;stroke-width:1.8px;grid-row:1;width:22px;height:22px}.ay-wellness-track-tile--add>span{gap:3px;display:grid}.ay-wellness-track-tile--add small{color:var(--ui-muted);font-size:max(.7rem,11px);font-weight:500;line-height:1.35}.ay-wellness-track-detail{gap:12px}.ay-wellness-track-settings{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);gap:14px;padding:14px;display:grid}.ay-wellness-track-settings__heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ay-wellness-track-settings__heading h4{color:var(--ui-text);margin:0;font-size:max(.8rem,13px)}.ay-wellness-track-settings__heading p{color:var(--ui-muted);margin:3px 0 0;font-size:max(.72rem,12px);line-height:1.45}.ay-wellness-track-settings .ay-wellness-track-name{width:min(100%,520px);max-width:none}.ay-wellness-track-detail.is-retired .ay-wellness-tree-list,.ay-wellness-track-detail.is-retired>.ay-button{opacity:.72}@media (width<=720px){.ay-wellness-questions{gap:22px}.ay-wellness-section+.ay-wellness-section,.ay-wellness-section+.ay-wellness-tracks,.ay-wellness-tracks+.ay-wellness-track-detail{padding-top:20px}.ay-wellness-track-grid{grid-template-columns:minmax(0,1fr)}.ay-wellness-section__header,.ay-wellness-track-settings__heading{flex-direction:column;align-items:stretch}.ay-wellness-track-settings__heading .ay-wellness-branch__actions{justify-content:flex-start}}@media (pointer:coarse){html[data-theme-surface=clinic-configuration] .ay-wellness-track-tile{min-height:72px}}html[data-theme-surface=patient-portal]{-webkit-text-size-adjust:100%;text-size-adjust:100%}.portal-shell{--portal-rail-width:78px;--portal-content-width:1440px;--portal-card-radius:18px;--portal-card-shadow:0 1px 2px #4336260a, 0 16px 34px #43362613;--portal-warm:#fffaf3;--portal-lilac:#f2edfb;--portal-mint:#eaf7f2;--portal-peach:#fff1e8;--portal-blue:#edf5fb;background:var(--ui-canvas);height:100dvh;min-height:100dvh;color:var(--ui-text);overflow:hidden}.portal-shell *,.portal-shell :before,.portal-shell :after{min-width:0}.portal-shell button,.portal-shell a,.portal-shell input,.portal-shell textarea,.portal-shell select{font:inherit}.portal-shell a{color:var(--ui-accent)}.portal-shell .ay-button,.portal-shell .ui-input,.portal-shell .ui-select,.portal-shell button,.portal-shell input,.portal-shell textarea,.portal-shell select{transition:border-color var(--ui-duration-fast) ease, background-color var(--ui-duration-fast) ease, color var(--ui-duration-fast) ease, box-shadow var(--ui-duration-fast) ease, transform var(--ui-duration-fast) var(--ui-ease-out)}.portal-shell .ay-button{border-radius:8px;gap:6px;min-height:34px;padding:6px 10px;font-size:.68rem;font-weight:630;line-height:1.15}.portal-shell .ay-button svg{flex:0 0 15px;width:15px;height:15px}.portal-shell :where(button,a,input,textarea,select):focus-visible{box-shadow:var(--ui-focus);outline:0}.portal-shell .ay-shell__status{color:var(--ui-muted);font-size:.7rem}.portal-shell .portal-workspace-main{min-height:0;display:block;overflow:hidden}.portal-shell .portal-dashboard{grid-template-columns:var(--portal-rail-width) minmax(0, 1fr);width:100%;height:100%;min-height:0;margin:0;display:grid;overflow:hidden}.portal-shell .portal-sidebar{overscroll-behavior:contain;border-right:1px solid var(--ui-border);background:var(--ui-surface);align-items:center;gap:8px;height:100%;min-height:0;padding:18px 12px;display:flex;position:relative;top:auto;overflow:hidden auto}.portal-shell .portal-rail-brand{width:54px;min-height:54px;color:var(--ui-accent);flex:0 0 54px;place-items:center;margin:0 0 6px;padding:5px;display:grid}.portal-shell .portal-rail-brand__mark{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);width:42px;height:42px;color:var(--ui-accent);border-radius:13px;place-items:center;font-size:.82rem;font-weight:760;display:grid;overflow:hidden}.portal-shell .portal-rail-brand__logo{object-fit:contain;width:100%;height:100%}.portal-shell .portal-rail-button{width:54px;min-height:52px;color:var(--ui-muted);background:0 0;border:1px solid #0000;border-radius:12px;place-items:center;gap:3px;padding:7px 3px;font-size:.6rem;font-weight:650;display:grid}.portal-shell .portal-rail-button svg{width:21px;height:21px}.portal-shell .portal-rail-button:hover,.portal-shell .portal-rail-button.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-shell .portal-rail-button b{border:2px solid var(--ui-surface);background:var(--ui-accent-fill);min-width:17px;color:var(--ui-on-accent);border-radius:99px;padding:2px 4px;font-size:.58rem;line-height:1.05;top:2px;right:2px}.portal-shell .portal-account-wrap{margin-top:auto;position:relative}.portal-shell .portal-account-button{background:var(--ui-text-soft);color:#fff;border:0;border-radius:50%;width:38px;min-height:38px;margin:0;padding:0;font-size:.7rem;font-weight:750}.portal-shell .portal-account-button:hover,.portal-shell .portal-account-button.is-selected{box-shadow:0 0 0 3px var(--ui-accent-soft)}.portal-shell .portal-account-initials{border-radius:inherit;place-items:center;width:100%;height:100%;display:grid}.portal-shell .portal-account-popover{bottom:16px;left:calc(var(--portal-rail-width) + 10px);z-index:90;width:min(270px, calc(100vw - var(--portal-rail-width) - 28px));border:1px solid var(--ui-border-strong);background:var(--ui-surface);box-shadow:var(--ui-shadow-popover);border-radius:13px;padding:8px;position:fixed}.portal-shell .portal-account-popover[hidden]{display:none}.portal-shell .portal-account-identity{border-bottom:1px solid var(--ui-border);gap:2px;margin:2px 2px 7px;padding:8px 9px 10px;display:grid}.portal-shell .portal-account-identity strong{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.portal-shell .portal-account-identity span{color:var(--ui-muted);font-size:.64rem}.portal-shell .portal-account-menu-grid{gap:3px;display:grid}.portal-shell .portal-account-menu-grid button{width:100%;min-height:40px;color:var(--ui-text-soft);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:.7rem;font-weight:620;display:flex}.portal-shell .portal-account-menu-grid button>span{white-space:nowrap;min-width:0}.portal-shell .portal-account-menu-grid button:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-shell .portal-account-menu-grid button.is-danger{color:var(--ui-danger)}.portal-shell .portal-account-menu-grid button.is-danger:hover{background:var(--ui-danger-soft);color:var(--ui-danger)}.portal-shell .portal-account-menu-grid svg{flex:0 0 18px;width:18px;height:18px}.portal-shell .portal-main{overscroll-behavior-y:contain;scrollbar-gutter:stable;width:100%;height:100%;min-height:0;margin:0;padding:clamp(24px,4vw,48px) clamp(18px,4vw,42px) 60px;overflow:hidden auto}.portal-shell .portal-toolbar{width:min(100%, var(--portal-content-width));justify-content:flex-end;gap:8px;margin:-8px auto 14px;display:flex}.portal-global-notice{width:min(100%, var(--portal-content-width));border:1px solid var(--ui-border);border-radius:var(--portal-card-radius);background:var(--ui-surface);color:var(--ui-text-soft);box-shadow:var(--ui-shadow-card);align-items:flex-start;gap:8px;margin:0 auto 18px;padding:12px 14px;font-size:.76rem;line-height:1.45;display:flex}.portal-global-notice--success{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.portal-global-notice--error{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.portal-global-notice--info{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.portal-global-notice.is-transient{z-index:160;text-align:center;overflow-wrap:anywhere;pointer-events:none;width:max-content;max-width:calc(100vw - 32px);animation:portal-toast-in .18s var(--ui-ease-out) both;border-radius:14px;justify-content:center;align-items:center;margin:0;padding:9px 14px;position:fixed;inset-block-start:max(16px, env(safe-area-inset-top));inset-inline-start:50%;transform:translate(-50%);box-shadow:0 10px 28px #001b2124}@keyframes portal-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.portal-shell .portal-mobile-nav{display:none}.portal-shell .portal-page{width:min(100%, var(--portal-content-width));animation:portal-page-in .18s var(--ui-ease-out) both;gap:20px;margin:0 auto;display:grid}.portal-shell .portal-view-header{background:0 0;border:0;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 2px;padding:0 2px 6px;display:flex}.portal-shell .portal-view-header>div:first-child{min-width:0}.portal-shell .portal-view-header h1{color:var(--ui-text);letter-spacing:-.032em;margin:0;font-size:clamp(1.45rem,2.4vw,2rem);font-weight:700;line-height:1.1}.portal-shell .portal-view-header p:not(.ay-eyebrow){max-width:60ch;color:var(--ui-muted);margin:8px 0 0;font-size:.84rem;line-height:1.55}.portal-shell .portal-view-header .ay-eyebrow{display:none}.portal-shell .portal-view-actions{margin:0}.portal-shell .portal-card{border:1px solid var(--ui-border);border-radius:var(--portal-card-radius);background:var(--ui-surface);min-width:0;box-shadow:var(--portal-card-shadow);padding:22px}.portal-shell .portal-card>.ay-clinical-card__header{border-bottom:1px solid var(--ui-border);margin:0 0 18px;padding:0 0 14px}.portal-shell .portal-card>.ay-clinical-card__header h2{color:var(--ui-text);letter-spacing:-.012em;margin:0;font-size:.94rem;font-weight:700}.portal-shell .portal-card>.ay-clinical-card__header p{color:var(--ui-muted);margin:5px 0 0;font-size:.82rem;line-height:1.5}.portal-shell .portal-card .ay-actions{margin-top:16px}.portal-shell .portal-state{border:1px dashed var(--ui-border-strong);background:var(--ui-surface-soft);border-radius:12px;min-height:142px;padding:22px 16px}.portal-shell .portal-state strong{color:var(--ui-text);font-size:.8rem;display:block}.portal-shell .portal-state p{color:var(--ui-muted);margin:6px 0 0;font-size:.8rem;line-height:1.5}.portal-shell .portal-state.ay-section-error{border-style:solid;border-color:var(--ui-danger-border);background:var(--ui-danger-soft);min-height:0}.portal-shell .portal-meta{border-bottom:1px solid var(--ui-border);gap:3px;padding:10px 0;display:grid}.portal-shell .portal-meta dt{color:var(--ui-muted);letter-spacing:.03em;text-transform:uppercase;font-size:.7rem;font-weight:680}.portal-shell .portal-meta dd{color:var(--ui-text);overflow-wrap:anywhere;margin:0;font-size:.84rem;line-height:1.45}.portal-shell .portal-notices{gap:10px;display:grid}.portal-shell .portal-notice{border:1px solid var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info);border-radius:12px;justify-content:space-between;align-items:flex-start;gap:14px;padding:13px 15px;display:flex}.portal-shell .portal-notice h2{color:currentColor;margin:0;font-size:.82rem}.portal-shell .portal-notice p{color:var(--ui-text-soft);margin:5px 0 0;font-size:.78rem;line-height:1.45}.portal-shell .portal-notice--success{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.portal-shell .portal-notice--warning{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.portal-shell .portal-notice--error{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.portal-shell .portal-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.portal-shell .portal-home-summary{grid-row:span 2}.portal-shell .portal-home-messages{grid-column:1/-1}.portal-shell .portal-home-wellness{grid-column:1/-1;gap:12px;display:grid}.portal-shell .portal-home-wellness>header{padding:2px 2px 0}.portal-shell .portal-home-wellness>header h2{color:var(--ui-text);letter-spacing:-.015em;margin:0;font-size:1rem;font-weight:720}.portal-shell .portal-home-wellness>header p{color:var(--ui-muted);margin:5px 0 0;font-size:.8rem;line-height:1.5}.portal-shell .portal-wellness-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.portal-shell .portal-wellness-metric{border:1px solid color-mix(in srgb, var(--ui-border) 72%, transparent);border-radius:var(--portal-card-radius);min-height:232px;box-shadow:var(--portal-card-shadow);grid-template-rows:auto auto 64px auto;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:20px;display:grid}.portal-shell .portal-wellness-metric--energy{--portal-metric-accent:#b14a32;--portal-metric-surface:var(--portal-peach);background:var(--portal-peach)}.portal-shell .portal-wellness-metric--sleep{--portal-metric-accent:#6843ba;--portal-metric-surface:var(--portal-lilac);background:var(--portal-lilac)}.portal-shell .portal-wellness-metric--stress{--portal-metric-accent:#1d7457;--portal-metric-surface:var(--portal-mint);background:var(--portal-mint)}.portal-shell .portal-wellness-metric--weight{--portal-metric-accent:#2f5ca8;--portal-metric-surface:var(--portal-blue);background:var(--portal-blue)}.portal-shell .portal-wellness-metric__heading{color:var(--ui-text-soft);grid-column:1/-1;align-items:center;gap:9px;font-size:.82rem;display:flex}.portal-shell .portal-wellness-metric__icon{background:color-mix(in srgb, var(--ui-surface) 84%, transparent);width:32px;height:32px;color:var(--ui-text-soft);border-radius:50%;place-items:center;display:grid}.portal-shell .portal-wellness-metric__icon svg{width:17px;height:17px}.portal-shell .portal-wellness-metric__summary{align-self:end;gap:5px;display:grid}.portal-shell .portal-wellness-metric__summary>span,.portal-shell .portal-wellness-metric__latest>span{color:var(--ui-muted);letter-spacing:.035em;text-transform:uppercase;font-size:.66rem;font-weight:680}.portal-shell .portal-wellness-metric__value{color:var(--ui-text);letter-spacing:-.04em;align-self:end;font-size:clamp(1.45rem,2.1vw,2rem);font-weight:640;line-height:1}.portal-shell .portal-wellness-metric__latest{align-self:end;justify-items:end;gap:5px;display:grid}.portal-shell .portal-wellness-metric__latest strong{color:var(--ui-text);font-variant-numeric:tabular-nums;font-size:.94rem}.portal-shell .portal-wellness-metric__spark{width:100%;height:64px;color:var(--portal-metric-accent);grid-column:1/-1;align-self:center;display:block;overflow:visible}.portal-shell .portal-wellness-metric__baseline{stroke:color-mix(in srgb, var(--portal-metric-accent) 22%, transparent);stroke-width:1px;vector-effect:non-scaling-stroke}.portal-shell .portal-wellness-metric__plot{transform-origin:0;animation:.24s cubic-bezier(.23,1,.32,1) both portal-spark-reveal}.portal-shell .portal-wellness-metric:nth-child(2) .portal-wellness-metric__plot{animation-delay:40ms}.portal-shell .portal-wellness-metric:nth-child(3) .portal-wellness-metric__plot{animation-delay:80ms}.portal-shell .portal-wellness-metric:nth-child(4) .portal-wellness-metric__plot{animation-delay:.12s}.portal-shell .portal-wellness-metric__plot polyline{fill:none;stroke:currentColor;stroke-width:2.75px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.portal-shell .portal-wellness-metric__plot circle{fill:var(--portal-metric-surface);stroke:currentColor;stroke-width:1.8px;vector-effect:non-scaling-stroke}.portal-shell .portal-wellness-metric__plot circle.is-latest{fill:currentColor;stroke-width:0}.portal-shell .portal-wellness-metric__empty{border-bottom:1px solid color-mix(in srgb, var(--portal-metric-accent) 18%, transparent);min-height:64px;color:var(--ui-muted);grid-column:1/-1;align-items:center;font-size:.72rem;line-height:1.4;display:flex}.portal-shell .portal-wellness-metric__detail{color:var(--ui-muted);grid-column:1/-1;font-size:.72rem}@keyframes portal-spark-reveal{0%{opacity:.38;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0)}}@keyframes portal-spark-fade{0%{opacity:.45}to{opacity:1}}.portal-shell .portal-home-summary{background:color-mix(in srgb, var(--portal-blue) 62%, var(--ui-surface))}.portal-shell .portal-home-checkin{background:color-mix(in srgb, var(--portal-mint) 68%, var(--ui-surface))}.portal-shell .portal-home-messages{background:color-mix(in srgb, var(--portal-lilac) 54%, var(--ui-surface))}.portal-shell .portal-summary-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0;display:grid}.portal-shell .portal-summary-list>div{border-bottom:1px solid var(--ui-border);min-width:0;padding:11px 0}.portal-shell .portal-summary-list dt{color:var(--ui-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.7rem;font-weight:680}.portal-shell .portal-summary-list dd{color:var(--ui-text);overflow-wrap:anywhere;margin:5px 0 0;font-size:.9rem;font-weight:680}.portal-shell .portal-summary-list dd small{color:var(--ui-muted);margin-top:4px;font-size:.75rem;font-weight:500;line-height:1.4;display:block}.portal-shell .portal-next-task{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;display:grid}.portal-shell .portal-next-task>.ay-button{grid-column:2;justify-self:start;margin-top:2px}.portal-shell .portal-task-icon{background:var(--portal-mint);width:38px;height:38px;color:var(--ui-success);border-radius:12px;place-items:center;display:grid}.portal-shell .portal-task-icon svg{width:20px;height:20px}.portal-shell .portal-next-task h3{color:var(--ui-text);margin:1px 0 0;font-size:.85rem}.portal-shell .portal-next-task p{color:var(--ui-muted);margin:4px 0 0;font-size:.73rem;line-height:1.5}.portal-shell .portal-next-task time{color:var(--ui-accent);margin-top:7px;font-size:.68rem;font-weight:700;display:block}.portal-shell .portal-message-preview-list{gap:5px;display:grid}.portal-shell .portal-message-preview{width:100%}.portal-shell .portal-message-preview__row{border:0;border-bottom:1px solid var(--ui-border);width:100%;color:inherit;text-align:left;background:0 0;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 6px;display:grid;position:relative}.portal-shell .portal-message-preview__row:hover{background:var(--ui-surface-soft)}.portal-shell .portal-message-preview__open{z-index:0;border-radius:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0;position:absolute;inset:0}.portal-shell .portal-message-preview__open:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px;border-radius:8px}.portal-shell .portal-message-preview__avatar{background:var(--portal-lilac);width:32px;height:32px;color:var(--ui-accent);border-radius:50%;place-items:center;font-size:.68rem;font-weight:750;display:grid}.portal-shell .portal-message-preview__body{gap:2px;min-width:0;display:grid}.portal-shell .portal-message-preview strong{color:var(--ui-text);font-size:.74rem}.portal-shell .portal-message-preview small{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.69rem;overflow:hidden}.portal-shell .portal-message-preview time{color:var(--ui-muted);white-space:nowrap;font-size:.63rem}.portal-shell .portal-message-preview__links{flex-wrap:wrap;gap:6px;margin-top:3px;display:flex}.portal-shell .portal-text-action{justify-self:start;margin-top:5px}.portal-shell .portal-messages-card{background:color-mix(in srgb, var(--portal-blue) 44%, var(--ui-surface));max-width:none;margin:0}.portal-shell .portal-message-thread{scrollbar-gutter:stable;grid-auto-rows:max-content;align-content:start;gap:15px;max-height:min(52vh,560px);padding-right:4px;display:grid;overflow-y:auto}.portal-shell .ay-message-bubble{border:1px solid var(--ui-border);background:var(--ui-surface-soft);border-radius:14px 14px 14px 5px;align-self:start;width:fit-content;max-width:min(78%,680px);padding:13px 15px;box-shadow:0 2px 8px #43362606}.portal-shell .ay-message-bubble.is-patient{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);border-radius:14px 14px 5px;justify-self:end}.portal-shell .ay-message-meta{color:var(--ui-muted);flex-wrap:wrap;align-items:baseline;gap:6px;font-size:.74rem;display:flex}.portal-shell .ay-message-meta strong{color:var(--ui-text);font-size:.82rem}.portal-shell .ay-message-meta time{font-variant-numeric:tabular-nums;margin-left:auto}.portal-shell .ay-message-bubble p{color:var(--ui-text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:.88rem;line-height:1.55}.portal-shell .portal-message-warning{border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);border-radius:9px;align-items:flex-start;gap:7px;padding:9px 10px;display:flex;color:var(--ui-warning)!important;margin:10px 0 0!important;font-size:.66rem!important;line-height:1.45!important}.portal-shell .portal-message-warning svg{flex:0 0 15px;width:15px;height:15px}.portal-shell .ay-message-status{color:var(--ui-muted);flex-wrap:wrap;gap:8px;margin-top:9px;font-size:.63rem;display:flex}.portal-shell .ay-message-status .is-reviewed{color:var(--ui-success);font-weight:700}.portal-shell .ay-message-status .is-pending{color:var(--ui-warning);font-weight:700}.portal-shell .portal-attachment-list{gap:6px;margin:11px 0 0;padding:0;list-style:none;display:grid}.portal-shell .portal-attachment-list li{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:10px;flex-wrap:wrap;align-items:flex-start;gap:8px;min-width:0;padding:9px 10px;display:flex}.portal-shell .portal-linked-records{flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.portal-shell .portal-linked-records li{min-width:0;display:flex}.portal-shell .portal-record-link{z-index:1;border:1px solid var(--ui-border);background:var(--ui-surface);min-height:30px;color:var(--ui-accent);cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:5px 11px;font-size:.7rem;font-weight:650;line-height:1.2;display:inline-flex;position:relative}.portal-shell .portal-record-link:hover{background:var(--ui-surface-soft);border-color:var(--ui-accent-border)}.portal-shell .portal-record-link:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}.portal-shell .portal-record-link:disabled{opacity:.5;cursor:default}.portal-shell .portal-record-link__icon{flex:none;width:13px;height:13px}.portal-shell .portal-attachment-kind{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);border-radius:5px;flex:none;padding:3px 5px;font-size:.57rem;font-weight:750}.portal-shell .portal-attachment-name{overflow-wrap:anywhere;color:var(--ui-text-soft);flex:120px;font-size:.68rem}.portal-shell .portal-attachment-error{color:var(--ui-danger);font-size:.66rem}.portal-shell .portal-composer,.portal-shell .portal-message-composer{border:1px solid var(--ui-border);background:color-mix(in srgb, var(--ui-surface-soft) 82%, var(--portal-lilac));border-radius:14px;gap:11px;padding:18px;display:grid;margin-top:20px!important}.portal-shell .portal-composer>label:first-child,.portal-shell .portal-message-composer>label:first-child,.portal-shell .portal-upload-form>label{color:var(--ui-text-soft);font-size:.72rem;font-weight:680}.portal-shell .portal-composer .ui-input,.portal-shell .portal-message-composer .ui-input,.portal-shell .portal-upload-form .ui-input{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:100%;min-height:96px;color:var(--ui-text);resize:vertical;border-radius:10px;padding:11px 12px;font-size:.88rem;line-height:1.5}.portal-shell .portal-message-field-frame{border-radius:var(--portal-control-radius);width:100%;min-width:0;overflow:hidden}.portal-shell .portal-attachment-picker{border:1px solid var(--ui-border-strong);background:var(--ui-surface);cursor:pointer;border-radius:9px;align-items:center;gap:6px;width:fit-content;min-height:36px;position:relative;color:var(--ui-text-soft)!important;padding:7px 11px!important;font-size:.68rem!important;display:inline-flex!important}.portal-shell .portal-attachment-picker--icon{width:var(--portal-action-height);min-width:var(--portal-action-height);justify-content:center;padding:0!important}.portal-shell .portal-attachment-picker--icon svg{width:18px;height:18px}.portal-shell .portal-attachment-picker:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)!important}.portal-shell .portal-attachment-picker input{opacity:0;pointer-events:none;position:absolute;overflow:hidden;width:1px!important;height:1px!important}.portal-shell .portal-composer-footer{justify-content:space-between;align-items:center;gap:10px;padding-top:3px;display:flex}.portal-shell .portal-composer-footer>span{color:var(--ui-muted);align-items:center;gap:6px;font-size:.67rem;font-weight:620;display:inline-flex}.portal-shell .portal-composer-footer svg{width:15px;height:15px}.portal-shell .portal-documents-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px;display:grid}.portal-shell .portal-documents-card,.portal-shell .portal-upload-card,.portal-shell .portal-document-notices-card{grid-area:auto;align-self:start}.portal-shell .portal-documents-card{background:color-mix(in srgb, var(--portal-blue) 44%, var(--ui-surface))}.portal-shell .portal-upload-card{background:color-mix(in srgb, var(--portal-mint) 54%, var(--ui-surface))}.portal-shell .portal-document-notices-card{background:color-mix(in srgb, var(--portal-peach) 52%, var(--ui-surface))}.portal-shell .portal-document-list,.portal-shell .portal-notice-list,.portal-shell .portal-upload-list{gap:9px;display:grid}.portal-shell .portal-document-row{border:1px solid var(--ui-border);background:var(--ui-surface-soft);border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 13px;display:grid}.portal-shell .portal-document-row:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.portal-shell .patient-attachment-copy{align-items:flex-start;gap:10px;min-width:0;display:flex}.portal-shell .patient-attachment-copy>div{gap:3px;min-width:0;display:grid}.portal-shell .patient-attachment-copy strong{overflow-wrap:anywhere;color:var(--ui-text);font-size:.84rem}.portal-shell .patient-attachment-copy small{color:var(--ui-muted);font-size:.74rem}.portal-shell .patient-attachment-icon{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);border-radius:9px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.portal-shell .ay-document-file-icon{color:var(--ui-accent);font-size:.54rem;font-weight:750}.portal-shell .clinical-document-actions{align-items:flex-start;gap:7px;display:flex}.portal-shell .portal-document-status,.portal-shell .portal-document-row-error{color:var(--ui-muted);grid-column:1/-1;margin:0;font-size:.74rem}.portal-shell .portal-document-row-error{color:var(--ui-danger)}.portal-shell .portal-document-notice{border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning);border-radius:10px;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 11px;display:flex}.portal-shell .portal-document-notice strong{font-size:.78rem}.portal-shell .portal-document-notice p{color:var(--ui-text-soft);margin:4px 0 0;font-size:.74rem;line-height:1.45}.portal-shell .portal-document-notice time{color:var(--ui-muted);flex:none;font-size:.61rem}.portal-shell .portal-upload-form{background:0 0;border:0;border-radius:0;gap:10px;padding:0;display:grid;margin:0!important}.portal-shell .portal-upload-controls{grid-template-columns:minmax(180px,.72fr) minmax(0,2fr);align-items:end;gap:12px;display:grid}.portal-shell .portal-upload-category,.portal-shell .portal-upload-file-field{gap:6px;min-width:0;display:grid}.portal-shell .portal-upload-category{position:relative}.portal-shell .portal-upload-category:after{content:"";border-right:1.5px solid var(--ui-muted);border-bottom:1.5px solid var(--ui-muted);pointer-events:none;width:6px;height:6px;position:absolute;bottom:17px;right:14px;transform:rotate(45deg)}.portal-shell .portal-upload-file-field>.ui-field__label{color:var(--ui-text-soft);font-size:.72rem;font-weight:680}.portal-shell .portal-upload-file-row{grid-template-columns:auto minmax(72px,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:40px;display:grid}.portal-shell .portal-upload-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;opacity:0;position:absolute;overflow:hidden;width:1px!important;height:1px!important}.portal-shell .portal-upload-choose,.portal-shell .portal-upload-submit{white-space:nowrap;min-height:40px}.portal-shell .portal-upload-file-name{min-width:0;color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;line-height:1.35;overflow:hidden}.portal-shell .portal-upload-file-name.has-file{color:var(--ui-text-soft);font-weight:620}.portal-shell .portal-upload-form>p[role=status]{color:var(--ui-muted);align-items:center;gap:7px;margin:0;font-size:.68rem;display:flex}.portal-shell .portal-upload-list{border-top:1px solid var(--ui-border);margin-top:15px;padding-top:14px}.portal-shell .portal-upload-row{border:1px solid var(--ui-border);background:var(--ui-surface-soft);border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.portal-shell .portal-upload-row>div{gap:2px;min-width:0;display:grid}.portal-shell .portal-upload-row strong{overflow-wrap:anywhere;color:var(--ui-text);font-size:.68rem}.portal-shell .portal-upload-row small{color:var(--ui-muted);font-size:.62rem}.portal-shell .portal-upload-status{color:var(--ui-accent);flex:none;font-size:.62rem;font-weight:680}.portal-shell .portal-upload-status--failed{color:var(--ui-danger)}.portal-shell .portal-checkin-card{background:color-mix(in srgb, var(--portal-warm) 54%, var(--ui-surface));max-width:none;margin:0}.portal-shell .portal-checkin-start,.portal-shell .portal-checkin-submit{border:1px solid var(--ui-border);background:var(--portal-warm);border-radius:12px;gap:12px;padding:15px;display:grid}.portal-shell .portal-checkin-start .ui-field,.portal-shell .portal-checkin-submit .ui-field{gap:6px;display:grid}.portal-shell .portal-checkin-start .ui-field__label,.portal-shell .portal-checkin-submit .ui-field__label{color:var(--ui-text-soft);font-size:.71rem;font-weight:680}.portal-shell .portal-checkin-conversation{gap:15px;display:grid}.portal-shell .portal-checkin-transcript{gap:12px;display:grid}.portal-shell .portal-checkin-turn{border:1px solid var(--ui-border);background:var(--ui-surface-soft);width:fit-content;max-width:80%;color:var(--ui-text-soft);white-space:pre-wrap;border-radius:13px 13px 13px 5px;padding:13px 15px;font-size:.88rem;line-height:1.55}.portal-shell .portal-checkin-turn--patient{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);border-radius:13px 13px 5px;justify-self:end}.portal-shell .portal-checkin-answer{gap:7px;display:grid}.portal-shell .portal-checkin-answer .ui-input{border:1px solid var(--ui-border-strong);background:var(--ui-surface);resize:vertical;border-radius:10px;min-height:92px;padding:11px 12px;font-size:.88rem}.portal-shell .portal-checkin-flag{border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning);border-radius:10px;padding:10px 11px;font-size:.68rem;line-height:1.45}.portal-shell .portal-review-checkbox{color:var(--ui-text-soft);align-items:flex-start;gap:8px;font-size:.7rem;display:flex}.portal-shell .portal-review-checkbox input{width:18px;height:18px;accent-color:var(--ui-accent-fill)}.portal-shell .portal-checkin-complete{border:1px solid var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success);border-radius:12px;align-items:center;gap:12px;padding:16px;display:flex}.portal-shell .portal-checkin-complete svg{flex:0 0 22px;width:22px;height:22px}.portal-shell .portal-checkin-complete strong{color:currentColor;font-size:.78rem}.portal-shell .portal-checkin-complete p{color:var(--ui-text-soft);margin:3px 0 0;font-size:.7rem;line-height:1.45}.portal-shell .portal-history-card{background:color-mix(in srgb, var(--portal-lilac) 42%, var(--ui-surface));max-width:none;margin:0}.portal-shell .portal-assessment-list{scrollbar-gutter:stable;grid-auto-rows:max-content;align-content:start;gap:11px;max-height:min(58vh,640px);padding-right:4px;display:grid;overflow-y:auto}.portal-shell .portal-assessment{border:1px solid var(--ui-border);background:var(--ui-surface-soft);border-radius:11px;align-self:start;overflow:hidden}.portal-shell .portal-assessment>summary{min-height:72px;color:var(--ui-text);cursor:pointer;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:14px 16px;list-style:none;display:grid}.portal-shell .portal-assessment>summary::-webkit-details-marker{display:none}.portal-shell .portal-assessment>summary::marker{content:""}.portal-shell .portal-assessment>summary:after{content:none}.portal-shell .portal-assessment>summary:hover{background:color-mix(in srgb, var(--ui-accent-soft) 42%, transparent)}.portal-shell .portal-assessment>summary:focus-visible{box-shadow:inset 0 0 0 2px var(--ui-accent-border);outline:0}.portal-shell .portal-assessment[open]>summary{border-bottom:1px solid var(--ui-border)}.portal-shell .portal-assessment__identity{align-content:center;gap:4px;min-width:0;display:grid}.portal-shell .portal-assessment__identity strong{color:var(--ui-text);overflow-wrap:anywhere;font-size:.9rem;line-height:1.35}.portal-shell .portal-assessment__identity time,.portal-shell .portal-assessment>summary>small{color:var(--ui-muted);margin:0;font-size:.74rem;line-height:1.45;display:block}.portal-shell .portal-assessment>summary>small{text-align:right;white-space:nowrap}.portal-shell .portal-assessment__chevron{width:18px;height:18px;color:var(--ui-muted);transition:transform .18s var(--ui-ease-out)}.portal-shell .portal-assessment[open] .portal-assessment__chevron{transform:rotate(180deg)}.portal-shell .portal-assessment dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0;padding:4px 13px 13px;display:grid}.portal-shell .portal-assessment dl>div{border-bottom:1px solid var(--ui-border);padding:10px 0}.portal-shell .portal-assessment dt{color:var(--ui-muted);font-size:.72rem;font-weight:680}.portal-shell .portal-assessment dd{color:var(--ui-text-soft);overflow-wrap:anywhere;margin:4px 0 0;font-size:.84rem;line-height:1.45}.portal-shell .portal-assessment__empty{color:var(--ui-muted);margin:0;padding:16px;font-size:.76rem;line-height:1.5}.portal-shell .portal-settings-form{gap:16px;min-width:0;display:grid}.portal-shell .portal-settings-form>section{min-width:0}.portal-shell .portal-settings-form h3{color:var(--ui-text);margin:0;font-size:.9rem}.portal-shell .portal-settings-form h3+p{color:var(--ui-muted);margin:4px 0 15px;font-size:.72rem;line-height:1.5}.portal-shell .portal-settings-grid .ui-field{gap:6px;display:grid}.portal-shell .portal-settings-grid .ui-field__label{color:var(--ui-text-soft);font-size:.7rem;font-weight:680}.portal-shell .portal-settings-grid .ui-input,.portal-shell .portal-settings-grid .ui-select{border:1px solid var(--ui-border-strong);background-color:var(--ui-surface);width:100%;min-height:40px;color:var(--ui-text);border-radius:9px;padding:9px 11px;font-size:.74rem}.portal-shell .portal-settings-nav{border:1px solid var(--ui-border);background:var(--ui-surface-soft);border-radius:12px;gap:4px;padding:5px;display:grid;position:sticky;top:94px}.portal-shell .portal-settings-nav button{min-height:38px;color:var(--ui-muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:flex-start;padding:8px 10px;font-size:.7rem}.portal-shell .portal-settings-nav button:hover,.portal-shell .portal-settings-nav button[aria-selected=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-shell .portal-preference-list{gap:7px;display:grid}.portal-shell .portal-preference-list label{border:1px solid var(--ui-border);background:var(--ui-surface-soft);color:var(--ui-text-soft);border-radius:9px;align-items:flex-start;gap:8px;padding:10px;font-size:.71rem;display:flex}.portal-shell .portal-preference-list input{width:17px;height:17px;accent-color:var(--ui-accent-fill);margin:0}.portal-shell .portal-settings-actions{flex-wrap:wrap;gap:8px;display:flex}.portal-shell .portal-billing,.portal-shell .portal-privacy{border:1px solid var(--ui-border);background:var(--portal-mint);border-radius:11px;padding:13px}.portal-shell .portal-billing p,.portal-shell .portal-privacy p{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.5}.portal-shell .portal-settings-footer{color:var(--ui-muted);font-size:.67rem;line-height:1.5}.portal-shell .portal-dialog-backdrop{z-index:150;background:var(--ui-overlay);place-items:center;padding:18px;animation:.16s ease-out both portal-fade-in;display:grid;position:fixed;inset:0}.portal-shell .portal-dialog{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:min(100%,500px);max-height:min(760px,100dvh - 36px);box-shadow:var(--ui-shadow-dialog);animation:portal-dialog-in .2s var(--ui-ease-out) both;border-radius:15px;padding:22px;overflow:auto}.portal-shell .portal-dialog>header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.portal-shell .portal-dialog h2{color:var(--ui-text);margin:0;font-size:1rem}.portal-shell .portal-dialog p{color:var(--ui-muted);font-size:.74rem;line-height:1.5}.portal-shell .portal-dialog-close{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:34px;height:34px;color:var(--ui-text-soft);border-radius:50%;place-items:center;padding:0;display:grid}.portal-shell .portal-dialog-options{gap:10px;display:grid}.portal-shell .portal-dialog .ui-field{gap:6px;display:grid}.portal-shell .portal-dialog .ui-field__label{color:var(--ui-text-soft);font-size:.7rem;font-weight:680}.portal-shell .portal-dialog .ui-input{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:100%;min-height:40px;color:var(--ui-text);border-radius:9px;padding:9px 11px;font-size:.74rem}.portal-shell .portal-setup-key{border:1px dashed var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);overflow-wrap:anywhere;user-select:all;border-radius:9px;padding:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem}.portal-shell .portal-setup-qr{border:1px solid var(--ui-border);background:#fff;border-radius:10px;justify-self:center;width:min(100%,240px);height:auto;padding:8px}.portal-shell .portal-document-dialog{flex-direction:column;width:min(100%,860px);height:min(88dvh,780px);max-height:calc(100dvh - 36px);padding:0;display:flex;overflow:hidden}.portal-shell .portal-document-dialog>header{border-bottom:1px solid var(--ui-border);flex:none;margin:0;padding:18px 20px}.portal-shell .portal-document-dialog h2{overflow-wrap:anywhere;font-size:.95rem}.portal-shell .portal-document-dialog-stage{background:var(--ui-canvas);flex:auto;min-height:0;overflow:hidden}.portal-shell .portal-document-dialog-stage.is-image{place-items:center;padding:16px;display:grid;overflow:auto}.portal-shell .portal-document-dialog-image{object-fit:contain;max-width:100%;max-height:100%;display:block}.portal-shell .portal-document-dialog-footer{border-top:1px solid var(--ui-border);background:var(--ui-surface);flex:none;justify-content:flex-end;align-items:center;gap:9px;padding:12px 20px;display:flex}@media (width<=600px){.portal-shell .portal-document-dialog{border-radius:15px 15px 0 0;width:100%;height:calc(100dvh - 20px)}.portal-shell .portal-document-dialog>header{padding:14px 16px}.portal-shell .portal-document-dialog-footer{flex-wrap:wrap;padding:10px 12px}.portal-shell .portal-document-dialog-footer .ay-button{flex:auto}}html[data-theme-surface=patient-portal] .portal-mfa-choices{border:0;gap:9px;margin:4px 0 0;padding:0;display:grid}html[data-theme-surface=patient-portal] .portal-mfa-choices legend{color:var(--ui-text-soft);margin-bottom:5px;font-size:.72rem;font-weight:680}html[data-theme-surface=patient-portal] body>#root>.portal-global-notice:not(.is-transient){width:min(100% - 32px,450px);margin:14px auto}html[data-theme-surface=patient-portal] .portal-app-loading{background:var(--ui-canvas);min-height:100dvh;color:var(--ui-muted);align-content:center;place-items:center;gap:10px;padding:24px;font-size:.76rem;display:grid}html[data-theme-surface=patient-portal] .portal-app-loading .ay-spinner{width:22px;height:22px}html[data-theme-surface=patient-portal] .ay-auth-card__header{grid-template-rows:auto auto;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:5px 14px;display:grid}html[data-theme-surface=patient-portal] .ay-auth-card__header>.ay-auth-brand-mark{grid-area:1/1;align-self:center}html[data-theme-surface=patient-portal] .ay-auth-card__header>div{display:contents}html[data-theme-surface=patient-portal] .ay-auth-card__header h1{grid-area:1/2;align-self:center}html[data-theme-surface=patient-portal] .ay-auth-card__header h1+p{grid-area:2/2;margin:0}html[data-theme-surface=patient-portal] .portal-auth-flow{width:min(100%,450px)}html[data-theme-surface=patient-portal] .portal-auth-flow form{gap:8px;display:grid}html[data-theme-surface=patient-portal] .portal-auth-flow form>label{color:var(--ui-text-soft);margin-top:6px;font-size:.72rem;font-weight:680}html[data-theme-surface=patient-portal] .portal-auth-flow .ui-input{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:100%;min-height:43px;color:var(--ui-text);border-radius:10px;padding:10px 12px;font-size:.78rem}html[data-theme-surface=patient-portal] .portal-auth-flow .ui-input:hover{border-color:var(--ui-accent-border)}html[data-theme-surface=patient-portal] .portal-auth-flow .ay-auth-submit{margin-top:8px}html[data-theme-surface=patient-portal] .portal-auth-flow form>label.portal-remember-me{min-height:32px;color:var(--ui-text-soft);cursor:pointer;justify-self:start;align-items:center;gap:8px;margin-top:4px;font-size:.74rem;font-weight:600;display:inline-flex}html[data-theme-surface=patient-portal] .portal-auth-flow .portal-remember-me input{width:17px;height:17px;accent-color:var(--ui-accent);cursor:pointer;margin:0}html[data-theme-surface=patient-portal] .portal-auth-flow .ay-auth-submit .ay-button{width:100%;min-height:44px}html[data-theme-surface=patient-portal] .portal-auth-flow .ay-auth-options-row{color:var(--ui-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:3px 9px;margin-top:14px;font-size:.68rem;display:flex}html[data-theme-surface=patient-portal] .portal-auth-flow .ay-auth-link{min-height:32px;color:var(--ui-accent);background:0 0;border:0;border-radius:7px;padding:5px 7px;font-size:.68rem;font-weight:680}html[data-theme-surface=patient-portal] .portal-auth-flow .ay-auth-link:hover{background:var(--ui-accent-soft)}@keyframes portal-page-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes portal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes portal-dialog-in{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:none}}html.clinical-ui.dark .portal-shell{--portal-warm:#2c302c;--portal-lilac:#302c3b;--portal-mint:#233831;--portal-peach:#3a2c28;--portal-blue:#25333e;--portal-card-shadow:0 1px 2px #00000038, 0 12px 30px #0000001f}html.clinical-ui.dark .portal-shell .portal-rail-button:hover,html.clinical-ui.dark .portal-shell .portal-rail-button.is-selected{background:var(--ui-accent-soft)}html.clinical-ui.dark .portal-shell .portal-card,html.clinical-ui.dark .portal-shell .portal-dialog,html.clinical-ui.dark .portal-shell .portal-auth-flow{color:var(--ui-text)}html.clinical-ui.dark .portal-shell .ay-message-bubble.is-patient,html.clinical-ui.dark .portal-shell .portal-checkin-turn--patient{background:var(--ui-accent-soft);border-color:var(--ui-accent-border)}html.clinical-ui.dark .portal-shell .ay-message-bubble:not(.is-patient),html.clinical-ui.dark .portal-shell .portal-checkin-turn:not(.portal-checkin-turn--patient){background:var(--ui-chat-assistant-surface);border-color:var(--ui-chat-assistant-border)}html.clinical-ui.dark .portal-shell .portal-checkin-start,html.clinical-ui.dark .portal-shell .portal-checkin-submit{background:var(--portal-warm)}@media (width>=900px){.portal-shell .portal-page--messages,.portal-shell .portal-page--checkin,.portal-shell .portal-page--history{grid-template-rows:auto minmax(0,1fr);height:100%}.portal-shell .portal-messages-card,.portal-shell .portal-history-card{flex-direction:column;min-height:0;display:flex;overflow:hidden}.portal-shell .portal-message-thread,.portal-shell .portal-assessment-list{flex:auto;min-height:120px;max-height:none}.portal-shell .portal-checkin-card{min-height:0;overflow-y:auto}}@media (width>=900px) and (width<=1120px){.portal-shell .portal-main{padding:32px 24px 48px}.portal-shell .portal-home-grid,.portal-shell .portal-documents-grid,.portal-shell .portal-settings-grid{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-home-summary,.portal-shell .portal-home-messages,.portal-shell .portal-documents-card,.portal-shell .portal-document-notices-card,.portal-shell .portal-upload-card{grid-area:auto}.portal-shell .portal-home-wellness{grid-column:auto}.portal-shell .portal-wellness-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=899px){.portal-shell .portal-dashboard{height:100%;min-height:0;padding-bottom:0;display:block}.portal-shell .portal-sidebar{display:none}.portal-shell .portal-main{width:100%;height:100%;min-height:0;padding:26px 16px calc(108px + env(safe-area-inset-bottom))}.portal-shell .portal-mobile-nav{z-index:60;min-height:68px;padding:6px max(8px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-bottom));border-top:1px solid var(--ui-border);background:color-mix(in srgb, var(--ui-surface) 96%, transparent);box-shadow:var(--ui-shadow-footer);backdrop-filter:blur(14px);justify-content:space-around;align-items:stretch;gap:4px;display:flex;position:fixed;bottom:0;left:0;right:0}.portal-shell .portal-mobile-nav__item{width:20%;min-height:52px;color:var(--ui-muted);background:0 0;border:1px solid #0000;border-radius:11px;align-content:center;place-items:center;gap:3px;padding:6px 2px;font-size:.61rem;font-weight:650;display:grid;position:relative}.portal-shell .portal-mobile-nav__item svg{width:20px;height:20px}.portal-shell .portal-mobile-nav__item:hover,.portal-shell .portal-mobile-nav__item.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-shell .portal-mobile-nav__item b{border:2px solid var(--ui-surface);background:var(--ui-accent-fill);min-width:17px;color:var(--ui-on-accent);border-radius:99px;padding:2px 4px;font-size:.57rem;position:absolute;top:1px;right:16%}.portal-shell .portal-home-grid,.portal-shell .portal-documents-grid,.portal-shell .portal-settings-grid{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-home-summary,.portal-shell .portal-home-messages,.portal-shell .portal-documents-card,.portal-shell .portal-document-notices-card,.portal-shell .portal-upload-card{grid-area:auto}.portal-shell .portal-home-wellness{grid-column:auto}.portal-shell .portal-wellness-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-shell .portal-wellness-metric{min-height:224px}.portal-shell .portal-view-header{flex-direction:column;align-items:flex-start;gap:10px}.portal-shell .portal-view-header h1{font-size:1.5rem}.portal-shell .portal-card{padding:17px}.portal-shell .portal-message-thread,.portal-shell .portal-assessment-list{max-height:none;padding-right:0;overflow:visible}.portal-shell .portal-settings-nav{gap:4px;display:flex;position:static;overflow-x:auto}.portal-shell .portal-settings-nav button{flex:none}.portal-shell .portal-summary-list{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-assessment>summary{grid-template-columns:minmax(0,1fr) 18px;gap:5px 10px}.portal-shell .portal-assessment>summary>small{text-align:left;white-space:normal;grid-column:1}.portal-shell .portal-assessment__chevron{grid-area:1/2/span 2}.portal-shell .portal-assessment dl{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-account-wrap--mobile{width:20%;margin:0}.portal-shell .portal-mobile-account-button{width:100%;min-height:52px;color:var(--ui-muted);background:0 0;border:1px solid #0000;border-radius:11px;align-content:center;place-items:center;gap:3px;padding:6px 2px;font-size:.61rem;font-weight:650;display:grid}.portal-shell .portal-mobile-account-button:hover,.portal-shell .portal-mobile-account-button.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);box-shadow:none}.portal-shell .portal-mobile-account-button .portal-account-initials{background:var(--ui-text-soft);color:#fff;width:24px;height:24px;font-size:.6rem}.portal-shell .portal-account-popover--mobile{right:max(8px, env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom));width:min(260px,100vw - 24px);padding:6px;left:auto}.portal-shell .portal-account-popover--mobile .portal-account-identity{margin-bottom:5px;padding:7px 8px 9px}.portal-shell .portal-account-popover--mobile .portal-account-menu-grid{grid-template-columns:minmax(0,1fr);justify-items:stretch;width:100%;display:grid}.portal-shell .portal-account-popover--mobile .portal-account-menu-grid button{grid-template-columns:20px minmax(0,1fr);justify-content:stretch;justify-self:stretch;gap:10px;max-width:none;min-height:42px;padding:8px 10px;display:grid;width:100%!important}.portal-shell .portal-account-popover--mobile .portal-account-menu-grid button>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-shell .portal-upload-controls{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-upload-category{max-width:100%}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-upload-category .ui-select{background-color:#fff}.portal-shell .ay-button{min-height:40px;padding:8px 12px;font-size:.71rem}}@media (width<=520px){.portal-shell .portal-wellness-metrics{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-main{padding:20px 12px calc(100px + env(safe-area-inset-bottom))}.portal-shell .portal-toolbar{justify-content:stretch;margin-top:-1px}.portal-shell .portal-toolbar>*{flex:1 1 0}.portal-shell .portal-card{border-radius:13px;padding:15px}.portal-shell .portal-card>.ay-clinical-card__header{margin-bottom:14px;padding-bottom:12px}.portal-shell .ay-message-bubble,.portal-shell .portal-checkin-turn{max-width:88%}.portal-shell .portal-document-row{grid-template-columns:minmax(0,1fr)}.portal-shell .clinical-document-actions{justify-content:flex-start}.portal-shell .portal-composer-footer{flex-direction:column;align-items:stretch}.portal-shell .portal-composer-footer .ay-button{width:100%}.portal-shell .portal-attachment-picker{justify-content:center;width:100%}.portal-shell .portal-upload-controls{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-upload-file-row{grid-template-columns:auto minmax(64px,1fr) auto}.portal-shell .portal-upload-choose,.portal-shell .portal-upload-submit{min-width:0;padding-inline:9px}.portal-shell .portal-next-task{grid-template-columns:34px minmax(0,1fr)}.portal-shell .portal-next-task>.ay-button{grid-column:1/-1}.portal-shell .portal-message-preview__row{grid-template-columns:30px minmax(0,1fr)}.portal-shell .portal-message-preview time{display:none}.portal-shell .portal-record-link{min-height:36px;padding:8px 12px}.portal-shell .portal-dialog-backdrop{align-items:end;padding:0}.portal-shell .portal-dialog{width:100%;max-height:calc(100dvh - 20px);padding-bottom:max(20px, env(safe-area-inset-bottom));border-radius:15px 15px 0 0}}.portal-shell .portal-main--checkin{scrollbar-gutter:auto;flex-direction:column;min-height:0;padding:clamp(24px,4vw,48px) clamp(18px,4vw,42px) 14px;display:flex;overflow:hidden}.portal-shell .portal-main--checkin>.portal-toolbar,.portal-shell .portal-main--checkin>.portal-global-notice{flex:none}.portal-shell .portal-page--checkin{flex-direction:column;flex:auto;gap:16px;width:100%;max-width:none;height:auto;min-height:0;display:flex;position:relative}.portal-shell .portal-page--checkin>.portal-view-header{width:min(100%, var(--portal-content-width));flex:none;align-self:center;margin:0 auto;padding-bottom:2px}.portal-shell .portal-page--checkin.is-unavailable,.portal-shell .portal-page--checkin.is-available,.portal-shell .portal-page--checkin.is-submitted{align-items:center}.portal-shell .portal-checkin-unavailable{border:1px solid var(--ui-border);border-radius:var(--portal-card-radius);background:var(--portal-card-surface);gap:16px;width:min(100%,620px);padding:clamp(20px,3vw,28px);display:grid}.portal-shell .portal-checkin-unavailable h2,.portal-shell .portal-checkin-review h2{color:var(--ui-text);margin:0 0 7px;font-size:.95rem}.portal-shell .portal-checkin-unavailable p{color:var(--ui-text-soft);margin:0;font-size:.8rem;line-height:1.55}.portal-shell .portal-checkin-emergency{border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);border-radius:10px;padding:11px 12px;color:var(--ui-warning)!important}.portal-shell .portal-page--checkin>.portal-checkin-start,.portal-shell .portal-page--checkin>.portal-checkin-complete,.portal-shell .portal-page--checkin>.portal-state{width:min(100%,620px)}.portal-shell .portal-page--checkin>.portal-checkin-unavailable,.portal-shell .portal-page--checkin>.portal-checkin-start,.portal-shell .portal-page--checkin>.portal-checkin-complete{margin-block:auto}.portal-shell .portal-page--checkin.is-conversation>.portal-state{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.portal-shell .portal-checkin-focus{overscroll-behavior:contain;flex:auto;width:100%;height:auto;min-height:0;overflow:hidden auto}html[data-theme-surface=patient-portal] .portal-shell .portal-page--checkin .ay-intake-response-composer.chat-input-area{margin-inline:auto;transition:border-color .16s ease-out,box-shadow .16s ease-out;position:absolute;left:0;right:0;transform:none}.portal-shell .portal-checkin-topbar,.portal-shell .ay-patient-conversation__mobile-return{display:none}.portal-shell .portal-checkin-attachment-request,.portal-shell .portal-checkin-review{border:1px solid var(--ui-border);background:var(--portal-subtle-surface);border-radius:12px;gap:10px;padding:13px;display:grid}.portal-shell .portal-checkin-review{background:#edf8f0;border-color:#c8dfcf}.portal-shell .portal-checkin-review__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.portal-shell .portal-checkin-restart-confirm{border-top:1px solid #5c8b683d;gap:9px;width:100%;padding-top:4px;display:grid}.portal-shell .portal-checkin-restart-confirm p{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.45}.portal-shell .portal-checkin-restart-confirm>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-checkin-review{background:#15251b;border-color:#294b35}.portal-shell .portal-checkin-attachment-request strong,.portal-shell .portal-checkin-review h2{color:var(--ui-text)}.portal-shell .portal-checkin-attachment-request p{color:var(--ui-text-soft);margin:0;font-size:.76rem;line-height:1.45}.portal-shell .portal-checkin-attachment-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.portal-shell .portal-checkin-attachment-list li{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text-soft);border-radius:9px;align-items:center;gap:8px;padding:9px 10px;font-size:.74rem;display:flex}.portal-shell .portal-checkin-attachment-list li span:first-child{color:var(--ui-muted);text-transform:uppercase;font-size:.64rem;font-weight:700}.portal-shell .portal-checkin-uploading{color:var(--ui-muted);margin:0;font-size:.74rem}.portal-shell .portal-checkin-attach-wrap{flex:0 0 40px;align-self:center;width:40px;height:40px;position:relative}.portal-shell .portal-checkin-attach-button{width:40px;height:40px;color:var(--ui-accent);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.portal-shell .portal-checkin-attach-button:not(:disabled):hover{background:var(--ui-accent-soft)}.portal-shell .portal-checkin-attach-button:disabled{color:var(--ui-muted);opacity:.48;cursor:not-allowed;background:0 0}@media (width<=1023.98px),(hover:none) and (pointer:coarse){.portal-shell .portal-checkin-attach-wrap{flex-basis:36px;width:36px;height:36px}.portal-shell .portal-checkin-attach-button{width:36px;height:36px}}.portal-shell .portal-checkin-attach-button svg{width:20px;height:20px}.portal-shell .portal-checkin-attachment-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=1023.98px),(hover:none) and (pointer:coarse){.portal-shell .portal-main--checkin{padding:16px 12px calc(88px + env(safe-area-inset-bottom));overflow:hidden}.portal-shell.is-chat-focus{z-index:90;height:100dvh;max-height:100dvh;position:fixed;top:0;left:0;right:0}.portal-shell.is-chat-focus .portal-sidebar,.portal-shell.is-chat-focus .portal-mobile-nav{display:none}.portal-shell.is-chat-focus .portal-workspace-main,.portal-shell.is-chat-focus .portal-dashboard{height:100%}.portal-shell.is-chat-focus .portal-dashboard{display:block}.portal-shell.is-chat-focus .portal-main--checkin{scrollbar-gutter:auto;padding:0;display:flex;overflow:hidden}.portal-shell.is-chat-focus .portal-main--checkin>.portal-toolbar{display:none}.portal-shell.is-chat-focus .portal-page--checkin{gap:0;width:100%;height:100%;animation:none}.portal-shell .portal-page--checkin>.portal-view-header{display:none}.portal-shell.is-chat-focus .portal-checkin-focus{padding:12px max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left))}.portal-shell.is-chat-focus .portal-page--checkin.is-conversation>.portal-state{z-index:1}.portal-shell .portal-checkin-topbar{min-height:calc(52px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));border-bottom:1px solid var(--ui-border);background:var(--ui-surface);flex:none;justify-content:space-between;align-items:center;gap:10px;display:flex}.portal-shell .portal-checkin-topbar__brand{align-items:center;gap:10px;min-width:0;display:flex}.portal-shell .portal-checkin-topbar__mark{background:var(--ui-accent-soft);width:30px;height:30px;color:var(--ui-accent);border-radius:9px;flex:0 0 30px;place-items:center;font-size:.8rem;font-weight:700;display:grid;overflow:hidden}.portal-shell .portal-checkin-topbar__mark img{object-fit:contain;width:100%;height:100%}.portal-shell .portal-checkin-topbar__name{min-width:0;color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:650;overflow:hidden}.portal-shell .portal-checkin-topbar__close{min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:none;align-items:center;gap:6px;padding:0 12px;font-size:.78rem;font-weight:650;transition:background-color .14s ease-out,transform .14s cubic-bezier(.23,1,.32,1);display:inline-flex}.portal-shell .portal-checkin-topbar__close svg{width:18px;height:18px}.portal-shell .portal-checkin-topbar__close:active{transform:scale(.97)}.portal-shell .portal-checkin-topbar__close:focus-visible{outline:3px solid var(--ui-accent-soft);outline-offset:1px}}@media (hover:hover) and (pointer:fine){.portal-shell .portal-checkin-topbar__close:hover{background:var(--ui-accent-soft)}}html.ayah-shell-lock[data-theme-surface=patient-portal],html.ayah-shell-lock[data-theme-surface=patient-portal] body{overscroll-behavior:none;height:100%;overflow:hidden}html.ayah-shell-lock[data-theme-surface=patient-portal] .portal-shell.is-chat-focus{top:var(--ayah-shell-top,0px);height:var(--ayah-shell-h,100dvh);min-height:0;max-height:var(--ayah-shell-h,100dvh);bottom:auto;transform:none}html.ayah-shell-lock.ayah-shell-animate[data-theme-surface=patient-portal] .portal-shell.is-chat-focus{transition:height .26s var(--ayah-ease-kb,cubic-bezier(.32, .72, 0, 1)), top .26s var(--ayah-ease-kb,cubic-bezier(.32, .72, 0, 1))}@media (prefers-reduced-motion:reduce){html.ayah-shell-lock.ayah-shell-animate[data-theme-surface=patient-portal] .portal-shell.is-chat-focus{transition:none}}html.ayah-shell-lock.ayah-shell-keyboard[data-theme-surface=patient-portal] .portal-checkin-topbar{display:none}@keyframes portal-checkin-typing{0%,60%,to{opacity:.45;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.portal-shell *,.portal-shell :before,.portal-shell :after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}.portal-shell .portal-wellness-metric__plot{animation-name:portal-spark-fade;animation-delay:0s!important}}.portal-shell{--portal-card-shadow:none;--portal-card-surface:#f5f5f5;--portal-subtle-surface:#fffaf2;--portal-chrome-surface:#f5f5f5;background:#fff}.portal-shell .portal-sidebar{background:var(--portal-chrome-surface)}.portal-shell .portal-main,.portal-shell .portal-dashboard,.portal-shell .portal-workspace-main{background:#fff}.portal-shell .portal-card,.portal-shell .portal-messages-card,.portal-shell .portal-checkin-card,.portal-shell .portal-history-card,.portal-shell .portal-documents-card,.portal-shell .portal-upload-card,.portal-shell .portal-document-notices-card,.portal-shell .portal-home-summary,.portal-shell .portal-home-checkin,.portal-shell .portal-home-messages{background:var(--portal-card-surface);box-shadow:none}.portal-shell .portal-message-composer,.portal-shell .portal-billing,.portal-shell .portal-privacy{background:var(--portal-subtle-surface)}.portal-shell .ay-message-bubble,.portal-shell .portal-wellness-metric{box-shadow:none}.portal-shell .portal-documents-grid{grid-template-columns:minmax(0,2fr) minmax(240px,.85fr)}.portal-shell .portal-documents-card{grid-area:1/1}.portal-shell .portal-upload-card{grid-area:2/1}.portal-shell .portal-document-notices-card{grid-area:1/2/span 2}@media (width>=1121px){.portal-shell .portal-page--documents{grid-template-rows:auto minmax(0,1fr);height:100%;padding-bottom:2px}.portal-shell .portal-documents-grid{grid-template-rows:repeat(2,minmax(0,1fr));align-items:stretch;height:100%;min-height:0}.portal-shell .portal-documents-card,.portal-shell .portal-upload-card,.portal-shell .portal-document-notices-card{align-self:stretch;height:100%;min-height:0}.portal-shell .portal-documents-card .portal-card__body,.portal-shell .portal-upload-card .portal-card__body,.portal-shell .portal-document-notices-card .portal-card__body{overscroll-behavior:contain;overflow-y:auto}}.portal-shell .portal-messages-card{position:relative}.portal-shell .portal-message-warning--top{z-index:1;border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);letter-spacing:.03em;text-transform:uppercase;text-align:center;border-radius:999px;justify-content:center;align-items:center;width:auto;padding:5px 8px;font-weight:680;position:absolute;top:24px;right:22px;color:var(--ui-warning)!important;margin:0!important;font-size:.62rem!important;line-height:1.2!important}.portal-shell .portal-message-warning--top:hover,.portal-shell .portal-message-warning--top:focus-visible{background:var(--ui-warning-soft);color:var(--ui-warning)!important}.portal-shell .portal-message-composer{background:#f1f3f2}.portal-shell .portal-message-composer .portal-composer-footer .ay-button--primary:not(:disabled){border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}.portal-shell .portal-message-composer .portal-composer-footer .ay-button--primary:not(:disabled):hover{border-color:var(--ui-accent-fill-hover);background:var(--ui-accent-fill-hover);color:var(--ui-on-accent)}.portal-shell .portal-message-composer .portal-composer-footer .ay-button--primary:disabled{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent);opacity:.52}.portal-shell .portal-message-composer .portal-composer-footer{justify-content:flex-end}.portal-shell .portal-message-composer .portal-composer-footer .portal-attachment-picker{margin-right:auto}html.clinical-ui.dark[data-theme-surface=patient-portal]{--ui-canvas:#000;--ui-surface:#121212;--ui-surface-soft:#181818;--ui-surface-muted:#202020;--ui-border:#2b2b2b;--ui-border-strong:#3b3b3b;background:#000}html.clinical-ui.dark[data-theme-surface=patient-portal] body,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-main,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-dashboard,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-workspace-main{background:#000}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell{--portal-card-surface:#121212;--portal-subtle-surface:#181818;--portal-chrome-surface:#0d1111;--portal-warm:#171717;--portal-lilac:#282033;--portal-mint:#17362d;--portal-peach:#3b2720;--portal-blue:#1b2f3b}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-wellness-metric--energy{--portal-metric-accent:#f08c73}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-wellness-metric--sleep{--portal-metric-accent:#ac91ee}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-wellness-metric--stress{--portal-metric-accent:#71caaa}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-wellness-metric--weight{--portal-metric-accent:#80b5e8}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-sidebar{background:var(--portal-chrome-surface)}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-message-composer{background:#1b1f20}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-card,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-messages-card,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-checkin-card,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-history-card,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-documents-card,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-upload-card,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-document-notices-card,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-home-summary,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-home-checkin,html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-home-messages{background:var(--portal-card-surface);box-shadow:none}@media (width<=899px){.portal-shell .portal-message-warning--top{display:none}.portal-shell .portal-documents-grid{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-documents-card,.portal-shell .portal-upload-card,.portal-shell .portal-document-notices-card{grid-area:auto}}@media (width<=520px){.portal-shell .portal-message-composer .portal-composer-footer{flex-direction:row;align-items:center}.portal-shell .portal-message-composer .portal-composer-footer .ay-button{flex:none;width:auto}.portal-shell .portal-message-composer .portal-composer-footer .portal-attachment-picker{justify-content:flex-start;width:auto;max-width:calc(100% - 112px)}}.portal-shell{--portal-control-height:42px;--portal-control-radius:10px;--portal-control-font:.78rem;--portal-label-font:.72rem;--portal-action-height:40px;--portal-action-font:.72rem}.portal-shell .ay-button{min-height:var(--portal-action-height);font-size:var(--portal-action-font);border-radius:9px;padding:8px 13px;line-height:1.2}.portal-shell .ay-button--primary:not(:disabled){border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}.portal-shell .ay-button--primary:not(:disabled):hover{border-color:var(--ui-accent-fill-hover);background:var(--ui-accent-fill-hover);color:var(--ui-on-accent)}.portal-shell .ay-button--danger{border-color:var(--ui-danger-border);color:var(--ui-danger);background:0 0}.portal-shell .ay-button--danger:hover{border-color:var(--ui-danger);background:var(--ui-danger);color:#fff}.portal-shell .ui-field{gap:7px;display:grid}.portal-shell .ui-field__label,.portal-shell .portal-composer>label:first-child,.portal-shell .portal-message-composer>label:first-child,.portal-shell .portal-upload-form>label,.portal-shell .portal-upload-file-field>.ui-field__label{color:var(--ui-text-soft);font-size:var(--portal-label-font);font-weight:680;line-height:1.35}.portal-shell :is(.ui-input,.ui-select){width:100%;min-height:var(--portal-control-height);border:1px solid var(--ui-border-strong);border-radius:var(--portal-control-radius);background:var(--ui-surface);color:var(--ui-text);font-size:var(--portal-control-font);padding:9px 12px;line-height:1.4}.portal-shell .ui-select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,#768187 50%),linear-gradient(135deg,#768187 50%,#0000 50%);background-position:calc(100% - 16px) 17px,calc(100% - 11px) 17px;background-repeat:no-repeat;background-size:5px 5px,5px 5px;padding-right:34px}.portal-shell textarea.ui-input{resize:vertical;min-height:96px}.portal-shell :is(.ui-input,.ui-select):hover{border-color:var(--ui-accent-border)}.portal-shell :is(.ui-input,.ui-select):read-only{border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-text-soft);cursor:default}.portal-shell :is(.ui-input,.ui-select)::placeholder{color:var(--ui-muted);opacity:.86}.portal-shell .portal-attachment-picker{min-height:var(--portal-action-height);border-radius:9px;font-size:var(--portal-action-font)!important;padding:8px 13px!important}.portal-shell .portal-upload-file-row,.portal-shell .portal-upload-choose,.portal-shell .portal-upload-submit{min-height:var(--portal-control-height)}.portal-shell .portal-dialog .ui-input,html[data-theme-surface=patient-portal] .portal-auth-flow .ui-input,.portal-shell .portal-settings-grid :is(.ui-input,.ui-select){min-height:var(--portal-control-height);border-radius:var(--portal-control-radius);font-size:var(--portal-control-font);padding:9px 12px}.portal-shell .portal-message-composer .ui-input,.portal-shell .portal-composer .ui-input,.portal-shell .portal-checkin-answer .ui-input{min-height:96px;font-size:.82rem}.portal-shell .portal-page--settings{max-width:var(--portal-content-width)}.portal-shell .portal-settings-grid{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:18px;display:grid}.portal-shell .portal-settings-card{flex-direction:column;height:100%;display:flex}.portal-shell .portal-settings-card--account{grid-column:1/-1}.portal-shell .portal-settings-card--notifications,.portal-shell .portal-settings-card--security,.portal-shell .portal-settings-card--billing,.portal-shell .portal-settings-card--privacy{grid-column:span 6}.portal-shell .portal-settings-form{gap:20px;display:grid}.portal-shell .portal-settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px;display:grid}.portal-shell .portal-settings-field--wide{grid-column:1/-1}.portal-shell .portal-settings-readonly{border-top:1px solid var(--ui-border);grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;padding-top:18px;display:grid}.portal-shell .portal-settings-readonly>p{grid-column:1/-1;gap:3px;margin:0;display:grid}.portal-shell .portal-settings-readonly>p strong{color:var(--ui-text);font-size:.76rem}.portal-shell .portal-settings-readonly>p span{color:var(--ui-muted);font-size:.7rem;line-height:1.45}.portal-shell .portal-settings-footer-actions{border-top:1px solid var(--ui-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:16px;display:flex}.portal-shell .portal-settings-footer-actions>span{color:var(--ui-muted);font-size:.68rem;line-height:1.45}.portal-shell .portal-settings-footer-actions--end{justify-content:flex-end;margin-top:auto}.portal-shell .portal-preference-list{flex-direction:column;gap:16px;height:100%;display:flex}.portal-shell .portal-preference-options{gap:0;display:grid}.portal-shell .portal-preference-options label{border:0;border-bottom:1px solid var(--ui-border);min-height:58px;color:var(--ui-text-soft);background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:14px;padding:11px 2px;display:flex}.portal-shell .portal-preference-options label:first-child{padding-top:2px}.portal-shell .portal-preference-options label>span{gap:3px;display:grid}.portal-shell .portal-preference-options strong{color:var(--ui-text);font-size:.76rem}.portal-shell .portal-preference-options small{color:var(--ui-muted);font-size:.68rem;line-height:1.4}.portal-shell .portal-preference-options label.portal-switch-row{cursor:pointer}.portal-shell .portal-preference-options label.portal-switch-row:last-child{border-bottom:0}.portal-shell .portal-switch-group__head{align-items:flex-start;gap:10px;margin-bottom:8px;display:flex}.portal-shell .portal-switch-group__head>svg{width:18px;height:18px;color:var(--ui-accent);flex:0 0 18px;margin-top:2px}.portal-shell .portal-switch-group__head h3{color:var(--ui-text);margin:0;font-size:.84rem;line-height:1.3}.portal-shell .portal-switch-group__head p{max-width:62ch;color:var(--ui-muted);margin:3px 0 0;font-size:.72rem;line-height:1.5}.portal-shell .portal-preference-list input.portal-switch{-webkit-appearance:none;appearance:none;background:color-mix(in srgb, var(--ui-text) 52%, var(--ui-surface));cursor:pointer;border-radius:999px;flex:0 0 44px;width:44px;height:26px;margin:0;transition:background-color .16s cubic-bezier(.23,1,.32,1);position:relative}.portal-shell .portal-preference-list input.portal-switch:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .18s cubic-bezier(.23,1,.32,1);position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000047}.portal-shell .portal-preference-list input.portal-switch:checked{background:var(--ui-accent-fill)}.portal-shell .portal-preference-list input.portal-switch:checked:before{transform:translate(18px)}.portal-shell .portal-preference-list input.portal-switch:active:before{transform:scale(.94)}.portal-shell .portal-preference-list input.portal-switch:checked:active:before{transform:translate(18px)scale(.94)}.portal-shell .portal-preference-list input.portal-switch:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.portal-shell .portal-preference-status{min-height:20px;color:var(--ui-muted);font-size:.72rem;line-height:1.4}.portal-shell .portal-preference-status>span{align-items:center;gap:6px;display:inline-flex}.portal-shell .portal-preference-status svg{flex:0 0 15px;width:15px;height:15px}.portal-shell .portal-preference-status.is-saved{color:var(--ui-success)}.portal-shell .portal-preference-status.is-error{color:var(--ui-danger)}@media (prefers-reduced-motion:reduce){.portal-shell .portal-preference-list input.portal-switch,.portal-shell .portal-preference-list input.portal-switch:before{transition:none}}.portal-shell .portal-security-status{background:var(--ui-surface-muted);border-radius:11px;align-items:flex-start;gap:10px;padding:12px 13px;display:flex}.portal-shell .portal-security-status>span{background:var(--ui-warning);border-radius:50%;flex:0 0 9px;width:9px;height:9px;margin-top:5px}.portal-shell .portal-security-status.is-enabled>span{background:var(--ui-success)}.portal-shell .portal-security-status strong{color:var(--ui-text);font-size:.76rem}.portal-shell .portal-security-status p{color:var(--ui-muted);margin:3px 0 0;font-size:.68rem;line-height:1.45}.portal-shell .portal-settings-action-list{gap:0;margin-top:12px;display:grid}.portal-shell .portal-settings-action-row{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:64px;padding:11px 0;display:grid}.portal-shell .portal-settings-action-row:last-child{border-bottom:0;padding-bottom:0}.portal-shell .portal-settings-action-row>div{gap:3px;display:grid}.portal-shell .portal-settings-action-row strong{color:var(--ui-text);font-size:.75rem}.portal-shell .portal-settings-action-row span{color:var(--ui-muted);font-size:.68rem;line-height:1.4}.portal-shell .portal-billing,.portal-shell .portal-privacy{background:0 0;border:0;border-radius:0;flex-direction:column;gap:14px;min-height:0;padding:0;display:flex}.portal-shell .portal-settings-summary{background:var(--ui-surface-muted);border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;display:flex}.portal-shell .portal-settings-summary span{color:var(--ui-muted);font-size:.68rem}.portal-shell .portal-settings-summary strong{color:var(--ui-text);font-size:.78rem}.portal-shell .portal-billing-details{gap:6px;display:grid}.portal-shell .portal-billing-details p{border-bottom:1px solid var(--ui-border);justify-content:space-between;gap:12px;padding-bottom:7px;display:flex}.portal-shell .portal-billing-details strong{color:var(--ui-text);font-weight:680}.portal-shell .portal-privacy{justify-content:space-between}.portal-shell .portal-privacy>p{max-width:68ch;font-size:.75rem}.portal-shell .portal-settings-links{border-top:1px solid var(--ui-border);flex-wrap:wrap;gap:8px;padding-top:14px;display:flex}.portal-shell .portal-settings-links a{min-height:var(--portal-action-height);border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text-soft);font-size:var(--portal-action-font);border-radius:9px;justify-content:center;align-items:center;padding:8px 12px;font-weight:630;text-decoration:none;display:inline-flex}.portal-shell .portal-settings-links a:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell :is(.ui-input,.ui-select):read-only{background:#1b1b1b}.portal-shell .portal-settings-readonly--flat{border-top:0;padding-top:0}.portal-shell .portal-profile-card--wide{grid-column:1/-1}.portal-shell .portal-profile-card--half{grid-column:span 6}.portal-shell .portal-profile-group{border:0;min-width:0;margin:0;padding:0}.portal-shell .portal-profile-group>legend{color:var(--ui-text);margin:0 0 12px;padding:0;font-size:.76rem;font-weight:700;line-height:1.35}.portal-shell .portal-profile-card .ui-select{background-color:var(--ui-surface);background-image:var(--ui-select-chevron);color:var(--ui-text);cursor:pointer;background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px}.portal-shell .portal-profile-card .ui-select:hover{border-color:var(--ui-accent-border)}.portal-shell .portal-profile-card .ay-button:disabled,.portal-shell .portal-profile-card .ay-button:disabled:hover{border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-muted)}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-profile-card .ui-select{background-color:var(--ui-surface)}.portal-shell .portal-profile-notice{align-items:center;padding:11px 14px}.portal-shell .portal-profile-notice p{color:var(--ui-text-soft);margin:0;font-size:.76rem;line-height:1.5}.portal-shell .portal-profile-status{align-items:center;gap:6px;display:inline-flex}.portal-shell .portal-profile-status:empty{margin-right:0}.portal-shell p.portal-profile-status{color:var(--ui-muted);margin:0;font-size:.72rem}.portal-shell .portal-profile-status svg{flex:0 0 15px;width:15px;height:15px}.portal-shell .portal-profile-status__saved{color:var(--ui-success);align-items:center;gap:6px;font-weight:650;display:inline-flex}.portal-shell .portal-profile-status--error{color:var(--ui-danger);font-weight:650}.portal-shell .portal-card__footer-note.portal-profile-status--error{margin-right:auto}.portal-shell .portal-profile-banner{align-items:center;gap:14px;padding:14px 12px 14px 16px}.portal-shell .portal-profile-banner__icon{border:1px solid var(--ui-info-border);background:var(--ui-surface);width:40px;height:40px;color:var(--ui-info);border-radius:12px;flex:0 0 40px;place-items:center;display:grid}.portal-shell .portal-profile-banner__icon svg{width:20px;height:20px}.portal-shell .portal-profile-banner__copy{flex:auto;min-width:0}.portal-shell .portal-profile-banner__copy h2{letter-spacing:-.01em;font-size:.92rem}.portal-shell .portal-profile-banner__copy p{max-width:64ch;margin:4px 0 0}.portal-shell .portal-profile-banner__actions{flex:none;align-items:center;gap:6px;display:flex}.portal-shell .portal-profile-banner__dismiss{width:40px;height:40px;color:var(--ui-info);cursor:pointer;transition:background-color .15s var(--ui-ease-out);background:0 0;border:0;border-radius:10px;flex:0 0 40px;place-items:center;padding:0;display:grid}.portal-shell .portal-profile-banner__dismiss:hover{background:color-mix(in srgb, var(--ui-info) 14%, transparent)}.portal-shell .portal-profile-banner__dismiss svg{width:18px;height:18px}.portal-shell .portal-profile-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px;display:grid}.portal-shell .portal-profile-photo{align-content:start;gap:7px;min-width:0;display:grid}.portal-shell .portal-profile-photo__body{border:1px dashed var(--ui-border-strong);background:var(--ui-surface-soft);border-radius:12px;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"thumb copy""actions actions";align-items:center;gap:12px;padding:12px;display:grid;position:relative}.portal-shell .portal-profile-photo__body.has-file{border-style:solid;border-color:var(--ui-border)}.portal-shell .portal-profile-photo__thumb{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);width:72px;height:48px;color:var(--ui-muted);border-radius:8px;grid-area:thumb;place-items:center;padding:0;display:grid;overflow:hidden}.portal-shell button.portal-profile-photo__thumb{cursor:pointer}.portal-shell button.portal-profile-photo__thumb:hover{border-color:var(--ui-accent-border);color:var(--ui-accent)}.portal-shell .portal-profile-photo__thumb svg{width:20px;height:20px}.portal-shell .portal-profile-photo__thumb img{object-fit:cover;width:100%;height:100%;display:block}.portal-shell .portal-profile-photo__copy{grid-area:copy;gap:2px;min-width:0;display:grid}.portal-shell .portal-profile-photo__copy strong{color:var(--ui-text);font-size:.76rem}.portal-shell .portal-profile-photo__copy small{color:var(--ui-muted);font-size:.68rem;line-height:1.4}.portal-shell .portal-profile-photo__actions{flex-wrap:wrap;grid-area:actions;gap:8px;display:flex}.portal-shell .portal-profile-photo__error{color:var(--ui-danger);margin:0;font-size:.72rem;font-weight:650;line-height:1.4}.portal-shell .portal-profile-ssn-field{max-width:380px}.portal-shell .portal-profile-secret{display:block;position:relative}.portal-shell .portal-profile-secret .ui-input{font-variant-numeric:tabular-nums;letter-spacing:.04em;padding-right:50px}.portal-shell .portal-profile-secret .ui-input::placeholder{letter-spacing:0}.portal-shell .portal-profile-secret__toggle{width:36px;height:36px;color:var(--ui-text-soft);cursor:pointer;transition:background-color .15s var(--ui-ease-out);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.portal-shell .portal-profile-secret__toggle:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-shell .portal-profile-secret__toggle svg{width:18px;height:18px}.portal-shell .portal-profile-ssn-on-file{gap:12px;display:grid}.portal-shell .portal-profile-ssn-on-file__value{background:var(--ui-surface-muted);border-radius:11px;align-items:center;gap:14px;padding:12px 14px;display:flex}.portal-shell .portal-profile-ssn-on-file__value span{color:var(--ui-muted);font-size:.7rem;font-weight:680}.portal-shell .portal-profile-ssn-on-file__value strong{color:var(--ui-text);font-variant-numeric:tabular-nums;letter-spacing:.08em;font-size:.92rem}.portal-shell .portal-profile-ssn-on-file__actions,.portal-shell .portal-profile-ssn-on-file__confirm{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.portal-shell .portal-profile-ssn-on-file__confirm p{color:var(--ui-text-soft);flex:1 0 100%;margin:0;font-size:.76rem;line-height:1.45}.portal-shell .portal-profile-ssn-on-file>p.portal-profile-status:empty{display:none}@media (width<=1120px){.portal-shell .portal-profile-card--half{grid-column:1/-1}}@media (width<=899px){.portal-shell .portal-profile-card--wide,.portal-shell .portal-profile-card--half{grid-column:1}}@media (width<=620px){.portal-shell .portal-profile-photos{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-profile-card .portal-card__footer{flex-direction:column;align-items:stretch}.portal-shell .portal-profile-card .portal-card__footer .portal-card__footer-note{margin-right:0}.portal-shell .portal-profile-card .portal-card__footer .ay-button{width:100%}.portal-shell .portal-profile-ssn-field{max-width:none}.portal-shell .portal-profile-ssn-on-file__actions .ay-button,.portal-shell .portal-profile-ssn-on-file__confirm .ay-button{flex:1 1 0}.portal-shell .portal-profile-banner{flex-wrap:wrap;align-items:flex-start;padding:14px;position:relative}.portal-shell .portal-profile-banner__copy{padding-right:34px}.portal-shell .portal-profile-banner__actions{flex:1 0 100%}.portal-shell .portal-profile-banner__actions .ay-button{width:100%}.portal-shell .portal-profile-banner__dismiss{width:44px;height:44px;position:absolute;top:6px;right:6px}}@media (width<=1120px){.portal-shell .portal-settings-card--notifications,.portal-shell .portal-settings-card--security,.portal-shell .portal-settings-card--billing,.portal-shell .portal-settings-card--privacy{grid-column:1/-1}}@media (width<=899px){.portal-shell{--portal-control-height:44px;--portal-action-height:44px;--portal-action-font:.76rem}.portal-shell .portal-settings-grid :is(.ui-input,.ui-select),.portal-shell :is(.ui-input,.ui-select),.portal-shell .portal-dialog .ui-input,html[data-theme-surface=patient-portal] .portal-auth-flow .ui-input,.portal-shell .portal-message-composer .ui-input,.portal-shell .portal-composer .ui-input,.portal-shell .portal-checkin-answer .ui-input{width:100%;min-height:var(--portal-control-height);font-size-adjust:.44;font-size:16px}.portal-shell .portal-message-field-frame{min-height:96px;overflow:hidden}.portal-shell .portal-message-field-frame .ui-input{resize:none;width:100%;min-height:96px;margin:0;display:block}.portal-shell .portal-message-composer .portal-attachment-picker--icon{width:var(--portal-action-height);flex:0 0 var(--portal-action-height);justify-content:center;max-width:none}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-upload-category .ui-select{background-color:#fff}.portal-shell textarea.ui-input,.portal-shell .portal-message-composer .ui-input,.portal-shell .portal-composer .ui-input,.portal-shell .portal-checkin-answer .ui-input{min-height:96px}.portal-shell .portal-settings-grid{grid-template-columns:minmax(0,1fr);gap:14px}.portal-shell .portal-settings-card--account,.portal-shell .portal-settings-card--notifications,.portal-shell .portal-settings-card--security,.portal-shell .portal-settings-card--billing,.portal-shell .portal-settings-card--privacy{grid-column:1}}@media (width<=620px){.portal-shell .portal-settings-fields,.portal-shell .portal-settings-readonly{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-settings-field--wide,.portal-shell .portal-settings-readonly>p{grid-column:1}.portal-shell .portal-settings-action-row{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:9px}.portal-shell .portal-settings-action-row .ay-button{width:100%}.portal-shell .portal-settings-footer-actions{flex-direction:column;align-items:stretch}.portal-shell .portal-settings-footer-actions .ay-button{width:100%}.portal-shell .portal-settings-footer-actions--end{justify-content:stretch}.portal-shell .portal-settings-links{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}.portal-shell{--portal-neutral-chrome:#f5f5f5;--portal-neutral-body:#fff;--portal-header-green:#e8f4eb;--portal-header-blue:#e8f1fb;--portal-header-red:#f9e9e9;--portal-header-purple:#f1eafb;--portal-section-radius:22px;--portal-card-radius:var(--portal-section-radius)}.portal-shell .portal-card{border-radius:var(--portal-section-radius);background:var(--portal-neutral-body);min-height:0;box-shadow:none;flex-direction:column;padding:0;display:flex;position:relative;overflow:hidden}.portal-shell .portal-card>.ay-clinical-card__header{border-bottom:1px solid var(--ui-border);background:var(--portal-neutral-chrome);flex:none;margin:0;padding:18px 20px}.portal-shell .portal-home-summary>.ay-clinical-card__header,.portal-shell .portal-documents-card>.ay-clinical-card__header{background:var(--portal-header-green)}.portal-shell .portal-home-checkin>.ay-clinical-card__header,.portal-shell .portal-upload-card>.ay-clinical-card__header{background:var(--portal-header-blue)}.portal-shell .portal-document-notices-card>.ay-clinical-card__header{background:var(--portal-header-red)}.portal-shell .portal-history-card>.ay-clinical-card__header{background:var(--portal-header-purple)}.portal-shell :is(.portal-home-messages,.portal-messages-card)>.ay-clinical-card__header,.portal-shell .portal-settings-card>.ay-clinical-card__header{background:var(--portal-neutral-chrome)}.portal-shell .portal-card__body{background:var(--portal-neutral-body);flex:auto;min-height:0;padding:20px}.portal-shell .portal-card__footer{border-top:1px solid var(--ui-border);background:var(--portal-neutral-chrome);flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:10px;min-height:64px;padding:12px 20px;display:flex}.portal-shell .portal-card__footer-note{color:var(--ui-muted);margin-right:auto;font-size:.68rem;line-height:1.45}.portal-shell .portal-build-note{color:var(--ui-muted);text-align:center;font-variant-numeric:tabular-nums;user-select:all;margin:18px 0 0;font-size:.64rem;line-height:1.4}.portal-shell .portal-home-grid{align-items:stretch}.portal-shell .portal-home-summary,.portal-shell .portal-home-checkin{grid-row:auto;align-self:stretch;height:100%}.portal-shell .portal-home-messages .portal-card__footer{justify-content:flex-start}.portal-shell .portal-message-preview:last-child .portal-message-preview__row{border-bottom:0}.portal-shell .portal-next-task{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:100%}.portal-shell .portal-next-task>.ay-button{border-radius:11px;grid-area:1/3;place-self:center end;min-height:46px;margin:0;padding:10px 18px;font-size:.76rem;font-weight:720}.portal-shell .portal-next-task h3{margin-top:0;font-size:.9rem}.portal-shell .portal-next-task time{margin-top:8px;font-size:.72rem}.portal-shell .portal-messages-card .portal-card__body,.portal-shell .portal-history-card .portal-card__body,.portal-shell .portal-settings-card .portal-card__body{flex-direction:column;min-height:0;display:flex}.portal-shell .portal-messages-card>.ay-clinical-card__header{padding-right:250px}.portal-shell .portal-messages-card .portal-card__footer{min-height:0;padding:16px 20px;display:block}.portal-shell .portal-messages-card .portal-message-composer{background:0 0;border:0;border-radius:0;padding:0;margin:0!important}.portal-shell .portal-history-card .portal-assessment-list{min-height:0}.portal-shell .portal-settings-card .portal-card__footer .portal-settings-links{border-top:0;padding:0}.portal-shell .portal-settings-card--notifications .portal-card__body,.portal-shell .portal-settings-card--notifications .portal-preference-list{height:100%}.portal-shell .portal-checkin-unavailable{border:1px solid var(--ui-border);border-radius:var(--portal-section-radius);background:var(--portal-neutral-body);width:min(100%,620px);padding:0;display:block;overflow:hidden}.portal-shell .portal-checkin-unavailable__header{border-bottom:1px solid var(--ui-border);background:var(--portal-neutral-chrome);padding:18px 20px}.portal-shell .portal-checkin-unavailable__header h2{margin:0}.portal-shell .portal-checkin-unavailable__body{background:var(--portal-neutral-body);gap:12px;padding:20px;display:grid}.portal-shell .portal-checkin-unavailable__footer{border-top:1px solid var(--ui-border);background:var(--portal-neutral-chrome);justify-content:flex-end;padding:12px 20px;display:flex}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell{--portal-neutral-chrome:#181818;--portal-neutral-body:#080909;--portal-header-green:#17281d;--portal-header-blue:#172635;--portal-header-red:#301c20;--portal-header-purple:#271e34}@media (width<=899px){.portal-shell .portal-messages-card>.ay-clinical-card__header{padding-right:20px}}@media (width<=620px){.portal-shell{--portal-section-radius:18px}.portal-shell .portal-card>.ay-clinical-card__header,.portal-shell .portal-card__body{padding:16px}.portal-shell .portal-card__footer{min-height:60px;padding:10px 16px}.portal-shell .portal-card__footer-note{width:100%;margin-right:0}.portal-shell .portal-next-task{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:12px}.portal-shell .portal-next-task>.ay-button{grid-area:auto/1/auto/-1;justify-content:center;width:100%;margin-top:2px}.portal-shell .portal-checkin-unavailable__header,.portal-shell .portal-checkin-unavailable__body{padding:16px}.portal-shell .portal-checkin-unavailable__footer{padding:10px 16px}.portal-shell .portal-checkin-unavailable__footer .ay-button{width:100%}}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal],html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] body{background:#fcfcfc}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell{--portal-chrome-surface:#fff;--portal-chrome-foreground:#152a2f;--portal-chrome-muted:#52676c;--portal-chrome-divider:#d7e0e2;--portal-chrome-hover:#f2f7f7;--portal-chrome-selected:#e2f2f3;--portal-chrome-selected-text:#00515d;--portal-page-background:#fcfcfc;background:var(--portal-page-background)}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-main,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-dashboard,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-workspace-main{background:var(--portal-page-background)}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-sidebar,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-nav{background:var(--portal-chrome-surface);border-color:#e0e7e8}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-rail-brand__mark{color:#005965;background:#e9f5f6;border-color:#a8cfd3}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-rail-button,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-nav__item{color:var(--portal-chrome-muted)}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-rail-button:hover,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-nav__item:hover{background:var(--portal-chrome-hover);color:var(--portal-chrome-foreground);border-color:#b8d2d5}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-rail-button.is-selected,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-nav__item.is-selected{background:var(--portal-chrome-selected);color:var(--portal-chrome-selected-text);border-color:#9fcbd0}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-rail-button.is-selected:hover,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-nav__item.is-selected:hover{color:var(--portal-chrome-selected-text);background:#d6eaec}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-rail-button b,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-nav__item b{color:#002c34;background:#7cdde3;border-color:#fff}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-account-button,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-account-button .portal-account-initials{color:#00343c;background:#e9f5f6;border:1px solid #a8cfd3}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-account-button:hover,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-account-button.is-selected,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-account-button:hover .portal-account-initials,html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-mobile-account-button.is-selected .portal-account-initials{box-shadow:0 0 0 3px #7cdde342}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell :is(.portal-rail-button,.portal-mobile-nav__item,.portal-account-button):focus-visible{box-shadow:0 0 0 3px #7cdde361}html.clinical-ui.dark .portal-shell .portal-account-button,html.clinical-ui.dark .portal-shell .portal-mobile-account-button .portal-account-initials{color:var(--ui-canvas)}html[data-theme-surface=scribe]{--scribe-tabbar-height:64px;--scribe-gutter:16px}html[data-theme-surface=scribe] ::selection{background:var(--ui-accent-soft);color:var(--ui-text)}html[data-theme-surface=scribe] body{caret-color:var(--ui-accent);-webkit-tap-highlight-color:transparent}html[data-theme-surface=scribe] svg.lucide{stroke-width:1.75px;flex:none;width:20px;height:20px}html[data-theme-surface=scribe]:has(.ay-shell--workspace),html[data-theme-surface=scribe]:has(.ay-shell--workspace) body{overscroll-behavior:none;height:100%;overflow:hidden}html[data-theme-surface=scribe] .ay-shell--workspace{background:var(--ui-canvas);flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}html[data-theme-surface=scribe] .ay-workspace-masthead{z-index:30;padding-top:env(safe-area-inset-top);border-bottom:1px solid var(--ui-border);background:color-mix(in srgb, var(--ui-surface) 92%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(12px);flex:none;position:relative}html[data-theme-surface=scribe] .dashboard-masthead-inner{width:min(100%,640px);min-height:52px;padding:0 var(--scribe-gutter);justify-content:space-between;align-items:center;gap:12px;margin:0 auto;display:flex}html[data-theme-surface=scribe] .dashboard-brand-lockup{min-width:0;color:var(--ui-text);align-items:center;gap:10px;text-decoration:none;display:inline-flex}html[data-theme-surface=scribe] .dashboard-brand-mark{border-radius:var(--ui-radius-sm);background:var(--ui-accent-fill);width:30px;height:30px;color:var(--ui-on-accent);place-items:center;font-size:.78rem;font-weight:700;display:grid;overflow:hidden}html[data-theme-surface=scribe] .dashboard-brand-mark img{object-fit:contain;width:100%;height:100%}html[data-theme-surface=scribe] .dashboard-brand-mark.ay-brand__mark--logo{background:0 0}html[data-theme-surface=scribe] .dashboard-brand-primary{white-space:nowrap;font-size:.86rem;font-weight:700}html[data-theme-surface=scribe] .dashboard-masthead .ay-workspace-divider{color:var(--ui-border-strong);font-size:.86rem;display:inline}html[data-theme-surface=scribe] .dashboard-masthead .ay-workspace-section{color:var(--ui-muted);font-size:.82rem;font-weight:600;display:inline}html[data-theme-surface=scribe] .ay-workspace-main{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:100%;min-height:0;padding:20px max(var(--scribe-gutter), calc((100% - 640px) / 2)) calc(var(--scribe-tabbar-height) + env(safe-area-inset-bottom) + 28px);flex:auto;margin:0;display:block;overflow:hidden auto}html[data-theme-surface=scribe] .scribe-screen{animation:scribe-enter .22s var(--ui-ease-out) backwards}@keyframes scribe-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}html[data-theme-surface=scribe] .scribe-tabbar{z-index:40;height:calc(var(--scribe-tabbar-height) + env(safe-area-inset-bottom));padding:0 max(var(--scribe-gutter), env(safe-area-inset-left)) env(safe-area-inset-bottom) max(var(--scribe-gutter), env(safe-area-inset-right));border-top:1px solid var(--ui-border);background:color-mix(in srgb, var(--ui-surface) 94%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(14px);grid-template-columns:1fr 1fr;display:grid;position:fixed;inset:auto 0 0}html[data-theme-surface=scribe] .scribe-tab{min-height:44px;color:var(--ui-muted);font:inherit;cursor:pointer;transition:color var(--ui-duration-fast) ease, transform .12s var(--ui-ease-out);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.66rem;font-weight:650;display:flex}html[data-theme-surface=scribe] .scribe-tab svg.lucide{width:22px;height:22px}html[data-theme-surface=scribe] .scribe-tab[aria-current=page]{color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-tab:active{transform:scale(.94)}html[data-theme-surface=scribe] .scribe-tab:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-4px;border-radius:var(--ui-radius)}html[data-theme-surface=scribe] .scribe-screen,html[data-theme-surface=scribe] .scribe-page{width:100%;min-width:0}html[data-theme-surface=scribe] .scribe-page{gap:16px;display:grid}html[data-theme-surface=scribe] .scribe-page__header{gap:4px;margin:4px 0;display:grid}html[data-theme-surface=scribe] .scribe-page__header h2{letter-spacing:-.02em;text-wrap:balance;margin:0;font-size:1.5rem;line-height:1.15}html[data-theme-surface=scribe] .scribe-page__header p{color:var(--ui-text-soft);margin:0;font-size:.86rem}html[data-theme-surface=scribe] .scribe-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);gap:12px;padding:16px;display:grid}html[data-theme-surface=scribe] .scribe-card__help{color:var(--ui-text-soft);margin:0;font-size:.8rem;line-height:1.5}html[data-theme-surface=scribe] .scribe-card__footer{justify-content:space-between;align-items:center;gap:12px;display:flex}html[data-theme-surface=scribe] .scribe-actions{gap:10px;display:grid}html[data-theme-surface=scribe] .scribe-button--wide{justify-content:center;align-items:center;gap:8px;width:100%;min-height:50px;font-size:.9rem;display:inline-flex}html[data-theme-surface=scribe] .ay-button{transition:background-color var(--ui-duration-fast) ease, border-color var(--ui-duration-fast) ease, color var(--ui-duration-fast) ease, transform .12s var(--ui-ease-out)}html[data-theme-surface=scribe] .ay-button:active:not(:disabled){transform:scale(.97)}html[data-theme-surface=scribe] .scribe-back{min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:2px;margin:-8px 0 -8px -8px;padding:0 8px;font-size:.84rem;font-weight:650;display:inline-flex}html[data-theme-surface=scribe] .scribe-text-button{min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 10px;font-size:.82rem;font-weight:650}html[data-theme-surface=scribe] .scribe-text-button--danger{color:var(--ui-danger)}html[data-theme-surface=scribe] .scribe-icon-button{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);width:44px;height:44px;color:var(--ui-text-soft);cursor:pointer;transition:background-color var(--ui-duration-fast) ease, transform .12s var(--ui-ease-out);flex:none;place-items:center;display:grid}html[data-theme-surface=scribe] .scribe-icon-button:active:not(:disabled){background:var(--ui-accent-soft);transform:scale(.94)}html[data-theme-surface=scribe] .scribe-icon-button .is-spinning{animation:.7s linear infinite scribe-spin}html[data-theme-surface=scribe] .dashboard-masthead-actions{margin-right:-10px}html[data-theme-surface=scribe] .scribe-theme-switch{border-radius:var(--ui-radius);width:44px;height:44px;color:var(--ui-muted);cursor:pointer;transition:background-color var(--ui-duration-fast) ease, color var(--ui-duration-fast) ease, transform .12s var(--ui-ease-out);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}html[data-theme-surface=scribe] .scribe-theme-switch[data-switched] svg{animation:scribe-theme-icon .18s var(--ui-ease-out) backwards}@media (hover:hover) and (pointer:fine){html[data-theme-surface=scribe] .scribe-theme-switch:hover{background:var(--ui-accent-soft);color:var(--ui-text)}}html[data-theme-surface=scribe] .scribe-theme-switch:active{background:var(--ui-accent-soft);transform:scale(.94)}html[data-theme-surface=scribe] .scribe-theme-switch:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}@keyframes scribe-theme-icon{0%{opacity:0;transform:rotate(-40deg)scale(.9)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=scribe] .scribe-theme-switch[data-switched] svg{animation:none}}@keyframes scribe-spin{to{transform:rotate(360deg)}}html[data-theme-surface=scribe] .scribe-notice{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);color:var(--ui-text-soft);flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0;padding:12px 14px;font-size:.8rem;line-height:1.45;display:flex}html[data-theme-surface=scribe] .ay-auth-card__body>.scribe-notice{margin-bottom:16px}html[data-theme-surface=scribe] .scribe-notice p{flex:200px;margin:0}html[data-theme-surface=scribe] .scribe-notice>svg.lucide{width:18px;height:18px}html[data-theme-surface=scribe] .scribe-notice>svg.lucide+span{flex:1 1 0;min-width:0}html[data-theme-surface=scribe] .scribe-notice--error{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}html[data-theme-surface=scribe] .scribe-notice--warning{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}html[data-theme-surface=scribe] .scribe-search{align-items:center;gap:8px;display:flex;position:relative}html[data-theme-surface=scribe] .scribe-search__icon{color:var(--ui-muted);pointer-events:none;position:absolute;left:13px}html[data-theme-surface=scribe] .scribe-search__input{border-radius:var(--ui-radius);flex:1;min-width:0;min-height:44px;padding-left:40px;font-size:16px}html[data-theme-surface=scribe] .scribe-search__input::-webkit-search-cancel-button{-webkit-appearance:none}html[data-theme-surface=scribe] .scribe-list{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}html[data-theme-surface=scribe] .scribe-list>li+li{border-top:1px solid var(--ui-border)}html[data-theme-surface=scribe] .scribe-patient{width:100%;min-height:64px;color:var(--ui-text);font:inherit;text-align:left;cursor:pointer;transition:background-color var(--ui-duration-fast) ease;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"name time chevron""meta meta chevron";align-items:center;gap:5px 10px;padding:12px 12px 12px 16px;display:grid}html[data-theme-surface=scribe] .scribe-patient:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-patient:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=scribe] .scribe-patient>.scribe-patient__name{grid-area:name}html[data-theme-surface=scribe] .scribe-patient>.scribe-patient__meta{grid-area:meta}html[data-theme-surface=scribe] .scribe-patient>.scribe-patient__time{grid-area:time}html[data-theme-surface=scribe] .scribe-patient>.scribe-patient__chevron{grid-area:chevron}html[data-theme-surface=scribe] .scribe-patient__name{align-items:center;gap:6px;min-width:0;font-size:.94rem;font-weight:650;display:flex}html[data-theme-surface=scribe] .scribe-patient__name-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}html[data-theme-surface=scribe] .scribe-patient--recorded{background:var(--ui-success-soft)}html[data-theme-surface=scribe] .scribe-patient--failed{background:var(--ui-warning-soft)}html[data-theme-surface=scribe] svg.lucide.scribe-patient__status{stroke-width:2px;width:16px;height:16px}html[data-theme-surface=scribe] .scribe-patient--recorded .scribe-patient__status{color:var(--ui-success)}html[data-theme-surface=scribe] .scribe-patient--failed .scribe-patient__status{color:var(--ui-warning)}html[data-theme-surface=scribe] .scribe-patient__meta{align-items:center;gap:8px;min-width:0;display:flex}html[data-theme-surface=scribe] .scribe-patient__reason{color:var(--ui-text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}html[data-theme-surface=scribe] .scribe-patient__time{color:var(--ui-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.72rem}html[data-theme-surface=scribe] .scribe-patient__chevron{color:var(--ui-border-strong)}html[data-theme-surface=scribe] .scribe-badge{border:1px solid var(--ui-info-border);background:var(--ui-info-soft);min-height:20px;color:var(--ui-info);letter-spacing:.01em;border-radius:999px;flex:none;align-items:center;padding:0 8px;font-size:.66rem;font-weight:700;display:inline-flex}html[data-theme-surface=scribe] .scribe-badge--clinic{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-list__skeleton{gap:8px;padding:16px;display:grid}html[data-theme-surface=scribe] .scribe-list__skeleton span{background:var(--ui-surface-soft);border-radius:6px;height:12px;animation:1.4s ease-in-out infinite scribe-breathe}html[data-theme-surface=scribe] .scribe-list__skeleton span:first-child{width:46%;height:14px}html[data-theme-surface=scribe] .scribe-list__skeleton span:last-child{width:72%}@keyframes scribe-breathe{50%{opacity:.55}}html[data-theme-surface=scribe] .scribe-empty{border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius-lg);color:var(--ui-text-soft);text-align:center;justify-items:center;gap:6px;padding:36px 20px;display:grid}html[data-theme-surface=scribe] .scribe-empty svg.lucide{width:28px;height:28px;color:var(--ui-muted)}html[data-theme-surface=scribe] .scribe-empty h3{color:var(--ui-text);margin:4px 0 0;font-size:.98rem}html[data-theme-surface=scribe] .scribe-empty p{margin:0;font-size:.8rem}html[data-theme-surface=scribe] .scribe-card__patient{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;display:flex}html[data-theme-surface=scribe] .scribe-card__question{margin:0;font-size:.94rem;font-weight:650}html[data-theme-surface=scribe] .scribe-consent{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);color:var(--ui-text);cursor:pointer;transition:border-color var(--ui-duration-fast) ease, background-color var(--ui-duration-fast) ease;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:14px;font-size:.86rem;line-height:1.45;display:grid}html[data-theme-surface=scribe] .scribe-consent:has(input:checked){border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-consent input{width:22px;height:22px;accent-color:var(--ui-accent-fill);margin:0}html[data-theme-surface=scribe] .scribe-recorder{text-align:center;justify-items:center;gap:20px}html[data-theme-surface=scribe] .scribe-recorder__patient{justify-items:center;gap:8px;display:grid}html[data-theme-surface=scribe] .scribe-recorder__patient h2{letter-spacing:-.01em;margin:0;font-size:1.2rem}html[data-theme-surface=scribe] .scribe-recorder__stage{justify-items:center;gap:6px;padding:24px 0 8px;display:grid}html[data-theme-surface=scribe] .scribe-recorder__pulse{background:var(--ui-danger-soft);width:120px;height:120px;color:var(--ui-danger);border-radius:50%;place-items:center;margin-bottom:14px;display:grid;position:relative}html[data-theme-surface=scribe] .scribe-recorder__pulse svg.lucide{width:36px;height:36px;position:relative}html[data-theme-surface=scribe] .scribe-recorder__pulse span{border:2px solid var(--ui-danger-border);animation:scribe-pulse 1.8s var(--ui-ease-out) infinite;border-radius:50%;position:absolute;inset:0}@keyframes scribe-pulse{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.45)}}html[data-theme-surface=scribe] .scribe-recorder__timer{letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:0;font-size:3rem;font-weight:600;line-height:1}html[data-theme-surface=scribe] .scribe-recorder__status{color:var(--ui-muted);margin:0;font-size:.8rem}html[data-theme-surface=scribe] .scribe-recorder .scribe-notice{text-align:left;width:100%}html[data-theme-surface=scribe] .scribe-recorder__controls{justify-items:center;gap:6px;margin-top:8px;display:grid}html[data-theme-surface=scribe] .scribe-stop{background:var(--ui-danger);color:#fff;width:76px;height:76px;box-shadow:0 6px 18px color-mix(in srgb, var(--ui-danger) 32%, transparent);cursor:pointer;transition:transform .14s var(--ui-ease-out), box-shadow .14s var(--ui-ease-out);border:0;border-radius:50%;place-items:center;display:grid}html[data-theme-surface=scribe] .scribe-stop svg.lucide{fill:currentColor;width:26px;height:26px}html.clinical-ui.dark[data-theme-surface=scribe] .scribe-stop,html.clinical-ui.dark[data-theme-surface=scribe] .ay-button--danger:hover{color:var(--ui-canvas)}html[data-theme-surface=scribe] .scribe-stop:active{box-shadow:0 2px 8px color-mix(in srgb, var(--ui-danger) 28%, transparent);transform:scale(.94)}html[data-theme-surface=scribe] .scribe-stop:focus-visible{outline:3px solid var(--ui-danger-border);outline-offset:3px}html[data-theme-surface=scribe] .scribe-recorder__hint{color:var(--ui-text-soft);font-size:.8rem;font-weight:650}html[data-theme-surface=scribe] .scribe-sheet-backdrop{z-index:60;background:var(--ui-overlay);justify-content:center;align-items:flex-end;animation:.2s both scribe-fade;display:flex;position:fixed;inset:0}html[data-theme-surface=scribe] .scribe-sheet{width:min(100%,520px);padding:22px var(--scribe-gutter) calc(18px + env(safe-area-inset-bottom));background:var(--ui-surface);box-shadow:var(--ui-shadow-dialog);text-align:left;animation:scribe-sheet-in .28s var(--ui-ease-drawer) both;border-radius:16px 16px 0 0;gap:10px;display:grid}html[data-theme-surface=scribe] .scribe-sheet h3{margin:0;font-size:1.05rem}html[data-theme-surface=scribe] .scribe-sheet p{color:var(--ui-text-soft);margin:0 0 8px;font-size:.84rem}@keyframes scribe-fade{0%{opacity:0}}@keyframes scribe-sheet-in{0%{transform:translateY(100%)}}html[data-theme-surface=scribe] .scribe-progress p{color:var(--ui-text-soft);margin:0;font-size:.86rem}html[data-theme-surface=scribe] .scribe-progress__status{align-items:center;gap:10px;display:flex}html[data-theme-surface=scribe] .scribe-progress__bar{background:var(--ui-surface-soft);-webkit-appearance:none;appearance:none;border:0;border-radius:999px;width:100%;height:6px;overflow:hidden}html[data-theme-surface=scribe] .scribe-progress__bar::-webkit-progress-bar{background:var(--ui-surface-soft);border-radius:999px}html[data-theme-surface=scribe] .scribe-progress__bar::-webkit-progress-value{background:var(--ui-accent-fill);transition:width .3s var(--ui-ease-out);border-radius:999px}html[data-theme-surface=scribe] .scribe-progress__bar::-moz-progress-bar{background:var(--ui-accent-fill);border-radius:999px}html[data-theme-surface=scribe] .scribe-done{text-align:center;justify-items:center;gap:12px;padding-top:32px}html[data-theme-surface=scribe] .scribe-done h2{letter-spacing:-.015em;margin:6px 0 0;font-size:1.35rem}html[data-theme-surface=scribe] .scribe-done>p{max-width:36ch;color:var(--ui-text-soft);margin:0;font-size:.86rem;line-height:1.5}html[data-theme-surface=scribe] .scribe-done .scribe-actions{width:100%;margin-top:12px}html[data-theme-surface=scribe] .scribe-done__mark{background:var(--ui-success-soft);width:64px;height:64px;color:var(--ui-success);animation:scribe-mark-in .26s var(--ui-ease-out) both;border-radius:50%;place-items:center;display:grid}html[data-theme-surface=scribe] .scribe-done__mark svg.lucide{stroke-width:2.25px;width:30px;height:30px}@keyframes scribe-mark-in{0%{opacity:0;transform:scale(.9)}}html[data-theme-surface=scribe] .scribe-group{gap:8px;display:grid}html[data-theme-surface=scribe] .scribe-group__title{color:var(--ui-muted);margin:8px 4px 0;font-size:.76rem;font-weight:700}html[data-theme-surface=scribe] .scribe-textarea{resize:vertical;min-height:132px;font-size:16px;line-height:1.5}html[data-theme-surface=scribe] .scribe-counter{color:var(--ui-muted);font-variant-numeric:tabular-nums;font-size:.74rem}html[data-theme-surface=scribe] .scribe-list__row{align-items:center;gap:12px;min-height:52px;padding:4px 6px 4px 16px;font-size:.88rem;display:flex}html[data-theme-surface=scribe] .scribe-list__row svg.lucide{color:var(--ui-muted)}html[data-theme-surface=scribe] .scribe-list__row--muted{color:var(--ui-muted);padding-right:16px;font-size:.84rem}html[data-theme-surface=scribe] .scribe-list__label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}html[data-theme-surface=scribe] .scribe-list__action{width:100%;min-height:52px;color:var(--ui-danger);font:inherit;text-align:left;cursor:pointer;transition:background-color var(--ui-duration-fast) ease;background:0 0;border:0;align-items:center;gap:12px;padding:0 16px;font-size:.88rem;font-weight:650;display:flex}html[data-theme-surface=scribe] .scribe-list__action:active{background:var(--ui-danger-soft)}@media (prefers-reduced-motion:reduce){html[data-theme-surface=scribe] .scribe-screen,html[data-theme-surface=scribe] .scribe-sheet,html[data-theme-surface=scribe] .scribe-sheet-backdrop,html[data-theme-surface=scribe] .scribe-done__mark,html[data-theme-surface=scribe] .scribe-recorder__pulse span,html[data-theme-surface=scribe] .scribe-list__skeleton span,html[data-theme-surface=scribe] .scribe-icon-button .is-spinning{animation:none}html[data-theme-surface=scribe] .scribe-recorder__pulse span{opacity:.6;transform:scale(1.12)}}.ay-settings-retention-warning,.ay-settings-warning{border:1px solid var(--ui-warning-border,#e6c47a);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft,#fdf6e7);color:var(--ui-text);align-items:flex-start;gap:8px;margin:10px 0 0;padding:10px 12px;font-size:.72rem;line-height:1.45;display:flex}.ay-settings-retention-warning .ay-settings-icon,.ay-settings-warning .ay-settings-icon{width:16px;height:16px;color:var(--ui-warning,#9a6700);flex:none;margin-top:1px}.ay-retention-period{grid-template-columns:minmax(0,1fr) minmax(0,140px);gap:8px;display:grid}.ay-retention-period__days,.ay-archive-window__summary{color:var(--ui-muted);font-size:.68rem}.ay-logo-field{align-items:flex-start;gap:14px;display:flex}.ay-logo-field__preview{border:1px solid var(--ui-border);background:var(--ui-surface-muted,var(--ui-surface));width:56px;height:56px;color:var(--ui-muted);border-radius:12px;flex:none;place-items:center;font-size:1.1rem;font-weight:700;display:grid;overflow:hidden}.ay-logo-field__preview img{object-fit:contain;width:100%;height:100%;padding:6px}.ay-logo-field__body{flex:1;gap:8px;min-width:0;display:grid}.ay-logo-field__actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ay-logo-field__upload{cursor:pointer}.ay-logo-field__upload:has(input:focus-visible){outline:2px solid var(--ui-accent);outline-offset:2px}.ay-logo-field__upload.is-busy{opacity:.7;cursor:progress}.ay-logo-field__note{color:var(--ui-muted);font-size:.75rem;font-weight:400}.ay-logo-field__link{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;display:grid}.ay-logo-field__link .ay-logo-field__note{grid-column:1/-1}.ay-logo-field__link .is-busy{opacity:.7;cursor:progress}.ay-logo-field__warning{flex-wrap:wrap;align-items:center}.ay-logo-field__warning>span{flex:260px}.ay-logo-field__warning .ay-button{flex:none}@media (width<=520px){.ay-logo-field{flex-direction:column;align-items:stretch;gap:10px}.ay-logo-field__link{grid-template-columns:1fr}.ay-logo-field__link .ay-button{justify-content:center;width:100%}}.ay-scribe-mark--safety{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.ay-safety-alert-button{z-index:1;font:inherit;cursor:pointer;pointer-events:auto;padding:0;position:relative}.ay-safety-alert-button:hover{border-color:var(--ui-danger)}.ay-safety-alert-button:focus-visible{outline:2px solid var(--ui-danger);outline-offset:2px}.workspace-list .compact-card.compact-card--safety{background:color-mix(in srgb, var(--ui-danger-soft) 55%, var(--ui-surface));box-shadow:inset 3px 0 0 var(--ui-danger)}.workspace-list .compact-card.compact-card--safety:has(.patient-row-open:hover),.workspace-list .compact-card.compact-card--safety:focus-within{background:var(--ui-danger-soft)}.ay-safety-alert-popover{top:var(--safety-top,0);left:var(--safety-left,0);z-index:700;border-radius:var(--ui-radius-sm);color:#fff;background:#172126;width:max-content;max-width:min(320px,100vw - 24px);padding:8px 10px;font-size:.72rem;font-weight:500;line-height:1.4;position:fixed;box-shadow:0 10px 24px #0f172a2e}.ay-safety-alert-popover__title{color:#ff9e94;align-items:center;gap:6px;margin:0;font-weight:700;display:flex}html.clinical-ui.dark .ay-safety-alert-popover{background:color-mix(in srgb, var(--ui-text) 10%, var(--ui-surface));border:1px solid var(--ui-border-strong);color:var(--ui-text);box-shadow:0 10px 24px #00000073}html.clinical-ui.dark .ay-safety-alert-popover__title{color:var(--ui-danger)}.ay-scribe-mark--floating{z-index:1;pointer-events:auto}.ay-scribe-mark__tip.ay-mark-tip--floating{top:var(--tip-top,0);left:var(--tip-left,0);z-index:700;opacity:1;visibility:visible;transition:none;position:fixed;transform:none}.ay-safety-alert-popover ul{margin:6px 0 0;padding-left:18px}.ay-safety-alert-popover li+li{margin-top:4px}.ay-toast-stack{z-index:800;pointer-events:none;flex-direction:column;gap:8px;width:min(360px,100vw - 28px);display:flex;position:fixed;top:14px;right:14px}.ay-toast-stack ul{margin:0;padding:0;list-style:none;display:contents}.ay-toast{pointer-events:auto;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-popover);animation:ay-toast-in .18s var(--ui-ease-out);align-items:center;gap:8px;padding:10px 10px 10px 14px;display:flex}.ay-toast--safety{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.ay-toast-body{min-width:0;color:inherit;font:inherit;text-align:left;white-space:normal;background:0 0;border:0;flex:auto;padding:0;font-size:.8rem;font-weight:650}.ay-toast-body:not(:disabled){cursor:pointer}.ay-toast-body:disabled{cursor:default}.ay-toast-close{width:24px;height:24px;color:inherit;opacity:.65;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;font-size:1rem;line-height:1;display:grid}.ay-toast-close:hover{opacity:1;background:color-mix(in srgb, currentColor 14%, transparent)}@keyframes ay-toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.ay-toast{animation:none}}@media (width<=899px){.ay-toast-stack{width:auto;top:10px;left:12px;right:12px}.ui-input,.ui-textarea,.ui-select,.clinical-surface input:not([type=checkbox]):not([type=radio]),.clinical-surface textarea,.clinical-surface select,.ay-note-body,.ay-data-intake-body,.ay-telehealth-narrative-card .ay-plan-body,.ay-instructions-card .ay-plan-body,.ay-plan-manual-entry .ui-input,.document-filter .ui-select,.document-filter-field .ui-select{font-size:16px}.ay-file-button{min-height:40px}}.ay-membership-card{grid-column:1/-1}.ay-membership-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;display:flex}.ay-membership-note{color:var(--ui-text-soft);margin:6px 0 0;font-size:.72rem;line-height:1.5}.ay-membership-note.is-error{color:var(--ui-danger)}.ay-membership-track-picker{margin:12px 0}@media (width<=899px){.ay-membership-actions{flex-direction:column;align-items:stretch}.ay-membership-actions .ay-button{width:100%}}.ay-track-suggestion-slot{min-width:0}.ay-track-suggestion{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);opacity:1;transition:opacity .18s var(--ui-ease-out), transform .18s var(--ui-ease-out);gap:4px;margin-top:10px;padding:10px 12px;display:grid;transform:none}@starting-style{.ay-track-suggestion{opacity:0;transform:translateY(4px)}}.ay-track-suggestion__title{color:var(--ui-accent);align-items:flex-start;gap:7px;margin:0;font-size:.76rem;font-weight:700;line-height:1.35;display:flex}.ay-track-suggestion__title svg{margin-top:1px}.ay-track-suggestion__title svg,.ay-track-suggest .ay-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.ay-track-suggestion__reason{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.5}.ay-track-suggestion__note{color:var(--ui-muted);margin:0;font-size:.68rem;line-height:1.4}.ay-track-suggest{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.ay-track-suggest .ay-button{gap:7px}.ay-track-suggest .ay-membership-note{margin:0}@media (prefers-reduced-motion:reduce){.ay-track-suggestion{transition:opacity .18s var(--ui-ease-out);transform:none}@starting-style{.ay-track-suggestion{transform:none}}}@media (width<=899px){.ay-track-suggest .ay-button{justify-content:center;width:100%}}.portal-shell .portal-agreement-consents{gap:10px;margin:4px 0;display:grid}.portal-shell .portal-agreement-text{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--portal-neutral-body,var(--ui-surface));max-height:260px;color:var(--ui-text);white-space:pre-wrap;padding:14px;font-size:.76rem;line-height:1.55;overflow-y:auto}@media (width<=899px){.portal-shell .portal-agreement-text{max-height:200px}}.ay-eligibility-status{margin:0 0 14px}.ay-eligibility-card .ay-enrollment-notice{margin-bottom:14px}.ay-assessment-accordion summary{flex-wrap:wrap;row-gap:4px}@media (width<=899px){.ay-assessment-layout{grid-template-columns:1fr}}.ay-assessment-note-card .ay-plan-card__header{margin-bottom:15px}.ay-settings-section{flex-direction:column;gap:14px;min-width:0;display:flex}.ay-settings-section__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:4px 18px;padding:4px 2px 0;display:flex}.ay-settings-section__header h3{color:var(--ui-text);margin:0 0 4px;font-size:.95rem}.ay-settings-section__header p{color:var(--ui-muted);margin:0;font-size:.72rem}.ay-settings-section__header .ay-profile-updated{font-variant-numeric:tabular-nums}.ay-profile-grid,.ay-settings-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:14px;display:grid}.ay-profile-column{flex-direction:column;gap:14px;min-width:0;display:flex}.ay-profile-column>.ay-clinical-card:last-child{flex:auto}.ay-profile-card .ay-profile-edit{flex:none;min-height:32px;padding:5px 10px;font-size:.7rem}.ay-profile-card .ay-actions{gap:8px;margin-top:2px}.ay-profile-card .ay-actions .ay-button{min-height:36px}.ay-profile-card .ay-patient-settings-form .ay-note-status,.ay-profile-card .ay-patient-settings-form .ay-inline-success{grid-column:1/-1}.ay-profile-card .ui-field__hint.ay-profile-field-error{color:var(--ui-danger);font-weight:600}.ay-profile-card :where(input,select)[aria-invalid=true]{border-color:var(--ui-danger);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-danger) 14%,transparent)}.ay-profile-card .ay-patient-settings-list dd{min-height:1.45em}.ay-profile-subheading{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;margin:0;font-size:.62rem;font-weight:700}.ay-profile-photos{gap:9px;display:grid}.ay-profile-photos__row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ay-profile-photos__empty{color:var(--ui-muted);margin:0;font-size:.72rem}.ay-profile-photos .ay-profile-photo{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);text-align:left;grid-template-columns:minmax(0,1fr);align-content:start;justify-items:stretch;gap:6px;width:100%;min-height:0;padding:8px;display:grid}.ay-profile-photos button.ay-profile-photo{cursor:pointer}.ay-profile-photos button.ay-profile-photo:hover,.ay-profile-photos button.ay-profile-photo:focus-visible{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-profile-photo__frame{aspect-ratio:1.586;border:1px solid var(--ui-border);border-radius:var(--ui-radius-xs);background:var(--ui-surface);color:var(--ui-muted);place-items:center;display:grid;overflow:hidden}.ay-profile-photo__frame img{object-fit:cover;width:100%;height:100%;display:block}.ay-profile-photo__frame.is-loading{background:linear-gradient(90deg,var(--ui-surface) 0%,var(--ui-surface-muted) 50%,var(--ui-surface) 100%);background-size:200% 100%;animation:1.3s linear infinite ay-profile-shimmer}@keyframes ay-profile-shimmer{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.ay-profile-photo__frame.is-loading{animation:none}}.ay-profile-photo__label{color:var(--ui-text);font-size:.72rem;font-weight:650}.ay-profile-photo__note{color:var(--ui-muted);font-size:.66rem}.ay-profile-photo.is-empty .ay-profile-photo__frame{border-style:dashed}.ay-profile-ssn{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);flex-wrap:wrap;align-items:center;gap:8px 12px;min-height:46px;padding:8px 12px;display:flex}.ay-profile-ssn__icon{color:var(--ui-accent);flex:none;place-items:center;display:grid}.ay-profile-ssn__status,.ay-profile-ssn__number{min-width:0;color:var(--ui-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex:auto;font-size:.82rem;font-weight:650}.ay-profile-ssn__number{letter-spacing:.06em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9rem}.ay-profile-ssn__actions{flex:none;gap:8px;margin-left:auto;display:flex}.ay-profile-ssn__actions .ay-button{min-height:32px;padding:5px 10px;font-size:.7rem}.ay-profile-secret{align-items:stretch;gap:8px;display:flex}.ay-profile-secret__input{font-variant-numeric:tabular-nums;letter-spacing:.06em;flex:auto;min-width:0}.ay-profile-secret__input[data-masked=true]{-webkit-text-security:disc;text-security:disc}.ay-profile-secret__toggle{flex:0 0 40px;width:40px;padding:0}.ay-profile-remove-confirm{flex-wrap:wrap}.ay-profile-remove-confirm .ay-actions{margin:0}@media (width<=899px){.ay-profile-grid,.ay-settings-pair{grid-template-columns:1fr}.ay-profile-column>.ay-clinical-card:last-child{flex:none}}@media (width<=600px){.ay-profile-card .ay-profile-edit{align-self:flex-start}.ay-profile-ssn__actions{width:100%;margin-left:0}.ay-profile-ssn__actions .ay-button{flex:1 1 0}}.portal-shell .portal-promotion{border-top:1px solid var(--ui-border);gap:8px;margin-top:14px;padding-top:14px;display:grid}.portal-shell .portal-promotion__title{color:var(--ui-text);margin:0;font-size:.82rem;font-weight:650}.portal-shell .portal-promotion__form{gap:8px;display:grid}.portal-shell .portal-promotion__row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;max-width:440px;display:grid}.portal-shell .portal-promotion__field{min-width:0;margin:0}.portal-shell .portal-promotion__field .ui-input{text-transform:uppercase;letter-spacing:.04em;width:100%;min-height:44px}.portal-shell .portal-promotion__row .ay-button{flex:none;align-self:end;min-height:44px}.portal-shell .portal-promotion__applied{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;display:flex}.portal-shell .portal-promotion__status{min-width:0;color:var(--ui-text);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;font-size:.82rem;display:flex}.portal-shell .portal-promotion__status strong{font-variant-numeric:tabular-nums;letter-spacing:.04em}.portal-shell .portal-promotion__icon{width:18px;height:18px;color:var(--ui-success,var(--ui-accent));flex:none}.portal-shell .portal-promotion .ay-section-error{margin:0}.ay-promo-editor{border-top:1px solid var(--ui-border);gap:12px;min-width:0;padding-top:14px;display:grid}.ay-promo-editor__heading{gap:3px;display:grid}.ay-promo-editor__heading :where(h4,p){margin:0}.ay-promo-editor__heading h4{color:var(--ui-text);font-size:.8rem}.ay-promo-editor__heading p{color:var(--ui-muted);font-size:.72rem;line-height:1.5}.ay-promo-table{gap:10px;display:grid}.ay-promo-item{gap:6px;min-width:0;display:grid}.ay-promo-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr) 92px 36px;align-items:center;gap:10px;display:grid}.ay-promo-row--head{color:var(--ui-muted);letter-spacing:.04em;text-transform:uppercase;padding:0 0 2px;font-size:.66rem;font-weight:700}.ay-promo-cell{gap:4px;min-width:0;display:grid}.ay-promo-cell .ui-input{width:100%;min-width:0;min-height:40px}.ay-promo-code-input{text-transform:uppercase;letter-spacing:.04em}.ay-promo-cell .ui-input[aria-invalid=true]{border-color:var(--ui-danger);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-danger) 14%,transparent)}.ay-promo-actions{display:contents}.ay-promo-cell--remove{justify-items:end}.ay-promo-errors{color:var(--ui-danger);gap:2px;font-size:.68rem;font-weight:600;line-height:1.45;display:grid}.ay-promo-empty{color:var(--ui-muted);margin:0;font-size:.72rem}.ay-promo-editor__actions{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.ay-promo-limit{color:var(--ui-muted);font-size:.7rem}@media (width>=900px){.ay-promo-row:not(.ay-promo-row--head) .ay-promo-cell__label{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}@media (width<=899px){.ay-promo-row--head{display:none}.ay-promo-item{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);padding:12px}.ay-promo-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.ay-promo-cell--code{grid-column:1/-1}.ay-promo-cell__label{color:var(--ui-text-soft);font-size:.73rem;font-weight:650;line-height:1.4}.ay-promo-actions{justify-content:space-between;align-self:end;align-items:center;gap:8px;min-height:40px;display:flex}.ay-promo-cell--switch .ay-promo-cell__label{color:var(--ui-text-soft)}}.ay-doc-style{container:docstyle/inline-size}.ay-doc-style__layout{align-items:start;gap:16px;display:grid}.ay-doc-style__controls{gap:16px;min-width:0;display:grid}@container docstyle (width>=820px){.ay-doc-style__layout{grid-template-columns:minmax(0,1fr) minmax(340px,440px)}.ay-doc-style__preview{position:sticky;top:12px}}.ay-doc-style__preview{min-width:0}.ay-doc-style__status{min-height:22px;color:var(--ui-muted);font-size:.72rem}.ay-doc-style__pending{align-items:center;gap:8px;display:inline-flex}.ay-doc-style__status .ay-note-status--error{justify-content:flex-start;gap:8px}.ay-doc-style__status .ay-note-status--error svg{flex:none}.ay-doc-style__viewer{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-canvas);height:clamp(420px,72vh,760px);transition:opacity var(--ui-duration-fast) var(--ui-ease-out);overflow:hidden}.ay-doc-style__viewer.is-updating{opacity:.55}.ay-doc-style__viewer .ay-pdf-viewer{min-height:0}.ay-doc-style__logo-preview{color:var(--ui-text-soft);align-items:center;gap:10px;font-size:.72rem;display:flex}.ay-doc-style__logo-preview img{object-fit:contain;border:1px solid var(--ui-border);background:#fff;border-radius:8px;max-width:132px;height:36px;padding:4px}.ay-doc-style__logo-note .ay-settings-check-message>div{justify-items:start;gap:8px;display:grid}.ay-doc-style__logo-note .ay-settings-check-message p{margin:0}.ay-doc-style__hint{color:var(--ui-muted);font-size:.68rem}.ay-doc-style__contrast{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text-soft);align-items:flex-start;gap:9px;margin:0;padding:10px 12px;font-size:.72rem;line-height:1.5;display:flex}.ay-doc-style__contrast.is-warning{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-text)}.ay-doc-style__contrast.is-good svg{color:var(--ui-success)}.ay-doc-style__contrast svg{flex:none;width:17px;height:17px;margin-top:1px}.ay-doc-style__footer-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;display:flex}.ay-doc-style__footer-actions p{max-width:62ch;color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.5}.ay-settings-editor fieldset.ay-choice-group{min-width:0;box-shadow:none;background:0 0;border:0;gap:8px;margin:0;padding:0;display:grid}.ay-choice-group>legend{color:var(--ui-text);align-items:center;gap:2px;margin-bottom:8px;padding:0;font-size:.78rem;font-weight:650;display:flex}.ay-choice-group.has-hidden-legend>legend{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ay-choice-cards{grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:10px;display:grid}.ay-choice-row{flex-wrap:wrap;gap:8px;display:flex}.ay-choice-card{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);cursor:pointer;min-width:0;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background-color var(--ui-duration-fast) var(--ui-ease-out), box-shadow var(--ui-duration-fast) var(--ui-ease-out), transform var(--ui-duration-fast) var(--ui-ease-out);align-content:start;gap:10px;padding:10px;display:grid;position:relative}.ay-choice-card>input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.ay-choice-card:hover{border-color:var(--ui-accent-border)}.ay-choice-card:active{transform:scale(.985)}.ay-choice-card:has(input:checked){border-color:var(--ui-accent);background:var(--ui-accent-soft);box-shadow:inset 0 0 0 1px var(--ui-accent)}.ay-choice-card:has(input:focus-visible){box-shadow:var(--ui-focus)}.ay-choice-card:has(input:disabled){opacity:.55;cursor:not-allowed}.ay-choice-card:has(input:disabled):active{transform:none}.ay-choice-card__text{gap:2px;min-width:0;display:grid}.ay-choice-card__text strong{color:var(--ui-text);font-size:.78rem;font-weight:650}.ay-choice-card__text small{color:var(--ui-muted);font-size:.68rem;line-height:1.4}.ay-choice-row .ay-choice-card{align-items:center;min-height:38px;padding:8px 16px;display:inline-flex}.ay-doc-thumb{aspect-ratio:16/9;border:1px solid var(--ui-border);background:#fff;border-radius:4px;align-content:start;gap:4px;display:grid;overflow:hidden}.ay-doc-thumb__head{align-content:center;gap:3px;min-height:30%;padding:6px 10px;display:grid}.ay-doc-thumb__title{background:#1d2b30;border-radius:2px;width:52%;height:4px}.ay-doc-thumb__subtitle{background:#8a979c;border-radius:2px;width:34%;height:3px}.ay-doc-thumb__rule{background:var(--doc-thumb-color);height:2px;margin:0 0 5px}.ay-doc-thumb__line{background:#d3dadd;border-radius:2px;height:3px;margin:0 10px}.ay-doc-thumb__line.is-short{width:58%}.ay-doc-thumb--color_band .ay-doc-thumb__head{background:var(--doc-thumb-color)}.ay-doc-thumb--color_band .ay-doc-thumb__title{background:#fffffff0}.ay-doc-thumb--color_band .ay-doc-thumb__subtitle{background:#ffffffa8}.ay-doc-thumb--color_band .ay-doc-thumb__rule{display:none}.ay-doc-thumb--letterhead .ay-doc-thumb__head{justify-items:center}.ay-doc-thumb--letterhead .ay-doc-thumb__mark{background:var(--doc-thumb-color);border-radius:3px;width:12px;height:12px}.ay-font-sample{color:var(--ui-text);font-size:1.7rem;font-weight:600;line-height:1}.ay-font-sample--sans{font-family:IBM Plex Sans,system-ui,-apple-system,Segoe UI,sans-serif}.ay-font-sample--serif{font-family:"Source Serif 4",Georgia,Times New Roman,serif}.ay-font-sample--legible{font-family:Atkinson Hyperlegible,Verdana,Tahoma,sans-serif}.ay-color-field{align-items:center;gap:8px;display:flex}.ay-settings-editor.clinical-surface .ay-color-field input.ay-color-field__picker{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);cursor:pointer;flex:none;width:44px;min-width:44px;height:40px;min-height:40px;padding:3px}.ay-color-field__picker:focus-visible{box-shadow:var(--ui-focus);outline:none}.ay-settings-editor.clinical-surface .ay-color-field input.ay-color-field__code{font-variant-numeric:tabular-nums;text-transform:lowercase;flex:0 0 11ch;width:11ch;min-width:0}@media (width<=600px){.ay-choice-cards{grid-template-columns:minmax(0,1fr);gap:8px}.ay-choice-card.has-visual:has(.ay-doc-thumb){grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px}}@media (prefers-reduced-motion:reduce){.ay-choice-card,.ay-doc-style__viewer{transition:none}.ay-choice-card:active{transform:none}}.ay-orders-card-title{align-items:center;gap:8px;display:flex}.ay-orders-card-title svg{color:var(--ui-accent);flex:none}.ay-orders-col{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.ay-orders-stack,.ay-orders-main{flex-direction:column;flex:auto;gap:14px;min-width:0;display:flex}.ay-orders-stack>.ay-clinical-card,.ay-orders-main>.ay-clinical-card{flex:none}@media (width>=900px){.ay-orders-tab{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.ay-orders-tab--standard{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(320px,360px)}.ay-orders-tab--standard>.ay-instructions-diagnosis-card{grid-area:1/1}.ay-orders-tab--standard>.ay-instructions-card{grid-area:2/1;min-height:0}.ay-orders-tab--standard>.ay-orders-col{grid-area:1/2/span 2}.ay-orders-tab--wellness.has-orders-card.has-stack{grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr)}.ay-orders-tab--wellness.has-stack:not(.has-orders-card){grid-template-columns:repeat(2,minmax(0,1fr))}.ay-orders-stack,.ay-orders-main{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ui-border-strong) transparent;min-height:0;margin-right:-8px;padding:0 8px 2px 0;overflow-y:auto}.ay-orders-stack::-webkit-scrollbar,.ay-orders-main::-webkit-scrollbar{width:8px}.ay-orders-stack::-webkit-scrollbar-thumb,.ay-orders-main::-webkit-scrollbar-thumb{background:var(--ui-border-strong);border-radius:8px}.ay-orders-col.has-more:after{content:"";pointer-events:none;background:linear-gradient(to bottom,transparent,var(--ui-canvas));height:30px;position:absolute;inset:auto 0 0}}@media (width>=1200px){.ay-orders-tab--standard{grid-template-columns:minmax(0,1fr) minmax(380px,440px)}}.ay-orders-tab.ay-orders-tab.ay-orders-tab:has(.is-editing){grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.ay-orders-tab:has(.is-editing)>:not(:has(.is-editing)){display:none}.ay-orders-tab:has(.is-editing)>:has(.is-editing){grid-area:1/1/-1/-1}.ay-orders-col:has(.is-editing)>*>:not(.is-editing),.ay-orders-col:has(.is-editing):after{display:none}@media (width>=900px){.ay-orders-col:has(.is-editing)>*{margin-right:0;padding-right:0;overflow:hidden}.ay-orders-stack>.is-editing,.ay-orders-main>.is-editing{flex:auto;min-height:0}}.ay-instructions-pdf{border-top:1px solid var(--ui-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding-top:14px;display:flex}.ay-instructions-pdf__copy{flex:260px;gap:2px;min-width:0;display:grid}.ay-instructions-pdf__copy strong{color:var(--ui-text);font-size:.78rem}.ay-instructions-pdf__copy span{color:var(--ui-muted);font-size:.72rem;line-height:1.45}.ay-instructions-pdf>.ay-inline-success,.ay-instructions-pdf>.ay-note-status{flex:100%;margin:0}.ay-activity-card{flex-direction:column;flex:none;gap:16px;min-width:0;display:flex}.ay-activity-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;display:flex}.ay-activity-head h3{flex:auto;align-items:center;gap:8px;min-width:0;margin:0;font-size:.92rem;display:flex}.ay-activity-head h3 svg{color:var(--ui-accent);flex:none}.ay-activity-head .ay-button{flex:none;gap:7px}.ay-activity-card .ay-section-empty{text-align:start;min-height:0;padding:12px 14px;font-size:.76rem;line-height:1.45;display:block}.ay-activity-note-status{color:var(--ui-muted);align-items:center;gap:8px;margin:0;font-size:.72rem;line-height:1.45;display:flex}.ay-activity-list{animation:ay-activity-in .18s var(--ui-ease-out);margin:0;padding:0;list-style:none;display:grid}.ay-activity-item{border-top:1px solid var(--ui-border);grid-template-columns:minmax(0,1fr);gap:10px;padding:14px 0;display:grid;position:relative}.ay-activity-item:first-child{border-top:0;padding-top:2px}.ay-activity-item__main{gap:3px;min-width:0;display:grid}.ay-activity-item__title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ay-activity-item__title strong{color:var(--ui-text);font-size:.82rem}.ay-activity-item__main p{color:var(--ui-text-soft);overflow-wrap:anywhere;margin:0;font-size:.76rem;line-height:1.45}.ay-activity-item__main small{color:var(--ui-muted);overflow-wrap:anywhere;font-size:.68rem;line-height:1.4}.ay-activity-item__actions{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.ay-activity-item__actions .ay-button{white-space:nowrap;flex:0 auto;gap:5px;min-width:0;padding:7px 9px;font-size:.7rem}.ay-activity-item.has-discard>.ay-activity-item__main{padding-right:36px}.ay-activity-discard{border-radius:var(--ui-radius-sm);width:32px;height:32px;color:var(--ui-muted);cursor:pointer;transition:background-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:8px;right:0}.ay-activity-item:first-child>.ay-activity-discard{top:-4px}.ay-activity-discard:hover:not(:disabled),.ay-activity-discard:focus-visible{background:var(--ui-danger-soft);color:var(--ui-danger)}.ay-activity-discard:focus-visible{outline:2px solid var(--ui-danger);outline-offset:1px}.ay-activity-discard:disabled{opacity:.5;cursor:not-allowed}.ay-activity-discard:after{content:attr(data-tooltip);z-index:5;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-card);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity var(--ui-duration-fast) var(--ui-ease-out);padding:4px 8px;font-size:.66rem;font-weight:600;position:absolute;top:calc(100% + 4px);right:0}.ay-activity-discard:hover:after,.ay-activity-discard:focus-visible:after{opacity:1}@media (prefers-reduced-motion:reduce){.ay-activity-discard,.ay-activity-discard:after{transition:none}}.ay-activity-status{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);letter-spacing:.05em;text-transform:uppercase;border-radius:999px;flex:none;padding:3px 8px;font-size:.6rem;font-weight:700}.ay-activity-status--draft{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.ay-activity-status--signed{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ay-activity-status--cancelled{border-color:var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-muted)}.ay-activity-top{gap:5px;display:grid}.ay-activity-sub{color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.45}.ay-activity-item.has-tile{grid-template-columns:34px minmax(0,1fr);column-gap:12px}.ay-activity-item.has-tile>.ay-activity-item__actions{grid-column:2}.ay-activity-tile{background:var(--ui-accent-soft);width:34px;height:34px;color:var(--ui-accent);border-radius:10px;place-items:center;display:grid}.ay-activity-kind{color:var(--ui-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.61rem;font-weight:750}.ay-activity-item__main p.is-muted-line{font-style:italic}.ay-activity-pill{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-text-soft);letter-spacing:.05em;text-transform:uppercase;border-radius:999px;flex:none;padding:3px 8px;font-size:.6rem;font-weight:700}.ay-activity-pill--info{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.ay-activity-pill--danger{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.ay-activity-pill--rehearsal{color:var(--ui-muted);background:0 0;border-style:dashed;padding:2px 7px;font-size:.58rem}.ay-card-menu{flex:none;position:relative}.ay-card-menu__chevron{transition:transform var(--ui-duration-fast) var(--ui-ease-out)}.ay-card-menu>[aria-expanded=true] .ay-card-menu__chevron{transform:rotate(180deg)}.ay-card-menu__list{z-index:40;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);min-width:196px;box-shadow:var(--ui-shadow-popover);transform-origin:100% 0;opacity:0;visibility:hidden;transition:opacity var(--ui-duration-fast) var(--ui-ease-out), transform var(--ui-duration-fast) var(--ui-ease-out), visibility 0s linear var(--ui-duration-fast);padding:6px;position:absolute;top:calc(100% + 6px);right:0;transform:translateY(-4px)scale(.97)}.ay-card-menu__list.is-open{opacity:1;visibility:visible;transition-delay:0s;transform:none}.ay-card-menu__item{border-radius:var(--ui-radius-sm);width:100%;min-height:40px;color:var(--ui-text);font:inherit;text-align:left;cursor:pointer;transition:background-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out);background:0 0;border:0;align-items:center;gap:10px;padding:8px 10px;font-size:.78rem;font-weight:620;display:flex}.ay-card-menu__item svg{color:var(--ui-accent);flex:none}.ay-card-menu__item:hover,.ay-card-menu__item:focus-visible{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-activity-form{animation:ay-activity-in .18s var(--ui-ease-out);grid-template-columns:minmax(0,1fr) minmax(260px,360px);align-items:start;gap:22px 28px;display:grid}.ay-activity-fields{gap:18px;min-width:0;display:grid}.ay-activity-group{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.ay-activity-group>legend{color:var(--ui-text-soft);margin:0 0 8px;padding:0;font-size:.73rem;font-weight:700}.ay-activity-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.ay-activity-date{white-space:nowrap}.ay-activity-field .ui-field__label{color:var(--ui-text-soft);font-size:.73rem;font-weight:700}.ay-activity-field.has-error .ui-input,.ay-activity-group.has-error .ay-activity-segmented{border-color:var(--ui-danger)}.ay-activity-error{color:var(--ui-danger);font-size:.7rem;font-weight:600;line-height:1.4}.ay-activity-segmented{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;overflow:hidden}.ay-activity-segment{border-left:1px solid var(--ui-border-strong);min-height:42px;color:var(--ui-text-soft);text-align:center;cursor:pointer;transition:background-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out);justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:.78rem;font-weight:620;line-height:1.25;display:flex}.ay-activity-segment:first-child{border-left:0}.ay-activity-segment:hover{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-activity-segment:has(input:checked){background:var(--ui-accent-fill);color:var(--ui-on-accent)}.ay-activity-segment:has(input:focus-visible){outline:2px solid var(--ui-accent);outline-offset:-3px}.ay-activity-segment svg{flex:none}.ay-activity-checks{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;display:grid}.ay-activity-check{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);min-height:42px;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background-color var(--ui-duration-fast) var(--ui-ease-out);justify-content:space-between;align-items:center;gap:10px;padding:6px 12px;display:flex}.ay-activity-check.is-checked{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-activity-check label{min-width:0;color:var(--ui-text);cursor:pointer;flex:auto;align-items:center;gap:9px;margin:0;font-size:.76rem;font-weight:600;line-height:1.3;display:flex}.ay-activity-check input[type=checkbox]{width:16px;height:16px;accent-color:var(--ui-accent-fill);flex:none;margin:0}.ay-activity-lbs{color:var(--ui-muted);flex:none;align-items:center;gap:6px;font-size:.7rem;font-weight:650;display:inline-flex}.ay-activity-lbs .ui-input{text-align:center;width:64px;min-height:34px;padding:5px 8px}.ay-activity-textarea{resize:vertical;min-height:64px;line-height:1.45}.ay-activity-comments{gap:6px}.ay-activity-comments__foot{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ay-activity-comments__foot .ui-field__hint{flex:auto;min-width:0;line-height:1.45}.ay-activity-count{color:var(--ui-muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:.68rem;line-height:1.45}.ay-activity-addressee{color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.45}.ay-activity-addressee strong{color:var(--ui-text-soft)}.ay-activity-form-error{margin:0}.ay-activity-actions{border-top:1px solid var(--ui-border);flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;padding-top:14px;display:flex}@media (width>=900px){.ay-activity-card.is-editing{overflow:hidden}.ay-activity-card.is-editing .ay-activity-form{overscroll-behavior:contain;flex:auto;min-height:0;margin:-2px -6px -4px -2px;padding:2px 6px 4px 2px;overflow-y:auto}}.ay-activity-actions .ay-button{gap:7px}.ay-activity-preview{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-width:0;box-shadow:var(--ui-shadow-card);padding:18px 20px;position:sticky;top:0}.ay-activity-preview__eyebrow{color:var(--ui-muted);letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px;font-size:.64rem;font-weight:700}.ay-activity-preview__empty{color:var(--ui-muted);margin:0;font-size:.74rem;line-height:1.55}.ay-activity-letter{color:var(--ui-text);overflow-wrap:break-word;gap:10px;font-size:.8rem;line-height:1.6;display:grid}.ay-activity-letter p,.ay-activity-letter ul{margin:0}.ay-activity-letter h4{border-bottom:2px solid var(--ui-accent);margin:0 0 4px;padding-bottom:8px;font-size:1rem}.ay-activity-letter h5{color:var(--ui-accent);margin:6px 0 -4px;font-size:.8rem}.ay-activity-letter ul{padding-left:18px}.ay-activity-letter li{margin:2px 0}.ay-activity-letter__comments{white-space:pre-line}.ay-document-draft-mark{vertical-align:2px;margin-left:8px}.ay-activity-dialog--wide{width:min(100%,640px)}.ay-activity-letter--dialog{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);max-height:min(40vh,360px);margin:12px 0;padding:16px 18px;overflow-y:auto}.ay-activity-status--released{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.ay-order-filters{flex-wrap:wrap;gap:6px;display:flex}.ay-order-filter{border:1px solid var(--ui-border-strong);background:var(--ui-surface);min-height:32px;color:var(--ui-text-soft);font:inherit;cursor:pointer;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out);border-radius:999px;align-items:center;gap:6px;padding:5px 11px;font-size:.7rem;font-weight:650;display:inline-flex}.ay-order-filter:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-order-filter[aria-pressed=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-order-filter:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-order-filter b{font-variant-numeric:tabular-nums;color:var(--ui-muted);font-weight:700}.ay-order-filter[aria-pressed=true] b{color:var(--ui-accent)}.ay-order-details-toggle{margin-top:2px}.ay-order-details-toggle>summary{width:fit-content;color:var(--ui-accent);cursor:pointer;align-items:center;gap:4px;font-size:.68rem;font-weight:650;list-style:none;display:inline-flex}.ay-order-details-toggle>summary::-webkit-details-marker{display:none}.ay-order-details-toggle>summary:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:4px}.ay-order-details-toggle>summary svg{transition:transform var(--ui-duration-fast) var(--ui-ease-out)}.ay-order-details-toggle[open]>summary svg{transform:rotate(180deg)}.ay-order-details-toggle>dl{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 14px;margin:8px 0 0;padding:10px 12px;display:grid}.ay-order-details-toggle dt{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.62rem;font-weight:700}.ay-order-details-toggle dd{color:var(--ui-text-soft);overflow-wrap:anywhere;margin:2px 0 0;font-size:.72rem;line-height:1.4}.ay-order-review-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);gap:3px;margin:12px 0;padding:12px 14px;display:grid}.ay-order-review-card strong{color:var(--ui-text);overflow-wrap:anywhere;font-size:.84rem}.ay-order-review-card>span:not(.ay-activity-kind){color:var(--ui-text-soft);overflow-wrap:anywhere;font-size:.76rem;line-height:1.45}.ay-orders-card{--ord-text-micro:.6875rem;--ord-text-meta:.75rem;--ord-text-body:.8125rem;--ord-text-strong:.875rem;--ord-text-title:.9375rem;--ord-space-1:4px;--ord-space-2:8px;--ord-space-3:12px;--ord-space-4:16px;--ord-space-5:24px;--ord-hit:40px;--ord-row-hit:36px}@media (width<=640px){.ay-orders-card{--ord-hit:44px;--ord-row-hit:40px}}.ay-orders-card .ay-activity-head h3{font-size:var(--ord-text-title)}.ay-order-editor{gap:var(--ord-space-4);grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:880px;display:grid}.ay-order-dock,.ay-order-foot{gap:var(--ord-space-2);min-width:0;display:grid}.ay-order-foot>.ay-activity-form-error{margin:0}@media (width>=900px){.ay-activity-card.is-editing>.ay-order-editor{flex:auto;grid-template-rows:minmax(0,1fr) auto;min-height:0}}@media (width>=1100px){.ay-order-editor{column-gap:var(--ord-space-5);grid-template-columns:minmax(0,1fr) 300px;max-width:none}.ay-order-form{max-width:980px}.ay-order-dock{display:contents}.ay-order-dock>.ay-order-summary{grid-area:1/2/span 2}.ay-order-dock>.ay-order-foot{grid-area:2/1}}@media (width<=899px){.ay-chart-body:has(.ay-order-editor){padding-bottom:0}.ay-order-dock{z-index:6;padding-top:var(--ord-space-2);border-top:1px solid var(--ui-border);background:var(--ui-surface);position:sticky;bottom:0}.ay-order-dock .ay-activity-actions{border-top:0;padding-top:0}}@media (width<=640px){.ay-order-dock .ay-lab-save-hint{flex:100%}.ay-order-dock .ay-activity-actions .ay-button{flex:1 1 0}}.ay-order-form{grid-template-columns:minmax(0,1fr);align-content:start;align-items:start;gap:0}.ay-order-form>*{min-width:0}.ay-order-form>.ay-order-disclosure{margin:0 0 var(--ord-space-4);padding:var(--ord-space-2) var(--ord-space-3);font-size:var(--ord-text-meta);line-height:1.45}.ay-order-disclosure.is-real{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.ay-order-block{--ord-pad:var(--ord-space-3);gap:var(--ord-space-3);min-width:0;padding:var(--ord-pad) 0 0;border:0;border-top:1px solid var(--ui-border);margin:0;display:grid;position:relative}.ay-order-form>.ay-order-block{margin-top:var(--ord-space-3)}.ay-order-form>:is(.ay-order-disclosure,.ay-rx-old)+.ay-order-block{--ord-pad:0;border-top:0;margin-top:0}.ay-order-block>legend{float:left;width:100%;color:var(--ui-text);font-size:var(--ord-text-strong);margin:0;padding:0;font-weight:700;line-height:1.3}.ay-order-block>legend+*{clear:both}.ay-order-tag{top:var(--ord-pad);color:var(--ui-muted);font-size:var(--ord-text-micro);letter-spacing:.04em;text-transform:uppercase;font-weight:700;line-height:1.3;position:absolute;right:0}.ay-order-tag.is-required{color:var(--ui-text)}label.ui-field.ay-order-block{gap:var(--ord-space-2)}label.ui-field.ay-order-block>.ui-field__label{color:var(--ui-text);font-size:var(--ord-text-strong);font-weight:700}:is(.ay-order-block,.ay-order-notinlist) .ui-field__label{font-size:var(--ord-text-body)}:is(.ay-order-block,.ay-order-notinlist) .ui-field{gap:6px}.ay-order-grid{gap:var(--ord-space-3) var(--ord-space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.ay-order-grid[hidden]{display:none}.ay-order-grid>.ui-field{min-width:0}.ay-order-grid>.ui-field:has(textarea){grid-column:1/-1}.ay-orders-card :is(.ay-order-block,.ay-order-notinlist) :is(input,select).ui-input,.ay-orders-card :is(.ay-order-block,.ay-order-notinlist) select.ui-select{min-height:var(--ord-hit)}.ay-orders-card :is(.ay-order-block,.ay-order-notinlist) textarea.ui-input{min-height:calc(var(--ord-hit) * 2)}.ay-lab-hint{color:var(--ui-muted);font-size:var(--ord-text-meta);margin:0;line-height:1.45}.ay-lab-status{color:var(--ui-muted);font-size:var(--ord-text-meta);margin:0;font-weight:600}.ay-lab-error{color:var(--ui-danger);font-size:var(--ord-text-meta);flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0;font-weight:600;line-height:1.4;display:flex}.ay-lab-error:empty{display:none}.ay-lab-inline-action{min-height:var(--ord-hit);font-size:var(--ord-text-meta);padding:2px 10px}.ay-order-block .ay-button{min-height:var(--ord-hit);font-size:var(--ord-text-body)}.ay-order-form .ay-checkbox-field{min-height:var(--ord-hit);font-size:var(--ord-text-body);align-items:center;margin:0}.ay-order-form .ay-checkbox-field input{margin-top:0}.ay-lab-tag{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-text-soft);font-size:var(--ord-text-micro);letter-spacing:.02em;white-space:nowrap;border-radius:999px;flex:none;padding:2px 8px;font-weight:700}.ay-order-needed{padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);font-size:var(--ord-text-meta);margin:0;font-weight:650;line-height:1.45}.ay-order-needed ul{margin:var(--ord-space-1) 0 0;padding-left:var(--ord-space-4);gap:2px;display:grid}.ay-order-prefill-note{padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-accent);font-size:var(--ord-text-meta);margin:0;font-weight:650}.ay-order-controlled-note{padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);color:var(--ui-text-soft);font-size:var(--ord-text-meta);margin:0;line-height:1.45}.ay-order-refusal{border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);color:var(--ui-danger);align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.ay-order-refusal svg{flex:none;margin-top:1px}.ay-order-refusal strong{font-size:var(--ord-text-body);display:block}.ay-order-refusal p{font-size:var(--ord-text-body);margin:3px 0 0;line-height:1.45}.ay-order-sign-blocker{padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);font-size:var(--ord-text-meta);margin:0;font-weight:650;line-height:1.4}.ay-order-patient__line{justify-content:space-between;align-items:center;gap:var(--ord-space-2) var(--ord-space-3);flex-wrap:wrap;display:flex}.ay-order-patient__text{min-width:0;color:var(--ui-text-soft);font-size:var(--ord-text-body);overflow-wrap:anywhere;line-height:1.45}.ay-order-patient__done{grid-column:1/-1;justify-content:flex-end;display:flex}.ay-order-patient__extra{max-width:320px}.ay-order-date{align-items:center;gap:var(--ord-space-3);display:flex}.ay-order-date .ui-input{flex:0 200px;width:auto;min-width:0}.ay-order-date__text{color:var(--ui-text-soft);font-size:var(--ord-text-body);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650}.ay-lab-search{align-items:center;display:flex;position:relative}.ay-lab-search>svg{color:var(--ui-muted);pointer-events:none;position:absolute;left:12px}.ay-lab-search .ui-input{width:100%;padding-left:36px;padding-right:44px}.ay-lab-search__clear{width:var(--ord-hit);height:var(--ord-hit);color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;right:4px}.ay-lab-search__clear:hover{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-lab-search__clear:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}.ay-lab-sets{align-items:center;gap:var(--ord-space-2);flex-wrap:wrap;display:flex}.ay-lab-sets__label{min-width:64px;color:var(--ui-muted);font-size:var(--ord-text-meta);flex:none;font-weight:600}.ay-lab-chip,.ay-order-chip{min-height:var(--ord-hit);border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text-soft);font:inherit;font-size:var(--ord-text-body);cursor:pointer;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out), transform .12s var(--ui-ease-out);border-radius:999px;align-items:center;gap:6px;padding:5px 14px;font-weight:650;line-height:1.25;display:inline-flex}.ay-lab-chip:hover:not(:disabled):not([aria-pressed=true]),.ay-order-chip:hover:not(.is-disabled):not([aria-pressed=true]):not(:has(input:checked)){border-color:var(--ui-accent);color:var(--ui-text)}.ay-lab-chip[aria-pressed=true],.ay-order-chip:has(input:checked),.ay-order-chip[aria-pressed=true]{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}.ay-lab-chip[aria-pressed=true] b{color:inherit}.ay-lab-chip:focus-visible,.ay-order-chip:has(input:focus-visible),.ay-order-chip:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-lab-chip:active:not(:disabled),.ay-order-chip:active:not(.is-disabled){transform:scale(.98)}.ay-lab-chip:disabled,.ay-order-chip.is-disabled{opacity:.55;cursor:not-allowed}.ay-lab-chip b{font-variant-numeric:tabular-nums;color:var(--ui-muted);font-weight:700}.ay-order-chips{gap:var(--ord-space-2);flex-wrap:wrap;display:flex}.ay-lab-grid{gap:var(--ord-space-2);grid-template-columns:repeat(auto-fill,minmax(240px,1fr));display:grid}.ay-lab-test{align-items:flex-start;gap:var(--ord-space-2);min-height:var(--ord-hit);border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text);font-size:var(--ord-text-body);cursor:pointer;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background var(--ui-duration-fast) var(--ui-ease-out), transform .12s var(--ui-ease-out);padding:9px 12px;line-height:1.35;display:flex}.ay-lab-test:hover{border-color:var(--ui-accent-border)}.ay-lab-test.is-checked{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-lab-test:active{transform:scale(.99)}.ay-lab-test:has(input:focus-visible),.ay-lab-test:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-lab-test input{width:16px;height:16px;accent-color:var(--ui-accent-fill);flex:none;margin:2px 0 0}.ay-lab-test span{overflow-wrap:anywhere;min-width:0}.ay-lab-test b{font-variant-numeric:tabular-nums}button.ay-lab-test{width:100%;font:inherit;font-size:var(--ord-text-body);text-align:left;align-items:center}.ay-order-form>.ay-order-selected{margin-top:var(--ord-space-4);padding:var(--ord-space-4);border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft)}.ay-order-selected:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-order-selected__title{color:var(--ui-text);font-size:var(--ord-text-strong);margin:0;font-weight:700}.ay-lab-count{color:var(--ui-muted);font-size:var(--ord-text-meta);font-variant-numeric:tabular-nums;margin-left:6px;font-weight:600}.ay-lab-tray__list{margin:0;padding:0;list-style:none;display:grid}.ay-lab-line{padding:var(--ord-space-2) 0;border-top:1px solid var(--ui-border);gap:6px;display:grid}.ay-lab-line:first-child{border-top:0;padding-top:0}.ay-lab-line.is-missing{padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft)}.ay-lab-line__main{align-items:center;gap:var(--ord-space-2);display:flex}.ay-lab-line__text{min-width:0;color:var(--ui-text);font-size:var(--ord-text-body);overflow-wrap:anywhere;flex:auto;font-weight:600;line-height:1.4}.ay-lab-line__fix{gap:6px;display:grid}.ay-lab-blocker{color:var(--ui-warning);font-size:var(--ord-text-meta);margin:0;font-weight:700;line-height:1.4}.ay-lab-icon-button{min-width:var(--ord-hit);min-height:var(--ord-hit);flex:none;justify-content:center;padding:0}.ay-order-notinlist>summary{width:fit-content;min-height:var(--ord-hit);color:var(--ui-accent);font-size:var(--ord-text-body);cursor:pointer;align-items:center;font-weight:650;display:flex}.ay-order-notinlist>summary:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:4px}.ay-order-notinlist__body{gap:var(--ord-space-3);padding-top:var(--ord-space-1);display:grid}.ay-lab-manual__grid{align-items:end;gap:var(--ord-space-3);grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr) auto;display:grid}.ay-lab-hours{max-width:220px}.ay-lab-notes{gap:var(--ord-space-2)}.ay-order-form .ay-activity-segment{min-height:var(--ord-hit);font-size:var(--ord-text-body);transition:background-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out), transform .12s var(--ui-ease-out)}.ay-order-form .ay-activity-segment:active{transform:scale(.98)}.ay-order-form .ay-activity-segmented{max-width:520px}.ay-stepper{align-items:center;gap:6px;display:inline-flex}.ay-stepper__button{min-width:var(--ord-hit);min-height:var(--ord-hit);flex:none;justify-content:center;padding:0}.ay-stepper__input{text-align:center;font-variant-numeric:tabular-nums;width:92px;min-width:0}.ay-stepper__unit{color:var(--ui-text-soft);font-size:var(--ord-text-body);font-weight:600}.ay-rx-old{margin:0 0 var(--ord-space-4)}.ay-rx-common{gap:var(--ord-space-2);display:grid}.ay-rx-common__title{color:var(--ui-muted);font-size:var(--ord-text-meta);font-weight:700}.ay-rx-results{gap:6px;margin:0;padding:0;list-style:none;display:grid}.ay-rx-result{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:100%;min-height:44px;color:var(--ui-text);font:inherit;text-align:left;cursor:pointer;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background var(--ui-duration-fast) var(--ui-ease-out);align-items:flex-start;gap:10px;padding:9px 12px;display:flex}button.ay-rx-result:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}button.ay-rx-result:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-rx-result svg{color:var(--ui-accent);flex:none;margin-top:2px}.ay-rx-result__text{min-width:0;font-size:var(--ord-text-body);overflow-wrap:anywhere;gap:2px;line-height:1.35;display:grid}.ay-rx-result__text b{font-weight:700}.ay-rx-result__text small{color:var(--ui-muted);font-size:var(--ord-text-meta)}.ay-rx-result.is-blocked{cursor:not-allowed;border-color:var(--ui-danger-border);background:var(--ui-danger-soft)}.ay-rx-result.is-blocked svg,.ay-rx-result.is-blocked .ay-rx-result__text small{color:var(--ui-danger)}.ay-rx-result.is-blocked .ay-rx-result__text b{color:var(--ui-text-soft)}.ay-rx-chosen{justify-content:space-between;align-items:center;gap:var(--ord-space-2) var(--ord-space-3);padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);flex-wrap:wrap;display:flex}.ay-rx-chosen__line{align-items:center;gap:4px var(--ord-space-2);min-width:0;color:var(--ui-text);font-size:var(--ord-text-strong);overflow-wrap:anywhere;flex-wrap:wrap;display:inline-flex}.ay-rx-chosen__line svg{color:var(--ui-accent);flex:none}.ay-rx-brand{max-width:260px}.ay-rx-sig__row{align-items:start;gap:var(--ord-space-3) var(--ord-space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.ay-rx-route{min-height:var(--ord-hit);color:var(--ui-text);font-size:var(--ord-text-strong);align-items:center;margin:0;font-weight:600;display:flex}.ay-rx-prn{gap:var(--ord-space-2);display:grid}.ay-rx-prn__fields{gap:var(--ord-space-3) var(--ord-space-4);grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);display:grid}.ay-rx-days{max-width:160px;margin-top:6px}.ay-rx-preview{padding:10px var(--ord-space-3);border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);color:var(--ui-text);font-size:var(--ord-text-strong);overflow-wrap:anywhere;margin:0;line-height:1.5}.ay-rx-preview__label{color:var(--ui-accent);font-size:var(--ord-text-micro);letter-spacing:.05em;text-transform:uppercase;margin-right:4px;font-weight:700}.ay-rx-supply__grid{gap:var(--ord-space-3) var(--ord-space-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.ay-rx-allergies__row{align-items:flex-start;gap:var(--ord-space-2);display:flex}.ay-rx-allergies__row>.ui-field{flex:auto}.ay-rx-allergies__row>.ay-button{flex:none}.ay-rx-attest{gap:var(--ord-space-2);display:grid}.ay-rx-manual__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-rx-pharmacy__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ay-rx-attribution{margin:var(--ord-space-4) 0 0;color:var(--ui-muted);font-size:var(--ord-text-micro);line-height:1.45}.ay-dx-chip__text{text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-weight:500;overflow:hidden}.ay-dx-results{gap:6px;margin:0;padding:0;list-style:none;display:grid}.ay-dx-result{width:100%;min-height:var(--ord-hit);border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text);font:inherit;font-size:var(--ord-text-body);text-align:left;cursor:pointer;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background var(--ui-duration-fast) var(--ui-ease-out);justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.ay-dx-result:hover:not([aria-disabled=true]){border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.ay-dx-result:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-dx-result.is-chosen{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);cursor:default}.ay-dx-result.is-dimmed{opacity:.55;cursor:not-allowed;background:var(--ui-surface-muted)}.ay-dx-result__text{overflow-wrap:anywhere;min-width:0}.ay-dx-chosen{margin:0;padding:0;list-style:none;display:grid}.ay-dx-chosen:empty{display:none}.ay-dx-chosen:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-dx-chosen__row{align-items:center;gap:var(--ord-space-2);border-top:1px solid var(--ui-border);padding:2px 0;display:flex}.ay-dx-chosen__row:first-child{border-top:0}.ay-dx-chosen__text{min-width:0;color:var(--ui-text);font-size:var(--ord-text-body);overflow-wrap:anywhere;flex:auto;font-weight:600;line-height:1.4}.ay-dx-common{gap:var(--ord-space-2);display:grid}.ay-dx-common>[hidden]{display:none}.ay-dx-common__toggle{width:fit-content;min-height:var(--ord-hit);color:var(--ui-accent);font:inherit;font-size:var(--ord-text-body);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0 2px;font-weight:650;display:inline-flex}.ay-dx-common__toggle:hover{color:var(--ui-accent-hover)}.ay-dx-common__toggle:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:4px}.ay-dx-common__toggle svg{transition:transform var(--ui-duration-fast) var(--ui-ease-out)}.ay-dx-common__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.ay-imaging-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.ay-imaging-exam svg{color:var(--ui-accent);flex:none}.ay-imaging-egfr{max-width:520px}.ay-imaging-options .ui-field,.ay-imaging-safety .ui-field{gap:6px}.ay-imaging-options,.ay-imaging-safety{gap:var(--ord-space-4)}.ay-order-summary{min-width:0}.ay-order-summary:not(.ay-order-summary--bar){overscroll-behavior:contain;align-content:start;align-self:stretch;gap:var(--ord-space-3);min-height:0;padding:var(--ord-space-4);border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);display:grid;overflow-y:auto}.ay-order-summary__title{color:var(--ui-text);font-size:var(--ord-text-strong);margin:0;font-weight:700}.ay-order-summary__lines{gap:var(--ord-space-3);margin:0;display:grid}.ay-order-summary__lines>div{gap:2px;min-width:0;display:grid}.ay-order-summary__lines dt{color:var(--ui-muted);font-size:var(--ord-text-meta);font-weight:600}.ay-order-summary__lines dd{color:var(--ui-text);font-size:var(--ord-text-body);overflow-wrap:anywhere;margin:0;font-weight:600;line-height:1.4}.ay-order-summary__lines dd.is-empty{color:var(--ui-muted);font-weight:450}.ay-order-ready{color:var(--ui-success);font-size:var(--ord-text-body);align-items:center;gap:6px;margin:0;font-weight:700;display:flex}.ay-order-readiness{gap:var(--ord-space-2);padding-top:var(--ord-space-3);border-top:1px solid var(--ui-border);display:grid}.ay-order-readiness__count{color:var(--ui-warning);font-size:var(--ord-text-body);margin:0;font-weight:700}.ay-order-readiness ul{padding-left:var(--ord-space-4);color:var(--ui-text-soft);font-size:var(--ord-text-meta);gap:6px;margin:0;line-height:1.4;display:grid}.ay-order-summary--bar{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft)}.ay-order-summary--bar>summary{align-items:center;gap:var(--ord-space-3);min-height:var(--ord-hit);padding:4px var(--ord-space-3);cursor:pointer;list-style:none;display:flex}.ay-order-summary--bar>summary::-webkit-details-marker{display:none}.ay-order-summary--bar>summary:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px;border-radius:var(--ui-radius-sm)}.ay-order-summary__brief{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ui-text);font-size:var(--ord-text-body);flex:auto;font-weight:650;overflow:hidden}.ay-order-summary__status{color:var(--ui-warning);font-size:var(--ord-text-meta);white-space:nowrap;flex:none;align-items:center;gap:4px;font-weight:700;display:inline-flex}.ay-order-summary__status.is-ready{color:var(--ui-success)}.ay-order-summary__chevron{color:var(--ui-muted);transition:transform var(--ui-duration-fast) var(--ui-ease-out);flex:none}.ay-order-summary--bar[open] .ay-order-summary__chevron{transform:rotate(180deg)}.ay-order-summary__body{gap:var(--ord-space-3);overscroll-behavior:contain;max-height:min(40dvh,320px);padding:var(--ord-space-1) var(--ord-space-3) var(--ord-space-3);display:grid;overflow-y:auto}.ay-lab-save-hint{color:var(--ui-text-soft);font-size:var(--ord-text-meta);flex:220px;margin:0;line-height:1.4}.ay-order-foot .ay-activity-actions .ay-button{min-height:var(--ord-hit);font-size:var(--ord-text-body)}.ay-order-foot .ay-activity-actions .ay-button--primary:disabled{border-color:var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-text-soft)}.ay-order-foot .ay-activity-actions .ay-button:active:not(:disabled){transform:scale(.98)}.ay-facility-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.ay-facility{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);gap:10px;padding:12px;display:grid}.ay-facility__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;display:grid}.ay-facility__grid>.ui-field:has(textarea){grid-column:1/-1}.ay-facility__head{justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-facility__head>strong{color:var(--ui-text);font-size:.76rem}@media (width<=900px){.ay-rx-sig__row,.ay-rx-supply__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.ay-order-grid,.ay-lab-manual__grid,.ay-rx-sig__row,.ay-rx-supply__grid,.ay-rx-prn__fields,.ay-rx-manual__grid,.ay-rx-pharmacy__grid,.ay-facility__grid,.ay-lab-grid,.ay-imaging-grid{grid-template-columns:minmax(0,1fr)}.ay-lab-manual__add{justify-content:center;width:100%}.ay-dx-chip__text{max-width:140px}.ay-rx-chosen>.ay-button{justify-content:center;width:100%}.ay-order-form .ay-activity-segmented{max-width:none}.ay-order-tag{font-size:var(--ord-text-micro)}}@media (prefers-reduced-motion:reduce){.ay-lab-chip,.ay-order-chip,.ay-lab-test,.ay-rx-result,.ay-dx-result,.ay-order-form .ay-activity-segment,.ay-order-summary__chevron,.ay-dx-common__toggle svg{transition:none}.ay-lab-chip:active,.ay-order-chip:active,.ay-lab-test:active,.ay-order-form .ay-activity-segment:active{transform:none}}.ay-orders-card .ay-activity-item.has-tile .ay-activity-kind{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ay-orders-card .ay-activity-item__title strong{font-size:var(--ord-text-strong)}.ay-orders-card .ay-activity-status,.ay-orders-card .ay-activity-pill{font-size:var(--ord-text-micro)}.ay-orders-card .ay-activity-item__main p{font-size:var(--ord-text-body)}.ay-orders-card .ay-activity-item__main small{font-size:var(--ord-text-meta)}.ay-orders-card .ay-activity-item__actions .ay-button{min-height:var(--ord-row-hit);font-size:var(--ord-text-body);padding:6px 10px}.ay-orders-card .ay-activity-item.has-discard>.ay-activity-item__main{padding-right:44px}.ay-orders-card .ay-activity-discard{width:var(--ord-hit);height:var(--ord-hit);top:4px;right:-4px}.ay-orders-card .ay-activity-item:first-child>.ay-activity-discard{top:-10px}.ay-orders-card .ay-order-filter{min-height:var(--ord-row-hit);font-size:var(--ord-text-body)}.ay-orders-card .ay-order-details-toggle>summary{min-height:32px;font-size:var(--ord-text-meta)}.ay-orders-card .ay-order-sign-blocker{font-size:var(--ord-text-meta)}.ay-signature{border-top:1px solid var(--ui-border);gap:12px;margin:18px 0;padding-top:18px;display:grid}.ay-signature>h3{color:var(--ui-text);margin:0;font-size:.86rem;font-weight:700}.ay-signature__copy{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.5}.ay-signature__saved,.ay-signature__editor,.ay-signature__source{gap:10px;min-width:0;display:grid}.ay-signature__preview{gap:6px;margin:0;display:grid}.ay-signature__preview img{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:#fff;justify-self:start;max-width:100%;height:auto;max-height:120px;padding:10px 14px;display:block}.ay-signature__preview figcaption{color:var(--ui-muted);font-size:.68rem}.ay-signature__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ay-signature__actions .ay-button{gap:7px}.ay-signature__hint{color:var(--ui-muted);margin:0;font-size:.68rem;line-height:1.5}.ay-signature__modes{max-width:280px}.ay-signature__pad{aspect-ratio:3;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:crosshair;border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:#fff;width:100%;max-width:600px;display:block}.ay-signature__pad:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-signature-note{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);color:var(--ui-text-soft);flex-wrap:wrap;align-items:center;gap:4px 12px;margin:12px 0;padding:8px 12px;font-size:.72rem;line-height:1.45;display:flex}.ay-signature-note img{border:1px solid var(--ui-border-strong);background:#fff;border-radius:4px;max-width:min(100%,200px);height:auto;max-height:56px;padding:4px 8px;display:block}.ay-signature-note figcaption{color:var(--ui-muted)}.ay-signature-note__link{color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:650;text-decoration:underline}.ay-signature-note__link:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:2px}.dashboard-account-dialog .ay-order-confirm-modal{z-index:150}@keyframes ay-activity-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.ay-activity-list,.ay-activity-form{animation:none}.ay-activity-segment,.ay-activity-check,.ay-card-menu__list,.ay-card-menu__item,.ay-card-menu__chevron{transition:none}}@media (width<=1000px){.ay-activity-form{grid-template-columns:minmax(0,1fr)}.ay-activity-preview{position:static}}@media (width<=640px){.ay-activity-segmented.is-stack{grid-auto-flow:row;grid-template-columns:minmax(0,1fr)!important}.ay-activity-segmented.is-stack .ay-activity-segment{border-left:0;border-top:1px solid var(--ui-border-strong);justify-content:flex-start}.ay-activity-segmented.is-stack .ay-activity-segment:first-child{border-top:0}.ay-activity-segment{padding-inline:8px}.ay-activity-checks{grid-template-columns:minmax(0,1fr)}.ay-activity-actions .ay-button{flex:auto;justify-content:center}.ay-instructions-pdf .ay-button{justify-content:center;width:100%}.ay-orders-tab .ay-activity-head>.ay-button,.ay-orders-tab .ay-activity-head>.ay-card-menu{max-width:100%;margin-left:auto}.ay-orders-tab .ay-activity-item__actions{flex-wrap:wrap}}.ay-referral-form{grid-template-columns:minmax(0,1fr) minmax(300px,380px);position:relative}.ay-referral-form .ay-activity-fields{gap:22px;position:relative}.ay-referral-form .ay-activity-group{gap:10px}.ay-referral-pair{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:22px 18px;display:grid}.ay-referral-pair>.ay-activity-group{align-content:start}.ay-referral-suggest{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ay-referral-suggest__label{color:var(--ui-muted);font-size:.7rem;font-weight:600}.ay-referral-chip{border:1px solid var(--ui-border-strong);background:var(--ui-surface);min-height:32px;color:var(--ui-text-soft);font:inherit;cursor:pointer;transition:border-color var(--ui-duration-fast) var(--ui-ease-out), background-color var(--ui-duration-fast) var(--ui-ease-out), color var(--ui-duration-fast) var(--ui-ease-out);border-radius:999px;align-items:center;gap:6px;padding:5px 11px;font-size:.7rem;font-weight:650;display:inline-flex}.ay-referral-chip:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-referral-chip[aria-pressed=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-referral-chip:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-referral-urgency .ay-activity-segment{text-align:center;align-content:center;justify-items:center;gap:2px;min-height:52px;line-height:1.25;display:grid}.ay-referral-urgency .ay-activity-segment small{opacity:.92;font-size:.66rem;font-weight:500}.ay-referral-finder{gap:10px;min-width:0;display:grid}.ay-referral-finder__grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.ay-referral-finder__grid--three{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.ay-referral-finder__go{align-self:end}.ay-referral-note{color:var(--ui-muted);align-items:flex-start;gap:7px;margin:0;font-size:.7rem;line-height:1.45;display:flex}.ay-referral-note svg{flex:none;margin-top:2px}.ay-referral-note--problem{color:var(--ui-danger);font-weight:600}.ay-referral-note--scope{color:var(--ui-text-soft);font-size:.74rem}.ay-referral-note--scope strong{color:var(--ui-text);font-weight:650}.ay-referral-warning{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-warning);align-items:flex-start;gap:8px;margin:0;padding:9px 12px;font-size:.72rem;font-weight:600;line-height:1.45;display:flex}.ay-referral-warning svg{flex:none;margin-top:2px}.ay-referral-count{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.45}.ay-referral-results{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);animation:ay-activity-in .18s var(--ui-ease-out);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.ay-referral-result{border-top:1px solid var(--ui-border);transition:background-color var(--ui-duration-fast) var(--ui-ease-out);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.ay-referral-result:first-child{border-top:0}.ay-referral-result.is-picked{background:var(--ui-accent-soft)}.ay-referral-result__main{gap:3px;min-width:0;display:grid}.ay-referral-result__name{color:var(--ui-text);flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:.8rem;display:flex}.ay-referral-result__name span{color:var(--ui-muted);font-size:.7rem;font-weight:600}.ay-referral-result__line{color:var(--ui-text-soft);overflow-wrap:anywhere;align-items:flex-start;gap:6px;font-size:.72rem;line-height:1.4;display:flex}.ay-referral-result__line svg{color:var(--ui-muted);flex:none;margin-top:2px}.ay-referral-result__npi{color:var(--ui-muted);font-variant-numeric:tabular-nums;font-size:.66rem}.ay-referral-result__use{gap:6px;min-height:36px;padding:6px 12px;font-size:.7rem}.ay-referral-divider{color:var(--ui-muted);align-items:center;gap:12px;font-size:.7rem;font-weight:650;display:flex}.ay-referral-divider:before,.ay-referral-divider:after{content:"";background:var(--ui-border);flex:1;height:1px}.ay-referral-manual{grid-template-columns:minmax(0,1.15fr) minmax(0,.6fr) minmax(0,1.5fr) minmax(0,.95fr) minmax(0,.95fr);gap:12px;display:grid}.ay-referral-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ay-referral-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ay-referral-contact{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;display:grid}.ay-referral-legend-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ay-referral-legend-row h4{color:var(--ui-text-soft);margin:0;font-size:.73rem;font-weight:700}.ay-referral-ai{gap:6px;min-height:36px;padding:6px 10px;font-size:.7rem}.ay-referral-hint{color:var(--ui-muted);margin:0;font-size:.72rem;line-height:1.45}.ay-referral-ainote{color:var(--ui-muted);flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:.7rem;line-height:1.45;display:flex}.ay-referral-aipill{border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning);border-radius:999px;align-items:center;gap:6px;padding:3px 9px;font-size:.66rem;font-weight:700;display:inline-flex}.ay-referral-foot{color:var(--ui-muted);margin-right:auto;font-size:.72rem}.ay-referral-preview__top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.ay-referral-preview__top .ay-activity-preview__eyebrow{margin:0}.ay-referral-preview__foot{border-top:1px solid var(--ui-border);color:var(--ui-muted);margin:14px 0 0;padding-top:10px;font-size:.7rem;line-height:1.45}.ay-referral-letter p{white-space:pre-line}.ay-referral-letter__urgency{color:var(--ui-accent);font-weight:700}.ay-referral-form textarea[readonly]{color:var(--ui-muted)}@media (width>=1181px){.ay-activity-card.is-editing .ay-referral-form{grid-template-rows:minmax(0,1fr);margin:0;padding:0;overflow:hidden}.ay-activity-card.is-editing .ay-referral-form>.ay-activity-fields{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;max-height:100%;padding:2px 10px 4px 2px;overflow-y:auto}.ay-activity-card.is-editing .ay-referral-form>.ay-activity-preview{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;max-height:100%;position:static;overflow-y:auto}}@media (width<=1180px){.ay-referral-form{grid-template-columns:minmax(0,1fr)}.ay-referral-form .ay-activity-preview{position:static}.ay-referral-manual{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))}.ay-referral-finder__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-referral-finder__go{grid-column:1/-1}}@media (width<=640px){.ay-referral-pair,.ay-referral-two,.ay-referral-three,.ay-referral-contact{grid-template-columns:minmax(0,1fr)}.ay-referral-manual{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-referral-manual>:nth-child(3){grid-column:1/-1}.ay-referral-finder__grid{grid-template-columns:minmax(0,1fr);align-items:stretch}.ay-referral-result{grid-template-columns:minmax(0,1fr)}.ay-referral-result__use{width:100%}.ay-referral-foot{flex:100%}.ay-referral-urgency .ay-activity-segment{padding-inline:6px}}@media (prefers-reduced-motion:reduce){.ay-referral-results{animation:none}.ay-referral-chip,.ay-referral-result{transition:none}}.ay-whatsnew{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card);gap:4px;padding:14px 16px 6px;display:grid}.ay-whatsnew__header{align-items:center;gap:10px;display:flex}.ay-whatsnew__icon{background:var(--ui-accent-soft);width:32px;height:32px;color:var(--ui-accent);border-radius:10px;flex:0 0 32px;place-items:center;display:grid}.ay-whatsnew__header h2{color:var(--ui-text);margin:0;font-size:.92rem;font-weight:700;line-height:1.3}.ay-whatsnew__list{margin:0;padding:0;list-style:none;display:grid}.ay-whatsnew__item{border-top:1px solid var(--ui-border);align-items:flex-start;gap:10px;padding:12px 0;display:flex}.ay-whatsnew__item:first-child{margin-top:8px}.ay-whatsnew__copy{flex:auto;gap:4px;min-width:0;display:grid}.ay-whatsnew__copy h3{color:var(--ui-text);overflow-wrap:anywhere;text-wrap:balance;margin:0;font-size:.86rem;font-weight:700;line-height:1.35}.ay-whatsnew__copy p{max-width:68ch;color:var(--ui-text-soft);white-space:pre-line;overflow-wrap:anywhere;text-wrap:pretty;margin:0;font-size:.8rem;line-height:1.55}.ay-whatsnew__copy time{color:var(--ui-muted);font-variant-numeric:tabular-nums;font-size:.72rem}.ay-whatsnew__dismiss{width:40px;height:40px;color:var(--ui-muted);cursor:pointer;transition:background-color .15s var(--ui-ease-out), color .15s var(--ui-ease-out), transform .12s var(--ui-ease-out);background:0 0;border:0;border-radius:10px;flex:0 0 40px;place-items:center;margin:-6px -6px 0 0;padding:0;display:grid}.ay-whatsnew__dismiss:hover:not(:disabled){background:var(--ui-surface-muted);color:var(--ui-text)}.ay-whatsnew__dismiss:active:not(:disabled){transform:scale(.94)}.ay-whatsnew__dismiss:disabled{cursor:default;opacity:.55}.ay-notice-detail__body{max-height:min(50dvh,420px);color:var(--ui-text-soft);white-space:pre-line;overflow-wrap:anywhere;text-wrap:pretty;margin:12px 0 0;font-size:.82rem;line-height:1.6;overflow:auto}.ay-notice-detail time{color:var(--ui-muted);font-variant-numeric:tabular-nums;margin-top:10px;font-size:.72rem;display:block}.ay-notice-detail__actions{justify-content:flex-end;margin-top:16px;display:flex}@media (width<=720px){.ay-whatsnew__dismiss{flex-basis:44px;width:44px;height:44px;margin:-8px -8px 0 0}.ay-notice-detail__actions .ay-button{justify-content:center;width:100%}}@media (prefers-reduced-motion:reduce){.ay-whatsnew__dismiss{transition:none}}html.clinical-ui.dark:is([data-theme-surface=dashboard],[data-theme-surface=clinic-configuration],[data-theme-surface=scribe],[data-theme-surface=control-plane]) :is(.btn-primary,.ui-button--primary,.ay-button--primary,.clinical-surface button.primary):disabled,html.clinical-ui.dark[data-theme-surface=patient-portal] :where(.portal-main:not(.portal-main--checkin) :is(.btn-primary,.ui-button--primary,.ay-button--primary)):disabled{border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-muted)}html[data-theme-surface=dashboard] :is(.tab-count-badge,.dashboard-mobile-action b){border-color:var(--ui-surface);background:var(--ui-accent-fill);color:var(--ui-on-accent);font-size:10px}.ay-switch input:not(:checked)+.ay-switch__track{border-color:color-mix(in srgb, var(--ui-muted) 60%, var(--ui-surface))}html.clinical-ui.dark .ay-switch__track:after{background:var(--ui-text-soft)}.clinical-generated-document .ay-document-date{white-space:nowrap}@media (width<=899px){html:is([data-theme-surface=dashboard],[data-theme-surface=clinic-configuration],[data-theme-surface=scribe]) .ay-button{min-height:44px}}@media (width<=899px),(pointer:coarse){html[data-theme-surface=dashboard] :is(.ay-copy-chip,.notes-fab,.dashboard-account-trigger),html[data-theme-surface=clinic-configuration] .clinic-settings-info>.clinic-settings-info__button{position:relative}html[data-theme-surface=dashboard] :is(.ay-plan-item-remove,.ay-ai-regenerate,.ay-copy-chip,.notes-fab,.dashboard-account-trigger:not([data-rail-label])):after,html[data-theme-surface=dashboard] .ay-safety-alert-button:before,html[data-theme-surface=clinic-configuration] .clinic-settings-info>.clinic-settings-info__button:after{content:"";position:absolute;inset:min(0px,50% - 22px)}}html[data-theme-surface=scribe] .remember-me-info{width:20px;height:20px;color:var(--ui-muted);border:0}html[data-theme-surface=scribe] .remember-me-info>svg{width:18px;height:18px}html[data-theme-surface=scribe] .remember-me-info:after{content:"";position:absolute;inset:min(0px,50% - 22px)}html:is([data-theme-surface=dashboard],[data-theme-surface=clinic-configuration]) .ay-button:active:not(:disabled),html[data-theme-surface=patient-portal] .portal-main:not(.portal-main--checkin) .ay-button:active:not(:disabled){transform:scale(.97)}.ay-documents-fill .ay-document-row{box-sizing:border-box;align-self:stretch;align-items:center;height:auto;min-height:68px}.ay-documents-fill .clinical-document-summary{align-items:center;min-width:0}.ay-documents-fill .patient-attachment-copy{align-content:center;gap:3px;min-width:0;display:grid}.ay-document-title-line{align-items:baseline;gap:8px;min-width:0;line-height:1.3;display:flex}.ay-document-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ay-document-title-line>.ay-document-draft-mark{flex:none;align-self:center}.ay-document-title-line>.ay-document-date{color:var(--ui-muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:.72rem;font-weight:450}.ay-documents-fill .clinical-document-actions .ay-document-send{aspect-ratio:1;flex:none;place-items:center;min-width:0;padding:0;display:grid}.ay-documents-fill .ay-document-meta{overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;line-height:1.4;display:block;overflow:hidden}.ay-documents-fill .clinical-document-list{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width>=1280px){.ay-documents-fill .clinical-document-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=899px){.ay-documents-fill .clinical-document-list{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.ay-chart-body>.ay-documents-fill.ay-clinical-card{padding-inline:12px}.ay-documents-fill .ay-document-row{gap:8px;padding:10px 12px}.ay-documents-fill .clinical-document-summary{gap:9px}.ay-document-title-line{gap:6px}.ay-document-title-line>.ay-document-date{font-size:.68rem}}.ay-documents-fill .document-filter{grid-template-columns:repeat(2,minmax(0,240px));align-items:end;gap:10px 12px;display:grid}.ay-documents-fill .document-filter .ui-field{flex:none;width:auto;min-width:0}@media (width<=600px){.ay-documents-fill .document-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ay-documents-fill .document-filter .ui-field__label{text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;overflow:hidden}.ay-documents-fill .document-filter .ui-select{text-overflow:ellipsis;padding-inline:10px 30px}}.ay-select-pair{display:contents}@media (width<=963px){.ay-select-pair{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px 12px;min-width:0;display:grid}.ay-select-pair .ui-field__label{flex-wrap:nowrap;gap:0;min-width:0;font-size:.68rem}.ay-select-pair .ui-field__label label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ay-select-pair .ui-input{text-overflow:ellipsis}}.ay-document-preview-modal,.ay-pdf-viewer__scroll{overscroll-behavior:contain}@media (width<=600px),(pointer:coarse) and (height<=500px){.ay-document-preview-modal{width:100%;height:100dvh;padding:0;display:block}.ay-document-preview-dialog{width:100%;max-width:none;height:100%;min-height:0;box-shadow:none;border:0;border-radius:0}.ay-document-preview-header{padding:max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));align-items:center}.ay-document-preview-header .attachment-preview-close-icon{flex:0 0 44px;width:44px;height:44px}.ay-document-preview-footer{padding:10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));gap:8px}.ay-document-preview-footer .ay-button{flex:auto;justify-content:center}.ay-pdf-viewer__scroll{touch-action:pan-y pinch-zoom}}