.hlpl-calendar-widget {
  --hlpl-calendar-accent: #dd5533;
  --hlpl-calendar-accent-dark: #a83b22;
  --hlpl-calendar-ink: #202124;
  --hlpl-calendar-muted: #5f6368;
  --hlpl-calendar-border: #d9dee3;
  --hlpl-calendar-surface: #ffffff;
  --hlpl-calendar-soft: #fff5f1;
  --hlpl-calendar-focus: #1a73e8;
  --hlpl-calendar-shadow: 0 18px 45px rgba(32, 33, 36, 0.12);
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  background: transparent;
  color: var(--hlpl-calendar-ink);
  font-family: inherit;
  line-height: 1.5;
}

.hlpl-calendar-widget *,
.hlpl-calendar-widget *::before,
.hlpl-calendar-widget *::after {
  box-sizing: border-box;
}

.hlpl-calendar-widget button {
  font: inherit;
}

.hlpl-calendar-widget .hlpl-skip-calendar {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--hlpl-calendar-accent-dark);
  font-weight: 800;
  opacity: 0;
  transform: translateY(-150%);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.hlpl-calendar-widget .hlpl-skip-calendar:focus {
  opacity: 1;
  transform: translateY(0);
}

.hlpl-calendar-widget .hlpl-skip-calendar:focus-visible,
.hlpl-calendar-widget .hlpl-after-calendar:focus-visible {
  outline: 3px solid var(--hlpl-calendar-focus);
  outline-offset: 3px;
}

.hlpl-calendar-widget .hlpl-after-calendar {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hlpl-calendar-widget .hlpl-after-calendar:focus {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-top: 16px;
  padding: 10px 12px;
  overflow: visible;
  clip-path: none;
  border-radius: 6px;
  background: #ffffff;
  color: var(--hlpl-calendar-muted);
}

.hlpl-calendar-widget .hlpl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hlpl-calendar-widget .hlpl-widget__header {
  padding: 0 0 14px;
}

.hlpl-calendar-widget .hlpl-widget__header h2 {
  margin: 0;
  color: var(--hlpl-calendar-ink);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.hlpl-calendar-widget .hlpl-widget__status {
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid var(--hlpl-calendar-border);
  border-radius: 8px;
  background: #fafafa;
  color: var(--hlpl-calendar-muted);
}

.hlpl-calendar-widget .hlpl-widget__status[data-state="error"] {
  border-color: rgba(168, 59, 34, 0.4);
  background: var(--hlpl-calendar-soft);
  color: #6f2a19;
}

.hlpl-calendar-widget .hlpl-widget__content {
  padding: 0;
}

.hlpl-calendar-widget .hlpl-tab-selector {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 14px;
  touch-action: pan-y;
}

.hlpl-calendar-widget .hlpl-tabs {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 38px;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 999px;
}

.hlpl-calendar-widget .hlpl-tab-animation {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.hlpl-calendar-widget .hlpl-tab {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--hlpl-calendar-accent);
  border-radius: 999px;
  background: #ffffff;
  color: var(--hlpl-calendar-ink);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.hlpl-calendar-widget .hlpl-tab:hover {
  border-color: rgba(221, 85, 51, 0.55);
  background: var(--hlpl-calendar-soft);
  color: #7b2d19;
}

.hlpl-calendar-widget .hlpl-tab[aria-selected="true"] {
  border-color: var(--hlpl-calendar-accent);
  background: var(--hlpl-calendar-accent);
  color: #ffffff;
}

.hlpl-calendar-widget .hlpl-tab[aria-selected="false"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hlpl-calendar-widget .hlpl-tab-animation.is-animating {
  display: block;
}

.hlpl-calendar-widget .hlpl-tab-animation.is-animating ~ .hlpl-tab[aria-selected="true"] {
  color: transparent;
}

.hlpl-calendar-widget .hlpl-tab-visual {
  position: absolute;
  inset: 0;
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 8px 14px;
  border: 1px solid var(--hlpl-calendar-accent);
  border-radius: 999px;
  background: var(--hlpl-calendar-accent);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.hlpl-calendar-widget .hlpl-tab-visual--enter-next {
  animation: hlpl-tab-enter-next 220ms ease both;
}

.hlpl-calendar-widget .hlpl-tab-visual--leave-next {
  animation: hlpl-tab-leave-next 220ms ease both;
}

.hlpl-calendar-widget .hlpl-tab-visual--enter-previous {
  animation: hlpl-tab-enter-previous 220ms ease both;
}

.hlpl-calendar-widget .hlpl-tab-visual--leave-previous {
  animation: hlpl-tab-leave-previous 220ms ease both;
}

.hlpl-calendar-widget .hlpl-tab-arrow {
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--hlpl-calendar-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--hlpl-calendar-accent-dark);
  cursor: pointer;
  font-weight: 900;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.hlpl-calendar-widget .hlpl-tab-arrow:hover {
  border-color: rgba(221, 85, 51, 0.55);
  background: var(--hlpl-calendar-soft);
  color: #7b2d19;
}

.hlpl-calendar-widget .hlpl-tab-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hlpl-calendar-widget .hlpl-tab:focus-visible,
.hlpl-calendar-widget .hlpl-tab-arrow:focus-visible,
.hlpl-calendar-widget .hlpl-event__button:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--hlpl-calendar-focus);
}

@keyframes hlpl-tab-enter-next {
  from {
    opacity: 0.4;
    transform: translateX(110%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hlpl-tab-leave-next {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0.4;
    transform: translateX(-110%);
  }
}

@keyframes hlpl-tab-enter-previous {
  from {
    opacity: 0.4;
    transform: translateX(-110%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hlpl-tab-leave-previous {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0.4;
    transform: translateX(110%);
  }
}

.hlpl-calendar-widget .hlpl-events {
  display: grid;
  max-height: 472px;
  gap: 10px;
  overflow-y: auto;
  padding: 3px 6px 3px 3px;
  scrollbar-color: rgba(221, 85, 51, 0.85) #f1f3f4;
  scrollbar-width: thin;
}

.hlpl-calendar-widget .hlpl-events::-webkit-scrollbar {
  width: 10px;
}

.hlpl-calendar-widget .hlpl-events::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #f1f3f4;
}

.hlpl-calendar-widget .hlpl-events::-webkit-scrollbar-thumb {
  border: 2px solid #f1f3f4;
  border-radius: 999px;
  background: rgba(221, 85, 51, 0.85);
}

.hlpl-calendar-widget .hlpl-event {
  border: 1px solid var(--hlpl-calendar-border);
  border-radius: 8px;
  background: #ffffff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hlpl-calendar-widget .hlpl-event:hover,
.hlpl-calendar-widget .hlpl-event:focus-within {
  border-color: rgba(221, 85, 51, 0.55);
  box-shadow: 0 10px 24px rgba(32, 33, 36, 0.1);
  transform: translateY(-1px);
}

.hlpl-calendar-widget .hlpl-event__button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 13px 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.hlpl-calendar-widget .hlpl-event__summary {
  display: grid;
  gap: 2px;
}

.hlpl-calendar-widget .hlpl-event__date {
  color: var(--hlpl-calendar-accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hlpl-calendar-widget .hlpl-event__time {
  margin-top: 2px;
  color: var(--hlpl-calendar-muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.hlpl-calendar-widget .hlpl-event__title {
  margin-top: 5px;
  color: var(--hlpl-calendar-ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.hlpl-calendar-widget .hlpl-event__indicator {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--hlpl-calendar-soft);
  color: var(--hlpl-calendar-accent-dark);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.hlpl-calendar-widget .hlpl-event__button[aria-expanded="true"] .hlpl-event__indicator {
  transform: rotate(45deg);
}

.hlpl-calendar-widget .hlpl-event__description {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 0 solid transparent;
  color: var(--hlpl-calendar-ink);
  transition:
    grid-template-rows 180ms ease,
    border-top-color 180ms ease;
}

.hlpl-calendar-widget .hlpl-event__description[hidden] {
  display: none;
}

.hlpl-calendar-widget .hlpl-event__description.is-open {
  grid-template-rows: 1fr;
  border-top: 1px solid var(--hlpl-calendar-border);
}

.hlpl-calendar-widget .hlpl-event__description-inner {
  overflow: hidden;
}

.hlpl-calendar-widget .hlpl-event__description-text {
  margin: 0;
  padding: 12px 15px 15px;
  white-space: pre-wrap;
}

.hlpl-calendar-widget .hlpl-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--hlpl-calendar-border);
  border-radius: 8px;
  background: #fafafa;
  color: var(--hlpl-calendar-muted);
}

@media (max-width: 620px) {
  .hlpl-calendar-widget .hlpl-widget__header,
  .hlpl-calendar-widget .hlpl-widget__content {
    padding-right: 0;
    padding-left: 0;
  }

  .hlpl-calendar-widget .hlpl-widget__status {
    margin-right: 0;
    margin-left: 0;
  }

  .hlpl-calendar-widget .hlpl-tab {
    padding-right: 6px;
    padding-left: 6px;
  }

  .hlpl-calendar-widget .hlpl-event__button {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hlpl-calendar-widget *,
  .hlpl-calendar-widget *::before,
  .hlpl-calendar-widget *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
