:root {
  --yct-color-white: #ffffff;
  --yct-color-ink: #0a2133;
  --yct-color-muted: #475b67;
  --yct-color-cream: #f8f5ef;
  --yct-color-green: #0a4f42;
  --yct-color-sage: #c6d2cb;
  --yct-color-sage-soft: #f1f7f4;
  --yct-color-sage-border: #d7e6de;
  --yct-color-terracotta: #c86d51;
  --yct-color-terracotta-dark: #a9533a;
  --yct-color-terracotta-deep: #91432e;
  --yct-color-green-surface: #edf5f2;
  --yct-color-green-border: #cfe2dc;
  --yct-color-green-icon: #ddece7;
  --yct-color-coral-surface: #fbefea;
  --yct-color-coral-border: #ead2c8;
  --yct-color-coral-icon: #f4ded6;
  --yct-text: var(--yct-color-ink);
  --yct-text-muted: var(--yct-color-muted);
  --yct-surface: var(--yct-color-white);
  --yct-surface-warm: var(--yct-color-cream);
  --yct-nav-hover: var(--yct-color-sage);
  --yct-nav-current: var(--yct-color-sage-soft);
  --yct-border-decorative: var(--yct-color-sage);
  --yct-border-control: var(--yct-color-terracotta-dark);
  --yct-button-bg: var(--yct-color-terracotta-dark);
  --yct-button-hover-bg: var(--yct-color-terracotta-deep);
  --yct-button-text: var(--yct-color-white);
  --yct-link: var(--yct-color-green);
  --yct-link-hover: var(--yct-color-terracotta-dark);
  --yct-focus-dark: var(--yct-color-green);
  --yct-focus-light: var(--yct-color-cream);
  --yct-menu-shadow: 0 8px 18px rgba(10, 33, 51, 0.1);
  --yct-about-yogi-surface: var(--yct-color-green-surface);
  --yct-about-yogi-border: var(--yct-color-green-border);
  --yct-about-yogi-accent: var(--yct-color-green);
  --yct-about-yogi-icon: var(--yct-color-green-icon);
  --yct-about-instructor-surface: var(--yct-color-coral-surface);
  --yct-about-instructor-border: var(--yct-color-coral-border);
  --yct-about-instructor-accent: var(--yct-color-terracotta-dark);
  --yct-about-instructor-icon: var(--yct-color-coral-icon);
  --yct-form-field-bg: var(--yct-surface);
  --yct-form-field-text: var(--yct-text);
  --yct-form-field-border: #64748b;
  --yct-form-field-radius: .75rem;
  --yct-form-field-padding: .75rem .85rem;
  --yct-form-field-min-height: 44px;
  --yct-form-font-size: 1rem;
  --yct-form-line-height: 1.5;
  --yct-form-field-gap: .85rem;
  --yct-form-error: #b91c1c;
  --yct-form-error-bg: #fef2f2;
  --yct-form-success: #14532d;
  --yct-form-success-bg: #f0fdf4;
  --yct-form-disabled-bg: var(--yct-soft);
  --yct-focus-width: 3px;
  --yct-focus-offset: 2px;
  --yct-border: #d7d7d7;
  --yct-muted: #5f6368;
  --yct-bg: var(--yct-surface);
  --yct-soft: #f6f7f7;
  --yct-ink: #111827;
  --yct-primary: #1f2937;
}

.yct-form {
  display: grid;
  gap: 0.85rem;
}

/* YCT component boundaries own form spacing instead of the active theme. */
.yct-auth-card .yct-form,
#yct-dashboard-main .yct-form {
  margin: 0;
}

.yct-auth-card .yct-form label,
.yct-auth-card .yct-form fieldset,
.yct-auth-card .yct-form legend,
#yct-dashboard-main .yct-form label,
#yct-dashboard-main .yct-form fieldset,
#yct-dashboard-main .yct-form legend {
  margin: 0;
}

.yct-auth-card.yct-login-card .yct-login-form__password {
  display: grid;
  gap: 0.35rem;
}
.yct-auth-card.yct-login-card .yct-login-form__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.yct-auth-card.yct-login-card .yct-login-form__label-row a,
.yct-auth-card.yct-login-card .yct-login-card__register a {
  color: var(--yct-link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
.yct-auth-card.yct-login-card .yct-login-form__label-row a:hover,
.yct-auth-card.yct-login-card .yct-login-card__register a:hover {
  color: var(--yct-link-hover);
}
.yct-auth-card.yct-login-card .yct-login-form__label-row a:focus-visible,
.yct-auth-card.yct-login-card .yct-login-card__register a:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid var(--yct-focus-dark);
  outline-offset: 3px;
}
.yct-auth-card.yct-login-card .yct-login-card__register {
  margin: 1rem 0 0;
  text-align: center;
}

.yct-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.yct-provider-choice {
  display: grid;
  gap: 0.75rem;
}

.yct-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.yct-field.is-focused input,
.yct-field.is-focused select,
.yct-field.is-focused textarea,
.yct-style-picker.is-focused {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.yct-field.is-invalid input,
.yct-field.is-invalid select,
.yct-field.is-invalid textarea,
.yct-style-picker.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.yct-field.is-invalid::after,
.yct-style-picker.is-invalid::after {
  content: "Required field";
  color: #b91c1c;
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.yct-style-picker.is-invalid::after {
  content: "Select at least one yoga style or add an other style.";
}

.yct-style-chip:focus-within {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* v1.4.1 required-field validation fix */
.yct-field .yct-validation-message,
.yct-style-picker .yct-validation-message {
  color: #b91c1c;
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.yct-field.is-invalid::after,
.yct-style-picker.is-invalid::after {
  content: none;
}

.yct-field.is-invalid input,
.yct-field.is-invalid select,
.yct-field.is-invalid textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.yct-form.was-submitted .yct-field.is-invalid input,
.yct-form.was-submitted .yct-field.is-invalid select,
.yct-form.was-submitted .yct-field.is-invalid textarea,
.yct-form.was-submitted .yct-style-picker.is-invalid {
  background-color: #fff7f7;
}

.yct-field-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#yct-dashboard-main .yct-price-amount-row[hidden],
#yct-dashboard-main .yct-price-confirm[hidden] {
  display: none !important;
}
#yct-dashboard-main .yct-price-confirm {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}
#yct-dashboard-main .yct-price-confirm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
}
#yct-dashboard-main .yct-price-confirm__dialog {
  position: relative;
  width: min(100%, 30rem);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}
#yct-dashboard-main .yct-price-confirm__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 900;
}
#yct-dashboard-main .yct-price-confirm__content h3,
#yct-dashboard-main .yct-price-confirm__content p {
  margin: 0;
}
#yct-dashboard-main .yct-price-confirm__content h3 {
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.3;
}
#yct-dashboard-main .yct-price-confirm__content p {
  margin-top: 0.65rem;
  color: #475569;
  line-height: 1.55;
}
#yct-dashboard-main .yct-price-confirm__content strong {
  color: #0f172a;
}
#yct-dashboard-main .yct-price-confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 700px) {
  .yct-auth-card.yct-login-card .yct-login-form__label-row {
    flex-wrap: wrap;
  }
  #yct-dashboard-main .yct-price-confirm__dialog {
    padding: 1.25rem;
  }
  #yct-dashboard-main .yct-price-confirm__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  #yct-dashboard-main .yct-price-confirm__actions .yct-button {
    width: 100%;
  }
}
/* Registration password controls and accessible strength feedback. */
.yct-password-control {
  position: relative;
  display: block;
}

.yct-password-control input {
  width: 100%;
  padding-right: 4.5rem;
}

.yct-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  min-width: 3.25rem;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--yct-link);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.yct-password-toggle:hover {
  background: #ecfdf5;
}

.yct-password-toggle:focus-visible {
  outline: 2px solid var(--yct-focus-dark);
  outline-offset: 2px;
}

.yct-password-help {
  display: block;
  margin-top: 0.5rem;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
}

.yct-password-strength {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
}

.yct-password-strength__track {
  display: block;
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.yct-password-strength__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #94a3b8;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.yct-password-strength[data-strength="0"],
.yct-password-strength[data-strength="1"],
.yct-password-strength[data-strength="5"] {
  color: #b91c1c;
}

.yct-password-strength[data-strength="0"] .yct-password-strength__fill {
  width: 20%;
  background: #dc2626;
}

.yct-password-strength[data-strength="1"] .yct-password-strength__fill,
.yct-password-strength[data-strength="5"] .yct-password-strength__fill {
  width: 35%;
  background: #dc2626;
}

.yct-password-strength[data-strength="2"] {
  color: #92400e;
}

.yct-password-strength[data-strength="2"] .yct-password-strength__fill {
  width: 60%;
  background: #d97706;
}

.yct-password-strength[data-strength="3"],
.yct-password-strength[data-strength="4"] {
  color: #047857;
}

.yct-password-strength[data-strength="3"] .yct-password-strength__fill {
  width: 80%;
  background: #059669;
}

.yct-password-strength[data-strength="4"] .yct-password-strength__fill {
  width: 100%;
  background: #047857;
}

@media (prefers-reduced-motion: reduce) {
  .yct-password-strength__fill {
    transition: none;
  }
}
/* Requirement status takes precedence when the strength estimate and policy result differ. */
.yct-password-strength[data-requirement=too-short][data-strength="3"],
.yct-password-strength[data-requirement=too-short][data-strength="4"] {
  color: #92400e;
}

.yct-password-strength[data-requirement=too-short][data-strength="3"] .yct-password-strength__fill,
.yct-password-strength[data-requirement=too-short][data-strength="4"] .yct-password-strength__fill {
  background: #d97706;
}

.yct-password-strength[data-requirement=too-long] {
  color: #b91c1c;
}

.yct-password-strength[data-requirement=too-long] .yct-password-strength__fill {
  background: #dc2626;
}

.yct-password-strength[data-requirement=forbidden-term] {
  color: #b91c1c;
}

.yct-password-strength[data-requirement=forbidden-term] .yct-password-strength__fill {
  background: #dc2626;
}

.yct-cards {
  display: grid;
  gap: 1rem;
}

.yct-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.yct-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
}

/* Public class list: horizontal desktop cards with image-led mobile layouts. */
.yct-has-available-classes .yct-home-classes .yct-no-classes-only {
  display: none !important;
}

.yct-home-classes {
  width: 100%;
  margin-inline: auto;
}

.yct-home-classes .yct-header {
  margin-bottom: 1.25rem;
}

.yct-home-classes .yct-header h2,
.yct-home-classes .yct-header .yct-subtitle {
  margin: 0;
}

.yct-home-classes .yct-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.yct-city-selector {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  border: 1px solid #d7e6de;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #ffffff 0%, #edf7f2 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.yct-city-selector .yct-city-selector__eyebrow {
  margin: 0 0 1rem;
  color: #277353;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yct-city-selector .yct-city-selector__intro {
  margin: 0.45rem 0 0;
  color: #475569;
  line-height: 1.55;
}

.yct-city-selector .yct-city-selector__form {
  margin: clamp(1.2rem, 3vw, 1.75rem) 0 0;
}

.yct-city-selector .yct-city-selector__form > label {
  display: block;
  margin: 0 0 0.55rem;
  color: #0f172a;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.yct-city-selector .yct-city-selector__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.yct-city-selector--single-market .yct-city-selector__controls {
  grid-template-columns: minmax(0, 1fr);
}

.yct-city-selector .yct-city-selector__form select {
  width: 100%;
  min-height: 3.75rem;
  margin: 0;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 2px solid #8ab8a3;
  border-radius: 0.85rem;
  background-color: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 750;
}

.yct-city-selector .yct-city-selector__form select:focus {
  border-color: #277353;
  box-shadow: 0 0 0 4px rgba(39, 115, 83, 0.18);
  outline: 2px solid transparent;
}

.yct-city-selector .yct-city-selector__form select:disabled {
  cursor: default;
  opacity: 1;
}

.yct-city-selector .yct-city-selector__controls .yct-button {
  min-height: 3.75rem;
  margin: 0;
  white-space: nowrap;
}

.yct-city-selector .yct-city-selector__status {
  min-height: 1.4em;
  margin: 0.45rem 0 0;
  color: #64748b;
  font-size: 0.8rem;
}

.yct-city-selector .yct-city-selector__request {
  margin: 1rem 0 0;
  color: #334155;
  font-size: 0.95rem;
}

.yct-city-selector .yct-city-selector__request a {
  color: #174c36;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.yct-home-classes .yct-header .yct-subtitle {
  margin-top: 0.35rem;
  color: #475569;
}

.yct-public-class-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.yct-public-class-list .yct-class-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(21rem, 42vw, 25rem) minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.yct-public-class-list .yct-class-card--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.yct-public-class-list .yct-class-card--no-media .yct-card-body {
  grid-column: 1;
}

.yct-public-class-list [hidden] {
  display: none !important;
}

.yct-public-class-list .yct-class-card__media {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-height: 100%;
  overflow: hidden;
  background: #e8f3ee;
}

.yct-public-class-list .yct-class-card__image {
  width: 100%;
  height: 100%;
}

.yct-public-class-list .yct-class-card__image {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}

.yct-public-class-list .yct-card-time__status {
  position: relative;
  z-index: 1;
  grid-area: status;
  align-self: flex-start;
  max-width: 100%;
  margin: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}

.yct-public-class-list .yct-card-time__status.yct-badge {
  justify-content: center;
}

.yct-public-class-list .yct-card-body {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 19rem;
  padding: 0;
}

.yct-public-class-list .yct-class-card__header {
  padding: 1.15rem 1.35rem 0.95rem;
  border-bottom: 1px solid #edf2f7;
}

.yct-public-class-list .yct-class-card__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "instructor" "time" "badges";
  min-width: 0;
}

.yct-public-class-list .yct-class-card__badges {
  grid-area: badges;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.55rem;
}

.yct-public-class-list .yct-class-card__content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.9rem 1.35rem 1rem;
}

.yct-public-class-list .yct-card-time__range,
.yct-public-class-list .yct-class-card__description,
.yct-public-class-list .yct-class-card__instructor p,
.yct-public-class-list .yct-class-card__notes,
.yct-public-class-list .yct-class-card__price,
.yct-public-class-list .yct-class-card__details,
.yct-public-class-list .yct-class-card__details div,
.yct-public-class-list .yct-class-card__details dt,
.yct-public-class-list .yct-class-card__details dd {
  margin: 0;
}

.yct-public-class-list .yct-class-card__title {
  grid-area: title;
  margin: 0;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.yct-public-class-list .yct-card-time__range {
  grid-area: time;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.45rem;
  color: #475569;
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.4;
}

.yct-public-class-list .yct-class-card__description {
  display: -webkit-box;
  margin-top: 0.65rem;
  overflow: hidden;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.yct-public-class-list .yct-class-card__summary {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.7rem 0.85rem;
}

.yct-public-class-list .yct-class-card__summary .yct-class-card__styles,
.yct-public-class-list .yct-class-card__summary .yct-class-card__description {
  margin: 0;
}

.yct-public-class-list .yct-class-card__instructor {
  grid-area: instructor;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  color: #475569;
}

.yct-public-class-list .yct-class-card__avatar {
  display: block;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border: 1px solid #d7e6de;
  border-radius: 999px;
  background: #edf7f2;
}

.yct-public-class-list .yct-class-card__avatar img,
.yct-public-class-list .yct-class-card__avatar .yct-default-instructor-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yct-public-class-list .yct-class-card__instructor p {
  min-width: 0;
}

.yct-public-class-list .yct-class-card__instructor p > span {
  display: inline;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.yct-public-class-list .yct-class-card__instructor a:not(.yct-class-card__avatar) {
  color: #0f172a;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 0.2em;
}

.yct-public-class-list .yct-class-card__instructor a:not(.yct-class-card__avatar):hover {
  text-decoration-color: currentColor;
}

.yct-public-class-list .yct-class-card__details {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.7rem 0.85rem;
}

.yct-public-class-list .yct-class-card__details--primary {
  margin-top: 0;
}

.yct-public-class-list .yct-class-card__styles {
  margin: 0.75rem 0 0;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.yct-public-class-list .yct-class-card__styles--compact {
  display: none;
}

.yct-public-class-list .yct-class-card__details div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 0.35rem;
}

.yct-public-class-list .yct-class-card__details div + div {
  padding-top: 0.55rem;
  border-top: 1px solid #e2e8f0;
}

.yct-public-class-list .yct-class-card__details dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yct-public-class-list .yct-class-card__details dd {
  color: #334155;
  font-weight: 600;
}

.yct-public-class-list .yct-class-card__notes {
  display: -webkit-box;
  margin-top: 0.65rem;
  overflow: hidden;
  color: #475569;
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.yct-public-class-list .yct-class-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin-top: auto;
  padding: 0.8rem 1.35rem;
  border-top: 1px solid #d7e6de;
  background: #f1f7f4;
  text-align: left;
}

.yct-public-class-list .yct-class-card__price {
  align-self: flex-start;
  flex: 0 0 auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.yct-public-class-list .yct-card-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 0;
  width: auto;
}

.yct-public-class-list .yct-card-actions .yct-button {
  width: auto;
  white-space: nowrap;
}

.yct-public-class-list .yct-class-card--in-progress {
  border-color: #bbddc9;
}

.yct-public-class-list .yct-class-card--cancelled,
.yct-public-class-list .yct-class-card--ended {
  background: #f8fafc;
}

.yct-public-class-list .yct-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.yct-public-class-list .yct-empty-card {
  grid-column: 1/-1;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
  text-align: center;
}

.yct-public-class-list .yct-empty-card__title,
.yct-public-class-list .yct-empty-card__message {
  margin: 0;
}

.yct-public-class-list .yct-empty-card__title {
  color: #0f172a;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.25;
}

.yct-public-class-list .yct-empty-card__message {
  margin-top: 0.55rem;
  color: #475569;
}

.yct-empty-support-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid #dce7e1;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.yct-empty-support-card__eyebrow,
.yct-empty-support-card h2,
.yct-empty-support-card > p,
.yct-class-interest__privacy {
  margin: 0;
}

.yct-empty-support-card__eyebrow {
  color: #277353;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yct-empty-support-card h2 {
  margin-top: 0.4rem;
  color: #0f172a;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.yct-empty-support-card > p:not(.yct-empty-support-card__eyebrow) {
  margin-top: 0.65rem;
  color: #475569;
}

.yct-empty-support-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

/* Keep the standalone instructor prompt compact and independent of Kadence spacing. */
.yct-empty-support-card.yct-instructor-cta {
  height: auto;
}

.yct-empty-support-card.yct-instructor-cta .yct-empty-support-card__eyebrow {
  margin: 0;
}

.yct-empty-support-card.yct-instructor-cta h2 {
  margin: 0.4rem 0 0;
}

.yct-empty-support-card.yct-instructor-cta > p:not(.yct-empty-support-card__eyebrow) {
  margin: 0.65rem 0 0;
}

.yct-empty-support-card.yct-instructor-cta .yct-empty-support-card__actions {
  margin: 1.25rem 0 0;
  padding-top: 0;
}

@media (max-width: 640px) {
  .yct-instructor-cta .yct-empty-support-card__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .yct-instructor-cta .yct-empty-support-card__actions .yct-button {
    width: 100%;
  }
}
.yct-empty-support-card .yct-text-link {
  color: #174c36;
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.yct-class-interest__form {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

#yct-class-interest .yct-class-interest__required-note {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Keep Kadence content typography from reopening the interest-card intro stack. */
#yct-class-interest .yct-empty-support-card__eyebrow {
  margin: 0;
}

#yct-class-interest h2 {
  margin: 0.4rem 0 0;
}

#yct-class-interest > p:not(.yct-empty-support-card__eyebrow) {
  margin: 0.65rem 0 0;
}

#yct-class-interest .yct-class-interest__form {
  margin: 1.1rem 0 0;
}

#yct-class-interest .yct-class-interest__required-note {
  margin: 0;
}

.yct-class-interest__field {
  display: grid;
  gap: 0.35rem;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 750;
}

.yct-class-interest__field small {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}

.yct-class-interest__field input,
.yct-class-interest__field select {
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
}

.yct-class-interest__field input:focus,
.yct-class-interest__field select:focus {
  border-color: #277353;
  box-shadow: 0 0 0 3px rgba(39, 115, 83, 0.18);
  outline: 2px solid transparent;
}

.yct-class-interest__field.is-invalid input,
.yct-class-interest__field.is-invalid select {
  border-color: #dc2626;
  background-color: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.yct-class-interest__field .yct-field-error,
.yct-class-interest__consent-wrap .yct-field-error {
  display: block;
  margin: 0;
}

.yct-class-interest__type {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
}

.yct-class-interest__type legend {
  padding: 0 0.25rem;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 750;
}

#yct-class-interest .yct-class-interest__type-help {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
}

.yct-class-interest__type > label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #334155;
  font-size: 0.875rem;
  line-height: 1.4;
}

.yct-class-interest__type input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
}

.yct-class-interest__type label span,
.yct-class-interest__type label small {
  display: block;
}

.yct-class-interest__type label small {
  margin-top: 0.1rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
}

.yct-class-interest__type input:focus-visible {
  outline: 2px solid #277353;
  outline-offset: 2px;
}

.yct-class-interest__type.is-invalid {
  border-color: #dc2626;
  background-color: #fff7f7;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18);
}

.yct-class-interest__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.4;
}

.yct-class-interest__consent input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.1rem 0 0;
}

.yct-class-interest__consent small {
  display: block;
  margin-top: 0.15rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
}

.yct-class-interest__consent-wrap.is-invalid .yct-class-interest__consent {
  border-radius: 0.65rem;
  background: #fff7f7;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18);
  padding: 0.55rem;
}

.yct-class-interest__privacy {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.45;
}

.yct-class-interest__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.yct-class-interest .yct-alert {
  margin-top: 1rem;
}

.yct-class-interest .yct-alert p {
  margin: 0;
}

@media screen and (min-width: 701px) {
  .yct-public-class-list .yct-class-card__title {
    font-size: 2.6rem;
    line-height: 1.1;
  }
}
@media screen and (min-width: 701px) and (max-width: 900px) {
  body .yct-home-classes-row > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) and (min-width: 701px) {
  .yct-public-class-list .yct-class-card:not(.yct-class-card--no-media) {
    grid-template-columns: clamp(18rem, 39vw, 22rem) minmax(0, 1fr);
  }
  .yct-public-class-list .yct-class-card__details div {
    grid-template-columns: max-content minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .yct-city-selector .yct-city-selector__controls {
    grid-template-columns: minmax(0, 1fr);
  }
  .yct-city-selector .yct-city-selector__controls .yct-button {
    width: 100%;
  }
  .yct-public-class-list {
    gap: 0.75rem;
    width: 100%;
  }
  .yct-public-class-list .yct-class-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 0.875rem;
  }
  .yct-public-class-list .yct-class-card__media {
    aspect-ratio: 16/9;
    min-height: 0;
  }
  .yct-public-class-list .yct-card-time__status {
    align-self: flex-start;
    max-width: 100%;
    margin-top: 0;
    transform: none;
  }
  .yct-public-class-list .yct-card-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    margin-top: 0;
    padding: 0;
  }
  .yct-public-class-list .yct-class-card__header {
    padding: 1rem 0.875rem 0.85rem;
  }
  .yct-public-class-list .yct-class-card__instructor p > span {
    display: inline;
  }
  .yct-public-class-list .yct-class-card__content {
    padding: 0.9rem 0.875rem 1rem;
  }
  .yct-public-class-list .yct-class-card__footer {
    align-items: stretch;
    justify-content: flex-start;
    margin-top: auto;
    padding: 0.875rem;
    text-align: left;
  }
  .yct-public-class-list .yct-card-actions {
    margin-left: 0;
    width: 100%;
  }
  .yct-public-class-list .yct-card-actions .yct-button {
    width: 100%;
  }
  .yct-home-classes .yct-header h2 {
    font-size: 1.75rem;
  }
  .yct-home-classes .yct-header {
    margin-bottom: 1rem;
  }
  .yct-public-class-list .yct-class-card__styles--full {
    display: none;
  }
  .yct-public-class-list .yct-class-card__styles--compact {
    display: inline;
  }
  .yct-public-class-list .yct-class-card__details div {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.1rem;
  }
}
@media (max-width: 420px) {
  .yct-public-class-list .yct-card-actions,
  .yct-public-class-list .yct-card-actions .yct-button {
    width: 100%;
  }
}
.yct-home-classes > .yct-past-classes {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.yct-home-classes .yct-past-classes__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.yct-home-classes .yct-past-classes__divider::after {
  flex: 1 1 auto;
  border-top: 1px solid #cbd5e1;
  content: "";
}
.yct-home-classes .yct-past-classes__divider h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.2;
}
.yct-home-classes .yct-past-classes__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  min-height: 1.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 800;
}
.yct-home-classes .yct-past-classes__card {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.yct-home-classes .yct-past-class-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.yct-home-classes .yct-past-class {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
}
.yct-home-classes .yct-past-class[hidden] {
  display: none !important;
}
.yct-home-classes .yct-past-class:not([hidden]) + .yct-past-class:not([hidden]) {
  border-top: 1px solid #e2e8f0;
}
.yct-home-classes .yct-past-class__status {
  margin: 0.05rem 0 0;
}
.yct-home-classes .yct-past-class__title,
.yct-home-classes .yct-past-class__meta {
  margin: 0;
}
.yct-home-classes .yct-past-class__title {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}
.yct-home-classes .yct-past-class__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.45;
}
.yct-home-classes .yct-past-classes__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.yct-home-classes .yct-past-classes__pagination[hidden] {
  display: none !important;
}
.yct-home-classes .yct-past-classes__pagination-status {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.4;
}
.yct-home-classes .yct-past-classes__pagination-status strong {
  color: #0f172a;
  font-weight: 800;
}
.yct-home-classes .yct-past-classes__pagination-actions {
  display: inline-flex;
  flex: 0 0 auto;
}
.yct-home-classes .yct-past-classes__pagination-button {
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.yct-home-classes .yct-past-classes__pagination-button:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}
.yct-home-classes .yct-past-classes__pagination-button:last-child {
  margin-left: -1px;
  border-radius: 0 0.5rem 0.5rem 0;
}
.yct-home-classes .yct-past-classes__pagination-button:hover:not(:disabled),
.yct-home-classes .yct-past-classes__pagination-button:focus-visible {
  position: relative;
  border-color: var(--yct-link);
  color: var(--yct-link);
}
.yct-home-classes .yct-past-classes__pagination-button:focus-visible {
  z-index: 1;
  outline: 3px solid rgba(10, 79, 66, 0.2);
  outline-offset: 2px;
}
.yct-home-classes .yct-past-classes__pagination-button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.7;
}
.yct-home-classes .yct-public-class-list .yct-empty-card__section-title {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}
@media (max-width: 700px) {
  .yct-home-classes .yct-past-class {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.9rem;
  }
  .yct-home-classes .yct-past-class__status {
    justify-self: start;
  }
  .yct-home-classes .yct-past-classes__pagination {
    align-items: stretch;
    flex-direction: column;
    padding: 0.9rem;
  }
  .yct-home-classes .yct-past-classes__pagination-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .yct-home-classes .yct-past-classes__pagination-button {
    width: 100%;
  }
}

#yct-class-interest .yct-class-interest__form[hidden],
#yct-class-interest [data-yct-interest-complete][hidden],
#yct-class-interest [data-yct-interest-city-list][hidden] {
  display: none !important;
}

#yct-class-interest .yct-combobox {
  position: relative;
}

#yct-class-interest .yct-combobox > label {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 750;
}

#yct-class-interest .yct-combobox .yct-field-help {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}

#yct-class-interest .yct-combobox__list {
  position: absolute;
  z-index: 30;
  top: calc(100% - 0.1rem);
  right: 0;
  left: 0;
  max-height: 16rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  border: 1px solid #94a3b8;
  border-radius: 0.65rem;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  list-style: none;
}

#yct-class-interest .yct-combobox__list [role=option] {
  margin: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 0.45rem;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

#yct-class-interest .yct-combobox__list [role=option]:hover,
#yct-class-interest .yct-combobox__list [role=option].is-active,
#yct-class-interest .yct-combobox__list [role=option][aria-selected=true] {
  background: #f1f7f4;
  color: var(--yct-link);
}

#yct-class-interest [data-yct-interest-complete] {
  margin-top: 1rem;
}

#yct-class-interest [data-yct-interest-complete]:focus-visible,
#yct-class-interest [data-yct-interest-success]:focus-visible {
  outline: 3px solid var(--yct-focus-dark);
  outline-offset: 3px;
}

#yct_main_menu {
  width: 100%;
  color: var(--yct-text);
}
#yct_main_menu,
#yct_main_menu * {
  box-sizing: border-box;
}
#yct_main_menu .yct-main-menu__inner,
#yct_main_menu .yct-main-menu__mobile-bar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.75rem;
  padding: 0.625rem 1rem;
}
#yct_main_menu .yct-main-menu__inner {
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
#yct_main_menu .yct-main-menu__links,
#yct_main_menu .yct-main-menu__actions,
#yct_main_menu .yct-main-menu__quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
#yct_main_menu .yct-main-menu__links {
  justify-content: flex-start;
}
#yct_main_menu .yct-main-menu__actions {
  justify-content: flex-end;
  margin-left: auto;
}
#yct_main_menu .yct-main-menu__link,
#yct_main_menu .yct-main-menu__action,
#yct_main_menu .yct-main-menu__toggle {
  font-family: inherit;
}
#yct_main_menu .yct-main-menu__link,
#yct_main_menu .yct-main-menu__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
#yct_main_menu .yct-main-menu__link {
  padding: 0.625rem 0.75rem;
  color: var(--yct-text);
}
#yct_main_menu .yct-main-menu__link:hover {
  color: var(--yct-text);
  background: var(--yct-nav-hover);
}
#yct_main_menu .yct-main-menu__link:focus-visible,
#yct_main_menu .yct-main-menu__link.is-current {
  color: var(--yct-text);
  background: var(--yct-nav-current);
}
#yct_main_menu .yct-main-menu__action {
  border: 1px solid var(--yct-border-control);
  padding: 0.625rem 1rem;
}
#yct_main_menu .yct-main-menu__action--primary {
  color: var(--yct-button-text);
  background: var(--yct-button-bg);
}
#yct_main_menu .yct-main-menu__action--primary:hover,
#yct_main_menu .yct-main-menu__action--primary:focus-visible {
  border-color: var(--yct-button-hover-bg);
  color: var(--yct-button-text);
  background: var(--yct-button-hover-bg);
}
#yct_main_menu .yct-main-menu__action--secondary {
  color: var(--yct-text);
  background: transparent;
}
#yct_main_menu .yct-main-menu__action--secondary:hover,
#yct_main_menu .yct-main-menu__action--secondary:focus-visible {
  border-color: var(--yct-link-hover);
  color: var(--yct-text);
  background: var(--yct-nav-current);
}
#yct_main_menu .yct-main-menu__link:focus-visible,
#yct_main_menu .yct-main-menu__action:focus-visible,
#yct_main_menu .yct-main-menu__toggle:focus-visible {
  outline: 3px solid var(--yct-focus-dark);
  outline-offset: 2px;
}
#yct_main_menu .yct-main-menu__mobile {
  display: none;
}
#yct_main_menu .yct-main-menu__quick-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
}
#yct_main_menu .yct-main-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--yct-border-decorative);
  border-radius: 0.5rem;
  padding: 0;
  color: var(--yct-text);
  background: var(--yct-surface-warm);
  cursor: pointer;
}
#yct_main_menu .yct-main-menu__toggle:hover {
  border-color: var(--yct-link);
  background: var(--yct-nav-current);
}
#yct_main_menu .yct-main-menu__toggle-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
#yct_main_menu .yct-main-menu__icon-close {
  display: none;
}
#yct_main_menu .yct-main-menu__toggle[aria-expanded=true] .yct-main-menu__icon-open {
  display: none;
}
#yct_main_menu .yct-main-menu__toggle[aria-expanded=true] .yct-main-menu__icon-close {
  display: inline;
}
#yct_main_menu .yct-main-menu__mobile-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  border-top: 1px solid var(--yct-border-decorative);
  padding: 0.75rem;
  background: var(--yct-surface);
}
#yct_main_menu .yct-main-menu__mobile-panel[hidden] {
  display: none;
}
#yct_main_menu .yct-main-menu__mobile-panel .yct-main-menu__link,
#yct_main_menu .yct-main-menu__mobile-panel .yct-main-menu__action {
  justify-content: flex-start;
  width: 100%;
  min-height: 2.75rem;
  padding-right: 0.875rem;
  padding-left: 0.875rem;
  text-align: left;
}

.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel {
  position: relative;
  z-index: 20;
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  clear: both;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid var(--yct-border-decorative);
  border-bottom: 1px solid var(--yct-color-sage-border);
  padding: 0.75rem;
  background: var(--yct-surface);
  box-shadow: var(--yct-menu-shadow);
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel[hidden] {
  display: none;
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__link,
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 2.75rem;
  border-radius: 0.5rem;
  padding-right: 0.875rem;
  padding-left: 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__link {
  color: var(--yct-text);
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__link:hover {
  color: var(--yct-text);
  background: var(--yct-nav-hover);
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__link:focus-visible,
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__link.is-current {
  color: var(--yct-text);
  background: var(--yct-nav-current);
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__action {
  border: 1px solid var(--yct-border-control);
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__action--secondary {
  color: var(--yct-text);
  background: transparent;
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__action--secondary:hover,
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__action--secondary:focus-visible {
  border-color: var(--yct-link-hover);
  color: var(--yct-text);
  background: var(--yct-nav-current);
}
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__link:focus-visible,
.site-header.yct-main-menu-host > .yct-main-menu__mobile-panel .yct-main-menu__action:focus-visible {
  outline: 3px solid var(--yct-focus-dark);
  outline-offset: 2px;
}

@media screen and (max-width: 700px) {
  #yct_main_menu .yct-main-menu__desktop {
    display: none;
  }
  #yct_main_menu .yct-main-menu__mobile {
    display: block;
  }
  #yct_main_menu .yct-main-menu__mobile-bar {
    gap: 0.625rem;
    min-height: 4rem;
    padding: 0.5rem 0.75rem;
  }
  #yct_main_menu .yct-main-menu__quick-actions .yct-main-menu__action {
    padding-right: 0.875rem;
    padding-left: 0.875rem;
    white-space: nowrap;
  }
}
@media screen and (min-width: 701px) {
  #yct_main_menu .yct-main-menu__mobile {
    display: none !important;
  }
}
.yct-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.yct-studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.yct-instructor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Branded fallback used when an instructor has not uploaded a profile photo. */
.yct-directory .yct-default-instructor-avatar,
.yct-instructor-profile .yct-default-instructor-avatar {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
}

.yct-instructor-profile .yct-profile-photo .yct-default-instructor-avatar {
  max-width: 18rem;
}

.yct-looking-for-a-class {
  background-color: var(--yct-about-yogi-surface);
  border-color: var(--yct-about-yogi-border);
  min-height: 100px;
  border-radius: 1rem;
  border: 1px solid var(--accent-color, var(--yct-about-yogi-border));
  padding: 40px;
}
.yct-looking-for-a-class h2 {
  color: var(--yct-about-yogi-accent);
}

.yct-teaching-a-class {
  background-color: var(--yct-about-instructor-surface);
  border-color: var(--yct-about-instructor-border);
  min-height: 100px;
  border-radius: 1rem;
  border: 1px solid var(--accent-color, var(--yct-about-instructor-border));
  padding: 40px;
}
.yct-teaching-a-class h2 {
  color: var(--yct-about-instructor-accent);
}

.yct-no-attention__closing,
.yct-both-sides__closing {
  padding: 0.75rem 0;
  background: transparent;
}
.yct-no-attention__closing span,
.yct-both-sides__closing span {
  display: block;
  font-size: 1.875rem;
  font-weight: 600;
  text-align: center;
}

.yct-no-attention__closing,
.yct-both-sides__closing {
  border-top: 1px solid var(--yct-color-cream);
  border-bottom: 1px solid var(--yct-color-cream);
}
.yct-no-attention__closing span.our-approach-closing-text,
.yct-both-sides__closing span.our-approach-closing-text {
  color: var(--yct-color-cream);
}

.yct-both-sides__closing {
  border-top: 1px solid var(--yct-about-yogi-accent);
  border-bottom: 1px solid var(--yct-about-yogi-accent);
}
.yct-both-sides__closing span.made-for-both-sides-text {
  color: var(--yct-about-yogi-accent);
}

@media (hover: hover) and (pointer: fine) {
  .yct-audience-panel {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  }
  .yct-audience-panel:hover, .yct-audience-panel:focus-within {
    animation: yct-panel-breathe 720ms ease-out 1 both;
  }
}
@keyframes yct-panel-breathe {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(10, 79, 66, 0);
  }
  45% {
    transform: translateY(-3px) scale(1.012);
    box-shadow: 0 12px 30px rgba(10, 79, 66, 0.14);
  }
  100% {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 8px 22px rgba(10, 79, 66, 0.11);
  }
}
@media (prefers-reduced-motion: reduce) {
  .yct-audience-panel {
    animation: none !important;
    transition: none;
  }
}
/* Kadence adapter: let the YCT footer occupy the complete footer row. */
.site-footer-row-container:has(.yct-public-footer) > .site-footer-row-container-inner > .site-container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.site-footer-row-container:has(.yct-public-footer) .site-footer-row,
.site-footer-row-container:has(.yct-public-footer) .site-footer-section,
.site-footer-row-container:has(.yct-public-footer) .footer-widget-area,
.site-footer-row-container:has(.yct-public-footer) .footer-widget-area-inner {
  width: 100%;
  max-width: none;
}
.site-footer-row-container:has(.yct-public-footer) .site-bottom-footer-inner-wrap {
  padding-block: 0;
}
.site-footer-row-container:has(.yct-public-footer) .site-footer-section {
  text-align: left;
}

.yct-public-footer {
  --yct-footer-ink: var(--yct-text);
  --yct-footer-muted: var(--yct-text-muted);
  --yct-footer-surface: var(--yct-surface-warm);
  --yct-footer-border: var(--yct-border-decorative);
  --yct-footer-green: var(--yct-link);
  --yct-footer-coral: var(--yct-link-hover);
  --yct-footer-light: var(--yct-color-cream);
  width: 100%;
  color: var(--yct-footer-ink);
}
.yct-public-footer,
.yct-public-footer * {
  box-sizing: border-box;
}
.yct-public-footer__content {
  width: 100%;
  background: var(--yct-footer-surface);
}
.yct-public-footer__legal {
  width: 100%;
  background: var(--yct-footer-ink);
  color: var(--yct-footer-light);
}
.yct-public-footer__legal a[href]:focus,
.yct-public-footer__legal a[href]:focus-visible {
  outline-color: var(--yct-focus-light);
}
.yct-public-footer__inner {
  width: min(100%, 1290px);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.yct-public-footer__inner--content {
  display: grid;
  grid-template-columns: minmax(15rem, 1.2fr) minmax(0, 2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.yct-public-footer__inner--legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.25rem;
}
.yct-public-footer__inner--legal p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.yct-public-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.yct-public-footer__brand p.yct-public-footer__summary,
.yct-public-footer__brand p.yct-public-footer__tagline {
  margin: 0;
}
.yct-public-footer__logo {
  margin-bottom: 1.25rem;
}
.yct-public-footer__logo .custom-logo-link {
  display: inline-flex;
}
.yct-public-footer__logo img.custom-logo {
  display: block;
  width: auto;
  max-height: 4rem;
}
.yct-public-footer__site-name {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--yct-footer-green);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.yct-public-footer p.yct-public-footer__summary {
  padding: 0 50px;
  text-align: center;
  color: var(--yct-footer-muted);
  line-height: 1.65;
}
.yct-public-footer p.yct-public-footer__tagline {
  margin-top: 1rem;
  color: var(--yct-footer-green);
  font-weight: 700;
}
.yct-public-footer__navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  min-width: 0;
}
.yct-public-footer__nav-group {
  min-width: 0;
}
.yct-public-footer h2.yct-public-footer__heading {
  margin: 0 0 1rem;
  color: var(--yct-footer-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.yct-public-footer nav.yct-public-footer__nav-group ul.yct-public-footer__links {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yct-public-footer nav.yct-public-footer__nav-group ul.yct-public-footer__links > li.yct-public-footer__link-item {
  margin: 0;
  padding: 0;
  list-style: none;
}
.yct-public-footer a[href]:focus,
.yct-public-footer a[href]:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid var(--yct-focus-dark);
  outline-offset: 2px;
}
.yct-public-footer__link {
  color: var(--yct-footer-muted);
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.yct-public-footer__link:hover, .yct-public-footer__link:focus, .yct-public-footer__link:focus-visible {
  color: var(--yct-footer-coral);
  text-decoration-color: currentColor;
}

@media (max-width: 900px) {
  .yct-public-footer__inner--content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .yct-public-footer__navigation {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .yct-public-footer__inner--legal {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yct-public-footer__link {
    transition: none;
  }
}
div.wpforms-container.yct-wpforms,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) {
  --wpforms-field-background-color: var(--yct-form-field-bg) !important;
  --wpforms-field-border-color: var(--yct-form-field-border) !important;
  --wpforms-field-text-color: var(--yct-form-field-text) !important;
  --wpforms-field-border-radius: var(--yct-form-field-radius) !important;
  --wpforms-label-color: var(--yct-text) !important;
  --wpforms-label-sublabel-color: var(--yct-text-muted) !important;
  --wpforms-label-error-color: var(--yct-form-error) !important;
  --wpforms-button-background-color: var(--yct-button-bg) !important;
  --wpforms-button-text-color: var(--yct-button-text) !important;
  --wpforms-button-border-radius: var(--yct-form-field-radius) !important;
  color: var(--yct-text);
  font-family: inherit;
  font-size: var(--yct-form-font-size);
  line-height: var(--yct-form-line-height);
}
div.wpforms-container.yct-wpforms .wpforms-form,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form {
  font: inherit;
}
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field {
  padding-block: var(--yct-form-field-gap);
}
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-label,
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-label-inline,
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-sublabel,
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-description,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-label,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-label-inline,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-sublabel,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-description {
  font-family: inherit;
  line-height: var(--yct-form-line-height);
}
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-label,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-label {
  color: var(--yct-text);
  font-weight: 700;
}
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-label-inline,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-label-inline {
  color: var(--yct-text);
}
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-description,
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-field-sublabel,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-description,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-field-sublabel {
  color: var(--yct-text-muted);
}
div.wpforms-container.yct-wpforms .wpforms-form :is(input[type=text], input[type=email], input[type=url],
input[type=tel], input[type=number], input[type=password],
input[type=search], input[type=date], input[type=time],
input[type=datetime-local], select, textarea),
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(input[type=text], input[type=email], input[type=url],
input[type=tel], input[type=number], input[type=password],
input[type=search], input[type=date], input[type=time],
input[type=datetime-local], select, textarea) {
  box-sizing: border-box;
  min-height: var(--yct-form-field-min-height);
  height: auto;
  padding: var(--yct-form-field-padding);
  border: 1px solid var(--yct-form-field-border);
  border-radius: var(--yct-form-field-radius);
  background-color: var(--yct-form-field-bg);
  color: var(--yct-form-field-text);
  font-family: inherit;
  font-size: var(--yct-form-font-size);
  line-height: var(--yct-form-line-height);
}
div.wpforms-container.yct-wpforms .wpforms-form textarea,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form textarea {
  resize: vertical;
}
div.wpforms-container.yct-wpforms .wpforms-form input::placeholder,
div.wpforms-container.yct-wpforms .wpforms-form textarea::placeholder,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form input::placeholder,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form textarea::placeholder {
  color: var(--yct-text-muted);
  opacity: 1;
}
div.wpforms-container.yct-wpforms .wpforms-form input[type=checkbox],
div.wpforms-container.yct-wpforms .wpforms-form input[type=radio],
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form input[type=checkbox],
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form input[type=radio] {
  accent-color: var(--yct-link);
}
div.wpforms-container.yct-wpforms .wpforms-form .choices__inner,
div.wpforms-container.yct-wpforms .wpforms-form .choices__list--dropdown,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .choices__inner,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .choices__list--dropdown {
  border-color: var(--yct-form-field-border);
  background-color: var(--yct-form-field-bg);
  color: var(--yct-form-field-text);
  font-family: inherit;
  font-size: var(--yct-form-font-size);
}
div.wpforms-container.yct-wpforms .wpforms-form .choices__inner,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .choices__inner {
  min-height: var(--yct-form-field-min-height);
  border-radius: var(--yct-form-field-radius);
}
div.wpforms-container.yct-wpforms .wpforms-form .choices__list--dropdown .choices__item--selectable.is-highlighted,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: var(--yct-nav-hover);
  color: var(--yct-text);
}
div.wpforms-container.yct-wpforms .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button),
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button) {
  min-height: var(--yct-form-field-min-height);
  padding: var(--yct-form-field-padding);
  border: 1px solid var(--yct-button-bg);
  border-radius: var(--yct-form-field-radius);
  background-color: var(--yct-button-bg);
  background-image: none;
  color: var(--yct-button-text);
  font: inherit;
  font-weight: 700;
  text-shadow: none;
  cursor: pointer;
}
div.wpforms-container.yct-wpforms .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button):hover, div.wpforms-container.yct-wpforms .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button):focus-visible,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button):hover,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button):focus-visible {
  border-color: var(--yct-button-hover-bg);
  background-color: var(--yct-button-hover-bg);
  color: var(--yct-button-text);
}
div.wpforms-container.yct-wpforms .wpforms-form :is(input, select, textarea):disabled,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(input, select, textarea):disabled {
  background-color: var(--yct-form-disabled-bg);
  cursor: not-allowed;
}
div.wpforms-container.yct-wpforms .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button):disabled,
div.wpforms-container.yct-wpforms .wpforms-form :is(button.wpforms-submit, .wpforms-page-button)[aria-disabled=true],
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(button.wpforms-submit, input[type=submit], .wpforms-page-button):disabled,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(button.wpforms-submit, .wpforms-page-button)[aria-disabled=true] {
  cursor: not-allowed;
}
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-required-label,
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-error,
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-error-alert,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-required-label,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-error,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-error-alert {
  color: var(--yct-form-error);
}
div.wpforms-container.yct-wpforms .wpforms-form :is(input, select, textarea).wpforms-error,
div.wpforms-container.yct-wpforms .wpforms-form :is(input, select, textarea)[aria-invalid=true],
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-has-error .choices__inner,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(input, select, textarea).wpforms-error,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(input, select, textarea)[aria-invalid=true],
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-has-error .choices__inner {
  border-color: var(--yct-form-error);
}
div.wpforms-container.yct-wpforms .wpforms-form .wpforms-error-alert,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .wpforms-error-alert {
  border: 1px solid var(--yct-form-error);
  border-radius: var(--yct-form-field-radius);
  background-color: var(--yct-form-error-bg);
  padding: var(--yct-form-field-padding);
}
div.wpforms-container.yct-wpforms:has(> .yct-wpforms-confirmation),
div.wpforms-container.yct-wpforms :is(.wpforms-confirmation-container, .wpforms-confirmation-container-full),
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation):has(> .yct-wpforms-confirmation),
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) :is(.wpforms-confirmation-container, .wpforms-confirmation-container-full) {
  border: 1px solid var(--yct-form-success);
  border-radius: var(--yct-form-field-radius);
  background-color: var(--yct-form-success-bg);
  color: var(--yct-form-success);
  padding: var(--yct-form-field-padding);
  font: inherit;
}
div.wpforms-container.yct-wpforms a[href],
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) a[href] {
  color: var(--yct-link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
div.wpforms-container.yct-wpforms a[href]:hover,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) a[href]:hover {
  color: var(--yct-link-hover);
}
div.wpforms-container.yct-wpforms .wpforms-form :is(input:not([type=hidden]), select, textarea):focus,
div.wpforms-container.yct-wpforms .wpforms-form .choices:focus-within,
div.wpforms-container.yct-wpforms :is(a[href], button, input, select, textarea, [tabindex]):focus-visible,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form :is(input:not([type=hidden]), select, textarea):focus,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) .wpforms-form .choices:focus-within,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) :is(a[href], button, input, select, textarea, [tabindex]):focus-visible {
  outline: var(--yct-focus-width) solid var(--yct-focus-dark) !important;
  outline-offset: var(--yct-focus-offset) !important;
  box-shadow: none !important;
}
div.wpforms-container.yct-wpforms[tabindex="-1"]:focus,
div.wpforms-container.yct-wpforms :is(.wpforms-error-alert, .wpforms-confirmation-container, .wpforms-confirmation-container-full)[tabindex="-1"]:focus,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation)[tabindex="-1"]:focus,
div:is(.wpforms-confirmation-container, .wpforms-confirmation-container-full):has(> .yct-wpforms-confirmation) :is(.wpforms-error-alert, .wpforms-confirmation-container, .wpforms-confirmation-container-full)[tabindex="-1"]:focus {
  outline: var(--yct-focus-width) solid var(--yct-focus-dark) !important;
  outline-offset: var(--yct-focus-offset) !important;
}

/* Use the full-width layout only for mapped instructor account views. */
body.yct-instructor-role.yct-instructor-account-view .site-container {
  max-width: 100%;
}

/* v1.4.1 instructor onboarding/form polish */
.yct-success-alert,
.yct-registration-success {
  border: 1px solid #86efac;
  border-radius: 1rem;
  background: #f0fdf4;
  color: #14532d;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.yct-success-alert__header,
.yct-registration-success h2 {
  margin-top: 0;
}

.yct-success-alert__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-weight: 800;
}

.yct-registration-success .yct-eyebrow {
  color: #166534;
}

.yct-registration-success .yct-alert-close,
.yct-success-alert .yct-alert-close {
  border-color: #86efac;
  background: #ffffff;
  color: #14532d;
}

.yct-form-section {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
}

.yct-form-section h3,
.yct-form-section h4 {
  margin: 0;
}

.yct-help-text,
.yct-form small {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 400;
}

.yct-field {
  position: relative;
}

.yct-field:focus-within {
  border-radius: 0.85rem;
}

.yct-form input:focus,
.yct-form select:focus,
.yct-form textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
  outline: 2px solid transparent;
}

.yct-valid-icon {
  display: none;
  position: absolute;
  right: 0.75rem;
  top: 2.25rem;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.yct-style-picker {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
}

.yct-style-picker legend {
  font-weight: 700;
  padding: 0 0.25rem;
}

.yct-style-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yct-style-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
}

.yct-style-chip:has(input:checked),
.yct-style-chip.is-selected {
  border-color: #16a34a;
  background: #dcfce7;
  color: #166534;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.16);
}

.yct-style-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.yct-badge-success {
  border-color: #16a34a;
  background: #dcfce7;
  color: #166534;
}

.yct-style-other {
  margin-top: 0.25rem;
}

.yct-accordion {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px dashed #d1d5db;
  border-radius: 1rem;
  background: #fff;
}

.yct-accordion,
.yct-accordion *,
.yct-accordion__panel,
.yct-accordion__panel > *,
.yct-accordion .yct-field {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.yct-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 0.85rem;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.yct-accordion__trigger:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: -3px;
}

.yct-accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

.yct-accordion.is-collapsed .yct-accordion__icon {
  transform: rotate(-90deg);
}

.yct-accordion__panel {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem;
  border-top: 1px dashed #e5e7eb;
}

.yct-accordion__panel[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .yct-form-section,
  .yct-style-picker,
  .yct-accordion__trigger,
  .yct-accordion__panel {
    padding: 0.85rem;
  }
  .yct-style-chip {
    width: 100%;
    justify-content: flex-start;
  }
}
/* v1.4.1 terms and alert validation update */
.yct-alert-error {
  border-color: #b91c1c;
  background: #dc2626;
  color: #ffffff;
  font-weight: 700;
}

.yct-alert-error a {
  color: #ffffff;
  text-decoration: underline;
}

.yct-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 700;
}

.yct-checkbox-row input[type=checkbox] {
  width: 1.2rem;
  height: 1.2rem;
  min-width: 1.2rem;
  margin-top: 0.15rem;
}

.yct-terms-field {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
}

.yct-terms-field .yct-valid-icon {
  top: 0.85rem;
}

.yct-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.yct-button:hover {
  transform: translateY(-1px);
}

.yct-button:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.18);
}

.yct-button-primary {
  background: #111827;
  border-color: #111827;
  color: #ffffff !important;
}

.yct-button-primary:hover {
  background: #1f2937;
  border-color: #1f2937;
  color: #ffffff !important;
}

.yct-button-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155 !important;
}

.yct-button-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
}

.yct-button-sm {
  min-height: 2rem;
  border-radius: 0.5rem;
  padding: 0.35rem 0.625rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
}

.yct-button:disabled,
.yct-button[aria-disabled=true] {
  background: #9ca3af;
  border-color: #9ca3af;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.85;
}

.yct-field.is-invalid input,
.yct-field.is-invalid select,
.yct-field.is-invalid textarea,
.yct-style-picker.is-invalid,
.yct-terms-field.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16) !important;
}

/* Instructor dashboard v1.5.0 */
.yct-dashboard-shell {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  width: 100%;
}

.yct-dashboard-menu-toggle {
  display: none;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--yct-border, #d1d5db);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--yct-text, #111827);
  font-weight: 700;
  cursor: pointer;
}

.yct-dashboard-sidebar {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--yct-border, #d1d5db);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.yct-dashboard-sidebar__brand {
  padding: 0.25rem 0.25rem 1rem;
  border-bottom: 1px solid var(--yct-border, #d1d5db);
  margin-bottom: 0.75rem;
}

.yct-dashboard-sidebar__eyebrow,
.yct-dashboard-kicker,
.yct-dashboard-card__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.yct-dashboard-nav {
  display: grid;
  gap: 0.35rem;
}

.yct-dashboard-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  color: var(--yct-text, #111827);
  text-decoration: none;
  font-weight: 700;
}

.yct-dashboard-nav__item:hover,
.yct-dashboard-nav__item:focus,
.yct-dashboard-nav__item.is-active {
  background: #f0fdf4;
  color: #166534;
  outline: none;
}

.yct-dashboard-sidebar__footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--yct-border, #d1d5db);
}

.yct-dashboard-nav__item--logout {
  color: #991b1b;
}

.yct-dashboard-nav__item--logout:hover,
.yct-dashboard-nav__item--logout:focus {
  background: #fef2f2;
  color: #991b1b;
}

.yct-dashboard-main {
  min-width: 0;
  display: grid;
  gap: 1rem;
}

.yct-dashboard-header,
.yct-dashboard-card {
  border: 1px solid var(--yct-border, #d1d5db);
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.yct-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.yct-dashboard-header h2,
.yct-dashboard-card h3,
.yct-dashboard-card h4 {
  margin-top: 0;
}

.yct-dashboard-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.yct-dashboard-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  align-items: start;
}

.yct-dashboard-card--primary {
  border-color: #bbf7d0;
}

.yct-dashboard-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.yct-dashboard-card__summary {
  margin: 1rem 0;
}

.yct-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.yct-badge-soft {
  background: #f1f5f9;
  color: #334155;
}

.yct-badge-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.yct-badge-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.yct-badge-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.yct-dashboard-card__meta {
  margin: 0.75rem 0 0;
}

.yct-progress {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.yct-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #22c55e;
}

.yct-progress--danger span {
  background: #ef4444;
}

.yct-progress--warning span {
  background: #f59e0b;
}

.yct-progress--success span {
  background: #22c55e;
}

.yct-check-list,
.yct-dashboard-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.yct-check-list li {
  margin: 0.25rem 0;
}

.yct-empty-state {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  border: 1px dashed #cbd5e1;
  border-radius: 0.9rem;
  padding: 1rem;
  background: #f8fafc;
  margin-bottom: 1rem;
}

.yct-empty-state--featured {
  border-color: #86efac;
  background: #f0fdf4;
}

.yct-dashboard-form-panel {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border-top: 1px solid var(--yct-border, #d1d5db);
  margin-top: 1rem;
  padding-top: 1rem;
}

.yct-dashboard-card__details {
  min-width: 0;
  max-width: 100%;
}

.yct-dashboard-card__details summary {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  color: var(--yct-text, #111827);
}

.yct-dashboard-card__details[open] summary {
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .yct-dashboard-shell {
    display: block;
  }
  .yct-dashboard-menu-toggle {
    display: inline-flex;
    margin-bottom: 0.75rem;
  }
  .yct-dashboard-sidebar {
    position: static;
    display: none;
    margin-bottom: 1rem;
  }
  .yct-dashboard-sidebar.is-open {
    display: flex;
  }
  .yct-dashboard-header,
  .yct-dashboard-card-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .yct-dashboard-header__actions {
    justify-content: stretch;
  }
  .yct-dashboard-header__actions .yct-button,
  .yct-empty-state .yct-button {
    width: 100%;
    justify-content: center;
  }
}
.yct-dashboard-card--wide {
  grid-column: 1/-1;
}

.yct-dashboard-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* v1.5.0 reusable Tailwind-style alerts */
.yct-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin: 1rem 0;
  border: 1px solid #d1d5db;
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.yct-alert__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

.yct-alert__content {
  min-width: 0;
  flex: 1 1 auto;
}

.yct-alert__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.yct-alert__message {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}

.yct-alert__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border: 0;
  border-radius: 0.625rem;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.72;
}

.yct-alert__close:hover,
.yct-alert__close:focus-visible {
  background: rgba(15, 23, 42, 0.06);
  opacity: 1;
}

.yct-alert-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #14532d;
  font-weight: 400;
}

.yct-alert-success .yct-alert__icon {
  background: #dcfce7;
  color: #166534;
}

.yct-alert-auto-dismiss {
  opacity: 0;
  transform: translateY(-0.25rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.yct-alert-auto-dismiss.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.yct-alert-auto-dismiss.is-dismissing {
  opacity: 0;
  transform: translateY(-0.25rem);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .yct-alert-auto-dismiss {
    transition: none;
    transform: none;
  }
}
.yct-alert-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
  font-weight: 400;
}

.yct-alert-error a,
.yct-alert-error .yct-alert-link {
  color: #991b1b;
}

.yct-alert-link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.yct-alert-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* v1.5.0 modern instructor profile editor and payment section */
.yct-form,
.yct-form *,
.yct-dashboard-shell,
.yct-dashboard-shell * {
  box-sizing: border-box;
}

.yct-form input[type=text],
.yct-form input[type=email],
.yct-form input[type=password],
.yct-form input[type=url],
.yct-form input[type=number],
.yct-form input[type=date],
.yct-form input[type=time],
.yct-form select,
.yct-form textarea,
.yct-input,
.yct-select,
.yct-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  background: #fff;
  color: #111827;
  font: inherit;
  line-height: 1.5;
  margin: 0;
  padding: 0.75rem 0.875rem;
  box-shadow: none;
  appearance: none;
}

.yct-form textarea,
.yct-textarea {
  min-height: 7rem;
  resize: vertical;
}

.yct-form select,
.yct-select {
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.yct-form input:focus,
.yct-form select:focus,
.yct-form textarea:focus,
.yct-input:focus,
.yct-select:focus,
.yct-textarea:focus {
  border-color: #4f46e5;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.yct-settings-layout {
  display: grid;
  gap: 1.25rem;
}

.yct-settings-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 1.25rem;
  align-items: start;
  min-width: 0;
}

.yct-settings-section__intro,
.yct-settings-section__card {
  min-width: 0;
}

.yct-settings-section__intro h3 {
  margin: 0.15rem 0 0.35rem;
}

.yct-settings-section__intro p:last-child {
  margin-bottom: 0;
  color: #4b5563;
}

.yct-form-card {
  display: grid;
  gap: 0.95rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.yct-profile-editor-form .yct-style-picker {
  background: #fff;
}

.yct-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  position: sticky;
  bottom: 1rem;
  z-index: 5;
  margin-top: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.85rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.yct-media-field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.yct-media-preview img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.yct-payment-info {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}

.yct-payment-info__grid {
  display: grid;
  gap: 0.5rem;
}

.yct-payment-info__grid p {
  margin: 0;
}

@media (max-width: 860px) {
  .yct-settings-section {
    grid-template-columns: 1fr;
  }
  .yct-profile-actions {
    position: static;
  }
}
@media (max-width: 640px) {
  .yct-profile-actions .yct-button {
    width: 100%;
    justify-content: center;
  }
}
/* v1.5.0 profile form polish: labels, inputs, checkboxes, and valid-icon alignment */
.yct-form label,
.yct-form .yct-field,
.yct-form .yct-fieldset legend {
  font-weight: 600;
}

.yct-form input[type=text],
.yct-form input[type=email],
.yct-form input[type=password],
.yct-form input[type=url],
.yct-form input[type=number],
.yct-form input[type=date],
.yct-form input[type=time],
.yct-form select,
.yct-form textarea,
.yct-input,
.yct-select,
.yct-textarea {
  font-weight: 400;
}

.yct-field {
  display: block;
  width: 100%;
  min-width: 0;
}

.yct-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: start;
  min-width: 0;
}

.yct-field > .yct-valid-icon {
  right: 0.75rem;
  top: 2.15rem;
}

.yct-field:has(> select) > .yct-valid-icon,
.yct-field:has(> .yct-select) > .yct-valid-icon {
  right: 2.65rem;
}

.yct-form input[type=checkbox] {
  appearance: auto;
  -webkit-appearance: auto;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  max-width: 1.25rem;
  flex: 0 0 1.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  background: #fff;
  color: #2563eb;
  accent-color: #2563eb;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: none;
}

.yct-form input[type=checkbox]:checked {
  accent-color: #2563eb;
}

.yct-form input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.24);
}

.yct-checkbox-row {
  align-items: center;
}

.yct-style-chip input[type=checkbox] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 640px) {
  .yct-form-row {
    grid-template-columns: 1fr;
  }
}
/* v1.5.0 Create Class layout refactor and checkbox sizing fix */
.yct-class-editor-form .yct-settings-layout {
  margin-top: 1rem;
}

.yct-form-row > .yct-field:only-child,
.yct-form-row > .yct-fieldset:only-child {
  grid-column: 1/-1;
}

.yct-checkbox-group {
  display: grid;
  gap: 0.65rem;
  align-items: start;
}

.yct-checkbox-field {
  display: block;
  width: auto;
}

.yct-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  font-weight: 600;
  line-height: 1.35;
}

.yct-form input[type=checkbox] {
  appearance: auto;
  -webkit-appearance: auto;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  max-width: 1.25rem;
  flex: 0 0 1.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  background: #fff;
  color: #2563eb;
  accent-color: #2563eb;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: none;
}

.yct-form input[type=checkbox]:checked {
  accent-color: #2563eb;
}

.yct-form input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.24);
}

.yct-style-chip input[type=checkbox] {
  position: absolute !important;
  display: block !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  flex: 0 0 auto !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.yct-style-chip input[type=checkbox]::before {
  content: none !important;
}

.yct-class-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.85rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

@media (max-width: 640px) {
  .yct-class-actions .yct-button {
    width: 100%;
    justify-content: center;
  }
}
/* v1.5.0 instructor classes management list and payment-method polish */
.yct-fieldset,
.yct-payment-methods {
  border: 1px solid #cbd5e1;
  border-radius: 0.875rem;
  background: #fff;
  padding: 1rem;
  box-shadow: none;
}

.yct-fieldset legend,
.yct-payment-methods legend {
  padding: 0 0.35rem;
  color: #334155;
  font-weight: 600;
}

.yct-payment-methods:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.yct-payment-methods.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.yct-required,
.yct-field-error {
  color: #b91c1c;
}

.yct-field-error {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.yct-field-optional {
  margin-left: 0.35rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.yct-payment-methods .yct-checkbox-field,
.yct-payment-methods .yct-checkbox-row {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.yct-payment-methods .yct-checkbox-field:has(input:checked),
.yct-payment-methods .yct-checkbox-row:has(input:checked) {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.yct-form input[type=checkbox] {
  appearance: auto;
  -webkit-appearance: auto;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  max-width: 1.25rem;
  flex: 0 0 1.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  background: #fff;
  color: #2563eb;
  accent-color: #2563eb;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: none;
}

.yct-form input[type=checkbox]:checked {
  accent-color: #2563eb;
}

.yct-form input[type=checkbox]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.24);
}

.yct-class-list {
  display: grid;
  gap: 1.25rem;
}

.yct-class-list-section {
  display: grid;
  gap: 0.75rem;
}

.yct-class-list-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.yct-class-list-section__header h4 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
}

.yct-manage-class-list {
  display: grid;
  gap: 0.75rem;
}

.yct-manage-class-card {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.yct-manage-class-card--expired {
  background: #f8fafc;
}

.yct-manage-class-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.625rem;
}

.yct-manage-class-card__title {
  margin: 0 0 0.35rem;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
}

.yct-manage-class-card__meta,
.yct-manage-class-card__location,
.yct-manage-class-card__detail {
  margin: 0.15rem 0;
  color: #475569;
  font-size: 0.925rem;
  line-height: 1.45;
}

.yct-manage-class-card__meta {
  color: #1e293b;
  font-weight: 600;
}

.yct-class-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.yct-class-status--upcoming {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.yct-class-status--expired {
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

.yct-class-menu {
  position: relative;
  flex: 0 0 auto;
}

.yct-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.625rem;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.yct-menu-toggle:hover,
.yct-menu-toggle:focus-visible {
  border-color: #94a3b8;
  background: #f8fafc;
  outline: none;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.22);
}

.yct-menu-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 5;
  display: none;
  min-width: 9rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.yct-class-menu:hover .yct-menu-panel,
.yct-class-menu:focus-within .yct-menu-panel {
  display: grid;
}

.yct-menu-item {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #334155;
  cursor: default;
  text-decoration: none;
  padding: 0.625rem 0.8rem;
  text-align: left;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.yct-menu-item[href] {
  cursor: pointer;
}

.yct-menu-item:hover,
.yct-menu-item:focus-visible {
  background: #f8fafc;
  outline: none;
}

.yct-menu-item[aria-disabled=true] {
  color: #64748b;
}

.yct-empty-state--compact {
  padding: 0.875rem 1rem;
}

.yct-empty-state--compact p {
  margin: 0;
}

.yct-style-chip input[type=checkbox] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  appearance: none !important;
}

.yct-style-chip input[type=checkbox]::before {
  content: none !important;
}

/* v1.5.0 schedule UX and shared validation alert component */
.yct-schedule-mode.is-hidden {
  display: none !important;
}

.yct-validation-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.875rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
  padding: 1rem;
}

.yct-validation-alert__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 0.125rem;
}

.yct-validation-alert__content h3 {
  margin: 0 0 0.25rem;
  color: #7f1d1d;
  font-size: 0.9375rem;
  font-weight: 700;
}

.yct-validation-alert__content p {
  margin: 0 0 0.5rem;
  color: #991b1b;
}

.yct-validation-alert__content ul {
  margin: 0;
  padding-left: 1.125rem;
  color: #7f1d1d;
}

.yct-validation-alert__content li + li {
  margin-top: 0.25rem;
}

.yct-payment-methods {
  border-radius: 0.875rem !important;
  overflow: hidden;
}

.yct-payment-methods .yct-checkbox-field,
.yct-payment-methods .yct-checkbox-row,
.yct-payment-methods .yct-checkbox-field:has(input:checked),
.yct-payment-methods .yct-checkbox-row:has(input:checked) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* v1.5.0 Today's Teaching dashboard summary */
.yct-dashboard-header--welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
}

.yct-dashboard-header__intro,
.yct-dashboard-header__aside {
  min-width: 0;
}

.yct-dashboard-header__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.yct-dashboard-header--welcome .yct-dashboard-header__actions {
  justify-content: flex-start;
  margin-top: 1rem;
}

.yct-todays-teaching {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem;
}

.yct-todays-teaching__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.yct-todays-teaching__header h3 {
  margin: 0.15rem 0 0;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.25;
}

.yct-todays-teaching__empty {
  display: grid;
  gap: 0.75rem;
  color: #475569;
}

.yct-todays-teaching__empty p {
  margin: 0;
}

.yct-today-class {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #fff;
  padding: 0.875rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.yct-today-class--primary {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.yct-today-class__label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.yct-today-class h4 {
  margin: 0.5rem 0 0.2rem;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.yct-today-class__time,
.yct-today-class__location,
.yct-today-class__price,
.yct-today-class__description {
  margin: 0.15rem 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.35;
}

.yct-today-class__time {
  color: #166534;
  font-weight: 700;
}

.yct-today-class__description {
  margin-top: 0.55rem;
  color: #334155;
  line-height: 1.45;
}

.yct-today-class__description--muted {
  color: #64748b;
}

#yct-dashboard-main .yct-today-class__time,
#yct-dashboard-main .yct-today-class__description {
  --yct-today-class-text-gap: 1.5rem;
  margin-bottom: var(--yct-today-class-text-gap);
}

.yct-today-class__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.7rem 0 0;
}

.yct-today-class__details > div {
  min-width: 0;
  border: 1px solid #dbeafe;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.65rem;
}

.yct-today-class__details dt {
  margin: 0 0 0.1rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.yct-today-class__details dd {
  margin: 0;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.yct-today-class__logistics {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.55rem 0.65rem;
}

.yct-today-class__logistics p {
  margin: 0;
  color: #334155;
  font-size: 0.78rem;
  line-height: 1.35;
}

.yct-today-class__logistics span {
  color: #0f172a;
  font-weight: 700;
}

.yct-today-class__logistics .is-missing {
  color: #64748b;
}

.yct-today-class .yct-button {
  margin-top: 0.65rem;
}

.yct-today-class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-top: 0.625rem;
}

.yct-today-class--compact {
  padding: 0.75rem;
}

.yct-today-class--compact h4 {
  margin: 0 0 0.15rem;
  font-size: 0.925rem;
}

.yct-today-class--compact .yct-today-class__time {
  font-size: 0.85rem;
}

.yct-today-class--compact .yct-today-class__description {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.yct-today-class__details--compact {
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.yct-today-class__details--compact > div {
  padding: 0.45rem 0.5rem;
}

.yct-today-class__details--compact dt {
  font-size: 0.66rem;
}

.yct-today-class__details--compact dd {
  font-size: 0.78rem;
  line-height: 1.25;
}

.yct-today-class--compact .yct-button {
  margin-top: 0.55rem;
}

@media (max-width: 860px) {
  .yct-dashboard-header--welcome {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .yct-today-class-grid,
  .yct-today-class__details {
    grid-template-columns: 1fr;
  }
}

div.wpforms-confirmation-container-full:has(> .yct-wpforms-confirmation) {
  background: var(--yct-surface) !important;
  border: none !important;
}
