.tv-alert-button{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;padding:5px 2px;border:0;background:transparent;color:#b42318;font:600 12px/1.5 Arial,sans-serif;text-align:left;cursor:pointer;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}
.tv-alert-button[hidden],.tv-alert-dialog [hidden]{display:none!important}
.tv-alert-button svg,.tv-alert-icon svg,.tv-alert-dialog footer svg{width:16px;height:16px;flex:none}
.tv-alert-button:hover span{text-decoration:underline}
.tv-alert-button.is-quiet{color:#526177;font-weight:500}
.tv-alert-button:focus-visible,.tv-alert-icon:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:4px}
.tv-alert-dialog{width:640px;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px);padding:0;border:1px solid #dce3ec;border-radius:8px;color:#172a40;background:#fff;box-shadow:0 18px 64px #10233933;font:14px/1.55 Arial,sans-serif;letter-spacing:0;box-sizing:border-box}
.tv-alert-dialog::backdrop{background:#10182888}
.tv-alert-dialog[open]{display:flex;flex-direction:column}
.tv-alert-dialog header,.tv-alert-dialog footer,.tv-alert-dialog>p{flex-shrink:0}
.tv-alert-dialog{max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px)}
.tv-alert-dialog header{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:16px 20px;border-bottom:1px solid #e6ebf1;background:#fff;text-align:left}
.tv-alert-dialog h2{margin:0;font-size:18px;line-height:1.4;font-weight:700}
.tv-alert-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:4px;background:transparent;color:#526177;cursor:pointer}
.tv-alert-icon:hover{background:#eef2f6}
.tv-alert-dialog>p{margin:16px 20px;color:#526177}
.tv-alert-entries{padding:0 20px;overflow-wrap:anywhere;overflow-y:auto;min-height:0}
.tv-alert-entry{padding:14px 0;border-top:1px solid #e6ebf1}
.tv-alert-entry:first-child{border-top:0}
.tv-alert-entry-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px}
.tv-alert-entry-heading strong{font-size:14px;min-width:0}
.tv-alert-state{font-size:12px;color:#b42318;font-weight:600}
.tv-alert-state.is-resolved{color:#14734c}
.tv-alert-entry p{margin:6px 0 4px;color:#34465a}
.tv-alert-entry small{display:block;color:#66758a;font-size:12px}
.tv-alert-totals{display:flex;flex-wrap:wrap;gap:6px 18px;padding:0 20px 10px;font-size:13px;font-weight:600;flex-shrink:0}
.tv-alert-count-active{color:#b42318}.tv-alert-count-resolved{color:#14734c}
.tv-alert-row-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.tv-alert-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:28px;min-height:28px;padding:4px 8px;background:#fff;border:1px solid #dce3ec;border-radius:4px;color:#34465a;cursor:pointer;font:500 12px/1.4 Arial,sans-serif}
.tv-alert-action svg{width:14px;height:14px}
.tv-alert-action:hover,.tv-alert-page:hover{background:#eef4fc;border-color:#8eacd4}
.tv-alert-action:focus-visible,.tv-alert-page:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.tv-alert-pagination{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}
.tv-alert-page{width:28px;height:28px;border:1px solid #dce3ec;border-radius:4px;background:#fff;color:#34465a;font:500 12px Arial,sans-serif;cursor:pointer}
.tv-alert-page[aria-current="page"]{background:#0b5ed7;border-color:#0b5ed7;color:#fff}
.tv-alert-page-gap{font-size:12px;color:#66758a;padding:0 2px}
.tv-alert-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid #e6ebf1}
.tv-alert-dialog footer{flex-direction:column}
.tv-alert-dialog #tvAlertClear{align-self:flex-end}
.tv-alert-dialog footer button{display:inline-flex;align-items:center;gap:7px;white-space:normal}
.tv-alert-dialog button:disabled{opacity:.55;cursor:wait}
@media(max-width:520px){.tv-alert-button:not(.is-quiet){flex-basis:100%;padding-top:3px}.tv-alert-dialog header{padding:14px 16px}.tv-alert-entries{padding:0 16px}.tv-alert-dialog>p{margin:14px 16px}.tv-alert-totals{padding-left:16px;padding-right:16px}.tv-alert-dialog footer{padding:12px 16px}}
