:root{--bg: #F8FAFC;--surface: #FCFDFE;--surface-2: #F1F5F9;--surface-3: #E2E8F0;--border: #E2E8F0;--border-strong: #CBD5E1;--border-subtle: #F1F5F9;--text: #0F172A;--text-2: #475569;--text-3: #64748B;--brand-900: #18181B;--brand-800: #27272A;--brand-700: #3F3F46;--brand-text: #A1A1AA;--on-dark: #F8FAFC;--primary: #2563EB;--primary-hover: #1D4ED8;--primary-text: var(--primary);--primary-soft: #EFF6FF;--on-solid: var(--on-dark);--sidebar-bg: var(--surface);--sidebar-border: var(--border);--sidebar-text: var(--text);--sidebar-text-muted: var(--text-2);--sidebar-hover: var(--surface-2);--sidebar-active-bg: var(--primary-soft);--sidebar-active-text: var(--primary-text);--spark: #22C55E;--spark-soft: #F0FDF4;--ok: #15803D;--ok-soft: #F0FDF4;--stop: #475569;--stop-soft: #F1F5F9;--warn: #B45309;--warn-soft: #FFFBEB;--crit: #DC2626;--crit-hover: #B91C1C;--crit-soft: #FAFAF9;--off: #7C3AED;--off-soft: #F5F3FF;--info: #0369A1;--info-soft: #F0F9FF;--tv-bg: #09090B;--tv-surface: #18181B;--tv-border: #27272A;--tv-text: #FAFAFA;--tv-text-2: #A1A1AA;--tv-ok: #4ADE80;--tv-warn: #FBBF24;--tv-crit: #F87171;--tv-off: #A78BFA;--font-ui: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--font-data: var(--font-ui);--font-brand: "Exo 2", "IBM Plex Sans", sans-serif;--r-hair: 2px;--r-xs: 4px;--r-sm: 6px;--r-md: 8px;--r-lg: 12px;--r-xl: 16px;--r-sheet: 20px;--r-full: 9999px;--gutter: max(16px, env(safe-area-inset-left, 0px));--backdrop: rgba(15, 23, 42, .55);--shadow-sm: 0 2px 6px rgba(15, 23, 42, .08);--shadow-md: 0 8px 24px rgba(15, 23, 42, .14);--shadow-lg: 0 16px 40px rgba(15, 23, 42, .22);--shadow-card: none;--transition-smooth: background-color .15s ease, border-color .15s ease, color .15s ease;color-scheme:light}:root[data-theme=dark]{--bg: #09090B;--surface: #18181B;--surface-2: #27272A;--surface-3: #3F3F46;--border: #27272A;--border-strong: #3F3F46;--border-subtle: #18181B;--text: #FAFAFA;--text-2: #A1A1AA;--text-3: #A1A1AA;--primary: #3B82F6;--primary-hover: #60A5FA;--primary-text: #60A5FA;--primary-soft: rgba(59, 130, 246, .15);--on-solid: #09090B;--ok: #4ADE80;--ok-soft: rgba(74, 222, 128, .15);--stop: #A1A1AA;--stop-soft: rgba(161, 161, 170, .15);--warn: #FBBF24;--warn-soft: rgba(251, 191, 36, .15);--crit: #F87171;--crit-hover: #FCA5A5;--crit-soft: rgba(220, 38, 38, .12);--off: #A78BFA;--off-soft: rgba(167, 139, 250, .15);--info: #38BDF8;--info-soft: rgba(56, 189, 248, .15);--backdrop: rgba(9, 9, 11, .7);--shadow-sm: 0 2px 6px rgba(9, 9, 11, .4);--shadow-md: 0 8px 24px rgba(9, 9, 11, .5);--shadow-lg: 0 16px 40px rgba(9, 9, 11, .65);color-scheme:dark}*,*:before,*:after{box-sizing:border-box}::selection{background:var(--primary-soft);color:var(--text)}html,body{margin:0;min-height:100%}body{background:var(--bg);color:var(--text);font:400 14px/1.5 var(--font-ui);caret-color:var(--primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p{text-wrap:pretty}h1,h2,h3,h4{text-wrap:balance;margin:0;letter-spacing:-.02em;font-weight:600;color:var(--text)}h1{font-size:24px;line-height:1.25}h2{font-size:20px;line-height:1.3}h3{font-size:17px;line-height:1.3}h4{font-size:15px;line-height:1.35}a{color:var(--primary);text-decoration:none;transition:var(--transition-smooth)}a:hover{color:var(--primary-hover)}.mono{font-family:var(--font-data);font-variant-numeric:tabular-nums}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;position:relative}.card-header,.panel-header,.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border);background:var(--surface)}.card-header h2,.panel-header h2{font-size:16px;line-height:1.3;margin:0}.card-body{padding:16px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.page-heading-title{min-width:0}.page-heading h1{margin:0;font-size:24px;line-height:1.25;font-weight:600}.page-heading .subtitle{margin:4px 0 0;color:var(--text-2);font-size:14px;line-height:1.5}.page-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap}.page-eyebrow .meta-tag{font-size:11px;color:var(--text-2);letter-spacing:.05em;text-transform:uppercase}.page-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}.page-heading-actions .btn-secondary{font-size:13px}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:768px){.kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.kpi-tile{padding:14px;display:flex;flex-direction:column;gap:4px}.kpi-tile .label{font-size:12px;color:var(--text-2);text-transform:uppercase;font-weight:600;letter-spacing:.04em;line-height:1.3}.kpi-tile .val{font-size:24px;line-height:1.1}.kpi-tile .trend,.kpi-tile .sub-label{font-size:11px;color:var(--text-2);margin-top:4px;line-height:1.3}.kpi-tile.tone-ok .val{color:var(--ok)}.kpi-tile.tone-crit .val{color:var(--crit)}.kpi-tile.tone-warn .val{color:var(--warn)}.kpi-tile.tone-off .val{color:var(--off)}.kpi-tile.tone-stop .val{color:var(--stop)}.kpi-tile.tone-active .val{color:var(--primary-text)}.table-card{padding:0;overflow:hidden}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:12px 14px;background:var(--surface-2);color:var(--text-2);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border)}.data-table td{padding:12px 14px;border-bottom:1px solid var(--border);color:var(--text);vertical-align:middle}.data-table tr:last-child td{border-bottom:none}.status-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.status-tile{padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);display:flex;flex-direction:column;gap:8px}.status-tile .tile-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.status-tile .tile-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--r-sm);background:var(--surface-2);color:var(--text);flex-shrink:0}.status-tile .badge{font-size:10px;padding:2px 6px}.status-tile .tile-body{display:flex;flex-direction:column}.status-tile .tile-val{font-size:18px;font-weight:700;color:var(--text);line-height:1.2}.status-tile .tile-val.font-sm{font-size:13px;padding:2px 0}.status-tile .tile-label{font-size:12px;font-weight:600;color:var(--text);margin-top:2px}.status-tile .tile-meta{font-size:10px;color:var(--text-2);margin-top:1px}.status-tile.tile-warn{border-color:var(--warn);background:var(--warn-soft)}.status-tile.tile-crit{border-color:var(--crit);background:var(--crit-soft)}.panel-live-footer{padding:10px 18px;background:var(--surface-2);border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--text-2)}.panel-live-footer .live-status{display:inline-flex;align-items:center;gap:6px}.panel-live-footer .live-dot-pulse{width:7px;height:7px;border-radius:var(--r-full);background:var(--ok);flex-shrink:0;animation:pulse 2s infinite}.panel-live-footer .refresh-meta{font-size:10px;opacity:.8}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:var(--r-md);border:1px solid var(--border);background:var(--surface);color:var(--text);font:600 15px/1.35 var(--font-ui);cursor:pointer;text-decoration:none;transition:var(--transition-smooth)}.btn:hover:not(:disabled){background:var(--surface-2);border-color:var(--border-strong)}.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--on-solid)}.btn-primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover);color:var(--on-solid)}.btn-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--surface-2);border-color:var(--border-strong)}.btn-ghost{border-color:transparent;background:transparent;color:var(--primary)}.btn-ghost:hover:not(:disabled){background:var(--primary-soft);color:var(--primary-hover)}.btn-danger{background:var(--crit);border-color:var(--crit);color:var(--on-solid)}.btn-danger:hover:not(:disabled){background:var(--crit-hover);border-color:var(--crit-hover);color:var(--on-solid)}.btn-sm{min-height:44px;padding:0 12px;font-size:13px}.btn:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}:where(input:not([type]),input[type=text],input[type=number],textarea){min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);color:var(--text);font:500 13px/1.4 var(--font-ui);transition:var(--transition-smooth)}:where(textarea){padding:10px 12px}:where(input:not([type]),input[type=text],input[type=number],textarea):hover:not(:disabled){border-color:var(--text-3)}:where(input:not([type]),input[type=text],input[type=number],textarea):focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}:where(input,textarea)::placeholder{color:var(--text-3)}.field{display:flex;flex-direction:column;gap:4px}.field label{font-size:12px;font-weight:600;line-height:1.3;color:var(--text-2)}.field input,.field select,.field textarea{min-height:44px;padding:10px 12px;border-radius:var(--r-md);border:1px solid var(--border);background-color:var(--surface);color:var(--text);font:400 14px/1.5 var(--font-ui);transition:var(--transition-smooth)}.field select{padding-right:36px}select{appearance:none;min-height:44px;padding:0 36px 0 12px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px;color:var(--text);font:500 13px/1.4 var(--font-ui);cursor:pointer}select:hover:not(:disabled){border-color:var(--text-3)}select:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}select:disabled{opacity:.5;cursor:not-allowed}.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.field textarea{min-height:80px;resize:vertical}.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--r-full);font-size:12px;font-weight:600;white-space:nowrap;line-height:1.3;border:1px solid transparent}.badge:before{content:"";width:6px;height:6px;border-radius:var(--r-full);background:currentColor;flex-shrink:0}.badge-ok,.badge-running{background:var(--ok-soft);color:var(--ok)}.badge-crit{background:var(--crit);color:var(--on-solid)}.badge-warn{background:var(--warn-soft);color:var(--warn)}.badge-stop{background:var(--stop-soft);color:var(--stop)}.badge-off{background:var(--off-soft);color:var(--off)}.badge-info{background:var(--info-soft);color:var(--info)}.badge-active{background:var(--primary-soft);color:var(--primary-text)}.badge-outline{background:var(--surface-2);color:var(--text-2);border-color:var(--border)}:root[data-theme=dark] .badge-outline{border-color:var(--border-strong)}.error-banner{padding:12px 16px;border-radius:var(--r-lg);background:var(--crit-soft);color:var(--crit);border:1px solid var(--crit);font-size:13px;line-height:1.45}.counter{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:var(--r-full);background:var(--primary);color:var(--on-solid);font:700 11px/1 var(--font-data);font-variant-numeric:tabular-nums}.error-text{color:var(--crit);font-size:13px;line-height:1.45}.skeleton{background:var(--surface-2);border-radius:var(--r-sm);animation:pulse 1.4s ease-in-out infinite}@keyframes pulse{50%{opacity:.5}}.segmented{display:flex;gap:4px;padding:4px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--border);overflow-x:auto}.segmented button{flex:1;min-height:44px;padding:0 12px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--text-2);font:600 13px/1.3 var(--font-ui);white-space:nowrap;cursor:pointer;transition:var(--transition-smooth)}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-sm)}.list{display:flex;flex-direction:column;padding:0;margin:0;list-style:none}.list>li+li{border-top:1px solid var(--border)}.empty{display:flex;flex-direction:column;gap:4px;padding:24px;text-align:center;color:var(--text-2)}.skip-link{position:absolute;left:8px;top:-48px;z-index:100;padding:10px 14px;border-radius:var(--r-md);background:var(--primary);color:var(--on-solid);font-weight:600}.skip-link:focus{top:8px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
