.shell.radius-shell.staff-app-shell{grid-template-columns:var(--sidebar-width) minmax(0,1fr);background:var(--background);min-height:100dvh;display:grid}.shell.radius-shell.staff-app-shell[data-sidebar=collapsed]{grid-template-columns:var(--sidebar-rail-width) minmax(0,1fr)}.staff-sidebar{border-right:var(--border-width) solid var(--border-strong);background:var(--surface);z-index:40;flex-direction:column;min-width:0;height:100dvh;display:flex;position:sticky;top:0}.shell-brand{height:var(--topbar-height);align-items:center;gap:var(--space-1);padding:0 var(--space-2);font-size:var(--text-24);letter-spacing:var(--tracking-title);border-bottom:var(--border-width) solid var(--border);flex:none;font-weight:600;text-decoration:none;display:flex}.shell-brand:hover{text-decoration:none}.shell-brand img{flex:none}.shell-collapse{align-items:center;gap:var(--space-1);margin:var(--space-2) var(--space-1);padding:var(--space-1);border-radius:var(--radius-control);color:var(--text-secondary);font-size:var(--text-13);cursor:pointer;min-height:var(--control-height);background:0 0;border:0;display:flex}.shell-collapse svg{flex:none}.shell-collapse:hover{background:var(--surface-subtle)}.shell-navigation{gap:var(--space-1);padding:0 var(--space-1);overscroll-behavior:contain;flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.shell-nav-group{position:relative}.shell-nav-row{min-height:var(--control-height);align-items:stretch;display:flex;position:relative}.shell-nav-row>a{gap:var(--space-2);min-width:0;padding:var(--space-1) var(--space-2);font-size:var(--text-15);color:var(--text-secondary);flex:1;align-items:center;text-decoration:none;display:flex}.shell-nav-row svg{flex:none}.shell-nav-row>a:hover{color:var(--text-primary)}.shell-nav-group[data-active=true]>.shell-nav-row:before{content:"";inset:var(--space-1) auto var(--space-1) 0;border-radius:var(--radius-control);background:var(--accent);width:3px;position:absolute}.shell-nav-group[data-active=true]>.shell-nav-row>a{color:var(--accent);background:0 0;font-weight:600}.shell-nav-row>button{color:var(--text-secondary);padding:0 var(--space-1);cursor:pointer;border-radius:var(--radius-control);background:0 0;border:0}.shell-nav-row>button svg{width:14px}.shell-nav-row>button[aria-expanded=true] svg{transform:rotate(90deg)}.shell-submenu{padding:var(--space-1) 0 var(--space-1) var(--space-3);gap:var(--space-1);flex-direction:column;display:flex}.shell-submenu strong{display:none}.shell-submenu a{font-size:var(--text-13);color:var(--text-secondary);padding:var(--space-1);border-radius:var(--radius-control);text-decoration:none;display:block}.shell-submenu a:hover{color:var(--accent);background:var(--surface-subtle)}.shell-staff{gap:var(--space-1);padding:var(--space-2);border-top:var(--border-width) solid var(--border);margin-top:var(--space-2);grid-template-columns:32px minmax(0,1fr);display:grid}.staff-avatar{border:var(--border-width) solid var(--border-strong);width:32px;height:32px;color:var(--accent);font-size:var(--text-13);background:var(--surface);border-radius:50%;place-items:center;font-weight:600;display:grid}.staff-identity{flex-direction:column;min-width:0;display:flex}.staff-identity strong{font-size:var(--text-13);overflow-wrap:anywhere}.staff-identity small{font-size:var(--text-13)}.staff-signout{grid-column:1/-1}.staff-signout .btn{width:100%}.staff-app-shell[data-sidebar=collapsed] .shell-brand span,.staff-app-shell[data-sidebar=collapsed] .shell-collapse span,.staff-app-shell[data-sidebar=collapsed] .shell-nav-row>a>span,.staff-app-shell[data-sidebar=collapsed] .staff-identity{display:none}.staff-app-shell[data-sidebar=collapsed] .shell-nav-row>a{padding:var(--space-1);gap:0}.staff-app-shell[data-sidebar=collapsed] .shell-nav-row>button{width:12px;padding:0}.staff-app-shell[data-sidebar=collapsed] .shell-navigation{overflow:visible}.staff-app-shell[data-sidebar=collapsed] .shell-submenu{top:var(--topbar-height);left:var(--sidebar-rail-width);width:240px;max-width:calc(100vw - var(--sidebar-rail-width) - var(--space-2));max-height:calc(100dvh - var(--topbar-height) - var(--space-2));padding:var(--space-1);background:var(--surface);border:var(--border-width) solid var(--border-strong);border-radius:var(--radius-card);box-shadow:var(--shadow-floating);z-index:50;position:fixed;overflow:auto}.staff-app-shell[data-sidebar=collapsed] .shell-submenu strong{padding:var(--space-1);font-size:var(--text-15);display:block}.staff-app-shell[data-sidebar=collapsed] .shell-staff{padding:var(--space-2) var(--space-1);grid-template-columns:1fr;justify-items:center}.staff-app-shell[data-sidebar=collapsed] .staff-signout button{white-space:normal;height:auto;padding:var(--space-1) 0}.staff-stage{min-width:0}.staff-topbar{height:var(--topbar-height);align-items:center;gap:var(--space-2);padding:0 var(--page-margin);border-bottom:var(--border-width) solid var(--border-strong);background:var(--surface);z-index:30;display:flex;position:sticky;top:0}.shell-search{align-items:center;gap:var(--space-1);flex:1;min-width:0;max-width:640px;margin:0;display:flex}.shell-search svg{color:var(--text-secondary);flex:none}.staff-app-shell .shell-search input{width:100%;min-width:0;min-height:var(--control-height-compact);padding:var(--space-1) 0;font-size:var(--text-13);background:0 0;border:0;border-radius:0}.shell-date{gap:var(--space-1);flex:none;align-items:center;margin-left:auto;display:flex}.staff-app-shell .shell-date input{min-height:var(--control-height-compact);height:var(--control-height-compact);width:150px;padding:0 var(--space-1);font-size:var(--text-13)}.shell-notifications{flex:none;position:relative}.shell-bell{justify-content:center;align-items:center;gap:var(--space-1);min-height:var(--control-height);padding:var(--space-1);border-radius:var(--radius-control);color:var(--text-secondary);cursor:pointer;background:0 0;border:0;display:flex}.shell-bell span{font-size:var(--text-13);color:var(--accent);font-weight:600}.shell-notification-panel{right:0;top:calc(100% + var(--space-1));width:320px;max-width:calc(100vw - var(--sidebar-rail-width) - var(--space-4));padding:var(--card-padding);background:var(--surface);border:var(--border-width) solid var(--border-strong);border-radius:var(--radius-card);box-shadow:var(--shadow-floating);position:absolute}.staff-app-shell .shell-notification-panel h2{font-size:var(--text-18)}.shell-notification-panel p,.shell-notification-panel a{font-size:var(--text-13)}.shell-notification-panel a{margin-top:var(--space-2);display:block}:is(.staff-app-shell .main,.staff-app-shell:has(.staff-workspace) .main){padding:var(--page-margin);min-width:0}.staff-app-shell .pagehead{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.staff-app-shell .pagehead h1{font-family:var(--font-serif)}.staff-app-shell .pagehead p{color:var(--text-secondary)}.staff-app-shell :is(.card,.report-card,.ops-tile,.ops-panel,.note-main,.macro-panel,.snapshot-counter,.century-club,.marketplace-card,.goal-ring-card,.ledger-summary article,.flow-workspace,.note-box,.report-metrics article,.snapshot-panel,.calendar-panel,.command-dock,.patient-note-document){border-color:var(--border-strong)}.shell-skip{top:var(--space-1);left:var(--space-1);z-index:100;background:var(--surface);padding:var(--space-2);border:var(--border-width) solid var(--accent);border-radius:var(--radius-control);position:fixed;transform:translateY(-200%)}.shell-skip:focus{transform:none}.staff-app-shell .staff-workspace{--desk-area:calc(100dvh - var(--topbar-height) - 2 * var(--page-margin) - var(--space-7));flex-direction:column;gap:0;display:flex}.staff-app-shell .workspace-pagehead{min-height:var(--space-5);margin:0 0 var(--space-2)}.staff-app-shell .workspace-grid{align-items:stretch;min-height:0}.staff-app-shell .staff-workspace .calendar-panel{height:max(420px,calc(var(--desk-area) * var(--calendar-workspace-share)));min-height:0}.staff-app-shell .staff-workspace .snapshot-panel{max-height:max(420px,calc(var(--desk-area) * var(--calendar-workspace-share)));min-height:0}.staff-app-shell .staff-workspace[data-expanded=snapshot] .snapshot-panel{max-height:none}.staff-app-shell .staff-workspace .panel-heading{padding:var(--space-1) var(--space-2);flex-wrap:wrap}.staff-app-shell .calendar-navigation{margin-left:auto}.staff-app-shell .calendar-navigation input{width:150px}.staff-app-shell .calendar-switch>.muted{font-size:var(--text-13)}.staff-app-shell .command-dock{margin-top:var(--space-1);flex:none;position:relative;bottom:auto}.staff-app-shell .dock-collapsed .dock-column header{min-height:var(--space-5);padding:0 var(--space-1)}.staff-app-shell .dock-collapsed .dock-footer{padding:0 var(--space-1)}.staff-app-shell .command-dock:not(.dock-collapsed){max-height:50dvh;overflow:auto}.staff-app-shell .resize-x{height:100%;min-height:0}@media (max-width:1100px){.staff-app-shell .desk-view-selector small{display:none}.staff-app-shell .calendar-navigation{margin-left:0}.staff-app-shell .calendar-switch{flex:1}.staff-topbar{gap:var(--space-1)}.shell-search>svg{display:none}}@media (max-width:900px){.shell.radius-shell.staff-app-shell[data-sidebar=expanded]{grid-template-columns:var(--sidebar-rail-width) minmax(0,1fr)}.staff-app-shell[data-sidebar=expanded] .staff-sidebar{width:var(--sidebar-width);box-shadow:var(--shadow-floating);position:fixed}.staff-app-shell[data-sidebar=expanded] .staff-stage{grid-column:2}.staff-app-shell .workspace-grid{grid-template-columns:minmax(0,1fr)}.staff-app-shell .snapshot-resizer{display:none}.staff-app-shell .snapshot-panel{margin-bottom:var(--space-2)}.staff-app-shell .shell-search button{display:none}.staff-app-shell .command-dock .dock-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.staff-topbar{padding:0 var(--space-1);gap:var(--space-1)}.staff-app-shell .shell-date input{width:126px;padding:0 var(--space-1)}.shell-date{gap:0}.shell-bell{padding:var(--space-1)}.shell-search{gap:0}.staff-app-shell .workspace-pagehead{flex-wrap:wrap}.staff-app-shell .workspace-pagehead h1{font-size:var(--text-24)}.staff-app-shell .calendar-navigation{gap:var(--space-1)}.staff-app-shell .staff-workspace .calendar-panel{height:max(540px,calc(var(--desk-area) * var(--calendar-workspace-share)))}.staff-app-shell .staff-workspace .panel-heading{padding:var(--space-1)}.staff-app-shell .dock-column h3{white-space:normal}.staff-app-shell .calendar-navigation input{width:134px}}@media (max-height:620px){.staff-sidebar{overflow-y:auto}.staff-app-shell[data-sidebar=collapsed] .shell-navigation{overflow:visible}.staff-app-shell[data-sidebar=collapsed] .shell-submenu{left:var(--sidebar-rail-width);top:var(--topbar-height);position:fixed}}@media print{.staff-app-shell .staff-sidebar,.staff-app-shell .staff-topbar,.shell-skip{display:none!important}.shell.radius-shell.staff-app-shell{display:block}.staff-app-shell .main{padding:0}.staff-app-shell .command-dock{max-height:none!important;overflow:visible!important}}@media (max-width:600px){.staff-app-shell .staff-workspace .calendar-panel{height:auto;min-height:0}.staff-app-shell .calendar-content{flex:none;height:360px;min-height:360px}.staff-app-shell .calendar-switch,.staff-app-shell .calendar-switch>.muted{flex-basis:100%}.staff-app-shell .shell-nav-row>button{min-height:var(--control-height)}}.staff-app-shell[data-sidebar=collapsed] .shell-nav-row>.rail-group-button{width:100%;min-height:var(--control-height);padding:var(--space-1);justify-content:center;align-items:center;display:flex}.staff-app-shell[data-sidebar=collapsed] .shell-nav-row>.rail-group-button svg{width:20px;transform:none}.staff-app-shell[data-sidebar=collapsed] .shell-nav-group[data-active=true] .rail-group-button{color:var(--accent)}.sidebar-dismiss{inset:0 0 0 var(--sidebar-width);z-index:39;background:var(--scrim);cursor:pointer;border:0;position:fixed}.shell-topbar-label{font-size:var(--text-13);color:var(--text-secondary)}@media (max-width:900px){.shell.radius-shell.staff-app-shell[data-sidebar=auto]{grid-template-columns:var(--sidebar-rail-width) minmax(0,1fr)}.staff-app-shell[data-sidebar=auto] .shell-brand span,.staff-app-shell[data-sidebar=auto] .shell-collapse span,.staff-app-shell[data-sidebar=auto] .shell-nav-row>a>span,.staff-app-shell[data-sidebar=auto] .shell-nav-row>button,.staff-app-shell[data-sidebar=auto] .staff-identity{display:none}.staff-app-shell[data-sidebar=auto] .shell-nav-row>a{padding:var(--space-1)}.staff-app-shell[data-sidebar=auto] .shell-staff{padding:var(--space-2) var(--space-1);grid-template-columns:1fr;justify-items:center}}
.snapshot-host{display:contents}.global-patient-snapshot{width:min(var(--snapshot-width),100vw);border:0;border-left:1px solid var(--border);background:var(--surface);max-width:100vw;height:100dvh;max-height:100dvh;color:var(--text-primary);box-shadow:var(--shadow-floating);margin:0;padding:0;position:fixed;inset:0 0 0 auto;overflow:hidden}.global-patient-snapshot[open]{animation:snapshot-enter var(--snapshot-duration) var(--ease-out);flex-direction:column;display:flex}.global-patient-snapshot::backdrop{background:var(--scrim)}@keyframes snapshot-enter{0%{transform:translate(100%)}to{transform:translate(0)}}.snapshot-header{max-height:45%;padding:var(--space-3);border-bottom:1px solid var(--border);flex-shrink:0;overflow:auto}.snapshot-close{margin-left:auto;margin-bottom:var(--space-1);display:block}.patient-drawer-identity{align-items:center;gap:var(--space-2);display:flex}.patient-drawer-identity>div{min-width:0}.patient-drawer-identity h2{font-family:var(--font-serif);font-size:var(--text-24);overflow-wrap:anywhere;margin:0}.patient-drawer-identity p{color:var(--text-secondary);font-size:var(--text-13);margin:var(--space-1) 0}.patient-drawer-identity a{color:var(--text-secondary)}.snapshot-avatar{width:var(--space-6);height:var(--space-6);border:1px solid var(--border);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.snapshot-pills{gap:var(--space-1);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.snapshot-pills span{font-size:var(--text-13);border:1px solid var(--border);border-radius:var(--radius-control);padding:0 var(--space-1)}.snapshot-body{min-height:0;padding:0 var(--space-3);overscroll-behavior:contain;flex:1;overflow:auto}.snapshot-section{padding:var(--space-2) 0;border-bottom:1px solid var(--border)}.snapshot-section>h3{font:600 var(--snapshot-section-label-size)/var(--leading-body) var(--font-sans);text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin:0 0 var(--space-1)}.snapshot-section p{margin:var(--space-1) 0;font-size:var(--text-13);overflow-wrap:anywhere}.snapshot-line{justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;display:flex}.snapshot-section progress{width:100%;height:var(--space-1);border-radius:var(--radius-control);appearance:none;background:var(--surface-subtle);accent-color:var(--accent);border:0;display:block;overflow:hidden}.snapshot-section progress::-webkit-progress-bar{background:var(--surface-subtle)}.snapshot-section progress::-webkit-progress-value{background:var(--accent)}.snapshot-section progress::-moz-progress-bar{background:var(--accent)}.snapshot-danger,.snapshot-error{color:var(--danger)}.snapshot-secondary,.snapshot-visit small{color:var(--text-secondary);font-size:var(--text-13)}.snapshot-visit{padding-bottom:var(--space-1)}.snapshot-section>a{font-size:var(--text-13);color:var(--text-secondary)}.snapshot-alert{border-left:1px solid var(--warning);padding-left:var(--space-1)}.snapshot-notes .patient-category-notes>h3{display:none}.snapshot-notes .patient-category-notes{margin:0}.snapshot-notes .patient-note-document{margin-top:var(--space-1)}.snapshot-notes .patient-note-section{padding:var(--space-1)}.snapshot-footer{border-top:1px solid var(--border);background:var(--surface);gap:var(--space-1);padding:var(--space-2) var(--space-3);text-align:center;flex-direction:column;flex-shrink:0;display:flex}.snapshot-footer small,.snapshot-footer>a{color:var(--text-secondary);font-size:var(--text-13)}.snapshot-selector{gap:var(--space-1);font-size:var(--text-13);text-align:left;display:grid}.snapshot-selector select{width:100%;min-width:0}.snapshot-name{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.snapshot-name:hover{text-decoration:underline}#snapshot-household{max-height:calc(var(--space-8) * 2);gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex;overflow:auto}@media (prefers-reduced-motion:reduce){.global-patient-snapshot[open]{animation:none}}@media (max-height:650px){.snapshot-header{max-height:45%;padding:var(--space-2) var(--space-3);overflow:auto}.snapshot-footer{padding:var(--space-1) var(--space-3)}}.snapshot-saved-note{white-space:pre-wrap;overflow-wrap:anywhere}.snapshot-retained{bottom:var(--space-2);right:var(--space-2);z-index:100;max-width:min(var(--snapshot-width),calc(100vw - var(--space-4)));padding:var(--space-2);background:var(--surface);border:1px solid var(--danger);border-radius:var(--radius-card);box-shadow:var(--shadow-floating);position:fixed}.snapshot-retained p{margin:0 0 var(--space-1);font-size:var(--text-13)}.snapshot-household-link{font:inherit;font-size:var(--text-13);color:var(--text-secondary);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}
.staff-app-shell .shell-nav-row svg,.staff-app-shell .shell-nav-row>.rail-group-button svg,.staff-app-shell .shell-search svg,.staff-app-shell .shell-bell svg,.shell-collapse svg{flex-shrink:0;width:16px;height:16px}body .btn:hover:not(:disabled),body .btn:active:not(:disabled){background:var(--surface-subtle);color:var(--text-primary);opacity:1;transform:none}button:not(.btn):not(.vertebra):not(.anatomy-segment):not(.sidebar-dismiss):not(.pa *):hover:not(:disabled),button[aria-pressed=true]:not(.anatomy-segment):not(.vertebra):not(.sidebar-dismiss),summary:not(.pa *):hover,.record-tabs a:hover,.record-tabs a[aria-current=page],.snapshot-file-tabs a:hover{background:var(--surface-subtle)}body .anatomy-segment:hover:not([aria-pressed=true]){color:var(--text-primary);background:0 0}body .anatomy-segment:hover:not([aria-pressed=true]) svg{fill:var(--border)}.empty-state{padding:var(--card-padding);text-align:center;color:var(--text-secondary);border:var(--border-width) solid var(--border);border-radius:var(--radius-card);background:var(--surface)}.empty-state p{margin:var(--space-1) 0 0}.empty-state strong{font-size:var(--text-15);font-weight:500}.card.table-scroll>p,.card.table-scroll>.empty-state{padding:var(--card-padding);margin:0}.loading-state{padding:var(--space-2) 0;min-width:0}.skeleton-lines{gap:var(--space-2);display:grid}.skeleton-lines>span{min-height:var(--space-2);background:var(--surface-subtle);border-radius:var(--radius-control);animation:1.6s ease-in-out infinite alternate skeleton-breathe;display:block}.skeleton-lines>span:last-child{width:64%}@keyframes skeleton-breathe{to{opacity:.45}}.loading-grid{gap:var(--card-gap);grid-template-columns:2fr 1fr;display:grid}.approval-steps{gap:var(--space-2);margin:var(--space-3) 0;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;list-style:none;display:grid}.approval-steps li{border-top:1px solid var(--border);padding-top:var(--space-2)}.approval-steps strong,.approval-steps span{display:block}.approval-steps span{margin-top:var(--space-1);color:var(--text-secondary);font-size:var(--text-13)}.highlevel-placeholder{margin-bottom:var(--card-gap);scroll-margin-top:var(--space-8)}.demo-marker{font-size:var(--text-13);white-space:nowrap;border:1px solid var(--border);padding:var(--space-1);border-radius:var(--radius-control);color:var(--text-secondary)}.signed-note section+section{border-top:1px solid var(--border);margin-top:var(--space-3);padding-top:var(--space-3)}.signed-note p{white-space:pre-wrap}@media (max-width:900px){.loading-grid,.approval-steps{grid-template-columns:1fr}.demo-marker{white-space:normal}}@media (prefers-reduced-motion:reduce){.skeleton-lines>span{animation:none}}
.staff-app-shell:has(.staff-workspace) .main{padding:0}.staff-app-shell .staff-workspace{height:calc(100dvh - var(--topbar-height));gap:0;min-height:0}.staff-app-shell .workspace-grid{flex:1;min-height:0}.staff-app-shell .workspace-main{min-height:0}.staff-app-shell .staff-workspace .calendar-panel{border-top:0;border-radius:0;height:100%;min-height:0}.staff-app-shell .staff-workspace .snapshot-panel{border-radius:0;height:100%;max-height:100%}.staff-app-shell .calendar-switch h1{font-family:var(--font-serif);font-size:var(--text-24);white-space:nowrap;margin:0}.staff-app-shell .calendar-switch{gap:var(--space-1);flex-wrap:wrap}.staff-app-shell .calendar-switch>.muted{order:4}.staff-app-shell .command-dock{border-radius:0;margin:0}.staff-app-shell .command-dock:not(.dock-collapsed){max-height:32dvh}.staff-app-shell .dock-column-content{height:calc(var(--space-5) * 2)}.staff-app-shell .dock-column header{height:auto;min-height:var(--space-5);padding:0 var(--space-1)}.staff-app-shell .dock-column h3{white-space:normal}.staff-app-shell .dock-footer{padding:0 var(--space-1)}.staff-app-shell .desk-view-selector{padding:0 var(--space-2);min-height:var(--space-4)}.staff-app-shell .desk-view-selector button{padding:0 var(--space-1);height:var(--space-4)}.staff-app-shell .day-hub{padding:0 var(--space-2);min-height:var(--space-3);margin:0}.staff-app-shell .daily-inspiration{padding:0}.staff-app-shell .service-calendar-tabs{padding:0 var(--space-2);min-height:var(--space-5);align-items:center}.staff-app-shell .service-calendar-tabs button{padding:0 var(--space-1);height:var(--space-4)}.staff-app-shell .service-calendar-tabs small{padding:0 var(--space-1)}.staff-app-shell .dock-column-content{padding:var(--space-1)}.staff-app-shell .calendar-information{padding:0 var(--space-1)}@media (max-width:900px){.staff-app-shell .staff-workspace{height:auto;min-height:0}.staff-app-shell .staff-workspace .calendar-panel{height:640px}.staff-app-shell .staff-workspace .snapshot-panel{height:auto;max-height:480px}.staff-app-shell .calendar-content{flex:1;height:auto;min-height:0}.staff-app-shell .command-dock:not(.dock-collapsed){max-height:none}}@media print{.staff-app-shell .staff-workspace{height:auto;min-height:0}}@media (min-height:800px){.staff-app-shell .dock-column-content{height:calc(var(--space-7) * 2)}}.workspace-dock{flex:none;min-height:0}.workspace-dock[hidden]{display:none}.staff-workspace[data-workspace-view=flow] .calendar-content{overflow:auto}.staff-workspace[data-workspace-view=flow] .flow-board{flex:1;min-height:0}.staff-workspace[data-workspace-view=flow] .flow-column{flex-direction:column;min-height:0;display:flex}.staff-workspace[data-workspace-view=flow] .workspace-column{flex:1;min-height:0;overflow:auto}.snapshot-visit-count{font:600 var(--text-32)/1.2 var(--font-serif)}.snapshot-visit-tracker details{color:var(--text-secondary);font-size:var(--text-13)}.staff-app-shell .dock-alert-list{gap:0;margin:0}.staff-app-shell .dock-alert-list li{border:0;border-bottom:var(--border-width) solid var(--border);padding:var(--space-1) 0;border-radius:0;align-items:baseline}.staff-app-shell .dock-alert-list li:last-child{border-bottom:0}.staff-app-shell .dock-alert-list a,.staff-app-shell .dock-alert-list span{white-space:normal;overflow-wrap:anywhere}.appointment-lanes{scrollbar-gutter:stable;flex:1;min-height:0;overflow:auto}.compact-calendar{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:calc(var(--lanes) * 320px)}.compact-calendar-cell{vertical-align:top;border-right:var(--border-width) solid var(--border);border-bottom:var(--border-width) solid var(--border);padding:0}[data-calendar=chiropractic]{--calendar-tint:var(--calendar-chiropractic-surface)}[data-calendar=red-light]{--calendar-tint:var(--calendar-red-light-surface)}[data-calendar=npm]{--calendar-tint:var(--calendar-npm-surface)}.appointment-lane-heading{z-index:3;text-align:left;padding:var(--space-1);border-top:4px solid var(--calendar-color);border-bottom:var(--border-width) solid var(--border-strong);background:var(--calendar-tint,var(--surface));font-size:var(--text-13);position:sticky;top:0}.appointment-lane-heading span{color:var(--text-secondary);font-weight:400;display:block}.appointment-slot{align-items:start;gap:var(--space-1);padding:var(--space-1);background:var(--surface);min-height:var(--space-5);grid-template-columns:80px minmax(0,1fr) 88px;display:grid}.appointment-slot>time{font-size:var(--text-13);font-variant-numeric:tabular-nums;line-height:var(--space-4);color:var(--text-secondary)}.compact-calendar-cell.slot-closed .appointment-slot{background:var(--background)}.appointment-slot-patients{align-items:start;gap:var(--space-1);flex-wrap:wrap;min-width:0;display:flex}.appointment-chip-compact{background:var(--calendar-tint,var(--surface));border-color:var(--border-strong);border-left-color:var(--appointment-accent);flex:0 192px;min-width:0;max-width:100%;margin:0}.appointment-chip-compact .appointment-open{padding:0 var(--space-1);min-height:var(--space-4);justify-content:center}.appointment-chip-compact .appointment-open strong{white-space:normal;overflow-wrap:anywhere;font-weight:600}.appointment-chip-compact .compact-appointment-time{font-size:var(--text-13);color:var(--text-secondary)}.appointment-chip-compact .appointment-menu summary{padding:var(--space-1);min-height:var(--space-4)}.empty-slot,.slot-hours-note{font-size:var(--text-13);color:var(--text-secondary);line-height:var(--space-4)}.slot-hours-note{flex-basis:100%}.slot-capacity{text-align:right;font-size:var(--text-13);color:var(--text-secondary);padding-top:var(--space-1)}.slot-capacity small{font-size:var(--text-13);display:block}.slot-capacity.capacity-alert{color:var(--danger)}.staff-app-shell .service-calendar-tabs button[data-calendar]{background:var(--calendar-tint,var(--surface));color:var(--text-primary);border-top-width:4px}.staff-app-shell .service-calendar-tabs button[data-calendar][aria-pressed=true]{border-bottom:2px solid var(--text-primary);font-weight:700}.staff-app-shell .command-dock,.staff-app-shell .dock-column,.staff-app-shell .dock-column header,.staff-app-shell .dock-column-content,.staff-app-shell .dock-footer,.staff-app-shell .dock-alert-list li{background:var(--communications-surface)}.staff-app-shell .command-dock{border-top:var(--border-width) solid var(--border-strong)}.staff-app-shell .dock-column{border-color:var(--border-strong)}.desk-view-shortcuts{gap:var(--space-2);font-size:var(--text-13);color:var(--text-secondary);flex-wrap:wrap;align-items:center;margin-left:auto;display:flex}.desk-view-shortcuts a{color:var(--text-primary);text-underline-offset:3px;text-decoration:underline}@media (max-width:600px){.appointment-slot{grid-template-columns:64px minmax(0,1fr) 72px}.appointment-lane-heading{flex-direction:column}.desk-view-shortcuts{margin-left:0}}.staff-app-shell .service-time-grid thead th,.staff-app-shell .service-time-grid .appointment-chip{background:var(--calendar-tint,var(--surface))}.staff-app-shell .timed-slot-content>.slot-state{text-align:right;line-height:1.4}.staff-app-shell .slot-state.capacity-alert{color:var(--danger);font-weight:600}.staff-workspace .appointment-chip-compact .appointment-open{padding:0 var(--space-1);min-height:var(--space-4);gap:0}.staff-workspace .appointment-chip-compact .appointment-menu summary{padding:0 var(--space-1);line-height:var(--space-4);min-height:var(--space-4)}.appointment-slot:has(.empty-slot){min-height:var(--space-4);padding-top:0;padding-bottom:0}.appointment-open[aria-disabled=true],.appointment-menu button[aria-disabled=true]{opacity:.6;cursor:wait}.appointment-open:has(.appointment-photo){column-gap:var(--space-1);grid-template-columns:28px minmax(0,1fr);align-content:start;display:grid}.appointment-open:has(.appointment-photo)>:not(.appointment-photo){grid-column:2}.appointment-photo{object-fit:cover;border-radius:50%;grid-row:1/span 3;width:28px;height:28px}.patient-photo{object-fit:cover;border-radius:50%;flex:none;width:64px;height:64px}.patient-photo-head{align-items:center;gap:var(--space-2);display:flex}.patient-photo-remove{margin-top:var(--space-1)}.patient-photo-remove textarea{width:100%}.snapshot-photo{object-fit:cover;padding:0}.schedule-photo{vertical-align:middle;margin-right:var(--space-1);display:inline-block}

