:root{color:#1f2937;background:#f3f4f6;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{background:#f3f4f6;margin:0}#root{min-height:100vh}.app-shell{min-height:100vh;display:flex}.sidebar{color:#fff;background:#111827;width:280px;padding:24px 18px}.brand-link{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.sidebar-logo{object-fit:contain;flex:none;width:48px;height:48px}.brand strong{font-size:20px;line-height:1.1;display:block}.brand span{color:#cbd5e1;margin-top:5px;font-size:12px;display:block}nav,.nav-menu{flex-direction:column;gap:6px;display:flex}.nav-section-title{color:#94a3b8;letter-spacing:.11em;text-transform:uppercase;border-bottom:1px solid #ffffff14;margin:18px 10px 8px;padding-bottom:7px;font-size:11px;font-weight:800}.nav-divider{background:#ffffff1f;height:1px;margin:14px 8px 4px}nav .disabled-menu{cursor:default;pointer-events:none}nav a,.nav-item{color:#e5e7eb;cursor:pointer;border-radius:10px;align-items:center;min-height:40px;padding:11px 12px 11px 30px;text-decoration:none;transition:background .15s,color .15s,transform .15s;display:flex;position:relative}nav a:after,.nav-item:after{content:"";background:#cbd5e173;border-radius:999px;width:5px;height:5px;position:absolute;left:15px}nav a.active,nav a:hover,.nav-item.active,.nav-item:hover{color:#fff;background:#2563eb}nav a:hover,.nav-item:hover{transform:translate(2px)}nav a.active,.nav-item.active{font-weight:700;box-shadow:inset 4px 0 #60a5fa}nav a.active:after,nav a:hover:after,.nav-item.active:after,.nav-item:hover:after{background:#fff}.main-content,.content{flex:1;padding:32px}.page-header h1{margin:0;font-size:32px}.page-header p{color:#6b7280;margin-top:8px}.grid,.stats-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:24px;display:grid}.stat-card{background:#fff;border-radius:14px;padding:22px;box-shadow:0 1px 4px #00000014}.stat-card h3{color:#6b7280;margin-top:0;font-size:14px}.stat-card strong{font-size:28px}.panel,.notice,.error-box{background:#fff;border-radius:14px;margin-top:24px;padding:22px;box-shadow:0 1px 4px #00000014}.notice{color:#1e3a8a;background:#dbeafe}.error-box{color:#991b1b;background:#fee2e2}.toolbar,.viewer-toolbar{flex-wrap:wrap;align-items:end;gap:16px;margin-bottom:20px;display:flex}.field-group{flex-direction:column;gap:6px;display:flex}.field-group label{color:#6b7280;font-size:13px}input,select{border:1px solid #d1d5db;border-radius:8px;padding:8px 10px}.primary-button,.secondary-button,button{cursor:pointer;border:none;border-radius:8px;padding:9px 14px}.primary-button{color:#fff;background:#2563eb}.secondary-button{background:#e5e7eb}button:hover{opacity:.9}.table-summary{color:#6b7280;justify-content:space-between;margin-bottom:14px;display:flex}.table-wrapper{overflow-x:auto}.data-table{border-collapse:collapse;background:#fff;width:100%}.data-table th{text-align:left;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:12px}.data-table td{border-bottom:1px solid #f1f5f9;padding:10px 12px}.data-table tbody tr:hover{background:#f8fafc}.numeric-cell{text-align:right}.pagination-bar{justify-content:center;align-items:center;gap:20px;margin-top:20px;display:flex}.muted{color:#6b7280}a{color:#2563eb}@media (width<=900px){.app-shell{flex-direction:column}.sidebar{width:auto}.grid,.stats-grid{grid-template-columns:1fr}.table-summary{flex-direction:column;gap:8px}}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:20px;display:grid}.stat-card{background:#fff;border:1px solid #d9d9d9;border-radius:8px;padding:14px;box-shadow:0 1px 3px #00000014}.stat-card strong{color:#555;margin-bottom:6px;font-size:13px;display:block}.stat-card div{font-size:16px;font-weight:600}.chart-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;padding:18px}.chart-panel h3{margin-top:0;margin-bottom:16px;font-size:18px}.quality-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;padding:18px}.quality-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.quality-header h3{margin:0 0 6px;font-size:18px}.quality-summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:14px;display:grid}.quality-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:12px}.quality-card strong{color:#6b7280;margin-bottom:6px;font-size:13px;display:block}.quality-card span{font-size:18px;font-weight:700}.quality-ok{margin-top:10px}.modal-backdrop{z-index:1000;background:#0f172a8c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-panel{background:#fff;border-radius:14px;width:min(1100px,96vw);max-height:90vh;overflow:auto;box-shadow:0 24px 80px #0f172a59}.quality-modal-panel{padding:20px}.modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;padding-bottom:14px;display:flex}.modal-header h2{margin:0 0 6px;font-size:22px}.quality-modal-panel .quality-panel{box-shadow:none;border:none;margin-bottom:0;padding:0}.quality-modal-panel .quality-header{display:none}@media (width<=700px){.modal-backdrop{align-items:flex-start;padding:10px}.modal-panel{width:100%;max-height:96vh}.modal-header{flex-direction:column}}.row-actions{flex-wrap:wrap;gap:6px;display:flex}.small-button{cursor:pointer;color:#fff;background:#2563eb;border:none;border-radius:7px;padding:6px 9px;font-size:12px}.secondary-small-button{color:#111827;background:#e5e7eb}.edit-modal-panel,.history-modal-panel{padding:20px}.edit-form{flex-direction:column;gap:14px;display:flex}.edit-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.readonly-box{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:12px}.readonly-box span{color:#6b7280;margin-bottom:4px;font-size:12px;display:block}.readonly-box strong{font-size:15px}.full-width-field input,.full-width-field textarea{width:100%}textarea{resize:vertical;border:1px solid #d1d5db;border-radius:8px;padding:8px 10px;font-family:inherit}.modal-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.compact-error{margin-top:0;padding:10px 12px}.history-list{flex-direction:column;gap:12px;display:flex}.history-item{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:14px}.history-item-main{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.history-meta{color:#6b7280;flex-wrap:wrap;gap:12px;font-size:13px;display:flex}.history-reason{margin:10px 0 0}.status-pill{color:#111827;background:#e5e7eb;border-radius:999px;align-items:center;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.status-pending{color:#92400e;background:#fef3c7}.status-approved{color:#166534;background:#dcfce7}.status-rejected{color:#991b1b;background:#fee2e2}.value-cell{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.original-value{font-weight:600}.edit-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;font-weight:700;line-height:1.2;display:inline-flex}.edit-badge-pending{color:#8a5a00;background:#fff7d6;border:1px solid #f2cf63}.edit-badge-approved{color:#166534;background:#dcfce7;border:1px solid #86efac}.edit-badge-rejected{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.effective-value{color:#166534;margin-top:4px;font-size:12px;font-weight:700}.login-page{background:#111827;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border-radius:16px;width:min(440px,100%);padding:28px;box-shadow:0 20px 45px #00000040}.login-brand{text-align:center}.login-logo{width:140px;height:auto;margin:0 auto 12px;display:block}.login-brand h1{margin:0;font-size:28px}.login-brand p{color:#6b7280;margin-top:8px}.login-button{width:100%;margin-top:16px}.login-note{margin-bottom:0;font-size:13px}.user-panel{background:#ffffff14;border-radius:12px;margin-bottom:18px;padding:12px}.user-panel strong,.user-panel span{display:block}.user-panel span{color:#cbd5e1;margin-top:4px;font-size:12px}.sidebar-button{color:#fff;background:#374151;width:100%;margin-top:10px}.disabled-menu{opacity:.45}nav a.disabled-menu,.nav-item.disabled-menu{color:#94a3b8;box-shadow:none;background:0 0;font-style:italic}nav a.disabled-menu:after,.nav-item.disabled-menu:after{background:#94a3b847}.actions-cell{flex-wrap:wrap;gap:8px;display:flex}.full-width-field{width:100%}.admin-form-panel h2{margin-top:0}.admin-form{flex-direction:column;gap:18px;display:flex}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.form-grid.single-column{grid-template-columns:minmax(220px,420px)}.checkbox-row,.role-options,.admin-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.checkbox-row label,.role-option{align-items:center;gap:8px;display:inline-flex}.roles-box{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:14px}.roles-box strong{margin-bottom:10px;display:block}.role-option{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:8px 10px}.role-option small{color:#6b7280}.permission-matrix{flex-direction:column;gap:18px;display:flex}.permission-group{border-top:1px solid #e5e7eb;padding-top:14px}.permission-group-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.permission-group-header h3{margin:0;font-size:15px}.permission-options{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;display:grid}.permission-option{background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:auto 1fr;align-items:start;gap:4px 8px;padding:10px;display:grid}.permission-option small{color:#6b7280;grid-column:2}.dashboard-page .page-header{margin-bottom:4px}.dashboard-hero{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.dashboard-hero-badge{color:#1e40af;background:#dbeafe;border-radius:999px;align-items:center;padding:8px 12px;font-size:13px;font-weight:700;display:inline-flex}.dashboard-stats-grid{margin-top:20px}.dashboard-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;margin-top:22px;display:grid}.dashboard-layout-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panel{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px;box-shadow:0 1px 4px #00000014}.dashboard-panel-header h2{margin:0;font-size:22px}.dashboard-panel-header p{color:#6b7280;margin:8px 0 18px}.system-status-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.system-status-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:14px}.system-status-card span,.system-status-card em{color:#6b7280;font-size:13px;font-style:normal;display:block}.system-status-card strong{color:#111827;margin:6px 0;font-size:17px;display:block}.system-status-card em{color:#166534;font-weight:700}.dashboard-flow-list{margin:0;padding-left:22px}.dashboard-flow-list li{margin-bottom:12px;line-height:1.45}.dashboard-feature-list{gap:12px;display:grid}.dashboard-feature-list.compact{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.dashboard-feature-list div{background:#f9fafb;border-left:4px solid #2563eb;border-radius:10px;padding:10px 12px}.dashboard-feature-list strong,.dashboard-feature-list span{display:block}.dashboard-feature-list strong{color:#111827;margin-bottom:4px}.dashboard-feature-list span{color:#6b7280;font-size:14px;line-height:1.4}@media (width<=1100px){.dashboard-layout,.dashboard-layout-secondary{grid-template-columns:1fr}}@media (width<=700px){.dashboard-hero{flex-direction:column}}.stat-card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.stat-card-header svg{color:#2563eb}button:disabled{cursor:not-allowed;opacity:.45}.theme-toggle{color:#fff;background:#ffffff14;border:1px solid #ffffff24;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;margin:0 0 18px;padding:10px 12px;display:flex}.theme-toggle span{font-size:16px}.theme-toggle strong{font-size:13px}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] .main-content,html[data-theme=dark] .content{color:#e5e7eb;background:#0b1220}html[data-theme=dark] .page-header h1,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] strong{color:#f8fafc}html[data-theme=dark] .page-header p,html[data-theme=dark] .muted,html[data-theme=dark] .field-group label,html[data-theme=dark] .table-summary,html[data-theme=dark] .dashboard-panel-header p,html[data-theme=dark] .dashboard-feature-list span,html[data-theme=dark] .system-status-card span,html[data-theme=dark] .history-meta,html[data-theme=dark] .permission-option small,html[data-theme=dark] .role-option small,html[data-theme=dark] .login-brand p,html[data-theme=dark] .login-note{color:#94a3b8}html[data-theme=dark] .stat-card,html[data-theme=dark] .panel,html[data-theme=dark] .dashboard-panel,html[data-theme=dark] .chart-panel,html[data-theme=dark] .quality-panel,html[data-theme=dark] .modal-panel,html[data-theme=dark] .login-card{color:#e5e7eb;background:#111827;border-color:#273449;box-shadow:0 1px 8px #00000059}html[data-theme=dark] .system-status-card,html[data-theme=dark] .dashboard-feature-list div,html[data-theme=dark] .quality-card,html[data-theme=dark] .readonly-box,html[data-theme=dark] .roles-box,html[data-theme=dark] .role-option,html[data-theme=dark] .permission-option,html[data-theme=dark] .history-item{color:#e5e7eb;background:#182235;border-color:#273449}html[data-theme=dark] .system-status-card strong,html[data-theme=dark] .dashboard-feature-list strong,html[data-theme=dark] .readonly-box strong,html[data-theme=dark] .quality-card span{color:#f8fafc}html[data-theme=dark] .system-status-card em{color:#86efac}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#e5e7eb;background:#0f172a;border-color:#334155}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#64748b}html[data-theme=dark] .secondary-button,html[data-theme=dark] .secondary-small-button{color:#f8fafc;background:#334155}html[data-theme=dark] .data-table{color:#e5e7eb;background:#111827}html[data-theme=dark] .data-table th{color:#f8fafc;background:#182235;border-bottom-color:#273449}html[data-theme=dark] .data-table td{border-bottom-color:#273449}html[data-theme=dark] .data-table tbody tr:hover{background:#1e293b}html[data-theme=dark] a{color:#93c5fd}html[data-theme=dark] nav a{color:#cbd5e1}html[data-theme=dark] nav a.active,html[data-theme=dark] nav a:hover{color:#fff}html[data-theme=dark] .dashboard-hero-badge,html[data-theme=dark] .notice{color:#dbeafe;background:#1e3a8a}html[data-theme=dark] .success-notice,html[data-theme=dark] .status-approved,html[data-theme=dark] .edit-badge-approved{color:#dcfce7;background:#14532d;border-color:#166534}html[data-theme=dark] .error-box,html[data-theme=dark] .status-rejected,html[data-theme=dark] .edit-badge-rejected{color:#fee2e2;background:#7f1d1d;border-color:#991b1b}html[data-theme=dark] .status-pending,html[data-theme=dark] .edit-badge-pending{color:#fef3c7;background:#78350f;border-color:#92400e}html[data-theme=dark] .modal-backdrop{background:#020617bf}html[data-theme=dark] .sidebar{background:#020617}html[data-theme=dark] .nav-section-title{border-bottom-color:#ffffff17}html[data-theme=dark] .nav-divider{background:#ffffff1f}html[data-theme=dark] .user-panel,html[data-theme=dark] .theme-toggle{background:#ffffff0f;border-color:#ffffff1f}html[data-theme=dark] .sidebar-button{background:#1f2937}.mapping-row{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(240px,1fr) 140px auto;align-items:end;gap:12px;margin-top:12px;padding:12px;display:grid}.success-notice{color:#166534;background:#dcfce7}small.muted{font-size:12px}@media (width<=800px){.mapping-row{grid-template-columns:1fr}}.danger-button{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;padding:9px 14px}.danger-button:disabled,.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.65}html[data-theme=dark] .danger-button{color:#fee2e2;background:#991b1b}.station-workspace-page{background:linear-gradient(#eef4ff 0%,#f3f4f6 240px 100%)}.workspace-hero{grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);align-items:stretch;gap:18px;margin-bottom:20px;display:grid}.workspace-hero-main,.workspace-actions-card,.workspace-panel,.workspace-kpi-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 10px 30px #0f172a14}.workspace-hero-main{padding:26px;position:relative;overflow:hidden}.workspace-hero-main:before{content:"";pointer-events:none;background:radial-gradient(circle,#2563eb29,#2563eb00);border-radius:999px;width:260px;height:260px;position:absolute;inset:0 0 auto auto;transform:translate(70px,-90px)}.workspace-back-button{color:#1e40af;background:#eef2ff;border-radius:999px;margin-bottom:18px;padding:7px 10px;font-weight:700}.workspace-title-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.workspace-eyebrow{color:#2563eb;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:13px;font-weight:800}.workspace-title-row h1{color:#0f172a;margin:0;font-size:clamp(30px,4vw,44px);line-height:1.05}.workspace-subtitle{color:#64748b;max-width:760px;margin:12px 0 0;font-size:16px}.workspace-status{border-radius:999px;flex:none;align-items:center;gap:8px;padding:8px 12px;font-size:13px;font-weight:800;display:inline-flex}.workspace-status:before{content:"";border-radius:999px;width:8px;height:8px}.workspace-status.active{color:#166534;background:#dcfce7}.workspace-status.active:before{background:#22c55e}.workspace-status.inactive{color:#991b1b;background:#fee2e2}.workspace-status.inactive:before{background:#ef4444}.workspace-meta-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:26px;display:grid}.workspace-meta-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px}.workspace-meta-grid span,.workspace-kpi-card span,.workspace-actions-card p,.workspace-panel-header p,.workspace-timeseries-card p,.timeline-item p,.workspace-roadmap-list p{color:#64748b}.workspace-meta-grid span,.workspace-kpi-card span{letter-spacing:.05em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:800;display:block}.workspace-meta-grid strong{color:#0f172a;font-size:15px}.workspace-actions-card{padding:22px}.workspace-actions-card h2,.workspace-panel-header h2{color:#0f172a;margin:0;font-size:22px}.workspace-actions-card p{margin:10px 0 18px;line-height:1.45}.workspace-actions{gap:10px;display:grid}.workspace-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.workspace-kpi-card{padding:18px;position:relative;overflow:hidden}.workspace-kpi-card:before{content:"";background:#2563eb;height:4px;position:absolute;top:0;left:0;right:0}.workspace-kpi-card.green:before{background:#16a34a}.workspace-kpi-card.amber:before{background:#d97706}.workspace-kpi-card.red:before{background:#dc2626}.workspace-kpi-card strong{color:#0f172a;margin-bottom:7px;font-size:25px;line-height:1.15;display:block}.workspace-kpi-card em{color:#64748b;font-size:13px;font-style:normal;line-height:1.35;display:block}.workspace-two-column{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;margin-bottom:18px;display:grid}.workspace-panel{padding:22px}.workspace-panel-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.workspace-panel-header.compact{margin-bottom:14px}.workspace-panel-header p{margin:8px 0 0;line-height:1.45}.workspace-timeseries-list{gap:12px;display:grid}.workspace-timeseries-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:16px;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex}.workspace-timeseries-card:hover{border-color:#bfdbfe;transform:translateY(-2px);box-shadow:0 10px 24px #2563eb17}.workspace-timeseries-card h3{color:#0f172a;margin:8px 0 6px;font-size:18px}.workspace-timeseries-card p{margin:0;line-height:1.45}.workspace-card-actions{flex:none}.workspace-tag{color:#1d4ed8;background:#dbeafe;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:800;display:inline-flex}.workspace-tag.pending{color:#92400e;background:#fef3c7}.quality-donut-card{justify-content:center;margin:6px 0 22px;display:flex}.quality-score{background:radial-gradient(circle at center, #fff 54%, transparent 55%), conic-gradient(#16a34a 0 55%, #d97706 55% 82%, #dc2626 82% 100%);border-radius:999px;flex-direction:column;justify-content:center;align-items:center;width:148px;height:148px;display:flex;box-shadow:inset 0 0 0 1px #e5e7eb}.quality-score strong{color:#0f172a;font-size:25px}.quality-score span{color:#64748b;font-size:13px}.quality-bars{gap:14px;display:grid}.quality-bars>div{grid-template-columns:80px 70px 1fr;align-items:center;gap:10px;display:grid}.quality-bars span{color:#64748b;font-size:13px;font-weight:800}.quality-bars strong{text-align:right;color:#0f172a}.quality-bar{background:#e5e7eb;border-radius:999px;height:9px;overflow:hidden}.quality-bar i{border-radius:inherit;height:100%;display:block}.quality-bar .ok{background:#16a34a}.quality-bar .warning{background:#d97706}.quality-bar .invalid{background:#dc2626}.workspace-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.workspace-timeline{gap:12px;display:grid}.timeline-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:18px 1fr;gap:10px;padding:12px;display:grid}.timeline-dot{background:#2563eb;border-radius:999px;width:10px;height:10px;margin-top:6px;box-shadow:0 0 0 4px #dbeafe}.timeline-item strong{color:#0f172a}.timeline-item p{margin:5px 0 0;line-height:1.45}.workspace-roadmap-list{gap:12px;display:grid}.workspace-roadmap-list div,.empty-workspace-state{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;padding:16px}.workspace-roadmap-list strong,.empty-workspace-state strong{color:#0f172a;margin:8px 0 6px;display:block}.empty-workspace-state.compact strong{margin-top:0}.empty-workspace-state p,.workspace-roadmap-list p{color:#64748b;margin:0;line-height:1.45}.empty-workspace-state button{margin-top:12px}.skeleton-card{padding:28px}html[data-theme=dark] .station-workspace-page{background:linear-gradient(#0f172a 0%,#0b1220 240px 100%)}html[data-theme=dark] .workspace-hero-main,html[data-theme=dark] .workspace-actions-card,html[data-theme=dark] .workspace-panel,html[data-theme=dark] .workspace-kpi-card{background:#111827;border-color:#273449;box-shadow:0 10px 30px #00000047}html[data-theme=dark] .workspace-title-row h1,html[data-theme=dark] .workspace-meta-grid strong,html[data-theme=dark] .workspace-actions-card h2,html[data-theme=dark] .workspace-panel-header h2,html[data-theme=dark] .workspace-kpi-card strong,html[data-theme=dark] .workspace-timeseries-card h3,html[data-theme=dark] .quality-score strong,html[data-theme=dark] .quality-bars strong,html[data-theme=dark] .timeline-item strong,html[data-theme=dark] .workspace-roadmap-list strong,html[data-theme=dark] .empty-workspace-state strong{color:#f8fafc}html[data-theme=dark] .workspace-subtitle,html[data-theme=dark] .workspace-meta-grid span,html[data-theme=dark] .workspace-kpi-card span,html[data-theme=dark] .workspace-kpi-card em,html[data-theme=dark] .workspace-actions-card p,html[data-theme=dark] .workspace-panel-header p,html[data-theme=dark] .workspace-timeseries-card p,html[data-theme=dark] .quality-score span,html[data-theme=dark] .quality-bars span,html[data-theme=dark] .timeline-item p,html[data-theme=dark] .workspace-roadmap-list p,html[data-theme=dark] .empty-workspace-state p{color:#94a3b8}html[data-theme=dark] .workspace-back-button{color:#dbeafe;background:#1e3a8a}html[data-theme=dark] .workspace-meta-grid div,html[data-theme=dark] .workspace-timeseries-card,html[data-theme=dark] .timeline-item,html[data-theme=dark] .workspace-roadmap-list div,html[data-theme=dark] .empty-workspace-state{background:#182235;border-color:#273449}html[data-theme=dark] .quality-score{background:radial-gradient(circle at center, #111827 54%, transparent 55%), conic-gradient(#16a34a 0 55%, #d97706 55% 82%, #dc2626 82% 100%);box-shadow:inset 0 0 0 1px #273449}html[data-theme=dark] .quality-bar{background:#273449}@media (width<=1200px){.workspace-hero,.workspace-two-column,.workspace-activity-grid{grid-template-columns:1fr}.workspace-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.workspace-title-row,.workspace-timeseries-card{flex-direction:column;align-items:flex-start}.workspace-kpi-grid,.quality-bars>div{grid-template-columns:1fr}.quality-bars strong{text-align:left}}.workspace-hero-v2{grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr)}.station-health-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;position:relative;overflow:hidden;box-shadow:0 10px 30px #0f172a14}.station-health-card:before{content:"";background:#16a34a;height:5px;position:absolute;top:0;left:0;right:0}.station-health-card.warning:before{background:#d97706}.station-health-card.critical:before{background:#dc2626}.station-health-header span{color:#64748b;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:800;display:block}.station-health-header strong{color:#0f172a;font-size:26px;line-height:1.1;display:block}.station-health-header p{color:#64748b;margin:10px 0 16px;line-height:1.45}.station-health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.station-health-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px}.station-health-grid span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.station-health-grid strong{color:#0f172a;font-size:14px}.compact-actions{grid-template-columns:1fr}.workspace-kpi-grid-v2 .workspace-kpi-card{min-height:118px}.workspace-kpi-grid-v2 .workspace-kpi-card strong{margin-bottom:4px;font-size:clamp(30px,3.2vw,42px);line-height:.95}.workspace-kpi-grid-v2 .workspace-kpi-card span{margin-bottom:8px}.workspace-two-column-v2{grid-template-columns:minmax(0,1.55fr) minmax(320px,.45fr)}.compact-timeseries-list{gap:9px}.compact-timeseries-card{grid-template-columns:minmax(220px,1.2fr) minmax(320px,1fr) auto;min-height:auto;padding:12px;display:grid}.compact-timeseries-card h3{margin:6px 0 4px;font-size:16px}.compact-timeseries-card p{font-size:13px}.timeseries-live-metrics{grid-template-columns:repeat(3,minmax(80px,1fr));align-items:center;gap:8px;display:grid}.timeseries-live-metrics div{background:#fff;border:1px solid #e5e7eb;border-radius:11px;padding:9px 10px}.timeseries-live-metrics span{color:#64748b;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:800;display:block}.timeseries-live-metrics strong{color:#0f172a;font-size:13px}.quality-overview-panel-v2{align-self:start}.dynamic-quality-score{background:radial-gradient(circle at center, #fff 54%, transparent 55%), conic-gradient(#16a34a 0 var(--ok-pct), #d97706 var(--ok-pct) var(--warn-pct), #dc2626 var(--warn-pct) 100%)}.quality-mini-summary{gap:8px;margin-top:18px;display:grid}.quality-mini-summary div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;gap:12px;padding:10px 12px;display:flex}.quality-mini-summary span{color:#64748b;font-size:12px;font-weight:800}.quality-mini-summary strong{color:#0f172a}.workspace-activity-grid-v2{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr)}.recent-measurements-table-wrap{overflow-x:auto}.compact-data-table th,.compact-data-table td{vertical-align:top;padding:9px 10px}.table-subtext{margin-top:3px;font-size:12px;display:block}.quality-pill{color:#166534;background:#dcfce7;border-radius:999px;align-items:center;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.quality-pill.warning{color:#92400e;background:#fef3c7}.quality-pill.invalid{color:#991b1b;background:#fee2e2}.workspace-activity-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.workspace-activity-split h3{color:#0f172a;margin:0 0 10px;font-size:16px}.compact-timeline{gap:9px}.compact-timeline .timeline-item{padding:10px}.timeline-dot.approved,.timeline-dot.completed,.timeline-dot.import{background:#16a34a;box-shadow:0 0 0 4px #dcfce7}.timeline-dot.rejected,.timeline-dot.rolled_back{background:#dc2626;box-shadow:0 0 0 4px #fee2e2}.timeline-dot.pending{background:#d97706;box-shadow:0 0 0 4px #fef3c7}html[data-theme=dark] .station-health-card,html[data-theme=dark] .station-health-grid div,html[data-theme=dark] .timeseries-live-metrics div,html[data-theme=dark] .quality-mini-summary div{color:#e5e7eb;background:#111827;border-color:#273449}html[data-theme=dark] .station-health-grid div,html[data-theme=dark] .timeseries-live-metrics div,html[data-theme=dark] .quality-mini-summary div{background:#182235}html[data-theme=dark] .station-health-header strong,html[data-theme=dark] .station-health-grid strong,html[data-theme=dark] .timeseries-live-metrics strong,html[data-theme=dark] .quality-mini-summary strong,html[data-theme=dark] .workspace-activity-split h3{color:#f8fafc}html[data-theme=dark] .station-health-header span,html[data-theme=dark] .station-health-header p,html[data-theme=dark] .station-health-grid span,html[data-theme=dark] .timeseries-live-metrics span,html[data-theme=dark] .quality-mini-summary span{color:#94a3b8}html[data-theme=dark] .dynamic-quality-score{background:radial-gradient(circle at center, #111827 54%, transparent 55%), conic-gradient(#16a34a 0 var(--ok-pct), #d97706 var(--ok-pct) var(--warn-pct), #dc2626 var(--warn-pct) 100%)}@media (width<=1250px){.workspace-hero-v2,.workspace-two-column-v2,.workspace-activity-grid-v2,.workspace-activity-split,.compact-timeseries-card{grid-template-columns:1fr}}@media (width<=700px){.station-health-grid,.timeseries-live-metrics{grid-template-columns:1fr}}.stations-page .stations-header{margin-bottom:16px}.stations-panel{padding:24px}.stations-toolbar input{min-width:min(420px,100%)}.stations-table th:last-child,.stations-table td:last-child{width:220px}.station-name-link{color:#111827;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:3px;padding:0;display:flex}.station-name-link strong{font-size:14px}.station-name-link span{color:#64748b;font-size:12px}.station-name-link:hover{opacity:.85}.station-management-page{background:#f3f4f6}.management-hero{background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);border:1px solid #e5e7eb;border-radius:18px;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:18px;padding:26px 28px;display:flex;box-shadow:0 8px 28px #0f172a14}.management-hero h1{letter-spacing:-.04em;margin:8px 0;font-size:clamp(30px,4vw,46px);line-height:1}.management-hero p{color:#64748b;margin:0;font-size:15px}.management-hero-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;min-width:260px;display:flex}.management-meta-grid{grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px;margin-bottom:18px;display:grid}.management-meta-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;box-shadow:0 2px 10px #0f172a0d}.management-meta-card span{color:#64748b;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:800;display:block}.management-meta-card strong{color:#111827;font-size:18px;display:block}.management-meta-card.wide strong{font-size:14px}.management-panel{padding:24px}.management-panel-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.management-panel-header h2{margin:4px 0 6px;font-size:26px}.management-panel-header p{color:#64748b;margin:0}.inline-management-form{background:#f8fbff;border:1px solid #dbeafe;border-radius:14px;margin-bottom:20px;padding:18px}.management-table th,.management-table td{vertical-align:middle}.measurements-viewer-page{background:#f3f4f6}.measurements-hero{background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);border:1px solid #e5e7eb;border-radius:18px;margin-bottom:18px;padding:24px 28px;box-shadow:0 8px 28px #0f172a14}.measurements-hero h1{letter-spacing:-.04em;margin:8px 0 6px;font-size:clamp(30px,4vw,44px);line-height:1}.measurements-hero-title{color:#64748b;margin:0 0 14px;font-size:18px;font-weight:700}.measurements-hero-meta{flex-wrap:wrap;gap:10px;display:flex}.measurements-hero-meta span{color:#64748b;background:#fff;border:1px solid #e5e7eb;border-radius:999px;align-items:center;gap:4px;padding:8px 10px;font-size:13px;display:inline-flex}.measurements-hero-meta strong{color:#111827}.measurements-panel{padding:22px}.measurements-panel .viewer-toolbar,.measurements-panel .toolbar{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px}.measurements-panel .chart-panel{margin-top:18px}.measurements-panel .data-table th{z-index:1;position:sticky;top:0}.measurements-empty-card{max-width:760px}.station-health-card{flex-direction:column;gap:14px;display:flex}.station-health-header span,.station-health-header strong,.station-health-header p{display:block}.station-health-header span,.station-health-header strong{margin-bottom:6px}.compact-actions{grid-template-columns:1fr;gap:10px;display:grid}@media (width<=1200px){.management-meta-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media (width<=760px){.management-hero,.management-panel-header{flex-direction:column}.management-hero-actions{justify-content:flex-start;width:100%}.management-meta-grid{grid-template-columns:1fr}.stations-table th:first-child,.stations-table td:first-child,.stations-table th:nth-child(4),.stations-table td:nth-child(4){display:none}}html[data-theme=dark] .management-hero,html[data-theme=dark] .measurements-hero,html[data-theme=dark] .management-meta-card,html[data-theme=dark] .management-panel,html[data-theme=dark] .measurements-panel{color:#e5e7eb;background:#111827;border-color:#273449;box-shadow:0 1px 8px #00000059}html[data-theme=dark] .management-hero p,html[data-theme=dark] .management-panel-header p,html[data-theme=dark] .management-meta-card span,html[data-theme=dark] .station-name-link span,html[data-theme=dark] .measurements-hero-title,html[data-theme=dark] .measurements-hero-meta span{color:#94a3b8}html[data-theme=dark] .station-name-link,html[data-theme=dark] .management-meta-card strong,html[data-theme=dark] .measurements-hero-meta strong{color:#f8fafc}html[data-theme=dark] .inline-management-form,html[data-theme=dark] .measurements-panel .viewer-toolbar,html[data-theme=dark] .measurements-panel .toolbar,html[data-theme=dark] .measurements-hero-meta span{background:#182235;border-color:#273449}.quality-rules-page{background:linear-gradient(#eef4ff 0%,#f3f4f6 260px 100%)}.quality-rules-hero,.quality-inheritance-panel,.quality-rules-tabs-card,.quality-editor-card,.quality-rules-list-card,.quality-overview-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 10px 30px #0f172a14}.quality-rules-hero{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px;padding:28px;display:flex;position:relative;overflow:hidden}.quality-rules-hero:before{content:"";pointer-events:none;background:radial-gradient(circle,#2563eb29,#2563eb00);border-radius:999px;width:280px;height:280px;position:absolute;inset:0 0 auto auto;transform:translate(80px,-100px)}.quality-rules-hero h1{color:#0f172a;letter-spacing:-.04em;margin:6px 0 10px;font-size:clamp(32px,4vw,48px);line-height:1}.quality-rules-hero p:not(.workspace-eyebrow){color:#64748b;max-width:860px;margin:0;font-size:16px;line-height:1.5}.quality-rules-hero-actions{z-index:1;flex:none;position:relative}.quality-rules-notice{margin-top:0;margin-bottom:18px}.quality-rules-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.quality-overview-card{padding:18px;position:relative;overflow:hidden}.quality-overview-card:before{content:"";background:#2563eb;height:4px;position:absolute;top:0;left:0;right:0}.quality-overview-card.green:before{background:#16a34a}.quality-overview-card.amber:before{background:#d97706}.quality-overview-card.red:before{background:#dc2626}.quality-overview-card span{color:#64748b;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:800;display:block}.quality-overview-card strong{color:#0f172a;margin-bottom:6px;font-size:clamp(30px,3.2vw,42px);line-height:.95;display:block}.quality-overview-card em{color:#64748b;font-size:13px;font-style:normal;line-height:1.35;display:block}.quality-inheritance-panel{grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);align-items:center;gap:24px;margin-bottom:18px;padding:24px;display:grid}.quality-inheritance-panel h2{color:#0f172a;margin:4px 0 8px;font-size:26px}.quality-inheritance-panel p:not(.workspace-eyebrow){color:#64748b;margin:0;line-height:1.5}.inheritance-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.inheritance-flow div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:16px;position:relative}.inheritance-flow strong{color:#fff;background:#2563eb;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;margin-bottom:12px;display:inline-flex}.inheritance-flow span,.inheritance-flow em{display:block}.inheritance-flow span{color:#0f172a;font-weight:800;line-height:1.25}.inheritance-flow em{color:#64748b;text-transform:uppercase;margin-top:6px;font-size:12px;font-style:normal;font-weight:800}.quality-rules-tabs-card{margin-bottom:18px;padding:12px}.quality-rules-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.quality-rules-tabs button{color:#0f172a;text-align:left;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;align-items:flex-start;gap:4px;padding:16px 18px;display:flex}.quality-rules-tabs button strong{color:inherit;font-size:16px}.quality-rules-tabs button span{color:#64748b;font-size:13px}.quality-rules-tabs button.active{color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 10px 24px #2563eb33}.quality-rules-tabs button.active span{color:#dbeafe}.quality-editor-card,.quality-rules-list-card{margin-bottom:18px;padding:24px}.quality-editor-header,.quality-list-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;padding-bottom:18px;display:flex}.quality-editor-header h2,.quality-list-header h2{color:#0f172a;margin:8px 0;font-size:26px}.quality-editor-header p,.quality-list-header p{color:#64748b;margin:0;line-height:1.45}.quality-list-header>span{color:#1d4ed8;background:#dbeafe;border-radius:999px;flex:none;align-items:center;padding:8px 12px;font-size:13px;font-weight:800;display:inline-flex}.quality-rule-type-badge{letter-spacing:.06em;text-transform:uppercase;border-radius:999px;align-items:center;padding:4px 9px;font-size:11px;font-weight:900;display:inline-flex}.quality-rule-type-badge.default{color:#1d4ed8;background:#dbeafe}.quality-rule-type-badge.override{color:#92400e;background:#fef3c7}.quality-rule-form{gap:16px;display:grid}.quality-form-section{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:18px}.quality-form-section-header{margin-bottom:14px}.quality-form-section-header h3{color:#0f172a;margin:0 0 6px;font-size:18px}.quality-form-section-header p{color:#64748b;margin:0;line-height:1.45}.quality-form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.quality-form-field{flex-direction:column;gap:7px;display:flex}.quality-form-field span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:800}.quality-form-field input,.quality-form-field select,.quality-rule-form textarea{width:100%}.quality-toggle{color:#0f172a;background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:10px;min-height:42px;padding:10px 12px;font-weight:700;display:inline-flex}.quality-toggle input{width:auto}.quality-selected-override-panel{background:#fffbeb;border:1px solid #fde68a;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.quality-selected-override-panel span{color:#92400e;letter-spacing:.05em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:900;display:block}.quality-selected-override-panel strong{color:#0f172a;font-size:16px;display:block}.quality-selected-override-panel p{color:#64748b;margin:5px 0 0;line-height:1.4}.quality-rules-card-list{gap:12px;display:grid}.quality-rule-card{background:#f8fafc;border:1px solid #e5e7eb;border-left:5px solid #2563eb;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px;display:grid}.quality-rule-card.override-card{border-left-color:#d97706}.quality-rule-card.inactive{opacity:.72;border-left-color:#94a3b8}.quality-rule-title-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.quality-rule-title-row h3{color:#0f172a;margin:7px 0 5px;font-size:20px}.quality-rule-title-row p{color:#64748b;margin:0}.quality-status-badge{border-radius:999px;flex:none;align-items:center;gap:7px;padding:6px 10px;font-size:12px;font-weight:900;display:inline-flex}.quality-status-badge:before{content:"";border-radius:999px;width:8px;height:8px}.quality-status-badge.active{color:#166534;background:#dcfce7}.quality-status-badge.active:before{background:#16a34a}.quality-status-badge.inactive{color:#374151;background:#e5e7eb}.quality-status-badge.inactive:before{background:#64748b}.quality-rule-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;display:grid}.quality-rule-metric{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:11px 12px}.quality-rule-metric span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:900;display:block}.quality-rule-metric strong{color:#0f172a;font-size:14px}.quality-rule-notes{color:#374151;background:#eef2ff;border-radius:12px;margin:12px 0 0;padding:10px 12px;line-height:1.45}.quality-rule-actions{flex-direction:column;align-items:stretch;gap:8px;min-width:150px;display:flex}.quality-rule-actions .small-button{width:100%}html[data-theme=dark] .quality-rules-page{background:linear-gradient(#0f172a 0%,#0b1220 260px 100%)}html[data-theme=dark] .quality-rules-hero,html[data-theme=dark] .quality-inheritance-panel,html[data-theme=dark] .quality-rules-tabs-card,html[data-theme=dark] .quality-editor-card,html[data-theme=dark] .quality-rules-list-card,html[data-theme=dark] .quality-overview-card{color:#e5e7eb;background:#111827;border-color:#273449;box-shadow:0 1px 8px #00000059}html[data-theme=dark] .quality-rules-hero h1,html[data-theme=dark] .quality-inheritance-panel h2,html[data-theme=dark] .quality-overview-card strong,html[data-theme=dark] .inheritance-flow span,html[data-theme=dark] .quality-editor-header h2,html[data-theme=dark] .quality-list-header h2,html[data-theme=dark] .quality-form-section-header h3,html[data-theme=dark] .quality-toggle,html[data-theme=dark] .quality-selected-override-panel strong,html[data-theme=dark] .quality-rule-title-row h3,html[data-theme=dark] .quality-rule-metric strong{color:#f8fafc}html[data-theme=dark] .quality-rules-hero p:not(.workspace-eyebrow),html[data-theme=dark] .quality-inheritance-panel p:not(.workspace-eyebrow),html[data-theme=dark] .quality-overview-card span,html[data-theme=dark] .quality-overview-card em,html[data-theme=dark] .inheritance-flow em,html[data-theme=dark] .quality-editor-header p,html[data-theme=dark] .quality-list-header p,html[data-theme=dark] .quality-form-section-header p,html[data-theme=dark] .quality-form-field span,html[data-theme=dark] .quality-selected-override-panel p,html[data-theme=dark] .quality-rule-title-row p,html[data-theme=dark] .quality-rule-metric span{color:#94a3b8}html[data-theme=dark] .inheritance-flow div,html[data-theme=dark] .quality-rules-tabs button,html[data-theme=dark] .quality-form-section,html[data-theme=dark] .quality-toggle,html[data-theme=dark] .quality-rule-card,html[data-theme=dark] .quality-rule-metric{background:#182235;border-color:#273449}html[data-theme=dark] .quality-rules-tabs button.active{background:#2563eb;border-color:#2563eb}html[data-theme=dark] .quality-editor-header,html[data-theme=dark] .quality-list-header{border-bottom-color:#273449}html[data-theme=dark] .quality-selected-override-panel{background:#3f2f0b;border-color:#92400e}html[data-theme=dark] .quality-selected-override-panel span{color:#fef3c7}html[data-theme=dark] .quality-rule-notes{color:#cbd5e1;background:#1e293b}@media (width<=1200px){.quality-rules-overview-grid,.quality-inheritance-panel,.inheritance-flow,.quality-selected-override-panel{grid-template-columns:1fr}}@media (width<=760px){.quality-rules-hero,.quality-editor-header,.quality-list-header,.quality-rule-title-row{flex-direction:column}.quality-rules-tabs,.quality-rule-card{grid-template-columns:1fr}.quality-rule-actions{min-width:0}}.audit-log-page{background:linear-gradient(#eef4ff 0%,#f3f4f6 260px 100%)}.audit-hero,.audit-filter-card,.audit-list-card,.audit-overview-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 10px 30px #0f172a14}.audit-hero{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px;padding:28px;display:flex;position:relative;overflow:hidden}.audit-hero:before{content:"";pointer-events:none;background:radial-gradient(circle,#2563eb29,#2563eb00);border-radius:999px;width:280px;height:280px;position:absolute;inset:0 0 auto auto;transform:translate(80px,-100px)}.audit-hero h1{color:#0f172a;letter-spacing:-.04em;margin:6px 0 10px;font-size:clamp(32px,4vw,48px);line-height:1}.audit-hero p:not(.workspace-eyebrow){color:#64748b;max-width:860px;margin:0;font-size:16px;line-height:1.5}.audit-hero-card{z-index:1;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;min-width:240px;padding:20px;position:relative}.audit-hero-card span,.audit-overview-card span{color:#64748b;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:800;display:block}.audit-hero-card strong,.audit-overview-card strong{color:#0f172a;margin-bottom:6px;font-size:clamp(30px,3.2vw,42px);line-height:.95;display:block}.audit-hero-card em,.audit-overview-card em{color:#64748b;font-size:13px;font-style:normal;line-height:1.35;display:block}.audit-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.audit-overview-card{padding:18px;position:relative;overflow:hidden}.audit-overview-card:before{content:"";background:#2563eb;height:4px;position:absolute;top:0;left:0;right:0}.audit-overview-card.green:before{background:#16a34a}.audit-overview-card.amber:before{background:#d97706}.audit-overview-card.red:before{background:#dc2626}.audit-filter-card,.audit-list-card{margin-bottom:18px;padding:24px}.audit-card-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;padding-bottom:18px;display:flex}.audit-card-header h2{color:#0f172a;margin:8px 0;font-size:26px}.audit-card-header p{color:#64748b;margin:0;line-height:1.45}.audit-filter-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:end;gap:14px;display:grid}.audit-filter-actions{align-items:end;min-height:67px;display:flex}.audit-results-pill{color:#1d4ed8;background:#dbeafe;border-radius:999px;flex:none;align-items:center;padding:8px 12px;font-size:13px;font-weight:800;display:inline-flex}.audit-timeline-list{gap:12px;display:grid}.audit-timeline-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:22px minmax(0,1fr);gap:12px;padding:16px;display:grid}.audit-timeline-marker{background:#2563eb;border-radius:999px;width:10px;height:10px;margin-top:10px;box-shadow:0 0 0 4px #dbeafe}.audit-item-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.audit-item-header h3{color:#0f172a;margin:8px 0 0;font-size:18px;line-height:1.3}.audit-item-header time{color:#64748b;white-space:nowrap;font-size:13px}.audit-action-badge{color:#1d4ed8;background:#dbeafe;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:900;display:inline-flex}.audit-meta-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;display:grid}.audit-meta-grid div{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px}.audit-meta-grid span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:900;display:block}.audit-meta-grid strong{color:#0f172a;overflow-wrap:anywhere;font-size:13px}.audit-json-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.audit-json-block{width:100%}.audit-json-block button{margin-bottom:8px}.audit-json-block pre{color:#e5e7eb;background:#0f172a;border:1px solid #e5e7eb;border-radius:12px;max-height:260px;padding:12px;font-size:12px;line-height:1.4;overflow:auto}html[data-theme=dark] .audit-log-page{background:linear-gradient(#0f172a 0%,#0b1220 260px 100%)}html[data-theme=dark] .audit-hero,html[data-theme=dark] .audit-filter-card,html[data-theme=dark] .audit-list-card,html[data-theme=dark] .audit-overview-card{color:#e5e7eb;background:#111827;border-color:#273449;box-shadow:0 1px 8px #00000059}html[data-theme=dark] .audit-hero h1,html[data-theme=dark] .audit-hero-card strong,html[data-theme=dark] .audit-overview-card strong,html[data-theme=dark] .audit-card-header h2,html[data-theme=dark] .audit-item-header h3,html[data-theme=dark] .audit-meta-grid strong{color:#f8fafc}html[data-theme=dark] .audit-hero p:not(.workspace-eyebrow),html[data-theme=dark] .audit-hero-card span,html[data-theme=dark] .audit-hero-card em,html[data-theme=dark] .audit-overview-card span,html[data-theme=dark] .audit-overview-card em,html[data-theme=dark] .audit-card-header p,html[data-theme=dark] .audit-item-header time,html[data-theme=dark] .audit-meta-grid span{color:#94a3b8}html[data-theme=dark] .audit-hero-card,html[data-theme=dark] .audit-timeline-item,html[data-theme=dark] .audit-meta-grid div{background:#182235;border-color:#273449}html[data-theme=dark] .audit-card-header,html[data-theme=dark] .audit-json-block pre{border-color:#273449}@media (width<=1100px){.audit-hero,.audit-card-header,.audit-item-header{flex-direction:column}.audit-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-hero-card{width:100%}}@media (width<=700px){.audit-overview-grid,.audit-timeline-item{grid-template-columns:1fr}.audit-timeline-marker{display:none}}.audit-import-summary{background:#f8fbff;border:1px solid #dbeafe;border-radius:16px;margin:14px 0 16px;padding:14px}.audit-import-summary-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.audit-import-summary-header strong{color:#0f172a;font-size:15px}.audit-import-summary-header span{color:#1d4ed8;background:#dbeafe;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:800;display:inline-flex}.audit-import-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.audit-import-metric{background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:11px 12px;position:relative;overflow:hidden}.audit-import-metric:before{content:"";background:#94a3b8;height:3px;position:absolute;top:0;left:0;right:0}.audit-import-metric.green:before{background:#16a34a}.audit-import-metric.amber:before{background:#d97706}.audit-import-metric.red:before{background:#dc2626}.audit-import-metric span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:900;display:block}.audit-import-metric strong{color:#0f172a;font-size:20px;display:block}.audit-import-files{color:#64748b;flex-wrap:wrap;gap:6px;margin-top:12px;font-size:13px;display:flex}.audit-import-files strong{color:#0f172a}html[data-theme=dark] .audit-import-summary{background:#182235;border-color:#273449}html[data-theme=dark] .audit-import-summary-header strong,html[data-theme=dark] .audit-import-metric strong,html[data-theme=dark] .audit-import-files strong{color:#f8fafc}html[data-theme=dark] .audit-import-metric{background:#111827;border-color:#273449}html[data-theme=dark] .audit-import-metric span,html[data-theme=dark] .audit-import-files{color:#94a3b8}.activity-center-page{flex-direction:column;gap:20px;display:flex}.activity-hero{background:linear-gradient(135deg,#0e74901f,#2563eb14);border:1px solid #0e74902e;border-radius:24px;grid-template-columns:minmax(0,1fr) 260px;align-items:stretch;gap:20px;padding:28px;display:grid}.activity-hero h1{letter-spacing:-.04em;margin:4px 0 8px;font-size:34px}.activity-hero p{color:#64748b;max-width:880px;margin:0;line-height:1.6}.activity-hero-card{background:#ffffffb8;border:1px solid #94a3b847;border-radius:20px;flex-direction:column;justify-content:center;gap:6px;padding:18px;display:flex;box-shadow:0 18px 45px #0f172a14}.activity-hero-card span,.activity-hero-card em,.activity-summary-card span,.activity-summary-card em,.activity-panel-header p,.activity-event-card span,.activity-event-meta em{color:#64748b}.activity-hero-card strong{color:#0f172a;font-size:24px}.activity-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.activity-summary-card{background:#fff;border:1px solid #94a3b838;border-radius:20px;flex-direction:column;gap:6px;padding:18px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 45px #0f172a0f}.activity-summary-card:before{content:"";background:#2563eb;width:5px;position:absolute;inset:0 auto 0 0}.activity-summary-card.green:before{background:#16a34a}.activity-summary-card.amber:before{background:#d97706}.activity-summary-card.red:before{background:#dc2626}.activity-summary-card strong{color:#0f172a;font-size:30px;line-height:1}.activity-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:20px;display:grid}.activity-layout.secondary{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.activity-panel{background:#fff;border:1px solid #94a3b838;border-radius:22px;overflow:hidden;box-shadow:0 18px 45px #0f172a0f}.activity-panel-header{border-bottom:1px solid #94a3b82e;padding:18px 20px}.activity-panel-header h2{color:#0f172a;margin:0 0 4px;font-size:18px}.activity-panel-header p{margin:0;line-height:1.5}.activity-event-list{flex-direction:column;gap:10px;padding:14px;display:flex}.activity-event-card{background:#f8fafcc7;border:1px solid #94a3b82e;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 14px;display:grid}.activity-event-card strong,.activity-event-card span,.activity-event-meta span,.activity-event-meta em{display:block}.activity-event-card strong{color:#0f172a}.activity-event-meta{text-align:right;white-space:nowrap}.activity-event-meta span{color:#0f172a;font-weight:700}.activity-severity-pill{color:#92400e;background:#fef3c7;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:800;display:inline-flex}.activity-severity-pill.invalid{color:#991b1b;background:#fee2e2}.empty-table-cell,.activity-empty-state{color:#64748b;text-align:center;padding:24px}@media (width<=1200px){.activity-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-layout,.activity-layout.secondary,.activity-hero{grid-template-columns:1fr}}@media (width<=700px){.activity-summary-grid,.activity-event-card{grid-template-columns:1fr}.activity-event-meta{text-align:left}}html[data-theme=dark] .activity-hero{background:linear-gradient(135deg,#0e74902e,#2563eb1f);border-color:#94a3b82e}html[data-theme=dark] .activity-hero p,html[data-theme=dark] .activity-hero-card span,html[data-theme=dark] .activity-hero-card em,html[data-theme=dark] .activity-summary-card span,html[data-theme=dark] .activity-summary-card em,html[data-theme=dark] .activity-panel-header p,html[data-theme=dark] .activity-event-card span,html[data-theme=dark] .activity-event-meta em,html[data-theme=dark] .empty-table-cell,html[data-theme=dark] .activity-empty-state{color:#94a3b8}html[data-theme=dark] .activity-hero-card,html[data-theme=dark] .activity-summary-card,html[data-theme=dark] .activity-panel{box-shadow:none;background:#111827;border-color:#94a3b82e}html[data-theme=dark] .activity-event-card{background:#0f172a9e;border-color:#94a3b829}html[data-theme=dark] .activity-hero-card strong,html[data-theme=dark] .activity-summary-card strong,html[data-theme=dark] .activity-panel-header h2,html[data-theme=dark] .activity-event-card strong,html[data-theme=dark] .activity-event-meta span{color:#e5e7eb}.nav-item{position:relative}.nav-badge{color:#fff;background:#dc2626;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 7px;font-size:12px;font-weight:800;display:inline-flex}.notifications-page{flex-direction:column;gap:20px;display:flex}.notifications-hero{background:linear-gradient(135deg,#2563eb1f,#0e749014);border:1px solid #2563eb29;border-radius:24px;justify-content:space-between;align-items:center;gap:20px;padding:28px;display:flex}.notifications-hero h1{letter-spacing:-.04em;margin:4px 0 8px;font-size:34px}.notifications-hero p{color:#64748b;max-width:860px;margin:0;line-height:1.6}.notifications-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.notification-summary-card{appearance:none;text-align:left;cursor:pointer;background:#fff;border:1px solid #94a3b838;border-radius:20px;flex-direction:column;gap:6px;padding:18px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 45px #0f172a0f}.notification-summary-card:before{content:"";background:#2563eb;width:5px;position:absolute;inset:0 auto 0 0}.notification-summary-card.critical:before{background:#dc2626}.notification-summary-card.warning:before{background:#d97706}.notification-summary-card.info:before{background:#0ea5e9}.notification-summary-card.active{border-color:#2563eb73;box-shadow:0 20px 50px #2563eb1f}.notification-summary-card span,.notification-summary-card em{color:#64748b}.notification-summary-card strong{color:#0f172a;font-size:30px;line-height:1}.notifications-panel{background:#fff;border:1px solid #94a3b838;border-radius:22px;overflow:hidden;box-shadow:0 18px 45px #0f172a0f}.notifications-panel-header{border-bottom:1px solid #94a3b82e;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.notifications-panel-header h2{color:#0f172a;margin:0 0 4px;font-size:20px}.notifications-panel-header p{color:#64748b;margin:0}.notifications-list{flex-direction:column;gap:12px;padding:14px;display:flex}.notification-card{background:#f8fafcd1;border:1px solid #94a3b82e;border-radius:18px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;display:grid}.notification-card.critical{border-left:5px solid #dc2626}.notification-card.warning{border-left:5px solid #d97706}.notification-card.info{border-left:5px solid #0ea5e9}.notification-card.success{border-left:5px solid #16a34a}.notification-icon{background:#fff;border:1px solid #94a3b833;border-radius:16px;justify-content:center;align-items:center;width:44px;height:44px;font-size:20px;display:flex}.notification-body{min-width:0}.notification-title-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.notification-title-row strong,.notification-title-row span,.notification-title-row em{display:block}.notification-title-row strong{color:#0f172a;font-size:16px}.notification-title-row span,.notification-title-row em,.notification-card p,.notification-meta-row{color:#64748b}.notification-title-row em{white-space:nowrap;font-style:normal}.notification-card p{margin:6px 0 10px;line-height:1.5}.notification-meta-row{flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.notification-meta-row>span:not(.notification-priority-pill){background:#94a3b81f;border-radius:999px;align-items:center;padding:4px 8px;display:inline-flex}.notification-priority-pill{color:#1d4ed8;background:#dbeafe;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:800;display:inline-flex}.notification-priority-pill.critical{color:#991b1b;background:#fee2e2}.notification-priority-pill.warning{color:#92400e;background:#fef3c7}.notification-priority-pill.success{color:#166534;background:#dcfce7}.compact-button{white-space:nowrap;padding:8px 12px}.notifications-empty-state{text-align:center;color:#64748b;flex-direction:column;gap:8px;padding:36px;display:flex}.notifications-empty-state strong{color:#0f172a;font-size:18px}@media (width<=1200px){.notifications-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-card{grid-template-columns:44px minmax(0,1fr)}.notification-card .compact-button{grid-column:2;justify-self:start}}@media (width<=700px){.notifications-hero,.notifications-panel-header,.notification-title-row{flex-direction:column;align-items:stretch}.notifications-summary-grid,.notification-card{grid-template-columns:1fr}.notification-card .compact-button{grid-column:1}}html[data-theme=dark] .notifications-hero{background:linear-gradient(135deg,#2563eb29,#0e74901f);border-color:#94a3b82e}html[data-theme=dark] .notifications-hero p,html[data-theme=dark] .notification-summary-card span,html[data-theme=dark] .notification-summary-card em,html[data-theme=dark] .notifications-panel-header p,html[data-theme=dark] .notification-title-row span,html[data-theme=dark] .notification-title-row em,html[data-theme=dark] .notification-card p,html[data-theme=dark] .notification-meta-row,html[data-theme=dark] .notifications-empty-state{color:#94a3b8}html[data-theme=dark] .notification-summary-card,html[data-theme=dark] .notifications-panel{box-shadow:none;background:#111827;border-color:#94a3b82e}html[data-theme=dark] .notification-card{background:#0f172a9e;border-color:#94a3b829}html[data-theme=dark] .notification-icon{background:#0f172a;border-color:#94a3b82e}html[data-theme=dark] .notification-summary-card strong,html[data-theme=dark] .notifications-panel-header h2,html[data-theme=dark] .notification-title-row strong,html[data-theme=dark] .notifications-empty-state strong{color:#e5e7eb}.work-queue-page{flex-direction:column;gap:18px;display:flex}.queue-hero{background:linear-gradient(135deg,#2563eb24,#0ea5e91a);border:1px solid #2563eb38;justify-content:space-between;align-items:center;gap:20px;display:flex}.queue-hero-actions{align-items:center;gap:14px;display:flex}.queue-total-card{background:#ffffffc2;border-radius:16px;min-width:160px;padding:14px 16px;box-shadow:inset 0 0 0 1px #94a3b82e}.queue-total-card span,.queue-total-card small{color:var(--muted-text,#64748b);font-size:.82rem;display:block}.queue-total-card strong{color:var(--text-color,#0f172a);margin:3px 0;font-size:2rem;line-height:1;display:block}.queue-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.queue-summary-card{position:relative;overflow:hidden}.queue-summary-card:before{content:"";background:var(--accent-color,#2563eb);width:4px;position:absolute;inset:0 auto 0 0}.queue-summary-card.blue:before{background:#2563eb}.queue-summary-card.orange:before{background:#f97316}.queue-summary-card.red:before{background:#dc2626}.queue-summary-card.green:before{background:#16a34a}.queue-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}.queue-panel-wide{grid-column:1/-1}.queue-panel{min-width:0}.panel-header-row{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.panel-header-row.compact{align-items:center}.panel-header-row h2{margin:0 0 4px}.panel-header-row p{color:var(--muted-text,#64748b);margin:0}.queue-list,.quality-issue-list{flex-direction:column;gap:10px;display:flex}.queue-list.slim{gap:8px}.queue-item,.quality-issue-item{border:1px solid var(--border-color,#e5e7eb);background:var(--surface-muted,#f8fafc);border-left-width:4px;border-radius:14px;justify-content:space-between;gap:14px;padding:13px 14px;display:flex}.queue-item.critical,.quality-issue-item.critical{border-left-color:#dc2626}.queue-item.warning,.quality-issue-item.warning{border-left-color:#f97316}.queue-item.info,.quality-issue-item.info{border-left-color:#0ea5e9}.queue-item.success,.quality-issue-item.success{border-left-color:#16a34a}.queue-item-main{min-width:0}.queue-item-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.queue-item-title-row h3{color:var(--text-color,#0f172a);margin:0;font-size:.98rem}.queue-item p,.quality-issue-item p{color:var(--muted-text,#64748b);margin:5px 0 0}.queue-muted{color:var(--muted-text,#64748b)}.queue-meta-row{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.queue-meta-row span{color:var(--muted-text,#64748b);background:#94a3b824;border-radius:999px;padding:3px 7px;font-size:.78rem}.queue-item-side{min-width:150px;color:var(--muted-text,#64748b);flex-direction:column;justify-content:space-between;align-items:flex-end;gap:10px;font-size:.82rem;display:flex}.queue-date{white-space:nowrap;color:var(--muted-text,#64748b);font-size:.82rem}.queue-badge{letter-spacing:.02em;border-radius:999px;align-items:center;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.queue-badge.critical{color:#991b1b;background:#fee2e2}.queue-badge.warning{color:#9a3412;background:#ffedd5}.queue-badge.info{color:#075985;background:#e0f2fe}.queue-badge.success{color:#166534;background:#dcfce7}.queue-empty-state{border:1px dashed var(--border-color,#e5e7eb);color:var(--muted-text,#64748b);background:var(--surface-muted,#f8fafc);text-align:center;border-radius:14px;padding:22px}.quality-issue-item{align-items:flex-start}@media (width<=1180px){.queue-summary-grid,.queue-layout{grid-template-columns:1fr}.queue-hero,.queue-hero-actions,.queue-item,.quality-issue-item,.panel-header-row{flex-direction:column;align-items:stretch}.queue-item-side{align-items:flex-start;min-width:0}}.reports-page{flex-direction:column;gap:18px;display:flex}.reports-hero{background:linear-gradient(135deg,#2563eb24,#0ea5e91a);border:1px solid #2563eb38;border-radius:24px;justify-content:space-between;align-items:center;gap:20px;padding:28px;display:flex}.reports-hero h1{letter-spacing:-.04em;margin:4px 0 8px;font-size:34px}.reports-hero p{color:var(--muted-text,#64748b);margin:0;line-height:1.55}.reports-hero-card{background:#ffffffc7;border-radius:18px;flex-direction:column;gap:8px;min-width:270px;padding:16px;display:flex;box-shadow:inset 0 0 0 1px #94a3b82e}.reports-hero-card span,.reports-hero-card strong{display:block}.reports-hero-card span{color:var(--muted-text,#64748b);font-size:.82rem}.reports-hero-card strong{color:var(--text-color,#0f172a)}.reports-filter-bar{border:1px solid var(--border-color,#e5e7eb);background:var(--card-bg,#fff);border-radius:18px;align-items:end;gap:12px;padding:16px;display:flex;box-shadow:0 16px 38px #0f172a0d}.reports-filter-bar label{color:var(--muted-text,#64748b);flex-direction:column;gap:6px;font-size:.84rem;display:flex}.reports-filter-bar input{border:1px solid var(--border-color,#e5e7eb);background:var(--input-bg,#fff);min-width:170px;color:var(--text-color,#0f172a);border-radius:12px;padding:9px 10px}.reports-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.report-summary-card{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:20px;flex-direction:column;gap:6px;padding:18px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 45px #0f172a0f}.report-summary-card:before{content:"";background:#2563eb;width:5px;position:absolute;inset:0 auto 0 0}.report-summary-card.blue:before{background:#2563eb}.report-summary-card.orange:before{background:#f97316}.report-summary-card.green:before{background:#16a34a}.report-summary-card.purple:before{background:#7c3aed}.report-summary-card span,.report-summary-card small{color:var(--muted-text,#64748b)}.report-summary-card strong{color:var(--text-color,#0f172a);font-size:30px;line-height:1}.reports-layout{grid-template-columns:1fr;gap:18px;display:grid}.reports-panel{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:22px;overflow:hidden;box-shadow:0 18px 45px #0f172a0f}.reports-panel-header{border-bottom:1px solid var(--border-color,#e5e7eb);justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.reports-panel-header h2{color:var(--text-color,#0f172a);margin:0 0 4px}.reports-panel-header p{color:var(--muted-text,#64748b);margin:0}.report-empty-state{border:1px dashed var(--border-color,#e5e7eb);color:var(--muted-text,#64748b);background:var(--surface-muted,#f8fafc);text-align:center;border-radius:14px;margin:16px;padding:24px}.report-pill{color:#1d4ed8;background:#dbeafe;border-radius:999px;align-items:center;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.report-pill.invalid{color:#991b1b;background:#fee2e2}.report-pill.warning{color:#92400e;background:#fef3c7}@media (width<=1180px){.reports-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-hero,.reports-panel-header,.reports-filter-bar{flex-direction:column;align-items:stretch}.reports-hero-card,.reports-filter-bar input{min-width:0}}@media (width<=700px){.reports-summary-grid{grid-template-columns:1fr}}html[data-theme=dark] .reports-hero{background:linear-gradient(135deg,#2563eb29,#0ea5e91f);border-color:#94a3b82e}html[data-theme=dark] .reports-hero-card{background:#0f172a9e}.dashboard-hero-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.dashboard-operations-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.dashboard-mini-metric{background:#fff;border:1px solid #94a3b83d;border-radius:16px;padding:16px 18px 16px 20px;position:relative;overflow:hidden;box-shadow:0 14px 36px #0f172a0f}.dashboard-mini-metric:before{content:"";background:#2563eb;width:4px;position:absolute;inset:0 auto 0 0}.dashboard-mini-metric.amber:before{background:#f97316}.dashboard-mini-metric.red:before{background:#dc2626}.dashboard-mini-metric.green:before{background:#16a34a}.dashboard-mini-metric.blue:before{background:#2563eb}.dashboard-mini-metric span,.dashboard-mini-metric em{color:var(--muted-text,#64748b);font-style:normal;display:block}.dashboard-mini-metric span{font-weight:700}.dashboard-mini-metric strong{color:var(--text-color,#0f172a);margin:6px 0 4px;font-size:1.8rem;line-height:1;display:block}.dashboard-mini-metric em{font-size:.82rem}.dashboard-panel-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.dashboard-panel-header>div{min-width:0}.dashboard-kpi-list{gap:10px;display:grid}.dashboard-kpi-list>div{background:var(--surface-muted,#f8fafc);border:1px solid #94a3b82e;border-radius:14px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.dashboard-kpi-list svg{color:#2563eb}.dashboard-kpi-list span{color:var(--muted-text,#64748b)}.dashboard-kpi-list strong{color:var(--text-color,#0f172a);font-size:1.05rem}html[data-theme=dark] .dashboard-mini-metric,html[data-theme=dark] .dashboard-kpi-list>div{background:#111827;border-color:#94a3b82e}html[data-theme=dark] .dashboard-mini-metric strong,html[data-theme=dark] .dashboard-kpi-list strong{color:#e5e7eb}@media (width<=1100px){.dashboard-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.dashboard-hero-actions,.dashboard-panel-header{flex-direction:column;align-items:stretch}.dashboard-operations-grid{grid-template-columns:1fr}}.stat-raw-hint{margin-top:4px;font-size:12px;display:block}.queue-summary-grid{gap:16px;margin-bottom:18px;display:grid}.queue-summary-card{background:var(--panel-bg,#fff);border:1px solid #94a3b838;border-radius:20px;flex-direction:column;gap:6px;padding:18px 18px 18px 22px;display:flex;box-shadow:0 18px 45px #0f172a0f}.queue-summary-card span{color:var(--muted-text,#64748b);font-size:.85rem;font-weight:600}.queue-summary-card strong{color:var(--text-color,#0f172a);font-size:30px;line-height:1.1}.queue-summary-card small{color:var(--muted-text,#64748b)}@media (width<=900px){.queue-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}html[data-theme=dark] .queue-summary-card{background:#111827;border-color:#273449;box-shadow:0 1px 8px #00000059}html[data-theme=dark] .queue-summary-card strong{color:#f8fafc}html[data-theme=dark] .queue-summary-card span,html[data-theme=dark] .queue-summary-card small{color:#94a3b8}.catalog-summary{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:18px;display:grid}.catalog-summary-card,.catalog-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px}.catalog-summary-card{flex-direction:column;gap:4px;padding:14px 16px;display:flex}.catalog-summary-card span{color:#64748b;font-size:12px}.catalog-summary-card strong{color:#0f172a;font-size:22px}.catalog-summary-card.warning strong{color:#b45309}.catalog-card{margin-bottom:18px;padding:18px 20px}.catalog-card h2{margin:0 0 8px;font-size:17px}.catalog-muted{color:#64748b;font-size:12px}.catalog-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:12px;display:flex}.catalog-search{flex:280px;max-width:420px}.catalog-table td{vertical-align:top}.catalog-inactive td{opacity:.6}.catalog-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.catalog-chip{color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:12px;display:inline-flex}.catalog-chip.tenant{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.catalog-chip button{color:inherit;cursor:pointer;background:0 0;border:none;padding:0 0 0 2px;font-size:13px;line-height:1}.catalog-chip-add input{border-radius:999px;width:120px;padding:2px 8px;font-size:12px}.catalog-map-cell{align-items:center;gap:8px;display:flex}.catalog-actions{white-space:nowrap}.catalog-actions button+button{margin-left:6px}.catalog-edit-row td{background:#f8fafc}html[data-theme=dark] .catalog-summary-card,html[data-theme=dark] .catalog-card{background:#111827;border-color:#1f2937}html[data-theme=dark] .catalog-summary-card strong{color:#e5e7eb}html[data-theme=dark] .catalog-summary-card.warning strong{color:#fbbf24}html[data-theme=dark] .catalog-summary-card span,html[data-theme=dark] .catalog-muted,html[data-theme=dark] .field-hint{color:#94a3b8}html[data-theme=dark] .catalog-chip{color:#c7d2fe;background:#1e1b4b;border-color:#3730a3}html[data-theme=dark] .catalog-chip.tenant{color:#a7f3d0;background:#022c22;border-color:#065f46}html[data-theme=dark] .catalog-edit-row td{background:#0f172a}.device-list{flex-direction:column;gap:14px;display:flex}.device-card{background:#fff;border:1px solid #e2e8f0;border-left:4px solid #94a3b8;border-radius:12px;padding:14px 16px}.device-card.status-active{border-left-color:#16a34a}.device-card.status-disabled{opacity:.85;border-left-color:#dc2626}.device-card-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.device-card-actions{align-items:center;gap:8px;display:flex}.device-status{color:#334155;background:#f1f5f9;border-radius:999px;padding:2px 10px;font-size:12px}.device-status.active{color:#166534;background:#dcfce7}.device-status.disabled{color:#991b1b;background:#fee2e2}.device-section-title{text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin:12px 0 6px;font-size:12px;font-weight:700}.device-table{margin-bottom:8px}.device-connection{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:6px 16px;margin-bottom:8px;font-size:13px;display:grid}.device-connection span{color:#64748b;font-size:11px;display:block}.device-connection code,.device-token-value code{word-break:break-all}.device-token-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.device-token-panel{background:#fffbeb;border:1px solid #f59e0b;border-radius:12px;margin-top:12px;padding:14px 16px}.device-token-panel p{margin:6px 0}.device-token-value{background:#fff;border:1px dashed #f59e0b;border-radius:8px;align-items:center;gap:10px;margin:8px 0;padding:8px 10px;font-size:14px;display:flex}.device-inline-inputs{gap:8px;display:flex}.device-inline-inputs input{min-width:0}.device-channel-form{margin-top:8px}.device-notice{margin-bottom:10px}html[data-theme=dark] .device-card{background:#111827;border-color:#1f2937}html[data-theme=dark] .device-card.status-active{border-left-color:#22c55e}html[data-theme=dark] .device-card.status-disabled{border-left-color:#ef4444}html[data-theme=dark] .device-status{color:#cbd5e1;background:#1f2937}html[data-theme=dark] .device-status.active{color:#86efac;background:#052e16}html[data-theme=dark] .device-status.disabled{color:#fca5a5;background:#450a0a}html[data-theme=dark] .device-section-title,html[data-theme=dark] .device-connection span{color:#94a3b8}html[data-theme=dark] .device-token-panel{background:#2a1d05;border-color:#b45309}html[data-theme=dark] .device-token-value{background:#0b1220;border-color:#b45309}.device-command{grid-template-columns:18px 1fr auto;align-items:start;gap:8px;margin-top:4px;display:grid}.device-command pre{white-space:pre-wrap;word-break:break-all;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;margin:0;padding:6px 8px;font-size:12px}html[data-theme=dark] .device-command pre{color:#e5e7eb;background:#0b1220;border-color:#1f2937}.device-messages-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.device-messages-title .catalog-muted{text-transform:none;letter-spacing:0;font-weight:400}.device-curl,.device-connection>.catalog-muted{grid-column:1/-1}.device-message-status{color:#334155;white-space:nowrap;background:#f1f5f9;border-radius:999px;padding:1px 8px;font-size:12px}.device-message-status.done{color:#166534;background:#dcfce7}.device-message-status.partial{color:#92400e;background:#fef3c7}.device-message-status.failed,.device-message-status.dead{color:#991b1b;background:#fee2e2}.device-message-status.queued{color:#075985;background:#e0f2fe}.device-message-error{color:#b91c1c;word-break:break-word;margin-top:2px;font-size:12px}.device-unmapped-key{align-items:center;gap:4px;margin:0 8px 4px 0;display:inline-flex}.device-messages tr.device-message-open td{background:#f8fafc}.device-message-detail{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:4px 0 10px;padding:10px 12px;font-size:13px}.device-message-detail pre{white-space:pre-wrap;word-break:break-all;background:#fff;border:1px solid #e2e8f0;border-radius:6px;max-height:260px;margin:0;padding:8px;font-size:12px;overflow:auto}.device-messages .link-button{color:#2563eb;cursor:pointer;font:inherit;background:0 0;border:0;padding:0;text-decoration:underline}html[data-theme=dark] .device-message-status{color:#cbd5e1;background:#1f2937}html[data-theme=dark] .device-message-status.done{color:#86efac;background:#052e16}html[data-theme=dark] .device-message-status.partial{color:#fcd34d;background:#3b2a05}html[data-theme=dark] .device-message-status.failed,html[data-theme=dark] .device-message-status.dead{color:#fca5a5;background:#450a0a}html[data-theme=dark] .device-message-status.queued{color:#7dd3fc;background:#082f49}html[data-theme=dark] .device-message-error{color:#fca5a5}html[data-theme=dark] .device-messages tr.device-message-open td{background:#0f172a}html[data-theme=dark] .device-message-detail{background:#0b1220;border-color:#1f2937}html[data-theme=dark] .device-message-detail pre{color:#e5e7eb;background:#111827;border-color:#1f2937}html[data-theme=dark] .device-messages .link-button{color:#93c5fd}.connectivity-summary{margin-bottom:16px}.connectivity-summary .stat-card strong{font-size:26px;line-height:1.2;display:block}.connectivity-sub{margin-top:4px;font-size:12px;display:block}.connectivity-summary .state-online strong{color:#15803d}.connectivity-summary .state-late strong{color:#b45309}.connectivity-summary .state-offline strong,.connectivity-summary .state-attention strong{color:#b91c1c}.connectivity-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.connectivity-toolbar input{min-width:260px}.connectivity-table td{vertical-align:top}.connectivity-table tr.connectivity-attention td:first-child{box-shadow:inset 3px 0 #f59e0b}.connectivity-state{color:#334155;white-space:nowrap;background:#f1f5f9;border-radius:999px;padding:2px 10px;font-size:12px}.connectivity-state.online{color:#166534;background:#dcfce7}.connectivity-state.late{color:#92400e;background:#fef3c7}.connectivity-state.offline,.connectivity-state.never{color:#991b1b;background:#fee2e2}html[data-theme=dark] .connectivity-summary .state-online strong{color:#86efac}html[data-theme=dark] .connectivity-summary .state-late strong{color:#fcd34d}html[data-theme=dark] .connectivity-summary .state-offline strong,html[data-theme=dark] .connectivity-summary .state-attention strong{color:#fca5a5}html[data-theme=dark] .connectivity-state{color:#cbd5e1;background:#1f2937}html[data-theme=dark] .connectivity-state.online{color:#86efac;background:#052e16}html[data-theme=dark] .connectivity-state.late{color:#fcd34d;background:#3b2a05}html[data-theme=dark] .connectivity-state.offline,html[data-theme=dark] .connectivity-state.never{color:#fca5a5;background:#450a0a}.device-mqtt{color:#334155;background:#e2e8f0;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600;display:inline-block}.device-mqtt.enabled{color:#166534;background:#dcfce7}.device-mqtt.error,.device-mqtt.no_password{color:#92400e;background:#fef3c7}.device-mqtt-error{color:#b91c1c;font-size:12px}html[data-theme=dark] .device-mqtt{color:#e2e8f0;background:#334155}html[data-theme=dark] .device-mqtt.enabled{color:#bbf7d0;background:#14532d}html[data-theme=dark] .device-mqtt.error,html[data-theme=dark] .device-mqtt.no_password{color:#fde68a;background:#78350f}html[data-theme=dark] .device-mqtt-error{color:#fca5a5}.live-values-panel{margin-bottom:18px}.live-values-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;display:grid}.live-value-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:10px 12px;transition:background-color .6s,border-color .6s;display:flex}.live-value-card.origin-live{border-color:#86efac}.live-value-card.live-value-changed{background:#dcfce7}.live-value-name{color:#475569;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.live-value-card strong{color:#0f172a;font-size:22px}.live-value-card strong small{color:#64748b;font-size:13px;font-weight:500}.live-value-tags{flex-wrap:wrap;gap:6px;display:flex}.live-value-origin,.live-value-flag{color:#334155;background:#e2e8f0;border-radius:999px;padding:1px 8px;font-size:11px}.live-value-origin.live{color:#166534;background:#dcfce7}.live-value-flag{color:#92400e;background:#fef3c7}.connectivity-last-will{color:#b91c1c;font-size:12px;font-weight:600}.device-presence{color:#334155;background:#e2e8f0;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600;display:inline-block}.device-presence.online{color:#166534;background:#dcfce7}.device-presence.offline{color:#991b1b;background:#fee2e2}.device-seq-report{border:1px solid #e2e8f0;border-radius:8px;margin-bottom:10px;padding:8px 12px}.device-seq-report p{margin:4px 0}.device-seq-list{margin:4px 0;padding-left:18px}.device-seq-verdict{border-radius:999px;padding:1px 8px;font-size:12px}.device-seq-verdict.complete{color:#166534;background:#dcfce7}.device-seq-verdict.incomplete{color:#92400e;background:#fef3c7}html[data-theme=dark] .live-value-card{background:#0f172a;border-color:#334155}html[data-theme=dark] .live-value-card.origin-live{border-color:#166534}html[data-theme=dark] .live-value-card.live-value-changed{background:#052e16}html[data-theme=dark] .live-value-name{color:#94a3b8}html[data-theme=dark] .live-value-card strong{color:#f1f5f9}html[data-theme=dark] .live-value-card strong small{color:#94a3b8}html[data-theme=dark] .live-value-origin{color:#e2e8f0;background:#334155}html[data-theme=dark] .live-value-origin.live{color:#bbf7d0;background:#14532d}html[data-theme=dark] .live-value-flag{color:#fde68a;background:#78350f}html[data-theme=dark] .connectivity-last-will{color:#fca5a5}html[data-theme=dark] .device-presence{color:#e2e8f0;background:#334155}html[data-theme=dark] .device-presence.online{color:#bbf7d0;background:#14532d}html[data-theme=dark] .device-presence.offline{color:#fca5a5;background:#450a0a}html[data-theme=dark] .device-seq-report{border-color:#334155}html[data-theme=dark] .device-seq-verdict.complete{color:#bbf7d0;background:#14532d}html[data-theme=dark] .device-seq-verdict.incomplete{color:#fde68a;background:#78350f}.inactive-row td{opacity:.6}.inactive-row td:last-child{opacity:1}.auto-refresh-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:4px;margin-top:4px;font-size:.85rem;display:inline-flex}.sidebar{flex:0 0 260px;width:260px;height:100vh;padding:18px 14px;position:sticky;top:0;overflow-y:auto}.brand{margin-bottom:14px}.sidebar-logo{width:40px;height:40px}.brand strong{font-size:18px}.user-panel.user-panel-compact{flex-direction:column;gap:4px;margin-bottom:8px;padding:10px 12px;display:flex}.user-panel-compact strong{white-space:nowrap;text-overflow:ellipsis;font-size:.95rem;overflow:hidden}.user-panel-compact .user-panel-tenant{margin-top:0;font-size:.8rem}.user-panel-compact .tenant-select{border-radius:6px;width:100%;padding:4px 6px}.user-panel-compact .user-panel-readonly{color:#fbbf24;font-size:.72rem}.user-panel-actions{gap:6px;margin-top:4px;display:flex}.sidebar-small-button{color:#e5e7eb;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff24;border-radius:8px;flex:1 1 0;padding:5px 6px;font-size:.78rem;font-weight:600}.sidebar-small-button:hover{background:#ffffff24}.nav-menu.nav-menu-grouped{gap:0}.nav-menu-grouped .nav-group{flex-direction:column;gap:2px;display:flex}.nav-menu-grouped .nav-section-title{margin:12px 10px 4px;padding-bottom:4px;font-size:10.5px}.nav-menu-grouped .nav-item{min-height:32px;padding:6px 10px 6px 28px;font-size:.92rem}.nav-menu-grouped .nav-item:hover{transform:none}.nav-menu-grouped .nav-badge{min-width:20px;height:20px;font-size:11px}@media (width<=900px){.sidebar{flex:none;width:auto;height:auto;position:static}}.dashboard-ux1 .dashboard-panel{margin-bottom:18px}.dashboard-attention-list{flex-direction:column;gap:8px;display:flex}.dashboard-attention-item{background:#fff;border:1px solid #e5e7eb;border-left-width:4px;border-radius:10px;align-items:center;gap:12px;padding:10px 14px;display:flex}.dashboard-attention-item.red{border-left-color:#dc2626}.dashboard-attention-item.amber{border-left-color:#d97706}.dashboard-attention-item.blue{border-left-color:#2563eb}.dashboard-attention-item.red svg{color:#dc2626}.dashboard-attention-item.amber svg{color:#d97706}.dashboard-attention-item.blue svg{color:#2563eb}.dashboard-attention-text{flex-direction:column;flex:auto;min-width:0;display:flex}.dashboard-attention-text span{color:#64748b;font-size:.85rem}.dashboard-all-good{color:#047857;background:#ecfdf5;border-radius:10px;align-items:center;gap:10px;padding:12px 14px;font-weight:600;display:flex}.dashboard-tiles{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;display:grid}.dashboard-tile{text-align:left;font:inherit;color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.dashboard-tile.clickable{cursor:pointer}.dashboard-tile.clickable:hover{border-color:#2563eb}.dashboard-tile-label{color:#64748b;align-items:center;gap:6px;font-size:.82rem;display:inline-flex}.dashboard-tile strong{font-size:1.4rem}.dashboard-tile em{color:#64748b;font-size:.78rem;font-style:normal}.dashboard-tile.green strong{color:#047857}.dashboard-tile.red strong{color:#dc2626}html[data-theme=dark] .dashboard-attention-item,html[data-theme=dark] .dashboard-tile{background:#0f172a;border-color:#1e293b}html[data-theme=dark] .dashboard-attention-text span,html[data-theme=dark] .dashboard-tile-label,html[data-theme=dark] .dashboard-tile em{color:#94a3b8}html[data-theme=dark] .dashboard-all-good{color:#34d399;background:#10b9811f}.page-tabs{border-bottom:1px solid #e5e7eb;gap:4px;margin:4px 0 14px;display:flex;overflow-x:auto}.page-tab{color:#475569;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:6px;padding:9px 14px;font-weight:600;display:inline-flex}.page-tab:hover{color:#1d4ed8}.page-tab.active{color:#1d4ed8;border-bottom-color:#2563eb}.page-tab-count{color:#334155;text-align:center;background:#e2e8f0;border-radius:999px;min-width:20px;padding:0 6px;font-size:.75rem;line-height:20px}.page-tab.active .page-tab-count{color:#1d4ed8;background:#dbeafe}.action-menu{display:inline-block;position:relative}.action-menu-button{letter-spacing:1px;min-width:34px;font-weight:800}.action-menu-list{z-index:30;background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;min-width:200px;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 10px 25px #0f172a26}.action-menu-item{color:#0f172a;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 10px}.action-menu-item:hover:not(:disabled){background:#eff6ff}.action-menu-item.danger{color:#b91c1c}.action-menu-item.danger:hover:not(:disabled){background:#fef2f2}.action-menu-item:disabled{opacity:.5;cursor:default}.row-actions-compact{flex-wrap:nowrap;align-items:center}.cell-sub{font-size:.78rem;display:block}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f8fafc}.management-hero-compact{padding-bottom:18px}.details-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px 24px;margin:0;display:grid}.details-list>div{border-bottom:1px solid #f1f5f9;padding:8px 0}.details-list dt{color:#64748b;font-size:.8rem}.details-list dd{margin:2px 0 0;font-weight:600}.device-strip{margin-bottom:18px}.device-strip-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.device-strip-list li{border:1px solid #e5e7eb;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;display:flex}.device-strip-dot{background:#94a3b8;border-radius:999px;width:10px;height:10px}.device-strip-dot.online{background:#10b981}.device-strip-dot.offline{background:#dc2626}.device-strip-dot.never,.device-strip-dot.inactive{background:#cbd5e1}.device-strip-state{font-size:.85rem;font-weight:700}.device-strip-state.online{color:#047857}.device-strip-state.offline{color:#b91c1c}html[data-theme=dark] .page-tabs{border-bottom-color:#1e293b}html[data-theme=dark] .page-tab{color:#94a3b8}html[data-theme=dark] .page-tab.active,html[data-theme=dark] .page-tab:hover{color:#93c5fd;border-bottom-color:#3b82f6}html[data-theme=dark] .page-tab-count{color:#cbd5e1;background:#1e293b}html[data-theme=dark] .action-menu-list{background:#0f172a;border-color:#1e293b}html[data-theme=dark] .action-menu-item{color:#e2e8f0}html[data-theme=dark] .action-menu-item:hover:not(:disabled){background:#1e293b}html[data-theme=dark] .action-menu-item.danger{color:#fca5a5}html[data-theme=dark] .clickable-row:hover td{background:#0f172a}html[data-theme=dark] .details-list>div{border-bottom-color:#1e293b}html[data-theme=dark] .device-strip-list li{border-color:#1e293b}.lorawan-page .lorawan-endpoint,.lorawan-page .lorawan-object{word-break:break-all;font-size:.8rem}.lorawan-page .lorawan-object{max-width:320px;display:inline-block}.device-token-value .lorawan-token-label{min-width:150px}.lorawan-api-panel{gap:10px;display:grid}.lorawan-api-key{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.lorawan-api-key input{min-width:320px}.measurements-toolbar-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.quick-ranges{background:#f1f5f9;border-radius:10px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.quick-range{color:#334155;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 12px;font-size:.9rem}.quick-range:hover{background:#e2e8f0}.quick-range.active{color:#1d4ed8;background:#fff;font-weight:600;box-shadow:0 1px 3px #0f172a26}.measurements-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.measurements-toolbar .viewer-toolbar{gap:12px;margin-bottom:16px}.chart-tooltip{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;font-size:.85rem;box-shadow:0 4px 12px #0f172a1f}.measurement-value,.effective-value{font-weight:600}.series-picker{gap:16px;max-width:1100px;display:grid}.series-picker-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;display:grid}.series-picker-grid input[type=search]{width:100%;margin-bottom:10px}.series-picker-list{gap:4px;max-height:420px;display:grid;overflow-y:auto}.series-picker-item,.series-chip{color:#0f172a;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px;display:flex}.series-picker-item span,.series-chip span{color:#64748b;font-size:.85rem}.series-picker-item:hover,.series-chip:hover,.series-picker-item.active{background:#eff6ff;border-color:#2563eb}.series-picker-recent{flex-wrap:wrap;gap:8px;display:flex}@media (width<=900px){.series-picker-grid{grid-template-columns:1fr}}html[data-theme=dark] .quick-ranges{background:#1e293b}html[data-theme=dark] .quick-range{color:#cbd5e1}html[data-theme=dark] .quick-range:hover{background:#334155}html[data-theme=dark] .quick-range.active{color:#93c5fd;background:#0f172a}html[data-theme=dark] .chart-tooltip{color:#e2e8f0;background:#0f172a;border-color:#334155}html[data-theme=dark] .series-picker-item,html[data-theme=dark] .series-chip{color:#e5e7eb;background:#111827;border-color:#1f2937}html[data-theme=dark] .series-picker-item:hover,html[data-theme=dark] .series-chip:hover,html[data-theme=dark] .series-picker-item.active{background:#1e3a8a;border-color:#3b82f6}.measurements-panel .stats-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.measurements-panel .stat-card{padding:10px 12px}.data-import-page .page-tabs{margin-bottom:16px}.import-step h2{align-items:center;gap:10px;display:flex}.step-number{color:#fff;background:#2563eb;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;font-size:.95rem;font-weight:700;display:inline-flex}.import-file-head{max-height:220px;margin-top:10px;font-size:.85rem}.import-file-head td{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.import-detect{justify-content:flex-end}.import-save-template{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:12px}.import-save-template summary{cursor:pointer;font-weight:600}html[data-theme=dark] .import-save-template{border-top-color:#334155}.catalog-toolbar h2{flex:1;margin:0}.member-badge{color:#3730a3;vertical-align:middle;background:#e0e7ff;border-radius:999px;margin-left:8px;padding:1px 8px;font-size:11px;font-weight:600;display:inline-block}.member-kind{flex-wrap:wrap;grid-column:1/-1;gap:8px 16px;display:flex}.member-kind .quality-toggle{flex:0 auto}.user-panel-actions{flex-wrap:wrap}.user-panel-actions .sidebar-small-button{white-space:nowrap;flex:auto}.member-note{margin:12px 0 0}.tenant-warning{color:#b45309;font-weight:600}.tenant-admin-title{margin:18px 0 4px;font-size:16px}.password-modal-panel{width:min(460px,96vw);padding:20px 22px}.password-modal-panel .field-group{margin-bottom:12px}html[data-theme=dark] .member-badge{color:#e0e7ff;background:#312e81}html[data-theme=dark] .tenant-warning{color:#fbbf24}html[data-theme=dark] .password-modal-panel{background:#0f172a}.member-badge.member-locked{color:#991b1b;background:#fee2e2}html[data-theme=dark] .member-badge.member-locked{color:#fee2e2;background:#7f1d1d}.access-checks{gap:10px;margin:0;padding:0;list-style:none;display:grid}.access-check{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:92px 1fr;gap:12px;padding:12px 14px;display:grid}html[data-theme=dark] .access-check{background:#0f172a;border-color:#1e293b}.access-check strong{margin-bottom:2px;display:block}.access-level{text-align:center;border-radius:999px;align-self:start;padding:3px 8px;font-size:12px;font-weight:600}.access-level.level-ok{color:#166534;background:#dcfce7}.access-level.level-info{color:#3730a3;background:#e0e7ff}.access-level.level-warning{color:#92400e;background:#fef3c7}.access-level.level-critical{color:#991b1b;background:#fee2e2}html[data-theme=dark] .access-level.level-ok{color:#dcfce7;background:#14532d}html[data-theme=dark] .access-level.level-info{color:#e0e7ff;background:#312e81}html[data-theme=dark] .access-level.level-warning{color:#fef3c7;background:#78350f}html[data-theme=dark] .access-level.level-critical{color:#fee2e2;background:#7f1d1d}.access-guide{margin-top:8px}.access-guide summary{cursor:pointer;padding:10px 0;font-weight:600}.access-guide ol,.access-guide ul{padding-left:22px;line-height:1.6}.access-command{align-items:flex-start;gap:8px;margin:6px 0 10px;display:flex}.access-command pre{white-space:pre-wrap;word-break:break-all;color:#e2e8f0;background:#0f172a;border-radius:8px;flex:1;margin:0;padding:8px 10px;font-size:12.5px;overflow-x:auto}.access-policy-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.access-stats{flex-wrap:wrap;gap:18px;margin:6px 0 12px;display:flex}.access-stats div strong{font-size:20px;display:block}.cert-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-bottom:8px;display:grid}.cert-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;line-height:1.6}.cert-card h3{margin:0 0 6px;font-size:15px}html[data-theme=dark] .cert-card{background:#0f172a;border-color:#1e293b}.cert-fingerprint{word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px}.cert-hosts{gap:6px;margin:10px 0;padding:0;list-style:none;display:grid}.cert-hosts li{background:#f1f5f9;border-radius:8px;align-items:center;gap:10px;padding:6px 10px;display:flex}.cert-hosts li button{margin-left:auto}html[data-theme=dark] .cert-hosts li{background:#1e293b}.cert-add{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.cert-add input{flex:1;min-width:240px}.analysis-presets,.analysis-chart-tools{flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 12px;display:flex}.analysis-presets button,.analysis-chart-tools button{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:6px 12px;font-size:12.5px}.analysis-presets button.active,.analysis-chart-tools button.active{color:#fff;background:#1d4f91;border-color:#1d4f91}.analysis-tool-sep{background:#cbd5e1;width:1px;height:22px;margin:0 6px}.analysis-series{border:1px solid #e2e8f0;border-radius:10px;gap:6px;margin:10px 0;padding:10px 12px;display:grid}.analysis-series-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.analysis-series-head span{gap:6px;display:flex}.analysis-series-row{border-radius:8px;grid-template-columns:1fr 150px 90px;align-items:center;gap:8px;padding:4px 6px;display:grid}.analysis-series-row.selected{background:#eef4ff}.analysis-series-row small{color:#64748b}.analysis-dataset{flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:10px;display:flex}.analysis-dataset small{color:#64748b;font-size:11px;display:block}.analysis-badge{color:#1d4f91;background:#e0ecff;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.analysis-badge.raw{color:#92400e;background:#fef3c7}.analysis-legend{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.analysis-legend button{cursor:pointer;text-align:left;color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;padding:6px 10px;display:flex}.analysis-legend button.off{opacity:.45}.analysis-legend i,.series-chart-tooltip i{border-radius:3px;width:12px;height:12px;margin-right:6px;display:inline-block}.analysis-legend small{color:#64748b;font-size:11px;display:block}.series-chart{width:100%;position:relative;overflow-x:auto}.series-chart canvas{cursor:crosshair;display:block}.series-chart-tooltip{color:#f8fafc;pointer-events:none;background:#0f172aeb;border-radius:8px;gap:3px;max-width:340px;padding:8px 10px;font-size:12px;display:grid;position:absolute;top:8px;right:12px}.analysis-stats{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:14px 0;display:grid}.analysis-stats>div{border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:1fr 1fr;gap:3px 10px;padding:10px 12px;font-size:12.5px;display:grid}.analysis-stats>div b{grid-column:1/-1}.analysis-stats small{color:#64748b;font-weight:400}.analysis-table{max-height:520px;overflow:auto}.inactive-row td{color:#94a3b8}html[data-theme=dark] .analysis-presets button,html[data-theme=dark] .analysis-chart-tools button,html[data-theme=dark] .analysis-legend button{color:#e2e8f0;background:#0f172a;border-color:#334155}html[data-theme=dark] .analysis-presets button.active,html[data-theme=dark] .analysis-chart-tools button.active{background:#2563eb;border-color:#2563eb}html[data-theme=dark] .analysis-series,html[data-theme=dark] .analysis-stats>div{border-color:#1e293b}html[data-theme=dark] .analysis-series-row.selected{background:#1e293b}.alarm-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.alarm-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.alarm-summary-card strong{font-size:26px;line-height:1.1}.alarm-summary-card span{color:#64748b;font-size:13px}.alarm-summary-critical strong{color:#b91c1c}.alarm-summary-warning strong{color:#b45309}.alarm-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.alarm-filters{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.alarm-pill{white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700;display:inline-block}.alarm-pill-critical{color:#991b1b;background:#fee2e2}.alarm-pill-warning{color:#92400e;background:#fef3c7}.alarm-row-cleared .alarm-pill{opacity:.6}.alarm-row-active.alarm-row-critical td:first-child{box-shadow:inset 4px 0 #dc2626}.alarm-row-active.alarm-row-warning td:first-child{box-shadow:inset 4px 0 #f59e0b}.alarm-message{font-weight:600}.alarm-ack{color:#15803d}.alarm-actions{white-space:nowrap}.alarm-table .link-button,.alarm-rules .link-button,[data-testid=alarm-rules] .link-button{color:#2563eb;cursor:pointer;font:inherit;background:0 0;border:0;margin-right:10px;padding:0;text-decoration:underline}.alarm-detail-row td{background:#f8fafc}.alarm-events{margin:0;padding-left:20px;font-size:13px}.alarm-events li{margin:2px 0}.alarm-ack-form{align-items:center;gap:8px;margin-bottom:10px;display:flex}.alarm-ack-form input{flex:1}.alarm-rules-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.alarm-rules-buttons{flex-shrink:0;gap:8px;display:flex}.alarm-rule-form{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;margin:12px 0;padding:14px}.alarm-form-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.alarm-form-grid label{color:#334155;flex-direction:column;gap:4px;font-size:13px;display:flex}.alarm-form-actions{gap:8px;margin-top:12px;display:flex}.alarm-rule-inactive td{color:#94a3b8}.warning-notice{color:#92400e;background:#fef3c7}.station-alarms{margin-bottom:16px}.station-alarms ul{margin:6px 0 0;padding-left:0;list-style:none}.station-alarms li{align-items:center;gap:8px;padding:4px 0;display:flex}@media (width<=900px){.alarm-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.alarm-tabs{grid-template-columns:1fr}}html[data-theme=dark] .alarm-summary-card{background:#111827;border-color:#1f2937}html[data-theme=dark] .alarm-summary-card span{color:#94a3b8}html[data-theme=dark] .alarm-pill-critical{color:#fca5a5;background:#450a0a}html[data-theme=dark] .alarm-pill-warning{color:#fcd34d;background:#3b2a05}html[data-theme=dark] .alarm-detail-row td,html[data-theme=dark] .alarm-rule-form{background:#0f172a;border-color:#1f2937}html[data-theme=dark] .alarm-form-grid label{color:#cbd5e1}html[data-theme=dark] .alarm-table .link-button,html[data-theme=dark] [data-testid=alarm-rules] .link-button{color:#93c5fd}html[data-theme=dark] .warning-notice{color:#fcd34d;background:#3b2a05}.alarm-tabs-4{grid-template-columns:repeat(4,minmax(0,1fr))}.alarm-error{color:#b91c1c}.alarm-checkbox{align-items:center;gap:8px;margin:10px 0;font-size:14px;display:flex}.alarm-recipients ul,.alarm-members{margin:8px 0;padding-left:0;list-style:none}.alarm-recipients li,.alarm-members li{align-items:center;gap:12px;padding:3px 0;display:flex}.alarm-recipients label,.alarm-members label{align-items:center;gap:6px;display:flex}.alarm-group-name{flex-direction:column;gap:4px;max-width:420px;font-size:13px;display:flex}[data-testid=notify-groups] .link-button,[data-testid=alarm-recipients-editor] .link-button{color:#2563eb;cursor:pointer;font:inherit;background:0 0;border:0;margin-right:10px;padding:0;text-decoration:underline}@media (width<=900px){.alarm-tabs-4{grid-template-columns:1fr 1fr}}html[data-theme=dark] .alarm-error{color:#fca5a5}html[data-theme=dark] [data-testid=notify-groups] .link-button{color:#93c5fd}.version-line{color:var(--muted-text,#94a3b8);opacity:.85;margin:-6px 12px 10px;font-size:11px;line-height:1.35}.version-line .version-warning{color:#fca5a5;background:#dc262626;border-radius:6px;margin-top:4px;padding:4px 6px;font-weight:600;display:block}.field-hint{color:var(--muted-text,#64748b);margin-top:4px;font-size:12px;display:block}.file-profile-section{border-top:1px solid #94a3b84d;margin-top:16px;padding-top:12px}.file-profile-section h3{margin:12px 0 4px;font-size:15px}.file-settings textarea{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.file-settings-json pre{background:#94a3b81f;border-radius:6px;max-height:220px;padding:8px;font-size:12px;overflow:auto}.file-preview{margin:8px 0}.file-preview-bar,.file-send{flex-wrap:wrap;align-items:center;gap:10px;margin:6px 0;display:flex}.file-preview-summary{background:#3b82f614;border-radius:8px;flex-wrap:wrap;gap:6px 14px;margin:8px 0;padding:8px 10px;font-size:13px;display:flex}.file-preview-sample{margin:8px 0}.file-preview-sample summary{cursor:pointer;font-weight:600}.file-guess{color:#15803d;background:#22c55e26;border-radius:8px;padding:0 6px}.file-ok{color:#15803d}.file-bad{color:#b91c1c;font-weight:600}.file-state{background:#94a3b833;border-radius:10px;padding:1px 8px;font-size:12px;font-weight:600;display:inline-block}.file-state.done{color:#15803d;background:#22c55e2e}.file-state.partial{color:#a16207;background:#eab30833}.file-state.failed{color:#b91c1c;background:#ef44442e}.file-state.queued{color:#1d4ed8;background:#3b82f62e}.file-state.duplicate{background:#94a3b840}.warning-notice{background:#eab3081f;border-left:3px solid #eab308;margin:8px 0;padding:8px 10px}.file-actions{margin:8px 0 4px}.file-actions .file-preview .data-table td code{word-break:normal;white-space:nowrap}.inbox-panel{margin:10px 0}.device-subtitle{letter-spacing:.04em;text-transform:uppercase;color:var(--muted-text,#64748b);margin:8px 0 4px;font-size:12px;font-weight:700}.inbox-state.ok{color:#15803d}.inbox-state.off{color:#b45309}.inbox-fingerprint{word-break:break-all;font-size:11px}.inbox-issued{margin:8px 0}.inbox-credentials{gap:6px;margin:8px 0;display:grid}.inbox-credentials span{min-width:80px;font-weight:600;display:inline-block}.inbox-credentials code{-webkit-user-select:all;user-select:all;padding:2px 6px;font-size:15px}.inbox-examples code{word-break:break-all}.sidebar-logo{object-fit:contain;width:44px;height:44px}.login-logo{width:220px;max-width:80%;height:auto}.login-logo-dark,html[data-theme=dark] .login-logo-light{display:none}html[data-theme=dark] .login-logo-dark{display:block}.login-card-wide{width:min(640px,100%)}.login-step-title{text-align:center;margin:18px 0 6px;font-size:18px}.login-step-links{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:14px;display:flex}.mfa-qr-block{grid-template-columns:auto 1fr;align-items:start;gap:18px;margin:14px 0;display:grid}.mfa-qr{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:0;line-height:0;overflow:hidden}.mfa-qr svg{width:236px;height:236px;display:block}.mfa-qr-help ol{gap:4px;margin:0 0 8px;padding-left:20px;display:grid}.mfa-secret{color:#16294d;letter-spacing:.04em;word-break:break-all;background:#eef2ff;border-radius:6px;margin:4px;padding:2px 6px;font-size:13px;display:inline-block}.mfa-code-input{letter-spacing:.25em;text-align:center;font-variant-numeric:tabular-nums;font-size:22px}.mfa-recovery-list{columns:2;margin:12px 0;padding-left:26px;font-size:15px;list-style:decimal}.mfa-recovery-list li{margin:3px 0}.mfa-recovery .checkbox-row{align-items:center;gap:8px;margin:10px 0;display:flex}.mfa-modal-panel{width:min(680px,96vw);max-height:92vh;padding:20px 22px;overflow-y:auto}.mfa-modal-panel .notice,.mfa-modal-panel .admin-actions{margin:10px 0}.mfa-modal-panel hr{border:0;border-top:1px solid #e2e8f0;margin:16px 0 10px}html[data-theme=dark] .mfa-modal-panel{background:#0f172a}html[data-theme=dark] .mfa-modal-panel hr{border-top-color:#1e293b}.mfa-status h3{margin:6px 0 4px;font-size:15px}.member-badge.member-mfa-on{color:#166534;background:#dcfce7}.member-badge.member-mfa-pending{color:#92400e;background:#fef3c7}html[data-theme=dark] .member-badge.member-mfa-on{color:#dcfce7;background:#14532d}html[data-theme=dark] .member-badge.member-mfa-pending{color:#fef3c7;background:#78350f}html[data-theme=dark] .mfa-secret{color:#e5e7eb;background:#1e293b}@media (width<=640px){.mfa-qr-block{grid-template-columns:1fr;justify-items:center}.mfa-recovery-list{columns:1}}.station-map-page{flex-direction:column;gap:12px;display:flex}.station-map-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.station-map-header p{margin:4px 0 0}.station-map-actions{flex-wrap:wrap;gap:8px;display:flex}.station-map-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.map-filter{cursor:pointer;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:999px;align-items:center;gap:6px;padding:5px 12px;font-size:13px;display:inline-flex}.map-filter strong{font-variant-numeric:tabular-nums}.map-filter.off{opacity:.45;text-decoration:line-through}.map-filter.active{background:#fef2f2;border-color:#dc2626}.map-filter:focus-visible,.map-list-item:focus-visible,.map-marker:focus-visible,.map-cluster:focus-visible{outline-offset:2px;outline:3px solid #2563eb}.map-search{border:1px solid #d1d5db;border-radius:8px;min-width:220px;margin-left:auto;padding:6px 10px}.map-notice{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;padding:8px 12px}.map-placing-bar{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 12px;display:flex}.map-settings{flex-wrap:wrap;align-items:flex-end;gap:12px 18px;display:flex}.map-settings h2,.map-settings p{flex-basis:100%;margin:0}.map-settings label{flex-direction:column;gap:4px;font-size:13px;display:flex}.map-settings input{border:1px solid #d1d5db;border-radius:6px;width:160px;padding:6px 8px}.station-map-body{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:12px;display:grid}.station-map-canvas{flex-direction:column;gap:8px;min-width:0;display:flex}.slippy-map{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#e5e7eb;border:1px solid #d1d5db;border-radius:10px;outline:none;height:calc(100vh - 290px);min-height:420px;position:relative;overflow:hidden}.slippy-map:focus-visible{box-shadow:0 0 0 3px #93c5fd}.slippy-map:active{cursor:grabbing}.slippy-map.map-placing,.slippy-map.map-placing:active{cursor:crosshair}.slippy-map.map-no-tiles{background-color:#f1f5f9;background-image:linear-gradient(#e2e8f0 1px,#0000 1px),linear-gradient(90deg,#e2e8f0 1px,#0000 1px);background-size:64px 64px}.map-tiles,.map-layer{position:absolute;inset:0}.map-tile{pointer-events:none;width:256px;max-width:none;height:256px;position:absolute}.map-layer{pointer-events:none}.map-layer>*{pointer-events:auto}.map-marker{cursor:pointer;color:#6b7280;filter:drop-shadow(0 1px 2px #00000059);background:0 0;border:0;width:28px;height:38px;padding:0;position:absolute;transform:translate(-50%,-100%)}.map-marker .map-pin-svg{display:block;overflow:visible}.map-pin-body{fill:currentColor;stroke:#fff;stroke-width:1.6px}.map-marker.state-online{color:#16a34a}.map-marker.state-late{color:#f59e0b}.map-marker.state-offline{color:#6b7280}.map-marker.state-no_data{color:#fff}.map-marker.state-no_data .map-pin-body{stroke:#6b7280;stroke-dasharray:3 2}.map-marker.state-disabled{color:#f3f4f6;opacity:.85}.map-marker.state-disabled .map-pin-body{stroke:#9ca3af;stroke-dasharray:2 2}.map-marker.alarm-warning .map-pin-body,.map-marker.alarm-critical .map-pin-body{stroke:#dc2626;stroke-width:3px}.map-marker.alarm-critical:after{content:"";pointer-events:none;border:2px solid #dc2626;border-radius:50%;width:30px;height:30px;margin:-15px 0 0 -15px;animation:1.6s ease-out infinite map-pulse;position:absolute;top:14px;left:50%}.map-marker-badge{color:#fff;text-align:center;background:#dc2626;border:1.5px solid #fff;border-radius:50%;width:16px;height:16px;font:700 11px/16px Arial,sans-serif;position:absolute;top:-6px;right:-8px}.map-marker.selected{z-index:5;transform-origin:50% 100%;transform:translate(-50%,-100%)scale(1.25)}.map-marker.map-marker-pending{color:#fff;z-index:6}.map-marker.map-marker-pending .map-pin-body{stroke:#2563eb;stroke-width:2.4px}@keyframes map-pulse{0%{opacity:1;transform:scale(.7)}to{opacity:0;transform:scale(1.7)}}@media (prefers-reduced-motion:reduce){.map-marker.alarm-critical:after{animation:none}}.map-cluster{cursor:pointer;border:0;border-radius:50%;width:40px;height:40px;padding:5px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 4px #00000059}.map-cluster span{color:#111827;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;font:700 13px Arial,sans-serif;display:flex}.map-cluster.cluster-alarm-warning,.map-cluster.cluster-alarm-critical{box-shadow:0 0 0 3px #dc2626,0 1px 4px #00000059}.map-control{z-index:10;position:absolute}.map-zoom{border-radius:6px;flex-direction:column;display:flex;top:10px;left:10px;overflow:hidden;box-shadow:0 1px 4px #00000040}.map-zoom button{cursor:pointer;color:#111827;background:#fff;border:0;border-bottom:1px solid #e5e7eb;width:32px;height:32px;font-size:18px}.map-zoom button:last-child{border-bottom:0}.map-zoom button:disabled{color:#9ca3af;cursor:default}.map-attribution{color:#374151;background:#ffffffd9;border-top-left-radius:6px;padding:2px 6px;font-size:11px;bottom:0;right:0}.map-no-background{border-top-left-radius:0;border-top-right-radius:6px;left:0;right:auto}.map-popup{z-index:20;cursor:default;width:min(340px,100% - 16px);position:absolute;transform:translate(-50%,-100%)}.map-popup.below{transform:translate(-50%)}.map-card{color:#1f2937;-webkit-user-select:text;user-select:text;background:#fff;border-radius:10px;flex-direction:column;gap:8px;padding:12px 14px;font-size:13px;display:flex;box-shadow:0 6px 24px #00000040}.map-card-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.map-card-head strong{font-size:15px}.map-card-close{cursor:pointer;color:#6b7280;background:0 0;border:0;padding:0 2px;font-size:20px;line-height:1}.map-card-state{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.map-card-alarm{color:#991b1b;background:#fef2f2;border-radius:6px;align-items:center;gap:8px;padding:5px 8px;display:flex}.map-card-same{flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.map-card-same .current{font-weight:700;text-decoration:none}.map-card-values table{border-collapse:collapse;width:100%}.map-card-values th{text-align:left;color:#4b5563;padding:3px 8px 3px 0;font-weight:400}.map-card-values td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding:3px 0}.map-card-values tr+tr th,.map-card-values tr+tr td{border-top:1px solid #f3f4f6}.map-card-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.map-legend{color:#374151;flex-wrap:wrap;gap:6px 18px;font-size:12px;display:flex}.map-legend>div{align-items:center;gap:6px;display:flex}.map-legend-pin{background:#9ca3af;border:1.5px solid #fff;border-radius:50% 50% 50% 0;flex:none;width:12px;height:12px;display:inline-block;transform:rotate(-45deg);box-shadow:0 0 0 1px #9ca3af}.map-legend-pin.state-online{background:#16a34a;box-shadow:0 0 0 1px #16a34a}.map-legend-pin.state-late{background:#f59e0b;box-shadow:0 0 0 1px #f59e0b}.map-legend-pin.state-offline{background:#6b7280;box-shadow:0 0 0 1px #6b7280}.map-legend-pin.state-no_data{box-shadow:none;background:#fff;border:1.5px dashed #6b7280}.map-legend-pin.state-disabled{box-shadow:none;background:#f3f4f6;border:1.5px dashed #9ca3af}.map-legend-pin.alarm-warning,.map-legend-pin.alarm-critical{box-shadow:0 0 0 2px #dc2626}.station-map-list{background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-height:calc(100vh - 250px);padding:12px;overflow:auto}.station-map-list h2{margin:0 0 8px;font-size:15px}.station-map-list h3{margin:12px 0 4px;font-size:14px}.station-map-list ul{margin:0;padding:0;list-style:none}.map-list-item{text-align:left;cursor:pointer;color:#1f2937;background:0 0;border:0;border-radius:6px;grid-template-columns:14px 1fr auto;align-items:center;gap:8px;width:100%;padding:6px 4px;font-size:13px;display:grid}.map-list-item:hover,.map-list-item.selected{background:#eff6ff}.map-list-name small{color:#6b7280}.map-unlocated{border-top:1px solid #e5e7eb;margin-top:10px}.map-unlocated li{grid-template-columns:14px 1fr auto;align-items:center;gap:8px;padding:5px 4px;font-size:13px;display:grid}@media (width<=1100px){.station-map-body{grid-template-columns:1fr}.station-map-list{max-height:none}.map-search{margin-left:0}}.station-map-page .link-button{color:#2563eb;cursor:pointer;font:inherit;background:0 0;border:0;padding:0;text-decoration:underline}html[data-theme=dark] .map-filter,html[data-theme=dark] .station-map-list,html[data-theme=dark] .map-search{color:#e5e7eb;background:#1f2937;border-color:#374151}html[data-theme=dark] .map-list-item,html[data-theme=dark] .map-legend,html[data-theme=dark] .station-map-list h2{color:#e5e7eb}html[data-theme=dark] .map-list-item:hover,html[data-theme=dark] .map-list-item.selected{background:#1e3a8a}html[data-theme=dark] .station-map-page .link-button{color:#93c5fd}html[data-theme=dark] .slippy-map.map-no-tiles{background-color:#111827;background-image:linear-gradient(#1f2937 1px,#0000 1px),linear-gradient(90deg,#1f2937 1px,#0000 1px)}html[data-theme=dark] .map-card strong,html[data-theme=dark] .map-card h2{color:#111827}.extmqtt-state{border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600;display:inline-block}.extmqtt-state-ok{color:#166534;background:#dcfce7}.extmqtt-state-bad{color:#991b1b;background:#fee2e2}.extmqtt-state-warn{color:#92400e;background:#fef3c7}.extmqtt-state-neutral{color:#374151;background:#e5e7eb}.extmqtt-warning{color:#92400e;margin-top:2px;font-size:12px}.extmqtt-error{color:#b91c1c;word-break:break-word;margin-top:2px;font-size:12px}.extmqtt-panel{flex-direction:column;gap:10px;display:flex}.extmqtt-message{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;padding:8px 10px}.extmqtt-message pre,.extmqtt-config{white-space:pre-wrap;word-break:break-all;max-height:220px;margin:6px 0;font-size:12px;overflow:auto}.extmqtt-map{background:#fff;border:1px dashed #93c5fd;border-radius:8px;flex-direction:column;gap:8px;margin-top:8px;padding:10px;display:flex}.extmqtt-map input.input-error{border-color:#dc2626}.extmqtt-page textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}html[data-theme=dark] .extmqtt-state-ok{color:#bbf7d0;background:#14532d}html[data-theme=dark] .extmqtt-state-bad{color:#fecaca;background:#7f1d1d}html[data-theme=dark] .extmqtt-state-warn{color:#fde68a;background:#78350f}html[data-theme=dark] .extmqtt-state-neutral{color:#e5e7eb;background:#374151}html[data-theme=dark] .extmqtt-warning{color:#fcd34d}html[data-theme=dark] .extmqtt-error{color:#fca5a5}html[data-theme=dark] .extmqtt-message{background:#111827;border-color:#374151}html[data-theme=dark] .extmqtt-map{background:#0f172a;border-color:#1e40af}.extmqtt-page .catalog-actions{flex-wrap:wrap;gap:4px;max-width:300px;display:flex}.extmqtt-page .catalog-table td{vertical-align:top}.extmqtt-page .catalog-table td:nth-child(4){min-width:180px}.tb-steps ol{gap:10px;margin:0 0 8px;padding-left:20px;display:grid}.tb-steps .tb-script{white-space:pre;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;max-width:720px;margin:6px 0;padding:10px 12px;font-size:.8rem;overflow-x:auto}.tb-steps .tb-fields{gap:6px;margin-top:6px;display:grid}.tb-steps .tb-fields>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tb-steps .tb-fields>div>.catalog-muted{min-width:170px}.tb-steps .tb-fields code{word-break:break-all}.tb-page .tb-last-error{color:#b91c1c;max-width:360px;margin-top:4px;font-size:.8rem}html[data-theme=dark] .tb-steps .tb-script{color:#e2e8f0;background:#0f172a;border-color:#1e293b}html[data-theme=dark] .tb-page .tb-last-error{color:#fca5a5}.nav-menu-grouped .nav-group-toggle{text-align:left;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #ffffff14;align-items:center;gap:6px;width:calc(100% - 20px);font-family:inherit;display:flex}.nav-menu-grouped .nav-group-toggle:hover,.nav-menu-grouped .nav-group-toggle:focus-visible{color:#e2e8f0;outline:none}.nav-menu-grouped .nav-group-caret{width:10px;font-size:10px}.nav-menu-grouped .nav-group-toggle .nav-badge{margin-left:auto}.nav-menu-grouped .nav-group.closed .nav-group-toggle{margin-bottom:0}html[data-theme=dark] .nav-menu-grouped .nav-group-toggle{border-bottom-color:#ffffff17}.tb-tabs{border-bottom:1px solid #e2e8f0;gap:6px;margin:0 0 14px;display:flex}.tb-tabs button{color:#475569;font:inherit;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 14px;font-weight:600}.tb-tabs button.active{color:#1d4ed8;border-bottom-color:#2563eb}.tbfwd-selection{gap:12px;display:grid}.tbfwd-station{border:1px solid #e2e8f0;border-radius:8px;gap:6px;padding:10px;display:grid}.tbfwd-station-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.tbfwd-station-head label{align-items:center;gap:8px;display:flex}.tbfwd-station-head input{min-width:260px}.tbfwd-backfill{align-items:center;gap:6px;display:inline-flex}.tbfwd-backfill input{width:70px}.tbfwd-selection .input-error{border-color:#dc2626}html[data-theme=dark] .tb-tabs{border-bottom-color:#1e293b}html[data-theme=dark] .tb-tabs button{color:#94a3b8}html[data-theme=dark] .tb-tabs button.active{color:#93c5fd;border-bottom-color:#60a5fa}html[data-theme=dark] .tbfwd-station{border-color:#1e293b}.tb-channel-table select{min-width:220px}.tb-channel-table td{vertical-align:top}.tb-new-series{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.tb-new-series input,.tb-new-series select{min-width:140px}.quality-rules-overview-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.quality-muted{color:#64748b;font-size:13px;line-height:1.45}.quality-form-field.has-error input,.quality-form-field.has-error select,.quality-bulk-table td.has-error input{border-color:#dc2626;box-shadow:0 0 0 1px #dc2626}.quality-field-error{color:#b91c1c;font-size:12px;font-weight:700}.quality-field-hint{color:#64748b;font-size:12px}.quality-source-badge{letter-spacing:0;text-transform:none;vertical-align:middle;color:#3730a3;background:#e0e7ff;border-radius:999px;margin-left:6px;padding:1px 7px;font-size:10px;font-style:normal;display:inline-block}.quality-source-badge.data{color:#166534;background:#dcfce7}.quality-source-badge.default{color:#475569;background:#f1f5f9}.quality-suggest-bar{flex-wrap:wrap;align-items:flex-end;gap:12px;margin:4px 0 14px;display:flex}.quality-suggest-bar .quality-form-field{min-width:170px}.quality-range-picker{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.quality-suggestion-summary{color:#14532d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin-bottom:14px;padding:12px 14px}.quality-suggestion-summary p{margin:0;line-height:1.45}.quality-suggestion-summary ul{color:#92400e;margin:8px 0 0;padding-left:18px}.quality-inline-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;padding:10px 14px;display:flex}.quality-preview{margin-top:14px}.quality-preview-header{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.quality-preview-actions{align-items:center;gap:8px;display:flex}.quality-preview-metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:10px 0;display:grid}.quality-preview-metric{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.quality-preview-metric span{color:#64748b;font-size:12px;font-weight:700}.quality-preview-metric strong{font-size:22px}.quality-preview-metric em{color:#64748b;font-size:12px;font-style:normal}.quality-preview-metric.red strong,.quality-count-red{color:#b91c1c}.quality-preview-metric.amber strong,.quality-count-amber{color:#b45309}.quality-preview-stale{color:#b45309;font-size:13px;font-weight:700}.quality-preview-stations{margin-top:6px}.quality-preview-alarms{color:#7f1d1d;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;margin-top:12px;padding:12px 14px}.quality-preview-alarms ul{margin:6px 0;padding-left:18px}.quality-preview-alarms p{margin:4px 0 0}.quality-drawer-backdrop{z-index:1000;background:#0f172a73;justify-content:flex-end;display:flex;position:fixed;inset:0}.quality-drawer{background:#fff;flex-direction:column;width:min(760px,100vw);height:100vh;display:flex;box-shadow:-18px 0 60px #0f172a4d}.quality-drawer.wide{width:min(1280px,100vw)}.quality-drawer-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px;display:flex}.quality-drawer-header h2{margin:0 0 4px;font-size:20px}.quality-drawer-header p{color:#64748b;margin:0}.quality-drawer-body{flex:1;padding:18px 20px;overflow:auto}.quality-drawer-body .quality-rule-form{flex-direction:column;gap:14px;display:flex}.quality-drawer-footer{border-top:1px solid #e5e7eb;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 20px;display:flex}.quality-list-header-actions{align-items:center;gap:12px;display:flex}.quality-row-actions{flex-wrap:wrap;gap:6px;display:flex}.quality-chip-list{flex-wrap:wrap;gap:8px;display:flex}.quality-bulk-table-wrap{overflow-x:auto}.quality-bulk-table td{vertical-align:top}.quality-bulk-table input[type=number]{width:92px}.quality-bulk-table .quality-source-badge{width:fit-content;margin:3px 0 0;display:block}.quality-bulk-off{opacity:.55}.quality-bulk-notes{color:#b45309;cursor:help;margin-top:4px;font-size:12px}.field-error{color:#b91c1c;font-size:12px;font-weight:700}.field-hint{color:#64748b;font-size:12px}.field-group.has-error input,.field-group.has-error select{border-color:#dc2626;box-shadow:0 0 0 1px #dc2626}@media (width<=700px){.quality-drawer,.quality-drawer.wide{width:100vw}}html[data-theme=dark] .quality-drawer{background:#0f172a}html[data-theme=dark] .quality-drawer-header,html[data-theme=dark] .quality-drawer-footer{border-color:#273449}html[data-theme=dark] .quality-preview-metric{background:#111827;border-color:#273449}html[data-theme=dark] .quality-suggestion-summary{color:#dcfce7;background:#052e16;border-color:#166534}html[data-theme=dark] .quality-inline-notice{color:#fde68a;background:#3f2f0b;border-color:#92400e}html[data-theme=dark] .quality-preview-alarms{color:#fecaca;background:#450a0a;border-color:#7f1d1d}html[data-theme=dark] .quality-muted,html[data-theme=dark] .field-hint,html[data-theme=dark] .quality-field-hint{color:#94a3b8}html[data-theme=dark] .quality-field-error,html[data-theme=dark] .field-error{color:#fca5a5}html[data-theme=dark] .quality-source-badge{color:#e0e7ff;background:#312e81}html[data-theme=dark] .quality-source-badge.data{color:#dcfce7;background:#14532d}html[data-theme=dark] .quality-source-badge.default{color:#cbd5e1;background:#1e293b}
