/**
 * Live Classes 2026 prototype. Scoped to this page.
 */

body.ys-live-2026,
body.ys-live-2026 #x-site,
body.ys-live-2026 .x-site,
body.ys-live-2026 .x-main,
body.ys-live-2026 .x-main.full,
body.ys-live-2026 .entry-content,
body.ys-live-2026 .entry-content.content {
  background: #f4f1ea;
}

body.ys-live-2026 .x-container.max.width,
body.ys-live-2026 .x-container.max.width.offset {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.ys-live-2026 .x-main,
body.ys-live-2026 .x-main.full,
body.ys-live-2026 .hentry {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

body.ys-live-2026 .x-sidebar {
  display: none;
}

body.ys-live-2026 .entry-wrap {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.ys-live-2026 .entry-header,
body.ys-live-2026 .entry-title {
  display: none;
}

body.ys-live-2026 .entry-content,
body.ys-live-2026 .entry-content > * {
  margin-top: 0;
}

.ys-live {
  --ys-ink: #0c2832;
  --ys-ink-soft: #243e48;
  --ys-teal: #005970;
  --ys-paper: #f4f1ea;
  --ys-field: #fbfaf6;
  --ys-line: rgba(12, 40, 50, 0.16);
  --ys-display: "miller-display", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --ys-sans: "avenir-next-lt-pro", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.ys-live:not(.is-timed) .ys-live__list,
.ys-live:not(.is-timed) .ys-live__cancel {
  visibility: hidden;
}

.ys-live h1,
.ys-live h2,
.ys-live h3,
.ys-live p,
.ys-live ul,
.ys-live ol,
.ys-live li,
.ys-live figure {
  margin: 0;
  padding: 0;
}

.ys-live__review {
  background: #e7e1d6;
  color: var(--ys-ink-soft);
  font-size: 0.875rem;
  line-height: 1.4;
}

.ys-live__review p {
  width: min(1240px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0.7rem 0;
}

.ys-live__review a {
  margin-left: 0.75rem;
  color: var(--ys-teal);
  font-weight: 500;
  text-decoration: none;
}

.ys-live__review a[aria-current="true"] {
  color: var(--ys-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ys-live__wrap {
  width: min(1240px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.ys-live--schedule .ys-live__wrap {
  padding-top: clamp(1.15rem, 2.4vw, 1.85rem);
}

.ys-live--public .ys-live__wrap {
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

.ys-live__intro h1,
.ys-live__teach h2,
.ys-live__schedule h2,
.ys-live__paths h2,
.ys-live__notes h2 {
  font-family: var(--ys-display);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.ys-live__intro h1 {
  max-width: 16em;
  font-size: clamp(2.55rem, 5.4vw, 4.15rem);
}

.ys-live--schedule .ys-live__intro h1 {
  max-width: none;
  font-size: clamp(2.35rem, 4.6vw, 3.5rem);
}

.ys-live--public .ys-live__intro h1 {
  max-width: 11em;
  font-size: clamp(2.25rem, 4.1vw, 3.35rem);
  line-height: 1.08;
  text-wrap: wrap;
}

@media (max-width: 420px) {
  .ys-live--public .ys-live__intro h1 {
    text-wrap: balance;
  }
}

.ys-live--public .ys-live__teach {
  margin-top: clamp(1.6rem, 3vw, 2.35rem);
}

.ys-live--public .ys-live__schedule,
.ys-live--public .ys-live__paths,
.ys-live--public .ys-live__notes {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.ys-live__eyebrow {
  margin-bottom: 0.75rem;
  color: var(--ys-teal);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ys-live__statement {
  max-width: 36rem;
  margin-top: 0.85rem;
  font-family: var(--ys-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
}

.ys-live__lede,
.ys-live__teach p,
.ys-live__schedule-intro,
.ys-live__section-intro,
.ys-live__path p,
.ys-live__notes p {
  max-width: 40rem;
  color: var(--ys-ink-soft);
}

.ys-live__lede {
  margin-top: 1.15rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

.ys-live--public .ys-live__lede {
  margin-top: calc(1.15rem + 10px);
}

.ys-live__teach {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.75rem, 6vw, 4.75rem);
  align-items: start;
}

.ys-live__teach h2,
.ys-live__schedule h2,
.ys-live__paths h2,
.ys-live__notes h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.ys-live__teach p,
.ys-live__schedule-intro,
.ys-live__section-intro,
.ys-live__notes p {
  margin-top: 0.9rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.ys-live--public .ys-live__schedule-intro,
.ys-live--public .ys-live__section-intro {
  margin-top: calc(0.9rem + 10px);
}

.ys-live__teach p + p {
  margin-top: 0.85rem;
}

.ys-live__teach-figure {
  margin: 0;
}

.ys-live__teach-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ys-live--public .ys-live__when {
  order: 1;
}

.ys-live--public .ys-live__meta {
  order: 2;
  margin-top: 0.15rem;
}

.ys-live--public .ys-live__time {
  order: 3;
}

.ys-live--public .ys-live__row {
  padding: 1.05rem 0 1.15rem;
  gap: 0.15rem 1.5rem;
}

.ys-live--public .ys-live__row--next {
  box-shadow: inset 2px 0 0 var(--ys-teal);
  padding-left: 0.75rem;
}

.ys-live__schedule {
  margin-top: clamp(2.75rem, 6vw, 4.75rem);
}

.ys-live--schedule .ys-live__intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.ys-live--schedule .ys-live__schedule {
  margin-top: 0.85rem;
}

.ys-live--schedule .ys-live__intro p {
  max-width: 38rem;
  margin-top: 0.55rem;
  color: var(--ys-ink-soft);
  font-size: 1.125rem;
}

.ys-live__member-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--ys-teal);
  font-weight: 500;
  text-decoration: none;
}

.ys-live__member-link:hover,
.ys-live__member-link:focus {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ys-live__rule {
  max-width: 28rem;
  margin-top: 0.35rem;
  color: var(--ys-ink-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}

.ys-live__schedule-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ys-live__zone {
  margin-top: 0.7rem;
  color: var(--ys-ink-soft);
  font-size: 0.95rem;
}

.ys-live__zone-control {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ys-live__zone-control label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ys-live select {
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 2.4rem 0 0.9rem;
  border: 1px solid var(--ys-line);
  border-radius: 2px;
  background-color: var(--ys-field);
  background-image: linear-gradient(45deg, transparent 50%, var(--ys-ink) 50%), linear-gradient(135deg, var(--ys-ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  box-shadow: none;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 1rem;
  line-height: 1.3;
}

.ys-live__sample {
  margin-top: 0.85rem;
  color: var(--ys-ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
}

.ys-live__list {
  list-style: none;
  margin-top: 0.35rem;
  border-top: 1px solid var(--ys-line);
}

.ys-live--public .ys-live__sample {
  margin-top: 10px;
  color: #5d727c;
  font-size: 0.8125rem;
  font-weight: 400;
}

.ys-live--public .ys-live__list {
  margin-top: 14px;
}

.ys-live--schedule .ys-live__sample {
  margin-top: 0;
  color: #5d727c;
  font-size: 0.8125rem;
  font-weight: 400;
}

.ys-live--schedule .ys-live__list {
  margin-top: 10px;
}

.ys-live--schedule .ys-live__when {
  order: 1;
}

.ys-live--schedule .ys-live__meta {
  order: 2;
  margin-top: 0.1rem;
}

.ys-live--schedule .ys-live__time {
  order: 3;
}

.ys-live--schedule .ys-live__action {
  order: 4;
}

.ys-live--schedule .ys-live__panel,
.ys-live--schedule .ys-live__preview-note {
  order: 5;
}

.ys-live--schedule .ys-live__row {
  padding: 0.8rem 0 0.9rem;
  gap: 0.2rem 1.35rem;
}

.ys-live--schedule .ys-live__row--next {
  box-shadow: inset 2px 0 0 var(--ys-teal);
  padding-left: 0.65rem;
}

.ys-live--schedule .ys-live__clock {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.4rem;
}

.ys-live--schedule .ys-live__clock-range {
  white-space: nowrap;
}

.ys-live__nextday {
  color: #5d727c;
  font-size: 0.8125rem;
  font-weight: 500;
}

.ys-live__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ys-line);
}

.ys-live__next {
  margin-bottom: 0.15rem;
  color: var(--ys-teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ys-live__day {
  font-family: var(--ys-display);
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.15;
}

.ys-live__row--next .ys-live__day {
  font-size: clamp(1.7rem, 2.4vw, 2.05rem);
}

.ys-live__meta,
.ys-live__status {
  color: var(--ys-ink-soft);
  font-size: 0.95rem;
}

.ys-live__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.ys-live__clock {
  color: var(--ys-ink);
  font-size: 1.125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.ys-live__row--next .ys-live__clock {
  font-size: 1.25rem;
}

.ys-live__status {
  margin-top: 0.2rem;
}

.ys-live__intro-copy a,
.ys-live__status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ys-live__status--registered {
  color: var(--ys-teal);
  font-weight: 600;
}

.ys-live__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.35rem;
}

.ys-live__button,
.ys-live__text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  font-family: var(--ys-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.ys-live__button {
  min-width: 7.5rem;
  padding: 0 1.15rem;
  border: 1px solid var(--ys-teal);
  border-radius: 2px;
  background: var(--ys-teal);
  color: #fff;
}

.ys-live__button:hover,
.ys-live__button:focus-visible {
  border-color: var(--ys-ink);
  background: var(--ys-ink);
  color: #fff;
}

.ys-live__button--quiet {
  background: transparent;
  color: var(--ys-teal);
}

.ys-live__text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ys-teal);
}

.ys-live__text-button:hover,
.ys-live__text-button:focus-visible {
  color: var(--ys-ink);
}

.ys-live__button:focus-visible,
.ys-live__text-button:focus-visible,
.ys-live select:focus-visible,
.ys-live__review a:focus-visible {
  outline: 2px solid var(--ys-ink);
  outline-offset: 3px;
}

.ys-live__panel,
.ys-live__preview-note {
  grid-column: 1 / -1;
  padding-top: 0.15rem;
  background: transparent;
  color: var(--ys-ink-soft);
  box-shadow: none;
}

.ys-live__cancel {
  margin-top: 0.85rem;
  color: rgba(12, 40, 50, 0.72);
  font-size: 0.98rem;
}

.ys-live__paths,
.ys-live__notes {
  margin-top: clamp(2.75rem, 6vw, 4.75rem);
}

.ys-live__path-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.35rem;
}

.ys-live__path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1rem;
  border-top: 1px solid var(--ys-line);
}

.ys-live__path h3 {
  font-family: var(--ys-display);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.2;
}

.ys-live__path p {
  margin-top: 0.65rem;
}

.ys-live__price {
  color: var(--ys-ink);
  font-weight: 500;
}

.ys-live__path .ys-live__button,
.ys-live__path .ys-live__text-button {
  margin-top: 1.25rem;
}

.ys-live__prep {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.25rem;
}

.ys-live__prep article {
  padding-top: 0.85rem;
  border-top: 1px solid var(--ys-line);
}

.ys-live__prep h3 {
  font-family: var(--ys-display);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.2;
}

.ys-live__prep p {
  max-width: none;
  margin-top: 0.55rem;
}

@media (min-width: 800px) {
  .ys-live__teach {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.72fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .ys-live--public .ys-live__teach {
    grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 20rem);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.25rem);
  }

  .ys-live__schedule-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .ys-live__zone-control {
    flex: 0 0 18rem;
  }

  .ys-live--schedule .ys-live__intro {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .ys-live--schedule .ys-live__intro .ys-live__zone-control {
    flex: 0 0 18rem;
    margin-bottom: 0.1rem;
  }

  .ys-live--schedule .ys-live__row {
    grid-template-columns: max-content max-content minmax(0, 1fr);
    justify-content: start;
    align-items: center;
    column-gap: 1.75rem;
  }

  .ys-live--public .ys-live__row {
    grid-template-columns: minmax(15rem, 22rem) max-content;
    justify-content: start;
    column-gap: 2.25rem;
    align-items: center;
  }

  .ys-live__when {
    grid-column: 1;
    grid-row: 1;
  }

  .ys-live__meta {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0.2rem;
  }

  .ys-live__time {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .ys-live__action {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .ys-live__action {
    justify-content: flex-end;
  }

  .ys-live--schedule .ys-live__action {
    justify-self: end;
  }

  .ys-live--schedule .ys-live__text-button {
    white-space: nowrap;
  }

  .ys-live__path-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }

  .ys-live__path p {
    margin-bottom: 1.25rem;
  }

  .ys-live__path .ys-live__button,
  .ys-live__path .ys-live__text-button {
    margin-top: auto;
  }

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

@media (max-width: 799px) {
  .ys-live--public .ys-live__teach-figure {
    max-width: 22rem;
  }

  .ys-live__button,
  .ys-live__action .ys-live__text-button {
    width: 100%;
  }

  .ys-live__action .ys-live__text-button {
    justify-content: flex-start;
  }

  .ys-live__path .ys-live__button {
    width: 100%;
  }
}
