.programPage {
  padding-bottom: 48px;
}

.programPage .programMeta {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.programPage .programMeta p {
  margin: 0;
  color: var(--text);
}

.programPage .programUpdate {
  margin-top: 8px;
  display: inline-block;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(192,0,0,.08);
  border: 1px solid rgba(192,0,0,.16);
  color: var(--brand2);
  font-size: 14px;
}

.programPage .programFacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 16px 0 22px;
}

.programPage .factCard {
  padding: 10px 13px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbfbfc);
  border: 1px solid rgba(192,0,0,.10);
  box-shadow: 0 8px 22px rgba(143,0,0,.06);
}

.programPage .factCard strong {
  display: block;
  font-size: 24px;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.programPage .anchorNav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.programPage .controls {
  background: #ffffff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  box-shadow: 0 8px 22px rgba(143,0,0,.05);
  margin-bottom: 22px;
}

.programPage .filterActions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.programPage .filterActions .btn {
  width: 100%;
  min-height: 45px;
}

.programPage .filterActions .btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.programPage .filterStatus {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.programPage input,
.programPage select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
}

.programPage .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
}

.programPage .muted {
  color: var(--muted);
  font-size: 14px;
}

.programPage .timeline {
  display: grid;
  gap: 14px;
}

.programPage .timeline-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: start;
}

.programPage .time-badge {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(143,0,0,.16);
}

.programPage .timeline-body,
.programPage .card,
.programPage .table-wrap {
  background: #ffffff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(143,0,0,.05);
}

.programPage .timeline-body h3,
.programPage .card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.programPage .mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.programPage .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.programPage .mini-card {
  border: 1px solid rgba(17,24,39,.10);
  background: #fbfcff;
  border-radius: 14px;
  padding: 12px;
  min-height: 88px;
}

.programPage .mini-room {
  font-size: 12px;
  color: var(--brand2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.programPage .mini-title {
  font-weight: 700;
  margin-top: 5px;
}

.programPage .mini-desc,
.programPage .paper-authors {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.programPage .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.programPage .card-meta span,
.programPage .tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(192,0,0,.08);
  color: var(--brand);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.programPage .field {
  border-top: 1px solid rgba(17,24,39,.10);
  padding-top: 12px;
  margin-top: 12px;
}

.programPage .field strong {
  color: var(--brand);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.programPage .field p,
.programPage details p {
  margin: 6px 0 0;
  color: #2c3445;
}

.programPage details {
  margin-top: 12px;
  border-top: 1px solid rgba(17,24,39,.10);
  padding-top: 12px;
}

.programPage summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 700;
}

.programPage .paper-list {
  padding-left: 22px;
  margin: 10px 0 0;
}

.programPage .paper-list li {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(17,24,39,.10);
}

.programPage .paper-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.programPage .paper-title {
  font-weight: 700;
}

.programPage .table-wrap {
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.programPage table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.programPage th,
.programPage td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(17,24,39,.10);
  vertical-align: top;
  text-align: left;
}

.programPage th {
  background: #f8f5f5;
  color: var(--brand);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.programPage tr:hover td {
  background: #fff8f8;
}

.programPage .nowrap {
  white-space: nowrap;
  font-weight: 700;
  color: var(--brand);
}

.programPage .download-note {
  background: #fff8e9;
  border: 1px solid #ead7a5;
  border-radius: 16px;
  padding: 14px 16px;
  color: #5a4421;
}

.programPage .hidden {
  display: none !important;
}

.programPage .empty {
  display: none;
  text-align: center;
  padding: 28px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed rgba(17,24,39,.10);
  border-radius: 18px;
}

@media (max-width: 860px) {
  .programPage .controls {
    grid-template-columns: 1fr;
  }

  .programPage .anchorNav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .programPage .anchorNav .btn {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .programPage .timeline-row {
    grid-template-columns: 1fr;
  }

  .programPage .time-badge {
    position: static;
    text-align: left;
    width: max-content;
  }

  .programPage .table-wrap {
    overflow-x: auto;
    padding: 0;
  }

  .programPage th,
  .programPage td {
    min-width: 150px;
  }

  .programPage th:nth-child(2),
  .programPage td:nth-child(2) {
    min-width: 320px;
  }

  .programPage td:first-child,
  .programPage th:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
  }

  .programPage tr:hover td:first-child {
    background: #fff8f8;
  }
}

@media print {
  .programPage .controls,
  .programPage .anchorNav {
    display: none;
  }

  .programPage .card,
  .programPage .timeline-body,
  .programPage .table-wrap {
    box-shadow: none;
    break-inside: avoid;
  }
}
