/* CBT Course Series microsite — stepped timeline design system.
   The form reads as a numbered journey down a vertical rail: white page,
   soft blue panels per step, white elements nested inside them.
   Self-contained — nothing here is shared with ../css. */

:root {
  --cs-page: #ffffff;
  --cs-panel: #f4f8fe;
  --cs-paper: #ffffff;
  --cs-ink: #172033;
  --cs-ink-soft: #0f0f0f;
  --cs-line: #e5eaf2;
  --cs-line-strong: #cbd6e6;
  --cs-accent: #2563eb;
  --cs-accent-dark: #1b4bc4;
  --cs-accent-soft: #e8f0fe;
  --cs-danger: #d92d20;
  --cs-danger-soft: #fef3f2;
  --cs-success: #15803d;
  --cs-success-soft: #f0fdf4;
  --cs-success-line: #bbf7d0;
  --cs-radius: 16px;
  --cs-radius-sm: 10px;
  --cs-rail: 56px;
  --cs-node: 36px;
  --cs-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--cs-font);
  background: var(--cs-page);
  color: var(--cs-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--cs-font); font-weight: 700; margin: 0 0 0.4em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: var(--cs-accent-dark); }

.cs-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.cs-header {
  background: var(--cs-page);
  border-bottom: 1px solid var(--cs-line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.cs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.cs-brand { display: flex; align-items: center; text-decoration: none; }
.cs-brand img { height: 34px; width: auto; display: block; }
.cs-nav { display: flex; align-items: center; gap: 22px; }
.cs-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--cs-ink);
  transition: color 0.15s ease;
}
.cs-nav-link:hover { color: var(--cs-accent); }
.cs-nav-link--muted { color: var(--cs-ink-soft); }

.cs-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.cs-nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--cs-ink);
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.cs-main { padding: 44px 0 90px; }

/* ---------- Intro (above the form) ---------- */
.cs-intro-card { display: block; margin-bottom: 46px; }
.cs-intro-banner img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--cs-radius);
  border: 1px solid var(--cs-line);
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.04), 0 12px 28px rgba(23, 32, 51, 0.08);
  margin-bottom: 28px;
}
.cs-intro-body { padding: 0; }
.cs-intro-body h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.45em;
}
.cs-intro-body p {
  color: var(--cs-ink-soft);
  font-size: 1.06rem;
  max-width: 70ch;
}
.cs-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--cs-accent);
}
.cs-intro-link:hover { gap: 11px; }
.cs-intro-link--disabled {
  color: var(--cs-ink-soft);
  cursor: not-allowed;
  pointer-events: none;
}

.cs-intro-note {
  margin: 22px 0 0;
  padding: 14px 18px;
  max-width: 70ch;
  background: var(--cs-accent-soft);
  border-left: 3px solid var(--cs-accent);
  border-radius: var(--cs-radius-sm);
  color: var(--cs-ink);
  font-size: 0.97rem;
}

/* ---------- Stepped timeline ---------- */
.cs-form { display: flex; flex-direction: column; gap: 44px; }
.cs-section {
  position: relative;
  padding-left: var(--cs-rail);
}
/* the rail: a line dropping from each node to the next step */
.cs-section::before {
  content: "";
  position: absolute;
  left: calc(var(--cs-node) / 2 - 1px);
  top: calc(var(--cs-node) + 8px);
  bottom: -52px;
  width: 2px;
  background: var(--cs-line);
}
.cs-section:last-of-type::before { display: none; }

.cs-section-head {
  display: flex;
  align-items: center;
  min-height: var(--cs-node);
  margin-bottom: 16px;
}
.cs-step {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--cs-node);
  height: var(--cs-node);
  border-radius: 50%;
  background: var(--cs-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.cs-section h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
}
.cs-section-head .cs-req { color: var(--cs-danger); }

.cs-section-body {
  background: var(--cs-panel);
  border-radius: var(--cs-radius);
  padding: 26px 28px 28px;
}
.cs-hint {
  color: var(--cs-ink-soft);
  font-size: 0.97rem;
  margin: 0 0 20px;
}

.cs-stack { display: flex; flex-direction: column; gap: 18px; }

.cs-req { color: var(--cs-danger); font-weight: 700; }

.cs-field { display: flex; flex-direction: column; gap: 7px; }
.cs-field label { font-size: 0.93rem; font-weight: 500; color: var(--cs-ink); }
.cs-field input,
.cs-field select {
  font-family: var(--cs-font);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1px solid var(--cs-line-strong);
  border-radius: var(--cs-radius-sm);
  background: var(--cs-paper);
  color: var(--cs-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cs-field input:focus,
.cs-field select:focus {
  outline: none;
  border-color: var(--cs-accent);
  box-shadow: 0 0 0 4px var(--cs-accent-soft);
}

.cs-phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--cs-line-strong);
  border-radius: var(--cs-radius-sm);
  background: var(--cs-paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.cs-phone-field:focus-within {
  border-color: var(--cs-accent);
  box-shadow: 0 0 0 4px var(--cs-accent-soft);
}
.cs-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--cs-panel);
  border-right: 1px solid var(--cs-line-strong);
  color: var(--cs-ink-soft);
  font-weight: 600;
  font-size: 1rem;
}
.cs-phone-field input {
  flex: 1;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.cs-field input[type="file"] {
  padding: 10px 15px;
  font-size: 0.93rem;
  cursor: pointer;
}
.cs-field input[type="file"]::file-selector-button {
  font-family: var(--cs-font);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 15px;
  margin-right: 12px;
  border: none;
  border-radius: 999px;
  background: var(--cs-accent-soft);
  color: var(--cs-accent-dark);
  cursor: pointer;
}
/* Registration fee readout — a div rather than a readonly input so the
   pre-discount amount can be struck through beside the final one. */
.cs-fee-display {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 13px 15px;
  border-radius: var(--cs-radius-sm);
  background: var(--cs-accent-soft);
}
.cs-fee-original {
  color: var(--cs-ink-soft);
  font-size: 1rem;
  font-weight: 500;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--cs-danger);
}
.cs-fee-final {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cs-accent-dark);
}

.cs-early-bird {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 0;
  padding: 10px 14px;
  border: 1px solid #c3e4dd;
  border-radius: var(--cs-radius-sm);
  background: linear-gradient(120deg, #dcfce7 0%, #e0f2fe 55%, #dbeafe 100%);
  color: var(--cs-accent-dark);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}
.cs-early-bird::before {
  content: "\2726"; /* ✦ */
  flex-shrink: 0;
  color: var(--cs-accent);
  font-size: 0.95rem;
  line-height: 1.35;
}

/* ---------- Modules ---------- */
.cs-day {
  margin-top: 16px;
  border-radius: var(--cs-radius-sm);
  background: var(--cs-paper);
  overflow: hidden;
}
.cs-day:first-of-type { margin-top: 2px; }
.cs-day + .cs-day-hint { margin-top: 28px; }
.cs-day-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid var(--cs-line);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--cs-ink);
}
.cs-module-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 16px;
}
.cs-module {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius-sm);
  background: var(--cs-paper);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cs-module:hover { border-color: var(--cs-line-strong); background: #fcfdff; }
.cs-module:has(input:checked) {
  border-color: var(--cs-accent);
  background: var(--cs-accent-soft);
}
.cs-module-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cs-module-check {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1.5px solid var(--cs-line-strong);
  background: var(--cs-paper);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cs-module-input:checked ~ .cs-module-check {
  border-color: var(--cs-accent);
  background: radial-gradient(circle, var(--cs-accent) 45%, transparent 47%);
}
.cs-module-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cs-module-code { font-size: 0.78rem; font-weight: 700; color: var(--cs-accent); letter-spacing: 0.04em; }
.cs-module-title { font-size: 0.97rem; }
.cs-module--none .cs-module-title { color: var(--cs-ink-soft); }

/* ---------- Tables ---------- */
.cs-fee-table-wrap {
  overflow-x: auto;
  background: var(--cs-paper);
  border-radius: var(--cs-radius-sm);
}
.cs-fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.cs-fee-table th,
.cs-fee-table td {
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}
.cs-fee-table thead th {
  color: var(--cs-ink-soft);
  font-size: 0.87rem;
  font-weight: 700;
  border-bottom: 1px solid var(--cs-line);
}
.cs-fee-table tbody tr + tr { border-top: 1px solid var(--cs-line); }
.cs-fee-table tbody td:first-child { font-weight: 500; }
.cs-fee-table tbody td:not(:first-child) { font-weight: 700; }
#feeTable th:not(:first-child),
#feeTable td:not(:first-child) { text-align: center; }

#scheduleTable th,
#scheduleTable td { white-space: normal; font-size: 0.8rem; line-height: 1.4; padding: 9px 12px; min-width: 130px; }
#scheduleTable tbody td:not(:first-child) { font-weight: 400; color: var(--cs-ink); }
#scheduleTable tbody td:first-child { white-space: nowrap; min-width: auto; font-size: 0.86rem; font-weight: 500; }
.cs-schedule-code { display: inline; font-weight: 700; color: var(--cs-accent); }
.cs-table-note { margin: 14px 0 0; color: var(--cs-ink-soft); font-size: 0.89rem; }
.cs-fee-warning { margin: 8px 0 0; color: var(--cs-danger); font-weight: 700; font-size: 0.92rem; }

/* ---------- Bank details ---------- */
.cs-bank-box {
  background: var(--cs-paper);
  border-radius: var(--cs-radius-sm);
  padding: 6px 18px;
  margin-bottom: 20px;
}
.cs-bank-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  font-size: 0.94rem;
}
.cs-bank-row + .cs-bank-row { border-top: 1px solid var(--cs-line); }
.cs-bank-row span { color: var(--cs-ink-soft); }
.cs-bank-row strong { font-weight: 500; text-align: right; }

/* ---------- Submit ---------- */
.cs-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  margin-left: var(--cs-rail);
  padding: 15px 36px;
  border: none;
  border-radius: 999px;
  background: var(--cs-accent);
  color: #fff;
  font-family: var(--cs-font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cs-submit:hover { background: var(--cs-accent-dark); }
.cs-submit:disabled { cursor: not-allowed; opacity: 0.85; }

.cs-spinner {
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cs-spin 0.7s linear infinite;
}
@keyframes cs-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-spinner { animation: none; }
}

.cs-submit-note {
  margin-left: var(--cs-rail);
  padding: 13px 17px;
  border-radius: var(--cs-radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}
.cs-submit-note--pending { background: var(--cs-accent-soft); color: var(--cs-accent-dark); }
.cs-submit-note--error { background: var(--cs-danger-soft); color: var(--cs-danger); }

/* ---------- Buttons ---------- */
.cs-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  border-radius: 999px;
  background: var(--cs-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.cs-btn-primary:hover { background: var(--cs-accent-dark); }

/* ---------- Thank-you page ---------- */
.cs-thankyou {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 48px 40px;
  text-align: center;
  background: var(--cs-success-soft);
  border: 1px solid var(--cs-success-line);
  border-radius: var(--cs-radius);
}
.cs-thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--cs-success);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}
.cs-thankyou-message {
  color: var(--cs-success);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 20px;
}
.cs-thankyou-note {
  color: var(--cs-success);
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 28px;
}
.cs-thankyou-note a { color: var(--cs-success); font-weight: 700; }
#thankYouNote { margin-bottom: 12px; }

/* ---------- About page ---------- */
.cs-about-hero { padding: 12px 0 8px; max-width: 760px; }
.cs-about-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 0.8em;
}
.cs-about-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); letter-spacing: -0.03em; }
.cs-about-meta { color: var(--cs-ink-soft); font-weight: 500; margin-bottom: 1.2em; }
.cs-about-intro { font-size: 1.06rem; color: var(--cs-ink-soft); }
.cs-about-highlights {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-about-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 0.97rem;
}
.cs-highlight-mark {
  padding: 0 3px;
  border-radius: 3px;
  background: linear-gradient(120deg, #bbf7d0 0%, #bae6fd 100%);
  color: var(--cs-accent-dark);
  font-weight: 700;
}
.cs-about-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cs-accent);
}
.cs-about-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.cs-about-banner img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--cs-radius);
  border: 1px solid var(--cs-line);
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.04), 0 12px 28px rgba(23, 32, 51, 0.08);
  margin: 40px 0;
}

.cs-about-block { margin-top: 56px; }
.cs-about-block h2 { font-size: 1.4rem; margin-bottom: 0.6em; }

.cs-about-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.cs-about-audience-card {
  background: var(--cs-panel);
  border-radius: var(--cs-radius);
  padding: 22px 24px;
}
.cs-about-audience-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.cs-about-audience-card p { color: var(--cs-ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- About page: local tab navbar ---------- */
.cs-tabs {
  position: sticky;
  top: 73px; /* just under the 72px sticky header + its 1px border */
  z-index: 5;
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--cs-page);
  border-bottom: 1px solid var(--cs-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.cs-tabs::-webkit-scrollbar { display: none; }
.cs-tab {
  flex: 0 0 auto;
  position: relative;
  padding: 14px 16px;
  border: none;
  background: none;
  font-family: var(--cs-font);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--cs-ink-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}
.cs-tab:hover { color: var(--cs-ink); }
.cs-tab[aria-selected="true"] { color: var(--cs-accent); font-weight: 700; }
.cs-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--cs-accent);
}
.cs-tab:focus-visible {
  outline: 2px solid var(--cs-accent);
  outline-offset: -4px;
  border-radius: var(--cs-radius-sm);
}
/* clears the sticky header + tab bar when a panel is scrolled into view */
.cs-tab-panel { scroll-margin-top: 150px; }
.cs-tab-card {
  background: var(--cs-panel);
  border-radius: var(--cs-radius);
  padding: 22px 24px 24px;
}
#aboutFeeTable th:not(:first-child),
#aboutFeeTable td:not(:first-child) { text-align: center; }
.cs-tab-card .cs-early-bird { margin-top: 12px; }

/* ---------- About page: curriculum accordions ---------- */
.cs-cday {
  background: var(--cs-panel);
  border-radius: var(--cs-radius);
  padding: 18px 18px 8px; /* cards carry 12px bottom spacing */
}
.cs-cday + .cs-cday { margin-top: 18px; }
.cs-cday-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 4px 14px;
  font-size: 1.05rem;
}
.cs-cday-label { color: var(--cs-ink); }
.cs-cday-date { color: var(--cs-ink-soft); font-size: 0.92rem; font-weight: 500; }

/* Each accordion spans two shared rows of the day grid (header, then
   speaker list) via subgrid, so every header in a row is exactly as tall as
   the tallest one. The visible box is drawn on the header and body rather
   than the card, so a closed card doesn't stretch when its neighbour opens. */
.cs-acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 12px;
  row-gap: 0;
}
.cs-acc {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding-bottom: 12px;
}
.cs-acc-head {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 15px;
  border: 1px solid var(--cs-line);
  background: var(--cs-paper);
  font-family: var(--cs-font);
  text-align: left;
  color: var(--cs-ink);
  cursor: pointer;
  border-radius: var(--cs-radius-sm);
  transition: border-color 0.15s ease;
}
.cs-acc-head:hover { border-color: var(--cs-line-strong); }
.cs-acc.open .cs-acc-head {
  border-color: var(--cs-line-strong);
  border-bottom-color: transparent;
  border-radius: var(--cs-radius-sm) var(--cs-radius-sm) 0 0;
}
.cs-acc-head:focus-visible { outline: 2px solid var(--cs-accent); outline-offset: -2px; }
.cs-acc-code {
  flex: 0 0 auto;
  align-self: flex-start;
  min-width: 40px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--cs-accent-soft);
  color: var(--cs-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.5;
}
/* Title at the top, venue pinned to the bottom so venues line up across a row. */
.cs-acc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 5px; }
.cs-acc-title { font-size: 0.96rem; font-weight: 500; line-height: 1.4; }
.cs-acc-venue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cs-ink-soft);
  font-size: 0.84rem;
}
.cs-acc-arrow {
  flex: 0 0 auto;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border-radius: 50%;
  color: var(--cs-ink-soft);
  transition: transform 0.2s ease, background 0.15s ease, color 0.15s ease;
}
.cs-acc-head:hover .cs-acc-arrow { background: var(--cs-panel); color: var(--cs-accent); }
.cs-acc.open .cs-acc-arrow { transform: rotate(180deg); color: var(--cs-accent); }

/* Collapsed via a 0fr grid row so the panel can animate to its natural height. */
.cs-acc-body {
  display: grid;
  align-self: start;
  grid-template-rows: 0fr;
  background: var(--cs-paper);
  border: 1px solid var(--cs-line-strong);
  border-top: none;
  border-radius: 0 0 var(--cs-radius-sm) var(--cs-radius-sm);
  visibility: hidden;
  transition: grid-template-rows 0.22s ease, visibility 0s linear 0.22s;
}
.cs-acc.open .cs-acc-body {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.22s ease, visibility 0s;
}
.cs-acc-inner { overflow: hidden; min-height: 0; }
.cs-acc-label {
  margin: 0 15px 8px;
  padding-top: 12px;
  border-top: 1px solid var(--cs-line);
  color: var(--cs-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cs-acc-speakers {
  list-style: none;
  margin: 0 15px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-acc-speakers li { display: flex; flex-direction: column; line-height: 1.35; }
.cs-acc-speaker-name { font-size: 0.93rem; font-weight: 700; }
.cs-acc-speaker-affil { font-size: 0.84rem; color: var(--cs-ink-soft); }
.cs-acc-empty { margin: 0 15px; color: var(--cs-ink-soft); font-size: 0.9rem; }
.cs-acc-all {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 12px 15px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--cs-accent);
}
.cs-acc-all-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cs-accent-soft);
  font-size: 0.85rem;
  transition: transform 0.15s ease;
}
.cs-acc-all:hover .cs-acc-all-arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .cs-acc-body, .cs-acc.open .cs-acc-body, .cs-acc-arrow { transition: none; }
}

/* ---------- About page: speakers (after the brochure's speaker list) ---------- */
.cs-speakers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 12px;
}
.cs-speaker {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--cs-panel);
  border-radius: var(--cs-radius-sm);
}
.cs-speaker-photo {
  flex: 0 0 auto;
  width: 84px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--cs-paper);
}
.cs-speaker-body { flex: 1; min-width: 0; }
.cs-speaker-name {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cs-speaker-affil { margin: 0; color: var(--cs-ink-soft); font-size: 0.9rem; }
.cs-speaker-modules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
}
.cs-speaker-modules li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.4;
}
.cs-speaker-module-code {
  flex: 0 0 auto;
  min-width: 38px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--cs-paper);
  border: 1px solid var(--cs-line);
  color: var(--cs-accent-dark);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}
.cs-speaker-module-title { color: var(--cs-ink); }
.cs-speaker-desc {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: justify;
}

/* ---------- About page: sponsors ---------- */
.cs-sponsors {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-sponsor-row {
  display: flex;
  justify-content: center;
  gap: 14px;
}
/* Each row is a size tier: row 1 largest, row 3 smallest. */
.cs-sponsor-row {
  --sp-width: 200px;
  --sp-height: 112px;
  --sp-pad: 18px 22px;
  --sp-logo: 64px;
}
.cs-sponsor-row--1 { --sp-width: 290px; --sp-height: 150px; --sp-pad: 20px 28px; --sp-logo: 100px; }
.cs-sponsor-row--2 { --sp-width: 200px; --sp-height: 110px; --sp-pad: 16px 22px; --sp-logo: 70px; }
.cs-sponsor-row--3 { --sp-width: 180px; --sp-height: 92px; --sp-pad: 14px 20px; --sp-logo: 70px; }
.cs-sponsor {
  flex: 0 1 var(--sp-width);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--sp-height);
  padding: var(--sp-pad);
  background: var(--cs-paper);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius-sm);
  font-weight: 700;
  color: var(--cs-ink-soft);
  text-align: center;
}
.cs-sponsor img {
  max-width: 100%;
  max-height: var(--sp-logo);
  object-fit: contain;
}
/* Portrait logos (IPC) would shrink to a sliver under the height cap, so
   let them use nearly the full box height instead. The box stays the same. */
.cs-sponsor--tall { padding-top: 6px; padding-bottom: 6px; }
.cs-sponsor--tall img { max-height: 100%; }
.cs-sponsor:hover,
.cs-sponsor:focus-visible {
  border-color: var(--cs-ink-soft);
}

.cs-about-cta-band {
  margin: 56px 0 0;
  padding: 40px 32px;
  border-radius: var(--cs-radius);
  background: var(--cs-panel);
  text-align: center;
}
.cs-about-cta-band h2 { margin-bottom: 0.3em; }
.cs-about-cta-band p { color: var(--cs-ink-soft); margin-bottom: 1.4em; }

/* ---------- Footer ---------- */
.cs-footer {
  border-top: 1px solid var(--cs-line);
  padding: 28px 0;
  font-size: 0.92rem;
  color: var(--cs-ink-soft);
}
.cs-footer a { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  :root { --cs-rail: 44px; --cs-node: 32px; }
  .cs-section-body { padding: 20px 18px 22px; }
  .cs-nav-toggle { display: flex; }
  .cs-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px;
    background: var(--cs-page);
    border-bottom: 1px solid var(--cs-line);
    box-shadow: 0 10px 24px rgba(23, 32, 51, 0.1);
  }
  .cs-nav.open { display: flex; }
  .cs-nav-link { width: 100%; padding: 12px 10px; font-size: 0.95rem; }
  .cs-tab { padding: 13px 12px; font-size: 0.92rem; }
  .cs-tab[aria-selected="true"]::after { left: 8px; right: 8px; }
  .cs-cday { padding: 14px 12px 2px; }
  .cs-acc-grid { grid-template-columns: 1fr; }
  .cs-tab-card { padding: 16px 14px 18px; }
  .cs-sponsors, .cs-sponsor-row { gap: 10px; }
  .cs-sponsor-row { flex-wrap: wrap; }
  .cs-sponsor-row--1 { --sp-height: 118px; --sp-pad: 14px; --sp-logo: 76px; }
  .cs-sponsor-row--2 { --sp-height: 104px; --sp-pad: 12px; --sp-logo: 64px; }
  .cs-sponsor-row--3 { --sp-height: 94px; --sp-pad: 12px; --sp-logo: 56px; }
  .cs-sponsor { flex-basis: calc(50% - 5px); }
}
