/* ═══════════════════════════════════════════════════════════════
   Community Schedule – layout, calendar grid, views, modals
   ═══════════════════════════════════════════════════════════════ */

/* ── Wrapper ───────────────────────────────────────────────────── */
.hcs-wrap {
  color: #1e2130;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 24px 40px;
}

/* ── Section header ────────────────────────────────────────────── */
.hcs-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 20px;
}

.hcs-header__left {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.hcs-header__icon {
  align-items: center;
  background: #efb536;
  border-radius: 14px;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  height: 48px;
  justify-content: center;
  max-height: 48px;
  max-width: 48px;
  overflow: hidden;
  width: 48px;
}

.hcs-header__icon svg {
  display: block;
  height: 24px;
  width: 24px;
}

.hcs-header__copy {
  min-width: 0;
}

.hcs-header__title {
  color: #171a21;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.hcs-header__sub {
  color: #6d7485;
  font-size: 13px;
  margin: 4px 0 0;
}

.hcs-header__right {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

/* ── View tabs (Month / Week / Day / List) ─────────────────────── */
.hcs-tabs {
  background: #f0f2f5;
  border-radius: 10px;
  display: flex;
  gap: 2px;
  padding: 3px;
}

.hcs-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #68707f;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  transition: background 0.14s, color 0.14s;
  white-space: nowrap;
}

.hcs-tab.is-active {
  background: #1a1f2e;
  color: #fff;
  font-weight: 600;
}

.hcs-tab:not(.is-active):hover {
  background: #e3e6ec;
  color: #2d3340;
}

/* ── Create Event button ───────────────────────────────────────── */
.hcs-create-btn {
  align-items: center;
  appearance: none;
  background: #efb536;
  border: 0;
  border-radius: 999px;
  color: #1a1200;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
  padding: 10px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.hcs-create-btn svg {
  display: block;
  height: 16px;
  width: 16px;
}

.hcs-create-btn:hover {
  box-shadow: 0 8px 22px rgba(239, 181, 54, 0.35);
  transform: translateY(-1px);
}

/* ── Calendar navigation bar ───────────────────────────────────── */
.hcs-nav {
  align-items: center;
  display: flex;
  gap: 20px;
  padding: 0 0 14px;
}

.hcs-nav__arrows {
  align-items: center;
  display: flex;
  gap: 4px;
}

.hcs-nav-btn {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hcs-nav-btn--arrow {
  align-items: center;
  border: 1px solid #dfe2e9;
  border-radius: 8px;
  color: #68707f;
  display: flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  transition: background 0.12s, border-color 0.12s;
  width: 34px;
}

.hcs-nav-btn--arrow svg {
  display: block;
  height: 16px;
  width: 16px;
}

.hcs-nav-btn--arrow:hover {
  background: #f4f5f8;
  border-color: #bcc0ca;
}

.hcs-nav-btn--today {
  border: 1px solid #dfe2e9;
  border-radius: 999px;
  color: #5c6270;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  transition: background 0.12s, border-color 0.12s;
}

.hcs-nav-btn--today:hover {
  background: #f4f5f8;
  border-color: #bcc0ca;
}

.hcs-nav__month {
  color: #1a1f2e;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Calendar board (month / week) ─────────────────────────────── */
.hcs-board {
  background: #fff;
  border: 1px solid #e5e7ed;
  border-radius: 14px;
  overflow: hidden;
}

.hcs-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hcs-weekdays span {
  border-bottom: 1px solid #eceef2;
  color: #3a3f50;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 11px 10px;
  text-align: center;
}

/* ── Day cells ─────────────────────────────────────────────────── */
.hcs-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hcs-day {
  border-right: 1px solid #eceef2;
  border-top: 1px solid #eceef2;
  min-height: 120px;
  padding: 8px 8px 10px;
  position: relative;
}

.hcs-day:nth-child(7n) {
  border-right: 0;
}

.hcs-day.is-outside {
  background: #fafbfc;
}

.hcs-day.is-outside .hcs-day__num {
  color: #c0c5d0;
}

.hcs-day.is-today {
  background: linear-gradient(180deg, rgba(255, 243, 220, 0.6), rgba(255,255,255,0));
}

/* Day number row */
.hcs-day__top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.hcs-day__num {
  color: #2a2f3e;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  height: 24px;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  border-radius: 50%;
}

.hcs-day.is-today .hcs-day__num {
  background: #efb536;
  color: #fff;
  font-weight: 700;
}

.hcs-day__count {
  background: #eef0f6;
  border-radius: 999px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
}

/* ── Event pills ───────────────────────────────────────────────── */
.hcs-day__events {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hcs-pill {
  align-items: center;
  appearance: none;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 5px;
  overflow: hidden;
  padding: 4px 6px;
  text-align: left;
  width: 100%;
}

.hcs-pill__dot {
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  height: 6px;
  width: 6px;
}

.hcs-pill__text {
  display: block;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Teal variant */
.hcs-pill--teal {
  background: rgba(32, 185, 175, 0.12);
  color: #0f8c83;
}
.hcs-pill--teal .hcs-pill__dot {
  background: #20b9af;
}

/* Orange variant */
.hcs-pill--orange {
  background: rgba(239, 120, 30, 0.12);
  color: #b85c0a;
}
.hcs-pill--orange .hcs-pill__dot {
  background: #ef781e;
}

/* Purple variant */
.hcs-pill--purple {
  background: rgba(99, 102, 241, 0.11);
  color: #4449b8;
}
.hcs-pill--purple .hcs-pill__dot {
  background: #6366f1;
}

/* Blue variant */
.hcs-pill--blue {
  background: rgba(45, 140, 255, 0.11);
  color: #1763c9;
}
.hcs-pill--blue .hcs-pill__dot {
  background: #2d8cff;
}

.hcs-pill:hover {
  filter: brightness(0.94);
}

.hcs-pill--more {
  background: transparent;
  color: #8a91a0;
  cursor: default;
  font-size: 11px;
  padding: 2px 4px;
}

/* ── Week board cells ──────────────────────────────────────────── */
.hcs-days--week .hcs-day {
  min-height: 160px;
}

/* ── Day view ──────────────────────────────────────────────────── */
.hcs-day-view {
  background: #fff;
  border: 1px solid #e5e7ed;
  border-radius: 14px;
  min-height: 200px;
  padding: 20px;
}

.hcs-day-view__heading {
  color: #8a91a0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.hcs-day-view__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── List view ─────────────────────────────────────────────────── */
.hcs-list-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hcs-list-card {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7ed;
  border-radius: 14px;
  display: grid;
  gap: 16px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 18px;
}

.hcs-list-card__date {
  align-items: center;
  background: #f3f5f9;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  padding: 10px 6px;
  text-align: center;
}

.hcs-list-card__wday {
  color: #8a91a0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.hcs-list-card__mday {
  color: #1e2130;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 3px;
}

.hcs-list-card__mon {
  color: #6d7485;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}

.hcs-list-card__title {
  color: #1e2130;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.hcs-list-card__meta {
  color: #6d7485;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 6px 14px;
}

.hcs-list-card__view {
  appearance: none;
  background: #fff;
  border: 1px solid #dde0e8;
  border-radius: 999px;
  color: #2a2f3e;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  transition: background 0.12s;
  white-space: nowrap;
}

.hcs-list-card__view:hover {
  background: #f4f5f8;
}

/* ── Empty state ───────────────────────────────────────────────── */
.hcs-empty {
  background: #fff;
  border: 1px solid #e5e7ed;
  border-radius: 14px;
  color: #8a91a0;
  font-size: 14px;
  padding: 48px 20px;
  text-align: center;
}

.hcs-empty strong {
  color: #2a2f3e;
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

/* ── Utility: hidden ───────────────────────────────────────────── */
.is-hidden {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Event detail modal  (.hc-ev-modal)
   ═══════════════════════════════════════════════════════════════ */

.hc-ev-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1300;
}

.hc-ev-modal[aria-hidden="true"],
.hc-ev-modal[hidden] {
  display: none;
}

.hc-ev-modal__backdrop {
  background: rgba(20, 22, 30, 0.62);
  inset: 0;
  position: absolute;
}

.hc-ev-modal__dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(10, 14, 26, 0.26);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  overflow-y: auto;
  position: relative;
  width: min(430px, calc(100vw - 28px));
  z-index: 1;
}

.hc-ev-modal__close {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  color: #3d4350;
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  z-index: 10;
}

.hc-ev-modal__close svg {
  display: block;
  height: 16px;
  width: 16px;
}

.hc-ev-modal__cover {
  background: linear-gradient(135deg, #f3ece3, #e8edf5);
  min-height: 220px;
  position: relative;
}

.hc-ev-modal__cover-img {
  display: block;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.hc-ev-modal__cover-placeholder {
  height: 220px;
}

.hc-ev-modal__admin-bar {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 10;
}

.hc-ev-modal__dots {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  display: flex;
  gap: 3px;
  height: 34px;
  justify-content: center;
  padding: 0 10px;
}

.hc-ev-modal__dots span {
  background: #3d4350;
  border-radius: 50%;
  display: block;
  height: 4px;
  width: 4px;
}

.hc-ev-modal__dots-menu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(10, 14, 26, 0.18);
  min-width: 170px;
  padding: 6px 0;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
}

.hc-ev-modal__dots-menu[aria-hidden="true"] {
  display: none;
}

.hc-ev-modal__dots-menu button,
.hc-ev-modal__cal-item {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #23262f;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  gap: 10px;
  padding: 10px 18px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.hc-ev-modal__dots-menu button:hover,
.hc-ev-modal__cal-item:hover {
  background: #f5f6fa;
}

.hc-ev-modal__dots-menu button svg {
  flex-shrink: 0;
  height: 15px;
  opacity: 0.6;
  width: 15px;
}

.hc-ev-modal__body {
  padding: 22px 24px 26px;
}

.hc-ev-modal__title {
  color: #171a21;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
}

.hc-ev-modal__when {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.hc-ev-modal__icon {
  color: #6b7280;
  flex-shrink: 0;
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.hc-ev-modal__datetime {
  color: #23262f;
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.hc-ev-modal__tz {
  color: #8a91a0;
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.hc-ev-modal__location {
  margin-bottom: 16px;
}

.hc-ev-location-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.hc-ev-badge {
  align-items: center;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  min-width: 28px;
  padding: 0 5px;
}

.hc-ev-badge--zoom  { background: #2d8cff; }
.hc-ev-badge--meet  { background: #00897b; }
.hc-ev-badge--skool { background: #1a1a2e; }
.hc-ev-badge--addr  { background: #e74c3c; }
.hc-ev-badge--link  { background: #6366f1; }

.hc-ev-location-link {
  color: #3b5bff;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-ev-location-link:hover {
  text-decoration: underline;
}

.hc-ev-location-text {
  color: #3d4350;
  font-size: 14px;
}

.hc-ev-modal__desc {
  color: #54596a;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.hc-ev-modal__foot {
  margin-top: 4px;
}

.hc-ev-modal__cal-wrap {
  position: relative;
}

.hc-ev-modal__cal-btn {
  align-items: center;
  appearance: none;
  background: #3b5bff;
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.04em;
  padding: 14px 20px;
  width: 100%;
}

.hc-ev-modal__cal-btn svg {
  height: 18px;
  width: 18px;
}

.hc-ev-modal__chevron {
  height: 16px !important;
  margin-left: auto;
  width: 16px !important;
}

.hc-ev-modal__cal-menu {
  background: #fff;
  border-radius: 12px;
  bottom: calc(100% + 8px);
  box-shadow: 0 8px 32px rgba(10, 14, 26, 0.16);
  left: 0;
  padding: 6px 0;
  position: absolute;
  right: 0;
  z-index: 10;
}

.hc-ev-modal__cal-menu[aria-hidden="true"] {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   Create / Edit event form modal  (.hc-calendar-modal)
   ═══════════════════════════════════════════════════════════════ */

.hc-calendar-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1200;
}

.hc-calendar-modal[aria-hidden="true"],
.hc-calendar-modal[hidden] {
  display: none;
}

.hc-calendar-modal__backdrop {
  background: rgba(33, 36, 44, 0.64);
  inset: 0;
  position: absolute;
}

.hc-calendar-modal__dialog {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(9, 12, 18, 0.22);
  max-height: calc(100vh - 48px);
  overflow: auto;
  position: relative;
  width: min(640px, calc(100vw - 32px));
  z-index: 1;
}

.hc-calendar-form {
  padding: 28px 28px 24px;
}

.hc-calendar-form__head h3 {
  color: #23262f;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.hc-calendar-form__head p {
  color: #8a90a0;
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.hc-calendar-field,
.hc-calendar-stack {
  display: block;
}

.hc-calendar-field input,
.hc-calendar-field textarea,
.hc-calendar-stack input,
.hc-calendar-stack select {
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 4px;
  color: #23262f;
  font: inherit;
  width: 100%;
}

.hc-calendar-field--title {
  margin-top: 20px;
  position: relative;
}

.hc-calendar-field--title input {
  font-size: 16px;
  padding: 18px 16px;
}

.hc-calendar-counter {
  bottom: -20px;
  color: #9aa1ae;
  font-size: 12px;
  position: absolute;
  right: 0;
}

.hc-calendar-row {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.hc-calendar-row--timing   { grid-template-columns: 1.1fr 0.72fr 0.92fr 1.6fr; }
.hc-calendar-row--location { grid-template-columns: 0.9fr 1fr; margin-top: 16px; }
.hc-calendar-row--access   { align-items: start; grid-template-columns: 1fr 1fr; margin-top: 26px; }

.hc-calendar-stack span {
  color: #888f9d;
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.hc-calendar-stack input,
.hc-calendar-stack select {
  min-height: 42px;
  padding: 0 12px;
}

.hc-calendar-field--inline input {
  min-height: 42px;
  padding: 0 12px;
}

.hc-calendar-field--textarea {
  margin-top: 18px;
  position: relative;
}

.hc-calendar-field--textarea textarea {
  min-height: 116px;
  padding: 14px 14px 22px;
  resize: vertical;
}

.hc-calendar-checkbox {
  align-items: center;
  color: #3d4350;
  display: inline-flex;
  font-size: 14px;
  gap: 10px;
  margin-top: 18px;
}

.hc-calendar-checkbox input {
  accent-color: #4a63ff;
  height: 16px;
  margin: 0;
  width: 16px;
}

.hc-calendar-cover {
  border: 1px solid #e1e4ea;
  border-radius: 10px;
  cursor: pointer;
  min-height: 150px;
  padding: 20px;
}

.hc-calendar-cover__label {
  align-items: center;
  color: #4365ff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: center;
  text-align: center;
}

.hc-calendar-cover__label strong {
  font-size: 18px;
  font-weight: 500;
}

.hc-calendar-cover__label small {
  color: #9aa1ae;
  font-size: 12px;
}

.hc-calendar-access h4 {
  color: #23262f;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hc-calendar-access__item {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 16px auto minmax(120px, 1fr);
  margin-top: 14px;
}

.hc-calendar-access__item:first-of-type {
  grid-template-columns: 16px auto;
}

.hc-calendar-access__item input[type="radio"] {
  accent-color: #4a63ff;
  height: 18px;
  margin: 0;
  width: 18px;
}

.hc-calendar-access__item span {
  color: #313742;
  font-size: 14px;
}

.hc-calendar-access__item select {
  min-height: 36px;
  padding: 0 10px;
}

.hc-calendar-form__foot {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

.hc-calendar-form__actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.hc-calendar-btn {
  appearance: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  min-width: 86px;
  padding: 12px 16px;
}

.hc-calendar-btn--ghost   { background: transparent; color: #848b98; }
.hc-calendar-btn--primary { background: #dadde4; color: #7e8593; }
.hc-calendar-btn--primary.is-ready { background: #4a63ff; color: #fff; }
.hc-calendar-btn--danger  { background: #fee2e2; color: #b91c1c; }
.hc-calendar-btn--danger:hover { background: #fecaca; }

.hc-calendar-form__feedback {
  color: #d34a43;
  font-size: 13px;
  margin-top: 14px;
  min-height: 18px;
}

.hc-calendar-hint-link {
  appearance: none;
  background: transparent;
  border: 0;
  color: #4467ff;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  padding: 0;
  transition: color 0.15s;
}

.hc-calendar-hint-link:hover {
  color: #2040e0;
  text-decoration: underline;
}

body.hc-calendar-modal-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .hcs-wrap {
    padding: 18px 14px 32px;
  }

  .hcs-header {
    flex-direction: column;
    align-items: stretch;
  }

  .hcs-header__right {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hcs-create-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .hcs-day {
    min-height: 90px;
    padding: 6px 5px 8px;
  }

  .hcs-day__num {
    font-size: 11px;
    height: 20px;
    min-width: 20px;
  }

  .hcs-weekdays span {
    font-size: 10px;
    padding: 8px 2px;
  }

  .hcs-pill__text {
    font-size: 10px;
  }

  .hcs-nav__month {
    font-size: 16px;
  }

  .hcs-list-card {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .hcs-list-card__view {
    display: none;
  }

  .hc-calendar-row--timing,
  .hc-calendar-row--location,
  .hc-calendar-row--access {
    grid-template-columns: 1fr;
  }

  .hc-calendar-form__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hc-calendar-form__actions {
    justify-content: flex-end;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hcs-tabs {
    flex: 1;
    justify-content: stretch;
  }

  .hcs-tab {
    flex: 1;
    padding: 7px 6px;
    text-align: center;
  }

  .hc-ev-modal__dialog {
    border-radius: 14px;
  }

  .hc-ev-modal__body {
    padding: 18px 18px 22px;
  }

  .hc-ev-modal__cover,
  .hc-ev-modal__cover-img,
  .hc-ev-modal__cover-placeholder {
    height: 180px;
    min-height: 180px;
  }

  .hc-ev-modal__title {
    font-size: 19px;
  }

  .hc-calendar-form {
    padding: 22px 18px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   High-specificity overrides – guard against global CSS conflicts
   ═══════════════════════════════════════════════════════════════ */

#hcCommunitySchedule.hcs-wrap {
  display: flex !important;
  flex-direction: column !important;
}

#hcCommunitySchedule .hcs-header {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
}

#hcCommunitySchedule .hcs-header__left {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 14px !important;
}

#hcCommunitySchedule .hcs-header__icon {
  flex-shrink: 0 !important;
  height: 48px !important;
  max-height: 48px !important;
  max-width: 48px !important;
  overflow: hidden !important;
  width: 48px !important;
}

#hcCommunitySchedule .hcs-header__icon svg {
  display: block !important;
  height: 24px !important;
  max-height: 24px !important;
  max-width: 24px !important;
  width: 24px !important;
}

#hcCommunitySchedule .hcs-header__right {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  flex-shrink: 0 !important;
  gap: 12px !important;
}

#hcCommunitySchedule .hcs-tabs {
  display: flex !important;
  flex-direction: row !important;
}

#hcCommunitySchedule .hcs-nav {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
}

#hcCommunitySchedule .hcs-nav__arrows {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
}

#hcCommunitySchedule .hcs-nav-btn--arrow {
  align-items: center !important;
  display: flex !important;
  height: 34px !important;
  justify-content: center !important;
  width: 34px !important;
}

#hcCommunitySchedule .hcs-nav-btn--arrow svg {
  display: block !important;
  height: 16px !important;
  max-height: 16px !important;
  max-width: 16px !important;
  width: 16px !important;
}

#hcCommunitySchedule .hcs-create-btn {
  align-items: center !important;
  display: inline-flex !important;
}

#hcCommunitySchedule .hcs-create-btn svg {
  display: block !important;
  height: 16px !important;
  max-height: 16px !important;
  max-width: 16px !important;
  width: 16px !important;
}
