/* ── COSMOBEST — no theme overrides, keep default MkDocs Bootstrap theme ── */

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}
/* Justify */
p {
  text-align: justify;
  hyphens: auto;
}
/* ── Workshop schedules ─────────────────────────────────────────── */
.schedule-wrap {
  overflow-x: auto;
  margin: 1rem 0 0.5rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
}
table.schedule {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}
.schedule th,
.schedule td {
  border: 1px solid var(--bs-border-color);
  padding: 0.45rem 0.5rem;
  vertical-align: middle;
  text-align: center;
}
.schedule tr:first-child th { border-top: 0; }
.schedule tr:last-child td,
.schedule tr:last-child th { border-bottom: 0; }
.schedule th:first-child,
.schedule td:first-child { border-left: 0; }
.schedule th:last-child,
.schedule td:last-child { border-right: 0; }

.schedule thead th {
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}
.schedule thead th small {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}
.schedule col.time { width: 4.8rem; }
.schedule th.time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
  font-size: 0.78rem;
}
.schedule thead th.time { color: #fff; background: var(--bs-primary); }

.schedule td strong { display: block; font-weight: 600; }
.schedule .who  { display: block; font-size: 0.78rem; color: var(--bs-secondary-color); }
.schedule .room { display: block; font-size: 0.74rem; font-style: italic; color: var(--bs-secondary-color); }
.schedule .room::before { content: "📍 "; font-style: normal; }
.schedule td > ul { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.schedule td > ul li + li { margin-top: 0.25rem; }

/* Session types — same palette for every year */
.schedule .talk    { background: rgba(var(--bs-primary-rgb), 0.12); }
.schedule .discuss { background: rgba(var(--bs-success-rgb), 0.12); }
.schedule .social  { background: rgba(var(--bs-warning-rgb), 0.16); }
.schedule .brk     { background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); font-style: italic; }
.schedule .info    { color: var(--bs-secondary-color); font-size: 0.78rem; }

.schedule-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.8rem; margin-bottom: 2.5rem; }
.schedule-legend span::before {
  content: ""; display: inline-block; width: 0.9em; height: 0.9em;
  margin-right: 0.35em; vertical-align: -0.1em; border-radius: 0.2em;
  border: 1px solid var(--bs-border-color);
}
.schedule-legend .talk::before    { background: rgba(var(--bs-primary-rgb), 0.25); }
.schedule-legend .discuss::before { background: rgba(var(--bs-success-rgb), 0.25); }
.schedule-legend .social::before  { background: rgba(var(--bs-warning-rgb), 0.3); }
.schedule-legend .brk::before     { background: var(--bs-tertiary-bg); }
