/* Source of truth for the application-owned PC workspace. */
:root{
 --ws-brand:#0f62fe;--ws-brand-hover:#004ed9;--ws-brand-soft:#eaf1ff;--ws-topbar:#13264a;
 --ws-canvas:#f4f6fa;--ws-sidebar:#f8fafd;--ws-surface:#fff;--ws-ink:#202b3d;--ws-muted:#647086;
 --ws-line:#dfe5ee;--ws-line-soft:#edf0f5;--ws-green:#147d58;--ws-orange:#a15c0b;--ws-red:#c33142;--ws-purple:#7353b5;
 --ws-radius:8px;--ws-control-radius:6px;--ws-control:36px;--ws-row:52px;--ws-sidebar-width:224px;--ws-topbar-height:56px;
 --ws-danger:var(--ws-red);--ws-success:var(--ws-green);--ws-warning:var(--ws-orange);--ws-ease:cubic-bezier(.22,.8,.2,1);--ws-shadow:0 8px 24px #13264a12,0 1px 4px #13264a0a;
 --health-ink:var(--ws-ink);--health-muted:var(--ws-muted);--health-primary:var(--ws-brand);--health-primary-dark:var(--ws-brand-hover);--health-primary-hover:var(--ws-brand-hover);--health-primary-soft:var(--ws-brand-soft);
 --health-line:var(--ws-line);--health-canvas:var(--ws-canvas);--health-surface:var(--ws-surface);--health-surface-secondary:var(--ws-sidebar);
 --health-topbar:var(--ws-topbar);--health-topbar-height:var(--ws-topbar-height);--health-sidebar-width:var(--ws-sidebar-width);--health-content-gutter:26px;--health-control-height:var(--ws-control);
 --health-success:var(--ws-green);--health-green:var(--ws-green);--health-amber:var(--ws-orange);--health-warning:var(--ws-orange);--health-red:var(--ws-red);--health-danger:var(--ws-red);--health-info:var(--ws-brand);--health-red-soft:#fff0f1;--health-amber-soft:#fff3df;--health-green-soft:#e9f6ef;
 --health-control-font:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light;
}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%}body.ws-ui{font:14px/1.55 var(--health-control-font);color:var(--ws-ink);background:var(--ws-canvas);-webkit-font-smoothing:antialiased}
.ws-ui [hidden]{display:none!important}.ws-ui button,.ws-ui input,.ws-ui select,.ws-ui textarea{font:inherit;color:inherit}.ws-ui a{color:var(--ws-brand);text-decoration:none;text-underline-offset:3px}.ws-ui a:hover{text-decoration:underline}.ws-ui h1,.ws-ui h2,.ws-ui h3,.ws-ui p{margin-top:0}.ws-ui h1{font-size:24px;font-weight:650;line-height:1.4;letter-spacing:-.4px;margin-bottom:20px}.ws-ui h2{font-size:17px;font-weight:600}.ws-ui h3{font-size:15px;font-weight:600}.ws-ui svg{vertical-align:middle;flex-shrink:0}.ws-ui img{max-width:100%}.ws-ui ::selection{background:#cde0ff}.ws-ui :is(input,textarea){caret-color:var(--ws-brand)}.ws-ui *{scrollbar-width:thin;scrollbar-color:#bdc9da transparent}.ws-ui :focus-visible{outline:3px solid #0f62fe45;outline-offset:2px}.ws-ui button{cursor:pointer}.ws-ui :disabled{cursor:not-allowed;opacity:.5}.ws-ui .ws-screen-reader,.visually-hidden,.visuallyhidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ws-ui .skip-to-content-link{position:fixed;z-index:1000;top:-60px;left:20px;background:#fff;padding:8px 12px}.ws-ui .skip-to-content-link:focus{top:8px}.ws-ui kbd{font:11px/1.4 "Segoe UI",sans-serif;border:1px solid currentColor;border-radius:4px;padding:2px 5px;opacity:.7}
/* Application frame. */
.ws-ui #container{min-height:100vh}.ws-ui #header.health-topbar{position:sticky;top:0;z-index:60;height:var(--ws-topbar-height);padding:0 20px 0 17px;display:flex;align-items:center;gap:28px;background:var(--ws-topbar);color:#fff}.health-topbar-brand{width:calc(var(--ws-sidebar-width) - 45px);display:flex;gap:10px;align-items:center;color:#fff;flex-shrink:0}.ws-ui .health-topbar-brand:hover{text-decoration:none}.health-brand-mark{width:32px;height:32px;background:var(--ws-brand);display:grid;place-items:center;border-radius:8px;color:#fff;flex-shrink:0}.health-brand-mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}.health-topbar-brand-copy{display:flex;flex-direction:column}.health-topbar-brand-copy strong{font-size:16px;font-weight:650;letter-spacing:.5px}.health-topbar-brand-copy small{color:#b0c6e8;font-size:10px;letter-spacing:2px;line-height:1.1}.health-global-nav{height:100%;display:flex;align-items:stretch;gap:26px;white-space:nowrap}.ws-ui .health-global-nav a{color:#c1cfe5;display:flex;align-items:center;border-bottom:3px solid transparent;padding-top:3px;font-weight:550}.ws-ui .health-global-nav a:hover{color:#fff;text-decoration:none}.ws-ui .health-global-nav a.is-active{color:#fff;border-bottom-color:#78a9ff}.health-topbar-actions{display:flex;gap:10px;align-items:center;margin-left:auto;white-space:nowrap}.health-profile-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#365582;color:#dfebff;font-size:11px;font-weight:600}.health-profile-text{display:flex;flex-direction:column;font-size:12px}.health-profile-text small{font-size:10px;color:#b0c6e8}.ws-ui .health-password-link{font-size:12px;color:#c6d7f0}.ws-ui .health-logout-inline{margin:0}.ws-ui .health-logout-inline button{border:0;background:none;min-height:32px;padding:0 6px;color:#c6d7f0;font-size:12px}.health-notification{display:grid;place-items:center;width:32px;height:32px;position:relative;color:#c6d7f0}.health-notification svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.health-notification-count{position:absolute;top:0;right:0;font-size:9px;background:#3478e8;color:#fff;min-width:14px;border-radius:7px;text-align:center}.ws-command-trigger{height:32px;display:flex;align-items:center;gap:8px;min-width:220px;margin-left:auto;padding:0 10px;border:1px solid #ffffff30;border-radius:6px;background:#ffffff08;color:#c6d7f0;font-size:12px;white-space:nowrap}.ws-command-trigger kbd{margin-left:auto;font-size:10px}.health-sidebar{position:fixed;z-index:45;inset:var(--ws-topbar-height) auto 0 0;width:var(--ws-sidebar-width);background:var(--ws-sidebar);border-right:1px solid var(--ws-line);display:flex;flex-direction:column;overflow:hidden}.health-sidebar-tools{display:flex;align-items:center;gap:8px;min-height:62px;padding:12px}.health-menu-search{display:flex;align-items:center;gap:7px;min-width:0;flex:1;background:#fff;border:1px solid var(--ws-line);border-radius:6px;padding:0 8px;height:32px;color:var(--ws-muted)}.health-menu-search svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.65}.health-menu-search input{width:100%;min-width:0;padding:0;background:none;border:0;outline:0;font-size:12px}.health-menu-search input:focus-visible{box-shadow:none;outline:0}.health-sidebar-toggle{width:30px;height:32px;display:grid;place-items:center;border:1px solid var(--ws-line);border-radius:5px;background:#fff;color:var(--ws-muted)}.health-sidebar-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.65}.health-nav{padding:0 10px 16px;overflow:auto;min-height:0;flex:1}.health-nav-caption{padding:14px 12px 6px;font-size:11px;color:var(--ws-muted)}.ws-ui :is(.health-nav,.health-system-nav) a{display:flex;gap:10px;align-items:center;min-height:38px;margin:2px 0;padding:8px 12px;color:#536178;border-radius:6px;font-size:13px;position:relative}.ws-ui :is(.health-nav,.health-system-nav) a:hover{background:#edf1f7;color:#243c5c;text-decoration:none}.ws-ui :is(.health-nav,.health-system-nav) a.is-active{background:#e8f0ff;color:var(--ws-brand);font-weight:600}.health-nav-icon{display:grid;place-items:center;width:18px;height:18px;flex-shrink:0}.health-nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.health-nav a b{margin-left:auto;background:#e3eaf4;border-radius:4px;min-width:20px;padding:0 4px;text-align:center;font-size:10px;line-height:18px;font-weight:500}.health-sidebar-bottom{border-top:1px solid var(--ws-line);padding:8px 10px;overflow:auto;max-height:34vh}.health-sidebar-bottom>small{display:none}.health-sidebar-bottom .health-nav-caption{padding-top:5px}.health-breadcrumb{margin-left:var(--ws-sidebar-width);padding:18px 26px 0;min-height:42px;display:flex;align-items:center;gap:8px;color:var(--ws-muted);font-size:12px}.health-breadcrumb a{color:var(--ws-muted)}.health-breadcrumb>span:last-child{color:#536178}.ws-ui #container>.main{display:block;min-width:0}.ws-ui #content-start{margin-left:var(--ws-sidebar-width);padding:18px 26px 32px;max-width:calc(100% - var(--ws-sidebar-width));min-height:calc(100vh - 100px);outline:none}.ws-ui #content,.ws-ui #content-main{width:100%;min-width:0;margin:0;padding:0}.ws-ui #content>.breadcrumbs,.ws-ui #nav-sidebar,.ws-ui #footer{display:none}.ws-ui .clear{display:none}.health-sidebar-collapsed{--ws-sidebar-width:72px}.health-sidebar-collapsed :is(.health-topbar-brand-copy,.health-nav-caption,.health-sidebar-bottom small,.health-nav a>span:not(.health-nav-icon),.health-system-link>span:not(.health-nav-icon),.health-nav a b,.health-menu-search){display:none}.health-sidebar-collapsed .health-sidebar-tools{justify-content:center}.health-sidebar-collapsed .health-sidebar-toggle svg{transform:rotate(180deg)}.health-sidebar-collapsed :is(.health-nav,.health-system-nav) a{justify-content:center;padding:10px}.health-sidebar-collapsed .health-topbar-brand{width:27px}
/* Shared surfaces and typography. */
.ws-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.ws-page-head h1{margin:0}.ws-page-heading,.ws-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ws-page-heading{gap:12px}.ws-spacer{flex:1}.ws-panel{background:var(--ws-surface);border:1px solid var(--ws-line);border-radius:var(--ws-radius);margin-bottom:18px;min-width:0;overflow:clip}.ws-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:16px 20px;border-bottom:1px solid var(--ws-line-soft)}.ws-panel-head h2,.ws-panel-head h3{margin:0;font-size:15px}.ws-panel-body{padding:20px}.ws-muted,.ws-small{color:var(--ws-muted)}.ws-small{font-size:12px}.ws-money{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:550}.ws-text-danger{color:var(--ws-red)}.ws-title{font-size:24px;font-weight:650}.ws-divider{height:1px;background:var(--ws-line-soft);margin:20px 0}.ws-empty{min-height:200px;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:var(--ws-muted);font-size:13px}.ws-empty>svg{color:#93a3bb}.ws-detail-list{margin:0;display:grid;grid-template-columns:112px minmax(0,1fr);gap:15px 16px;font-size:13px}.ws-detail-list dt{color:var(--ws-muted)}.ws-detail-list dd{margin:0;overflow-wrap:anywhere}.ws-badge{display:inline-flex;align-items:center;gap:5px;padding:1px 7px;border-radius:4px;font-size:12px;line-height:20px;background:#f0f3f7;color:#596b82;white-space:nowrap}.ws-badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.ws-badge.is-blue{color:#2763b7;background:var(--ws-brand-soft)}.ws-badge.is-green{color:var(--ws-green);background:#e9f6ef}.ws-badge.is-orange{color:var(--ws-orange);background:#fff3df}.ws-badge.is-red{color:var(--ws-red);background:#fff0f1}.ws-badge.is-purple{color:var(--ws-purple);background:#f2edfc}.ws-tabs{display:flex;gap:24px;padding:0 20px;border-bottom:1px solid var(--ws-line);overflow:auto}.ws-tabs>a,.ws-tabs>button{padding:15px 0 13px;border:0;border-bottom:2px solid transparent;background:none;color:var(--ws-muted);white-space:nowrap;font-size:13px}.ws-tabs>.is-active{color:var(--ws-brand);border-bottom-color:var(--ws-brand);font-weight:600}
/* Every form control is application owned; no admin/Select2 skins. */
.ws-ui button,.ws-ui input[type=submit],.ws-ui a.button,.ws-btn{min-height:var(--ws-control);padding:0 13px;border:1px solid var(--ws-line);border-radius:var(--ws-control-radius);background:#fff;font-size:13px;font-weight:500;line-height:1.4;transition:background 140ms var(--ws-ease),border-color 140ms var(--ws-ease),box-shadow 140ms var(--ws-ease)}.ws-ui button:hover:not(:disabled),.ws-ui a.button:hover,.ws-btn:hover{border-color:#afc2dd;background:#f8fafd;text-decoration:none}.ws-ui .ws-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.ws-ui .ws-btn-primary,.ws-ui button.default,.ws-ui input.default{color:#fff;background:var(--ws-brand);border-color:var(--ws-brand)}.ws-ui .ws-btn-primary:hover:not(:disabled),.ws-ui .default:hover{color:#fff;background:var(--ws-brand-hover);border-color:var(--ws-brand-hover)}.ws-ui .ws-btn-secondary{color:#394c66}.ws-ui .ws-btn-ghost{border-color:transparent;background:transparent;color:#566c87;padding:0 8px}.ws-ui .ws-btn-ghost:hover:not(:disabled){border-color:transparent;background:#edf2f8;color:#24476d}.ws-ui .ws-btn-danger{color:var(--ws-red);border-color:#efc9ce}.ws-ui .ws-btn-danger:hover:not(:disabled){background:#fff0f1;border-color:#dc8a96}.ws-ui .ws-btn-icon{width:var(--ws-control);padding:0;flex-shrink:0;color:var(--ws-muted)}.ws-ui .ws-btn.is-small{min-height:28px;padding:0 8px;font-size:12px}.ws-btn[aria-busy=true]{pointer-events:none}.ws-spinner{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;vertical-align:middle;animation:ws-spin .6s linear infinite;margin-right:6px}@keyframes ws-spin{to{transform:rotate(360deg)}}
.ws-ui :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]),textarea,select){height:var(--ws-control);max-width:100%;min-width:0;padding:7px 10px;border:1px solid var(--ws-line);border-radius:var(--ws-control-radius);background:#fff;color:var(--ws-ink);font-size:13px;transition:border-color 140ms,box-shadow 140ms}.ws-ui textarea{height:100px;width:100%;resize:vertical;line-height:1.7}.ws-ui :is(input,textarea)::placeholder{color:var(--ws-muted);opacity:1}.ws-ui :is(input,select,textarea):focus-visible{outline:0;border-color:var(--ws-brand);box-shadow:0 0 0 3px #0f62fe18}.ws-ui :is(input,textarea)[readonly]{background:#f7f9fc;color:#607086}.ws-ui input[type=number]{font-variant-numeric:tabular-nums}.ws-ui :is(input[type=checkbox],input[type=radio]){appearance:none;width:15px;height:15px;min-width:15px;min-height:15px;border:1px solid #a8b6ca;background:#fff;border-radius:3px;vertical-align:middle;margin:0;cursor:pointer;display:inline-grid;place-items:center;padding:0;transition:background 140ms,border-color 140ms}.ws-ui input[type=radio]{border-radius:50%}.ws-ui :is(input[type=checkbox],input[type=radio]):checked{border-color:var(--ws-brand);background:var(--ws-brand)}.ws-ui input[type=checkbox]:checked:after{content:"";width:7px;height:4px;border-left:1.5px solid white;border-bottom:1.5px solid white;transform:translateY(-1px) rotate(-45deg)}.ws-ui input[type=radio]:checked:after{content:"";width:5px;height:5px;border-radius:50%;background:#fff}.ws-ui input[type=checkbox]:indeterminate{background:var(--ws-brand);border-color:var(--ws-brand)}.ws-ui input[type=checkbox]:indeterminate:after{content:"";width:7px;height:1.5px;background:#fff}.ws-check{display:flex;align-items:center;gap:9px;font-size:13px;min-height:32px}.ws-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ws-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ws-field-full{grid-column:1/-1}.ws-field-label{font-size:12px;font-weight:550;color:#566b85;display:flex;align-items:center;gap:4px}.ws-required{color:var(--ws-red)}.ws-field-control{min-width:0}.ws-field-control>input,.ws-field-control>textarea,.ws-field-control>select{width:100%}.ws-field-feedback{display:flex;flex-direction:column;gap:4px;font-size:12px}.ws-field-feedback:empty{display:none}.ws-field-error,.ws-ui .errorlist{font-size:12px;color:var(--ws-red)}.ws-field-help{font-size:12px;color:var(--ws-muted)}.ws-ui .errorlist{margin:5px 0;padding:0;list-style:none}.ws-field.has-error :is(input,textarea,.ws-combo-trigger),.ws-ui [aria-invalid=true]{border-color:var(--ws-red)}.ws-readonly{font-size:13px;line-height:1.7;min-height:28px;overflow-wrap:anywhere}.ws-form-section{padding:22px 24px;border:0;min-width:0;margin:0}.ws-form-section+.ws-form-section{border-top:1px solid var(--ws-line-soft)}.ws-section-title{font-size:15px;margin:0 0 18px}.ws-section-description{font-size:12px;color:var(--ws-muted);margin:0 0 16px}.ws-form-section details>summary{font-size:14px;font-weight:600;cursor:pointer;margin-bottom:18px}.ws-form-section details>summary::marker{color:var(--ws-muted)}.ws-form-errors{padding:12px 16px;border:1px solid #efc8ce;border-radius:6px;color:var(--ws-red);background:#fff4f5;font-size:13px;margin-bottom:18px}.ws-form-errors ul{padding-left:18px}.ws-form-errors ul:last-child{margin-bottom:0}.ws-form-footer{position:sticky;bottom:0;z-index:12;display:flex;align-items:center;gap:8px;padding:14px 20px;margin-top:18px;border:1px solid var(--ws-line);border-radius:8px;background:#ffffffed;backdrop-filter:blur(8px)}.ws-related-widget{display:flex;align-items:center;gap:5px;min-width:0}.ws-related-widget>.ws-combo{flex:1;min-width:0}.ws-related-actions{display:flex;gap:3px}.ws-related-actions .ws-btn{width:30px;min-height:30px}.ws-split-datetime{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.7fr);gap:8px}.ws-input-affix{display:flex;position:relative;min-width:0;width:100%}.ws-input-affix>input{width:100%;padding-right:38px!important}.ws-ui .ws-affix-button{position:absolute;right:2px;top:2px;width:32px;min-height:calc(var(--ws-control) - 4px);padding:0;border:0;background:transparent;color:var(--ws-muted);display:grid;place-items:center}.ws-ui .ws-affix-button:hover{background:#f0f4fa}.ws-ui input::-webkit-calendar-picker-indicator{display:none}.ws-file-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px dashed #bbcbe1;border-radius:8px;background:#fbfcfe;min-height:124px;padding:20px;color:var(--ws-muted);text-align:center;cursor:pointer}.ws-file-drop.is-dragging{border-color:var(--ws-brand);background:#f0f6ff}.ws-file-name{font-size:12px;overflow-wrap:anywhere}.ws-file-drop>input[type=file]{width:1px;height:1px;opacity:0;position:absolute}.ws-inline-item{padding:18px 20px;border-bottom:1px solid var(--ws-line-soft)}.ws-inline-item:last-child{border:0}.ws-inline-item-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.ws-inline-item .ws-form-section{padding:0}.ws-inline-item .ws-section-title{font-size:13px;margin-top:14px}.ws-inline-item.is-removed{opacity:.6}.ws-inline-item.is-removed>.ws-form-section{display:none}.ws-inline-item.is-removed .ws-inline-item-head{margin:0}.ws-ui .datetimeshortcuts,.ws-ui .select2-container,.ws-ui .selector{display:none!important}
/* Searchable selects, calendar and popovers. */
.ws-combo{position:relative;min-width:0;display:block}.ws-ui select[data-ui-enhanced]{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;clip:rect(0,0,0,0)}.ws-ui .ws-combo-trigger{width:100%;display:flex;align-items:center;gap:8px;text-align:left;background:#fff;border:1px solid var(--ws-line);border-radius:6px;min-height:var(--ws-control);padding:7px 10px;font-size:13px;font-weight:400}.ws-combo-trigger>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-combo-trigger>svg{color:var(--ws-muted)}.ws-combo-trigger[aria-expanded=true]{border-color:var(--ws-brand);box-shadow:0 0 0 3px #0f62fe18}.ws-combo-trigger .is-placeholder{color:var(--ws-muted)}.ws-combo-chips{display:flex;gap:4px;flex-wrap:wrap;white-space:normal!important}.ws-combo-chip{padding:1px 5px;border-radius:4px;background:var(--ws-brand-soft);color:#2763b7;font-size:11px}.ws-popover{position:fixed;z-index:240;background:#fff;border:1px solid var(--ws-line);border-radius:8px;padding:6px;box-shadow:var(--ws-shadow);max-width:calc(100vw - 24px);animation:ws-drop-in 180ms var(--ws-ease)}.ws-combo-search{display:flex;gap:8px;align-items:center;padding:0 8px;border-bottom:1px solid var(--ws-line-soft);margin-bottom:4px;height:36px;color:var(--ws-muted)}.ws-ui .ws-combo-search>input{width:100%;height:30px;padding:0;border:0;background:none;outline:0;box-shadow:none}.ws-combo-options{max-height:240px;overflow:auto}.ws-ui .ws-option{display:flex;align-items:center;gap:8px;min-height:36px;width:100%;text-align:left;padding:7px 10px;border:0;border-radius:4px;background:#fff;font-weight:400}.ws-option .ws-option-label{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}.ws-option small{display:block;color:var(--ws-muted);font-size:11px}.ws-ui .ws-option:hover,.ws-ui .ws-option.is-focused{background:#f1f5fc}.ws-ui .ws-option.is-selected{background:var(--ws-brand-soft);color:var(--ws-brand)}.ws-popover-empty{padding:24px 12px;text-align:center;color:var(--ws-muted);font-size:12px}.ws-combo-footer{display:flex;justify-content:flex-end;padding:5px;border-top:1px solid var(--ws-line-soft)}.ws-calendar{width:300px;padding:12px}.ws-calendar-head{display:flex;align-items:center;gap:5px;margin-bottom:10px}.ws-calendar-head strong{flex:1;text-align:center;font-size:13px}.ws-ui .ws-calendar-head button{width:28px;min-height:28px;padding:0;border:0;background:none}.ws-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.ws-calendar-grid>span{font-size:11px;text-align:center;color:var(--ws-muted);padding:5px 0}.ws-ui .ws-calendar-day{padding:0;width:100%;min-height:30px;border:0;background:none;font-size:12px;font-weight:400}.ws-ui .ws-calendar-day.is-today{color:var(--ws-brand);box-shadow:inset 0 0 0 1px #c1d8ff}.ws-ui .ws-calendar-day.is-selected{background:var(--ws-brand);color:#fff}.ws-calendar-months{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ws-ui .ws-calendar-months button{border:0;background:none}.ws-calendar-footer{display:flex;gap:5px;justify-content:space-between;margin-top:12px;border-top:1px solid var(--ws-line-soft);padding-top:8px}.ws-calendar-footer .ws-btn{min-height:28px}.ws-time-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:270px;max-height:250px;overflow:auto}.ws-ui .ws-time-grid button{font-size:12px;border:0;background:#fff}.ws-ui .ws-time-grid .is-selected{background:var(--ws-brand-soft);color:var(--ws-brand)}
/* Table, query toolbar and context-sensitive bulk actions. */
.ws-table-wrap{width:100%;overflow:auto;min-width:0}.ws-ui table{width:100%;border-collapse:collapse;border-spacing:0}.ws-ui :is(.ws-table,#result_list) th{height:42px;padding:0 18px;background:#f8fafd;border-bottom:1px solid var(--ws-line);color:var(--ws-muted);font-size:12px;font-weight:550;text-align:left;white-space:nowrap}.ws-ui :is(.ws-table,#result_list) :is(td,tbody th){height:var(--ws-row);padding:9px 18px;background:#fff;border-bottom:1px solid var(--ws-line-soft);font-size:14px;text-align:left;vertical-align:middle;font-weight:400;white-space:nowrap;color:var(--ws-ink)}.ws-ui :is(.ws-table,#result_list) tbody tr:last-child>*{border-bottom:0}.ws-ui :is(.ws-table,#result_list) tbody tr:hover>*{background:#f8faff}.ws-ui :is(.ws-table,#result_list) tr.is-selected>*{background:#f0f6ff}.ws-table-sort{display:inline-flex;align-items:center;gap:6px;color:inherit!important;font-size:12px}.ws-sort-mark{color:#899bb4;font-size:10px}.ws-table :is(.is-number,.ws-number),#result_list .ws-number{text-align:right;font-variant-numeric:tabular-nums}.ws-ui #result_list .action-checkbox,.ws-ui #result_list .action-checkbox-column{width:44px;padding-left:20px;padding-right:5px}.ws-ui #result_list :is(td,th)>small{display:block;color:var(--ws-muted);font-size:12px}.ws-list-toolbar,.ws-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:16px 20px;border-bottom:1px solid var(--ws-line-soft)}.ws-search-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}.ws-search-input{height:var(--ws-control);width:246px;display:flex;gap:8px;align-items:center;padding:0 10px;border:1px solid var(--ws-line);border-radius:6px;background:#fff;color:var(--ws-muted)}.ws-search-input:focus-within{border-color:var(--ws-brand);box-shadow:0 0 0 3px #0f62fe18}.ws-ui .ws-search-input input{width:100%;height:100%;min-width:0;border:0;padding:0;box-shadow:none;background:none;outline:0}.ws-filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto;min-width:0}.ws-filter{position:relative}.ws-filter>summary{cursor:pointer;display:flex;gap:8px;align-items:center;min-height:var(--ws-control);border:1px solid var(--ws-line);border-radius:6px;background:#fff;padding:0 10px;color:var(--ws-muted);font-size:12px;list-style:none;max-width:240px;overflow:hidden}.ws-filter>summary::-webkit-details-marker{display:none}.ws-filter-value{color:var(--ws-ink);max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-filter-options{position:absolute;top:calc(100% + 5px);left:0;z-index:30;min-width:180px;max-height:260px;overflow:auto;background:#fff;border:1px solid var(--ws-line);border-radius:8px;padding:6px;box-shadow:var(--ws-shadow)}.ws-filter-options>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border-radius:4px;color:var(--ws-ink);font-size:12px}.ws-filter-options>a:hover{background:#f1f5fc;text-decoration:none}.ws-filter-options>a.is-selected{color:var(--ws-brand);background:var(--ws-brand-soft)}.ws-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;border-top:1px solid var(--ws-line-soft);font-size:12px;color:var(--ws-muted)}.ws-pagination{display:flex;align-items:center;gap:5px}.ws-pagination :is(a,.this-page){min-width:28px;min-height:28px;display:grid;place-items:center;padding:2px 5px;border:1px solid transparent;border-radius:5px;color:var(--ws-muted)}.ws-pagination .this-page{background:var(--ws-brand-soft);color:var(--ws-brand);border-color:#cddfff}.ws-pagination a:hover{border-color:var(--ws-line);text-decoration:none}.ws-bulk-bar{display:flex;gap:10px;align-items:center;position:sticky;bottom:12px;z-index:10;padding:10px 16px;margin:8px 16px 12px;background:#18365c;color:#fff;border-radius:7px;box-shadow:var(--ws-shadow);animation:ws-page-in 180ms var(--ws-ease)}.ws-bulk-bar .ws-btn{min-height:30px}.ws-bulk-bar .ws-btn-ghost{color:#cfddf3}.ws-bulk-bar .ws-combo{min-width:180px}.ws-bulk-bar .ws-combo-trigger{min-height:30px;font-size:12px;color:var(--ws-ink)}.ws-date-hierarchy{padding:12px 20px;border-bottom:1px solid var(--ws-line-soft)}.ws-date-hierarchy ul{display:flex;gap:14px;list-style:none;padding:0;margin:0;font-size:12px}
/* Dialog hierarchy and focus surfaces. */
.ws-overlay{position:fixed;z-index:150;inset:0;background:#13264a38;display:flex;justify-content:flex-end;animation:ws-fade-in 180ms var(--ws-ease)}.ws-overlay.is-modal{align-items:center;justify-content:center;padding:24px}.ws-layer{width:min(var(--ws-layer-width,640px),96vw);background:#fff;display:flex;flex-direction:column;min-width:0;box-shadow:-8px 0 40px #13264a14;animation:ws-drawer-in 260ms var(--ws-ease);height:100%;overflow:hidden}.ws-overlay.is-modal .ws-layer{height:auto;max-height:90vh;border-radius:10px;box-shadow:0 24px 80px #13264a33;animation:ws-modal-in 180ms var(--ws-ease)}.ws-layer-head{height:66px;min-height:66px;padding:0 24px;border-bottom:1px solid var(--ws-line);display:flex;align-items:center;justify-content:space-between;gap:16px}.ws-layer-head h2{font-size:17px;font-weight:600;margin:0}.ws-layer-body{flex:1;overflow:auto;padding:24px;min-height:0}.ws-layer-body>form>.ws-form-grid{margin-bottom:20px}.ws-layer-body .ws-actions{margin-top:18px}.ws-layer-footer{display:flex;gap:8px;justify-content:flex-end;padding:14px 24px;border-top:1px solid var(--ws-line);background:#fff}.ws-layer-footer .ws-btn-danger{background:var(--ws-red);color:#fff;border-color:var(--ws-red)}.ws-page-frame{height:100%;width:100%;border:0;display:block}.ws-layer.has-page .ws-layer-body{padding:0;overflow:hidden}.ws-ui.ws-embedded #header,.ws-ui.ws-embedded .health-sidebar,.ws-ui.ws-embedded .health-breadcrumb,.ws-ui.ws-embedded .ws-page-head{display:none}.ws-ui.ws-embedded #content-start{margin:0;max-width:none;width:100%;min-height:100vh;padding:20px}.ws-ui.ws-embedded #content{padding:0}.ws-ui.ws-embedded .ws-record-fields{border:0;margin:0}.ws-ui.ws-embedded .ws-form-section{padding:0 0 24px}.ws-ui.ws-embedded .ws-form-footer{margin:0 -20px -20px;border-radius:0;border-right:0;border-left:0;border-bottom:0;padding:14px 20px}.ws-toast-root{position:fixed;z-index:350;inset:auto 20px 26px;display:flex;align-items:center;justify-content:center;pointer-events:none}.ws-toast{display:flex;align-items:center;gap:10px;padding:11px 16px;border-radius:7px;background:#203c60;color:#fff;box-shadow:var(--ws-shadow);font-size:13px;pointer-events:auto;animation:ws-page-in 180ms var(--ws-ease)}.ws-toast>svg{color:#8fe0b3}.ws-ui .ws-toast button{border:0;min-height:24px;background:none;padding:0 3px;color:#b3d0ff;font-size:12px}.ws-command-overlay{z-index:270}.ws-command{padding:0;width:620px;max-width:95vw;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 24px 80px #13264a33;animation:ws-modal-in 180ms var(--ws-ease)}.ws-command-head{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--ws-line);color:var(--ws-muted)}.ws-ui .ws-command-head>input{border:0;box-shadow:none;width:100%;background:none;outline:0;padding:0;font-size:15px}.ws-command-results{padding:8px;max-height:420px;overflow:auto}.ws-ui .ws-command-item{width:100%;padding:11px;border:0;border-radius:6px;display:flex;align-items:center;gap:10px;background:none;font-weight:400;text-align:left;font-size:13px}.ws-ui .ws-command-item:hover,.ws-ui .ws-command-item.is-focused{background:#eef4ff}.ws-command-item small{margin-left:auto;font-size:11px;color:var(--ws-muted)}.ws-command-footer{display:flex;gap:16px;padding:10px 18px;background:#fbfcfe;border-top:1px solid var(--ws-line-soft);font-size:11px;color:var(--ws-muted)}.ws-ui dialog{border:1px solid var(--ws-line);border-radius:10px;padding:24px;background:#fff;color:var(--ws-ink);max-width:calc(100vw - 32px);box-shadow:0 24px 80px #13264a33}.ws-ui dialog::backdrop{background:#13264a40}.ws-ui .messagelist{list-style:none;margin:0 0 16px;padding:0}.ws-ui .messagelist>li{padding:10px 14px;border:1px solid var(--ws-line);border-radius:6px;background:white;margin-bottom:8px;font-size:13px}.ws-ui .messagelist .success{background:#e9f6ef;color:var(--ws-green);border-color:#c3e2d1}.ws-ui .messagelist .error{background:#fff0f1;color:var(--ws-red);border-color:#efc9ce}.ws-ui .messagelist .warning{background:#fff3df;color:var(--ws-orange);border-color:#ead3ae}.ws-ui .messagelist .info{background:var(--ws-brand-soft);color:#2763b7;border-color:#c6d9fc}
/* Real workbench and generic read/confirmation pages. */
.ws-dashboard{display:flex;flex-direction:column;gap:18px}.ws-dashboard .ws-page-head{margin:0}.ws-kpis{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:white;border:1px solid var(--ws-line);border-radius:8px;padding:20px 0}.ws-kpi{padding:0 24px;border-right:1px solid var(--ws-line-soft);color:var(--ws-ink)}.ws-kpi:last-child{border:0}.ws-kpi>span{display:block;color:var(--ws-muted);font-size:12px}.ws-kpi>strong{display:block;font-size:26px;line-height:1.5;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.ws-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.ws-quick-actions{display:flex;align-items:stretch;border:1px solid var(--ws-line);border-radius:8px;background:#fff}.ws-quick-actions>a{display:flex;align-items:center;gap:10px;padding:20px;min-height:80px;flex:1;border-right:1px solid var(--ws-line-soft);font-size:13px;color:#3b5272}.ws-quick-actions>a:last-child{border:0}.ws-quick-actions>a:hover{background:#f7faff;text-decoration:none}.ws-quick-actions>a>svg{color:#4c82d2}.ws-agenda{padding:0 18px}.ws-agenda-item{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid var(--ws-line-soft)}.ws-agenda-item:last-child{border:0}.ws-agenda-item>time{font-size:12px;color:var(--ws-muted);min-width:36px}.ws-agenda-item>div{flex:1;min-width:0}.ws-agenda-item strong{font-size:13px;font-weight:550}.ws-agenda-item p{font-size:12px;color:var(--ws-muted);margin:4px 0 0}.ws-confirm-page{max-width:900px}.ws-confirm-page .ws-panel-body>p{color:#596f8d;font-size:14px}.ws-confirm-impact{margin:20px 0;padding:18px;background:#f8fafd;border:1px solid var(--ws-line);border-radius:6px}.ws-confirm-impact ul{margin:8px 0;padding-left:20px}.ws-model-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ws-model-link{display:flex;align-items:center;gap:12px;border:1px solid var(--ws-line);border-radius:8px;padding:18px;background:#fff}.ws-model-link>span{flex:1}.ws-model-link small{display:block;font-size:12px;color:var(--ws-muted)}.reference-preview.ws-panel .reference-preview-header{padding:16px;border-bottom:1px solid var(--ws-line-soft);display:flex;align-items:center;justify-content:space-between}.reference-preview.ws-panel .reference-preview-header h2{font-size:15px;margin:0}.reference-preview.ws-panel .reference-preview-body{padding:18px 16px}.reference-preview-fields{margin:0}.reference-preview-fields>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin:14px 0;font-size:13px}.reference-preview-fields dt{color:var(--ws-muted)}.reference-preview-fields dd{margin:0;overflow-wrap:anywhere}.reference-preview-footer{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--ws-line-soft);padding:14px 16px}.reference-preview-section{margin-top:22px}.reference-preview-section h3{font-size:13px;margin-bottom:8px}.reference-preview-section p{font-size:13px;color:#536985}.reference-preview-section pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 var(--health-control-font);color:#536985}.reference-preview-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.reference-preview-intro h3{margin:0}.reference-source img{max-height:360px;object-fit:contain}.reference-source-pdf{width:100%;min-height:350px;border:1px solid var(--ws-line)}.reference-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border:1px solid var(--ws-line);background:#fff;border-radius:8px;padding:18px 0;margin-bottom:18px}.reference-metric{padding:0 22px;border-right:1px solid var(--ws-line-soft)}.reference-metric:last-child{border:0}.reference-metric>svg{display:none}.reference-metric span{font-size:12px;color:var(--ws-muted)}.reference-metric strong{display:block;font-size:24px;font-weight:600;margin-top:4px}.reference-metric small{font-size:12px;font-weight:400;margin-left:4px}
.ws-dense{--ws-control:32px;--ws-row:44px}.ws-dense .ws-table th,.ws-dense #result_list th{height:36px}.ws-dense .ws-table td,.ws-dense #result_list td{padding-top:5px;padding-bottom:5px}.ws-dense .ws-list-toolbar{padding-top:12px;padding-bottom:12px}.ws-form-footer .ws-spacer{min-width:8px}
@keyframes ws-page-in{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes ws-drop-in{from{opacity:.4;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes ws-drawer-in{from{transform:translateX(100%)}to{transform:none}}@keyframes ws-modal-in{from{opacity:.4;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}@keyframes ws-fade-in{from{opacity:0}to{opacity:1}}
@media(max-width:1300px){.ws-ui #header.health-topbar{gap:20px}.health-global-nav{gap:20px}.ws-command-trigger{min-width:180px}.health-profile-text{display:none}.ws-dashboard-grid{grid-template-columns:minmax(0,1fr) 280px}.ws-ui #content-start{padding:18px 20px 28px}.health-breadcrumb{padding-left:20px;padding-right:20px}.ws-kpi{padding:0 20px}.ws-quick-actions>a{padding:16px}}
@media(max-width:1100px){:root{--ws-sidebar-width:196px}.ws-command-trigger{min-width:150px}.ws-command-trigger kbd{display:none}.ws-ui #header.health-topbar{gap:16px}.health-global-nav{gap:16px}.health-global-nav a{font-size:13px}.health-topbar-brand-copy strong{font-size:14px}.health-password-link{display:none}.ws-dashboard-grid{grid-template-columns:1fr}.ws-quick-actions{flex-wrap:wrap}.ws-quick-actions>a{flex:1 1 40%}.ws-kpis{overflow:auto;grid-auto-columns:minmax(145px,1fr)}}
@media(max-width:850px){:root{--ws-sidebar-width:72px}.health-topbar-brand{width:32px}.health-topbar-brand-copy,.health-nav-caption,.health-nav a>span:not(.health-nav-icon),.health-nav a b,.health-system-link>span:not(.health-nav-icon),.health-menu-search{display:none}.health-sidebar-tools{justify-content:center}.ws-ui :is(.health-nav,.health-system-nav) a{justify-content:center;padding:10px}.ws-command-trigger{min-width:32px;width:32px;padding:0;justify-content:center}.ws-command-trigger>span,.ws-command-trigger kbd{display:none}.health-global-nav{gap:14px}.health-global-nav a{font-size:12px}.ws-ui #header.health-topbar{padding-right:12px}.health-topbar-actions{gap:6px}.ws-form-grid{grid-template-columns:1fr}.ws-field-full{grid-column:auto}.ws-ui #content-start{padding:16px}.health-breadcrumb{padding-left:16px}.ws-page-head{align-items:flex-start}.ws-ui h1{font-size:22px}.ws-model-directory{grid-template-columns:1fr}.ws-form-section{padding:18px}.ws-form-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.ws-ui *,.ws-ui *:before,.ws-ui *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.ws-account-menu{position:relative}.ws-account-menu>summary{display:flex;gap:8px;align-items:center;cursor:pointer;list-style:none;font-size:12px}.ws-account-menu>summary::-webkit-details-marker{display:none}.ws-account-popover{position:absolute;right:0;top:calc(100% + 13px);min-width:190px;padding:6px;background:#fff;border:1px solid var(--ws-line);border-radius:8px;box-shadow:var(--ws-shadow);color:var(--ws-ink);animation:ws-drop-in 180ms var(--ws-ease)}.ws-account-description{font-size:11px;color:var(--ws-muted);padding:8px 10px 12px;border-bottom:1px solid var(--ws-line-soft);margin-bottom:5px}.ws-account-popover>a,.ws-ui .ws-account-popover .health-logout-inline button{display:flex;align-items:center;gap:9px;min-height:34px;width:100%;padding:7px 10px;border:0;border-radius:4px;background:none;color:#50617b;font-size:12px}.ws-account-popover>a:hover,.ws-ui .ws-account-popover .health-logout-inline button:hover{background:#f1f5fb;text-decoration:none}.ws-ui .ws-account-popover .health-logout-inline{padding:0;margin:0}.ws-account-menu .health-profile-text{display:block}.health-workbench-heading.ws-page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.health-workbench-heading.ws-page-head h1{margin:0}.ws-kpis>a:hover{text-decoration:none;background:#f9fbff}
