:root {
  --bg: #f7f2e8;
  --surface: rgba(255, 248, 239, 0.88);
  --surface-strong: #fffaf4;
  --ink: #17313b;
  --muted: #587780;
  --line: rgba(23, 49, 59, 0.12);
  --teal: #248d91;
  --teal-deep: #165f66;
  --orange: #ff5b23;
  --amber: #f8bc58;
  --red: #d6383d;
  --pink: #e97ab2;
  --lime: #b8da5b;
  --shadow: 0 14px 32px rgba(17, 43, 48, 0.1);
  --card-shadow: 0 7px 16px rgba(23, 49, 59, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(233, 122, 178, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(184, 218, 91, 0.18), transparent 24%),
    linear-gradient(180deg, #fff5e6 0%, #f8f3eb 42%, #f7f2e8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-shell--page {
  background:
    radial-gradient(circle at top left, rgba(233, 122, 178, 0.08), transparent 24%),
    linear-gradient(180deg, #fff7ea 0%, #f7f2e8 100%);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(15, 110, 117, 0.96), rgba(36, 141, 145, 0.92)),
    var(--teal);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -3rem 0;
  height: 8rem;
  background: linear-gradient(180deg, rgba(248, 242, 232, 0), var(--bg));
}

.topbar,
.hero-panel,
.panel,
.bottom-nav {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0;
  gap: 1rem;
}

.topbar--page {
  padding-top: 1rem;
}

.brand img {
  display: block;
  width: clamp(180px, 28vw, 360px);
  height: auto;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ghost-link {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 160ms ease;
}

.ghost-link:hover,
.ghost-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.ghost-link.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 6rem;
}

.hero-copy h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 55ch;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.chip-row,
.panel-heading,
.speaker-toolbar,
.venue-grid,
.future-grid,
.hero-location {
  display: flex;
}

.hero-location {
  gap: 0.55rem;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-actions {
  gap: 0.9rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.inline-button,
.chip,
.drawer-close {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.primary-button,
.secondary-button,
.inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
}

.primary-button {
  background: linear-gradient(135deg, #ff7c28, var(--orange));
  color: white;
  box-shadow: 0 12px 30px rgba(255, 91, 35, 0.28);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-art {
  position: relative;
}

.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.24);
  transform: rotate(-1.5deg);
}

.panel {
  padding: 3.2rem 0;
}

.panel-page {
  padding-top: 2rem;
}

.page-masthead {
  background:
    linear-gradient(140deg, rgba(15, 110, 117, 0.98), rgba(36, 141, 145, 0.92)),
    var(--teal);
  color: white;
  padding-bottom: 2rem;
}

.page-intro,
.topbar--page {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.page-intro {
  padding-top: 1.75rem;
}

.page-intro h1 {
  margin: 0.4rem 0 0.75rem;
  max-width: 18ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-intro p:last-child {
  max-width: 60ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.panel-highlight,
.panel-contrast,
.panel-future {
  position: relative;
}

.panel-highlight::before,
.panel-contrast::before,
.panel-future::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 1rem), calc(var(--max-width) + 1rem));
  inset: 1rem auto 0;
  border-radius: 36px;
  z-index: -1;
}

.panel-highlight::before {
  background:
    linear-gradient(135deg, rgba(247, 188, 88, 0.14), rgba(255, 91, 35, 0.08)),
    var(--surface);
  box-shadow: var(--shadow);
}

/* Agendas can be thousands of pixels tall. Avoid page-sized gradients and a
   blurred panel shadow: these create large paint surfaces on software renderers.
   Keep decoration on the bounded masthead and individual cards instead. */
body[data-page="matrix"],
body[data-page="programme"],
body[data-page="matrix"] .site-shell--page,
body[data-page="programme"] .site-shell--page {
  background: var(--bg);
}

body[data-page="matrix"] .panel-contrast::before,
body[data-page="programme"] .panel-contrast::before {
  content: none;
}

.panel-contrast::before {
  background:
    linear-gradient(135deg, rgba(36, 141, 145, 0.08), rgba(184, 218, 91, 0.1)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.panel-future::before {
  background:
    linear-gradient(135deg, rgba(233, 122, 178, 0.08), rgba(36, 141, 145, 0.08)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.panel-heading {
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.panel-heading h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.section-label {
  color: var(--orange);
}

.microcopy,
.status-pill,
.session-meta,
.venue-list,
.future-card p,
.speaker-card p,
.track-card p,
.stack-item p {
  color: var(--muted);
}

.status-pill {
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 0.35rem rgba(184, 218, 91, 0.24);
}

.now-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.now-card,
.stack-item,
.programme-card,
.track-card,
.speaker-card,
.venue-card,
.future-card,
.detail-block {
  background: #fffdf9;
  border: 1px solid rgba(23, 49, 59, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.now-card {
  padding: 1.5rem;
}

.now-card-current {
  background:
    linear-gradient(140deg, rgba(255, 91, 35, 0.9), rgba(214, 56, 61, 0.88)),
    var(--orange);
  color: white;
}

.now-card-current .card-kicker,
.now-card-current .session-meta,
.now-card-current .track-chip {
  color: rgba(255, 255, 255, 0.84);
}

.now-card-current .inline-button {
  background: white;
  color: var(--red);
}

.now-card h3,
.column-heading h3,
.track-card h3,
.speaker-card h3,
.venue-card h3,
.future-card h3,
.detail-block h3 {
  margin: 0.4rem 0 0.7rem;
  font-size: 1.35rem;
  line-height: 1.06;
}

.column-heading p,
.hero-text,
.programme-summary,
.detail-block p,
.drawer-meta,
.speaker-role,
.track-card p,
.future-card p,
.venue-card p,
.venue-list {
  margin: 0;
}

.next-column {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stack-item {
  padding: 1rem 1.1rem;
}

.stack-item button,
.programme-card button,
.detail-link-button,
.speaker-card button,
.track-card button {
  margin-top: 0.85rem;
  background: transparent;
  color: var(--teal-deep);
  font-weight: 700;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.chip-row {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-deep);
  border: 1px solid transparent;
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.chip:hover,
.chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(36, 141, 145, 0.28);
  outline: none;
}

.chip.is-active {
  background: var(--teal-deep);
  color: white;
}

.chip-row-muted .chip:not(.is-active) {
  background: rgba(36, 141, 145, 0.08);
}

.programme-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.programme-slot {
  padding: 1.15rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 49, 59, 0.08);
  box-shadow: 0 6px 14px rgba(23, 49, 59, 0.06);
}

.programme-slot-special {
  background:
    linear-gradient(135deg, rgba(248, 188, 88, 0.22), rgba(255, 91, 35, 0.12)),
    rgba(255, 250, 244, 0.92);
}

.programme-slot-plenary {
  background: var(--orange);
  border-color: #df4c1c;
}

.programme-slot-plenary .programme-slot-time,
.programme-slot-plenary .programme-slot-meta,
.programme-slot-plenary .programme-slot-copy,
.programme-slot-plenary .programme-slot-header h3 {
  color: #fff;
}

.programme-slot-plenary .special-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #a53512;
}

.programme-slot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.programme-slot-header h3 {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  line-height: 1.08;
}

.programme-slot-time {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.programme-slot-meta,
.programme-slot-copy {
  margin: 0;
}

.programme-slot-meta {
  margin-top: 0.55rem;
  color: var(--muted);
}

.programme-slot-copy {
  margin-top: 0.7rem;
  color: var(--ink);
  max-width: 70ch;
}

.special-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(214, 56, 61, 0.1);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.programme-slot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.programme-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82)),
    var(--track-soft, rgba(36, 141, 145, 0.06));
}

.programme-card-top,
.speaker-link-list,
.programme-card-actions {
  display: flex;
}

.programme-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
}

.programme-card-top {
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.programme-card-track-ribbon {
  padding: 0.72rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.programme-card-venue-banner {
  padding: 0.8rem 1rem;
  background: rgba(36, 141, 145, 0.1);
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.programme-card-balanced-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 1rem 1.1rem 0;
}

.programme-card--balanced .programme-summary,
.programme-card--balanced .speaker-link-list,
.programme-card--balanced .programme-card-actions {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.programme-card--balanced .programme-card-actions {
  padding-bottom: 1rem;
}

.programme-card--venue-first .programme-track-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.programme-track-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.track-signal {
  display: inline-flex;
  align-items: end;
  gap: 0.18rem;
  min-width: 2.4rem;
  height: 1.15rem;
}

.track-signal span {
  width: 0.22rem;
  border-radius: 999px;
  background: var(--track-accent, var(--teal));
}

.track-signal span:nth-child(1) {
  height: 45%;
}

.track-signal span:nth-child(2) {
  height: 78%;
}

.track-signal span:nth-child(3) {
  height: 100%;
}

.track-signal span:nth-child(4) {
  height: 66%;
}

.track-signal span:nth-child(5) {
  height: 88%;
}

.programme-summary h3 {
  margin: 0;
  font-size: 1.1rem;
}

.programme-summary p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.session-abstract {
  font-weight: 400;
}

.track-chip,
.room-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.track-chip {
  background: rgba(255, 255, 255, 0.18);
}

.room-chip {
  background: rgba(36, 141, 145, 0.08);
  color: var(--teal-deep);
}

.room-chip--strong {
  background: rgba(22, 95, 102, 0.12);
  color: var(--teal-deep);
  font-weight: 800;
}

.speaker-link-list {
  flex-wrap: wrap;
  gap: 0.45rem;
}

.speaker-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 141, 145, 0.08);
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.programme-card-actions {
  margin-top: auto;
}

.track-grid,
.speaker-grid,
.future-grid {
  display: grid;
  gap: 1rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.partner-section + .partner-section {
  margin-top: 2.5rem;
}

.sponsor-tiers { display: flex; flex-direction: column; gap: 2rem; }
.sponsor-tier-title { margin: 0 0 1rem; color: var(--teal-deep); font-size: 1.2rem; }
.sponsor-tier .partner-grid { grid-template-columns: minmax(0, 1fr); }
.exhibitor-band { border-top: 2px solid #b6cfca; background: #e8f1ef; }
.partner-links { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: 1rem; }
.partner-card .partner-phone { margin-top: 1rem; }
.partner-phone a {
  color: var(--teal-deep);
  text-decoration: underline;
  /* Standard CSS property absent from CSSLint's older property list. */
  text-underline-offset: .15em; /* csslint allow: known-properties */
}
.partner-description p { white-space: pre-line; }

.partner-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.partner-section-heading h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.partner-section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.partner-card {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.25rem;
  border: 1px solid rgba(23, 49, 59, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.partner-card h3 {
  margin: 0.45rem 0 0.6rem;
  font-size: 1.3rem;
  line-height: 1.08;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.partner-card-logo {
  display: block;
  width: 100%;
  height: 10rem;
  max-width: 24rem;
  margin: 0 0 1rem;
  object-fit: contain;
  object-position: left center;
  background: #fff;
}

.partner-card-logo--prominent {
  height: auto;
  max-width: 34rem;
}

.sponsor-tier .partner-card { padding: clamp(1.25rem, 3vw, 2rem); }

.partner-description { margin-top: .8rem; }
.partner-description summary { color: var(--teal-deep); font-weight: 700; cursor: pointer; }
.partner-description[open] summary { margin-bottom: .8rem; }
.partner-card:has(.partner-description[open]) .partner-description-preview { display: none; }
.partner-description summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.matrix-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.matrix-empty-state,
.matrix-special-card,
.matrix-time-cell,
.matrix-concurrent-head,
.matrix-session-card,
.matrix-cell,
.matrix-mobile-slot {
  background: #fffdf9;
  border: 1px solid rgba(23, 49, 59, 0.08);
  box-shadow: var(--card-shadow);
}

.matrix-empty-state {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.matrix-empty-state h3 {
  margin: 0.4rem 0 0.65rem;
  font-size: 1.3rem;
}

.matrix-desktop {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.matrix-chapters {
  gap: 1.25rem;
}

.matrix-concurrent-run {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.matrix-run-lane-heads {
  display: grid;
  grid-template-columns: repeat(var(--matrix-run-lanes), minmax(0, 1fr));
  gap: 0.9rem;
}

.matrix-chapter {
  padding: 1rem;
  border: 1px solid rgba(23, 49, 59, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.72);
}

.matrix-chapter-head,
.matrix-chapter-special-top,
.matrix-chapter-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.matrix-chapter-head {
  margin-bottom: 0.8rem;
}

.matrix-chapter-time {
  margin: 0;
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.matrix-chapter-lanes {
  display: grid;
  grid-template-columns: repeat(var(--matrix-chapter-lanes), minmax(0, 1fr));
  grid-template-rows: repeat(var(--matrix-time-rows), auto);
  gap: 0.9rem;
}

.matrix-chapter-lane {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  min-width: 0;
}

.matrix-chapter-lane-head,
.matrix-run-lane-head,
.matrix-chapter-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(23, 49, 59, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 49, 59, 0.06);
  color: var(--teal-deep);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.matrix-chapter-card-stack {
  display: contents;
}

.matrix-chapter-card {
  position: relative;
  display: flex;
  min-height: 9.25rem;
  flex-direction: column;
  overflow: hidden;
  padding: 1.15rem 1rem 0.95rem;
  border: 1px solid rgba(23, 49, 59, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(23, 49, 59, 0.09);
}

.matrix-chapter-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.48rem;
  background: var(--track-accent, var(--teal));
}

.matrix-chapter-card-top,
.matrix-chapter-card h3,
.matrix-chapter-card button {
  position: relative;
  z-index: 1;
}

.matrix-chapter-card-time {
  margin: 0;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.matrix-chapter-card h3 {
  margin: 0.75rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
}

.matrix-chapter-card-copy {
  margin: 0.75rem 0;
  color: var(--muted);
  line-height: 1.4;
}

.matrix-chapter-card-abstract {
  margin: 0 0 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.matrix-chapter-card button {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.matrix-chapter--special {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.matrix-chapter--special .matrix-special-card {
  min-height: 0;
  padding: 1.05rem 1.15rem;
}

.matrix-chapter--special .matrix-special-card h3 {
  margin: 0.65rem 0 0.8rem;
}

.matrix-chapter--special .matrix-special-card button {
  margin-top: auto;
}

.matrix-chapter--special .matrix-special-card--plenary {
  overflow: hidden;
  padding: 0;
  border-color: #df4c1c;
  background: #fff;
  color: var(--ink);
}

.matrix-plenary-header {
  padding: 1.05rem 1.15rem 0.95rem;
  background: var(--orange);
  color: #fff;
}

.matrix-plenary-header .matrix-chapter-time,
.matrix-plenary-header h3 {
  color: #fff;
}

.matrix-plenary-header .special-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #a53512;
}

.matrix-plenary-header h3 {
  margin: 0.65rem 0 0;
  font-size: 1.2rem;
  line-height: 1.12;
}

.matrix-plenary-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem 1rem;
  background: #fff;
}

.matrix-chapter--special .matrix-plenary-body .matrix-plenary-abstract {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.matrix-chapter--special .matrix-plenary-body button {
  margin: 0;
  align-self: flex-start;
  color: var(--teal-deep);
}

.matrix-header,
.matrix-row {
  display: grid;
  grid-template-columns: 110px repeat(var(--matrix-track-count), minmax(0, 1fr));
  gap: 0.8rem;
}

.matrix-time-head,
.matrix-time-cell {
  border-radius: 24px;
}

.matrix-time-head {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 1rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.matrix-time-cell {
  padding: 0.95rem 0.8rem;
  text-align: center;
  border-radius: 24px;
}

.matrix-time-label,
.matrix-time-end {
  margin: 0;
}

.matrix-time-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--teal-deep);
}

.matrix-time-end {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.matrix-concurrent-head {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
}

.matrix-lane-head {
  display: flex;
  align-items: center;
  min-height: 3.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(23, 49, 59, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 49, 59, 0.06);
}

.matrix-lane-head p {
  margin: 0;
  color: var(--teal-deep);
  font-weight: 800;
  line-height: 1.35;
}

.matrix-lane-head--plenary {
  grid-column: 2 / -1;
}

.matrix-concurrent-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.matrix-row--special {
  grid-template-columns: 110px repeat(var(--matrix-track-count), minmax(0, 1fr));
}

.matrix-row--special .matrix-special-card {
  grid-column: 2 / -1;
}

.matrix-special-card {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(248, 188, 88, 0.2), rgba(255, 91, 35, 0.1)),
    rgba(255, 250, 244, 0.94);
}

.matrix-special-card--plenary {
  background: var(--orange);
  border-color: #df4c1c;
  color: #fff;
}

.matrix-special-card--plenary h3,
.matrix-special-card--plenary p,
.matrix-special-card--plenary button {
  color: #fff;
}

.matrix-row--plenary .special-badge,
.matrix-mobile-slot--plenary .special-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #a53512;
}

.matrix-special-top,
.matrix-session-top,
.matrix-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.matrix-special-card h3,
.matrix-session-card h3 {
  margin: 0.55rem 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.12;
}

.matrix-special-card p,
.matrix-session-card p {
  margin: 0;
  color: var(--muted);
}

.matrix-cell {
  min-height: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}

.matrix-cell--empty {
  display: grid;
  place-items: center;
  min-height: 170px;
  color: rgba(88, 119, 128, 0.58);
  border-style: dashed;
  border-width: 1px;
  border-color: rgba(23, 49, 59, 0.14);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 24px;
}

.matrix-session-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 100%;
  padding: 1.45rem 1rem 1rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 49, 59, 0.08);
  box-shadow: 0 10px 24px rgba(23, 49, 59, 0.1);
  background: #fff;
}

.matrix-session-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.62rem;
  background: var(--track-accent, var(--teal));
}

.matrix-session-card h3,
.matrix-session-card p,
.matrix-session-card .speaker-link-list,
.matrix-session-card button,
.matrix-session-top {
  position: relative;
  z-index: 1;
}

.matrix-session-card--compact {
  min-height: 185px;
}

.matrix-session-card button,
.matrix-special-card button {
  margin-top: auto;
  background: transparent;
  color: var(--teal-deep);
  font-weight: 700;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.matrix-mobile {
  display: none;
}

.matrix-mobile-slot {
  padding: 1rem;
  border-radius: 24px;
}

.matrix-mobile-plenary-venue {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(23, 49, 59, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 49, 59, 0.06);
  color: var(--teal-deep);
  font-weight: 800;
  text-align: center;
}

.matrix-mobile-slot--special {
  background:
    linear-gradient(135deg, rgba(248, 188, 88, 0.14), rgba(255, 91, 35, 0.08)),
    rgba(255, 255, 255, 0.84);
}

.matrix-mobile-count {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(36, 141, 145, 0.08);
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.matrix-mobile-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.track-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.speaker-group + .speaker-group {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.speaker-group > h2 {
  margin: 0 0 1.25rem;
}

.speaker-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.future-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.track-card,
.speaker-card,
.future-card {
  padding: 1.25rem;
}

.page-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  margin-top: auto;
  color: var(--teal-deep);
  font-weight: 800;
}

.track-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.track-meta-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.track-meta-list strong {
  color: var(--ink);
  margin-right: 0.35rem;
}

.track-accent {
  width: 3rem;
  height: 0.5rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.speaker-toolbar {
  margin-bottom: 1rem;
}

.portrait-study {
  margin-bottom: 1.4rem;
}

.portrait-study-panel {
  padding: 1.25rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(92, 66, 38, 0.08), rgba(255, 248, 239, 0.92)),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 49, 59, 0.08);
  box-shadow: var(--card-shadow);
}

.portrait-study-heading {
  align-items: flex-end;
  margin-bottom: 1rem;
}

.portrait-study-heading h2 {
  max-width: 16ch;
}

.portrait-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portrait-study-card {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 49, 59, 0.08);
}

.portrait-study-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.12rem;
  line-height: 1.12;
}

.portrait-study-card-top {
  margin-bottom: 0.9rem;
}

.portrait-study-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.portrait-study-frame {
  margin: 0;
}

.portrait-study-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(36, 141, 145, 0.12);
}

.portrait-study-frame figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.portrait-study-image--original {
  filter: none !important;
  box-shadow: 0 10px 24px rgba(23, 49, 59, 0.08);
}

.portrait-study-image--treated {
  filter: sepia(0.42) saturate(0.88) contrast(1.08) brightness(0.96) hue-rotate(-10deg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 220, 0.42),
    0 10px 24px rgba(18, 13, 9, 0.24);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(100%, 420px);
}

.search-field span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.search-field input {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.speaker-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
}

.speaker-avatar--image {
  display: block;
  object-fit: cover;
  background: rgba(36, 141, 145, 0.12);
}

body[data-portrait-style="dutch-master"] .speaker-avatar--image,
body[data-portrait-style="dutch-master"] .detail-speaker-photo,
body[data-portrait-style="dutch-master"] .detail-speaker-photo {
  filter: sepia(0.42) saturate(0.88) contrast(1.08) brightness(0.96) hue-rotate(-10deg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 220, 0.42),
    0 10px 24px rgba(18, 13, 9, 0.24);
}

.speaker-role {
  color: var(--muted);
  line-height: 1.45;
}

.speaker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.speaker-tag {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(233, 122, 178, 0.12);
  color: #93486d;
  font-size: 0.8rem;
  font-weight: 700;
}

.panel-venue::before {
  background:
    linear-gradient(135deg, rgba(248, 188, 88, 0.12), rgba(36, 141, 145, 0.08)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.venue-grid {
  gap: 1rem;
  align-items: stretch;
}

.venue-grid > * {
  flex: 1;
}

.venue-card {
  padding: 1.25rem;
}

.venue-card-image {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.venue-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.panel-wifi::before {
  background:
    linear-gradient(135deg, rgba(36, 141, 145, 0.18), rgba(255, 91, 35, 0.1)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.wifi-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.4rem;
  border: 1px solid rgba(23, 49, 59, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--card-shadow);
}

.wifi-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.35rem 0 1.15rem;
}

.wifi-heading img {
  width: 2.2rem;
  height: 2.2rem;
}

.wifi-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.wifi-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 1rem;
}

.wifi-details div {
  min-width: min(100%, 15rem);
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(36, 141, 145, 0.09);
}

.wifi-details dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wifi-details dd {
  margin: 0.25rem 0 0;
  color: var(--teal-deep);
  font-family: "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: 800;
}

.wifi-copy > p:last-child {
  margin: 0;
  color: var(--muted);
}

.gala-info { display: grid; gap: 1.25rem; }
.gala-info[hidden] { display: none; }
.gala-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 3px solid #ff1493;
  border-radius: var(--radius-lg);
  background: #fff;
}
.gala-info-icon { flex: 0 0 2rem; width: 2rem; height: 2rem; color: #b80065; }
.gala-info-card h2 { margin: .5rem 0; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.gala-info-location { color: var(--teal-deep); font-weight: 700; }
.gala-info-card .session-abstract { margin-bottom: 0; }

.detail-drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30;
}

.detail-drawer.is-open {
  display: block;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 35, 39, 0.54);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(100%, 520px);
  background: linear-gradient(180deg, #fffaf4, #f7f2e8);
  box-shadow: -20px 0 60px rgba(16, 37, 42, 0.2);
  padding: 1.1rem;
  overflow: auto;
}

.drawer-close {
  margin-left: auto;
  display: flex;
  padding: 0.8rem 1rem;
  background: rgba(36, 141, 145, 0.1);
  color: var(--teal-deep);
}

.drawer-header {
  margin-top: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 0.98;
}

.drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--muted);
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 4rem;
}

.detail-block {
  padding: 1rem 1.05rem;
}

.session-abstract--full {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.detail-block--speaker-hero {
  padding: 0;
  overflow: hidden;
}

.detail-speaker-hero {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
}

.detail-speaker-photo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  background: rgba(36, 141, 145, 0.12);
}

body[data-portrait-style="dutch-master"] .detail-block--speaker-hero,
body[data-portrait-style="dutch-master"] .detail-speaker-item {
  background:
    linear-gradient(135deg, rgba(92, 66, 38, 0.12), rgba(255, 248, 239, 0.88)),
    rgba(36, 141, 145, 0.07);
}

.detail-block ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.65;
}

.detail-speaker-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-speaker-item {
  width: 100%;
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(36, 141, 145, 0.07);
  border: 0;
  text-align: left;
}

.detail-link-button {
  cursor: pointer;
}

.detail-link-button strong {
  display: block;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 6rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.3rem;
  border-radius: 28px;
  background: #fffaf4;
  border: 1px solid rgba(23, 49, 59, 0.08);
  box-shadow: var(--card-shadow);
}

.site-footer__logos,
.site-footer__copy {
  display: flex;
}

.site-footer__logos {
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__label {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__logo {
  display: block;
  width: auto;
  height: 44px;
  flex-shrink: 0;
}

/* The NL artwork's divider extends beyond the lettering (134px vs 110px).
   Compensate so the visible XBRL marks have the same height. */
.site-footer__logo--nl { height: 53.6px; }

.site-footer__copy {
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  text-align: right;
}

.site-footer__copy strong {
  color: var(--ink);
}

.site-footer__copy a {
  color: var(--teal-deep);
  font-weight: 700;
}

.bottom-nav {
  position: sticky;
  bottom: 1rem;
  z-index: 10;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0.45rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #fffaf4;
  border: 1px solid rgba(23, 49, 59, 0.08);
  box-shadow: 0 12px 32px rgba(17, 43, 48, 0.12);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  min-height: 2.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  background: rgba(36, 141, 145, 0.08);
  color: var(--teal-deep);
  outline: none;
}

.bottom-nav a.is-active {
  background: rgba(36, 141, 145, 0.1);
  color: var(--teal-deep);
}

@media (max-width: 1100px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speaker-grid,
  .future-grid,
  .partner-grid,
  .portrait-study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matrix-header,
  .matrix-row {
    grid-template-columns: 92px repeat(var(--matrix-track-count), minmax(0, 1fr));
  }

  .matrix-chapter-card h3 {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    display: none;
  }

  .panel-heading,
  .now-grid,
  .venue-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .wifi-card {
    grid-template-columns: 1fr;
  }

  .gala-info-card { flex-direction: column; }

  .programme-slot-header,
  .programme-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .track-grid,
  .speaker-grid,
  .future-grid,
  .partner-grid,
  .portrait-study-grid {
    grid-template-columns: 1fr;
  }

  .matrix-desktop {
    display: none;
  }

  .matrix-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }

  .bottom-nav {
    display: grid;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero-panel,
  .panel,
  .bottom-nav,
  .page-intro {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .hero-panel {
    padding-top: 2rem;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-art img {
    border-radius: 24px;
    transform: none;
  }

  .panel {
    padding: 2.5rem 0;
  }

  .panel-heading h2 {
    font-size: 2rem;
  }

  .speaker-card {
    grid-template-columns: 1fr;
  }

  .detail-speaker-hero {
    grid-template-columns: 1fr;
  }

  .speaker-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .detail-speaker-photo {
    width: 96px;
    height: 96px;
    border-radius: 20px;
  }

  .site-footer {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-bottom: 5.5rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__logo { height: 36px; }
  .site-footer__logo--nl { height: 43.9px; }

  .site-footer__copy p {
    text-align: left;
  }
}

/* Speaker panel programme cards. Container sizing keeps two-track cards stacked
   while giving full-width plenaries a separate speaker column. */
.agenda-panel-card {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 5px solid var(--agenda-accent, var(--teal));
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.agenda-panel-layout { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.agenda-panel-content { min-width: 0; padding: 1.35rem; }
.agenda-panel-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem; color: var(--teal-deep); font-size: .78rem; font-weight: 800; }
.agenda-panel-track { padding: .35rem .6rem; border-radius: 6px; background: #eaf2ed; color: var(--teal-deep); font-size: .72rem; }
.agenda-panel-card--plenary .agenda-panel-track { background: #fff0e9; color: #a53512; }
.agenda-panel-card h3 { margin: .95rem 0 .75rem; color: var(--ink); font-size: 1.35rem; line-height: 1.22; letter-spacing: -.025em; overflow-wrap: anywhere; }
.agenda-panel-card .agenda-panel-excerpt { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.agenda-panel-speakers { min-width: 0; padding: 1.35rem; background: #185c63; color: #fff; }
.agenda-panel-moderators { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #6b969a; }
.detail-session-people { display: grid; gap: .75rem; }
.detail-session-people h4 { margin: 0; }
.agenda-panel-card .agenda-panel-label { margin: 0 0 1rem; color: #b8d7d6; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.agenda-panel-people { display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.agenda-panel-person { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: .95rem; align-items: start; }
.agenda-panel-photo { display: block; width: 66px; height: 66px; border-radius: 10px; object-fit: cover; background: #e6eeea; }
.agenda-panel-person-copy { min-width: 0; overflow-wrap: anywhere; }
.agenda-panel-card .agenda-panel-name { display: block; border: 0; padding: 0; background: transparent; color: #fff; text-align: left; font: inherit; font-size: 1rem; font-weight: 800; line-height: 1.35; cursor: pointer; }
.agenda-panel-name:hover { text-decoration: underline; }
.agenda-panel-job, .agenda-panel-org { display: block; margin-top: .25rem; color: #d2e3e3; font-size: .8rem; line-height: 1.5; }
.agenda-panel-org { color: #fff; font-weight: 700; }
.agenda-panel-card .agenda-panel-empty { min-height: 66px; margin: 0; color: #d2e3e3; font-size: .85rem; line-height: 1.6; }
.agenda-panel-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1.35rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.agenda-panel-footer button { border: 0; padding: .4rem 0; background: transparent; color: var(--teal-deep); font: inherit; font-size: .83rem; font-weight: 800; cursor: pointer; }
.agenda-panel-card button:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 3px; }
.matrix-mobile-slot--speaker-panel { padding: 0; border: 0; background: transparent; box-shadow: none; }
.programme-slot-plenary:has(.agenda-panel-card) { padding: 0; background: transparent; border: 0; }
@container (min-width: 700px) {
  .agenda-panel-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: 1fr; }
}
@media (max-width: 480px) {
  .partner-section-heading { flex-direction: column; align-items: flex-start; }
  .agenda-panel-content, .agenda-panel-speakers { padding: 1.1rem; }
  .agenda-panel-footer { padding: .7rem 1.1rem; }
  .agenda-panel-card h3 { font-size: 1.25rem; }
}


/* Gala logistics are programme notes, without speaker panels. */
.gala-card {
  border: 5px solid #ff1493;
  border-radius: 24px;
  padding: 1.5rem;
  background: #fff;
  color: var(--ink);
}
.gala-card-meta,
.gala-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.gala-card h3 { margin: 1rem 0; }
.gala-card-footer { margin-top: 1rem; }
.gala-card button { border: 0; background: transparent; color: var(--teal-deep); font: inherit; font-weight: 800; cursor: pointer; }
.gala-card button:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 4px; }
.members-only-notice {
  margin: 0 0 1rem;
  padding: .8rem 1rem;
  border: 2px solid #a53512;
  border-radius: 12px;
  background: #fff0e9;
  color: #862600;
  font-weight: 800;
  font-size: 1rem;
}
.agenda-panel-card > .members-only-notice { margin: 1rem 1rem 0; }
