/* ============================================================
   NeurIPS 2026 TTCL — Towards Test-Time Continual Learning Agents
   Standard academic workshop style
   ============================================================ */

:root {
  --ink: #212529;
  --ink-soft: #495057;
  --ink-faint: #868e96;
  --bg: #ffffff;
  --bg-gray: #f6f7f9;
  --navy: #163a6b;          /* headings / primary */
  --blue: #1a63b0;          /* links / buttons */
  --border: #dee2e6;
  --maxw: 1000px;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 66px; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px;
}
.nav-brand {
  color: #fff; font-weight: 900; font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.nav-brand span { color: #9fc2ee; }
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; }
.nav-links a {
  color: #d9e4f2; font-size: 0.88rem; font-weight: 700;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,0.5); border-radius: 4px;
  color: #fff; font-size: 1.1rem; padding: 2px 10px; cursor: pointer;
}

/* ---------- Header ---------- */
.header {
  text-align: center;
  padding: 64px 20px 56px;
  background: linear-gradient(180deg, #eef3fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.header-conf {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 900;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.header h1 {
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 18px;
}
.header-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.header-meta { font-size: 1.05rem; color: var(--ink); margin-bottom: 28px; }
.header-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-block;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 10px 24px; border-radius: 5px;
  border: 2px solid var(--blue);
}
.btn:hover { background: var(--navy); border-color: var(--navy); text-decoration: none; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 56px 20px; }
.section-gray { background: var(--bg-gray); }
.section h2 {
  text-align: center;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.section h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  background: var(--blue);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section > h2 { margin-bottom: 34px; }
.h2-follow { margin-top: 64px; }
.content { max-width: 860px; margin: 0 auto; }
.content p { margin-bottom: 16px; }
.content p:last-child { margin-bottom: 0; }
.content ul { margin: 0 0 16px 24px; }
.content li { margin-bottom: 8px; }
.content h3 {
  font-size: 1.22rem; font-weight: 900; color: var(--navy);
  margin: 34px 0 14px;
}
.note { font-size: 0.9rem; color: var(--ink-faint); font-style: italic; }

.callout {
  background: #eef3fa;
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--ink);
}

/* ---------- CFP tracks ---------- */
.track-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 8px;
}
.track {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
}
.section:not(.section-gray) .track { background: var(--bg-gray); }
.track h4 {
  font-size: 1.02rem; font-weight: 900; color: var(--navy);
  margin-bottom: 8px;
}
.track h4 span {
  font-weight: 700; font-size: 0.8rem; color: var(--blue);
  background: #e7effa; border-radius: 10px; padding: 2px 10px;
  margin-left: 6px; white-space: nowrap;
}
.track p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- Dates ---------- */
.dates-table {
  width: 100%; max-width: 620px;
  margin: 0 auto 14px;
  border-collapse: collapse;
}
.dates-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.dates-table tr:first-child td { border-top: 2px solid var(--navy); }
.dates-table td:last-child {
  text-align: right; font-weight: 700; white-space: nowrap;
}
.dates-table .key td { background: #eef3fa; }
.dates-table .key td:last-child { color: var(--blue); }
.dates-table + .note { text-align: center; }

/* ---------- People ---------- */
.people {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 34px 26px;
  max-width: 980px; margin: 0 auto;
}
.person { width: 176px; text-align: center; }
.person a { color: inherit; }
.person a:hover { text-decoration: none; }
.person a:hover h4 { color: var(--blue); }
.photo {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: #e9edf3;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--border), 0 2px 6px rgba(22, 58, 107, 0.12);
}
.photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900; color: var(--ink-faint);
}
.person h4 {
  font-size: 1rem; font-weight: 900; color: var(--ink);
  line-height: 1.3; margin-bottom: 3px;
}
.person p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.4; }
.tbc {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em;
  color: #9a6700; background: #fff3cd; border: 1px solid #e6cf8b;
  border-radius: 8px; padding: 1px 6px;
  vertical-align: 2px;
}
.pc-list { line-height: 2; color: var(--ink-soft); text-align: center; }

/* ---------- Schedule ---------- */
.table-wrap { overflow-x: auto; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.96rem;
  border: 1px solid var(--border);
}
.schedule-table th {
  background: var(--navy); color: #fff;
  text-align: left; font-weight: 700;
  padding: 10px 16px;
}
.schedule-table td {
  padding: 9px 16px;
  border-top: 1px solid var(--border);
}
.schedule-table td:first-child {
  white-space: nowrap; width: 150px;
  color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.schedule-table tbody tr:nth-child(even) { background: #fafbfc; }
.schedule-table .break td { background: #eef3fa; font-style: italic; }

/* ---------- Sponsor ---------- */
.sponsor-box { text-align: center; }
.sponsor-logo { display: inline-block; margin-bottom: 20px; }
.sponsor-logo img {
  width: min(360px, 80vw);
  height: auto;
  display: block;
}
.sponsor-logo:hover { opacity: 0.75; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #c6d5e8;
  text-align: center;
  font-size: 0.9rem;
  padding: 26px 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 52px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy);
    padding: 6px 0 10px;
  }
  .navbar.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 10px 20px; }
  .track-grid { grid-template-columns: 1fr; }
  .br-wide { display: none; }
}
