dialog.mdtx-holiday {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(34rem, calc(100vw - 2rem));
  height: fit-content;
  max-width: none;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid #dce4eb;
  border-radius: 1rem;
  background: #fff;
  color: #1a293c;
  box-shadow: 0 1.5rem 4rem rgb(14 37 66 / 28%);
  overflow: auto;
}
dialog.mdtx-holiday:not([open]) { display: none; }
dialog.mdtx-holiday[open] { display: block; }
dialog.mdtx-holiday::backdrop { background: rgb(12 27 45 / 63%); }
.mdtx-holiday--fallback { z-index: 99999; }
.mdtx-holiday .mdtx-holiday__content {
  position: relative;
  padding: clamp(1.2rem, 5vw, 2.2rem);
  border-top: .35rem solid #235f54;
  font: 400 1rem/1.55 system-ui, sans-serif;
}
.mdtx-holiday .mdtx-holiday__eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 2rem .65rem 0;
  color: #235f54;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mdtx-holiday h2 {
  margin: 0 2rem .9rem 0;
  color: #173556;
  font: 750 clamp(1.55rem, 5vw, 2.05rem)/1.18 system-ui, sans-serif;
}
.mdtx-holiday p { margin: 0 0 .9rem; }
.mdtx-holiday .mdtx-holiday__dates {
  padding: .8rem .95rem;
  border-radius: .45rem;
  background: #ecf4f1;
  color: #153d36;
}
.mdtx-holiday .mdtx-holiday__greeting { color: #42546a; }
.mdtx-holiday button {
  box-sizing: border-box;
  min-height: 2.75rem;
  border: 0;
  border-radius: .45rem;
  font: 700 1rem/1.2 system-ui, sans-serif;
  cursor: pointer;
  text-transform: none;
}
.mdtx-holiday button:focus-visible { outline: 2px solid #214c7b; outline-offset: 3px; }
.mdtx-holiday .mdtx-holiday__button { padding: .7rem 1.2rem; background: #204e7b; color: #fff; }
.mdtx-holiday .mdtx-holiday__button:hover { background: #173556; }
.mdtx-holiday .mdtx-holiday__dismiss {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 2.75rem;
  padding: 0;
  background: #edf2f6;
  color: #1a293c;
  font-size: 1.4rem;
}
@media (max-width: 480px) {
  .mdtx-holiday .mdtx-holiday__button { width: 100%; }
}
