@layer legacy{.chart-workspace-main{min-width:0}.nw-x{border:0;background:transparent}.nw-body{min-height:0}.nw-foot,.nw-head{flex-shrink:0}.chart-workspace.has-note{display:grid;grid-template-columns:minmax(0,1fr) 440px;align-items:start;gap:16px}.chart-workspace.has-note>.nw{margin-top:16px}.chart-workspace.has-note .cr-app{grid-template-columns:minmax(0,1fr)}.chart-workspace.has-note .cr-app>aside{display:none}@media (max-width:1280px){.chart-workspace.has-note{grid-template-columns:minmax(0,1fr)}.chart-workspace.has-note>.nw{margin-top:0}}[data-slot]{border-style:solid;border-width:0;border-color:var(--line)}button[data-slot],input[data-slot],textarea[data-slot]{appearance:none;-webkit-appearance:none}button[data-slot=button],button[data-slot=tabs-trigger]{background-color:transparent}button[data-slot=button]{cursor:pointer}button[data-slot=button]:disabled{cursor:not-allowed}.chart-identity-content{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start}.chart-name{white-space:normal;overflow-wrap:anywhere}.chart-safety-actions{max-width:340px}.chart-toolbar-content{display:grid;grid-template-columns:minmax(0,1fr) auto}.chart-actions{grid-column:1/-1}.chart-tabs{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin-left:0;padding:2px}.chart-tabs [role=tablist]{min-width:max-content}.chart-demographics{margin-top:12px}.chart-demographics summary{cursor:pointer;color:var(--text-muted);font-size:var(--t-sm)}.chart-demographics summary:hover{color:var(--text)}@media (max-width:767px){.chart-identity-content{grid-template-columns:auto minmax(0,1fr);gap:12px}.chart-safety-actions{grid-column:1/-1;justify-content:flex-start;max-width:none}.chart-toolbar-content{grid-template-columns:minmax(0,1fr)}.chart-actions{gap:8px}.chart-actions>[data-slot=button]{flex:1 1 auto}.chart-tabs{width:100%}.ch-id-contact,.nw{max-width:100%}.nw{width:100%;height:100dvh;box-sizing:border-box;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.st-mount,.st-mount *,[data-slot]{animation:none!important;transition:none!important}}@layer legacy{.care-workspace{margin-top:20px;min-width:0}.care-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;border-radius:var(--radius-lg);background:var(--navy-deep);color:var(--copper-l);box-shadow:var(--shadow-md)}.care-hero h1,.care-hero h2{font:600 clamp(24px,3vw,34px)/1.2 var(--font-display);color:var(--stage-ink);margin:8px 0}.care-hero p{color:var(--stage-sub);max-width:640px;line-height:1.6}.care-eyebrow{font-size:var(--t-xs);text-transform:uppercase;letter-spacing:.08em;font-weight:600}.care-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.care-metrics>div{display:flex;flex-direction:column;gap:10px;padding:20px;background:var(--bg-surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.care-caption,.care-metrics span{color:var(--text-muted);font-size:var(--t-sm)}.care-metrics strong{font-size:clamp(22px,3vw,32px);font-family:var(--font-display);font-variant-numeric:tabular-nums;line-height:1.2}.care-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0 12px}.care-toolbar nav{display:flex;gap:8px;flex-wrap:wrap}.care-empty>a,.care-entry button,.care-toolbar a,.care-work-item>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:var(--radius);border:1px solid var(--line);background:var(--bg-surface);color:var(--text);text-decoration:none}.care-entry button,.care-toolbar a[aria-current]{background:var(--gold-grad);color:var(--navy-deep);font-weight:600}.care-toolbar a span{font-variant-numeric:tabular-nums;font-size:var(--t-xs)}.care-caption{display:flex;gap:7px;align-items:flex-start;line-height:1.6;margin:12px 0}.care-caption svg{flex:none;margin-top:3px}.care-empty,.care-list,.care-program{background:var(--bg-surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.care-work-item{display:grid;grid-template-columns:110px minmax(0,1fr) 65px auto;align-items:center;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line)}.care-work-item:last-child{border-bottom:0}.care-work-item h2{font-size:var(--t-base);font-weight:600;margin:0 0 5px;overflow-wrap:anywhere}.care-work-item p,.care-work-item time{font-size:var(--t-sm);color:var(--text-muted)}.care-kind{color:var(--indigo-text);background:color-mix(in srgb,var(--indigo) 10%,transparent);padding:6px 9px;border-radius:var(--radius);font-size:var(--t-xs)}.care-kind[data-urgent=true]{color:var(--err);background:var(--err-tint)}.care-warning{padding:16px;border:1px solid var(--warn);border-radius:var(--radius);color:var(--text);background:var(--warn-tint);margin:16px 0}.care-empty{padding:40px;text-align:center;margin-top:20px}.care-empty svg{display:inline-block}.care-empty h2{font-size:24px;margin:12px 0}.care-empty p{color:var(--text-muted);max-width:620px;margin:0 auto 20px;line-height:1.7}.care-program{padding:24px;margin:20px 0}.care-program>header{display:flex;justify-content:space-between;gap:16px;align-items:center}.care-program h3{font-size:22px;margin:6px 0}.care-program>header>span{font-size:var(--t-sm);color:var(--text-muted)}.care-program ul{padding-left:22px}.care-program li{padding:6px}.care-program li strong{margin-left:16px}.care-outcomes{margin:24px 0}.care-outcomes h4{font-size:var(--t-base);margin-bottom:12px}.care-outcomes p{color:var(--text-muted)}.care-observations{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.care-observations>div{padding:16px;background:var(--bg-inset);border-radius:var(--radius);display:flex;flex-direction:column;gap:8px}.care-observations strong{font-size:24px}.care-observations small,.care-observations time{font-size:var(--t-xs);color:var(--text-muted)}.care-entry{border-top:1px solid var(--line);padding-top:16px}.care-entry summary{cursor:pointer;min-height:44px;padding-top:12px;font-weight:600}.care-entry form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.care-entry label{display:flex;flex-direction:column;gap:6px;font-size:var(--t-sm)}.care-entry input,.care-entry select{min-height:44px;padding:10px;border:1px solid var(--line);background:var(--bg-surface);color:var(--text);border-radius:var(--radius);max-width:100%;width:100%}.care-entry form>p,.care-entry small{grid-column:1/-1;color:var(--text-muted)}.care-entry button{cursor:pointer}.care-entry button:disabled{opacity:.6;cursor:wait}@media(max-width:767px){.care-hero{padding:22px;align-items:flex-start}.care-hero>svg{display:none}.care-metrics{grid-template-columns:minmax(0,1fr);gap:10px}.care-metrics>div{padding:16px;flex-direction:row;align-items:center;justify-content:space-between}.care-work-item{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px}.care-work-item>.care-kind{grid-column:1}.care-work-item>div{grid-column:1/-1;grid-row:2}.care-work-item>time{grid-column:2;grid-row:1}.care-work-item>a{grid-column:1/-1}.care-program{padding:18px}.care-program>header{align-items:flex-start;flex-direction:column}.care-entry form{grid-template-columns:minmax(0,1fr)}.care-empty{padding:26px}.care-toolbar>nav{flex-wrap:nowrap;overflow:auto;max-width:100%}.care-toolbar nav a{white-space:nowrap;flex-shrink:0}.care-workspace>.care-hero{padding:18px}.care-workspace>.care-hero p{display:none}.care-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.care-metrics>div{padding:12px;flex-direction:column;align-items:flex-start;gap:8px}.care-metrics span{font-size:var(--t-xs);line-height:1.4}.care-metrics strong{font-size:22px;overflow-wrap:anywhere}.care-caption{font-size:var(--t-xs)}}}@layer legacy{}.soap-assistant{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--bg-surface);box-shadow:var(--shadow-sm)}.soap-preview{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:12px;overflow-wrap:anywhere}.soap-preview .nw-ro p{white-space:pre-wrap}.soap-preview input[type=checkbox]{margin-top:2px;min-width:16px;min-height:16px}.timeline-visit{padding:12px 16px;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}.schedule-sync-status,.timeline-visit{background:var(--bg-surface);box-shadow:var(--shadow-sm)}.schedule-sync-status{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin:0 0 16px;border:1px solid var(--line);border-left:3px solid var(--warn);border-radius:12px;font-size:13px}.schedule-sync-status p{margin-top:4px;color:var(--text-muted)}.schedule-block-impact{padding:12px;background:var(--bg-inset);border:1px solid var(--line);border-radius:10px;font-size:13px;line-height:1.5}@media(max-width:600px){.schedule-sync-status{align-items:stretch;flex-direction:column}}.schedule-timeoff[data-slot=sheet-content]{width:100vw;max-width:480px;box-sizing:border-box;z-index:120;overflow-y:auto;height:100dvh;padding:24px 24px max(24px,env(safe-area-inset-bottom))}.schedule-timeoff [data-slot=sheet-header]{padding:0 40px 12px 0}.schedule-timeoff>button:last-child{border:0;background:var(--bg-inset);width:40px;height:40px;display:grid;place-items:center;border-radius:10px}.schedule-timeoff .chip{min-height:40px;border:1px solid var(--line);padding:8px 12px;cursor:pointer}.schedule-timeoff .chip-navy{background:var(--navy);color:var(--stage-ink);border-color:var(--navy)}.schedule-timeoff [data-slot=select-trigger]{width:100%;min-height:44px}.schedule-timeoff input{min-width:0;width:100%}.schedule-timeoff .sc-gold-btn{min-height:44px}.schedule-workspace{min-width:0;padding-bottom:90px}.schedule-toolbar{position:sticky;top:0;z-index:25;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;background:var(--bg-surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:12px}.schedule-date-controls,.schedule-primary-actions,.schedule-views{display:flex;align-items:center;gap:4px}.schedule-control,.schedule-date-picker input,.schedule-icon-button,.schedule-views a,.schedule-views button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border:1px solid var(--line);background:var(--bg-surface);border-radius:10px;font-size:13px;color:var(--text);font-weight:600}.schedule-icon-button{width:44px;padding:8px;flex-shrink:0}.schedule-primary-actions{margin-left:auto;gap:8px}.schedule-control.schedule-primary{background:var(--gold-grad);color:var(--navy-deep);border-color:transparent;box-shadow:var(--shadow-sm)}.schedule-views{border-radius:12px;padding:3px;background:var(--bg-inset);border:1px solid var(--line)}.schedule-views a,.schedule-views button{min-height:36px;border-color:transparent;background:transparent;font-weight:500}.schedule-views [aria-current=page],.schedule-views [aria-pressed=true]{background:var(--bg-surface);color:var(--text);box-shadow:var(--shadow-sm);border-color:var(--line)}.schedule-period{display:flex;gap:16px;align-items:center;flex-wrap:wrap;flex-basis:100%;font-size:13px;border-top:1px solid var(--line);padding-top:12px}.schedule-period>span{font-size:12px;color:var(--text-muted)}.schedule-shortcuts{margin-left:auto;max-width:560px;font-size:12px}.schedule-history summary,.schedule-shortcuts summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:36px;color:var(--text-muted)}.schedule-shortcuts p{line-height:1.7;padding:12px;border:1px solid var(--line);border-radius:8px}.schedule-confidence{padding:4px 2px 12px;color:var(--text-muted);font-size:12px}.schedule-confidence-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.schedule-confidence-row>span{font-weight:600}.schedule-confidence-row>small{margin-left:auto}.schedule-history-row{display:flex;gap:12px;flex-wrap:wrap;padding:12px;border-bottom:1px solid var(--line)}.schedule-history-row a{color:var(--indigo);text-decoration:underline}.schedule-history>p{margin:8px 0}.schedule-board-shell.sc-shell{display:block}.schedule-filters{margin:8px 0 12px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg-surface);box-shadow:var(--shadow-sm)}.schedule-filter-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.schedule-filter-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-right:6px}.schedule-filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border-radius:24px;border:1px solid var(--line);background:var(--bg-surface);color:var(--text-muted);font-size:12px}.schedule-filter-chip[aria-pressed=true]{background:var(--indigo-a12,var(--bg-inset));border-color:var(--indigo);color:var(--text);font-weight:600}.schedule-filter-chip i{width:8px;height:8px;border-radius:50%}.schedule-filter-chip small{color:var(--text-muted);font-size:10px}.schedule-pathway-filters{margin-left:auto}.schedule-pathway-filters summary,.schedule-reset{cursor:pointer;min-height:40px;padding:10px;font-size:12px;border-radius:8px;border:1px solid var(--line);background:var(--bg-surface)}.schedule-pathway-filters[open]{flex-basis:100%;margin-left:0}.schedule-pathway-filters[open] summary{margin-bottom:8px}.schedule-board-meta{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:12px}.schedule-board-meta>span{font-size:12px;color:var(--text-muted)}.schedule-calendar{max-height:72vh;overflow:auto;scrollbar-gutter:stable}.schedule-lane-header{position:sticky!important;top:0;z-index:15;background:var(--bg-surface);min-height:58px;box-shadow:0 2px 3px var(--ink-a06)}.schedule-appointment-state{font-size:10px;line-height:1.3;padding:2px 4px;border-radius:4px;border:1px solid var(--line);background:var(--bg-surface);text-transform:capitalize;white-space:nowrap}.schedule-impact-preview{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--bg-inset);display:grid;gap:10px;line-height:1.5;font-size:13px}.schedule-impact-preview h3{font-weight:700}.schedule-impact-preview ul{list-style:disc;padding-left:20px}.schedule-impact-preview a{color:var(--indigo);text-decoration:underline}.schedule-impact-preview summary{cursor:pointer;min-height:40px}.schedule-error{color:var(--err);font-size:13px}.schedule-mobile-day{display:none}.schedule-empty{padding:20px;font-size:13px;color:var(--text-muted)}.schedule-timeoff :is(button,a,input,summary):focus-visible,.schedule-workspace :is(button,a,input,summary,[role=button]):focus-visible{outline:3px solid var(--indigo);outline-offset:3px}.schedule-timeoff{gap:16px}@media(max-width:700px){.schedule-toolbar{position:relative;padding:12px;gap:10px}.schedule-date-controls{width:100%;justify-content:space-between}.schedule-date-picker{min-width:0;flex:1}.schedule-date-picker input{width:100%;min-width:0;padding:8px}.schedule-primary-actions{margin-left:0;width:100%;display:grid;grid-template-columns:1fr 1fr}.schedule-primary-actions a{padding:8px;font-size:12px}.schedule-toolbar>.schedule-views{width:100%}.schedule-toolbar>.schedule-views a{flex:1}.schedule-period{gap:6px}.schedule-period strong{width:100%}.schedule-shortcuts{display:none}.schedule-confidence-row>small{margin-left:0;width:100%}.schedule-filters{padding:10px}.schedule-filter-label{width:100%}.schedule-pathway-filters{margin-left:0}.schedule-filter-chip{min-height:44px}.schedule-desktop-day{display:none}.schedule-mobile-day{display:grid;gap:16px}.schedule-mobile-lane{min-width:0;background:var(--bg-surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-sm);overflow:hidden}.schedule-mobile-lane h2{position:sticky;top:0;padding:16px;font-size:16px;font-weight:650;border-bottom:1px solid var(--line);background:var(--bg-surface)}.schedule-mobile-lane h2 small{color:var(--text-muted);font-size:11px}.schedule-mobile-away{margin:12px;padding:12px;display:block;width:calc(100% - 24px);background:var(--warn-a12);border:1px dashed var(--warn);border-radius:8px;font-size:12px;text-align:left}.schedule-mobile-visit{display:grid;grid-template-columns:1fr auto;gap:6px;width:100%;padding:16px;text-align:left;border-bottom:1px solid var(--line);min-height:80px}.schedule-mobile-visit time{grid-column:1/-1;font-size:12px;color:var(--text-muted)}.schedule-mobile-visit strong{grid-column:1/-1}.schedule-mobile-visit>span{font-size:12px}.schedule-workspace .sc-row-grid{grid-template-columns:64px minmax(0,1fr);gap:8px}.schedule-workspace .sc-row-grid>div:last-child{grid-column:1/-1;justify-content:flex-start}.schedule-agenda-status{grid-column:2}.schedule-workspace .sc-row-grid button{min-height:44px}.schedule-history-row{padding:12px 0}.schedule-history-row span{width:100%}}@media(prefers-reduced-motion:reduce){.schedule-workspace *{animation:none!important;scroll-behavior:auto!important}}.schedule-loading{padding:20px}.schedule-loading h1{font-size:28px;font-weight:700}.schedule-loading p{margin:16px 0;color:var(--text-muted)}.schedule-loading-grid,.schedule-loading-toolbar{background:var(--bg-inset);border:1px solid var(--line);border-radius:16px;margin:16px 0}.schedule-loading-toolbar{height:100px}.schedule-loading-grid{height:480px}.schedule-agenda-away{display:block;text-align:left;padding:12px 16px;margin:12px;min-height:44px;border:1px dashed var(--warn);border-radius:8px;background:var(--warn-a12);font-size:12px}.schedule-shortcuts label{display:flex;gap:8px;align-items:center;min-height:44px}.schedule-filter-choices{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.schedule-mobile-filter-toggle{display:none}@media(max-width:700px){.schedule-mobile-filter-toggle{display:block;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:var(--bg-surface);font-size:12px}.schedule-filter-choices[data-expanded=false],.schedule-filter-label{display:none}.schedule-filter-choices[data-expanded=true]{order:3;width:100%;padding-top:8px}.schedule-pathway-filters{margin-left:auto}.schedule-confidence-row{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:4px 8px}.schedule-confidence-row>small{grid-column:2;grid-row:2;font-size:10px}.schedule-confidence-row>button{grid-column:3;grid-row:1/3;padding:8px;font-size:11px}.schedule-confidence-row>button svg{display:none}.schedule-period{padding-top:8px}.schedule-period>span{display:none}.schedule-toolbar{gap:8px}.schedule-workspace{padding-bottom:90px}.schedule-workspace>.st-pagehead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0;margin:-1px}.schedule-board-meta>span{font-size:11px}.schedule-mobile-lane h2 small{margin-left:6px}}.schedule-mobile-visit{background:var(--bg-surface);border:0;border-bottom:1px solid var(--line);color:var(--text);font-family:inherit;border-radius:0}.schedule-mobile-visit:hover{background:var(--bg-inset)}.schedule-visit-sheet[data-slot=sheet-content]{width:100vw;max-width:520px;box-sizing:border-box;z-index:120;overflow-y:auto;height:100dvh;padding:24px 24px max(24px,env(safe-area-inset-bottom))}.schedule-visit-sheet [data-slot=sheet-header]{padding:0 40px 12px 0}.schedule-visit-sheet [class*="text-muted-foreground/60"]{color:var(--text-muted)}.schedule-visit-sheet .sc-danger-btn{color:var(--err-text)}.schedule-visit-sheet :is(button,a,input,[role=combobox]):focus-visible{outline:3px solid var(--indigo);outline-offset:3px}@media(max-width:700px){.schedule-visit-sheet .grid-cols-3{grid-template-columns:1fr 1fr}.schedule-visit-sheet .grid-cols-3>div:first-child{grid-column:1/-1}.schedule-visit-sheet :is(button,[role=combobox],input){min-height:44px}.schedule-visit-sheet input{font-size:16px;min-width:0}.schedule-visit-sheet [data-slot=sheet-footer]{padding:0}}@media(max-width:380px){.schedule-date-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px}.schedule-date-picker{grid-column:1/-1}.schedule-date-picker input{width:100%}.schedule-primary-actions{grid-template-columns:1fr}.schedule-primary-actions a{font-size:13px}.schedule-views a,.schedule-views button{padding:8px}}.schedule-copy-link{min-height:36px;border:0;background:transparent;color:var(--indigo);font:inherit;font-size:12px;text-decoration:underline}@media(max-width:700px){.schedule-copy-link{font-size:11px;min-height:32px;margin-left:auto}.schedule-period strong{width:auto;flex:1}}.schedule-workspace{container-type:inline-size;container-name:schedule}@container schedule (max-width:700px){.schedule-date-controls{flex-wrap:wrap}.schedule-date-controls,.schedule-date-picker{min-width:0;max-width:100%}.schedule-date-picker input{max-width:100%}.schedule-primary-actions{flex-wrap:wrap}.schedule-workspace .sc-row-grid{grid-template-columns:64px minmax(0,1fr);gap:8px}.schedule-workspace .sc-row-grid>div:last-child{grid-column:1/-1;justify-content:flex-start}.schedule-agenda-status{grid-column:2}.schedule-workspace .sc-row-grid .sc-hide-sm{display:none}.schedule-toolbar{position:relative}.schedule-period{overflow-wrap:anywhere}.schedule-shortcuts{margin-left:0;max-width:100%}}.crumbs{max-width:100%;flex-wrap:wrap}.crumb-org{max-width:100%;overflow:hidden;text-overflow:ellipsis}@media (max-width:640px),(pointer:coarse){.st-actions a[href],.st-actions button,.st-touch,.topbar a[href],.topbar button,header [role=button],header a[href],header button{min-width:44px;min-height:44px}a.st-touch,button.st-touch{display:inline-flex;align-items:center;justify-content:center}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{font-size:16px!important}[role=tab]{min-height:44px}a[href]:not(.st-hit):not(.mnav-tab),button:not(.st-hit):not([role=tab]):not(.mnav-tab),select{min-height:44px;min-width:44px}.st-hit{position:relative}.st-hit:after{content:"";position:absolute;top:50%;left:50%;width:44px;height:44px;transform:translate(-50%,-50%)}}