#threat-dialog { width: min(580px, 68vw); max-height: 66vh; padding: 25px; border: 1px solid #587b85; border-radius: 24px; background: #102832; color: #f2f5f0; box-shadow: 0 22px 70px #0008; font-family: Helvetica, Arial, sans-serif; }
#threat-dialog::backdrop { background: #0311169c; }
#threat-dialog header { display: flex; gap: 14px; align-items: center; }
#threat-dialog header small { color: #bdcbd7; font-size: 10px; letter-spacing: .12em; }
#threat-dialog h2 { font-size: 23px; margin: 5px 0; }
.threat-emblem { display: grid; place-items: center; border-radius: 50%; width: 44px; height: 44px; flex: none; background: #245f54; color: #c9f4dd; font-size: 25px; }
#threat-dialog[data-tone="danger"] .threat-emblem { background: #6f302c; color: #ffe2c9; }
#threat-dialog[data-tone="test"] .threat-emblem { background: #344b91; }
#threat-dialog .threat-close { margin-left: auto; align-self: start; border: 0; background: transparent; color: inherit; font-size: 25px; cursor: pointer; }
.threat-summary { font-size: 14px; line-height: 1.5; }
.threat-files { max-height: 28vh; overflow: auto; border-block: 1px solid #49616a; }
.threat-files article { padding: 16px 0; border-bottom: 1px solid #49616a; }
.threat-files article:last-child { border-bottom: 0; }
.threat-files p { margin: 6px 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.threat-outcome { color: #c9e8de; font-size: 13px; }
.threat-path { color: #fff; }
.threat-signature { color: #c0cfff; }
.threat-note { color: #bdcbd7; font-size: 11px; line-height: 1.5; }
#threat-dialog footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
