.workspace-menu,.workspace-drawer-close{display:none}
.workspace-drawer-backdrop[hidden]{display:none!important}
.workspace-logout{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;color:#315f48;cursor:pointer}
#out-top{border:1px solid #dfe6d7;border-radius:10px;padding:8px 11px;background:#fbfcf9;font-size:11px;font-weight:600;transition:background .2s,border-color .2s}
#out-top:hover{background:#edf3e8;border-color:#becfb0}
.workspace-logout-icon,.workspace-refresh-icon{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.workspace-logout-arrow{transition:transform .2s}
.workspace-logout:hover .workspace-logout-arrow{transform:translateX(1px)}
.workspace-account{display:flex;align-items:center;gap:7px;min-width:0}
.workspace-account span{overflow-wrap:anywhere}
#refresh{display:inline-flex;align-items:center;justify-content:center;gap:6px}
@media(max-width:650px){
 .profile-preview-bar.live-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:48px;padding:7px 14px;gap:8px}
 .workspace-account{display:grid;gap:2px;font-size:10px;line-height:1.4}
 .workspace-account span{font-size:10px;color:#7b896f}
 #refresh{min-height:36px;padding:6px 7px;font-size:10px}
 .workspace-refresh-icon{width:14px;height:14px}
 #out-top{min-height:40px;padding:7px 9px}
 .workspace-menu{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:8px;border:1px solid #dfe6d7;border-radius:10px;background:#f8faf4;color:#315b43;flex-shrink:0}
 .workspace-menu svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
 .topbar{gap:9px;padding:0 13px}.breadcrumb{min-width:0;gap:8px}.breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.top-actions{flex-shrink:0;gap:6px}.top-actions .view-toggle{max-width:113px;min-height:36px;padding:7px 9px;font-size:10px;line-height:1.4;border-radius:9px}
 .app-shell .sidebar{position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:100;width:min(290px,86vw);height:100vh;height:100dvh;padding:28px 18px max(12px,env(safe-area-inset-bottom));background:#fffefb;border-right:1px solid #dce4d3;transform:translateX(-105%);transition:transform .28s cubic-bezier(.22,.8,.32,1);box-shadow:none;visibility:hidden}
 .app-shell .sidebar.open{transform:translateX(0);box-shadow:18px 0 60px #173b2b25;visibility:visible}
 .workspace-drawer-close{display:flex;align-items:center;justify-content:center;position:absolute;top:18px;right:14px;width:32px;height:32px;padding:7px;border:1px solid #dce5d1;border-radius:50%;background:#f5f8ed;color:#6e8659}
 .workspace-drawer-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
 .sidebar .brand{font-size:37px;padding:0 9px;flex-shrink:0}.sidebar .brand-symbol{font-size:43px}.sidebar .brand small{font-size:7px}
 .sidebar .clinic-picker{margin:25px 0 23px;flex-shrink:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:13px}.sidebar .clinic-picker strong{font-size:13px;overflow-wrap:anywhere}.sidebar .clinic-picker select{width:100%;max-width:220px}
 .sidebar .nav-label{flex-shrink:0;margin-bottom:11px;letter-spacing:2px;font-size:9px}
 .sidebar nav{display:flex;flex-direction:column;gap:5px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:2px 3px 12px 0;scrollbar-width:thin;scrollbar-color:#c7d3b6 transparent}
 .sidebar nav button{flex-shrink:0;min-height:43px;padding:12px 14px;font-size:12px}.sidebar nav button[hidden]{display:none!important}
 .sidebar-bottom{padding-top:8px;flex-shrink:0;margin-top:0}.sidebar .care-card{display:none}.sidebar .side-profile{padding:13px 2px}.sidebar .side-profile strong{font-size:11px}.sidebar .help-link{margin:6px 7px;font-size:11px;min-height:31px}
 .workspace-drawer-backdrop{position:fixed;inset:0;z-index:90;background:#142f2466;backdrop-filter:blur(4px);animation:workspace-backdrop .2s ease both;touch-action:none}
 body.workspace-drawer-open{overflow:hidden}
}
@media(max-width:360px){.topbar{padding:0 10px}.top-actions .view-toggle{max-width:95px;font-size:9px;padding:6px 7px}.breadcrumb{gap:6px}.workspace-menu{width:32px;height:34px;padding:7px}}
@keyframes workspace-backdrop{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.sidebar,.workspace-drawer-backdrop,#out-top,.workspace-logout-arrow{animation:none!important;transition:none!important}}
