:root {
  --v2-ink: #111111;
  --v2-muted: #666666;
  --v2-line: #d8d8d8;
  --v2-gutter: 6px;
  --v2-type-time: 44px;
  --v2-type-title: 20px;
  --v2-type-body: 13.5px;
  --v2-type-meta: 10px;
  /* Sizes the removed on-page tuning panel used to drive. They stay as
     variables because the print rules scale several of them with calc(). */
  --v2-user-title-size: 20px;
  --v2-user-meta-size: 10px;
  --v2-user-body-size: 13.5px;
  --v2-user-time-size: 44px;
  --v2-user-room-size: 22px;
  --v2-user-common-size: 30px;
  --v2-user-card-padding: 10px;
  --v2-user-title-gap: 24px;
}

.v2-schedule {
  padding-block: 40px 96px;
  font-family: var(--font-body);
}

.v2-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.v2-page-title {
  margin: 0;
  color: var(--accent-bg);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1;
  text-transform: uppercase;
}

.v2-toolbar-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.v2-day-switch {
  display: flex;
  border: 1px solid var(--accent-bg);
}

.v2-day-button {
  min-width: 180px;
  min-height: 54px;
  padding: 11px 24px;
  border: 0;
  background: var(--light-100);
  color: var(--accent-bg);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.v2-day-button + .v2-day-button { border-left: 1px solid var(--accent-bg); }
.v2-day-button.is-active { background: var(--accent-bg); color: var(--light-100); }
.v2-day-button:not(.is-active):hover { background: rgba(10, 41, 255, .07); }
.v2-day-button:focus-visible { position: relative; z-index: 2; outline: 3px solid var(--v2-ink); outline-offset: 3px; }

.v2-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 172px;
  min-height: 56px;
  padding: 11px 20px;
  border: 1px solid var(--accent-bg);
  background: var(--light-100);
  color: var(--accent-bg);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.v2-pdf-button:hover { background: rgba(10, 41, 255, .07); }
.v2-pdf-button:active { background: var(--accent-bg); color: var(--light-100); }
.v2-pdf-button:focus-visible { outline: 3px solid var(--v2-ink); outline-offset: 3px; }

.v2-status {
  margin-bottom: 30px;
  padding: 22px;
  border: 1px solid var(--accent-bg);
  color: var(--accent-bg);
  font-weight: 700;
}

.v2-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 340px));
  justify-content: end;
  gap: 12px;
  margin: -12px 0 30px;
}

@media (min-width: 768px) {
  .v2-schedule { padding-block: 0 96px; }
  .v2-toolbar {
    position: sticky;
    z-index: 30;
    top: var(--v2-desktop-toolbar-top, 96px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "title actions"
      "filters filters";
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 0;
    padding-block: 26px 16px;
    background: var(--light-100);
    box-shadow: 0 1px 0 var(--v2-line);
  }
  .v2-page-title { grid-area: title; }
  .v2-toolbar-actions {
    grid-area: actions;
    align-self: end;
    justify-self: end;
    gap: 8px;
  }
  .v2-day-button {
    min-width: 128px;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 17px;
  }
  .v2-pdf-button {
    min-width: 140px;
    min-height: 48px;
    padding-inline: 16px;
    font-size: 16px;
  }
  /* The toolbar is sticky, so a margin under it would be a see-through strip
     that scrolling cards pass through. The gap belongs to the board, which
     scrolls underneath: without it the toolbar's 1px rule landed exactly on
     the top edge of the first time block. */
  .v2-board { padding-top: 28px; }
  .v2-filters {
    grid-area: filters;
    position: static;
    z-index: auto;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
}

@media (min-width: 1200px) {
  .v2-toolbar {
    grid-template-columns: 1fr minmax(340px, 680px) auto;
    grid-template-areas: "title filters actions";
    gap: 24px;
  }
}

.v2-filter {
  display: grid;
  gap: 6px;
  color: var(--v2-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.v2-filter select,
.v2-topic-filter-button {
  width: 100%;
  min-height: 44px;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--v2-line);
  border-radius: 0;
  background: var(--light-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.6 6 6.4 11 1.6' fill='none' stroke='%23111111' stroke-width='1.7'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 12px 8px;
  color: var(--v2-ink);
  font: 600 14px/1.2 var(--font-body);
  text-transform: none;
  appearance: none;
  -webkit-appearance: none;
}

.v2-topic-filter-button[aria-expanded="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.4 6 1.6 11 6.4' fill='none' stroke='%230a29ff' stroke-width='1.7'/%3E%3C/svg%3E"); }

/* Options inherited weight 400 while the topic panel draws its rows at 600.
   Family and size already matched; whether the popup honours the weight is up
   to the browser — the list itself is drawn outside the page. */
.v2-filter select option { font: 600 14px var(--font-body); }

.v2-topic-picker { position: relative; min-width: 0; }

.v2-topic-filter-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

#v2-topic-filter-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The select had no hover or focus rule of its own, so the browser drew its
   default ring next to the topic button's blue one. */
.v2-filter select:hover,
.v2-topic-filter-button:hover,
.v2-topic-filter-button[aria-expanded="true"] { border-color: var(--accent-bg); }

.v2-filter select:focus-visible,
.v2-topic-filter-button:focus-visible { outline: 2px solid var(--accent-bg); outline-offset: 2px; }

.v2-topic-options {
  position: absolute;
  z-index: 60;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: min(360px, 50vh);
  padding: 6px;
  overflow: auto;
  border: 1px solid var(--accent-bg);
  background: var(--light-100);
  box-shadow: 8px 8px 0 rgba(10, 41, 255, .12);
  color: var(--v2-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.v2-topic-options[hidden] { display: none; }

.v2-topic-option {
  display: flex;
  min-height: 38px;
  align-items: flex-start;
  gap: 9px;
  padding: 8px;
  cursor: pointer;
  line-height: 1.2;
}
.v2-topic-option:hover,
.v2-topic-option:has(input:focus-visible) { background: rgba(10, 41, 255, .07); }
.v2-topic-option:has(input:checked) { color: var(--accent-bg); }
.v2-topic-option input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--accent-bg);
}

.v2-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.v2-board { min-width: 0; }
.v2-print-program { display: none; }

.v2-matrix {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: var(--v2-gutter) 18px;
  background: var(--light-100);
}

.v2-time-column { width: 102px; }

.v2-matrix th,
.v2-matrix td {
  min-width: 0;
}

.v2-matrix-corner {
  padding: 0 12px 12px 0;
  border-bottom: 1px solid var(--v2-line);
  color: var(--v2-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}

.v2-matrix-room {
  min-height: 68px;
  padding: 12px 10px;
  border: 1px solid var(--v2-line);
  background: var(--light-100);
  color: var(--accent-bg);
  font-family: var(--font-display);
  font-size: var(--v2-user-room-size, 16px);
  font-weight: 700;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}

.v2-matrix thead th {
  position: sticky;
  z-index: 18;
  top: var(--v2-desktop-matrix-top, 96px);
  background: var(--light-100);
  box-shadow:
    calc(-1 * var(--v2-gutter)) 0 0 var(--light-100),
    var(--v2-gutter) 0 0 var(--light-100),
    0 -18px 0 var(--light-100),
    0 18px 0 var(--light-100),
    calc(-1 * var(--v2-gutter)) 18px 0 var(--light-100),
    var(--v2-gutter) 18px 0 var(--light-100);
}

.v2-room-number,
.v2-room-name { display: block; }

.v2-room-number {
  margin-bottom: 6px;
  color: var(--v2-muted);
  font-family: var(--font-body);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .06em;
}

.v2-matrix-row { break-inside: avoid; }

.v2-slot-time {
  padding: 11px 10px 0 0;
  color: var(--accent-bg);
  font-variant-numeric: tabular-nums;
  text-align: left;
  vertical-align: top;
}

.v2-slot-time strong,
.v2-slot-time span { display: block; }

.v2-slot-time strong {
  font-family: var(--font-display);
  font-size: var(--v2-user-time-size, var(--v2-type-time));
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .82;
}

.v2-slot-time span {
  margin-top: 6px;
  color: var(--v2-muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
}

.v2-matrix-cell {
  padding: 0;
  border: 1px solid var(--v2-line);
  background: var(--light-100);
  vertical-align: top;
}

/* Dimming the contents rather than the cell keeps the 1px grid lines crisp,
   so the matrix still reads as a matrix while a filter is narrowing it. */
.v2-matrix-cell > .v2-card,
.v2-matrix-room > span { transition: opacity .18s ease; }

.v2-matrix-cell.is-muted > .v2-card,
.v2-matrix-room.is-muted > span { opacity: .3; }

.v2-matrix-cell--empty { background: #fafafa; }

.v2-card {
  display: flex;
  width: 100%;
  height: var(--v2-card-height, auto);
  min-width: 0;
  flex-direction: column;
  padding: var(--v2-user-card-padding, 13px 11px 11px);
  background: var(--light-100);
}

.v2-matrix-cell[data-row-span] .v2-card {
  height: var(--v2-spanned-card-height, 100%);
}

.v2-measure-rack {
  position: fixed;
  z-index: -1;
  top: 0;
  left: -100000px;
  width: var(--v2-measure-width);
  visibility: hidden;
  pointer-events: none;
}

.v2-measure-rack .v2-card {
  height: auto !important;
}

.v2-card::before { display: none; }

.v2-card-content {
  min-height: 0;
  flex: 1 1 auto;
}

.v2-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.v2-kind {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 6px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: var(--v2-user-meta-size, var(--v2-type-meta));
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.v2-kind--hard { color: var(--accent-bg); }
.v2-kind--soft { color: var(--v2-ink); }

.v2-topic-list {
  display: flex;
  min-width: 0;
  flex: 1 1 100%;
  align-items: center;
  flex-wrap: wrap;
}

.v2-topic {
  appearance: none;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--v2-muted);
  cursor: pointer;
  font: inherit;
  font-size: var(--v2-user-meta-size, var(--v2-type-meta));
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.18;
  text-align: left;
  text-transform: uppercase;
}

.v2-topic.is-selected { color: var(--accent-bg); }
.v2-topic.is-selected { box-shadow: inset 0 -1px 0 var(--accent-bg); }
.v2-topic:focus-visible {
  outline: 2px solid var(--accent-bg);
  outline-offset: 2px;
}

.v2-topic:not(:last-child)::after {
  content: "·";
  margin-inline: .45em;
  color: var(--v2-muted);
}

.v2-card-title {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: var(--v2-user-title-size, var(--v2-type-title));
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.012em;
  text-transform: uppercase;
  text-wrap: pretty;
}

.v2-matrix-room,
.v2-topic,
.v2-card-title {
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

.v2-matrix-room,
.v2-card-title {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 12 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
}

.v2-card-speaker {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  margin-top: auto;
  padding-top: var(--v2-user-title-gap, 8px);
  color: var(--v2-muted);
  font-size: var(--v2-user-body-size, var(--v2-type-body));
  line-height: 1.2;
}

.v2-card-speaker strong,
.v2-card-speaker span { display: block; }
.v2-card-speaker strong { color: var(--v2-ink); font-weight: 600; }
.v2-card-speaker span { color: var(--v2-muted); }

.v2-card--empty {
  align-items: center;
  justify-content: center;
  background: #fafafa;
  text-align: center;
}

.v2-empty-copy {
  margin: 0;
  color: var(--v2-muted);
  font-size: var(--v2-user-body-size, var(--v2-type-body));
  text-transform: uppercase;
}

.v2-common-cell {
  padding: 0;
  border: 1px solid var(--accent-bg);
  vertical-align: top;
}

.v2-common {
  min-height: 66px;
  display: grid;
  align-content: center;
  padding: 12px 18px;
  background: #e8ebff;
  color: var(--accent-bg);
  font-weight: 700;
}

.v2-common-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.v2-common-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--v2-user-common-size, 24px);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.v2-common--talk .v2-common-copy {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.v2-common-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  font-size: 11px;
  line-height: 1.2;
}

.v2-common-location {
  color: var(--accent-bg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.v2-common--talk .v2-common-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  justify-content: stretch;
  gap: 6px 12px;
  width: 100%;
}

.v2-common--talk .v2-common-person {
  min-width: 0;
  justify-self: stretch;
  white-space: normal;
}
.v2-common--talk .v2-common-location { justify-self: end; }

.v2-common-person {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--v2-muted);
  font-size: var(--v2-user-body-size, var(--v2-type-body));
  line-height: 1.2;
  white-space: nowrap;
}

.v2-common-speaker { color: var(--v2-ink); font-weight: 600; }
.v2-common-company { color: var(--v2-muted); font-weight: 400; }

/* Panel sessions can contain the full participant lineup in the speaker field.
   Let that text wrap inside its grid column while the room keeps a dedicated
   right-hand column; never clip or ellipsize names. */
.v2-common--talk .v2-common-speaker {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
  white-space: normal;
}

@media screen and (min-width: 1800px) and (max-width: 2200px) {
  .v2-schedule {
    --v2-user-title-size: 20px;
    --v2-user-body-size: clamp(12.5px, .25vw + 8px, 13.5px);
    --v2-user-meta-size: clamp(9.5px, .125vw + 7.25px, 10px);
    --v2-user-room-size: clamp(19px, .75vw + 5.5px, 22px);
    --v2-user-time-size: clamp(38px, 1.5vw + 11px, 44px);
    --v2-user-title-gap: clamp(14px, 2.5vw - 31px, 24px);
  }
}

@media (min-width: 1800px) {
  .v2-schedule > .container {
    max-width: 2560px;
    padding-inline: clamp(16px, 1.25vw, 32px);
  }

  .v2-time-column { width: 96px; }
}

@media (max-width: 1799px) {
  .v2-matrix,
  .v2-matrix tbody { display: block; }

  .v2-matrix { border-spacing: 0; }
  .v2-matrix colgroup,
  .v2-matrix thead { display: none; }

  .v2-matrix tbody {
    display: grid;
    gap: 48px;
  }

  .v2-matrix-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .v2-slot-time {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    gap: 12px;
    padding: 0 0 14px;
  }

  .v2-slot-time strong,
  .v2-slot-time span { display: inline; }
  .v2-slot-time span { margin-top: 0; }

  .v2-matrix-cell,
  .v2-common-cell {
    display: block;
    width: auto;
  }

  .v2-matrix-cell {
    border: 1px solid var(--v2-line);
  }

  .v2-matrix-cell[data-row-span] .v2-card {
    height: var(--v2-card-height, auto);
  }

  .v2-card {
    padding: var(--v2-user-card-padding, 18px);
  }

  .v2-card::before {
    content: attr(data-room-label);
    display: block;
    padding-bottom: 12px;
    color: var(--accent-bg);
    font-family: var(--font-display);
    font-size: var(--v2-user-room-size, 18px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
  }

  .v2-card-title { font-size: var(--v2-user-title-size, 18px); }
  .v2-card-speaker { font-size: var(--v2-user-body-size, 12px); }
  .v2-common-cell { grid-column: 1 / -1; }
}

@media (max-width: 1099px) and (min-width: 768px) {
  .v2-matrix-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-common-copy { grid-template-columns: 1fr; gap: 8px; }
  .v2-common--talk .v2-common-copy { grid-template-columns: 1fr; }
  .v2-common--talk .v2-common-details { justify-content: stretch; }
}

@media (max-width: 767px) {
  .v2-schedule { padding-block: 22px 72px; }
  .v2-toolbar { display: contents; }
  .v2-page-title { margin-bottom: 16px; font-size: 40px; }
  .v2-toolbar-actions {
    position: sticky;
    z-index: 20;
    top: var(--v2-mobile-actions-top, 76px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 0;
    margin: 0 0 28px;
    padding-block: 8px;
    background: var(--light-100);
    box-shadow: 0 1px 0 var(--v2-line);
  }
  .v2-filters {
    position: sticky;
    z-index: 19;
    top: var(--v2-mobile-filters-top, 142px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 28px;
    padding: 10px 0;
    background: var(--light-100);
  }
  .v2-filter select,
  .v2-topic-filter-button {
    min-height: 48px;
    font-size: 16px;
  }
  .v2-day-switch {
    display: contents;
    border: 0;
  }
  .v2-day-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border: 1px solid var(--accent-bg);
    padding-inline: 6px;
    font-size: clamp(13px, 4vw, 17px);
  }
  .v2-day-button + .v2-day-button { border-left: 0; }
  .v2-pdf-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    gap: 6px;
    margin-left: 0;
    border-left: 0;
    padding-inline: 6px;
    font-size: clamp(13px, 3.8vw, 16px);
    white-space: nowrap;
  }

  .v2-matrix tbody { gap: 40px; }
  .v2-matrix-row { grid-template-columns: 1fr; }
  .v2-slot-time {
    position: sticky;
    z-index: 18;
    top: var(--v2-mobile-time-top, 230px);
    margin: 0;
    padding: 10px 0 12px;
    background: var(--light-100);
    box-shadow: 0 1px 0 var(--v2-line);
  }
  .v2-topic {
    min-height: 30px;
    padding: 5px 6px;
    border: 1px solid transparent;
    cursor: pointer;
    touch-action: manipulation;
  }
  .v2-topic-list { gap: 4px; }
  .v2-topic:not(:last-child)::after { content: none; }
  .v2-topic.is-selected {
    border-color: var(--accent-bg);
    background: rgba(10, 41, 255, .08);
    box-shadow: none;
    color: var(--accent-bg);
  }
  .v2-topic:focus-visible {
    outline: 2px solid var(--accent-bg);
    outline-offset: 2px;
  }
  .v2-matrix-row[hidden],
  .v2-matrix-cell[hidden],
  .v2-matrix-cell--empty { display: none !important; }
  .v2-slot-time strong { font-size: var(--v2-user-time-size, 42px); }
  .v2-card { height: auto; padding: var(--v2-user-card-padding, 18px); }
  .v2-card::before { font-size: var(--v2-user-room-size, 15px); }
  .v2-card-title { font-size: var(--v2-user-title-size, 18px); }
  .v2-common { min-height: 66px; padding: 12px 18px; }
  .v2-common-copy { grid-template-columns: 1fr; gap: 7px; }
  .v2-common--talk .v2-common-copy { grid-template-columns: 1fr; }
  .v2-common--talk .v2-common-details { grid-template-columns: 1fr; justify-content: stretch; }
  .v2-common--talk .v2-common-location { justify-self: start; }
  .v2-common-title { font-size: var(--v2-user-common-size, 20px); }

}

@media print {
  @page { size: A3 landscape; margin: 5mm; }

  /* @page size is a request: iOS ignores it outright and the desktop print
     dialog overrides it. Nothing may assume A3 — the page box itself is the
     canvas, expressed in vw/vh, which in paged media resolve to that box. */
  html,
  body {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .site-header,
  .site-footer,
  .v2-toolbar,
  .v2-filters { display: none !important; }

  .container { width: 100%; max-width: none; padding-inline: 0; }
  .v2-schedule { padding: 0; }
  .v2-board { display: none !important; }
  .v2-print-program { display: block; }

  .v2-print-day {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
    break-inside: avoid-page;
    page-break-inside: avoid;
  }

  .v2-print-content {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    transform-origin: top left;
  }

  .v2-print-day + .v2-print-day {
    break-before: page;
    page-break-before: always;
  }

  .v2-print-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 4px;
  }

  .v2-print-logo {
    display: block;
    width: 120px;
    height: auto;
  }

  .v2-print-date {
    margin: 0;
    color: var(--accent-bg);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
  }

  .v2-matrix { display: table; width: 100%; border-spacing: 0 3px; }
  .v2-matrix colgroup { display: table-column-group; }
  .v2-matrix thead { display: table-header-group; }
  .v2-matrix tbody { display: table-row-group; }
  .v2-matrix-row { display: table-row; }
  .v2-time-column { width: 72px; }

  .v2-matrix-corner { display: table-cell; padding: 0 6px 4px 0; font-size: 6.5px; }
  .v2-matrix-room {
    display: table-cell;
    min-height: 0;
    padding: 5px 4px;
    border: .5pt solid #a0a0a0;
    font-size: clamp(6px, calc(var(--v2-user-room-size, 16px) * .5), 15px);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .v2-matrix thead th { position: static; box-shadow: none; }

  .v2-slot-time {
    display: table-cell;
    padding: 5px 6px 0 0;
  }
  .v2-slot-time strong,
  .v2-slot-time span { display: block; }
  .v2-slot-time strong {
    font-size: clamp(16px, calc(var(--v2-user-time-size, 40px) * .525), 24px);
  }
  .v2-slot-time span {
    margin-top: 2px;
    font-size: clamp(6px, calc(var(--v2-user-time-size, 40px) * .175), 8px);
  }

  .v2-matrix-cell,
  .v2-common-cell { display: table-cell; }
  .v2-matrix-cell {
    height: 138px;
    border: .5pt solid #a0a0a0;
  }

  .v2-card {
    /* Fills the row height so every speaker block in a row sits on the same
       line. With height:auto a single taller card left the rest floating. */
    height: 100%;
    min-height: 138px;
    padding: clamp(4px, calc(var(--v2-user-card-padding, 13px) * .38), 6px);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .v2-matrix-cell[data-row-span] .v2-card {
    height: 100%;
    min-height: 100%;
  }
  .v2-card::before { display: none; content: none; }
  .v2-kind {
    min-height: 14px;
    padding: 1px 3px;
    border-width: 1px;
    font-size: clamp(5.5px, calc(var(--v2-user-meta-size, 9.5px) * .684), 7.5px);
  }
  .v2-topic {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: clamp(5.5px, calc(var(--v2-user-meta-size, 9.5px) * .684), 7.5px);
  }
  .v2-card-title {
    margin-top: 4px;
    font-size: clamp(8px, calc(var(--v2-user-title-size, 16px) * .625), 11px);
    line-height: 1.04;
  }
  .v2-card-speaker {
    gap: 0;
    padding-top: clamp(2px, calc(var(--v2-user-title-gap, 8px) * .375), 4.5px);
    font-size: clamp(6px, calc(var(--v2-user-body-size, 10.5px) * .714), 8.5px);
  }

  /* The placeholder kept its full 13.5px while every other card style scaled
     down, so "СЛОТ УТОЧНЯЕТСЯ" printed larger than the real talk titles. */
  .v2-empty-copy {
    font-size: clamp(6px, calc(var(--v2-user-body-size, 10.5px) * .714), 8.5px);
  }

  .v2-common-cell { grid-column: auto; }
  .v2-common {
    min-height: 32px;
    padding: 4px 7px;
    border: .5pt solid var(--accent-bg);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .v2-common-title {
    font-size: clamp(9px, calc(var(--v2-user-common-size, 24px) * .458), 12px);
  }
  .v2-common--talk .v2-common-copy { gap: 4px; }
  .v2-common-details {
    gap: 3px 6px;
    font-size: clamp(6px, calc(var(--v2-user-body-size, 10.5px) * .667), 8px);
  }
  .v2-common-person {
    gap: 1px;
    font-size: clamp(6px, calc(var(--v2-user-body-size, 10.5px) * .714), 8.5px);
  }
  .v2-common-location {
    padding: 0;
    font-size: clamp(6px, calc(var(--v2-user-room-size, 16px) * .438), 10px);
  }
}
