


/* ═══════════════════════════════════════════
   COURSE ADMIN (yb-admin-)
   ═══════════════════════════════════════════ */

.yb-admin { min-height: 80vh; }

/* Header */
.yb-admin__header { margin-bottom: 2rem; }

/* Tab panels — only show the active one */
.yb-admin__tab-panel { display: none; }
.yb-admin__tab-panel.is-active { display: block; }

/* Section divider */
.yb-admin__section-divider {
  height: 1px; background: #E8E4E0; margin: 2rem 0;
}

/* Breadcrumb */
.yb-admin__breadcrumb { display: flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; margin-bottom: 1.5rem; }
.yb-admin__bc-link { color: #6F6A66; cursor: pointer; transition: color 0.15s; }
.yb-admin__bc-link:hover { color: #f75c03; }
.yb-admin__bc-link:last-child { color: #0F0F0F; font-weight: 600; }
.yb-admin__bc-sep { color: #E8E4E0; margin: 0 0.15rem; }

/* View heads */
.yb-admin__view-head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.yb-admin__view-head h2 { font-size: 1.25rem; font-weight: 700; color: #0F0F0F; margin: 0; flex: 1; }
.yb-admin__view-head-btns { display: flex; gap: 0.5rem; }

.yb-admin__back-btn {
  background: none; border: 1px solid #E8E4E0; border-radius: 8px;
  padding: 0.35rem 0.75rem; cursor: pointer; font-family: inherit;
  font-size: 0.8rem; color: #6F6A66; transition: border-color 0.15s, color 0.15s;
}
.yb-admin__back-btn:hover { border-color: #f75c03; color: #f75c03; }

/* Cards grid */
.yb-admin__card-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.yb-admin__card {
  display: flex; align-items: center; gap: 1rem;
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 1rem 1.25rem; transition: border-color 0.15s;
}
.yb-admin__card:hover { border-color: #f75c03; }
.yb-admin__card-icon { font-size: 1.5rem; flex-shrink: 0; }
.yb-admin__card-body { flex: 1; min-width: 0; }
.yb-admin__card-body h3 { font-size: 1rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.2rem; }
.yb-admin__card-body p { font-size: 0.85rem; color: #6F6A66; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yb-admin__card-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* Badges */
.yb-admin__badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600; background: #F5F3F0; color: #6F6A66;
}
.yb-admin__badge--ok { background: #dcfce7; color: #166534; }
.yb-admin__badge--muted { background: #F5F3F0; color: #6F6A66; }

/* Icon buttons */
.yb-admin__icon-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid #E8E4E0;
  background: #FFFCF9; cursor: pointer; font-size: 1rem; display: flex;
  align-items: center; justify-content: center; color: #6F6A66; transition: all 0.15s;
}
.yb-admin__icon-btn:hover { border-color: #f75c03; color: #f75c03; }
.yb-admin__icon-btn--danger:hover { border-color: #dc2626; color: #dc2626; }

/* Inline spinner (for import buttons) */
.yb-admin__spinner-sm {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: yb-spin 0.6s linear infinite;
  vertical-align: middle;
}
.yb-btn--outline .yb-admin__spinner-sm {
  border-color: rgba(247,92,3,0.3); border-top-color: #f75c03;
}
@keyframes yb-spin { to { transform: rotate(360deg); } }

/* Small buttons */
.yb-admin__sm-btn {
  padding: 0.25rem 0.5rem; border-radius: 6px; border: 1px solid #E8E4E0;
  background: #FFFCF9; cursor: pointer; font-size: 0.8rem; font-family: inherit;
  color: #6F6A66; transition: all 0.15s;
}
.yb-admin__sm-btn:hover { border-color: #f75c03; color: #f75c03; }
.yb-admin__sm-btn--danger:hover { border-color: #dc2626; color: #dc2626; }
.yb-admin__sm-btn:disabled { opacity: 0.3; cursor: default; }

/* Item list (modules/chapters) */
.yb-admin__item-list { display: flex; flex-direction: column; gap: 0.5rem; }
.yb-admin__item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; background: #FFFCF9; border: 1px solid #E8E4E0;
  border-radius: 10px; transition: border-color 0.15s;
}
.yb-admin__item:hover { border-color: #f75c03; }
.yb-admin__item-order {
  width: 28px; height: 28px; border-radius: 50%; background: #F5F3F0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #6F6A66; flex-shrink: 0;
}
.yb-admin__item-icon { font-size: 1.25rem; flex-shrink: 0; }
.yb-admin__item-body { flex: 1; min-width: 0; }
.yb-admin__item-body strong { display: block; font-size: 0.9rem; color: #0F0F0F; }
.yb-admin__item-body small { display: block; font-size: 0.8rem; color: #6F6A66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yb-admin__item-actions { display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }

/* Forms */
.yb-admin__form { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; }
.yb-admin__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.yb-admin__field { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.yb-admin__field label { font-size: 0.8rem; font-weight: 600; color: #6F6A66; }
.yb-admin__field input,
.yb-admin__field textarea {
  padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  transition: box-shadow 0.15s;
}
.yb-admin__field input:focus,
.yb-admin__field textarea:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__field select,
.yb-admin__select {
  padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  transition: box-shadow 0.15s; cursor: pointer;
  max-width: 100%; text-overflow: ellipsis;
}
.yb-admin__field select:focus,
.yb-admin__select:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__form-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

/* ── Bulk Role Change Modal ── */
.yb-bulk-role-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  animation: ybBulkFadeIn 0.2s ease;
}
@keyframes ybBulkFadeIn { from { opacity: 0; } to { opacity: 1; } }
.yb-bulk-role-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.yb-bulk-role-modal__box {
  position: relative; z-index: 1;
  background: #fff; border-radius: 16px;
  width: 90%; max-width: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}
.yb-bulk-role-modal__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--yb-border, #E8E4E0);
  position: relative;
}
.yb-bulk-role-modal__title {
  font-size: 1.05rem; font-weight: 700;
  margin: 0; color: #0F0F0F;
}
.yb-bulk-role-modal__count {
  font-size: 0.8rem; color: var(--yb-muted, #6F6A66);
  margin-top: 0.2rem; display: block;
}
.yb-bulk-role-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: #6F6A66; line-height: 1;
  padding: 0.25rem; transition: color 0.2s;
}
.yb-bulk-role-modal__close:hover { color: #0F0F0F; }
.yb-bulk-role-modal__body {
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.yb-bulk-role-modal__fields {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--yb-light-bg, #F5F3F0);
  border-radius: 10px; border: 1px solid var(--yb-border, #E8E4E0);
}
.yb-bulk-role-modal__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--yb-border, #E8E4E0);
  display: flex; justify-content: flex-end;
}

/* Empty state */
.yb-admin__empty { color: #6F6A66; font-size: 0.9rem; text-align: center; padding: 2rem; }

/* Editor label */
.yb-admin__field-label { font-size: 0.8rem; font-weight: 600; color: #6F6A66; margin-top: 0.5rem; }

/* Editor + Preview split */
.yb-admin__editor-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #E8E4E0; border-radius: 12px; overflow: hidden; min-height: 400px; }
.yb-admin__editor-panel { display: flex; flex-direction: column; }
.yb-admin__editor-textarea {
  width: 100%; height: 100%; min-height: 380px; padding: 1rem; border: none;
  font-family: 'Courier New', monospace; font-size: 0.85rem; outline: none;
  resize: vertical; background: #FFFCF9;
}
.yb-admin__preview-panel { border-left: 1px solid #E8E4E0; background: #FFFCF9; overflow-y: auto; }
.yb-admin__preview-label {
  padding: 0.4rem 1rem; background: #F5F3F0; font-size: 0.75rem;
  font-weight: 600; color: #6F6A66; border-bottom: 1px solid #E8E4E0;
}
.yb-admin__preview-body { padding: 1rem; }

/* Bulk import */
.yb-admin__bulk-textarea {
  width: 100%; padding: 1rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  resize: vertical; min-height: 200px;
}
.yb-admin__bulk-textarea:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__bulk-options { display: flex; gap: 2rem; margin: 1rem 0; flex-wrap: wrap; }
.yb-admin__bulk-opt { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.yb-admin__bulk-opt strong { color: #0F0F0F; }
.yb-admin__bulk-opt label { display: flex; align-items: center; gap: 0.3rem; color: #6F6A66; cursor: pointer; }
.yb-admin__bulk-count { font-size: 1rem; font-weight: 700; color: #0F0F0F; margin-bottom: 1rem; }

.yb-admin__bulk-cards { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.yb-admin__bulk-card {
  border: 1px solid #E8E4E0; border-radius: 10px; padding: 0.75rem 1rem;
  background: #FFFCF9; transition: border-color 0.15s;
}
.yb-admin__bulk-card:hover { border-color: #f75c03; }
.yb-admin__bulk-card-head { display: flex; align-items: center; gap: 0.5rem; }
.yb-admin__bulk-card-num {
  width: 24px; height: 24px; border-radius: 50%; background: #f75c03; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.yb-admin__bulk-card-title {
  flex: 1; border: 1px solid #E8E4E0; border-radius: 6px; padding: 0.3rem 0.5rem;
  font-family: inherit; font-size: 0.85rem; font-weight: 600; outline: none;
}
.yb-admin__bulk-card-title:focus { border-color: #f75c03; }
.yb-admin__bulk-card-preview { font-size: 0.8rem; color: #6F6A66; margin-top: 0.35rem; line-height: 1.4; }
.yb-admin__bulk-actions { display: flex; gap: 0.75rem; }

/* Progress bar */
.yb-admin__progress-bar { height: 6px; background: #E8E4E0; border-radius: 3px; overflow: hidden; margin-bottom: 0.75rem; }
.yb-admin__progress-fill { height: 100%; background: #f75c03; border-radius: 3px; width: 0; transition: width 0.4s ease; }

/* Toast */
.yb-admin__toast {
  position: fixed; bottom: 2rem; right: 2rem; padding: 0.75rem 1.25rem;
  background: #0F0F0F; color: white; border-radius: 10px; font-size: 0.9rem;
  font-weight: 600; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.yb-admin__toast--error { background: #dc2626; }

/* Knowledge Base Admin */
.yb-kb__brand-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid #E8E4E0; padding-bottom: 0.75rem;
}
.yb-kb__brand-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border: 1px solid #E8E4E0; border-radius: 8px;
  background: white; cursor: pointer; font-family: inherit; font-size: 0.85rem;
  font-weight: 600; color: #6F6A66; transition: all 0.2s;
}
.yb-kb__brand-tab:hover { border-color: #0F0F0F; color: #0F0F0F; }
.yb-kb__brand-tab.is-active { border-color: #0F0F0F; color: #0F0F0F; background: #F5F3F0; }
.yb-kb__brand-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.yb-kb__toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.yb-kb__toolbar h2 { margin: 0; font-size: 1.1rem; }
.yb-kb__toolbar div { display: flex; gap: 0.5rem; }
.yb-kb__sections { display: flex; flex-direction: column; gap: 0.75rem; }
.yb-kb__card {
  border: 1px solid #E8E4E0; border-radius: 12px; padding: 1rem 1.25rem;
  background: white; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.yb-kb__card:hover { border-color: #f75c03; box-shadow: 0 2px 8px rgba(247,92,3,0.08); }
.yb-kb__card-header { margin-bottom: 0.5rem; }
.yb-kb__card-title-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.yb-kb__card-key {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: #6F6A66; background: #F5F3F0; padding: 2px 8px; border-radius: 4px;
}
.yb-kb__card-title { font-size: 1rem; font-weight: 700; margin: 0; }
.yb-kb__card-preview { font-size: 0.82rem; color: #6F6A66; margin: 0 0 0.75rem; line-height: 1.4; }
.yb-kb__card-footer { display: flex; align-items: center; justify-content: space-between; }
.yb-kb__card-meta { font-size: 0.72rem; color: #999; }
.yb-kb__status { font-size: 0.7rem; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.yb-kb__status--active { background: #DCFCE7; color: #166534; }
.yb-kb__status--inactive { background: #FEE2E2; color: #991B1B; }
.yb-kb__editor { padding: 0.5rem 0; }
.yb-kb__editor-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.yb-kb__editor-header h3 { margin: 0; font-size: 1.1rem; }
.yb-kb__textarea {
  width: 100%; min-height: 300px; padding: 1rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: 0.85rem; line-height: 1.6;
  resize: vertical; outline: none;
}
.yb-kb__textarea:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-kb__editor-actions { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.yb-kb__delete-btn { color: #dc2626 !important; margin-left: auto; }

/* ── Email Lists Admin (yb-el__) ─────────────────────────────────── */
.yb-el__toolbar { margin-bottom: 0; }
.yb-el__stats { margin-bottom: 1.5rem; }
.yb-el__view[hidden] { display: none; }
.yb-el__tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px;
  background: #F5F3F0; color: #6F6A66; border: 1px solid #E8E4E0; margin-right: 4px;
}
.yb-el__status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.yb-el__status--active { background: #E8F5E9; color: #2E7D32; }
.yb-el__status--unsub { background: #FFF3E0; color: #E65100; }
.yb-el__status--bounced { background: #FFEBEE; color: #C62828; }
.yb-el__detail-header {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.yb-el__detail-header h3 { flex: 1; margin: 0; }
.yb-el__detail-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.yb-el__list-stats { margin-bottom: 1rem; }
.yb-el__filter-bar {
  display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap;
}
.yb-el__filter-bar .yb-admin__search { flex: 1; min-width: 200px; }
.yb-el__filter-bar .yb-admin__select { min-width: 150px; }
.yb-el__drop-zone {
  border: 2px dashed #E8E4E0; border-radius: 12px; padding: 2rem; text-align: center;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.yb-el__drop-zone:hover, .yb-el__drop-zone--active {
  border-color: #f75c03; background: rgba(247,92,3,0.03);
}
.yb-el__drop-zone p { margin: 8px 0 0; color: #6F6A66; }
.yb-el__progress-bar {
  height: 8px; background: #E8E4E0; border-radius: 4px; overflow: hidden;
}
.yb-el__progress-fill {
  height: 100%; background: #f75c03; border-radius: 4px; transition: width 0.3s ease;
  width: 0;
}
.yb-btn--xs {
  padding: 3px 10px; font-size: 12px; border-radius: 6px;
}

/* Campaign wizard: list cards */
.yb-lead__campaign-lists-section { margin-bottom: 12px; }
.yb-lead__campaign-lists-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px;
}
.yb-lead__campaign-list-card {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  border: 1px solid #E8E4E0; border-radius: 10px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.yb-lead__campaign-list-card:hover { border-color: #f75c03; }
.yb-lead__campaign-list-card.is-selected {
  border-color: #f75c03; background: rgba(247,92,3,0.04);
}
.yb-lead__campaign-list-card input[type="checkbox"] { margin-top: 3px; accent-color: #f75c03; }
.yb-lead__campaign-list-info { display: flex; flex-direction: column; gap: 2px; }
.yb-lead__campaign-list-info strong { font-size: 13px; }
.yb-lead__campaign-lists-summary {
  margin-top: 8px; padding: 8px 12px; background: #E8F5E9; border-radius: 8px;
  font-size: 13px; color: #2E7D32;
}

/* Campaign Management sub-nav */
.yb-el__subnav {
  display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 2px solid #E8E4E0;
}
.yb-el__subnav-btn {
  padding: 10px 20px; border: none; background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: #6F6A66; font-family: inherit;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
}
.yb-el__subnav-btn:hover { color: #0F0F0F; }
.yb-el__subnav-btn.is-active { color: #f75c03; border-bottom-color: #f75c03; }
.yb-el__section[hidden] { display: none; }

/* Campaign timeline chart */
.yb-el__timeline-chart {
  display: flex; align-items: flex-end; gap: 4px; height: 120px; padding: 0 4px;
  border-bottom: 1px solid #E8E4E0;
}
.yb-el__timeline-day {
  flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 28px;
}
.yb-el__timeline-bars {
  display: flex; gap: 2px; align-items: flex-end; width: 100%; height: 100px;
  justify-content: center;
}
.yb-el__timeline-bar {
  width: 8px; min-height: 2px; border-radius: 2px 2px 0 0; transition: height 0.3s ease;
}
.yb-el__timeline-bar--open { background: #f75c03; }
.yb-el__timeline-bar--click { background: #3949ab; }
.yb-el__timeline-label { font-size: 10px; color: #6F6A66; margin-top: 4px; }

/* Enrollment */
.yb-admin__enroll-form { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.yb-admin__enroll-form input {
  flex: 1; padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none;
}
.yb-admin__enroll-form input:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__enroll-row {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0;
  border-bottom: 1px solid #E8E4E0; font-size: 0.85rem;
}
.yb-admin__enroll-row span:first-child { flex: 1; color: #0F0F0F; font-family: monospace; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
  .yb-admin__form-row { grid-template-columns: 1fr; }
  .yb-admin__editor-wrap { grid-template-columns: 1fr; }
  .yb-admin__preview-panel { border-left: none; border-top: 1px solid #E8E4E0; min-height: 200px; }
  .yb-admin__item { flex-wrap: wrap; }
  .yb-admin__item-actions { width: 100%; justify-content: flex-end; }
  .yb-admin__bulk-options { flex-direction: column; gap: 0.75rem; }
}

/* ═══════════════════════════════════════════
   COURSE VIEWER (yb-cv-)
   ═══════════════════════════════════════════ */

/* Hidden attribute override — must beat display:flex set on state elements */
.yb-cv [hidden] { display: none !important; }

/* Wrapper — block container, only one child visible at a time */
.yb-cv { min-height: 100vh; background: #FFFCF9; position: relative; }

/* Gate (login/enrollment wall) */
.yb-cv-gate {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 80px); padding: 2rem;
}
.yb-cv-gate__inner { width: 100%; max-width: 440px; }
.yb-cv-gate__card {
  background: #fff; border: 1px solid #E8E4E0; border-radius: 16px;
  padding: 3rem 2.5rem; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.yb-cv-gate__icon { margin-bottom: 1.5rem; opacity: 0.45; }
.yb-cv-gate__title { font-size: 1.4rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.75rem; }
.yb-cv-gate__text { color: #6F6A66; margin: 0 0 1.75rem; line-height: 1.6; }

/* Loading */
.yb-cv-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - 80px); color: #6F6A66; gap: 1rem;
}
.yb-cv-loading__spinner {
  width: 32px; height: 32px; border: 3px solid #E8E4E0;
  border-top-color: #f75c03; border-radius: 50%;
  animation: yb-cv-spin 0.7s linear infinite;
}
@keyframes yb-cv-spin { to { transform: rotate(360deg); } }
.yb-cv-loading__text { font-size: 0.9rem; }

/* Error page */
.yb-cv-error-page {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 80px); padding: 2rem;
}
.yb-cv-error-page__inner { text-align: center; }
.yb-cv-error-page__msg { color: #6F6A66; margin: 1.25rem 0 1.75rem; font-size: 1rem; }

/* Top Bar */
.yb-cv-topbar {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1.5rem; border-bottom: 1px solid #E8E4E0;
  background: #fff; position: sticky; top: 0; z-index: 20;
}
.yb-cv-topbar__back {
  display: flex; align-items: center; gap: 0.35rem;
  color: #f75c03; text-decoration: none; font-size: 0.85rem;
  font-weight: 600; white-space: nowrap; transition: opacity 0.15s;
}
.yb-cv-topbar__back:hover { opacity: 0.75; }
.yb-cv-topbar__title {
  flex: 1; font-size: 1.1rem; font-weight: 700; color: #0F0F0F;
  margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.yb-cv-topbar__actions { display: flex; gap: 0.25rem; }
.yb-cv-topbar__btn {
  width: 36px; height: 36px; border: none; background: transparent;
  border-radius: 8px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #6F6A66; transition: background 0.15s, color 0.15s;
}
.yb-cv-topbar__btn:hover { background: #F5F3F0; color: #0F0F0F; }

/* Search Panel */
.yb-cv-search {
  background: #fff; border-bottom: 1px solid #E8E4E0;
  padding: 0.75rem 1.5rem; position: sticky; top: 53px; z-index: 19;
}
.yb-cv-search__field {
  display: flex; align-items: center; gap: 0.5rem;
  background: #F5F3F0; border-radius: 10px; padding: 0.5rem 0.75rem;
}
.yb-cv-search__input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: inherit; font-size: 0.9rem; color: #0F0F0F;
}
.yb-cv-search__input::placeholder { color: #6F6A66; }
.yb-cv-search__close {
  border: none; background: transparent; cursor: pointer; color: #6F6A66;
  display: flex; align-items: center; padding: 0;
}
.yb-cv-search__close:hover { color: #0F0F0F; }
.yb-cv-search__results { margin-top: 0.75rem; max-height: 50vh; overflow-y: auto; }
.yb-cv-search__empty { color: #6F6A66; font-size: 0.85rem; text-align: center; padding: 1rem 0; }
.yb-cv-search__count { color: #6F6A66; font-size: 0.8rem; margin-bottom: 0.5rem; }
.yb-cv-search__result {
  display: block; width: 100%; text-align: left; border: none;
  background: transparent; padding: 0.65rem 0.75rem; border-radius: 8px;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.yb-cv-search__result:hover { background: #F5F3F0; }
.yb-cv-search__result-module { display: block; font-size: 0.7rem; color: #f75c03; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.yb-cv-search__result-title { display: block; font-size: 0.9rem; font-weight: 600; color: #0F0F0F; margin-top: 0.15rem; }
.yb-cv-search__result-snippet { display: block; font-size: 0.8rem; color: #6F6A66; margin-top: 0.25rem; line-height: 1.4; }
.yb-cv-search__result-snippet mark { background: rgba(247,92,3,0.15); color: #0F0F0F; border-radius: 2px; padding: 0 2px; }

/* Main Layout — sidebar + content */
.yb-cv-layout { display: flex; min-height: calc(100vh - 53px); }

/* Sidebar Overlay (mobile) */
.yb-cv-sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 30; opacity: 0; transition: opacity 0.25s;
}
.yb-cv-sidebar-overlay--visible { display: block; opacity: 1; }

/* Sidebar */
.yb-cv-sidebar {
  width: 280px; flex-shrink: 0; background: #F5F3F0;
  border-right: 1px solid #E8E4E0; display: flex; flex-direction: column;
  overflow-y: auto; position: sticky; top: 53px;
  height: calc(100vh - 53px);
}
.yb-cv-sidebar__header { padding: 1rem 1rem 0.75rem; }
.yb-cv-sidebar__progress { display: flex; align-items: center; gap: 0.75rem; }
.yb-cv-sidebar__progress-track {
  flex: 1; height: 6px; background: #E8E4E0; border-radius: 3px; overflow: hidden;
}
.yb-cv-sidebar__progress-bar {
  height: 100%; background: #f75c03; border-radius: 3px;
  transition: width 0.4s ease;
}
.yb-cv-sidebar__progress-text { font-size: 0.75rem; color: #6F6A66; white-space: nowrap; }
.yb-cv-sidebar__nav { flex: 1; overflow-y: auto; padding: 0.25rem 0; }
.yb-cv-sidebar__footer {
  padding: 0.75rem 1rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-sidebar__notes-btn {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  padding: 0.6rem 0.75rem; background: transparent; border: 1px solid #E8E4E0;
  border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 0.82rem;
  color: #6F6A66; transition: background 0.15s, color 0.15s;
}
.yb-cv-sidebar__notes-btn:hover { background: #FFFCF9; color: #0F0F0F; }

/* Sidebar — Module accordion */
.yb-cv-mod { border-bottom: 1px solid #E8E4E0; }
.yb-cv-mod__btn {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  padding: 0.75rem 1rem; background: transparent; border: none;
  cursor: pointer; font-family: inherit; text-align: left;
  transition: background 0.15s;
}
.yb-cv-mod__btn:hover { background: rgba(0,0,0,0.03); }
.yb-cv-mod__icon { font-size: 1rem; flex-shrink: 0; }
.yb-cv-mod__title { flex: 1; font-size: 0.85rem; font-weight: 600; color: #0F0F0F; }
.yb-cv-mod__count {
  font-size: 0.7rem; color: #6F6A66; background: #E8E4E0;
  padding: 0.1rem 0.45rem; border-radius: 10px;
}
.yb-cv-mod__arrow {
  color: #6F6A66; transition: transform 0.2s; flex-shrink: 0;
}
.yb-cv-mod--open .yb-cv-mod__arrow { transform: rotate(180deg); }
.yb-cv-mod__chapters { padding: 0 0 0.5rem; }
.yb-cv-mod__chapters-loading { font-size: 0.8rem; color: #6F6A66; padding: 0.5rem 1.5rem; }
.yb-cv-mod__empty { font-size: 0.8rem; color: #6F6A66; padding: 0.5rem 1.5rem; }

/* Sidebar — Chapter items */
.yb-cv-ch {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  padding: 0.45rem 1rem 0.45rem 1.5rem; background: transparent;
  border: none; cursor: pointer; font-family: inherit; text-align: left;
  font-size: 0.82rem; color: #6F6A66; transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.yb-cv-ch:hover { background: rgba(0,0,0,0.03); color: #0F0F0F; }
.yb-cv-ch--active { background: #FFFCF9; color: #f75c03; font-weight: 600; border-left-color: #f75c03; }
.yb-cv-ch--viewed { color: #0F0F0F; }
.yb-cv-ch--viewed .yb-cv-ch__check { color: #f75c03; }
.yb-cv-ch__check { width: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yb-cv-ch__num { font-size: 0.7rem; color: #6F6A66; }
.yb-cv-ch__title { flex: 1; line-height: 1.35; }

/* Content Area */
.yb-cv-content {
  flex: 1; overflow-y: auto; padding: 2.5rem 3rem;
  max-width: 820px; min-width: 0;
}

/* Chapter */
.yb-cv-chapter__header { margin-bottom: 2rem; }
.yb-cv-chapter__eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #f75c03; margin-bottom: 0.5rem;
}
.yb-cv-chapter__title { font-size: 2rem; font-weight: 700; color: #0F0F0F; margin: 0; line-height: 1.2; }

/* Chapter body — rich content styling */
.yb-cv-chapter__body { color: #0F0F0F; line-height: 1.75; font-size: 1rem; }
.yb-cv-chapter__body h2 {
  font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 1rem;
  padding-top: 1.5rem; border-top: 1px solid #E8E4E0; color: #0F0F0F;
}
.yb-cv-chapter__body h3 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.75rem; color: #0F0F0F; }
.yb-cv-chapter__body p { margin: 0 0 1.25rem; }
.yb-cv-chapter__body strong { color: #0F0F0F; font-weight: 700; }
.yb-cv-chapter__body em { color: #f75c03; }
.yb-cv-chapter__body ul, .yb-cv-chapter__body ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.yb-cv-chapter__body li { margin-bottom: 0.4rem; }
.yb-cv-chapter__body li::marker { color: #f75c03; }
.yb-cv-chapter__body blockquote {
  margin: 1.5rem 0; padding: 1.25rem 1.5rem;
  background: #F5F3F0; border-left: 4px solid #f75c03;
  border-radius: 0 10px 10px 0; color: #0F0F0F; font-style: italic;
}
.yb-cv-chapter__body blockquote p:last-child { margin-bottom: 0; }
.yb-cv-chapter__body a { color: #f75c03; text-decoration: underline; text-underline-offset: 2px; }
.yb-cv-chapter__body a:hover { opacity: 0.75; }
.yb-cv-chapter__body img {
  max-width: 100%; height: auto; border-radius: 12px;
  margin: 1.5rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.yb-cv-chapter__body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem;
}
.yb-cv-chapter__body th {
  background: #F5F3F0; padding: 0.6rem 0.75rem; text-align: left;
  font-weight: 700; border-bottom: 2px solid #E8E4E0;
}
.yb-cv-chapter__body td {
  padding: 0.6rem 0.75rem; border-bottom: 1px solid #E8E4E0;
}

/* Chapter Navigation */
.yb-cv-chapter-nav {
  display: flex; justify-content: space-between; align-items: stretch;
  gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-chapter-nav__btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; background: #F5F3F0; border: 1px solid #E8E4E0;
  border-radius: 10px; cursor: pointer; font-family: inherit;
  font-size: 0.85rem; color: #0F0F0F; max-width: 48%;
  transition: background 0.15s, border-color 0.15s;
}
.yb-cv-chapter-nav__btn:hover { background: #FFFCF9; border-color: #f75c03; }
.yb-cv-chapter-nav__btn--next { margin-left: auto; }

/* Comments Section */
.yb-cv-comments {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-comments__title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.1rem; font-weight: 700; color: #0F0F0F; margin: 0 0 1.25rem;
}
.yb-cv-comments__form { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; align-items: flex-start; }
.yb-cv-comments__input {
  flex: 1; padding: 0.7rem 1rem; border: 1px solid #E8E4E0;
  border-radius: 10px; font-family: inherit; font-size: 0.9rem;
  resize: vertical; outline: none; transition: border-color 0.15s;
}
.yb-cv-comments__input:focus { border-color: #f75c03; }
.yb-cv-comments__empty { color: #6F6A66; font-size: 0.85rem; font-style: italic; }
.yb-cv-comments__list { display: flex; flex-direction: column; gap: 1rem; }

/* Single Comment */
.yb-cv-comment { display: flex; gap: 0.75rem; }
.yb-cv-comment__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #F5F3F0; color: #6F6A66; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.yb-cv-comment--own .yb-cv-comment__avatar { background: #f75c03; color: #fff; }
.yb-cv-comment__body { flex: 1; min-width: 0; }
.yb-cv-comment__meta { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.25rem; }
.yb-cv-comment__name { font-size: 0.85rem; font-weight: 700; color: #0F0F0F; }
.yb-cv-comment__date { font-size: 0.72rem; color: #6F6A66; }
.yb-cv-comment__text { font-size: 0.9rem; color: #0F0F0F; line-height: 1.5; margin: 0; }
.yb-cv-comment__delete {
  background: none; border: none; cursor: pointer;
  font-size: 0.72rem; color: #6F6A66; padding: 0; margin-top: 0.35rem;
  font-family: inherit; transition: color 0.15s;
}
.yb-cv-comment__delete:hover { color: #dc2626; }

/* My Comments View */
.yb-cv-my-comments { padding: 0; }
.yb-cv-my-comments__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.yb-cv-my-comments__title { font-size: 1.4rem; font-weight: 700; color: #0F0F0F; margin: 0; }
.yb-cv-my-comments__loading { color: #6F6A66; font-size: 0.85rem; text-align: center; padding: 2rem; }
.yb-cv-my-comments__empty { color: #6F6A66; font-size: 0.85rem; font-style: italic; text-align: center; padding: 2rem; }
.yb-cv-my-comments__list { display: flex; flex-direction: column; gap: 0.75rem; }

.yb-cv-my-comment {
  padding: 1rem 1.25rem; background: #F5F3F0; border-radius: 10px;
}
.yb-cv-my-comment__location { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; margin-bottom: 0.5rem; }
.yb-cv-my-comment__module { color: #6F6A66; }
.yb-cv-my-comment__sep { color: #E8E4E0; }
.yb-cv-my-comment__chapter {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.75rem; color: #f75c03;
  font-weight: 600; padding: 0; text-decoration: underline;
  text-underline-offset: 2px;
}
.yb-cv-my-comment__text { font-size: 0.9rem; color: #0F0F0F; line-height: 1.5; margin: 0 0 0.5rem; }
.yb-cv-my-comment__date { font-size: 0.72rem; color: #6F6A66; }

/* Responsive — Course Viewer */
@media (max-width: 900px) {
  .yb-cv-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: 280px;
    z-index: 31; transform: translateX(-100%);
    transition: transform 0.25s ease; height: 100vh;
  }
  .yb-cv-sidebar--open { transform: translateX(0); }
  .yb-cv-topbar__btn--sidebar { display: flex; }
  .yb-cv-content { padding: 1.5rem 1.25rem; }
  .yb-cv-chapter__title { font-size: 1.5rem; }
  .yb-cv-chapter-nav { flex-direction: column; }
  .yb-cv-chapter-nav__btn { max-width: 100%; }
  .yb-cv-comments__form { flex-direction: column; }
}
@media (min-width: 901px) {
  .yb-cv-topbar__btn--sidebar { display: none; }
  .yb-cv-sidebar-overlay { display: none !important; }
}

/* ── Completion Celebration ── */
.yb-cv-completion {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; animation: yb-cv-fadeIn 0.3s ease;
}
.yb-cv-completion__inner {
  background: #fff; border-radius: 20px; padding: 3rem 2.5rem;
  text-align: center; max-width: 440px; width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  animation: yb-cv-scaleIn 0.35s ease;
}
.yb-cv-completion__icon { font-size: 4rem; margin-bottom: 1rem; }
.yb-cv-completion__title { font-size: 1.8rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.75rem; }
.yb-cv-completion__text { color: #6F6A66; margin: 0 0 2rem; line-height: 1.6; }
@keyframes yb-cv-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes yb-cv-scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── Font Size Popover ── */
.yb-cv-fontsize {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: #fff; border-bottom: 1px solid #E8E4E0;
}
.yb-cv-fontsize__label { font-size: 0.8rem; color: #6F6A66; margin-right: 0.25rem; }
.yb-cv-fontsize__btn {
  width: 36px; height: 36px; border: 1px solid #E8E4E0; background: #fff;
  border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 0.9rem;
  font-weight: 600; color: #6F6A66; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.yb-cv-fontsize__btn small { font-size: 0.65em; }
.yb-cv-fontsize__btn:hover { border-color: #f75c03; color: #f75c03; }
.yb-cv-fontsize__btn--active { border-color: #f75c03; background: #f75c03; color: #fff; }
.yb-cv-fontsize__btn--active:hover { background: #d94f02; }

/* Font size classes on chapter body */
.yb-cv-chapter__body--small { font-size: 0.9rem; }
.yb-cv-chapter__body--medium { font-size: 1rem; }
.yb-cv-chapter__body--large { font-size: 1.15rem; }

/* ── TOC Panel ── */
.yb-cv-toc {
  background: #fff; border-bottom: 1px solid #E8E4E0;
  padding: 1rem 1.5rem; max-height: 50vh; overflow-y: auto;
}
.yb-cv-toc__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.yb-cv-toc__title { font-size: 0.9rem; font-weight: 700; color: #0F0F0F; margin: 0; }
.yb-cv-toc__close {
  border: none; background: transparent; cursor: pointer; color: #6F6A66;
  display: flex; align-items: center; padding: 0;
}
.yb-cv-toc__close:hover { color: #0F0F0F; }
.yb-cv-toc__list { display: flex; flex-direction: column; gap: 0.15rem; }
.yb-cv-toc__item {
  display: block; width: 100%; text-align: left; border: none;
  background: transparent; padding: 0.4rem 0.6rem; border-radius: 6px;
  cursor: pointer; font-family: inherit; font-size: 0.85rem;
  color: #0F0F0F; transition: background 0.15s; line-height: 1.35;
}
.yb-cv-toc__item:hover { background: #F5F3F0; }
.yb-cv-toc__item--h3 { padding-left: 1.5rem; font-size: 0.8rem; color: #6F6A66; }
.yb-cv-toc__empty { color: #6F6A66; font-size: 0.85rem; font-style: italic; padding: 0.5rem 0; }

/* ── Chapter Breadcrumb ── */
.yb-cv-chapter__breadcrumb {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; color: #6F6A66; margin-bottom: 1rem;
}
.yb-cv-chapter__breadcrumb span { color: #6F6A66; }
.yb-cv-chapter__breadcrumb .yb-cv-bc-link {
  color: #f75c03; cursor: pointer; text-decoration: none;
  transition: opacity 0.15s;
}
.yb-cv-chapter__breadcrumb .yb-cv-bc-link:hover { opacity: 0.7; }

/* ── Chapter Meta (reading time) ── */
.yb-cv-chapter__meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 0.5rem; font-size: 0.8rem; color: #6F6A66;
}
.yb-cv-chapter__reading-time {
  display: flex; align-items: center; gap: 0.3rem;
}

/* ── Mark Complete ── */
.yb-cv-mark-complete {
  margin: 2.5rem 0 0; padding: 1.25rem;
  background: #F5F3F0; border-radius: 12px;
}
.yb-cv-mark-complete__label {
  display: flex; align-items: center; gap: 0.75rem;
  cursor: pointer; font-size: 0.95rem; font-weight: 600; color: #0F0F0F;
  user-select: none;
}
.yb-cv-mark-complete__checkbox { display: none; }
.yb-cv-mark-complete__check {
  width: 24px; height: 24px; border-radius: 6px;
  border: 2px solid #E8E4E0; background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s;
}
.yb-cv-mark-complete__checkbox:checked + .yb-cv-mark-complete__check {
  border-color: #f75c03; background: #f75c03;
}
.yb-cv-mark-complete__checkbox:checked + .yb-cv-mark-complete__check::after {
  content: ''; display: block; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg); margin-top: -2px;
}
.yb-cv-mark-complete__text { transition: color 0.2s; }
.yb-cv-mark-complete__checkbox:checked ~ .yb-cv-mark-complete__text { color: #f75c03; }

/* ── Personal Notes ── */
.yb-cv-notes {
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-notes__title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.75rem;
}
.yb-cv-notes__input {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid #E8E4E0;
  border-radius: 10px; font-family: inherit; font-size: 0.9rem;
  resize: vertical; outline: none; transition: border-color 0.15s;
  background: #FFFCF9; min-height: 80px;
}
.yb-cv-notes__input:focus { border-color: #f75c03; }
.yb-cv-notes__actions {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem;
}
.yb-cv-notes__status { font-size: 0.8rem; color: #f75c03; font-weight: 600; }

/* ── Sidebar Hint ── */
.yb-cv-sidebar__hint {
  font-size: 0.7rem; color: #6F6A66; margin: 0.5rem 0 0; text-align: center;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════
   ADMIN NEW FEATURES
   ═══════════════════════════════════════════ */

/* ── Analytics Stats Grid ── */
.yb-admin__stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 2rem;
}
.yb-admin__stat-card {
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 1.25rem; text-align: center; transition: border-color 0.15s;
}
.yb-admin__stat-card:hover { border-color: #f75c03; }
.yb-admin__stat-value {
  font-size: 2rem; font-weight: 700; color: #f75c03; margin: 0;
  line-height: 1.2;
}
.yb-admin__stat-label {
  font-size: 0.8rem; color: #6F6A66; margin-top: 0.25rem;
}

/* ── Analytics Per-Course ── */
.yb-admin__analytics-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid #E8E4E0;
}
.yb-admin__analytics-row:last-child { border-bottom: none; }
.yb-admin__analytics-icon { font-size: 1.25rem; flex-shrink: 0; }
.yb-admin__analytics-name { flex: 1; font-weight: 600; font-size: 0.9rem; color: #0F0F0F; }
.yb-admin__analytics-stat {
  font-size: 0.8rem; color: #6F6A66; text-align: right; min-width: 80px;
}
.yb-admin__analytics-bar {
  width: 80px; height: 6px; background: #E8E4E0; border-radius: 3px;
  overflow: hidden; flex-shrink: 0;
}
.yb-admin__analytics-fill {
  height: 100%; background: #f75c03; border-radius: 3px;
  transition: width 0.4s ease;
}

/* ── Student Progress ── */
.yb-admin__student-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid #E8E4E0; font-size: 0.85rem;
}
.yb-admin__student-row:last-child { border-bottom: none; }
.yb-admin__student-name { flex: 1; font-weight: 600; color: #0F0F0F; min-width: 0; }
.yb-admin__student-name small { display: block; font-weight: 400; color: #6F6A66; font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-admin__student-bar {
  width: 100px; height: 6px; background: #E8E4E0; border-radius: 3px;
  overflow: hidden; flex-shrink: 0;
}
.yb-admin__student-fill {
  height: 100%; background: #f75c03; border-radius: 3px;
}
.yb-admin__student-stat { font-size: 0.78rem; color: #6F6A66; white-space: nowrap; }
.yb-admin__student-date { font-size: 0.72rem; color: #6F6A66; white-space: nowrap; }

/* ── Rich Text Toolbar ── */
.yb-admin__toolbar {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  padding: 0.5rem; background: #F5F3F0; border: 1px solid #E8E4E0;
  border-bottom: none; border-radius: 12px 12px 0 0;
}
.yb-admin__toolbar-btn {
  width: 32px; height: 32px; border: 1px solid transparent;
  background: transparent; border-radius: 6px; cursor: pointer;
  font-family: inherit; font-size: 0.8rem; font-weight: 700;
  color: #6F6A66; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.yb-admin__toolbar-btn:hover { background: #FFFCF9; border-color: #E8E4E0; color: #0F0F0F; }
.yb-admin__toolbar-sep { width: 1px; background: #E8E4E0; margin: 0 0.15rem; }

/* Adjust textarea when toolbar is present */
.yb-admin__editor-textarea--with-toolbar {
  border-radius: 0 0 12px 12px;
}

/* ── Word Count ── */
.yb-admin__word-count {
  display: block; font-size: 0.75rem; color: #6F6A66;
  text-align: right; margin-top: 0.35rem;
}

/* ── Status Badge in Course Cards ── */
.yb-admin__badge--draft { background: #fef3c7; color: #92400e; }
.yb-admin__badge--published { background: #dcfce7; color: #166534; }

/* ── Blog Tab (Decap CMS iframe) ── */
.yb-admin__blog-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; background: #F5F3F0; border-radius: 12px 12px 0 0;
  border: 1px solid #E8E4E0; border-bottom: none; gap: 1rem;
}
.yb-admin__blog-iframe {
  width: 100%; height: 70vh; border: 1px solid #E8E4E0; border-radius: 0 0 12px 12px;
  background: #FFFCF9;
}

/* ── Users Tab ── */
.yb-admin__user-toolbar {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.yb-admin__user-search {
  display: flex; gap: 0.5rem; flex: 1; min-width: 200px;
}
.yb-admin__user-search-input {
  flex: 1; padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  transition: box-shadow 0.15s;
}
.yb-admin__user-search-input:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }

/* ── User Avatar ── */
.yb-admin__user-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: #f75c03; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; flex-shrink: 0;
}

/* ── User Meta Grid (profile details) ── */
.yb-admin__user-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem;
  padding: 0.75rem 0 0; margin-top: 0.75rem; border-top: 1px solid #E8E4E0;
  width: 100%;
}
.yb-admin__user-meta-item { font-size: 0.8rem; color: #0F0F0F; }
.yb-admin__user-meta-label {
  display: block; font-weight: 600; color: #6F6A66; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}

/* ── Admin Table ── */
.yb-admin__table-wrap { overflow-x: auto; }
.yb-admin__table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.yb-admin__table th {
  text-align: left; padding: 0.6rem 0.75rem; font-size: 0.75rem;
  font-weight: 600; color: #6F6A66; text-transform: uppercase;
  letter-spacing: 0.03em; border-bottom: 2px solid #E8E4E0;
}
.yb-admin__table td {
  padding: 0.6rem 0.75rem; border-bottom: 1px solid #E8E4E0; color: #0F0F0F;
}
.yb-admin__table tbody tr { transition: background 0.12s; }
.yb-admin__table tbody tr:hover { background: #F5F3F0; }

/* ── Responsive for new components ── */
@media (max-width: 768px) {
  .yb-admin__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .yb-admin__student-row { flex-wrap: wrap; }
  .yb-admin__student-bar { width: 100%; }
  .yb-admin__toolbar { gap: 0.15rem; }
  .yb-admin__user-toolbar { flex-direction: column; }
  .yb-admin__user-search { width: 100%; }
  .yb-admin__user-meta { grid-template-columns: 1fr; }
  .yb-admin__table { font-size: 0.8rem; }
  .yb-admin__blog-iframe { height: 50vh; }
}
@media (max-width: 480px) {
  .yb-admin__stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   DOCUMENT BROWSER (Cloudinary file picker)
   ═══════════════════════════════════ */
.yb-doc-browser {
  margin-top: 0.5rem;
  border: 1px solid var(--yb-border, #E8E4E0);
  border-radius: 12px;
  background: var(--yb-warm-white, #FFFCF9);
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.yb-doc-browser__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.yb-doc-browser__bc-link {
  color: var(--yb-brand, #f75c03);
  text-decoration: none;
  cursor: pointer;
}
.yb-doc-browser__bc-link:hover { text-decoration: underline; }
.yb-doc-browser__bc-sep { color: var(--yb-border, #E8E4E0); margin: 0 0.1rem; }
.yb-doc-browser__bc-current { color: #0F0F0F; font-weight: 600; }
.yb-doc-browser__toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
}
.yb-doc-browser__search {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--yb-brand, #f75c03);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.8rem;
}
.yb-doc-browser__search:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.15);
}
.yb-doc-browser__upload-btn { cursor: pointer; white-space: nowrap; }
.yb-doc-browser__list {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.yb-doc-browser__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.85rem;
}
.yb-doc-browser__item:hover { background: var(--yb-light-bg, #F5F3F0); }
.yb-doc-browser__item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--yb-light-bg, #F5F3F0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.yb-doc-browser__item-icon--folder { color: var(--yb-brand, #f75c03); }
.yb-doc-browser__item-icon--file { color: var(--yb-muted, #6F6A66); }
.yb-doc-browser__item-body { flex: 1; min-width: 0; }
.yb-doc-browser__item-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yb-doc-browser__item-meta { font-size: 0.75rem; color: var(--yb-muted, #6F6A66); }
.yb-doc-browser__empty {
  text-align: center;
  padding: 1.5rem;
  color: var(--yb-muted, #6F6A66);
  font-size: 0.85rem;
}
.yb-doc-browser__upload-progress { margin-top: 0.5rem; }
.yb-doc-browser__progress-bar {
  height: 6px;
  background: var(--yb-border, #E8E4E0);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.yb-doc-browser__progress-fill {
  height: 100%;
  background: var(--yb-brand, #f75c03);
  border-radius: 3px;
  transition: width 0.2s;
  width: 0%;
}

/* ── Toggle switch (yb-toggle) ── */
.yb-toggle { display: inline-flex; align-items: center; cursor: pointer; gap: 0.5rem; user-select: none; }
.yb-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.yb-toggle__track {
  display: inline-block;
  width: 36px; height: 20px;
  background: var(--yb-border, #E8E4E0);
  border-radius: 20px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.yb-toggle__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.yb-toggle input:checked + .yb-toggle__track { background: var(--yb-brand, #f75c03); }
.yb-toggle input:checked + .yb-toggle__track::after { transform: translateX(16px); }
.yb-toggle--sm .yb-toggle__track { width: 30px; height: 17px; }
.yb-toggle--sm .yb-toggle__track::after { width: 11px; height: 11px; top: 3px; left: 3px; }
.yb-toggle--sm input:checked + .yb-toggle__track::after { transform: translateX(13px); }

/* ── Doc admin filter chips ── */
.yb-doc-filter-chip {
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  border: 1px solid var(--yb-border, #E8E4E0);
  background: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--yb-muted, #6F6A66);
  transition: all 0.15s;
  white-space: nowrap;
}
.yb-doc-filter-chip:hover { border-color: var(--yb-brand, #f75c03); color: var(--yb-brand, #f75c03); }
.yb-doc-filter-chip.is-active { background: var(--yb-brand, #f75c03); border-color: var(--yb-brand, #f75c03); color: #fff; }

/* ── Print styles ── */
@media print {
  .yb-cv-topbar, .yb-cv-sidebar, .yb-cv-sidebar-overlay,
  .yb-cv-search, .yb-cv-fontsize, .yb-cv-toc,
  .yb-cv-mark-complete, .yb-cv-notes, .yb-cv-chapter-nav,
  .yb-cv-comments, .yb-cv-my-comments, .yb-cv-completion,
  .yb-cv-sidebar__footer, .yb-cv-topbar__actions,
  .yb-cv-chapter__breadcrumb { display: none !important; }
  .yb-cv-viewer { display: block !important; }
  .yb-cv-layout { display: block !important; }
  .yb-cv-content { padding: 0 !important; max-width: 100% !important; }
  .yb-cv-chapter { display: block !important; }
  .yb-cv [hidden] { display: none !important; }
  .yb-cv-chapter__body { font-size: 11pt !important; line-height: 1.6 !important; }
  .yb-cv-chapter__title { font-size: 18pt !important; }
}

/* ═══════════════════════════════════════
   COURSE VIEWER — EMBEDDED MODE
   (inline within profile page)
   ═══════════════════════════════════════ */

.yb-cv--embedded {
  min-height: auto;
  background: transparent;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  overflow: hidden;
}

.yb-cv--embedded .yb-cv-gate {
  min-height: 240px;
}

.yb-cv--embedded .yb-cv-loading {
  min-height: 240px;
}

.yb-cv--embedded .yb-cv-error-page {
  min-height: 240px;
}

.yb-cv--embedded .yb-cv-completion {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(255, 252, 249, 0.95);
  border-radius: 16px;
}

.yb-cv--embedded .yb-cv-topbar {
  position: relative;
  top: auto;
  border-radius: 16px 16px 0 0;
}

.yb-cv--embedded .yb-cv-search {
  position: relative;
  top: auto;
}

.yb-cv--embedded .yb-cv-layout {
  min-height: 500px;
  max-height: none;
}

.yb-cv--embedded .yb-cv-sidebar {
  position: relative;
  top: auto;
  height: auto;
  max-height: none;
  min-height: 500px;
}

.yb-cv--embedded .yb-cv-content {
  min-height: 500px;
}

.yb-cv--embedded .yb-cv-fontsize {
  position: absolute;
  right: 1rem;
  top: 53px;
  z-index: 25;
}

.yb-cv--embedded .yb-cv-toc {
  position: absolute;
  right: 0;
  top: 53px;
  z-index: 25;
  max-height: 400px;
  border-radius: 0 0 0 12px;
  box-shadow: -2px 4px 12px rgba(0,0,0,0.08);
}

/* Embedded responsive */
@media (max-width: 768px) {
  .yb-cv--embedded .yb-cv-layout {
    min-height: 400px;
  }
  .yb-cv--embedded .yb-cv-sidebar {
    min-height: auto;
  }
  .yb-cv--embedded .yb-cv-topbar__title {
    font-size: 0.95rem;

  }
}

/* ========================================
   KONCEPTER PAGE (yb-k- prefix)
   Brand showcase — Hot Yoga CPH, Namasté, Vibro Yoga
   ======================================== */

/* ── Hero ── */
.yb-k-hero {
  position: relative;
  min-height: calc(100vh - 107px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1C1C1C;
  color: #FDFBF7;
  text-align: center;
  overflow: hidden;
}
.yb-k-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.yb-k-hero__bg video,
.yb-k-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yb-k-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.65) 0%, rgba(28, 28, 28, 0.75) 100%);
}
.yb-k-hero__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(247, 92, 3, 0.15) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: yb-hero-breathe 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.yb-k-hero .container {
  position: relative;
  z-index: 2;
}
.yb-k-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-bottom: 28px;
  color: #FDFBF7;
}
.yb-k-hero__tagline::before,
.yb-k-hero__tagline::after {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(253, 251, 247, 0.4);
}
.yb-k-hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FDFBF7 0%, #ff9966 50%, var(--yb-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.yb-k-hero__subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(253, 251, 247, 0.75);
  max-width: 720px;
  margin: 0 auto 0;
  line-height: 1.6;
}
.yb-k-hero__line {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: rgba(253, 251, 247, 0.1);
  margin: 40px auto 40px;
}
.yb-k-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(253, 251, 247, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.yb-k-hero__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yb-brand);
}
.yb-k-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 251, 247, 0.5);
  z-index: 2;
  animation: yb-hero-float 3s ease-in-out infinite;
}
.yb-k-hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(253, 251, 247, 0.6), transparent);
}

/* ── Intro ── */
.yb-k-intro {
  padding: 100px 20px;
  background: #fff;
}
.yb-k-intro__text {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: #333;
  text-align: center;
}
.yb-k-intro__text--secondary {
  color: #666;
  font-size: clamp(15px, 1.8vw, 18px);
}

/* ── Brand Hero Sections ── */
.yb-k-brand-hero {
  padding: 100px 20px;
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
  color: #FDFBF7;
}
.yb-k-brand-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.yb-k-brand-hero__badge {
  display: inline-block;
  background: var(--yb-brand);
  color: #fff;
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.yb-k-brand-hero__badge--hy {
  background: #3f99a5;
}
.yb-k-brand-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.yb-k-brand-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(253, 251, 247, 0.7);
  margin-bottom: 24px;
  font-weight: 700;
}
.yb-k-brand-hero__text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.8);
  margin-bottom: 16px;
}
.yb-k-brand-hero__image {
  display: flex;
  justify-content: center;
}
.yb-k-brand-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.yb-k-brand-hero__placeholder {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(253, 251, 247, 0.4);
  font-size: 18px;
  border: 1px dashed rgba(253, 251, 247, 0.15);
}
.yb-k-brand-hero__placeholder small {
  font-size: 12px;
  opacity: 0.6;
}
.yb-k-brand-hero__placeholder--hy {
  border-color: rgba(63, 153, 165, 0.3);
}

/* ── Stats Bar ── */
.yb-k-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
}
.yb-k-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.yb-k-stats__num {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--yb-brand);
}
.yb-k-stats--hy {
  border-top-color: rgba(63, 153, 165, 0.2);
}
.yb-k-stats__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(253, 251, 247, 0.55);
}

/* ── Split Section ── */
.yb-k-split {
  padding: 80px 20px;
  background: #f9f9f9;
}
.yb-k-split--hy {
  background: #f4fafb;
}
.yb-k-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.yb-k-split__inner--reverse {
  direction: rtl;
}
.yb-k-split__inner--reverse > * {
  direction: ltr;
}
.yb-k-split__media {
  border-radius: 16px;
  overflow: hidden;
}
.yb-k-split__media img {
  width: 100%;
  height: auto;
  display: block;
}
.yb-k-split__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #1C1C1C;
}
.yb-k-split__title--hy {
  color: #3f99a5;
}
.yb-k-split__text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* ── Features Grid ── */
.yb-k-features {
  padding: 100px 20px;
  background: #fff;
}
.yb-k-features--light {
  background: #F5F3F0;
}
.yb-k-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.yb-k-features__card {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  padding: 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yb-k-features__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.yb-k-features__card--hy {
  border-color: rgba(63, 153, 165, 0.2);
}
.yb-k-features__card--hy:hover {
  border-color: rgba(63, 153, 165, 0.4);
  box-shadow: 0 12px 32px rgba(63, 153, 165, 0.1);
}
.yb-k-features__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yb-brand), #ff9966);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.yb-k-features__icon--hy {
  background: linear-gradient(135deg, var(--yb-brand), #3f99a5);
}
.yb-k-features__card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C1C1C;
}
.yb-k-features__card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* ── Ritual Cards (HYC Innovations) ── */
.yb-k-ritual {
  padding: 100px 20px;
  background: #fff;
}
.yb-k-ritual__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.yb-k-ritual__card {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yb-k-ritual__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.yb-k-ritual__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.yb-k-ritual__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yb-k-ritual__img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  color: rgba(253, 251, 247, 0.35);
  font-size: 14px;
}
.yb-k-ritual__img-ph--hy {
  background: linear-gradient(135deg, #2c6a72 0%, #3f99a5 100%);
}
.yb-k-ritual__img-ph small {
  font-size: 11px;
  opacity: 0.5;
}
.yb-k-ritual__body {
  padding: 28px;
}
.yb-k-ritual__body h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C1C1C;
}
.yb-k-ritual__body p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* ── Bridge Section (Namasté Studios + Online) ── */
.yb-k-bridge {
  padding: 100px 20px;
  background: #F5F3F0;
}
.yb-k-bridge__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.yb-k-bridge__card {
  flex: 1;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yb-k-bridge__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.yb-k-bridge__logo {
  margin-bottom: 20px;
}
.yb-k-bridge__logo img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
}
.yb-k-bridge__logo-ph {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(253, 251, 247, 0.35);
  font-size: 13px;
  border: 1px dashed rgba(253, 251, 247, 0.12);
}
.yb-k-bridge__logo-ph small {
  font-size: 11px;
  opacity: 0.5;
}
.yb-k-bridge__card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C1C1C;
}
.yb-k-bridge__card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}
.yb-k-bridge__connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

/* ── 3-column features grid ── */
.yb-k-features__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Video Placeholder ── */
.yb-k-video {
  padding: 80px 20px;
  background: #F5F3F0;
}
.yb-k-video__wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.yb-k-video__wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0F0F0F;
}
.yb-k-video__wrap--hy .yb-k-video__placeholder {
  background: linear-gradient(135deg, #2c7a84 0%, #3f99a5 50%, #2c7a84 100%);
}
.yb-k-video__placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 50%, #1C1C1C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.yb-k-video__placeholder:hover {
  opacity: 0.9;
}
.yb-k-video__placeholder span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.yb-k-video__cta {
  text-align: center;
  margin-top: 32px;
}

/* Hot Yoga CPH specific button */
.yb-k-btn--hy {
  background: #3f99a5;
  border-color: #3f99a5;
  color: #fff;
}
.yb-k-btn--hy:hover {
  background: #358a95;
  border-color: #358a95;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63, 153, 165, 0.3);
}

/* ── Divider ── */
.yb-k-divider {
  padding: 0 20px;
  background: #fff;
}
.yb-k-divider__line {
  max-width: 200px;
  margin: 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yb-brand), transparent);
  border-radius: 2px;
}

/* ── Statement / Ambition Block ── */
.yb-k-statement {
  padding: 100px 20px;
  background: #F5F3F0;
}
.yb-k-statement--dark {
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
}
.yb-k-statement__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.yb-k-statement__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 24px;
  color: #1C1C1C;
}
.yb-k-statement__text {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: #555;
}

/* ── Image Band ── */
.yb-k-imageband {
  padding: 0;
}
.yb-k-imageband__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.yb-k-imageband__grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ── Sessions (dark bg — Vibro) ── */
.yb-k-sessions {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0F0F0F 0%, #1C1C1C 100%);
}
.yb-k-sessions__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 32px;
  margin-top: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--yb-brand) rgba(253, 251, 247, 0.1);
}
.yb-k-sessions__track::-webkit-scrollbar {
  height: 6px;
}
.yb-k-sessions__track::-webkit-scrollbar-track {
  background: rgba(253, 251, 247, 0.1);
  border-radius: 3px;
}
.yb-k-sessions__track::-webkit-scrollbar-thumb {
  background: var(--yb-brand);
  border-radius: 3px;
}
.yb-k-sessions__card {
  min-width: 280px;
  max-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(253, 251, 247, 0.04);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.yb-k-sessions__card:hover {
  border-color: rgba(247, 92, 3, 0.3);
  transform: translateY(-4px);
}
.yb-k-sessions__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--yb-brand);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}
.yb-k-sessions__card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #FDFBF7;
  margin-bottom: 12px;
}
.yb-k-sessions__card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.65);
}

/* ── Science section ── */
.yb-k-science {
  padding: 100px 20px;
  background: #fff;
}

/* ── Reviews Carousel ── */
.yb-k-reviews {
  padding: 100px 20px;
  background: #F5F3F0;
}
.yb-k-reviews__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 32px;
  margin-top: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--yb-brand) #E8E4E0;
}
.yb-k-reviews__track::-webkit-scrollbar {
  height: 6px;
}
.yb-k-reviews__track::-webkit-scrollbar-track {
  background: #E8E4E0;
  border-radius: 3px;
}
.yb-k-reviews__track::-webkit-scrollbar-thumb {
  background: var(--yb-brand);
  border-radius: 3px;
}
.yb-k-reviews__card {
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #FFFCF9;
  border: 1.5px solid var(--yb-brand);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.yb-k-reviews__stars {
  color: var(--yb-brand);
  font-size: 18px;
  letter-spacing: 2px;
}
.yb-k-reviews__text {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  flex: 1;
  font-style: italic;
}
.yb-k-reviews__author {
  font-size: 13px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── CTA ── */
.yb-k-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}
.yb-k-cta__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
}
.yb-k-cta__text {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  opacity: 0.92;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.yb-k-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .yb-k-hero {
    padding: 140px 16px 80px;
  }
  .yb-k-hero__stats {
    gap: 24px;
  }
  .yb-k-brand-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .yb-k-split__inner,
  .yb-k-split__inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .yb-k-features__grid,
  .yb-k-features__grid--3col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .yb-k-ritual__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .yb-k-bridge__grid {
    flex-direction: column;
  }
  .yb-k-bridge__connector {
    transform: rotate(90deg);
  }
  .yb-k-imageband__grid {
    grid-template-columns: 1fr;
  }
  .yb-k-imageband__grid .yb-k-brand-hero__placeholder {
    min-height: 200px !important;
  }
  .yb-k-stats {
    gap: 20px;
  }
  .yb-k-reviews__card {
    min-width: 280px;
    max-width: 320px;
  }
  .yb-k-cta {
    padding: 80px 16px;
  }
}

/* ========================================
   LINK IN BIO PAGE (yb-link)
   Variation A — Photo/Video Hero + Compact Links
   Mobile-first, vertical, on-brand
   ======================================== */

.yb-link {
  background: #0F0F0F;
  min-height: 100vh;
  position: relative;
}

/* ── Hero Media (image or video) ── */
.yb-link__media {
  display: none;
}
@media (max-width: 768px) {
  .yb-link__media {
    display: block;
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
  }
}

.yb-link__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-link__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 15, 0) 0%,
    rgba(15, 15, 15, 0.4) 60%,
    rgba(15, 15, 15, 1) 100%
  );
  pointer-events: none;
}

/* ── Container ── */
.yb-link__container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 60px;
  position: relative;
  z-index: 1;
  margin-top: -40px;
}

/* ── Hero / Brand ── */
.yb-link__hero {
  text-align: center;
  padding: 0 0 24px;
}

.yb-link__logo {
  display: block;
  margin: 0 auto 14px;
  width: 160px;
  height: auto;
}

.yb-link__social-proof {
  color: rgba(253, 251, 247, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Language Toggle ── */
.yb-link__lang {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.yb-link__lang-btn {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(253, 251, 247, 0.35);
  border: 1px solid rgba(253, 251, 247, 0.1);
  transition: all 0.2s ease;
}

.yb-link__lang-btn:hover {
  color: rgba(253, 251, 247, 0.7);
  border-color: rgba(253, 251, 247, 0.2);
}

.yb-link__lang-btn--active {
  color: var(--yb-brand);
  border-color: var(--yb-brand);
}

.yb-link__lang-btn--active:hover {
  color: var(--yb-brand);
  border-color: var(--yb-brand);
}

/* ── CTA Button (Apply) ── */
.yb-link__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  margin-bottom: 32px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.yb-link__cta:hover {
  background: #d94f02;
  transform: translateY(-1px);
}

.yb-link__cta:active {
  transform: translateY(0);
}

/* ── Section Labels ── */
.yb-link__section {
  margin-bottom: 28px;
}

.yb-link__section-label {
  color: var(--yb-brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 4px;
}

/* ── Link Items ── */
.yb-link__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.yb-link__item:hover {
  background: rgba(253, 251, 247, 0.09);
  border-color: rgba(247, 92, 3, 0.3);
  transform: translateY(-1px);
}

.yb-link__item:active {
  transform: translateY(0);
}

/* Training variant — slightly more prominent */
.yb-link__item--training {
  border-color: rgba(247, 92, 3, 0.15);
}

.yb-link__item--training:hover {
  border-color: rgba(247, 92, 3, 0.5);
}

/* Subtle variant — for secondary links like "compare" */
.yb-link__item--subtle {
  background: transparent;
  border-color: rgba(253, 251, 247, 0.06);
  padding: 10px 16px;
}

.yb-link__item--subtle:hover {
  background: rgba(253, 251, 247, 0.04);
}

.yb-link__item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.yb-link__item-title {
  color: #FDFBF7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.yb-link__item-sub {
  color: rgba(253, 251, 247, 0.45);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.yb-link__arrow {
  flex-shrink: 0;
  color: rgba(253, 251, 247, 0.25);
  transition: color 0.2s ease, transform 0.2s ease;
}

.yb-link__item:hover .yb-link__arrow {
  color: var(--yb-brand);
  transform: translateX(2px);
}

/* ── Badge (e.g. POPULÆR) ── */
.yb-link__badge {
  flex-shrink: 0;
  padding: 3px 10px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  line-height: 1.4;
}

/* ── Course Grid (3 columns) ── */
.yb-link__course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.yb-link__course-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.yb-link__course-card:hover {
  background: rgba(253, 251, 247, 0.09);
  border-color: rgba(247, 92, 3, 0.3);
  transform: translateY(-1px);
}

.yb-link__course-card:active {
  transform: translateY(0);
}

.yb-link__course-name {
  color: #FDFBF7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Explore Grid (2 columns) ── */
.yb-link__explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.yb-link__explore-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: transparent;
  border: 1px solid rgba(253, 251, 247, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(253, 251, 247, 0.6);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yb-link__explore-item:hover {
  color: #FDFBF7;
  border-color: rgba(253, 251, 247, 0.15);
  background: rgba(253, 251, 247, 0.03);
}

/* ── App Downloads Grid (2 columns) ── */
.yb-link__app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.yb-link__app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: #FDFBF7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.yb-link__app:hover {
  background: rgba(253, 251, 247, 0.09);
  border-color: rgba(247, 92, 3, 0.3);
}

.yb-link__app svg {
  flex-shrink: 0;
}

/* ── Contact Row ── */
.yb-link__contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.yb-link__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(253, 251, 247, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.yb-link__contact:hover {
  color: #FDFBF7;
  border-color: rgba(253, 251, 247, 0.2);
}

.yb-link__contact svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── SoundCloud Embed ── */
.yb-link__embed {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
}

.yb-link__embed iframe {
  display: block;
  border: 0;
}

/* ── Tagline ── */
.yb-link__tagline {
  text-align: center;
  color: rgba(253, 251, 247, 0.2);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 20px;
}

/* ── Share Button ── */
.yb-link__share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  margin-top: 8px;
  background: transparent;
  border: 1px dashed rgba(253, 251, 247, 0.15);
  border-radius: 12px;
  color: rgba(253, 251, 247, 0.4);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yb-link__share:hover {
  color: rgba(253, 251, 247, 0.7);
  border-color: rgba(253, 251, 247, 0.25);
  background: rgba(253, 251, 247, 0.03);
}

.yb-link__share--copied {
  color: var(--yb-brand);
  border-color: rgba(247, 92, 3, 0.4);
  border-style: solid;
}

/* ── Fade-Up Entrance Animation ── */
.yb-link__fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.yb-link__fade--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Desktop adjustments ── */
@media (min-width: 768px) {
  .yb-link__media {
    height: 360px;
  }

  .yb-link__container {
    padding: 0 24px 80px;
  }

  .yb-link__logo {
    width: 180px;
  }

  .yb-link__item {
    padding: 16px 20px;
  }

  .yb-link__item-title {
    font-size: 15px;
  }

  .yb-link__item-sub {
    font-size: 12px;
  }

  .yb-link__course-name {
    font-size: 13px;
  }
}

/* ========================================
   MEET THE TEACHERS PAGE
   ======================================== */

/* ── Filter Tabs (Pills style) ── */
.mt-filters {
  padding: 0;
}

.mt-filters__bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.mt-filters__btn {
  background: transparent;
  border: 1.5px solid #E8E4E0;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6F6A66;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mt-filters__btn:hover {
  border-color: #f75c03;
  color: #f75c03;
}

.mt-filters__btn.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}

/* ── Teacher Card Grid ── */
.mt-grid-section {
  padding-top: 40px;
}

.mt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

/* ── Teacher Card ── */
.mt-card {
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Media area (photo + video) */
.mt-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #F5F3F0;
  overflow: hidden;
}

.mt-card__media img,
.mt-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mt-card__media-toggle {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 4px;
}

.mt-card__media-btn {
  background: transparent;
  border: none;
  color: rgba(253, 251, 247, 0.6);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mt-card__media-btn:hover {
  color: #FDFBF7;
}

.mt-card__media-btn.is-active {
  background: #f75c03;
  color: #fff;
}

/* Card body */
.mt-card__body {
  padding: 28px 24px 24px;
}

.mt-card__role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f75c03;
  margin-bottom: 6px;
}

.mt-card__name {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 14px;
  line-height: 1.2;
}

/* Specialty tags */
.mt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.mt-card__tag {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #6F6A66;
}

/* Meta (experience + certs) */
.mt-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #6F6A66;
  margin-bottom: 16px;
}

.mt-card__meta strong {
  color: #0F0F0F;
}

/* Quote */
.mt-card__quote {
  font-style: italic;
  font-size: 15px;
  color: #6F6A66;
  border-left: 3px solid #f75c03;
  padding-left: 16px;
  margin: 16px 0;
  line-height: 1.6;
}

/* Bio expand/collapse */
.mt-card__bio-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mt-card__bio-wrap.is-open {
  max-height: 400px;
}

.mt-card__bio {
  font-size: 15px;
  line-height: 1.7;
  color: #6F6A66;
  padding-top: 8px;
}

.mt-card__toggle {
  background: none;
  border: none;
  color: #f75c03;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.mt-card__toggle:hover {
  color: #d94f02;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .mt-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .mt-filters__bar {
    gap: 8px;
  }

  .mt-filters__btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .mt-card__body {
    padding: 20px 16px 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   JOURNEY TIMELINE — Reusable vertical timeline (yb-journey)
   ═══════════════════════════════════════════════════════════════════ */
.yb-journey {
  padding: clamp(60px, 10vh, 120px) 24px;
  background: #F9F7F4;
}
.yb-journey__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 60px);
}
.yb-journey__header { text-align: center; }
.yb-journey__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--yb-brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.yb-journey__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.yb-journey__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #6F6A66;
  max-width: 520px;
  margin: 0 auto;
}
.yb-journey__timeline {
  position: relative;
  padding-left: 40px;
}
.yb-journey__timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--yb-brand), #E8E4E0);
  border-radius: 1px;
}
.yb-journey__item { position: relative; padding-bottom: 40px; }
.yb-journey__item:last-child { padding-bottom: 0; }
.yb-journey__item--break { opacity: 0.65; }
.yb-journey__dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--yb-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #F9F7F4, 0 0 0 6px rgba(247, 92, 3, 0.18);
}
.yb-journey__item--break .yb-journey__dot {
  background: #E8E4E0;
  box-shadow: 0 0 0 4px #F9F7F4, 0 0 0 6px rgba(111, 106, 102, 0.15);
}
.yb-journey__step {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yb-brand);
  font-weight: 700;
  margin-bottom: 6px;
}
.yb-journey__item--break .yb-journey__step { color: #6F6A66; }
.yb-journey__item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 6px;
}
.yb-journey__item-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6F6A66;
}

@media (min-width: 900px) {
  .yb-journey__inner {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
  .yb-journey__header {
    position: sticky;
    top: 200px;
    text-align: left;
  }
  .yb-journey__desc { margin: 0; }
}

/* ═══════════════════════════════════════
   LEAD MANAGER STYLES (Enhanced v2)
   Two-way SMS, Section Cards, Applications
   ═══════════════════════════════════════ */

/* ── Toolbar ── */
.yb-lead__toolbar-right { display: flex; gap: 0.5rem; align-items: center; }

/* ── Stats Toggle (mobile only) ── */
.yb-lead__stats-toggle {
  display: none; /* hidden on desktop */
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #161616;
  margin-bottom: 0.5rem;
  transition: border-color 0.15s;
}
.yb-lead__stats-toggle:hover { border-color: #f75c03; }
.yb-lead__stats-summary { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.yb-lead__stats-summary-item { white-space: nowrap; }
.yb-lead__stats-summary-item--new { color: #856404; }
.yb-lead__stats-summary-item--pipeline { color: #0c5460; }
.yb-lead__stats-summary-item--converted { color: #155724; }
.yb-lead__stats-summary-item--rate { color: #f75c03; }
.yb-lead__stats-summary-item--followup { color: #EF5350; }
.yb-lead__stats-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: #6F6A66;
}
.yb-lead__stats-toggle[aria-expanded="true"] .yb-lead__stats-chevron {
  transform: rotate(180deg);
}

/* ── Pipeline Stats ── */
.yb-lead__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.yb-lead__stat-card {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.yb-lead__stat-card:hover { border-color: #f75c03; box-shadow: 0 2px 8px rgba(247, 92, 3, 0.1); }
.yb-lead__stat-value { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: #161616; }
.yb-lead__stat-label { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #6F6A66; margin-top: 0.25rem; }
.yb-lead__stat-card--new .yb-lead__stat-value { color: #856404; }
.yb-lead__stat-card--pipeline .yb-lead__stat-value { color: #0c5460; }
.yb-lead__stat-card--converted .yb-lead__stat-value { color: #155724; }
.yb-lead__stat-card--rate .yb-lead__stat-value { color: #f75c03; }
.yb-lead__stat-card--followup { border-color: #EF5350; }
.yb-lead__stat-card--followup .yb-lead__stat-value { color: #EF5350; }
.yb-lead__stat-card--sms { border-color: #FF9800; }
.yb-lead__stat-card--sms .yb-lead__stat-value { color: #E65100; }
.yb-lead__stat-overdue { color: #EF5350; font-weight: 700; }

/* ── Filter Bar ── */
.yb-lead__filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.yb-lead__search-form { flex: 1; min-width: 200px; }
.yb-lead__search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #FFFCF9;
  color: #161616;
  transition: border-color 0.15s;
}
.yb-lead__search-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__filter { min-width: 120px; font-size: 0.82rem; }

/* ── Result count ── */
.yb-lead__result-bar { margin-bottom: 0.5rem; }
.yb-lead__count-text { font-size: 0.8rem; color: #6F6A66; }

/* ── Bulk actions bar ── */
.yb-lead__bulk-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFCF9 100%);
  border: 1.5px solid #f75c03;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.yb-lead__bulk-count-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f75c03;
  margin-right: auto;
  white-space: nowrap;
}
.yb-lead__bulk-bar .yb-btn--outline {
  border-color: #E8E4E0;
  background: #FFFCF9;
  color: #0F0F0F;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__bulk-bar .yb-btn--outline:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: rgba(247, 92, 3, 0.04);
}
.yb-lead__bulk-bar .yb-admin__icon-btn--danger {
  border-color: #E8E4E0;
}
.yb-lead__bulk-bar .yb-admin__icon-btn--danger:hover {
  border-color: #dc2626;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}

/* ── Bulk Status Picker Modal ── */
.yb-bulk-status__box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  padding: 1.5rem;
  width: 90vw;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  z-index: 1001;
  animation: yb-expand-in 0.2s ease;
}
.yb-bulk-status__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.yb-bulk-status__header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}
.yb-bulk-status__subtitle {
  font-size: 0.82rem;
  color: #6F6A66;
  margin: 0 0 1rem;
}
.yb-bulk-status__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.yb-bulk-status__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  background: #FFFCF9;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F0F0F;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
}
.yb-bulk-status__option:hover {
  border-color: #f75c03;
  background: rgba(247, 92, 3, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(247, 92, 3, 0.1);
}
.yb-bulk-status__option-icon { font-size: 1rem; flex-shrink: 0; }
.yb-bulk-status__option-label { flex: 1; }
@media (max-width: 480px) {
  .yb-bulk-status__grid { grid-template-columns: 1fr; }
  .yb-bulk-status__box { padding: 1rem; }
}

/* ── Table ── */
.yb-lead__table-wrap { overflow-x: auto; }
.yb-lead__table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.yb-lead__th-cb { width: 44px; padding: 0.5rem 0.25rem; }
.yb-lead__th-date { width: 90px; }
.yb-lead__th-program { max-width: 150px; }
.yb-lead__th-source { max-width: 120px; }
.yb-lead__th-followup { width: 100px; }

/* Sort buttons */
.yb-lead__sort-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font-weight: 700; font-size: 0.78rem; color: #6F6A66;
  display: inline-flex; align-items: center; gap: 4px;
}
.yb-lead__sort-btn:hover { color: #f75c03; }
.yb-lead__sort-btn.is-active { color: #161616; }
.yb-lead__sort-icon::after { content: '\25B5\25BF'; font-size: 0.6rem; line-height: 1; }
.yb-lead__sort-btn.is-asc .yb-lead__sort-icon::after { content: '\25B4'; color: #f75c03; }
.yb-lead__sort-btn.is-desc .yb-lead__sort-icon::after { content: '\25BE'; color: #f75c03; }

/* Table rows */
.yb-lead__row { cursor: pointer; transition: background 0.15s; }
.yb-lead__row:hover { background: rgba(247, 92, 3, 0.04); }
.yb-lead__row.is-selected { background: rgba(247, 92, 3, 0.08); }
.yb-lead__row--overdue { border-left: 3px solid #EF5350; }
.yb-lead__row--due-today { border-left: 3px solid #FF9800; }
.yb-lead__cell-cb { width: 44px; text-align: center; padding: 0.5rem 0.25rem; cursor: pointer; }
.yb-lead__cell-cb input[type="checkbox"],
.yb-lead__cb { width: 20px; height: 20px; cursor: pointer; accent-color: #f75c03; }
.yb-lead__cell-date { white-space: nowrap; font-size: 0.78rem; color: #6F6A66; }
.yb-lead__cell-name { font-weight: 600; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.yb-lead__cell-contact { max-width: 200px; }
.yb-lead__cell-email-text { font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-lead__cell-phone-text { font-size: 0.72rem; color: #6F6A66; }
.yb-lead__cell-program { font-size: 0.82rem; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-lead__cell-source { font-size: 0.78rem; color: #6F6A66; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-lead__cell-followup { font-size: 0.78rem; white-space: nowrap; }
.yb-lead__cell-actions { width: 40px; text-align: center; }

/* ── Unread SMS badge in table ── */
.yb-lead__sms-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f75c03;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
  animation: yb-sms-pulse 2s ease-in-out infinite;
}
@keyframes yb-sms-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 92, 3, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(247, 92, 3, 0); }
}

/* ── Application badge in table ── */
.yb-lead__app-badge {
  display: inline-block;
  font-size: 0.65rem;
  background: rgba(76, 175, 80, 0.12);
  color: #2E7D32;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
}

/* Status badges */
.yb-lead__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: middle;
}
.yb-lead__sub-status {
  display: block;
  font-size: 0.68rem;
  color: #6F6A66;
  margin-top: 2px;
}
.yb-lead__priority { font-size: 0.9rem; vertical-align: middle; margin-right: 2px; }
.yb-lead__temp { font-size: 0.85rem; vertical-align: middle; margin-right: 2px; }

/* Type badge */
.yb-lead__type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(247, 92, 3, 0.1);
  color: #f75c03;
}

/* Bounce badge */
.yb-lead__bounce-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #FFEBEE;
  color: #D32F2F;
  margin-left: 4px;
  vertical-align: middle;
}

/* Follow-up date highlighting */
.yb-lead__followup-date { font-weight: 600; }
.yb-lead__followup-date.yb-lead__row--overdue { color: #EF5350; }
.yb-lead__followup-date.yb-lead__row--due-today { color: #FF9800; }

/* ═══════════════════════════════════════
   SECTION CARDS — Lead & App Detail
   ═══════════════════════════════════════ */
.yb-lead__section-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #161616;
  margin-bottom: 0.75rem;
}

/* Card-based detail layout (new) */
.yb-lead__detail-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.yb-lead__section-card {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1.25rem;
}
.yb-lead__section-card--full {
  grid-column: 1 / -1;
}
.yb-lead__card-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6F6A66;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e0db;
}
.yb-lead__card-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
}
.yb-lead__card-row--full {
  flex-direction: column;
  align-items: flex-start;
}
.yb-lead__card-label {
  font-weight: 600;
  color: #6F6A66;
  white-space: nowrap;
  min-width: 100px;
  font-size: 0.82rem;
}
.yb-lead__card-value {
  color: #161616;
  font-size: 0.88rem;
}
.yb-lead__card-link {
  color: #f75c03;
  text-decoration: none;
}
.yb-lead__card-link:hover { text-decoration: underline; }

/* Large status badge */
.yb-lead__badge--lg {
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Unread SMS icon in table row */
.yb-lead__sms-unread-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.85rem;
  animation: yb-sms-pulse 2s ease-in-out infinite;
}

/* SMS bubble text and time (inside bubbles) */
.yb-lead__sms-bubble-text {
  margin-bottom: 0.2rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.yb-lead__sms-bubble-time {
  font-size: 0.68rem;
  display: block;
  text-align: right;
}
.yb-lead__sms-bubble--outbound .yb-lead__sms-bubble-time {
  color: rgba(255, 255, 255, 0.7);
}
.yb-lead__sms-bubble--inbound .yb-lead__sms-bubble-time {
  color: #6F6A66;
}

.yb-lead__detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.yb-lead__detail-section {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1.25rem;
}
.yb-lead__detail-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6F6A66;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e0db;
}
.yb-lead__detail-status-bar {
  grid-column: 1 / -1;
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}
.yb-lead__detail-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; font-size: 0.88rem; }
.yb-lead__detail-row--full { flex-direction: column; align-items: flex-start; }
.yb-lead__detail-label { font-weight: 600; color: #6F6A66; white-space: nowrap; min-width: 100px; font-size: 0.82rem; }
.yb-lead__detail-link { color: #f75c03; text-decoration: none; }
.yb-lead__detail-link:hover { text-decoration: underline; }
.yb-lead__detail-message {
  background: rgba(247, 92, 3, 0.04);
  border-left: 3px solid #f75c03;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #161616;
  white-space: pre-wrap;
  width: 100%;
}

/* ── Quick Actions bar ── */
.yb-lead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.yb-lead__actions .yb-btn {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: 8px;
  border: 1.5px solid #E8E4E0;
  background: #fff;
  color: #0F0F0F;
  font-weight: 600;
  transition: all 0.15s ease;
}
.yb-lead__actions .yb-btn:hover {
  border-color: var(--yb-brand, #f75c03);
  color: var(--yb-brand, #f75c03);
  background: rgba(247, 92, 3, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.yb-lead__actions .yb-btn--primary {
  background: var(--yb-brand, #f75c03);
  color: #fff;
  border-color: var(--yb-brand, #f75c03);
}
.yb-lead__actions .yb-btn--primary:hover {
  background: #d94f02;
  border-color: #d94f02;
  color: #fff;
}

/* ── SMS Template Chips ── */
.yb-lead__tpl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.75rem;
}
.yb-lead__tpl-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #E8E4E0;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.12s;
}
.yb-lead__tpl-chip:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: rgba(247, 92, 3, 0.04);
}
.yb-lead__tpl-chip.is-booking {
  border-color: #f75c03;
  color: #f75c03;
  background: rgba(247, 92, 3, 0.06);
}
/* ── SMS Char Counter ── */
.yb-lead__sms-charcount {
  font-size: 0.75rem;
  color: #999;
  text-align: right;
  margin: -0.25rem 0 0.5rem;
}

/* ── Cross-link button (View Application / View Lead) ── */
.yb-lead__cross-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(76, 175, 80, 0.08);
  color: #2E7D32;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(76, 175, 80, 0.2);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.yb-lead__cross-link:hover {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.4);
}

/* ═══════════════════════════════════════
   SMS CONVERSATION — Chat Bubbles
   ═══════════════════════════════════════ */
.yb-lead__sms-conversation {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.5rem;
}
.yb-lead__sms-thread {
  max-height: 350px;
  overflow-y: auto;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 60px;
}
.yb-lead__sms-thread:empty::after {
  content: 'No messages yet';
  color: #6F6A66;
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
}

/* Outbound (sent) bubble — right-aligned, brand orange */
.yb-lead__sms-bubble--outbound {
  align-self: flex-end;
  background: #f75c03;
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  padding: 0.6rem 0.85rem;
  max-width: 75%;
  font-size: 0.85rem;
  line-height: 1.4;
}
.yb-lead__sms-bubble--outbound .yb-lead__sms-time {
  color: rgba(255, 255, 255, 0.7);
}

/* Inbound (received) bubble — left-aligned, warm grey */
.yb-lead__sms-bubble--inbound {
  align-self: flex-start;
  background: #f0ede9;
  color: #161616;
  border-radius: 14px 14px 14px 4px;
  padding: 0.6rem 0.85rem;
  max-width: 75%;
  font-size: 0.85rem;
  line-height: 1.4;
}
.yb-lead__sms-bubble--inbound .yb-lead__sms-time {
  color: #6F6A66;
}

.yb-lead__sms-text { margin-bottom: 0.2rem; white-space: pre-wrap; word-break: break-word; }
.yb-lead__sms-time { font-size: 0.68rem; display: block; text-align: right; }

/* Reply bar */
.yb-lead__sms-reply-bar {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e0db;
}
.yb-lead__sms-reply-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e0db;
  border-radius: 20px;
  font-size: 0.88rem;
  background: #fff;
  color: #161616;
  transition: border-color 0.15s;
}
.yb-lead__sms-reply-input:focus { border-color: #f75c03; outline: none; }

/* ── Status form grid ── */
.yb-lead__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.yb-admin__field--full { grid-column: 1 / -1; }

/* ── Notes ── */
.yb-lead__note-form { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.yb-lead__note-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #FFFCF9;
  color: #161616;
}
.yb-lead__note-input:focus { border-color: #f75c03; outline: none; }

.yb-lead__notes-timeline { max-height: 400px; overflow-y: auto; }
.yb-lead__note-item {
  padding: 0.6rem 0.75rem;
  border-left: 3px solid #e5e0db;
  margin-bottom: 0.5rem;
  border-radius: 0 8px 8px 0;
  background: #FFFCF9;
}
.yb-lead__note-item--call { border-left-color: #4CAF50; }
.yb-lead__note-item--email { border-left-color: #2196F3; }
.yb-lead__note-item--sms { border-left-color: #FF9800; }
.yb-lead__note-item--system { border-left-color: #9E9E9E; }
.yb-lead__note-item--status { border-left-color: #f75c03; }
.yb-lead__note-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.yb-lead__note-icon { font-size: 0.9rem; }
.yb-lead__note-author { font-size: 0.75rem; font-weight: 700; color: #6F6A66; }
.yb-lead__note-time { font-size: 0.72rem; color: #6F6A66; margin-left: auto; }
.yb-lead__note-text { font-size: 0.85rem; color: #161616; white-space: pre-wrap; }

.yb-lead__empty-text { color: #6F6A66; font-size: 0.85rem; font-style: italic; }

/* ── Activity log ── */
.yb-lead__activity-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(229, 224, 219, 0.5);
  font-size: 0.88rem;
}
.yb-lead__activity-icon { font-size: 1.1rem; flex-shrink: 0; }
.yb-lead__activity-body { flex: 1; }
.yb-lead__activity-detail { font-size: 0.8rem; color: #6F6A66; margin-top: 2px; }
.yb-lead__activity-time { font-size: 0.72rem; color: #6F6A66; margin-top: 2px; }

/* ── Modals (SMS / Email composers) ── */
.yb-lead__modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yb-lead__modal[hidden] { display: none; }
.yb-lead__modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.yb-lead__modal-box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.yb-lead__modal-box--wide { max-width: 640px; }
.yb-lead__modal-box h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.yb-lead__modal-to { font-size: 0.85rem; color: #6F6A66; margin-bottom: 0.75rem; }
.yb-lead__modal-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  background: #fff;
  color: #161616;
}
.yb-lead__modal-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__modal-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.88rem;
  resize: vertical;
  font-family: inherit;
  background: #fff;
  color: #161616;
}
.yb-lead__modal-textarea:focus { border-color: #f75c03; outline: none; }
.yb-lead__modal-meta { font-size: 0.75rem; color: #6F6A66; margin: 0.25rem 0 0.5rem; text-align: right; }
.yb-lead__modal-hint { font-size: 0.78rem; color: #6F6A66; margin: 0.5rem 0; }
.yb-lead__modal-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

/* ── SMS/Email Modal Enhancements ── */
.yb-lead__modal-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
  color: #0F0F0F;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.yb-lead__modal-select:focus { border-color: #f75c03; outline: none; }

.yb-lead__modal-vars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.yb-lead__modal-vars-label {
  font-size: 0.75rem;
  color: #6F6A66;
  margin-right: 0.25rem;
}
.yb-lead__var-btn {
  font-size: 0.72rem;
  font-family: monospace;
  padding: 2px 8px;
  border: 1px solid #E8E4E0;
  border-radius: 4px;
  background: #F5F3F0;
  color: #6F6A66;
  cursor: pointer;
  transition: all 0.15s;
}
.yb-lead__var-btn:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: #FFF5F0;
}

.yb-lead__modal-recipient-detail {
  font-size: 0.78rem;
  color: #6F6A66;
  margin: -0.25rem 0 0.5rem;
}

.yb-lead__sms-segments {
  font-size: 0.72rem;
  color: #E65100;
  margin-left: 0.5rem;
}

/* ── Send Progress Bar ── */
.yb-lead__send-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.yb-lead__send-progress[hidden] { display: none; }
.yb-lead__progress-bar {
  flex: 1;
  height: 6px;
  background: #E8E4E0;
  border-radius: 3px;
  overflow: hidden;
}
.yb-lead__progress-fill {
  height: 100%;
  background: #f75c03;
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}
.yb-lead__send-progress span {
  font-size: 0.75rem;
  color: #6F6A66;
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   CAMPAIGN WIZARD — SMS & EMAIL
   Design-system aligned (Section 16 tabs)
   ═══════════════════════════════════════ */

/* ── Modal Overlay ── */
.yb-lead__modal .yb-lead__modal-overlay {
  background: rgba(15,15,15,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ── Campaign Modal Box ── */
.yb-lead__campaign-box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  width: 96vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  overflow: hidden;
  animation: ybCampaignSlideUp 0.25s ease-out;
}
.yb-lead__campaign-box--sms { max-width: 900px; }
.yb-lead__campaign-box--email { max-width: 1200px; }

@keyframes ybCampaignSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */
.yb-lead__campaign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem 0.75rem;
}
.yb-lead__campaign-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.yb-lead__campaign-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6F6A66;
  cursor: pointer;
  padding: 0.35rem;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.15s;
}
.yb-lead__campaign-close:hover { background: #F5F3F0; color: #0F0F0F; }

/* ── Tab Bar (Design System Section 16 — Underline) ── */
.yb-lead__campaign-tabs {
  display: flex;
  border-bottom: 2px solid #E8E4E0;
  padding: 0 2rem;
  gap: 0;
}
.yb-lead__campaign-tab {
  background: none;
  border: none;
  padding: 12px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6F6A66;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  transition: color 0.15s;
  white-space: nowrap;
}
.yb-lead__campaign-tab:hover:not([disabled]) { color: #0F0F0F; }
.yb-lead__campaign-tab.is-active { color: #f75c03; }
.yb-lead__campaign-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f75c03;
  border-radius: 1px;
}
.yb-lead__campaign-tab.is-visited { color: #0F0F0F; }
.yb-lead__campaign-tab[disabled] { opacity: 0.35; cursor: not-allowed; }
.yb-lead__campaign-tab-count {
  font-size: 0.78rem;
  color: #f75c03;
  font-weight: 700;
}
.yb-lead__campaign-tab-count:empty { display: none; }

/* ── Body (scrollable) ── */
.yb-lead__campaign-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  min-height: 320px;
}
.yb-lead__campaign-panel { display: none; color: #0F0F0F; background: transparent; }
.yb-lead__campaign-panel.is-active { display: block; }

/* ── Footer ── */
.yb-lead__campaign-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  border-top: 1px solid #E8E4E0;
  background: #F5F3F0;
}
.yb-lead__campaign-step-info {
  font-size: 0.8rem;
  color: #6F6A66;
  font-weight: 600;
}
.yb-lead__campaign-footer-right {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

/* ── Filter Panel (Recipients Tab) ── */
.yb-lead__campaign-recipients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.yb-lead__campaign-filters { min-width: 0; }
.yb-lead__campaign-filter-section {
  margin-bottom: 1rem;
}
.yb-lead__campaign-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  display: block;
}

/* ── Filter Chips ── */
.yb-lead__campaign-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.yb-lead__campaign-chip {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  color: #0F0F0F;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.yb-lead__campaign-chip:hover { border-color: #f75c03; background: #fff; }
.yb-lead__campaign-chip.is-active {
  background: #f75c03;
  color: #fff;
  border-color: #f75c03;
}
.yb-lead__campaign-chip--country {
  font-size: 0.82rem;
  padding: 0.25rem 0.55rem;
}
.yb-lead__campaign-chip--country.is-active {
  background: #1a73e8;
  border-color: #1a73e8;
}

/* ── Sub-options (expandable) ── */
.yb-lead__campaign-suboptions {
  display: none;
  padding-left: 1.25rem;
  margin-top: 0.3rem;
}
.yb-lead__campaign-suboptions.is-open { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* ── Exclude toggles ── */
.yb-lead__campaign-exclude-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.yb-lead__campaign-exclude-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6F6A66;
  cursor: pointer;
}
.yb-lead__campaign-exclude-item input[type="checkbox"] {
  accent-color: #f75c03;
}

/* ── Recipient Preview List ── */
.yb-lead__campaign-recipient-list-wrap {
  min-width: 0;
}
.yb-lead__campaign-loading-banner {
  background: #fff8f0;
  border: 1px solid #f75c03;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #f75c03;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.yb-lead__campaign-loading-banner::before {
  content: "⟳";
  animation: yb-spin 1s linear infinite;
  display: inline-block;
}
@keyframes yb-spin { to { transform: rotate(360deg); } }
.yb-lead__campaign-recipient-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #E8E4E0;
  flex-wrap: wrap;
}
.yb-lead__campaign-recipient-count {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f75c03;
  line-height: 1;
}
.yb-lead__campaign-recipient-label {
  font-size: 0.85rem;
  color: #6F6A66;
}
.yb-lead__campaign-recipient-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  gap: 0.5rem;
}
/* ── Recipient list cards ── */
.yb-lead__campaign-recipient-list {
  max-height: calc(80vh - 280px);
  overflow-y: auto;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  background: #fff;
}
.yb-lead__campaign-rl-pool-note {
  color: #6F6A66;
  font-size: 0.82em;
}
.yb-lead__campaign-rl-pinned-note {
  color: #f75c03;
  font-size: 0.82em;
}
.yb-lead__campaign-rl-tbtn {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: #f75c03;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
}
.yb-lead__campaign-rl-tbtn:hover { text-decoration: underline; }
.yb-lead__campaign-rl-selected {
  font-size: 0.78rem;
  color: #0F0F0F;
  font-weight: 700;
}

/* Recipient row — full label, entire card is clickable */
.yb-lead__campaign-recipient-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #F0EDE8;
  cursor: pointer;
  transition: background 0.12s;
  -webkit-user-select: none;
  user-select: none;
}
.yb-lead__campaign-recipient-row:last-child { border-bottom: none; }
.yb-lead__campaign-recipient-row:hover { background: #FDFCFB; }
.yb-lead__campaign-recipient-row.is-selected { background: #FFF8F4; }
.yb-lead__campaign-recipient-row.is-selected:hover { background: #FFF3ED; }

/* Checkbox */
.yb-lead__campaign-recipient-check {
  flex-shrink: 0;
  margin-top: 0.3rem;
  accent-color: #f75c03;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* Avatar circle — first initial */
.yb-lead__campaign-ri-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F0EDE8;
  color: #6F6A66;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  margin-top: 0.05rem;
}
.yb-lead__campaign-recipient-row.is-selected .yb-lead__campaign-ri-avatar {
  background: #ffe8d9;
  color: #f75c03;
}

/* Body: two-line stack */
.yb-lead__campaign-ri-body { flex: 1; min-width: 0; }

/* Top line: name + status badge */
.yb-lead__campaign-ri-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}
.yb-lead__campaign-ri-name {
  font-weight: 600;
  font-size: 0.855rem;
  color: #0F0F0F;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.yb-lead__campaign-ri-status {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.14rem 0.42rem;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* Bottom line: flag · contact · prog */
.yb-lead__campaign-ri-sub {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  overflow: hidden;
}
.yb-lead__campaign-ri-flag { font-size: 0.85rem; flex-shrink: 0; line-height: 1; }
.yb-lead__campaign-ri-contact {
  font-size: 0.775rem;
  color: #6F6A66;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.yb-lead__campaign-ri-dot { color: #C8C4C0; font-size: 0.7rem; flex-shrink: 0; }
.yb-lead__campaign-ri-prog {
  font-size: 0.68rem;
  background: #F0EDE8;
  color: #6F6A66;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
  flex-shrink: 0;
}
.yb-lead__campaign-ri-src {
  font-size: 0.6rem;
  font-weight: 700;
  background: #cce5ff;
  color: #004085;
  padding: 0.1rem 0.32rem;
  border-radius: 3px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yb-lead__campaign-no-match {
  text-align: center;
  padding: 2rem 1rem;
  color: #6F6A66;
  font-size: 0.85rem;
}

/* ── Per-lead campaign history badges ── */
.yb-lead__campaign-ri-hist {
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
  cursor: default;
}
.yb-lead__campaign-ri-hist--email {
  background: #FFF3CD;
  color: #856404;
}
.yb-lead__campaign-ri-hist--sms {
  background: #D1ECF1;
  color: #0C5460;
}

/* ── Campaign history panel (recent campaigns collapsible) ── */
.yb-lead__campaign-history {
  margin-bottom: 0.75rem;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.8rem;
}
.yb-lead__campaign-history-toggle {
  padding: 0.5rem 0.75rem;
  background: #F5F3F0;
  cursor: pointer;
  font-weight: 600;
  color: #0F0F0F;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}
.yb-lead__campaign-history-toggle::-webkit-details-marker { display: none; }
.yb-lead__campaign-history-toggle::before { content: '▶'; font-size: 0.6rem; transition: transform 0.2s; }
details[open] .yb-lead__campaign-history-toggle::before { transform: rotate(90deg); }
.yb-lead__campaign-history-list {
  padding: 0.25rem 0;
}
.yb-lead__campaign-history-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid #F0EDE8;
}
.yb-lead__campaign-history-row:last-child { border-bottom: none; }
.yb-lead__campaign-history-icon { flex-shrink: 0; }
.yb-lead__campaign-history-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0F0F0F;
}
.yb-lead__campaign-history-meta {
  flex-shrink: 0;
  color: #6F6A66;
  font-size: 0.72rem;
}

/* ── Multi-select chip filter area (status + type chips below filter bar) ── */
.yb-lead__chip-filter-area {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0 0.15rem;
}
.yb-lead__filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.yb-lead__filter-chips-row .yb-lead__campaign-chip {
  font-size: 0.74rem;
  padding: 0.18rem 0.5rem;
}

/* ── Sub-type filter row (shown when type is selected) ── */
.yb-lead__subtype-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem 0;
  border-top: 1px solid #F0EDE8;
}
.yb-lead__subtype-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.yb-lead__subtype-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

/* ── SMS Compose ── */
.yb-lead__campaign-sms-compose {
  max-width: 500px;
  margin: 0 auto;
}
.yb-lead__campaign-template-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.yb-lead__campaign-var-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.yb-lead__campaign-var-bar-label {
  font-size: 0.78rem;
  color: #6F6A66;
  font-weight: 600;
}
.yb-lead__campaign-var-btn {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: monospace;
  transition: all 0.15s;
}
.yb-lead__campaign-var-btn:hover { border-color: #f75c03; background: #fff; }
.yb-lead__campaign-sms-textarea {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.yb-lead__campaign-sms-textarea:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-sms-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6F6A66;
  margin-top: 0.3rem;
}
.yb-lead__campaign-sms-segments { color: #E65100; font-weight: 600; }
.yb-lead__campaign-sms-tip {
  font-size: 0.78rem;
  color: #6F6A66;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-top: 0.75rem;
}

/* SMS preview bubble */
.yb-lead__campaign-sms-preview {
  margin-top: 1.25rem;
}
.yb-lead__campaign-sms-preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6F6A66;
  margin-bottom: 0.4rem;
}
.yb-lead__campaign-sms-bubble {
  background: #DCF8C6;
  border-radius: 14px 14px 4px 14px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  max-width: 320px;
  margin-left: auto;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* ── Email Compose ── */
.yb-lead__campaign-email-compose {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  min-height: 400px;
  color: #0F0F0F;
  background: transparent;
}
.yb-lead__campaign-email-sidebar {
  border-right: 1px solid #E8E4E0;
  padding-right: 1.25rem;
}
.yb-lead__campaign-email-sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.yb-lead__campaign-email-mode-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-email-mode-btn {
  flex: 1;
  background: #fff;
  border: none;
  padding: 0.35rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: #6F6A66;
  transition: all 0.15s;
}
.yb-lead__campaign-email-mode-btn.is-active {
  background: #f75c03;
  color: #fff;
}
.yb-lead__campaign-email-search {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  font-family: inherit;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}
.yb-lead__campaign-email-search:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-email-template-list {
  max-height: 320px;
  overflow-y: auto;
}
.yb-lead__campaign-email-template-item {
  padding: 0.5rem;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.8rem;
}
.yb-lead__campaign-email-template-item:hover { border-color: #f75c03; background: #FFFCF9; }
.yb-lead__campaign-email-template-item.is-selected {
  border-color: #f75c03;
  background: #FFF3E0;
}
.yb-lead__campaign-email-template-name {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}
.yb-lead__campaign-email-template-subj {
  font-size: 0.75rem;
  color: #6F6A66;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Email compose main area */
.yb-lead__campaign-email-main { min-width: 0; }
.yb-lead__campaign-email-field {
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-email-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6F6A66;
  margin-bottom: 0.25rem;
}
.yb-lead__campaign-email-input {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.yb-lead__campaign-email-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-email-input-hint {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 0.15rem;
}
.yb-lead__campaign-email-editor-wrap {
  position: relative;
}
.yb-lead__campaign-email-editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.yb-lead__campaign-email-html-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #E8E4E0;
  border-radius: 6px;
  overflow: hidden;
}
.yb-lead__campaign-email-html-toggle button {
  background: #fff;
  border: none;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: #6F6A66;
  transition: all 0.15s;
}
.yb-lead__campaign-email-html-toggle button.is-active {
  background: #0F0F0F;
  color: #fff;
}
.yb-lead__campaign-email-editor {
  width: 100%;
  min-height: 220px;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  line-height: 1.6;
  box-sizing: border-box;
  overflow-y: auto;
  /* Isolate pasted email HTML so its styles don't leak into the wizard */
  color: #1a1a1a;
  background-color: #fff;
}
.yb-lead__campaign-email-editor:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-email-editor[contenteditable] {
  min-height: 220px;
}
/* Force all children of the email editor to not leak styles upward */
.yb-lead__campaign-email-editor * {
  max-width: 100%;
}
/* Wrapper around the email editor to contain any absolute/fixed positioned email content */
.yb-lead__campaign-editor-contain {
  contain: style layout;
  overflow: hidden;
  border-radius: 10px;
}
.yb-lead__campaign-email-html-textarea {
  width: 100%;
  min-height: 220px;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.82rem;
  font-family: 'SF Mono', Consolas, monospace;
  line-height: 1.5;
  box-sizing: border-box;
  resize: vertical;
}
.yb-lead__campaign-email-html-textarea:focus { border-color: #f75c03; outline: none; }

/* Attachment area */
.yb-lead__campaign-attachment {
  margin-top: 0.75rem;
}
.yb-lead__campaign-attachment-drop {
  border: 2px dashed #E8E4E0;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  color: #6F6A66;
  font-size: 0.82rem;
}
.yb-lead__campaign-attachment-drop:hover,
.yb-lead__campaign-attachment-drop.is-dragover {
  border-color: #f75c03;
  background: #FFF3E0;
}
.yb-lead__campaign-attachment-max {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 0.3rem;
  text-align: center;
}
.yb-lead__campaign-attachment-file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #F5F3F0;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}
.yb-lead__campaign-attachment-file button {
  background: none;
  border: none;
  color: #d94f02;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  margin-left: auto;
}

/* Archive bar */
.yb-lead__campaign-archive-bar {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.yb-lead__campaign-archive-btn {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.yb-lead__campaign-archive-btn:hover { border-color: #f75c03; }

/* Newsletter save form (inline) */
.yb-lead__campaign-newsletter-save-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.yb-lead__campaign-newsletter-name-input {
  flex: 1;
  padding: 0.35rem 0.6rem;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.yb-lead__campaign-newsletter-name-input:focus { border-color: #f75c03; }
.yb-lead__campaign-newsletter-save-btn { white-space: nowrap; }
.yb-lead__campaign-newsletter-cancel-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #6F6A66;
  padding: 0 0.3rem;
  line-height: 1;
}
.yb-lead__campaign-newsletter-cancel-btn:hover { color: #0F0F0F; }

/* Newsletter picker panel */
.yb-lead__campaign-newsletter-picker {
  margin-top: 0.5rem;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  background: #FFFCF9;
  overflow: hidden;
}
.yb-lead__campaign-newsletter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #E8E4E0;
  background: #F5F3F0;
}
.yb-lead__campaign-newsletter-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F0F0F;
}
.yb-lead__campaign-newsletter-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #6F6A66;
  line-height: 1;
  padding: 0 0.2rem;
}
.yb-lead__campaign-newsletter-close:hover { color: #0F0F0F; }
.yb-lead__campaign-newsletter-search {
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: none;
  border-bottom: 1px solid #E8E4E0;
  font-size: 0.78rem;
  font-family: inherit;
  outline: none;
  background: #FFFCF9;
  box-sizing: border-box;
}
.yb-lead__campaign-newsletter-search:focus { background: #fff; }
.yb-lead__campaign-newsletter-list {
  max-height: 260px;
  overflow-y: auto;
}
.yb-lead__campaign-newsletter-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E8E4E0;
  transition: background 0.1s;
}
.yb-lead__campaign-newsletter-item:last-child { border-bottom: none; }
.yb-lead__campaign-newsletter-item:hover { background: #F5F3F0; }
.yb-lead__campaign-newsletter-item-main {
  flex: 1;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  min-width: 0;
}
.yb-lead__campaign-newsletter-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0F0F0F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yb-lead__campaign-newsletter-item-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #6F6A66;
  margin-top: 0.15rem;
}
.yb-lead__campaign-newsletter-item-subject {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.yb-lead__campaign-newsletter-item-date { white-space: nowrap; }
.yb-lead__campaign-newsletter-item-uses {
  white-space: nowrap;
  color: #f75c03;
  font-weight: 600;
}
.yb-lead__campaign-newsletter-item-delete {
  background: none;
  border: none;
  color: #6F6A66;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.yb-lead__campaign-newsletter-item-delete:hover { color: #e53e3e; }
.yb-lead__campaign-newsletter-empty,
.yb-lead__campaign-newsletter-loading {
  padding: 1.2rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: #6F6A66;
}

/* ── Email Preview ── */
.yb-lead__campaign-email-preview-wrap {
  text-align: center;
}
.yb-lead__campaign-preview-device-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.yb-lead__campaign-preview-device-btn {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__campaign-preview-device-btn.is-active {
  background: #0F0F0F;
  color: #fff;
  border-color: #0F0F0F;
}
.yb-lead__campaign-preview-frame {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
  transition: width 0.3s ease;
}
.yb-lead__campaign-preview-frame--desktop { width: 600px; max-width: 100%; }
.yb-lead__campaign-preview-frame--mobile { width: 320px; max-width: 100%; }
.yb-lead__campaign-preview-inbox-bar {
  background: #F5F3F0;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #E8E4E0;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  color: #6F6A66;
}
.yb-lead__campaign-preview-subject {
  padding: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid #F5F3F0;
}
.yb-lead__campaign-preview-body {
  padding: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.6;
}
.yb-lead__campaign-preview-sample {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #6F6A66;
}
.yb-lead__campaign-preview-sample select {
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  font-family: inherit;
}
.yb-lead__campaign-test-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.yb-lead__campaign-test-input {
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  font-family: inherit;
  width: 240px;
}
.yb-lead__campaign-test-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-test-btn {
  background: #F5F3F0;
  color: #0F0F0F;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__campaign-test-btn:hover { border-color: #f75c03; color: #d94f02; }

/* ── Send Tab ── */
.yb-lead__campaign-send-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 0.5rem;
  color: #0F0F0F;
}
.yb-lead__campaign-summary-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.yb-lead__campaign-summary-card {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}
.yb-lead__campaign-summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f75c03;
  line-height: 1;
}
.yb-lead__campaign-summary-label {
  font-size: 0.78rem;
  color: #6F6A66;
  margin-top: 0.2rem;
}

/* ── Delivery provider selector ── */
.yb-lead__campaign-sender-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
  margin-top: 0.4rem;
  cursor: pointer;
}
.yb-lead__campaign-sender-select:focus {
  outline: none;
  border-color: #f75c03;
}
.yb-lead__campaign-provider-section { margin-bottom: 1.5rem; }
.yb-lead__campaign-provider-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.yb-lead__campaign-provider-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  background: #FFFCF9;
  -webkit-user-select: none;
  user-select: none;
}
.yb-lead__campaign-provider-card:hover { border-color: #f75c03; background: #fff8f5; }
.yb-lead__campaign-provider-card.is-selected { border-color: #f75c03; background: #fff4ed; }
.yb-lead__campaign-provider-card input[type="radio"] { display: none; }
.yb-lead__campaign-provider-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; line-height: 1; }
.yb-lead__campaign-provider-body { flex: 1; min-width: 0; }
.yb-lead__campaign-provider-name {
  font-weight: 700;
  font-size: 0.87rem;
  color: #0F0F0F;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.yb-lead__campaign-provider-badge {
  font-size: 0.62rem;
  font-weight: 700;
  background: #f75c03;
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.yb-lead__campaign-provider-auto-note { font-size: 0.68rem; color: #f75c03; font-weight: 600; }
.yb-lead__campaign-provider-desc { font-size: 0.76rem; color: #6F6A66; margin-top: 0.15rem; line-height: 1.4; }

/* Schedule options */
.yb-lead__campaign-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.yb-lead__campaign-schedule-option {
  background: #fff;
  color: #0F0F0F;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__campaign-schedule-option:hover { border-color: #f75c03; color: #d94f02; }
.yb-lead__campaign-schedule-option.is-selected {
  border-color: #f75c03;
  background: #FFF3E0;
  color: #d94f02;
}
.yb-lead__campaign-schedule-custom {
  margin-top: 0.5rem;
}
.yb-lead__campaign-schedule-custom input[type="datetime-local"] {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  font-family: inherit;
  box-sizing: border-box;
}

/* Warning */
.yb-lead__campaign-warning {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #E65100;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* SMS cost */
.yb-lead__campaign-sms-cost {
  font-size: 0.82rem;
  color: #6F6A66;
  text-align: center;
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-sms-cost strong {
  color: #0F0F0F;
  font-size: 1rem;
}

/* Send button */
.yb-lead__campaign-send-all {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.yb-lead__campaign-send-all--go {
  background: #4CAF50;
  color: #fff;
}
.yb-lead__campaign-send-all--go:hover { background: #388E3C; }
.yb-lead__campaign-send-all:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Progress bar */
.yb-lead__campaign-progress {
  margin-top: 1rem;
  display: none;
}
.yb-lead__campaign-progress.is-active { display: block; }
.yb-lead__campaign-progress-bar {
  height: 8px;
  background: #E8E4E0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.yb-lead__campaign-progress-fill {
  height: 100%;
  background: #f75c03;
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}
.yb-lead__campaign-progress-text {
  font-size: 0.78rem;
  color: #6F6A66;
  text-align: center;
}

/* Results */
.yb-lead__campaign-results {
  display: none;
  margin-top: 1rem;
}
.yb-lead__campaign-results.is-active { display: block; }
.yb-lead__campaign-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-result-card {
  text-align: center;
  padding: 0.6rem 0.4rem;
  border-radius: 8px;
  background: #F5F3F0;
}
.yb-lead__campaign-result-value {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
.yb-lead__campaign-result-value--sent { color: #4CAF50; }
.yb-lead__campaign-result-value--failed { color: #F44336; }
.yb-lead__campaign-result-value--skipped { color: #FF9800; }
.yb-lead__campaign-result-value--scheduled { color: #1a73e8; }
.yb-lead__campaign-result-label {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 0.15rem;
}
.yb-lead__campaign-errors-toggle {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: #F44336;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}
.yb-lead__campaign-errors-list {
  display: none;
  background: #FFF5F5;
  border: 1px solid #FFCDD2;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #C62828;
  max-height: 120px;
  overflow-y: auto;
  margin-top: 0.5rem;
}
.yb-lead__campaign-errors-list.is-open { display: block; }

/* ── Campaign Responsive ── */
@media (max-width: 800px) {
  .yb-lead__campaign-box { width: 98vw; max-height: 96vh; border-radius: 10px; }
  .yb-lead__campaign-recipients { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-compose { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-sidebar {
    border-right: none;
    border-bottom: 1px solid #E8E4E0;
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
  .yb-lead__campaign-results-grid { grid-template-columns: 1fr 1fr; }
  .yb-lead__campaign-schedule-grid { grid-template-columns: 1fr; }
  .yb-lead__campaign-summary-cards { grid-template-columns: 1fr; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .yb-lead__filter-bar { flex-direction: column; }
  .yb-lead__search-form { width: 100%; }
  .yb-lead__cell-program,
  .yb-lead__cell-source,
  .yb-lead__th-program,
  .yb-lead__th-source { display: none; }
  .yb-lead__detail-grid { grid-template-columns: 1fr; }
  .yb-lead__detail-status-bar { grid-template-columns: 1fr 1fr; }
  .yb-lead__detail-label { min-width: 80px; }
  .yb-lead__status-grid { grid-template-columns: 1fr 1fr; }
  .yb-lead__bulk-bar { flex-wrap: wrap; }
  .yb-lead__stats-grid { grid-template-columns: repeat(3, 1fr); }
  .yb-lead__sms-bubble--outbound,
  .yb-lead__sms-bubble--inbound { max-width: 90%; }
  .yb-lead__detail-cards { grid-template-columns: 1fr; }
  .yb-lead__section-card--full { grid-column: auto; }
  .yb-lead__card-label { min-width: 80px; }
}

/* ═══════════════════════════════════════
   LEAD MANAGER — ENHANCED VIEWS
   Expandable rows, Kanban board, View toggle
   ═══════════════════════════════════════ */

/* ── View Toggle ── */
.yb-lead__view-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.yb-lead__view-btn {
  background: #FFFCF9;
  border: none;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6F6A66;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.yb-lead__view-btn:hover { background: rgba(247,92,3,0.06); color: #0F0F0F; }
.yb-lead__view-btn.is-active { background: #f75c03; color: #fff; }
.yb-lead__view-btn + .yb-lead__view-btn { border-left: 1px solid #E8E4E0; }

/* ── Chevron Column (Expandable Rows) ── */
.yb-lead__th-chevron { width: 28px; padding: 0 4px !important; }
.yb-lead__cell-chevron { width: 28px; text-align: center; padding: 0 4px !important; }
.yb-lead__chevron-btn {
  background: none; border: none; cursor: pointer;
  width: 24px; height: 24px; display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  color: #6F6A66;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.yb-lead__chevron-btn:hover { background: rgba(247,92,3,0.08); color: #f75c03; }
.yb-lead__chevron-btn.is-open { color: #f75c03; }
.yb-lead__chevron-icon::before {
  content: '\25B6';
  font-size: 0.6rem;
  display: block;
  transition: transform 0.2s ease;
}
.yb-lead__chevron-btn.is-open .yb-lead__chevron-icon::before {
  transform: rotate(90deg);
}

/* ── Expanded Inline Panel ── */
.yb-lead__expanded-row { background: #FAFAF8 !important; cursor: default !important; }
.yb-lead__expanded-row:hover { background: #FAFAF8 !important; }
.yb-lead__expanded-cell { padding: 0 0.5rem 0.5rem !important; border-top: none !important; }
.yb-lead__expanded-panel {
  margin: 0 0.25rem;
  padding: 0.75rem 1rem;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 0 0 10px 10px;
  border-top: 2px solid #f75c03;
  animation: yb-expand-in 0.15s ease;
}
@keyframes yb-expand-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.yb-lead__exp-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(232,228,224,0.6);
}
.yb-lead__exp-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.yb-lead__exp-stat { display: flex; flex-direction: column; gap: 2px; min-width: 80px; }
.yb-lead__exp-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6F6A66;
}
.yb-lead__exp-value { font-size: 0.85rem; font-weight: 600; color: #0F0F0F; }
.yb-lead__exp-notes { margin-bottom: 0.5rem; }
.yb-lead__exp-note {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  font-size: 0.8rem;
  color: #0F0F0F;
  margin-bottom: 0.2rem;
}
.yb-lead__exp-note-icon { flex-shrink: 0; }
.yb-lead__exp-note-time {
  font-size: 0.68rem;
  color: #6F6A66;
  white-space: nowrap;
  flex-shrink: 0;
}
.yb-lead__exp-note-text {
  color: #0F0F0F;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.yb-lead__exp-message {
  font-size: 0.8rem;
  color: #6F6A66;
  font-style: italic;
  border-left: 2px solid #f75c03;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yb-lead__exp-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(232,228,224,0.6);
}

/* ── Enhanced Table Columns ── */
.yb-lead__th-lastcontact { width: 80px; font-size: 0.72rem; }
.yb-lead__th-temp { width: 32px; text-align: center; }
.yb-lead__th-notes { width: 36px; text-align: center; }
.yb-lead__th-app { width: 36px; text-align: center; }
.yb-lead__cell-lastcontact { font-size: 0.78rem; white-space: nowrap; }
.yb-lead__cell-temp { text-align: center; }
.yb-lead__cell-notes { text-align: center; }
.yb-lead__cell-app { text-align: center; }
.yb-lead__notes-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: rgba(247,92,3,0.12);
  color: #f75c03;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 5px;
}
.yb-lead__app-badge--inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d4edda;
  color: #155724;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ── Kanban Board ── */
.yb-lead__kanban { overflow-x: auto; padding-bottom: 1rem; }
.yb-lead__kanban-board {
  display: flex;
  gap: 0.75rem;
  min-height: 500px;
  align-items: flex-start;
  padding: 0.5rem 0.25rem 1rem;
}
.yb-lead__kanban-col {
  flex: 0 0 220px;
  min-width: 220px;
  background: #F5F3F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.yb-lead__kanban-col-header {
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFCF9;
  border-bottom: 1px solid #E8E4E0;
}
.yb-lead__kanban-col-icon { font-size: 0.85rem; }
.yb-lead__kanban-col-name {
  font-size: 0.78rem;
  font-weight: 700;
  flex: 1;
  color: #0F0F0F;
}
.yb-lead__kanban-col-count {
  background: rgba(0,0,0,0.07);
  border-radius: 99px;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6F6A66;
}
.yb-lead__kanban-cards {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 60px;
  flex: 1;
  transition: background 0.15s;
}
.yb-lead__kanban-cards.is-drag-over {
  background: rgba(247,92,3,0.06);
  outline: 2px dashed #f75c03;
  outline-offset: -2px;
  border-radius: 8px;
}
.yb-lead__kanban-card {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  cursor: grab;
  transition: box-shadow 0.15s, transform 0.15s, opacity 0.15s;
}
.yb-lead__kanban-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.yb-lead__kanban-card.is-dragging {
  opacity: 0.4;
  transform: rotate(2deg);
  cursor: grabbing;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.yb-lead__kanban-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  gap: 0.25rem;
}
.yb-lead__kanban-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F0F0F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.yb-lead__kanban-card-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}
.yb-lead__kanban-followup {
  font-size: 0.7rem;
  color: #4CAF50;
  font-weight: 600;
}
.yb-lead__kanban-followup--overdue { color: #EF5350; }
.yb-lead__kanban-followup--today { color: #FF9800; }
.yb-lead__kanban-source {
  font-size: 0.68rem;
  color: #6F6A66;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

/* ── Enhanced Views — Responsive ── */
@media (max-width: 768px) {
  .yb-lead__th-lastcontact,
  .yb-lead__cell-lastcontact,
  .yb-lead__th-notes,
  .yb-lead__cell-notes,
  .yb-lead__th-app,
  .yb-lead__cell-app,
  .yb-lead__th-temp,
  .yb-lead__cell-temp { display: none; }
  .yb-lead__kanban-col { flex: 0 0 180px; min-width: 180px; }
  .yb-lead__exp-row { gap: 0.75rem; }
  .yb-lead__view-toggle { width: 100%; }
  .yb-lead__view-btn { flex: 1; justify-content: center; }
}

/* ── Archived leads toggle ── */
#yb-lead-archive-toggle.is-active {
  background: #795548;
  color: #fff;
  border-color: #795548;
}


/* -----------------------------------------------------------------
   YOGA MUSIC PAGE — ym- prefix
   Redesigned to match course.njk / concepts.njk premium patterns
   ----------------------------------------------------------------- */

/* ── Shared Eyebrow ── */
.ym-eyebrow {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  display: block;
}
.ym-eyebrow--center { text-align: center; }
.ym-eyebrow--on-dark { color: var(--yb-brand); }

/* ── Shared Section Title ── */
.ym-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #1C1C1C;
  margin: 0 0 16px;
  text-align: center;
}

.ym-section-title--light { color: #fff; }
.ym-section-sub {
  color: #6F6A66;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.ym-section-sub--light { color: rgba(255,255,255,0.6); }


/* ── Intro (centered prose, like yb-k-intro) ── */
.ym-intro {
  padding: clamp(80px, 8vw, 120px) 20px;
  background: #fff;
}
.ym-intro__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ym-intro__text {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
  color: #333;
  text-align: center;
  margin: 0 0 24px;
}
.ym-intro__text--secondary {
  color: #666;
  font-size: clamp(15px, 1.8vw, 18px);
}


/* ── Quote — animated line-by-line reveal + video (mirroring ybc-quote) ── */
.ym-quote {
  padding-block: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(247,92,3,.06), transparent 60%),
    #fff;
  overflow-x: hidden;
}
.ym-quote__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 28px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 920px) {
  .ym-quote__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
  }
  .ym-quote__media { grid-column: 1; grid-row: 1; }
  .ym-quote__copy { grid-column: 2; grid-row: 1; }
}
.ym-quote__media {
  margin: 0;
  width: 100%;
  max-width: clamp(320px, 36vw, 520px);
  margin-inline: auto;
}
.ym-quote__clip {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 34px rgba(0,0,0,.16);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.ym-quote__clip video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.ym-quote__frame {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(247,92,3,0.25);
  border-radius: 16px;
  pointer-events: none;
}
.ym-quote__heading {
  margin: 0;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 6vw, 60px);
  line-height: 1.08;
  text-wrap: balance;
}
.ym-quote__line {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(1.5px);
  font-weight: 650;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.2s ease;
}
.ym-quote__line.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}
.ym-quote__accent {
  color: var(--yb-brand);
  font-weight: 900;
}
.ym-quote__soft {
  color: #6F6A66;
  font-weight: 550;
}
.ym-quote__divider {
  display: block;
  width: clamp(52px, 8vw, 112px);
  height: 2px;
  background: linear-gradient(90deg, var(--yb-brand), rgba(247,92,3,.22));
  margin: clamp(10px, 1.5vw, 16px) 0 clamp(14px, 2vw, 22px);
  opacity: .9;
}
@media (max-width: 919px) {
  .ym-quote__copy { text-align: center; }
  .ym-quote__divider { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ym-quote__line { transition: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
}


/* ── Concept — split layout: text + phone video ── */
.ym-concept {
  background: #FFFCF9;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
}
.ym-concept__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ym-concept__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}
.ym-concept__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 24px;
}
.ym-concept__text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.75;
  margin: 0 0 16px;
}
.ym-concept__text strong { color: #1C1C1C; font-weight: 700; }
.ym-concept__ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.ym-concept__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Phone mock video */
.ym-phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8e2dc 0%, #d8d0c6 50%, #c8beb2 100%);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
}
.ym-phone video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 920px) {
  .ym-concept__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ym-concept__content { order: 2; text-align: center; }
  .ym-concept__visual { order: 1; }
  .ym-phone { max-width: 300px; }
  .ym-concept__ctas { justify-content: center; }
}
@media (max-width: 599px) {
  .ym-phone { max-width: 260px; }
  .ym-concept__ctas { flex-direction: column; }
  .ym-concept__ctas .yb-btn { justify-content: center; width: 100%; }
}


/* ── Energy Arc ── */
.ym-arc {
  background: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-arc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-arc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-arc__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-arc__box {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px);
}
.ym-arc__box-intro {
  text-align: center;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.ym-arc__box-intro h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 12px;
}
.ym-arc__box-intro p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.65;
  margin: 0;
}

/* SVG Curve */
.ym-arc__curve { margin-bottom: 32px; }
.ym-arc__peak-label {
  text-align: center;
  margin-bottom: 8px;
}
.ym-arc__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-arc__svg-wrap { width: 100%; }
.ym-arc__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-arc__labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-arc__label {
  font-size: 0.7rem;
  color: #6F6A66;
  font-weight: 600;
  text-align: center;
}
.ym-arc__label small {
  display: block;
  font-size: 0.6rem;
  opacity: 0.7;
  margin-top: 2px;
}

/* Phase Cards */
.ym-arc__phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.ym-arc__phase {
  background: #fff;
  border: 1px solid #EBE7E3;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-arc__phase:hover {
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.ym-arc__phase-time {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yb-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ym-arc__phase-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 8px;
}
.ym-arc__phase-bpm {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 6px;
}
.ym-arc__phase-bpm small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6F6A66;
}
.ym-arc__phase p {
  font-size: 0.85rem;
  color: #6F6A66;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 920px) {
  .ym-arc__phases { grid-template-columns: 1fr; gap: 12px; }
}


/* ── Design Principles — 4 feature cards ── */
.ym-prin {
  background: #F5F3F0;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
}
.ym-prin__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-prin__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-prin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.ym-prin__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-prin__card:hover {
  border-color: rgba(247,92,3,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-prin__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(247,92,3,0.1), rgba(247,92,3,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ym-prin__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 10px;
}
.ym-prin__card p {
  font-size: 0.92rem;
  color: #6F6A66;
  line-height: 1.6;
  margin: 0;
}


/* ── Listen Now — SoundCloud embed (dark section) ── */
.ym-listen {
  background: #1C1C1C;
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-listen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yb-brand), transparent);
}
.ym-listen__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ym-listen__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-listen__embed {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  padding: 4px;
}
.ym-listen__embed iframe {
  display: block;
  border-radius: 12px;
}


/* ── Testimonials — orange stroke cards (mirroring yb-k-reviews) ── */
.ym-test {
  padding: 100px 20px;
  background: #F5F3F0;
}
.ym-test__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-test__header {
  margin-bottom: clamp(40px, 5vw, 56px);
}
.ym-test__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ym-test__card {
  background: #FFFCF9;
  border: 1.5px solid var(--yb-brand);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-test__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-test__stars {
  color: var(--yb-brand);
  font-size: 18px;
  letter-spacing: 2px;
}
.ym-test__quote {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  flex: 1;
  font-style: italic;
  margin: 0;
  border: none;
  padding: 0;
}
.ym-test__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ym-test__footer strong {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ym-test__footer span {
  font-size: 12px;
  color: #999;
}
@media (max-width: 920px) {
  .ym-test__grid { grid-template-columns: 1fr; gap: 16px; }
  .ym-test__card { max-width: 480px; margin: 0 auto; width: 100%; }
}


/* ── For Artists & DJs — full dark technical section ── */
.ym-artists {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-artists__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-artists__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* Philosophy blockquote */
.ym-artists__quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--yb-brand);
  border-radius: 0 16px 16px 0;
  padding: clamp(24px, 4vw, 32px);
  margin-bottom: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.ym-artists__quote p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin: 0;
}
.ym-artists__quote strong { color: #fff; font-weight: 700; }

/* Arc container */
.ym-artists__arc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 48px;
}
.ym-artists__arc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yb-brand);
  margin: 0 0 24px;
  text-align: center;
}

/* Phase bars */
.ym-artists__bars {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.ym-artists__bar {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-artists__bar span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 4px;
}
.ym-artists__bar--warm { background: rgba(100,181,246,0.15); color: #64b5f6; }
.ym-artists__bar--peak { background: rgba(247,92,3,0.2); color: var(--yb-brand); }
.ym-artists__bar--cool { background: rgba(129,199,132,0.15); color: #81c784; }

/* Curve */
.ym-artists__curve { padding: 0 20px; }
.ym-artists__peak-label {
  text-align: center;
  margin-bottom: 4px;
}
.ym-artists__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ym-artists__svg-wrap { width: 100%; }
.ym-artists__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-artists__side-labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-artists__side-labels span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.ym-artists__side-labels small {
  display: block;
  font-size: 0.55rem;
  opacity: 0.7;
  margin-top: 2px;
}
.ym-artists__side-labels--right { text-align: right; }

/* Timeline */
.ym-artists__timeline {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ym-artists__timeline span {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}

/* 6-Segment Cards */
.ym-artists__segments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ym-artists__seg {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ym-artists__seg:hover {
  background: rgba(247,92,3,0.08);
  border-color: rgba(247,92,3,0.2);
}
.ym-artists__seg-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ym-artists__seg-bpm {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 4px;
}
.ym-artists__seg-bpm small {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.ym-artists__seg-desc {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.45);
}

/* Rules Grid */
.ym-artists__rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.ym-artists__rule {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ym-artists__rule:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-2px);
}
.ym-artists__rule-icon {
  width: 40px;
  height: 40px;
  background: rgba(247,92,3,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yb-brand);
  margin-bottom: 14px;
}
.ym-artists__rule h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ym-artists__rule ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ym-artists__rule li {
  padding: 6px 0 6px 18px;
  position: relative;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ym-artists__rule li:last-child { border-bottom: none; }
.ym-artists__rule li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--yb-brand);
  font-weight: 700;
}
.ym-artists__rule--avoid li::before { content: '\00D7'; }
.ym-artists__rule--prefer li::before { content: '\2713'; }

/* Tech Specs */
.ym-artists__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: rgba(0,0,0,0.3);
  border-radius: 14px;
  margin-bottom: 48px;
}
.ym-artists__spec { text-align: center; }
.ym-artists__spec-val {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}
.ym-artists__spec-val small { color: var(--yb-brand); }
.ym-artists__spec-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Collaboration CTA */
.ym-artists__collab {
  text-align: center;
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(247,92,3,0.12), rgba(247,92,3,0.04));
  border: 1px solid rgba(247,92,3,0.3);
  border-radius: 22px;
}
.ym-artists__collab h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.ym-artists__collab p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.ym-artists__collab-or {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45) !important;
}
.ym-artists__collab-or a {
  color: var(--yb-brand);
  text-decoration: none;
  font-weight: 700;
}

/* Artists responsive */
@media (max-width: 920px) {
  .ym-artists__segments { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .ym-artists__bars { flex-direction: column; gap: 6px; }
  .ym-artists__segments { grid-template-columns: repeat(2, 1fr); }
  .ym-artists__specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .ym-artists__segments { gap: 6px; }
  .ym-artists__seg { padding: 12px 6px; }
  .ym-artists__specs { gap: 16px; padding: 20px; }
  .ym-artists__side-labels { display: none; }
}


/* ── FAQ — button toggle accordion (mirroring ybc-faq-section) ── */
.ym-faq {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  background: #FFFCF9;
  position: relative;
}
.ym-faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-faq__inner {
  max-width: 780px;
  margin: 0 auto;
}
.ym-faq__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ym-faq__item {
  background: #F5F3F0;
  border-radius: 14px;
  overflow: hidden;
}
.ym-faq__toggle {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.4;
  font-family: inherit;
}
.ym-faq__toggle span:first-child { flex: 1 1 auto; }
.ym-faq__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--yb-brand);
  position: relative;
  transition: transform 0.3s ease;
}
.ym-faq__icon::before,
.ym-faq__icon::after {
  content: "";
  position: absolute;
  background: #fff;
  inset: 50%;
  transform: translate(-50%, -50%);
}
.ym-faq__icon::before { width: 14px; height: 2px; }
.ym-faq__icon::after { width: 2px; height: 14px; transition: opacity 0.2s ease; }
.ym-faq__toggle[aria-expanded="true"] .ym-faq__icon {
  transform: rotate(45deg);
}
.ym-faq__panel {
  padding: 0 24px 20px;
}
.ym-faq__panel p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.7;
  margin: 0;
}
.ym-faq__contact {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #6F6A66;
}
.ym-faq__contact a {
  color: var(--yb-brand);
  text-decoration: underline;
  font-weight: 700;
}


/* ── CTA — Orange gradient final section ── */
.ym-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.ym-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}
.ym-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.ym-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 32px;
}
.ym-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 599px) {
  .ym-cta__buttons { flex-direction: column; align-items: center; }
  .ym-cta__buttons .yb-btn { width: 100%; max-width: 280px; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════
   ACCOMMODATION PAGE  (yba-*) — overrides / additions
   ═══════════════════════════════════════════════════════════ */
.yba-course-card__img img {
  border-radius: 12px 12px 0 0;
}

.yba-hotel-card__img img {
  border-radius: 12px 12px 0 0;
}


/* ═══════════════════════════════════════════════════════════════
   YOGA PHOTOGRAPHY PAGE — Design System (yphoto-)
   Uses brand patterns from /samples/ — buttons, cards, accordions,
   eyebrows, lists, quotes. All colours via CSS variables.
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared reveal animation ── */
.yphoto-reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
  will-change: opacity, transform, filter;
}
.yphoto-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.yphoto-delay-1 { transition-delay: .05s; }
.yphoto-delay-2 { transition-delay: .14s; }
.yphoto-delay-3 { transition-delay: .28s; }
.yphoto-delay-4 { transition-delay: .42s; }
.yphoto-delay-5 { transition-delay: .54s; }
.yphoto-delay-6 { transition-delay: .66s; }

@media (prefers-reduced-motion: reduce) {
  .yphoto-reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ── Accent helper ── */
.yphoto-accent { color: var(--yb-brand); }


/* ─────────────────────────────────────────
   Purpose Statement (dark cinematic quote)
   Pattern: DS Section 18 — Dark Cinematic Quote
   ───────────────────────────────────────── */
.yphoto-purpose {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.yphoto-purpose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 500px at 50% 50%, rgba(247,92,3,.10), transparent 70%);
  pointer-events: none;
}
.yphoto-purpose__inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.yphoto-purpose__text {
  margin: 0 0 24px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.yphoto-purpose__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .25em;
}
.yphoto-purpose__dot { opacity: .55; }


/* ─────────────────────────────────────────
   Session Details — DS Split Layout
   Pattern: DS Section 11 (Split) + DS Section 4 (Card)
   ───────────────────────────────────────── */
.yphoto-session {
  background: #FFFCF9;
  padding: clamp(60px, 8vw, 100px) 20px;
  overflow: hidden;
}
.yphoto-session__wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.yphoto-session__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
@media (min-width: 900px) {
  .yphoto-session__grid {
    grid-template-columns: 1.1fr .9fr;
  }
}

/* Image side */
.yphoto-session__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F3F0;
  min-height: clamp(400px, 55vw, 650px);
}
.yphoto-session__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  transition: transform .6s ease;
}
.yphoto-session__media:hover .yphoto-session__img {
  transform: scale(1.03);
}
.yphoto-session__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.30) 100%);
  pointer-events: none;
}
.yphoto-session__badge {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  color: #fff;
}
.yphoto-session__badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 100px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 0.7rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.yphoto-session__badge-loc {
  font-weight: 700;
  font-size: 0.7rem;
  opacity: .9;
  white-space: nowrap;
}

/* Content side — DS Card pattern */
.yphoto-session__content {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease;
}
.yphoto-session__content:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

/* Eyebrow — DS Section 12 (with dot) */
.yphoto-session__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--yb-brand);
  font-weight: 700;
}
.yphoto-session__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yb-brand);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.yphoto-session__title {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.yphoto-session__lead {
  margin: 0 0 20px;
  color: #6F6A66;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Highlight mini cards */
.yphoto-session__highlights {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
@media (min-width: 480px) {
  .yphoto-session__highlights { grid-template-columns: repeat(3, 1fr); }
}
.yphoto-session__hl {
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  padding: 14px;
  background: #FFFCF9;
  transition: border-color .2s;
}
.yphoto-session__hl:hover { border-color: rgba(247,92,3,.3); }
.yphoto-session__hl-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.yphoto-session__hl-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6F6A66;
}
.yphoto-session__hl-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1C1C1C;
  white-space: nowrap;
}
.yphoto-session__hl-desc {
  margin: 0;
  color: #6F6A66;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Feature list — DS Section 17 (checkmarks) */
.yphoto-session__features {
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid #E8E4E0;
}
.yphoto-session__features-title {
  margin: 0 0 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #1C1C1C;
}
.yphoto-session__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.yphoto-session__list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: #6F6A66;
  font-size: 0.9rem;
  line-height: 1.6;
}
.yphoto-session__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--yb-brand);
  font-weight: 700;
}

/* CTAs — DS Section 3 buttons (.yb-btn used directly in template) */
.yphoto-session__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.yphoto-session__note {
  margin: 12px 0 0;
  color: #6F6A66;
  font-size: 0.8rem;
  line-height: 1.5;
}
@media (max-width: 899px) {
  .yphoto-session__media { min-height: 350px; }
}


/* ─────────────────────────────────────────
   Prep + FAQ — Two Side-by-Side Cards
   Pattern: DS Section 4 (Card) + DS Section 15 (Accordion)
   ───────────────────────────────────────── */
.yphoto-prepfaq {
  background: #F5F3F0;
  padding: clamp(60px, 8vw, 100px) 20px;
}
.yphoto-prepfaq__wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.yphoto-prepfaq__grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}
@media (min-width: 900px) {
  .yphoto-prepfaq__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Shared card — DS Card pattern */
.yphoto-prepfaq__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.yphoto-prepfaq__card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.yphoto-prepfaq__card-head {
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) 0;
}

/* Eyebrow — DS Section 12 (with dot) */
.yphoto-prepfaq__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--yb-brand);
  font-weight: 700;
}
.yphoto-prepfaq__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yb-brand);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.yphoto-prepfaq__card-title {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.yphoto-prepfaq__card-desc {
  margin: 0 0 16px;
  color: #6F6A66;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Card footer */
.yphoto-prepfaq__card-foot {
  padding: 16px clamp(24px, 3vw, 32px) clamp(24px, 3vw, 28px);
  margin-top: auto;
}
.yphoto-prepfaq__card-foot--split {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.yphoto-prepfaq__note {
  margin: 10px 0 0;
  color: #6F6A66;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Prep list — icon + text items */
.yphoto-prep__list {
  list-style: none;
  padding: 0 clamp(24px, 3vw, 32px);
  margin: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.yphoto-prep__item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #F5F3F0;
  transition: background .2s, transform .2s;
}
.yphoto-prep__item:hover {
  background: #F0EDEA;
  transform: translateY(-2px);
}
.yphoto-prep__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247,92,3,.08);
  border: 1px solid rgba(247,92,3,.18);
  font-size: 18px;
  flex-shrink: 0;
}
.yphoto-prep__label {
  display: block;
  font-weight: 700;
  color: #1C1C1C;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.yphoto-prep__desc {
  margin: 0;
  color: #6F6A66;
  font-size: 0.85rem;
  line-height: 1.55;
}

/* FAQ Accordion — DS Section 15 (Separate Rounded Items with Orange Circle) */
.yphoto-faq__list {
  padding: 0 clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.yphoto-faq__item {
  background: #F5F3F0;
  border-radius: 12px;
  overflow: hidden;
}
.yphoto-faq__toggle {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.4;
  font-family: inherit;
  transition: background .2s;
}
.yphoto-faq__toggle:hover {
  background: #F0EDEA;
}
.yphoto-faq__toggle > span:first-child { flex: 1 1 auto; }

/* Orange circle icon — DS accordion pattern */
.yphoto-faq__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--yb-brand);
  background: transparent;
  position: relative;
  transition: all .3s ease;
}
.yphoto-faq__icon::before,
.yphoto-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--yb-brand);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.yphoto-faq__icon::before { width: 12px; height: 2px; }
.yphoto-faq__icon::after { width: 2px; height: 12px; transition: opacity .2s ease; }

/* Open state — fill orange, icon white, rotate */
.yphoto-faq__item.is-open .yphoto-faq__icon {
  background: var(--yb-brand);
  transform: rotate(45deg);
}
.yphoto-faq__item.is-open .yphoto-faq__icon::before,
.yphoto-faq__item.is-open .yphoto-faq__icon::after {
  background: #fff;
}

/* Panel — hidden by default, shown when .is-open */
.yphoto-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.yphoto-faq__item.is-open .yphoto-faq__panel {
  max-height: 300px;
}
.yphoto-faq__panel p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.9rem;
  color: #6F6A66;
  line-height: 1.7;
}


/* ─────────────────────────────────────────
   Big Photo + Quote — Full Portrait Height
   Pattern: DS Section 31A (Dark Cinematic Photo Hero)
   ───────────────────────────────────────── */
.yphoto-quote {
  background: #FFFCF9;
  padding: clamp(40px, 6vw, 80px) 20px;
  overflow: hidden;
}
.yphoto-quote__wrap {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.yphoto-quote__img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.yphoto-quote__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: clamp(20px, 4vw, 40px);
  padding-bottom: 16%;
  background: linear-gradient(
    90deg,
    transparent 30%,
    rgba(0,0,0,.08) 60%,
    rgba(0,0,0,.20) 100%
  );
}

/* Glass panel overlay */
.yphoto-quote__glass {
  max-width: min(500px, 50%);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(235,231,227,.7);
  border-radius: 12px;
  padding: clamp(18px, 2.5vw, 28px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
  position: relative;
}
.yphoto-quote__bar {
  position: absolute;
  left: -8px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 999px;
  background: var(--yb-brand);
}
.yphoto-quote__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--yb-brand);
  font-weight: 700;
}
.yphoto-quote__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yb-brand);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}
.yphoto-quote__headline {
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: #1C1C1C;
}
.yphoto-quote__micro {
  margin-top: 12px;
  color: #6F6A66;
  font-size: 0.75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 700;
}
@media (max-width: 640px) {
  .yphoto-quote__overlay {
    align-items: flex-end;
  }
  .yphoto-quote__glass {
    max-width: 100%;
    background: rgba(255,255,255,.92);
  }
  .yphoto-quote__bar { display: none; }
  .yphoto-quote__headline { font-size: clamp(1rem, 5vw, 1.3rem); }
}


/* ─────────────────────────────────────────
   Models Section Header
   Pattern: DS Section 29 (Dark Cinematic Hero)
   ───────────────────────────────────────── */
.yphoto-models-header {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 20px clamp(30px, 4vw, 50px);
  text-align: center;
}
.yphoto-models-header__inner {
  max-width: 800px;
  margin: 0 auto;
}
.yphoto-models-header__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--yb-brand);
  margin-bottom: 16px;
}
.yphoto-models-header__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #FDFBF7 0%, #ff9966 50%, var(--yb-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.yphoto-models-header__subtitle {
  color: rgba(255,255,255,.6);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────
   Model Showcase Cards (3 variations)
   Pattern: DS Section 32 (A/B/C)
   ───────────────────────────────────────── */
.yphoto-model {
  background: #0F0F0F;
  padding: clamp(30px, 4vw, 50px) 20px;
  overflow: hidden;
}
.yphoto-model__inner {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #161616;
  padding: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 50px);
}
.yphoto-model__intro {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.yphoto-model__portrait {
  width: 260px;
  min-width: 260px;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.yphoto-model__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yphoto-model__info {
  padding-top: 16px;
  color: #fff;
}
.yphoto-model__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--yb-brand);
  margin-bottom: 10px;
}
.yphoto-model__name {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.yphoto-model__bio {
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 450px;
}
.yphoto-model__links {
  display: flex;
  gap: 16px;
}
.yphoto-model__links a {
  color: var(--yb-brand);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.yphoto-model__links a:hover { opacity: 0.7; }
/* Gallery */
.yphoto-model__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
.yphoto-model__photo {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #222;
}
.yphoto-model__photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.yphoto-model__photo:hover img { transform: scale(1.03); }

/* Variation A: Classic — portrait left, info right, gallery below as collage */
.yphoto-model--a .yphoto-model__photo--1 { width: 58%; }
.yphoto-model--a .yphoto-model__photo--2 { width: calc(42% - 16px); margin-top: -40px; }
.yphoto-model--a .yphoto-model__photo--3 { width: 40%; margin-left: 10%; margin-top: -20px; }

/* Variation B: Hero Portrait Top — centered portrait, info + gallery below */
.yphoto-model--b .yphoto-model__intro {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.yphoto-model--b .yphoto-model__portrait {
  width: 100%;
  max-width: 700px;
}
.yphoto-model--b .yphoto-model__bio {
  max-width: 550px;
  margin: 0 auto 20px;
}
.yphoto-model--b .yphoto-model__links { justify-content: center; }
.yphoto-model--b .yphoto-model__gallery { justify-content: center; }
.yphoto-model--b .yphoto-model__photo--1 { width: 30%; margin-top: 20px; }
.yphoto-model--b .yphoto-model__photo--2 { width: 42%; }
.yphoto-model--b .yphoto-model__photo--3 { width: 55%; margin-top: -30px; }

/* Variation C: Side-by-side editorial — portrait with name overlay, asymmetric gallery */
.yphoto-model--c .yphoto-model__intro {
  flex-direction: row-reverse;
}
.yphoto-model--c .yphoto-model__gallery { justify-content: space-between; }
.yphoto-model--c .yphoto-model__photo--1 { width: 100%; margin-bottom: -30px; }
.yphoto-model--c .yphoto-model__photo--2 { width: 48%; }
.yphoto-model--c .yphoto-model__photo--3 { width: 48%; margin-top: 30px; }

/* Mobile: stack model cards */
@media (max-width: 768px) {
  .yphoto-model__intro {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }
  .yphoto-model__portrait {
    width: 100% !important;
    max-width: 400px;
    min-width: 0 !important;
  }
  .yphoto-model__bio { max-width: 100%; }
  .yphoto-model__links { justify-content: center; }
  .yphoto-model__gallery { flex-direction: column; }
  .yphoto-model__photo { width: 100% !important; margin: 0 !important; }
}


/* ─────────────────────────────────────────
   Interstitial Quote Sections
   Pattern: DS Section 18 (Dark Cinematic Quote) + overlay
   ───────────────────────────────────────── */
.yphoto-interstitial {
  background: #0F0F0F;
  padding: clamp(30px, 4vw, 50px) 20px;
}
.yphoto-interstitial__inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: clamp(500px, 70vw, 800px);
}
.yphoto-interstitial__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.yphoto-interstitial__inner:hover .yphoto-interstitial__img {
  transform: scale(1.03);
}
.yphoto-interstitial__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 60px);
  color: #fff;
}
.yphoto-interstitial__quote {
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 0 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.yphoto-interstitial__quote::before {
  content: "\201C";
  display: block;
  font-size: 3em;
  line-height: .6;
  color: var(--yb-brand);
  margin-bottom: 8px;
  opacity: .8;
}
@media (max-width: 640px) {
  .yphoto-interstitial__inner { min-height: clamp(450px, 110vw, 700px); }
  .yphoto-interstitial__quote { font-size: clamp(1.2rem, 6vw, 1.8rem); }
}


/* ── Energy Arc ── */
.ym-arc {
  background: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-arc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-arc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-arc__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-arc__box {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px);
}
.ym-arc__box-intro {
  text-align: center;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.ym-arc__box-intro h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 12px;
}
.ym-arc__box-intro p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.65;
  margin: 0;
}

/* SVG Curve */
.ym-arc__curve { margin-bottom: 32px; }
.ym-arc__peak-label {
  text-align: center;
  margin-bottom: 8px;
}
.ym-arc__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-arc__svg-wrap { width: 100%; }
.ym-arc__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-arc__labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-arc__label {
  font-size: 0.7rem;
  color: #6F6A66;
  font-weight: 600;
  text-align: center;
}
.ym-arc__label small {
  display: block;
  font-size: 0.6rem;
  opacity: 0.7;
  margin-top: 2px;
}

/* Phase Cards */
.ym-arc__phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.ym-arc__phase {
  background: #fff;
  border: 1px solid #EBE7E3;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-arc__phase:hover {
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.ym-arc__phase-time {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yb-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ym-arc__phase-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 8px;
}
.ym-arc__phase-bpm {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 6px;
}
.ym-arc__phase-bpm small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6F6A66;
}
.ym-arc__phase p {
  font-size: 0.85rem;
  color: #6F6A66;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 920px) {
  .ym-arc__phases { grid-template-columns: 1fr; gap: 12px; }
}


/* ── Design Principles — 4 feature cards ── */
.ym-prin {
  background: #F5F3F0;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
}
.ym-prin__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-prin__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-prin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.ym-prin__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-prin__card:hover {
  border-color: rgba(247,92,3,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-prin__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(247,92,3,0.1), rgba(247,92,3,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ym-prin__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 10px;
}
.ym-prin__card p {
  font-size: 0.92rem;
  color: #6F6A66;
  line-height: 1.6;
  margin: 0;
}


/* ── Listen Now — SoundCloud embed (dark section) ── */
.ym-listen {
  background: #1C1C1C;
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-listen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yb-brand), transparent);
}
.ym-listen__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ym-listen__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-listen__embed {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  padding: 4px;
}
.ym-listen__embed iframe {
  display: block;
  border-radius: 12px;
}


/* ── Testimonials — orange stroke cards (mirroring yb-k-reviews) ── */
.ym-test {
  padding: 100px 20px;
  background: #F5F3F0;
}
.ym-test__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-test__header {
  margin-bottom: clamp(40px, 5vw, 56px);
}
.ym-test__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ym-test__card {
  background: #FFFCF9;
  border: 1.5px solid var(--yb-brand);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-test__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-test__stars {
  color: var(--yb-brand);
  font-size: 18px;
  letter-spacing: 2px;
}
.ym-test__quote {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  flex: 1;
  font-style: italic;
  margin: 0;
  border: none;
  padding: 0;
}
.ym-test__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ym-test__footer strong {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ym-test__footer span {
  font-size: 12px;
  color: #999;
}
@media (max-width: 920px) {
  .ym-test__grid { grid-template-columns: 1fr; gap: 16px; }
  .ym-test__card { max-width: 480px; margin: 0 auto; width: 100%; }
}


/* ── For Artists & DJs — full dark technical section ── */
.ym-artists {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-artists__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-artists__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* Philosophy blockquote */
.ym-artists__quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--yb-brand);
  border-radius: 0 16px 16px 0;
  padding: clamp(24px, 4vw, 32px);
  margin-bottom: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.ym-artists__quote p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin: 0;
}
.ym-artists__quote strong { color: #fff; font-weight: 700; }

/* Arc container */
.ym-artists__arc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 48px;
}
.ym-artists__arc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yb-brand);
  margin: 0 0 24px;
  text-align: center;
}

/* Phase bars */
.ym-artists__bars {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.ym-artists__bar {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-artists__bar span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 4px;
}
.ym-artists__bar--warm { background: rgba(100,181,246,0.15); color: #64b5f6; }
.ym-artists__bar--peak { background: rgba(247,92,3,0.2); color: var(--yb-brand); }
.ym-artists__bar--cool { background: rgba(129,199,132,0.15); color: #81c784; }

/* Curve */
.ym-artists__curve { padding: 0 20px; }
.ym-artists__peak-label {
  text-align: center;
  margin-bottom: 4px;
}
.ym-artists__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ym-artists__svg-wrap { width: 100%; }
.ym-artists__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-artists__side-labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-artists__side-labels span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.ym-artists__side-labels small {
  display: block;
  font-size: 0.55rem;
  opacity: 0.7;
  margin-top: 2px;
}
.ym-artists__side-labels--right { text-align: right; }

/* Timeline */
.ym-artists__timeline {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ym-artists__timeline span {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}

/* 6-Segment Cards */
.ym-artists__segments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ym-artists__seg {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ym-artists__seg:hover {
  background: rgba(247,92,3,0.08);
  border-color: rgba(247,92,3,0.2);
}
.ym-artists__seg-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ym-artists__seg-bpm {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 4px;
}
.ym-artists__seg-bpm small {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.ym-artists__seg-desc {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.45);
}

/* Rules Grid */
.ym-artists__rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.ym-artists__rule {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ym-artists__rule:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-2px);
}
.ym-artists__rule-icon {
  width: 40px;
  height: 40px;
  background: rgba(247,92,3,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yb-brand);
  margin-bottom: 14px;
}
.ym-artists__rule h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ym-artists__rule ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ym-artists__rule li {
  padding: 6px 0 6px 18px;
  position: relative;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ym-artists__rule li:last-child { border-bottom: none; }
.ym-artists__rule li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--yb-brand);
  font-weight: 700;
}
.ym-artists__rule--avoid li::before { content: '\00D7'; }
.ym-artists__rule--prefer li::before { content: '\2713'; }

/* Tech Specs */
.ym-artists__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: rgba(0,0,0,0.3);
  border-radius: 14px;
  margin-bottom: 48px;
}
.ym-artists__spec { text-align: center; }
.ym-artists__spec-val {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}
.ym-artists__spec-val small { color: var(--yb-brand); }
.ym-artists__spec-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Collaboration CTA */
.ym-artists__collab {
  text-align: center;
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(247,92,3,0.12), rgba(247,92,3,0.04));
  border: 1px solid rgba(247,92,3,0.3);
  border-radius: 22px;
}
.ym-artists__collab h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.ym-artists__collab p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.ym-artists__collab-or {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45) !important;
}
.ym-artists__collab-or a {
  color: var(--yb-brand);
  text-decoration: none;
  font-weight: 700;
}

/* Artists responsive */
@media (max-width: 920px) {
  .ym-artists__segments { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .ym-artists__bars { flex-direction: column; gap: 6px; }
  .ym-artists__segments { grid-template-columns: repeat(2, 1fr); }
  .ym-artists__specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .ym-artists__segments { gap: 6px; }
  .ym-artists__seg { padding: 12px 6px; }
  .ym-artists__specs { gap: 16px; padding: 20px; }
  .ym-artists__side-labels { display: none; }
}


/* ── FAQ — button toggle accordion (mirroring ybc-faq-section) ── */
.ym-faq {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  background: #FFFCF9;
  position: relative;
}
.ym-faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-faq__inner {
  max-width: 780px;
  margin: 0 auto;
}
.ym-faq__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ym-faq__item {
  background: #F5F3F0;
  border-radius: 14px;
  overflow: hidden;
}
.ym-faq__toggle {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.4;
  font-family: inherit;
}
.ym-faq__toggle span:first-child { flex: 1 1 auto; }
.ym-faq__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--yb-brand);
  position: relative;
  transition: transform 0.3s ease;
}
.ym-faq__icon::before,
.ym-faq__icon::after {
  content: "";
  position: absolute;
  background: #fff;
  inset: 50%;
  transform: translate(-50%, -50%);
}
.ym-faq__icon::before { width: 14px; height: 2px; }
.ym-faq__icon::after { width: 2px; height: 14px; transition: opacity 0.2s ease; }
.ym-faq__toggle[aria-expanded="true"] .ym-faq__icon {
  transform: rotate(45deg);
}
.ym-faq__panel {
  padding: 0 24px 20px;
}
.ym-faq__panel p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.7;
  margin: 0;
}
.ym-faq__contact {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #6F6A66;
}
.ym-faq__contact a {
  color: var(--yb-brand);
  text-decoration: underline;
  font-weight: 700;
}


/* ── CTA — Orange gradient final section ── */
.ym-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.ym-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}
.ym-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.ym-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 32px;
}
.ym-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 599px) {
  .ym-cta__buttons { flex-direction: column; align-items: center; }
  .ym-cta__buttons .yb-btn { width: 100%; max-width: 280px; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════
   ACCOMMODATION PAGE  (yba-*) — overrides / additions
   ═══════════════════════════════════════════════════════════ */
.yba-course-card__img img {
  border-radius: 12px 12px 0 0;
}

.yba-hotel-card__img img {
  border-radius: 12px 12px 0 0;
  transform: scale(1.01);
  transition: transform .6s ease;
}


/* ═══════════════════════════════════════════════════════════
   APPOINTMENT BOOKING MODAL (yb-book-*)
   Calendly replacement — 4-step booking flow
   ═══════════════════════════════════════════════════════════ */

/* Modal overlay */
.yb-book[aria-hidden="true"] { display: none; }
.yb-book[aria-hidden="false"] {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.yb-book__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.yb-book__box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: ybBookFadeIn 0.3s ease;
}
@keyframes ybBookFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.yb-book__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6F6A66;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.yb-book__close:hover { background: #F5F3F0; }

/* Step indicator */
.yb-book__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}
.yb-book__step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #E8E4E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #999;
  background: #fff;
  transition: all 0.3s;
}
.yb-book__step-dot.is-active {
  border-color: #f75c03;
  color: #fff;
  background: #f75c03;
}
.yb-book__step-dot.is-current {
  box-shadow: 0 0 0 4px rgba(247, 92, 3, 0.2);
}
.yb-book__step-line {
  width: 40px;
  height: 2px;
  background: #E8E4E0;
  transition: background 0.3s;
}
.yb-book__step-line.is-active { background: #f75c03; }

/* Panel (step content) */
.yb-book__panel { display: none; }
.yb-book__panel.is-active { display: block; animation: ybBookFadeIn 0.25s ease; }

/* Titles */
.yb-book__title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 4px;
  text-align: center;
}
.yb-book__subtitle {
  font-size: 14px;
  color: #6F6A66;
  text-align: center;
  margin: 0 0 20px;
}
.yb-book__back {
  background: none;
  border: none;
  color: #f75c03;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  font-family: inherit;
}
.yb-book__back:hover { text-decoration: underline; }

/* Appointment type buttons */
.yb-book__types {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.yb-book__type-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
}
.yb-book__type-btn:hover { border-color: #f75c03; background: #FFF8F5; }
.yb-book__type-btn.is-active {
  border-color: #f75c03;
  background: #FFF8F5;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.1);
}
.yb-book__type-icon { font-size: 20px; }
.yb-book__type-name { flex: 1; font-weight: 600; }
.yb-book__type-dur { font-size: 12px; color: #999; }

/* Calendar */
.yb-book__calendar { margin-bottom: 16px; }
.yb-book__cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.yb-book__cal-month {
  font-size: 16px;
  font-weight: bold;
}
.yb-book__cal-arrow {
  background: none;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}
.yb-book__cal-arrow:hover { border-color: #f75c03; color: #f75c03; }

.yb-book__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.yb-book__cal-dayname {
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: #999;
  padding: 4px 0;
  text-transform: uppercase;
}
.yb-book__cal-cell {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.yb-book__cal-cell:hover:not(.yb-book__cal-cell--disabled):not(.yb-book__cal-cell--empty) {
  background: #FFF8F5;
  color: #f75c03;
}
.yb-book__cal-cell--empty { visibility: hidden; }
.yb-book__cal-cell--disabled {
  color: #ccc;
  cursor: default;
  pointer-events: none;
}
.yb-book__cal-cell--today {
  font-weight: bold;
  border: 1.5px solid #f75c03;
}
.yb-book__cal-cell--selected {
  background: #f75c03 !important;
  color: #fff !important;
  font-weight: bold;
}

/* Time slots */
.yb-book__slots { min-height: 120px; }
.yb-book__loading {
  text-align: center;
  padding: 32px;
  color: #999;
}
.yb-book__slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.yb-book__slot-btn {
  padding: 10px;
  border: 1.5px solid #E8E4E0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.15s;
  text-align: center;
}
.yb-book__slot-btn:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: #FFF8F5;
}
.yb-book__slot-btn.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}

/* Date display label */
.yb-book__date-label {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin: 0 0 16px;
  font-weight: 600;
}

/* Next/Submit buttons */
.yb-book__next-btn,
.yb-book__submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
}
.yb-book__next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Form */
.yb-book__form { margin-top: 16px; }
.yb-book__field {
  margin-bottom: 14px;
}
.yb-book__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.yb-book__field input,
.yb-book__field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #f75c03;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
}
.yb-book__field input:focus,
.yb-book__field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.15);
}

/* Summary card */
.yb-book__summary-card {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 16px;
}
.yb-book__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #E8E4E0;
}
.yb-book__summary-row:last-child { border-bottom: none; }
.yb-book__summary-label { color: #999; }

/* Success */
.yb-book__success {
  text-align: center;
  padding: 20px 0;
}
.yb-book__success-icon {
  font-size: 56px;
  margin-bottom: 12px;
}
.yb-book__success-text {
  color: #666;
  margin: 8px 0 16px;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 520px) {
  .yb-book__box { padding: 24px 20px; border-radius: 12px; }
  .yb-book__slot-grid { grid-template-columns: repeat(2, 1fr); }
  .yb-book__cal-cell { padding: 6px 2px; font-size: 13px; }
  .yb-book__type-btn { padding: 10px 12px; }
}


/* ─── Appointment Request Mode additions ─── */
.yb-book__request-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFF8F0;
  border: 1px solid #f75c03;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #f75c03;
  font-weight: 600;
}
.yb-book__request-notice {
  display: flex;
  align-items: center;
  background: #FFF8F0;
  border: 1px dashed #f75c03;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #6F6A66;
  line-height: 1.4;
}
.yb-book__req-chip {
  display: inline-block;
  background: #f75c03;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}
.yb-book__type-req {
  display: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f75c03;
  background: #FFF8F0;
  border: 1px solid #f75c03;
  padding: 1px 8px;
  border-radius: 20px;
}
.yb-book__type-btn[data-type="intro-class"] .yb-book__type-req {
  display: inline-block;
}


/* ═══════════════════════════════════════════════════════════
   PHOTO SESSION REQUEST MODAL (yb-pbook__*)
   ═══════════════════════════════════════════════════════════ */
.yb-pbook[aria-hidden="true"] { display: none; }
.yb-pbook[aria-hidden="false"] {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
}
.yb-pbook__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.yb-pbook__box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 520px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 1;
}
.yb-pbook__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.yb-pbook__close:hover { background: #F5F3F0; }

/* Step dots */
.yb-pbook__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
}
.yb-pbook__step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #E8E4E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  background: #fff;
  transition: all 0.2s;
}
.yb-pbook__step-dot.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}
.yb-pbook__step-line {
  width: 40px;
  height: 2px;
  background: #E8E4E0;
  transition: background 0.2s;
}
.yb-pbook__step-line.is-active { background: #f75c03; }

/* Panels */
.yb-pbook__panel { display: none; }
.yb-pbook__panel.is-active { display: block; animation: ybBookFadeIn 0.25s ease; }

.yb-pbook__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #0F0F0F;
}
.yb-pbook__subtitle {
  font-size: 14px;
  color: #6F6A66;
  margin: 0 0 20px;
}

/* Request badge */
.yb-pbook__request-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #6F6A66;
  font-weight: 600;
}

/* Back button */
.yb-pbook__back {
  background: none;
  border: none;
  color: #6F6A66;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  display: inline-block;
}
.yb-pbook__back:hover { text-decoration: underline; }

/* Form fields */
.yb-pbook__form { margin-top: 0; }
.yb-pbook__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
.yb-pbook__field {
  margin-bottom: 12px;
}
.yb-pbook__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0F0F0F;
  margin-bottom: 4px;
}
.yb-pbook__field input,
.yb-pbook__field textarea,
.yb-pbook__field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #f75c03;
  border-radius: 12px;
  font-size: 15px;
  color: #0F0F0F;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.yb-pbook__field input:focus,
.yb-pbook__field textarea:focus,
.yb-pbook__field select:focus {
  outline: none;
  border-color: #f75c03;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}

/* Date/time suggestion slots */
.yb-pbook__slots-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  margin-top: 4px;
}
.yb-pbook__slots-title {
  font-size: 14px;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}
.yb-pbook__slots-hint {
  font-size: 12px;
  color: #999;
  margin: 0;
}
.yb-pbook__slot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #F5F3F0;
  border-radius: 10px;
  border: 1px solid #E8E4E0;
}
.yb-pbook__slot-row--required {
  border-color: #f75c03;
  background: #FFF8F0;
}
.yb-pbook__slot-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f75c03;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.yb-pbook__slot-row:not(.yb-pbook__slot-row--required) .yb-pbook__slot-num {
  background: #E8E4E0;
  color: #6F6A66;
}
.yb-pbook__slot-fields {
  display: flex;
  gap: 8px;
  flex: 1;
}
.yb-pbook__slot-date,
.yb-pbook__slot-time {
  padding: 8px 10px;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0F0F0F;
  background: #fff;
  flex: 1;
}
.yb-pbook__slot-date:focus,
.yb-pbook__slot-time:focus {
  outline: none;
  border-color: #f75c03;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}

/* Next / Submit buttons */
.yb-pbook__next-btn,
.yb-pbook__submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
}

/* Summary */
.yb-pbook__summary-card {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 4px 0;
  margin-bottom: 12px;
}
.yb-pbook__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #E8E4E0;
  font-size: 14px;
}
.yb-pbook__summary-row:last-child { border-bottom: none; }
.yb-pbook__summary-label { color: #999; }

.yb-pbook__summary-slots {
  margin-top: 12px;
}
.yb-pbook__summary-slots-title {
  font-size: 14px;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 8px;
}
.yb-pbook__summary-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #FFF8F0;
  border: 1px solid #f75c03;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}
.yb-pbook__summary-slot-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f75c03;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Success */
.yb-pbook__success {
  text-align: center;
  padding: 16px 0;
}
.yb-pbook__success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.yb-pbook__success-text {
  color: #6F6A66;
  font-size: 15px;
  margin: 8px 0 16px;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 520px) {
  .yb-pbook__box { padding: 24px 20px; border-radius: 12px; }
  .yb-pbook__field-row { grid-template-columns: 1fr; }
  .yb-pbook__slot-fields { flex-direction: column; }
}


/* ═══════════════════════════════════════════════════════════
   ADMIN APPOINTMENTS — Calendar View (yb-appt-*)
   ═══════════════════════════════════════════════════════════ */

/* ── Contact search dropdown ── */
.yb-appt__contact-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--yb-border, #E8E4E0);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  max-height: 280px;
  overflow-y: auto;
  margin-top: 4px;
}
.yb-appt__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid #f0eeec;
}
.yb-appt__contact-item:last-child { border-bottom: none; }
.yb-appt__contact-item:hover,
.yb-appt__contact-item.is-active { background: #FFF7F0; }
.yb-appt__contact-name { font-weight: 600; font-size: 14px; color: #0F0F0F; }
.yb-appt__contact-email { font-size: 12px; color: #6F6A66; }
.yb-appt__contact-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-left: auto;
  white-space: nowrap;
}
.yb-appt__contact-badge--lead { background: #FFF3E6; color: #f75c03; }
.yb-appt__contact-badge--application { background: #E8F5E9; color: #2E7D32; }
.yb-appt__contact-badge--career { background: #E3F2FD; color: #1565C0; }
.yb-appt__contact-badge--user { background: #F3E8FD; color: #7B1FA2; }
.yb-appt__contact-empty {
  padding: 16px;
  text-align: center;
  color: #6F6A66;
  font-size: 13px;
}

.yb-appt__calendar { margin-top: 16px; }
.yb-appt__calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.yb-appt__calendar-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}
.yb-appt__cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.yb-appt__cal-day-name {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #999;
  padding: 8px 0;
  text-transform: uppercase;
}
.yb-appt__cal-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.yb-appt__cal-cell {
  min-height: 80px;
  border: 1px solid #E8E4E0;
  border-radius: 6px;
  padding: 4px;
  background: #fff;
  transition: background 0.15s;
}
.yb-appt__cal-cell:hover { background: #FAFAF8; }
.yb-appt__cal-cell--empty {
  background: transparent;
  border-color: transparent;
}
.yb-appt__cal-cell--today {
  border-color: #f75c03;
  background: #FFF8F5;
}
.yb-appt__cal-cell--has-appts {
  border-color: #f75c03;
}
.yb-appt__cal-date {
  font-size: 12px;
  font-weight: bold;
  color: #666;
  padding: 2px 4px;
}
.yb-appt__cal-cell--today .yb-appt__cal-date { color: #f75c03; }


/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL — COMPREHENSIVE RESPONSIVE OVERHAUL
   Mobile + Tablet responsive styles for all admin tabs
   ═══════════════════════════════════════════════════════════ */

/* ── Clickable phone links in tables ── */
a.yb-lead__cell-phone-link {
  font-size: 0.72rem;
  color: #f75c03;
  text-decoration: none;
  display: block;
}
a.yb-lead__cell-phone-link:hover { text-decoration: underline; }

a.yb-appt__phone-link {
  color: #f75c03;
  text-decoration: none;
  font-size: 12px;
}
a.yb-appt__phone-link:hover { text-decoration: underline; }

/* ── Tablet (max-width: 1024px) ── */
@media (max-width: 1024px) {
  /* Tabs: smaller padding, smaller font */
  .yb-admin .yb-profile__tabs {
    padding: 0 12px;
    gap: 0;
  }
  .yb-admin .yb-profile__tab {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* View head: allow wrapping */
  .yb-admin__view-head {
    gap: 0.5rem;
  }

  /* Stats grid: 3 columns on tablet */
  .yb-lead__stats-grid { grid-template-columns: repeat(3, 1fr); }

  /* Lead table: hide follow-up column on tablet */
  .yb-lead__th-followup,
  .yb-lead__cell-followup { display: none; }

  /* Kanban columns: narrower */
  .yb-lead__kanban-col { flex: 0 0 200px; min-width: 200px; }

  /* Appointment calendar cells: smaller */
  .yb-appt__cal-cell { min-height: 60px; padding: 2px; }
}

/* ── Mobile (max-width: 768px) ── */
@media (max-width: 768px) {
  /* Admin container: reduce padding */
  .yb-admin .container { padding-left: 12px; padding-right: 12px; }

  /* Tabs: scrollable strip with compact sizing */
  .yb-admin .yb-profile__tabs {
    padding: 0 8px;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .yb-admin .yb-profile__tabs::-webkit-scrollbar { display: none; }
  .yb-admin .yb-profile__tab {
    padding: 8px 10px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  /* View head: stack title and buttons */
  .yb-admin__view-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .yb-admin__view-head h2 { font-size: 1.1rem; }
  .yb-admin__view-head-btns {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  /* View toggle: full width */
  .yb-lead__view-toggle { width: 100%; }
  .yb-lead__view-btn { flex: 1; justify-content: center; font-size: 0.78rem; padding: 6px 8px; }

  /* Filter bar: full stack */
  .yb-lead__filter-bar {
    flex-direction: column;
    gap: 0.4rem;
  }
  .yb-lead__search-form { width: 100%; min-width: 0; }
  .yb-lead__filter { width: 100%; min-width: 0; }

  /* Stats toggle: visible on mobile */
  .yb-lead__stats-toggle { display: flex; }

  /* Stats grid: collapsed by default on mobile */
  .yb-lead__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    display: none; /* collapsed by default */
  }
  .yb-lead__stats-grid.is-expanded { display: grid; }
  .yb-lead__stat-card { padding: 0.65rem; }
  .yb-lead__stat-value { font-size: 1.2rem; }
  .yb-lead__stat-label { font-size: 0.65rem; }

  /* Bulk actions bar: wrap and compact */
  .yb-lead__bulk-bar {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
  }
  .yb-lead__bulk-bar button,
  .yb-lead__bulk-bar .yb-btn { font-size: 0.75rem; padding: 4px 8px; }

  /* Table: force horizontal scroll, min-width */
  .yb-lead__table-wrap,
  .yb-admin__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -12px;
    padding: 0 12px;
  }
  .yb-lead__table { min-width: 600px; font-size: 0.78rem; }
  .yb-admin__table { min-width: 500px; font-size: 0.78rem; }

  /* Hide more table columns on mobile */
  .yb-lead__cell-program,
  .yb-lead__cell-source,
  .yb-lead__th-program,
  .yb-lead__th-source,
  .yb-lead__th-lastcontact,
  .yb-lead__cell-lastcontact,
  .yb-lead__th-notes,
  .yb-lead__cell-notes,
  .yb-lead__th-app,
  .yb-lead__cell-app,
  .yb-lead__th-temp,
  .yb-lead__cell-temp,
  .yb-lead__th-followup,
  .yb-lead__cell-followup { display: none; }

  /* Table cells: tighter padding */
  .yb-lead__table th,
  .yb-lead__table td { padding: 0.4rem 0.5rem; }
  .yb-lead__cell-name { max-width: 120px; font-size: 0.8rem; }
  .yb-lead__cell-contact { max-width: 150px; }
  .yb-lead__cell-email-text { font-size: 0.75rem; }

  /* Expanded panel: compact */
  .yb-lead__expanded-panel { padding: 0.5rem 0.65rem; }
  .yb-lead__exp-row { gap: 0.5rem; }
  .yb-lead__exp-stat { min-width: 60px; }
  .yb-lead__exp-label { font-size: 0.6rem; }
  .yb-lead__exp-value { font-size: 0.78rem; }
  .yb-lead__exp-actions { gap: 0.3rem; }
  .yb-lead__exp-actions .yb-btn { font-size: 0.72rem; padding: 3px 6px; }

  /* Detail views: stack everything */
  .yb-lead__detail-cards { grid-template-columns: 1fr; gap: 0.65rem; }
  .yb-lead__section-card { padding: 1rem; }
  .yb-lead__section-card--full { grid-column: auto; }
  .yb-lead__card-row { gap: 0.4rem; padding: 0.35rem 0; font-size: 0.82rem; }
  .yb-lead__card-label { min-width: 70px; font-size: 0.75rem; }
  .yb-lead__card-value { font-size: 0.82rem; word-break: break-word; }

  /* Detail status bar: 2 columns */
  .yb-lead__detail-status-bar { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .yb-lead__status-grid { grid-template-columns: 1fr; gap: 0.5rem; }

  /* Actions row in detail view */
  .yb-lead__actions { flex-wrap: wrap; gap: 0.35rem; }
  .yb-lead__actions .yb-btn { font-size: 0.78rem; padding: 5px 10px; }

  /* SMS conversation: tighter */
  .yb-lead__sms-bubble--outbound,
  .yb-lead__sms-bubble--inbound { max-width: 92%; font-size: 0.82rem; }

  /* Notes timeline */
  .yb-lead__notes-timeline { max-height: 300px; }
  .yb-lead__note-form { flex-direction: column; gap: 0.4rem; }
  .yb-lead__note-form input { width: 100%; }
  .yb-lead__note-form button { width: 100%; }

  /* Forms: single column */
  .yb-admin__form { max-width: 100%; }
  .yb-admin__form-row { grid-template-columns: 1fr; gap: 0.65rem; }
  .yb-admin__field input,
  .yb-admin__field textarea,
  .yb-admin__field select,
  .yb-admin__select { font-size: 16px; /* prevent iOS zoom */ }

  /* Kanban: smaller columns */
  .yb-lead__kanban-col { flex: 0 0 160px; min-width: 160px; }
  .yb-lead__kanban-col-header { padding: 0.5rem; }
  .yb-lead__kanban-col-name { font-size: 0.72rem; }
  .yb-lead__kanban-card { padding: 0.5rem; }
  .yb-lead__kanban-card-name { font-size: 0.75rem; }

  /* Appointment calendar: compact cells */
  .yb-appt__cal-cell { min-height: 48px; padding: 1px; font-size: 0.7rem; }
  .yb-appt__cal-date { font-size: 10px; }
  .yb-appt__cal-day-name { font-size: 10px; }
  .yb-appt__calendar-title { font-size: 16px; }
  .yb-appt__calendar-nav { gap: 6px; }
  .yb-appt__calendar-nav button { font-size: 0.78rem; padding: 4px 8px; }

  /* Appointment detail: stack grid */
  .yb-lead__detail-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  /* Campaign modals: full screen on mobile */
  .yb-lead__campaign-box { width: 98vw; max-height: 96vh; border-radius: 8px; }
  .yb-lead__campaign-recipients { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-compose { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-sidebar {
    border-right: none;
    border-bottom: 1px solid #E8E4E0;
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
  .yb-lead__campaign-results-grid { grid-template-columns: 1fr 1fr; }
  .yb-lead__campaign-schedule-grid { grid-template-columns: 1fr; }
  .yb-lead__campaign-summary-cards { grid-template-columns: 1fr; }
  .yb-lead__campaign-tabs { gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .yb-lead__campaign-tab { font-size: 0.75rem; padding: 6px 8px; white-space: nowrap; }

  /* Modal overlay: less padding */
  .yb-lead__modal .yb-lead__campaign-box { padding: 1rem; }

  /* Admin header compact */
  .yb-admin__header { margin-bottom: 1rem; }

  /* Document browser: compact */
  .yb-doc-browser { padding: 0.5rem; }
  .yb-doc-browser__toolbar { flex-wrap: wrap; }
  .yb-doc-browser__search { min-width: 0; }

  /* Toast: full width on mobile */
  .yb-admin__toast { left: 1rem; right: 1rem; bottom: 1rem; text-align: center; font-size: 0.82rem; }

  /* Breadcrumb: smaller */
  .yb-admin__breadcrumb { font-size: 0.78rem; }

  /* Enrollment form: stack */
  .yb-admin__enroll-form { flex-direction: column; gap: 0.4rem; }
  .yb-admin__enroll-form button { width: 100%; }

  /* Editor: stack */
  .yb-admin__editor-wrap { grid-template-columns: 1fr; }
  .yb-admin__preview-panel { border-left: none; border-top: 1px solid #E8E4E0; min-height: 200px; }

  /* Stats grid for admin */
  .yb-admin__stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* User toolbar */
  .yb-admin__user-toolbar { flex-direction: column; gap: 0.4rem; }
  .yb-admin__user-search { width: 100%; }
  .yb-admin__user-meta { grid-template-columns: 1fr; }
}

/* ── Small mobile (max-width: 480px) ── */
@media (max-width: 480px) {
  /* Tabs: even more compact */
  .yb-admin .yb-profile__tab {
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  /* Stats: single column */
  .yb-lead__stats-grid { grid-template-columns: 1fr; }
  .yb-admin__stats-grid { grid-template-columns: 1fr; }

  /* Table: even more compact */
  .yb-lead__table { min-width: 480px; font-size: 0.72rem; }
  .yb-lead__table th,
  .yb-lead__table td { padding: 0.3rem 0.35rem; }
  .yb-lead__cell-name { max-width: 100px; font-size: 0.75rem; }
  .yb-lead__cell-contact { max-width: 120px; }

  /* Chevron smaller */
  .yb-lead__th-chevron { width: 22px; }
  .yb-lead__cell-chevron { width: 22px; }
  .yb-lead__chevron-btn { width: 20px; height: 20px; }

  /* Checkbox column smaller */
  .yb-lead__th-cb,
  .yb-lead__cell-cb { width: 32px; padding: 0.3rem 0.15rem; }

  /* Calendar: 5-col fallback or very compact 7-col */
  .yb-appt__cal-cell { min-height: 36px; border-radius: 4px; }
  .yb-appt__cal-date { font-size: 9px; }
  .yb-appt__cal-body { gap: 2px; }

  /* Kanban: even smaller columns */
  .yb-lead__kanban-col { flex: 0 0 140px; min-width: 140px; }

  /* Detail view: compact cards */
  .yb-lead__section-card { padding: 0.75rem; }
  .yb-lead__card-title { font-size: 0.72rem; }
  .yb-lead__card-row { font-size: 0.78rem; }

  /* Campaign modal: tighter */
  .yb-lead__campaign-box { padding: 0.75rem; }
  .yb-lead__campaign-results-grid { grid-template-columns: 1fr; }

  /* Appointment detail grid */
  .yb-lead__detail-grid {
    padding: 8px !important;
    font-size: 0.82rem;
  }

  /* View head */
  .yb-admin__view-head h2 { font-size: 1rem; }

  /* Bulk bar compact */
  .yb-lead__bulk-bar { padding: 0.35rem 0.5rem; }
  .yb-lead__bulk-count-text { font-size: 0.75rem; }
}

/* ── Landscape phone (max-height: 500px) AND (max-width: 900px) ── */
@media (max-height: 500px) and (max-width: 900px) {
  .yb-lead__campaign-box { max-height: 94vh; }
  .yb-appt__cal-cell { min-height: 32px; }
}


/* ── Link page booking buttons ── */
.yb-link__item--booking {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  transition: all 0.2s;
  margin-bottom: 8px;
}
.yb-link__item--booking:hover {
  border-color: #f75c03;
  background: rgba(247, 92, 3, 0.08);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   BILLING ADMIN (e-conomic)
   ══════════════════════════════════════════ */
.yb-billing__section {
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 1.25rem 1.5rem; margin-bottom: 1.25rem;
}
.yb-billing__section-title {
  font-size: 0.95rem; font-weight: 700; color: #0F0F0F;
  margin: 0 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #f75c03;
}
.yb-billing__search-row {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
}
.yb-billing__search-row .yb-lead__search-input { flex: 1; min-width: 200px; }

/* Customer results */
.yb-billing__customer-list { display: flex; flex-direction: column; gap: 4px; margin-top: 0.75rem; }
.yb-billing__customer-row {
  display: flex; gap: 0.75rem; align-items: center; padding: 0.6rem 0.75rem;
  background: white; border: 1px solid #E8E4E0; border-radius: 8px;
  cursor: pointer; font-family: inherit; font-size: 0.85rem; text-align: left;
  transition: border-color 0.15s;
}
.yb-billing__customer-row:hover { border-color: #f75c03; }
.yb-billing__cr-name { font-weight: 600; color: #0F0F0F; }
.yb-billing__cr-num { color: #6F6A66; font-size: 0.8rem; }
.yb-billing__cr-email { color: #6F6A66; font-size: 0.8rem; margin-left: auto; }
.yb-billing__no-results { color: #6F6A66; font-size: 0.85rem; margin: 0.5rem 0; }

/* Selected customer badge */
.yb-billing__selected-customer { margin-top: 0.75rem; }
.yb-billing__customer-badge {
  display: inline-flex; gap: 0.5rem; align-items: center;
  background: rgba(247,92,3,0.08); border: 1px solid #f75c03; border-radius: 8px;
  padding: 0.5rem 0.75rem; font-size: 0.85rem;
}
.yb-billing__customer-badge-name { font-weight: 700; color: #0F0F0F; }
.yb-billing__customer-badge-num { color: #6F6A66; }
.yb-billing__customer-badge-email { color: #6F6A66; }
.yb-billing__customer-badge-clear {
  background: none; border: none; cursor: pointer; font-size: 1.1rem; color: #6F6A66;
  padding: 0 0.25rem; line-height: 1;
}
.yb-billing__customer-badge-clear:hover { color: #dc2626; }

/* New customer form */
.yb-billing__new-customer { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #E8E4E0; }

/* Amount input with suffix */
.yb-billing__input-with-suffix {
  display: flex; align-items: center; gap: 0; border: 1px solid #f75c03; border-radius: 12px; overflow: hidden;
}
.yb-billing__input-with-suffix input {
  flex: 1; border: none; padding: 0.6rem 0.75rem; font-family: inherit; font-size: 0.9rem; outline: none;
  border-radius: 12px 0 0 12px;
}
.yb-billing__input-with-suffix input:focus { box-shadow: inset 0 0 0 1px rgba(247,92,3,0.3); }
.yb-billing__input-suffix {
  padding: 0.6rem 0.75rem; background: #F5F3F0; color: #6F6A66;
  font-weight: 600; font-size: 0.85rem; border-left: 1px solid #E8E4E0;
}

/* Extra lines */
.yb-billing__extra-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.yb-billing__extra-line {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem;
}
.yb-billing__extra-line input[type="text"] {
  flex: 1; min-width: 0;
}
.yb-billing__extra-line .yb-billing__input-with-suffix { flex: 0 0 180px; }
.yb-billing__extra-remove {
  width: 28px; height: 28px; padding: 0; border: none; background: none;
  cursor: pointer; font-size: 1.1rem; color: #6F6A66; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.yb-billing__extra-remove:hover { background: #fee2e2; color: #dc2626; }

/* Preview */
.yb-billing__preview { margin-top: 0.5rem; }
.yb-billing__preview-empty { color: #6F6A66; font-size: 0.85rem; }
.yb-billing__preview-summary {
  display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem;
}
.yb-billing__preview-row {
  display: flex; gap: 0.75rem; align-items: center; font-size: 0.85rem;
}
.yb-billing__preview-label { font-weight: 600; color: #6F6A66; min-width: 120px; }
.yb-billing__preview-amount { font-weight: 700; color: #0F0F0F; font-variant-numeric: tabular-nums; }
.yb-billing__preview-heading {
  font-size: 0.85rem; font-weight: 700; color: #6F6A66; text-transform: uppercase;
  letter-spacing: 0.05em; margin: 0 0 0.5rem;
}
.yb-billing__preview-table {
  width: 100%; font-size: 0.85rem; border-collapse: collapse;
}
.yb-billing__preview-table th {
  text-align: left; padding: 0.4rem 0.5rem; border-bottom: 2px solid #E8E4E0;
  font-weight: 600; color: #6F6A66; font-size: 0.8rem;
}
.yb-billing__preview-table td {
  padding: 0.4rem 0.5rem; border-bottom: 1px solid #E8E4E0; color: #0F0F0F;
}
.yb-billing__preview-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.yb-billing__preview-table th:last-child { text-align: right; }

/* Actions row */
.yb-billing__actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.yb-btn--muted { opacity: 0.5; }

/* Missing item warning in preview */
.yb-billing__preview-row--missing span:last-child { color: #dc2626; font-weight: 600; }

/* Source tabs (e-conomic / Applicants toggle) */
.yb-billing__source-tabs {
  display: flex; gap: 0; margin-bottom: 0.75rem; border-bottom: 2px solid #E8E4E0;
}
.yb-billing__source-tab {
  padding: 0.5rem 1rem; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  color: #6F6A66; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color 0.15s, border-color 0.15s;
}
.yb-billing__source-tab:hover { color: #0F0F0F; }
.yb-billing__source-tab.is-active { color: #f75c03; border-bottom-color: #f75c03; }

/* Applicant-specific result row extras */
.yb-billing__cr-status {
  font-size: 0.7rem; font-weight: 600; background: #F5F3F0;
  padding: 2px 6px; border-radius: 4px; color: #6F6A66;
}
.yb-billing__cr-course { font-size: 0.8rem; color: #f75c03; }

/* Unified search result groups */
.yb-billing__result-group { margin-bottom: 0.5rem; }
.yb-billing__result-group-header {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: #6F6A66; padding: 0.4rem 0.5rem 0.2rem;
  border-bottom: 1px solid #E8E4E0; margin-bottom: 0.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.yb-billing__result-group-count {
  background: #f75c03; color: #fff; font-size: 0.65rem;
  padding: 1px 6px; border-radius: 10px; font-weight: 700;
}

/* Applicant banner (shown when navigated from Application tab) */
.yb-billing__applicant-banner {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(247,92,3,0.08); border: 1px solid #f75c03; border-radius: 8px;
  padding: 0.6rem 1rem; margin-bottom: 1rem; font-size: 0.85rem; font-weight: 600;
}
.yb-billing__applicant-banner-clear {
  margin-left: auto; background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: #6F6A66; line-height: 1;
}
.yb-billing__applicant-banner-clear:hover { color: #dc2626; }

/* Drafts empty */
.yb-billing__empty { text-align: center; color: #6F6A66; padding: 2rem; font-size: 0.9rem; }

/* Draft detail modal */
.yb-billing__modal-box {
  position: relative; background: white; border-radius: 16px; padding: 1.5rem;
  max-width: 560px; width: 90%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 1001;
}
.yb-billing__modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid #E8E4E0;
}
.yb-billing__modal-header h3 { margin: 0; font-size: 1.1rem; }
.yb-billing__modal-body { margin-bottom: 1rem; }
.yb-billing__modal-footer { display: flex; gap: 0.5rem; justify-content: flex-end; padding-top: 0.75rem; border-top: 1px solid #E8E4E0; }
.yb-billing__detail-row { font-size: 0.85rem; margin-bottom: 0.35rem; }
.yb-billing__detail-row strong { color: #6F6A66; margin-right: 0.5rem; }
.yb-billing__error { color: #dc2626; font-size: 0.85rem; }

/* Payment status badges */
.yb-billing__status--paid { color: #16a34a; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--unpaid { color: #dc2626; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--partial { color: #d97706; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--draft { color: #6F6A66; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--booked { color: #2563eb; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--sent { color: #7c3aed; font-weight: 600; font-size: 0.8rem; }
.yb-billing__type-badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.yb-billing__type-badge--draft { background: #f3f4f6; color: #6F6A66; }
.yb-billing__type-badge--booked { background: #eff6ff; color: #2563eb; }

/* ── Invoice Status Card (on Application Profile) ── */
.yb-app-invoice__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem;
}
.yb-app-invoice__badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.65rem; border-radius: 20px; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.02em;
}
.yb-app-invoice__badge--draft { background: #FEF3C7; color: #92400E; }
.yb-app-invoice__badge--booked { background: #DBEAFE; color: #1E40AF; }
.yb-app-invoice__badge--sent { background: #D1FAE5; color: #065F46; }
.yb-app-invoice__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid #E8E4E0;
}
.yb-app-invoice__modal {
  position: relative; background: white; border-radius: 16px; padding: 1.5rem;
  max-width: 560px; width: 90%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 1001;
}
.yb-billing__modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.yb-billing__modal-close {
  background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #6F6A66;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.15s;
}
.yb-billing__modal-close:hover { background: #F5F3F0; }
.yb-billing__modal-footer-spacer { flex: 1; }

/* ── Save Button Feedback ── */
.yb-btn--save-success {
  background: #16a34a !important; border-color: #16a34a !important; color: white !important;
  transition: background 0.3s, border-color 0.3s;
}
@keyframes yb-save-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.yb-btn--save-pulse {
  animation: yb-save-pulse 0.4s ease;
}

/* Responsive */
@media (max-width: 600px) {
  .yb-billing__section { padding: 1rem; }
  .yb-billing__search-row { flex-direction: column; }
  .yb-billing__search-row .yb-lead__search-input { min-width: 0; width: 100%; }
  .yb-billing__preview-row { flex-direction: column; gap: 0.15rem; }
  .yb-billing__preview-label { min-width: 0; }
  .yb-billing__customer-row { flex-wrap: wrap; }
  .yb-billing__cr-email { margin-left: 0; }
  .yb-billing__actions { flex-direction: column; }
  .yb-billing__actions .yb-btn { width: 100%; text-align: center; }

  /* Extra lines: stack on mobile */
  .yb-billing__extra-line {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .yb-billing__extra-line .yb-billing__input-with-suffix { flex: 1; }
  .yb-billing__extra-header { flex-wrap: wrap; gap: 0.5rem; }

  /* Customer badge: wrap and compact */
  .yb-billing__customer-badge {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  /* Source tabs: scrollable */
  .yb-billing__source-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .yb-billing__source-tabs::-webkit-scrollbar { display: none; }
  .yb-billing__source-tab { white-space: nowrap; font-size: 0.8rem; padding: 0.4rem 0.75rem; }

  /* Invoice table: scrollable with min-width */
  .yb-billing__section .yb-admin__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  .yb-billing__section .yb-admin__table { min-width: 500px; font-size: 0.78rem; }

  /* Applicant banner: wrap */
  .yb-billing__applicant-banner { flex-wrap: wrap; font-size: 0.8rem; padding: 0.5rem 0.75rem; }

  /* Modal: full-width on small screens */
  .yb-billing__modal-box,
  .yb-app-invoice__modal {
    width: 96%;
    max-width: none;
    padding: 1rem;
    border-radius: 12px;
  }
  .yb-billing__modal-header h3 { font-size: 0.95rem; }
  .yb-billing__modal-footer { flex-wrap: wrap; gap: 0.4rem; }
  .yb-billing__modal-footer .yb-btn { flex: 1; min-width: 0; text-align: center; font-size: 0.8rem; }
  .yb-billing__detail-row { font-size: 0.8rem; }

  /* Preview table: compact */
  .yb-billing__preview-table { font-size: 0.78rem; }
  .yb-billing__preview-table th,
  .yb-billing__preview-table td { padding: 0.3rem 0.35rem; }

  /* New customer form: stack */
  .yb-billing__new-customer .yb-admin__form-row { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL — ADDITIONAL MOBILE IMPROVEMENTS
   Better touch targets, user detail, and table column hiding
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet: hide less important user table columns ── */
@media (max-width: 1024px) {
  #yb-user-table th:nth-child(6),
  #yb-user-table td:nth-child(6) { display: none; }  /* tier */
}

/* ── Mobile: user table and detail improvements ── */
@media (max-width: 768px) {
  /* Hide more user table columns */
  #yb-user-table th:nth-child(4),
  #yb-user-table td:nth-child(4),  /* phone */
  #yb-user-table th:nth-child(6),
  #yb-user-table td:nth-child(6),  /* tier */
  #yb-user-table th:nth-child(7),
  #yb-user-table td:nth-child(7),  /* waiver */
  #yb-user-table th:nth-child(8),
  #yb-user-table td:nth-child(8),  /* mb */
  #yb-user-table th:nth-child(9),
  #yb-user-table td:nth-child(9) { display: none; }  /* joined */

  /* User detail: compact sections */
  #yb-admin-v-user-detail .yb-admin__section-divider { margin: 0.75rem 0; }
  #yb-admin-v-user-detail h3 { font-size: 0.88rem !important; margin-bottom: 0.5rem !important; }
  #yb-admin-v-user-detail .yb-lead__actions { gap: 0.3rem; }
  #yb-admin-v-user-detail .yb-lead__actions .yb-btn { font-size: 0.75rem; padding: 5px 8px; }

  /* User profile card: stack meta */
  .yb-admin__user-meta { gap: 0.5rem; }
  .yb-admin__user-meta > div { font-size: 0.82rem; }

  /* User invoices table inside detail: scrollable */
  #yb-admin-user-invoices .yb-admin__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #yb-admin-user-invoices .yb-admin__table { min-width: 400px; font-size: 0.78rem; }

  /* Filter dropdowns: improve touch targets */
  .yb-lead__filter-bar .yb-admin__select,
  .yb-lead__filter-bar .yb-lead__filter {
    min-height: 40px;
    font-size: 16px;  /* prevent iOS zoom */
  }
  .yb-lead__search-input { min-height: 40px; font-size: 16px; }

  /* Admin view head buttons: better wrapping */
  .yb-admin__view-head .yb-lead__toolbar-right {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
  }
  .yb-admin__view-head .yb-lead__toolbar-right .yb-btn {
    font-size: 0.72rem;
    padding: 5px 8px;
    white-space: nowrap;
  }

  /* Section titles in admin */
  .yb-lead__section-title { font-size: 0.85rem; }

  /* Back button: better tap target */
  .yb-admin__back-btn { min-height: 36px; font-size: 0.85rem; padding: 6px 10px; }

  /* Enrollment form: compact */
  .yb-admin__enroll-form .yb-admin__select { font-size: 16px; min-height: 40px; }

  /* Note form: better touch */
  .yb-lead__note-input { min-height: 40px; font-size: 16px; }
}

/* ── Small mobile admin improvements ── */
@media (max-width: 480px) {
  /* User table: also hide email column, show only name + role + actions */
  #yb-user-table th:nth-child(3),
  #yb-user-table td:nth-child(3) { display: none; }  /* email */

  /* Admin tabs: improve scrollability hint */
  .yb-admin .yb-profile__tabs {
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent);
    mask-image: linear-gradient(to right, black 90%, transparent);
  }

  /* User detail: full-width buttons */
  #yb-admin-v-user-detail .yb-lead__actions {
    flex-direction: column;
  }
  #yb-admin-v-user-detail .yb-lead__actions .yb-btn { width: 100%; text-align: center; }

  /* View head buttons: stack */
  .yb-admin__view-head .yb-lead__toolbar-right {
    width: 100%;
  }
  .yb-admin__view-head .yb-lead__toolbar-right .yb-btn { flex: 1; text-align: center; }

  /* Billing invoices filter: full width */
  #yb-billing-invoice-filter { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   VIDEO TUTORIAL WIDGET  (.yvt-*)
   Floating bottom-right widget — per-page video guides
   Triggered via front matter: videoTutorial: {...}
   Design: Variant F — Resend-style dark thumbnail card
═══════════════════════════════════════════════════════ */

.yvt-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9800;
  width: 248px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 40px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.35);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.22,1,.36,1), opacity 0.35s ease, width 0.28s ease;
  will-change: transform, opacity;
}

.yvt-widget--visible {
  transform: translateY(0);
  opacity: 1;
}

.yvt-widget--expanded {
  width: 320px;
}

/* ── Explainer mode: wider to fit 480×270 component ── */
.yvt-widget--explainer.yvt-widget--expanded {
  width: 480px;
}
@media (max-width: 520px) {
  .yvt-widget--explainer.yvt-widget--expanded {
    width: calc(100vw - 24px);
  }
}

/* ── Preview (resting) state ── */
.yvt-preview {
  position: relative;
}

.yvt-preview__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.yvt-preview__thumb img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.yvt-preview__thumb:hover img {
  opacity: 0.85;
}

.yvt-preview__bar {
  padding: 11px 13px 13px;
}

.yvt-preview__title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
}

.yvt-dismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,.75);
  line-height: 0;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yvt-dismiss:hover {
  background: rgba(247,92,3,.85);
  border-color: rgba(247,92,3,.5);
  color: #fff;
}

/* ── Player (expanded) state ── */
.yvt-player__video-wrap {
  background: #000;
}

.yvt-player__video {
  display: block;
  width: 100%;
  height: 180px; /* 320px × 9/16 */
  object-fit: contain;
}

.yvt-player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 12px 13px;
  gap: 8px;
}

.yvt-player__title {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yvt-player__controls {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.yvt-player__minimize,
.yvt-player__close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  line-height: 0;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yvt-player__minimize:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.yvt-player__close:hover {
  background: rgba(247,92,3,.85);
  border-color: rgba(247,92,3,.5);
  color: #fff;
}

/* ===== Apply Form Wizard ===== */
.yb-wizard__nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-start;
}

.yb-wizard__nav .yb-btn {
  flex: 1;
  max-width: 180px;
}

.yb-wizard__nav .yb-btn.is-hidden {
  display: none;
}

/* Review Summary Section */
.yb-review {
  background: #f5f3f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.yb-review__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0f0f0f;
}

.yb-review__section {
  background: white;
  border: 1px solid #e8e4e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.yb-review__section-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f0f0f;
  border-bottom: 2px solid #f75c03;
  padding-bottom: 8px;
}

.yb-review__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yb-review__list li {
  padding: 8px 0;
  color: #6f6a66;
  font-size: 0.95rem;
}

.yb-review__list li:before {
  content: "✓ ";
  color: #f75c03;
  font-weight: bold;
  margin-right: 8px;
}

.yb-review__contact {
  display: grid;
  gap: 12px;
}

.yb-review__field {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e8e4e0;
}

.yb-review__field:last-child {
  border-bottom: none;
}

.yb-review__label {
  font-weight: 600;
  color: #0f0f0f;
  min-width: 140px;
}

.yb-review__payment p {
  margin: 6px 0;
  color: #6f6a66;
  font-size: 0.95rem;
}

.yb-review__actions {
  margin-top: 24px;
  text-align: center;
}

.yb-review__actions .yb-btn {
  max-width: 200px;
}

/* Message Styles */
.yb-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yb-msg--success {
  background: #ECFDF5;
  color: #166534;
  border: 1px solid #D1FAE5;
}

.yb-msg--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FEE;
}

/* Mobile */
@media (max-width: 480px) {
  .yvt-widget {
    right: 12px;
    bottom: 16px;
    width: 220px;
  }
  .yvt-widget--expanded {
    width: 280px;
  }
  .yvt-preview__thumb img {
    height: 124px;
  }
  .yvt-player__video {
    height: 157px; /* 280px × 9/16 */
  }

  .yb-wizard__nav {
    flex-direction: column;
  }

  .yb-wizard__nav .yb-btn {
    max-width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────
   CAROUSEL — Studio Pictures
   ───────────────────────────────────────────────────────────── */
.yba-carousel-wrapper {
  position: relative;
}

.yba-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f3f0;
}

.yba-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.yba-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yba-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yba-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(247, 92, 3, 0.85);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  line-height: 0;
}

.yba-carousel__btn:hover {
  background: #f75c03;
  transform: translateY(-50%) scale(1.1);
}

.yba-carousel__btn:active {
  transform: translateY(-50%) scale(0.95);
}

.yba-carousel__btn--prev {
  left: 20px;
}

.yba-carousel__btn--next {
  right: 20px;
}

.yba-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  background: #fff;
}

.yba-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e8e4e0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  padding: 0;
}

.yba-carousel__dot:hover {
  background: #d4cfc8;
  transform: scale(1.2);
}

.yba-carousel__dot.active {
  background: #f75c03;
}

/* ═══════════════════════════════════════════════════════════════
   SEQUENCES ADMIN (yb-seq__)
   ═══════════════════════════════════════════════════════════════ */
.yb-seq__card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px;
  margin-top: 16px;
}
.yb-seq__card {
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.yb-seq__card:hover { border-color: #f75c03; box-shadow: 0 2px 8px rgba(247,92,3,0.08); }
.yb-seq__card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.yb-seq__card-header h3 { margin: 0; font-size: 15px; flex: 1; }
.yb-seq__card-desc { font-size: 13px; color: #6F6A66; margin-bottom: 12px; }
.yb-seq__card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 12px; }
.yb-seq__card-meta span { padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.yb-seq__card-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.yb-seq__badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}
.yb-seq__badge--manual { background: #E8E4E0; color: #6F6A66; }
.yb-seq__badge--new_lead { background: #DCEDC8; color: #33691E; }
.yb-seq__badge--status_change { background: #B3E5FC; color: #01579B; }
.yb-seq__badge--active { background: #E8F5E9; color: #2E7D32; }
.yb-seq__badge--paused { background: #FFF3CD; color: #856404; }

/* Fieldsets */
.yb-seq__fieldset {
  border: 1px solid #E8E4E0; border-radius: 12px; padding: 16px 20px;
  margin: 16px 0; background: #FFFCF9;
}
.yb-seq__fieldset legend {
  font-weight: 700; font-size: 14px; padding: 0 8px; color: #0F0F0F;
}
.yb-seq__conditions-hint {
  font-size: 13px; color: #6F6A66; margin: 0 0 12px;
}

/* Exit conditions */
.yb-seq__exit-checks {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
}
.yb-seq__exit-checks label {
  display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer;
}
.yb-seq__exit-checks input[type="checkbox"] { accent-color: #f75c03; }

/* Active toggle */
.yb-seq__toggle {
  position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer;
}
.yb-seq__toggle input { opacity: 0; width: 0; height: 0; }
.yb-seq__toggle-slider {
  position: absolute; inset: 0; background: #ccc; border-radius: 24px;
  transition: background 0.2s;
}
.yb-seq__toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform 0.2s;
}
.yb-seq__toggle input:checked + .yb-seq__toggle-slider { background: #f75c03; }
.yb-seq__toggle input:checked + .yb-seq__toggle-slider::before { transform: translateX(20px); }

/* Steps timeline */
.yb-seq__steps-timeline { position: relative; padding-left: 32px; }
.yb-seq__step {
  position: relative; margin-bottom: 20px; background: #fff; border: 1px solid #E8E4E0;
  border-radius: 10px; padding: 16px;
}
.yb-seq__step::before {
  content: ''; position: absolute; left: -25px; top: 28px; bottom: -22px;
  width: 2px; background: #E8E4E0;
}
.yb-seq__step:last-child::before { display: none; }
.yb-seq__step-dot {
  position: absolute; left: -32px; top: 16px; width: 16px; height: 16px;
  background: #f75c03; border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 2px #f75c03; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff; font-weight: 700;
}
.yb-seq__step-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.yb-seq__step-header strong { font-size: 13px; flex: 1; }
.yb-seq__step-actions { display: flex; gap: 4px; }
.yb-seq__step-actions button {
  padding: 3px 8px; border: 1px solid #E8E4E0; border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 12px; transition: border-color 0.15s;
}
.yb-seq__step-actions button:hover { border-color: #f75c03; }

.yb-seq__step-body { display: flex; flex-direction: column; gap: 10px; }
.yb-seq__step-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.yb-seq__step-row .yb-admin__field { flex: 1; min-width: 100px; margin: 0; }
.yb-seq__step-delay { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.yb-seq__step-delay input[type="number"] {
  width: 60px; padding: 6px 8px; border: 1px solid #E8E4E0; border-radius: 8px;
  font-family: inherit; font-size: 13px; text-align: center;
}
.yb-seq__step-delay input:focus { border-color: #f75c03; outline: none; box-shadow: 0 0 0 3px rgba(247,92,3,0.1); }

.yb-seq__step-email, .yb-seq__step-sms {
  border-top: 1px dashed #E8E4E0; padding-top: 10px; margin-top: 4px;
}
.yb-seq__step-email label, .yb-seq__step-sms label { font-size: 12px; font-weight: 600; color: #6F6A66; }
.yb-seq__step-email input, .yb-seq__step-sms input,
.yb-seq__step-email textarea, .yb-seq__step-sms textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #E8E4E0; border-radius: 8px;
  font-family: inherit; font-size: 13px; margin-top: 4px; box-sizing: border-box;
}
.yb-seq__step-email textarea { min-height: 120px; resize: vertical; }
.yb-seq__step-sms textarea { min-height: 60px; resize: vertical; }
.yb-seq__step-email input:focus, .yb-seq__step-sms input:focus,
.yb-seq__step-email textarea:focus, .yb-seq__step-sms textarea:focus {
  border-color: #f75c03; outline: none; box-shadow: 0 0 0 3px rgba(247,92,3,0.1);
}
.yb-seq__var-hints { font-size: 11px; color: #6F6A66; margin-top: 4px; font-style: italic; }
.yb-seq__sms-count { font-size: 11px; color: #6F6A66; text-align: right; margin-top: 2px; }

/* Enrollment management */
.yb-seq__enroll-search { margin-bottom: 16px; }
.yb-seq__enroll-search label { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: block; }
.yb-seq__lead-search-wrap { position: relative; max-width: 400px; }
.yb-seq__lead-results {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border: 1px solid #E8E4E0; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  max-height: 240px; overflow-y: auto; z-index: 20; margin-top: 4px;
}
.yb-seq__lead-result {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  cursor: pointer; font-size: 13px; transition: background 0.1s;
}
.yb-seq__lead-result:hover { background: rgba(247,92,3,0.05); }
.yb-seq__lead-result-name { font-weight: 600; }
.yb-seq__lead-result-email { color: #6F6A66; }
.yb-seq__lead-result-type {
  margin-left: auto; padding: 2px 8px; border-radius: 10px; font-size: 11px;
  background: #E8E4E0; color: #6F6A66; font-weight: 600;
}

/* Enrollment status badges */
.yb-seq__enrollment-badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
}
.yb-seq__enrollment-badge--active { background: #E8F5E9; color: #2E7D32; }
.yb-seq__enrollment-badge--paused { background: #FFF3CD; color: #856404; }
.yb-seq__enrollment-badge--completed { background: #E3F2FD; color: #1565C0; }
.yb-seq__enrollment-badge--exited { background: #FFEBEE; color: #C62828; }

/* No sequences empty state */
.yb-seq__empty {
  text-align: center; padding: 40px 20px; color: #6F6A66; font-size: 14px;
}
.yb-seq__empty-icon { font-size: 48px; margin-bottom: 12px; }

@media (max-width: 640px) {
  .yb-seq__card-grid { grid-template-columns: 1fr; }
  .yb-seq__step-row { flex-direction: column; }
  .yb-seq__steps-timeline { padding-left: 24px; }
}
