.theme-logo-dark,:root.dark .theme-logo-light{display:none}:root.dark .theme-logo-dark{display:block}:root.dark body{background:var(--page-glow),var(--bg);color:var(--text)}:root.dark,:root.dark :is(.rhaye-shell,.rhaye-quick-overlay,.modal-backdrop,.rhaye-onboarding-backdrop,.schedule-drawer-backdrop){color-scheme:dark;--bg:var(--dark-bg);--bg-soft:var(--dark-bg-soft);--surface:var(--dark-surface);--surface-2:var(--dark-surface-2);--field:var(--dark-field);--border:var(--dark-border);--border-strong:var(--dark-border-strong);--text:var(--dark-text);--text-title:var(--dark-text-title);--text-heading:var(--dark-text-heading);--text-2:var(--dark-text-2);--muted:var(--dark-muted);--label:var(--dark-label);--placeholder:var(--dark-placeholder);--accent:var(--dark-accent);--accent-fill:var(--dark-accent-fill);--accent-fill-soft:var(--dark-accent-fill-soft);--accent-on-fill:var(--dark-accent-on-fill);--primary:var(--ui-action-primary-bg);--primary-hover:var(--ui-action-primary-hover);--success-bg:var(--dark-success-bg);--success-text:var(--dark-success-text);--success-border:var(--dark-success-border);--info-bg:var(--dark-info-bg);--info-text:var(--dark-info-text);--info-border:var(--dark-info-border);--danger-bg:var(--dark-danger-bg);--danger-text:var(--dark-danger-text);--danger-border:var(--dark-danger-border);--danger-solid:var(--dark-danger-solid);--nav-bg:var(--dark-nav-bg);--nav-text:var(--dark-nav-text);--nav-active-bg:var(--dark-nav-active-bg);--nav-active-text:var(--dark-nav-active-text);--focus-ring:var(--dark-focus-ring);--native-canvas:var(--bg);--native-well:var(--surface-2);--native-card:var(--surface);--native-ink:var(--text);--native-muted:var(--muted);--native-hairline:var(--border);--native-rim:var(--dark-rim);--native-shadow:var(--dark-shadow-card);--rhaye-bg:var(--bg);--rhaye-page-soft:var(--surface-2);--rhaye-soft-white:var(--bg);--rhaye-white:var(--surface);--rhaye-surface:var(--surface);--rhaye-surface-card:var(--surface);--rhaye-surface-page:var(--bg);--rhaye-surface-page-soft:var(--bg-soft);--rhaye-surface-raised:var(--surface-2);--rhaye-glass-light:var(--surface);--rhaye-glass-clinical:var(--surface);--rhaye-border:var(--border);--rhaye-ink:var(--text);--rhaye-champagne:var(--accent);--rhaye-muted:var(--muted);--rhaye-midnight:var(--midnight);--rhaye-indigo:var(--accent);--rhaye-lavender:var(--lavender);--rhaye-lavender-tint:var(--accent-fill);--rhaye-lavender-wash:var(--accent-fill-soft);--rhaye-olive:var(--primary);--rhaye-olive-deep:var(--success-text);--rhaye-olive-mist:var(--success-bg);--rhaye-burgundy:var(--danger-text);--rhaye-burgundy-deep:var(--danger-solid);--rhaye-burgundy-tint:var(--danger-bg);--text-primary:var(--text);--text-secondary:var(--text-2);--text-muted:var(--muted);--text-soft:var(--muted);--surface-muted:var(--surface-2);--surface-hover:var(--accent-fill-soft);--background:var(--bg);--primary-dark:var(--ui-action-primary-hover);--primary-soft:var(--accent-fill-soft);--primary-ring:var(--accent);--summary-scheduled-bg:var(--lavender);--summary-scheduled-fg:var(--summary-ink);--summary-progress-bg:var(--primary);--summary-progress-fg:var(--primary-text);--summary-overdue-bg:var(--danger-solid);--summary-overdue-fg:var(--primary-text);--summary-missed-bg:var(--summary-deep-danger);--summary-missed-fg:var(--primary-text);--text-page-title:var(--type-page-size);--text-welcome:var(--type-page-size);--text-section-title:var(--type-section-size);--text-card-title:var(--type-card-size);--text-stat:var(--type-number-size);--text-subtitle:var(--type-secondary-size);--text-body:var(--type-body-size);--text-row-primary:var(--type-body-size);--text-row-secondary:var(--type-secondary-size);--text-table-header:var(--type-caption-size);--text-button:var(--type-label-size);--text-nav:var(--type-secondary-size);--text-nav-mobile:var(--type-caption-size);--text-nav-group:var(--type-nav-group-size);--text-chip:var(--type-caption-size);--text-helper:var(--type-caption-size);--text-label:var(--type-label-size);--text-input:var(--type-input-size);color:var(--text)}:root.dark .rhaye-shell{background:transparent}:root.dark .rhaye-shell .rhaye-main{background:var(--page-glow),var(--bg)}:root.dark .rhaye-shell :is(.rhaye-topbar,.native-chrome){background:var(--nav-bg);border-color:var(--border)}:root.dark .rhaye-shell :is(.rhaye-sidebar,.rhaye-sidebar-footer){background:var(--bg)}:root.dark .rhaye-shell .rhaye-nav-item-active{background:var(--nav-active-bg);color:var(--nav-active-text)}:root.dark .rhaye-shell .rhaye-nav-item-active :is(.rhaye-nav-icon,.rhaye-nav-text,svg){color:var(--nav-active-text)!important}:root.dark .rhaye-shell .rhaye-sidebar-close{background:var(--field);color:var(--text);border-color:var(--border)}:root.dark .rhaye-shell :is(.rhaye-brand-mark,.rhaye-account-avatar,.rhaye-user-avatar){color:var(--on-midnight);background:var(--midnight);border-color:var(--border-strong)}:root.dark .rhaye-shell :is(.rhaye-client-avatar,.client-registry-monogram,.dashboard-client-avatar,.rhaye-profile-avatar){display:inline-grid;place-items:center;flex-shrink:0;background:var(--midnight)!important;color:var(--accent)!important;border:1px solid var(--border-strong);font-size:var(--type-label-size)!important;font-weight:var(--type-weight-strong)!important;line-height:1;opacity:1}:root.dark .rhaye-shell .staff-profile-photo>span{color:var(--accent)}:root.dark .rhaye-shell :is(.card,.panel,.detail-card,.dashboard-panel,.client-registry-row,.staff-mobile-card,.client-profile-header,.client-glance-card,.client-module-card,.staff-home-section,.staff-home-state,.rhaye-profile-section,.rhaye-profile-identity-card,.care-plan-summary,.care-plan-needs,.care-plan-reviews,.client-section-block,.schedule-toolbar,.schedule-empty,.incident-card,.attention-row,.clinical-observations,.clinical-card,.client-visit-card,.next-visit){background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:var(--dark-shadow-card)}:root.dark .rhaye-shell :is(.rhaye-care-form,.phase9-form,.phase9-inline-form,.care-plan-need-list>li,.care-plan-reviews li,.care-profile-item-card,.schedule-date-controls,.rhaye-dossier-details){background:var(--surface-2);color:var(--text);border-color:var(--border)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell,.auth) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):not(:where(.msg-search input)){background:var(--field)!important;color:var(--text)!important;border:1px solid var(--border);border-radius:16px;min-height:54px;padding:0 16px;font-size:var(--type-input-size)!important;transition:border-color .2s,box-shadow .2s,background .2s}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell,.auth) textarea{min-height:96px;padding:14px 16px!important;resize:vertical}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell,.auth) :is(input,textarea)::placeholder{color:var(--placeholder)!important;opacity:1}:root.dark select option{background:var(--surface);color:var(--text)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell,.auth) :is(input,select,textarea):hover{border-color:var(--border-strong)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell,.auth) :is(input,select,textarea,button,a,summary):focus-visible{outline:0;border-color:var(--accent);box-shadow:var(--focus-ring)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell,.auth) input:-webkit-autofill{-webkit-text-fill-color:var(--text);-webkit-box-shadow:0 0 0 60px var(--surface-2) inset;caret-color:var(--text)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell,.auth) :is(button,input,textarea,select):disabled{opacity:.55}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.primary-button,.btn-primary,.rhaye-quick-primary,.rhaye-field-action,.client-registry-add,.btn-login){background:var(--primary);color:var(--primary-text);border-color:var(--primary)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.primary-button,.btn-primary,.rhaye-quick-primary):hover{background:var(--primary-hover)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.secondary-button,.icon-button,.rhaye-menu-button,.rhaye-mobile-utility-button,.text-button,.ghost-button,.rhaye-profile-action-row){background:var(--field);color:var(--text);border-color:var(--border)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.danger-button,.btn-danger,.destructive-button){background:var(--danger-solid);color:var(--danger-on-solid);border-color:var(--danger-border)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.status-badge,.status-chip,.rhaye-chip,.incident-status,.client-registry-status){background:var(--success-bg);color:var(--success-text);border-color:var(--success-border)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.client-registry-onboarding,.status-info,.care-plan-status-under_review){background:var(--info-bg);color:var(--info-text);border-color:var(--info-border)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.status-danger,.status-warning,.status-badge-pending,.incident-severity-high,.attention-chip-high,.attention-chip-critical,.error-banner,.auth-error,.incident-status-action_required,.care-profile-safety-guidance){background:var(--danger-bg);color:var(--danger-text);border-color:var(--danger-border)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(.schedule-view-tabs,.client-workspace-nav,.incident-tabs){background:var(--surface-2);color:var(--text-2)}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is([aria-selected=true],.client-workspace-nav-active,.incident-tabs .is-selected){background:var(--accent-fill);color:var(--accent-on-fill)}:root.dark .rhaye-shell :is(table,thead,tbody,tr,td){background:var(--surface);color:var(--text);border-color:var(--border)}:root.dark .rhaye-shell th{background:var(--surface-2);color:var(--label);border-color:var(--border);font-size:var(--type-caption-size)!important}:root.dark .rhaye-shell tbody tr:hover{background:var(--accent-fill-soft)}:root.dark :is(.rhaye-quick-dialog,.modal,.rhaye-onboarding,.schedule-drawer,.rhaye-account-menu,.rhaye-organisation-menu,.rhaye-mobile-utility-popover,[role=tooltip],[role=status].toast,.snackbar,.rhaye-field-more-menu){background:var(--surface);color:var(--text);border-color:var(--border-strong);box-shadow:var(--dark-shadow-card)}:root.dark :is(.rhaye-quick-dialog-header,.rhaye-quick-dialog-footer,.rhaye-quick-dialog-body,.modal-header,.modal-body,.modal-footer,.schedule-drawer-body,.schedule-drawer>header,.schedule-drawer>footer,.rhaye-onboarding-header,.rhaye-onboarding-body,.rhaye-onboarding-footer,.rhaye-dossier-section,.rhaye-dossier-identity){background:var(--surface);color:var(--text);border-color:var(--border)}:root.dark :is(.modal-backdrop,.rhaye-quick-overlay,.schedule-drawer-backdrop,.rhaye-onboarding-backdrop,.rhaye-mobile-overlay){background:var(--overlay)}:root.dark .rhaye-shell .rhaye-mobile-nav{--dock-surface:var(--nav-bg);--dock-foreground:var(--nav-text);--dock-selected:var(--nav-active-bg);--dock-selected-foreground:var(--nav-active-text);background:var(--nav-bg);border-color:var(--border);box-shadow:var(--dark-shadow-card)}:root.dark .care-profile-save-success{margin:8px 0;padding:10px 12px;border:1px solid var(--success-border);border-radius:12px;background:var(--success-bg);color:var(--success-text)}:root.dark .rhaye-shell .rhaye-mobile-nav .rhaye-mobile-nav-link{color:var(--nav-text)!important;font-size:var(--type-caption-size)!important}:root.dark .rhaye-shell .rhaye-mobile-nav .rhaye-mobile-nav-active{color:var(--nav-active-text)!important}:root.dark .rhaye-shell .rhaye-mobile-nav .native-sliding-pill{background:var(--nav-active-bg)}:root.dark .rhaye-shell .rhaye-mobile-nav .rhaye-field-destination svg{background:var(--primary);color:var(--primary-text)!important;border-color:var(--primary)}:root.dark .rhaye-shell .native-island{background:var(--midnight);color:var(--on-midnight)}:root.dark .rhaye-shell .native-live-dot{background:var(--success-text)}:root.dark .rhaye-shell .native-island-offline .native-live-dot{background:var(--danger-text)}:root.dark .rhaye-shell .native-theme-toggle{background:var(--accent-fill)}:root.dark .rhaye-shell .native-theme-toggle>span{background:var(--nav-active-bg);color:var(--nav-active-text)}:root.dark .rhaye-shell .today-summary-bar{background:var(--surface);border-color:var(--border);box-shadow:var(--dark-shadow-card)}:root.dark .rhaye-shell .today-summary-heading{background:var(--midnight)}:root.dark .rhaye-shell .today-summary-bar .today-summary-heading span{color:var(--accent)!important}:root.dark .rhaye-shell .today-summary-footer{background:var(--surface-2);color:var(--text-2)}:root.dark .rhaye-shell .clinical-body-map{background:var(--surface-2);color:var(--text)}:root.dark .rhaye-shell progress{accent-color:var(--accent)}:root.dark :is(.rhaye-offline-page,.rhaye-app-error,.organisation-provider-state){background:var(--bg);color:var(--text)}:root.dark :is(.rhaye-offline-card,.auth-sheet){background:var(--surface);color:var(--text);border:1px solid var(--border)}:root.dark .rhaye-offline-card a{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}:root.dark .rhaye-preview-view-tabs{background:var(--surface-2);color:var(--text-2)}:root.dark .rhaye-preview-view-tabs b{background:var(--accent-fill);color:var(--accent)}:root.dark .rhaye-preview-field-status{background:var(--success-bg);color:var(--success-text)}:root.dark .rhaye-preview-visit-list small{color:var(--accent)}:root.dark .rhaye-preview-visit-list em.is-active{background:var(--success-bg);color:var(--success-text)}:root.dark .rhaye-preview-visit-list em.is-planned{background:var(--info-bg);color:var(--info-text)}:root.dark .rhaye-public-brand-mark{background:var(--midnight);color:var(--accent);border-color:var(--border-strong)}:root.dark .auth .f label{color:var(--label)}:root.dark .auth .f input{padding-top:18px}:root.dark .auth .f input:is(:focus,:not(:placeholder-shown))+label{color:var(--accent)}:root.dark .rhaye-shell #care-profile{--care-surface:var(--surface);--care-well:var(--surface-2);--care-input:var(--field);--care-ink:var(--text);--care-muted:var(--text-2);--care-border:var(--border-strong);--care-focus:var(--accent);--care-selected:var(--accent-fill);--care-selected-ink:var(--accent)}:root.dark .rhaye-shell #care-profile :is(.detail-card,.care-profile-editor-card){background:var(--surface);border-color:var(--border);box-shadow:var(--dark-shadow-card)}:root.dark .rhaye-shell #care-profile :is(.care-profile-subsection,.care-profile-choice-field,.care-profile-item-card,.care-profile-empty-record){background:var(--surface-2);border-color:var(--border)}:root.dark .rhaye-shell #care-profile :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--field)!important;color:var(--text)!important;border-color:var(--border-strong);min-height:54px;font-size:var(--type-input-size)!important;padding-inline:16px}:root.dark .rhaye-shell #care-profile .care-profile-choice-options button{background:var(--field);color:var(--text)!important;border-color:var(--border-strong)}:root.dark .rhaye-shell #care-profile .care-profile-choice-options .care-profile-choice-active{background:var(--accent-fill);color:var(--accent)!important;border-color:var(--accent)}:root.dark .rhaye-shell #care-profile .care-profile-choice-active .care-profile-choice-tick{background:var(--accent);color:var(--nav-active-text);border-color:var(--accent)}:root.dark .rhaye-shell #care-profile .care-profile-choice-tick{background:transparent;border-color:var(--border-strong)}:root.dark .rhaye-shell #care-profile .primary-button{background:var(--primary);color:var(--primary-text)}:root.dark .rhaye-shell #care-profile :is(.care-profile-add-button,.secondary-button){background:var(--field);color:var(--text);border-color:var(--border-strong)}:root.dark .rhaye-shell #care-profile :is(.care-profile-remove-button,.care-profile-safety-guidance){background:var(--danger-bg);color:var(--danger-text);border-color:var(--danger-border)}:root.dark .rhaye-shell #care-profile .care-profile-safety-guidance :is(strong,span,svg){color:var(--danger-text)}:root.dark .rhaye-shell #care-profile :is(input[type=checkbox]:not([role=switch]),input[type=radio]),:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) :is(input[type=checkbox]:not([role=switch]),input[type=radio]){-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;width:20px;height:20px;min-width:20px;min-height:20px;max-width:20px;padding:0;margin:0;flex:0 0 20px;accent-color:var(--accent);border-color:var(--border-strong);box-shadow:none}:root.dark :is(.rhaye-shell,.rhaye-workflow-shell) label:has(>input:is([type=checkbox],[type=radio])){display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px}:root.dark .rhaye-shell #care-profile .care-profile-choice-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;padding:12px 14px;min-height:64px}:root.dark .rhaye-shell #care-profile .care-profile-choice-label{min-width:0;margin:0;color:var(--label)!important;overflow-wrap:anywhere;font-size:var(--type-label-size)!important;line-height:var(--type-line-label)!important}:root.dark .rhaye-shell #care-profile .care-profile-choice-options{display:grid;grid-template-columns:repeat(2,minmax(60px,1fr));grid-gap:6px;gap:6px}:root.dark .rhaye-shell #care-profile .care-profile-choice-options button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:60px;padding:8px 10px;border-radius:10px;font-size:var(--type-label-size)!important;line-height:var(--type-line-label)}:root.dark .rhaye-shell #care-profile .care-profile-choice-options .care-profile-choice-tick{display:inline-grid;place-items:center;width:16px;height:16px;min-width:16px;flex:0 0 16px;padding:0;margin:0;border-radius:50%;box-shadow:none}:root.dark .rhaye-shell #care-profile .care-profile-choice-tick svg{width:12px;height:12px}:root.dark .rhaye-shell #care-profile :is(.care-profile-subsection-heading,.care-profile-items-heading){align-items:center;gap:12px}:root.dark .rhaye-shell #care-profile :is(.care-profile-subsection-heading>div,.care-profile-items-title>div){min-width:0}:root.dark .rhaye-shell #care-profile :is(.care-profile-subsection-heading strong,.care-profile-empty-record strong,.care-profile-item-card-header strong,.detail-list dd,.detail-list dd span,.detail-list strong){color:var(--text)!important}:root.dark .rhaye-shell #care-profile .detail-list dt{color:var(--muted)!important}:root.dark .rhaye-shell #care-profile :is(.care-profile-add-button,.care-profile-remove-button) :is(span,svg){color:inherit}:root.dark ::-webkit-scrollbar{width:8px;height:8px;background:var(--bg)}:root.dark ::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border-radius:8px}:root.dark *{scrollbar-color:var(--scroll-thumb) var(--bg)}body,html{transition:background-color .2s,color .2s}@media (prefers-reduced-motion:reduce){body,html{transition:none}}@media print{:root.dark,:root.dark .rhaye-shell,:root.dark body{color-scheme:light;background:var(--light-bg)!important;color:var(--midnight)!important}:root.dark .rhaye-shell *{color:var(--midnight)!important;background:transparent!important;box-shadow:none!important;border-color:var(--midnight)}.native-chrome,.native-home-indicator,.rhaye-mobile-nav,.rhaye-sidebar{display:none!important}}*,:after,:before{box-sizing:border-box}body,html{width:100%}body,canvas,html,iframe,img,svg,video{max-width:100%}fieldset{min-width:0;border:0;padding:0;margin:0}.app-main,.card,.page,.panel,.rhaye-shell .client-care-plan,.rhaye-shell .client-detail-page,.rhaye-shell .client-quick-dossier,.rhaye-shell .client-section-block,.rhaye-shell .detail-card,.rhaye-shell .my-workforce,.rhaye-shell .page-section,.rhaye-shell .panel,.rhaye-shell .rhaye-page,.rhaye-shell .staff-quick-view,.rhaye-shell .tab-panel,.tab-panel{min-width:0;max-width:100%}:where(div,section,form,main,article)>*{min-width:0}:where(h1,h2,h3,h4,p,label,li,small,legend){overflow-wrap:break-word}.break-long{overflow-wrap:anywhere}button,input,select,textarea{min-width:0;max-width:100%;font:inherit}input[type=date],input[type=datetime-local],input[type=time]{width:100%;min-width:0;max-width:100%}.form-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:16px 14px;gap:16px 14px;max-width:100%}.form-grid,.form-grid>*{min-width:0}.form-grid .span-all{grid-column:1/-1}.form-grid.dates{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}.field{display:grid;grid-gap:8px;gap:8px;min-width:0}.field>label{overflow-wrap:break-word}.field :is(input,select,textarea){width:100%;min-width:0;min-height:52px;border-radius:14px}.field textarea{min-height:96px}.medication-manager-fieldset{min-width:0}.medication-manager-fieldset legend{float:none;width:auto;max-width:100%;margin:0 0 12px;padding:0;font:inherit;font-size:var(--type-section-size);font-weight:var(--type-weight-strong);text-transform:none}.actions,.form-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.actions>*,.form-actions>*{min-width:max-content;white-space:nowrap}.page-head{display:flex;flex-direction:row;flex-wrap:wrap;min-width:0;max-width:100%;gap:12px;align-items:flex-start;justify-content:space-between}.page-head .head-text{flex:1 1 240px;min-width:0}.page-head .head-action{flex:0 0 auto;white-space:nowrap}.rhaye-shell .client-detail-page :is(.client-workspace-nav,.phase9-tabs),.rhaye-shell .rhaye-scroll-tabs{display:flex;min-width:0;max-width:100%;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;-webkit-overflow-scrolling:touch;padding:6px;border-radius:16px}.rhaye-shell .client-detail-page :is(.client-workspace-nav,.phase9-tabs)::-webkit-scrollbar,.rhaye-shell .rhaye-scroll-tabs::-webkit-scrollbar{height:4px}.rhaye-shell .client-detail-page .client-workspace-nav>*,.rhaye-shell .phase9-tabs>*,.rhaye-shell .rhaye-scroll-tabs>*{flex:0 0 auto;scroll-snap-align:center}.rhaye-shell .client-detail-page .client-workspace-nav button,.rhaye-shell .phase9-tabs button{min-height:44px;white-space:nowrap}.rhaye-shell .client-detail-page .phase9-form-grid,.rhaye-shell .client-detail-page .phase9-inline-form .authority-dates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));min-width:0;max-width:100%}.rhaye-shell .client-detail-page .phase9-form-grid>*,.rhaye-shell .client-detail-page .phase9-inline-form .authority-dates-grid>*{min-width:0}.rhaye-shell .client-detail-page .phase9-form-grid>label,.rhaye-shell .client-detail-page :is(.phase9-form,.phase9-inline-form)>label{min-width:0;overflow-wrap:break-word;word-break:normal}.rhaye-shell .client-detail-page :is(.phase9-form,.phase9-inline-form) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;min-height:44px;border-radius:13px;padding-inline:12px 34px}.rhaye-shell .client-detail-page :is(.phase9-form,.phase9-inline-form) textarea{min-height:88px;padding:12px}.rhaye-shell .client-detail-page .consent-decision-maker-field,.rhaye-shell .client-detail-page .consent-representative-field,.rhaye-shell .client-detail-page .future-planning-issuer-field{grid-column:1/-1}.rhaye-shell .client-detail-page .consent-decision-maker-field{grid-column:auto}.rhaye-shell .client-detail-page .phase9-form-grid.dates{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:10px}.rhaye-shell .client-detail-page .phase9-form-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.rhaye-shell .client-detail-page .phase9-form-actions button{min-width:max-content;min-height:46px;white-space:nowrap}.rhaye-shell .client-care-plan-header,.rhaye-shell .client-communications>header,.rhaye-shell .client-profile-header,.rhaye-shell .clinical-observations>header,.rhaye-shell .phase9-panel-heading,.rhaye-shell .section-heading,.rhaye-shell .staff-registry-heading{min-width:0;max-width:100%;flex-direction:row;flex-wrap:wrap;align-items:flex-start}.rhaye-shell :is(.client-care-plan-header,.client-profile-header,.section-heading,.phase9-panel-heading,.client-communications>header)>:first-child{flex:1 1 240px;min-width:0}.rhaye-shell :is(.client-care-plan-header,.client-profile-header,.section-heading,.phase9-panel-heading,.client-communications>header)>:last-child{min-width:0;max-width:100%}.rhaye-shell .client-profile-actions{display:flex;flex-wrap:wrap;min-width:0;max-width:100%;gap:8px}.rhaye-shell .client-profile-header .client-profile-actions>button{width:auto;flex:0 0 auto;white-space:nowrap}.rhaye-shell .client-detail-page .clinical-observations-actions,.rhaye-shell .clinical-observations-actions{display:flex;flex-wrap:wrap;width:auto;min-width:0;max-width:100%;gap:10px}.rhaye-shell .client-detail-page .clinical-observations-actions>button,.rhaye-shell .clinical-observations-actions>button{width:auto;min-width:0;max-width:100%;min-height:44px;white-space:nowrap}.rhaye-shell .clinical-observations :is(.clinical-observation-summary,li,.clinical-observation-row){min-width:0;overflow-wrap:anywhere}.rhaye-shell .medication-manager,.rhaye-shell .medication-manager-fieldset,.rhaye-shell .medication-manager-grid,.rhaye-shell .medication-manager>*,.rhaye-shell .medication-schedule-row{min-width:0;max-width:100%}.rhaye-shell .medication-manager-fieldset{width:100%}.rhaye-shell .medication-manager-fieldset legend{max-width:100%;white-space:normal;overflow-wrap:break-word}.rhaye-shell .medication-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rhaye-shell .medication-manager-field,.rhaye-shell .medication-manager-field :is(input,select,textarea){min-width:0;max-width:100%;width:100%}.rhaye-shell .medication-manager-header{min-width:0}.rhaye-shell .medication-manager-stepper{display:flex;max-width:100%;min-width:0;gap:10px;overflow-x:auto;scrollbar-width:none}.rhaye-shell .medication-manager-stepper::-webkit-scrollbar{display:none}.rhaye-shell .medication-manager-stepper>li{flex:0 0 auto}.rhaye-shell .medication-manager-compact-stepper{display:none}.rhaye-shell .medication-manager-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.rhaye-shell .medication-manager-actions>button{min-width:max-content;min-height:48px;white-space:nowrap}.rhaye-shell .client-communications-filters{min-width:0;max-width:100%;flex-wrap:wrap;align-items:flex-start}.rhaye-shell .client-communications-type-filters{display:flex;flex:1 1 100%;min-width:0;max-width:100%;flex-wrap:nowrap;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:2px}.rhaye-shell .client-communications-type-filters::-webkit-scrollbar{display:none}.rhaye-shell .client-communications-type-filters>button{flex:0 0 auto;min-height:44px;padding-inline:14px;border:1px solid var(--border);border-radius:99px;background:var(--surface);color:var(--muted);font-size:var(--type-caption-size);font-weight:var(--type-weight-medium);text-transform:none;white-space:nowrap}.rhaye-shell .client-communications-type-filters>button[aria-pressed=true]{border-color:var(--ui-selected-bg);background:var(--ui-selected-bg);color:var(--ui-selected-fg);font-weight:var(--type-weight-strong)}.rhaye-shell .client-communications-audience-filter{width:100%;min-width:0;max-width:100%}.rhaye-shell .client-communications-audience-segment{display:grid;width:100%;min-width:0;max-width:100%;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-gap:4px;gap:4px;padding:4px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2)}.rhaye-shell .client-communications-audience-segment>button{min-width:0;min-height:44px;padding-inline:8px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:var(--type-caption-size);font-weight:var(--type-weight-medium);white-space:nowrap}.rhaye-shell .client-communications-audience-segment>button[aria-checked=true]{background:var(--ui-selected-bg);color:var(--ui-selected-fg);font-weight:var(--type-weight-strong);box-shadow:inset 0 0 0 1px var(--info-border)}.client-quick-dialog{width:min(420px,100%);min-width:0;max-width:100%}.client-quick-dialog :is(.rhaye-dossier-identity,.rhaye-dossier-section,.rhaye-dossier-definition-list,.rhaye-dossier-care-grid){min-width:0;max-width:100%}.client-quick-dialog .rhaye-dossier-care-grid span,.client-quick-dialog .rhaye-dossier-definition-list dd{min-width:0;overflow-wrap:anywhere}.staff-quick-dialog{width:min(760px,100%);min-width:0;max-width:100%}.staff-quick-view{display:grid;align-content:start;grid-gap:16px;gap:16px;width:100%;min-width:0;max-width:100%}.staff-quick-view .rhaye-dossier-details{display:grid;grid-gap:8px;gap:8px;min-width:0;max-width:100%}.staff-quick-view .rhaye-dossier-details>label{width:100%;min-width:0;max-width:100%}.staff-quick-view .rhaye-dossier-details :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;max-width:100%}.staff-quick-view :is(.rhaye-dossier-identity,.rhaye-dossier-section){min-width:0;max-width:100%}.staff-quick-view :is(p,dd,span){overflow-wrap:anywhere}@media (max-width:639px){.rhaye-shell .medication-manager-stepper{display:none}.rhaye-shell .medication-manager-compact-stepper{display:grid;grid-gap:8px;gap:8px;min-width:0}.rhaye-shell .medication-manager-compact-stepper .bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:4px;gap:4px}.rhaye-shell .medication-manager-compact-stepper .bar i{height:4px;border-radius:4px;background:var(--border)}.rhaye-shell .medication-manager-compact-stepper .bar i.done{background:var(--accent)}.rhaye-shell .medication-manager-grid{grid-template-columns:minmax(0,1fr)}.rhaye-shell .medication-manager-field-wide{grid-column:auto}.rhaye-shell .medication-manager-actions{position:-webkit-sticky;position:sticky;bottom:calc(var(--nav-h, 82px) + env(safe-area-inset-bottom) + 8px);z-index:3;flex-direction:column-reverse;padding:12px 0;background:linear-gradient(to top,var(--surface) 70%,transparent)}.rhaye-shell .medication-manager-actions>button{width:100%}.rhaye-shell .client-communications-filters{display:grid}.form-grid.dates,.rhaye-shell .client-detail-page .consent-fields-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}.rhaye-shell .client-detail-page .consent-decision-maker-field{grid-column:1/-1}.rhaye-shell .client-detail-page .future-planning-form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}.rhaye-shell .client-detail-page .future-planning-issuer-field{grid-column:1/-1}.rhaye-shell .client-detail-page .phase9-inline-form .authority-dates-grid{gap:10px}}@media (min-width:560px){.form-grid,.rhaye-shell .client-detail-page .phase9-form-grid,.rhaye-shell .client-detail-page .phase9-inline-form .authority-dates-grid,.rhaye-shell .medication-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rhaye-shell .client-communications-filters{display:flex;align-items:flex-end}.rhaye-shell .client-communications-type-filters{flex:1 1 60%}.rhaye-shell .client-communications-audience-filter{flex:0 1 280px}}@media (min-width:960px){.rhaye-shell .form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.rhaye-shell .client-detail-page :is(.phase9-form,.phase9-inline-form){max-width:960px}.rhaye-shell .medication-manager{max-width:960px}}@media (max-width:559px){.actions,.form-actions{flex-direction:column-reverse}.actions>*,.form-actions>*{width:100%;min-height:48px}.page-head .head-action,.page-head .head-action.btn{width:100%}.rhaye-shell .client-detail-page .phase9-form-actions{flex-direction:column-reverse}.rhaye-shell .client-detail-page .phase9-form-actions>button{width:100%;min-height:48px;flex:0 0 auto}.rhaye-shell .client-detail-page .client-profile-actions{width:100%;justify-content:flex-start;align-items:center}.rhaye-shell :is(.client-care-plan-header,.client-profile-header,.section-heading,.phase9-panel-heading,.client-communications>header)>:last-child{flex:1 1 100%}.rhaye-shell .client-care-plan-header>button,.rhaye-shell .client-communications>header>button,.rhaye-shell .client-profile-actions>button{width:auto;flex:0 0 auto;white-space:nowrap}.rhaye-shell #care-profile .section-heading>.head-action{width:auto;flex:0 0 auto}}@media (max-width:359px){.form-grid.dates,.rhaye-shell .client-detail-page .consent-fields-grid,.rhaye-shell .client-detail-page .phase9-form-grid,.rhaye-shell .client-detail-page .phase9-form-grid.dates,.rhaye-shell .client-detail-page .phase9-inline-form .authority-dates-grid{grid-template-columns:minmax(0,1fr)}.rhaye-shell .client-detail-page .consent-decision-maker-field,.rhaye-shell .client-detail-page .future-planning-form-grid>label{grid-column:auto}}@media (min-width:360px) and (max-width:559px){.rhaye-shell .client-detail-page .phase9-form-grid.dates,.rhaye-shell .client-detail-page .phase9-inline-form .authority-dates-grid{gap:10px}}.rhaye-shell .rhaye-sidebar .rhaye-nav-group>h2{color:var(--app-icon-accent)!important}.rhaye-shell :is(.rhaye-user-avatar,.rhaye-account-avatar,.rhaye-staff-drawer-avatar,.rhaye-profile-avatar,.rhaye-client-avatar,.rhaye-dossier-monogram,.client-registry-monogram,.phase9-person-avatar,.msg-avatar,.staff-avatar,.client-table-avatar,.dashboard-client-avatar,.client-glance-avatar,.client-glance-person-avatar){border-color:var(--app-icon-accent);background:var(--midnight);color:var(--app-icon-accent)}.rhaye-shell .staff-profile-photo-image>span{background:var(--midnight);color:var(--app-icon-accent)}@media (min-width:1024px){.staff-quick-dialog{width:min(560px,100%);height:100dvh;max-height:100dvh;border-radius:18px 0 0 18px}.rhaye-quick-overlay:has(.staff-quick-dialog){padding:0;justify-items:end;align-items:stretch}}@media (max-width:900px){.rhaye-shell .rhaye-topbar-left>.native-theme-toggle{display:flex}.rhaye-shell .rhaye-mobile-utility-popover[role=dialog] h2{margin:0 0 7px}.rhaye-shell .rhaye-mobile-utility-popover[role=dialog]>p{margin:0 0 12px}html:has(.rhaye-shell){scroll-padding-bottom:calc(120px + env(safe-area-inset-bottom))}.rhaye-shell .rhaye-main{padding-bottom:0}.rhaye-shell .rhaye-page{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.rhaye-shell .rhaye-field-sticky-action{bottom:calc(90px + env(safe-area-inset-bottom))}.rhaye-shell .client-detail-page .client-profile-header>:first-child{flex:0 1 auto}.rhaye-shell .client-detail-page .client-profile-header>:last-child{flex:0 0 auto}.rhaye-shell .client-workspace-nav,.rhaye-shell .management-visits-tabs,.rhaye-shell .medication-round-tabs,.rhaye-shell .phase9-tabs,.rhaye-shell .schedule-view-tabs{max-width:100%;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.rhaye-shell .client-workspace-nav>*,.rhaye-shell .management-visits-tabs>*,.rhaye-shell .medication-round-tabs>button,.rhaye-shell .phase9-tabs>*,.rhaye-shell .schedule-view-tabs>*{flex:0 0 auto;white-space:nowrap}.rhaye-shell .medication-round-tabs>button{min-width:max-content}.rhaye-shell .attention-workspace-header{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:0 0 0 12px;border:0;border-left:3px solid var(--primary);border-radius:0;background:none;background-image:none;box-shadow:none}.rhaye-shell .attention-workspace-header>div{min-width:0}}@media (max-width:900px){.rhaye-shell .attention-workspace-header :is(h1,.page-title){margin:0;color:var(--native-ink)}.rhaye-shell .attention-workspace-header :is(p,.page-description){margin:3px 0 0;color:var(--native-muted);font-size:var(--text-helper);line-height:1.4}.rhaye-shell .attention-workspace-header>button{flex:0 0 auto;min-height:40px;padding-inline:10px}.rhaye-shell .attention-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.rhaye-shell .attention-summary>div{min-width:0;padding:10px;border-radius:12px}.rhaye-shell .attention-summary span{font-size:var(--type-caption-size);line-height:1.25}.rhaye-shell .attention-summary strong{margin-top:3px;font-size:var(--type-section-size)}.rhaye-shell .documents-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-block:12px}.rhaye-shell .documents-summary>*{min-width:0;padding:9px 10px}.rhaye-shell .documents-summary>* span{font-size:var(--type-caption-size);line-height:1.25}.rhaye-shell .documents-summary>* strong{font-size:var(--type-section-size)}.rhaye-shell .actions-workspace:not(.actions-workspace-compact) .documents-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-gap:8px;gap:8px;align-items:end;margin-block:12px}.rhaye-shell .actions-workspace:not(.actions-workspace-compact) .documents-toolbar>label:first-child{min-width:0}.rhaye-shell .actions-workspace:not(.actions-workspace-compact) .documents-refresh-button{width:44px;min-width:44px;min-height:44px;padding:0}.rhaye-shell .actions-workspace:not(.actions-workspace-compact) .documents-refresh-label{display:none}.rhaye-shell .actions-workspace:not(.actions-workspace-compact)>.workspace-empty{display:grid;grid-template-columns:30px minmax(0,1fr);grid-gap:4px 10px;gap:4px 10px;align-items:center;margin:8px 0;padding:14px;border:1px solid var(--native-hairline);border-left:3px solid var(--primary);border-radius:14px;background:var(--native-well);text-align:left}.rhaye-shell .actions-workspace:not(.actions-workspace-compact)>.workspace-empty svg{grid-row:span 2;color:var(--primary)}.rhaye-shell .actions-workspace:not(.actions-workspace-compact)>.workspace-empty :is(h2,p){margin:0}.rhaye-shell .actions-workspace:not(.actions-workspace-compact) .action-form,.rhaye-shell .documents-workspace:not(.documents-workspace-compact) .document-form{scroll-margin-top:calc(72px + env(safe-area-inset-top))}.rhaye-shell .rhaye-mobile-utility-popover[role=dialog]{position:absolute;top:calc(100% + 8px);right:0;z-index:65;width:min(360px,calc(100vw - 24px));max-height:min(70dvh,480px);overflow:auto;box-sizing:border-box;padding:16px;border:1px solid var(--native-hairline);border-radius:16px;background:var(--native-card);color:var(--native-ink);box-shadow:var(--native-shadow);-webkit-backdrop-filter:none;backdrop-filter:none}.rhaye-shell .rhaye-mobile-utility-popover[role=dialog]>p{color:var(--native-ink);line-height:1.5}.rhaye-shell .rhaye-push-reminder-details{margin-top:14px;padding-top:12px;border-top:1px solid var(--native-hairline)}.rhaye-shell .rhaye-notification-inbox{margin-block:10px 4px;max-height:38dvh;overflow:auto}.rhaye-shell .rhaye-notification-inbox-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}.rhaye-shell .rhaye-notification-inbox li small,.rhaye-shell .rhaye-notification-inbox-heading span{color:var(--native-muted);font-size:var(--type-caption-size)}.rhaye-shell .rhaye-notification-inbox ul{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.rhaye-shell .rhaye-notification-inbox li>button{display:grid;width:100%;grid-gap:4px;gap:4px;padding:10px;border:1px solid var(--native-hairline);border-radius:10px;background:var(--native-card);color:var(--native-ink);text-align:left;cursor:pointer}.rhaye-shell .rhaye-notification-inbox li.is-unread>button{-webkit-border-start:3px solid var(--rhaye-olive);border-inline-start:3px solid var(--rhaye-olive)}.rhaye-shell .rhaye-notification-inbox li>button:focus-visible{outline:2px solid var(--native-ink);outline-offset:2px}.rhaye-shell .rhaye-notification-inbox li>button span{line-height:1.4}.rhaye-shell .rhaye-push-reminder-details summary{min-height:40px;color:var(--native-ink);font-weight:650;cursor:pointer}.rhaye-shell .rhaye-push-reminder-details>p{margin-block:8px;color:var(--native-muted);line-height:1.45}}@media (max-width:420px){.rhaye-shell .attention-summary{gap:5px}.rhaye-shell .attention-summary>div,.rhaye-shell .documents-summary>*{padding-inline:7px}.rhaye-shell .attention-summary span,.rhaye-shell .documents-summary>* span{font-size:var(--type-caption-size)}}@media (min-width:901px){.rhaye-shell .rhaye-topbar-left>.native-theme-toggle{display:none}}@media (max-width:900px){.rhaye-shell .rhaye-main>.rhaye-topbar{top:0;z-index:32;min-height:calc(62px + env(safe-area-inset-top));box-sizing:border-box;padding-top:env(safe-area-inset-top)}.rhaye-shell .rhaye-topbar-left{flex:0 0 auto;gap:8px}.rhaye-shell .rhaye-topbar-actions{flex:1 1 auto;justify-content:flex-end}.rhaye-shell .native-chrome{display:none}.rhaye-shell .rhaye-sidebar{z-index:40;padding-top:0;transition:none}.rhaye-shell .rhaye-sidebar-header{min-height:calc(78px + env(safe-area-inset-top));box-sizing:border-box;padding:env(safe-area-inset-top) 18px 0}.rhaye-shell .rhaye-sidebar-close{display:grid;flex:0 0 44px;visibility:visible;opacity:1;place-items:center;position:relative;z-index:1}.rhaye-shell .rhaye-mobile-overlay{z-index:39}.rhaye-shell .rhaye-mobile-nav{inset:auto 14px calc(6px + env(safe-area-inset-bottom));z-index:45;height:72px;box-sizing:border-box;padding:6px}.rhaye-shell .rhaye-main{padding-bottom:0}.rhaye-shell .rhaye-page{padding-bottom:calc(90px + env(safe-area-inset-bottom))}.rhaye-shell .rhaye-mobile-utility-actions{gap:4px}}.rhaye-shell .rhaye-navigation .rhaye-nav-item{color:var(--on-midnight-muted);opacity:1;filter:none;text-shadow:none}.rhaye-shell .rhaye-navigation .rhaye-nav-item .rhaye-nav-icon,.rhaye-shell .rhaye-navigation .rhaye-nav-item svg{color:currentColor;opacity:1;filter:none}.rhaye-shell .rhaye-navigation .rhaye-nav-item:not(.rhaye-nav-item-active):is(:hover,:focus-visible){background:color-mix(in srgb,var(--midnight) 78%,var(--primary) 22%);color:var(--on-midnight)}.rhaye-shell .rhaye-navigation .rhaye-nav-item-active{border-left-color:var(--primary);background:var(--primary);box-shadow:none;color:var(--primary-text);text-shadow:none}.rhaye-shell .rhaye-navigation .rhaye-nav-item-active :is(.rhaye-nav-icon,.rhaye-nav-text,svg){color:var(--primary-text);opacity:1;filter:none}.rhaye-shell .rhaye-navigation .rhaye-nav-item:focus-visible{position:relative;z-index:1;outline:2px solid var(--accent);outline-offset:2px}.rhaye-shell .rhaye-desktop-theme-toggle{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:var(--type-caption-size)/1.2 var(--font-body),sans-serif;font-weight:var(--type-weight-strong);cursor:pointer;white-space:nowrap}.rhaye-shell .rhaye-desktop-theme-toggle:hover{border-color:var(--primary);background:var(--surface-hover);color:var(--text-title)}.rhaye-shell .rhaye-desktop-theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (max-width:900px){.rhaye-shell .rhaye-desktop-theme-toggle{display:inline-flex;flex:0 0 44px;width:44px;height:44px;padding:0}.rhaye-shell .rhaye-desktop-theme-toggle>span{display:none}.rhaye-shell .rhaye-main>.rhaye-topbar.rhaye-topbar-notifications-open{z-index:60}.rhaye-shell .rhaye-mobile-nav{position:relative;inset:auto;width:100%;height:auto;min-height:calc(64px + env(safe-area-inset-bottom));margin:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--midnight);border:1px solid var(--native-hairline);border-radius:16px 16px 0 0;box-sizing:border-box}.rhaye-shell .rhaye-page{padding-bottom:0;scroll-padding-bottom:24px}.rhaye-shell .rhaye-mobile-nav .rhaye-field-destination svg{width:22px;height:22px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}}@media (max-width:720px){.rhaye-onboarding,.rhaye-onboarding-backdrop{height:100vh;height:100dvh;min-height:0}.rhaye-onboarding{max-height:100vh;max-height:100dvh;grid-template-rows:auto auto minmax(0,1fr) auto}.rhaye-onboarding-steps{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.rhaye-onboarding-steps button{flex:0 0 138px;min-width:138px;min-height:48px;padding:6px 10px}.rhaye-onboarding-steps button span{line-height:1.2}.rhaye-onboarding-body{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px;scroll-padding-block:16px}.rhaye-onboarding :is(input:not([type=checkbox]),select,textarea){min-width:0;font-size:max(var(--type-input-size),1em);scroll-margin-block:16px}.rhaye-onboarding .client-edit-form .form-actions{position:static;bottom:auto;margin:14px 0 0;padding:12px 0 4px}.rhaye-onboarding-footer{padding:0 16px calc(8px + env(safe-area-inset-bottom))}.rhaye-onboarding-footer .rhaye-onboarding-actions{gap:10px;padding-top:10px}}@media (max-width:900px){.rhaye-shell .medication-round-tabs{width:100%;min-width:0;padding-inline:4px;gap:6px;scroll-padding-inline:8px}.rhaye-shell .medication-round-tabs>button{flex:0 0 auto;min-width:max-content;min-height:44px;padding-inline:12px;white-space:nowrap}.rhaye-shell .attention-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 12px}.rhaye-shell .attention-summary>div{min-height:58px;padding:8px 9px;border-radius:12px;box-shadow:none}.rhaye-shell .attention-summary span{color:var(--native-ink);font-size:var(--type-caption-size);font-weight:650;letter-spacing:var(--type-tracking-body);line-height:1.2;text-transform:none}.rhaye-shell .attention-summary strong{margin-top:3px;font-size:var(--type-section-size);line-height:1}.rhaye-shell .attention-summary-total{border-color:var(--rhaye-olive);background:var(--rhaye-olive-mist)}.rhaye-shell .attention-summary-total strong{color:var(--rhaye-olive-deep)}.rhaye-shell .attention-summary-critical strong{color:var(--rhaye-oxblood-deep)}.rhaye-shell .attention-summary-high strong{color:var(--rhaye-amber-strong)}.rhaye-shell .documents-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-block:10px}.rhaye-shell .documents-summary>button{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:4px;padding:7px 8px;border-radius:11px}.rhaye-shell .documents-summary>button>span{min-width:0;font-size:var(--type-caption-size);line-height:1.15;letter-spacing:var(--type-tracking-body);text-transform:none}.rhaye-shell .documents-summary>button>strong{flex:0 0 auto;font-size:var(--type-card-size);line-height:1}.rhaye-shell .actions-workspace:not(.actions-workspace-compact){display:grid;align-content:start;grid-gap:10px;gap:10px}.rhaye-shell .actions-workspace:not(.actions-workspace-compact)>.page-header{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:8px;gap:8px;margin:0 0 2px;padding:0;border:0;background:none;box-shadow:none}.rhaye-shell .actions-workspace:not(.actions-workspace-compact)>.page-header .button-primary{width:100%;min-height:48px;justify-content:center}.rhaye-shell .actions-workspace:not(.actions-workspace-compact) .documents-toolbar{margin:0 0 2px}.rhaye-shell .actions-workspace:not(.actions-workspace-compact)>.workspace-empty{margin:0;padding:14px}.rhaye-shell .actions-workspace:not(.actions-workspace-compact) .workspace-loading{margin:0;padding:6px 0}.rhaye-shell .rhaye-mobile-utility-popover[role=dialog]{width:min(360px,calc(100vw - 24px));padding:16px;border:1px solid var(--native-hairline);background-color:var(--native-card);box-shadow:var(--native-shadow);color:var(--native-ink);opacity:1;-webkit-backdrop-filter:none;backdrop-filter:none}.rhaye-shell .rhaye-mobile-utility-popover[role=dialog]>p{color:var(--native-ink);font-size:var(--type-secondary-size);line-height:1.45}.rhaye-shell .rhaye-push-reminder-details>p{color:var(--native-ink)}.rhaye-shell .rhaye-page{scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom))}}@media (max-width:420px){.rhaye-shell .attention-summary{gap:5px}.rhaye-shell .attention-summary>div{padding-inline:7px}.rhaye-shell .attention-summary span{font-size:max(13px,var(--type-label-size))}.rhaye-shell .documents-summary>button>span{font-size:var(--type-caption-size)}}.rhaye-shell .attention-summary-total{background:var(--summary-scheduled-bg)!important}.rhaye-shell .attention-summary-critical{background:var(--summary-overdue-bg)!important}.rhaye-shell .attention-summary-high{background:var(--semantic-warning-solid)!important}.rhaye-shell .attention-summary>div :is(span,strong){color:inherit!important}@media (max-width:900px){.rhaye-shell .attention-summary>div{min-height:90px;box-shadow:var(--shadow-card)}.rhaye-shell .attention-summary>div strong{font-size:var(--type-size-25px)}}.rhaye-shell .rhaye-nav-group h2,:root.dark .rhaye-shell .rhaye-nav-group h2{color:var(--champagne)!important}:root{--text-page-title:var(--type-page-desktop-size);--text-welcome:32px;--text-section-title:var(--type-section-size);--text-card-title:var(--type-card-size);--text-subtitle:var(--type-secondary-size);--text-body:var(--type-body-size);--text-row-primary:var(--type-secondary-size);--text-row-secondary:var(--type-label-size);--text-table-header:14px;--text-button:var(--type-secondary-size);--text-nav:var(--type-label-size);--text-chip:14px;--text-helper:14px;--text-label:var(--type-label-size);--text-input:var(--type-input-size)}:root :is(.rhaye-shell,.rhaye-workflow-shell) :is(input,select,textarea,button),:root :is(.rhaye-shell,.rhaye-workflow-shell,.rhaye-public-page){font-family:var(--font-body)}.rhaye-shell .rhaye-page,.rhaye-shell .staff-home-page{min-width:0}.rhaye-shell .my-workforce .staff-registry-heading>div>p:not(.page-eyebrow),.rhaye-shell .rhaye-page :is(p.t-body,.t-body,.t-body-2),.rhaye-shell .staff-home-page .staff-home-empty-copy{font-size:var(--type-body-size);line-height:1.55;overflow-wrap:anywhere}.rhaye-shell .rhaye-page :is(h1,.t-page){font-family:var(--font-heading);font-size:var(--type-page-desktop-size);line-height:1.16;overflow-wrap:anywhere}.rhaye-shell .rhaye-page :is(h2,.t-section){font-size:var(--type-section-size);line-height:1.28;overflow-wrap:anywhere}.rhaye-shell .rhaye-page :is(h3,.t-card){font-size:var(--type-card-size);line-height:1.35;overflow-wrap:anywhere}.rhaye-shell .rhaye-page :is(input,textarea,select,button:not(.rhaye-mobile-nav-link)){font-size:max(15px,var(--text-input))}.rhaye-shell .rhaye-page :is(input,select,textarea){max-width:100%;min-width:0}.rhaye-shell .rhaye-page :is(label,.t-label){font-size:var(--type-label-size)}.rhaye-shell .rhaye-page :is(small,time,.t-caption){font-size:max(13px,var(--type-caption-size));line-height:1.5}.rhaye-shell .rhaye-nav-item{min-height:44px;font-size:var(--text-nav);line-height:1.4}.rhaye-shell .rhaye-page :is(.page-header,.page-header-actions,.dashboard-panel-header,.staff-registry-heading){min-width:0;flex-wrap:wrap}.rhaye-shell .rhaye-page :is(.button,.btn-primary,.secondary-button){min-height:46px;height:auto;line-height:1.4;white-space:normal;text-wrap:pretty}.rhaye-shell .rhaye-page :is(.dashboard-panel,.staff-home-section,.staff-registry-page,.clinical-observations){min-width:0;max-width:100%}.rhaye-shell .rhaye-page :is(.dashboard-panel,.staff-home-section,.staff-registry-page,.clinical-observations) :is(p,strong,span,small){overflow-wrap:anywhere}.rhaye-shell .staff-registry-heading .page-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.rhaye-shell .rhaye-breadcrumbs{font-size:var(--type-size-14px)}.rhaye-shell .rhaye-account-trigger-copy :is(strong,small){font-size:var(--type-size-14px)}.rhaye-shell .rhaye-user-card strong{font-size:var(--type-label-size)}.rhaye-shell .rhaye-user-card :is(span,.rhaye-user-context){font-size:var(--type-size-14px)}.rhaye-shell .rhaye-nav-group h2{font-size:var(--type-size-12px);color:var(--champagne)}.rhaye-shell .rhaye-account-menu{isolation:isolate;overflow:auto;max-height:min(78dvh,560px);background:var(--surface);color:var(--text);border-color:var(--border-strong);-webkit-backdrop-filter:none;backdrop-filter:none;font-size:var(--type-label-size)}.rhaye-shell .rhaye-account-menu :is(button,.rhaye-account-menu-identity strong){font-size:var(--type-size-15px);line-height:1.4}.rhaye-shell .rhaye-account-menu :is(small,em){font-size:var(--type-size-13px);white-space:normal;overflow-wrap:anywhere}.rhaye-shell .rhaye-menu-loading{padding:16px;color:var(--text-2);font-size:var(--type-size-14px)}.rhaye-shell .rhaye-notification-setting{max-width:100%;min-width:0}.rhaye-shell .rhaye-account-menu .rhaye-notification-setting>p{padding:10px 16px;margin:0;line-height:1.45;font-size:var(--type-size-13px)}@media (min-width:960px){.rhaye-shell .staff-home-page{width:100%;max-width:1440px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr));grid-gap:18px;gap:18px}.rhaye-shell .staff-home-page>:is(.staff-home-header,.today-summary-bar,.next-visit,.staff-home-state,.staff-home-primary-visit){grid-column:1/-1}.rhaye-shell .staff-home-section{min-width:0}.rhaye-shell .staff-home-header{margin-bottom:8px}}.rhaye-shell .staff-home-section-head,.rhaye-shell .staff-home-update-heading,.rhaye-shell .staff-home-visit-row{min-width:0;flex-wrap:wrap}.rhaye-shell .staff-home-section :is(strong,p,span,a){overflow-wrap:anywhere}.rhaye-shell .staff-home-section h2{font-size:var(--type-section-size)}.rhaye-shell .attention-workspace .attention-summary>div span{font-size:var(--type-label-size);line-height:1.4}.rhaye-shell .attention-workspace .attention-row-heading strong{font-size:var(--type-body-size)}.rhaye-shell .attention-workspace .attention-row-copy p{font-size:var(--type-secondary-size);line-height:1.5}.rhaye-shell .attention-workspace .attention-row-copy small{font-size:var(--type-size-13px)}.rhaye-shell .clinical-history ol{overflow:visible;border:0;border-radius:0;gap:14px}.rhaye-shell .client-communications-timeline{gap:14px;border-top:0}.rhaye-shell .client-communications-timeline,.rhaye-shell .clinical-history ol{counter-reset:rhaye-history;list-style:none}.rhaye-shell .client-communications-timeline>li,.rhaye-shell .clinical-history ol>li{counter-increment:rhaye-history;position:relative;min-width:0;padding:18px 18px 18px 66px;margin-block:10px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-card);overflow-wrap:anywhere}.rhaye-shell .client-communications-timeline>li:before,.rhaye-shell .clinical-history ol>li:before{content:counter(rhaye-history,decimal-leading-zero);position:absolute;left:15px;top:16px;z-index:1;display:grid;place-items:center;min-width:36px;height:36px;padding-inline:3px;border-radius:11px;background:var(--accent-fill-soft);border:1px solid var(--accent-fill);color:var(--accent-on-fill);font-size:var(--type-size-13px);font-weight:var(--type-weight-700);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rhaye-shell .clinical-history .clinical-history-record,.rhaye-shell .clinical-history .clinical-physiological-record{width:100%;max-width:none;min-width:0}.rhaye-shell .clinical-history .clinical-physiological-record{margin:0;padding:8px}.rhaye-shell .clinical-history .rhaye-vital-reading-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px}.rhaye-shell .rhaye-vital-reading{padding:14px;background:var(--surface-2)}.rhaye-shell .rhaye-vital-reading dt{font-size:var(--type-size-14px);line-height:1.4}.rhaye-shell .rhaye-vital-reading dd{font-size:var(--type-size-17px);line-height:1.5;font-weight:var(--type-weight-600)}.rhaye-shell .clinical-history .clinical-history-heading{flex-wrap:wrap;align-items:flex-start}.rhaye-shell .clinical-history .clinical-history-heading>strong{font-size:var(--type-size-17px)}.rhaye-shell .clinical-history .clinical-history-meta,.rhaye-shell .clinical-history .clinical-history-site{font-size:var(--type-size-14px)}.rhaye-shell .client-communication-entry{padding:18px 18px 18px 66px}.rhaye-shell .client-communication-entry .t-body{font-size:var(--type-size-17px);line-height:1.6;white-space:pre-wrap}.rhaye-shell .client-communication-entry .client-communication-entry-meta{flex-wrap:wrap;gap:8px}.rhaye-shell .rhaye-field-care-list>li>strong{font-size:var(--type-size-17px)}.rhaye-shell .rhaye-field-care-list>li>span,.rhaye-shell .rhaye-field-care-list>li>time{font-size:var(--type-size-14px);line-height:1.5}.rhaye-bulk-invite-backdrop{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px;background:var(--overlay)}.rhaye-bulk-invite-dialog{width:min(100%,700px);max-height:min(90dvh,900px);overflow-y:auto;padding:clamp(20px,4vw,32px);border:1px solid var(--border);border-radius:24px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-card)}.rhaye-bulk-invite-head{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:start;grid-gap:12px;gap:12px;margin-bottom:14px}.rhaye-bulk-invite-head h2{font-size:clamp(22px,4vw,26px);line-height:1.25;margin:0;overflow-wrap:anywhere}.rhaye-bulk-invite-head>div{min-width:0}:root button.rhaye-bulk-invite-close{width:48px;padding:0}.rhaye-bulk-invite-head p{margin:0}.rhaye-bulk-invite-field{display:grid;min-width:0;grid-gap:8px;gap:8px;font-size:var(--type-size-15px);font-weight:var(--type-weight-600);margin-block:16px}.rhaye-bulk-invite-field :is(textarea,select){width:100%;min-width:0;padding:14px;border:1px solid var(--border-strong);border-radius:14px;background:var(--surface-2);color:var(--text);font:16px/1.45 var(--font-body)}.rhaye-bulk-invite-field textarea{resize:vertical}.rhaye-bulk-invite-field :is(textarea,select):focus-visible{outline:4px solid var(--accent-fill);outline-offset:1px}.rhaye-bulk-invite-field>.t-caption{font-size:var(--type-size-13px);font-weight:var(--type-weight-400)}.rhaye-bulk-invite-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.rhaye-bulk-invite-results ol{list-style:decimal;-webkit-padding-start:23px;padding-inline-start:23px;display:grid;grid-gap:9px;gap:9px}.rhaye-bulk-invite-results li{padding:10px 12px;background:var(--surface-2);border-radius:12px;overflow-wrap:anywhere}.rhaye-bulk-invite-results li span{display:block;font-size:var(--type-size-14px)}.rhaye-bulk-invite-error{color:var(--danger-text);background:var(--danger-bg);padding:12px;border-radius:12px}.rhaye-bulk-invite-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));grid-gap:12px;gap:12px;margin-top:24px}.rhaye-bulk-invite-actions button,.rhaye-bulk-invite-trigger{min-height:48px;padding:10px 16px}@media (max-width:767px){:root{--text-page-title:var(--type-page-size);--text-welcome:var(--type-page-size)}.rhaye-shell .rhaye-page :is(h1,.t-page){font-size:var(--type-page-size)}.rhaye-shell .rhaye-page :is(h2,.t-section){font-size:var(--type-size-22px)}.rhaye-shell .rhaye-page :is(h3,.t-card){font-size:var(--type-size-20px)}.rhaye-shell .rhaye-page :is(p.t-body,.t-body,.t-body-2){font-size:var(--type-size-17px)}.rhaye-shell .rhaye-mobile-nav-link{font-size:var(--type-size-12px)}.rhaye-shell .rhaye-nav-item{min-height:48px}.rhaye-shell .client-workspace-nav{max-width:100%;overflow-x:auto}.rhaye-bulk-invite-controls{grid-template-columns:minmax(0,1fr);gap:0}.rhaye-shell .client-communications-timeline>li,.rhaye-shell .clinical-history ol>li{padding:58px 14px 16px}.rhaye-shell .client-communications-timeline>li:before,.rhaye-shell .clinical-history ol>li:before{top:12px;left:12px}.rhaye-bulk-invite-actions button{flex:1 1}}@media (prefers-reduced-motion:no-preference){.rhaye-shell .client-communications-timeline>li,.rhaye-shell .clinical-history ol>li{animation:rhaye-record-rise .28s ease-out both}@keyframes rhaye-record-rise{0%{opacity:.7;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}:root .rhaye-shell .rhaye-page{max-width:none}:root .rhaye-shell .staff-home-page{width:100%;max-width:none}:root .rhaye-shell :is(.button,.button-primary,.button-secondary,.btn-primary,.secondary-button,.rhaye-account-menu button){min-height:44px;height:auto;white-space:normal;line-height:1.5}:root .rhaye-shell :is(.rhaye-page,.staff-home-page) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;font-size:var(--type-input-size);line-height:1.5}:root .rhaye-shell :is(.attention-workspace,.actions-workspace,.my-workforce,.clinical-observations,.organisation-visits-workspace){min-width:0;width:100%;max-width:100%}:root .rhaye-shell :is(.attention-row-copy,.staff-home-section,.clinical-history-record,.my-workforce) :is(p,li,dd){font-size:var(--type-body-size);line-height:1.55}:root .rhaye-shell :is(.rhaye-account-trigger-copy,.rhaye-user-card,.rhaye-account-menu,.attention-row-copy) :is(small,time,em){font-size:var(--type-caption-size);line-height:1.5;white-space:normal}:root .rhaye-shell .rhaye-account-menu{max-width:calc(100vw - 24px)}:root .rhaye-shell .clinical-observations-actions>button{white-space:normal;height:auto}@media (max-width:900px){:root .rhaye-shell .rhaye-mobile-nav-link{font-size:var(--type-size-15px);min-height:48px;height:auto}:root .rhaye-shell .rhaye-mobile-nav{height:auto;min-height:64px}}:root .rhaye-shell .staff-mobile-card{counter-reset:workforce-record}:root .rhaye-shell .my-workforce-availability-record{counter-increment:workforce-record;position:relative;min-width:0;padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--surface);overflow-wrap:anywhere}:root .rhaye-shell .my-workforce-availability-record:before{content:counter(workforce-record,decimal-leading-zero);display:block;width:-moz-fit-content;width:fit-content;padding:5px 10px;margin-bottom:10px;border-radius:10px;background:var(--accent-fill-soft);color:var(--text);font-size:var(--type-caption-size);font-weight:var(--type-weight-600);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:900px){:root .rhaye-shell .rhaye-mobile-nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;white-space:normal;overflow-wrap:anywhere}:root .rhaye-shell .rhaye-mobile-nav-link>span{display:block;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.25}:root .rhaye-shell .rhaye-page{padding-bottom:calc(12rem + env(safe-area-inset-bottom))}}:root .rhaye-shell .rhaye-mobile-nav-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;overflow:visible}:root .rhaye-shell .rhaye-mobile-nav-icon>.rhaye-mobile-nav-badge{position:absolute;top:-9px;right:-14px;left:auto;display:grid;place-items:center;box-sizing:border-box;min-width:20px;min-height:20px;width:max-content;height:auto;padding:1px 4px;border:2px solid var(--surface);border-radius:999px;background:var(--danger-solid);color:var(--danger-on-solid);font:600 12px/1.3 var(--font-body)!important;white-space:nowrap;pointer-events:none}:root .rhaye-shell .rhaye-mobile-nav-link{padding-top:14px}:root .rhaye-shell .rhaye-page{scroll-padding-bottom:12rem}@media (max-width:767px){:root .rhaye-shell .rhaye-page :is(details,button,a,input,textarea){scroll-margin-block:16px 12rem}}:root .rhaye-shell .rhaye-mobile-nav-link>.rhaye-mobile-nav-icon{display:inline-flex}:root .rhaye-shell .rhaye-mobile-nav-link>.rhaye-mobile-nav-icon-field{width:46px;height:46px;min-width:46px;min-height:46px}:root .rhaye-shell .rhaye-mobile-nav-icon>svg{flex-shrink:0;aspect-ratio:1}:root .rhaye-shell .rhaye-field-destination .rhaye-mobile-nav-icon-field>svg{width:46px;height:46px;max-width:none;box-sizing:border-box}:root .rhaye-shell .rhaye-sidebar .rhaye-brand-title>small{color:var(--app-icon-accent)!important;opacity:1}:root .rhaye-shell .rhaye-sidebar .rhaye-user-card{background:var(--midnight);border-color:var(--dark-border);opacity:1}:root .rhaye-shell .rhaye-sidebar .rhaye-user-card :is(strong,span,small){color:var(--public-dark-ink)!important;opacity:1}.rhaye-shell .staff-invitation-panel{width:100%;min-width:0;margin-block:20px;padding:clamp(16px,3vw,24px);border:1px solid var(--border);border-radius:18px;background:var(--surface)}.rhaye-shell .staff-invitation-panel .page-header-actions{display:flex;flex-wrap:wrap;gap:12px}.rhaye-shell .field-welcome{width:100%;max-width:900px;margin-inline:auto;min-width:0}.rhaye-shell .field-welcome-card{padding:clamp(20px,4vw,40px);border:1px solid var(--border);border-radius:24px;background:var(--surface);box-shadow:var(--shadow-card)}.rhaye-shell .field-welcome-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-block:24px}.rhaye-shell .field-welcome-instructions{border-top:1px solid var(--border);padding-top:20px}.rhaye-shell .field-welcome-instructions ol{-webkit-padding-start:24px;padding-inline-start:24px;display:grid;grid-gap:12px;gap:12px}.rhaye-shell .field-welcome :is(button,.button){min-height:48px;height:auto;padding:12px 18px;white-space:normal}@media (max-width:900px){:root .rhaye-shell .rhaye-mobile-nav{height:auto;min-height:72px;align-items:stretch}:root .rhaye-shell .rhaye-mobile-nav-link{height:auto;min-height:64px;padding-block:14px 8px}}.rhaye-shell .client-detail-page{--client-strip-surface:var(--accent-fill-soft);--client-strip-border:var(--accent-fill);--client-strip-ink:var(--accent-on-fill)}[data-native-theme=dark] .rhaye-shell .client-detail-page{--client-strip-surface:color-mix(in srgb,var(--accent) 31%,var(--surface));--client-strip-border:color-mix(in srgb,var(--accent) 44%,var(--surface));--client-strip-ink:var(--text-title)}.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head,.rhaye-shell .client-detail-page .actions-workspace-compact>header,.rhaye-shell .client-detail-page .client-visits>.client-visits-header,.rhaye-shell .client-detail-page .clinical-observations>header.page-head,.rhaye-shell .client-detail-page .documents-workspace-compact>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 12px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0 0 12px;padding:12px 14px;border:1px solid var(--client-strip-border);border-radius:14px;background:var(--client-strip-surface)}.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head .head-text :is(h2,p,span,.eyebrow),.rhaye-shell .client-detail-page .actions-workspace-compact>header>div :is(h1,h2,p),.rhaye-shell .client-detail-page .actions-workspace-compact>header>svg,.rhaye-shell .client-detail-page .client-visits>.client-visits-header :is(h2,p),.rhaye-shell .client-detail-page .clinical-observations>header.page-head .head-text :is(h2,p,span),.rhaye-shell .client-detail-page .documents-workspace-compact>header>div :is(h1,h2,p),.rhaye-shell .client-detail-page .documents-workspace-compact>header>svg{color:var(--client-strip-ink)}.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head>.head-text,.rhaye-shell .client-detail-page .actions-workspace-compact>header>div,.rhaye-shell .client-detail-page .clinical-observations>header.page-head>.head-text,.rhaye-shell .client-detail-page .documents-workspace-compact>header>div{flex:1 1 145px;min-width:0;max-width:100%}.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head button,.rhaye-shell .client-detail-page .actions-workspace-compact>header>button,.rhaye-shell .client-detail-page .clinical-observations>header.page-head button,.rhaye-shell .client-detail-page .documents-workspace-compact>header>button{min-width:0;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:center}.rhaye-shell .client-detail-page :is(.documents-workspace-compact,.actions-workspace-compact,.client-visits,.clinical-observations,#care-profile){min-width:0;max-width:100%}.rhaye-shell .client-detail-page :is(.documents-workspace-compact,.actions-workspace-compact,.client-visits,.clinical-observations,#care-profile) :is(h1,h2,h3,h4,p,dt,dd){min-width:0;overflow-wrap:anywhere}.rhaye-shell .client-detail-page :is(.documents-workspace-compact,.actions-workspace-compact) :is(.document-row,.action-row){box-sizing:border-box;max-width:100%;min-width:0}.rhaye-shell .client-detail-page :is(.documents-workspace-compact,.actions-workspace-compact) :is(.document-row,.action-row)>span:first-child{min-width:0;overflow-wrap:anywhere}.rhaye-shell .client-detail-page :is(.documents-workspace-compact,.actions-workspace-compact) :is(.document-row,.action-row)>span:first-child :is(strong,small){overflow-wrap:anywhere;white-space:normal}.rhaye-shell .client-detail-page :is(.documents-workspace-compact,.actions-workspace-compact,.client-visits,.clinical-observations,#care-profile) :is(input,select,textarea){box-sizing:border-box;max-width:100%;min-width:0}@media (max-width:640px){.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head,.rhaye-shell .client-detail-page .actions-workspace-compact>header,.rhaye-shell .client-detail-page .client-visits>.client-visits-header,.rhaye-shell .client-detail-page .clinical-observations>header.page-head,.rhaye-shell .client-detail-page .documents-workspace-compact>header{padding:12px;gap:10px}.rhaye-shell .client-detail-page .clinical-observations>header.page-head>.clinical-observations-actions{flex:0 1 auto;max-width:100%}}@media (max-width:900px){.rhaye-shell:not(.rhaye-navigation-open):not(:has(.rhaye-main :is(input,textarea,select):focus))>.rhaye-mobile-nav{display:grid;visibility:visible;opacity:1;pointer-events:auto}}@media (max-width:900px) and (hover:hover) and (pointer:fine){.rhaye-shell:not(.rhaye-navigation-open):has(.rhaye-main :is(input,textarea,select):focus)>.rhaye-mobile-nav{display:grid;visibility:visible;opacity:1;pointer-events:auto}}.rhaye-shell .client-detail-page{--rhaye-client-gradient-left:color-mix(in srgb,var(--lavender) 76%,var(--summary-ink));--rhaye-client-gradient-end:var(--surface);--rhaye-client-gradient-mid:color-mix(in srgb,var(--lavender) 24%,var(--rhaye-client-gradient-end))}[data-native-theme=dark] .rhaye-shell .client-detail-page{--rhaye-client-gradient-end:var(--rhaye-surface-page,var(--bg));--rhaye-client-gradient-mid:color-mix(in srgb,var(--lavender) 28%,var(--rhaye-client-gradient-end));--client-strip-ink:var(--summary-ink)}.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head,.rhaye-shell .client-detail-page .actions-workspace-compact>header,.rhaye-shell .client-detail-page .client-visits>.client-visits-header,.rhaye-shell .client-detail-page .clinical-observations>header.page-head,.rhaye-shell .client-detail-page .documents-workspace-compact>header{background:linear-gradient(99deg,var(--rhaye-client-gradient-left) 0,var(--rhaye-client-gradient-mid) 56%,var(--rhaye-client-gradient-end) 100%);color:var(--client-strip-ink);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.rhaye-shell .client-detail-page .client-profile-header{min-width:0;max-width:100%;color:var(--text-title);background:var(--surface)}.rhaye-shell .client-detail-page .client-profile-header :is(.head-text,.client-profile-heading,.client-profile-heading>div){min-width:0;max-width:100%}.rhaye-shell .client-detail-page .client-profile-heading h1{min-width:0;white-space:normal;color:var(--text-title)}.rhaye-shell .client-detail-page .client-profile-header :is(.client-profile-preferred,.client-profile-meta,.rhaye-back-link){color:var(--text-2);opacity:1;overflow-wrap:anywhere}.rhaye-shell .client-detail-page .client-profile-header .rhaye-back-link:is(:hover,:focus-visible){color:var(--text-title);background:var(--surface-2);opacity:1}.rhaye-shell .client-detail-page .client-profile-actions .status-badge.status-active{border:1px solid var(--public-light-olive-deep);opacity:1;box-shadow:none;filter:none;-webkit-backdrop-filter:none;backdrop-filter:none}.rhaye-shell .client-detail-page .client-profile-actions :is(.primary-button,.button-primary){background:var(--primary)!important;color:var(--primary-text)!important;opacity:1;filter:none;-webkit-backdrop-filter:none;backdrop-filter:none}.rhaye-shell .client-detail-page .client-profile-actions :is(.primary-button,.button-primary):is(:hover,:focus-visible,:active){background:var(--primary-hover)!important;color:var(--primary-text)!important;opacity:1!important;filter:none!important;box-shadow:none}.rhaye-shell .client-detail-page .client-profile-actions :is(button:not(.primary-button):not(.button-primary),a),.rhaye-shell .client-detail-page .client-profile-header :is(.secondary-button,.button-secondary,.client-email-button,.email-client-button,a[href^="mailto:"]){background:var(--surface-2)!important;border-color:var(--border-strong);color:var(--text-title)!important;opacity:1;filter:none;-webkit-backdrop-filter:none;backdrop-filter:none}.rhaye-shell .client-detail-page .client-profile-actions :is(button:not(.primary-button):not(.button-primary),a):is(:hover,:focus-visible,:active),.rhaye-shell .client-detail-page .client-profile-header :is(.secondary-button,.button-secondary,.client-email-button,.email-client-button,a[href^="mailto:"]):is(:hover,:focus-visible,:active){background:color-mix(in srgb,var(--lavender) 25%,var(--surface))!important;color:var(--text-title)!important;opacity:1!important;filter:none!important}.rhaye-shell .client-detail-page .client-profile-header :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.rhaye-shell .client-detail-page .client-workspace-nav{scroll-padding-inline:14px;background:var(--surface)}.rhaye-shell .client-detail-page .client-workspace-nav>button{color:var(--text);opacity:1}.rhaye-shell .client-detail-page .client-workspace-nav>button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--lavender) 24%,var(--surface));color:var(--text-title);opacity:1}.rhaye-shell .client-detail-page .client-workspace-nav>button[aria-current=page],.rhaye-shell .client-detail-page .client-workspace-nav>button[aria-current=page]:is(:hover,:focus-visible){opacity:1!important}@media (max-width:640px){.rhaye-shell .client-detail-page .client-profile-header .client-profile-actions{min-width:0;max-width:100%;flex-wrap:wrap}.rhaye-shell .client-detail-page .client-profile-actions :is(button,a){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}}.rhaye-shell .client-detail-page{--rhy-v4-ribbon-left:var(--lavender);--rhy-v4-ribbon-end:var(--surface);--rhy-v4-ribbon-mid:color-mix(in srgb,var(--lavender) 36%,var(--rhy-v4-ribbon-end));--client-strip-ink:var(--summary-ink)}:root[data-native-theme=dark] .rhaye-shell .client-detail-page{--rhy-v4-ribbon-left:var(--rhaye-lavender,var(--lavender));--rhy-v4-ribbon-end:var(--rhaye-surface-page,var(--bg));--rhy-v4-ribbon-mid:color-mix(in srgb,var(--lavender) 36%,var(--rhy-v4-ribbon-end));--client-strip-ink:var(--summary-ink)}.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head,.rhaye-shell .client-detail-page .actions-workspace-compact>header,.rhaye-shell .client-detail-page .client-care-plan>.client-care-plan-header,.rhaye-shell .client-detail-page .client-visits>.client-visits-header,.rhaye-shell .client-detail-page .clinical-observations>header.page-head,.rhaye-shell .client-detail-page .documents-workspace-compact>header{box-sizing:border-box;min-width:0;max-width:100%;min-height:60px;margin:0 0 10px;padding:12px 16px!important;border:0!important;border-radius:10px;background:var(--lavender)!important;color:var(--client-strip-ink);box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.rhaye-shell .client-detail-page :is(.client-care-plan>.client-care-plan-header,.documents-workspace-compact>header,.actions-workspace-compact>header,.client-visits>.client-visits-header,.clinical-observations>header.page-head,#care-profile>.section-heading.page-head) :is(h1,h2,h3,p,.eyebrow){color:var(--summary-ink)!important;opacity:1}.rhaye-shell .client-detail-page :is(.documents-workspace-compact>header,.actions-workspace-compact>header)>svg{color:var(--summary-ink);stroke:currentColor}.rhaye-shell .client-detail-page .client-profile-header,.rhaye-shell .client-detail-page .client-profile-header .head-text,.rhaye-shell .client-detail-page .client-profile-heading,.rhaye-shell .client-detail-page .client-profile-heading>div{min-width:0;max-width:100%}.rhaye-shell .client-detail-page .client-profile-heading h1{max-width:100%;color:var(--text-title)!important;overflow-wrap:anywhere;white-space:normal!important;opacity:1}.rhaye-shell .client-detail-page .client-profile-header :is(.client-profile-meta,.client-profile-preferred,.rhaye-back-link){color:var(--text-2)!important;opacity:1!important;overflow-wrap:anywhere}.rhaye-shell .client-detail-page .client-profile-header .client-profile-meta{font-size:var(--type-size-14px);line-height:1.4}.rhaye-shell .client-detail-page .client-profile-header .client-profile-actions :is(button,a){max-width:100%;min-height:44px;opacity:1!important;visibility:visible;filter:none!important}.rhaye-shell .client-detail-page .client-profile-header .client-profile-actions .primary-button,.rhaye-shell .client-detail-page .client-profile-header .client-profile-actions .primary-button:is(:hover,:focus-visible,:active){background:var(--primary)!important;color:var(--primary-text)!important;opacity:1!important}.rhaye-shell .client-detail-page .client-profile-header .client-profile-actions .primary-button:hover{background:var(--primary-hover)!important}.rhaye-shell .client-detail-page .client-profile-actions .status-badge.status-active{background:var(--public-light-olive-deep)!important;border-color:var(--public-light-olive-deep)!important;color:var(--public-light-canvas)!important;opacity:1!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.rhaye-shell .client-detail-page .client-workspace-nav{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-padding-inline:10px;scroll-snap-type:x proximity}.rhaye-shell .client-detail-page .client-workspace-nav>button{flex:0 0 auto;min-width:max-content;min-height:42px;white-space:nowrap;scroll-snap-align:start;color:var(--text)!important;opacity:1!important}.rhaye-shell .client-detail-page .client-workspace-nav>button[aria-current=page],.rhaye-shell .client-detail-page .client-workspace-nav>button[aria-current=page]:is(:hover,:focus-visible){color:var(--summary-ink)!important;background:var(--lavender)!important}.rhaye-shell .client-detail-page .client-workspace-nav>button:not([aria-current=page]):is(:hover,:focus-visible){color:var(--text-title)!important;background:var(--accent-fill-soft)}:root[data-native-theme=dark] .rhaye-shell .rhaye-mobile-nav-link:not(.rhaye-field-destination) svg,:root[data-native-theme=dark] .rhaye-shell .rhaye-navigation .rhaye-nav-item svg,:root[data-native-theme=dark] .rhaye-shell .rhaye-page :is(.module-card-icon,.client-glance-card-icon,.clinical-empty,.workspace-empty,.detail-card-header,.client-glance-card-heading,.documents-storage-note) svg.lucide{color:var(--rhaye-lavender,var(--lavender))!important;stroke:currentColor;opacity:1}:root[data-native-theme=dark] .rhaye-shell .rhaye-page svg.lucide:not(:is(button svg,a svg,.status-badge svg,.clinical-body-map svg,.clinical-map-visual svg,.clinical-map-hotspot svg,.clinical-map-saved-pin svg,.rhaye-vital-reading svg,.medication-manager svg,.clinical-sketch svg,.client-visit-status svg,.error-banner svg,.attention-chip svg)){color:var(--rhaye-lavender,var(--lavender));opacity:1}:root[data-native-theme=dark] .rhaye-shell .client-detail-page :is(.documents-workspace-compact>header,.actions-workspace-compact>header)>svg{color:var(--summary-ink)!important}@media (max-width:640px){.rhaye-shell .client-detail-page .client-profile-header .client-profile-actions{display:flex;min-width:0;max-width:100%;flex-wrap:wrap;gap:8px}.rhaye-shell .client-detail-page .client-profile-header .client-profile-actions>*{max-width:100%;min-width:0;white-space:normal}.rhaye-shell .client-detail-page #care-profile>.section-heading.page-head,.rhaye-shell .client-detail-page .actions-workspace-compact>header,.rhaye-shell .client-detail-page .client-care-plan>.client-care-plan-header,.rhaye-shell .client-detail-page .client-visits>.client-visits-header,.rhaye-shell .client-detail-page .clinical-observations>header.page-head,.rhaye-shell .client-detail-page .documents-workspace-compact>header{min-height:60px;padding:12px 14px!important}}.rhaye-shell .client-detail-page .client-communications>header.client-care-plan-header.page-head{box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;min-width:0;max-width:100%;min-height:60px;gap:10px 12px;margin:0 0 10px;padding:12px 16px;border:0;border-radius:10px;background:var(--lavender)!important;color:var(--summary-ink)!important;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.rhaye-shell .client-detail-page .client-communications>header.client-care-plan-header.page-head .head-text{min-width:0;max-width:100%;flex:1 1 185px}.rhaye-shell .client-detail-page .client-communications>header.client-care-plan-header.page-head .head-text :is(h2,p,.eyebrow){color:var(--summary-ink)!important;opacity:1;overflow-wrap:anywhere}.rhaye-shell .client-detail-page .client-communications>header.client-care-plan-header.page-head :is(button,.head-action){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}@media (max-width:640px){.rhaye-shell .client-detail-page .client-communications>header.client-care-plan-header.page-head{min-height:60px;padding:12px 14px}}.rhaye-shell:not(.rhaye-shell-staff)>.rhaye-mobile-nav{display:none!important}@media (max-width:900px){.rhaye-shell:not(.rhaye-shell-staff) .rhaye-main{padding-bottom:env(safe-area-inset-bottom)}}