.t24-hzs-alerts {
  margin-block-start: 10px;
  border-radius: 7px;
  overflow: hidden;
}
.t24-hzs-alerts[hidden], .t24-hzs-alerts [hidden] { display: none; }
/* Retain the warning palette when the site theme colors individual tags. */
body .t24-hzs-alerts .t24-hzs-inner,
body .t24-hzs-alerts .t24-hzs-inner * { color: inherit !important; }
.t24-hzs-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  min-height: 46px;
  padding: 4px 12px;
  font-size: .875rem;
  line-height: 1.35;
}
.t24-hzs-heading {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline-end: 14px;
  border-inline-end: 1px solid currentColor;
  white-space: nowrap;
}
.t24-hzs-alerts a.t24-hzs-message {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 12px;
  padding-block: 6px;
  color: inherit;
  overflow-wrap: anywhere;
}
.t24-hzs-message span { font-size: .78rem; }
.t24-hzs-alerts a.t24-hzs-message:hover { color: inherit; text-decoration: underline; }
.t24-hzs-controls { display: flex; align-items: center; gap: 3px; }
.t24-hzs-count { font-size: .75rem; font-variant-numeric: tabular-nums; }
.t24-hzs-alerts .t24-hzs-controls button {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 35px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: 700 1.15rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.t24-hzs-controls button:hover { background: #0002; }
.t24-hzs-alerts :is(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
@media (max-width: 600px) {
  .t24-hzs-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; padding-inline: 10px; }
  .t24-hzs-heading { grid-column: 1; grid-row: 1; border: 0; padding-block: 5px; }
  .t24-hzs-alerts a.t24-hzs-message { grid-column: 1 / -1; grid-row: 2; padding-top: 1px; }
  .t24-hzs-controls { grid-column: 2; grid-row: 1; }
  .t24-hzs-alerts .t24-hzs-controls button { min-width: 40px; min-height: 40px; }
}
