:root{--bg: #f8fafc;--bg-subtle: #f1f5f9;--surface: #ffffff;--surface-2: #f8fafc;--surface-3: #f1f5f9;--surface-hover: #f1f5f9;--surface-active: #e2e8f0;--border: #e2e8f0;--border-subtle: #f1f5f9;--border-strong: #cbd5e1;--border-focus: #6366f1;--text: #0f172a;--text-muted: #64748b;--text-subtle: #94a3b8;--text-inverse: #ffffff;--primary: #4f46e5;--primary-hover: #4338ca;--primary-active: #3730a3;--primary-light: #eef2ff;--primary-border: #c7d2fe;--primary-text: #ffffff;--ok: #059669;--ok-bg: #ecfdf5;--ok-border: #a7f3d0;--ok-text: #065f46;--ok-glow: rgba(16, 185, 129, .15);--warn: #d97706;--warn-bg: #fffbeb;--warn-border: #fde68a;--warn-text: #92400e;--warn-glow: rgba(217, 119, 6, .15);--bad: #e11d48;--bad-bg: #fff1f2;--bad-border: #fecdd3;--bad-text: #9f1239;--bad-glow: rgba(225, 29, 72, .15);--info: #0284c7;--info-bg: #f0f9ff;--info-border: #bae6fd;--info-text: #075985;--info-glow: rgba(2, 132, 199, .15);--neutral: #64748b;--neutral-bg: #f8fafc;--neutral-border: #e2e8f0;--neutral-text: #475569;--link: #4f46e5;--link-hover: #3730a3;--focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px rgba(79, 70, 229, .5);--shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, .04);--shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, .06), 0 1px 2px -1px rgba(15, 23, 42, .04);--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .06), 0 2px 4px -2px rgba(15, 23, 42, .04);--shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .07), 0 4px 6px -4px rgba(15, 23, 42, .03);--shadow-card: 0 0 0 1px var(--border), 0 1px 2px 0 rgba(15, 23, 42, .03);--shadow-card-hover: 0 0 0 1px var(--border-strong), 0 4px 12px 0 rgba(15, 23, 42, .06);--radius-xs: 4px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-full: 9999px;--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--transition-normal: .2s cubic-bezier(.4, 0, .2, 1);color-scheme:light}@media (prefers-color-scheme: dark){:root{--bg: #090d16;--bg-subtle: #0f172a;--surface: #0f172a;--surface-2: #162032;--surface-3: #1e293b;--surface-hover: #1e293b;--surface-active: #334155;--border: #1e293b;--border-subtle: #162032;--border-strong: #334155;--border-focus: #818cf8;--text: #f8fafc;--text-muted: #94a3b8;--text-subtle: #64748b;--text-inverse: #090d16;--primary: #6366f1;--primary-hover: #818cf8;--primary-active: #4f46e5;--primary-light: #1e1b4b;--primary-border: #3730a3;--primary-text: #ffffff;--ok: #34d399;--ok-bg: #064e3b;--ok-border: #047857;--ok-text: #a7f3d0;--ok-glow: rgba(52, 211, 153, .2);--warn: #fbbf24;--warn-bg: #451a03;--warn-border: #b45309;--warn-text: #fde68a;--warn-glow: rgba(251, 191, 36, .2);--bad: #fb7185;--bad-bg: #4c0519;--bad-border: #be123c;--bad-text: #fecdd3;--bad-glow: rgba(251, 113, 133, .2);--info: #38bdf8;--info-bg: #082f49;--info-border: #0369a1;--info-text: #bae6fd;--info-glow: rgba(56, 189, 248, .2);--neutral: #94a3b8;--neutral-bg: #162032;--neutral-border: #1e293b;--neutral-text: #cbd5e1;--link: #818cf8;--link-hover: #a5b4fc;--focus-ring: 0 0 0 2px #090d16, 0 0 0 4px rgba(99, 102, 241, .6);--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, .3);--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .4), 0 1px 2px -1px rgba(0, 0, 0, .3);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .45), 0 2px 4px -2px rgba(0, 0, 0, .35);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .5), 0 4px 6px -4px rgba(0, 0, 0, .3);--shadow-card: 0 0 0 1px var(--border), 0 2px 4px 0 rgba(0, 0, 0, .4);--shadow-card-hover: 0 0 0 1px var(--border-strong), 0 6px 16px 0 rgba(0, 0, 0, .5);color-scheme:dark}}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:13.5px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:var(--link);text-decoration:none;font-weight:500;transition:color var(--transition-fast)}a:hover{color:var(--link-hover);text-decoration:underline}h1,h2,h3,h4,h5,h6{color:var(--text);margin:0;font-weight:600;letter-spacing:-.02em}h1{font-size:22px;line-height:1.3}h2{font-size:16px;line-height:1.4;margin:28px 0 12px}h3{font-size:14px;line-height:1.4;margin:16px 0 8px;font-weight:600}p{margin:0 0 10px;color:var(--text-muted)}code,.mono{font-family:var(--mono);font-size:12px;letter-spacing:-.01em}.mono-box{font-family:var(--mono);font-size:11.5px;background:var(--surface-2);border:1px solid var(--border);padding:2px 6px;border-radius:var(--radius-xs);display:inline-flex;align-items:center;gap:4px}.muted{color:var(--text-muted)}.subtle{color:var(--text-subtle)}.small{font-size:12px}.nowrap{white-space:nowrap}.right{text-align:right}.center{text-align:center}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row-nowrap{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}.spacer{flex:1}.grid{display:grid;gap:16px}.grid.cols-2{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}.grid.cols-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.grid.cols-4{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 20px;box-shadow:var(--shadow-card);transition:box-shadow var(--transition-fast),border-color var(--transition-fast)}.card.interactive{cursor:pointer}.card.interactive:hover{border-color:var(--border-strong);box-shadow:var(--shadow-card-hover)}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px;display:flex;flex-direction:column;gap:8px;box-shadow:var(--shadow-card);position:relative;overflow:hidden;transition:all var(--transition-fast)}.stat-card:hover{box-shadow:var(--shadow-card-hover);border-color:var(--border-strong)}.stat-card .stat-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-card .stat-label{font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.stat-card .stat-icon{width:32px;height:32px;border-radius:var(--radius-md);background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--primary);flex-shrink:0}.stat-card .stat-value{font-size:26px;font-weight:700;line-height:1.1;color:var(--text);font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.03em}.stat-card .stat-footer{font-size:11.5px;color:var(--text-muted);display:flex;align-items:center;gap:6px}.stat{display:flex;flex-direction:column;gap:4px}.stat .value{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums lining-nums;color:var(--text);letter-spacing:-.02em}.stat .label{color:var(--text-muted);font-size:12px;font-weight:500}.table-wrap{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;overflow-x:auto;background:var(--surface);box-shadow:var(--shadow-card)}table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);font-variant-numeric:tabular-nums lining-nums;font-size:13px}th,td{padding:10px 14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}th{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);background:var(--surface-2);position:sticky;top:0;z-index:2;white-space:nowrap}tr:last-child td{border-bottom:0}tbody tr{transition:background-color var(--transition-fast)}tbody tr:hover td{background:var(--surface-hover)}tbody tr.selected td{background:var(--primary-light)}dl.kv{display:grid;grid-template-columns:minmax(110px,max-content) 1fr;gap:8px 16px;margin:0;font-size:13px}dl.kv dt{color:var(--text-muted);font-weight:500}dl.kv dd{margin:0;color:var(--text)}button,.button{font:inherit;font-size:12.5px;font-weight:500;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:6px 12px;border-radius:var(--radius-sm);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:var(--shadow-xs);transition:all var(--transition-fast);white-space:nowrap;-webkit-user-select:none;user-select:none}button:hover,.button:hover{background:var(--surface-hover);border-color:var(--border-strong);text-decoration:none}button:active,.button:active{background:var(--surface-active);transform:translateY(1px)}button.primary,.button.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary);box-shadow:0 1px 2px #4f46e54d}button.primary:hover,.button.primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}button.primary:active,.button.primary:active{background:var(--primary-active)}button.danger,.button.danger{color:var(--bad);border-color:var(--bad-border);background:var(--bad-bg)}button.danger:hover,.button.danger:hover{background:var(--bad);color:#fff;border-color:var(--bad)}button.subtle-btn{background:transparent;border-color:transparent;box-shadow:none;color:var(--text-muted)}button.subtle-btn:hover{background:var(--surface-2);color:var(--text)}button:disabled,.button:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;box-shadow:var(--focus-ring);border-color:var(--border-focus)}input,select,textarea{font:inherit;font-size:13px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:7px 10px;min-width:0;box-shadow:var(--shadow-xs);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}input:hover,select:hover,textarea:hover{border-color:var(--border-strong)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--border-focus);box-shadow:var(--focus-ring)}textarea{width:100%;min-height:80px;line-height:1.5;resize:vertical}label.field{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--text-muted);font-weight:500}label.field>span{font-weight:600;color:var(--text)}label.check{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none}label.check input[type=checkbox]{accent-color:var(--primary);width:15px;height:15px;cursor:pointer}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin:12px 0 16px;flex-wrap:wrap}.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;box-shadow:none;padding:8px 14px;color:var(--text-muted);font-weight:500;font-size:13px;transition:all var(--transition-fast)}.tabs button:hover{color:var(--text);background:var(--surface-2)}.tabs button.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600;background:transparent}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:var(--radius-full);padding:2px 8px;font-size:11px;font-weight:600;white-space:nowrap;letter-spacing:.03em;text-transform:uppercase;border:1px solid transparent}.pill:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%}.pill.ok{color:var(--ok-text);background:var(--ok-bg);border-color:var(--ok-border)}.pill.ok:before{background:var(--ok);box-shadow:0 0 6px var(--ok)}.pill.warn{color:var(--warn-text);background:var(--warn-bg);border-color:var(--warn-border)}.pill.warn:before{background:var(--warn);box-shadow:0 0 6px var(--warn)}.pill.bad{color:var(--bad-text);background:var(--bad-bg);border-color:var(--bad-border)}.pill.bad:before{background:var(--bad);box-shadow:0 0 6px var(--bad)}.pill.info{color:var(--info-text);background:var(--info-bg);border-color:var(--info-border)}.pill.info:before{background:var(--info);box-shadow:0 0 6px var(--info)}.pill.neutral{color:var(--neutral-text);background:var(--neutral-bg);border-color:var(--neutral-border)}.pill.neutral:before{background:var(--neutral)}.notice{border-radius:var(--radius-md);padding:12px 16px;margin:12px 0;border:1px solid;font-size:13px;display:flex;align-items:flex-start;gap:10px;line-height:1.45}.notice.error{color:var(--bad-text);background:var(--bad-bg);border-color:var(--bad-border)}.notice.info{color:var(--info-text);background:var(--info-bg);border-color:var(--info-border)}.notice.success{color:var(--ok-text);background:var(--ok-bg);border-color:var(--ok-border)}.notice.warn{color:var(--warn-text);background:var(--warn-bg);border-color:var(--warn-border)}.masked{font-family:var(--mono);letter-spacing:.05em;font-size:12.5px}.page-header{margin-bottom:20px;display:flex;flex-direction:column;gap:4px}.page-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.page-title{font-size:22px;font-weight:700;letter-spacing:-.03em;color:var(--text);margin:0}.page-desc{font-size:13px;color:var(--text-muted);max-width:800px;margin:0}@keyframes pulse-subtle{0%,to{opacity:1}50%{opacity:.4}}.pulse{animation:pulse-subtle 2s infinite ease-in-out}@media (max-width: 720px){th,td{padding:8px 10px}.card{padding:12px 14px}}.shell.svelte-12qhfyh{display:grid;grid-template-columns:240px 1fr;min-height:100vh;background:var(--bg);transition:grid-template-columns var(--transition-normal)}.shell.collapsed.svelte-12qhfyh{grid-template-columns:68px 1fr}aside.svelte-12qhfyh{background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:10;overflow-y:auto;overflow-x:hidden}.sidebar-header.svelte-12qhfyh{padding:16px 14px;border-bottom:1px solid var(--border-subtle)}.brand.svelte-12qhfyh{display:flex;align-items:center;gap:10px;min-height:32px}.brand-logo.svelte-12qhfyh{display:flex;align-items:center;justify-content:center;flex-shrink:0}.brand-text.svelte-12qhfyh{display:flex;flex-direction:column;overflow:hidden;white-space:nowrap}.brand-title.svelte-12qhfyh{font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--text)}.brand-badge.svelte-12qhfyh{font-size:11px;color:var(--text-muted);font-weight:500;overflow:hidden;text-overflow:ellipsis}.sidebar-nav.svelte-12qhfyh{flex:1;padding:14px 10px;display:flex;flex-direction:column;gap:16px}.nav-section.svelte-12qhfyh{display:flex;flex-direction:column;gap:2px}.nav-section-title.svelte-12qhfyh{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-subtle);padding:6px 8px 4px;-webkit-user-select:none;user-select:none}.nav-link.svelte-12qhfyh{display:flex;align-items:center;gap:10px;color:var(--text-muted);padding:7px 10px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;transition:all var(--transition-fast);text-decoration:none;white-space:nowrap}.nav-link.svelte-12qhfyh:hover{background:var(--surface-hover);color:var(--text);text-decoration:none}.nav-link.active.svelte-12qhfyh{background:var(--primary-light);color:var(--primary);font-weight:600}.nav-icon.svelte-12qhfyh{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:20px}.nav-label.svelte-12qhfyh{overflow:hidden;text-overflow:ellipsis}.sidebar-footer.svelte-12qhfyh{padding:12px 10px;border-top:1px solid var(--border-subtle);background:var(--surface-2)}.staff-card.svelte-12qhfyh{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:var(--radius-sm)}.staff-card.compact.svelte-12qhfyh{flex-direction:column;padding:6px 0;gap:8px}.avatar.svelte-12qhfyh{width:32px;height:32px;border-radius:var(--radius-full);background:linear-gradient(135deg,var(--primary),#818cf8);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;letter-spacing:.05em}.staff-info.svelte-12qhfyh{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.staff-name.svelte-12qhfyh{font-size:12.5px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-email.svelte-12qhfyh{font-size:11px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-role-badge.svelte-12qhfyh{font-size:10px;color:var(--primary);font-weight:600;margin-top:2px}.signout-btn.svelte-12qhfyh{border:none;background:transparent;color:var(--text-muted);padding:6px;border-radius:var(--radius-xs);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none}.signout-btn.svelte-12qhfyh:hover{background:var(--bad-bg);color:var(--bad)}.signout-btn-compact.svelte-12qhfyh{border:none;background:transparent;color:var(--text-muted);padding:6px;border-radius:var(--radius-xs);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none}.signout-btn-compact.svelte-12qhfyh:hover{background:var(--bad-bg);color:var(--bad)}.main-container.svelte-12qhfyh{display:flex;flex-direction:column;min-width:0}.topbar.svelte-12qhfyh{height:52px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:16px;position:sticky;top:0;z-index:5}.topbar-left.svelte-12qhfyh{display:flex;align-items:center;gap:14px}.collapse-toggle.svelte-12qhfyh{border:none;background:transparent;padding:6px;border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none}.collapse-toggle.svelte-12qhfyh:hover{background:var(--surface-hover);color:var(--text)}.breadcrumbs.svelte-12qhfyh{display:flex;align-items:center;gap:8px;font-size:13px}.breadcrumb-root.svelte-12qhfyh{color:var(--text-muted);font-weight:500}.breadcrumb-sep.svelte-12qhfyh{color:var(--border-strong)}.breadcrumb-current.svelte-12qhfyh{color:var(--text);font-weight:600}.topbar-right.svelte-12qhfyh{display:flex;align-items:center;gap:16px}.tenant-switcher.svelte-12qhfyh{display:flex;align-items:center;gap:6px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:2px 6px}.tenant-label.svelte-12qhfyh{font-size:11.5px;font-weight:600;color:var(--text-muted)}.tenant-input-wrap.svelte-12qhfyh input:where(.svelte-12qhfyh){border:none;background:transparent;padding:3px 4px;font-size:12px;font-weight:600;width:48px;box-shadow:none}.tenant-btn.svelte-12qhfyh{padding:3px 8px;font-size:11px;font-weight:600;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xs)}.tenant-clear.svelte-12qhfyh{border:none;background:transparent;padding:2px;color:var(--text-muted);cursor:pointer;box-shadow:none}.tenant-clear.svelte-12qhfyh:hover{color:var(--bad)}.status-chips.svelte-12qhfyh{display:flex;align-items:center;gap:8px}.status-chip.svelte-12qhfyh{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500;padding:4px 8px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);white-space:nowrap}.status-chip.security.svelte-12qhfyh{color:var(--ok-text);background:var(--ok-bg);border-color:var(--ok-border)}.status-chip.clock.svelte-12qhfyh{font-variant-numeric:tabular-nums}.page-body.svelte-12qhfyh{padding:24px 28px 48px;flex:1;min-width:0}.loading-screen.svelte-12qhfyh{min-height:100vh;display:grid;place-items:center;background:var(--bg)}.loading-box.svelte-12qhfyh{display:flex;flex-direction:column;align-items:center;gap:16px}.loading-spinner.svelte-12qhfyh{width:32px;height:32px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:svelte-12qhfyh-spin .8s linear infinite}.loading-text.svelte-12qhfyh{font-size:13px;color:var(--text-muted);font-weight:500}@keyframes svelte-12qhfyh-spin{to{transform:rotate(360deg)}}@media (max-width: 860px){.shell.svelte-12qhfyh{grid-template-columns:1fr}aside.svelte-12qhfyh{display:none}.topbar.svelte-12qhfyh{padding:0 16px}.page-body.svelte-12qhfyh{padding:16px}.status-chips.svelte-12qhfyh{display:none}}
