:root{--plum:#281632;--plum-deep:#201127;--accent:#8753b7;--accent-dark:#69408f;--lavender:#f0e9f7;--ink:#261d30;--muted:#756d7f;--line:#e9e5ed;--surface:#f7f6f9;--green:#187552;--green-bg:#e7f5ee;--red:#b54557;--red-bg:#fbecee;--amber:#9a6924;--amber-bg:#fff4df}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--surface)}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a{color:var(--accent-dark);text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ac87cf;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:var(--plum);color:#fff;padding:34px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700;font-size:23px;letter-spacing:-.6px;margin-bottom:45px}.brand-mark{height:43px;width:43px;display:block;background:#493054;border:1px solid #62436f;border-radius:13px;padding:3px}.brand svg{fill:none;stroke:#dabcf2;stroke-width:1.6}.brand .blip{fill:#dabcf2;stroke:var(--plum)}.brand small{display:block;color:#c4b3cf;font-size:12px;font-weight:400;letter-spacing:.15px}.nav-label{font-size:12px;letter-spacing:1.5px;color:#ac95bb;margin:0 15px 12px}.sidebar nav a{display:flex;align-items:center;gap:13px;min-height:50px;border-radius:10px;padding:12px 15px;color:#d4c7dd;font-size:15px;margin:5px 0}.sidebar nav a>span{font-size:23px;line-height:1;width:25px;text-align:center;color:#bda4ce}.sidebar nav a.active{background:#543365;color:white;box-shadow:inset 3px 0 #b681de}.sidebar nav a.active>span{color:#e2c9f5}.sidebar nav a:hover{background:#3b2447}.sidebar nav b{margin-left:auto;background:#6b477d;border-radius:6px;min-width:26px;text-align:center;font-size:12px;font-weight:600;padding:1px 6px}.sidebar nav b.alert-count{background:#853c53;color:#ffe1e5}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;padding:20px 13px 0;gap:12px}.sidebar-bottom>a{color:#d2c0de;font-size:14px}.connection{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#bda5cc;padding-bottom:14px;border-bottom:1px solid #51365d;margin-bottom:5px}.connection i{width:7px;height:7px;border-radius:50%;background:#e1b86f;flex:none;margin-top:6px}.connection.online i{background:#7cd1a6}.sidebar-foot{font-size:12px;color:#9b82ab;margin-top:9px;line-height:1.8}.shell{margin-left:260px}.topbar{height:82px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb span{padding:0 13px;color:#c9c0cf}.breadcrumb strong{font-weight:500;color:var(--ink)}.account{display:flex;gap:16px;align-items:center}.top-clock{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.avatar{height:36px;width:36px;border-radius:50%;display:grid;place-items:center;color:#73508d;background:#efe5f6;font-weight:600;font-size:14px}.logout{background:transparent;color:var(--muted);font-size:13px;padding:6px}main{max-width:1570px;margin:0 auto;padding:37px 42px 25px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.8px;color:var(--accent);margin-bottom:7px}h1{font-size:31px;letter-spacing:-1px;font-weight:650;line-height:1.25;margin-bottom:8px}.subtitle{color:var(--muted);font-size:15px;margin:0}.button{display:inline-flex;justify-content:center;align-items:center;padding:11px 17px;border-radius:8px;font-weight:600;font-size:14px;min-height:43px;white-space:nowrap;gap:8px}.primary{background:var(--accent);color:white;box-shadow:0 3px 5px #70459115}.primary:hover{background:var(--accent-dark)}.secondary{background:white;border:1px solid #dcd3e3;color:#65467c}.button.small{font-size:13px;padding:6px 11px;min-height:34px;border-radius:6px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);padding:20px 23px 17px;border-radius:12px;box-shadow:0 2px 3px #30203b03}.stat>span{font-size:13px;color:var(--muted);display:block;font-weight:500}.stat strong{font-size:34px;font-weight:650;line-height:1.5;letter-spacing:-1px;display:block;margin:4px 0}.stat small{font-size:12px;color:#8d8495;display:block}.status-label:before{content:"";width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:7px}.status-label.good:before{background:var(--green)}.status-label.bad:before{background:var(--red)}.progress-card{border:1px solid #e5d9ee;background:#f2edf7;display:flex;gap:15px;align-items:center;border-radius:10px;padding:18px 20px;margin-bottom:27px}.progress-icon{font-size:25px;color:var(--accent);width:38px;height:38px;background:#e7daf1;border-radius:50%;display:grid;place-items:center;flex:none}.progress-copy{min-width:0;flex:1}.progress-copy strong{font-size:14px;font-weight:600}.progress-copy p{font-size:13px;color:#82718e;margin:3px 0 0}.pill{border-radius:20px;padding:5px 10px;display:inline-flex;align-items:center;font-size:12px;font-weight:600;white-space:nowrap}.pill.on{color:var(--green);background:var(--green-bg)}.pill.off{color:var(--red);background:var(--red-bg)}.pill.neutral{color:#80509d;background:#e9dff0}.pill.wait{color:var(--amber);background:var(--amber-bg)}.panel{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;margin-bottom:24px}.panel-header{padding:23px 24px 17px;display:flex;justify-content:space-between;align-items:center;gap:14px}.panel-header h2{font-size:18px;font-weight:650;margin-bottom:4px;letter-spacing:-.3px}.panel-header p{font-size:13px;color:var(--muted);margin:0}.small-tag{font-size:12px;padding:4px 8px;border:1px solid var(--line);border-radius:5px;color:var(--muted)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 24px 19px;border-bottom:1px solid var(--line)}.tabs{display:flex;background:#f5f3f7;border:1px solid var(--line);border-radius:8px;padding:4px;gap:4px}.tabs button{font-size:12px;font-weight:650;padding:8px 12px;border-radius:5px;background:transparent;color:#877991;white-space:nowrap}.tabs button.active{background:#fff;color:#71428f;box-shadow:0 1px 4px #42245212}.tabs button span{margin-left:6px;background:#e9e4ed;border-radius:4px;padding:1px 5px;font-size:12px}.tabs button.active span{background:#eee2f6}.filters{display:flex;gap:9px;align-items:center}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:6px 10px;height:36px;background:white;color:#8e7e99}.search input{width:145px;font-size:13px;border:0;outline:none;min-width:0;background:transparent;color:var(--ink)}select{appearance:none;font-size:12px;border:1px solid var(--line);border-radius:7px;color:#6d6178;padding:8px 28px 8px 10px;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23827290'/%3E%3C/svg%3E") no-repeat right 10px center;max-width:220px}.table-wrap{overflow:auto;position:relative}table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px;min-width:650px}thead{background:#fcfbfd}th{text-align:left;color:#8b8192;font-size:12px;font-weight:600;letter-spacing:.2px;padding:12px 24px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:16px 24px;border-bottom:1px solid #f0edf3;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fcfafd}th.actions,td.actions{position:sticky;right:0;text-align:right;background:white;white-space:nowrap;border-left:1px solid #f1edf5;z-index:2;padding-left:16px}th.actions{background:#fcfbfd}.channel-identity{display:flex;align-items:center;gap:13px;min-width:230px}.channel-logo{width:44px;height:38px;flex:none;display:grid;place-items:center;border:1px solid #efebf2;border-radius:7px;background:#f8f6fa;padding:4px;color:#b397c5;font-size:18px}.channel-logo img{max-width:100%;max-height:100%;object-fit:contain}.channel-name{font-size:13px;font-weight:550;line-height:1.4}.channel-meta{display:block;font-size:12px;color:#9a8da3;margin-top:3px}.time-cell{font-size:12px;color:#6f6479}.time-cell small{display:block;font-size:12px;color:#a294ab;margin-top:2px}.pending-reason{font-size:12px;color:#9a7b4f;max-width:300px}.empty{text-align:center;padding:43px 20px;color:#91839d;font-size:14px}.empty-symbol{font-size:30px;color:#bda9ce;margin-bottom:10px}.empty strong{display:block;font-size:16px;font-weight:550;color:#62536f;margin:7px 0}.pending-panel{margin:0;border-top:1px solid var(--line);padding:0}.pending-panel summary{padding:17px 24px;font-size:13px;color:#867291;cursor:pointer;background:#fcfbfd}.pending-panel>p{padding:0 24px;margin:1px 0 16px;font-size:12px;color:var(--muted)}.pending-panel table{min-width:530px}.overview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:23px}.quiet-card{padding:25px}.quiet-card h3{font-size:15px;font-weight:600;margin-bottom:7px}.quiet-card p{color:var(--muted);font-size:13px;margin-bottom:20px}.health-line{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #f0ebf3;font-size:13px}.health-line:last-child{border:0}.health-line strong{font-weight:550}.issue-row{display:flex;align-items:center;gap:11px;padding:16px 24px;border-top:1px solid var(--line)}.issue-row .text{flex:1;min-width:0}.issue-row strong{display:block;font-size:13px}.issue-row small{font-size:12px;color:var(--muted)}.issue-row .dot{width:8px;height:8px;border-radius:50%;background:var(--red)}.event-list{padding:0 24px}.event{display:flex;gap:15px;padding:21px 0;border-bottom:1px solid var(--line)}.event:last-child{border:0}.event-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--red-bg);color:var(--red);font-size:18px;flex:none}.event.recovered .event-icon{background:var(--green-bg);color:var(--green)}.event-copy{flex:1}.event strong{font-size:14px;font-weight:600}.event p{font-size:13px;color:var(--muted);margin:5px 0}.event time{font-size:12px;color:#97879f;white-space:nowrap}.settings-form{padding:0 25px 25px;max-width:780px}.field{margin:22px 0}.field label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}.field input[type=number]{width:130px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:white;font-size:15px}.field .help{font-size:13px;color:var(--muted);margin:7px 0}.check-row{display:flex!important;align-items:flex-start;gap:10px;font-weight:500!important}.check-row input{margin-top:5px;accent-color:var(--accent);width:16px;height:16px}.settings-note{padding:16px;background:#f7f3fa;border-radius:8px;font-size:13px;color:#82708e;line-height:1.7}.form-error{color:var(--red);background:var(--red-bg);padding:12px;border-radius:7px;font-size:14px}footer{font-size:12px;color:#a294ad;line-height:1.8;display:flex;justify-content:space-between;gap:25px;margin-top:28px}#notice:not(:empty){padding:13px 18px;background:var(--amber-bg);border:1px solid #f2dfbb;border-radius:9px;color:#926c35;font-size:13px;margin-bottom:20px}#toast{position:fixed;bottom:25px;right:25px;background:#41274f;color:white;padding:14px 20px;box-shadow:0 6px 25px #25133228;border-radius:9px;z-index:100;font-size:14px;max-width:90vw}.menu-toggle{display:none}.login-page{min-height:100vh;display:grid;place-items:center;background:var(--plum)}.login-card{width:min(450px,calc(100vw - 32px));padding:40px;background:white;border-radius:18px;box-shadow:0 20px 60px #100a1840}.login-card h1{font-size:27px}.login-card>p{font-size:14px;color:var(--muted)}.login-card label{display:block;font-size:14px;font-weight:550;margin:20px 0 6px}.login-card input:not([type=hidden]){width:100%;padding:11px 12px;border:1px solid #ded4e6;border-radius:7px}.login-card .button{width:100%;margin-top:25px}.login-logo{font-size:32px;color:var(--accent);margin-bottom:17px}.back-link{display:block;text-align:center;font-size:13px;margin-top:25px}@media(min-width:1700px){main{padding-top:46px}}@media(max-width:1200px){.sidebar{width:235px;padding:28px 15px}.shell{margin-left:235px}.brand{font-size:21px}.topbar{padding:0 27px}main{padding:28px 27px}.stats{gap:12px}.stat{padding:17px 16px}.stat small{font-size:12px}.toolbar{flex-wrap:wrap}.overview-grid{grid-template-columns:1fr}th,td{padding-left:18px;padding-right:18px}}@media(max-width:800px){.sidebar{width:250px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #160d2180}.shell{margin-left:0}.menu-toggle{display:block;position:fixed;left:16px;top:20px;z-index:25;background:#f0e9f7;color:var(--accent-dark);border-radius:7px;height:35px;width:35px;font-size:19px}.topbar{height:74px;padding:0 19px 0 64px}.breadcrumb{font-size:12px}.account{gap:8px}.top-clock{display:none}.avatar{width:31px;height:31px}.logout{font-size:12px}main{padding:25px 18px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:20px}.page-heading>.button{width:100%}h1{font-size:28px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:15px}.stat strong{font-size:29px}.stat>span{font-size:12px}.stat small{font-size:12px;line-height:1.5}.progress-card{padding:14px 13px;gap:10px;align-items:flex-start}.progress-icon{width:30px;height:30px;font-size:20px}.progress-copy strong{font-size:13px}.progress-copy p{font-size:12px}.progress-card>.pill{display:none}.panel-header{padding:20px 17px 15px}.panel-header h2{font-size:17px}.panel-header p{font-size:12px}.toolbar{padding:0 16px 15px;gap:12px}.tabs{width:100%}.tabs button{flex:1;font-size:12px}.filters{width:100%}.search{flex:1;min-width:0}.search input{width:100%;font-size:14px}.filters select{max-width:145px}.channel-identity{min-width:220px}.channel-name{font-size:13px}.table-wrap table{min-width:650px}td,th{padding-left:15px;padding-right:15px}.actions{padding-right:15px!important}.event{flex-wrap:wrap;gap:10px}.event time{margin-left:44px}.event-list{padding:0 17px}.quiet-card{padding:20px}.settings-form{padding:0 18px 20px}.pending-panel summary{padding-left:17px}footer{display:block;font-size:12px}footer span{display:block;margin-top:7px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}[hidden]{display:none!important}

.channel-cell{display:flex;align-items:center;gap:12px}.channel-cell small,td>small{display:block;color:#7a7083;margin-top:4px}.channel-logo{width:40px;height:40px;display:grid;place-items:center;background:#f4eff8;border-radius:8px;flex-shrink:0}.channel-logo img{max-width:36px;max-height:36px}.status-badge.on{background:#e8f5ee;color:#257044}.status-badge.off{background:#fbe9ec;color:#aa3450}.status-badge{padding:6px 9px;border-radius:20px;white-space:nowrap;font-size:12px;font-weight:700}.event-row{display:flex;gap:12px;padding:18px 24px;border-top:1px solid #eee9f1}.event-row p{margin:5px 0;color:#7a7083;font-size:14px}.event-row time{margin-left:auto;font-size:12px;color:#7a7083;white-space:nowrap}.event-dot{width:8px;height:8px;border-radius:50%;background:#b44b64;margin-top:5px}.event-dot.recovered{background:#33845d}.empty-state{padding:32px 24px;color:#7a7083}.settings-panel{padding:28px;max-width:760px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid #eee9f1}.toggle-row small{display:block;margin-top:6px;font-size:13px;color:#7a7083}.field{display:flex;flex-direction:column;gap:12px;padding:22px 0}.settings-note{padding:20px;background:#f4eff8;border-radius:10px;margin:22px 0;line-height:1.6}.info-panel{padding:24px;line-height:1.6}.button.small{font-size:14px;padding:8px 12px}.connection.offline i{background:#b78f44}
#toast:not(.show){display:none}#toast.show{display:block}body[data-section=overview] [data-nav=overview],body[data-section=channels] [data-nav=channels],body[data-section=events] [data-nav=events],body[data-section=settings] [data-nav=settings]{background:rgba(255,255,255,.1);color:#fff}td.actions{position:sticky;right:0;background:white}h2{letter-spacing:-.4px}

@media(max-width:800px){.sidebar{left:0;right:auto;width:250px;transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}.sidebar:not(.open){visibility:hidden}.menu-toggle{z-index:40}.brand{padding-top:32px}}
