/* HdKD Events — Calendar · split view */

.hdkd-ev-cal { font-family: inherit; }

.hdkd-ev-cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 27px;
}

.hdkd-ev-cal__title.hdkd-ev-cal__title {
  font-family: inherit;
  font-weight: 400;
  /* the month label is calendar sub-navigation, not a page heading — keep it
     clearly smaller than the section title above it */
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.hdkd-ev-cal__nav { display: flex; gap: 9px; align-items: center; }

.hdkd-ev-cal__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  background: #fff;
  color: inherit;
  cursor: pointer;
  transition: background-color 200ms ease-in-out, color 200ms ease-in-out, border-color 200ms ease-in-out;
}
.hdkd-ev-cal__btn:hover { background: #1C8D82; color: #fff; border-color: #1C8D82; }

.hdkd-ev-cal__btn--today {
  width: auto; padding: 0 18px;
  border-radius: 9999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* Filter toolbar — chips + selects inline, left-aligned */
.hdkd-ev-cal__filters {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hdkd-ev-cal__cats { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 0; min-width: 0; }
.hdkd-ev-cal__cat {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #2A2520;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 200ms ease-in-out, border-color 200ms ease-in-out, opacity 200ms ease-in-out;
}
.hdkd-ev-cal__cat i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.hdkd-ev-cal__cat:not(.is-active) { opacity: 0.4; }
.hdkd-ev-cal__cat.is-active { border-color: rgba(0,0,0,0.2); }
/* Labels are bounded — keep them one-line capsules so a long label (e.g.
   "Community & Begegnung & Vernetzung") never wraps into an oval; it simply
   wraps to the next line as a whole pill. */
.hdkd-ev-cal__cat { white-space: nowrap; }

/* Unified, labeled filter panel — every group carries an eyebrow, aligned in a
   fixed left column so the filters read as ONE block, not dissociated lines. */
.hdkd-ev-cal__filterset { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }
.hdkd-ev-cal__frow { display: flex; align-items: flex-start; gap: 9px; flex-wrap: wrap; }
.hdkd-ev-cal__feyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(42,37,32,0.72); white-space: nowrap; padding-top: 7px;
}
.hdkd-ev-cal__feyebrow--col { flex: 0 0 104px; }   /* fixed left column → eyebrows align */
.hdkd-ev-cal__feyebrow--gap { margin-left: 12px; } /* inline label before the Zeitraum select */
.hdkd-ev-cal__pillar {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 15px;
  font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  color: #2A2520; background: #fff;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 9999px; cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease-in-out, border-color 200ms ease-in-out, color 200ms ease-in-out, opacity 200ms ease-in-out;
}
.hdkd-ev-cal__pillar i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.hdkd-ev-cal__pillar:not(.is-active) { opacity: 0.4; }
.hdkd-ev-cal__pillar.is-sel { background: var(--pc, #1C8D82); border-color: var(--pc, #1C8D82); color: #fff; opacity: 1; }
.hdkd-ev-cal__pillar.is-sel i { background: #fff !important; }

.hdkd-ev-cal__selects { display: flex; gap: 8px; flex-wrap: wrap; }
.hdkd-ev-cal__sel {
  width: 188px !important;
  min-width: 0 !important;
  flex: 0 0 auto;
  max-width: 100%;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #2A2520;
  padding: 8px 32px 8px 14px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 9999px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin: 0 !important;
  transition: border-color 200ms ease-in-out;
}
.hdkd-ev-cal__sel:focus { outline: none; border-color: #1C8D82; }
.hdkd-ev-cal__sel.is-set {
  border-color: #1C8D82;
  background-color: rgba(28,141,130,0.06);
  color: #1C8D82;
  font-weight: 600;
}

.hdkd-ev-cal__reset {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #1C8D82;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  white-space: nowrap;
  transition: opacity 200ms ease-in-out;
}
.hdkd-ev-cal__reset:hover { opacity: 0.65; }
.hdkd-ev-cal__reset[hidden] { display: none !important; }

/* Agenda (filtered list in the panel) */
.hdkd-ev-cal__agenda { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.hdkd-ev-cal__agenda-group { display: flex; flex-direction: column; gap: 9px; }
.hdkd-ev-cal__agenda-date {
  display: inline-flex;
  align-self: flex-start;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 200ms ease-in-out;
}
.hdkd-ev-cal__agenda-date:hover { color: #1C8D82; }
/* Tapping a calendar day on mobile scrolls to + briefly flags its agenda group. */
.hdkd-ev-cal__agenda-group.is-focus > .hdkd-ev-cal__agenda-date { color: #1C8D82; }
.hdkd-ev-cal__agenda-group.is-focus { animation: hdkd-cal-focus 1.6s ease-out 1; }
@keyframes hdkd-cal-focus {
  0%, 22% { background: rgba(28,141,130,0.10); box-shadow: 0 0 0 8px rgba(28,141,130,0.10); border-radius: 8px; }
  100%    { background: transparent; box-shadow: 0 0 0 8px rgba(28,141,130,0); border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hdkd-ev-cal__agenda-group.is-focus { animation: none; } }

/* ============ Split body: calendar left + panel right ============ */
/* Default: stacked (works in any container width) */
.hdkd-ev-cal__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.hdkd-ev-cal__grid-wrap {
  padding: 18px;
}

.hdkd-ev-cal__panel {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 27px;
  background: #fff;
  overflow-y: auto;
  /* Thin custom scrollbar — matches the events-map panel for consistency. */
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.16) transparent;
}
.hdkd-ev-cal__panel::-webkit-scrollbar { width: 6px; }
.hdkd-ev-cal__panel::-webkit-scrollbar-track { background: transparent; }
.hdkd-ev-cal__panel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.14);
  border-radius: 9999px;
}
.hdkd-ev-cal__panel::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.28); }

/* Side-by-side only when container is wide enough (JS adds this class) */
.hdkd-ev-cal--wide .hdkd-ev-cal__body {
  grid-template-columns: 1fr 44%;   /* agenda ~44% — readable list, grid keeps room */
  position: relative;            /* anchor for the absolutely-filled panel */
}
/* Panel is taken out of flow so a long (filtered) agenda can NEVER stretch the
   row taller than the calendar grid — it fills the right column and scrolls inside. */
.hdkd-ev-cal--wide .hdkd-ev-cal__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 44%;
  box-sizing: border-box;
  border-top: 0;
  border-left: 1px solid rgba(0,0,0,0.05);
}

/* Weekday headers — minmax(0,1fr): a bare 1fr keeps an implicit min-width:auto,
   so no-wrap cell content forces tracks wider than the viewport and the whole
   grid overflows horizontally. minmax(0,…) lets tracks shrink and ellipsize. */
.hdkd-ev-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 9px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.4;
}
.hdkd-ev-cal__weekdays span { padding-left: 10px; }

/* Day grid */
.hdkd-ev-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.hdkd-ev-cal__day {
  aspect-ratio: 1 / 0.85;
  min-width: 0;            /* allow the track to shrink below content size */
  background: #f5f5f5;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 10px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: inherit; color: inherit;
  transition: border-color 200ms ease-in-out, background-color 200ms ease-in-out, transform 200ms ease-in-out, box-shadow 200ms ease-in-out;
}
.hdkd-ev-cal__day:hover {
  border-color: rgba(0,0,0,0.12);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hdkd-ev-cal__day--other { opacity: 0.25; }
.hdkd-ev-cal__day--has { background: #fff; border-color: rgba(0,0,0,0.06); }
.hdkd-ev-cal__day--has:hover { background: #fff; border-color: rgba(0,0,0,0.15); }

.hdkd-ev-cal__day--today {
  border-color: #1C8D82;
  border-width: 2px;
  padding: 9px;
  background: #fff;
}
.hdkd-ev-cal__day--today::before {
  content: 'Heute';
  position: absolute; top: 6px; right: 8px;
  font-size: 8px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #1C8D82;
}

.hdkd-ev-cal__day--sel {
  background: #fff;
  color: inherit;
  border-color: #1a1f36;
  border-width: 2px;
  padding: 9px; /* compensate the +1px border so cell size stays stable */
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.hdkd-ev-cal__day--sel:hover { background: #fff; transform: translateY(-1px); }
/* When the selected day is also today, the orange today-border wins. */
.hdkd-ev-cal__day--sel.hdkd-ev-cal__day--today { border-color: #1C8D82; }

.hdkd-ev-cal__num {
  font-family: inherit;
  font-size: 19px; font-weight: 400;
  line-height: 1; letter-spacing: -0.02em;
}

.hdkd-ev-cal__previews {
  display: flex; flex-direction: column; gap: 3px;
  margin-top: auto;
  min-width: 0;
  overflow: hidden;
}

/* Compact event dots — used on phone tiles in place of title previews
   (titles are unreadable at ~46px). Hidden by default; shown <=640px. */
.hdkd-ev-cal__dots { display: none; }
.hdkd-ev-cal__dots i {
  width: 5px; height: 5px; border-radius: 50%;
  display: block; flex: 0 0 auto;
}
.hdkd-ev-cal__prev {
  display: block;
  padding: 2px 0 2px 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  opacity: 0.75;
}
.hdkd-ev-cal__day--sel .hdkd-ev-cal__prev { opacity: 1; }
.hdkd-ev-cal__more { font-size: 9px; font-weight: 600; opacity: 0.4; padding-left: 6px; }

/* ============ Panel content ============ */
.hdkd-ev-cal__hint { margin: 0; opacity: 0.4; font-style: normal; font-size: 13px; }

.hdkd-ev-cal__ph {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hdkd-ev-cal__ph-date {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.4;
  margin: 0;
}
.hdkd-ev-cal__ph-title {
  font-family: inherit;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.025em;
  margin: 0;
}
/* empty-state hint drops to its own line below the inline date+title */
.hdkd-ev-cal__ph .hdkd-ev-cal__hint { flex: 1 0 100%; margin: 4px 0 0; }

.hdkd-ev-cal__evts { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }

.hdkd-ev-cal__evt {
  display: flex; gap: 0;
  padding: 14px;
  background: #f5f5f5;
  border-radius: 8px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.hdkd-ev-cal__evt:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

.hdkd-ev-cal__evt-bar { display: none; }
.hdkd-ev-cal__evt-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
/* Base category pill (calendar runs standalone on event singles where the
   cards CSS isn't loaded — keep this self-contained so the pill always
   renders correctly). Mirrors .hdkd-ev-cat in hdkd-ev-upcoming.css. */
.hdkd-ev-cal__evt-body .hdkd-ev-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 9px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 9999px;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 4px;
}
.hdkd-ev-cal .hdkd-ev-cal__evt-body h4 {
  font-family: inherit;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 0; line-height: 1.25;
}
.hdkd-ev-cal__evt-meta { font-size: 13px; opacity: 0.55; margin: 4px 0 0; }
.hdkd-ev-cal__evt-desc { font-size: 14px; opacity: 0.6; margin: 6px 0 0; line-height: 1.65; }
.hdkd-ev-cal__evt-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 9px; padding-top: 9px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
/* "Mehr erfahren" — plain text link, ALWAYS present (→ single). */
.hdkd-ev-cal__evt-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  color: rgba(0,0,0,0.55); text-decoration: none;
  transition: color 200ms ease-in-out;
}
.hdkd-ev-cal__evt-more:hover { color: #1C8D82; }
/* "Anmelden" — blue pill, only when the event has registration (→ drawer).
   Doubled class + !important beat Uncode's anchor colour. */
.hdkd-ev-cal__evt-book.hdkd-ev-cal__evt-book {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  padding: 9px 18px; border-radius: 9999px; text-decoration: none;
  background: #25AAE1 !important; color: #fff !important;
  transition: background 160ms ease;
}
.hdkd-ev-cal__evt-book.hdkd-ev-cal__evt-book:hover { background: #1f95c6 !important; color: #fff !important; }

/* ============ Responsive ============ */
@media (max-width: 959px) {
  .hdkd-ev-cal__body { grid-template-columns: 1fr; border-radius: 12px; }
  .hdkd-ev-cal__panel { border-left: 0; border-top: 1px solid rgba(0,0,0,0.05); }
}

/* ===== Phone (<=640px): hybrid calendar =====
   The 7-col month grid becomes a compact "date-picker" of square tiles showing
   only the day number + colored event dots; the readable agenda list renders
   below it by default (JS). Filter groups stack: each eyebrow on its own full
   width line above full-width controls — fixes the orphaned "Zeitraum" label. */
@media (max-width: 640px) {
  /* --- filter: compact, hard left-aligned, label-above-control stack ---
     Force left: a full-width eyebrow is a flex item whose *text* follows
     text-align, which Uncode sets to center on mobile columns → eyebrows looked
     centered. Pin everything left and keep controls a normal size (full-width
     selects read as "huge"). */
  .hdkd-ev-cal__filterset { text-align: left; gap: 9px; }
  .hdkd-ev-cal__frow { gap: 6px; justify-content: flex-start; }
  .hdkd-ev-cal__cats { justify-content: flex-start; }
  .hdkd-ev-cal__feyebrow--col,
  .hdkd-ev-cal__feyebrow--gap {
    flex: 1 0 100%;
    margin: 3px 0 0;
    text-align: left;
  }
  .hdkd-ev-cal__pillar,
  .hdkd-ev-cal__cat { padding: 6px 12px; font-size: 12px; }
  .hdkd-ev-cal__pillar i,
  .hdkd-ev-cal__cat i { width: 8px; height: 8px; }
  /* Compact: Suche full-width, then Veranstalter + Zeitraum paired side by side.
     Their controls self-label ("Alle Veranstalter" / "Dieser Monat"), so the
     eyebrows are dropped on mobile. The Veranstalter popover is already a fixed
     280px (max 86vw), so a 47%-wide button doesn't cramp the dropdown. */
  /* !important: the base .hdkd-ev-cal__combo/__search/__sel rules sit LATER in the
     file, so equal-specificity mobile overrides need it to win (same reason the
     original __sel rule used it). */
  .hdkd-ev-cal__feyebrow--gap { display: none; }
  .hdkd-ev-cal__search { flex: 1 1 100% !important; width: 100% !important; max-width: 100%; }
  .hdkd-ev-cal__combo { flex: 1 1 52% !important; min-width: 0 !important; }
  .hdkd-ev-cal__combo-btn { width: 100% !important; }
  .hdkd-ev-cal__sel { flex: 1 1 44% !important; width: auto !important; min-width: 0 !important; max-width: 100%; font-size: 13px; }
  .hdkd-ev-cal__reset { flex: 1 0 100%; justify-content: flex-start; padding: 2px 0 0; text-align: left; }
  /* iOS zooms the page when focusing an input with font-size < 16px — bump the
     search inputs to 16px on mobile so tapping search doesn't zoom the site. */
  .hdkd-ev-cal__search input, .hdkd-ev-cal__combo-search input { font-size: 16px !important; }

  /* --- header stacks --- */
  .hdkd-ev-cal__head { flex-direction: column; align-items: flex-start; gap: 9px; }

  /* --- compact dot tiles --- */
  .hdkd-ev-cal__body { border-radius: 8px; }
  .hdkd-ev-cal__grid-wrap { padding: 10px; }
  .hdkd-ev-cal__grid { gap: 4px; }
  .hdkd-ev-cal__weekdays { gap: 4px; }
  .hdkd-ev-cal__weekdays span { padding-left: 0; text-align: center; }
  .hdkd-ev-cal__day {
    aspect-ratio: 1 / 1;
    padding: 4px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  .hdkd-ev-cal__day--today, .hdkd-ev-cal__day--sel { padding: 3px; }
  .hdkd-ev-cal__num { font-size: 14px; }
  .hdkd-ev-cal__day--today::before { display: none; }
  .hdkd-ev-cal__previews { display: none; }       /* hide title previews… */
  .hdkd-ev-cal__dots {                              /* …show dots instead */
    display: flex; flex-wrap: wrap; gap: 3px;
    justify-content: center; align-items: center;
    margin-top: 0; max-width: 100%;
  }
  /* agenda sits below the grid — give it side padding + a calmer vertical
     rhythm so the cards breathe instead of crowding the edges. */
  .hdkd-ev-cal__panel { padding: 20px 12px 8px; text-align: left; }
  .hdkd-ev-cal__ph { margin-bottom: 20px; padding-bottom: 16px; }
  .hdkd-ev-cal__agenda { gap: 24px; }
  .hdkd-ev-cal__agenda-group { gap: 12px; }
  .hdkd-ev-cal__evts { gap: 12px; }
  .hdkd-ev-cal__evt { padding: 17px 16px; }
  .hdkd-ev-cal__head { text-align: left; }
}

/* ---- Suche (inline free-text search) ---- */
.hdkd-ev-cal__search {
  display: inline-flex; align-items: center; gap: 8px;
  width: 240px; max-width: 100%; padding: 8px 14px;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 9999px; background: #fff;
  transition: border-color 200ms ease, background 200ms ease;
}
.hdkd-ev-cal__search svg { color: rgba(42,37,32,0.4); flex: 0 0 auto; }
.hdkd-ev-cal__search input {
  flex: 1; min-width: 0;
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
  background: transparent !important; padding: 0 !important; margin: 0 !important; height: auto !important;
  font-family: inherit; font-size: 13px; font-weight: 500; color: #2A2520;
}
.hdkd-ev-cal__search input::placeholder { color: rgba(42,37,32,0.45); }
.hdkd-ev-cal__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hdkd-ev-cal__search:focus-within { border-color: #1C8D82; }
.hdkd-ev-cal__search:has(input.is-set) { border-color: #1C8D82; background: rgba(28,141,130,0.06); }

/* ---- Veranstalter custom combo (searchable, scales past a native <select>) ---- */
.hdkd-ev-cal__combo { position: relative; flex: 0 0 auto; }
.hdkd-ev-cal__combo-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 220px; max-width: 100%;
  font-family: inherit; font-size: 13px; font-weight: 500; color: #2A2520;
  padding: 8px 12px 8px 14px;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 9999px; background: #fff;
  cursor: pointer; transition: border-color 200ms ease, background 200ms ease;
}
.hdkd-ev-cal__combo-btn:focus { outline: none; border-color: #1C8D82; }
.hdkd-ev-cal__combo-btn svg { color: #999; flex: 0 0 auto; transition: transform 200ms ease; }
.hdkd-ev-cal__combo-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdkd-ev-cal__combo-btn.is-set { border-color: #1C8D82; background: rgba(28,141,130,0.06); color: #1C8D82; font-weight: 600; }
.hdkd-ev-cal__combo-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdkd-ev-cal__combo-pop {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  width: 280px; max-width: 86vw;
  background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px;
  box-shadow: 0 12px 34px rgba(16,24,40,0.14); overflow: hidden;
}
.hdkd-ev-cal__combo-pop[hidden] { display: none; }
.hdkd-ev-cal__combo-search {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1px solid rgba(0,0,0,0.07);
}
.hdkd-ev-cal__combo-search svg { color: rgba(42,37,32,0.4); flex: 0 0 auto; }
.hdkd-ev-cal__combo-search input {
  flex: 1; min-width: 0;
  border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important;
  padding: 0 !important; margin: 0 !important; height: auto !important;
  font-family: inherit; font-size: 13.5px; color: #2A2520;
}
.hdkd-ev-cal__combo-search input::placeholder { color: rgba(42,37,32,0.45); }
.hdkd-ev-cal__combo-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.hdkd-ev-cal__combo-grp {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(42,37,32,0.45); padding: 10px 12px 4px;
}
.hdkd-ev-cal__combo-opt {
  font-size: 13.5px; color: #2A2520; padding: 9px 12px; border-radius: 9px; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hdkd-ev-cal__combo-opt:hover { background: rgba(28,141,130,0.08); color: #136B62; }
.hdkd-ev-cal__combo-opt.is-sel { background: rgba(28,141,130,0.12); color: #136B62; font-weight: 600; }
.hdkd-ev-cal__combo-empty { font-size: 13px; color: #8a857c; padding: 12px; text-align: center; }
