html{-webkit-text-size-adjust:100%;text-size-adjust:100%}.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:.05em;text-transform:uppercase;border-bottom:0;padding:10px 15px;font-size:.62rem;font-weight:700}.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, var(--ui-skel-base) 25%, var(--ui-skel-hi) 50%, var(--ui-skel-base) 75%);background-size: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:.05em;text-transform:uppercase;font-size:.62rem;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);font:inherit;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-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-chart-history-pill[aria-expanded=true]{border-color:var(--ui-accent);color:var(--ui-text)}.ay-chart-history-pill svg.cm-chevron{color:var(--ui-accent);opacity:1}@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:.62rem;font-weight:700}.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-note-auto-meta{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);max-width:100%;color:var(--ui-muted);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-auto-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:.62rem;font-weight:700}.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}.ay-plan-manual-entry .ay-button{padding:8px 11px;font-size:.7rem}.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:.7rem}.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:.62rem;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:1.8px;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--labelled{align-items:center;gap:var(--ui-space-2);width:auto;min-height:44px;padding:0 var(--ui-space-4);font:inherit;font-size:.84rem;font-weight:600;display:inline-flex}.ay-ai-regenerate--labelled:after{inset:0}.ay-ai-regenerate__label{white-space:nowrap}.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:.04em;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:.04em;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-body:has(>.ay-messages-layout){container-type:size}.ay-chart-body>.ay-messages-layout>.ay-messages-card{height:max(300px,100cqh);overflow:hidden}.ay-chart-body>.ay-messages-layout>.ay-messages-card>.ay-clinical-card__header,.ay-chart-body>.ay-messages-layout>.ay-messages-card>.ay-message-composer{flex:none}.ay-chart-shell .ay-chart-body>.ay-messages-layout>.ay-messages-card>.ay-message-thread,.ay-chart-body>.ay-messages-layout>.ay-messages-card>.ay-section-empty{flex:auto;min-height:0;max-height:none}.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:.05em;text-transform:uppercase;margin-bottom:3px;font-size:.62rem;font-weight:700;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;letter-spacing:.05em;font-size:.62rem;font-weight:700}.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:.64rem;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:.05em;text-transform:uppercase;font-size:.62rem;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{grid-template-columns:minmax(0,1fr);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:.05em;text-transform:uppercase;font-size:.62rem;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:.05em;text-transform:uppercase;font-size:.62rem;font-weight:700}.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-text-soft);font-size:.76rem;font-weight:620}.document-filter-field .cm-select__trigger{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 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 - 56px - 64px - var(--ay-billing-banner-h,0px));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{--chart-body-pad-top:12px;padding:var(--chart-body-pad-top) 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)) max(7px,env(safe-area-inset-left));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:.7rem}.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}.ay-settings-assistant-composer .ay-button{min-height:38px;padding:8px 11px;font-size:.7rem}.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:.62rem;font-weight:700}.ay-settings-step-nav__group:first-of-type{margin-top:0}.ay-settings-step-nav button .ay-settings-step-nav__name{gap:1px;min-width:0;font-style:normal;display:grid}.ay-settings-step-nav button .ay-settings-step-nav__name small{color:var(--ui-muted);font-size:.72rem;font-weight:600}.ay-settings-step-nav button[data-not-in-plan=true]:not(.is-selected){color:var(--ui-muted)}.ay-not-in-plan{align-content:start;gap:10px;min-width:0;display:grid}.ay-not-in-plan__note{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);color:var(--ui-text);margin:0;padding:10px 12px;font-size:.92rem;line-height:1.4}.ay-not-in-plan__body{gap:inherit;border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-width:0;color:var(--ui-muted);cursor:not-allowed;user-select:none;padding:2px;display:grid}.ay-not-in-plan__body :is(h2,h3,h4,p,label,span,strong,small,legend,li,a,button,input,textarea,select,.ui-input){color:var(--ui-muted)}.ay-not-in-plan__body :is(.ay-settings-group-card,.ui-input,input,textarea,select,button){background:var(--ui-surface-muted);border-color:var(--ui-border);box-shadow:none}.ay-not-in-plan__body .ay-status-pill{background:var(--ui-surface-muted);color:var(--ui-muted)}.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>.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:.76rem}.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.ay-auth-checking>.ay-spinner{border-width:3px;border-color:var(--ui-accent-soft);border-top-color:var(--ui-accent);flex-basis:38px;width:38px;height:38px;animation-duration:.72s}.ay-workspace-main>.ay-auth-flow.ay-auth-checking{flex:auto;align-self:stretch;width:100%}.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}button.ay-auth-link:disabled{opacity:.55;cursor:default;color:var(--ui-accent);-webkit-text-fill-color:currentColor;background:0 0;border-color:#0000}.ay-auth-link.ay-auth-link--switch{white-space:normal;justify-self:start;margin-top:-6px;padding:8px 0;font-size:.8125rem}.ay-auth-options-end{align-items:center;gap:6px;display:flex}.ay-auth-flow .ay-auth-wide,.ay-auth-flow .ay-auth-submit .ay-button{min-height:44px}.ay-auth-flow .ay-auth-wide{width:100%}.ay-auth-welcome{gap:12px;display:grid}.ay-auth-welcome .ay-auth-other-passkey{justify-self:center;margin-top:-6px;font-size:.8125rem}.ay-auth-welcome .ay-auth-other-passkey:disabled{opacity:.55;cursor:default;color:var(--ui-accent);-webkit-text-fill-color:currentColor;background:0 0;border-color:#0000}.ay-auth-chip{border:1px solid var(--ui-border);background:var(--ui-surface-muted);border-radius:999px;align-items:center;gap:10px;min-width:0;min-height:44px;margin-bottom:10px;padding:4px 12px 4px 4px;display:flex}.ay-auth-welcome .ay-auth-chip{margin-bottom:8px}.ay-lock__flow .ay-auth-chip{margin-bottom:0}.ay-auth-chip__avatar{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);width:28px;height:28px;color:var(--ui-accent);border-radius:50%;flex:0 0 28px;place-items:center;font-size:.72rem;font-weight:700;line-height:1;display:grid}.ay-auth-chip__email{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ui-text);flex:auto;font-size:.86rem;font-weight:650;overflow:hidden}.ay-auth-chip .ay-auth-chip__not-you{white-space:nowrap;border-radius:999px;flex:none;min-height:44px;margin:-4px -6px -4px 0;padding:0 8px;font-size:.8125rem}.ay-auth-chip .ay-auth-chip__not-you:disabled{opacity:.55;cursor:default;color:var(--ui-accent);-webkit-text-fill-color:currentColor;background:0 0;border-color:#0000}.ay-auth-passkey-link{border-radius:var(--ui-radius-sm);min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;justify-self:center;align-items:center;gap:7px;margin-top:2px;padding:8px 14px;font-size:.8125rem;font-weight:700;display:inline-flex}.ay-auth-passkey-link svg{flex:none}.ay-auth-passkey-link:disabled{opacity:.55;cursor:default;color:var(--ui-accent);-webkit-text-fill-color:currentColor;background:0 0;border-color:#0000}@media (hover:hover) and (pointer:fine){.ay-auth-passkey-link:hover:not(:disabled){background:var(--ui-accent-soft)}}.ay-auth-flow .ay-auth-signup{color:var(--ui-muted);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:4px;margin:-8px 0 -12px;font-size:.8125rem;line-height:1.4;display:flex}.ay-auth-signup__link{min-height:44px;color:var(--ui-accent);align-items:center;padding:0 2px;font-weight:700;text-decoration:none;display:inline-flex}@media (hover:hover) and (pointer:fine){.ay-auth-signup__link:hover{text-decoration:underline}}.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}.ay-lock-content{display:contents}.ay-lock{z-index:400;overscroll-behavior:contain;background:var(--ui-canvas);animation:ay-lock-in .2s var(--ui-ease-out) both;place-items:center;padding:clamp(16px,5vw,64px) 16px;display:grid;position:fixed;inset:0;overflow-y:auto}.ay-lock .ay-lock__card{min-height:0;animation:ay-lock-card-in .22s var(--ui-ease-out) both}.ay-lock__flow{animation:ay-lock-step-in .2s var(--ui-ease-out) both}.ay-lock__flow form{gap:10px}.ay-lock__back{justify-self:center}.ay-lock .ay-button{min-height:44px}.ay-lock__footer{border-top:1px solid var(--ui-border);color:var(--ui-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 6px;margin:0;padding-top:12px;font-size:.78rem;display:flex}.ay-lock__footer .ay-auth-link{font-size:.8125rem}.ay-why{border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);color:var(--ui-text-soft);margin:0;padding:10px 12px;font-size:.76rem;line-height:1.5}.ay-auth-flow .ay-why{color:var(--ui-text-soft);font-size:.76rem}.ay-why strong{color:var(--ui-text);font-weight:700}@keyframes ay-lock-in{0%{opacity:0}}@keyframes ay-lock-card-in{0%{opacity:0;transform:translateY(6px)}}@keyframes ay-lock-step-in{0%{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.ay-lock .ay-lock__card,.ay-lock__flow{animation-name:ay-lock-in}}@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>.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:.86rem;font-weight:650}.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?v=602d23d1e2cb)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?v=b5a37861949c)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?v=2add7d60b1cd)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?v=ce85091f0209)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?v=609856a4affa)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?v=c1453c361ea1)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?v=3b3cae4d2600)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}.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}.flex-wrap{flex-wrap:wrap}.gap-2{gap:8px}.gap-3{gap:12px}.ml-auto{margin-left:auto}.mb-1{margin-bottom:4px}.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)}.ay-button--soft{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-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,.ay-button--danger{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.btn-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{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{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}.actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.ui-card h3{color:var(--ui-text);margin:0;font-size:.9rem;font-weight:650}.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}.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-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{--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-box-archive{--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-user,.fa-user-check,.fa-user-lock{--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-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-clipboard{--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-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{--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-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-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-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{--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{--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-arrows-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-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{--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-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-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-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-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")}@keyframes ui-spin{to{transform:rotate(360deg)}}@media (width<=720px){.ui-dialog,.dashboard-dialog{width:100%;max-height:calc(100dvh - 18px)}.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}#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}.icon-tile{border-radius:var(--ui-radius);background:var(--ui-accent-soft);color:var(--ui-accent);place-items:center;display:grid}.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}#loginForm 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}#mfaEnrollmentModal,.attachment-preview-modal{place-items:center;display:grid;z-index:100!important;background:#18222780!important;padding:18px!important;position:fixed!important;inset:0!important}#mfaEnrollmentModal{z-index:150!important}#mfaEnrollmentModal.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}.settings-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{justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;display:flex}.dashboard-settings-header{border-bottom:1px solid var(--ui-border)}.dashboard-settings-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-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-status{color:var(--ui-muted);align-items:center;gap:9px;font-size:.8rem;display:flex}.attachment-preview-status.is-error{color:var(--ui-danger)}.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-end{flex:none;align-self:stretch;align-items:center;gap:2px;margin:-1px -12px -1px 0;display:flex}.ay-search-all-action{border:0;border-left:1px solid var(--ui-border);border-radius:0 var(--ui-radius-sm) var(--ui-radius-sm) 0;color:var(--ui-accent);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;flex:none;align-self:stretch;margin:0;padding:0 12px;font-size:.74rem;font-weight:650}.workspace-search:has(.ay-search-end) .workspace-search-input{padding-right:4px}.ay-search-all-action:hover{background:var(--ui-accent-soft)}.ay-search-all-action:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}.ay-search-all-action__short{display:none}.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:.62rem;font-weight:700;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:.05em;text-transform:uppercase;border-bottom:0;padding:0 15px;font-size:.62rem;font-weight:700}.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)}.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{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.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{border-color:var(--ui-referral-border);background:var(--ui-referral-soft);color:var(--ui-referral)}.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}.queue-section-label{border-bottom:1px solid var(--ui-border);color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;background:#fafbfb;padding:10px 14px 7px;font-size:.62rem;font-weight:700}.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:.62rem;font-weight:700}.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 .cm-select__trigger.ui-input{padding:0 11px;line-height:40px}@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 .cm-select__trigger.ui-input{padding:0 8px 0 9px}}.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}.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:.05em;text-transform:uppercase;font-size:.62rem;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-modal-header-right,.patient-detail-modal-header-right:empty{display:none}.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}.status-dot.is-checked{background:var(--ui-success-soft);color:var(--ui-success);border-color:#9acdaf}.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}.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}.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}.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,.patient-data-highlights,.patient-attachments,.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}.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}.patient-detail-field-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:12px;display:flex}.patient-detail-field-actions-buttons{flex-wrap:wrap;gap:7px;display:flex}.patient-data-highlight-label{color:var(--ui-text-soft);font-size:.76rem;font-weight:650}.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}.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 .cm-select__trigger{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>.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}.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--stalled .wellness-queue-group-header{background:var(--ui-warning-soft,var(--ui-info-soft))}.stalled-patients-body{align-content:start;gap:8px;padding:10px 14px;display:grid}.stalled-patients-tip{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.45}.stalled-patients-status{color:var(--ui-text-soft);flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:.76rem;display:flex}.stalled-patients-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.stalled-patient{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm,10px);background:var(--ui-surface);grid-template-columns:minmax(0,1.4fr) auto minmax(0,.8fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.stalled-patient__name{min-width:0;color:var(--ui-text);font:inherit;text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;font-size:.8rem;font-weight:650;overflow:hidden}.stalled-patient__name:hover{color:var(--ui-accent-hover,var(--ui-accent));text-decoration:underline}.stalled-patient__name:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:4px}.stalled-patient__wait{color:var(--ui-text-soft);white-space:nowrap;font-size:.72rem}.stalled-patient__action{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.stalled-patient__action .ay-button{align-items:center;gap:6px;min-height:32px;font-size:.72rem;display:inline-flex}.stalled-patient__result{color:var(--ui-success);font-size:.7rem;font-weight:600}.stalled-patient__result.is-error{color:var(--ui-danger);font-weight:500}@media (width<=720px){.stalled-patient{grid-template-columns:minmax(0,1fr) auto}.stalled-patient__status{justify-self:end}.stalled-patient__action{grid-column:1/-1;justify-content:flex-start}}.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, var(--ui-skel-base) 25%, var(--ui-skel-hi) 50%, var(--ui-skel-base) 75%);background-size: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}.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}.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 .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){.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}.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 .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,.patient-data-highlights,.patient-attachments,.clinical-chart-section,.clinical-surface .document,.clinical-surface .panel,.clinical-surface fieldset,.wellness-program-card,.wellness-answer-card{padding:16px}.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]),.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}#pinGate>.card{width:min(404px,100vw - 40px);height:min(440px,100dvh - 40px);min-height:min(440px,100dvh - 40px);padding:22px 20px}#mfaEnrollmentModal,.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}.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,.ay-alert-panel{transition:none}.patient-attachment-skeleton .patient-attachment-icon,.patient-attachment-skeleton-action,.patient-attachment-skeleton-line,.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")}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-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-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-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{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-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-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-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-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] .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}@keyframes config-loading-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){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{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}.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}.custom-card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.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}.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}.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}.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))}.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)}.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-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}.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}.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}.staff-lookup{flex-wrap:wrap;padding-bottom:16px}.staff-lookup label{flex:240px}.referral-editor{gap:13px;display:grid}.status-pill{border:1px solid var(--ui-border);border-radius:999px;padding:4px 8px;font-size:.66rem;font-weight:620;display:inline-flex}@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{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{grid-template-columns:1fr}.field--wide,.config-card--wide{grid-column:auto}.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}.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-availability{grid-column:1/-1}.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)}.notification-settings>.notification-settings-form{max-width:none}.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-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-failure-list{gap:8px;display:grid}.notification-failure-list>p{color:var(--ui-text-soft);margin:0;font-size:.71rem}@media (width<=760px){.settings-form-grid{grid-template-columns:1fr!important}.completion-role-grid,.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}}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:.7rem}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:1.8px;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.8px;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:.76rem}.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(.86rem,14px);font-weight:650;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:88px;--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:.78rem;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:.77rem}.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 8px;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:72px;min-height:56px;color:var(--ui-muted);letter-spacing:-.01em;background:0 0;border:1px solid #0000;border-radius:12px;place-items:center;gap:3px;padding:7px 0;font-size:12.5px;font-weight:650;display:grid}.portal-shell .portal-rail-button svg{width:21px;height:21px}.portal-shell .portal-rail-button.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}@media (hover:hover) and (pointer:fine){.portal-shell .portal-rail-button:hover{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(--portal-bell-red);color:#fff;font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;width:22px;min-width:22px;height:22px;padding:0;font-size:.765rem;font-weight:750;line-height:1;display:grid;top:-1px;right:0}.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:.77rem;font-weight:750}.portal-shell .portal-account-button.is-selected{box-shadow:0 0 0 3px var(--ui-accent-soft)}@media (hover:hover) and (pointer:fine){.portal-shell .portal-account-button:hover{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);transform-origin:0 100%;animation:portal-menu-in .14s var(--ui-ease-out) backwards;border-radius:13px;padding:8px;position:fixed}.portal-shell .portal-account-popover.is-leaving{pointer-events:none;animation:portal-menu-out .1s var(--ui-ease-out) forwards}.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:.8rem;overflow:hidden}.portal-shell .portal-account-identity span{color:var(--ui-muted);font-size:.77rem}.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;justify-content:flex-start;align-items:center;gap:12px;padding:8px 10px;font-size:.78rem;font-weight:620;display:flex}.portal-shell .portal-account-menu-grid button>span{white-space:nowrap;text-align:left;min-width:0}@media (hover:hover) and (pointer:fine){.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)}@media (hover:hover) and (pointer:fine){.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:.8rem;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-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{gap:var(--portal-home-section-gap,16px) var(--portal-home-card-gap,16px);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.portal-shell .portal-home-messages{grid-column:1/-1}.portal-shell .portal-home-wellness{gap:var(--portal-home-tile-gap,12px);grid-column:1/-1;margin-top:8px;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:6px 0 0;font-size:.8rem;line-height:1.5}.portal-shell .portal-wellness-metrics{gap:var(--portal-home-tile-gap,14px);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.portal-shell .portal-wellness-metric{min-height:232px;padding:var(--portal-home-card-pad,20px);border:1px solid color-mix(in srgb, var(--ui-border) 72%, transparent);border-radius:var(--portal-card-radius);box-shadow:var(--portal-card-shadow);grid-template-rows:auto auto 64px auto;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;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);font-size:.77rem;font-weight:650}.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:.77rem;line-height:1.4;display:flex}.portal-shell .portal-wellness-metric__detail{color:var(--ui-muted);grid-column:1/-1;font-size:.77rem}@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:0;text-transform:none;font-size:.8rem;font-weight:650}.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:.77rem;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:6px 0 0;font-size:.77rem;line-height:1.5}.portal-shell .portal-next-task time{color:var(--ui-accent);margin-top:7px;font-size:.77rem;font-weight:700;display:block}.portal-shell .portal-message-preview-list{gap:8px;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:12px;padding:12px 8px;display:grid;position:relative}@media (hover:hover) and (pointer:fine){.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:.77rem;font-weight:750;display:grid}.portal-shell .portal-message-preview__body{gap:4px;min-width:0;display:grid}.portal-shell .portal-message-preview strong{color:var(--ui-text);font-size:.77rem}.portal-shell .portal-message-preview small{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;overflow:hidden}.portal-shell .portal-message-preview time{color:var(--ui-muted);white-space:nowrap;font-size:.77rem}.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:.77rem;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:.77rem!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:.77rem;display:flex}.portal-shell .ay-message-status .is-reviewed{color:var(--ui-success);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:.77rem;font-weight:650;line-height:1.2;display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.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:.77rem;font-weight:750}.portal-shell .portal-attachment-name{overflow-wrap:anywhere;color:var(--ui-text-soft);flex:120px;font-size:.77rem}.portal-shell .portal-attachment-error{color:var(--ui-danger);font-size:.77rem}.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:.8rem;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,10px);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:.77rem!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}@media (hover:hover) and (pointer:fine){.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:.77rem;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}@media (hover:hover) and (pointer:fine){.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:.77rem}.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:.77rem;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:.77rem}.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:.77rem;line-height:1.45}.portal-shell .portal-document-notice time{color:var(--ui-muted);flex:none;font-size:.77rem}.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,240px) minmax(0,max-content);justify-content:start;align-items:end;gap:12px 14px;display:grid}.portal-shell .portal-upload-category,.portal-shell .portal-upload-file-field{gap:7px;min-width:0;display:grid}.portal-shell .portal-upload-category{position:relative}.portal-shell .portal-upload-file-field>.ui-field__label{color:var(--ui-text-soft);font-size:.8rem;font-weight:680}.portal-shell .portal-upload-file-row{grid-template-columns:auto minmax(72px,132px);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{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:.77rem;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:.77rem;display:flex}.portal-shell .portal-upload-list{border-top:1px solid var(--ui-border);padding-top:18px}.portal-shell .portal-upload-card .portal-card__body{align-content:start;gap:18px;display:grid}.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:.77rem}.portal-shell .portal-upload-row small{color:var(--ui-muted);font-size:.77rem}.portal-shell .portal-upload-status{color:var(--ui-accent);flex:none;font-size:.77rem;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-booking{border-top:1px solid var(--ui-border);justify-items:start;gap:8px;padding-top:12px;display:grid}.portal-shell .portal-checkin-booking p{color:var(--ui-text-soft);margin:0;font-size:.78rem;line-height:1.5}.portal-shell .portal-checkin-start .ui-field__label,.portal-shell .portal-checkin-submit .ui-field__label{color:var(--ui-text-soft);font-size:.8rem;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:.77rem;line-height:1.45}.portal-shell .portal-review-checkbox{color:var(--ui-text-soft);align-items:flex-start;gap:8px;font-size:.77rem;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:.77rem;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}@media (hover:hover) and (pointer:fine){.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:.77rem;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:.8rem;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:.77rem;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:.77rem;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:.8rem;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:.77rem}.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:.78rem}.portal-shell .portal-settings-nav button[aria-selected=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}@media (hover:hover) and (pointer:fine){.portal-shell .portal-settings-nav button:hover{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:.77rem;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:.77rem;line-height:1.5}.portal-shell .portal-settings-footer{color:var(--ui-muted);font-size:.77rem;line-height:1.5}.portal-shell .portal-dialog-backdrop{z-index:150;background:var(--ui-overlay);animation:portal-fade-in .18s var(--ui-ease-out) both;place-items:center;padding:18px;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:.77rem;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:.8rem;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:.77rem}.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:.77rem}.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-stage>.ay-pdf-viewer__status{box-sizing:border-box;flex-direction:column;gap:12px;height:100%}.portal-shell .portal-document-dialog-stage .ay-spinner{border-width:3px;flex-basis:24px;width:24px;height:24px}.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:.8rem;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:.77rem;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:.8rem;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}@media (hover:hover) and (pointer:fine){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 .portal-signin-options>label.portal-remember-me{min-height:32px;color:var(--ui-text-soft);cursor:pointer;align-items:center;gap:8px;margin:0;font-size:.77rem;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:.77rem;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:.77rem;font-weight:680}@media (hover:hover) and (pointer:fine){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}}@keyframes portal-fade-out{0%{opacity:1}to{opacity:0}}@keyframes portal-menu-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes portal-menu-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(2px)}}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.is-selected{background:var(--ui-accent-soft)}@media (hover:hover) and (pointer:fine){html.clinical-ui.dark .portal-shell .portal-rail-button:hover{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:72px;padding:6px max(4px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));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:2px;display:flex;position:fixed;bottom:0;left:0;right:0}.portal-shell .portal-mobile-nav__item{width:20%;min-height:56px;color:var(--ui-muted);letter-spacing:-.01em;background:0 0;border:1px solid #0000;border-radius:11px;align-content:center;place-items:center;gap:3px;padding:6px 0;font-size:.765rem;font-weight:650;display:grid;position:relative}.portal-shell .portal-mobile-nav__item svg{width:20px;height:20px}.portal-shell .portal-mobile-nav__item.is-selected{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}@media (hover:hover) and (pointer:fine){.portal-shell .portal-mobile-nav__item:hover{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(--portal-bell-red);color:#fff;font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;width:22px;min-width:22px;height:22px;padding:0;font-size:.765rem;font-weight:750;line-height:1;display:grid;position:absolute;top:-1px;right:8%}.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-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:56px;color:var(--ui-muted);background:0 0;border:1px solid #0000;border-radius:11px;align-content:center;place-items:center;gap:3px;padding:6px 0;font-size:.765rem;font-weight:650;display:grid}.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}@media (hover:hover) and (pointer:fine){.portal-shell .portal-mobile-account-button:hover{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;letter-spacing:0;width:26px;height:26px;margin-block:-3px;font-size:.765rem}.portal-shell .portal-account-popover--mobile{right:max(8px, env(safe-area-inset-right));bottom:calc(80px + env(safe-area-inset-bottom));transform-origin:100% 100%;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{text-align:left;justify-content:flex-start;justify-self:stretch;align-items:center;gap:12px;max-width:none;min-height:42px;padding:8px 10px;display:flex;width:100%!important}.portal-shell .portal-account-popover--mobile .portal-account-menu-grid button>span{text-overflow:ellipsis;white-space:nowrap;text-align:left;flex:0 auto;overflow:hidden}.portal-shell .portal-upload-controls{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-upload-file-row{grid-template-columns:auto minmax(72px,1fr)}.portal-shell .portal-upload-category{max-width:100%}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal] .portal-shell .portal-upload-category .cm-select__trigger{background-color:#fff}.portal-shell .ay-button{min-height:40px;padding:8px 12px;font-size:.78rem}}@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)}.portal-shell .portal-upload-choose{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-checkin-submitted,.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-submitted,.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:.77rem;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:.77rem;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:.77rem;display:flex}.portal-shell .portal-checkin-attachment-list li span:first-child{color:var(--ui-muted);font-size:.77rem;font-weight:700}.portal-shell .portal-checkin-uploading{color:var(--ui-muted);margin:0;font-size:.77rem}.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}@media (hover:hover) and (pointer:fine){.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-property:opacity,color,background-color,border-color,box-shadow!important;transition-duration:.12s!important;transition-timing-function:linear!important;animation-duration:1ms!important;animation-iteration-count:1!important}.portal-shell .portal-page,.portal-shell .portal-dialog,.portal-shell .portal-dialog-backdrop{animation:.12s linear both portal-fade-in!important}.portal-shell .portal-document-backdrop.is-closing,.portal-shell .portal-document-backdrop.is-closing .portal-document-dialog{animation:.1s linear forwards portal-fade-out!important}.portal-shell .portal-account-popover{animation:.12s linear backwards portal-fade-in!important}.portal-shell .portal-account-popover.is-leaving{animation:.1s linear forwards portal-fade-out!important}.portal-shell .portal-wellness-metric__plot{animation:.16s linear both portal-spark-fade!important}.portal-shell .portal-mobile-nav__item:active,.portal-shell .ay-button:active{transform:none!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}.portal-shell .portal-documents-grid.is-no-notices{grid-template-columns:minmax(0,1fr)}.portal-shell .portal-documents-grid.is-no-notices .portal-document-notices-card{grid-area:3/1}.portal-shell .portal-documents-grid.is-no-notices .portal-document-notices-card .portal-card__body{padding-block:12px}.portal-shell .portal-documents-grid.is-no-notices .portal-document-notices-card .portal-state{min-height:0;padding-block:10px}.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);text-align:center;border-radius:999px;justify-content:center;align-items:center;width:auto;padding:6px 12px;font-weight:680;position:absolute;top:24px;right:22px;color:var(--ui-warning)!important;margin:0!important;font-size:.77rem!important;line-height:1.2!important}.portal-shell .portal-message-warning--top:focus-visible{background:var(--ui-warning-soft);color:var(--ui-warning)!important}@media (hover:hover) and (pointer:fine){.portal-shell .portal-message-warning--top:hover{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)}@media (hover:hover) and (pointer:fine){.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:#0f1113;--ui-surface:#1f2427;--ui-surface-soft:#1b1f22;--ui-surface-muted:#262b2f;--ui-border:#2a3136;--ui-border-strong:#3a4248;background:var(--ui-canvas)}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:var(--ui-canvas)}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell{--portal-card-surface:#16191c;--portal-subtle-surface:#1b1f22;--portal-chrome-surface:#121518;--portal-warm:#1b1f22;--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:var(--portal-subtle-surface)}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:.8rem;--portal-action-height:40px;--portal-action-font:.78rem}.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)}@media (hover:hover) and (pointer:fine){.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}@media (hover:hover) and (pointer:fine){.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,10px);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}@media (hover:hover) and (pointer:fine){.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{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,10px);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:.77rem}.portal-shell .portal-settings-readonly>p span{color:var(--ui-muted);font-size:.77rem;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:.77rem;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:.77rem}.portal-shell .portal-preference-options small{color:var(--ui-muted);font-size:.77rem;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:.77rem;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:.77rem;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:.77rem}.portal-shell .portal-security-status p{color:var(--ui-muted);margin:3px 0 0;font-size:.77rem;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:.77rem}.portal-shell .portal-settings-action-row span{color:var(--ui-muted);font-size:.77rem;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:.77rem}.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:.77rem}.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}@media (hover:hover) and (pointer:fine){.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:var(--ui-surface-muted)}.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:.8rem;font-weight:700;line-height:1.35}.portal-shell .portal-profile-card .ay-button:disabled{border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-muted)}@media (hover:hover) and (pointer:fine){.portal-shell .portal-profile-card .ay-button:disabled:hover{border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-muted)}}.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:.77rem;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:.77rem}.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}@media (hover:hover) and (pointer:fine){.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}@media (hover:hover) and (pointer:fine){.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:.77rem}.portal-shell .portal-profile-photo__copy small{color:var(--ui-muted);font-size:.77rem;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:.77rem;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%)}@media (hover:hover) and (pointer:fine){.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:.77rem;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:.77rem;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:.78rem}.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 .cm-select__trigger{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:.77rem;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:.77rem;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:20px;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:.77rem;font-weight:720}.portal-shell .portal-next-task h3{margin-top:0;font-size:.9rem}.portal-shell .portal-next-task time{margin-top:12px;font-size:.77rem}.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);flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:12px 20px;display:flex}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell{--portal-neutral-chrome:#1b1f22;--portal-neutral-body:#16191c;--portal-header-green:#1a2c22;--portal-header-blue:#1a2a3a;--portal-header-red:#33201f;--portal-header-purple:#2a2238}@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:16px}.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{flex-direction:column;padding:10px 16px}.portal-shell .portal-checkin-unavailable__footer .ay-button,.portal-shell .portal-checkin-booking .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-hover-border:#b8d2d5;--portal-chrome-selected:#e2f2f3;--portal-chrome-selected-text:#00515d;--portal-chrome-selected-border:#9fcbd0;--portal-chrome-selected-hover:#d6eaec;--portal-chrome-mark-bg:#e9f5f6;--portal-chrome-mark-border:#a8cfd3;--portal-chrome-mark-text:#005965;--portal-chrome-mark-ink:#00343c;--portal-chrome-ring:#7cdde342;--portal-chrome-focus:#7cdde361;--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{border-color:var(--portal-chrome-mark-border);background:var(--portal-chrome-mark-bg);color:var(--portal-chrome-mark-text)}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)}@media (hover:hover) and (pointer:fine){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{border-color:var(--portal-chrome-hover-border);background:var(--portal-chrome-hover);color:var(--portal-chrome-foreground)}}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{border-color:var(--portal-chrome-selected-border);background:var(--portal-chrome-selected);color:var(--portal-chrome-selected-text)}@media (hover:hover) and (pointer:fine){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{background:var(--portal-chrome-selected-hover);color:var(--portal-chrome-selected-text)}}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{background:var(--portal-bell-red);color:#fff;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{border:1px solid var(--portal-chrome-mark-border);background:var(--portal-chrome-mark-bg);color:var(--portal-chrome-mark-ink)}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.is-selected .portal-account-initials{box-shadow:0 0 0 3px var(--portal-chrome-ring)}@media (hover:hover) and (pointer:fine){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-mobile-account-button:hover .portal-account-initials{box-shadow:0 0 0 3px var(--portal-chrome-ring)}}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 var(--portal-chrome-focus)}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.8px;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}@media (display-mode:standalone) and (hover:hover) and (pointer:fine){html[data-theme-surface=scribe]{zoom:.9}html[data-theme-surface=scribe] body{min-height:111.111dvh}html[data-theme-surface=scribe] .ay-shell--workspace{height:111.111dvh}}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:.88rem;font-weight:680}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-right)) env(safe-area-inset-bottom) max(var(--scribe-gutter), env(safe-area-inset-left));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:.8125rem;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-tabbar--practice{padding-inline:max(var(--scribe-gutter), env(safe-area-inset-left), calc((100% - 640px) / 2)) max(var(--scribe-gutter), env(safe-area-inset-right), calc((100% - 640px) / 2));grid-template-columns:repeat(3,minmax(0,1fr))}html[data-theme-surface=scribe] .scribe-tabbar--practice .scribe-tab{font-size:.8125rem}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,:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-page{width:100%;min-width:0}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-actions{gap:10px;display:grid}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-button--wide{justify-content:center;align-items:center;gap:8px;width:100%;min-height:50px;font-size:.875rem;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:.8125rem;font-weight:650;display:inline-flex}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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] .dashboard-masthead-actions{margin-right:-10px}html[data-theme-surface=scribe] .scribe-refresh-button{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}@media (hover:hover) and (pointer:fine){html[data-theme-surface=scribe] .scribe-refresh-button:hover{background:var(--ui-accent-soft);color:var(--ui-text)}}html[data-theme-surface=scribe] .scribe-refresh-button:active{background:var(--ui-accent-soft);transform:scale(.94)}html[data-theme-surface=scribe] .scribe-refresh-button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=scribe] .ay-auth-card__body>.scribe-notice{margin-bottom:16px}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);height:12px;animation:1.4s ease-in-out infinite scribe-breathe;animation-delay:var(--scribe-breathe-delay,0s);border-radius:6px}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}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder{text-align:center;justify-items:center;gap:20px}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__patient{justify-items:center;gap:8px;display:grid}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__patient h2{letter-spacing:-.01em;margin:0;font-size:1.2rem}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__stage{justify-items:center;gap:6px;padding:24px 0 8px;display:grid}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);width:120px;height:120px;color:var(--ui-accent);font:inherit;cursor:pointer;transition:transform .12s var(--ui-ease-out), background-color .16s var(--ui-ease-out), color .16s var(--ui-ease-out), border-color .16s var(--ui-ease-out);border-radius:50%;place-items:center;margin-bottom:14px;padding:0;display:grid;position:relative}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse svg.lucide{fill:currentColor;width:40px;height:40px;transition:opacity .16s var(--ui-ease-out), transform .16s var(--ui-ease-out);grid-area:1/1;position:relative}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse span{border:2px solid var(--ui-accent-border);pointer-events:none;animation:scribe-pulse 1.8s var(--ui-ease-out) infinite;border-radius:50%;position:absolute;inset:-1px}@keyframes scribe-pulse{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.45)}}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__timer{letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:0;font-size:3rem;font-weight:600;line-height:1}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__status{color:var(--ui-muted);margin:0;font-size:.8rem}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder .scribe-notice{text-align:left;width:100%}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__controls{justify-items:center;gap:6px;width:100%;margin-top:8px;display:grid}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-stop{border:1px solid var(--ui-danger-border);background:var(--ui-danger-soft);width:100%;max-width:360px;height:56px;color:var(--ui-danger);font:inherit;cursor:pointer;transition:transform .12s var(--ui-ease-out), background-color .16s var(--ui-ease-out), color .16s var(--ui-ease-out);border-radius:999px;justify-content:center;align-items:center;gap:10px;padding:0 24px;font-size:1rem;font-weight:700;line-height:1;display:inline-flex}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-stop svg.lucide{fill:currentColor;flex:none;width:20px;height:20px}html.clinical-ui.dark[data-theme-surface=scribe] .ay-button--danger:hover{color:var(--ui-canvas)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-sheet h3{margin:0;font-size:1rem}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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%)}}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-progress p{color:var(--ui-text-soft);margin:0;font-size:.86rem}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-progress__status{align-items:center;gap:10px;display:flex}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-progress__bar{background:var(--ui-surface-soft);-webkit-appearance:none;appearance:none;border:0;border-radius:999px;width:100%;height:6px;overflow:hidden}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-progress__bar::-webkit-progress-bar{background:var(--ui-surface-soft);border-radius:999px}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-progress__bar::-webkit-progress-value{background:var(--ui-accent-fill);transition:width .3s var(--ui-ease-out);border-radius:999px}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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,:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-sheet,:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-sheet-backdrop,html[data-theme-surface=scribe] .scribe-done__mark,:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse span,html[data-theme-surface=scribe] .scribe-list__skeleton span{animation:none}:is(html[data-theme-surface=scribe],.chart-rec-modal) .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,.document-filter .cm-select__trigger,.document-filter-field .cm-select__trigger{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:.77rem;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-skel-base) 0%,var(--ui-skel-hi) 50%,var(--ui-skel-base) 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:.05em;text-transform:uppercase;padding:0 0 2px;font-size:.62rem;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-color-field .ay-color-field__control{flex:0 220px;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-gutter:stable;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)>*{scrollbar-gutter:auto;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-head.has-note{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"title note action";align-items:center;gap:4px 16px;display:grid}.ay-activity-head.has-note>h3{grid-area:title}.ay-activity-head__note{min-width:0;color:var(--ui-muted);font-size:var(--ord-text-meta,.75rem);grid-area:note;margin:0;line-height:1.4}.ay-activity-head.has-note>:not(h3):not(.ay-activity-head__note){grid-area:action;justify-self:end}@media (width<=760px){.ay-activity-head.has-note{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title action""note note"}}.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:.04em;text-transform:uppercase;border-radius:999px;flex:none;padding:3px 8px;font-size:.6rem;font-weight:750}.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:.05em;text-transform:uppercase;font-size:.62rem;font-weight:700}.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:.04em;text-transform:uppercase;border-radius:999px;flex:none;padding:3px 8px;font-size:.6rem;font-weight:750}.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:.05em;text-transform:uppercase;margin:0 0 12px;font-size:.62rem;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;--ord-block-gap:16px}@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-block-gap);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-block-gap)}.ay-order-form>.ay-order-block:first-child,.ay-order-form>:is(.ay-order-disclosure,.ay-rx-old)+.ay-order-block{--ord-pad:0;border-top:0;margin-top:0}fieldset.ay-order-block{column-gap:var(--ord-space-3);grid-template-columns:minmax(0,1fr) auto;row-gap:0}fieldset.ay-order-block>*{min-width:0;margin-top:var(--ord-space-4);grid-column:1/-1}fieldset.ay-order-block>legend{float:left;width:auto;max-width:100%;color:var(--ui-text);font-size:var(--ord-text-strong);grid-area:1/1;place-self:baseline start;margin:0;padding:0;font-weight:700;line-height:1.3}.ay-order-tag{color:var(--ui-muted);font-size:var(--ord-text-micro);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;grid-area:1/2;place-self:baseline end;margin:0;font-weight:700;line-height:1.3}fieldset.ay-order-block>.ay-order-tag{margin-top:0}.ay-order-tag.is-required{color:var(--ui-text)}fieldset.ay-order-block>:is(legend,.ay-order-tag)+:not(.ay-order-tag,.ay-order-block__hint){margin-top:var(--ord-space-3)}fieldset.ay-order-block>.ay-order-block__hint{margin-top:var(--ord-space-1)}fieldset.ay-order-block>.ay-order-block__hint+*{margin-top:var(--ord-space-3)}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:var(--ord-space-2)}.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-form fieldset.ay-order-block>:is(.ui-field:not(:has(textarea)),.ay-rx-allergies__row,.ay-rx-prn,.ay-order-grid,.ay-order-patient__fields){max-width:40rem}.ay-order-form fieldset.ay-order-block>.ay-rx-pharmacy__grid{max-width:52rem}.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,.cm-select__trigger,.cm-datefield).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-gridhead{justify-content:space-between;align-items:center;gap:var(--ord-space-3);display:flex}.ay-lab-gridhead .ay-lab-status{min-width:0;color:var(--ui-text-soft);overflow-wrap:anywhere}.ay-lab-gridhead .ay-lab-gridhead__hide{margin-right:calc(var(--ord-space-2) * -1);padding:0 var(--ord-space-2);box-shadow:none;color:var(--ui-accent);background:0 0;border-color:#0000;flex:none;font-weight:650}.ay-lab-gridhead .ay-lab-gridhead__hide:hover{color:var(--ui-accent-hover);background:0 0}fieldset.ay-order-block>.ay-lab-gridhead{margin-top:var(--ord-space-2)}fieldset.ay-order-block>.ay-lab-gridhead+.ay-lab-grid{margin-top:var(--ord-space-1)}.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-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__fields{gap:var(--ord-space-3) var(--ord-space-4);grid-template-columns:minmax(0,2fr) minmax(0,1fr);display:grid}.ay-order-patient__fields[hidden]{display:none}.ay-order-patient__fields>.ui-field{min-width:0}.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__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-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-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:stretch;gap:var(--ord-space-2);display:flex}.ay-rx-allergies__row>.ui-field{flex:auto}.ay-rx-allergies__row>.ay-button{min-height:var(--ord-hit);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:minmax(0,2fr) minmax(0,1fr) 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,.ay-menu__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,.ay-menu__toggle:hover{color:var(--ui-accent-hover)}.ay-dx-common__toggle:focus-visible,.ay-menu__toggle:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:4px}.ay-dx-common__toggle svg,.ay-menu__toggle svg{transition:transform var(--ui-duration-fast) var(--ui-ease-out)}.ay-dx-common__toggle[aria-expanded=true] svg,.ay-menu__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.ay-menu{gap:0 var(--ord-space-5);flex-wrap:wrap;min-width:0;display:flex}.ay-menu__anchor{min-width:0;position:relative}.ay-menu__slot{min-width:0}.ay-menu__panel{top:calc(100% + 4px);left:var(--ay-menu-shift,0px);z-index:30;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:min(360px,100vw - 32px);min-width:min(320px,100vw - 32px);box-shadow:var(--ui-shadow-popover);transform-origin:0 0;opacity:1;transition:opacity .16s var(--ui-ease-out), transform .16s var(--ui-ease-out);position:absolute;overflow:hidden;transform:none}.ay-menu__panel[data-side=above]{transform-origin:0 100%;top:auto;bottom:calc(100% + 4px)}@starting-style{.ay-menu__panel{opacity:0;transform:translateY(-4px)scale(.97)}.ay-menu__panel[data-side=above]{transform:translateY(4px)scale(.97)}}.ay-menu__head{justify-content:space-between;align-items:center;gap:var(--ord-space-3);padding:0 var(--ord-space-3) 0 var(--ord-space-1);border-bottom:1px solid var(--ui-border);background:var(--ui-surface-soft);display:flex}.ay-menu__back{min-height:var(--ord-hit);padding:0 var(--ord-space-2) 0 var(--ord-space-1);color:var(--ui-accent);font:inherit;font-size:var(--ord-text-body);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;font-weight:650;display:inline-flex}.ay-menu__back:hover{color:var(--ui-accent-hover)}.ay-menu__back:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px;border-radius:var(--ui-radius-sm)}.ay-menu__heading{min-width:0;color:var(--ui-text-soft);font-size:var(--ord-text-meta);font-weight:700}.ay-menu__list{max-height:min(320px, max(120px, calc(var(--ay-menu-room,9999px) - var(--ord-hit) - 2px)));overscroll-behavior:contain;margin:0;padding:0;list-style:none;overflow-y:auto}.ay-menu__list>li+li{border-top:1px solid var(--ui-border)}.ay-menu__row{width:100%;min-height:var(--ord-hit);align-items:center;gap:var(--ord-space-3);padding:6px var(--ord-space-3);color:var(--ui-text);font:inherit;font-size:var(--ord-text-body);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;line-height:1.35;display:flex}.ay-menu__label{overflow-wrap:anywhere;flex:auto;min-width:0}.ay-menu__count{color:var(--ui-muted);font-size:var(--ord-text-meta);font-variant-numeric:tabular-nums;flex:none}.ay-menu__row svg{color:var(--ui-muted);flex:none}.ay-menu__row.is-chosen{background:var(--ui-accent-soft);color:var(--ui-accent);font-weight:650}.ay-menu__row.is-chosen svg{color:var(--ui-accent)}.ay-menu__row:disabled{opacity:.55;cursor:not-allowed}.ay-menu__row:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}@media (hover:hover) and (pointer:fine){.ay-menu__row:hover:not(:disabled):not(.is-chosen){background:var(--ui-accent-soft)}}.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-patient__fields,.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,.ay-menu__toggle svg,.ay-menu__row{transition:none}.ay-menu__panel{transition:opacity .16s var(--ui-ease-out);transform:none}@starting-style{.ay-menu__panel,.ay-menu__panel[data-side=above]{transform: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}.ay-menu__tag{border:1px solid var(--ui-border-strong);color:var(--ui-text-soft);font-size:var(--ord-text-micro);letter-spacing:.02em;border-radius:999px;flex:none;padding:1px 7px;font-weight:700;line-height:1.5}.ay-menu__row.is-chosen .ay-menu__tag{border-color:var(--ui-accent-border);color:var(--ui-accent)}.ay-menu__detail{color:var(--ui-muted);font-size:var(--ord-text-meta);margin-top:2px;font-weight:500;line-height:1.35;display:block}.ay-menu__row.is-chosen .ay-menu__detail{color:var(--ui-accent)}.ay-olib-row{margin-top:var(--ord-space-3)}.ay-olib-save{gap:var(--ord-space-2);min-width:0;display:grid}.ay-olib-save__line{align-items:center;gap:2px var(--ord-space-3);flex-wrap:wrap;display:flex}.ay-olib-save__link{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-olib-save__link:hover:not(:disabled){color:var(--ui-accent-hover)}.ay-olib-save__link:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:4px}.ay-olib-save__link:disabled{color:var(--ui-muted);cursor:default}.ay-olib-save__form{gap:var(--ord-space-3);max-width:34rem;padding:var(--ord-space-3);border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);display:grid}.ay-olib-save__fields{gap:var(--ord-space-3);grid-template-columns:minmax(0,3fr) minmax(0,2fr);display:grid}.ay-olib-save__fields>.ui-field:only-child{grid-column:1/-1}.ay-olib-save__fields .ui-field,.ay-olib-save__form>.ui-field{gap:var(--ord-space-2)}.ay-olib-save__fields .ui-field__label,.ay-olib-save__form>.ui-field .ui-field__label{font-size:var(--ord-text-body)}.ay-olib-save__exam{color:var(--ui-text);font-size:var(--ord-text-body);overflow-wrap:anywhere;margin:0;font-weight:650;line-height:1.4}.ay-olib-save__to{max-width:300px}.ay-olib-save__actions{gap:var(--ord-space-2);flex-wrap:wrap;display:flex}.ay-olib-save__form .ay-button{min-height:var(--ord-hit);font-size:var(--ord-text-body)}.ay-olib,.ay-olib__save{--ord-text-micro:.6875rem;--ord-text-meta:.75rem;--ord-text-body:.8125rem;--ord-text-strong:.875rem;--ord-space-1:4px;--ord-space-2:8px;--ord-space-3:12px;--ord-space-4:16px;--ord-hit:40px;--ord-row-hit:36px}.ay-olib{gap:var(--ord-space-3);min-width:0;color:var(--ui-text);display:grid}@media (width<=640px){.ay-olib,.ay-olib__save{--ord-hit:44px;--ord-row-hit:40px}}.ay-olib__tabs{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.ay-olib .ay-olib__tab{min-height:var(--ord-hit);border:0;border-left:1px solid var(--ui-border-strong);color:var(--ui-text-soft);font:inherit;font-size:var(--ord-text-body);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);background:0 0;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-weight:620;line-height:1.25;display:flex}.ay-olib .ay-olib__tab:first-child{border-left:0}.ay-olib .ay-olib__tab:hover{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-olib .ay-olib__tab[aria-selected=true]{background:var(--ui-accent-fill);color:var(--ui-on-accent)}.ay-olib .ay-olib__tab:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-3px}.ay-olib__tab-count{background:var(--ui-surface-muted);min-width:20px;color:var(--ui-text-soft);font-size:var(--ord-text-micro);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;padding:0 6px;font-weight:700;line-height:1.6}.ay-olib .ay-olib__tab[aria-selected=true] .ay-olib__tab-count{color:var(--ui-on-accent);background:#ffffff38}.ay-olib__panel{gap:var(--ord-space-3);outline:0;min-width:0;display:grid}.ay-olib__modebar{display:flex}.ay-olib__segmented{width:100%;max-width:420px}.ay-olib__note{padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-border);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-olib__subhead{margin:var(--ord-space-2) 0 0;color:var(--ui-text-soft);font-size:var(--ord-text-meta);font-weight:700}.ay-olib__empty,.ay-olib__count{margin:0}.ay-olib__rows{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);margin:0;padding:0;list-style:none;overflow:hidden}.ay-olib__rows--builtin{background:var(--ui-surface-soft)}.ay-olib__row+.ay-olib__row{border-top:1px solid var(--ui-border)}.ay-olib__line{justify-content:space-between;align-items:flex-start;gap:var(--ord-space-3);padding:var(--ord-space-2) var(--ord-space-2) var(--ord-space-2) var(--ord-space-3);display:flex}.ay-olib__text{min-width:0;padding-block:var(--ord-space-1);gap:2px;display:grid}.ay-olib__title{align-items:center;gap:2px var(--ord-space-2);flex-wrap:wrap;min-width:0;display:flex}.ay-olib__title>b{color:var(--ui-text);font-size:var(--ord-text-body);overflow-wrap:anywhere;font-weight:650;line-height:1.35}.ay-olib__sub{color:var(--ui-text-soft);font-size:var(--ord-text-meta);overflow-wrap:anywhere;line-height:1.4}.ay-olib__meta{color:var(--ui-muted);font-size:var(--ord-text-meta);overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.ay-olib__actions{flex:none;align-items:center;gap:2px;display:flex}.ay-olib__actions .ay-button{min-height:var(--ord-row-hit);font-size:var(--ord-text-meta)}.ay-olib .ay-olib__edit-button{gap:5px;padding-inline:10px}.ay-olib .ay-olib__icon{width:var(--ord-row-hit);justify-content:center;padding:0}.ay-olib .ay-olib__icon:disabled{color:var(--ui-muted);background:0 0;border-color:#0000;opacity:.4!important}@media (hover:hover) and (pointer:fine){.ay-olib .ay-olib__icon--delete:hover:not(:disabled){color:var(--ui-danger)}}.ay-olib__edit{gap:var(--ord-space-3);padding:var(--ord-space-3);border-top:1px solid var(--ui-border);background:var(--ui-surface-soft);display:grid}.ay-olib__edit .ui-field{gap:var(--ord-space-2)}.ay-olib__edit .ui-field__label{font-size:var(--ord-text-body)}.ay-olib .ay-olib__edit :is(input,select,.cm-select__trigger,.cm-combobox).ui-input,.ay-olib .ay-olib__edit select.ui-select{min-height:var(--ord-hit)}.ay-olib__fields{gap:var(--ord-space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.ay-olib__wide{grid-column:1/-1}.ay-olib__readonly{font-size:var(--ord-text-body);gap:2px;margin:0;line-height:1.4;display:grid}.ay-olib__readonly span{color:var(--ui-text-soft);font-size:var(--ord-text-meta)}.ay-olib__chips{margin:0 0 var(--ord-space-1);flex-wrap:wrap;gap:6px;padding:0;list-style:none;display:flex}.ay-olib__chip{border:1px solid var(--ui-border-strong);background:var(--ui-surface);max-width:100%;color:var(--ui-text);font-size:var(--ord-text-meta);border-radius:999px;align-items:center;gap:2px;padding:2px 2px 2px 10px;line-height:1.35;display:inline-flex}.ay-olib__chip>span{overflow-wrap:anywhere;min-width:0}.ay-olib .ay-olib__chip-x{width:28px;height:28px;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.ay-olib .ay-olib__chip-x:hover{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-olib .ay-olib__chip-x:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}.ay-olib__add{gap:var(--ord-space-2);display:grid}.ay-olib .ay-lab-search input.ui-input{min-height:var(--ord-hit);padding-left:36px;padding-right:44px}.ay-olib .ay-lab-search__clear{width:var(--ord-hit);height:var(--ord-hit);background:0 0;border:0;min-height:0;padding:0}.ay-olib__buttons{align-items:flex-start;gap:var(--ord-space-2);flex-wrap:wrap;display:flex}.ay-olib__buttons .ay-button,.ay-olib__mode .ay-button{min-height:var(--ord-hit);font-size:var(--ord-text-body)}.ay-olib__mode{align-items:center;gap:var(--ord-space-2);flex-wrap:wrap;display:flex}.ay-olib__confirm{align-items:center;gap:var(--ord-space-2);padding:var(--ord-space-2) var(--ord-space-3);border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-danger-soft);color:var(--ui-text);font-size:var(--ord-text-meta);flex-wrap:wrap;line-height:1.4;display:flex}.ay-olib__confirm>span{flex:220px}.ay-olib__save{gap:var(--ord-space-2);margin-top:var(--ord-space-2);padding-top:var(--ord-space-3);border-top:1px solid var(--ui-border);display:grid}.ay-olib__save-row{justify-content:flex-end;align-items:center;gap:var(--ord-space-2);flex-wrap:wrap;display:flex}.ay-olib__save-row>.ay-lab-hint{margin-right:auto}.ay-olib__save-row .ay-button{min-height:var(--ord-hit);font-size:var(--ord-text-body)}.ay-olib__save-row .ay-button--primary:disabled{border-color:var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-text-soft)}@media (width<=640px){.ay-olib__tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.ay-olib .ay-olib__tab:nth-child(3){border-left:0}.ay-olib .ay-olib__tab:nth-child(n+3){border-top:1px solid var(--ui-border-strong)}.ay-olib__line{flex-direction:column;gap:0}.ay-olib__actions{padding-bottom:var(--ord-space-1);justify-content:flex-end;align-self:stretch}.ay-olib__fields,.ay-olib-save__fields{grid-template-columns:minmax(0,1fr)}.ay-olib__save-row>.ay-lab-hint{flex:100%}.ay-olib__save-row .ay-button,.ay-olib-save__actions .ay-button{flex:auto;justify-content:center}}@media (prefers-reduced-motion:reduce){.ay-olib .ay-olib__tab{transition:none}}.ay-olib-account{border-top:1px solid var(--ui-border);gap:10px;margin:18px 0;padding-top:18px;display:grid}.ay-olib-account>h3{color:var(--ui-text);margin:0;font-size:.86rem;font-weight:700}.ay-olib-account__copy{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.5}.ay-olib-account .ay-button{gap:7px}.ay-olib-account-view{gap:16px;min-width:0;display:grid}.ay-olib-account-view>header{justify-items:start;gap:6px;display:grid}.ay-olib-account-view h2{margin:0;font-size:1.05rem}.ay-olib-account-view__back{gap:6px;margin-left:-10px}html[data-theme-surface=dashboard] .dashboard-account-dialog.dashboard-account-dialog--wide{width:min(100%,780px)}@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:.94rem;font-weight:700;line-height:1.3}.ay-whatsnew__list{margin:0;padding:0;list-style:none;display:grid}.ay-whatsnew__row{min-width:0}.ay-whatsnew__item{border-top:1px solid var(--ui-border);align-items:flex-start;gap:10px;padding:12px 10px 12px 0;display:flex}.ay-whatsnew__list>.ay-whatsnew__row:first-child .ay-whatsnew__item{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)}}:is(html[data-theme-surface=scribe],html[data-theme-surface=account]) .remember-me-info{width:20px;height:20px;color:var(--ui-muted);border:0}:is(html[data-theme-surface=scribe],html[data-theme-surface=account]) .remember-me-info>svg{width:18px;height:18px;display:block}:is(html[data-theme-surface=scribe],html[data-theme-surface=account]) .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 .cm-select__trigger{padding-inline:10px}}.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}}.portal-shell{--portal-bell-red:#c9372f}.portal-shell .portal-dashboard{position:relative}.portal-shell .portal-view-header{padding-right:56px}.portal-shell .portal-bell-slot{z-index:70;position:absolute;top:12px;right:26px}.portal-shell .portal-bell{position:relative}.portal-shell .portal-bell__button{border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:42px;height:42px;color:var(--ui-text-soft);cursor:pointer;transition:background-color .14s ease, border-color .14s ease, color .14s ease, transform .14s var(--ui-ease-out);border-radius:50%;place-items:center;padding:0;display:grid;position:relative}.portal-shell .portal-bell__button svg{width:20px;height:20px}.portal-shell .portal-bell__button[aria-expanded=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-shell .portal-bell__button:active{transform:scale(.96)}@media (hover:hover) and (pointer:fine){.portal-shell .portal-bell__button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}}.portal-shell .portal-bell__button b{border:2px solid var(--ui-surface);background:var(--portal-bell-red);color:#fff;font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;width:22px;min-width:22px;height:22px;padding:0;font-size:.765rem;font-weight:750;line-height:1;display:grid;position:absolute;top:-8px;right:-8px}.portal-shell .portal-bell__popover{overscroll-behavior:contain;border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:min(344px,100vw - 24px);max-height:min(440px,100dvh - 140px);box-shadow:var(--ui-shadow-popover);transform-origin:100% 0;animation:portal-bell-in .16s var(--ui-ease-out) backwards;border-radius:14px;padding:8px;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}.portal-shell .portal-bell__popover:focus{outline:0}.portal-shell .portal-bell__popover[hidden]{display:none}@keyframes portal-bell-in{0%{opacity:0;transform:translateY(-4px)scale(.97)}to{opacity:1;transform:none}}.portal-shell .portal-bell__popover h2{color:var(--ui-text);letter-spacing:-.005em;margin:0;padding:8px 10px 10px;font-size:.8rem;font-weight:700}.portal-shell .portal-bell__popover ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.portal-shell .portal-bell__row{width:100%;min-height:52px;color:var(--ui-text-soft);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;display:grid}@media (hover:hover) and (pointer:fine){.portal-shell .portal-bell__row:hover{background:var(--ui-accent-soft)}}.portal-shell .portal-bell__row:focus-visible{background:var(--ui-accent-soft)}.portal-shell .portal-bell__row-icon{background:var(--ui-accent-soft);width:34px;height:34px;color:var(--ui-accent);border-radius:10px;place-items:center;display:grid}.portal-shell .portal-bell__row-icon svg{width:17px;height:17px}.portal-shell .portal-bell__row-copy{gap:2px;min-width:0;display:grid}.portal-shell .portal-bell__row-copy strong{color:var(--ui-text);overflow-wrap:anywhere;font-size:.77rem;font-weight:650;line-height:1.3}.portal-shell .portal-bell__row-copy small{color:var(--ui-muted);font-size:.77rem}.portal-shell .portal-bell__empty{text-align:center;gap:3px;margin:0;padding:22px 12px 24px;display:grid}.portal-shell .portal-bell__empty strong{color:var(--ui-text);font-size:.84rem;font-weight:680}.portal-shell .portal-bell__empty small{color:var(--ui-muted);font-size:.77rem;line-height:1.45}.portal-shell .portal-nav-dot{border:2px solid var(--ui-surface);background:var(--portal-bell-red);border-radius:50%;width:11px;height:11px;position:absolute;top:7px;right:13px}.portal-shell .portal-rail-button{position:relative}.portal-shell .portal-new-tag{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);letter-spacing:.01em;white-space:nowrap;border-radius:999px;flex:none;align-items:center;margin-left:7px;padding:1px 7px;font-size:.765rem;font-weight:700;line-height:1.5;display:inline-flex}.portal-shell .portal-name-row{align-items:center;gap:0;min-width:0;display:flex}.portal-shell .portal-name-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html.clinical-ui[data-theme-surface=patient-portal] .portal-shell .portal-home-checkin.is-ready{border-color:var(--ui-accent-border);background:color-mix(in srgb, var(--ui-accent-soft) 55%, var(--ui-surface));box-shadow:inset 0 0 0 1px var(--ui-accent-border)}.portal-shell .portal-toast-stack{z-index:150;pointer-events:none;width:min(380px,100vw - 52px);position:fixed;bottom:26px;right:26px}.portal-shell .portal-toast-stack ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.portal-shell .portal-toast{--portal-toast-shift:8px;pointer-events:auto;border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-popover);animation:portal-cue-toast-in .22s var(--ui-ease-out) backwards;border-radius:14px;align-items:flex-start;transition:opacity .13s ease-out,transform .13s ease-out;display:flex}.portal-shell .portal-toast.is-leaving{opacity:0;transform:translateY(var(--portal-toast-shift));pointer-events:none}@keyframes portal-cue-toast-in{0%{opacity:0;transform:translateY(var(--portal-toast-shift))}to{opacity:1;transform:none}}.portal-shell .portal-toast__action{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:13px;flex:auto;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 6px 12px 12px;display:grid}@media (hover:hover) and (pointer:fine){.portal-shell .portal-toast__action:hover .portal-toast__view{background:var(--ui-accent-fill);border-color:var(--ui-accent-fill);color:var(--ui-on-accent)}}.portal-shell .portal-toast__action:active{transform:scale(.985)}.portal-shell .portal-toast__icon{background:var(--ui-accent-soft);width:34px;height:34px;color:var(--ui-accent);border-radius:50%;place-items:center;display:grid}.portal-shell .portal-toast__icon svg{width:17px;height:17px}.portal-shell .portal-toast__copy{gap:2px;min-width:0;display:grid}.portal-shell .portal-toast__copy strong{color:var(--ui-text);overflow-wrap:anywhere;font-size:.8rem;font-weight:680;line-height:1.3}.portal-shell .portal-toast__copy small{color:var(--ui-muted);overflow-wrap:anywhere;font-size:.77rem;line-height:1.4}.portal-shell .portal-toast__view{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);border-radius:8px;padding:6px 11px;font-size:.77rem;font-weight:700;transition:background-color .14s,border-color .14s,color .14s}.portal-shell .portal-toast__close{width:36px;height:36px;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin:4px 4px 0 0;padding:0;display:grid}.portal-shell .portal-toast__close svg{width:16px;height:16px}@media (hover:hover) and (pointer:fine){.portal-shell .portal-toast__close:hover{background:var(--ui-surface-soft);color:var(--ui-text)}}@media (width<=899px){.portal-shell .portal-bell-slot{top:12px;right:max(12px, env(safe-area-inset-right))}.portal-shell .portal-bell__button{width:44px;height:44px}.portal-shell .portal-nav-dot{top:6px;right:calc(50% - 15px)}.portal-shell .portal-toast-stack{top:auto;right:max(12px, env(safe-area-inset-right));bottom:calc(80px + env(safe-area-inset-bottom));left:max(12px, env(safe-area-inset-left));width:auto}}.portal-shell .portal-toast-stack.is-top{top:max(12px, env(safe-area-inset-top));bottom:auto}.portal-shell .portal-toast-stack.is-top .portal-toast{--portal-toast-shift:-8px}@media (pointer:coarse){.portal-shell .portal-bell__row{min-height:56px}.portal-shell .portal-toast__view{padding:9px 13px}}@media (prefers-reduced-motion:reduce){.portal-shell .portal-toast{transition:opacity .1s linear!important;animation:.16s linear backwards portal-cue-fade!important}.portal-shell .portal-toast.is-leaving{transform:none}.portal-shell .portal-bell__popover{animation:.12s linear backwards portal-cue-fade!important}.portal-shell .portal-bell__button,.portal-shell .portal-toast__action{transition:none!important}.portal-shell .portal-bell__button:active,.portal-shell .portal-toast__action:active{transform:none}}@keyframes portal-cue-fade{0%{opacity:0}to{opacity:1}}.portal-global-notice.is-sticky{text-align:left;pointer-events:auto;justify-content:space-between;gap:10px;padding-block:6px;padding-inline:14px 6px}.portal-global-notice.is-sticky>span{min-width:0;padding-block:5px}.portal-global-notice__close{width:36px;height:36px;color:inherit;cursor:pointer;transition:background-color .14s ease-out, transform .14s var(--ui-ease-out);background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.portal-global-notice__close svg{width:16px;height:16px}.portal-global-notice__close:active{transform:scale(.94)}.portal-global-notice__close:focus-visible{box-shadow:var(--ui-focus);outline:0}@media (hover:hover) and (pointer:fine){.portal-global-notice__close:hover{background:color-mix(in srgb, currentColor 12%, transparent)}}@keyframes portal-notice-rise{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}@media (width<=899px){.portal-global-notice.is-transient.is-sticky:not(.is-top){width:calc(100vw - 24px);max-width:520px;animation-name:portal-notice-rise;inset-block-start:auto;inset-block-end:calc(80px + env(safe-area-inset-bottom))}.portal-shell .portal-page--home.is-checkin-ready>.portal-view-header{order:-2}.portal-shell .portal-page--home.is-checkin-ready .portal-home-grid{display:contents}.portal-shell .portal-page--home.is-checkin-ready .portal-home-checkin{order:-1}}@media (prefers-reduced-motion:reduce){.portal-global-notice.is-transient.is-sticky,.portal-global-notice.is-transient.is-sticky:not(.is-top){animation:.12s linear both portal-fade-in}}html[data-theme-surface=patient-portal] .portal-auth-flow .portal-signin-options{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 12px;margin-top:2px;display:flex}html[data-theme-surface=patient-portal] .portal-auth-flow .portal-signin-options>.portal-forgot-password{white-space:nowrap;min-height:32px;margin:0;padding-inline:2px}html[data-theme-surface=patient-portal] .portal-auth-flow form>.portal-forgot-note{border:1px solid var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info);border-radius:10px;margin:2px 0 0;padding:9px 11px;font-size:.77rem;line-height:1.45}html[data-theme-surface=patient-portal] .portal-auth-flow form>.portal-forgot-note.is-error{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.portal-shell .portal-view-header h1:focus{outline:0}.portal-shell .ay-message-status .is-pending{color:var(--ui-muted);font-weight:600}.portal-shell .portal-checkin-date{white-space:nowrap}.portal-shell .portal-page--checkin.portal-checkin-welcome-page{overscroll-behavior:contain;padding-block:2px;overflow-y:auto}.portal-shell .portal-checkin-welcome{border:1px solid var(--ui-border);border-radius:var(--portal-section-radius,22px);background:var(--portal-neutral-body,var(--ui-surface));width:min(100%,640px);color:var(--ui-text);flex:none;margin-block:auto;position:relative;overflow:hidden}.portal-shell .portal-checkin-welcome__content{transition:opacity .2s var(--ui-ease-out), transform .2s var(--ui-ease-out);display:grid}.portal-shell .portal-checkin-welcome.is-leaving .portal-checkin-welcome__content{opacity:0;transition-duration:.16s;transform:translateY(-6px)}.portal-shell .portal-checkin-welcome__header{border-bottom:1px solid var(--ui-border);background:var(--portal-neutral-chrome,var(--ui-surface-soft));gap:6px;padding:24px 28px 20px;display:grid}.portal-shell .portal-checkin-welcome__header h1{color:var(--ui-text);letter-spacing:-.01em;text-wrap:balance;margin:0;font-size:1.5rem;font-weight:700;line-height:1.2}.portal-shell .portal-checkin-welcome__header p{color:var(--ui-text-soft);margin:0;font-size:.94rem;line-height:1.5}.portal-shell .portal-checkin-welcome__expect{gap:14px;padding:22px 28px 6px;display:grid}.portal-shell .portal-checkin-welcome__expect h2{color:var(--ui-text);margin:0;font-size:1rem;font-weight:700;line-height:1.3}.portal-shell .portal-checkin-welcome__steps{gap:16px;margin:0;padding:0;list-style:none;display:grid}.portal-shell .portal-checkin-welcome__steps>li{grid-template-columns:40px minmax(0,1fr);align-items:start;gap:14px;display:grid}.portal-shell .portal-checkin-welcome__icon{background:var(--ui-accent-soft);width:40px;height:40px;color:var(--ui-accent);border-radius:12px;place-items:center;display:grid}.portal-shell .portal-checkin-welcome__icon svg{width:20px;height:20px}.portal-shell .portal-checkin-welcome__steps strong{color:var(--ui-text);font-size:.94rem;font-weight:650;line-height:1.35;display:block}.portal-shell .portal-checkin-welcome__steps p{color:var(--ui-text-soft);margin:2px 0 0;font-size:.9rem;line-height:1.5}.portal-shell .portal-checkin-welcome__visit{border:1px solid var(--ui-accent-border,var(--ui-border));background:color-mix(in srgb, var(--ui-accent-soft) 55%, transparent);border-radius:14px;padding:14px}.portal-shell .portal-checkin-welcome__start{gap:8px;padding:18px 28px 26px;display:grid}.portal-shell .portal-checkin-welcome__field{gap:7px;display:grid}.portal-shell .portal-checkin-welcome__field .ui-field__label{color:var(--ui-text);font-size:.94rem;font-weight:650}.portal-shell .portal-checkin-welcome__select{min-height:48px;font-size:16px}.portal-shell .portal-checkin-welcome__help{color:var(--ui-text-soft);margin:0;font-size:.9rem;line-height:1.5}.portal-shell .portal-checkin-welcome__error{border:1px solid var(--ui-danger-border,var(--ui-warning-border));background:var(--ui-danger-soft,var(--ui-warning-soft));color:var(--ui-danger,var(--ui-warning));border-radius:10px;margin:0;padding:10px 12px;font-size:.9rem;line-height:1.45}.portal-shell .portal-checkin-welcome__start>.ay-button{justify-self:start;min-width:200px;min-height:48px;margin-top:10px}.portal-shell .portal-checkin-welcome__opening{color:var(--ui-text-soft);animation:portal-checkin-welcome-in .16s var(--ui-ease-out) .12s backwards;justify-content:center;align-items:center;gap:10px;font-size:.94rem;display:flex;position:absolute;inset:0}@keyframes portal-checkin-welcome-in{0%{opacity:0}to{opacity:1}}.portal-shell .portal-page--checkin.portal-checkin-welcome-handoff>.portal-checkin-focus,.portal-shell .portal-page--checkin.portal-checkin-welcome-handoff>.portal-checkin-topbar,.portal-shell .portal-page--checkin.portal-checkin-welcome-handoff>.ay-intake-composer-dock{animation:portal-checkin-welcome-in .2s var(--ui-ease-out) backwards}@media (width<=620px){.portal-shell .portal-checkin-welcome__header{padding:20px 18px 16px}.portal-shell .portal-checkin-welcome__header h1{font-size:1.35rem}.portal-shell .portal-checkin-welcome__expect{padding:18px 18px 4px}.portal-shell .portal-checkin-welcome__start{padding:16px 18px 20px}.portal-shell .portal-checkin-welcome__start>.ay-button{justify-self:stretch;width:100%}}@media (prefers-reduced-motion:reduce){.portal-shell .portal-checkin-welcome__content,.portal-shell .portal-checkin-welcome.is-leaving .portal-checkin-welcome__content{transition:opacity .12s linear!important;transform:none!important}.portal-shell .portal-checkin-welcome__opening,.portal-shell .portal-page--checkin.portal-checkin-welcome-handoff>.portal-checkin-focus,.portal-shell .portal-page--checkin.portal-checkin-welcome-handoff>.portal-checkin-topbar,.portal-shell .portal-page--checkin.portal-checkin-welcome-handoff>.ay-intake-composer-dock{animation:.12s linear backwards portal-checkin-welcome-in!important}}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal][data-portal-brand~=accent-light]{--ui-accent:var(--portal-brand-accent-light);--ui-accent-soft:var(--portal-brand-soft-light);--ui-accent-border:var(--portal-brand-border-light)}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal][data-portal-brand~=fill-light]{--ui-accent-fill:var(--portal-brand-fill-light)}html.clinical-ui.dark[data-theme-surface=patient-portal][data-portal-brand~=accent-dark]{--ui-accent:var(--portal-brand-accent-dark);--ui-accent-soft:var(--portal-brand-soft-dark);--ui-accent-border:var(--portal-brand-border-dark)}html.clinical-ui.dark[data-theme-surface=patient-portal][data-portal-brand~=fill-dark]{--ui-accent-fill:var(--portal-brand-fill-dark)}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal][data-portal-brand~=accent-light] .portal-shell{--portal-chrome-hover:color-mix(in srgb, var(--ui-accent) 6%, #fff);--portal-chrome-hover-border:var(--ui-accent-border);--portal-chrome-selected:var(--ui-accent-soft);--portal-chrome-selected-text:var(--ui-accent);--portal-chrome-selected-border:var(--ui-accent-border);--portal-chrome-selected-hover:color-mix(in srgb, var(--ui-accent) 18%, #fff);--portal-chrome-mark-bg:var(--ui-accent-soft);--portal-chrome-mark-border:var(--ui-accent-border);--portal-chrome-mark-text:var(--ui-accent);--portal-chrome-mark-ink:color-mix(in srgb, var(--ui-accent) 55%, #000);--portal-chrome-ring:color-mix(in srgb, var(--ui-accent) 24%, transparent);--portal-chrome-focus:color-mix(in srgb, var(--ui-accent) 38%, transparent)}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-preference-list input.portal-switch:checked{background:color-mix(in srgb, var(--ui-accent-fill) 88%, #fff)}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell :is(.portal-rail-button,.portal-mobile-nav__item) b{border-color:var(--portal-chrome-surface)}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell .portal-mobile-nav{background:color-mix(in srgb, var(--portal-chrome-surface) 96%, transparent)}html[data-theme-surface=patient-portal] .portal-auth-flow .ay-button,html[data-theme-surface=patient-portal] .ay-auth-card .ay-button{font-size:.78rem}html[data-theme-surface=patient-portal] .ay-code-field__label{font-size:.8rem}.portal-shell .ay-whatsnew__copy time{font-size:.77rem}.portal-shell .portal-agreement-consents .ay-intake-acknowledgement{font-size:.8rem}.portal-shell .portal-document-dialog .ay-pdf-viewer__indicator{font-size:.77rem}:root{--ui-skel-base:color-mix(in srgb, var(--ui-border) 60%, var(--ui-surface-muted));--ui-skel-tint:var(--ui-surface);--ui-skel-sheen-strength:62%;--ui-skel-sheen:color-mix(in srgb, var(--ui-skel-tint) var(--ui-skel-sheen-strength), transparent);--ui-skel-hi:color-mix(in srgb, var(--ui-skel-tint) var(--ui-skel-sheen-strength), var(--ui-skel-base))}html.dark{--ui-skel-base:color-mix(in srgb, var(--ui-border) 70%, var(--ui-surface-muted));--ui-skel-tint:var(--ui-text);--ui-skel-sheen-strength:8%}.ui-skel,.portal-skel{border-radius:var(--skel-r,8px);background:var(--ui-skel-base);max-width:100%;animation:ui-skel-in .2s var(--ui-ease-out) .15s backwards;display:block;position:relative;overflow:hidden}.ui-skel:after,.portal-skel:after{content:"";background:linear-gradient(90deg, transparent, var(--ui-skel-sheen), transparent);animation:1.5s linear infinite ui-skel-sheen;position:absolute;inset:0;transform:translate(-100%)}@keyframes ui-skel-in{0%{opacity:0}to{opacity:1}}@keyframes ui-skel-sheen{to{transform:translate(100%)}}.ui-skel--line{width:var(--skel-w,100%);height:var(--skel-h,14px);border-radius:var(--skel-r,999px)}.ui-skel--heading{width:var(--skel-w,42%);height:var(--skel-h,18px);border-radius:var(--skel-r,9px)}.ui-skel--avatar{width:var(--skel-w,38px);height:var(--skel-h,var(--skel-w,38px));border-radius:var(--skel-r,50%);flex:none}.ui-skel--pill{width:var(--skel-w,72px);height:var(--skel-h,24px);border-radius:var(--skel-r,999px);flex:none}.ui-skel--tile{width:var(--skel-w,100%);height:var(--skel-h,72px);border-radius:var(--skel-r,var(--ui-radius))}.ui-skel--page{width:var(--skel-w,100%);height:var(--skel-h,auto);aspect-ratio:8.5/11;border-radius:var(--skel-r,var(--ui-radius-xs))}.ui-skel--block{width:var(--skel-w,100%);height:var(--skel-h,120px);border-radius:var(--skel-r,var(--ui-radius))}.ui-skel-region{min-width:0}.ui-skel-lines{gap:var(--ui-skel-gap,10px);display:grid}.ui-skel-rows{display:grid}.ui-skel-row{height:var(--skel-row-h,64px);align-items:center;gap:12px;display:flex}.ui-skel-row__text{flex:auto;gap:8px;min-width:0;display:grid}.ui-skel-row__end{flex:none;justify-items:end;gap:8px;display:grid}.ui-skel-dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;display:grid}.ui-skel-dl__pair{gap:7px;min-width:0;display:grid}.ui-skel-card{padding:var(--ui-space-4);border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);gap:14px;display:grid}.ui-reveal{animation:ui-reveal .2s var(--ui-ease-out) calc(min(var(--i,0), 8) * 35ms) backwards}@keyframes ui-reveal{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes ui-reveal-fade{0%{opacity:0}to{opacity:1}}.ui-collapse{margin-bottom:calc(var(--ui-collapse-gap,0px) * -1);opacity:0;visibility:hidden;transition:grid-template-rows .14s var(--ui-ease-in-out), margin-bottom .14s var(--ui-ease-in-out), opacity .14s var(--ui-ease-out), visibility 0s linear .14s;grid-template-rows:0fr;display:grid}.ui-collapse[data-open=true]{opacity:1;visibility:visible;transition:grid-template-rows .2s var(--ui-ease-out), margin-bottom .2s var(--ui-ease-out), opacity .2s var(--ui-ease-out), visibility 0s;grid-template-rows:1fr;margin-bottom:0}.ui-collapse__inner{min-height:0;overflow:hidden}@media (prefers-reduced-motion:reduce){.ui-skel,.portal-skel{animation-duration:.12s}.ui-skel:after,.portal-skel:after{background:0 0;animation:none;transform:none}.ui-reveal{animation:.12s linear backwards ui-reveal-fade}.ui-collapse{transition:opacity .12s linear,visibility 0s linear .12s}.ui-collapse[data-open=true]{transition:opacity .12s linear,visibility}}.portal-shell .portal-skel--line{width:100%;height:14px}.portal-shell .portal-skel--line.is-short{width:62%}.portal-shell .portal-skel--heading{width:42%;height:18px}.portal-shell .portal-skel--title{border-radius:10px;width:min(60%,280px);height:32px}.portal-shell .portal-skel--subtitle{width:min(80%,360px);height:16px;margin-top:12px}.portal-shell .portal-skel--mark{border-radius:13px;flex:0 0 42px;width:42px;height:42px;margin-bottom:6px}.portal-shell .portal-skel--rail{border-radius:12px;flex:0 0 54px;width:54px;height:54px}.portal-shell .portal-skel--avatar{border-radius:50%;flex:0 0 38px;width:38px;height:38px}.portal-shell .portal-skel--tab{border-radius:11px;width:20%;height:48px}.portal-shell .portal-skeleton-shell{pointer-events:none}.portal-shell .portal-skeleton-shell .portal-mobile-nav{align-items:center}.portal-shell .portal-skel-page{animation:none}.portal-shell .portal-skel-header{align-items:flex-start}.portal-shell .portal-skel-header>div{width:100%}.portal-shell .portal-skel-card{min-height:190px}.portal-shell .portal-skel-card__body{align-content:start;gap:14px;display:grid}.portal-shell .portal-state.portal-state--loading{background:0 0;border:0;align-content:center;gap:12px;min-height:142px;padding:6px 0;display:grid}html[data-theme-surface=patient-portal] .portal-app-loading{animation:portal-fade-in .2s var(--ui-ease-out) .15s backwards;gap:14px}.portal-shell .portal-message-preview__avatar{letter-spacing:0;flex:none;overflow:hidden}.portal-shell .portal-message-preview__avatar img{object-fit:contain;width:100%;height:100%}.portal-shell .portal-message-preview__avatar.is-care-team{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.portal-shell .portal-message-preview__avatar.is-patient{border:1px solid var(--ui-border-strong);background:var(--ui-surface-muted);color:var(--ui-text)}@media (width<=899px){.portal-shell .portal-mobile-nav__item{transition:border-color var(--ui-duration-fast) ease, background-color var(--ui-duration-fast) ease, color var(--ui-duration-fast) ease, transform .1s var(--ui-ease-out)}.portal-shell .portal-mobile-nav__item:active{transform:scale(.96)}.portal-shell .portal-mobile-nav__item:not(.is-selected):active{background:var(--ui-accent-soft)}}.portal-shell .portal-document-backdrop{animation:portal-scrim-in .18s var(--ui-ease-out) both}.portal-shell .portal-document-backdrop.is-closing{pointer-events:none;animation:portal-scrim-out .14s var(--ui-ease-out) forwards}.portal-shell .portal-document-backdrop.is-closing .portal-document-dialog{animation:portal-dialog-out .14s var(--ui-ease-out) forwards}@keyframes portal-scrim-in{0%{background-color:#0000}}@keyframes portal-scrim-out{to{background-color:#0000}}@keyframes portal-dialog-out{to{opacity:0;transform:translateY(4px)scale(.99)}}@keyframes portal-sheet-in{0%{transform:translateY(100%)}}@keyframes portal-sheet-out{to{transform:translateY(100%)}}@media (width<=600px){.portal-shell .portal-document-backdrop{align-items:end;padding:0;animation-duration:.2s}.portal-shell .portal-document-dialog{animation:portal-sheet-in .24s var(--ui-ease-drawer) both}.portal-shell .portal-document-backdrop.is-closing{animation:portal-scrim-out .18s var(--ui-ease-out) forwards}.portal-shell .portal-document-backdrop.is-closing .portal-document-dialog{animation:portal-sheet-out .18s var(--ui-ease-out) forwards}}html.portal-theme-switching *,html.portal-theme-switching :before,html.portal-theme-switching :after{transition:none!important}html[data-theme-surface=patient-portal]::view-transition-old(root),html[data-theme-surface=patient-portal]::view-transition-new(root){animation-duration:.2s;animation-timing-function:var(--ui-ease-out)}@media (width<=899px){.portal-shell .portal-checkin-welcome{margin-top:64px}.portal-shell{--portal-tabbar-h:max(72px, calc(63px + max(6px, env(safe-area-inset-bottom))))}.portal-shell .portal-main:has(>.portal-page--messages){scrollbar-gutter:auto;padding-bottom:calc(var(--portal-tabbar-h) + 10px);flex-direction:column;display:flex;overflow:clip}.portal-shell .portal-main:has(>.portal-page--messages)>:not(.portal-page--messages){flex:none}.portal-shell .portal-page--messages{flex-direction:column;flex:auto;gap:12px;min-height:0;display:flex}.portal-shell .portal-page--messages>.portal-view-header{flex:none;margin:0;padding-bottom:0}.portal-shell .portal-page--messages>.portal-view-header p:not(.ay-eyebrow){display:none}.portal-shell .portal-messages-card{flex:auto;min-height:0;overflow:clip}.portal-shell .portal-messages-card>.ay-clinical-card__header{display:none}.portal-shell .portal-messages-card .portal-card__body{flex-direction:column;flex:auto;gap:10px;min-height:0;padding:12px;display:flex}.portal-shell .portal-messages-card .portal-message-thread{overscroll-behavior:contain;scrollbar-gutter:auto;flex:auto;min-height:0;max-height:none;padding-right:0;overflow:hidden auto}.portal-shell .portal-messages-card .portal-state{flex:none}.portal-shell .portal-messages-card .portal-card__footer{flex:none;padding:10px 12px}.portal-shell .portal-messages-card .portal-message-composer{grid-template-columns:var(--portal-composer-icon,44px) minmax(0, 1fr) var(--portal-composer-icon,44px);align-items:center;gap:8px;position:relative}.portal-shell .portal-messages-card .portal-message-composer.is-no-attach{grid-template-columns:minmax(0, 1fr) var(--portal-composer-icon,44px)}.portal-shell .portal-messages-card .portal-message-composer>label:first-child{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.portal-shell .portal-messages-card .portal-message-composer>:is(.ay-section-error,.portal-attachment-list,.portal-attachment-slot){order:-1;grid-column:1/-1}.portal-shell .portal-messages-card .portal-composer-footer{display:contents}.portal-shell .portal-messages-card .portal-message-composer .portal-attachment-picker{order:1;grid-column:1;max-width:none;margin:0}.portal-shell .portal-messages-card .portal-message-field-frame{border-radius:22px;order:2;grid-column:2;min-height:0;overflow:clip}.portal-shell .portal-messages-card .portal-send-button{order:3;grid-column:3}.portal-shell .portal-messages-card .portal-message-composer.is-no-attach .portal-message-field-frame{grid-column:1}.portal-shell .portal-messages-card .portal-message-composer.is-no-attach .portal-send-button{grid-column:2}.portal-shell .portal-messages-card .portal-message-composer textarea.ui-input{field-sizing:content;resize:none;border-radius:22px;height:44px;min-height:44px;max-height:116px;padding:9px 16px;line-height:1.5;display:block;overflow-y:hidden}.portal-shell .portal-messages-card .portal-composer-footer{padding-top:0}.portal-shell .portal-messages-card .portal-message-composer .portal-attachment-picker--icon{background:0 0;border:0;border-radius:50%;width:44px;min-width:44px;height:44px;min-height:44px;transition:background-color .14s ease-out,color .14s ease-out;color:var(--ui-text-soft)!important}.portal-shell .portal-messages-card .portal-message-composer .portal-attachment-picker--icon svg{width:20px;height:20px}.portal-shell .portal-messages-card .portal-message-composer .portal-attachment-picker--icon:has(input:focus-visible){outline:2px solid var(--ui-accent);outline-offset:2px}.portal-shell .portal-messages-card .portal-message-composer .portal-send-button{width:44px;min-width:44px;height:44px;min-height:44px;transition:background-color .14s ease-out, color .14s ease-out, transform .1s var(--ui-ease-out,ease-out);border-radius:50%;flex:0 0 44px;padding:0}.portal-shell .portal-messages-card .portal-message-composer .portal-send-button:not(:disabled):active{transform:scale(.96)}.portal-shell .portal-messages-card .portal-message-composer .portal-send-button__icon{place-items:center;display:grid}.portal-shell .portal-messages-card .portal-message-composer .portal-send-button svg{stroke-width:1.8px;width:20px;height:20px}.portal-shell .portal-messages-card .portal-message-composer .portal-send-button__text{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.portal-shell .portal-messages-card .portal-message-composer .portal-send-button:disabled:not(.is-busy){background:var(--ui-surface-muted);color:var(--ui-muted);opacity:1;border-color:#0000}.portal-shell .portal-messages-card .portal-message-composer .portal-send-button.is-busy:disabled{opacity:1}.portal-shell .portal-messages-card .portal-message-composer .portal-send-spinner{border:2px solid color-mix(in srgb, var(--ui-on-accent) 34%, transparent);border-top-color:var(--ui-on-accent);border-radius:50%;width:20px;height:20px;animation:.75s linear infinite ay-spin}.portal-shell .portal-messages-card .portal-attachment-list{overscroll-behavior:contain;max-height:92px;overflow-y:auto}html.ayah-shell-lock[data-theme-surface=patient-portal] .portal-shell:has(.portal-page--messages){top:var(--ayah-shell-top,0px);height:var(--ayah-shell-h,100dvh);min-height:0;max-height:var(--ayah-shell-h,100dvh);position:fixed;bottom:auto;left:0;right:0;transform:none}html.ayah-shell-lock.ayah-shell-animate[data-theme-surface=patient-portal] .portal-shell:has(.portal-page--messages){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))}html.ayah-shell-keyboard[data-theme-surface=patient-portal] .portal-shell:has(.portal-page--messages) .portal-mobile-nav{display:none}html.ayah-shell-keyboard[data-theme-surface=patient-portal] .portal-shell .portal-main:has(>.portal-page--messages){padding-top:10px;padding-bottom:10px}html.ayah-shell-keyboard[data-theme-surface=patient-portal] .portal-shell .portal-page--messages>.portal-view-header,html.ayah-shell-keyboard[data-theme-surface=patient-portal] .portal-shell:has(.portal-page--messages) .portal-bell-slot{display:none}}@media (width<=899px) and (prefers-reduced-motion:reduce){.portal-shell .portal-messages-card .portal-message-composer .portal-send-spinner{animation:none}html.ayah-shell-lock.ayah-shell-animate[data-theme-surface=patient-portal] .portal-shell:has(.portal-page--messages){transition:none}}@media (width>=900px){.portal-shell .portal-message-composer .portal-send-button__icon{display:none}}.portal-shell :is(.portal-page--home,.portal-skel-page){--portal-home-section-gap:32px;--portal-home-card-gap:24px;--portal-home-tile-gap:20px;--portal-home-card-pad:24px;gap:var(--portal-home-section-gap)}@media (width<=899px){.portal-shell :is(.portal-page--home,.portal-skel-page){--portal-home-section-gap:24px;--portal-home-tile-gap:16px;--portal-home-card-pad:20px}}.portal-shell :is(.portal-page--home,.portal-skel-page) .portal-card>.ay-clinical-card__header{padding:calc(var(--portal-home-card-pad) - 2px) var(--portal-home-card-pad)}.portal-shell :is(.portal-page--home,.portal-skel-page) .portal-card__body{padding:var(--portal-home-card-pad)}.portal-shell .portal-page--home .portal-card__footer{padding:12px var(--portal-home-card-pad)}.portal-shell .portal-home-summary .portal-summary-list{column-gap:var(--portal-home-card-pad)}.portal-shell .portal-home-summary .portal-summary-list>div{padding-block:16px}.portal-shell .portal-home-summary .portal-summary-list>div:nth-child(-n+2){padding-top:0}@media (width<=899px){.portal-shell .portal-home-summary .portal-summary-list>div:nth-child(2){padding-top:16px}}.portal-shell .portal-home-summary .portal-summary-list dd,.portal-shell .portal-home-summary .portal-summary-list dd small{margin-top:6px}.ay-password-rules{--pw-ease:var(--ui-ease-out,cubic-bezier(.23, 1, .32, 1));--pw-text:color-mix(in srgb, var(--ui-text) 74%, var(--ui-surface));--pw-ring:color-mix(in srgb, var(--ui-text) 46%, var(--ui-surface));margin:4px 0 6px}.ay-password-rules__list{flex-direction:column;gap:5px;margin:0;padding:0;list-style:none;display:flex}.ay-password-rules__item{min-height:21px;color:var(--pw-text);transition:color .12s var(--pw-ease);align-items:center;gap:8px;margin:0;font-size:.77rem;font-weight:400;line-height:1.35;display:flex}.ay-password-rules__item.is-met{color:var(--ui-text);transition-duration:.18s}.ay-password-rules__mark{box-sizing:border-box;border:1.5px solid var(--pw-ring);width:16px;height:16px;transition:border-color .12s var(--pw-ease);border-radius:50%;flex:none;place-items:center;display:grid;position:relative}.ay-password-rules__mark:before{content:"";background:var(--ui-accent-fill);opacity:0;transition:opacity .12s var(--pw-ease), transform .12s var(--pw-ease);border-radius:50%;position:absolute;inset:0;transform:scale(.6)}.ay-password-rules__mark svg{fill:none;width:100%;height:100%;stroke:var(--ui-on-accent);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;position:relative;overflow:visible}.ay-password-rules__mark path{stroke-dasharray:1 2;stroke-dashoffset:1px;transition:stroke-dashoffset .12s var(--pw-ease)}.ay-password-rules__item.is-met .ay-password-rules__mark{border-color:var(--ui-accent-fill);transition-duration:.18s}.ay-password-rules__item.is-met .ay-password-rules__mark:before{opacity:1;transition-duration:.18s;transform:scale(1)}.ay-password-rules__item.is-met .ay-password-rules__mark path{stroke-dashoffset:0;transition-duration:.16s;transition-delay:40ms}.ay-password-rules.is-blocked .ay-password-rules__item:not(.is-met){color:var(--ui-danger)}.ay-password-rules.is-blocked .ay-password-rules__item:not(.is-met) .ay-password-rules__mark{border-color:var(--ui-danger)}.ay-password-rules__done{min-height:1.4em;color:var(--ui-success);margin:6px 0 0;font-size:.77rem;font-weight:500;line-height:1.4}.ay-password-rules__done:not(:empty){animation:ay-pw-done-in .18s var(--pw-ease) both}@keyframes ay-pw-done-in{0%{opacity:0;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.ay-password-rules__done:not(:empty){animation:.1s linear both ay-pw-breach-fade}.ay-password-rules__mark:before{transition:opacity .1s linear;transform:none}.ay-password-rules__item.is-met .ay-password-rules__mark:before{transition-duration:.1s}.ay-password-rules__mark path{stroke-dashoffset:0;opacity:0;transition:opacity .1s linear}.ay-password-rules__item.is-met .ay-password-rules__mark path{opacity:1;transition-duration:.1s;transition-delay:0s}.ay-password-rules__item,.ay-password-rules__item.is-met,.ay-password-rules__mark,.ay-password-rules__item.is-met .ay-password-rules__mark{transition-duration:.1s}}.ay-password-strength{--pw-step:color-mix(in srgb, var(--ui-text) 16%, var(--ui-surface));align-items:center;gap:10px;min-height:21px;margin:8px 0 0;display:flex}.ay-password-strength__bar{flex:none;gap:3px;display:inline-flex}.ay-password-strength__bar>span{background:var(--pw-step);width:26px;height:5px;transition:background-color .16s var(--ui-ease-out,cubic-bezier(.23, 1, .32, 1));border-radius:3px}.ay-password-strength.is-weak .ay-password-strength__bar>.is-on,.ay-password-strength.is-fair .ay-password-strength__bar>.is-on{background:var(--ui-warning)}.ay-password-strength.is-good .ay-password-strength__bar>.is-on{background:var(--ui-accent-fill)}.ay-password-strength.is-strong .ay-password-strength__bar>.is-on{background:var(--ui-success)}.ay-password-strength__label{color:var(--pw-text,var(--ui-text-soft));font-size:.77rem;line-height:1.35}.ay-password-strength__label strong{color:var(--ui-text);font-weight:650}.ay-password-strength.is-empty .ay-password-strength__label{opacity:0}.ay-password-strength__label{transition:opacity .16s var(--ui-ease-out,cubic-bezier(.23, 1, .32, 1))}.ay-password-breach{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);color:var(--ui-text);text-wrap:pretty;animation:ay-pw-breach-in .18s var(--ui-ease-out,cubic-bezier(.23, 1, .32, 1)) both;margin:8px 0 0;padding:8px 10px;font-size:.77rem;line-height:1.45}@keyframes ay-pw-breach-in{0%{opacity:0;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.ay-password-strength__bar>span{transition-duration:1ms}.ay-password-breach{animation:.1s linear both ay-pw-breach-fade}}@keyframes ay-pw-breach-fade{0%{opacity:0}}html[data-theme-surface=patient-chat] .ay-intake-account__hint.is-error{color:var(--ui-danger);font-weight:600}.portal-shell .portal-visit{animation:portal-visit-in .16s var(--ui-ease-out,cubic-bezier(.23, 1, .32, 1)) both;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:14px 20px;display:grid}.portal-shell .portal-visit__icon{background:var(--ui-accent-soft);width:38px;height:38px;color:var(--ui-accent);border-radius:12px;place-items:center;display:grid}.portal-shell .portal-visit.is-booked .portal-visit__icon{background:var(--portal-mint);color:var(--ui-success)}.portal-shell .portal-visit__icon svg{width:20px;height:20px}.portal-shell .portal-visit__copy{min-width:0}.portal-shell .portal-visit__copy :is(h2,h3){color:var(--ui-text);text-wrap:balance;margin:1px 0 0;font-size:.9rem;font-weight:650;line-height:1.35}.portal-shell .portal-visit__copy p{color:var(--ui-text-soft);margin:4px 0 0;font-size:.8rem;line-height:1.5}.portal-shell .portal-visit__copy time{color:var(--ui-text);font-variant-numeric:tabular-nums;font-weight:600}.portal-shell .portal-visit__actions{flex-wrap:wrap;grid-column:2;align-items:center;gap:8px 10px;display:flex}.portal-shell .portal-visit__actions .ay-button{min-height:44px;font-size:.8rem}.portal-shell .portal-home-checkin.has-visit .portal-card__body{gap:var(--portal-home-card-pad,20px);flex-direction:column;display:flex}.portal-shell .portal-home-checkin.has-visit .portal-next-task{flex:auto;min-height:0}.portal-shell .portal-visit--home{padding-top:var(--portal-home-card-pad,20px);border-top:1px solid color-mix(in srgb, var(--ui-border) 85%, transparent)}.portal-shell .portal-checkin-submitted{gap:16px;display:grid}.portal-shell .portal-visit--complete{border:1px solid var(--ui-border);border-radius:var(--portal-section-radius,16px);background:var(--portal-card-surface,var(--ui-surface));padding:20px}.portal-shell .portal-visit--complete .portal-visit__copy h2{font-size:1rem}.portal-shell .portal-visit--complete .portal-visit__copy p{font-size:.86rem}.portal-shell .portal-visit--notice{border:1px solid var(--ui-accent-border,var(--ui-border));background:color-mix(in srgb, var(--ui-accent-soft) 55%, transparent);border-radius:14px;column-gap:14px;padding:14px}.portal-shell .portal-visit--notice.is-booked{border-color:var(--ui-success-border);background:color-mix(in srgb, var(--portal-mint) 55%, transparent)}@keyframes portal-visit-in{0%{opacity:0}to{opacity:1}}@media (width<=899px){.portal-shell .portal-visit--home{column-gap:16px}}@media (width<=620px){.portal-shell .portal-visit{grid-template-columns:34px minmax(0,1fr);column-gap:16px}.portal-shell .portal-visit__icon{border-radius:11px;width:34px;height:34px}.portal-shell .portal-visit__actions{flex-direction:column;grid-column:1/-1;align-items:stretch;gap:6px}.portal-shell .portal-visit__actions .ay-button{justify-content:center;width:100%}.portal-shell .portal-visit--complete{padding:16px}.portal-shell .portal-visit--notice{column-gap:12px}}@media (prefers-reduced-motion:reduce){.portal-shell .portal-visit{animation:.1s linear both portal-visit-in}}.ay-wellness-summary .ay-visit-booking{grid-column:1/-1}.ay-visit-booking .ay-visit-booking__text{font-variant-numeric:tabular-nums}.ay-visit-booking .ay-visit-booking__note{color:var(--ui-muted);margin-top:4px;font-size:.77rem;font-weight:500;display:block}.ay-visit-booking-controls{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;margin:12px 0;display:flex}.ay-visit-booking-controls>.ay-membership-note{flex:1 0 100%;margin:0}.ay-visit-booking-form{flex-wrap:wrap;align-items:flex-end;gap:8px 10px;display:flex}.ay-visit-booking-controls .ay-button{min-height:38px;font-size:.77rem}.ay-visit-booking-form .ui-field{margin:0}.ay-visit-booking-form .ui-field__label{font-size:.77rem}@media (width<=899px){.ay-visit-booking-controls,.ay-visit-booking-form{flex-direction:column;align-items:stretch}.ay-visit-booking-controls .ay-button{width:100%}}.ay-booking-calendar-status{font-size:.77rem}.ay-doc-placeholder{background:var(--ui-canvas);width:100%;height:100%;min-height:0;transition:opacity .15s var(--ui-ease-out);flex:auto;overflow:hidden}.ay-doc-placeholder.is-leaving{opacity:0;pointer-events:none}.ay-doc-placeholder__pages{box-sizing:border-box}.ay-doc-placeholder__page{box-sizing:border-box;aspect-ratio:8.5/11;width:min(100%,880px);box-shadow:var(--ui-shadow-card);border-radius:var(--ui-radius-sm);animation:ui-skel-in .2s var(--ui-ease-out) .15s backwards;--ui-skel-base:#e9edef;--ui-skel-sheen:#ffffffd9;background:#fff;flex:none;position:relative;overflow:hidden}.ay-doc-placeholder__text{align-content:start;gap:22px;padding:9% 9% 0;display:grid}.ay-doc-placeholder .ui-skel{max-width:100%}@media (prefers-reduced-motion:reduce){.ay-doc-placeholder__page{animation-duration:.12s}}.ay-pdf-viewer__canvas{animation:ay-pdf-canvas-in .15s var(--ui-ease-out) backwards}@keyframes ay-pdf-canvas-in{0%{opacity:0}to{opacity:1}}.portal-shell .portal-skel-card,.portal-shell .portal-skel-metric{animation:ui-skel-in .2s var(--ui-ease-out) .15s backwards}.portal-shell .portal-skel-header{min-height:43px}.portal-shell .portal-skel-card.portal-home-summary,.portal-shell .portal-skel-card.portal-home-checkin{min-height:197px}.portal-shell .portal-skel-card.portal-home-messages{min-height:436px}.portal-shell .portal-skel-wellness>header{min-height:53px}.portal-shell .portal-skel-metric{min-height:249px}@media (width<=899px){.portal-shell .portal-skel-metric{min-height:236px}}@media (width<=620px){.portal-shell .portal-skel-header{min-height:34px}.portal-shell .portal-skel-header .portal-skel--title{height:28px}.portal-shell .portal-skel-card.portal-home-summary{min-height:150px}.portal-shell .portal-skel-card.portal-home-checkin{min-height:181px}.portal-shell .portal-skel-card.portal-home-messages{min-height:430px}.portal-shell .portal-skel-wellness>header{min-height:73px}}.portal-shell .portal-skel-card__header{align-content:start;gap:9px;display:grid}.portal-shell .portal-skel-summary>div{align-content:start;gap:8px;display:grid}.portal-shell .portal-skel-task__copy{align-content:center;gap:10px;min-width:0;display:grid}.portal-shell .portal-skel-task__button{border-radius:11px;grid-column:3;justify-self:end;width:150px;height:46px}.portal-shell .portal-skel-wellness>header{gap:8px;padding:2px 2px 0;display:grid}.portal-shell .portal-skel-metric .portal-wellness-metric__heading{align-items:center}.portal-shell .portal-skel-metric__value{align-self:end;gap:8px;display:grid}.portal-shell .portal-skel-metric__latest{align-self:end;justify-items:end;gap:8px;display:grid}.portal-shell .portal-skel-metric__spark{grid-column:1/-1;align-self:center}.portal-shell .portal-skel-metric__detail{grid-column:1/-1}.portal-shell .portal-skel-footer-button{border-radius:10px;width:160px;height:40px}.portal-shell .portal-skeleton-shell .portal-bell-slot{pointer-events:none}.portal-shell .portal-page--home{flex-direction:column;display:flex}.portal-shell .portal-page--home.is-intro{animation:none}.portal-shell .portal-i0{--i:0}.portal-shell .portal-i1{--i:1}.portal-shell .portal-i2{--i:2}.portal-shell .portal-i3{--i:3}.portal-shell .portal-i4{--i:4}.portal-shell .portal-i5{--i:5}.portal-shell .portal-i6{--i:6}.portal-shell .portal-i7{--i:7}.portal-shell .portal-i8{--i:8}.portal-shell .portal-bell-placeholder{box-sizing:border-box;border:1px solid var(--ui-border);background:var(--ui-skel-base);border-radius:50%;width:42px;height:42px;display:block}.portal-shell .portal-bell-placeholder.is-leaving{opacity:0;pointer-events:none;transition:opacity .15s var(--ui-ease-out);position:absolute;top:0;left:0}.portal-shell .portal-bell{animation:portal-fade-in .15s var(--ui-ease-out) backwards}@media (width<=899px){.portal-shell .portal-bell-placeholder{width:44px;height:44px}}.portal-shell :is(.portal-bell__button b,.portal-rail-button b,.portal-mobile-nav__item b,.portal-nav-dot){animation:portal-badge-in .14s var(--ui-ease-out) backwards}.portal-shell :is(.portal-bell__button b,.portal-rail-button b,.portal-mobile-nav__item b,.portal-nav-dot).is-leaving{animation:.1s ease-out forwards portal-badge-out}@keyframes portal-badge-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}@keyframes portal-badge-out{to{opacity:0}}.portal-shell.is-after-chat :is(.portal-sidebar,.portal-mobile-nav){animation:portal-fade-in .2s var(--ui-ease-out) backwards}.portal-shell .portal-page--home>.portal-collapse-slot{--ui-collapse-gap:var(--portal-home-section-gap,20px)}.portal-shell .portal-home-checkin .portal-card__body{gap:var(--portal-home-card-pad,20px);flex-direction:column;display:flex}.portal-shell .portal-home-checkin .portal-next-task{flex:auto;min-height:0}.portal-shell .portal-visit-slot,.portal-shell .portal-checkin-visit-slot{--slot-gap:var(--portal-home-card-pad,20px);margin-top:calc(var(--slot-gap) * -1);transition:grid-template-rows .14s var(--ui-ease-in-out), margin-top .14s var(--ui-ease-in-out), opacity .14s var(--ui-ease-out), visibility 0s linear .14s;margin-bottom:0}.portal-shell .portal-visit-slot[data-open=true],.portal-shell .portal-checkin-visit-slot[data-open=true]{transition:grid-template-rows .2s var(--ui-ease-out), margin-top .2s var(--ui-ease-out), opacity .2s var(--ui-ease-out), visibility 0s;margin-top:0}.portal-shell .portal-checkin-visit-slot{--slot-gap:16px}.portal-shell .portal-home-checkin{transition:background-color .2s var(--ui-ease-out), border-color .2s var(--ui-ease-out), box-shadow .2s var(--ui-ease-out)}.portal-shell .portal-swap{transition:min-height .2s var(--ui-ease-out);position:relative}.portal-shell .portal-swap__current{min-width:0}.portal-shell .portal-swap__leaving{pointer-events:none;animation:portal-swap-out .12s var(--ui-ease-out) forwards;position:absolute;inset:0 0 auto}.portal-shell .portal-swap__leaving *{animation:none!important}@keyframes portal-swap-out{to{opacity:0}}.portal-shell .portal-swap--fade>.portal-swap__current{animation:portal-fade-in .16s var(--ui-ease-out) backwards}.portal-shell .portal-attachment-slot{--ui-collapse-gap:11px}.portal-shell .portal-attachment-slot .portal-attachment-list{margin-top:0;padding:2px}@media (width>=900px){.portal-shell .portal-message-composer{flex-direction:column;display:flex}}@media (width<=899px){.portal-shell .portal-messages-card .portal-message-composer{gap:0 8px}.portal-shell .portal-messages-card .portal-message-composer>.ay-section-error{margin-bottom:8px}.portal-shell .portal-messages-card .portal-attachment-slot{--ui-collapse-gap:0px}.portal-shell .portal-messages-card .portal-attachment-slot .portal-attachment-list{margin-bottom:8px}}.portal-shell .portal-skel-bubbles{gap:15px;display:grid}.portal-shell .portal-skel-bubble{width:min(78%,420px)}.portal-shell .portal-skel-bubble.is-patient{justify-self:end;width:min(60%,320px)}.portal-shell .portal-load-more{display:grid}.portal-shell .portal-load-more__row{margin-inline:-4px;padding:14px 4px 4px}.portal-shell .portal-load-more__rows .portal-load-more__row{padding-bottom:0}.portal-shell .portal-message-thread{overflow-anchor:none}.portal-shell .portal-load-more--thread .portal-load-more__row{padding:0 4px}.portal-shell .portal-load-more--thread+.ay-message-bubble{transition:margin-top .14s var(--ui-ease-in-out);margin-top:0}.portal-shell .portal-load-more--thread:not(:has(.ui-collapse[data-open=true]))+.ay-message-bubble{margin-top:-15px}.portal-shell .portal-skel-docrows,.portal-shell .portal-skel-historyrows{display:grid}.portal-shell .portal-upload-form{padding-bottom:10px;position:relative}.portal-shell .portal-upload-progress{min-height:16px;color:var(--ui-muted);align-items:center;gap:8px;margin:0;font-size:.77rem;line-height:16px;display:flex;position:absolute;top:calc(100% - 4px);left:0;right:0}.portal-shell .portal-upload-progress.is-active{animation:portal-fade-in .15s var(--ui-ease-out) backwards}.portal-shell .portal-document-dialog-stage{position:relative}.portal-shell .portal-document-paper{z-index:2;position:absolute;inset:0}.portal-shell .portal-document-dialog-footer .ay-button[aria-disabled=true]{opacity:.55;cursor:not-allowed;pointer-events:none}.portal-shell .portal-document-dialog-image{animation:portal-fade-in .15s var(--ui-ease-out) backwards}.portal-shell :is(.portal-logo-letter,.portal-logo-img){grid-area:1/1}.portal-shell .portal-logo-letter{transition:opacity .15s var(--ui-ease-out)}.portal-shell .portal-logo-letter.is-covered{opacity:0}.portal-shell .portal-logo-img{opacity:0;transition:opacity .15s var(--ui-ease-out)}.portal-shell .portal-logo-img.is-loaded{opacity:1}.portal-shell .portal-fade-in{animation:portal-fade-in .15s var(--ui-ease-out) backwards}.portal-shell .portal-profile-photo__thumb .ui-skel{border-radius:0;width:100%;height:100%}.portal-shell .portal-card__footer-slot>.ui-collapse__inner>.portal-card__footer{margin-top:0}.portal-shell .portal-checkin-opening{flex-direction:column;flex:auto;width:100%;min-height:0;display:flex}.portal-shell .portal-checkin-opening__thread{width:min(100%,780px);min-height:0;padding:12px max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));flex-direction:column;flex:auto;gap:18px;margin-inline:auto;display:flex;overflow:hidden}.portal-shell .portal-checkin-opening__notice{flex:none;width:100%}.portal-shell .portal-checkin-opening__bubble{flex:none;width:min(78%,460px)}.portal-shell .portal-checkin-opening__bubble.is-patient{align-self:flex-end;width:min(56%,320px)}.portal-shell .portal-checkin-opening__composer{width:min(100%,780px);padding:8px max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));flex:none;margin-inline:auto}.portal-shell .portal-checkin-opening .ui-skel{max-width:100%}@media (prefers-reduced-motion:reduce){.portal-shell .portal-visit-slot,.portal-shell .portal-checkin-visit-slot{transition:opacity .12s linear,visibility 0s linear .12s}.portal-shell .portal-visit-slot[data-open=true],.portal-shell .portal-checkin-visit-slot[data-open=true]{transition:opacity .12s linear,visibility}.portal-shell .portal-swap{transition:none}.portal-shell .portal-swap__leaving{animation-duration:.1s}.portal-shell :is(.portal-bell__button b,.portal-rail-button b,.portal-mobile-nav__item b,.portal-nav-dot){animation-name:portal-fade-in;animation-duration:.1s;animation-timing-function:linear}.portal-shell :is(.portal-bell__button b,.portal-rail-button b,.portal-mobile-nav__item b,.portal-nav-dot).is-leaving{animation-name:portal-badge-out;animation-duration:.1s}.portal-shell .portal-bell,.portal-shell .portal-fade-in,.portal-shell .portal-document-dialog-image,.portal-shell .portal-upload-progress.is-active{animation-duration:.1s;animation-timing-function:linear}.portal-shell .portal-bell-placeholder.is-leaving{transition-duration:.1s}.portal-shell.is-after-chat :is(.portal-sidebar,.portal-mobile-nav){animation-duration:.12s;animation-timing-function:linear}}.portal-shell{--portal-bell-urgent-ink:var(--portal-bell-red)}html.dark .portal-shell{--portal-bell-urgent-ink:#ff9d95}.portal-shell .portal-bell__head{z-index:1;background:var(--ui-surface);justify-content:space-between;align-items:center;gap:8px;margin:-8px -8px 0;padding:8px 8px 0;display:flex;position:sticky;top:0}.portal-shell .portal-bell__head h2{min-width:0}.portal-shell .portal-bell__clear{min-height:32px;color:var(--ui-accent);font:inherit;cursor:pointer;transition:background-color .14s ease-out, transform .1s var(--ui-ease-out);background:0 0;border:0;border-radius:8px;flex:none;margin:0 2px 2px 0;padding:4px 10px;font-size:.77rem;font-weight:680}.portal-shell .portal-bell__clear:active{transform:scale(.97)}.portal-shell .portal-bell__clear:focus-visible{box-shadow:var(--ui-focus);outline:0}@media (hover:hover) and (pointer:fine){.portal-shell .portal-bell__clear:hover{background:var(--ui-accent-soft)}}.portal-shell .portal-bell__popover ul{gap:0}.portal-shell .portal-bell__item{opacity:1;transition:grid-template-rows .18s var(--ui-ease-out), opacity .14s var(--ui-ease-out);grid-template-rows:1fr;display:grid}.portal-shell .portal-bell__item.is-leaving{opacity:0;pointer-events:none;grid-template-rows:0fr}.portal-shell .portal-bell__item-inner{min-height:0;transition:padding .18s var(--ui-ease-out);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px;padding-block:1px;display:grid;overflow:hidden}.portal-shell .portal-bell__item.is-leaving .portal-bell__item-inner{padding-block:0}.portal-shell .portal-bell__row.is-urgent .portal-bell__row-icon{background:color-mix(in srgb, var(--portal-bell-red) 13%, var(--ui-surface));color:var(--portal-bell-urgent-ink)}.portal-shell .portal-bell__dismiss{width:34px;height:34px;color:var(--ui-muted);cursor:pointer;transition:background-color .14s ease-out, color .14s ease-out, transform .1s var(--ui-ease-out);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.portal-shell .portal-bell__dismiss svg{width:15px;height:15px}.portal-shell .portal-bell__dismiss:active{transform:scale(.92)}.portal-shell .portal-bell__dismiss:focus-visible{color:var(--ui-text);box-shadow:inset 0 0 0 2px var(--ui-accent);outline:0}@media (hover:hover) and (pointer:fine){.portal-shell .portal-bell__dismiss:hover{background:var(--ui-surface-soft);color:var(--ui-text)}}@media (width<=899px),(pointer:coarse){.portal-shell .portal-bell__dismiss{width:44px;height:44px}.portal-shell .portal-bell__dismiss svg{width:16px;height:16px}.portal-shell .portal-bell__clear{min-height:44px;margin-bottom:0;padding-inline:12px}}.portal-shell .portal-payment-banner{align-items:center;gap:14px;padding:14px 14px 14px 16px}.portal-shell .portal-payment-banner__icon{border:1px solid var(--ui-danger-border);background:var(--ui-surface);width:40px;height:40px;color:var(--ui-danger);border-radius:12px;flex:0 0 40px;place-items:center;display:grid}.portal-shell .portal-payment-banner__icon svg{width:20px;height:20px}.portal-shell .portal-payment-banner__copy{flex:auto;min-width:0}.portal-shell .portal-payment-banner__copy h2{letter-spacing:-.01em;font-size:.92rem}.portal-shell .portal-payment-banner__copy p{max-width:64ch;margin:4px 0 0}.portal-shell .portal-payment-banner__actions{flex:none}@media (width<=620px){.portal-shell .portal-payment-banner{grid-template-columns:40px minmax(0,1fr);align-items:start;gap:12px;padding:14px;display:grid}.portal-shell .portal-payment-banner__actions{grid-column:1/-1}.portal-shell .portal-payment-banner__actions .ay-button{width:100%}}@media (width<=899px){.portal-shell .portal-page--home.is-checkin-ready .portal-collapse-slot--payment{order:-1}}@media (prefers-reduced-motion:reduce){.portal-shell .portal-bell__item,.portal-shell .portal-bell__item-inner,.portal-shell .portal-bell__dismiss,.portal-shell .portal-bell__clear{transition:none!important}.portal-shell .portal-bell__dismiss:active,.portal-shell .portal-bell__clear:active{transform:none}}.portal-shell .portal-settings-card{scroll-margin-top:70px}.portal-shell :is(.cm-select__trigger,.cm-datefield,.cm-combobox).ui-input:read-only{border-color:var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text)}.portal-shell .cm-select__trigger.ui-input:read-only{cursor:pointer}.portal-shell .cm-select__trigger.ui-input:disabled{opacity:.6;cursor:not-allowed}.portal-shell .cm-select__trigger.ui-input[aria-expanded=true]{border-color:var(--ui-accent)}.portal-shell .portal-upload-form .cm-select__trigger.ui-input{min-height:var(--portal-control-height);font-size:var(--portal-control-font);resize:none;padding:9px 12px;line-height:1.4}html.clinical-ui.dark[data-theme-surface=patient-portal] .portal-shell :is(.cm-select__trigger,.cm-datefield,.cm-combobox).ui-input:read-only{background:var(--ui-surface)}:root{--cm-open:.17s;--cm-close:.12s;--cm-sheet-open:.25s;--cm-sheet-close:.2s;--cm-small:12px}.cm-pop[data-surface=portal],.cm-layer[data-surface=portal],.cm-tip[data-surface=portal],.cm-confirm[data-surface=portal]{--cm-small:13px}html[data-cm-scroll-lock],html[data-cm-scroll-lock] body{overflow:hidden}.cm-select{min-width:0;display:block;position:relative}.cm-select--sm{vertical-align:middle;display:inline-block}.cm-select__trigger.ui-input{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;font-family:inherit;display:flex}.cm-select--sm .cm-select__trigger.ui-input{min-height:32px;padding:4px 8px;font-size:13px}.cm-select__value{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.cm-select__value.is-placeholder{color:var(--ui-muted)}.cm-select__trigger.ui-input[aria-expanded=true]{border-color:var(--ui-accent)}.cm-select__trigger.ui-input:focus-visible{border-color:var(--ui-accent);box-shadow:var(--ui-focus);outline:0}.cm-select__trigger.ui-input.is-invalid,.cm-select__trigger.ui-input[aria-invalid=true]{border-color:var(--ui-danger)}.cm-select__trigger.ui-input:disabled{cursor:not-allowed}:where(.cm-menu-button){font:inherit;cursor:pointer;align-items:center;gap:6px;display:inline-flex}:where(.cm-menu-button):disabled{cursor:not-allowed}.cm-chevron{color:var(--ui-muted);transition:transform var(--cm-open) var(--ui-ease-out);flex:none}.cm-menu-button .cm-chevron{color:currentColor;opacity:.8}.cm-select__trigger[aria-expanded=true] .cm-chevron,.cm-menu-button[aria-expanded=true] .cm-chevron,.cm-combobox[data-open] .cm-chevron{transform:rotate(180deg)}.cm-pop{left:var(--cm-x,0px);top:var(--cm-y,0px);z-index:700;box-sizing:border-box;min-width:var(--cm-min-w,0px);width:max-content;max-width:min(var(--cm-max-w,420px), calc(100vw - 32px));max-height:var(--cm-room,none);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);font-family:var(--ui-font);transform-origin:var(--cm-origin,top left);--cm-slide:-4px;flex-direction:column;padding:6px;font-size:13px;line-height:1.35;display:flex;position:fixed;overflow:hidden}.cm-pop[data-side=top]{--cm-slide:4px}.cm-pop[data-state=open]{animation:cm-pop-in var(--cm-open) var(--ui-ease-out) both}.cm-pop[data-state=closing]{pointer-events:none;animation:cm-pop-out var(--cm-close) var(--ui-ease-out) both}@keyframes cm-pop-in{0%{opacity:0;transform:translateY(var(--cm-slide,-4px)) scale(.97)}to{opacity:1;transform:none}}@keyframes cm-pop-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(var(--cm-slide,-4px)) scale(.97)}}@keyframes cm-fade-in{0%{opacity:0}to{opacity:1}}@keyframes cm-fade-out{0%{opacity:1}to{opacity:0}}.cm-list{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ui-border-strong) transparent;outline:0;flex-direction:column;flex:auto;gap:2px;min-height:0;display:flex;position:relative;overflow-y:auto}.cm-option{box-sizing:border-box;min-height:36px;color:var(--ui-text);cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color var(--cm-close) var(--ui-ease-out), color var(--cm-close) var(--ui-ease-out);border-radius:8px;flex:none;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:560;line-height:1.3;display:flex}.cm-option__check{width:16px;height:16px;color:var(--ui-accent);flex:0 0 16px;place-items:center;display:grid}.cm-option__text{flex:auto;gap:1px;min-width:0;display:grid}.cm-option__label{overflow-wrap:anywhere}.cm-option__sub{color:var(--ui-muted);font-size:var(--cm-small);font-weight:500;line-height:1.25}.cm-option__detail{color:var(--ui-muted);font-size:var(--cm-small);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:12px;font-weight:500}.cm-option.is-selected,.cm-list[data-nav=keyboard] .cm-option.is-active{background:var(--ui-accent-soft);color:var(--ui-accent)}@media (hover:hover) and (pointer:fine){.cm-option:not(.is-disabled):hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}.cm-option:not(.is-disabled):active{background:var(--ui-accent-soft)}.cm-option.is-disabled{color:var(--ui-muted);opacity:.55;cursor:not-allowed}.cm-option[data-value=__cm_new__]{color:var(--ui-accent);font-weight:650}.cm-empty{color:var(--ui-muted);padding:12px 10px;font-size:13px}.cm-search{flex:none;margin-bottom:6px;position:relative}.cm-search__icon{color:var(--ui-muted);pointer-events:none;position:absolute;top:50%;left:10px;translate:0 -50%}.cm-search .cm-search__input{box-sizing:border-box;border:1px solid var(--ui-border-strong);background:var(--ui-surface-soft);width:100%;min-height:36px;color:var(--ui-text);border-radius:8px;margin:0;padding:8px 10px 8px 32px;font-family:inherit;font-size:13px;line-height:1.3}.cm-search .cm-search__input:focus{border-color:var(--ui-accent);box-shadow:var(--ui-focus);outline:0}.cm-search .cm-search__input::placeholder{color:var(--ui-muted);opacity:.85}.cm-layer--sheet{z-index:700;position:fixed;inset:0}.cm-scrim{background:var(--ui-overlay);touch-action:none;animation:cm-fade-in var(--cm-sheet-open) var(--ui-ease-out) both;position:absolute;inset:0}.cm-layer--sheet[data-state=closing] .cm-scrim{animation:cm-fade-out var(--cm-sheet-close) var(--ui-ease-out) both}.cm-sheet{right:0;bottom:var(--cm-keyboard,0px);box-sizing:border-box;max-height:min(82dvh,640px);padding:0 8px max(12px, env(safe-area-inset-bottom));border:1px solid var(--ui-border-strong);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-dialog);font-family:var(--ui-font);overscroll-behavior:contain;translate:0 var(--cm-drag,0px);border-bottom:0;border-radius:18px 18px 0 0;outline:0;flex-direction:column;display:flex;position:absolute;left:0}.cm-sheet[data-state=open]{animation:cm-sheet-up var(--cm-sheet-open) var(--ui-ease-drawer) both}.cm-sheet[data-state=closing]{pointer-events:none;animation:cm-sheet-down var(--cm-sheet-close) var(--ui-ease-drawer) both}.cm-sheet[data-dragging]{transition:none;animation:none}@keyframes cm-sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes cm-sheet-down{0%{transform:none}to{transform:translateY(100%)}}.cm-sheet__grab{touch-action:none;cursor:grab;flex:none;padding:8px 8px 4px}.cm-sheet__handle{background:var(--ui-border-strong);border-radius:999px;width:40px;height:4px;margin:0 auto 10px;display:block}.cm-sheet .cm-sheet__title{color:var(--ui-text);margin:0;font-size:15px;font-weight:680;line-height:1.3}.cm-sheet__body{flex-direction:column;flex:auto;min-height:0;padding-top:6px;display:flex;overflow-y:auto}.cm-sheet .cm-option{border-radius:12px;min-height:48px;padding:12px;font-size:15px}.cm-sheet .cm-search{margin-bottom:8px}.cm-sheet .cm-search .cm-search__input{border-radius:12px;min-height:44px;font-size:16px}.cm-sheet .cm-empty{padding:16px 12px;font-size:15px}.cm-pop--calendar,.cm-pop--swatches{--cm-max-w:380px;padding:10px;overflow-y:auto}.cm-pop--time{--cm-max-w:520px}.cm-cal{width:296px;max-width:100%}.cm-sheet .cm-cal{width:100%;max-width:380px;margin:0 auto}.cm-cal__head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.cm-cal__month{color:var(--ui-text);font-size:14px;font-weight:680}.cm-cal__nav{width:32px;height:32px;color:var(--ui-text-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.cm-cal__nav:disabled{color:color-mix(in srgb, var(--ui-muted) 50%, transparent);cursor:not-allowed;background:0 0;border-color:#0000}@media (hover:hover) and (pointer:fine){.cm-cal__nav:not(:disabled):hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}.cm-cal__nav:focus-visible,.cm-cal__action:focus-visible,.cm-cal__day:focus-visible,.cm-datefield__button:focus-visible,.cm-colorfield__swatch:focus-visible,.cm-swatches__button:focus-visible,.cm-combobox__button:focus-visible{box-shadow:var(--ui-focus);outline:0}.cm-cal__row{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.cm-cal__weekday{height:28px;color:var(--ui-muted);font-size:var(--cm-small);place-items:center;font-weight:650;display:grid}.cm-cal__cell{place-items:center;display:grid}.cm-cal__day{width:36px;height:36px;color:var(--ui-text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;transition:background-color var(--cm-close) var(--ui-ease-out), color var(--cm-close) var(--ui-ease-out);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;font-size:13px;font-weight:560;display:grid}.cm-cal__day.is-outside{color:var(--ui-muted);opacity:.6}@media (hover:hover) and (pointer:fine){.cm-cal__day:not(:disabled):not(.is-selected):hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}.cm-cal__day.is-today{box-shadow:inset 0 0 0 1.5px var(--ui-accent);color:var(--ui-accent)}.cm-cal__day.is-selected{background:var(--ui-accent-fill);color:var(--ui-on-accent);box-shadow:none}.cm-cal__day.is-selected:focus-visible,.cm-cal__day.is-today:focus-visible{box-shadow:var(--ui-focus)}.cm-cal__day:disabled{color:color-mix(in srgb, var(--ui-muted) 50%, transparent);cursor:not-allowed;background:0 0;border-color:#0000}.cm-sheet .cm-cal__day{width:100%;max-width:48px;height:44px;font-size:15px}.cm-sheet .cm-cal__nav{width:44px;height:44px}.cm-cal__foot{border-top:1px solid var(--ui-border);align-items:center;gap:8px;margin-top:8px;padding-top:8px;display:flex}.cm-cal__action{min-height:32px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:4px 10px;font-size:13px;font-weight:680}.cm-cal__action:disabled{color:color-mix(in srgb, var(--ui-muted) 55%, transparent);cursor:not-allowed;background:0 0;border-color:#0000}.cm-cal__action--done{margin-left:auto}@media (hover:hover) and (pointer:fine){.cm-cal__action:not(:disabled):hover{background:var(--ui-accent-soft)}}.cm-sheet .cm-cal__action{min-height:44px;padding:8px 14px;font-size:15px}.cm-cal__split{align-items:flex-start;gap:12px;display:flex}.cm-times{border-left:1px solid var(--ui-border);flex:none;width:124px;max-height:292px;padding-left:8px}.cm-times .cm-option{min-height:32px;padding:6px 8px}.cm-times .cm-option__check{display:none}.cm-sheet .cm-cal__split{flex-direction:column;align-items:stretch}.cm-sheet .cm-cal__foot{background:var(--ui-surface);margin-top:0;padding-bottom:4px;position:sticky;bottom:0}.cm-sheet .cm-times{border-top:1px solid var(--ui-border);border-left:0;width:auto;max-height:168px;padding:8px 0 0}.cm-sheet .cm-times .cm-option{min-height:44px}.cm-datefield.ui-input,.cm-colorfield.ui-input,.cm-combobox.ui-input{align-items:center;gap:4px;padding:0 4px 0 11px;display:flex;position:relative}.cm-datefield .cm-datefield__input,.cm-colorfield .cm-colorfield__input,.cm-combobox .cm-combobox__input{box-sizing:border-box;width:100%;min-width:0;min-height:0;box-shadow:none;color:inherit;font:inherit;line-height:inherit;background:0 0;border:0;border-radius:0;outline:0;flex:auto;align-self:stretch;margin:0;padding:8px 0}.cm-datefield .cm-datefield__input::placeholder,.cm-colorfield .cm-colorfield__input::placeholder,.cm-combobox .cm-combobox__input::placeholder{color:var(--ui-muted);opacity:.8}.cm-datefield.ui-input:focus-within,.cm-colorfield.ui-input:focus-within,.cm-combobox.ui-input:focus-within{border-color:var(--ui-accent)}.cm-datefield.ui-input:has(:focus-visible),.cm-colorfield.ui-input:has(:focus-visible),.cm-combobox.ui-input:has(.cm-combobox__input:focus-visible){box-shadow:var(--ui-focus)}.cm-datefield.ui-input.is-invalid,.cm-colorfield.ui-input.is-invalid,.cm-combobox.ui-input.is-invalid{border-color:var(--ui-danger)}.cm-datefield.is-disabled,.cm-colorfield.is-disabled,.cm-combobox.is-disabled{opacity:.6}.cm-datefield--sm.ui-input,.cm-colorfield--sm.ui-input,.cm-combobox--sm.ui-input{min-height:32px}.cm-datefield__button,.cm-combobox__button{width:32px;height:32px;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid}@media (hover:hover) and (pointer:fine){.cm-datefield__button:not(:disabled):hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}.cm-datefield__button:disabled,.cm-combobox__button:disabled{color:color-mix(in srgb, var(--ui-muted) 50%, transparent);cursor:not-allowed;background:0 0;border-color:#0000}.cm-colorfield.ui-input{padding-left:6px}.cm-colorfield__swatch{cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;order:-1;place-items:center;width:30px;height:30px;padding:0;display:grid}.cm-colorfield__swatch:disabled{cursor:not-allowed;background:0 0;border-color:#0000}.cm-colorfield__swatch:disabled .cm-swatch{opacity:.5}.cm-colorfield .cm-colorfield__input{font-variant-numeric:tabular-nums;padding-left:4px}.cm-swatch{background:var(--cm-swatch,transparent);width:22px;height:22px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ui-text) 24%, transparent);border-radius:6px;display:block}.cm-swatch.is-empty{background:repeating-linear-gradient(45deg, var(--ui-border) 0 4px, var(--ui-surface) 4px 8px)}.cm-swatches{gap:8px;display:grid}.cm-swatches__row{grid-template-columns:repeat(6,40px);gap:8px;display:grid}.cm-swatches__cell{place-items:center;display:grid}.cm-swatches__button{cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:40px;height:40px;padding:0;display:grid;position:relative}.cm-swatches__button .cm-swatch{border-radius:8px;width:32px;height:32px}.cm-swatches__button.is-selected .cm-swatch{box-shadow:0 0 0 2px var(--ui-surface), 0 0 0 4px var(--ui-accent)}.cm-swatches__check{background:var(--ui-surface);width:18px;height:18px;color:var(--ui-text);border-radius:50%;padding:2px;position:absolute}.cm-sheet .cm-swatches__row{grid-template-columns:repeat(6,minmax(0,1fr))}.cm-sheet .cm-swatches__button{width:100%;max-width:52px;height:52px}.cm-sheet .cm-swatches__button .cm-swatch{width:40px;height:40px}.cm-pop--suggest{padding:6px}.cm-tip{left:var(--cm-x,0px);top:var(--cm-y,0px);z-index:720;box-sizing:border-box;border:1px solid var(--ui-border-strong);background:var(--ui-surface);width:max-content;max-width:min(260px,100vw - 16px);color:var(--ui-text-soft);box-shadow:var(--ui-shadow-popover);font-family:var(--ui-font);font-size:var(--cm-small);overflow-wrap:anywhere;transform-origin:var(--cm-origin,top center);border-radius:8px;padding:7px 10px;font-weight:560;line-height:1.4;position:fixed}.cm-tip[data-state=open]{animation:cm-fade-in var(--cm-close) var(--ui-ease-out) both}.cm-tip[data-state=open][data-instant]{animation:none}.cm-tip[data-state=closing]{pointer-events:none;animation:cm-fade-out var(--cm-close) var(--ui-ease-out) both}.cm-confirm.ay-order-confirm-modal{z-index:500}.cm-confirm[data-state=open]{animation:cm-fade-in var(--cm-open) var(--ui-ease-out) both}.cm-confirm[data-state=open] .cm-confirm__dialog{animation:cm-dialog-in var(--cm-sheet-open) var(--ui-ease-out) both}.cm-confirm[data-state=closing]{pointer-events:none;animation:cm-fade-out var(--cm-close) var(--ui-ease-out) both}@keyframes cm-dialog-in{0%{opacity:0;transform:translateY(6px)scale(.97)}to{opacity:1;transform:none}}.cm-confirm .cm-confirm__dialog{width:min(100%,440px);box-shadow:var(--ui-shadow-dialog);outline:0;padding:22px 22px 18px}.cm-confirm .cm-confirm__title{color:var(--ui-text);margin:0;font-size:16px;font-weight:700;line-height:1.3}.cm-confirm .cm-confirm__body{color:var(--ui-text-soft);margin-top:8px;font-size:14px;line-height:1.5}.cm-confirm .cm-confirm__actions .ay-button{min-height:38px;font-size:14px}.cm-confirm .cm-confirm__actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:18px;display:flex}@media (width<=600px){.cm-confirm .cm-confirm__actions{flex-direction:column-reverse}.cm-confirm .cm-confirm__actions .ay-button{width:100%;min-height:44px}}@media (pointer:coarse){.cm-datefield__button,.cm-combobox__button,.cm-cal__nav{width:40px;height:40px}}@media (prefers-reduced-motion:reduce){.cm-pop[data-state=open],.cm-confirm[data-state=open] .cm-confirm__dialog,.cm-sheet[data-state=open]{animation:cm-fade-in var(--cm-close) linear both}.cm-pop[data-state=closing],.cm-sheet[data-state=closing]{animation:cm-fade-out var(--cm-close) linear both}.cm-scrim,.cm-layer--sheet[data-state=closing] .cm-scrim{animation-duration:var(--cm-close)}.cm-chevron,.cm-option,.cm-cal__day{transition:none}.cm-select__trigger[aria-expanded=true] .cm-chevron,.cm-menu-button[aria-expanded=true] .cm-chevron,.cm-combobox[data-open] .cm-chevron{transform:none}.cm-sheet{translate:none}.cm-pop[data-state],.cm-sheet[data-state],.cm-scrim,.cm-confirm[data-state],.cm-confirm[data-state] .cm-confirm__dialog,.cm-tip[data-state]{animation-duration:var(--cm-close)!important}}@media (width<=899px){.portal-shell :is(.portal-page--home,.portal-skel-page) .portal-home-checkin{order:1}.portal-shell :is(.portal-page--home,.portal-skel-page) .portal-home-messages{order:2}.portal-shell :is(.portal-page--home,.portal-skel-page) .portal-home-wellness{order:3}.portal-shell :is(.portal-page--home,.portal-skel-page) .portal-home-summary{order:4}}.portal-shell .portal-messages-card>.portal-card__body>.portal-message-warning--top{align-self:flex-end;position:static;margin:0 0 12px!important}.portal-shell .portal-message-emergency{color:var(--ui-muted);text-align:center;margin:0;font-size:.8125rem;line-height:1.4}@media (width<=899px){.portal-shell .portal-messages-card .portal-message-composer>.portal-message-emergency{order:5;grid-column:1/-1;padding-top:6px}}.portal-shell .portal-page--checkin.has-past-checkins{overscroll-behavior:contain;justify-content:flex-start;padding-block:2px 8px;overflow-y:auto}.portal-shell .portal-page--checkin.has-past-checkins>:is(.portal-checkin-unavailable,.portal-checkin-submitted,.portal-checkin-welcome,.portal-checkin-complete){flex:none;margin-block:0}.portal-shell .portal-page--checkin>.portal-past-checkins{flex:none;width:min(100%,620px);min-height:0;margin:0}@media (width<=1023.98px),(hover:none) and (pointer:coarse){.portal-shell .portal-page--checkin.has-past-checkins:not(.is-conversation){padding-top:46px}}.portal-shell .portal-past-checkins .portal-assessment-list{flex:none;max-height:none;padding-right:0;overflow:visible}.portal-shell .portal-home-summary .portal-summary-list>div:last-child{border-bottom:0;padding-bottom:0}.portal-shell .ay-message-status,.portal-shell .portal-past-checkins :is(.portal-assessment__identity time,.portal-assessment dt,.portal-assessment__empty){font-size:.8125rem}.ay-settings-editor__header .ay-status-pill{max-width:none}.ay-settings-editor__header .ay-status-pill[data-save-state=unsaved]{background:var(--ui-warning-soft);color:var(--ui-warning)}.ay-settings-editor__header .ay-status-pill[data-save-state=published]{background:var(--ui-success-soft);color:var(--ui-success)}.ay-settings-editor[data-setup=done] .ay-settings-editor__header{justify-content:flex-end;margin-bottom:10px}.ay-settings-editor[data-setup=done] .ay-settings-editor__header .ay-status-pill{align-self:flex-end}@media (width>=900px){.ay-settings-editor[data-setup=done] .ay-settings-footer__pager,.ay-settings-editor[data-setup=done] .ay-settings-footer__step{display:none}.ay-settings-editor[data-setup=done] .ay-settings-footer__actions{margin-left:auto}}.ay-settings-section-check.is-live{border-top:0;margin-top:14px;padding-top:0}.ay-settings-step-nav button{position:relative}.ay-settings-step-nav button[data-needs-attention]{padding-right:24px}.ay-settings-step-nav button>span.ay-settings-step-nav__dot,.ay-settings-step-nav button.is-selected>span.ay-settings-step-nav__dot{background:var(--ui-warning);color:#0000;border:0;border-radius:50%;width:8px;height:8px;margin-top:-4px;padding:0;display:block;position:absolute;top:50%;right:9px}.ay-settings-jump{flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 16px;display:flex}.ay-settings-jump[hidden]{display:none}.ay-settings-jump__label{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.62rem;font-weight:700}.ay-settings-jump ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ay-settings-jump a{border:1px solid var(--ui-border);background:var(--ui-surface);min-height:32px;color:var(--ui-text-soft);transition:background-color .15s var(--ui-ease-out,ease-out), border-color .15s var(--ui-ease-out,ease-out), color .15s var(--ui-ease-out,ease-out);border-radius:999px;align-items:center;padding:0 12px;font-size:.72rem;font-weight:650;line-height:1.2;text-decoration:none;display:inline-flex}.ay-settings-jump a:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.ay-settings-jump a:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-settings-group-card[id]{scroll-margin-top:16px;scroll-margin-bottom:96px}.ay-settings-group-card>header>h3:focus{outline:none}#settings-card-invite-and-note-tracking{grid-column:1/-1}.ay-wellness-price-line{margin:0}@media (width<=600px){.ay-settings-jump{flex-wrap:nowrap}.ay-settings-jump ul{overscroll-behavior-x:contain;scrollbar-width:none;flex-wrap:nowrap;flex:auto;min-width:0;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),#0000)}.ay-settings-jump ul::-webkit-scrollbar{display:none}.ay-settings-jump li{flex:none}.ay-settings-jump a{white-space:nowrap;min-height:44px;font-size:max(.8125rem,13px)}.ay-settings-jump__label{flex:none;font-size:max(.8125rem,13px)}}@media (prefers-reduced-motion:reduce){.ay-settings-jump a{transition:none}}@media (width<=430px){.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions{gap:4px}.ay-settings-footer__label{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions .ay-button:has(>.ay-settings-footer__label){width:44px;min-width:44px;padding-inline:0}}.ay-membership-progress{align-items:center;gap:14px;margin:10px 0 12px;display:flex}.ay-wellness-progress--strip{flex:auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;max-width:420px;margin:0}.ay-wellness-progress--strip li{background:var(--ui-border-strong);border-radius:999px;height:5px}.ay-wellness-progress--strip li:after,.ay-wellness-progress--strip li:not(:last-child):after,.ay-wellness-progress--strip li.is-complete:not(:last-child):after{content:none;display:none}.ay-wellness-progress--strip li.is-complete,.ay-wellness-progress--strip li.is-current{background:var(--ui-accent)}.ay-wellness-progress--strip li.is-current{box-shadow:0 0 0 2px var(--ui-accent-soft)}.ay-wellness-progress--strip span{clip:rect(0, 0, 0, 0);white-space:nowrap;background:0 0;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.ay-wellness-progress__caption{color:var(--ui-muted);white-space:nowrap;flex:none;margin:0;font-size:.8125rem;font-weight:600}.ay-membership-facts{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:0 0 4px}.ay-membership-card .ay-membership-actions{margin-top:12px}.ay-membership-card .ay-membership-track-picker{margin:12px 0 0}.ay-membership-card .ay-membership-booking{grid-template-columns:minmax(0,1fr);margin-top:14px}.ay-membership-card .ay-visit-booking-controls{margin:8px 0 0}.ay-membership-facts--tail{margin-top:14px}.ay-membership-overdue{vertical-align:middle;margin-left:8px}@media (width<=899px){.ay-membership-facts{grid-template-columns:1fr 1fr}.ay-membership-progress{flex-direction:column;align-items:stretch;gap:6px}.ay-wellness-progress--strip{max-width:none}}.ay-plan-primary-actions .ay-plan-save-status{text-overflow:ellipsis;white-space:nowrap;min-width:0;animation:ay-review-fade .18s var(--ui-ease-out) both;margin-left:auto;overflow:hidden}@media (width>=900px){.ay-generated-sidebar{align-self:start;position:sticky;top:0}}@media (prefers-reduced-motion:reduce){.ay-plan-primary-actions .ay-plan-save-status{animation:none}}@media (width<=899px){.ay-chart-tabs{overscroll-behavior-x:contain;scrollbar-width:none;flex-direction:row;align-items:center;gap:4px;padding:2px 10px;display:flex;overflow:auto hidden}.ay-chart-tabs::-webkit-scrollbar{display:none}.ay-chart-tab{white-space:nowrap;border:1px solid #0000;border-radius:999px;flex:none;justify-content:center;align-items:center;width:auto;min-width:max-content;min-height:44px;padding:0 14px;font-size:max(.8125rem,13px);font-weight:600;line-height:1.2;display:inline-flex}.ay-chart-tab span{max-width:none}}.ay-chart-kind{display:none}@media (width<=599px){.ay-chart-header{padding:8px 13px}.ay-chart-identity{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name""meta contact""cc cc";align-items:center;gap:2px 8px;display:grid}.ay-chart-identity>.ay-eyebrow{display:none}.ay-chart-identity>.ay-chart-name-row{grid-area:name;min-width:0;min-height:28px}.ay-chart-name-row>h2{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;flex:0 auto;min-width:0;line-height:1.25;display:-webkit-box;overflow:hidden}.ay-chart-name-row>:not(h2){flex:none}.ay-chart-identity>.ay-chart-meta:not(.ay-chart-cc){text-overflow:ellipsis;white-space:nowrap;grid-area:meta;min-width:0;margin:0;font-size:.8125rem;overflow:hidden}.ay-chart-identity>.ay-chart-cc{text-overflow:ellipsis;white-space:nowrap;grid-area:cc;min-width:0;margin:0;font-size:.8125rem;display:block;overflow:hidden}.ay-chart-identity>.ay-chart-contact{flex-wrap:nowrap;grid-area:contact;justify-content:flex-end;justify-self:end;gap:6px;min-width:0;margin:0}.ay-chart-kind{border:1px solid var(--ui-accent-border);background:var(--ui-surface);color:var(--ui-accent);border-radius:999px;flex:none;align-items:center;margin-left:auto;padding:2px 9px;font-size:.8125rem;font-weight:650;line-height:1.4;display:inline-flex}.ay-chart-email{flex:none;justify-content:center;gap:0;width:30px;height:30px;padding:0;position:relative}.ay-chart-email:after{content:"";position:absolute;inset:-7px -3px -7px -7px}.ay-chart-email span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ay-chart-copy-status{white-space:nowrap;font-size:.8125rem}.ay-chart-identity>.ay-chart-contact:is(:has(.ay-chart-history-skel),:has(.ay-chart-history-pill)){column-gap:6px}.ay-chart-identity>.ay-chart-contact>.ui-skel:first-child{border-radius:50%!important;width:30px!important;height:30px!important}}@media (width<=899px){html[data-theme-surface=dashboard]{--ay-topbar-h:calc(48px + env(safe-area-inset-top,0px))}html[data-theme-surface=dashboard].ay-topbar-hidden{--ay-topbar-h:env(safe-area-inset-top,0px)}html[data-theme-surface=dashboard] .dashboard-masthead{z-index:30;flex-basis:calc(48px + env(safe-area-inset-top,0px));min-height:calc(48px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);transition:margin-top .18s var(--ui-ease-out);position:relative}html[data-theme-surface=dashboard] .dashboard-masthead-inner{height:48px}html[data-theme-surface=dashboard].ay-topbar-hidden .dashboard-masthead{margin-top:calc(-1 * (48px + env(safe-area-inset-top,0px)))}html[data-theme-surface=dashboard] .ay-toast-stack{top:calc(var(--ay-topbar-h,48px) + 8px);transition:top .18s var(--ui-ease-out)}html[data-theme-surface=dashboard] .ay-global-status{top:calc(var(--ay-topbar-h,48px) + 12px)}html[data-theme-surface=dashboard] .ay-alert-panel{top:calc(var(--ay-topbar-h,48px) + 8px)}html[data-theme-surface=dashboard] .dashboard-navigation-rail{min-height:56px}html[data-theme-surface=dashboard] .dashboard-navigation-rail .workspace-mode-row .btn{height:45px}html[data-theme-surface=dashboard] .workspace-sidebar{padding:6px 11px 8px}html[data-theme-surface=dashboard] .workspace-toolbar{margin-bottom:6px}html[data-theme-surface=dashboard] .workspace-search{height:44px}html[data-theme-surface=dashboard] .workspace-search-input{height:42px;font-size:16px}html[data-theme-surface=dashboard] .workspace-sort-btn{width:44px;min-width:44px;height:44px}html[data-theme-surface=dashboard] .ay-search-all-action{font-size:.8125rem}html[data-theme-surface=dashboard] .ay-search-all-action__long{display:none}html[data-theme-surface=dashboard] .ay-search-all-action__short{display:inline}html[data-theme-surface=dashboard] .workspace-list{gap:6px}html[data-theme-surface=dashboard] .workspace-list .compact-card{grid-template:"avatar name name pill"".demo wait note"".reason reason reason"/28px auto minmax(0,1fr) auto;align-items:center;gap:3px 8px;min-height:0;padding:8px 12px}html[data-theme-surface=dashboard] .workspace-list .compact-card :is(.patient-list-identity,.patient-list-row-content){display:contents}html[data-theme-surface=dashboard] .workspace-list .compact-card .patient-list-avatar{flex-basis:28px;grid-area:avatar;width:28px;height:28px;font-size:max(.765rem,13px)}html[data-theme-surface=dashboard] .workspace-list .compact-card .compact-card-identity{grid-area:name;min-width:0}html[data-theme-surface=dashboard] .workspace-list .compact-card .compact-card-name{font-size:.88rem}html[data-theme-surface=dashboard] .workspace-list .compact-card .patient-list-type{flex-direction:row;grid-area:1/4;place-self:center end;align-items:center;gap:4px;min-width:0}html[data-theme-surface=dashboard] .workspace-list .compact-card .patient-list-type .ay-status-pill{max-width:46vw;padding:2px 8px;font-size:max(.765rem,13px)}html[data-theme-surface=dashboard] .workspace-list .compact-card .patient-list-demographics{white-space:nowrap;grid-area:demo;margin:0;font-size:.8rem}html[data-theme-surface=dashboard] .workspace-list .compact-card>.patient-list-time{grid-area:2/3;place-self:center start;min-height:0;margin:0;padding:0}html[data-theme-surface=dashboard] .workspace-list .compact-card .wait-time{min-height:22px;padding:2px 8px;font-size:max(.765rem,13px)}html[data-theme-surface=dashboard] .workspace-list .compact-card .wait-time--normal{padding-inline:0}html[data-theme-surface=dashboard] .workspace-list .compact-card>.patient-list-note{grid-area:2/4;place-self:center end;min-height:0;margin:-6px 0}html[data-theme-surface=dashboard] .workspace-list .compact-card>.patient-list-reason{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;grid-area:3/2/auto/-1;padding:0;font-size:.8rem;line-height:1.4;display:block;overflow:hidden}html[data-theme-surface=dashboard] .queue-skel-card .queue-skel-avatar{grid-area:avatar;width:28px;height:28px}html[data-theme-surface=dashboard] .queue-skel-card .queue-skel-name{grid-area:name;margin:0}html[data-theme-surface=dashboard] .queue-skel-card .queue-skel-demographics{grid-area:demo;margin:0}html[data-theme-surface=dashboard] .queue-skel-card .patient-list-time .ui-skel{height:12px}html[data-theme-surface=dashboard] .queue-skel-card>.patient-list-reason{min-height:20px}html[data-theme-surface=dashboard] .workspace-list .queue-skel-card>.patient-list-note{margin:0}html[data-theme-surface=dashboard] .workspace-sidebar[data-list-mode=wellness] .workspace-list{background:0 0;gap:0;height:100%;padding:0 1px 14px;display:block}html[data-theme-surface=dashboard] .workspace-sidebar[data-list-mode=wellness] .workspace-list-wrap{background:0 0;border-radius:0}html[data-theme-surface=dashboard] .workspace-sidebar[data-list-mode=wellness] .wellness-queue-group{min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;display:block;overflow:visible}html[data-theme-surface=dashboard] .wellness-queue-group-header{z-index:3;background:var(--ui-canvas);border-bottom:0;justify-content:flex-start;gap:6px;min-height:30px;padding:6px 4px;position:sticky;top:0}html[data-theme-surface=dashboard] :is(.wellness-queue-group--new,.wellness-queue-group--returning)>.wellness-queue-group-header{background:var(--ui-canvas)}html[data-theme-surface=dashboard] .wellness-queue-group-copy h2{color:var(--ui-text-soft);letter-spacing:.05em;text-transform:uppercase;font-size:max(.765rem,13px);font-weight:700}html[data-theme-surface=dashboard] .wellness-queue-group-count{min-width:0;height:auto;color:var(--ui-text-soft);letter-spacing:.05em;background:0 0;border:0;padding:0;font-size:max(.765rem,13px);font-weight:700;display:inline}html[data-theme-surface=dashboard] .wellness-queue-group-count:before{content:"· "}html[data-theme-surface=dashboard] .wellness-queue-group-count.is-zero{display:none}html[data-theme-surface=dashboard] .wellness-queue-group-none{color:var(--ui-muted);letter-spacing:.05em;text-transform:uppercase;font-size:max(.765rem,13px);font-weight:700;display:inline}html[data-theme-surface=dashboard] .wellness-queue-group-none:before{content:"· "}html[data-theme-surface=dashboard] .wellness-queue-group-count-skel{width:18px;height:18px}html[data-theme-surface=dashboard] .wellness-queue-group-body{background:0 0;min-height:0;padding:0;display:block;overflow:visible}html[data-theme-surface=dashboard] .wellness-queue-group-body>ul{gap:6px;margin:0 0 8px;padding:0;display:grid}html[data-theme-surface=dashboard] .wellness-queue-group-none{display:none}html[data-theme-surface=dashboard] .stalled-patients-body{padding:0 0 12px}}.ay-stalled-bar{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);min-height:40px;color:var(--ui-text);flex:none;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:0 4px 0 12px;display:flex}.ay-stalled-bar>strong{font-size:.8125rem;font-weight:700}.ay-stalled-bar>.ay-button{border-radius:var(--ui-radius-sm);min-height:32px;color:var(--ui-accent);box-shadow:none;background:0 0;border:0;padding:0 12px;font-size:.8125rem;font-weight:700}@media (width<=899px){.ay-stalled-bar{min-height:44px;margin-bottom:6px}html[data-theme-surface=dashboard] .ay-stalled-bar>.ay-button{min-height:44px}}.wellness-queue-group--stalled>.wellness-queue-group-header{display:none}.stalled-patient__tip{grid-column:1/-1;padding-top:2px}@media (width<=899px){.stalled-patient__tip{font-size:.8125rem}}.wellness-queue-group.is-empty,.wellness-queue-group.is-empty .wellness-queue-group-body{flex:none;min-height:0}html[data-theme-surface=dashboard] .workspace-empty-state--compact{gap:4px;min-height:0;padding:14px 16px 16px}html[data-theme-surface=dashboard] .workspace-empty-state--compact svg{width:28px;height:28px;margin-bottom:0}html[data-theme-surface=dashboard] .workspace-empty-state--compact span{max-width:none;font-size:.8125rem;line-height:1.4}.wellness-queue-group-none{display:none}.ay-empty-action{max-width:100%;margin-top:10px}@media (width<=899px){.ay-empty-action{min-height:44px}}.ay-queue-footer.is-failing{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.ay-live--stale i{background:var(--ui-warning)}.ay-live--stale{color:var(--ui-text-soft);font-size:.72rem;font-weight:600}.ay-live-retry{min-height:28px;padding:2px 11px;font-size:.72rem}@media (width<=899px){.workspace-sidebar-footer.is-failing{min-height:44px;padding-top:0;display:flex}.ay-live--stale{font-size:.8125rem}.ay-live-retry{min-height:44px;padding:0 14px;font-size:.8125rem}}.ay-search-filters-collapse{--ui-collapse-gap:12px}.ay-search-filters-toggle{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-soft);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:8px;padding:0 12px;font-size:.8125rem;font-weight:650;display:flex}.ay-search-filters-toggle>span{flex:auto}.ay-search-filters-toggle>svg{transition:transform .18s var(--ui-ease-out);flex:none}.ay-search-filters-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}.ay-search-filters-toggle:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-search-filters-count{background:var(--ui-accent-fill);min-width:22px;height:22px;color:var(--ui-on-accent);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding:0 6px;font-size:.8125rem;font-weight:700;display:grid}.ay-search-filters-skel{margin-top:0}@media (prefers-reduced-motion:reduce){.ay-search-filters-toggle>svg{transition:none}}html[data-theme-surface=dashboard] .dashboard-push-line{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}html[data-theme-surface=dashboard] .dashboard-push-line__name{color:var(--ui-text);font-size:.72rem;font-weight:650}html[data-theme-surface=dashboard] .dashboard-push-line .dashboard-push-actions{margin-top:0}html[data-theme-surface=dashboard] .dashboard-push-device-list{margin-top:8px}html[data-theme-surface=dashboard] .dashboard-account-note{color:var(--ui-success);margin:6px 0 0;font-size:.7rem;font-weight:600;line-height:1.4}html[data-theme-surface=dashboard] .dashboard-account-note.is-error{color:var(--ui-danger);font-weight:500}html[data-theme-surface=dashboard] .dashboard-account-dialog form .dashboard-account-form-note{grid-column:1/-1;margin:0}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .dashboard-masthead,html[data-theme-surface=dashboard] .ay-toast-stack{transition:none}}@media (width<=899px){html[data-theme-surface=dashboard] .workspace-list .ay-load-more{flex-direction:column;align-items:center;gap:6px}html[data-theme-surface=dashboard] .workspace-list .ay-load-more-item{list-style:none}html[data-theme-surface=dashboard] .workspace-list .ay-load-more-item>.ay-load-more{margin-top:10px}html[data-theme-surface=dashboard] .workspace-list>.ay-load-more{margin-top:8px}html[data-theme-surface=dashboard] .workspace-list .ay-load-more>p{color:var(--ui-danger);text-align:center;margin:0;font-size:.8125rem}}.ay-scroll-fade{--ay-fade-start:0px;--ay-fade-end:0px}.ay-scroll-fade[data-fade-start=true]{--ay-fade-start:28px}.ay-scroll-fade[data-fade-end=true]{--ay-fade-end:28px}.ay-scroll-fade:is([data-fade-start=true],[data-fade-end=true]){-webkit-mask-image:linear-gradient(to right, transparent 0, #000 var(--ay-fade-start), #000 calc(100% - var(--ay-fade-end)), transparent 100%);mask-image:linear-gradient(to right, transparent 0, #000 var(--ay-fade-start), #000 calc(100% - var(--ay-fade-end)), transparent 100%)}@media (hover:none){.ay-chart-tab:not(.is-selected):hover{color:inherit;background:0 0;border-color:#0000}}@media (width<=899px){html[data-theme-surface=dashboard] .workspace-list .compact-card .notes-fab{position:relative}html[data-theme-surface=dashboard] .workspace-list .compact-card .notes-fab:after{content:"";position:absolute;inset:-4px}}html[data-theme-surface=scribe] .scribe-start{gap:16px}html[data-theme-surface=scribe] .scribe-start__patient{justify-items:start;gap:8px;margin:4px 0;display:grid}html[data-theme-surface=scribe] .scribe-start__patient h2{letter-spacing:-.02em;text-wrap:balance;overflow-wrap:anywhere;margin:0;font-size:1.5rem;line-height:1.15}html[data-theme-surface=scribe] .scribe-start__update{border:1px solid var(--ui-info-border);border-radius:var(--ui-radius);background:var(--ui-info-soft);color:var(--ui-text);margin:0;padding:12px 14px;font-size:.86rem;line-height:1.45}html[data-theme-surface=scribe] .scribe-start__action{gap:10px;margin-top:8px;display:grid}html[data-theme-surface=scribe] .scribe-start__consent{color:var(--ui-text-soft);text-align:center;margin:0;font-size:.8125rem;line-height:1.4}html[data-theme-surface=scribe] .scribe-patient:has(.scribe-patient__state){grid-template-areas:"name time chevron""meta meta chevron""state state chevron"}html[data-theme-surface=scribe] .scribe-patient>.scribe-patient__state{min-width:0;color:var(--ui-text-soft);grid-area:state;font-size:.8125rem;font-weight:650;line-height:1.3}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__alerts{align-content:start;gap:8px;width:100%;min-height:84px;margin:-6px 0;display:grid}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__timer{transition:color var(--ui-duration-fast) ease}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder--paused .scribe-recorder__timer{color:var(--ui-muted)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__status{min-height:24px;line-height:24px}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__status--paused{color:var(--ui-warning);letter-spacing:.01em;font-size:.95rem;font-weight:700}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__icon--play{opacity:0;transform:scale(.6)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder--paused .scribe-recorder__pulse{border-color:var(--ui-accent-fill);background:var(--ui-accent-fill);color:var(--ui-on-accent)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder--paused .scribe-recorder__pulse span{opacity:0;animation:none}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder--paused .scribe-recorder__icon--pause{opacity:0;transform:scale(.6)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder--paused .scribe-recorder__icon--play{opacity:1;transform:scale(1)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse:active,:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-stop:active{transform:scale(.96)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse:focus-visible{outline:3px solid var(--ui-accent-border);outline-offset:4px}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-stop:focus-visible{outline:3px solid var(--ui-danger-border);outline-offset:3px}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse.is-metered:before{content:"";border:2px solid var(--ui-accent-border);opacity:calc(var(--level,0) * 1.2);transform:scale(calc(1 + var(--level,0) * .3));pointer-events:none;border-radius:50%;position:absolute;inset:-1px}@media (prefers-reduced-motion:reduce){:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse.is-metered:before{transform:none}}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-progress__status svg.lucide{color:var(--ui-warning)}html[data-theme-surface=scribe] .scribe-done h2{text-wrap:balance;overflow-wrap:anywhere}html[data-theme-surface=scribe] .scribe-list__action--accent{color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-list__action--accent:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-list__action:disabled{opacity:.6;cursor:default}html[data-theme-surface=scribe] span.dashboard-brand-lockup{cursor:default;-webkit-user-select:none;user-select:none}@media (prefers-reduced-motion:reduce){:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__timer{transition:none}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse,:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-stop{transition:background-color .16s,color .16s,border-color .16s}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse:active,:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-stop:active{transform:none}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder__pulse svg.lucide{transition:none;transform:none}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-recorder--paused .scribe-recorder__pulse span{opacity:0;transform:none}}html[data-theme-surface=dashboard] .workspace-empty-state.scribe-account-home{box-sizing:border-box;text-align:center;flex-direction:column;justify-content:center;align-items:center;width:min(100%,520px);min-height:calc(100dvh - 140px);margin:0 auto;padding:24px 16px;display:flex}html[data-theme-surface=dashboard] .scribe-account-home__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,320px);margin-top:20px;display:grid}html[data-theme-surface=dashboard] .scribe-account-home__actions>.ay-button{justify-content:center;align-self:stretch;width:100%;min-height:44px;margin:0}html[data-theme-surface=dashboard]{--scribe-pad:19px;--scribe-warn-fill:color-mix(in srgb, var(--ui-warning-soft) 92%, var(--ui-surface))}@media (width<=899px){html[data-theme-surface=dashboard]{--scribe-pad:12px}}html[data-theme-surface=dashboard] .scribe-toolbar{--scribe-tool-h:40px;align-items:center;gap:8px;margin-bottom:12px;display:flex;position:relative}html[data-theme-surface=dashboard] .scribe-toolbar .ay-queue-search-wrap{flex:auto;min-width:0;max-width:480px}html[data-theme-surface=dashboard] .scribe-toolbar .workspace-search{width:100%;height:var(--scribe-tool-h)}html[data-theme-surface=dashboard] .scribe-toolbar .workspace-search-input{height:calc(var(--scribe-tool-h) - 2px)}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-sort-btn{height:var(--scribe-tool-h);min-height:var(--scribe-tool-h);border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text-soft);font:inherit;white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:7px;margin-left:auto;padding:0 12px;font-size:.8125rem;font-weight:620;display:inline-flex}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-sort-btn:hover,html[data-theme-surface=dashboard] .scribe-toolbar .scribe-sort-btn[aria-expanded=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-sort-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:17px;height:17px}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-sort-btn .cm-chevron{flex:none}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-sort-text{color:var(--ui-text)}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-add-patient{height:var(--scribe-tool-h);min-height:var(--scribe-tool-h);white-space:nowrap;flex:none;padding-block:0}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-add-group{flex:none;align-items:center;gap:8px;display:flex}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-quick-start{width:var(--scribe-tool-h);height:var(--scribe-tool-h);min-height:var(--scribe-tool-h);color:var(--ui-accent);flex:none;justify-content:center;padding:0}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-quick-start svg{flex:none;width:17px;height:17px}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-quick-start:disabled{opacity:.6;cursor:progress}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-toolbar{--scribe-tool-h:44px}}@media (width<=767px){html[data-theme-surface=dashboard] .scribe-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:8px;display:grid}html[data-theme-surface=dashboard] .scribe-toolbar .ay-queue-search-wrap{max-width:none}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-sort-btn{margin-left:0}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-add-patient{grid-column:1/-1;justify-content:center;width:100%}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-add-group{grid-column:1/-1}html[data-theme-surface=dashboard] .scribe-toolbar .scribe-add-group .scribe-add-patient{flex:auto;width:auto;min-width:0}}html[data-theme-surface=dashboard] .workspace-list .compact-card.scribe-patient-card--done{background:color-mix(in srgb, var(--ui-success-soft) 70%, var(--ui-surface))}html[data-theme-surface=dashboard] .workspace-list .compact-card.scribe-patient-card--done:has(.patient-row-open:hover),html[data-theme-surface=dashboard] .workspace-list .compact-card.scribe-patient-card--done:focus-within{background:var(--ui-success-soft)}@media (width<=899px){html[data-theme-surface=dashboard] .workspace-list .compact-card.scribe-patient-card--done{border-color:var(--ui-success-border);background:var(--ui-success-soft)}}html[data-theme-surface=dashboard] .scribe-note-pill{border:1px solid #0000;max-width:none}html[data-theme-surface=dashboard] .scribe-note-pill--warn{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}html[data-theme-surface=dashboard] .scribe-note-pill--good{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}html[data-theme-surface=dashboard] .scribe-note-pill--info{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}html[data-theme-surface=dashboard] .scribe-note-pill--bad{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}html[data-theme-surface=dashboard] .scribe-note-pill--neutral,html[data-theme-surface=dashboard] .scribe-note-pill--none{border-color:var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-text-soft)}html[data-theme-surface=dashboard] .scribe-note-type{color:var(--ui-muted);margin-top:3px;font-size:.68rem;display:block}html[data-theme-surface=dashboard] .scribe-note-pillrow{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:inline-flex}html[data-theme-surface=dashboard] .scribe-note-written{background:var(--ui-success-soft);width:18px;height:18px;color:var(--ui-success);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}html[data-theme-surface=dashboard] .scribe-note-written svg{width:12px;height:12px}html[data-theme-surface=dashboard] .scribe-demo-room,html[data-theme-surface=dashboard] .scribe-deletes-phone{display:none}html[data-theme-surface=dashboard] .scribe-room{color:var(--ui-text);font-weight:580}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip{z-index:1;pointer-events:auto;border:1px solid var(--ui-info-border);background:var(--ui-info-soft);min-width:0;min-height:20px;color:var(--ui-info);font:inherit;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:background-color var(--ui-duration-fast,.12s) ease, transform .12s var(--ui-ease-out,ease-out);border-radius:999px;flex:0 auto;align-items:center;padding:0 8px;font-size:.68rem;font-weight:650;line-height:1.2;display:inline-flex;position:relative;overflow:hidden}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip:before{content:"";position:absolute;inset:-12px -4px}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip:active{transform:scale(.97)}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip--name{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}@media (hover:hover){:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip:hover{background:color-mix(in srgb, var(--ui-info-soft) 70%, var(--ui-info) 12%)}}@media (prefers-reduced-motion:reduce){:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip{transition:none}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-qs-chip:active{transform:none}}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-qs-chip{min-height:22px;font-size:max(.8125rem,13px)}}html[data-theme-surface=scribe] .scribe-qs-chip{min-height:22px;font-size:max(.8125rem,13px)}html[data-theme-surface=dashboard] .scribe-qs-notice{margin-bottom:12px}html[data-theme-surface=dashboard] .ay-chart-name-row .scribe-qs-chip{margin-left:6px}html[data-theme-surface=dashboard] .scribe-row-action{pointer-events:auto;min-height:32px;padding:4px 12px;font-size:.72rem}@media (width>=900px){html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-patients] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(180px,1.25fr) minmax(90px,.5fr) minmax(110px,.7fr) minmax(220px,1.7fr) minmax(110px,.6fr) 42px}html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(180px,1.25fr) minmax(90px,.5fr) minmax(110px,.7fr) minmax(200px,1.5fr) minmax(130px,.8fr) 92px}}@media (width>=900px) and (width<=1120px){html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-patients] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(170px,1.1fr) minmax(80px,.5fr) minmax(100px,.7fr) minmax(190px,1.5fr) 42px}html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(160px,1.1fr) minmax(80px,.5fr) minmax(100px,.7fr) minmax(170px,1.3fr) minmax(120px,.8fr) 92px}html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] .workspace-table-head>:nth-child(5),html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] .patient-list-time{display:flex}}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-time-desktop,html[data-theme-surface=dashboard] .scribe-note-type{display:none}html[data-theme-surface=dashboard] .scribe-demo-room{display:inline}html[data-theme-surface=dashboard] .workspace-list .scribe-patient-card>.patient-list-time{display:none}html[data-theme-surface=dashboard] .workspace-list .scribe-patient-card .patient-list-demographics{white-space:nowrap;text-overflow:ellipsis;grid-column:2/4;overflow:hidden}html[data-theme-surface=dashboard] .scribe-deletes-phone{color:var(--ui-warning);margin-right:8px;font-weight:650;display:inline}html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] .workspace-list .scribe-patient-card>.patient-list-note{grid-area:1/4;margin:-4px -4px -4px 0}html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] .workspace-list .scribe-patient-card .patient-list-type{grid-area:2/4}html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] .workspace-list .scribe-patient-card .patient-list-demographics{grid-column:2/4}html[data-theme-surface=dashboard] .scribe-row-action{min-height:44px;padding:0 14px;font-size:.8125rem}html[data-theme-surface=dashboard] .workspace-list .scribe-patient-card .scribe-row-edit{width:44px;height:44px}html[data-theme-surface=dashboard] .workspace-list .scribe-patient-card>.patient-list-note{margin:-10px -8px -10px 0}}html[data-theme-surface=dashboard] .scribe-chart .ay-chart-body,html[data-theme-surface=dashboard] .scribe-settings .ay-chart-body{--chart-body-pad-top:0px;padding:0 var(--scribe-pad) 28px;scroll-padding-top:12px}html[data-theme-surface=dashboard] .scribe-chart-room{color:var(--ui-text-soft);font-size:.74rem}@media (width<=599px){html[data-theme-surface=dashboard] .scribe-chart-room{display:none}}html[data-theme-surface=dashboard] .scribe-footer{flex-wrap:wrap;row-gap:6px}html[data-theme-surface=dashboard] .scribe-footer .ay-chart-footer-close,html[data-theme-surface=dashboard] .scribe-footer .ay-note-footer-status{margin-right:0}html[data-theme-surface=dashboard] .scribe-footer-error{position:fixed;bottom:76px;left:50%;transform:translate(-50%)}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-footer{gap:6px;padding:6px 12px}html[data-theme-surface=dashboard] .scribe-footer .ay-button{min-height:44px;padding-inline:10px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-footer .ay-note-footer-status{font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-footer-error{bottom:120px}}html[data-theme-surface=dashboard] .scribe-note{--scribe-note-width:1080px;padding-top:12px}html[data-theme-surface=dashboard] .scribe-strip{max-width:var(--scribe-note-width);justify-content:space-between;align-items:center;gap:8px;min-height:40px;margin-bottom:8px;display:flex}html[data-theme-surface=dashboard] .scribe-strip__meta{min-width:0;color:var(--ui-text-soft);flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0;font-size:.76rem;display:flex}html[data-theme-surface=dashboard] .scribe-strip__meta strong{color:var(--ui-text);font-size:.86rem}html[data-theme-surface=dashboard] .scribe-strip__actions{flex:none;gap:2px;display:flex}html[data-theme-surface=dashboard] .scribe-strip__actions .ay-button{gap:6px;min-height:34px;padding:4px 10px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-chip{border:1px solid var(--ui-border);background:var(--ui-surface-muted);color:var(--ui-text-soft);white-space:nowrap;border-radius:999px;align-items:center;padding:2px 9px;font-size:.68rem;font-weight:680;line-height:1.4;display:inline-flex}html[data-theme-surface=dashboard] .scribe-chip--warn{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}html[data-theme-surface=dashboard] .scribe-chip--good{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}html[data-theme-surface=dashboard] .scribe-chip--info{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}html[data-theme-surface=dashboard] .scribe-chip--bad{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}html[data-theme-surface=dashboard] .scribe-progress{color:var(--ui-text-soft);gap:6px;margin:8px 0 12px;padding:14px 16px;font-size:.78rem;display:grid}html[data-theme-surface=dashboard] .scribe-progress strong{color:var(--ui-text);font-size:.88rem}html[data-theme-surface=dashboard] .scribe-progress__bar{background:var(--ui-accent-soft);border-radius:999px;height:4px;overflow:hidden}html[data-theme-surface=dashboard] .scribe-progress__bar>i{border-radius:inherit;background:var(--ui-accent);width:38%;height:100%;display:block}html[data-theme-surface=dashboard] .scribe-progress__bar>i.is-running{animation:1.4s ease-in-out infinite scribe-slide}html[data-theme-surface=dashboard] .scribe-empty-note,html[data-theme-surface=dashboard] .scribe-archived-note{border:1px solid var(--ui-info-border);border-radius:var(--ui-radius-sm);background:var(--ui-info-soft);color:var(--ui-text-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin:8px 0 12px;padding:10px 12px;font-size:.76rem;display:flex}html[data-theme-surface=dashboard] .scribe-archived-note{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);display:block}html[data-theme-surface=dashboard] .scribe-note-state,html[data-theme-surface=dashboard] .scribe-note-skeleton{color:var(--ui-text-soft);justify-items:start;gap:12px;padding:20px 0;display:grid}html[data-theme-surface=dashboard] .scribe-note-skeleton{justify-items:stretch;width:100%}html[data-theme-surface=dashboard] .scribe-no-notes{min-height:50vh}@keyframes scribe-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes scribe-slide{0%{transform:translate(-100%)}to{transform:translate(270%)}}html[data-theme-surface=dashboard] .scribe-layout{max-width:var(--scribe-note-width);grid-template-columns:188px minmax(0,1fr);align-items:start;gap:22px;display:grid}html[data-theme-surface=dashboard] .scribe-index{align-self:start;max-height:calc(100dvh - 240px);position:sticky;top:4px;overflow:auto}html[data-theme-surface=dashboard] .scribe-index ol{gap:1px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-index__link{border-radius:var(--ui-radius-sm);width:100%;min-height:32px;color:var(--ui-text-soft);font:inherit;text-align:left;transition:background-color .12s var(--ui-ease-out), color .12s var(--ui-ease-out);background:0 0;border:0;padding:6px 10px;font-size:.76rem;font-weight:560}html[data-theme-surface=dashboard] .scribe-index__link:hover{background:var(--ui-surface-muted);color:var(--ui-text)}html[data-theme-surface=dashboard] .scribe-index__link[aria-current=true]{background:var(--ui-accent-soft);color:var(--ui-accent);font-weight:680}html[data-theme-surface=dashboard] .scribe-index__link.is-empty:not([aria-current=true]){color:var(--ui-muted);font-weight:450}html[data-theme-surface=dashboard] .scribe-index__link.is-warn{color:var(--ui-warning);font-weight:680}html[data-theme-surface=dashboard] .scribe-index__link:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=dashboard] .scribe-cards{gap:12px;min-width:0;display:grid}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-layout{display:block}html[data-theme-surface=dashboard] .scribe-note{padding-top:0}html[data-theme-surface=dashboard] .scribe-strip{padding-top:8px}html[data-theme-surface=dashboard] .scribe-index{top:calc(-1 * var(--chart-body-pad-top,0px));z-index:6;max-height:none;margin:0 calc(-1 * var(--scribe-pad)) 10px;padding:6px var(--scribe-pad);border-bottom:1px solid var(--ui-border);background:var(--ui-canvas);position:sticky;overflow:visible}html[data-theme-surface=dashboard] .scribe-index ol{overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;gap:6px;display:flex;overflow-x:auto}html[data-theme-surface=dashboard] .scribe-index ol::-webkit-scrollbar{display:none}html[data-theme-surface=dashboard] .scribe-index li{scroll-snap-align:start;flex:none}html[data-theme-surface=dashboard] .scribe-index__link{border:1px solid var(--ui-border);background:var(--ui-surface);white-space:nowrap;border-radius:999px;width:auto;min-height:34px;padding:0 13px;font-size:.8125rem;position:relative}html[data-theme-surface=dashboard] .scribe-index__link:after{content:"";position:absolute;inset:-6px -2px}html[data-theme-surface=dashboard] .scribe-index__link[aria-current=true]{border-color:var(--ui-accent-border)}html[data-theme-surface=dashboard] .scribe-index__link.is-warn{border-color:var(--ui-warning-border);background:var(--ui-warning-soft)}html[data-theme-surface=dashboard] .scribe-section{scroll-margin-top:58px}html[data-theme-surface=dashboard] .scribe-strip__meta{flex-wrap:nowrap;gap:8px;font-size:.8125rem;overflow:hidden}html[data-theme-surface=dashboard] .scribe-strip__meta>span:not(.scribe-chip){white-space:nowrap}html[data-theme-surface=dashboard] .scribe-strip__actions .ay-button{width:44px;min-height:44px;padding:0;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-strip__actions .ay-button>span,html[data-theme-surface=dashboard] .scribe-section__head .scribe-copy>span:not(.sr-only),html[data-theme-surface=dashboard] .scribe-add--compact>span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}html[data-theme-surface=dashboard] .scribe-section__head .scribe-copy,html[data-theme-surface=dashboard] .scribe-add--compact{width:44px;padding:0;position:relative}}html[data-theme-surface=dashboard] .scribe-section{min-width:0;transition:box-shadow .2s var(--ui-ease-out);scroll-margin-top:8px}html[data-theme-surface=dashboard] .scribe-section.ay-clinical-card{padding:12px 16px 14px}html[data-theme-surface=dashboard] .scribe-section.is-changed{box-shadow:0 0 0 2px var(--ui-accent-border)}html[data-theme-surface=dashboard] .scribe-section--flat{padding:0}html[data-theme-surface=dashboard] .scribe-section__head{justify-content:space-between;align-items:center;gap:8px;min-height:36px;margin-bottom:4px;display:flex}html[data-theme-surface=dashboard] .scribe-section__head h3{color:var(--ui-text);margin:0;font-size:.88rem}html[data-theme-surface=dashboard] .scribe-section__actions{flex:none;align-items:center;gap:2px;display:flex}html[data-theme-surface=dashboard] .scribe-section__actions .ay-button,html[data-theme-surface=dashboard] .scribe-dx__tools .ay-button{gap:5px;min-height:32px;padding:4px 9px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-copy.is-copied{color:var(--ui-success)}html[data-theme-surface=dashboard] .scribe-section__updated{color:var(--ui-accent);letter-spacing:.04em;text-transform:uppercase;margin:0 0 6px;font-size:.68rem;font-weight:700}html[data-theme-surface=dashboard] .scribe-empty{color:var(--ui-muted);margin:4px 0 6px;font-size:.76rem}html[data-theme-surface=dashboard] .scribe-readonly{color:var(--ui-text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.84rem;line-height:1.55}html[data-theme-surface=dashboard] .scribe-count{color:var(--ui-muted);text-align:right;margin:4px 0 0;font-size:.68rem}html[data-theme-surface=dashboard] .scribe-hint{color:var(--ui-muted);margin:0 0 10px;font-size:.76rem;line-height:1.5}html[data-theme-surface=dashboard] .scribe-hint.is-error{color:var(--ui-danger)}html[data-theme-surface=dashboard] .scribe-autotext{resize:none;width:calc(100% + 16px);min-height:34px;color:var(--ui-text);transition:border-color .12s var(--ui-ease-out), background-color .12s var(--ui-ease-out);background:0 0;border-color:#0000;margin:0 -8px;padding:6px 8px;font-family:inherit;line-height:1.55;display:block;overflow:hidden}html[data-theme-surface=dashboard] .scribe-autotext:hover:not(:disabled){border-color:var(--ui-border)}html[data-theme-surface=dashboard] .scribe-autotext:focus{border-color:var(--ui-accent);background:var(--ui-surface)}html[data-theme-surface=dashboard] .scribe-dialog .scribe-autotext,html[data-theme-surface=dashboard] .scribe-form .scribe-autotext{border-color:var(--ui-border-strong);background:var(--ui-surface);width:100%;margin:0}html[data-theme-surface=dashboard] .scribe-icon-button{width:36px;min-width:36px;height:36px;min-height:36px;color:var(--ui-muted);flex:none}html[data-theme-surface=dashboard] .scribe-add{gap:6px;min-height:34px;padding:4px 10px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-mark-all{justify-content:center;gap:6px;width:100%;min-height:36px;margin:2px 0 6px;font-size:.76rem}html[data-theme-surface=dashboard] .scribe-add--block{justify-content:center;width:100%;margin-top:10px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-icon-button{width:44px;min-width:44px;height:44px;min-height:44px}html[data-theme-surface=dashboard] .scribe-add,html[data-theme-surface=dashboard] .scribe-section__actions .ay-button,html[data-theme-surface=dashboard] .scribe-dx__tools .ay-button{min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-section.ay-clinical-card{padding:8px 12px 12px}html[data-theme-surface=dashboard] .scribe-section__head{min-height:44px}html[data-theme-surface=dashboard] .scribe-readonly{font-size:.9rem}html[data-theme-surface=dashboard] .scribe-empty,html[data-theme-surface=dashboard] .scribe-hint,html[data-theme-surface=dashboard] .scribe-count,html[data-theme-surface=dashboard] .scribe-chip{font-size:.8125rem}}html[data-theme-surface=dashboard] .scribe-exam{gap:2px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-exam-line{border-radius:var(--ui-radius-sm);transition:background-color .18s var(--ui-ease-out);grid-template-columns:132px minmax(0,1fr) auto;align-items:start;gap:8px;margin-inline:-8px;padding:3px 8px;display:grid}html[data-theme-surface=dashboard] .scribe-exam-line.is-unreviewed{background:var(--scribe-warn-fill);box-shadow:inset 0 0 0 1px var(--ui-warning-border)}html[data-theme-surface=dashboard] .scribe-exam-line__label{color:var(--ui-text-soft);gap:3px;padding-top:7px;font-size:.76rem;font-weight:650;display:grid}html[data-theme-surface=dashboard] .scribe-exam-label{min-height:32px;padding:4px 8px}html[data-theme-surface=dashboard] .scribe-autofilled{border:1px solid var(--ui-warning-border);background:var(--ui-surface);color:var(--ui-warning);border-radius:999px;justify-self:start;padding:1px 7px;font-size:.64rem;font-style:normal;font-weight:700}html[data-theme-surface=dashboard] .scribe-exam-line .scribe-autotext{width:100%;margin:0}html[data-theme-surface=dashboard] .scribe-exam-line.is-unreviewed .scribe-autotext{background:0 0}html[data-theme-surface=dashboard] .scribe-exam-line.is-unreviewed .scribe-autotext:focus{background:var(--ui-surface)}html[data-theme-surface=dashboard] .scribe-exam-line>.scribe-readonly{padding-top:7px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-exam-line{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label remove""text text";gap:0 4px;padding:2px 8px 6px}html[data-theme-surface=dashboard] .scribe-exam-line__label{grid-area:label;align-items:center;gap:8px;min-height:44px;padding-top:0;font-size:.8125rem;display:flex}html[data-theme-surface=dashboard] .scribe-exam-line>.scribe-autotext,html[data-theme-surface=dashboard] .scribe-exam-line>.scribe-readonly{grid-area:text}html[data-theme-surface=dashboard] .scribe-exam-line>.scribe-icon-button{grid-area:remove;align-self:center}html[data-theme-surface=dashboard] .scribe-autofilled{font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-exam-label{flex:auto;min-height:44px}}html[data-theme-surface=dashboard] .scribe-dx-list{gap:var(--ui-space-3);display:grid}html[data-theme-surface=dashboard] .scribe-dx{min-width:0;padding:var(--ui-space-3) var(--ui-space-4);border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-card)}html[data-theme-surface=dashboard] .scribe-dx.is-carried{border-style:dashed}html[data-theme-surface=dashboard] .scribe-dx__head{grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}html[data-theme-surface=dashboard] .scribe-dx__head h4{margin:0;padding-top:6px;font-size:.88rem}html[data-theme-surface=dashboard] .scribe-dx__num{background:var(--ui-accent-soft);width:24px;height:24px;color:var(--ui-accent);border-radius:50%;place-items:center;margin-top:6px;font-size:.72rem;font-weight:700;display:grid}html[data-theme-surface=dashboard] .scribe-dx__name{font-size:.9rem;font-weight:650}html[data-theme-surface=dashboard] .scribe-dx__tools{align-items:center;gap:0;margin-right:-6px;display:flex}html[data-theme-surface=dashboard] .scribe-dx__carried{color:var(--ui-muted);margin:2px 0 0 32px;font-size:.7rem}html[data-theme-surface=dashboard] .scribe-dx__code{flex-wrap:wrap;align-items:center;gap:4px 8px;margin:2px 0 4px 32px;display:flex}html[data-theme-surface=dashboard] .scribe-code-chip{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent);font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:6px;padding:2px 9px;font-size:.74rem;display:inline-flex}html[data-theme-surface=dashboard] .scribe-code-chip[data-status=suggested]{border-style:dashed;border-color:var(--ui-warning-border);color:var(--ui-warning);background:0 0}html[data-theme-surface=dashboard] .scribe-code-chip i{font-size:.72rem;font-style:normal;font-weight:600}html[data-theme-surface=dashboard] .scribe-dx__desc{min-width:0;color:var(--ui-text-soft);flex:160px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-dx__code-actions{flex-wrap:wrap;gap:2px;display:flex}html[data-theme-surface=dashboard] .scribe-dx__code-actions .ay-button,html[data-theme-surface=dashboard] .scribe-add-code{min-height:30px;padding:3px 9px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-add-code{color:var(--ui-muted);gap:5px;margin-left:-6px}html[data-theme-surface=dashboard] .scribe-dx__items{gap:0;margin:2px 0 0 32px;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-dx__item{grid-template-columns:10px minmax(0,1fr) auto;align-items:start;gap:4px;display:grid}html[data-theme-surface=dashboard] .scribe-dx__bullet{background:var(--ui-faint);border-radius:50%;width:5px;height:5px;margin:16px 0 0 3px}html[data-theme-surface=dashboard] .scribe-dx__item>.scribe-readonly{padding:5px 0}html[data-theme-surface=dashboard] .scribe-dx .scribe-add{margin-left:32px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-dx{padding:var(--ui-space-3)}html[data-theme-surface=dashboard] .scribe-dx__tools{margin-right:-8px}html[data-theme-surface=dashboard] .scribe-dx__tools .scribe-copy{width:44px;padding:0;position:relative}html[data-theme-surface=dashboard] .scribe-dx__tools .scribe-copy>span:not(.sr-only){clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}html[data-theme-surface=dashboard] .scribe-dx__carried,html[data-theme-surface=dashboard] .scribe-dx__code,html[data-theme-surface=dashboard] .scribe-dx__items,html[data-theme-surface=dashboard] .scribe-dx .scribe-add{margin-left:0}html[data-theme-surface=dashboard] .scribe-dx__code-actions .ay-button,html[data-theme-surface=dashboard] .scribe-add-code{min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-code-chip,html[data-theme-surface=dashboard] .scribe-dx__desc,html[data-theme-surface=dashboard] .scribe-dx__carried,html[data-theme-surface=dashboard] .scribe-code-chip i{font-size:.8125rem}}html[data-theme-surface=dashboard] .scribe-code-search__box{display:block;position:relative}html[data-theme-surface=dashboard] .scribe-code-search__box>svg{color:var(--ui-muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}html[data-theme-surface=dashboard] .scribe-code-search__box>input{padding-left:36px}html[data-theme-surface=dashboard] .scribe-code-results{min-height:140px;margin-top:8px}html[data-theme-surface=dashboard] .scribe-code-results ul{margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-code-option{border:0;border-bottom:1px solid var(--ui-border);width:100%;min-height:44px;color:var(--ui-text);font:inherit;text-align:left;background:0 0;border-radius:0;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 8px;font-size:.8rem;display:grid}html[data-theme-surface=dashboard] .scribe-code-option:hover:not(:disabled){background:var(--ui-accent-soft)}html[data-theme-surface=dashboard] .scribe-code-option:disabled{color:var(--ui-muted)}html[data-theme-surface=dashboard] .scribe-code-option b{font-variant-numeric:tabular-nums}html[data-theme-surface=dashboard] .scribe-code-option em{color:var(--ui-muted);font-size:.68rem;font-style:normal}html[data-theme-surface=dashboard] .scribe-phrases-card .ay-clinical-card__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}html[data-theme-surface=dashboard] .scribe-phrases-card .ay-clinical-card__header>div{min-width:0;max-width:62ch}html[data-theme-surface=dashboard] .scribe-phrase-add{flex:none;gap:6px}html[data-theme-surface=dashboard] .scribe-phrase-state{min-height:56px;color:var(--ui-text-soft);align-items:center;gap:10px;font-size:.8rem;display:flex}html[data-theme-surface=dashboard] .scribe-phrase-rows{border:1px solid var(--ui-border);border-radius:var(--ui-radius);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}html[data-theme-surface=dashboard] .scribe-phrase-rows>li+li{border-top:1px solid var(--ui-border)}html[data-theme-surface=dashboard] .scribe-phrase-row{background:var(--ui-surface);width:100%;min-height:56px;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color .12s var(--ui-ease-out);border:0;gap:2px;padding:9px 14px;display:grid}html[data-theme-surface=dashboard] .scribe-phrase-row:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}@media (hover:hover){html[data-theme-surface=dashboard] .scribe-phrase-row:hover{background:var(--ui-accent-soft)}}html[data-theme-surface=dashboard] .scribe-phrase-row__head,html[data-theme-surface=dashboard] .scribe-phrase-option__head{flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;display:flex}html[data-theme-surface=dashboard] .scribe-phrase-row__head b,html[data-theme-surface=dashboard] .scribe-phrase-option__head b{font-size:.84rem;font-weight:650}html[data-theme-surface=dashboard] .scribe-phrase-row code,html[data-theme-surface=dashboard] .scribe-phrase-option code{border:1px solid var(--ui-border);background:var(--ui-surface-soft);color:var(--ui-text-soft);border-radius:6px;padding:1px 7px;font:600 .72rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}html[data-theme-surface=dashboard] .scribe-phrase-row__head em,html[data-theme-surface=dashboard] .scribe-phrase-option em{color:var(--ui-muted);font-size:.72rem;font-style:normal}html[data-theme-surface=dashboard] .scribe-phrase-row__head em{margin-left:auto}html[data-theme-surface=dashboard] .scribe-phrase-row__text,html[data-theme-surface=dashboard] .scribe-phrase-option__text{color:var(--ui-text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;line-height:1.45;overflow:hidden}html[data-theme-surface=dashboard] .scribe-phrases-card .scribe-phrase-privacy{margin:12px 0 0}html[data-theme-surface=dashboard] .scribe-phrase-form{gap:14px;display:grid}html[data-theme-surface=dashboard] .scribe-phrase-form .ui-field{margin-top:0}html[data-theme-surface=dashboard] .scribe-phrase-form .ui-field__hint,html[data-theme-surface=dashboard] .scribe-phrase-error{margin-top:2px;font-size:.72rem;line-height:1.45;display:block}html[data-theme-surface=dashboard] .scribe-phrase-error{color:var(--ui-danger);font-weight:600}html[data-theme-surface=dashboard] .scribe-phrase-form .scribe-phrase-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}html[data-theme-surface=dashboard] .scribe-phrase-form .scribe-phrase-privacy{margin:0}html[data-theme-surface=dashboard] .scribe-dialog__footer .scribe-phrase-delete{color:var(--ui-danger);margin-right:auto}html[data-theme-surface=dashboard] .scribe-phrase-results{min-height:140px;margin-top:8px}html[data-theme-surface=dashboard] .scribe-phrase-list{margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-phrase-option{border:0;border-bottom:1px solid var(--ui-border);width:100%;min-height:52px;color:var(--ui-text);font:inherit;text-align:left;cursor:pointer;transition:background-color .12s var(--ui-ease-out);background:0 0;border-radius:0;gap:2px;padding:8px 10px;display:grid}@media (hover:hover){html[data-theme-surface=dashboard] .scribe-phrase-option:hover{background:var(--ui-accent-soft)}}html[data-theme-surface=dashboard] .scribe-phrase-option:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=dashboard] .scribe-phrase-insert svg{flex:none}html[data-theme-surface=dashboard] .scribe-dx__adds{flex-wrap:wrap;align-items:center;gap:2px 10px;margin-left:32px;display:flex}html[data-theme-surface=dashboard] .scribe-dx .scribe-dx__adds .scribe-add{margin-left:0}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-phrases-card .ay-clinical-card__header{flex-direction:column}html[data-theme-surface=dashboard] .scribe-phrase-add{justify-content:center;width:100%;min-height:44px}html[data-theme-surface=dashboard] .scribe-phrase-row,html[data-theme-surface=dashboard] .scribe-phrase-option{min-height:56px}html[data-theme-surface=dashboard] .scribe-phrase-row__head em{flex-basis:100%;margin-left:0}html[data-theme-surface=dashboard] .scribe-phrase-form .ui-input:not(textarea){min-height:44px}html[data-theme-surface=dashboard] .scribe-dx__adds{margin-left:0}html[data-theme-surface=dashboard] .scribe-dialog__footer .scribe-phrase-delete{flex:1 0 100%;order:3;margin-right:0}}html[data-theme-surface=dashboard] .scribe-macro{gap:8px;margin-top:0;display:grid}html[data-theme-surface=dashboard] .scribe-macro-lines{gap:10px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-macro-line{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:6px;padding:10px;display:grid}html[data-theme-surface=dashboard] .scribe-macro-line__head{grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;display:grid}html[data-theme-surface=dashboard] .scribe-macro-line__blank{gap:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.76rem}html[data-theme-surface=dashboard] .scribe-macro-add{justify-self:start;gap:6px}html[data-theme-surface=dashboard] .scribe-phrase-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}html[data-theme-surface=dashboard] .scribe-phrase-starter{gap:6px}html[data-theme-surface=dashboard] .scribe-default-exam{max-width:420px;margin-top:12px}html[data-theme-surface=dashboard] .scribe-default-exam .ui-field__hint{margin-top:2px;font-size:.72rem;line-height:1.45;display:block}html[data-theme-surface=dashboard] .scribe-exam-line>.scribe-blanks{grid-column:2;margin-bottom:4px}html[data-theme-surface=dashboard] .scribe-blanks,html[data-theme-surface=scribe] .scribe-blanks{flex-wrap:wrap;align-items:center;gap:6px 14px;display:flex}html[data-theme-surface=dashboard] .scribe-count-fill,html[data-theme-surface=scribe] .scribe-count-fill{flex-wrap:wrap;align-items:center;gap:6px 8px;display:flex}html[data-theme-surface=dashboard] .scribe-count-fill__context,html[data-theme-surface=scribe] .scribe-count-fill__context{color:var(--ui-text-soft);font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-count-fill__input,html[data-theme-surface=scribe] .scribe-count-fill__input{text-align:center;font-variant-numeric:tabular-nums;width:88px;min-height:36px}html[data-theme-surface=scribe] .scribe-count-fill__input,html[data-theme-surface=scribe] .scribe-count-fill .ay-button{min-height:44px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-exam-line.has-side-blank{grid-template-areas:"label remove""text text""side side"}html[data-theme-surface=dashboard] .scribe-exam-line>.scribe-blanks{grid-area:side;margin:2px 0}html[data-theme-surface=dashboard] .scribe-macro-line__blank,html[data-theme-surface=dashboard] .scribe-macro-add,html[data-theme-surface=dashboard] .scribe-macro-line__head .cm-select__trigger{min-height:44px}html[data-theme-surface=dashboard] .scribe-macro-add{justify-content:center;justify-self:stretch}html[data-theme-surface=dashboard] .scribe-count-fill__input,html[data-theme-surface=dashboard] .scribe-count-fill .ay-button{min-height:44px}html[data-theme-surface=dashboard] .scribe-phrase-actions{flex-direction:column;align-items:stretch;width:100%}html[data-theme-surface=dashboard] .scribe-phrase-starter{justify-content:center;width:100%;min-height:44px}html[data-theme-surface=dashboard] .scribe-default-exam{max-width:none}html[data-theme-surface=dashboard] .scribe-default-exam .ui-field__hint,html[data-theme-surface=dashboard] .scribe-macro .ui-field__hint,html[data-theme-surface=dashboard] .scribe-macro .scribe-phrase-error{font-size:.8125rem}}html[data-theme-surface=dashboard] .scribe-mdm-elements{gap:8px;margin-top:8px;display:grid}html[data-theme-surface=dashboard] .scribe-mdm-element{grid-template-columns:132px 140px minmax(0,1fr);align-items:start;gap:8px;display:grid}html[data-theme-surface=dashboard] .scribe-mdm-element__label{color:var(--ui-text-soft);padding-top:8px;font-size:.76rem;font-weight:650}html[data-theme-surface=dashboard] .scribe-mdm-element .scribe-autotext{width:100%;margin:0}html[data-theme-surface=dashboard] .scribe-mdm-level-text{padding-top:8px;font-size:.8rem}html[data-theme-surface=dashboard] .scribe-considered{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}html[data-theme-surface=dashboard] .scribe-considered__label{color:var(--ui-text-soft);font-size:.76rem;font-weight:650}html[data-theme-surface=dashboard] .scribe-considered ul{margin:0;padding:0;list-style:none;display:contents}html[data-theme-surface=dashboard] .scribe-considered li{border:1px solid var(--ui-border-strong);background:var(--ui-surface);border-radius:999px;align-items:center;gap:2px;padding:2px 4px 2px 10px;font-size:.76rem;display:inline-flex}html[data-theme-surface=dashboard] .scribe-chip-remove{width:22px;height:22px;color:var(--ui-muted);background:0 0;border:0;border-radius:50%;padding:0;font-size:1rem;line-height:1}html[data-theme-surface=dashboard] .scribe-chip-remove:hover{background:var(--ui-danger-soft);color:var(--ui-danger)}html[data-theme-surface=dashboard] .scribe-considered__add{align-items:center;gap:4px;display:inline-flex}html[data-theme-surface=dashboard] .scribe-considered__add .ui-input{width:180px;min-height:32px;padding:4px 10px}html[data-theme-surface=dashboard] .scribe-em{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius);background:var(--ui-accent-soft);gap:6px;margin-top:12px;padding:12px 14px;display:grid}html[data-theme-surface=dashboard] .scribe-em.is-kept{border-color:var(--ui-success-border);background:var(--ui-success-soft)}html[data-theme-surface=dashboard] .scribe-em.is-removed{border-color:var(--ui-border);background:var(--ui-surface-muted)}html[data-theme-surface=dashboard] .scribe-em.is-removed .scribe-em__code b{color:var(--ui-muted);text-decoration:line-through}html[data-theme-surface=dashboard] .scribe-em--none{background:0 0;border-style:dashed}html[data-theme-surface=dashboard] .scribe-em__head{justify-content:space-between;align-items:center;gap:8px;display:flex}html[data-theme-surface=dashboard] .scribe-em__code{flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;display:flex}html[data-theme-surface=dashboard] .scribe-em__code b{color:var(--ui-text);font-variant-numeric:tabular-nums;font-size:1.1rem}html[data-theme-surface=dashboard] .scribe-em__code span{color:var(--ui-text-soft);font-size:.76rem}html[data-theme-surface=dashboard] .scribe-em__tag{border:1px solid var(--ui-accent-border);background:var(--ui-surface);color:var(--ui-accent);border-radius:999px;flex:none;padding:2px 9px;font-size:.68rem;font-weight:700}html[data-theme-surface=dashboard] .scribe-em__tag--kept{border-color:var(--ui-success-border);color:var(--ui-success)}html[data-theme-surface=dashboard] .scribe-em__tag--removed{border-color:var(--ui-border);color:var(--ui-muted)}html[data-theme-surface=dashboard] .scribe-em__label,html[data-theme-surface=dashboard] .scribe-em__note{color:var(--ui-text-soft);margin:0;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-em__why{color:var(--ui-accent);font:inherit;text-underline-offset:3px;background:0 0;border:0;justify-self:start;padding:2px 0;font-size:.74rem;font-weight:650;text-decoration:underline}html[data-theme-surface=dashboard] .scribe-em__reasons{color:var(--ui-text-soft);margin:0;padding-left:18px;font-size:.76rem;line-height:1.5}html[data-theme-surface=dashboard] .scribe-em__hints{color:var(--ui-muted);gap:2px;margin:0;padding:0;font-size:.72rem;font-style:italic;line-height:1.45;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-em__actions{flex-wrap:wrap;gap:6px;display:flex}html[data-theme-surface=dashboard] .scribe-time{color:var(--ui-text-soft);flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;font-size:.76rem;font-weight:650;display:flex}html[data-theme-surface=dashboard] .scribe-time .ui-input{width:120px;min-height:34px;padding:4px 10px}html[data-theme-surface=dashboard] .scribe-sameday{margin-top:4px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-mdm-element{grid-template-columns:minmax(0,1fr);gap:2px}html[data-theme-surface=dashboard] .scribe-mdm-element__label{padding-top:4px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-considered__label,html[data-theme-surface=dashboard] .scribe-time,html[data-theme-surface=dashboard] .scribe-em__label,html[data-theme-surface=dashboard] .scribe-em__note,html[data-theme-surface=dashboard] .scribe-em__reasons,html[data-theme-surface=dashboard] .scribe-em__hints,html[data-theme-surface=dashboard] .scribe-em__why,html[data-theme-surface=dashboard] .scribe-em__tag,html[data-theme-surface=dashboard] .scribe-em__code span{font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-considered li{min-height:36px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-considered__add .ui-input{width:150px;min-height:44px}html[data-theme-surface=dashboard] .scribe-time .ui-input{min-height:44px}html[data-theme-surface=dashboard] .scribe-em__actions .ay-button{min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-em__why{min-height:44px}html[data-theme-surface=dashboard] .scribe-chip-remove{width:32px;height:32px}}html[data-theme-surface=dashboard] .scribe-reevals{gap:4px;margin:8px 0 0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-reevals li{grid-template-columns:70px minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}html[data-theme-surface=dashboard] .scribe-reeval__time{color:var(--ui-accent);font-variant-numeric:tabular-nums;padding-top:8px;font-size:.76rem;font-weight:700}html[data-theme-surface=dashboard] .scribe-reevals .scribe-autotext{width:100%;margin:0}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-reevals li{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"time remove""text text"}html[data-theme-surface=dashboard] .scribe-reeval__time{grid-area:time;align-self:center;padding-top:0;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-reevals li>.scribe-autotext,html[data-theme-surface=dashboard] .scribe-reevals li>.scribe-readonly{grid-area:text}html[data-theme-surface=dashboard] .scribe-reevals li>.scribe-icon-button{grid-area:remove}}html[data-theme-surface=dashboard] .scribe-dialog-backdrop{z-index:150}html[data-theme-surface=dashboard] .scribe-dialog{width:min(100%,560px);max-height:min(88dvh,760px);animation:scribe-in .18s var(--ui-ease-out) both;flex-direction:column;padding:0;display:flex;overflow:hidden}html[data-theme-surface=dashboard] .scribe-dialog--sm{width:min(100%,460px)}html[data-theme-surface=dashboard] .scribe-dialog--lg{width:min(100%,720px)}html[data-theme-surface=dashboard] .scribe-dialog__head{justify-content:space-between;align-items:center;gap:12px;padding:14px 12px 6px 20px;display:flex}html[data-theme-surface=dashboard] .scribe-dialog__head h3{margin:0;font-size:1rem}html[data-theme-surface=dashboard] .scribe-dialog__body{overscroll-behavior:contain;flex:auto;min-height:0;padding:6px 20px 16px;overflow:auto}html[data-theme-surface=dashboard] .scribe-dialog__body>p{color:var(--ui-text-soft);margin:0 0 10px;font-size:.8rem;line-height:1.5}html[data-theme-surface=dashboard] .scribe-dialog__footer{flex-wrap:wrap}html[data-theme-surface=dashboard] .scribe-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}html[data-theme-surface=dashboard] .scribe-form__wide{grid-column:1/-1}html[data-theme-surface=dashboard] .scribe-form .ui-field{margin-top:0}html[data-theme-surface=dashboard] .scribe-age{grid-template-columns:minmax(0,1fr) 118px;gap:8px;display:grid}html[data-theme-surface=dashboard] .scribe-choice{border:0;margin:12px 0 0;padding:0}html[data-theme-surface=dashboard] .scribe-choice legend{color:var(--ui-text-soft);padding:0 0 5px;font-size:.72rem;font-weight:650}html[data-theme-surface=dashboard] .scribe-carry{align-items:flex-start;margin-top:14px}html[data-theme-surface=dashboard] .scribe-carry small,html[data-theme-surface=dashboard] .scribe-setting-switch small{color:var(--ui-muted);margin-top:2px;font-size:.72rem;font-weight:450;display:block}html[data-theme-surface=dashboard] .scribe-carry .ay-switch__track{margin-top:2px}html[data-theme-surface=dashboard] .scribe-dictate__bar,html[data-theme-surface=dashboard] .scribe-dictate__bar.ay-suggestions-card{box-shadow:none;background:0 0;border:0;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;margin-top:6px;padding:0}html[data-theme-surface=dashboard] .scribe-dictate__bar .scribe-count{margin:0}html[data-theme-surface=dashboard] .scribe-draft-list{color:var(--ui-text);margin:0 0 10px;padding-left:18px;font-size:.82rem}html[data-theme-surface=dashboard] .scribe-history{gap:0;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-history__row{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:10px 0;display:grid}html[data-theme-surface=dashboard] .scribe-history__main{justify-items:start;gap:3px;min-width:0;display:grid}html[data-theme-surface=dashboard] .scribe-history__main p{color:var(--ui-text);margin:0;font-size:.8rem}html[data-theme-surface=dashboard] .scribe-history__main time{color:var(--ui-muted);font-size:.72rem}html[data-theme-surface=dashboard] .scribe-history__actions{gap:4px;display:flex}html[data-theme-surface=dashboard] .scribe-history__actions .ay-button{min-height:34px;padding:4px 10px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-history__preview{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);grid-column:1/-1;padding:8px 10px}html[data-theme-surface=dashboard] .scribe-history__preview pre{max-height:240px;font:inherit;white-space:pre-wrap;margin:0;font-size:.76rem;line-height:1.5;overflow:auto}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-dialog-backdrop{place-items:end center;padding:0}html[data-theme-surface=dashboard] .scribe-dialog,html[data-theme-surface=dashboard] .scribe-dialog--sm,html[data-theme-surface=dashboard] .scribe-dialog--lg{width:100%;max-height:92dvh;animation:scribe-sheet .2s var(--ui-ease-out) both;border-radius:16px 16px 0 0}html[data-theme-surface=dashboard] .scribe-dialog__head{padding:8px 6px 4px 16px}html[data-theme-surface=dashboard] .scribe-dialog__body{padding:4px 16px 14px}html[data-theme-surface=dashboard] .scribe-dialog__footer{padding:10px 16px max(12px, env(safe-area-inset-bottom))}html[data-theme-surface=dashboard] .scribe-dialog__footer .ay-button{flex:auto;min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-dialog__body>p,html[data-theme-surface=dashboard] .scribe-hint,html[data-theme-surface=dashboard] .scribe-history__main p,html[data-theme-surface=dashboard] .scribe-history__main time,html[data-theme-surface=dashboard] .scribe-draft-list,html[data-theme-surface=dashboard] .scribe-choice legend,html[data-theme-surface=dashboard] .scribe-carry small{font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-form{grid-template-columns:minmax(0,1fr)}html[data-theme-surface=dashboard] .scribe-form .ui-input,html[data-theme-surface=dashboard] .scribe-code-search .ui-input{min-height:44px}html[data-theme-surface=dashboard] .scribe-history__actions .ay-button{min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-code-option{font-size:.875rem}}@keyframes scribe-sheet{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}html[data-theme-surface=dashboard] .scribe-settings-tab,html[data-theme-surface=dashboard] .scribe-settings-grid{gap:12px;max-width:860px;padding-top:14px;display:grid}@media (width>=1100px){html[data-theme-surface=dashboard] .scribe-settings .scribe-settings-grid{max-width:none}html[data-theme-surface=dashboard] .scribe-settings .scribe-settings-grid--pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}html[data-theme-surface=dashboard] .scribe-settings .scribe-exam-words{grid-template-columns:repeat(3,minmax(0,1fr))}}html[data-theme-surface=dashboard] .scribe-settings-card .ay-clinical-card__header p{max-width:70ch;margin-bottom:10px}html[data-theme-surface=dashboard] .scribe-settings-card.ay-clinical-card{padding:18px}html[data-theme-surface=dashboard] .scribe-danger{border-color:var(--ui-danger-border)}html[data-theme-surface=dashboard] .scribe-settings-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}html[data-theme-surface=dashboard] .scribe-settings-fields--wide{margin-top:14px}html[data-theme-surface=dashboard] .scribe-settings-fields .scribe-choice{margin:0}html[data-theme-surface=dashboard] .scribe-settings-typepick{max-width:280px}html[data-theme-surface=dashboard] .scribe-settings-switches{gap:10px;margin-top:14px;display:grid}html[data-theme-surface=dashboard] .scribe-setting-switch{align-items:flex-start}html[data-theme-surface=dashboard] .scribe-setting-line{color:var(--ui-muted);margin:0;font-size:.8125rem;line-height:1.4}html[data-theme-surface=dashboard] .scribe-setting-switch .ay-switch__track{margin-top:2px}html[data-theme-surface=dashboard] .scribe-exam-words{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;display:grid}html[data-theme-surface=dashboard] .scribe-exam-words .scribe-autotext,html[data-theme-surface=dashboard] .scribe-settings-card .scribe-autotext,html[data-theme-surface=dashboard] .scribe-settings-card .scribe-autotext:hover:not(:disabled){border-color:var(--ui-border-strong);background:var(--ui-surface);width:100%;margin:0}html[data-theme-surface=dashboard] .scribe-settings-card .scribe-autotext:focus{border-color:var(--ui-accent)}html[data-theme-surface=dashboard] .scribe-settings-typepick+.ui-field{margin-top:12px}html[data-theme-surface=dashboard] .scribe-order{margin-top:18px}html[data-theme-surface=dashboard] .scribe-order h4{margin:0 0 6px;font-size:.84rem}html[data-theme-surface=dashboard] .scribe-order ol{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-order li{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(0,1fr) 140px auto;align-items:center;gap:8px;padding:4px 8px 4px 12px;display:grid}html[data-theme-surface=dashboard] .scribe-order li:last-child{border-bottom:0}html[data-theme-surface=dashboard] .scribe-order li.is-off{opacity:.55}html[data-theme-surface=dashboard] .scribe-order__label{align-items:center;gap:8px;font-size:.8rem;font-weight:580;display:flex}html[data-theme-surface=dashboard] .scribe-order__label em{color:var(--ui-muted);font-size:.68rem;font-style:normal}html[data-theme-surface=dashboard] .scribe-order__fixed{color:var(--ui-muted);font-size:.74rem}html[data-theme-surface=dashboard] .scribe-order__moves{display:flex}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-settings-fields,html[data-theme-surface=dashboard] .scribe-exam-words{grid-template-columns:minmax(0,1fr)}html[data-theme-surface=dashboard] .scribe-settings-card.ay-clinical-card{padding:16px}html[data-theme-surface=dashboard] .scribe-order li{grid-template-columns:minmax(0,1fr) 118px auto;padding-left:10px}html[data-theme-surface=dashboard] .scribe-order__label,html[data-theme-surface=dashboard] .scribe-order__fixed,html[data-theme-surface=dashboard] .scribe-order__label em,html[data-theme-surface=dashboard] .scribe-setting-switch small,html[data-theme-surface=dashboard] .scribe-archived-banner,html[data-theme-surface=dashboard] .scribe-settings-card .ay-clinical-card__header p{font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-setting-switch{min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .ay-activity-segment{min-height:44px}}html[data-theme-surface=dashboard] .scribe-choice__hint{color:var(--ui-muted);margin-top:6px;font-size:.72rem;line-height:1.45;display:block}@media (width>=900px){html[data-theme-surface=dashboard] .scribe-settings-layout{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-choice__hint{font-size:.8125rem}}html[data-theme-surface=dashboard] .scribe-plan{border-top:1px solid var(--ui-border);margin-top:16px;padding-top:12px}html[data-theme-surface=dashboard] .scribe-plan__group .scribe-dx__head{grid-template-columns:24px minmax(0,1fr)}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-dialog{animation:none}html[data-theme-surface=dashboard] .scribe-progress__bar>i.is-running{opacity:.55;width:100%;animation:none}html[data-theme-surface=dashboard] .scribe-section,html[data-theme-surface=dashboard] .scribe-exam-line,html[data-theme-surface=dashboard] .scribe-autotext,html[data-theme-surface=dashboard] .scribe-index__link{transition:none}}@media (width<=899px){html[data-theme-surface=dashboard] :is(.scribe-chart,.scribe-settings,.scribe-list,.scribe-dialog) :is(.ay-button,.scribe-dx__num,.ay-chart-history-pill,.ay-chart-history-pill>span,.scribe-chip,.ay-note-footer-status,.ay-status-pill,.scribe-note-pill,.ui-field__label,.ay-switch,legend){font-size:max(.8125rem,13px)}html[data-theme-surface=dashboard] .scribe-sameday{min-height:44px}html[data-theme-surface=dashboard] .workspace-list .scribe-patient-card .patient-list-demographics,html[data-theme-surface=dashboard] .workspace-list .scribe-patient-card .patient-list-reason,html[data-theme-surface=dashboard] .scribe-demo-room,html[data-theme-surface=dashboard] .scribe-deletes-phone{font-size:max(.8125rem,13px)}}html[data-theme-surface=scribe] .scribe-sheet-backdrop--portal{z-index:70}html[data-theme-surface=scribe] .scribe-sheet--wide{width:min(100%,520px);max-height:min(88dvh,760px);animation-duration:.2s;animation-timing-function:var(--ui-ease-out);grid-template-rows:auto minmax(0,1fr);gap:4px;padding-bottom:0;overflow:hidden}html[data-theme-surface=scribe] .scribe-sheet__header{justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}html[data-theme-surface=scribe] .scribe-sheet__header h3{overflow-wrap:anywhere;text-wrap:balance;flex:1;min-width:0}html[data-theme-surface=scribe] .scribe-sheet__close{background:0 0;border:0;margin-right:-10px}html[data-theme-surface=scribe] .scribe-sheet__body{overscroll-behavior:contain;min-height:0;padding:4px 2px calc(18px + env(safe-area-inset-bottom));grid-auto-rows:max-content;align-content:start;gap:12px;display:grid;overflow-y:auto}html[data-theme-surface=scribe] .scribe-sheet p.scribe-sheet__hint{color:var(--ui-text-soft);margin:0;font-size:.8125rem;line-height:1.45}html[data-theme-surface=scribe] .scribe-sheet--dictate .scribe-recorder{gap:8px}html[data-theme-surface=scribe] .scribe-sheet--dictate .scribe-recorder__stage{padding-top:24px}html[data-theme-surface=scribe] .scribe-sheet--dictate .scribe-recorder__alerts{min-height:0;margin:0}html[data-theme-surface=scribe] .scribe-dictate-start p{color:var(--ui-text-soft);align-items:center;gap:10px;margin:0;font-size:.875rem;display:flex}html[data-theme-surface=scribe] .scribe-icon-button--quiet{background:0 0;border-color:#0000}html[data-theme-surface=scribe] .scribe-form{gap:14px;display:grid}html[data-theme-surface=scribe] .scribe-field{gap:6px;min-width:0;display:grid}html[data-theme-surface=scribe] .scribe-field>label,html[data-theme-surface=scribe] .scribe-field__label{color:var(--ui-text);font-size:.8125rem;font-weight:650}html[data-theme-surface=scribe] .scribe-field .ui-input{min-height:44px;font-size:16px}html[data-theme-surface=scribe] .scribe-field-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}html[data-theme-surface=scribe] .scribe-field__error{color:var(--ui-danger);margin:0;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-textarea--short{min-height:76px}html[data-theme-surface=scribe] .scribe-segmented{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;padding:3px;display:grid}html[data-theme-surface=scribe] .scribe-segmented__option{border-radius:calc(var(--ui-radius) - 2px);min-height:44px;color:var(--ui-text-soft);font:inherit;cursor:pointer;transition:background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out);background:0 0;border:0;padding:0 6px;font-size:.8125rem;font-weight:650}html[data-theme-surface=scribe] .scribe-segmented__option[aria-checked=true]{background:var(--ui-surface);color:var(--ui-accent);box-shadow:var(--ui-shadow-card)}html[data-theme-surface=scribe] .scribe-segmented__option:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}html[data-theme-surface=scribe] .scribe-check{align-items:flex-start;gap:12px;min-height:44px;font-size:.875rem;line-height:1.4;display:flex}html[data-theme-surface=scribe] .scribe-check input{width:22px;height:22px;accent-color:var(--ui-accent);flex:none;margin:0}html[data-theme-surface=scribe] .scribe-dialog-error{color:var(--ui-danger);margin:8px 0 0;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-add-patient{gap:6px;min-height:44px}html[data-theme-surface=scribe] .scribe-patients-toolbar{align-items:center;gap:8px;display:flex}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-search{flex:auto;min-width:0}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-sort-btn{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);height:44px;min-height:44px;color:var(--ui-text-soft);font:inherit;white-space:nowrap;cursor:pointer;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:.8125rem;font-weight:620;display:inline-flex}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-sort-btn:active,html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-sort-btn[aria-expanded=true]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-sort-btn:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-sort-icon{flex:none;width:17px;height:17px}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-sort-btn .cm-chevron{flex:none}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-sort-text{color:var(--ui-text)}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-add-patient{white-space:nowrap;flex:none}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-add-group{flex:none;align-items:center;gap:8px;display:flex}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-quick-start{width:44px;height:44px;min-height:44px;color:var(--ui-accent);flex:none;justify-content:center;padding:0}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-quick-start:disabled{opacity:.6}html[data-theme-surface=scribe] .scribe-qs-chip--static{pointer-events:none;cursor:inherit;flex:none;max-width:none;margin-right:6px;position:static;overflow:visible}html[data-theme-surface=scribe] .scribe-qs-chip--static:before{content:none}html[data-theme-surface=scribe] .scribe-qs-notice{margin-bottom:4px}@media (width>=768px){html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-search{max-width:380px;margin-right:auto}}@media (width<=767px){html[data-theme-surface=scribe] .scribe-patients-toolbar{grid-template-columns:minmax(0,1fr) auto;display:grid}html[data-theme-surface=scribe] .scribe-patients-toolbar--archive{grid-template-columns:minmax(0,1fr)}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-add-patient{grid-column:1/-1;justify-content:center;width:100%}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-add-group{grid-column:1/-1}html[data-theme-surface=scribe] .scribe-patients-toolbar .scribe-add-group .scribe-add-patient{flex:auto;width:auto;min-width:0}}html[data-theme-surface=scribe] .scribe-prow{align-items:stretch;min-width:0;display:flex}html[data-theme-surface=scribe] .scribe-prow>.scribe-patient{flex:auto;min-width:0}html[data-theme-surface=scribe] .scribe-prow>.scribe-more{margin:auto 4px auto 0}html[data-theme-surface=scribe] .scribe-patient--practice{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name chevron""meta chevron""state chevron"}html[data-theme-surface=scribe] .scribe-patient--practice>.scribe-patient__state{grid-area:state}html[data-theme-surface=scribe] .scribe-patient--practice .scribe-patient__details{color:var(--ui-text);white-space:nowrap;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-patient--draft .scribe-patient__state{color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-prow--done .scribe-patient__state{color:var(--ui-success)}html[data-theme-surface=scribe] .scribe-prow[data-row-state]{transition:background-color .24s cubic-bezier(.23,1,.32,1)}html[data-theme-surface=scribe] .scribe-prow[data-row-state=idle]{background:color-mix(in srgb, var(--ui-surface-muted) 70%, var(--ui-surface))}html[data-theme-surface=scribe] .scribe-prow[data-row-state=working]{background:color-mix(in srgb, var(--ui-warning-soft) 60%, var(--ui-surface))}html[data-theme-surface=scribe] .scribe-prow[data-row-state=done]{background:color-mix(in srgb, var(--ui-success-soft) 45%, var(--ui-surface))}html[data-theme-surface=scribe] .scribe-prow[data-row-state=copied]{background:var(--ui-success-soft)}html[data-theme-surface=scribe] .scribe-prow[data-row-state=failed]{background:color-mix(in srgb, var(--ui-danger-soft) 65%, var(--ui-surface))}html[data-theme-surface=scribe] .scribe-prow[data-row-state=failed] .scribe-patient__state{color:var(--ui-danger)}@media (prefers-reduced-motion:reduce){html[data-theme-surface=scribe] .scribe-prow[data-row-state]{transition:none}}html[data-theme-surface=scribe] .scribe-list>li.scribe-prow+li.scribe-prow{border-top-color:color-mix(in srgb, var(--ui-text) 12%, transparent)}html.clinical-ui.dark[data-theme-surface=scribe] .scribe-list>li.scribe-prow+li.scribe-prow{border-top-color:color-mix(in srgb, var(--ui-text) 18%, transparent)}html.clinical-ui.dark[data-theme-surface=scribe] .scribe-prow[data-row-state=idle]{background:color-mix(in srgb, var(--ui-text) 5%, var(--ui-surface))}html.clinical-ui.dark[data-theme-surface=scribe] .scribe-prow[data-row-state=working]{background:color-mix(in srgb, var(--ui-warning) 16%, var(--ui-surface))}html.clinical-ui.dark[data-theme-surface=scribe] .scribe-prow[data-row-state=done]{background:color-mix(in srgb, var(--ui-success) 13%, var(--ui-surface))}html.clinical-ui.dark[data-theme-surface=scribe] .scribe-prow[data-row-state=copied]{background:color-mix(in srgb, var(--ui-success) 28%, var(--ui-surface))}html.clinical-ui.dark[data-theme-surface=scribe] .scribe-prow[data-row-state=failed]{background:color-mix(in srgb, var(--ui-danger) 14%, var(--ui-surface))}html[data-theme-surface=scribe] .scribe-room{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);min-height:24px;color:var(--ui-accent);font-variant-numeric:tabular-nums;letter-spacing:.01em;border-radius:6px;flex:none;align-items:center;padding:0 8px;font-size:.8125rem;font-weight:700;display:inline-flex}html[data-theme-surface=scribe] .scribe-prow--archive{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:12px 6px 12px 16px;display:grid}html[data-theme-surface=scribe] .scribe-prow__main{gap:5px;min-width:0;display:grid}html[data-theme-surface=scribe] .scribe-prow--archive .scribe-patient__state{color:var(--ui-warning);font-size:.8125rem;font-weight:650}html[data-theme-surface=scribe] .scribe-prow__restore{gap:6px;min-height:44px}html[data-theme-surface=scribe] .scribe-patient__reason,html[data-theme-surface=scribe] .scribe-patient__state{font-size:.8125rem}html[data-theme-surface=scribe] .scribe-patientpage__header{gap:6px;margin:0 0 4px;display:grid}html[data-theme-surface=scribe] .scribe-patientpage__header h2{letter-spacing:-.02em;overflow-wrap:anywhere;text-wrap:balance;margin:0;font-size:1.5rem;line-height:1.15}html[data-theme-surface=scribe] .scribe-patientpage__meta{color:var(--ui-text-soft);flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:.875rem;display:flex}html[data-theme-surface=scribe] .scribe-noterow{width:100%;min-height:64px;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color .12s var(--ui-ease-out);background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"type status chevron""date date chevron""summary summary chevron";align-items:center;gap:3px 10px;padding:12px 12px 12px 16px;display:grid}html[data-theme-surface=scribe] .scribe-noterow:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-noterow:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=scribe] .scribe-noterow__type{grid-area:type;font-size:.94rem;font-weight:650}html[data-theme-surface=scribe] .scribe-noterow__date{color:var(--ui-text-soft);font-variant-numeric:tabular-nums;grid-area:date;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-noterow>.scribe-status{grid-area:status}html[data-theme-surface=scribe] .scribe-noterow__summary{color:var(--ui-text-soft);text-overflow:ellipsis;white-space:nowrap;grid-area:summary;font-size:.8125rem;overflow:hidden}html[data-theme-surface=scribe] .scribe-noterow>.scribe-patient__chevron{color:var(--ui-border-strong);grid-area:chevron}html[data-theme-surface=scribe] .scribe-status{border:1px solid var(--ui-border);background:var(--ui-surface-soft);min-height:24px;color:var(--ui-text-soft);white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:0 10px;font-size:.8125rem;font-weight:650;display:inline-flex}html[data-theme-surface=scribe] .scribe-status--info{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}html[data-theme-surface=scribe] .scribe-status--warning{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}html[data-theme-surface=scribe] .scribe-status--success{border-color:var(--ui-success-border,var(--ui-border));background:var(--ui-success-soft);color:var(--ui-success)}html[data-theme-surface=scribe] .scribe-status--danger{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}html[data-theme-surface=scribe] .scribe-typelist{gap:8px;display:grid}html[data-theme-surface=scribe] .scribe-typelist__option{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-height:56px;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .14s var(--ui-ease-out), background-color .14s var(--ui-ease-out);justify-content:space-between;align-items:center;gap:10px;padding:8px 14px;display:flex}html[data-theme-surface=scribe] .scribe-typelist__option[aria-checked=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft);box-shadow:inset 0 0 0 1px var(--ui-accent)}html[data-theme-surface=scribe] .scribe-typelist__option:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}html[data-theme-surface=scribe] .scribe-typelist__text{gap:2px;min-width:0;display:grid}html[data-theme-surface=scribe] .scribe-typelist__text strong{font-size:.94rem}html[data-theme-surface=scribe] .scribe-typelist__text small{color:var(--ui-text-soft);font-size:.8125rem}html[data-theme-surface=scribe] .scribe-typelist__tag{background:var(--ui-accent-soft);color:var(--ui-accent);border-radius:999px;flex:none;padding:2px 8px;font-size:.8125rem;font-weight:650}html[data-theme-surface=scribe] .scribe-note-header{gap:6px;display:grid}html[data-theme-surface=scribe] .scribe-note-header__top{justify-content:space-between;align-items:center;gap:8px;display:flex}html[data-theme-surface=scribe] .scribe-back__text{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:62vw;overflow:hidden}html[data-theme-surface=scribe] .scribe-note-header__title{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}html[data-theme-surface=scribe] .scribe-note-header__title h2{letter-spacing:-.02em;margin:0;font-size:1.5rem;line-height:1.15}html[data-theme-surface=scribe] .scribe-note-header__saving{min-width:6ch;color:var(--ui-muted);text-align:right;margin-left:auto;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-note-header__meta{color:var(--ui-text-soft);margin:0;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-note-details{gap:6px;margin-top:6px;display:grid}html[data-theme-surface=scribe] .scribe-note-details__label{color:var(--ui-text);font-size:.8125rem;font-weight:650}html[data-theme-surface=scribe] .scribe-note-banners{gap:8px;display:grid}html[data-theme-surface=scribe] .scribe-note-banners:empty{display:none}html[data-theme-surface=scribe] .scribe-note-chips{z-index:6;background:color-mix(in srgb, var(--ui-canvas) 94%, transparent);-webkit-backdrop-filter:blur(8px);margin:0 -2px;padding:8px 2px;position:sticky;top:-20px}html[data-theme-surface=scribe] .scribe-note-chips ul{scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;gap:8px;margin:0;padding:0 0 2px;list-style:none;display:flex;overflow-x:auto}html[data-theme-surface=scribe] .scribe-note-chips ul::-webkit-scrollbar{display:none}html[data-theme-surface=scribe] .scribe-note-chip{border:1px solid var(--ui-border);background:var(--ui-surface);min-height:44px;color:var(--ui-text-soft);font:inherit;white-space:nowrap;scroll-snap-align:start;cursor:pointer;transition:background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out), border-color .14s var(--ui-ease-out), transform .12s var(--ui-ease-out);border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:.875rem;font-weight:650;display:inline-flex}html[data-theme-surface=scribe] .scribe-note-chip:active{transform:scale(.96)}html[data-theme-surface=scribe] .scribe-note-chip[aria-current=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-note-chip:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}html[data-theme-surface=scribe] .scribe-note-chip__count{background:var(--ui-surface-soft);min-width:22px;height:22px;color:var(--ui-text);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding:0 6px;font-size:.8125rem;display:inline-grid}html[data-theme-surface=scribe] .scribe-note-chip.is-attention .scribe-note-chip__count{background:var(--ui-warning-soft);color:var(--ui-warning);box-shadow:inset 0 0 0 1px var(--ui-warning-border)}html[data-theme-surface=scribe] .scribe-note-cards{gap:14px;display:grid}html[data-theme-surface=scribe] .scribe-note-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:14px 14px 16px;scroll-margin-top:64px;display:grid}html[data-theme-surface=scribe] .scribe-note-card__header{justify-content:space-between;align-items:center;gap:8px;min-height:36px;display:flex}html[data-theme-surface=scribe] .scribe-note-card__header h3{letter-spacing:-.005em;margin:0;font-size:1rem}html[data-theme-surface=scribe] .scribe-note-card__actions{align-items:center;gap:2px;margin-right:-8px;display:flex}html[data-theme-surface=scribe] .scribe-autotext{resize:none;width:100%;min-height:44px;font-size:16px;line-height:1.45;display:block;overflow:hidden}html[data-theme-surface=scribe] .scribe-note-readonly{color:var(--ui-text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.94rem;line-height:1.5}html[data-theme-surface=scribe] .scribe-note-readonly--empty{color:var(--ui-muted);white-space:normal}html[data-theme-surface=scribe] .scribe-note-counter,html[data-theme-surface=scribe] .scribe-card-hint{color:var(--ui-muted);margin:0;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-copy{border-radius:var(--ui-radius);min-width:44px;min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;transition:background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out), transform .12s var(--ui-ease-out);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.875rem;font-weight:650;display:inline-flex}html[data-theme-surface=scribe] .scribe-copy:active:not(:disabled){background:var(--ui-accent-soft);transform:scale(.96)}html[data-theme-surface=scribe] .scribe-copy:disabled{opacity:.5;cursor:default}html[data-theme-surface=scribe] .scribe-copy.is-copied{color:var(--ui-success)}html[data-theme-surface=scribe] .scribe-copy:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=scribe] .scribe-copy--icon{color:var(--ui-text-soft);padding:0}html[data-theme-surface=scribe] .scribe-copy svg.lucide{width:18px;height:18px}html[data-theme-surface=scribe] .cm-menu-button.scribe-more{border-radius:var(--ui-radius);width:44px;height:44px;min-height:44px;color:var(--ui-text-soft);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}html[data-theme-surface=scribe] .cm-menu-button.scribe-more:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .cm-menu-button.scribe-add,html[data-theme-surface=scribe] .scribe-add{min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:8px;padding:0 4px;font-size:.875rem;font-weight:650;display:inline-flex}html[data-theme-surface=scribe] .scribe-add:active{opacity:.7}html[data-theme-surface=scribe] .scribe-add--block{border:1px dashed var(--ui-accent-border);border-radius:var(--ui-radius);background:var(--ui-accent-soft);justify-content:center;width:100%}html[data-theme-surface=scribe] .scribe-add svg.lucide{width:18px;height:18px}html[data-theme-surface=scribe] .scribe-exam__review{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius);background:var(--ui-warning-soft);color:var(--ui-warning);align-items:center;gap:8px;padding:6px 6px 6px 12px;font-size:.875rem;font-weight:650;display:flex}html[data-theme-surface=scribe] .scribe-exam__review span{flex:auto;min-width:0}html[data-theme-surface=scribe] .scribe-exam__review svg.lucide{width:18px;height:18px}html[data-theme-surface=scribe] .scribe-exam__lines{gap:4px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=scribe] .scribe-exam__line{transition:background-color .18s var(--ui-ease-out), border-color .18s var(--ui-ease-out);border-left:3px solid #0000;border-radius:8px;gap:2px;margin:0 -8px;padding:4px 8px 6px;display:grid}html[data-theme-surface=scribe] .scribe-exam__line.is-unreviewed{border-left-color:var(--ui-warning);background:var(--ui-warning-soft)}html[data-theme-surface=scribe] .scribe-exam__label{align-items:center;gap:8px;min-height:28px;display:flex}html[data-theme-surface=scribe] .scribe-exam__name{color:var(--ui-text-soft);font-size:.8125rem;font-weight:700}html[data-theme-surface=scribe] .scribe-exam__tag{background:var(--ui-warning-soft);color:var(--ui-warning);box-shadow:inset 0 0 0 1px var(--ui-warning-border);border-radius:999px;margin-right:auto;padding:1px 8px;font-size:.8125rem;font-weight:650}html[data-theme-surface=scribe] .scribe-exam__name+.scribe-icon-button,html[data-theme-surface=scribe] .scribe-exam__other+.scribe-icon-button{margin-left:auto}html[data-theme-surface=scribe] .scribe-exam__label .scribe-icon-button{width:44px;height:44px;color:var(--ui-muted);opacity:.6;margin:-8px -8px -8px auto}html[data-theme-surface=scribe] .scribe-exam__label .scribe-icon-button svg.lucide{width:16px;height:16px}html[data-theme-surface=scribe] .scribe-exam__other{min-height:44px;font-size:16px}html[data-theme-surface=scribe] .scribe-exam__line .scribe-autotext.ui-input{background:0 0;border-color:#0000;padding-left:0;padding-right:0}html[data-theme-surface=scribe] .scribe-exam__line .scribe-autotext.ui-input:focus{background:var(--ui-surface);border-color:var(--ui-accent);padding-left:10px;padding-right:10px}html[data-theme-surface=scribe] .scribe-exam__line.is-unreviewed .scribe-autotext.ui-input{background:0 0}html[data-theme-surface=scribe] .scribe-dx-list{gap:14px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=scribe] .scribe-dx{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:8px;padding:12px;display:grid}html[data-theme-surface=scribe] .scribe-dx.is-carried{border-style:dashed}html[data-theme-surface=scribe] .scribe-dx__head{align-items:flex-start;gap:6px;display:flex}html[data-theme-surface=scribe] .scribe-dx__num{width:28px;height:44px;color:var(--ui-muted);font-variant-numeric:tabular-nums;flex:none;place-items:center;font-size:.875rem;font-weight:700;display:grid}html[data-theme-surface=scribe] .scribe-dx__name{flex:1 1 0;min-width:0;font-weight:650}html[data-theme-surface=scribe] h4.scribe-dx__name{overflow-wrap:anywhere;margin:0;padding:11px 0;font-size:.94rem;line-height:1.4}html[data-theme-surface=scribe] .scribe-dx__carried,html[data-theme-surface=scribe] .scribe-dx__hint{color:var(--ui-muted);margin:0;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-dx__hint{color:var(--ui-danger)}html[data-theme-surface=scribe] .scribe-dx__items{gap:2px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=scribe] .scribe-dx__item{align-items:flex-start;gap:4px;display:flex}html[data-theme-surface=scribe] .scribe-dx__bullet{background:var(--ui-muted);border-radius:50%;flex:none;width:5px;height:5px;margin:20px 9px 0 10px}html[data-theme-surface=scribe] .scribe-dx__item .scribe-autotext{flex:1 1 0;min-width:0}html[data-theme-surface=scribe] .scribe-dx__item .scribe-note-readonly{flex:1 1 0;padding:8px 0}html[data-theme-surface=scribe] .scribe-icd{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius);background:var(--ui-warning-soft);gap:4px;padding:8px 10px;display:grid}html[data-theme-surface=scribe] .scribe-icd.is-accepted{border-color:var(--ui-success-border,var(--ui-border));background:var(--ui-success-soft)}html[data-theme-surface=scribe] .scribe-icd--none{border:1px dashed var(--ui-border-strong);background:0 0;grid-auto-flow:column;justify-content:space-between;align-items:center}html[data-theme-surface=scribe] .scribe-icd__none{color:var(--ui-muted);font-size:.875rem}html[data-theme-surface=scribe] .scribe-icd__chip{flex-wrap:wrap;align-items:baseline;gap:2px 8px;display:flex}html[data-theme-surface=scribe] .scribe-icd__code{font-variant-numeric:tabular-nums;letter-spacing:.01em;font-size:.94rem}html[data-theme-surface=scribe] .scribe-icd__text{min-width:0;color:var(--ui-text);flex:140px;font-size:.8125rem;line-height:1.4}html[data-theme-surface=scribe] .scribe-icd__status{color:var(--ui-warning);align-items:center;gap:4px;margin-left:auto;font-size:.8125rem;font-weight:700;display:inline-flex}html[data-theme-surface=scribe] .scribe-icd.is-accepted .scribe-icd__status{color:var(--ui-success)}html[data-theme-surface=scribe] .scribe-icd__status svg.lucide{width:14px;height:14px}html[data-theme-surface=scribe] .scribe-icd__actions{flex-wrap:wrap;align-items:center;gap:2px 6px;margin-left:-10px;display:flex}html[data-theme-surface=scribe] .scribe-icd__accept{min-height:44px;margin-left:10px}html[data-theme-surface=scribe] .scribe-mdm__considered{gap:8px;display:grid}html[data-theme-surface=scribe] .scribe-mdm__considered h4,html[data-theme-surface=scribe] .scribe-edcourse h4{color:var(--ui-text-soft);margin:0;font-size:.8125rem;font-weight:700}html[data-theme-surface=scribe] .scribe-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}html[data-theme-surface=scribe] .scribe-chip{border:1px solid var(--ui-border);background:var(--ui-surface-soft);border-radius:999px;align-items:center;gap:2px;min-height:32px;padding:0 4px 0 12px;font-size:.875rem;display:inline-flex}html[data-theme-surface=scribe] .scribe-chip button{width:32px;height:32px;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid;position:relative}html[data-theme-surface=scribe] .scribe-chip button:after{content:"";position:absolute;inset:-6px}html[data-theme-surface=scribe] .scribe-chip button svg.lucide{width:14px;height:14px}html[data-theme-surface=scribe] .scribe-mdm__add{gap:8px;display:flex}html[data-theme-surface=scribe] .scribe-mdm__add .ui-input{flex:1;min-width:0;min-height:44px;font-size:16px}html[data-theme-surface=scribe] .scribe-mdm__elements{gap:12px;display:grid}html[data-theme-surface=scribe] .scribe-mdm__element{gap:6px;display:grid}html[data-theme-surface=scribe] .scribe-mdm__element-head{justify-content:space-between;align-items:center;gap:10px;display:flex}html[data-theme-surface=scribe] .scribe-mdm__element-name{font-size:.875rem;font-weight:650}html[data-theme-surface=scribe] .scribe-level-select{flex:none;width:168px}html[data-theme-surface=scribe] .scribe-level{color:var(--ui-text);font-size:.875rem;font-weight:650}html[data-theme-surface=scribe] .scribe-mdm__time{justify-content:space-between;align-items:center;gap:12px;margin:0;display:flex}html[data-theme-surface=scribe] .scribe-mdm__time label,html[data-theme-surface=scribe] .scribe-mdm__time span{font-size:.875rem;font-weight:650}html[data-theme-surface=scribe] .scribe-mdm__time .ui-input{text-align:right;font-variant-numeric:tabular-nums;width:110px;min-height:44px;font-size:16px}html[data-theme-surface=scribe] .scribe-em{border:1px solid var(--ui-info-border);border-radius:var(--ui-radius);background:var(--ui-info-soft);gap:4px;padding:12px 14px;display:grid}html[data-theme-surface=scribe] .scribe-em[data-decision=kept]{border-color:var(--ui-success-border,var(--ui-border));background:var(--ui-success-soft)}html[data-theme-surface=scribe] .scribe-em[data-decision=removed]{opacity:.8;background:0 0;border-style:dashed}html[data-theme-surface=scribe] .scribe-em__head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}html[data-theme-surface=scribe] .scribe-em__title{color:var(--ui-text-soft);font-size:.8125rem;font-weight:700}html[data-theme-surface=scribe] .scribe-em__code{letter-spacing:.01em;font-variant-numeric:tabular-nums;font-size:1.15rem}html[data-theme-surface=scribe] .scribe-em__family,html[data-theme-surface=scribe] .scribe-em__label,html[data-theme-surface=scribe] .scribe-em__note{color:var(--ui-text-soft);margin:0;font-size:.8125rem;line-height:1.4}html[data-theme-surface=scribe] .scribe-em__label{color:var(--ui-info);font-weight:700}html[data-theme-surface=scribe] .scribe-em__why{justify-self:start;margin-left:0;padding:0}html[data-theme-surface=scribe] .scribe-em__reasons{color:var(--ui-text);margin:0;padding:0 0 4px 18px;font-size:.8125rem;line-height:1.5}html[data-theme-surface=scribe] .scribe-em__hints{color:var(--ui-muted);margin:0;padding:0 0 2px 18px;font-size:.8125rem;line-height:1.45}html[data-theme-surface=scribe] .scribe-em__actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:6px;display:grid}html[data-theme-surface=scribe] .scribe-em__actions .ay-button{min-height:44px}html[data-theme-surface=scribe] .scribe-em__decided,html[data-theme-surface=scribe] .scribe-em__state{color:var(--ui-text);justify-content:space-between;align-items:center;gap:8px;margin:4px 0 0;font-size:.8125rem;display:flex}html[data-theme-surface=scribe] .scribe-em__decided span{align-items:center;gap:6px;display:inline-flex}html[data-theme-surface=scribe] .scribe-em__decided svg.lucide{width:16px;height:16px;color:var(--ui-success)}html[data-theme-surface=scribe] .scribe-reeval{gap:10px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=scribe] .scribe-reeval__item{border-left:3px solid var(--ui-accent-border);gap:2px;padding-left:12px;display:grid}html[data-theme-surface=scribe] .scribe-reeval__head{justify-content:space-between;align-items:center;min-height:28px;display:flex}html[data-theme-surface=scribe] .scribe-reeval__time{color:var(--ui-accent);font-variant-numeric:tabular-nums;font-size:.8125rem;font-weight:700}html[data-theme-surface=scribe] .scribe-reeval__head .scribe-icon-button{width:44px;height:44px;color:var(--ui-muted);margin:-8px -8px -8px 0}html[data-theme-surface=scribe] .ay-shell--workspace:has(.scribe-notefoot) .scribe-tabbar{display:none}html[data-theme-surface=scribe] .scribe-note{padding-bottom:calc(112px + env(safe-area-inset-bottom))}html[data-theme-surface=scribe] .scribe-note--hospital{padding-bottom:calc(164px + env(safe-area-inset-bottom))}html[data-theme-surface=scribe] .scribe-notefoot{z-index:40;padding:10px max(var(--scribe-gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--scribe-gutter), env(safe-area-inset-left));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);gap:8px;display:grid;position:fixed;inset:auto 0 0}html[data-theme-surface=scribe] .scribe-notefoot>*{width:min(100%,608px);margin-inline:auto}html[data-theme-surface=scribe] .scribe-notefoot__row{align-items:center;gap:8px;display:flex}html[data-theme-surface=scribe] .scribe-notefoot__row .scribe-copy{border-color:var(--ui-border);background:var(--ui-surface);flex:1 1 0;min-height:48px}html[data-theme-surface=scribe] .scribe-notefoot__mic{border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);width:48px;height:48px;color:var(--ui-accent);cursor:pointer;transition:transform .12s var(--ui-ease-out), background-color .14s var(--ui-ease-out);border-radius:50%;flex:none;place-items:center;display:grid}html[data-theme-surface=scribe] .scribe-notefoot__mic:active:not(:disabled){transform:scale(.94)}html[data-theme-surface=scribe] .scribe-notefoot__mic:disabled{opacity:.5;cursor:default}html[data-theme-surface=scribe] .scribe-notefoot__mic:focus-visible{outline:3px solid var(--ui-accent-border);outline-offset:2px}html[data-theme-surface=scribe] .scribe-notefoot__primary{flex:1 1 0;min-height:48px}html[data-theme-surface=scribe] .scribe-notefoot__discharge{min-height:44px}html[data-theme-surface=scribe] .scribe-notefoot__review{isolation:isolate;min-height:44px;color:var(--ui-warning);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:center;margin-block:-6px;padding:0 14px;font-size:.8125rem;font-weight:700;position:relative}html[data-theme-surface=scribe] .scribe-notefoot__review:before{content:"";z-index:-1;background:var(--ui-warning-soft);box-shadow:inset 0 0 0 1px var(--ui-warning-border);border-radius:999px;position:absolute;inset:8px 0}html[data-theme-surface=scribe] .scribe-writing__body,html[data-theme-surface=scribe] .scribe-ready__body{text-align:center;justify-items:center;gap:10px;padding:40px 12px 16px;display:grid}html[data-theme-surface=scribe] .scribe-writing__body .ay-spinner{border-width:3px;width:28px;height:28px}html[data-theme-surface=scribe] .scribe-writing__body h3,html[data-theme-surface=scribe] .scribe-ready__body h3{margin:4px 0 0;font-size:1.15rem}html[data-theme-surface=scribe] .scribe-writing__body p,html[data-theme-surface=scribe] .scribe-ready__body p{max-width:34ch;color:var(--ui-text-soft);margin:0;font-size:.875rem;line-height:1.5}html[data-theme-surface=scribe] .scribe-ready__body svg.lucide{width:32px;height:32px;color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-code-results{gap:8px;min-height:120px;display:grid}html[data-theme-surface=scribe] .scribe-code-list{border:1px solid var(--ui-border);border-radius:var(--ui-radius);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}html[data-theme-surface=scribe] .scribe-code-list>li+li{border-top:1px solid var(--ui-border)}html[data-theme-surface=scribe] .scribe-code-row{background:var(--ui-surface);width:100%;min-height:56px;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:2px 10px;padding:8px 12px;display:grid}html[data-theme-surface=scribe] .scribe-code-row:active:not(:disabled){background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-code-row:disabled{opacity:.55;cursor:default}html[data-theme-surface=scribe] .scribe-code-row strong{font-variant-numeric:tabular-nums}html[data-theme-surface=scribe] .scribe-code-row span{font-size:.875rem;line-height:1.35}html[data-theme-surface=scribe] .scribe-code-row small{color:var(--ui-muted);grid-column:2;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-phrase-rows{border:1px solid var(--ui-border);border-radius:var(--ui-radius);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}html[data-theme-surface=scribe] .scribe-phrase-rows>li+li{border-top:1px solid var(--ui-border)}html[data-theme-surface=scribe] .scribe-phrase-row{background:var(--ui-surface);width:100%;min-height:64px;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 12px 10px 14px;display:grid}html[data-theme-surface=scribe] .scribe-phrase-row:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-phrase-row>svg.lucide{width:18px;height:18px;color:var(--ui-muted)}html[data-theme-surface=scribe] .scribe-phrase-row__body{gap:2px;min-width:0;display:grid}html[data-theme-surface=scribe] .scribe-phrase-row__head,html[data-theme-surface=scribe] .scribe-phrase-option__head{flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;display:flex}html[data-theme-surface=scribe] .scribe-phrase-row__head strong,html[data-theme-surface=scribe] .scribe-phrase-option__head strong{overflow-wrap:anywhere;font-size:.9375rem;font-weight:650}html[data-theme-surface=scribe] .scribe-phrase-row code,html[data-theme-surface=scribe] .scribe-phrase-option code{border:1px solid var(--ui-border);background:var(--ui-surface-soft);color:var(--ui-text-soft);border-radius:6px;padding:1px 7px;font:600 .75rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}html[data-theme-surface=scribe] .scribe-phrase-row__target{color:var(--ui-muted);font-size:.8125rem}html[data-theme-surface=scribe] .scribe-phrase-row__text,html[data-theme-surface=scribe] .scribe-phrase-option__text{color:var(--ui-text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.4;overflow:hidden}html[data-theme-surface=scribe] .scribe-phrase-empty,html[data-theme-surface=scribe] .scribe-phrase-privacy{margin:0}html[data-theme-surface=scribe] .scribe-phrase-add{margin-top:2px}html[data-theme-surface=scribe] .scribe-phrase-add:disabled{opacity:.5}html[data-theme-surface=scribe] .scribe-field__hint{color:var(--ui-muted);margin:0;font-size:.8125rem;line-height:1.4}html[data-theme-surface=scribe] .scribe-phrase-form #scribe-phrase-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}html[data-theme-surface=scribe] .scribe-phrase-form p.scribe-field__error{color:var(--ui-danger);margin:0;font-weight:600}html[data-theme-surface=scribe] .scribe-phrase-form p.scribe-field__hint{color:var(--ui-muted);margin:0;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-phrase-delete{color:var(--ui-danger)}html[data-theme-surface=scribe] .scribe-phrase-results{gap:8px;min-height:120px;margin-top:10px;display:grid}html[data-theme-surface=scribe] .scribe-phrase-list{border:1px solid var(--ui-border);border-radius:var(--ui-radius);margin:0;padding:0;list-style:none;display:grid;overflow:hidden}html[data-theme-surface=scribe] .scribe-phrase-list>li+li{border-top:1px solid var(--ui-border)}html[data-theme-surface=scribe] .scribe-phrase-option{background:var(--ui-surface);width:100%;min-height:60px;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;gap:2px;padding:10px 14px;display:grid}html[data-theme-surface=scribe] .scribe-phrase-option:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-phrase-option small{color:var(--ui-muted);font-size:.8125rem}html[data-theme-surface=scribe] .scribe-card-add{flex-wrap:wrap;align-items:center;gap:0 18px;display:flex}html[data-theme-surface=scribe] .scribe-phrase-insert{gap:8px}html[data-theme-surface=scribe] .scribe-macro{gap:8px;display:grid}html[data-theme-surface=scribe] .scribe-macro-lines{gap:10px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=scribe] .scribe-macro-line{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:8px;padding:10px;display:grid}html[data-theme-surface=scribe] .scribe-macro-line__head{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}html[data-theme-surface=scribe] .scribe-macro-line__blank{justify-self:start;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}html[data-theme-surface=scribe] .scribe-macro-add{width:100%}html[data-theme-surface=scribe] .scribe-default-exam{margin-top:4px}html[data-theme-surface=scribe] .scribe-default-exam p.scribe-field__hint{color:var(--ui-muted);margin:0;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-exam__line>.scribe-blanks{margin:2px 0 4px}html[data-theme-surface=scribe] .scribe-macro-line__blanks{flex-wrap:wrap;gap:4px 16px;display:flex}html[data-theme-surface=scribe] .scribe-exam__note{border-radius:var(--ui-radius);background:var(--ui-surface-soft);color:var(--ui-text-soft);margin:0;padding:6px 12px;font-size:.875rem}html[data-theme-surface=scribe] .scribe-history{gap:10px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=scribe] .scribe-history__item{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:4px;padding:12px;display:grid}html[data-theme-surface=scribe] .scribe-history__head{justify-content:space-between;align-items:baseline;gap:8px;font-size:.875rem;display:flex}html[data-theme-surface=scribe] .scribe-history__head span{color:var(--ui-muted);font-variant-numeric:tabular-nums;font-size:.8125rem}html[data-theme-surface=scribe] .scribe-history__item p{color:var(--ui-text-soft);margin:0;font-size:.875rem;line-height:1.4}html[data-theme-surface=scribe] .scribe-history__actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}html[data-theme-surface=scribe] .scribe-history__actions .ay-button{gap:6px;min-height:44px}html[data-theme-surface=scribe] .scribe-history__preview{background:var(--ui-surface);max-height:240px;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:4px 0 0;padding:10px;font-size:.8125rem;line-height:1.5;overflow:auto}html[data-theme-surface=scribe] .scribe-savebar{z-index:6;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);min-height:52px;box-shadow:var(--ui-shadow-card);justify-content:space-between;align-items:center;gap:10px;padding:4px 6px 4px 14px;font-size:.875rem;font-weight:650;display:flex;position:sticky;top:-20px}html[data-theme-surface=scribe] .scribe-savebar.is-dirty{border-color:var(--ui-warning-border);background:var(--ui-warning-soft)}html[data-theme-surface=scribe] .scribe-savebar__actions{gap:6px;display:flex}html[data-theme-surface=scribe] .scribe-savebar__actions .ay-button{min-height:44px}html[data-theme-surface=scribe] .scribe-setting{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:10px;min-height:60px;padding:8px 12px 8px 16px;display:grid}html[data-theme-surface=scribe] .scribe-setting__label{font-size:.875rem;font-weight:600}html[data-theme-surface=scribe] .scribe-setting-row>.scribe-switch{min-height:60px;padding:10px 12px 10px 16px}html[data-theme-surface=scribe] .scribe-list__action--link{color:var(--ui-text)}html[data-theme-surface=scribe] .scribe-list--idle{pointer-events:none;-webkit-user-select:none;user-select:none}html[data-theme-surface=scribe] :is(.scribe-switch[aria-busy=true]:disabled,.scribe-switch--idle){opacity:1;cursor:default}html[data-theme-surface=scribe] .scribe-list__row>.ui-skel--avatar{flex:none}html[data-theme-surface=scribe] .scribe-list__action--link .scribe-list__label>.ui-skel{max-width:100%}html[data-theme-surface=scribe] .scribe-phrase-idle{background:var(--ui-surface);align-content:center;height:89px;padding:10px 12px 10px 14px;display:grid}html[data-theme-surface=scribe] .scribe-phrase-slot{margin-top:2px}html[data-theme-surface=scribe] .scribe-counter>.ui-skel{margin-block:4px}html[data-theme-surface=scribe] .scribe-phrase-actions{display:grid}html[data-theme-surface=scribe] .scribe-phrase-actions .scribe-phrase-starter{margin-top:12px}html[data-theme-surface=scribe] .scribe-list>li.scribe-list__slot+li{border-top:0}html[data-theme-surface=scribe] .scribe-list__slot>.ui-collapse__inner>.scribe-list__action{border-bottom:1px solid var(--ui-border)}html[data-theme-surface=scribe] .scribe-list__action--link .scribe-list__label{text-align:left;flex:1}html[data-theme-surface=scribe] .scribe-list__detail{color:var(--ui-muted);font-size:.8125rem}html[data-theme-surface=scribe] .scribe-list__action--link svg.lucide:last-child{color:var(--ui-border-strong)}html[data-theme-surface=scribe] .scribe-switches{gap:4px;display:grid}html[data-theme-surface=scribe] .scribe-switch{width:100%;min-height:56px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:14px;padding:8px 4px;display:flex}html[data-theme-surface=scribe] .scribe-switch:disabled{opacity:.6;cursor:default}html[data-theme-surface=scribe] .scribe-switch__text{gap:2px;min-width:0;display:grid}html[data-theme-surface=scribe] .scribe-switch__text strong{font-size:.875rem}html[data-theme-surface=scribe] .scribe-switch__text small{color:var(--ui-text-soft);font-size:.8125rem;line-height:1.35}html[data-theme-surface=scribe] .scribe-switch__track{background:var(--ui-border-strong);width:46px;height:28px;transition:background-color .16s var(--ui-ease-out);border-radius:999px;flex:none;position:relative}html[data-theme-surface=scribe] .scribe-switch__track span{width:22px;height:22px;transition:transform .16s var(--ui-ease-out);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000004d}html[data-theme-surface=scribe] .scribe-switch[aria-checked=true] .scribe-switch__track{background:var(--ui-accent-fill)}html[data-theme-surface=scribe] .scribe-switch[aria-checked=true] .scribe-switch__track span{transform:translate(18px)}html[data-theme-surface=scribe] .scribe-switch:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:8px}html[data-theme-surface=scribe] .scribe-details{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft)}html[data-theme-surface=scribe] .scribe-details>summary{cursor:pointer;align-items:center;min-height:48px;padding:0 14px;font-size:.875rem;font-weight:650;display:flex}html[data-theme-surface=scribe] .scribe-order,html[data-theme-surface=scribe] .scribe-formats{margin:0;padding:0 8px 8px 14px;list-style:none;display:grid}html[data-theme-surface=scribe] .scribe-order li{align-items:center;gap:2px;min-height:44px;display:flex}html[data-theme-surface=scribe] .scribe-order__name{flex:1;min-width:0;font-size:.875rem}html[data-theme-surface=scribe] .scribe-order__name.is-off{color:var(--ui-muted)}html[data-theme-surface=scribe] .scribe-formats li{justify-content:space-between;align-items:center;gap:10px;min-height:48px;font-size:.875rem;display:flex}html[data-theme-surface=scribe] .scribe-formats .cm-select{width:128px}@media (width>=900px){html[data-theme-surface=scribe] .scribe-note-chips{top:-20px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=scribe] .scribe-note-chip,html[data-theme-surface=scribe] .scribe-copy,html[data-theme-surface=scribe] .scribe-notefoot__mic,html[data-theme-surface=scribe] .scribe-switch__track,html[data-theme-surface=scribe] .scribe-switch__track span,html[data-theme-surface=scribe] .scribe-segmented__option,html[data-theme-surface=scribe] .scribe-exam__line{transition:none}html[data-theme-surface=scribe] .scribe-note-chip:active,html[data-theme-surface=scribe] .scribe-copy:active,html[data-theme-surface=scribe] .scribe-notefoot__mic:active{transform:none}html[data-theme-surface=scribe] .scribe-sheet--wide{animation:none}}html[data-theme-surface=scribe] .scribe-note,html[data-theme-surface=scribe] .scribe-patientpage,html[data-theme-surface=scribe] .scribe-patients,html[data-theme-surface=scribe] .scribe-writing,html[data-theme-surface=scribe] .scribe-ready{grid-template-columns:minmax(0,1fr)}html[data-theme-surface=scribe] .scribe-note>*,html[data-theme-surface=scribe] .scribe-note-cards>*,html[data-theme-surface=scribe] .scribe-note-card>*{min-width:0}html[data-theme-surface=scribe] :is(.scribe-patients,.scribe-patientpage,.scribe-note,.scribe-writing,.scribe-ready,.scribe-sheet,.scribe-savebar,.scribe-group,.scribe-notefoot) .ay-button{font-size:.875rem}html[data-theme-surface=scribe] :is(.scribe-patients,.scribe-patientpage,.scribe-note,.scribe-sheet,.scribe-group) .cm-select__trigger{min-height:44px;font-size:.9375rem}html[data-theme-surface=scribe] .scribe-page--practice .scribe-group__title,html[data-theme-surface=scribe] :is(.scribe-page--practice,.scribe-sheet) .scribe-counter{font-size:.8125rem}html[data-theme-surface=scribe] .scribe-badge--note{min-height:24px;font-size:.8125rem}html[data-theme-surface=dashboard] .ay-refresh--phone .ay-refresh-action{width:44px;height:44px;margin-left:0;display:grid}@media (width<=899px){html[data-theme-surface=dashboard] .dashboard-masthead-actions:has(.ay-refresh--phone){gap:0}html[data-theme-surface=dashboard] .dashboard-masthead-actions:has(.ay-refresh--phone) :is(button,a){min-width:44px;min-height:44px}}@keyframes scribe-screen-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes scribe-screen-fade{0%{opacity:0}to{opacity:1}}html[data-theme-surface=dashboard] .scribe-screen{animation:scribe-screen-in .18s var(--ui-ease-out) both}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-screen{animation:.16s ease-out both scribe-screen-fade}}html[data-theme-surface=dashboard] .scribe-toast-region{--scribe-toast-bottom:72px;left:0;right:0;bottom:calc(var(--scribe-toast-bottom) + env(safe-area-inset-bottom,0px));z-index:140;pointer-events:none;justify-content:center;padding:0 12px;display:flex;position:fixed}html[data-theme-surface=dashboard] .scribe-toast{pointer-events:auto;border:1px solid var(--ui-border-strong);background:var(--ui-surface);max-width:min(100%,520px);min-height:48px;color:var(--ui-text);box-shadow:var(--ui-shadow-popover);opacity:1;transition:opacity .18s var(--ui-ease-out), transform .18s var(--ui-ease-out);border-radius:12px;align-items:center;gap:4px 6px;padding:6px 6px 6px 16px;font-size:.8125rem;font-weight:600;line-height:1.35;display:flex;transform:none}@starting-style{html[data-theme-surface=dashboard] .scribe-toast{opacity:0;transform:translateY(8px)}}html[data-theme-surface=dashboard] .scribe-toast[data-state=closing]{opacity:0;transition-duration:.15s;transition-timing-function:ease-in;transform:translateY(6px)}html[data-theme-surface=dashboard] .scribe-toast__text{overflow-wrap:anywhere;min-width:0}html[data-theme-surface=dashboard] .scribe-toast__undo{min-width:56px;min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;transition:background-color .12s var(--ui-ease-out);background:0 0;border:0;border-radius:8px;flex:none;padding:0 14px;font-weight:700}html[data-theme-surface=dashboard] .scribe-toast__undo:hover{background:var(--ui-accent-soft)}html[data-theme-surface=dashboard] .scribe-toast__undo:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=dashboard] .scribe-toast__undo:active{transform:scale(.97)}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-toast-region{--scribe-toast-bottom:76px}html[data-theme-surface=dashboard] .scribe-toast{width:100%}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-toast,html[data-theme-surface=dashboard] .scribe-toast[data-state=closing],html[data-theme-surface=dashboard] .scribe-toast__undo:active{transform:none}}html[data-theme-surface=dashboard] .scribe-save{z-index:1;min-width:76px;height:30px;color:var(--ui-text-soft);pointer-events:none;place-items:center end;font-size:.75rem;font-weight:650;display:inline-grid;position:absolute;top:14px;right:17px}html[data-theme-surface=dashboard] .scribe-save__word{white-space:nowrap;opacity:0;transition:opacity .15s var(--ui-ease-out);grid-area:1/1;align-items:center;gap:6px;display:inline-flex}html[data-theme-surface=dashboard] .scribe-save[data-state=saving] .scribe-save__word--saving,html[data-theme-surface=dashboard] .scribe-save[data-state=saved] .scribe-save__word--saved{opacity:1}html[data-theme-surface=dashboard] .scribe-save__word--saved{color:var(--ui-success)}@media (width<=599px){html[data-theme-surface=dashboard] .scribe-chart .ay-chart-contact{position:relative}html[data-theme-surface=dashboard] .scribe-save{height:30px;margin-top:-15px;font-size:max(.8125rem,13px);top:50%;right:calc(100% + 8px)}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-save__word{transition:none}}@media (width<=599px){html[data-theme-surface=dashboard] .scribe-chart.is-compact .ay-chart-header{padding-block:6px}html[data-theme-surface=dashboard] .scribe-chart.is-compact .ay-chart-identity{grid-template-areas:"name contact";row-gap:0;animation:.14s ease-out both scribe-screen-fade}html[data-theme-surface=dashboard] .scribe-chart.is-compact .ay-chart-identity>:is(.ay-chart-meta,.ay-chart-cc){display:none}html[data-theme-surface=dashboard] .scribe-chart.is-compact .ay-chart-name-row{min-height:44px;padding-right:92px}html[data-theme-surface=dashboard] .scribe-chart.is-compact .ay-chart-name-row>.ay-chart-kind{display:none}html[data-theme-surface=dashboard] .scribe-chart.is-compact .ay-chart-name-row>h2{-webkit-line-clamp:1}}html[data-theme-surface=dashboard] .scribe-bar{box-sizing:border-box;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);min-width:0;max-width:100%;min-height:44px;color:var(--ui-text-soft);animation:scribe-in .18s var(--ui-ease-out) both;flex:1 0 100%;order:-2;align-items:center;gap:4px 10px;padding:4px 6px 4px 12px;font-size:.8125rem;line-height:1.35;display:flex}html[data-theme-surface=dashboard] .scribe-bar strong{color:var(--ui-text);white-space:nowrap;flex:none;font-weight:680}html[data-theme-surface=dashboard] .scribe-bar--applied{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}html[data-theme-surface=dashboard] .scribe-bar--busy{border-color:var(--ui-info-border);background:var(--ui-info-soft)}html[data-theme-surface=dashboard] .scribe-bar__check{color:var(--ui-accent);flex:none}html[data-theme-surface=dashboard] .scribe-bar__text{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}html[data-theme-surface=dashboard] .scribe-bar .ay-button{min-height:36px;padding:4px 12px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-bar__close{width:36px;min-width:36px;height:36px;min-height:36px;color:var(--ui-muted);flex:none}html[data-theme-surface=dashboard] .scribe-em-chip{box-sizing:border-box;border:1px solid var(--ui-accent-border);background:var(--ui-accent-soft);min-height:40px;color:var(--ui-text);white-space:nowrap;border-radius:999px;align-items:center;gap:2px;padding:0 4px 0 12px;font-size:.8125rem;display:inline-flex}html[data-theme-surface=dashboard] .scribe-em-chip__code{font-variant-numeric:tabular-nums;margin-right:4px;font-weight:680}html[data-theme-surface=dashboard] .scribe-em-chip .ay-button{min-height:32px;color:var(--ui-accent);padding:2px 10px;font-size:.8125rem;font-weight:680}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-bar .ay-button{min-height:44px}html[data-theme-surface=dashboard] .scribe-bar__close{width:44px;min-width:44px;height:44px;min-height:44px}html[data-theme-surface=dashboard] .scribe-em-chip{flex:1 0 100%;order:-1;justify-content:flex-end;min-height:44px}html[data-theme-surface=dashboard] .scribe-em-chip__code{margin-right:auto}html[data-theme-surface=dashboard] .scribe-em-chip .ay-button{min-height:44px;padding-inline:14px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-bar{animation:none}}@keyframes scribe-pill-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:none}}@keyframes scribe-row-glow{0%{box-shadow:0 0 0 3px var(--ui-accent-border)}to{box-shadow:0 0 0 3px #0000}}html[data-theme-surface=dashboard] .scribe-patient-card.is-updated{animation:scribe-row-glow 1.6s var(--ui-ease-out) both}html[data-theme-surface=dashboard] .scribe-patient-card.is-updated .scribe-note-pill{animation:scribe-pill-in .2s var(--ui-ease-out) both}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-patient-card.is-updated .scribe-note-pill{animation:.2s ease-out both scribe-screen-fade}}html[data-theme-surface=dashboard] .scribe-archive-dates{gap:2px;display:grid}@media (width>=900px){html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(180px,1.25fr) minmax(90px,.5fr) minmax(110px,.7fr) minmax(200px,1.4fr) minmax(150px,.9fr) 92px}}@media (width>=900px) and (width<=1120px){html[data-theme-surface=dashboard] .scribe-list[data-list-mode=scribe-archive] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(160px,1.1fr) minmax(80px,.5fr) minmax(100px,.7fr) minmax(160px,1.2fr) minmax(140px,.9fr) 92px}}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-index ol{margin-block:-6px;padding-block:6px}html[data-theme-surface=dashboard] .scribe-chart .ay-chart-history-pill:after{content:"";position:absolute;inset:-7px -4px}html[data-theme-surface=dashboard] .scribe-mark-all{min-height:44px}html[data-theme-surface=dashboard] .scribe-chip-remove{position:relative}html[data-theme-surface=dashboard] .scribe-chip-remove:after{content:"";position:absolute;inset:-11px}}.cm-option[data-value^=danger\:]{color:var(--ui-danger)}@media (hover:hover) and (pointer:fine){.cm-option[data-value^=danger\:]:not(.is-disabled):hover{background:var(--ui-danger-soft);color:var(--ui-danger)}}.cm-option[data-value^=danger\:].is-active,.cm-list[data-nav=keyboard] .cm-option[data-value^=danger\:].is-active{background:var(--ui-danger-soft);color:var(--ui-danger)}@keyframes scribe-ghost-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes scribe-ghost-dialog-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@keyframes scribe-ghost-sheet-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(24px)}}html[data-theme-surface=dashboard] .scribe-dialog-ghost{pointer-events:none;animation:.15s ease-in both scribe-ghost-backdrop-out}html[data-theme-surface=dashboard] .scribe-dialog-ghost .scribe-dialog{animation:.15s ease-in both scribe-ghost-dialog-out}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-dialog-ghost .scribe-dialog{animation:.15s ease-in both scribe-ghost-sheet-out}}.ay-refresh{flex:none;display:inline-flex;position:relative}.ay-refresh__button{transition:background-color .16s var(--ui-ease-out), color .16s var(--ui-ease-out)}.ay-refresh__button[data-state=running],.ay-refresh__button[data-state=settling]{color:var(--ui-accent)}.ay-refresh__button[aria-disabled=true]{cursor:progress}.ay-refresh__error{z-index:60;border:1px solid var(--ui-danger-border);background:var(--ui-danger-soft);width:max-content;max-width:min(280px,80vw);color:var(--ui-danger);box-shadow:var(--ui-shadow-card);animation:ay-refresh-error-in .16s var(--ui-ease-out) backwards;border-radius:8px;padding:8px 12px;font-size:.8125rem;font-weight:650;line-height:1.3;position:absolute;top:calc(100% + 4px);right:0}@keyframes ay-refresh-error-in{0%{opacity:0;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.ay-refresh__button[aria-busy=true]{background:var(--ui-accent-soft);color:var(--ui-accent);box-shadow:inset 0 0 0 1.5px var(--ui-accent-border)}.ay-refresh__error{animation:none}}html[data-theme-surface=scribe]:has(.ay-shell--workspace) body,html[data-theme-surface=scribe] .ay-shell--workspace{overflow:clip}html[data-theme-surface=scribe] .ay-shell--workspace,html[data-theme-surface=scribe] .ay-workspace-main{position:relative}html[data-theme-surface=scribe] .scribe-appbar{flex:1 1 0;align-items:center;gap:4px;min-width:0;display:flex}html[data-theme-surface=scribe] .scribe-appbar[hidden]{display:none}html[data-theme-surface=scribe] .scribe-appbar__back{border-radius:var(--ui-radius);width:44px;height:44px;color:var(--ui-accent);cursor:pointer;transition:background-color .14s var(--ui-ease-out), transform .12s var(--ui-ease-out);background:0 0;border:0;flex:none;place-items:center;margin-left:-12px;padding:0;display:grid}html[data-theme-surface=scribe] .scribe-appbar__back svg.lucide{stroke-width:1.8px;width:24px;height:24px}html[data-theme-surface=scribe] .scribe-appbar__back:active{background:var(--ui-accent-soft);transform:scale(.94)}html[data-theme-surface=scribe] .scribe-appbar__back:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=scribe] .scribe-appbar__title{flex:1 1 0;align-content:center;min-width:0;min-height:44px;display:grid;position:relative}html[data-theme-surface=scribe] .scribe-appbar__line1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;font-weight:600;line-height:1.25;overflow:hidden}html[data-theme-surface=scribe] .scribe-appbar__line2{color:var(--ui-text-soft);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;line-height:1.3;overflow:hidden}html[data-theme-surface=scribe] .scribe-appbar__titlebtn{border-radius:var(--ui-radius);cursor:pointer;background:0 0;border:0;width:100%;padding:0;position:absolute;inset:0}html[data-theme-surface=scribe] .scribe-appbar__titlebtn:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-appbar__titlebtn:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-1px}html[data-theme-surface=scribe] .scribe-appbar__right{flex:none;align-items:center;margin-right:-10px;display:flex}html[data-theme-surface=scribe] .scribe-appbar__status{align-self:center;align-items:center;margin-right:4px;display:flex;position:relative}html[data-theme-surface=scribe] .scribe-appbar__saving{color:var(--ui-muted);white-space:nowrap;pointer-events:none;font-size:.8125rem;line-height:14px;position:absolute;top:calc(50% + 14px);right:0}html[data-theme-surface=scribe] .scribe-appbar__status .scribe-status{min-height:24px;padding:0 9px}html[data-theme-surface=scribe] .scribe-appbar__right .cm-menu-button.scribe-more{margin-left:0}html[data-theme-surface=scribe] .scribe-appbar__right .ay-refresh__error{right:40px}html[data-theme-surface=scribe] .scribe-note-info{gap:6px;display:grid}html[data-theme-surface=scribe] .scribe-note-info .scribe-note-header__meta{margin:0}html[data-theme-surface=scribe] .scribe-recbar{width:100%;min-height:44px;padding:0 max(var(--scribe-gutter), calc((100% - 640px) / 2));border:0;border-top:1px solid var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-text);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:10px;font-size:.875rem;font-weight:650;display:flex}html[data-theme-surface=scribe] .scribe-recbar__dot{background:var(--ui-danger);border-radius:50%;flex:none;width:10px;height:10px;animation:1.4s ease-in-out infinite scribe-recbar-dot}@keyframes scribe-recbar-dot{50%{opacity:.35}}html[data-theme-surface=scribe] .scribe-recbar__text{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;flex:1 1 0;min-width:0;overflow:hidden}html[data-theme-surface=scribe] .scribe-recbar__go{color:var(--ui-danger);flex:none;font-weight:700}html[data-theme-surface=scribe] .scribe-recbar:focus-visible{outline:2px solid var(--ui-danger);outline-offset:-3px}html[data-theme-surface=scribe] .scribe-appearance__hint{margin:0 4px}html[data-theme-surface=scribe] .scribe-start__details{color:var(--ui-text-soft);margin:0;font-size:.9375rem}html[data-theme-surface=scribe] .scribe-statefade{min-width:0;display:inline-grid}html[data-theme-surface=scribe] .scribe-statefade>*{grid-area:1/1;min-width:0}html[data-theme-surface=scribe] .scribe-statefade__old{animation:.2s ease-out forwards scribe-state-out}html[data-theme-surface=scribe] .scribe-statefade__new.is-entering{animation:.2s ease-out backwards scribe-state-in}@keyframes scribe-state-out{to{opacity:0}}@keyframes scribe-state-in{0%{opacity:0}}html[data-theme-surface=scribe] .scribe-prow.is-flash{animation:1.5s ease-out scribe-row-flash}@keyframes scribe-row-flash{0%,30%{box-shadow:inset 0 0 0 2px var(--ui-accent)}to{box-shadow:inset 0 0 0 2px #0000}}html[data-theme-surface=scribe] .scribe-patient__when{white-space:normal}html[data-theme-surface=scribe] .scribe-route{overflow-clip-margin:12px;min-width:0;overflow-x:clip}html[data-theme-surface=scribe] .scribe-route[data-direction=push]>.scribe-page>:not(.scribe-notefoot){animation:scribe-route-push .18s var(--ui-ease-out) backwards}html[data-theme-surface=scribe] .scribe-route[data-direction=pop]>.scribe-page>:not(.scribe-notefoot){animation:scribe-route-pop .18s var(--ui-ease-out) backwards}@keyframes scribe-route-push{0%{opacity:0;transform:translate(24px)}}@keyframes scribe-route-pop{0%{opacity:0;transform:translate(-16px)}}html[data-theme-surface=scribe] .scribe-note,html[data-theme-surface=scribe] .scribe-note--hospital{padding-bottom:calc(var(--scribe-foot-h,88px) + 24px)}html[data-theme-surface=scribe] .scribe-notefoot__discharge{flex:none;min-height:48px}@keyframes scribe-bar-in{0%{opacity:0;transform:translateY(8px)}}html[data-theme-surface=scribe] .scribe-notefoot__em{border:1px solid var(--ui-info-border);border-radius:var(--ui-radius);background:var(--ui-info-soft);align-items:center;gap:8px;min-height:52px;padding:4px 6px 4px 14px;display:flex}html[data-theme-surface=scribe] .scribe-notefoot__em-code{font-variant-numeric:tabular-nums;flex:1 1 0;min-width:0;font-size:.9375rem;font-weight:700}html[data-theme-surface=scribe] .scribe-notefoot__em .ay-button{flex:none;min-width:84px;min-height:44px}html[data-theme-surface=scribe] .scribe-note-card.is-changed{animation:scribe-card-changed 3.4s var(--ui-ease-out)}@keyframes scribe-card-changed{0%,55%{box-shadow:0 0 0 3px var(--ui-accent), var(--ui-shadow-card);border-color:var(--ui-accent)}to{box-shadow:0 0 0 3px transparent, var(--ui-shadow-card)}}html[data-theme-surface=scribe] .scribe-chip{padding:0 0 0 12px}html[data-theme-surface=scribe] .scribe-chip button{width:44px;height:44px;margin:-6px -4px -6px -6px}html[data-theme-surface=scribe] .scribe-chip button:after{content:none}html[data-theme-surface=scribe] .scribe-toast-region{inset:auto 0 calc(var(--scribe-tabbar-height) + env(safe-area-inset-bottom) + 12px);z-index:45;padding:0 var(--scribe-gutter);pointer-events:none;justify-content:center;display:flex;position:fixed}html[data-theme-surface=scribe] .scribe-toast{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,520px);min-height:52px;box-shadow:var(--ui-shadow-dialog);pointer-events:auto;animation:scribe-bar-in .2s var(--ui-ease-out) backwards;align-items:center;gap:4px;padding:4px 4px 4px 16px;display:flex}html[data-theme-surface=scribe] .scribe-toast__text{overflow-wrap:anywhere;flex:1 1 0;min-width:0;font-size:.875rem;font-weight:600;line-height:1.35}html[data-theme-surface=scribe] .scribe-toast__undo{border-radius:var(--ui-radius);min-width:64px;min-height:44px;color:var(--ui-accent);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0 12px;font-size:.875rem;font-weight:700}html[data-theme-surface=scribe] .scribe-toast__undo:active:not(:disabled){background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-toast__undo:disabled{opacity:.5;cursor:default}html[data-theme-surface=scribe] .scribe-toast__close{border-radius:var(--ui-radius);width:44px;height:44px;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:grid}html[data-theme-surface=scribe] .scribe-toast__close svg.lucide{width:18px;height:18px}html[data-theme-surface=scribe] .scribe-toast__undo:focus-visible,html[data-theme-surface=scribe] .scribe-toast__close:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=scribe] .scribe-switchrow{width:100%;min-height:56px;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color .12s var(--ui-ease-out);background:0 0;border:0;gap:2px;padding:10px 16px;display:grid}html[data-theme-surface=scribe] .scribe-switchrow:active{background:var(--ui-accent-soft)}html[data-theme-surface=scribe] .scribe-switchrow:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}html[data-theme-surface=scribe] .scribe-switchrow__name{overflow-wrap:anywhere;font-size:.9375rem;font-weight:650}html[data-theme-surface=scribe] .scribe-switchrow__meta{color:var(--ui-text-soft);font-size:.8125rem}.cm-option.is-danger{color:var(--ui-danger)}@media (hover:hover) and (pointer:fine){.cm-option.is-danger:not(.is-disabled):hover{background:var(--ui-danger-soft);color:var(--ui-danger)}}.cm-list[data-nav=keyboard] .cm-option.is-danger.is-active{background:var(--ui-danger-soft);color:var(--ui-danger)}html[data-theme-surface=scribe] .scribe-button--danger-text{color:var(--ui-danger)}html[data-theme-surface=scribe] .scribe-sheet-backdrop.is-exiting{pointer-events:none;animation:.15s cubic-bezier(.55,0,1,.45) forwards scribe-backdrop-out}html[data-theme-surface=scribe] .scribe-sheet-backdrop.is-exiting>.scribe-sheet{animation:.15s cubic-bezier(.55,0,1,.45) forwards scribe-sheet-out}@keyframes scribe-backdrop-out{to{opacity:0}}@keyframes scribe-sheet-out{to{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=scribe] .scribe-recbar__dot,html[data-theme-surface=scribe] .scribe-statefade__old,html[data-theme-surface=scribe] .scribe-statefade__new.is-entering{animation:none}html[data-theme-surface=scribe] .scribe-prow.is-flash{box-shadow:inset 0 0 0 2px var(--ui-accent);animation:none}html[data-theme-surface=scribe] .scribe-note-card.is-changed{box-shadow:0 0 0 3px var(--ui-accent), var(--ui-shadow-card);border-color:var(--ui-accent);animation:none}html[data-theme-surface=scribe] .scribe-route[data-direction=push]>.scribe-page>:not(.scribe-notefoot),html[data-theme-surface=scribe] .scribe-route[data-direction=pop]>.scribe-page>:not(.scribe-notefoot),html[data-theme-surface=scribe] .scribe-notefoot__status,html[data-theme-surface=scribe] .scribe-toast{animation:.16s ease-out backwards scribe-route-fade}html[data-theme-surface=scribe] .scribe-sheet-backdrop.is-exiting{opacity:0;animation:none}html[data-theme-surface=scribe] .scribe-sheet-backdrop.is-exiting>.scribe-sheet{animation:none}}@keyframes scribe-route-fade{0%{opacity:0}}@media (width<=559px){html[data-theme-surface=scribe] .scribe-dx__head{flex-wrap:wrap;gap:0 4px}html[data-theme-surface=scribe] .scribe-dx__head>.scribe-dx__num{order:1;margin-right:auto}html[data-theme-surface=scribe] .scribe-dx__head>.scribe-copy{order:2}html[data-theme-surface=scribe] .scribe-dx__head>.scribe-more{order:3}html[data-theme-surface=scribe] .scribe-dx__head>.scribe-dx__name{flex:100%;order:4;margin-top:-6px}html[data-theme-surface=scribe] .scribe-dx__head>h4.scribe-dx__name{margin-top:-8px;padding-top:0}}html[data-theme-surface=scribe] .scribe-plan{border-top:1px solid var(--ui-border);gap:10px;margin-top:16px;padding-top:14px;display:grid}@media (width<=559px){html[data-theme-surface=scribe] .scribe-plan__group .scribe-dx__head{flex-wrap:nowrap;gap:6px}html[data-theme-surface=scribe] .scribe-plan__group .scribe-dx__head>.scribe-dx__num{margin-right:0}html[data-theme-surface=scribe] .scribe-plan__group .scribe-dx__head>h4.scribe-dx__name{flex:1 1 0;margin-top:0;padding-top:11px}}html[data-theme-surface=dashboard] .scribe-statement,html[data-theme-surface=scribe] .scribe-statement{color:var(--ui-text-soft);overflow-wrap:anywhere;gap:2px;margin:4px 0 0;font-size:.8125rem;line-height:1.45;display:grid}html[data-theme-surface=dashboard] .scribe-statement__label,html[data-theme-surface=scribe] .scribe-statement__label{color:var(--ui-muted);font-size:.8125rem;font-weight:700}html[data-theme-surface=dashboard] .scribe-em__tips,html[data-theme-surface=scribe] .scribe-em__tips{gap:2px;margin:2px 0 0;display:grid}html[data-theme-surface=dashboard] .scribe-em__tips-label,html[data-theme-surface=scribe] .scribe-em__tips-label{color:var(--ui-muted);font-size:.8125rem;font-weight:700}html[data-theme-surface=dashboard] .scribe-em__tips ul,html[data-theme-surface=scribe] .scribe-em__tips ul{color:var(--ui-text-soft);overflow-wrap:anywhere;gap:3px;margin:0;padding:0 0 0 18px;font-size:.8125rem;line-height:1.45;display:grid}html[data-theme-surface=dashboard] .scribe-agebands,html[data-theme-surface=scribe] .scribe-agebands{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:3px;display:grid}html[data-theme-surface=dashboard] .scribe-agebands{margin-bottom:14px}html[data-theme-surface=dashboard] .scribe-agebands__option,html[data-theme-surface=scribe] .scribe-agebands__option{border-radius:calc(var(--ui-radius) - 2px);min-width:0;min-height:52px;color:var(--ui-text-soft);font:inherit;text-align:center;cursor:pointer;transition:background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out);background:0 0;border:0;align-content:center;justify-items:center;gap:1px;padding:6px 8px;display:grid}html[data-theme-surface=dashboard] .scribe-agebands__option strong,html[data-theme-surface=scribe] .scribe-agebands__option strong{font-size:.875rem;font-weight:680;line-height:1.25}html[data-theme-surface=dashboard] .scribe-agebands__option span,html[data-theme-surface=scribe] .scribe-agebands__option span{font-size:.8125rem;font-weight:500;line-height:1.25}html[data-theme-surface=dashboard] .scribe-agebands__option[aria-checked=true],html[data-theme-surface=scribe] .scribe-agebands__option[aria-checked=true]{background:var(--ui-surface);color:var(--ui-accent);box-shadow:var(--ui-shadow-card)}html[data-theme-surface=dashboard] .scribe-agebands__option:focus-visible,html[data-theme-surface=scribe] .scribe-agebands__option:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}html[data-theme-surface=dashboard] .scribe-agebands__option:active,html[data-theme-surface=scribe] .scribe-agebands__option:active{transform:scale(.98)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=dashboard] .scribe-agebands__option[aria-checked=false]:hover,html[data-theme-surface=scribe] .scribe-agebands__option[aria-checked=false]:hover{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-agebands{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=599px){html[data-theme-surface=scribe] .scribe-agebands{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-agebands__option,html[data-theme-surface=scribe] .scribe-agebands__option{transition:none}html[data-theme-surface=dashboard] .scribe-agebands__option:active,html[data-theme-surface=scribe] .scribe-agebands__option:active{transform:none}}html[data-theme-surface=scribe] a.scribe-list__action{text-decoration:none}@media (width<=599px){html[data-theme-surface=dashboard] .scribe-chart:not(.is-compact) .ay-chart-identity{grid-template-areas:"name name""meta save""cc contact";row-gap:4px}html[data-theme-surface=dashboard] .scribe-chart:not(.is-compact) .ay-chart-identity>.ay-chart-contact{display:contents}html[data-theme-surface=dashboard] .scribe-chart:not(.is-compact) .ay-chart-contact>.scribe-save{grid-area:save;justify-self:end;min-width:0;height:18px;margin:0;position:static}html[data-theme-surface=dashboard] .scribe-chart:not(.is-compact) .ay-chart-contact>.ay-chart-history-pill{grid-area:contact;justify-self:end;margin:0}}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-footer{padding:8px 12px max(8px, env(safe-area-inset-bottom));align-items:center;gap:8px}html[data-theme-surface=dashboard] .scribe-footer .ay-note-footer-status.is-error{flex:1 0 100%;order:-1;margin-right:0}html[data-theme-surface=dashboard] .scribe-dx{gap:var(--ui-space-3);padding:var(--ui-space-4);display:grid}html[data-theme-surface=dashboard] .scribe-dx>*{min-width:0;margin:0}html[data-theme-surface=dashboard] .scribe-dx__head{align-items:start;gap:8px}html[data-theme-surface=dashboard] .scribe-dx__head .scribe-dx__name{min-width:0}html[data-theme-surface=dashboard] .scribe-dx__tools{align-self:start;margin:-6px -10px 0 0}html[data-theme-surface=dashboard] .scribe-dx__code{flex-wrap:wrap;align-items:flex-start;gap:12px 8px;display:flex}html[data-theme-surface=dashboard] .scribe-dx__code>.scribe-code-chip{flex:none;margin-top:1px}html[data-theme-surface=dashboard] .scribe-dx__desc{overflow-wrap:anywhere;flex:1 1 0;min-width:0;padding-top:2px;line-height:1.4}html[data-theme-surface=dashboard] .scribe-dx__code-actions{flex-wrap:wrap;flex:1 0 100%;gap:8px}html[data-theme-surface=dashboard] .scribe-dx__code-actions .ay-button--quiet{border-color:var(--ui-border-strong,var(--ui-border));background:var(--ui-surface);color:var(--ui-text)}html[data-theme-surface=dashboard] .scribe-dx .scribe-add{justify-self:start}}html[data-theme-surface=dashboard] .scribe-dialog__body>.scribe-replace-text{color:var(--ui-text);font-size:.9rem;line-height:1.5}html[data-theme-surface=dashboard] .scribe-dialog__footer .scribe-replace-button{font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-bar[data-bar=rebuilding] strong,html[data-theme-surface=dashboard] .scribe-bar[data-bar=rebuilt] strong{white-space:normal;overflow-wrap:anywhere;flex:1 1 0;min-width:0}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-head-action{flex:none;align-items:center;margin-left:auto;margin-right:-4px;display:flex}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap{--vap-rec:#d6451c;align-items:center;margin-block:-6px;display:flex;position:relative}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__btn{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__btn:disabled{cursor:default;opacity:.5}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__btn[aria-busy=true]{cursor:progress}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__btn:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-1px}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__disc{background:var(--ui-accent-soft);width:36px;height:36px;color:var(--ui-accent);transition:transform .16s var(--ui-ease-out), background-color .16s var(--ui-ease-out), color .16s var(--ui-ease-out);border-radius:50%;place-items:center;display:grid;position:relative}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__btn:active:not(:disabled) .vap__disc{transform:scale(.94)}@media (hover:hover) and (pointer:fine){:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap:not([data-phase=recording]) .vap__btn:hover:not(:disabled) .vap__disc{background:color-mix(in srgb, var(--ui-accent) 16%, var(--ui-surface))}}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap[data-phase=recording] .vap__disc{background:var(--vap-rec);color:#fff;box-shadow:0 0 0 4px color-mix(in srgb, var(--vap-rec) 22%, transparent), 0 0 0 8px color-mix(in srgb, var(--vap-rec) 10%, transparent)}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__square{background:#fff;border-radius:3px;width:12px;height:12px}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap[data-phase=recording] .vap__disc:after{content:"";border:2px solid var(--vap-rec);opacity:0;pointer-events:none;border-radius:50%;animation:1.6s ease-in-out infinite vap-pulse;position:absolute;inset:0}@keyframes vap-pulse{0%{opacity:.5;transform:scale(1)}70%,to{opacity:0;transform:scale(1.7)}}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap[data-phase=filling] .vap__disc .ay-spinner{flex-basis:18px;width:18px;height:18px}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__note{z-index:5;border:1px solid var(--ui-danger-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:max-content;max-width:min(260px,100vw - 32px);color:var(--ui-text);box-shadow:var(--ui-shadow-popover);text-align:left;pointer-events:none;animation:vap-note-in .16s var(--ui-ease-out) both;padding:9px 12px;font-size:.8125rem;font-weight:550;line-height:1.4;position:absolute;top:calc(100% - 2px);right:0}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap[data-phase=denied] .vap__note,:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap[data-phase=nomic] .vap__note{border-color:var(--ui-warning-border)}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__note:before{content:"";border:1px solid var(--ui-danger-border);background:var(--ui-surface);border-width:1px 0 0 1px;width:8px;height:8px;position:absolute;top:-5px;right:17px;transform:rotate(45deg)}@keyframes vap-note-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:no-preference){:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .is-voice-filled :is(.ui-input,.scribe-segmented){animation:vap-filled-a 1s var(--ui-ease-out) both}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .is-voice-filled--b :is(.ui-input,.scribe-segmented){animation-name:vap-filled-b}}@keyframes vap-filled-a{0%{box-shadow:0 0 0 4px color-mix(in srgb, var(--ui-accent) 32%, transparent);border-color:var(--ui-accent);background-color:var(--ui-accent-soft)}}@keyframes vap-filled-b{0%{box-shadow:0 0 0 4px color-mix(in srgb, var(--ui-accent) 32%, transparent);border-color:var(--ui-accent);background-color:var(--ui-accent-soft)}}@media (prefers-reduced-motion:reduce){:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .is-voice-filled :is(.ui-input,.scribe-segmented){border-color:var(--ui-accent);background-color:var(--ui-accent-soft)}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__disc{transition:none}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__btn:active:not(:disabled) .vap__disc{transform:none}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap[data-phase=recording] .vap__disc:after,:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .vap__note{animation:none}}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-add-patient{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;position:relative;overflow:hidden}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-add-patient:after{content:"";background:color-mix(in srgb, var(--ui-on-accent) 24%, transparent);transform-origin:0;pointer-events:none;position:absolute;inset:0;transform:scaleX(0)}:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-add-patient.is-pressing:after{transition:transform .45s linear;transform:scaleX(1)}@media (prefers-reduced-motion:reduce){:is(html[data-theme-surface=dashboard],html[data-theme-surface=scribe]) .scribe-add-patient.is-pressing:after{opacity:.6;transition:none;transform:scaleX(1)}}html[data-theme-surface=scribe] .scribe-status-tint{z-index:35;height:max(12px, env(safe-area-inset-top,0px));background-color:var(--ui-surface);pointer-events:none;position:fixed;top:0;left:0;right:0}.dashboard-status-tint{display:none}@media (width<=899px),(display-mode:standalone){html:is([data-theme-surface=dashboard],[data-theme-surface=clinic-configuration]):has(.ay-shell--workspace) .dashboard-status-tint{z-index:29;height:max(12px, env(safe-area-inset-top,0px));background-color:var(--ui-surface);pointer-events:none;display:block;position:fixed;top:0;left:0;right:0}}.portal-status-tint{display:none}html.clinical-ui:not(.dark)[data-theme-surface=patient-portal]{--portal-status-tint-background:#fcfcfc}html.clinical-ui.dark[data-theme-surface=patient-portal]{--portal-status-tint-background:var(--ui-canvas)}@media (width<=899px){html.clinical-ui[data-theme-surface=patient-portal]:has(.portal-shell) .portal-status-tint{z-index:35;height:max(12px, env(safe-area-inset-top,0px));background-color:var(--portal-status-tint-background);pointer-events:none;display:block;position:fixed;top:0;left:0;right:0}}html[data-theme-surface=scribe],html[data-theme-surface=scribe] *{scrollbar-width:none}html[data-theme-surface=scribe]::-webkit-scrollbar,html[data-theme-surface=scribe] ::-webkit-scrollbar{width:0;height:0;display:none}html[data-theme-surface=scribe] .scribe-sheet__body:has(.scribe-actions:last-child){padding-bottom:0}html[data-theme-surface=scribe] .scribe-sheet__body .scribe-actions:last-child{z-index:2;padding:12px 0 calc(18px + env(safe-area-inset-bottom));background:var(--ui-surface);margin-top:4px;position:sticky;bottom:0}html[data-theme-surface=scribe] .scribe-sheet__body .scribe-actions:last-child:before{content:"";background:linear-gradient(to bottom, transparent, var(--ui-surface));pointer-events:none;height:16px;position:absolute;bottom:100%;left:0;right:0}html[data-theme-surface=scribe] .ay-workspace-main:has(.scribe-recorder--page){flex-direction:column;display:flex}html[data-theme-surface=scribe] .ay-workspace-main:has(.scribe-recorder--page)>.scribe-screen{flex-direction:column;flex:auto;min-height:0;display:flex}html[data-theme-surface=scribe] .scribe-recorder--page{--rec-gap:clamp(8px, calc((100dvh - 480px) / 12), 20px);align-items:center;gap:var(--rec-gap);flex-direction:column;flex:auto;min-height:0;display:flex}html[data-theme-surface=scribe] .scribe-recorder--page>*{flex-shrink:0}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__stage{--u:min(1px, calc((100cqh - 36px) / 217));box-sizing:border-box;flex:1000 1 0;align-content:start;width:100%;min-height:148px;max-height:253px;padding:0;container-type:size}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__pulse{width:max(56px, calc(120 * var(--u)));height:max(56px, calc(120 * var(--u)));margin:calc(24 * var(--u)) 0 calc(14 * var(--u))}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__pulse svg.lucide{width:max(24px, calc(40 * var(--u)));height:max(24px, calc(40 * var(--u)))}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__timer{font-size:min(3rem, max(28px, calc(51 * var(--u))))}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__alerts{min-height:auto;max-height:84px;margin-block:calc(var(--rec-gap) * -.3);flex:1 1 0}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__controls{margin-top:calc(var(--rec-gap) * .4)}@media (height<=640px){html[data-theme-surface=scribe] .ay-workspace-main:has(.scribe-recorder--page){padding-top:8px;padding-bottom:calc(var(--scribe-tabbar-height) + env(safe-area-inset-bottom) + 12px)}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__patient{flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 8px;display:flex}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-recorder__controls{gap:2px}html[data-theme-surface=scribe] .scribe-recorder--page .scribe-stop{height:48px}}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script{text-align:left;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,520px);min-width:0;box-shadow:var(--ui-shadow-card);overflow:hidden}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__bar{justify-content:space-between;align-items:center;gap:8px;padding:0 6px 0 14px;display:flex}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__bar h3{color:var(--ui-text);margin:0;font-size:.9rem;font-weight:700}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__body{overscroll-behavior:contain;border-top:1px solid var(--ui-border);max-height:min(220px,34dvh);padding:2px 14px 14px;overflow-y:auto}.chart-rec-modal .chart-rec-card .scribe-practice-script{margin-top:4px}.chart-rec-modal .chart-rec-card .scribe-practice-script__body{max-height:min(150px,22dvh)}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__body:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__intro{color:var(--ui-muted);margin:10px 0 8px;font-size:.8125rem}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__lines{gap:10px;margin:0;padding:0;list-style:none;display:grid}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__lines li{color:var(--ui-text-soft);overflow-wrap:anywhere;grid-template-columns:4.25rem minmax(0,1fr);align-items:baseline;gap:8px;font-size:.9rem;line-height:1.45;display:grid}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__lines b{color:var(--ui-muted);font-size:.76rem;font-weight:700}:is(html[data-theme-surface=scribe],.chart-rec-modal) .scribe-practice-script__lines li[data-role=doctor] b{color:var(--ui-accent)}html[data-theme-surface=scribe] .scribe-fab-rail{z-index:8;pointer-events:none;height:0;position:sticky;top:-20px}html[data-theme-surface=scribe] .scribe-fab{box-sizing:border-box;white-space:nowrap;width:var(--fab-from,100%);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;pointer-events:none;visibility:hidden;opacity:0;height:48px;min-height:48px;transition:width .2s var(--ui-ease-out), opacity .12s ease-out 60ms, transform .2s var(--ui-ease-out), visibility 0s linear .26s, background-color var(--ui-duration-fast) ease;border-radius:999px;justify-content:center;align-items:center;gap:0;padding:0;display:inline-flex;position:absolute;top:8px;right:0;overflow:hidden;transform:translateY(-8px);box-shadow:0 8px 20px -6px #00000052,0 1px 3px #0000002e}html[data-theme-surface=scribe] .scribe-fab.is-shown{pointer-events:auto;visibility:visible;opacity:1;width:48px;transition:width .26s var(--ui-ease-out), opacity 90ms ease-out, transform .26s var(--ui-ease-out), visibility 0s, background-color var(--ui-duration-fast) ease;transform:none}html[data-theme-surface=scribe] .scribe-fab svg.lucide{stroke-width:2.25px;flex:none;width:22px;height:22px}html[data-theme-surface=scribe] .scribe-fab__label{opacity:1;max-width:9em;transition:max-width .2s var(--ui-ease-out), margin-left .2s var(--ui-ease-out), opacity .14s ease-out 80ms;flex:none;margin-left:6px}html[data-theme-surface=scribe] .scribe-fab.is-shown .scribe-fab__label{opacity:0;max-width:0;transition:max-width .26s var(--ui-ease-out), margin-left .26s var(--ui-ease-out), opacity 90ms ease-out;margin-left:0}html[data-theme-surface=scribe] .scribe-fab:not(.is-ready),html[data-theme-surface=scribe] .scribe-fab:not(.is-ready) .scribe-fab__label{transition:none}html[data-theme-surface=scribe] .scribe-fab:focus-visible{outline:3px solid var(--ui-accent-border);outline-offset:3px}html[data-theme-surface=scribe] .scribe-fab:after{content:"";background:color-mix(in srgb, var(--ui-on-accent) 24%, transparent);transform-origin:0;pointer-events:none;position:absolute;inset:0;transform:scaleX(0)}html[data-theme-surface=scribe] .scribe-fab.is-pressing:after{transition:transform .45s linear;transform:scaleX(1)}@media (prefers-reduced-motion:reduce){html[data-theme-surface=scribe] .scribe-fab,html[data-theme-surface=scribe] .scribe-fab.is-shown,html[data-theme-surface=scribe] .scribe-fab__label,html[data-theme-surface=scribe] .scribe-fab.is-shown .scribe-fab__label{transition:none}html[data-theme-surface=scribe] .scribe-fab{transform:none}html[data-theme-surface=scribe] .scribe-fab.is-pressing:after{opacity:.6;transition:none}}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice{--n-tone:var(--ui-text-soft);--n-soft:var(--ui-surface-soft);--n-line:var(--ui-border);box-sizing:border-box;border:1px solid var(--n-line);border-radius:var(--ui-radius-lg);background:var(--n-soft);min-width:0;color:var(--ui-text);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;margin:0;padding:10px 12px;font-size:.8125rem;font-weight:500;line-height:1.4;display:grid}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice--error{--n-tone:var(--ui-danger);--n-soft:var(--ui-danger-soft);--n-line:var(--ui-danger-border)}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice--warning{--n-tone:var(--ui-warning);--n-soft:var(--ui-warning-soft);--n-line:var(--ui-warning-border)}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice--info{--n-tone:var(--ui-info);--n-soft:var(--ui-info-soft);--n-line:var(--ui-info-border)}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice--success{--n-tone:var(--ui-success);--n-soft:var(--ui-success-soft);--n-line:var(--ui-success-border)}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice>svg.lucide{box-sizing:border-box;background:color-mix(in srgb, var(--n-tone) 14%, transparent);width:28px;height:28px;color:var(--n-tone);stroke-width:2.1px;border-radius:50%;grid-column:1;margin-right:10px;padding:6px}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice>.ay-spinner{flex-basis:18px;grid-column:1;width:18px;height:18px;margin:0 15px 0 5px}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__text{grid-column:2;gap:1px;min-width:0;display:grid}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__title{color:var(--n-tone);font-size:.875rem;font-weight:700;line-height:1.3}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__line{overflow-wrap:anywhere;margin:0}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__title+.scribe-notice__line{color:var(--ui-text-soft)}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__actions{flex-wrap:wrap;grid-column:3;justify-content:flex-end;align-items:center;gap:6px;margin-left:10px;display:flex}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__actions>:is(.scribe-icon-button,.scribe-notice__close):last-child{margin-right:-6px}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice .ay-button{box-sizing:border-box;border:1px solid var(--n-line);border-radius:var(--ui-radius);background:var(--ui-surface);min-height:44px;color:var(--ui-text);box-shadow:none;white-space:nowrap;gap:6px;padding:0 14px;font-size:.875rem;font-weight:650;line-height:1.2;text-decoration:none}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice .ay-button--quiet{background:0 0;border-color:#0000}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice .ay-button svg{flex:none;width:16px;height:16px}@media (hover:hover) and (pointer:fine){:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice .ay-button:hover:not(:disabled){background:var(--n-line)}}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice .ay-button:active:not(:disabled){transform:scale(.97)}@media (width<=479px){:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__actions:has(>.ay-button~.ay-button){grid-area:2/2/auto/-1;justify-content:flex-start;margin:8px 0 0}}@media (width<=379px){:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice__actions{grid-area:2/2/auto/-1;justify-content:flex-start;margin:8px 0 0}}html[data-theme-surface=scribe] .scribe-notefoot__status{animation:scribe-bar-in .18s var(--ui-ease-out) backwards}html[data-theme-surface=dashboard] .scribe-notice{margin:8px 0}html[data-theme-surface=dashboard] :is(.scribe-failed,.scribe-missing){margin:8px 0 12px}html[data-theme-surface=dashboard] .scribe-conflict{margin:4px 0 8px}html[data-theme-surface=dashboard] .scribe-notice__close{width:44px;min-width:44px;height:44px;min-height:44px;color:var(--ui-muted);place-items:center;padding:0;display:grid}html[data-theme-surface=dashboard] .scribe-footer-error{width:max-content;max-width:min(92vw,520px);box-shadow:var(--ui-shadow-card);font-weight:500;top:auto}@media (width>=900px){html[data-theme-surface=dashboard] .scribe-notice .ay-button{min-height:36px;padding:0 12px}html[data-theme-surface=dashboard] .scribe-notice__close{width:36px;min-width:36px;height:36px;min-height:36px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=scribe] .scribe-notefoot__status{animation:.16s ease-out backwards scribe-route-fade}:is(html[data-theme-surface=scribe],html[data-theme-surface=dashboard],html[data-theme-surface=account]) .scribe-notice .ay-button:active:not(:disabled){transform:none}}.ay-chart-footer:is(.ay-chart-footer--wellness,.ay-chart-footer--row){flex-wrap:nowrap;gap:0 8px}:is(.ay-chart-footer--wellness,.ay-chart-footer--row)>*{min-width:0}:is(.ay-chart-footer--wellness,.ay-chart-footer--row) .ay-chart-footer-close{margin-right:0}:is(.ay-chart-footer--wellness,.ay-chart-footer--row) .ay-note-footer-status{flex:1 1 0;margin:0}.ay-note-footer-status--action{appearance:none;font:inherit;text-align:left;color:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;text-decoration:underline}.ay-note-footer-status--action.is-error{color:var(--ui-danger)}.ay-footer-icon{box-sizing:border-box;flex:none;gap:6px;width:44px;min-width:44px;padding:0}.ay-footer-icon>svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.ay-footer-icon>.ay-footer-label{white-space:nowrap;display:none}.ay-footer-icon.is-copied{border-color:var(--ui-accent);color:var(--ui-success,var(--ui-accent))}.ay-footer-primary{white-space:nowrap;flex:none;gap:8px}.ay-footer-primary[aria-busy=true]:disabled{opacity:.85;cursor:progress}.ay-footer-step{animation:ay-footer-step-in .16s var(--ui-ease-out) both;display:inline-block}@keyframes ay-footer-step-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@media (width>=900px){.ay-footer-icon:not(.ay-footer-more){width:auto;padding:0 12px}.ay-footer-icon>.ay-footer-label{display:inline}:is(.ay-chart-footer--wellness,.ay-chart-footer--row){gap:10px}}@media (prefers-reduced-motion:reduce){.ay-footer-step{animation:none}}.ay-global-status--action{pointer-events:auto;align-items:center;gap:12px;max-width:calc(100vw - 24px);padding:6px 6px 6px 14px;display:flex}.ay-global-status__action{border:1px solid var(--ui-accent-border);border-radius:var(--ui-radius-sm);background:var(--ui-accent-soft);min-height:40px;color:var(--ui-accent);font:inherit;cursor:pointer;transition:background-color var(--ui-duration-fast) var(--ui-ease-out), border-color var(--ui-duration-fast) var(--ui-ease-out), transform var(--ui-duration-fast) var(--ui-ease-out);flex:none;padding:0 14px;font-weight:800}.ay-global-status__action:active{transform:scale(.97)}@media (hover:hover) and (pointer:fine){.ay-global-status__action:hover{border-color:var(--ui-accent);background:color-mix(in srgb, var(--ui-accent-soft) 78%, var(--ui-accent) 22%)}}@media (prefers-reduced-motion:reduce){.ay-global-status__action:active{transform:none}}.ay-settings-footer:not(.setup-footer) .ay-settings-footer__actions{flex:1 1 0;justify-content:flex-end;min-width:0}.ay-settings-footer .ay-settings-footer__status{min-width:0;max-width:34ch;color:var(--ui-muted);flex:0 auto;margin:0;font-size:max(.72rem,12px);line-height:1.3}.ay-settings-footer .ay-settings-footer__status.is-error{color:var(--ui-danger)}.ay-settings-footer .ay-settings-footer__status.ay-note-footer-status--action{text-align:right}.ay-olib__save-status.is-error{color:var(--ui-danger)}.ay-olib__save-status--action{appearance:none;font:inherit;text-align:left;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;text-decoration:underline}.ay-olib__save-status:empty{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}html[data-theme-surface=dashboard] .dashboard-account-dialog form>.ui-input{grid-column:1/-1}html[data-theme-surface=dashboard] .dashboard-account-dialog form>.dashboard-name-status{min-height:1.4em}html[data-theme-surface=dashboard] .scribe-footer.ay-chart-footer--row{flex-wrap:wrap;align-items:center}html[data-theme-surface=dashboard] .scribe-footer--note .ay-note-footer-status:not(.is-error){color:var(--ui-warning);font-weight:650}@media (width>=900px){html[data-theme-surface=dashboard] .scribe-footer--note .ay-note-footer-status:not(.is-error){font-size:.72rem}}html[data-theme-surface=dashboard] .scribe-dialog__status{align-self:center;margin-right:auto}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-footer--note .ay-note-footer-status:not(.is-error){visibility:hidden}html[data-theme-surface=dashboard] .scribe-footer .ay-note-footer-status.is-error{padding-block:2px}}.ay-activity-actions--autosave{flex-wrap:nowrap;justify-content:flex-start;gap:10px}.ay-activity-actions--autosave>.ay-button{flex:none}.ay-activity-actions--autosave>.ay-button:last-child:not(:first-child){margin-left:auto}.ay-activity-actions--autosave>.ay-note-footer-status{min-width:0;color:var(--ui-muted);flex:1 1 0;margin:0;font-size:.8125rem;line-height:1.4}.ay-activity-actions--autosave>.ay-note-footer-status.is-error{color:var(--ui-danger)}.ay-activity-actions--autosave>.ay-note-footer-status.is-hint{white-space:normal;text-overflow:clip;color:var(--ui-text-soft);overflow:visible}.ay-referral-foot+.ay-activity-actions--autosave{margin-top:-2px}@media (width<=640px){.ay-activity-actions--autosave>.ay-note-footer-status.is-hint{flex:1 0 100%;order:-1}.ay-activity-actions--autosave{flex-wrap:wrap;row-gap:8px}.ay-order-dock .ay-activity-actions--autosave>.ay-button,.ay-activity-actions--autosave>.ay-button{flex:none}.ay-order-dock .ay-activity-actions--autosave>.ay-button:last-child:not(:first-child){margin-left:auto}}html[data-theme-surface] .scribe-proc-list{gap:14px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface] .scribe-proc{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);gap:10px;min-width:0;padding:12px;display:grid}html[data-theme-surface=dashboard] .scribe-proc{background:var(--ui-surface);box-shadow:var(--ui-shadow-card)}html[data-theme-surface] .scribe-proc__head{justify-content:space-between;align-items:flex-start;gap:6px;display:flex}html[data-theme-surface] .scribe-proc__name{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:0 10px;min-width:0;margin:0;padding:11px 0 0;font-size:.94rem;font-weight:680;line-height:1.35;display:flex}html[data-theme-surface] .scribe-proc__site{color:var(--ui-text-soft);font-size:.8125rem;font-weight:600}html[data-theme-surface] .scribe-proc__head .cm-menu-button,html[data-theme-surface] .scribe-proc__head .scribe-more{margin:-4px -8px 0 0}html[data-theme-surface] .scribe-proc__field{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}html[data-theme-surface] .scribe-proc__field>span{color:var(--ui-text-soft);font-size:.8125rem;font-weight:700}html[data-theme-surface] .scribe-proc__field>.ui-input{flex:180px;min-width:0;min-height:44px}html[data-theme-surface] .scribe-proc__elements{gap:8px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface] .scribe-proc__element{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label remove""value value";align-items:center;gap:0 4px;min-width:0;display:grid}html[data-theme-surface] .scribe-proc__label{color:var(--ui-text-soft);grid-area:label;font-size:.8125rem;font-weight:700;line-height:1.3}html[data-theme-surface] .scribe-proc__element>.scribe-icon-button{color:var(--ui-muted);grid-area:remove;margin:-8px -8px -8px 0}html[data-theme-surface=scribe] .scribe-proc__element>.scribe-icon-button{width:44px;height:44px}html[data-theme-surface] .scribe-proc__element>.scribe-icon-button svg.lucide{width:16px;height:16px}html[data-theme-surface] .scribe-proc__element>:is(.scribe-proc__input,.scribe-proc__flag,.scribe-note-readonly,.scribe-readonly){grid-area:value;min-width:0}html[data-theme-surface] .scribe-proc__input{align-items:baseline;gap:8px;display:flex}html[data-theme-surface] .scribe-proc__input .scribe-autotext{flex:auto;min-width:0}html[data-theme-surface] .scribe-proc__element .scribe-autotext{width:100%;margin:0}html[data-theme-surface=scribe] .scribe-proc__element .scribe-autotext.ui-input{background:0 0;border-color:#0000;padding:9px 0}html[data-theme-surface=scribe] .scribe-proc__element .scribe-autotext.ui-input:focus{border-color:var(--ui-accent);background:var(--ui-surface);padding-inline:10px}html[data-theme-surface] .scribe-proc__element[data-type=number] .scribe-proc__input .scribe-autotext{flex:none;width:6ch}html[data-theme-surface] .scribe-proc__unit{color:var(--ui-text-soft);flex:none;font-size:.8125rem}html[data-theme-surface] :is(.scribe-proc__flag,.scribe-side){width:fit-content;max-width:100%;display:inline-flex}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option){z-index:0;min-width:56px;min-height:44px;color:var(--ui-text-soft);font:inherit;cursor:pointer;transition:color .14s var(--ui-ease-out), transform .12s var(--ui-ease-out);background:0 0;border:0;padding:0 14px;font-size:.8125rem;font-weight:650;position:relative}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option)+:is(.scribe-proc__flag-option,.scribe-side__option){margin-left:-1px}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option):before{content:"";z-index:-1;border:1px solid var(--ui-border-strong);background:var(--ui-surface);transition:background-color .14s var(--ui-ease-out), border-color .14s var(--ui-ease-out);position:absolute;inset:6px 0}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option):first-child:before{border-radius:999px 0 0 999px}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option):last-child:before{border-radius:0 999px 999px 0}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option)[aria-pressed=true]{z-index:1;color:var(--ui-accent)}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option)[aria-pressed=true]:before{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option):active:not(:disabled){transform:scale(.97)}html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option):focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px;border-radius:999px}html[data-theme-surface] .scribe-side__option:disabled{opacity:.5;cursor:default}html[data-theme-surface] .scribe-proc__missing{flex-wrap:wrap;gap:0 6px;margin:-6px 0;padding:0;list-style:none;display:flex}html[data-theme-surface] .scribe-proc__chip{z-index:0;border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);min-height:32px;color:var(--ui-warning);font:inherit;text-align:left;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:.8125rem;font-weight:650;line-height:1.2;display:inline-flex;position:relative}html[data-theme-surface] button.scribe-proc__chip{cursor:pointer;min-height:44px;transition:transform .12s var(--ui-ease-out);background:0 0;border-color:#0000}html[data-theme-surface] button.scribe-proc__chip:before{content:"";z-index:-1;border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);transition:background-color .14s var(--ui-ease-out);border-radius:999px;position:absolute;inset:6px 0}html[data-theme-surface] button.scribe-proc__chip:active{transform:scale(.97)}html[data-theme-surface] button.scribe-proc__chip:focus-visible{outline:2px solid var(--ui-accent);outline-offset:0;border-radius:999px}html[data-theme-surface] .scribe-proc__chip svg.lucide{flex:none;width:13px;height:13px}@media (hover:hover){html[data-theme-surface] button.scribe-proc__chip:hover:before{background:var(--ui-surface)}}html[data-theme-surface] .scribe-proc__hints,html[data-theme-surface] .scribe-proc__notes,html[data-theme-surface] .scribe-proc-line__hints{color:var(--ui-muted);gap:2px;margin:0;padding:0 0 0 18px;font-size:.8125rem;line-height:1.45;display:grid}html[data-theme-surface] .scribe-proc__notes{padding-left:4px;list-style:none}html[data-theme-surface] .scribe-proc-codes{border:1px solid var(--ui-info-border);border-radius:var(--ui-radius);background:var(--ui-info-soft);gap:8px;min-width:0;padding:12px 14px;display:grid}html[data-theme-surface] .scribe-proc-codes.is-confirmed{border-color:var(--ui-success-border,var(--ui-border));background:var(--ui-success-soft)}html[data-theme-surface] .scribe-proc-codes.is-none{background:0 0;border-style:dashed}html[data-theme-surface] .scribe-proc-codes__title{color:var(--ui-text-soft);font-size:.8125rem;font-weight:700}html[data-theme-surface] .scribe-proc-codes__lines{gap:0;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface] .scribe-proc-line{border-top:1px solid var(--ui-border);gap:6px;padding:8px 0;display:grid}html[data-theme-surface] .scribe-proc-line:first-child{border-top:0;padding-top:2px}html[data-theme-surface] .scribe-proc-line__main{flex-wrap:wrap;align-items:baseline;gap:2px 10px;display:flex}html[data-theme-surface] .scribe-proc-line__code{letter-spacing:.01em;font-variant-numeric:tabular-nums;font-size:1.1rem}html[data-theme-surface] .scribe-proc-line__desc{min-width:0;color:var(--ui-text-soft);font-size:.8125rem;line-height:1.4}html[data-theme-surface] .scribe-proc-line__alt{color:var(--ui-text);font-variant-numeric:tabular-nums;margin:0;font-size:.8125rem}html[data-theme-surface] .scribe-proc-line__options{flex-wrap:wrap;gap:0 6px;margin:-6px 0;display:flex}html[data-theme-surface] .scribe-proc-toggle{z-index:0;min-height:44px;color:var(--ui-text-soft);font:inherit;cursor:pointer;transition:color .14s var(--ui-ease-out), transform .12s var(--ui-ease-out);background:0 0;border:0;padding:0 12px;font-size:.8125rem;font-weight:650;position:relative}html[data-theme-surface] .scribe-proc-toggle:before{content:"";z-index:-1;border:1px solid var(--ui-border-strong);background:var(--ui-surface);transition:background-color .14s var(--ui-ease-out), border-color .14s var(--ui-ease-out);border-radius:999px;position:absolute;inset:6px 0}html[data-theme-surface] .scribe-proc-toggle[aria-pressed=true]{color:var(--ui-accent)}html[data-theme-surface] .scribe-proc-toggle[aria-pressed=true]:before{border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}html[data-theme-surface] .scribe-proc-toggle:active{transform:scale(.97)}html[data-theme-surface] .scribe-proc-toggle:focus-visible{outline:2px solid var(--ui-accent);outline-offset:0;border-radius:999px}html[data-theme-surface] .scribe-proc-codes__pick,html[data-theme-surface] .scribe-proc-codes__free{gap:6px;display:grid}html[data-theme-surface] .scribe-proc-codes__pick-label{color:var(--ui-text-soft);font-size:.8125rem;font-weight:700}html[data-theme-surface] .scribe-proc-codes__row{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1fr);gap:6px;display:grid}html[data-theme-surface] .scribe-proc-codes__row .ui-input{font-variant-numeric:tabular-nums;min-width:0;min-height:44px}html[data-theme-surface=scribe] :is(.scribe-proc__field>.ui-input,.scribe-proc-codes__row .ui-input){font-size:16px}html[data-theme-surface] .scribe-proc-codes__label,html[data-theme-surface] .scribe-proc-codes__none{color:var(--ui-info);margin:0;font-size:.8125rem;font-weight:700;line-height:1.4}html[data-theme-surface] .scribe-proc-codes__none{color:var(--ui-muted);font-weight:500}html[data-theme-surface] .scribe-proc-group{gap:10px;min-width:0;display:grid}html[data-theme-surface] .scribe-proc-group__title{color:var(--ui-text-soft);margin:4px 0 0;font-size:.8125rem;font-weight:700;line-height:1.35}html[data-theme-surface] .scribe-proc-codes.is-reference{background:0 0;border-style:dashed}html[data-theme-surface] .scribe-proc-codes.is-reference .scribe-proc-line__code{color:var(--ui-text-soft);font-weight:650}html[data-theme-surface] .scribe-proc-codes__dme-note{color:var(--ui-text-soft);margin:0;font-size:.8125rem;font-weight:600;line-height:1.4}html[data-theme-surface] .scribe-proc-codes__problem{color:var(--ui-danger);margin:0;font-size:.8125rem;line-height:1.4}html[data-theme-surface] .scribe-proc-codes__actions{display:grid}html[data-theme-surface] .scribe-proc-codes__actions .ay-button{min-height:44px}html[data-theme-surface] .scribe-proc-codes__decided,html[data-theme-surface] .scribe-proc-codes__state{color:var(--ui-text);justify-content:space-between;align-items:center;gap:8px;margin:0;font-size:.8125rem;display:flex}html[data-theme-surface] .scribe-proc-codes__decided>span{align-items:center;gap:6px;display:inline-flex}html[data-theme-surface] .scribe-proc-codes__decided svg.lucide{width:16px;height:16px;color:var(--ui-success)}html[data-theme-surface] .scribe-proc-codes__decided .ay-button{min-height:44px}@media (hover:hover){html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-side__option,.scribe-proc-toggle):hover:not([aria-pressed=true]):not(:disabled):before{background:var(--ui-surface-soft)}}html[data-theme-surface] .scribe-dx__side{margin:-6px 0;display:flex}html[data-theme-surface] .scribe-dx__side-read{color:var(--ui-text-soft);margin:0;font-size:.8125rem}html[data-theme-surface] .scribe-dx__side-read strong{color:var(--ui-text)}html[data-theme-surface] .scribe-dx__sidehint{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius);background:var(--ui-warning-soft);color:var(--ui-warning);align-items:center;gap:8px;padding:6px 6px 6px 10px;font-size:.8125rem;font-weight:650;line-height:1.35;display:flex}html[data-theme-surface] .scribe-dx__sidehint>svg.lucide{flex:none;width:16px;height:16px}html[data-theme-surface] .scribe-dx__sidehint>span{flex:auto;gap:1px;min-width:0;display:grid}html[data-theme-surface] .scribe-dx__sidehint strong{color:var(--ui-text);font-variant-numeric:tabular-nums}html[data-theme-surface] .scribe-dx__sidehint small{color:var(--ui-text-soft);font-size:.8125rem;font-weight:500}html[data-theme-surface] .scribe-dx__sidehint .ay-button{flex:none;min-height:44px}html[data-theme-surface=dashboard] .scribe-exam-words__head{justify-content:space-between;align-items:center;gap:6px;display:flex}html[data-theme-surface=dashboard] .scribe-exam-words+.scribe-add{margin-top:8px}html[data-theme-surface=dashboard] .scribe-exam-words__head .scribe-icon-button{width:28px;min-width:28px;height:28px;min-height:28px}html[data-theme-surface=scribe] .scribe-field__row{justify-content:space-between;align-items:center;gap:8px;display:flex}html[data-theme-surface=scribe] .scribe-field__row .scribe-icon-button{color:var(--ui-muted);margin-right:-8px}@media (width>=900px){html[data-theme-surface=dashboard] .scribe-proc{gap:8px;padding:10px 14px}html[data-theme-surface=dashboard] .scribe-proc__name{padding-top:6px;font-size:.88rem}html[data-theme-surface=dashboard] .scribe-proc__site,html[data-theme-surface=dashboard] .scribe-proc__label,html[data-theme-surface=dashboard] .scribe-proc__unit,html[data-theme-surface=dashboard] .scribe-proc__field>span,html[data-theme-surface=dashboard] .scribe-proc-codes__title,html[data-theme-surface=dashboard] .scribe-proc-codes__pick-label,html[data-theme-surface=dashboard] .scribe-proc-line__desc{font-size:.74rem}html[data-theme-surface=dashboard] :is(.scribe-proc__chip,.scribe-proc__flag-option,.scribe-proc-toggle,.scribe-side__option){min-height:30px;font-size:.74rem}html[data-theme-surface=dashboard] :is(.scribe-proc__flag-option,.scribe-side__option,.scribe-proc-toggle):before,html[data-theme-surface=dashboard] button.scribe-proc__chip:before{inset:0}html[data-theme-surface=dashboard] :is(.scribe-proc__missing,.scribe-proc-line__options,.scribe-dx__side){margin:0}html[data-theme-surface=dashboard] .scribe-proc__hints,html[data-theme-surface=dashboard] .scribe-proc__notes,html[data-theme-surface=dashboard] .scribe-proc-line__hints,html[data-theme-surface=dashboard] .scribe-proc-line__alt,html[data-theme-surface=dashboard] .scribe-proc-codes__label,html[data-theme-surface=dashboard] .scribe-proc-codes__none,html[data-theme-surface=dashboard] .scribe-proc-codes__problem,html[data-theme-surface=dashboard] .scribe-proc-codes__decided,html[data-theme-surface=dashboard] .scribe-dx__sidehint,html[data-theme-surface=dashboard] .scribe-dx__side-read,html[data-theme-surface=dashboard] .scribe-dx__sidehint small{font-size:.72rem}html[data-theme-surface=dashboard] .scribe-proc-line__code{font-size:1rem}html[data-theme-surface=dashboard] .scribe-proc-codes{padding:10px 12px}html[data-theme-surface=dashboard] .scribe-proc-codes__actions .ay-button,html[data-theme-surface=dashboard] .scribe-proc-codes__decided .ay-button,html[data-theme-surface=dashboard] .scribe-dx__sidehint .ay-button{min-height:32px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-proc-codes__actions{justify-items:start}html[data-theme-surface=dashboard] .scribe-proc-codes__row .ui-input,html[data-theme-surface=dashboard] .scribe-proc__field>.ui-input{min-height:34px}html[data-theme-surface=dashboard] .scribe-proc__element>.scribe-icon-button{margin:-4px -4px -2px 0}html[data-theme-surface=dashboard] .scribe-dx__side,html[data-theme-surface=dashboard] .scribe-dx__side-read,html[data-theme-surface=dashboard] .scribe-dx__sidehint{margin-left:32px}}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-proc{padding:10px}html[data-theme-surface=dashboard] .scribe-dx__sidehint{padding-block:4px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface] :is(.scribe-proc__flag-option,.scribe-proc__chip,.scribe-proc-toggle,.scribe-side__option){transition:none}}html:is([data-theme-surface=dashboard],[data-theme-surface=clinic-configuration]) :is(textarea,input.ui-input):not(:where(.workspace-search-input,.portal-invitation-code__row .ui-input)){font-size:14px}@media (width<=899px){html:is([data-theme-surface=dashboard],[data-theme-surface=clinic-configuration]) :is(textarea,input.ui-input):not(:where(.workspace-search-input,.portal-invitation-code__row .ui-input)){font-size-adjust:.44;font-size:16px}}.ay-provider-switch{flex:none;padding:0 0 8px}.ay-provider-switch__bar{max-width:520px}.ay-provider-switch .ay-activity-segment{white-space:nowrap;gap:7px;min-height:36px;padding:5px 10px;font-size:.74rem}.ay-provider-switch__count{background:var(--ui-surface-muted);min-width:20px;color:var(--ui-muted);font-variant-numeric:tabular-nums;text-align:center;transition:background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out);border-radius:999px;padding:1px 6px;font-size:.66rem;font-weight:700;line-height:1.5}.ay-provider-switch .ay-activity-segment:has(input:checked) .ay-provider-switch__count{background:color-mix(in srgb, var(--ui-on-accent) 24%, transparent);color:var(--ui-on-accent)}.patient-list-provider{align-items:center;min-width:0;display:flex}.ay-provider-chip{border:1px solid var(--ui-border);background:var(--ui-surface);min-width:0;max-width:100%;min-height:28px;color:var(--ui-text-soft);font:inherit;text-align:left;border-radius:999px;align-items:center;gap:7px;padding:2px 8px 2px 3px;font-size:.72rem;font-weight:620;line-height:1.2;display:inline-flex;position:relative}.ay-provider-chip.is-button{cursor:pointer;pointer-events:auto;z-index:2;transition:border-color .14s var(--ui-ease-out), background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out), transform .14s var(--ui-ease-out)}.ay-provider-chip.is-button:hover{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent-hover)}.ay-provider-chip.is-button:active{transform:scale(.97)}.ay-provider-chip.is-button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.ay-provider-chip.is-button:disabled{opacity:.6;cursor:progress}.ay-provider-chip.is-unassigned{color:var(--ui-muted);background:0 0;border-style:dashed;padding-left:9px}.ay-provider-chip .cm-chevron{flex:0 0 14px;width:14px;height:14px}.ay-provider-mark{background:var(--ui-accent-soft);width:22px;height:22px;color:var(--ui-accent);letter-spacing:.02em;border-radius:50%;flex:0 0 22px;place-items:center;font-size:.62rem;font-weight:760;display:grid}.ay-provider-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ay-provider-credentials{color:var(--ui-muted);font-weight:560}.ay-provider-none__icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 14px;width:14px;height:14px}.ay-chart-name-row>.ay-provider-chip--chart{background:var(--ui-surface);flex:0 auto;max-width:min(15rem,46%);margin:0}@media (width<=599px){.ay-chart-name-row>.ay-provider-chip--chart{flex:0 auto;max-width:9.5rem;min-height:28px}}.ay-chart-name-row>.ay-provider-chip--chart.is-unassigned{background:0 0}.ay-provider-take{align-items:center;gap:6px;min-width:0;display:inline-flex}.ay-provider-take .ay-button{z-index:2;pointer-events:auto;border-radius:999px;min-height:28px;padding:2px 14px;font-size:.72rem;font-weight:620;position:relative}.ay-provider-take .ay-button .cm-chevron{width:14px;height:14px;margin-left:2px}.ay-provider-take .ay-provider-take__assign{color:var(--ui-muted);padding-inline:10px}@media (width<=899px){.ay-provider-take .ay-button{min-height:32px;font-size:max(.8125rem,13px)}.ay-provider-take .ay-button:before{content:"";position:absolute;inset:-6px -3px}}@media (width>=900px){.workspace-sidebar[data-provider-column] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(170px,1.2fr) minmax(150px,1fr) minmax(88px,.55fr) minmax(190px,1.3fr) minmax(150px,.95fr) minmax(86px,.5fr) 42px}}@media (width>=900px) and (width<=1120px){.workspace-sidebar[data-provider-column] :is(.workspace-table-head,.workspace-list .compact-card){grid-template-columns:minmax(160px,1.1fr) minmax(130px,.9fr) minmax(86px,.5fr) minmax(150px,1fr) minmax(150px,.95fr) 42px}.workspace-sidebar[data-provider-column] .workspace-table-head>:nth-child(5){display:block}.workspace-sidebar[data-provider-column] .workspace-table-head>:nth-child(6){display:none}}@media (width<=899px){.ay-provider-switch{padding:0 0 6px}.ay-provider-switch__bar{max-width:none}.ay-provider-switch .ay-activity-segment{min-height:44px;padding:6px;font-size:max(.8125rem,13px)}.ay-provider-switch__count{font-size:max(.75rem,12px)}html[data-theme-surface=dashboard] .workspace-sidebar[data-provider-column] .workspace-list .compact-card{grid-template-rows:auto auto auto auto;grid-template-areas:"avatar name name pill"".demo wait note"".reason reason reason"".prov prov prov"}html[data-theme-surface=dashboard] .workspace-list .compact-card>.patient-list-provider{grid-area:4/2/auto/-1;justify-self:start;min-height:0;margin:0;padding:0}.ay-provider-chip{min-height:32px;font-size:max(.8125rem,13px)}.ay-provider-chip.is-button:before{content:"";position:absolute;inset:-6px -4px}.ay-provider-mark{font-size:max(.6875rem,11px)}}.ay-queue-list>.ay-queue-subgroup{border-top:1px solid var(--ui-border);background:var(--ui-surface);align-items:center;gap:8px;margin:0;padding:12px 14px 6px;list-style:none;display:flex}.ay-queue-list>.ay-queue-subgroup:first-child{border-top:0}.ay-queue-subgroup h2{color:var(--ui-text-soft);letter-spacing:.05em;text-transform:uppercase;margin:0;font-size:max(.765rem,13px);font-weight:700}.ay-queue-subgroup-count{border:1px solid var(--ui-border);background:var(--ui-surface);min-width:22px;height:22px;color:var(--ui-accent);border-radius:999px;place-items:center;padding:0 7px;font-size:max(.66rem,12px);font-weight:700;display:grid}.ay-queue-list>.ay-queue-subgroup-note{color:var(--ui-muted);margin:0;padding:14px 14px 4px;font-size:max(.8125rem,13px);list-style:none}@media (width<=899px){.ay-queue-list>.ay-queue-subgroup{background:0 0;border-top:0;padding:12px 4px 6px}.ay-queue-list>.ay-queue-subgroup-note{padding:10px 4px 0}}@media (prefers-reduced-motion:reduce){.ay-provider-chip.is-button,.ay-provider-switch__count{transition:none}.ay-provider-chip.is-button:active{transform:none}}html[data-theme-surface=scribe] .scribe-list-scope{margin:0 0 4px}html[data-theme-surface=scribe] .scribe-patient__provider{min-width:0;color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;font-size:.8125rem;font-weight:600;overflow:hidden}html[data-theme-surface=scribe] .scribe-patient__meta:has(.scribe-patient__provider){flex-wrap:wrap;row-gap:2px}.ay-provider-profiles{display:grid}.ay-provider-profile{border-top:1px solid var(--ui-border);gap:12px;padding:16px 0;display:grid}.ay-provider-profile:first-child{border-top:0;padding-top:2px}.ay-provider-profile__header h4{color:var(--ui-text);margin:0;font-size:.9rem;font-weight:700}.ay-provider-profile__header h4 span{color:var(--ui-muted);font-weight:600}.ay-provider-profile__header .ay-team-hint{margin:4px 0 0}.ay-provider-profile .ay-settings-panel-action{justify-self:start}@media (width<=600px){.ay-provider-profile .ay-settings-toggle-grid{grid-template-columns:minmax(0,1fr)}}html[data-theme-surface=dashboard] .scribe-section__head h3 svg{vertical-align:-3px;color:var(--ui-icon);margin-right:6px}html[data-theme-surface=dashboard] .scribe-reported{border:1px solid var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info);letter-spacing:.02em;white-space:nowrap;border-radius:999px;align-items:center;padding:1px 8px;font-size:.66rem;font-weight:680;display:inline-flex}html[data-theme-surface=dashboard] .chart-th__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}html[data-theme-surface=dashboard] .chart-th__wide{grid-column:1/-1}html[data-theme-surface=dashboard] .chart-th__field{border:0;min-width:0;margin:0;padding:0}html[data-theme-surface=dashboard] .chart-th__label{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px;padding:0;display:flex}html[data-theme-surface=dashboard] .chart-th__source{color:var(--ui-muted);white-space:nowrap;font-size:.68rem;font-weight:600}html[data-theme-surface=dashboard] .chart-th__label .ui-field__label{color:var(--ui-text);margin:0;font-size:.74rem;font-weight:650}html[data-theme-surface=dashboard] .chart-th__summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:0;display:grid}html[data-theme-surface=dashboard] .chart-th__line{grid-template-columns:112px minmax(0,1fr);align-items:baseline;gap:8px;min-width:0;display:grid}html[data-theme-surface=dashboard] .chart-th__line dt{color:var(--ui-text-soft);font-size:.74rem;font-weight:650}html[data-theme-surface=dashboard] .chart-th__line dd{min-width:0;color:var(--ui-text);overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;font-size:.82rem;line-height:1.45;display:flex}html[data-theme-surface=dashboard] .chart-th__line dd .is-missing{color:var(--ui-muted)}html[data-theme-surface=dashboard] .chart-th .scribe-section__actions .ay-button{gap:6px;min-height:34px;padding:4px 10px;font-size:.74rem}@media (width<=899px){html[data-theme-surface=dashboard] .chart-th__summary{grid-template-columns:minmax(0,1fr)}html[data-theme-surface=dashboard] .chart-th__line{grid-template-columns:96px minmax(0,1fr)}html[data-theme-surface=dashboard] .chart-th .scribe-section__actions .ay-button{min-height:44px}}html[data-theme-surface=dashboard] .chart-th__minutes{align-items:center;gap:8px;display:flex}html[data-theme-surface=dashboard] .chart-th__minutes .ui-input{font-variant-numeric:tabular-nums;width:88px}html[data-theme-surface=dashboard] .chart-th__minutes span,html[data-theme-surface=dashboard] .chart-th__hint{color:var(--ui-text-soft);font-size:.72rem}@media (width<=899px){html[data-theme-surface=dashboard] .chart-th__grid{grid-template-columns:minmax(0,1fr)}}html[data-theme-surface=dashboard] .chart-sg{margin:var(--ui-space-2) 0 0 32px;padding:var(--ui-space-2) var(--ui-space-3);border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft)}html[data-theme-surface=dashboard] .chart-sg ul,html[data-theme-surface=dashboard] .chart-sg__block ul{gap:var(--ui-space-1);margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .chart-sg__item{align-items:center;gap:var(--ui-space-2);grid-template-columns:auto minmax(0,1fr) auto;min-height:40px;display:grid}html[data-theme-surface=dashboard] .chart-sg__tag{border:1px solid var(--ui-border);color:var(--ui-text-soft);white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:.66rem;font-weight:680}html[data-theme-surface=dashboard] .chart-sg__text{min-width:0;color:var(--ui-text);overflow-wrap:anywhere;font-size:.8rem;line-height:1.4}html[data-theme-surface=dashboard] .chart-sg__warning{color:var(--ui-warning);align-items:flex-start;gap:4px;margin-top:2px;font-size:.72rem;display:flex}html[data-theme-surface=dashboard] .chart-sg__warning svg{flex:none;margin-top:2px}html[data-theme-surface=dashboard] .chart-sg__actions{align-items:center;gap:2px;display:flex}html[data-theme-surface=dashboard] .chart-sg__actions .ay-button{gap:4px;min-height:34px;padding:4px 10px;font-size:.74rem}html[data-theme-surface=dashboard] .chart-sg__group+.chart-sg__group{margin-top:var(--ui-space-3);padding-top:var(--ui-space-2);border-top:1px solid var(--ui-border)}html[data-theme-surface=dashboard] .chart-sg__group-head{justify-content:space-between;align-items:center;gap:var(--ui-space-2) var(--ui-space-3);margin:0 0 var(--ui-space-1);flex-wrap:wrap;display:flex}html[data-theme-surface=dashboard] .chart-sg__concern{color:var(--ui-text);margin:0;font-size:.84rem;font-weight:700}html[data-theme-surface=dashboard] .chart-sg__add-diagnosis{gap:4px;min-height:34px;padding:4px 10px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-sg{gap:var(--ui-space-3);margin:var(--ui-space-3) 0 0;padding:var(--ui-space-3) var(--ui-space-4);border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface-soft);display:grid}html[data-theme-surface=dashboard] .scribe-sg__head{align-items:center;gap:var(--ui-space-1) var(--ui-space-3);flex-wrap:wrap;display:flex}html[data-theme-surface=dashboard] .scribe-sg__title{color:var(--ui-text);margin:0;font-size:.88rem;font-weight:700}html[data-theme-surface=dashboard] .scribe-sg__time{color:var(--ui-text-soft);font-variant-numeric:tabular-nums;font-size:.72rem}html[data-theme-surface=dashboard] .scribe-sg__refresh{gap:6px;min-height:32px;margin-left:auto;padding:4px 10px;font-size:.74rem}html[data-theme-surface=dashboard] .scribe-sg__block{gap:var(--ui-space-2);min-width:0;display:grid}html[data-theme-surface=dashboard] .scribe-sg__sub{color:var(--ui-text-soft);margin:0;font-size:.76rem;font-weight:700}html[data-theme-surface=dashboard] .scribe-sg__list{gap:var(--ui-space-2);margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-sg__row{justify-content:space-between;align-items:center;gap:var(--ui-space-3);min-width:0;padding:var(--ui-space-2) var(--ui-space-3);border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);display:flex}html[data-theme-surface=dashboard] .scribe-sg__main{gap:2px;min-width:0;display:grid}html[data-theme-surface=dashboard] .scribe-sg__name{align-items:baseline;gap:var(--ui-space-1) var(--ui-space-2);color:var(--ui-text);overflow-wrap:anywhere;flex-wrap:wrap;margin:0;font-size:.84rem;line-height:1.4;display:flex}html[data-theme-surface=dashboard] .scribe-sg__name strong{font-weight:650}html[data-theme-surface=dashboard] .scribe-sg__code{border:1px solid var(--ui-border-strong);color:var(--ui-text-soft);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;padding:1px 8px;font-size:.72rem}html[data-theme-surface=dashboard] .scribe-sg__tag{border:1px solid var(--ui-border);color:var(--ui-text-soft);white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:.68rem;font-weight:600}html[data-theme-surface=dashboard] .scribe-sg__reason,html[data-theme-surface=dashboard] .scribe-sg__hint{color:var(--ui-text-soft);overflow-wrap:anywhere;margin:0;font-size:.76rem;line-height:1.4}html[data-theme-surface=dashboard] .scribe-sg__add{min-height:32px;transition:transform var(--ui-duration-fast) var(--ui-ease-out);flex:none;align-items:center;gap:4px;padding:4px 10px;font-size:.74rem;display:inline-flex}html[data-theme-surface=dashboard] .scribe-sg__add:active:not(:disabled){transform:scale(.97)}html[data-theme-surface=dashboard] .scribe-sg__add svg.lucide{width:14px;height:14px}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .scribe-sg__add{transition:none}}html[data-theme-surface=dashboard] .scribe-dx__item--pending .scribe-autotext,html[data-theme-surface=dashboard] .scribe-dx--pending .scribe-dx__name{border-color:var(--ui-accent-border);background:var(--ui-surface)}html[data-theme-surface=dashboard] .scribe-dx--pending{border-style:dashed}@media (width<=899px){html[data-theme-surface=dashboard] .chart-sg{margin-left:0}html[data-theme-surface=dashboard] .chart-sg ul,html[data-theme-surface=dashboard] .chart-sg__block ul{gap:0}html[data-theme-surface=dashboard] .chart-sg__item{row-gap:var(--ui-space-1);padding:var(--ui-space-2) 0;grid-template-columns:minmax(0,1fr) auto}html[data-theme-surface=dashboard] .chart-sg__item+.chart-sg__item{border-top:1px solid var(--ui-border)}html[data-theme-surface=dashboard] .chart-sg__tag{grid-column:1/-1;justify-self:start}html[data-theme-surface=dashboard] .chart-sg__actions .ay-button{min-height:44px}html[data-theme-surface=dashboard] .chart-sg__group-head{flex-direction:column;align-items:stretch}html[data-theme-surface=dashboard] .chart-sg__add-diagnosis{justify-content:center;width:100%;min-height:44px}html[data-theme-surface=dashboard] .chart-sg,html[data-theme-surface=dashboard] .chart-sg__heading{font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-sg{padding:var(--ui-space-3)}html[data-theme-surface=dashboard] .scribe-sg__refresh,html[data-theme-surface=dashboard] .scribe-sg__add{min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-sg__name{font-size:.9rem}html[data-theme-surface=dashboard] .scribe-sg__reason,html[data-theme-surface=dashboard] .scribe-sg__hint,html[data-theme-surface=dashboard] .scribe-sg__sub,html[data-theme-surface=dashboard] .scribe-sg__code,html[data-theme-surface=dashboard] .scribe-sg__tag,html[data-theme-surface=dashboard] .scribe-sg__time{font-size:.8125rem}}html[data-theme-surface=dashboard] .chart-legacy{max-width:var(--scribe-note-width,880px);gap:12px;display:grid}html[data-theme-surface=dashboard] .chart-legacy__card h3 svg{vertical-align:-3px;color:var(--ui-icon);margin-right:6px}html[data-theme-surface=dashboard] .chart-legacy__text{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-muted);color:var(--ui-text);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:52vh;margin:0;padding:12px 14px;font-size:.84rem;line-height:1.55;overflow:auto}html[data-theme-surface=dashboard] .chart-legacy__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 16px;margin-bottom:12px;display:flex}html[data-theme-surface=dashboard] .chart-legacy__head p{margin-bottom:0}html[data-theme-surface=dashboard] .chart-legacy__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}html[data-theme-surface=dashboard] .chart-legacy__actions .ay-button,html[data-theme-surface=dashboard] .chart-rec__start{gap:6px}html[data-theme-surface=dashboard] .chart-rec__dot{background:var(--ui-danger);width:8px;height:8px;animation:chart-rec-pulse 1.4s var(--ui-ease-in-out,ease-in-out) infinite;border-radius:50%;flex:none}html[data-theme-surface=dashboard] .chart-rec__dot.is-still{background:var(--ui-muted);animation:none}html[data-theme-surface=dashboard] .chart-rec__consent p{margin:0 0 8px}html[data-theme-surface=dashboard] .chart-rec__fine{color:var(--ui-text-soft);font-size:.78rem}@keyframes chart-rec-pulse{0%,to{opacity:1}50%{opacity:.35}}@media (width>=900px){html[data-theme-surface=dashboard] .chart-rec__start{justify-content:center;min-width:8.5rem}}@media (width<=899px){html[data-theme-surface=dashboard] .chart-rec__start .ay-footer-label{display:none}html[data-theme-surface=dashboard] .chart-rec__start{min-width:44px;min-height:44px}}.chart-rec-modal{--scribe-gutter:16px;--rec-ease:cubic-bezier(.23, 1, .32, 1);--rec-ease-in-out:cubic-bezier(.77, 0, .175, 1)}.chart-rec-modal--discard{display:contents}.chart-rec-modal.chart-rec-modal--discard .scribe-sheet-backdrop{z-index:120}.chart-rec-modal .chart-rec-card,.chart-rec-modal .chart-rec-pill{z-index:85;left:var(--rec-left,82px);bottom:var(--rec-bottom,72px);transform-origin:0 100%;position:fixed}.chart-rec-modal .chart-rec-card{box-sizing:border-box;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:312px;max-width:calc(100vw - 24px);color:var(--ui-text);box-shadow:var(--ui-shadow-dialog);text-align:left;animation:chart-rec-in .2s var(--rec-ease) both;grid-template-columns:minmax(0,1fr);gap:4px;padding:6px 12px 10px;display:grid}.chart-rec-modal .chart-rec-card:focus{outline:none}.chart-rec-modal .chart-rec-card:focus-visible{outline:2px solid var(--ui-accent-border);outline-offset:2px}.chart-rec-modal .chart-rec-card.is-leaving{pointer-events:none;animation:chart-rec-out .16s var(--rec-ease-in-out) forwards}@keyframes chart-rec-in{0%{opacity:0;transform:scale(.96)}}@keyframes chart-rec-out{to{opacity:0;transform:scale(.4)}}.chart-rec-modal .chart-rec-card__head{justify-content:space-between;align-items:center;gap:8px;min-height:34px;display:flex}.chart-rec-modal .chart-rec-card__title{white-space:nowrap;min-width:0;color:var(--ui-text);letter-spacing:0;flex:auto;align-items:center;gap:8px;margin:0;font-size:.9rem;font-weight:700;line-height:1.2;display:flex}.chart-rec-modal .chart-rec-card__patient{min-width:0;color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.chart-rec-modal .chart-rec-card__patient:before{content:"·";margin-right:8px}.chart-rec-modal .chart-rec-card__min{flex:none;gap:6px;min-height:30px;padding:0 8px;font-size:.76rem}.chart-rec-modal .chart-rec-card__hint{color:var(--ui-muted);text-align:center;margin:2px 0 0;font-size:.72rem}.chart-rec-modal .chart-rec-card__hint kbd,.chart-shortcuts kbd{border:1px solid var(--ui-border-strong);background:var(--ui-surface-soft);min-width:1.6em;color:var(--ui-text-soft);font:inherit;text-align:center;border-bottom-width:2px;border-radius:6px;padding:1px 6px;font-size:.72rem;font-weight:650;line-height:1.4;display:inline-block}.chart-rec-modal .chart-rec-card .scribe-recorder{gap:4px}.chart-rec-modal .chart-rec-card .scribe-recorder__stage{padding:4px 0 0}.chart-rec-modal .chart-rec-card .scribe-recorder__pulse{width:64px;height:64px;margin-bottom:6px}.chart-rec-modal .chart-rec-card .scribe-recorder__pulse svg.lucide{width:24px;height:24px}.chart-rec-modal .chart-rec-card .scribe-recorder__timer{font-size:1.75rem}.chart-rec-modal .chart-rec-card .scribe-recorder__status{min-height:20px;font-size:.78rem;line-height:20px}.chart-rec-modal .chart-rec-card .scribe-recorder__alerts{min-height:0;margin:0}.chart-rec-modal .chart-rec-card .scribe-recorder__alerts:empty{display:none}.chart-rec-modal .chart-rec-card .scribe-recorder .scribe-notice{margin:0}.chart-rec-modal .chart-rec-card .scribe-recorder__controls{gap:2px;margin-top:6px}.chart-rec-modal .chart-rec-card .scribe-stop{height:40px;font-size:.9rem}.chart-rec-modal .chart-rec-card .scribe-stop svg.lucide{width:16px;height:16px}.chart-rec-modal .chart-rec-card .scribe-text-button{min-height:32px;font-size:.8rem}.chart-rec-modal .chart-rec-card.is-paused .chart-rec__dot{background:var(--ui-muted);animation:none}.chart-rec-modal .chart-rec-card>.scribe-notice{margin:4px 0 0}.chart-rec-modal .chart-rec-card .scribe-notice__actions{grid-area:2/2/auto/-1;justify-content:flex-start;margin:8px 0 0}.chart-rec-modal .scribe-recorder__sending{gap:12px;padding:18px 0 10px;display:grid}.chart-rec-modal .scribe-recorder__sending .scribe-progress__bar{background:var(--ui-surface-soft);-webkit-appearance:none;appearance:none;border:0;border-radius:999px;width:100%;height:6px;margin:0;display:block;overflow:hidden}.chart-rec-modal .scribe-recorder__sending .scribe-progress__bar::-webkit-progress-bar{background:var(--ui-surface-soft);border-radius:999px}.chart-rec-modal .scribe-recorder__sending .scribe-progress__bar::-webkit-progress-value{background:var(--ui-accent-fill);transition:width .3s var(--ui-ease-out);border-radius:999px}.chart-rec-modal .scribe-recorder__sending .scribe-progress__bar::-moz-progress-bar{background:var(--ui-accent-fill);border-radius:999px}.chart-rec-modal .scribe-recorder--sending{gap:8px}.chart-rec-modal .chart-rec-card__done{text-align:center;justify-items:center;gap:4px;padding:14px 0 8px;display:grid}.chart-rec-modal .chart-rec-card__done strong{font-size:1.05rem}.chart-rec-modal .chart-rec-card__done>span:last-child{color:var(--ui-text-soft);font-size:.8rem}.chart-rec-modal .chart-rec-card__check{background:var(--ui-success-soft);width:52px;height:52px;color:var(--ui-success);animation:chart-rec-in .22s var(--rec-ease) both;border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.chart-rec-modal .chart-rec-pill{box-sizing:border-box;border:1px solid var(--ui-danger-border);background:var(--ui-surface);min-height:40px;color:var(--ui-text);font:inherit;box-shadow:var(--ui-shadow-popover);cursor:pointer;animation:chart-rec-in .16s var(--rec-ease) both;transition:transform .12s var(--rec-ease);border-radius:999px;align-items:center;gap:8px;padding:0 14px 0 12px;font-size:.82rem;font-weight:650;display:inline-flex}.chart-rec-modal .chart-rec-pill:active{transform:scale(.97)}.chart-rec-modal .chart-rec-pill b{font-variant-numeric:tabular-nums;font-weight:700}.chart-rec-modal .chart-rec-pill__word{color:var(--ui-text-soft);font-weight:600}.chart-rec-modal .chart-rec-pill.is-paused{border-color:var(--ui-border-strong)}.chart-rec-modal .chart-rec-pill.is-alert{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.chart-rec-modal .chart-rec-pill:focus-visible{outline:2px solid var(--ui-accent-border);outline-offset:2px}.chart-rec-modal .chart-rec-pill .ay-spinner{width:14px;height:14px}@media (hover:hover) and (pointer:fine){.chart-rec-modal .chart-rec-pill:hover{border-color:var(--ui-danger)}}@media (width<=899px){.chart-rec-modal .chart-rec-card{width:auto;max-width:none;padding:6px 16px calc(14px + env(safe-area-inset-bottom));transform-origin:bottom;border-bottom:0;border-radius:16px 16px 0 0;bottom:0;left:0;right:0}.chart-rec-modal .chart-rec-card__hint{display:none}.chart-rec-modal .chart-rec-card .scribe-stop,.chart-rec-modal .chart-rec-card .scribe-text-button,.chart-rec-modal .chart-rec-card__min{min-height:44px}.chart-rec-modal .chart-rec-card .scribe-stop{max-width:none;height:44px}}@media (hover:none){.chart-rec-modal .chart-rec-card__hint{display:none}}@media (prefers-reduced-motion:reduce){.chart-rec-modal .chart-rec-card,.chart-rec-modal .chart-rec-pill,.chart-rec-modal .chart-rec-card__check{animation:.12s ease-out both chart-rec-fade}.chart-rec-modal .chart-rec-card.is-leaving{animation:none}.chart-rec-modal .chart-rec-pill:active{transform:none}html[data-theme-surface=dashboard] .chart-rec__dot{animation:none}}@keyframes chart-rec-fade{0%{opacity:0}}html[data-theme-surface=dashboard] .chart-shortcuts{gap:10px;margin:0 0 10px;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .chart-shortcuts li{justify-content:space-between;align-items:center;gap:12px;font-size:.86rem;display:flex}html[data-theme-surface=dashboard] .chart-shortcuts__keys{flex:none;order:2;gap:4px;display:inline-flex}html[data-theme-surface=dashboard] .chart-dx__list{counter-reset:chart-dx;gap:6px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .chart-dx__row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);justify-content:space-between;align-items:center;gap:10px;min-height:40px;padding:6px 10px;display:flex}html[data-theme-surface=dashboard] .chart-dx__name{min-width:0;color:var(--ui-text);overflow-wrap:anywhere;font-size:.84rem}html[data-theme-surface=dashboard] .chart-dx__nocode{color:var(--ui-muted);white-space:nowrap;font-size:.72rem}html[data-theme-surface=dashboard] .chart-dx__hint,html[data-theme-surface=dashboard] .chart-dx__confirm{color:var(--ui-text-soft);margin:6px 0 0;font-size:.74rem}html[data-theme-surface=dashboard] .chart-dx__draft{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}html[data-theme-surface=dashboard] .chart-dx__draft .ay-button{gap:6px}html[data-theme-surface=dashboard] .chart-dx__empty{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}html[data-theme-surface=dashboard] .chart-dx__empty p{color:var(--ui-text-soft);margin:0;font-size:.82rem}html[data-theme-surface=dashboard] .chart-note-style-layer{z-index:70;background:var(--ui-canvas);animation:chart-note-style-in .2s var(--ui-ease-out,ease-out);display:flex;position:fixed;inset:0}@keyframes chart-note-style-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}html[data-theme-surface=dashboard] .chart-note-style-layer>.ay-chart-shell{flex:auto;min-width:0;max-width:1180px;margin:0 auto}@media (width>=900px){html[data-theme-surface=dashboard] .chart-note-style-layer>.ay-chart-shell{grid-template-rows:auto auto minmax(0,1fr) auto}html[data-theme-surface=dashboard] .chart-note-style-layer .ay-chart-header{grid-row:1}html[data-theme-surface=dashboard] .chart-note-style-layer .ay-chart-tabs{border-right:0;border-bottom:1px solid var(--ui-border);flex-direction:row;grid-area:2/1;align-items:stretch;gap:4px;padding:8px 18px;display:flex}html[data-theme-surface=dashboard] .chart-note-style-layer .ay-chart-tab{border-radius:999px;gap:6px;width:auto;min-width:max-content;min-height:38px;padding:7px 14px;font-size:.8rem;display:flex}html[data-theme-surface=dashboard] .chart-note-style-layer .ay-chart-tab span{max-width:none}html[data-theme-surface=dashboard] .chart-note-style-layer .ay-chart-body{grid-row:3}html[data-theme-surface=dashboard] .chart-note-style-layer .ay-chart-footer{grid-row:4}}@media (prefers-reduced-motion:reduce){html[data-theme-surface=dashboard] .chart-note-style-layer{animation:none}}html[data-theme-surface=dashboard] .scribe-reported-group{flex-wrap:wrap;align-items:center;gap:2px 6px;min-width:0;margin-right:auto;display:inline-flex}html[data-theme-surface=dashboard] .scribe-reported__review{border-radius:var(--ui-radius-sm);min-height:28px;color:var(--ui-accent);font:inherit;cursor:pointer;transition:background-color .12s var(--ui-ease-out), transform .12s var(--ui-ease-out);background:0 0;border:0;align-items:center;gap:4px;padding:2px 8px;font-size:.74rem;font-weight:650;display:inline-flex}html[data-theme-surface=dashboard] .scribe-reported__review:hover{background:var(--ui-accent-soft);color:var(--ui-accent-hover)}html[data-theme-surface=dashboard] .scribe-reported__review:active{transform:scale(.97)}html[data-theme-surface=dashboard] .scribe-reported__review:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}html[data-theme-surface=dashboard] .scribe-prewritten .scribe-notice__line{font-weight:600}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-reported__review{min-height:44px;padding:0 10px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-section__head:has(.scribe-reported-group){flex-wrap:wrap}html[data-theme-surface=dashboard] .scribe-section__head:has(.scribe-reported-group) h3{flex:1 1 0;min-width:0}html[data-theme-surface=dashboard] .scribe-section__head:has(.scribe-reported-group) .scribe-reported-group{flex:1 0 100%;order:3;margin:-6px 0 2px}}html[data-theme-surface=dashboard] .scribe-em__rows{gap:8px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface=dashboard] .scribe-em__row{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 10px;display:flex}html[data-theme-surface=dashboard] .scribe-em__row.is-kept{border-color:var(--ui-success-border)}html[data-theme-surface=dashboard] .scribe-em__row .scribe-em__code{flex:200px}html[data-theme-surface=dashboard] .scribe-em__row .scribe-em__code b{font-size:.95rem}html[data-theme-surface=dashboard] .scribe-em__row .ay-button{min-height:34px;padding:4px 12px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-em__row .ay-button{min-height:44px}}html[data-theme-surface=dashboard] .scribe-considered__add .ui-input,html[data-theme-surface=dashboard] .scribe-considered__add .ay-button{min-height:40px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-considered__add .ay-button{min-height:44px}}html[data-theme-surface=dashboard] .scribe-autotext{border-color:var(--ui-border-strong);background:var(--ui-surface);width:100%;min-height:40px;margin:0;padding:8px 10px}html[data-theme-surface=dashboard] .scribe-autotext:hover:not(:disabled):not(:focus){border-color:var(--ui-muted)}html[data-theme-surface=dashboard] .scribe-exam-line .scribe-autotext:not(:focus):not(:hover),html[data-theme-surface=dashboard] .scribe-proc__element .scribe-autotext:not(:focus):not(:hover){background:0 0;border-color:#0000}html[data-theme-surface=dashboard] .ay-button.scribe-copy{color:var(--ui-accent);background:0 0;border-color:#0000;font-weight:650}html[data-theme-surface=dashboard] .ay-button.scribe-copy:hover:not(:disabled){background:var(--ui-accent-soft);color:var(--ui-accent-hover);border-color:#0000}html[data-theme-surface=dashboard] .ay-button.scribe-copy.is-copied{color:var(--ui-success)}@media (hover:hover) and (pointer:fine){html[data-theme-surface=dashboard] .scribe-copy--rest{opacity:0;transition:opacity .14s var(--ui-ease-out), background-color .12s var(--ui-ease-out), color .12s var(--ui-ease-out)}html[data-theme-surface=dashboard] .scribe-section:hover>.scribe-section__head .scribe-copy--rest,html[data-theme-surface=dashboard] .scribe-section:focus-within>.scribe-section__head .scribe-copy--rest,html[data-theme-surface=dashboard] .scribe-dx:hover .scribe-copy--rest,html[data-theme-surface=dashboard] .scribe-dx:focus-within .scribe-copy--rest,html[data-theme-surface=dashboard] .scribe-copy--rest:focus-visible,html[data-theme-surface=dashboard] .scribe-copy--rest.is-copied{opacity:1}}html[data-theme-surface=dashboard] .scribe-strip__actions{align-items:center;gap:4px;display:flex}html[data-theme-surface=dashboard] .chart-ready{border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-warning-soft);min-height:36px;color:var(--ui-warning);align-items:flex-start;gap:8px;margin:0 0 10px;padding:6px 12px;font-size:.8rem;display:flex}html[data-theme-surface=dashboard] .chart-ready[aria-busy=true]{background:0 0;border-color:#0000}html[data-theme-surface=dashboard] .chart-ready svg{flex:none;margin-top:7px}html[data-theme-surface=dashboard] .chart-ready ul{flex-wrap:wrap;flex:1 1 0;align-items:center;min-width:0;margin:0;padding:0;list-style:none;display:flex}html[data-theme-surface=dashboard] .chart-ready li:not(:last-child):after{content:"·";color:var(--ui-muted);margin:0 4px 0 6px}html[data-theme-surface=dashboard] .chart-ready__item{border-radius:var(--ui-radius-sm);min-height:28px;color:var(--ui-text);font:inherit;text-decoration:underline;text-decoration-color:var(--ui-warning-border);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:2px 4px;font-weight:650}html[data-theme-surface=dashboard] .chart-ready__item:hover{background:var(--ui-surface);text-decoration-color:currentColor}html[data-theme-surface=dashboard] .chart-ready__item:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}html[data-theme-surface=dashboard] .chart-ready--ok{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success);align-items:center;font-weight:650}html[data-theme-surface=dashboard] .chart-ready--ok svg{margin-top:0}@media (width<=899px){html[data-theme-surface=dashboard] .chart-ready{font-size:.8125rem}html[data-theme-surface=dashboard] .chart-ready svg{margin-top:14px}html[data-theme-surface=dashboard] .chart-ready--ok svg{margin-top:0}html[data-theme-surface=dashboard] .chart-ready__item{min-height:44px;padding-inline:6px}}html[data-theme-surface] .scribe-dx.is-assisted{box-shadow:inset 3px 0 0 var(--ui-warning-border)}html[data-theme-surface] .scribe-dx__assist{color:var(--ui-text-soft);flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:2px 0 0;font-size:.8125rem;line-height:1.35;display:flex}html[data-theme-surface] .scribe-dx__assist-tag{border:1px solid var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:1px 8px;font-weight:700;display:inline-flex}html[data-theme-surface] .scribe-dx__assist-tag svg.lucide{flex:none;width:13px;height:13px}html[data-theme-surface] .scribe-dx__assist-reason{overflow-wrap:anywhere;min-width:0}html[data-theme-surface] .scribe-dx__prompts{flex-wrap:wrap;gap:6px;margin:4px 0 0;padding:0;list-style:none;display:flex}html[data-theme-surface] .scribe-dx__prompt{border:1px dashed var(--ui-border-strong);max-width:100%;min-height:28px;color:var(--ui-text-soft);overflow-wrap:anywhere;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:.8125rem;font-weight:600;line-height:1.3;display:inline-flex}html[data-theme-surface] .scribe-dx__prompt svg.lucide{width:13px;height:13px;color:var(--ui-muted);flex:none}html[data-theme-surface=dashboard] .scribe-dx__assist,html[data-theme-surface=dashboard] .scribe-dx__prompts{margin-left:32px}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-dx__assist,html[data-theme-surface=dashboard] .scribe-dx__prompts{margin-left:0}}@media (width>=900px){html[data-theme-surface=dashboard] .scribe-dx__assist,html[data-theme-surface=dashboard] .scribe-dx__prompt{font-size:.72rem}html[data-theme-surface=dashboard] .scribe-dx__prompt{min-height:24px}}html[data-theme-surface] .scribe-dx-suggest{border:1px dashed var(--ui-warning-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);gap:6px;margin:10px 0 4px;padding:10px 12px;display:grid}html[data-theme-surface] .scribe-dx-suggest__title{color:var(--ui-text-soft);align-items:center;gap:6px;margin:0;font-size:.8125rem;font-weight:700;line-height:1.3;display:flex}html[data-theme-surface] .scribe-dx-suggest__title svg.lucide{width:14px;height:14px;color:var(--ui-warning);flex:none}html[data-theme-surface] .scribe-dx-suggest__list{gap:6px;margin:0;padding:0;list-style:none;display:grid}html[data-theme-surface] .scribe-dx-suggest__item{border-top:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:6px 0;display:flex}html[data-theme-surface] .scribe-dx-suggest__item:first-child{border-top:0}html[data-theme-surface] .scribe-dx-suggest__text{min-width:0;color:var(--ui-text);overflow-wrap:anywhere;gap:2px;font-size:.875rem;line-height:1.35;display:grid}html[data-theme-surface] .scribe-dx-suggest__text small{color:var(--ui-text-soft);font-size:.8125rem}html[data-theme-surface] .scribe-dx-suggest__add{min-height:32px;transition:transform var(--ui-duration-fast) var(--ui-ease-out);flex:none;align-items:center;gap:4px;display:inline-flex}html[data-theme-surface] .scribe-dx-suggest__add:active:not(:disabled){transform:scale(.97)}html[data-theme-surface] .scribe-dx-suggest__add svg.lucide{width:14px;height:14px}@media (width<=899px){html[data-theme-surface] .scribe-dx-suggest__add{min-height:44px}}@media (prefers-reduced-motion:reduce){html[data-theme-surface] .scribe-dx-suggest__add{transition:none}}.ay-theme-switch{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;padding:2px;display:grid}.ay-theme-switch__option{border-radius:calc(var(--ui-radius-sm) - 2px);min-width:0;min-height:30px;color:var(--ui-text-soft);font:inherit;text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out), transform .12s var(--ui-ease-out);background:0 0;border:0;padding:0 6px;font-size:.75rem;font-weight:650;line-height:1;position:relative}.ay-theme-switch__option[aria-checked=true]{background:var(--ui-surface);color:var(--ui-accent);box-shadow:var(--ui-shadow-card)}.ay-theme-switch__option:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}.ay-theme-switch__option:active{transform:scale(.97)}@media (hover:hover) and (pointer:fine){.ay-theme-switch__option[aria-checked=false]:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}.ay-theme-switch__option:after{content:"";position:absolute;inset:-7px 0}@media (prefers-reduced-motion:reduce){.ay-theme-switch__option{transition:none}.ay-theme-switch__option:active{transform:none}}html[data-theme-surface=dashboard] .dashboard-account-theme{padding:2px}html[data-theme-surface=dashboard] .dashboard-account-theme .ay-theme-switch__option{font-size:.72rem}html[data-theme-surface=dashboard] .dashboard-account-manage{border-top:1px solid var(--ui-border);gap:10px;margin:18px 0 8px;padding-top:18px;display:grid}html[data-theme-surface=dashboard] .dashboard-account-manage>h3{color:var(--ui-text);margin:0;font-size:.86rem;font-weight:700}html[data-theme-surface=dashboard] .dashboard-account-manage>p{color:var(--ui-text-soft);margin:0;font-size:.72rem;line-height:1.5}html[data-theme-surface=dashboard] .dashboard-account-manage .ay-button{gap:7px;text-decoration:none}html[data-theme-surface=scribe] .scribe-list__row--theme{padding:4px 10px 4px 16px}html[data-theme-surface=scribe] .scribe-list__row--theme .ay-theme-switch{flex:0 0 min(232px,66%)}html[data-theme-surface=scribe] .scribe-list__row--theme .ay-theme-switch__option{font-size:.88rem}html[data-theme-surface=scribe] .scribe-list__row--theme .scribe-list__label{font-weight:650}.ay-install{top:calc(env(safe-area-inset-top) + 12px);z-index:650;box-sizing:border-box;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-surface);width:min(440px,100vw - 32px);color:var(--ui-text);box-shadow:var(--ui-shadow-dialog);font-family:var(--ui-font);animation:ay-install-in .22s var(--ui-ease-out) both;gap:12px;padding:14px 14px 14px 16px;display:grid;position:fixed;left:50%;translate:-50%}.ay-install[data-state=closing]{pointer-events:none;animation:ay-install-out .14s var(--ui-ease-out) both}@keyframes ay-install-in{0%{opacity:0;transform:translateY(-8px)scale(.98)}to{opacity:1;transform:none}}@keyframes ay-install-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(-6px)}}.ay-install__head{align-items:center;gap:12px;display:flex}.ay-install__icon{object-fit:cover;border-radius:10px;flex:0 0 40px;width:40px;height:40px}.ay-install__text{flex:auto;gap:2px;min-width:0;display:grid}.ay-install__text h2{color:var(--ui-text);margin:0;font-size:.95rem;font-weight:700;line-height:1.25}.ay-install__text p{color:var(--ui-text-soft);margin:0;font-size:.82rem;line-height:1.4}.ay-install__close{width:44px;height:44px;color:var(--ui-muted);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .14s var(--ui-ease-out), color .14s var(--ui-ease-out);background:0 0;border:0;border-radius:50%;flex:0 0 44px;place-items:center;margin:-8px -6px -8px 0;padding:0;display:grid}.ay-install__close:focus-visible{outline:2px solid var(--ui-accent);outline-offset:1px}@media (hover:hover) and (pointer:fine){.ay-install__close:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}}.ay-install__steps{gap:8px;margin:0;padding:0;list-style:none;display:grid}.ay-install__steps li{border-radius:var(--ui-radius-sm);background:var(--ui-surface-soft);min-height:36px;color:var(--ui-text);align-items:center;gap:10px;padding:6px 10px;font-size:.86rem;font-weight:600;line-height:1.3;display:flex}.ay-install__step-icon{border:1px solid var(--ui-accent-border);background:var(--ui-surface);width:28px;height:28px;color:var(--ui-accent);border-radius:8px;flex:0 0 28px;place-items:center;display:grid}.ay-install__step-number{color:var(--ui-muted);font-variant-numeric:tabular-nums}.ay-install__action{justify-content:center;gap:8px;min-height:44px}@media (prefers-reduced-motion:reduce){.ay-install,.ay-install[data-state=closing]{translate:-50%}@keyframes ay-install-in{0%{opacity:0}to{opacity:1}}@keyframes ay-install-out{0%{opacity:1}to{opacity:0}}.ay-install,.ay-install[data-state=closing]{animation-duration:.12s!important}}html[data-theme-surface=dashboard] .dashboard-account-status:empty{display:none}.ay-billing-banner-wrap{box-sizing:border-box;border-bottom:1px solid var(--ui-border);background:var(--ui-surface);width:100%;animation:ay-billing-banner-in .18s var(--ui-ease-out) both;padding:8px 18px}.dashboard-masthead:has(.ay-billing-banner-wrap),html[data-theme-surface=dashboard] .dashboard-masthead:has(.ay-billing-banner-wrap){flex-basis:auto}.ay-billing-banner{--n-tone:var(--ui-info);--n-soft:var(--ui-info-soft);--n-line:var(--ui-info-border);box-sizing:border-box;border:1px solid var(--n-line);border-radius:var(--ui-radius);background:var(--n-soft);color:var(--ui-text);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;column-gap:10px;padding-left:12px;display:grid}.ay-billing-banner--warning{--n-tone:var(--ui-warning);--n-soft:var(--ui-warning-soft);--n-line:var(--ui-warning-border)}.ay-billing-banner--error{--n-tone:var(--ui-danger);--n-soft:var(--ui-danger-soft);--n-line:var(--ui-danger-border)}.ay-billing-banner__icon{color:var(--n-tone);flex:none;margin-top:12px}.ay-billing-banner__body{box-sizing:border-box;min-width:0;min-height:44px;color:var(--ui-text);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:2px 12px;margin:0;padding:8px 0;font-size:.875rem;line-height:1.4;text-decoration:none;display:flex}.ay-billing-banner__cta{text-underline-offset:3px;align-items:center;gap:2px;font-weight:700;text-decoration:underline;display:inline-flex}a.ay-billing-banner__body:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-radius:6px}.ay-billing-banner__close{border-radius:var(--ui-radius);width:44px;height:44px;color:var(--ui-text-soft);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.ay-billing-banner__close:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}@media (hover:hover) and (pointer:fine){.ay-billing-banner__close:hover{background:var(--n-line);color:var(--ui-text)}}html[data-theme-surface=scribe] .ay-billing-banner-wrap{padding:8px max(var(--scribe-gutter), calc((100% - 640px) / 2))}@media (width<=899px){.ay-billing-banner-wrap{padding-inline:12px}}@keyframes ay-billing-banner-in{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.ay-billing-banner-wrap{animation:none}}html[data-theme-surface=dashboard] .scribe-section--flat>.scribe-section__head{margin-bottom:var(--ui-space-3)}html[data-theme-surface=dashboard] .scribe-dx-list{gap:var(--ui-space-4)}html[data-theme-surface=dashboard] .scribe-dx{padding:var(--ui-space-5) var(--ui-space-6) var(--ui-space-6);border-radius:var(--ui-radius-lg);gap:0;display:grid}html[data-theme-surface=dashboard] .scribe-dx__head{gap:var(--ui-space-2);grid-template-columns:28px minmax(0,1fr) auto;align-items:center}html[data-theme-surface=dashboard] .scribe-dx__num{width:28px;height:28px;margin-top:0;font-size:.78rem}html[data-theme-surface=dashboard] .scribe-dx .scribe-autotext.ui-input{box-shadow:none;transition:border-color .12s var(--ui-ease-out), background-color .12s var(--ui-ease-out);background:0 0;border-color:#0000}html[data-theme-surface=dashboard] .scribe-dx .scribe-autotext.ui-input:hover:not(:disabled):not(:focus){border-color:var(--ui-border);background:var(--ui-surface-soft)}html[data-theme-surface=dashboard] .scribe-dx .scribe-autotext.ui-input:focus{border-color:var(--ui-accent);background:var(--ui-surface)}html[data-theme-surface=dashboard] .scribe-dx .scribe-autotext.ui-input::placeholder{color:var(--ui-faint)}html[data-theme-surface=dashboard] .scribe-dx .scribe-dx__name.ui-input{min-height:40px;padding:7px 10px;font-size:1rem;font-weight:650;line-height:1.4}html[data-theme-surface=dashboard] .scribe-dx__code{gap:var(--ui-space-1) var(--ui-space-3);margin:var(--ui-space-1) 0 0 46px}html[data-theme-surface=dashboard] .scribe-dx__desc{color:var(--ui-text-soft);font-size:.8rem;line-height:1.45}html[data-theme-surface=dashboard] .scribe-dx__code-actions{gap:var(--ui-space-1);margin-left:auto}html[data-theme-surface=dashboard] .scribe-dx__code-actions .ay-button.ay-button--quiet{min-height:32px;color:var(--ui-text-soft);background:0 0;border-color:#0000;padding:4px 10px;font-size:.76rem;font-weight:600}html[data-theme-surface=dashboard] .scribe-dx__code-actions .ay-button.ay-button--quiet:hover{background:var(--ui-surface-soft);color:var(--ui-text)}html[data-theme-surface=dashboard] :is(.scribe-dx__carried,.scribe-dx__assist,.scribe-dx__side,.scribe-dx__sidehint,.scribe-dx__prompts){margin-left:46px;margin-top:var(--ui-space-2)}html[data-theme-surface=dashboard] .scribe-dx__items{gap:var(--ui-space-1);margin:var(--ui-space-4) 0 0 22px}html[data-theme-surface=dashboard] .scribe-dx__item{gap:var(--ui-space-1);grid-template-columns:10px minmax(0,1fr) 44px;align-items:start}html[data-theme-surface=dashboard] .scribe-dx__item .scribe-autotext.ui-input{min-height:38px;padding:8px 10px;font-size:.9rem;line-height:1.45}html[data-theme-surface=dashboard] .scribe-dx__bullet{background:var(--ui-text-soft);opacity:.55;width:6px;height:6px;margin:17px 0 0 2px}html[data-theme-surface=dashboard] .scribe-dx__item>.scribe-icon-button{justify-self:end}html[data-theme-surface=dashboard] .scribe-dx__adds{gap:var(--ui-space-1) var(--ui-space-3);margin:var(--ui-space-1) 0 0 46px}html[data-theme-surface=dashboard] .scribe-dx .scribe-dx__adds .scribe-add{min-height:36px;color:var(--ui-accent);background:0 0;border-color:#0000;margin-left:-10px;padding:4px 10px;font-size:.8rem;font-weight:650}html[data-theme-surface=dashboard] .scribe-dx .scribe-dx__adds .scribe-add:hover{background:var(--ui-accent-soft)}html[data-theme-surface=dashboard] .scribe-dx .chart-sg{margin:var(--ui-space-5) 0 0 46px;padding:var(--ui-space-4) var(--ui-space-5);border-radius:var(--ui-radius);background:var(--ui-surface-soft);border:0}html[data-theme-surface=dashboard] .chart-sg__heading{margin:0 0 var(--ui-space-3);color:var(--ui-text-soft);font-size:.8rem;font-weight:650}html[data-theme-surface=dashboard] .chart-sg ul{gap:var(--ui-space-3)}html[data-theme-surface=dashboard] .chart-sg__item{gap:var(--ui-space-3);min-height:36px}@media (width>=900px){html[data-theme-surface=dashboard] .chart-sg__item{grid-template-columns:96px minmax(0,1fr) auto}html[data-theme-surface=dashboard] .chart-sg__item>.chart-sg__tag{justify-self:start}}html[data-theme-surface=dashboard] .chart-sg__tag{background:var(--ui-surface);padding:2px 9px;font-size:.7rem}html[data-theme-surface=dashboard] .chart-sg__text{font-size:.86rem;line-height:1.5}html[data-theme-surface=dashboard] .chart-sg__actions{gap:var(--ui-space-1)}html[data-theme-surface=dashboard] .scribe-sg{gap:var(--ui-space-2);margin-top:var(--ui-space-6);padding:var(--ui-space-5) var(--ui-space-6);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface-soft)}html[data-theme-surface=dashboard] .scribe-sg__head{margin-bottom:var(--ui-space-1)}html[data-theme-surface=dashboard] .scribe-sg__title{font-size:.95rem;font-weight:650}html[data-theme-surface=dashboard] .scribe-sg__list{gap:0}html[data-theme-surface=dashboard] .scribe-sg__row{padding:var(--ui-space-3) 0;border:0;border-top:1px solid var(--ui-border);background:0 0;border-radius:0}html[data-theme-surface=dashboard] .scribe-sg__list>.scribe-sg__row:first-child{padding-top:var(--ui-space-1);border-top:0}html[data-theme-surface=dashboard] .scribe-sg__main{gap:var(--ui-space-1)}html[data-theme-surface=dashboard] .scribe-sg__name{font-size:.9rem}html[data-theme-surface=dashboard] .scribe-sg__reason{font-size:.8rem;line-height:1.5}@media (width<=899px){html[data-theme-surface=dashboard] .scribe-dx{padding:var(--ui-space-4);gap:0}html[data-theme-surface=dashboard] :is(.scribe-dx__code,.scribe-dx__adds,.scribe-dx__carried,.scribe-dx__assist,.scribe-dx__side,.scribe-dx__sidehint,.scribe-dx__prompts){margin-left:0}html[data-theme-surface=dashboard] .scribe-dx__code{margin-top:var(--ui-space-2)}html[data-theme-surface=dashboard] .scribe-dx__code-actions{gap:var(--ui-space-2);margin-left:-10px}html[data-theme-surface=dashboard] .scribe-dx__items{margin-left:0}html[data-theme-surface=dashboard] .scribe-dx .scribe-dx__adds .scribe-add{min-height:44px;margin-left:-10px}html[data-theme-surface=dashboard] .scribe-dx__code-actions .ay-button.ay-button--quiet{min-height:44px;font-size:.8125rem}html[data-theme-surface=dashboard] .scribe-dx .chart-sg{margin:var(--ui-space-4) 0 0;padding:var(--ui-space-3) var(--ui-space-4)}html[data-theme-surface=dashboard] .scribe-sg{margin-top:var(--ui-space-5);padding:var(--ui-space-4)}}