:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#edf3f8;background:#0b0f14;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#0b0f14}button{font:inherit}.app{max-width:1480px;margin:0 auto;padding:32px}header{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:26px}.eyebrow{letter-spacing:.18em;font-size:12px;color:#77a6c8;font-weight:800}h1{margin:5px 0 4px;font-size:clamp(30px,5vw,52px);line-height:1}.subtitle{margin:0;color:#91a0ad}.header-actions{display:flex;gap:10px;flex-wrap:wrap}button{border:0;border-radius:9px;padding:10px 15px;background:#dbe9f3;color:#0b0f14;font-weight:750;cursor:pointer}button.secondary{background:#17212b;color:#d6e0e8;border:1px solid #2b3945}button:disabled{opacity:.55;cursor:default}.error{border:1px solid #733;background:#271419;color:#ffb9c2;padding:12px 14px;border-radius:10px;margin-bottom:18px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{background:#111820;border:1px solid #1f2a34;border-radius:12px;padding:16px}.metric span{color:#8595a4;display:block;font-size:13px;margin-bottom:6px}.metric strong{font-size:30px}.metric strong.ok{font-size:19px;color:#88d7a2}.metric strong.bad{font-size:19px;color:#ff99a4}.poll-status{color:#7f8d99;font-size:13px;padding:13px 2px 22px}.incident-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.incident{position:relative;background:#111820;border:1px solid #24303b;border-left-width:5px;border-radius:12px;padding:18px;cursor:pointer;transition:transform .12s ease,border-color .12s ease}.incident:hover{transform:translateY(-1px);border-color:#4f6678}.incident.medium{border-left-color:#d5b55d}.incident.large{border-left-color:#e47b58}.incident.major{border-left-color:#e04d5e}.incident.resolved{opacity:.62}.incident-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.badge,.status{display:inline-flex;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.08em;border-radius:999px;padding:5px 8px}.badge.medium{background:#3a321b;color:#efd878}.badge.large{background:#3b241c;color:#ffad8f}.badge.major{background:#3c1c22;color:#ff8f9b}.status.active{color:#ff9ca8;background:#321a20}.status.resolved{color:#8edaa8;background:#153122}.incident h2{margin:14px 0 8px;font-size:23px}.impact{font-size:16px;color:#a9b6c1;margin-bottom:15px}.impact strong{font-size:38px;line-height:1;color:#f7fbff}.impact span{color:#6f7d89}dl{display:grid;gap:8px;margin:0}dl div{display:grid;grid-template-columns:145px 1fr;gap:10px}dt{color:#7f8d99}dd{margin:0;color:#d3dde5}.evidence{margin-top:15px;border-top:1px solid #24303b;padding-top:13px;color:#93a3b0;font-size:13px}.empty{text-align:center;border:1px dashed #2a3844;border-radius:14px;padding:70px 20px;color:#8c9aa6}.empty h2{color:#dce5ec}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:grid;place-items:center;padding:30px;z-index:20}.modal{width:min(1000px,100%);max-height:calc(100vh - 60px);overflow:auto;background:#111820;border:1px solid #31404c;border-radius:14px;padding:24px;position:relative;box-shadow:0 30px 90px #00000080}.close{position:absolute;right:14px;top:12px;background:transparent;color:#9aacb9;font-size:27px;padding:4px 9px}.modal h2{font-size:31px;margin:13px 0 4px}.modal-title{color:#a8b5c0;margin:0 0 16px}.modal-impact{font-size:24px;font-weight:800;margin-bottom:24px}.modal h3{margin-top:24px}.modal li{margin:7px 0;color:#c2ced7}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;border-bottom:1px solid #26333e;padding:10px 8px}th{color:#7f8d99;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:7px}.dot.down{background:#e05d69}.dot.up{background:#70c991}@media (max-width:900px){.summary{grid-template-columns:repeat(2,1fr)}.incident-grid{grid-template-columns:1fr}header{align-items:flex-start;flex-direction:column}}@media (max-width:560px){.app{padding:18px}.summary{grid-template-columns:1fr}dl div{grid-template-columns:1fr;gap:2px}.modal-backdrop{padding:10px}}.kind{font-size:.85rem;color:#aab5ca;margin:0 0 1rem}.parent{padding:.7rem;background:#111b2e;border:1px solid #2d3a53;border-radius:7px;overflow-wrap:anywhere}.parent strong{display:block;font-size:.7rem;text-transform:uppercase;color:#b1c0d9;margin-bottom:.3rem}.parent code{font-size:.8rem;white-space:normal;overflow-wrap:anywhere}.section-title{font-size:1.15rem;margin:1.8rem 0 1rem}.section-title small{font-size:.75rem;font-weight:400;margin-left:.7rem;color:#9daac0}.history{border-top:1px solid #304058;margin-top:2rem}.history>p{font-size:.85rem;color:#9daac0}.template-ids{display:block;color:#9daac0;font-size:.7rem;margin-top:.3rem}.url-value{min-width:160px;max-width:280px;overflow-wrap:anywhere}.status.superseded{color:#b8abc9}.incident.superseded{opacity:.7}.modal-title{overflow-wrap:anywhere}.pole-label{font-size:1.3rem;font-weight:750;margin:.4rem 0}.impact-breakdown{margin-top:-.2rem;margin-bottom:1rem;font-weight:600}.topology-panel{border:1px solid #30455b;border-radius:10px;padding:1rem;margin:1.2rem 0;background:#142130;color:#edf3f8}.topology-panel h3{margin-top:0}.topology-tree{padding-left:1.2rem;overflow-wrap:anywhere}.topology-tree>li{padding:.5rem 0}.topology-tree ul{border-left:2px solid #466079;margin:.5rem 0;padding-left:1.4rem}.topology-tree ul li{padding:.25rem 0}.branch-label,.topology-caution{font-size:.85rem;color:#a5b7c9;margin-top:.25rem}.down-state{display:inline-block;color:#ffadad;background:#43252c;border-radius:4px;font-size:.8rem;padding:.1rem .4rem}.quiet-state{font-size:.8rem;color:#a5b7c9}.status.merged{background:#e5e9f7;color:#3c4d80}.incident.merged{opacity:.8}.merged-banner{background:#172941;padding:1rem;border-radius:8px;color:#ccd9ef;margin:1rem 0}.merged-banner button{margin-left:.5rem}.merged-links{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.merged-links button{font-size:.8rem;padding:.25rem .5rem}.warning{background:#423411;border:1px solid #ae852e;color:#ffe4a3;padding:12px 16px;margin:8px 0;border-radius:8px;overflow-wrap:anywhere}.settings-modal{width:min(880px,100%)}.settings-backdrop{z-index:30}.settings-field{display:block;font-weight:700;margin-top:1.2rem}.settings-field input{display:block;width:100%;margin:.5rem 0;padding:12px;border-radius:8px;border:1px solid #496076;background:#0b111b;color:#edf3f8;font:inherit;box-sizing:border-box}.settings-toggle{display:flex;align-items:center;gap:.6rem;margin:1.2rem 0}.settings-toggle input{width:18px;height:18px}.settings-help{color:#a5b7c9;font-size:.9rem;line-height:1.55}.settings-facts{display:grid;grid-template-columns:130px 1fr;gap:12px;margin:1.4rem 0;overflow-wrap:anywhere}.settings-facts span{color:#a5b7c9}.settings-modal a{color:#b9dafa}.settings-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.5rem 0 .7rem}.settings-success{background:#153122;border:1px solid #337b50;padding:1rem;border-radius:8px;color:#b7efcb}.payload-preview{border:1px solid #30455b;border-radius:8px;margin:1.2rem 0;padding:.8rem}.payload-preview summary{cursor:pointer}.payload-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}.channel-value{max-width:220px;overflow-wrap:anywhere;font-size:.85rem}.delivery-error{font-size:.85rem;margin-top:.4rem;color:#ffb9c2;max-width:270px}.settings-modal :focus-visible{outline:2px solid #b9dafa;outline-offset:3px}@media (max-width:560px){.settings-facts{grid-template-columns:1fr;gap:6px}.settings-actions{flex-direction:column}}.teams-html-preview{display:block;width:100%;height:560px;border:1px solid #30455b;border-radius:6px;background:#fff;margin-top:1rem}.correlation-settings{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #334155}.correlation-settings input[type=number]{max-width:220px}.message-limit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.message-limit-fields input{max-width:180px}@media (max-width:600px){.message-limit-fields{grid-template-columns:1fr;gap:0}}
