:root {
  --tkc-accent: #6d28d9;
  --tkc-accent-hover: #5b21b6;
  --tkc-accent-soft: #ede9fe;
  --tkc-accent-text: #4c1d95;
  --tkc-warm: #f97316;
  --tkc-warm-soft: #ffedd5;
  --tkc-warm-text: #9a3412;
}

.tkc-loading,
.tkc-error,
.tkc-empty {
  padding: 1rem;
  border-radius: 0.75rem;
  background: #f4f4f6;
  color: #1f2937;
  font-size: 0.95rem;
}

.tkc-error {
  background: #fff1f2;
  color: #9f1239;
}

.tkc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.42rem 0 0;
}

.tkc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 700;
}

.tkc-badge--price {
  background: var(--tkc-warm-soft);
  color: var(--tkc-warm-text);
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.tkc-badge--tinker_level {
  background: #dbeafe;
  color: #1d4ed8;
}

.tkc-badge--visibility {
  background: #fef3c7;
  color: #92400e;
}

.tkc-badge--age {
  background: #ecfeff;
  color: #155e75;
}

.tkc-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.tkc-card--featured {
  min-height: 100%;
}

.tkc-card__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.tkc-card__body {
  padding: 1rem;
}

.tkc-card__datetime,
.tkc-list-item__when {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.tkc-card__title,
.tkc-list-item__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #111827;
}

.tkc-card__session,
.tkc-list-item__session,
.tkc-event-modal__session,
.tkc-day-list__session {
  margin-top: 0.2rem;
  color: #4b5563;
  font-size: 0.82rem;
}

.tkc-card__location,
.tkc-list-item__location,
.tkc-event-modal__location {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 0.35rem;
}

.tkc-card__excerpt,
.tkc-list-item__excerpt,
.tkc-event-modal__excerpt,
.tkc-card__teaser,
.tkc-list-item__teaser,
.tkc-modal__teaser {
  margin: 0.55rem 0 0;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tkc-card__link,
.tkc-btn,
.tkc-inline-button,
.tkc-inline-link,
.tkc-btn--small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--tkc-accent);
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(109, 40, 217, 0.12);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.16);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tkc-inline-link,
.tkc-btn--small {
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
}

.tkc-card__link:hover,
.tkc-card__link:focus,
.tkc-btn:hover,
.tkc-btn:focus,
.tkc-inline-button:hover,
.tkc-inline-button:focus,
.tkc-inline-link:hover,
.tkc-inline-link:focus,
.tkc-btn--small:hover,
.tkc-btn--small:focus {
  background: var(--tkc-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(109, 40, 217, 0.22);
}

.tkc-card__link.is-muted,
.tkc-btn.is-muted,
.tkc-btn--small.is-muted {
  background: #e5e7eb;
  color: #374151;
  cursor: default;
}

.tkc-upcoming__list {
  display: grid;
  gap: 1rem;
}

.tkc-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.tkc-list-item {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  cursor: pointer;
}

.tkc-list-item__main {
  min-width: 0;
}

.tkc-modal-root {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: rgba(17, 24, 39, 0.55);
  padding: clamp(1rem, 4vh, 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.tkc-modal-root.is-open {
  display: flex;
}

body.tkc-modal-open {
  overflow: hidden;
}

.tkc-modal {
  position: relative;
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  isolation: isolate;
}

.tkc-modal--large {
  max-width: 900px;
}

.tkc-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.tkc-modal__header,
.tkc-modal__body {
  padding: 1.2rem 1.2rem 1rem;
}

.tkc-modal__header {
  border-bottom: 1px solid #e5e7eb;
}

.tkc-modal__eyebrow {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.tkc-modal__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #111827;
}

.tkc-modal__time {
  margin-top: 0.35rem;
  color: #374151;
  font-size: 0.95rem;
}

.tkc-modal__image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 0.85rem;
  display: block;
}

.tkc-modal__section {
  margin-top: 1rem;
}

.tkc-modal__section h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #111827;
}

.tkc-modal__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  align-items: center;
}

.tkc-day-list {
  display: grid;
  gap: 0.75rem;
}

.tkc-day-list__item {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 0.9rem;
  cursor: pointer;
}

.tkc-day-list__time {
  color: #111827;
  font-weight: 700;
  font-size: 0.9rem;
}

.tkc-day-list__title {
  font-weight: 700;
  color: #111827;
}

@media (max-width: 800px) {
  .tkc-list-item,
  .tkc-day-list__item {
    grid-template-columns: 1fr;
  }

  .tkc-modal-root {
    padding: 1rem;
  }

  .tkc-modal__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .tkc-featured__grid {
    grid-template-columns: 1fr;
  }

  .tkc-card__image img {
    height: 160px;
  }
}


.tkc-registration__meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem;}
.tkc-registration__pill{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:999px;background:#f3f4f6;color:#374151;font-size:.8rem;}
.tkc-registration__message{margin:.5rem 0 1rem;color:#374151;}
.tkc-registration__embedded{margin:1rem 0;}
.tkc-btn--secondary{background:#fff;color:var(--tkc-accent-text);border:1px solid #c4b5fd;box-shadow:none;}
.tkc-btn--secondary:hover,.tkc-btn--secondary:focus{background:var(--tkc-accent-soft);color:var(--tkc-accent-text);box-shadow:none;}

.tkc-event-registration{margin:1rem 0;padding:1rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;}
.tkc-event-registration__meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem;}
.tkc-event-registration__pill{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:999px;background:#f3f4f6;color:#374151;font-size:.8rem;}
.tkc-event-registration__message{margin:.5rem 0 1rem;color:#374151;}
.tkc-event-registration__embedded{margin:1rem 0;}
.tkc-event-registration__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem;}

.tkc-event-detail-block{display:grid;gap:1rem;}
.tkc-event-summary{display:grid;gap:.75rem;padding:1rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;}
.tkc-event-summary__datetime{font-size:.95rem;font-weight:700;color:#111827;}
.tkc-event-summary__session{font-size:.9rem;color:#4b5563;}
.tkc-event-summary__pills{display:flex;flex-wrap:wrap;gap:.5rem;}
.tkc-detail-pill{display:inline-flex;align-items:center;padding:.3rem .7rem;border-radius:999px;background:#eef2ff;color:#312e81;font-size:.8rem;line-height:1.2;font-weight:600;}
.tkc-detail-pill--price{background:var(--tkc-warm-soft);color:var(--tkc-warm-text);border:1px solid rgba(249,115,22,.22);}
.tkc-detail-pill--tinker_level{background:#e0f2fe;color:#075985;}
.tkc-detail-pill--age{background:#ecfccb;color:#3f6212;}
.tkc-detail-pill--visibility{background:#fef3c7;color:#92400e;}
.tkc-event-summary__location{font-size:.95rem;color:#374151;}
.tkc-event-details{display:grid;gap:1rem;}
.tkc-event-details__row{padding:1rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;}
.tkc-event-details__label{font-size:.85rem;font-weight:700;color:#6b7280;margin-bottom:.35rem;text-transform:uppercase;letter-spacing:.02em;}
.tkc-event-details__value p:last-child{margin-bottom:0;}

/* 0.5.13 content-model fix: standard excerpt/thumbnail in lists, real post content in modal */
.tkc-list-item {
  grid-template-columns: 96px minmax(105px, 150px) 1fr;
  align-items: start;
}

.tkc-list-item__image {
  width: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #f3f4f6;
}

.tkc-list-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tkc-list-item__image--empty {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.tkc-list-item__date {
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.tkc-list-item__time {
  margin-top: 0.2rem;
  color: #6b7280;
  line-height: 1.3;
}

.tkc-modal--large {
  max-width: 980px;
}

.tkc-modal__content {
  color: #111827;
  font-size: 1rem;
  line-height: 1.6;
}



.tkc-modal__content p,
.tkc-modal__content ul,
.tkc-modal__content ol,
.tkc-modal__content h2,
.tkc-modal__content h3,
.tkc-modal__content h4 {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.tkc-modal__content ul,
.tkc-modal__content ol {
  display: block;
  padding-inline-start: 1.5rem !important;
}

.tkc-modal__content ul { list-style: disc outside !important; }
.tkc-modal__content ol { list-style: decimal outside !important; }
.tkc-modal__content li {
  display: list-item !important;
  margin: 0.3rem 0;
}

.tkc-modal__content > *:first-child {
  margin-top: 0;
}

.tkc-modal__content > *:last-child {
  margin-bottom: 0;
}

.tkc-modal__content .wp-block-columns {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 1rem 0;
}

.tkc-modal__content .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}

.tkc-modal__content .wp-block-image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 800px) {
  .tkc-list-item {
    grid-template-columns: 72px 1fr;
  }

  .tkc-list-item__image {
    width: 72px;
  }

  .tkc-list-item__when {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .tkc-modal__content .wp-block-columns {
    display: block;
  }
}


/* 0.5.14 list/modal polish: two-column latest items and price only in main pills */
.tkc-list-item {
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 1rem;
  align-items: start;
}

.tkc-list-item__image {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.tkc-list-item__main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tkc-list-item__date {
  font-size: 0.88rem;
  font-weight: 800;
  color: #4f46e5;
  line-height: 1.25;
}

.tkc-list-item__title {
  font-size: 1.08rem;
}

.tkc-list-item__teaser {
  margin-top: 0.15rem;
  font-size: 0.93rem;
  line-height: 1.4;
  color: #374151;
}

.tkc-list-item__time {
  margin-top: 0.1rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: #111827;
}

.tkc-list-item .tkc-badges {
  margin-top: 0.25rem;
}

@media (max-width: 800px) {
  .tkc-list-item {
    grid-template-columns: 84px 1fr;
    gap: 0.8rem;
  }

  .tkc-list-item__image {
    width: 84px;
    aspect-ratio: 1 / 1;
  }
}


/* 0.5.15 CTA + palette polish */
.tkc-list-item__actions {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tkc-list-item__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: var(--tkc-accent);
  color: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.14);
  font-size: 0.82rem;
  line-height: 1.1;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(109, 40, 217, 0.16);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tkc-list-item__cta:hover,
.tkc-list-item__cta:focus {
  background: var(--tkc-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.22);
}

.tkc-card__actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tkc-registration .tkc-btn,
.tkc-modal__actions .tkc-btn,
.tkc-event-registration__actions .tkc-btn {
  background: var(--tkc-accent);
}

.tkc-registration .tkc-btn:hover,
.tkc-registration .tkc-btn:focus,
.tkc-modal__actions .tkc-btn:hover,
.tkc-modal__actions .tkc-btn:focus,
.tkc-event-registration__actions .tkc-btn:hover,
.tkc-event-registration__actions .tkc-btn:focus {
  background: var(--tkc-accent-hover);
}

/* 0.5.16 visual harmony: calmer shared palette + list CTA column */
:root {
  --tkc-accent: #6b46c1;
  --tkc-accent-hover: #553c9a;
  --tkc-accent-soft: #f3efff;
  --tkc-accent-text: #44337a;
  --tkc-warm: #ea8a22;
  --tkc-warm-soft: #fff4e6;
  --tkc-warm-text: #8a4b10;
  --tkc-line: #e6e8ef;
  --tkc-muted-bg: #f8fafc;
}

.tkc-badge {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-weight: 750;
}

.tkc-badge--price,
.tkc-detail-pill--price {
  background: var(--tkc-warm-soft);
  color: var(--tkc-warm-text);
  border-color: rgba(234, 138, 34, 0.24);
}

.tkc-badge--tinker_level,
.tkc-detail-pill--tinker_level {
  background: #eef2ff;
  color: #4338ca;
  border-color: #d8ddff;
}

.tkc-badge--age,
.tkc-detail-pill--age {
  background: #ecfeff;
  color: #155e75;
  border-color: #c8f2f6;
}

.tkc-badge--visibility,
.tkc-detail-pill--visibility {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

.tkc-list-item {
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  border-color: var(--tkc-line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tkc-list-item.has-cta {
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
}

.tkc-list-item:hover,
.tkc-list-item:focus-within {
  border-color: #d8ddff;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.08);
}

.tkc-list-item__main {
  min-width: 0;
}

.tkc-list-item__cta-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 108px;
  align-self: stretch;
}

.tkc-list-item__cta-cell .tkc-list-item__actions {
  margin-top: 0;
}

.tkc-list-item__cta {
  white-space: nowrap;
  background: var(--tkc-accent);
  border-color: rgba(107, 70, 193, 0.16);
  box-shadow: 0 6px 14px rgba(107, 70, 193, 0.14);
}

.tkc-list-item__cta:hover,
.tkc-list-item__cta:focus {
  background: var(--tkc-accent-hover);
  box-shadow: 0 8px 18px rgba(107, 70, 193, 0.2);
}

.tkc-card__link,
.tkc-btn,
.tkc-inline-button,
.tkc-inline-link,
.tkc-btn--small {
  background: var(--tkc-accent);
  border-color: rgba(107, 70, 193, 0.14);
  box-shadow: 0 7px 16px rgba(107, 70, 193, 0.14);
}

.tkc-card__link:hover,
.tkc-card__link:focus,
.tkc-btn:hover,
.tkc-btn:focus,
.tkc-inline-button:hover,
.tkc-inline-button:focus,
.tkc-inline-link:hover,
.tkc-inline-link:focus,
.tkc-btn--small:hover,
.tkc-btn--small:focus {
  background: var(--tkc-accent-hover);
  box-shadow: 0 9px 20px rgba(107, 70, 193, 0.2);
}

@media (max-width: 900px) {
  .tkc-list-item.has-cta {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .tkc-list-item__cta-cell {
    grid-column: 2;
    justify-content: flex-start;
    min-width: 0;
    margin-top: 0.25rem;
  }
}

@media (max-width: 640px) {
  .tkc-list-item,
  .tkc-list-item.has-cta {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .tkc-list-item__image {
    width: 72px;
    aspect-ratio: 1 / 1;
  }
}

/* 0.5.17 card/list collection view + modal hero layout */
.tkc-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
}

.tkc-view-toggle__button {
  border: 1px solid var(--tkc-line, #e6e8ef);
  background: #fff;
  color: #475569;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.82rem;
  line-height: 1.1;
  font-weight: 800;
  cursor: pointer;
}

.tkc-view-toggle__button.is-active {
  background: var(--tkc-accent-soft, #f3efff);
  border-color: #d8ccfb;
  color: var(--tkc-accent-text, #44337a);
}

.tkc-upcoming__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.tkc-collection-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--tkc-line, #e6e8ef);
  border-radius: 1.1rem;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tkc-collection-card:hover,
.tkc-collection-card:focus-within {
  border-color: #d8ddff;
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.09);
  transform: translateY(-1px);
}

.tkc-collection-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  overflow: hidden;
}

.tkc-collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tkc-collection-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  padding: 1rem;
  min-width: 0;
}

.tkc-collection-card__date {
  font-size: 0.86rem;
  font-weight: 850;
  color: #4f46e5;
  line-height: 1.25;
}

.tkc-collection-card__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.28;
  color: #111827;
}

.tkc-collection-card__session {
  color: #475569;
  font-size: 0.86rem;
}

.tkc-collection-card__teaser {
  color: #374151;
  font-size: 0.94rem;
  line-height: 1.42;
  margin-top: 0.08rem;
}

.tkc-collection-card__time {
  color: #111827;
  font-size: 0.88rem;
  font-weight: 750;
}

.tkc-collection-card__actions {
  margin-top: 0.42rem;
}

.tkc-list-item__cta,
.tkc-collection-card__actions .tkc-list-item__cta,
.tkc-card__actions .tkc-btn--small {
  background: var(--tkc-accent, #6b46c1);
  color: #fff;
}

.tkc-list-item__cta:hover,
.tkc-list-item__cta:focus,
.tkc-collection-card__actions .tkc-list-item__cta:hover,
.tkc-collection-card__actions .tkc-list-item__cta:focus,
.tkc-card__actions .tkc-btn--small:hover,
.tkc-card__actions .tkc-btn--small:focus {
  background: var(--tkc-accent-hover, #553c9a);
  color: #fff;
}

.tkc-modal__header--hero {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1rem;
}

.tkc-modal__header--hero .tkc-modal__title {
  max-width: calc(100% - 3rem);
}

.tkc-modal__hero {
  border-radius: 1rem;
  overflow: hidden;
  background: #f3f4f6;
}

.tkc-modal__hero img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.tkc-modal__event-info {
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--tkc-line, #e6e8ef);
  border-radius: 1rem;
  background: #fbfaff;
}

.tkc-modal__event-info .tkc-badges {
  margin-top: 0.55rem;
}

@media (max-width: 700px) {
  .tkc-upcoming__cards {
    grid-template-columns: 1fr;
  }

  .tkc-view-toggle {
    justify-content: flex-start;
  }

  .tkc-modal__header--hero .tkc-modal__title {
    max-width: 100%;
  }
}


/* 0.5.18 compact modal header + WooCommerce new-tab CTA source */
.tkc-modal__header--compact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: start;
  gap: 1rem;
}

.tkc-modal__header--compact-hero .tkc-modal__title {
  max-width: none;
  margin-bottom: 0.75rem;
}

.tkc-modal__header--compact-hero .tkc-modal__event-info {
  margin-top: 0;
}

.tkc-modal__header--compact-hero .tkc-modal__hero {
  width: 180px;
  aspect-ratio: 4 / 3;
  border-radius: 0.95rem;
  align-self: start;
}

.tkc-modal__header--compact-hero .tkc-modal__hero img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

@media (max-width: 700px) {
  .tkc-modal__header--compact-hero {
    grid-template-columns: 1fr;
  }

  .tkc-modal__header--compact-hero .tkc-modal__hero {
    width: 100%;
    max-width: 220px;
  }
}

/* 0.5.19: modal view reverted to 0.5.15 structure, with compact header thumbnail */
.tkc-modal__header--with-thumb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 1rem;
  align-items: start;
}

.tkc-modal__header-content {
  min-width: 0;
}

.tkc-modal__thumb {
  width: 150px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #f3f4f6;
  border: 1px solid var(--tkc-line, #e6e8ef);
}

.tkc-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .tkc-modal__header--with-thumb {
    grid-template-columns: 1fr;
  }

  .tkc-modal__thumb {
    width: 100%;
    max-width: 180px;
  }
}


/* 0.5.23: safer desktop modal centering without body scroll freeze */
@media (min-width: 701px) {
  .tkc-modal-root {
    align-items: center;
    padding-top: max(2rem, 6vh);
    padding-bottom: max(2rem, 6vh);
  }

  .tkc-modal {
    max-height: calc(100vh - max(4rem, 12vh));
    display: flex;
    flex-direction: column;
  }

  .tkc-modal__body {
    overflow-y: auto;
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  .tkc-modal-root {
    align-items: flex-start;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .tkc-modal {
    max-height: calc(100vh - 3.5rem);
  }
}

/* Filter architecture */
.tkc-filterbar {
  margin: 0 0 1rem;
  padding: 0.85rem;
  border: 1px solid #e7e0f2;
  border-radius: 1rem;
  background: #fbf9ff;
}

.tkc-filterbar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.tkc-filterbar__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #312e81;
}

.tkc-filterbar__reset {
  border: 0;
  background: transparent;
  color: #6d28d9;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0.25rem 0.35rem;
}

.tkc-filterbar__groups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.tkc-filterbar__group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.tkc-filterbar__legend {
  padding: 0;
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6b7280;
}

.tkc-filterbar__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tkc-filterbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: #ffffff;
  color: #4c1d95;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 0.32rem 0.55rem;
  user-select: none;
}

.tkc-filterbar__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tkc-filterbar__chip.is-active,
.tkc-filterbar__chip:has(input:checked) {
  background: #ede9fe;
  border-color: #a78bfa;
  color: #312e81;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.18);
}

@media (max-width: 700px) {
  .tkc-filterbar__groups {
    flex-direction: column;
  }
}

/* WooCommerce participant fields */
.tkc-participants {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e7e0f2;
  border-radius: 0.85rem;
  background: #fbf9ff;
  display: grid;
  gap: 0.65rem;
}

.tkc-participants__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #312e81;
}

.tkc-participants__help {
  margin-top: -0.35rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #6b7280;
}

.tkc-participants__row {
  display: grid;
  gap: 0.45rem;
}

.tkc-participants__row-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b5563;
}

.tkc-participants__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(90px, 0.65fr);
  gap: 0.55rem;
}

.tkc-participants__field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}

.tkc-participants__field input {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 0.55rem;
  padding: 0.42rem 0.55rem;
  font-size: 0.92rem;
  background: #fff;
}

.tkc-participants__field input:focus {
  outline: 2px solid rgba(124, 58, 237, 0.25);
  border-color: #a78bfa;
}

@media (max-width: 700px) {
  .tkc-participants__grid {
    grid-template-columns: 1fr;
  }
}


/* WooCommerce participant fields - robust cart/checkout panel */
.woocommerce .tkc-participants-panel,
.tkc-participants-panel {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #e7e0f2;
  border-radius: 1rem;
  background: #fbf9ff;
  box-shadow: 0 8px 20px rgba(49, 46, 129, 0.04);
  clear: both;
}

.woocommerce .tkc-participants-panel__head,
.tkc-participants-panel__head {
  margin-bottom: 0.85rem;
}

.woocommerce .tkc-participants-panel__title,
.tkc-participants-panel__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.3;
  color: #312e81;
}

.woocommerce .tkc-participants-panel__help,
.tkc-participants-panel__help {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.45;
}

.woocommerce .tkc-participants-panel__items,
.tkc-participants-panel__items {
  display: grid;
  gap: 0.85rem;
}

.woocommerce .tkc-participants,
.tkc-participants {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid #eee7f8;
  border-radius: 0.85rem;
  background: #ffffff;
  display: grid;
  gap: 0.7rem;
}

.woocommerce .tkc-participants__product,
.tkc-participants__product {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

.woocommerce .tkc-participants__grid,
.tkc-participants__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 0.65fr);
  gap: 0.65rem;
  align-items: end;
}

.woocommerce .tkc-participants__field,
.tkc-participants__field {
  display: grid !important;
  gap: 0.28rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
}

.woocommerce .tkc-participants__field span,
.tkc-participants__field span {
  display: block;
}

.woocommerce .tkc-participants__field input.tkc-participants__input,
.woocommerce .tkc-participants input.tkc-participants__input,
.tkc-participants__field input.tkc-participants__input {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0.55rem 0.65rem !important;
  border: 1px solid #cfd4dc !important;
  border-radius: 0.65rem !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}

.woocommerce .tkc-participants__field input.tkc-participants__input:focus,
.tkc-participants__field input.tkc-participants__input:focus {
  outline: 2px solid rgba(124, 58, 237, 0.22) !important;
  border-color: #a78bfa !important;
}

@media (max-width: 700px) {
  .woocommerce .tkc-participants__grid,
  .tkc-participants__grid {
    grid-template-columns: 1fr;
  }
}

/* Participant fields v0.6.5: cart-first flow + checkout summary */
.woocommerce .tkc-participants-panel__status,
.tkc-participants-panel__status {
  min-height: 1.1em;
  margin: 0.25rem 0 0;
  color: #7c3aed;
  font-size: 0.82rem;
  line-height: 1.35;
}

.woocommerce .tkc-participants--summary,
.tkc-participants--summary {
  background: #ffffff;
  border-color: #e9ddfb;
}

.woocommerce .tkc-participants__summary-list,
.tkc-participants__summary-list {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.5;
}

.woocommerce .tkc-participants__summary-list li,
.tkc-participants__summary-list li {
  margin: 0.15rem 0;
}

.woocommerce .tkc-participants-panel__help a,
.tkc-participants-panel__help a {
  color: #6d28d9;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Participant fields v0.6.6: checkout confirmation summary */
.woocommerce .tkc-participants-panel__items--summary,
.tkc-participants-panel__items--summary {
  margin-top: 0.75rem;
}

.woocommerce .tkc-participants-panel--checkout .tkc-participants--summary,
.tkc-participants-panel--checkout .tkc-participants--summary {
  border-style: solid;
  background: #ffffff;
}

/* Parent dashboard (1.2.7.1) */
.tkc-parent-dashboard {
    max-width: 1040px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
    color: #1f1f2e;
}
.tkc-parent-dashboard h1,
.tkc-parent-dashboard h2,
.tkc-parent-dashboard h3,
.tkc-parent-dashboard h4,
.tkc-parent-dashboard h5,
.tkc-parent-dashboard h6,
.tkc-parent-dashboard p,
.tkc-parent-dashboard li,
.tkc-parent-dashboard dt,
.tkc-parent-dashboard dd,
.tkc-parent-dashboard th,
.tkc-parent-dashboard td,
.tkc-parent-dashboard label {
    color: #1f1f2e;
}
.tkc-parent-dashboard a:not(.tkc-dashboard-button) {
    color: #5f3faa;
}
.tkc-parent-dashboard .tkc-muted {
    color: #5f5a6d;
}
.tkc-parent-dashboard__header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid rgba(40, 31, 72, 0.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(25, 15, 56, 0.06);
    margin-bottom: 1.5rem;
}
.tkc-parent-dashboard__header h2 {
    margin: 0.15rem 0 0.35rem;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
}
.tkc-parent-dashboard__header p {
    margin: 0;
}
.tkc-parent-dashboard__account {
    min-width: 220px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(93, 57, 166, 0.08);
    font-size: 0.92rem;
}
.tkc-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.78rem;
    color: #5f3faa;
}
.tkc-dashboard-section {
    margin-top: 1.5rem;
}
.tkc-dashboard-section > h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}
.tkc-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.tkc-dashboard-list {
    display: grid;
    gap: 1rem;
}
.tkc-dashboard-card {
    padding: 1rem;
    border: 1px solid rgba(40, 31, 72, 0.14);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 15, 56, 0.045);
}
.tkc-dashboard-card h3,
.tkc-dashboard-card h4 {
    margin-top: 0;
}
.tkc-dashboard-card--notice {
    border-color: rgba(138, 104, 0, 0.25);
    background: #fff9e8;
}
.tkc-dashboard-card--success {
    border-color: rgba(19, 112, 69, 0.22);
    background: #effaf4;
}
.tkc-dashboard-card--muted {
    background: #f8f7fb;
}
.tkc-dashboard-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.tkc-dashboard-card__top h4,
.tkc-dashboard-card__top p {
    margin-bottom: 0.15rem;
}
.tkc-dashboard-dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.65rem 1rem;
    margin: 0;
}
.tkc-dashboard-dl div {
    min-width: 0;
}
.tkc-dashboard-dl dt {
    font-size: 0.78rem;
    color: #666276;
    margin-bottom: 0.1rem;
}
.tkc-dashboard-dl dd {
    margin: 0;
    font-weight: 600;
}
.tkc-dashboard-actionbar {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(40, 31, 72, 0.1);
}
.tkc-dashboard-actionbar p {
    margin: 0 0 0.75rem;
}
.tkc-inline-form {
    display: inline-block;
    margin: 0;
}
.tkc-dashboard-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: #5f3faa;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}
.tkc-dashboard-button--secondary {
    background: #2f2a3d;
}
.tkc-muted {
    color: #666276;
}
.tkc-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    background: #eeeaf8;
    color: #3a2c66;
    white-space: nowrap;
}
.tkc-status-pill--active,
.tkc-status-pill--paid {
    background: #e8f7ef;
    color: #11643b;
}
.tkc-status-pill--failed,
.tkc-status-pill--payment_issue,
.tkc-status-pill--blocked {
    background: #fdecec;
    color: #8a1f1f;
}
.tkc-status-pill--collecting,
.tkc-status-pill--open,
.tkc-status-pill--scheduled,
.tkc-status-pill--pending {
    background: #fff5dc;
    color: #7a4d00;
}
.tkc-dashboard-message {
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: #eef4ff;
    border: 1px solid rgba(50, 88, 170, 0.18);
    margin-bottom: 1rem;
}
.tkc-dashboard-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(40, 31, 72, 0.14);
    border-radius: 14px;
    background: #fff;
}
.tkc-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.tkc-dashboard-table th,
.tkc-dashboard-table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(40, 31, 72, 0.1);
    text-align: left;
}
.tkc-parent-dashboard--login .tkc-dashboard-card {
    max-width: 520px;
    margin: 2rem auto;
}
.tkc-parent-dashboard--login input[type="text"],
.tkc-parent-dashboard--login input[type="password"] {
    width: 100%;
}
@media (max-width: 720px) {
    .tkc-parent-dashboard__header,
    .tkc-dashboard-card__top {
        display: block;
    }
    .tkc-parent-dashboard__account {
        margin-top: 1rem;
    }
}

/* Parent dashboard request forms (1.2.8) */
.tkc-dashboard-form {
    display: grid;
    gap: 0.9rem;
}
.tkc-dashboard-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem 1rem;
}
.tkc-dashboard-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}
.tkc-dashboard-form input,
.tkc-dashboard-form select,
.tkc-dashboard-form textarea {
    width: 100%;
    border: 1px solid rgba(40, 31, 72, 0.18);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    background: #fff;
    color: #1f1f2e;
    font: inherit;
    font-weight: 500;
}
.tkc-dashboard-form textarea {
    min-height: 90px;
    resize: vertical;
}

/* Parent membership flow cleanup (1.2.9.1) */
.tkc-dashboard-grid--tinkers {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.tkc-dashboard-card--participant .tkc-dashboard-actionbar {
    margin-top: 1rem;
}
.tkc-participant-memberships {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f8f7fb;
}
.tkc-participant-memberships ul {
    margin: 0.45rem 0 0;
    padding-left: 1.1rem;
}
.tkc-participant-memberships li {
    margin: 0.25rem 0;
}
.tkc-dashboard-form--compact {
    gap: 0.65rem;
}
.tkc-dashboard-form--compact .tkc-dashboard-form-grid {
    grid-template-columns: 1fr;
}
.tkc-form-intro {
    margin: 0 0 0.25rem;
    font-weight: 600;
}
.tkc-dashboard-message--error {
    background: #fdecec;
    border-color: rgba(138, 31, 31, 0.22);
    color: #8a1f1f;
}

/* Parent membership flow clarity (1.2.9.3) */
.tkc-membership-start {
    margin-top: 0.75rem;
}
.tkc-membership-start > summary {
    list-style: none;
    width: fit-content;
}
.tkc-membership-start > summary::-webkit-details-marker {
    display: none;
}
.tkc-membership-start__panel {
    margin-top: 0.85rem;
    padding: 0.9rem;
    border: 1px solid rgba(40, 31, 72, 0.12);
    border-radius: 14px;
    background: #fbfafc;
}

/* 1.2.10 parent event signup */
.tkc-event-signup {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(40, 28, 70, 0.14);
  border-radius: 16px;
  background: #fff;
  color: #1f1b2e;
}
.tkc-event-signup h4,
.tkc-event-signup p,
.tkc-event-signup label,
.tkc-event-signup legend,
.tkc-event-signup small,
.tkc-event-signup span {
  color: #1f1b2e;
}
.tkc-event-signup__moment,
.tkc-event-signup__help,
.tkc-event-signup__empty,
.tkc-event-signup__price-note {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.95rem;
}
.tkc-event-signup__fieldset {
  margin: 1rem 0;
  padding: 0;
  border: 0;
}
.tkc-event-signup__fieldset legend {
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.tkc-event-signup__choices {
  display: grid;
  gap: 0.5rem;
}
.tkc-event-signup__choice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: 1px solid rgba(40, 28, 70, 0.12);
  border-radius: 12px;
  background: #faf9fc;
}
.tkc-event-signup__choice small {
  display: block;
  opacity: 0.75;
}
.tkc-event-signup__guest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}
.tkc-event-signup__guest-grid label span {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.tkc-event-signup__guest-grid input {
  width: 100%;
  border: 1px solid rgba(40, 28, 70, 0.18);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: #1f1b2e;
}
.tkc-event-signup__actions {
  margin-top: 1rem;
}

/* 1.2.10.4 subtle account route for event signup */
.tkc-event-signup__login-hint {
  margin: 0.85rem 0 0.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(40, 28, 70, 0.10);
  border-radius: 12px;
  background: #fbfafc;
  font-size: 0.92rem;
}
.tkc-event-signup__login-hint span {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 600;
}
.tkc-event-signup__login-hint a {
  color: #5f3faa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tkc-event-signup__login-hint--quiet {
  background: transparent;
}

/* 1.2.10.5 cart participant slot flow */
.woocommerce .tkc-participants-panel__login-hint,
.tkc-participants-panel__login-hint {
  margin: 0.45rem 0 0;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.45;
}

.woocommerce .tkc-participants-panel__login-hint a,
.tkc-participants-panel__login-hint a {
  color: #6d28d9;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce .tkc-participants__product,
.tkc-participants__product {
  display: grid;
  gap: 0.15rem;
}

.woocommerce .tkc-participants__product small,
.tkc-participants__product small {
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 500;
}

.woocommerce .tkc-participants__row-title,
.tkc-participants__row-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.woocommerce .tkc-participants__member-badge,
.tkc-participants__member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  min-height: 1.3rem;
  border-radius: 999px;
  background: #eef2ff;
  font-size: 0.95rem;
  line-height: 1;
}

.woocommerce .tkc-participants__field select.tkc-participants__input,
.woocommerce .tkc-participants select.tkc-participants__input,
.tkc-participants__field select.tkc-participants__input {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0.55rem 0.65rem !important;
  border: 1px solid #cfd4dc !important;
  border-radius: 0.65rem !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
}

.woocommerce .tkc-participants__field select.tkc-participants__input:focus,
.tkc-participants__field select.tkc-participants__input:focus {
  outline: 2px solid rgba(124, 58, 237, 0.22) !important;
  border-color: #a78bfa !important;
}

.woocommerce .tkc-participants__row.is-existing-participant input[readonly],
.tkc-participants__row.is-existing-participant input[readonly] {
  background: #f9fafb !important;
  color: #4b5563 !important;
}

.woocommerce .tkc-participants__add-slot,
.tkc-participants__add-slot {
  margin: 0.15rem 0 0;
}

.woocommerce .tkc-participants__add-button,
.tkc-participants__add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.5rem 0.75rem;
  border: 1px dashed rgba(109, 40, 217, 0.45);
  border-radius: 0.7rem;
  background: #fbf9ff;
  color: #4c1d95;
  cursor: pointer;
  font-weight: 700;
}

.woocommerce .tkc-participants__add-button:hover,
.woocommerce .tkc-participants__add-button:focus,
.tkc-participants__add-button:hover,
.tkc-participants__add-button:focus {
  background: #ede9fe;
  color: #312e81;
}

.woocommerce .tkc-cart-slot-quantity,
.tkc-cart-slot-quantity {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 700;
}

/* 1.2.10.7 event quantity routing */
.woocommerce .tkc-cart-slot-quantity-controls,
.tkc-cart-slot-quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
}

.woocommerce .tkc-cart-slot-quantity-controls__form,
.tkc-cart-slot-quantity-controls__form {
  display: inline-flex;
  margin: 0;
}

.woocommerce .tkc-cart-slot-quantity-controls__button,
.tkc-cart-slot-quantity-controls__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(75, 85, 99, 0.24);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
}

.woocommerce .tkc-cart-slot-quantity-controls__button:hover,
.woocommerce .tkc-cart-slot-quantity-controls__button:focus,
.tkc-cart-slot-quantity-controls__button:hover,
.tkc-cart-slot-quantity-controls__button:focus {
  background: #f3f4f6;
}

.woocommerce .tkc-cart-slot-quantity-controls__value,
.tkc-cart-slot-quantity-controls__value {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.woocommerce .tkc-participants__waitlist-badge,
.tkc-participants__waitlist-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.3rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}
.woocommerce a.tkc-cart-slot-quantity-controls__button,
a.tkc-cart-slot-quantity-controls__button,
.woocommerce a.tkc-participants__add-button,
a.tkc-participants__add-button {
  text-decoration: none;
}

/* 1.2.10.8 cart participant event grouping */
.woocommerce .tkc-participants-event-group,
.tkc-participants-event-group {
  border: 1px solid rgba(75, 85, 99, 0.12);
  border-radius: 1rem;
  background: #ffffff;
  padding: 1rem;
}

.woocommerce .tkc-participants-event-group + .tkc-participants-event-group,
.tkc-participants-event-group + .tkc-participants-event-group {
  margin-top: 1rem;
}

.woocommerce .tkc-participants__product--group,
.tkc-participants__product--group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
}

.woocommerce .tkc-participants__product--group small,
.tkc-participants__product--group small {
  flex-basis: 100%;
}

.woocommerce .tkc-participants__product--group em,
.tkc-participants__product--group em {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.woocommerce .tkc-participants-event-group__slots,
.tkc-participants-event-group__slots {
  display: grid;
  gap: 0.75rem;
}

.woocommerce .tkc-participants__remove-slot,
.tkc-participants__remove-slot {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce .tkc-participants__remove-slot:hover,
.woocommerce .tkc-participants__remove-slot:focus,
.tkc-participants__remove-slot:hover,
.tkc-participants__remove-slot:focus {
  color: #991b1b;
}

/* 1.2.10.9 inline cart participant rows */
.woocommerce .tkc-participants-panel--inline,
.tkc-participants-panel--inline {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(75, 85, 99, 0.14);
  border-radius: 0.9rem;
  background: #fbfbfd;
}

.woocommerce .tkc-participants-panel--inline .tkc-participants-panel__help,
.tkc-participants-panel--inline .tkc-participants-panel__help {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  color: #4b5563;
}

.woocommerce .tkc-participants-panel--inline .tkc-participants-panel__login-hint,
.tkc-participants-panel--inline .tkc-participants-panel__login-hint {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
}

.woocommerce .tkc-participants-panel--inline .tkc-participants,
.tkc-participants-panel--inline .tkc-participants {
  display: grid;
  gap: 0.7rem;
}

/* 1.2.10.12 participant cart integrity + pricing clarity */
.woocommerce .tkc-participants__price-note,
.tkc-participants__price-note {
  margin: 0.45rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.woocommerce button.tkc-participants__add-button,
button.tkc-participants__add-button {
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

/* 1.2.10.13 cart discount badges */
.woocommerce .tkc-participants__row-title,
.tkc-participants__row-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
}

.woocommerce .tkc-participants__discount-badge,
.tkc-participants__discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.woocommerce .tkc-participants__discount-badge--member,
.tkc-participants__discount-badge--member {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(6, 95, 70, 0.16);
}

.woocommerce .tkc-participants__discount-badge--friend,
.tkc-participants__discount-badge--friend {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid rgba(154, 52, 18, 0.16);
}

.woocommerce .tkc-participants__discount-badge--normal,
.tkc-participants__discount-badge--normal {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid rgba(55, 65, 81, 0.12);
}

.woocommerce .tkc-participants__discount-badge--pending,
.tkc-participants__discount-badge--pending {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(29, 78, 216, 0.14);
}

.woocommerce .tkc-participants__price-summary,
.tkc-participants__price-summary {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(75, 85, 99, 0.14);
  display: grid;
  gap: 0.35rem;
}

.woocommerce .tkc-participants__price-summary--pending,
.tkc-participants__price-summary--pending {
  color: #4b5563;
  font-size: 0.84rem;
  font-weight: 650;
}

.woocommerce .tkc-participants__price-summary-row,
.tkc-participants__price-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

.woocommerce .tkc-participants__price-summary-row--discount,
.tkc-participants__price-summary-row--discount {
  color: #065f46;
}

.woocommerce .tkc-participants__price-summary-row--total,
.tkc-participants__price-summary-row--total {
  margin-top: 0.25rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(75, 85, 99, 0.12);
  font-size: 0.9rem;
}

/* 1.2.10.14: event type accents and clearer visibility segmented filter */
.tkc-list-item,
.tkc-collection-card,
.tkc-card--featured,
.tkc-day-list__item {
  --tkc-event-accent: var(--tkc-accent, #6b46c1);
}

.tkc-list-item {
  border-left: 4px solid var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
}

.tkc-collection-card,
.tkc-card--featured {
  border-top: 4px solid var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
}

.tkc-day-list__item {
  border-left: 4px solid var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
}

.tkc-list-item__date,
.tkc-collection-card__date,
.tkc-card__datetime {
  color: var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
}

.tkc-filterbar__group--segmented {
  flex: 1 1 280px;
}

.tkc-filterbar__segmented {
  display: inline-flex;
  flex-wrap: nowrap;
  padding: 0.18rem;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: #ffffff;
  gap: 0.12rem;
}

.tkc-filterbar__segment {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  color: #4c1d95;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  user-select: none;
  white-space: nowrap;
}

.tkc-filterbar__segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tkc-filterbar__segment.is-active,
.tkc-filterbar__segment:has(input:checked) {
  background: var(--tkc-accent-soft, #f3efff);
  color: var(--tkc-accent-text, #44337a);
  box-shadow: inset 0 0 0 1px rgba(107, 70, 193, 0.14);
}

@media (max-width: 700px) {
  .tkc-filterbar__segmented {
    width: 100%;
  }

  .tkc-filterbar__segment {
    flex: 1 1 0;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }
}

/* 1.2.10.16: cart participant polish */
.woocommerce-cart-form tr.tkc-cart-item--participant-event td.product-price,
.woocommerce-cart-form tr.tkc-cart-item--participant-event td.product-quantity,
.woocommerce-cart-form tr.tkc-cart-item--participant-event td.product-subtotal {
  vertical-align: bottom;
}

.tkc-event-signup__member-link {
  color: #047857;
  font-weight: 800;
  text-decoration: none;
  margin-left: 0.35rem;
}

.tkc-event-signup__member-link:hover,
.tkc-event-signup__member-link:focus {
  text-decoration: underline;
}

.tkc-event-signup__login-hint {
  font-size: 0.82rem;
  line-height: 1.35;
}

.tkc-event-signup__login-hint span {
  font-weight: 750;
}

.tkc-participants__grid {
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(145px, 1fr) minmax(160px, 1fr);
}

.tkc-participants__field--picker {
  grid-column: span 1;
}

.tkc-participants__remove-slot {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #7c3aed;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.1rem 0.2rem;
}

.tkc-participants__remove-slot:hover,
.tkc-participants__remove-slot:focus {
  color: #4c1d95;
}

.tkc-checkout-moment,
.woocommerce-checkout .wc-item-meta .tkc-checkout-moment,
.woocommerce-checkout dl.variation .tkc-checkout-moment {
  color: var(--tkc-accent, #6b46c1);
  font-weight: 800;
}

@media (max-width: 900px) {
  .tkc-participants__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .tkc-participants__grid {
    grid-template-columns: 1fr;
  }
}

/* 1.2.10.16: agenda search field also available outside month/week calendar CSS */
.tkc-filterbar__search {
  margin-top: 0.65rem;
}

.tkc-filterbar__search label {
  display: grid;
  gap: 0.25rem;
  max-width: 420px;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 800;
}

.tkc-filterbar__search input[type="search"] {
  width: 100%;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  padding: 0.58rem 0.85rem;
  background: #fff;
  color: #111827;
  font-size: 0.92rem;
  line-height: 1.2;
}

.tkc-filterbar__search input[type="search"]:focus {
  outline: 2px solid rgba(107, 70, 193, 0.18);
  border-color: var(--tkc-accent, #6b46c1);
}


/* 1.2.10.17: compact filter/search layout and participant form polish */
.tkc-filterbar__top {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.tkc-filterbar__top .tkc-filterbar__group--segmented {
  flex: 0 1 auto;
}
.tkc-filterbar__top .tkc-filterbar__search {
  margin-top: 0;
  flex: 1 1 280px;
}
.tkc-filterbar__search-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.tkc-filterbar__search-button {
  border: 0;
  border-radius: 999px;
  background: var(--tkc-accent, #6b46c1);
  color: #fff;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
}
.tkc-filterbar__search-result {
  margin-top: 0.22rem;
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 700;
}
.tkc-filterbar__reset {
  margin-left: auto;
}
.tkc-badge--visibility,
.tkc-month__badge--visibility {
  background: #fff7d6 !important;
  border-color: #f3d36b !important;
  color: #7c4a03 !important;
  box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.12), 0 0 14px rgba(250, 204, 21, 0.24);
}
.tkc-event-signup__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tkc-event-signup__login-link {
  color: var(--tkc-accent, #6b46c1);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}
.tkc-event-signup__login-link:hover,
.tkc-event-signup__login-link:focus {
  text-decoration: underline;
}
.tkc-participants__grid {
  grid-template-columns: minmax(180px, 1fr) minmax(170px, 1fr) minmax(145px, 0.8fr);
}
.tkc-participants__field--picker,
.tkc-participants__field--note {
  grid-column: 1 / -1;
}
.tkc-participants__field textarea,
.tkc-participants__field select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 0.55rem;
  padding: 0.42rem 0.55rem;
  font-size: 0.92rem;
  background: #fff;
  resize: vertical;
}
.tkc-participants__field textarea {
  min-height: 38px;
  line-height: 1.35;
}
.tkc-participants__field textarea:focus,
.tkc-participants__field select:focus {
  outline: 2px solid rgba(124, 58, 237, 0.25);
  border-color: #a78bfa;
}
.tkc-participants__row.is-existing-participant input[data-tkc-participant-name],
.tkc-participants__row.is-existing-participant input[data-tkc-participant-birthdate] {
  background: #f3f4f6;
  color: #6b7280;
}
@media (max-width: 700px) {
  .tkc-filterbar__top { align-items: stretch; }
  .tkc-filterbar__search-row { flex-direction: column; align-items: stretch; }
  .tkc-filterbar__reset { margin-left: 0; align-self: flex-start; }
}

/* 1.2.10.18: quieter Guild-only accent and global agenda search suggestions */
.tkc-filterbar__search {
  position: relative;
}

.tkc-search-suggestions {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  padding: 0.45rem;
}

.tkc-search-suggestions[hidden] {
  display: none !important;
}

.tkc-search-suggestions__status {
  padding: 0.45rem 0.55rem;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 800;
}

.tkc-search-suggestions__list {
  display: grid;
  gap: 0.2rem;
}

.tkc-search-suggestion {
  display: grid;
  gap: 0.12rem;
  width: 100%;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}

.tkc-search-suggestion:hover,
.tkc-search-suggestion:focus {
  background: #f5f3ff;
  outline: none;
}

.tkc-search-suggestion__title {
  color: #111827;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.25;
}

.tkc-search-suggestion__meta {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.25;
}

.tkc-badge--visibility,
.tkc-month__badge--visibility {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #7c4a03 !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.08), 0 0 8px rgba(245, 158, 11, 0.10) !important;
}

.is-tkc-highlighted {
  outline: 2px solid rgba(109, 40, 217, 0.38) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.10), 0 10px 22px rgba(15, 23, 42, 0.10) !important;
}

/* 1.2.10.19: subtler event modal benefit UI and event quantity label */
.tkc-event-signup__price-note {
  display: grid;
  gap: 0.22rem;
}

.tkc-event-signup__price-line {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.tkc-event-signup__member-link {
  color: #047857;
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0.88;
  margin-left: 0.15rem;
}

.tkc-event-signup__login-link {
  font-size: 0.74rem;
  font-weight: 750;
  opacity: 0.86;
}

.tkc-event-signup__login-hint {
  margin: 0.1rem 0 0;
  color: #6b7280;
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.35;
}

.tkc-event-signup__login-hint a {
  color: var(--tkc-accent, #6b46c1);
  font-weight: 750;
  text-decoration: none;
}

.tkc-event-signup__login-hint a:hover,
.tkc-event-signup__login-hint a:focus {
  text-decoration: underline;
}

.woocommerce .tkc-event-quantity,
.tkc-event-quantity {
  display: inline-grid;
  justify-items: start;
  gap: 0.18rem;
}

.woocommerce .tkc-event-quantity__label,
.tkc-event-quantity__label {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Keep Guild-only as a quiet signal, not a golden warning. */
.tkc-badge--visibility,
.tkc-month__badge--visibility {
  background: #fffdf0 !important;
  border-color: #f8e9a6 !important;
  color: #80620d !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.045), 0 0 4px rgba(245, 158, 11, 0.055) !important;
}

/* 1.2.10.20: pagination for list/card event collections */
.tkc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--tkc-line, #e6e8ef);
}

.tkc-pagination__summary {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

.tkc-pagination__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.tkc-pagination__button {
  border: 1px solid var(--tkc-line, #e6e8ef);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  padding: 0.42rem 0.72rem;
  font-size: 0.84rem;
  line-height: 1.1;
  font-weight: 800;
  cursor: pointer;
}

.tkc-pagination__button:hover,
.tkc-pagination__button:focus {
  border-color: #d8ccfb;
  color: var(--tkc-accent-text, #44337a);
  background: var(--tkc-accent-soft, #f3efff);
}

.tkc-pagination__button.is-active {
  color: var(--tkc-accent-text, #44337a);
  background: var(--tkc-accent-soft, #f3efff);
  border-color: #c4b5fd;
}

.tkc-pagination__button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  background: #f8fafc;
}

@media (max-width: 640px) {
  .tkc-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .tkc-pagination__controls {
    justify-content: flex-start;
  }
}

/* 1.2.10.22: public include/exclude facet chips */
.tkc-filterbar__chip--tri {
  border: 1px solid #ddd6fe;
  font-family: inherit;
}

.tkc-filterbar__chip--tri.is-active {
  background: #ede9fe;
  border-color: #a78bfa;
  color: #312e81;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.16);
}

.tkc-filterbar__chip--tri.is-excluded {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* 1.2.10.27: mobile go-live polish for modals and agenda lists */
@media (max-width: 760px) {
  .tkc-modal-root {
    align-items: stretch;
    padding: 0;
  }

  .tkc-modal {
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .tkc-modal__header,
  .tkc-modal__body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tkc-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .tkc-modal__title {
    font-size: 1.2rem;
    padding-right: 2.7rem;
  }

  .tkc-modal__close {
    top: 0.65rem;
    right: 0.65rem;
    width: 44px;
    height: 44px;
  }

  .tkc-modal__actions,
  .tkc-list-item__actions,
  .tkc-collection-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .tkc-modal__actions .tkc-btn,
  .tkc-modal__actions .tkc-btn--secondary,
  .tkc-list-item__cta,
  .tkc-card__link {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .tkc-day-list__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.78rem;
  }
}

/* 1.2.15.0 — Parent Experience v1 */
.tkc-parent-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.tkc-parent-overview__card {
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    background: #fff;
}
.tkc-parent-overview__card strong,
.tkc-parent-overview__card span {
    display: block;
}
.tkc-parent-overview__card strong {
    font-size: 24px;
    line-height: 1.1;
}
.tkc-parent-overview__card span {
    margin-top: 4px;
    opacity: .75;
}
.tkc-parent-overview__card--attention {
    border-color: rgba(34, 113, 177, .45);
}
.tkc-parent-overview__card--warning {
    border-color: rgba(214, 54, 56, .45);
}
.tkc-parent-upcoming-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}
.tkc-parent-upcoming-card .tkc-inline-form {
    margin-top: 10px;
}
.tkc-participant-planning {
    margin: 12px 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(0,0,0,.035);
}
.tkc-participant-planning ul {
    margin: 6px 0 0 18px;
}
.tkc-inline-form--compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* 1.2.17.4 role UI separation: parent dashboard has no right-side rail */
.tkc-parent-dashboard__header {
    display: block;
}
.tkc-parent-dashboard__account {
    min-width: 0;
    margin-top: 0.85rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid rgba(40, 31, 72, 0.12);
    background: transparent;
}
.tkc-parent-dashboard--staff-frontdoor .tkc-dashboard-card {
    max-width: 720px;
    margin: 2rem auto;
}

/* Public membership signup confirmation flow (1.2.28.6) */
.tkc-dashboard-fieldset {
  margin: 1rem 0;
  padding: 0;
  border: 0;
}
.tkc-dashboard-fieldset legend {
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.tkc-payment-mode-radios__choices {
  display: grid;
  gap: 0.65rem;
}
.tkc-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgba(40, 28, 70, 0.14);
  border-radius: 14px;
  background: #fbfafc;
}
.tkc-radio-card input {
  margin-top: 0.18rem;
}
.tkc-radio-card small {
  display: block;
  margin-top: 0.2rem;
  opacity: 0.78;
}
.tkc-membership-price-preview,
.tkc-membership-review .tkc-dashboard-card {
  line-height: 1.45;
}
.tkc-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.tkc-review-card {
  padding: 1rem;
  border: 1px solid rgba(40, 28, 70, 0.12);
  border-radius: 16px;
  background: #fbfafc;
}
.tkc-review-card h3 {
  margin-top: 0;
}
.tkc-review-card--wide {
  grid-column: 1 / -1;
}
.tkc-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}


/* 1.2.29.1 — parent portal task flow polish */
.tkc-parent-task-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.35fr);
  gap: 18px;
  align-items: stretch;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.tkc-parent-task-start h3 {
  margin: 0 0 6px;
}
.tkc-parent-task-start p {
  margin: 0;
}
.tkc-parent-task-start__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.tkc-parent-task-start__links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  text-decoration: none;
  background: rgba(248, 250, 252, 0.8);
}
.tkc-parent-task-start__links a:hover,
.tkc-parent-task-start__links a:focus {
  border-color: rgba(15, 23, 42, 0.26);
  background: #fff;
}
.tkc-parent-task-start__links strong {
  color: #111827;
}
.tkc-parent-task-start__links span {
  color: #6b7280;
  font-size: 0.92em;
}
@media (max-width: 720px) {
  .tkc-parent-task-start {
    grid-template-columns: 1fr;
  }
}


/* 1.2.30.3 — membership group cards */
.tkc-membership-group-choice { margin: 1rem 0 1.25rem; }
.tkc-membership-group-cards { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: .75rem; }
.tkc-membership-group-card { appearance: none; border: 1px solid rgba(15,23,42,.16); border-radius: 14px; background: #fff; color: inherit; text-align: left; padding: .9rem 1rem; display: grid; gap: .25rem; cursor: pointer; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.tkc-membership-group-card:hover { border-color: rgba(15,23,42,.32); }
.tkc-membership-group-card.is-selected { border-color: currentColor; box-shadow: 0 0 0 2px rgba(15,23,42,.08); }
.tkc-membership-group-card[hidden] { display: none; }
.tkc-membership-group-card strong { font-size: 1rem; }
.tkc-membership-group-card span { color: #475569; font-size: .92rem; }
.tkc-membership-group-card em { color: #0f172a; font-style: normal; font-weight: 600; margin-top: .25rem; }
.tkc-membership-group-empty { margin-top: .75rem; }


/* 1.2.30.4 — compact parent portal */
.tkc-portal-next-action { border: 1px solid rgba(15,23,42,.10); border-radius: 12px; background: rgba(15,23,42,.03); padding: .75rem .9rem; margin: .75rem 0; display: grid; gap: .2rem; }
.tkc-portal-next-action strong { font-size: .95rem; }
.tkc-portal-next-action span { color: #475569; font-size: .92rem; }
.tkc-participant-details { margin-top: .75rem; border-top: 1px solid rgba(15,23,42,.08); padding-top: .6rem; }
.tkc-participant-details > summary { cursor: pointer; font-weight: 700; color: #334155; }
.tkc-participant-details[open] > summary { margin-bottom: .6rem; }


/* 1.2.32.1 — action-first parent portal top */
.tkc-parent-action-summary { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 1rem; margin: 1.25rem 0 1.5rem; }
.tkc-parent-action-summary__main { padding: 1.15rem 1.25rem; border: 1px solid rgba(15,23,42,.10); border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(15,23,42,.05); }
.tkc-parent-action-summary__main--attention { border-color: rgba(214,54,56,.28); }
.tkc-parent-action-summary__main h3 { margin: .15rem 0 .35rem; }
.tkc-parent-action-summary__main p { margin: 0; color: #475569; }
.tkc-parent-action-summary__items { display: grid; gap: .65rem; }
.tkc-parent-action-item { display: flex; justify-content: space-between; gap: .85rem; padding: .85rem 1rem; border: 1px solid rgba(15,23,42,.10); border-radius: 14px; text-decoration: none; background: rgba(248,250,252,.85); color: inherit; }
.tkc-parent-action-item:hover, .tkc-parent-action-item:focus { background: #fff; border-color: rgba(15,23,42,.28); }
.tkc-parent-action-item strong { color: #0f172a; }
.tkc-parent-action-item span { color: #64748b; font-size: .92rem; text-align: right; }
.tkc-parent-action-item--warning { border-color: rgba(214,54,56,.24); }
@media (max-width: 760px) { .tkc-parent-action-summary { grid-template-columns: 1fr; } .tkc-parent-action-item { align-items: flex-start; flex-direction: column; } .tkc-parent-action-item span { text-align: left; } }


/* 1.2.32.2 — child-centered parent portal cards */
.tkc-child-card-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .65rem; margin: .9rem 0; }
.tkc-child-card-summary > div { padding: .7rem .8rem; border-radius: 12px; background: rgba(248,250,252,.9); border: 1px solid rgba(15,23,42,.08); }
.tkc-child-card-summary span { display: block; color: #64748b; font-size: .82rem; margin-bottom: .2rem; }
.tkc-child-card-summary strong { display: block; color: #0f172a; font-size: .92rem; line-height: 1.25; }
.tkc-dashboard-card--participant { display: grid; gap: .35rem; }


/* 1.2.32.3 — parent administration IA */
.tkc-parent-admin-section > .tkc-muted { margin-top: -.25rem; }
.tkc-parent-admin-details { border: 1px solid rgba(15,23,42,.10); border-radius: 14px; padding: .85rem 1rem; background: #fff; margin: .75rem 0; }
.tkc-parent-admin-details > summary { cursor: pointer; font-weight: 700; color: #0f172a; }
.tkc-parent-admin-details[open] > summary { margin-bottom: .85rem; }
.tkc-parent-admin-payments { margin-top: 1rem; }
.tkc-parent-admin-payments h4 { margin: 0 0 .6rem; }


/* 1.2.32.4 — safety info IA */
.tkc-practical-info-form > summary { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.tkc-practical-info-form--missing { border-color: rgba(214,54,56,.22); }
.tkc-status-pill--missing { background: rgba(214,54,56,.10); color: #8a2424; }
.tkc-status-pill--complete { background: rgba(16,185,129,.12); color: #065f46; }
.tkc-status-pill--info { background: rgba(37,99,235,.10); color: #1d4ed8; }


/* 1.2.32.5 — requests and change-flow cleanup */
.tkc-parent-request-details { border: 1px solid rgba(15,23,42,.10); border-radius: 14px; padding: .85rem 1rem; background: #fff; margin: .75rem 0; }
.tkc-parent-request-details > summary { cursor: pointer; font-weight: 700; color: #0f172a; }
.tkc-parent-request-details[open] > summary { margin-bottom: .85rem; }
.tkc-parent-open-requests { margin: .75rem 0 1rem; }

.tkc-public-project-wall__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.tkc-public-project-card {
    border: 1px solid rgba(0,0,0,.12);
    border-radius: .75rem;
    padding: 1rem;
    background: #fff;
}
.tkc-public-project-card__image img {
    width: 100%;
    height: auto;
    border-radius: .5rem;
    display: block;
    margin-bottom: .75rem;
}
.tkc-public-project-card__topics,
.tkc-public-project-card__tools {
    font-size: .95em;
}

/* 1.7 — supervised participant project flow */
.tkc-project-submission,
.tkc-participant-portfolio {
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
    margin: 1rem 0;
}
.tkc-project-submission__form {
    display: grid;
    gap: .85rem;
}
.tkc-project-submission__form label {
    display: grid;
    gap: .25rem;
    font-weight: 600;
}
.tkc-project-submission__form input,
.tkc-project-submission__form select,
.tkc-project-submission__form textarea {
    max-width: 100%;
}
.tkc-project-submission__topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .4rem .75rem;
}
.tkc-project-submission__topics label {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-weight: 400;
}
.tkc-participant-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.tkc-participant-portfolio__card {
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 14px;
    padding: .9rem;
    background: rgba(248,250,252,.85);
}
.tkc-participant-portfolio__card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin-bottom: .6rem;
}

.tkc-modal__session-summary {
  margin-top: 0.35rem;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* 1.9.10.0 — stable, independently configurable agenda controls */
.tkc-filterbar,
.tkc-filterbar * {
  box-sizing: border-box;
}

.tkc-filterbar {
  max-width: 100%;
}

.tkc-filterbar__top > *,
.tkc-filterbar__groups > *,
.tkc-filterbar__search,
.tkc-filterbar__search label,
.tkc-filterbar__search-row {
  min-width: 0;
}

.tkc-filterbar__options {
  max-width: 100%;
}

.tkc-filterbar__chip--tri {
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

@media (max-width: 700px) {
  .tkc-filterbar {
    padding: 0.75rem;
    overflow: visible;
  }

  .tkc-filterbar__top,
  .tkc-filterbar__groups {
    width: 100%;
  }

  .tkc-filterbar__top .tkc-filterbar__group--segmented,
  .tkc-filterbar__top .tkc-filterbar__search,
  .tkc-filterbar__group {
    flex: 1 1 100%;
    width: 100%;
  }

  .tkc-filterbar__segmented {
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.85rem;
  }

  .tkc-filterbar__segment {
    flex: 1 1 calc(50% - 0.12rem);
    min-width: 105px;
    white-space: normal;
    text-align: center;
  }

  .tkc-filterbar__search-row {
    width: 100%;
  }

  .tkc-filterbar__search input[type="search"],
  .tkc-filterbar__search-button {
    max-width: 100%;
    width: 100%;
  }
}

/* 1.9.11.0 — guarded direct product routes */
.tkc-product-route-panel {
    margin-top: 1rem;
}

.tkc-product-route-panel__events {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.tkc-product-route-panel__events li + li {
    margin-top: 0.35rem;
}

/* 1.9.13.1 — recoverable agenda runtime states */
.tkc-error--recoverable {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.85rem;
  border: 1px solid #fecdd3;
}

.tkc-error--recoverable strong,
.tkc-error--recoverable span {
  display: block;
}

.tkc-error--recoverable span {
  flex: 1 1 260px;
}

.is-tkc-loading[data-tkc-ready="1"] {
  opacity: 0.72;
  transition: opacity 120ms ease-in-out;
}

.is-tkc-loading[data-tkc-ready="1"] > * {
  pointer-events: none;
}

/* 1.9.14.0 — event registration overview */
.tkc-registration-overview {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.tkc-registration-overview__intro h2 {
  margin: 0 0 4px;
}

.tkc-registration-overview__intro p {
  margin: 0;
  color: #5f6470;
}

.tkc-registration-card {
  overflow: hidden;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 32, 43, 0.06);
}

.tkc-registration-card__header {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #edf0f2;
}

.tkc-registration-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #f4f5f6;
}

.tkc-registration-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tkc-registration-card__heading h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.tkc-registration-card__heading p {
  margin: 5px 0 0;
  color: #6a707b;
  font-size: 0.92rem;
}

.tkc-registration-card__remove {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e2e5e9;
  border-radius: 999px;
  color: #6d737d;
  text-decoration: none;
  font-size: 16px;
}

.tkc-registration-card__remove:hover,
.tkc-registration-card__remove:focus {
  border-color: #b42318;
  color: #b42318;
}

.tkc-registration-card__section {
  padding: 16px;
}

.tkc-registration-card__section + .tkc-registration-card__section {
  border-top: 1px solid #edf0f2;
}

.tkc-registration-card__section h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.tkc-registration-card__dates > ul,
.tkc-registration-card__add-dates ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tkc-registration-card__dates > ul > li,
.tkc-registration-card__add-dates li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.tkc-registration-card__date-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

.tkc-registration-card__date-price {
  font-weight: 700;
}

.tkc-registration-card__remove-date {
  color: #6d737d;
  font-size: 0.84rem;
}

.tkc-registration-card__add-dates {
  margin-top: 12px;
}

.tkc-registration-card__add-dates summary {
  cursor: pointer;
  font-weight: 700;
}

.tkc-registration-card__add-dates ul {
  margin-top: 10px;
  padding: 10px;
  border-radius: 9px;
  background: #f7f8fa;
}

.tkc-registration-card__add-dates a {
  font-weight: 700;
}

.tkc-participants--shared-group {
  padding: 0;
  border: 0;
  background: transparent;
}

.tkc-participants--shared-group .tkc-participants__row {
  padding: 12px;
  border: 1px solid #e4e7eb;
  border-radius: 10px;
  background: #fafbfc;
}

.tkc-participants--shared-group .tkc-participants__row + .tkc-participants__row {
  margin-top: 10px;
}

.tkc-participants__existing-summary {
  display: none;
  gap: 3px;
  align-content: center;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
}

.tkc-participants__existing-summary span {
  color: #6a707b;
  font-size: 0.86rem;
}

.tkc-participants__row.is-existing-participant .tkc-participants__existing-summary {
  display: grid;
}

.tkc-participants__row.is-existing-participant .tkc-participants__field--name,
.tkc-participants__row.is-existing-participant .tkc-participants__field--birthdate,
.tkc-participants__row.is-existing-participant .tkc-participants__field--note {
  display: none;
}

.tkc-registration-card__total {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4e7eb;
}

.tkc-registration-card__total strong {
  font-size: 1.15rem;
}

.tkc-cart-has-event-overview .woocommerce-cart-form tr.tkc-cart-item--participant-event {
  display: none;
}

.tkc-cart-event-only .woocommerce-cart-form > table.shop_table.cart {
  display: none;
}

.tkc-checkout-registration-summary {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e2e6ea;
  border-radius: 10px;
  background: #fafbfc;
}

.tkc-checkout-registration-summary + .tkc-checkout-registration-summary {
  margin-top: 10px;
}

.tkc-checkout-registration-summary > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}

.tkc-checkout-registration-summary > div span {
  color: #6a707b;
}

.tkc-checkout-registration-summary.has-missing-data {
  border-color: #d92d20;
  background: #fff6f5;
}

@media (max-width: 680px) {
  .tkc-registration-card__header {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 12px;
  }

  .tkc-registration-card__section {
    padding: 12px;
  }

  .tkc-registration-card__dates > ul > li,
  .tkc-registration-card__add-dates li {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .tkc-registration-card__date-actions {
    width: 100%;
    justify-content: space-between;
  }

  .tkc-registration-card__total {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/* 1.9.15.0 — event-only checkout and confirmation */
.tkc-event-thankyou {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 32, 43, 0.05);
}

.tkc-event-thankyou h2 {
  margin: 0 0 7px;
}

.tkc-event-thankyou > p {
  margin: 0 0 16px;
  color: #5f6470;
}

.tkc-event-order-summary {
  display: grid;
  gap: 10px;
}

.tkc-event-order-summary article {
  display: grid;
  gap: 7px;
  padding: 13px;
  border-radius: 10px;
  background: #f7f8fa;
}

.tkc-event-order-summary article > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}

.tkc-event-order-summary article > div span {
  color: #6a707b;
}

@media (max-width: 520px) {
  .tkc-event-order-summary article > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* 1.9.16.0 — collapsible agenda filters and availability badges */
.tkc-filterbar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  margin: 0;
  padding: 0.48rem 0.7rem;
  border: 1px solid #ddd6fe;
  border-radius: 0.75rem;
  background: #fff;
  color: #4c1d95;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.tkc-filterbar__toggle:hover,
.tkc-filterbar__toggle:focus-visible {
  border-color: #a78bfa;
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.tkc-filterbar__toggle-icon {
  display: inline-block;
  transition: transform 0.16s ease;
}

.tkc-filterbar.is-open .tkc-filterbar__toggle-icon {
  transform: rotate(180deg);
}

.tkc-filterbar__active-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ede9fe;
  color: #4c1d95;
  font-size: 0.72rem;
  font-weight: 800;
}

.tkc-filterbar__active-count[hidden],
.tkc-filterbar__panel[hidden] {
  display: none !important;
}

.tkc-filterbar__toggle + .tkc-filterbar__panel {
  margin-top: 0.75rem;
}

.tkc-badge--availability,
.tkc-detail-pill--availability,
.tkc-month__badge--availability {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

@media (max-width: 719px) {
  .tkc-filterbar__toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .tkc-filterbar__active-count {
    margin-left: auto;
  }
}

/* 1.9.17.0 — dedicated event registration experience */
.tkc-registration-experience {
  display: grid;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.tkc-registration-experience__header {
  display: grid;
  gap: 8px;
}

.tkc-registration-experience__header h1,
.tkc-registration-experience__section > h2 {
  margin: 0;
}

.tkc-registration-experience__header > p {
  max-width: 720px;
  margin: 0;
  color: #626975;
}

.tkc-registration-experience__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #6d28d9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tkc-registration-experience__section {
  display: grid;
  gap: 14px;
}

.tkc-registration-experience__groups {
  display: grid;
  gap: 18px;
}

.tkc-registration-experience .tkc-registration-card {
  overflow: hidden;
  border: 1px solid #dfe4e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(27, 36, 48, 0.06);
}

.tkc-registration-card__missing {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #f7c8c4;
  border-radius: 9px;
  background: #fff5f4;
  color: #8a241c;
}

.tkc-registration-card__missing span {
  font-size: 0.9rem;
}

.tkc-registration-card__remove-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  color: #59616d;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
}

.tkc-registration-card__remove-date:hover,
.tkc-registration-card__remove-date:focus-visible {
  border-color: #b42318;
  color: #b42318;
}

.tkc-registration-card__split-date {
  color: #5b21b6;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.tkc-participants__member-badge {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border: 1px solid #ead9a6;
  border-radius: 999px;
  background: #fff8dc;
  color: #614d0d;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.tkc-registration-experience__products {
  padding-top: 4px;
}

.tkc-registration-products {
  display: grid;
  gap: 10px;
}

.tkc-registration-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto auto 32px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e0e4e8;
  border-radius: 12px;
  background: #fff;
}

.tkc-registration-product__image img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.tkc-registration-product__body {
  display: grid;
  gap: 3px;
}

.tkc-registration-product__quantity {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
}

.tkc-registration-product__quantity input {
  width: 74px;
}

.tkc-registration-product__subtotal {
  font-weight: 800;
  white-space: nowrap;
}

.tkc-registration-product__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #626975;
  font-size: 1.25rem;
  text-decoration: none;
}

.tkc-registration-products-form__actions {
  margin-top: 10px;
}

.tkc-registration-experience__summary {
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(100%, 480px);
  padding: 18px;
  border: 1px solid #dfe4e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(27, 36, 48, 0.06);
}

.tkc-registration-coupon {
  display: flex;
  gap: 8px;
  align-items: end;
}

.tkc-registration-coupon label {
  display: grid;
  flex: 1;
  gap: 4px;
  font-size: 0.8rem;
}

.tkc-registration-coupons-applied {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tkc-registration-coupons-applied span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  font-size: 0.8rem;
}

.tkc-registration-totals {
  display: grid;
  gap: 8px;
}

.tkc-registration-totals > div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.tkc-registration-totals__note {
  color: #626975;
  font-size: 0.88rem;
}

.tkc-registration-totals__total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e2e6ea;
  font-size: 1.12rem;
}

.tkc-registration-experience__incomplete {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff5f4;
  color: #8a241c;
}

.tkc-registration-experience .checkout-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.tkc-mini-registration-groups {
  display: grid;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.tkc-mini-registration-groups > a {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
}

.tkc-mini-registration-groups small {
  color: #69707c;
}

@media (max-width: 720px) {
  .tkc-registration-experience {
    gap: 20px;
  }

  .tkc-registration-product {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .tkc-registration-product__image img {
    width: 52px;
    height: 52px;
  }

  .tkc-registration-product__quantity,
  .tkc-registration-product__subtotal {
    grid-column: 2;
  }

  .tkc-registration-product__remove {
    grid-column: 3;
    grid-row: 1;
  }

  .tkc-registration-coupon {
    align-items: stretch;
    flex-direction: column;
  }

  .tkc-registration-experience__summary {
    justify-self: stretch;
  }
}

/* 1.9.18.1 — compact filter launcher and expanded filter surface */
.tkc-filterbar {
  position: relative;
}

.tkc-filterbar__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #d8dde5;
  border-radius: 999px;
  background: #fff;
  color: #45238a;
  box-shadow: 0 4px 14px rgba(32, 25, 55, 0.07);
}

.tkc-filterbar__toggle-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.16s ease;
}

.tkc-filterbar.is-open .tkc-filterbar__toggle-icon {
  transform: scale(0.92);
}

.tkc-filterbar__active-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  padding: 0 0.28rem;
  border: 2px solid #fff;
  background: #6d28d9;
  color: #fff;
}

.tkc-filterbar__toggle + .tkc-filterbar__panel {
  margin-top: 0.65rem;
}

.tkc-filterbar__panel {
  width: 100%;
  padding: 18px;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(24, 32, 43, 0.1);
}

.tkc-loading--detail {
  min-height: 150px;
  display: grid;
  place-items: center;
}

@media (max-width: 719px) {
  .tkc-filterbar__toggle {
    width: 2.75rem;
    justify-content: center;
  }

  .tkc-filterbar__active-count {
    margin-left: 0;
  }

  .tkc-filterbar__panel {
    padding: 14px;
    border-radius: 14px;
  }
}

/* 1.9.19.1 — reliable registration entry feedback */
.tkc-event-signup__feedback {
  display: block;
  min-height: 0;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.tkc-event-signup__feedback:empty {
  display: none;
}

.tkc-event-signup__feedback.is-error {
  color: #8a1f11;
}

.tkc-event-signup__actions .tkc-btn.is-busy {
  cursor: progress;
  opacity: 0.72;
}

.tkc-registration-experience--empty {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

/* 1.9.19.2 — registration runtime stabilization */
.tkc-registration-state-warning,
.tkc-registration-experience--error {
  display: grid;
  gap: .45rem;
}

.tkc-registration-experience--error {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(20, 24, 31, .14);
  border-radius: 1rem;
  background: #fff;
}

.tkc-registration-experience--error h2,
.tkc-registration-experience--error p {
  margin: 0;
}

.tkc-registration-experience--error .button {
  justify-self: start;
  margin-top: .5rem;
}


/* 1.9.19.3 — registration interaction and completion feedback */
.tkc-registration-login-hint {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd2f5;
  border-radius: 0.9rem;
  background: #f8f5ff;
  color: #382368;
}

.tkc-registration-login-hint > div {
  display: grid;
  gap: 0.15rem;
}

.tkc-registration-login-hint__link {
  flex: none;
  color: #5b21b6;
  font-weight: 800;
}

.tkc-registration-card__dates > ul > li > span:first-child {
  display: block;
  color: var(--tkc-accent-text);
  font-weight: 750;
}

.tkc-participants__row-title > [data-tkc-participant-title-index] {
  display: block;
  color: var(--tkc-accent-text);
  font-weight: 800;
}

.tkc-participants__field.is-missing {
  padding: 0.45rem;
  border: 1px solid #d92d20;
  border-radius: 0.65rem;
  background: #fff5f4;
}

.tkc-participants__field.is-missing > span {
  color: #9f2218;
  font-weight: 750;
}

.tkc-participants__field.is-missing .tkc-participants__input {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.12);
}

.tkc-participants__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
}

.tkc-participants__actions .tkc-participants__add-slot {
  margin: 0;
}

.tkc-save-participants[disabled] {
  opacity: 0.55;
  cursor: default;
}

.tkc-save-participants.is-dirty {
  opacity: 1;
}

.tkc-registration-experience__summary .checkout-button.alt,
.tkc-registration-experience__summary a.checkout-button,
.tkc-registration-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem !important;
  border: 1px solid #6d28d9 !important;
  border-radius: 0.75rem !important;
  background: #6d28d9 !important;
  color: #fff !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.2);
}

.tkc-registration-experience__summary .checkout-button.alt:hover,
.tkc-registration-experience__summary .checkout-button.alt:focus-visible,
.tkc-registration-home-button:hover,
.tkc-registration-home-button:focus-visible {
  background: #5720ad !important;
  border-color: #5720ad !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .tkc-registration-login-hint {
    align-items: flex-start;
    flex-direction: column;
  }

  .tkc-participants__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tkc-save-participants,
  .tkc-registration-experience__summary .checkout-button.alt {
    width: 100%;
  }
}


/* 1.9.19.4 — event content and checkout clarity */
.woocommerce-checkout .wc-item-meta .tkc-checkout-meta-lines,
.woocommerce-checkout dl.variation .tkc-checkout-meta-lines,
.tkc-event-summary-lines {
  display: grid;
  gap: 0.25rem;
  color: var(--tkc-accent, #6b46c1);
  font-weight: 750;
}

.woocommerce-checkout .wc-item-meta .tkc-checkout-meta-lines > span,
.woocommerce-checkout dl.variation .tkc-checkout-meta-lines > span,
.tkc-event-summary-lines > span {
  display: block;
}

.tkc-checkout-registration-edit {
  color: var(--tkc-accent, #6b46c1);
  font-weight: 750;
}


/* 1.9.19.5 — registration autosave and inline validation */
.tkc-participants-panel__status {
  min-height: 1.35em;
  margin: 0 0 .45rem;
  font-size: .86rem;
  font-weight: 650;
}
.tkc-participants-panel__status.is-saving { color: #6b5b95; }
.tkc-participants-panel__status.is-saved { color: #25734a; }
.tkc-participants-panel__status.is-error { color: #a52626; }
.tkc-participants__field-error {
  display: block;
  min-height: 1.25em;
  margin-top: .3rem;
  color: #a52626;
  font-size: .82rem;
  line-height: 1.3;
}
.tkc-participants__field.has-error .tkc-participants__input,
.tkc-participants__field.is-missing .tkc-participants__input {
  border-color: #b22d2d !important;
  box-shadow: 0 0 0 2px rgba(178,45,45,.12);
}
.tkc-participants__field.has-error .tkc-participants__input:focus,
.tkc-participants__field.is-missing .tkc-participants__input:focus {
  box-shadow: 0 0 0 3px rgba(178,45,45,.18);
}
.tkc-registration-experience__summary [aria-busy="true"] {
  opacity: .72;
  pointer-events: none;
}

/* 1.9.25.4 — TinkerTimes editorial engine */
.tkc-tinkertimes-feed,
.tkc-tinkertimes-archive,
.tkc-tinkertimes-single {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto;
}
.tkc-tinkertimes-feed__intro,
.tkc-tinkertimes-archive__header {
  margin-bottom: 1.4rem;
}
.tkc-tinkertimes-archive__eyebrow,
.tkc-tinkertimes-article__kicker,
.tkc-tinkertimes-card__meta {
  color: var(--tkc-accent, #6b46c1);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.tkc-tinkertimes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}
.tkc-tinkertimes-card {
  overflow: hidden;
  border: 1px solid rgba(30, 30, 30, .12);
  border-radius: 1rem;
  background: #fff;
}
.tkc-tinkertimes-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.tkc-tinkertimes-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(30, 30, 30, .05);
}
.tkc-tinkertimes-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tkc-tinkertimes-card__body {
  padding: 1rem;
}
.tkc-tinkertimes-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  justify-content: space-between;
}
.tkc-tinkertimes-card h3 {
  margin: .5rem 0 .35rem;
}
.tkc-tinkertimes-card__byline,
.tkc-tinkertimes-article__byline {
  margin: .25rem 0 .75rem;
  font-weight: 700;
}
.tkc-tinkertimes-article {
  width: min(820px, 100%);
  margin: 0 auto;
}
.tkc-tinkertimes-article__header {
  margin-bottom: 1.5rem;
}
.tkc-tinkertimes-article__intro {
  font-size: 1.15rem;
  line-height: 1.6;
}
.tkc-tinkertimes-article__hero {
  margin: 0 0 1.5rem;
}
.tkc-tinkertimes-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}
.tkc-tinkertimes-article__content {
  line-height: 1.7;
}
.tkc-tinkertimes-sources {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(30, 30, 30, .14);
}
.tkc-tinkertimes-source-card {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  align-items: baseline;
}
.tkc-tinkertimes-pagination {
  margin-top: 1.5rem;
}

/* TinkerTimes Editions 4D */
.tkc-tt-edition{max-width:1180px;margin:0 auto 56px;padding:0 20px;}
.tkc-tt-edition__masthead{padding:28px 0 20px;border-top:5px solid currentColor;border-bottom:1px solid currentColor;}
.tkc-tt-edition__brand{font-size:clamp(34px,7vw,78px);line-height:.9;font-weight:900;letter-spacing:-.055em;}
.tkc-tt-edition__edition-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:14px 0 20px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;}
.tkc-tt-edition__masthead h1{margin:0;font-size:clamp(28px,4vw,54px);line-height:1;}
.tkc-tt-edition__dek{max-width:760px;margin:12px 0 0;font-size:18px;line-height:1.45;}
.tkc-tt-edition__editorial{max-width:760px;margin-top:18px;}
.tkc-tt-edition__grid{display:grid;gap:0;margin-top:22px;border-top:1px solid currentColor;border-left:1px solid currentColor;}
.tkc-tt-edition__slot{min-width:0;border-right:1px solid currentColor;border-bottom:1px solid currentColor;}
.tkc-tt-edition__article-link{display:block;height:100%;padding:16px;color:inherit;text-decoration:none;}
.tkc-tt-edition__article-link:hover h2{text-decoration:underline;text-underline-offset:3px;}
.tkc-tt-edition__image{margin:-16px -16px 14px;overflow:hidden;aspect-ratio:16/9;background:#f0f0f1;}
.tkc-tt-edition__image img{display:block;width:100%;height:100%;object-fit:cover;}
.tkc-tt-edition__section{margin:0 0 7px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.tkc-tt-edition__slot h2{margin:0;font-size:clamp(20px,2.2vw,32px);line-height:1.05;letter-spacing:-.025em;}
.tkc-tt-edition__slot.is-lead h2{font-size:clamp(32px,4.8vw,68px);}
.tkc-tt-edition__slot.is-news h2{font-size:clamp(17px,1.6vw,23px);}
.tkc-tt-edition__excerpt{margin:10px 0 0;line-height:1.5;}
.tkc-tt-edition__article-meta{margin:12px 0 0;font-size:12px;opacity:.72;}
.tkc-tt-edition--frontpage .tkc-tt-edition__grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"hero hero hero" "secondary_left secondary_right feature" "news_1 news_2 news_3" "closing closing closing";}
.tkc-tt-edition--frontpage .tkc-tt-edition__slot--hero{grid-area:hero}.tkc-tt-edition--frontpage .tkc-tt-edition__slot--secondary_left{grid-area:secondary_left}.tkc-tt-edition--frontpage .tkc-tt-edition__slot--secondary_right{grid-area:secondary_right}.tkc-tt-edition--frontpage .tkc-tt-edition__slot--feature{grid-area:feature}.tkc-tt-edition--frontpage .tkc-tt-edition__slot--news_1{grid-area:news_1}.tkc-tt-edition--frontpage .tkc-tt-edition__slot--news_2{grid-area:news_2}.tkc-tt-edition--frontpage .tkc-tt-edition__slot--news_3{grid-area:news_3}.tkc-tt-edition--frontpage .tkc-tt-edition__slot--closing{grid-area:closing}
.tkc-tt-edition--magazine .tkc-tt-edition__grid{grid-template-columns:repeat(12,minmax(0,1fr));}.tkc-tt-edition--magazine .tkc-tt-edition__slot--cover{grid-column:1/-1}.tkc-tt-edition--magazine .tkc-tt-edition__slot--feature_1,.tkc-tt-edition--magazine .tkc-tt-edition__slot--feature_2,.tkc-tt-edition--magazine .tkc-tt-edition__slot--feature_3,.tkc-tt-edition--magazine .tkc-tt-edition__slot--story_1,.tkc-tt-edition--magazine .tkc-tt-edition__slot--story_2,.tkc-tt-edition--magazine .tkc-tt-edition__slot--story_3{grid-column:span 4}.tkc-tt-edition--magazine .tkc-tt-edition__slot--closing{grid-column:1/-1}
.tkc-tt-edition--news .tkc-tt-edition__grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"lead lead lead lead" "top_left top_left top_right top_right" "news_1 news_2 news_3 news_4" "news_5 news_6 feature feature";}.tkc-tt-edition--news .tkc-tt-edition__slot--lead{grid-area:lead}.tkc-tt-edition--news .tkc-tt-edition__slot--top_left{grid-area:top_left}.tkc-tt-edition--news .tkc-tt-edition__slot--top_right{grid-area:top_right}.tkc-tt-edition--news .tkc-tt-edition__slot--news_1{grid-area:news_1}.tkc-tt-edition--news .tkc-tt-edition__slot--news_2{grid-area:news_2}.tkc-tt-edition--news .tkc-tt-edition__slot--news_3{grid-area:news_3}.tkc-tt-edition--news .tkc-tt-edition__slot--news_4{grid-area:news_4}.tkc-tt-edition--news .tkc-tt-edition__slot--news_5{grid-area:news_5}.tkc-tt-edition--news .tkc-tt-edition__slot--news_6{grid-area:news_6}.tkc-tt-edition--news .tkc-tt-edition__slot--feature{grid-area:feature}
.tkc-tinkertimes-archive__more{max-width:1180px;margin:0 auto;padding:0 20px 48px}.tkc-tinkertimes-archive__more>header{margin-bottom:18px;padding-top:24px;border-top:1px solid currentColor}
@media (max-width:760px){.tkc-tt-edition{padding:0 14px}.tkc-tt-edition__grid,.tkc-tt-edition--frontpage .tkc-tt-edition__grid,.tkc-tt-edition--magazine .tkc-tt-edition__grid,.tkc-tt-edition--news .tkc-tt-edition__grid{display:block;border-left:0}.tkc-tt-edition__slot{border-left:0;border-right:0}.tkc-tt-edition__article-link{padding:14px 0}.tkc-tt-edition__image{margin:-14px 0 12px}}

/* Public TinkerStats snapshot */
.tkc-public-stats{max-width:1180px;margin:32px auto;padding:22px 20px;border-top:4px solid currentColor;border-bottom:1px solid currentColor}
.tkc-public-stats__header{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.tkc-public-stats__header h2{margin:0;font-size:clamp(28px,4vw,52px);line-height:1;letter-spacing:-.035em}
.tkc-public-stats__stale{font-size:12px;text-transform:uppercase;letter-spacing:.08em;opacity:.65}
.tkc-public-stats__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid currentColor;border-left:1px solid currentColor}
.tkc-public-stats__metric{display:flex;flex-direction:column;gap:4px;padding:18px;border-right:1px solid currentColor;border-bottom:1px solid currentColor}
.tkc-public-stats__metric strong{font-size:clamp(28px,4vw,48px);line-height:1;font-variant-numeric:tabular-nums}
.tkc-public-stats__metric span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;opacity:.72}
.tkc-public-stats.is-stale{opacity:.72}
@media (max-width:760px){.tkc-public-stats{padding:18px 14px}.tkc-public-stats__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tkc-public-stats__metric{padding:14px}.tkc-public-stats__header{align-items:flex-start;flex-direction:column}}

/* TinkerTimes Grid Composer 1.9.26.0 */
.tkc-tt-edition--composer .tkc-tt-edition__grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:14px;border:0;align-items:start}
.tkc-tt-edition--composer .tkc-tt-edition__grid.is-masonry-ready{grid-auto-rows:8px}
.tkc-tt-edition__block{min-width:0;border-top:1px solid currentColor;background:transparent;align-self:start}
.tkc-tt-edition__block.size-small,.tkc-tt-edition__block.size-tall{grid-column:span 1}.tkc-tt-edition__block.size-wide,.tkc-tt-edition__block.size-large{grid-column:span 2}.tkc-tt-edition__block.size-hero{grid-column:1/-1}
.tkc-tt-edition__block .tkc-tt-edition__article-link{height:auto;padding:14px 0}.tkc-tt-edition__block .tkc-tt-edition__image{margin:-14px 0 14px;aspect-ratio:16/9}.tkc-tt-edition__block.size-tall .tkc-tt-edition__image{aspect-ratio:3/4}.tkc-tt-edition__block.size-large .tkc-tt-edition__image{aspect-ratio:4/3}.tkc-tt-edition__block.size-hero .tkc-tt-edition__image{aspect-ratio:21/9}
.tkc-tt-edition__block h2{margin:0;font-size:clamp(19px,2vw,30px);line-height:1.06;letter-spacing:-.025em}.tkc-tt-edition__block.style-lead h2{font-size:clamp(34px,5vw,72px);line-height:.98}.tkc-tt-edition__block.style-feature h2{font-size:clamp(24px,3vw,42px)}.tkc-tt-edition__block.style-brief h2{font-size:clamp(17px,1.45vw,22px);line-height:1.12}.tkc-tt-edition__block.style-brief .tkc-tt-edition__article-meta{margin-top:8px}
.tkc-tt-edition__block.style-lead{border-top-width:5px}.tkc-tt-edition__block.style-feature{border-top-width:3px}
@media (max-width:1024px) and (min-width:761px){.tkc-tt-edition--composer .tkc-tt-edition__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tkc-tt-edition__block.size-wide,.tkc-tt-edition__block.size-large,.tkc-tt-edition__block.size-hero{grid-column:1/-1}.tkc-tt-edition__block.size-small,.tkc-tt-edition__block.size-tall{grid-column:span 1}}
@media (max-width:760px){.tkc-tt-edition--composer .tkc-tt-edition__grid{display:flex!important;flex-direction:column;gap:0;border:0}.tkc-tt-edition__block{width:100%;border-top:1px solid currentColor}.tkc-tt-edition__block.style-lead{order:0}.tkc-tt-edition__block .tkc-tt-edition__article-link{padding:18px 0}.tkc-tt-edition__block .tkc-tt-edition__image,.tkc-tt-edition__block.size-tall .tkc-tt-edition__image,.tkc-tt-edition__block.size-large .tkc-tt-edition__image,.tkc-tt-edition__block.size-hero .tkc-tt-edition__image{margin:0 0 12px;aspect-ratio:16/9}.tkc-tt-edition__block h2,.tkc-tt-edition__block.style-feature h2{font-size:clamp(22px,7vw,32px)}.tkc-tt-edition__block.style-lead h2{font-size:clamp(32px,10vw,46px)}.tkc-tt-edition__block.style-brief h2{font-size:20px}.tkc-tt-edition__excerpt{font-size:16px}}

/* 1.9.27.0 — compact upcoming collection for Divi/page overview placement */
.tkc-upcoming-wrapper--compact .tkc-view-toggle {
  margin-bottom: 0.55rem;
}

.tkc-upcoming-wrapper--compact .tkc-upcoming__cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.tkc-upcoming-wrapper--compact .tkc-upcoming__list {
  gap: 0.5rem;
}

.tkc-compact-event {
  min-height: 0;
  border-color: var(--tkc-line, #e6e8ef);
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.tkc-list-item--compact {
  display: block;
  padding: 0;
  border-left: 3px solid var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
  border-radius: 0.75rem;
}

.tkc-collection-card--compact {
  display: block;
  border-top: 3px solid var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
  border-radius: 0.8rem;
  overflow: hidden;
}

.tkc-compact-event:hover,
.tkc-compact-event:focus-within {
  border-color: var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
  background: #fcfbff;
  box-shadow: none;
  transform: none;
}

.tkc-compact-event__body {
  display: grid;
  gap: 0.18rem;
  padding: 0.62rem 0.72rem 0.68rem;
  min-width: 0;
}

.tkc-compact-event__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.55rem;
  color: #475569;
  font-size: 0.74rem;
  line-height: 1.2;
}

.tkc-compact-event__date {
  color: var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
  font-weight: 850;
}

.tkc-compact-event__time {
  font-weight: 700;
}

.tkc-compact-event__title {
  margin: 0;
  color: #111827;
  font-size: 0.94rem;
  line-height: 1.2;
}

.tkc-compact-event__session {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.2;
}

.tkc-compact-event .tkc-badges {
  gap: 0.22rem;
  margin-top: 0.18rem;
}

.tkc-compact-event .tkc-badge {
  padding: 0.08rem 0.34rem;
  font-size: 0.64rem;
  line-height: 1.15;
}

@media (max-width: 640px) {
  .tkc-upcoming-wrapper--compact .tkc-upcoming__cards {
    grid-template-columns: 1fr;
  }

  .tkc-compact-event__body {
    padding: 0.58rem 0.65rem 0.62rem;
  }
}


/* 1.9.27.1 — quieter agenda metadata and event-coloured modal date */
.tkc-overview-signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.35rem;
  margin-top: 0.22rem;
}

.tkc-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.05rem 0.18rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.15;
}

.tkc-signal--price {
  color: #8a4b10;
  background: rgba(255, 244, 230, 0.72);
  padding-inline: 0.3rem;
  border-radius: 999px;
}

.tkc-signal--availability {
  color: #53606f;
}

.tkc-signal__icon {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 0.78rem;
}

.tkc-guild-shield {
  position: absolute;
  right: 0.38rem;
  bottom: 0.34rem;
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  color: #8a6a16;
  opacity: 0.58;
  pointer-events: auto;
}

.tkc-guild-shield:hover,
.tkc-guild-shield:focus-visible {
  opacity: 0.95;
}

.tkc-guild-shield svg {
  width: 100%;
  height: 100%;
}

.tkc-month__event,
.tkc-weekgrid__event,
.tkc-day-list__item,
.tkc-list-item,
.tkc-collection-card,
.tkc-card--featured,
.tkc-compact-event {
  position: relative;
}

.tkc-month__event .tkc-overview-signals,
.tkc-weekgrid__event .tkc-overview-signals {
  gap: 0.12rem 0.2rem;
  margin-top: 0.16rem;
}

.tkc-month__event .tkc-signal,
.tkc-weekgrid__event .tkc-signal {
  padding: 0.02rem 0.12rem;
  font-size: 0.57rem;
}

.tkc-month__event .tkc-signal__icon,
.tkc-weekgrid__event .tkc-signal__icon {
  width: 0.66rem;
  height: 0.66rem;
  flex-basis: 0.66rem;
}

.tkc-month__event:has(.tkc-guild-shield) {
  padding-bottom: 1rem;
}

.tkc-modal__header--event .tkc-modal__eyebrow {
  color: var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
}

@media (max-width: 700px) {
  .tkc-signal {
    font-size: 0.64rem;
  }

  .tkc-guild-shield {
    right: 0.32rem;
    bottom: 0.3rem;
  }
}


/* 1.9.27.2 — Agenda Frontend Polish II */
.tkc-filterbar__toggle {
  justify-content: flex-start;
  width: auto;
  height: auto;
  min-height: 2.2rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
}

.tkc-filterbar__toggle-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.tkc-filterbar__toggle-icon {
  width: 1rem;
  height: 1rem;
}

.tkc-filterbar.is-open .tkc-filterbar__toggle-icon {
  transform: none;
}

.tkc-filterbar__active-count {
  position: static;
  min-width: 1.15rem;
  min-height: 1.15rem;
  padding: 0 0.24rem;
  border: 0;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 0.68rem;
}

.tkc-modal__header--event .tkc-modal__eyebrow {
  font-size: 0.9rem;
  font-weight: 950;
}

.tkc-overview-signals {
  gap: 0.18rem 0.3rem;
}

.tkc-signal {
  gap: 0.14rem;
  padding: 0;
  font-size: 0.62rem;
  color: #64748b;
}

.tkc-signal--price {
  padding: 0.04rem 0.24rem;
}

.tkc-signal__label {
  white-space: nowrap;
}

.tkc-list-item .tkc-overview-signals,
.tkc-collection-card .tkc-overview-signals,
.tkc-compact-event .tkc-overview-signals {
  margin-top: 0.18rem;
}

.tkc-compact-event__body {
  gap: 0.12rem;
}

.tkc-compact-event__session {
  display: none;
}

.tkc-month__event .tkc-overview-signals,
.tkc-weekgrid__event .tkc-overview-signals {
  gap: 0.08rem 0.18rem;
  margin-top: 0.14rem;
}

.tkc-month__event .tkc-signal,
.tkc-weekgrid__event .tkc-signal {
  font-size: 0.54rem;
}

.tkc-month__event .tkc-signal--price,
.tkc-weekgrid__event .tkc-signal--price {
  padding: 0.03rem 0.18rem;
}

.tkc-guild-shield {
  width: 0.92rem;
  height: 0.92rem;
  right: 0.3rem;
  bottom: 0.28rem;
}

@media (max-width: 719px) {
  .tkc-filterbar__toggle {
    width: auto;
  }

  .tkc-filterbar__active-count {
    margin-left: 0;
  }
}


/* 1.9.27.3 — Overview Density Polish
   Upcoming components own their information density; Divi only positions them. */
.tkc-upcoming__list {
  gap: 0.65rem;
}

.tkc-list-item:not(.tkc-list-item--compact) {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  padding: 0.68rem;
  border-radius: 0.82rem;
  box-shadow: none;
}

.tkc-list-item.has-cta:not(.tkc-list-item--compact) {
  grid-template-columns: 108px minmax(0, 1fr) auto;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__cta-cell {
  min-width: 92px;
}

.tkc-list-item:not(.tkc-list-item--compact):hover,
.tkc-list-item:not(.tkc-list-item--compact):focus-within {
  box-shadow: none;
  transform: none;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__image {
  width: 108px;
  aspect-ratio: 1 / 1;
  border-radius: 0.68rem;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__main {
  gap: 0.18rem;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__date {
  font-size: 0.78rem;
  line-height: 1.15;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.18;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__session {
  font-size: 0.74rem;
  line-height: 1.15;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__teaser {
  display: -webkit-box;
  margin-top: 0.05rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.82rem;
  line-height: 1.28;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__time {
  margin-top: 0.05rem;
  font-size: 0.78rem;
  line-height: 1.15;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-overview-signals {
  margin-top: 0.1rem;
}

.tkc-upcoming__cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.72rem;
}

.tkc-collection-card:not(.tkc-collection-card--compact) {
  border-radius: 0.86rem;
  box-shadow: none;
}

.tkc-collection-card:not(.tkc-collection-card--compact):hover,
.tkc-collection-card:not(.tkc-collection-card--compact):focus-within {
  box-shadow: none;
  transform: none;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__image {
  aspect-ratio: 16 / 7;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__body {
  gap: 0.2rem;
  padding: 0.72rem 0.78rem 0.76rem;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__date {
  font-size: 0.77rem;
  line-height: 1.15;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.98rem;
  line-height: 1.18;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__session {
  font-size: 0.73rem;
  line-height: 1.15;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__teaser {
  display: -webkit-box;
  margin-top: 0.03rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.82rem;
  line-height: 1.28;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__time {
  font-size: 0.78rem;
  line-height: 1.15;
}

.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-overview-signals {
  margin-top: 0.1rem;
}

.tkc-view-toggle {
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.tkc-view-toggle__button {
  padding: 0.28rem 0.58rem;
  font-size: 0.74rem;
}

.tkc-pagination {
  margin-top: 0.75rem;
}

.tkc-pagination__button {
  min-width: 1.9rem;
  min-height: 1.9rem;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
}

.tkc-pagination__summary {
  font-size: 0.72rem;
}

/* Compact is intentionally widget-like: no imagery/teaser, minimal chrome. */
.tkc-upcoming-wrapper--compact .tkc-upcoming__cards {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.42rem;
}

.tkc-upcoming-wrapper--compact .tkc-upcoming__list {
  gap: 0.34rem;
}

.tkc-list-item--compact,
.tkc-collection-card--compact {
  border-radius: 0.62rem;
}

.tkc-compact-event__body {
  gap: 0.08rem;
  padding: 0.46rem 0.56rem 0.5rem;
}

.tkc-compact-event__meta {
  gap: 0.18rem 0.42rem;
  font-size: 0.68rem;
}

.tkc-compact-event__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.86rem;
  line-height: 1.16;
}

.tkc-compact-event .tkc-overview-signals {
  margin-top: 0.08rem;
}

.tkc-compact-event .tkc-signal {
  font-size: 0.58rem;
}

.tkc-compact-event .tkc-guild-shield {
  width: 0.82rem;
  height: 0.82rem;
  right: 0.24rem;
  bottom: 0.22rem;
}

@media (max-width: 800px) {
  .tkc-list-item:not(.tkc-list-item--compact),
  .tkc-list-item.has-cta:not(.tkc-list-item--compact) {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.58rem;
    padding: 0.58rem;
  }

  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__cta-cell {
    grid-column: 2;
    min-width: 0;
    justify-content: flex-start;
    margin-top: 0.12rem;
  }

  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__image {
    width: 84px;
  }
}

@media (max-width: 520px) {
  .tkc-list-item:not(.tkc-list-item--compact),
  .tkc-list-item.has-cta:not(.tkc-list-item--compact) {
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: start;
  }

  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__image {
    width: 68px;
  }

  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__teaser {
    -webkit-line-clamp: 1;
  }

  .tkc-upcoming__cards,
  .tkc-upcoming-wrapper--compact .tkc-upcoming__cards {
    grid-template-columns: 1fr;
  }
}


/* 1.9.27.4 — Final Agenda/UI Cleanup */
.tkc-signal--event_type {
  padding: 0.03rem 0.22rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
  background: transparent;
  font-size: 0.58rem;
  font-weight: 700;
}

.tkc-signal__icon--seat {
  width: 0.86rem;
  height: 0.86rem;
  flex-basis: 0.86rem;
  stroke-width: 1.9;
}

.tkc-month__event .tkc-signal--event_type,
.tkc-weekgrid__event .tkc-signal--event_type {
  font-size: 0.52rem;
  padding: 0.02rem 0.16rem;
}

.tkc-month__event .tkc-signal__icon--seat,
.tkc-weekgrid__event .tkc-signal__icon--seat {
  width: 0.72rem;
  height: 0.72rem;
  flex-basis: 0.72rem;
}


/* 1.9.27.5 — Mobile Text & Metadata Polish */
.tkc-overview-event-type {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.02rem;
  color: var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.15;
}

.tkc-overview-event-type__dot {
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 0.38rem;
  border-radius: 999px;
  background: var(--tkc-event-accent, var(--tkc-accent, #6b46c1));
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__main,
.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__body {
  gap: 0.12rem;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__teaser,
.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__teaser {
  margin-top: 0.02rem;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__time,
.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__time {
  margin-top: 0.28rem;
}

.tkc-list-item:not(.tkc-list-item--compact) .tkc-overview-signals,
.tkc-collection-card:not(.tkc-collection-card--compact) .tkc-overview-signals {
  margin-top: 0.18rem;
}

.tkc-compact-event .tkc-overview-event-type {
  font-size: 0.58rem;
}

.tkc-month__event .tkc-overview-event-type {
  gap: 0.18rem;
  margin-top: 0.12rem;
  font-size: 0.52rem;
}

.tkc-month__event .tkc-overview-event-type__dot {
  width: 0.3rem;
  height: 0.3rem;
  flex-basis: 0.3rem;
}

.tkc-filterbar__event-type-dot {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 0.48rem;
  border-radius: 999px;
  background: var(--tkc-filter-event-color, var(--tkc-accent, #6b46c1));
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

@media (max-width: 700px) {
  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__title,
  .tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__title,
  .tkc-compact-event__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__teaser,
  .tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__teaser {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__time,
  .tkc-collection-card:not(.tkc-collection-card--compact) .tkc-collection-card__time {
    margin-top: 0.34rem;
  }

  .tkc-list-item:not(.tkc-list-item--compact) .tkc-overview-signals,
  .tkc-collection-card:not(.tkc-collection-card--compact) .tkc-overview-signals {
    margin-top: 0.22rem;
  }

  .tkc-filterbar__chip,
  .tkc-filterbar__chip--tri,
  .tkc-filterbar__segment {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .tkc-filterbar__chip > span:last-child,
  .tkc-filterbar__segment > span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .tkc-list-item:not(.tkc-list-item--compact) .tkc-list-item__teaser {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}


/* 1.9.27.6 — Overview Metadata Quieting */
.tkc-month__event .tkc-signal--age {
  max-width: 100%;
  min-width: 0;
}

.tkc-month__event .tkc-signal--age .tkc-signal__label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 4.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@container tkc-month-shell (min-width: 1041px) {
  .tkc-month__event .tkc-signal--age .tkc-signal__label {
    max-width: 5.4rem;
  }
}


/* 1.9.27.7 — Ticket & Availability Icon Polish */
/* Availability means people can still join: use a small group, not a seat/theatre metaphor. */
.tkc-signal__icon--group {
  width: 0.9rem;
  height: 0.9rem;
  flex-basis: 0.9rem;
  stroke-width: 1.8;
}

.tkc-month__event .tkc-signal__icon--group,
.tkc-weekgrid__event .tkc-signal__icon--group {
  width: 0.74rem;
  height: 0.74rem;
  flex-basis: 0.74rem;
}

/* Keep the warm price signal, but give its background a quiet admission-ticket silhouette. */
.tkc-signal--price {
  position: relative;
  padding: 0.07rem 0.36rem;
  border-radius: 0.24rem;
  clip-path: polygon(
    0 0, 100% 0,
    100% 34%, calc(100% - 2px) 50%, 100% 66%,
    100% 100%, 0 100%,
    0 66%, 2px 50%, 0 34%
  );
}

.tkc-month__event .tkc-signal--price,
.tkc-weekgrid__event .tkc-signal--price {
  padding: 0.045rem 0.25rem;
  clip-path: polygon(
    0 0, 100% 0,
    100% 32%, calc(100% - 1.5px) 50%, 100% 68%,
    100% 100%, 0 100%,
    0 68%, 1.5px 50%, 0 32%
  );
}

/* 1.9.31.0 — R4 Tinker onboarding & ordering */
.tkc-membership-preferences legend small,
.tkc-membership-group-choice h3 small {
  font-size: .72em;
  font-weight: 500;
  opacity: .65;
}
.tkc-membership-preference-list {
  display: grid;
  gap: .55rem;
  margin-top: .65rem;
}
.tkc-membership-preference-option {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .65rem .75rem;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.tkc-membership-preference-option input { margin-top: .22rem; }
.tkc-membership-preference-option span { display: grid; gap: .1rem; }
.tkc-membership-preference-option small { color: #64748b; }
.tkc-tinker-choice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .65rem;
  margin: .65rem 0 1rem;
}
.tkc-membership-group-card--preference {
  position: relative;
  grid-template-columns: auto minmax(0,1fr);
  align-items: flex-start;
}
.tkc-membership-group-card--preference > input {
  margin: .25rem .15rem 0 0;
}
.tkc-membership-group-card__body {
  display: grid;
  gap: .25rem;
  min-width: 0;
}
.tkc-membership-group-card--preference.is-selected {
  border-color: currentColor;
  box-shadow: 0 0 0 2px rgba(15,23,42,.08);
}
.tkc-membership-group-card--preference[hidden] { display: none; }


/* 1.9.32.0 — R5 Tinkerportaal simplification */
.tkc-parent-action-summary--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .65rem;
  margin: 1rem 0 1.15rem;
}
.tkc-parent-action-summary--compact .tkc-parent-action-item { padding: .7rem .85rem; min-height: 0; }
.tkc-dashboard-card--participant { gap: .7rem; }
.tkc-tinker-primary-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .25rem .9rem;
  padding: .85rem .95rem;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  background: rgba(248,250,252,.86);
}
.tkc-tinker-primary-action__label,
.tkc-tinker-primary-action small { color: #64748b; font-size: .84rem; }
.tkc-tinker-primary-action strong,
.tkc-tinker-primary-action small { grid-column: 1; }
.tkc-tinker-primary-action .tkc-inline-form { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.tkc-participant-memberships--compact { margin: 0; }
.tkc-participant-membership-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.tkc-participant-membership-line:last-child { border-bottom: 0; }
.tkc-practical-info-form {
  margin-top: .1rem;
  padding: .85rem .95rem;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  background: #fff;
}
.tkc-practical-info-form__heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .7rem; }
.tkc-dashboard-form-grid--emergency { grid-template-columns: repeat(2, minmax(0,1fr)); }
.tkc-practical-info-form__save { margin: .65rem 0 0; }
.tkc-membership-pause-action {
  margin: .15rem 0;
  padding: .7rem .8rem;
  border-radius: 12px;
  background: rgba(248,250,252,.9);
  border: 1px solid rgba(15,23,42,.08);
}
.tkc-membership-pause-action label { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 680px) {
  .tkc-tinker-primary-action { grid-template-columns: 1fr; }
  .tkc-tinker-primary-action .tkc-inline-form { grid-column: 1; grid-row: auto; margin-top: .45rem; }
  .tkc-tinker-primary-action .tkc-inline-form button { width: 100%; }
  .tkc-dashboard-form-grid--emergency { grid-template-columns: 1fr; }
  .tkc-membership-pause-action .tkc-inline-form,
  .tkc-membership-pause-action label { align-items: stretch; flex-direction: column; }
}


/* 1.9.32.1 — R5b Portal Focus & Flow Correction */
.tkc-parent-dashboard__header--focused {
  align-items: center;
  gap: 1rem;
}
.tkc-parent-dashboard__header--focused h2 { margin: 0; }
.tkc-practical-info-form > summary {
  list-style: none;
  cursor: pointer;
  margin: 0;
}
.tkc-practical-info-form > summary::-webkit-details-marker { display: none; }
.tkc-practical-info-form__heading { margin-bottom: 0; }
.tkc-practical-info-form__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}
.tkc-practical-info-form__toggle {
  flex: none;
  font-size: .82rem;
  font-weight: 700;
  color: #5b21b6;
  padding: .3rem .55rem;
  border: 1px solid rgba(91,33,182,.20);
  border-radius: 999px;
  background: rgba(91,33,182,.05);
}
.tkc-practical-info-form[open] > summary { margin-bottom: .7rem; }
.tkc-practical-info-form[open] .tkc-practical-info-form__toggle::after { content: ' ↑'; }
.tkc-practical-info-form:not([open]) .tkc-practical-info-form__toggle::after { content: ' ↓'; }
.tkc-membership-pause-action--pending {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: .45rem .6rem;
}
@media (max-width: 680px) {
  .tkc-parent-dashboard__header--focused { align-items: flex-start; }
  .tkc-practical-info-form__heading { align-items: flex-start; }
}

/* 1.9.32.2 — R5c Portal UI Reconstruction */
.tkc-parent-dashboard {
  max-width: 1120px;
}
.tkc-parent-dashboard__header--focused {
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}
.tkc-parent-dashboard__account {
  min-width: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: right;
}
.tkc-parent-dashboard__header--focused h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
}
.tkc-portal-tinker-list {
  display: grid;
  gap: 1rem;
}
.tkc-portal-tinker-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(40,31,72,.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25,15,56,.045);
  overflow: hidden;
}
.tkc-portal-tinker-card__identity {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.1rem;
  border-right: 1px solid rgba(40,31,72,.10);
  background: rgba(248,247,251,.55);
}
.tkc-portal-tinker-card__identity-copy h4 {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
}
.tkc-portal-tinker-card__identity-copy p { margin: 0; }
.tkc-portal-tinker-card__body {
  display: grid;
  gap: .8rem;
  min-width: 0;
  padding: 1rem;
}
.tkc-status-pill--neutral {
  background: #f1f1f4;
  color: #55515e;
}
.tkc-status-pill--absent,
.tkc-status-pill--absent_parent,
.tkc-status-pill--absent_admin,
.tkc-status-pill--absent_no_notice {
  background: #fdecec;
  color: #8a1f1f;
}
.tkc-portal-primary-state {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .85rem 1rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(40,31,72,.11);
  border-radius: 14px;
  background: #fbfbfd;
}
.tkc-portal-primary-state__copy { min-width: 0; }
.tkc-portal-primary-state__eyebrow {
  display: block;
  margin-bottom: .18rem;
  color: #686174;
  font-size: .78rem;
  font-weight: 700;
}
.tkc-portal-primary-state h5 {
  margin: 0;
  font-size: 1.03rem;
}
.tkc-portal-primary-state p {
  margin: .28rem 0 0;
  color: #5f5a6d;
}
.tkc-portal-primary-state__action,
.tkc-portal-primary-state__action .tkc-inline-form { margin: 0; }
.tkc-portal-lesson-status {
  display: grid;
  justify-items: end;
  gap: .32rem;
  text-align: right;
}
.tkc-portal-lesson-status small { color: #7a3030; }
.tkc-lesson-state-note { margin: .35rem 0 0; color: #7a3030; }

.tkc-membership-start--portal {
  margin: 0;
  min-width: 180px;
}
.tkc-membership-start--portal > summary {
  display: inline-flex;
  justify-content: center;
  width: auto;
  list-style: none;
}
.tkc-membership-start--portal[open] {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: .15rem;
}
.tkc-membership-start--portal[open] > summary {
  background: #2f2a3d;
}
.tkc-membership-start--portal .tkc-membership-start__panel {
  margin-top: .75rem;
  padding: .9rem;
  background: #fff;
}
.tkc-membership-start__intro { margin-bottom: .75rem; }
.tkc-membership-start__intro p { margin: .2rem 0 0; }
.tkc-membership-start--portal [data-tkc-membership-offers="1"] { display: none; }
.tkc-membership-start--portal input[data-tkc-birthdate="1"] { display: none; }

.tkc-portal-membership-details {
  border: 1px solid rgba(40,31,72,.10);
  border-radius: 14px;
  background: #fff;
}
.tkc-portal-membership-details > summary {
  list-style: none;
  cursor: pointer;
  padding: .72rem .9rem;
  font-weight: 700;
}
.tkc-portal-membership-details > summary::-webkit-details-marker { display: none; }
.tkc-portal-membership-details > summary::after {
  content: '↓';
  float: right;
  color: #6b6477;
}
.tkc-portal-membership-details[open] > summary::after { content: '↑'; }
.tkc-portal-membership-summary {
  padding: .85rem .9rem;
  border-top: 1px solid rgba(40,31,72,.08);
}
.tkc-portal-membership-summary__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}
.tkc-dashboard-dl--portal-membership {
  grid-template-columns: repeat(3,minmax(120px,1fr));
}
.tkc-portal-membership-summary__payment {
  margin: .65rem 0 0;
}
.tkc-portal-membership-summary .tkc-membership-pause-action { margin-top: .7rem; }

.tkc-practical-info-form {
  margin: 0;
  box-shadow: none;
}
.tkc-practical-info-form__heading { min-height: 2.2rem; }
.tkc-practical-info-form__toggle { border: 0; background: transparent; padding: .2rem; }

.tkc-portal-new-tinker__card { padding: 1rem; }
.tkc-portal-new-tinker__form { gap: .75rem; }
.tkc-portal-onboarding-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  color: #5f5a6d;
  font-size: .84rem;
}
.tkc-portal-onboarding-steps span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.tkc-portal-onboarding-steps b {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(40,31,72,.18);
  border-radius: 999px;
  background: #f8f7fb;
  font-size: .75rem;
}
.tkc-portal-onboarding-steps i { font-style: normal; color: #8a8494; }
.tkc-portal-empty-state h4 { margin-bottom: .25rem; }
.tkc-parent-payments-section > h3 { margin-bottom: .75rem; }
.tkc-parent-open-payments { margin-bottom: .75rem; }

@media (max-width: 760px) {
  .tkc-parent-dashboard__header--focused {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .tkc-parent-dashboard__account { margin-top: .15rem; text-align: right; }
  .tkc-portal-tinker-card { grid-template-columns: 1fr; }
  .tkc-portal-tinker-card__identity {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid rgba(40,31,72,.10);
    padding: .9rem;
  }
  .tkc-portal-tinker-card__body { padding: .85rem; }
  .tkc-portal-primary-state { grid-template-columns: 1fr; }
  .tkc-portal-primary-state__action,
  .tkc-portal-primary-state__action .tkc-inline-form,
  .tkc-portal-primary-state__action button,
  .tkc-membership-start--portal,
  .tkc-membership-start--portal > summary { width: 100%; }
  .tkc-portal-lesson-status { justify-items: start; text-align: left; }
  .tkc-dashboard-dl--portal-membership { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .tkc-parent-dashboard__header--focused { display: block; }
  .tkc-parent-dashboard__account { text-align: left; margin-top: .45rem; }
  .tkc-portal-tinker-card__identity { display: block; }
  .tkc-portal-tinker-card__identity .tkc-status-pill { margin-top: .55rem; }
  .tkc-dashboard-dl--portal-membership { grid-template-columns: 1fr; }
  .tkc-portal-onboarding-steps i { display: none; }
  .tkc-portal-onboarding-steps { display: grid; grid-template-columns: 1fr; }
}
.tkc-portal-lessons-details {
  border: 1px solid rgba(40,31,72,.10);
  border-radius: 14px;
  background: #fff;
}
.tkc-portal-lessons-details > summary {
  list-style: none;
  cursor: pointer;
  padding: .72rem .9rem;
  font-weight: 700;
}
.tkc-portal-lessons-details > summary::-webkit-details-marker { display: none; }
.tkc-portal-lessons-details > summary::after { content: '↓'; float: right; color: #6b6477; }
.tkc-portal-lessons-details[open] > summary::after { content: '↑'; }
.tkc-portal-lessons-list { border-top: 1px solid rgba(40,31,72,.08); }
.tkc-portal-lesson-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .72rem .9rem;
  border-bottom: 1px solid rgba(40,31,72,.07);
}
.tkc-portal-lesson-row:last-child { border-bottom: 0; }
.tkc-portal-lesson-row > div { display: grid; gap: .12rem; }
.tkc-portal-lesson-row small { color: #64748b; }
.tkc-portal-lesson-row.is-absent { background: rgba(253,236,236,.42); }
@media (max-width: 620px) {
  .tkc-portal-lesson-row { grid-template-columns: 1fr; }
  .tkc-portal-lesson-row .tkc-inline-form,
  .tkc-portal-lesson-row .tkc-inline-form button { width: 100%; }
}
.tkc-portal-lesson-status--absent {
  padding: .55rem .65rem;
  border-radius: 12px;
  background: rgba(253,236,236,.55);
}

/* 1.9.32.3 — R5d Portal Lifecycle & Membership Start */
.tkc-membership-start-unavailable{padding:.85rem 1rem;border:1px solid rgba(120,92,20,.22);border-radius:12px;background:rgba(255,244,204,.42)}
.tkc-membership-start-unavailable p{margin:.35rem 0 0}
.tkc-membership-contract-summary--portal{margin:.75rem 0;padding:.75rem .85rem;border:1px solid rgba(31,35,48,.10);border-radius:12px;background:rgba(249,250,252,.8)}
.tkc-membership-stop-panel>summary{cursor:pointer;font-weight:700}
.tkc-membership-stop-choice{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.85rem;margin-top:.75rem}
.tkc-membership-stop-choice>div{padding:.8rem;border:1px solid rgba(31,35,48,.10);border-radius:12px;background:#fff}
.tkc-membership-stop-choice h6{margin:0 0 .25rem;font-size:1rem}
.tkc-membership-stop-choice p{margin:.25rem 0 .65rem}
.tkc-membership-pause-summary{margin-top:.7rem;padding:.8rem;border-radius:12px;background:rgba(236,241,255,.72)}
.tkc-membership-pause-summary p{margin:.3rem 0 .65rem}
.tkc-portal-lesson-row__status{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}
.tkc-dashboard-link-button{appearance:none;border:0;background:transparent;padding:.15rem 0;color:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font:inherit;font-size:.88em}
.tkc-portal-lesson-status .tkc-undo-absence-form{margin-top:.35rem}
@media (max-width:700px){.tkc-membership-stop-choice{grid-template-columns:1fr}.tkc-portal-lesson-row__status{justify-content:flex-start}}

.tkc-membership-stop-choice__cancel--after-pause {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(37, 26, 64, .12);
}

/* P1 project authoring: structural fallback only; site styling stays Divi-owned. */
.tkc-project-authoring fieldset {
  border: 1px solid #dcdcde;
  border-radius: 6px;
  padding: 1rem;
  margin: 0 0 1rem;
}
.tkc-project-authoring fieldset > legend { padding: 0 .35rem; }
.tkc-project-authoring h4 { margin: 1rem 0 .5rem; }
.tkc-project-resource-row {
  display: grid;
  grid-template-columns: minmax(8rem,.65fr) minmax(14rem,2fr) minmax(8rem,.65fr) auto;
  gap: .5rem;
  align-items: end;
  margin: .5rem 0;
}
.tkc-project-existing-media__item {
  display: grid;
  grid-template-columns: 100px minmax(10rem,1fr) minmax(12rem,1.5fr);
  gap: .75rem;
  align-items: start;
  margin: .5rem 0;
  padding: .5rem;
  border: 1px solid #dcdcde;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .tkc-project-resource-row,
  .tkc-project-existing-media__item { grid-template-columns: 1fr; }
}

/* Project authoring staged uploads: local preview only until form save. */
.tkc-project-staged-item{display:grid;grid-template-columns:minmax(96px,120px) minmax(0,1fr) auto;gap:.75rem;align-items:start;padding:.75rem;margin:.6rem 0;border:1px solid currentColor;border-radius:.45rem}.tkc-project-staged-item--file{grid-template-columns:minmax(0,1fr) auto}.tkc-project-staged-item__preview{width:120px;max-height:120px;object-fit:cover;border-radius:.35rem}.tkc-project-staged-item__body{display:grid;gap:.45rem}.tkc-project-staged-item__body>small{opacity:.72}.tkc-project-staged-item__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.tkc-project-staged-item__actions{display:flex;gap:.3rem;flex-wrap:wrap}.tkc-project-existing-media__item{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:.75rem;align-items:start;margin:.6rem 0;padding:.75rem;border:1px solid currentColor;border-radius:.45rem}@media(max-width:700px){.tkc-project-staged-item,.tkc-project-existing-media__item{grid-template-columns:1fr}.tkc-project-staged-item__fields{grid-template-columns:1fr}}
