:root{
  --cms-bg:#f3f6fa;--cms-surface:#fff;--cms-surface-muted:#f8fafc;--cms-ink:#172033;--cms-text:#475569;--cms-muted:#8a98ad;
  --cms-line:#dfe6ef;--cms-line-soft:#edf2f7;--cms-primary:#2563eb;--cms-primary-hover:#1d4ed8;--cms-success:#059669;--cms-warning:#d97706;--cms-danger:#dc2626;
  --cms-radius-control:10px;--cms-radius-card:14px;--cms-radius-modal:18px;--cms-shadow-float:0 24px 70px rgba(15,23,42,.22);--cms-ease:cubic-bezier(.2,.8,.2,1);
}
button,a,input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(37,99,235,.2)!important;outline-offset:2px!important}
.task-summary>div,.notification-summary>div,.task-card,.notification-list,.health-card,.health-overview{border-color:var(--cms-line)!important;border-radius:var(--cms-radius-card)!important;background:var(--cms-surface)!important;box-shadow:0 7px 22px rgba(15,23,42,.035)!important}.data-table tbody tr{transition:background-color .14s ease}.data-table tbody tr:hover{background:#f8fafc}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{cursor:not-allowed!important;opacity:.52!important}.page-header h1,.page-header p,.content-card h2,.content-card h3{text-wrap:pretty}
.btn.is-loading,.btn[aria-busy="true"]{position:relative;cursor:wait!important;opacity:.78;pointer-events:none}.cms-ui-spinner{display:inline-block;width:13px;height:13px;margin-right:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:cms-ui-spin .72s linear infinite}
.cms-ui-toast-stack{position:fixed;z-index:12000;right:22px;top:22px;display:flex;width:min(390px,calc(100vw - 28px));flex-direction:column;gap:10px;pointer-events:none}.cms-ui-toast{display:grid;grid-template-columns:34px minmax(0,1fr) 24px;gap:11px;align-items:center;padding:13px 13px 13px 12px;border:1px solid var(--cms-line);border-radius:var(--cms-radius-card);background:rgba(255,255,255,.96);box-shadow:0 16px 45px rgba(15,23,42,.16);backdrop-filter:blur(16px);color:var(--cms-text);pointer-events:auto;animation:cms-ui-toast-in .22s var(--cms-ease) both}.cms-ui-toast.is-leaving{animation:cms-ui-toast-out .18s ease both}.cms-ui-toast-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#eff6ff;color:var(--cms-primary);font-size:14px}.cms-ui-toast.is-success .cms-ui-toast-icon{background:#ecfdf5;color:var(--cms-success)}.cms-ui-toast.is-warning .cms-ui-toast-icon{background:#fffbeb;color:var(--cms-warning)}.cms-ui-toast.is-error .cms-ui-toast-icon{background:#fef2f2;color:var(--cms-danger)}.cms-ui-toast strong{display:block;color:var(--cms-ink);font-size:13px}.cms-ui-toast p{margin:3px 0 0;color:var(--cms-text);font-size:12px;line-height:1.55;text-wrap:pretty}.cms-ui-toast-close{display:grid;width:24px;height:24px;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--cms-muted);font-size:18px;cursor:pointer}.cms-ui-toast-close:hover{background:var(--cms-surface-muted);color:var(--cms-ink)}
.cms-ui-dialog-layer{position:fixed;inset:0;z-index:11900;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(15,23,42,.46);backdrop-filter:blur(5px);animation:cms-ui-fade .16s ease both}.cms-ui-dialog{width:min(480px,100%);padding:24px;border:1px solid rgba(255,255,255,.65);border-radius:var(--cms-radius-modal);background:var(--cms-surface);box-shadow:var(--cms-shadow-float);animation:cms-ui-dialog-in .2s var(--cms-ease) both}.cms-ui-dialog-mark{display:grid;width:42px;height:42px;place-items:center;margin-bottom:16px;border-radius:12px;background:#eff6ff;color:var(--cms-primary);font-size:17px}.cms-ui-dialog.is-danger .cms-ui-dialog-mark{background:#fef2f2;color:var(--cms-danger)}.cms-ui-dialog.is-warning .cms-ui-dialog-mark{background:#fffbeb;color:var(--cms-warning)}.cms-ui-dialog h2{margin:0;color:var(--cms-ink);font-size:18px;line-height:1.35;text-wrap:pretty}.cms-ui-dialog p{margin:9px 0 0;color:var(--cms-text);font-size:13px;line-height:1.75;text-wrap:pretty}.cms-ui-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.cms-ui-dialog-actions .btn{min-width:88px;justify-content:center}.cms-ui-dialog-actions .cms-ui-confirm-danger{border-color:var(--cms-danger)!important;background:var(--cms-danger)!important;color:#fff!important}
.cms-ui-empty{display:flex;min-height:260px;align-items:center;justify-content:center;padding:36px;text-align:center}.cms-ui-empty>div{max-width:420px}.cms-ui-empty-icon{display:grid;width:48px;height:48px;margin:0 auto 14px;place-items:center;border-radius:14px;background:#eef4ff;color:var(--cms-primary);font-size:19px}.cms-ui-empty h3{margin:0;color:var(--cms-ink);font-size:15px}.cms-ui-empty p{margin:7px 0 0;color:var(--cms-muted);font-size:12px;line-height:1.7;text-wrap:pretty}
@keyframes cms-ui-spin{to{transform:rotate(360deg)}}@keyframes cms-ui-fade{from{opacity:0}}@keyframes cms-ui-dialog-in{from{opacity:0;transform:translateY(8px) scale(.985)}}@keyframes cms-ui-toast-in{from{opacity:0;transform:translateX(18px)}}@keyframes cms-ui-toast-out{to{opacity:0;transform:translateX(18px)}}
@media(max-width:640px){.cms-ui-toast-stack{top:14px;right:14px}.cms-ui-dialog-layer{align-items:flex-end;padding:12px}.cms-ui-dialog{padding:21px;border-radius:18px}.cms-ui-dialog-actions{flex-direction:column-reverse}.cms-ui-dialog-actions .btn,.page-actions .btn,.notification-actions .btn{min-height:44px}.cms-ui-dialog-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.cms-ui-toast,.cms-ui-toast.is-leaving,.cms-ui-dialog-layer,.cms-ui-dialog,.cms-ui-spinner{animation-duration:.01ms!important;animation-iteration-count:1!important}}
