:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f1f5f9;color:#0f172a;font-feature-settings:"cv02","cv03","cv04","cv11"}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{align-items:center;background:#2563eb;border:0;border-radius:12px;color:#fff;cursor:pointer;display:inline-flex;font-size:13px;font-weight:700;gap:8px;min-height:38px;padding:0 14px;transition:background .18s ease,box-shadow .18s ease}button:hover{background:#1d4ed8}button:disabled{cursor:not-allowed;opacity:.6}button.secondary{background:#eff6ff;color:#2563eb}button.secondary:hover{background:#dbeafe}.shell{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}.sidebar{background:#0b132b;border-right:1px solid rgba(30,41,59,.9);color:#e2e8f0;display:flex;flex-direction:column;min-height:100vh}.sidebar-backdrop{background:#0f172aad;border-radius:0;top:0;right:0;bottom:0;left:0;min-height:0;padding:0;position:fixed;z-index:60}.brand{align-items:center;border-bottom:1px solid rgba(30,41,59,.85);display:flex;gap:12px;height:64px;padding:0 16px}.brand-mark{align-items:center;background:#2563eb;border-radius:12px;box-shadow:0 12px 28px #2563eb3d;display:inline-flex;height:40px;justify-content:center;width:40px}.brand span{color:#fff;display:block;font-size:15px;font-weight:900;letter-spacing:.02em}.brand small{color:#94a3b8;display:block;font-size:11px;font-weight:600;margin-top:2px}.mesh-status{align-items:center;background:#0f172a73;border-bottom:1px solid rgba(30,41,59,.65);color:#cbd5e1;display:flex;font-size:12px;gap:10px;padding:13px 18px}.live-dot{background:#10b981;border-radius:999px;box-shadow:0 0 0 6px #10b9811f;display:inline-block;height:8px;width:8px}.sidebar nav{display:grid;gap:6px;padding:16px 12px}.sidebar a{align-items:center;border-radius:12px;color:#cbd5e1;display:flex;font-size:14px;font-weight:700;gap:12px;min-height:42px;padding:0 12px;text-decoration:none}.sidebar a svg{color:#94a3b8}.sidebar a.active,.sidebar a:hover{background:#2563eb;box-shadow:0 10px 24px #2563eb38;color:#fff}.sidebar a.active svg,.sidebar a:hover svg{color:#fff}.ghost{background:transparent;border:1px solid #334155;border-radius:12px;color:#94a3b8;margin:auto 12px 14px}.main-area{min-width:0}.topbar{align-items:center;background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #e2e8f0;display:flex;height:64px;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:20}.topbar-title{align-items:center;display:flex;gap:12px;min-width:0}.topbar h1{font-size:16px;line-height:1.1}.topbar p{color:#64748b;font-size:11px;font-weight:600;margin-top:4px}.topbar-actions{align-items:center;display:flex;gap:10px}.mobile-menu{display:none}.global-search{align-items:center;background:#f1f5f9;border:1px solid transparent;border-radius:12px;color:#94a3b8;display:flex;gap:8px;height:36px;padding:0 12px;width:280px}.global-search:focus-within{background:#fff;border-color:#3b82f6}.global-search input{background:transparent;border:0;min-height:0;outline:0;padding:0;width:100%}.system-pill{align-items:center;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;color:#047857;display:flex;font-size:12px;font-weight:800;gap:8px;height:30px;padding:0 12px}.system-pill span{background:#10b981;border-radius:99px;height:8px;width:8px}.icon-button,.profile-button,.mobile-menu{background:transparent;color:#475569;min-height:36px;padding:0 10px}.icon-button:hover,.profile-button:hover,.mobile-menu:hover{background:#f1f5f9}.theme-sun{display:none}.profile-button{color:#0f172a}.avatar{align-items:center;background:#2563eb;border-radius:10px;color:#fff;display:inline-flex;height:30px;justify-content:center;width:30px}.topbar-alert{color:#e11d48}.content{min-width:0;padding:28px}.page{display:grid;gap:22px;margin:0 auto;max-width:1380px}.page-header{display:grid;gap:5px}.page-header.row{align-items:center;display:flex;justify-content:space-between}.header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.toggle{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:999px;color:#475569;display:inline-flex;font-size:13px;font-weight:800;gap:8px;min-height:38px;padding:0 12px}.toggle input{accent-color:#2563eb;min-height:auto}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:0}h2{align-items:center;color:#0f172a;display:flex;font-size:15px;font-weight:900;gap:8px;margin-bottom:14px}.page-header p,.empty,dt,.alert-row span,.report-row span,.panel-title p{color:#64748b}.sentinel-banner{align-items:center;background:linear-gradient(110deg,#1e3a8a,#0f172a);border-radius:18px;box-shadow:0 20px 42px #0f172a29;color:#fff;display:flex;gap:24px;justify-content:space-between;padding:24px}.sentinel-banner span{align-items:center;color:#93c5fd;display:inline-flex;font-size:12px;font-weight:900;gap:8px;letter-spacing:.08em;text-transform:uppercase}.sentinel-banner h2{color:#fff;display:block;font-size:24px;margin:6px 0}.sentinel-banner p{color:#cbd5e1;font-size:13px;max-width:700px}.banner-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.banner-actions button{background:#ffffff1c;border:1px solid rgba(255,255,255,.14)}.banner-actions button:nth-child(2){background:#3b82f6}.banner-actions .danger{background:#e11d48db}.section-label{color:#94a3b8;font-size:12px;font-weight:900;letter-spacing:.08em;margin-bottom:12px;text-transform:uppercase}.metric-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.metric,.panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 1px 2px #0f172a0d;padding:20px}.metric{align-items:flex-start;display:flex;justify-content:space-between;min-height:132px}.metric.clickable{cursor:pointer}.metric.clickable:hover,.metric.clickable:focus-visible{border-color:#93c5fd;box-shadow:0 14px 32px #2563eb1f;outline:none}.metric span{color:#64748b;display:block;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.metric strong{color:#0f172a;display:block;font-size:30px;margin-top:8px}.metric-icon{align-items:center;background:#eff6ff;border-radius:12px;color:#2563eb;display:inline-flex;height:42px;justify-content:center;width:42px}.dashboard-grid{display:grid;gap:20px;grid-template-columns:minmax(280px,.9fr) minmax(0,2fr)}.panel-title{align-items:flex-start;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:14px}.panel-title h2{margin-bottom:3px}.live-chip{align-items:center;background:#ecfdf5;border-radius:8px;color:#059669;display:inline-flex;font-size:11px;font-weight:900;padding:5px 8px}.donut-wrap{position:relative}.donut-center{display:grid;top:0;right:0;bottom:0;left:0;place-content:center;pointer-events:none;position:absolute;text-align:center}.donut-center strong{font-size:30px}.donut-center span{color:#94a3b8;font-size:10px;font-weight:900;text-transform:uppercase}.split{display:grid;gap:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}dl{display:grid;gap:10px;grid-template-columns:150px 1fr;margin:0}dd{margin:0;min-width:0;overflow-wrap:anywhere}.table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow-x:auto}table{border-collapse:collapse;min-width:1120px;width:100%}th,td{border-bottom:1px solid #f1f5f9;padding:14px 12px;text-align:left;vertical-align:middle}th{background:#f8fafc;color:#94a3b8;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}td{color:#334155;font-size:13px}td strong{color:#0f172a;display:block}.table-sub{color:#94a3b8;display:block;font-size:11px;margin-top:3px}.badge{align-items:center;border:1px solid currentColor;border-radius:999px;display:inline-flex;font-size:12px;font-weight:800;gap:6px;line-height:1;padding:6px 10px;text-transform:capitalize;white-space:nowrap}.badge.low,.badge.online,.badge.healthy{background:#ecfdf5;color:#047857}.badge.medium,.badge.warning,.badge.acknowledged{background:#fffbeb;color:#b45309}.badge.high,.badge.critical,.badge.error,.badge.active{background:#fff1f2;color:#be123c}.badge.offline,.badge.resolved{background:#f1f5f9;color:#475569}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.icon-link{align-items:center;background:#eff6ff;border-radius:10px;color:#2563eb;display:inline-flex;height:34px;justify-content:center;width:34px}.chart{height:300px}.stack{display:grid;gap:12px}.alert-row,.report-row,.list-item{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;display:grid;gap:12px;grid-template-columns:auto 1fr auto auto;padding:14px}.list-item{grid-template-columns:auto 160px 1fr}.alert-icon,.report-icon,.prediction-icon,.maintenance-icon{align-items:center;background:#eff6ff;border-radius:12px;color:#2563eb;display:inline-flex;height:42px;justify-content:center;width:42px}.alert-icon{background:#fff1f2;color:#e11d48}.report-icon{background:#f8fafc;color:#475569}.alert-row strong,.report-row strong{color:#0f172a;display:block;margin-top:8px}.alert-row p,.report-row p{color:#475569;font-size:13px;margin:4px 0}.score{color:#0f172a;font-size:28px;font-weight:900}.risk-pill{border:1px solid currentColor;border-radius:999px;display:inline-flex;font-size:12px;font-weight:900;padding:6px 10px}.risk-pill.low{background:#ecfdf5;color:#047857}.risk-pill.medium{background:#fffbeb;color:#b45309}.risk-pill.high{background:#fff7ed;color:#c2410c}.risk-pill.critical{background:#fff1f2;color:#be123c}.risk-meter{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(120px,1fr) auto auto;margin:10px 0 16px}.risk-meter strong{font-size:18px}.risk-meter em{color:#64748b;font-size:12px;font-style:normal;font-weight:800;text-transform:capitalize}.risk-track,.usage-track{background:#e2e8f0;border-radius:999px;height:8px;overflow:hidden}.risk-track span,.usage-track span{border-radius:inherit;display:block;height:100%}.risk-track .low,.usage-track .normal{background:#2563eb}.risk-track .medium,.usage-track .warning{background:#f59e0b}.risk-track .high{background:#ea580c}.risk-track .critical,.usage-track .critical{background:#e11d48}.usage{min-width:120px}.usage-label{align-items:center;display:flex;font-size:11px;justify-content:space-between;margin-bottom:5px}.usage-label span{color:#64748b;font-weight:800}.usage-label strong{color:#0f172a;font-size:11px}.temperature-row{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.temperature-row.compact{grid-template-columns:minmax(118px,1fr)}.temperature{align-items:center;border:1px solid #e2e8f0;border-radius:12px;display:flex;gap:10px;min-width:132px;padding:10px}.temperature svg{flex:0 0 auto}.temperature span{color:#64748b;display:block;font-size:11px;font-weight:800}.temperature strong{color:#0f172a;display:block;font-size:13px;margin-top:2px}.temperature.normal{background:#eff6ff;color:#2563eb}.temperature.warning{background:#fffbeb;color:#d97706}.temperature.critical{background:#fff1f2;color:#e11d48}.temperature.unknown{background:#f8fafc;color:#64748b}.measurement-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.telemetry-grid,.prediction-grid,.settings-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.telemetry-card,.prediction-card,.maintenance-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 1px 2px #0f172a0d;display:grid;gap:14px;padding:18px}.telemetry-head,.prediction-main,.maintenance-card{align-items:center;display:flex;gap:12px;justify-content:space-between}.telemetry-head div,.prediction-main div,.maintenance-card div:nth-child(2){min-width:0}.telemetry-head strong,.prediction-main strong,.maintenance-card strong{color:#0f172a;display:block;font-weight:900}.telemetry-head span,.prediction-main span,.maintenance-card span{color:#64748b;display:block;font-size:12px;margin-top:3px}.telemetry-icons{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.telemetry-icons span{align-items:center;background:#f8fafc;border-radius:10px;color:#475569;display:inline-flex;font-size:11px;font-weight:800;gap:6px;justify-content:center;min-height:34px}.network-metrics{display:grid;gap:10px}.network-metric{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:8px;grid-template-columns:auto 1fr auto;min-height:42px;padding:10px 12px}.network-metric span{color:#64748b;font-size:11px;font-weight:800}.network-metric strong{color:#0f172a;font-size:12px}.telemetry-foot,.prediction-actions,.maintenance-meta{align-items:center;border-top:1px solid #f1f5f9;color:#64748b;display:flex;font-size:12px;font-weight:700;gap:8px;justify-content:space-between;padding-top:12px}.prediction-card p,.maintenance-card p,.setting-card p{color:#475569;font-size:13px;line-height:1.45}.text-action{align-items:center;color:#2563eb;display:inline-flex;font-size:13px;font-weight:900;gap:6px;text-decoration:none}.maintenance-board{display:grid;gap:14px}.maintenance-card{grid-template-columns:auto minmax(0,1fr) auto}.maintenance-meta{border-top:0;display:grid;justify-items:end;padding-top:0}.maintenance-meta span{align-items:center;display:inline-flex;gap:6px}.setting-card{min-height:180px}.setting-card>svg{color:#2563eb}.setting-card h2{display:block;margin:12px 0 8px}.modal-backdrop{align-items:center;background:#0f172aad;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:20px;position:fixed;z-index:80}.modal{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 28px 70px #0f172a52;display:grid;gap:18px;max-width:680px;padding:22px;width:min(100%,680px)}.modal-header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.modal-title{align-items:center;display:flex;gap:12px}.modal-title h2{margin-bottom:4px}.modal-title p,.setup-steps p,.modal-footer p{color:#64748b;font-size:13px;line-height:1.45}.helper-text{color:#2563eb!important;font-size:12px!important;font-weight:800;margin-top:8px}.modal-icon{align-items:center;background:#eff6ff;border-radius:14px;color:#2563eb;display:inline-flex;height:46px;justify-content:center;width:46px}.setup-steps{display:grid;gap:12px}.setup-steps article{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.setup-steps strong{color:#0f172a;display:block;margin-bottom:5px}.code-row{align-items:stretch;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;margin-top:10px}.code-row pre{background:#0b132b;border-radius:12px;color:#dbeafe;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;margin:0;overflow-x:auto;padding:12px;white-space:pre-wrap}.code-row button{min-height:100%}.modal-footer{align-items:center;border-top:1px solid #f1f5f9;display:flex;gap:12px;justify-content:space-between;padding-top:16px}.loading{animation:pulse 1.4s ease-in-out infinite;background:linear-gradient(90deg,#e2e8f0,#f8fafc,#e2e8f0);border-radius:16px;height:180px}@keyframes pulse{0%,to{opacity:.55}50%{opacity:1}}.error{background:#fff1f2;border:1px solid #fecdd3;border-radius:12px;color:#be123c;padding:10px 12px}.login-page{background:#0b132b;display:grid;min-height:100vh;place-items:center}.login-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;display:grid;gap:16px;max-width:420px;padding:30px;width:calc(100% - 32px)}.login-card h1{color:#0f172a}.login-brand{align-items:center;display:flex;gap:12px;margin-bottom:8px}.login-brand p{color:#64748b;font-size:12px;font-weight:800;margin-top:3px}.login-card label{color:#334155;display:grid;font-size:13px;font-weight:800;gap:6px}input{border:1px solid #cbd5e1;border-radius:10px;min-height:40px;padding:8px 10px}.app-loading{display:grid;min-height:100vh;place-items:center}@media (max-width: 1080px){.global-search,.system-pill{display:none}.sentinel-banner{align-items:flex-start;flex-direction:column}.dashboard-grid{grid-template-columns:1fr}}@media (max-width: 860px){.shell{grid-template-columns:1fr}.sidebar{bottom:0;left:0;max-width:300px;position:fixed;top:0;transform:translate(-105%);transition:transform .2s ease;width:82vw;z-index:70}.sidebar.open{transform:translate(0)}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-menu{display:inline-flex}.topbar{padding:0 14px}.topbar-actions{gap:4px}.profile-button span:last-child,.topbar p,.topbar-alert{display:none}.content{padding:18px}.split{grid-template-columns:1fr}.page-header.row{align-items:flex-start;display:grid}dl,.alert-row,.report-row,.list-item,.maintenance-card{grid-template-columns:1fr}.maintenance-meta{justify-items:start}.telemetry-icons{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-footer{align-items:stretch;flex-direction:column}}
