/*
 * Temporary live-release overlay for the committee site.
 *
 * The deployed 2026-09-06 frontend uses fixed-width data tables. On a phone
 * they are clipped because the document intentionally hides page-level
 * horizontal overflow. Preserve desktop tables and convert only their mobile
 * presentation into labelled records.
 */
@media (max-width: 40rem) {
  .dates-table-wrap,
  .dates-schedule__table-wrap,
  .workshop-schedule__table-wrap,
  .general-info__table-wrap,
  .general-info__activity-table-wrap {
    overflow-x: hidden !important;
  }

  .dates-table,
  .dates-schedule-table,
  .workshop-schedule-table,
  .general-info__table,
  .general-info__activity-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
  }

  .dates-table thead,
  .dates-schedule-table thead,
  .workshop-schedule-table thead,
  .general-info__table thead,
  .general-info__activity-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .dates-table tbody,
  .dates-schedule-table tbody,
  .workshop-schedule-table tbody,
  .general-info__table tbody,
  .general-info__activity-table tbody {
    display: block;
  }

  .dates-table tr,
  .general-info__table tr {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    border-bottom: 1px solid var(--color-rule, var(--dates-line));
  }

  .dates-table tr {
    grid-template-columns: minmax(0, 1fr);
  }

  .dates-schedule-table tr,
  .workshop-schedule-table tr,
  .general-info__activity-table tr {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    border-bottom: 1px solid var(--color-rule, var(--dates-line));
  }

  .dates-table tbody tr:last-child,
  .dates-schedule-table tbody tr:last-child,
  .workshop-schedule-table tbody tr:last-child,
  .general-info__table tbody tr:last-child,
  .general-info__activity-table tbody tr:last-child {
    border-bottom: 0;
  }

  .dates-table td,
  .dates-schedule-table td,
  .workshop-schedule-table td,
  .general-info__table td,
  .general-info__activity-table td {
    display: grid;
    gap: var(--space-2xs, 0.5rem);
    width: auto !important;
    min-width: 0;
    padding: var(--space-sm, 0.875rem) !important;
    border: 0 !important;
    text-align: left !important;
  }

  .dates-schedule-table td:nth-child(3),
  .dates-schedule-table td:nth-child(4),
  .workshop-schedule-table td:nth-child(3),
  .workshop-schedule-table td:nth-child(4),
  .general-info__activity-table td:nth-child(3),
  .general-info__activity-table td:nth-child(4) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--color-rule, var(--dates-line)) !important;
  }

  .dates-table td::before,
  .dates-schedule-table td::before,
  .workshop-schedule-table td::before,
  .general-info__table td::before,
  .general-info__activity-table td::before {
    color: var(--color-ink, var(--dates-ink));
    font-size: var(--text-xs, 0.78rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .dates-table td > *,
  .dates-schedule-table td > *,
  .workshop-schedule-table td > *,
  .general-info__table td > *,
  .general-info__activity-table td > * {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .dates-table td {
    grid-template-columns: minmax(4.75rem, 0.58fr) minmax(0, 1.42fr);
  }

  .dates-table td:first-child,
  .dates-table__event,
  .dates-table__event-cell,
  .dates-table__event-cell > :last-child {
    max-width: 100% !important;
    min-width: 0;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    word-break: break-word;
  }

  .dates-table__event-cell {
    display: block !important;
    width: 100%;
  }

  .dates-table td:first-child::before { content: "Event"; }
  .dates-table td:last-child::before { content: "Date"; }

  .dates-schedule-table td:first-child::before,
  .workshop-schedule-table td:first-child::before,
  .general-info__activity-table td:first-child::before { content: "Day"; }

  .dates-schedule-table td:nth-child(2)::before,
  .workshop-schedule-table td:nth-child(2)::before,
  .general-info__activity-table td:nth-child(2)::before { content: "Date"; }

  .dates-schedule-table td:nth-child(3)::before,
  .workshop-schedule-table td:nth-child(3)::before,
  .general-info__activity-table td:nth-child(3)::before { content: "Schedule"; }

  .dates-schedule-table td:nth-child(4)::before,
  .workshop-schedule-table td:nth-child(4)::before,
  .general-info__activity-table td:nth-child(4)::before { content: "Time"; }

  .general-info__table td:first-child::before { content: "Presentation type"; }
  .general-info__table td:last-child::before { content: "Requirements"; }

  .dates-table time,
  .dates-schedule-table time,
  .workshop-schedule-table time,
  .general-info__activity-table time {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  .dates-table time {
    font-size: 0.92rem;
  }

  .dates-schedule-table__activity,
  .workshop-schedule-table__sessions,
  .workshop-schedule-table__times,
  .general-info__activity-table td:nth-child(3) {
    min-width: 0;
    width: 100%;
  }

  .dates-table__event-cell > :last-child,
  .dates-schedule-table__activity > :last-child {
    min-width: 0;
  }
}.registration-fee-table th:nth-child(3),
.registration-fee-table td:nth-child(3),
.registration-fee-card .registration-fee__description,
.registration-fee-card .registration-fee__requirements {
  display: none !important;
}
.general-info__activity-table th:nth-child(4),
.general-info__activity-table td:nth-child(4) {
  display: none !important;
}

.general-info__activity-table th:nth-child(3),
.general-info__activity-table td:nth-child(3) {
  width: auto !important;
}

/* Render committee members as a simple bullet list. */
.committee-members {
  display: block !important;
}
.committee-member {
  display: list-item !important;
  list-style: disc outside !important;
  margin: 0 0 0.75rem !important;
  padding: 0 0 0 0.35rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.committee-member__index,
.committee-member__icon {
  display: none !important;
}
.committee-member > div {
  display: inline !important;
}
.committee-member h3,
.committee-member p {
  display: inline !important;
  margin: 0 !important;
}
.committee-member h3::after {
  content: " — ";
}

/* Tighten spacing between committee bullet items. */
.committee-member {
  margin-bottom: 0.35rem !important;
}

/* Compact two-column committee bullet list on desktop. */
.committee-members {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 2rem !important;
  row-gap: 0.35rem !important;
}
.committee-member {
  margin-bottom: 0 !important;
}
@media (max-width: 40rem) {
  .committee-members {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
  }
}

/* Final committee layout: one compact row per person. */
.committee-members {
  display: block !important;
}
.committee-member {
  margin: 0 0 0.18rem !important;
  line-height: 1.35 !important;
}

/* Remove the original card height for compact committee bullets. */
.committee-member {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 0.18rem !important;
  padding: 0 0 0 0.35rem !important;
  line-height: 1.35 !important;
}
