.form-group label,
label.control-label,
.login-label {
  font-weight: 600;
  color: var(--ay-ink);
  font-size: 13px;
  margin-bottom: 6px;
}

.form-control {
  border-radius: 12px !important;
  border: 1px solid var(--ay-line) !important;
  box-shadow: none !important;
  min-height: 44px;
  background: #fff;
  color: var(--ay-ink);
  padding: 10px 14px;
}

.form-control:focus {
  border-color: var(--ay-sage) !important;
  box-shadow: 0 0 0 3px rgba(107, 142, 103, 0.15) !important;
}

textarea.form-control {
  min-height: 96px;
}

.help-block {
  color: var(--ay-muted);
  margin-bottom: 0;
  font-size: 12px;
}

.has-error .form-control {
  border-color: var(--ay-danger) !important;
}

.has-error .help-block {
  color: var(--ay-danger);
}

.checkbox label,
.radio label {
  padding-left: 22px;
  color: var(--ay-muted);
}

input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius-sm);
  background: #fff;
  color: var(--ay-ink-soft);
  font-family: var(--ay-font);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="file"]:hover {
  border-color: #d5ddd2;
}

input[type="file"]:focus {
  outline: none;
  border-color: var(--ay-sage);
  box-shadow: 0 0 0 3px rgba(107, 142, 103, 0.16);
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--ay-sage);
  border-radius: 10px;
  background: var(--ay-sage);
  color: #fff;
  font-family: var(--ay-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

input[type="file"]::file-selector-button:hover {
  background: var(--ay-sage-hover);
  border-color: var(--ay-sage-hover);
}

/* Safari / older Chromium */
input[type="file"]::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--ay-sage);
  border-radius: 10px;
  background: var(--ay-sage);
  color: #fff;
  font-family: var(--ay-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.form-control[type="file"] {
  height: auto;
  box-shadow: none;
}

.admin-form-section {
  margin-bottom: 24px;
}

.admin-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.admin-form-section-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-family: var(--ay-display);
  font-weight: 600;
}

.admin-form-section-subtitle {
  margin: 0 0 18px;
  color: var(--ay-muted);
}

/* Session create / update form */
.ay-session-page {
  max-width: none;
  width: 100%;
}

.ay-session-page-head {
  margin-bottom: 20px;
}

.ay-session-page-head h1 {
  margin: 0 0 8px;
  font-family: var(--ay-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--ay-ink);
  line-height: 1.2;
}

.ay-session-page-head p {
  margin: 0;
  color: var(--ay-muted);
  font-size: 14px;
}

.ay-form-card {
  background: var(--ay-surface);
  border: 1px solid var(--ay-line);
  border-radius: 18px;
  box-shadow: var(--ay-shadow);
  padding: 22px 22px 8px;
  margin-bottom: 16px;
}

.ay-form-card-title {
  margin: 0 0 16px;
  font-family: var(--ay-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ay-ink);
}

.ay-form-card-sub {
  margin: -8px 0 14px;
  color: var(--ay-muted);
  font-size: 13px;
}

.ay-choice-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.ay-choice-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ay-choice-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ay-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid var(--ay-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ay-choice-card:hover {
  border-color: #c9dec9;
  background: var(--ay-sage-mist);
}

.ay-choice-card.is-active {
  border-color: var(--ay-sage);
  background: var(--ay-sage-soft);
  box-shadow: 0 0 0 1px rgba(107, 142, 103, 0.25);
}

.ay-choice-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ay-ink);
}

.ay-choice-desc {
  font-size: 12px;
  color: var(--ay-muted);
  line-height: 1.35;
}

.ay-subpanel {
  margin-bottom: 12px;
}

.ay-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ay-segment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ay-line);
  background: #fff;
  color: var(--ay-ink-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.ay-segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ay-segment.is-active {
  border-color: var(--ay-sage);
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
}

.ay-meeting-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ay-surface-soft);
  border: 1px dashed var(--ay-line);
}

.ay-meeting-box p {
  margin: 0;
  flex: 1 1 220px;
  color: var(--ay-muted);
  font-size: 13px;
}

.ay-btn-dark {
  background: var(--ay-sage) !important;
  border-color: var(--ay-sage) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-weight: 600;
}

.ay-btn-dark:hover,
.ay-btn-dark:focus {
  background: var(--ay-sage-hover) !important;
  border-color: var(--ay-sage-hover) !important;
  color: #fff !important;
}

.ay-meeting-preview {
  width: 100%;
  margin-top: 4px;
}

.ay-meeting-preview-label {
  display: block;
  font-size: 12px;
  color: var(--ay-muted);
  margin-bottom: 4px;
}

.ay-meeting-preview code {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--ay-line);
  color: var(--ay-sage);
  word-break: break-all;
  font-size: 12px;
}

.ay-weekday-panel {
  margin: 4px 0 16px;
  padding: 14px 14px 10px;
  border-radius: 14px;
  background: var(--ay-sage-mist);
  border: 1px solid #d7e5d5;
}

.ay-weekday-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ay-weekday-pill {
  margin: 0;
  cursor: pointer;
}

.ay-weekday-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ay-weekday-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--ay-line);
  background: #fff;
  color: var(--ay-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.ay-weekday-pill.is-active span,
.ay-weekday-pill input:checked + span {
  background: var(--ay-sage);
  border-color: var(--ay-sage);
  color: #fff;
}

.ay-weekday-hint {
  margin: 12px 0 0;
  color: var(--ay-muted);
  font-size: 12px;
}

.ay-form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.ay-btn-cancel {
  border-radius: 999px !important;
  min-width: 110px;
  padding: 10px 20px !important;
}

.ay-btn-primary {
  background: var(--ay-sage) !important;
  border-color: var(--ay-sage) !important;
  color: #fff !important;
  border-radius: 999px !important;
  min-width: 150px;
  padding: 10px 22px !important;
  font-weight: 600;
}

.ay-btn-primary:hover,
.ay-btn-primary:focus {
  background: var(--ay-sage-hover) !important;
  border-color: var(--ay-sage-hover) !important;
  color: #fff !important;
}

.ay-session-banner-preview {
  margin: 4px 0 12px;
}

.ay-session-banner-preview img {
  display: block;
  max-width: 240px;
  max-height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--ay-line);
}

/* Recording create / update form (inside shared .card) */
.ay-recording-form .form-group.ay-recording-field {
  margin-bottom: 12px;
}

.ay-recording-form .form-group.ay-recording-field .help-block:empty {
  display: none;
  margin: 0;
}

.ay-recording-form-body {
  margin-top: 4px;
}

.ay-recording-label {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ay-ink-soft);
}

.ay-recording-field .help-block {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 12px;
  color: var(--ay-muted);
}

.ay-recording-input.form-control {
  height: 40px;
  border-radius: 10px;
  border-color: var(--ay-line);
  box-shadow: none;
}

textarea.ay-recording-input.form-control {
  height: auto;
  min-height: 72px;
  padding-top: 10px;
  resize: vertical;
}

.ay-recording-grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-bottom: 0;
  align-items: start;
}

.ay-recording-grid-title {
  grid-template-columns: 1.6fr 0.8fr;
}

.ay-recording-date-wrap {
  position: relative;
}

.ay-recording-date-wrap .material-icons-outlined {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ay-muted);
  font-size: 18px;
  pointer-events: none;
}

.ay-recording-date-wrap input {
  padding-right: 40px;
}

.ay-recording-source-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 2px 0 10px;
}

.ay-recording-source-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ay-line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ay-recording-source-card:hover {
  border-color: #d5ddd2;
}

.ay-recording-source-card.is-active {
  border-color: var(--ay-sage);
  background: var(--ay-sage-mist);
  box-shadow: 0 0 0 1px var(--ay-sage);
}

.ay-recording-source-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ay-line);
  color: var(--ay-sage);
  flex-shrink: 0;
}

.ay-recording-source-card.is-active .ay-recording-source-icon {
  border-color: var(--ay-sage);
  background: #fff;
}

.ay-recording-source-icon .material-icons-outlined {
  font-size: 18px;
}

.ay-recording-source-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ay-recording-source-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ay-ink);
  line-height: 1.25;
}

.ay-recording-source-desc {
  font-size: 12px;
  line-height: 1.3;
  color: var(--ay-muted);
}

.ay-recording-live-actions {
  margin-bottom: 12px;
}

.ay-recording-sync-status {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.ay-recording-sync-status.is-loading {
  color: var(--ay-muted);
}

.ay-recording-sync-status.is-ok {
  color: var(--ay-sage);
  font-weight: 500;
}

.ay-recording-sync-status.is-error {
  color: var(--ay-danger);
}

.ay-recording-preview {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--ay-line);
  border-radius: 12px;
  background: #fafbf9;
}

.ay-recording-preview[hidden] {
  display: none !important;
}

.ay-recording-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ay-recording-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ay-ink);
}

.ay-recording-preview-label .material-icons-outlined {
  font-size: 18px;
  color: var(--ay-sage);
}

.ay-recording-preview-open {
  font-size: 12px;
  font-weight: 600;
  color: var(--ay-sage);
  text-decoration: none;
}

.ay-recording-preview-open:hover {
  text-decoration: underline;
}

.ay-recording-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}

.ay-recording-preview-frame iframe,
.ay-recording-preview-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.ay-recording-preview-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 16px;
  background: linear-gradient(160deg, #1c1917 0%, #292524 100%);
  color: #e7e5e4;
}

.ay-recording-preview-fallback p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d6d3d1;
}

.ay-recording-preview-fallback code {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #a7f3d0;
  font-size: 11px;
  word-break: break-all;
}

.ay-recording-sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--ay-sage);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ay-recording-sync-btn:hover,
.ay-recording-sync-btn:focus {
  background: var(--ay-sage-hover);
  color: #fff;
}

.ay-recording-sync-btn .material-icons-outlined {
  font-size: 16px;
}

.ay-recording-thumb-drop {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1.5px dashed #cfd7cb;
  border-radius: 10px;
  background: #fbfcfa;
  color: var(--ay-muted);
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.ay-recording-thumb-drop:hover {
  border-color: var(--ay-sage);
  color: var(--ay-ink-soft);
}

.ay-recording-thumb-drop .material-icons-outlined {
  font-size: 20px;
  color: var(--ay-sage);
  flex-shrink: 0;
}

.ay-recording-thumb-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.ay-recording-thumb-name {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ay-muted);
}

.ay-recording-thumb-name:empty {
  display: none;
  margin: 0;
}

.ay-recording-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--ay-line);
}

.ay-recording-draft-btn {
  border: 0;
  background: transparent;
  color: var(--ay-ink-soft);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 4px;
  cursor: pointer;
}

.ay-recording-draft-btn:hover {
  color: var(--ay-sage);
}

.ay-recording-publish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--ay-sage);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ay-recording-publish-btn:hover,
.ay-recording-publish-btn:focus {
  background: var(--ay-sage-hover);
  color: #fff;
}

@media (max-width: 767px) {
  .ay-recording-grid-2,
  .ay-recording-grid-title,
  .ay-recording-source-grid {
    grid-template-columns: 1fr;
  }

  .ay-recording-card-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .ay-recording-publish-btn {
    width: 100%;
  }
}

/* Programme create / update form */
.ay-programme-page {
  max-width: none;
  width: 100%;
  padding-bottom: 104px;
}

.ay-programme-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 22px;
}

.ay-programme-page-head h1 {
  margin: 0;
  font-family: var(--ay-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--ay-ink);
  line-height: 1.12;
}

.ay-programme-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--ay-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ay-ink);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ay-programme-back-btn:hover,
.ay-programme-back-btn:focus {
  background: var(--ay-sage-mist);
  border-color: #c9d5c6;
  color: var(--ay-ink);
}

.ay-programme-back-btn .material-icons-outlined {
  font-size: 18px;
}

.ay-programme-section {
  background: #fff;
  border: 1px solid #e3e6df;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(47, 53, 48, 0.07), 0 2px 10px rgba(47, 53, 48, 0.04);
  margin-bottom: 16px;
  overflow: hidden;
}

.ay-programme-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 8px;
}

.ay-programme-section-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
}

.ay-programme-section-icon .material-icons-outlined {
  font-size: 24px;
}

.ay-programme-section-head h2 {
  margin: 0 0 2px;
  font-family: var(--ay-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ay-ink);
  line-height: 1.2;
}

.ay-programme-section-head p {
  margin: 0;
  color: var(--ay-muted);
  font-size: 13px;
}

.ay-programme-section-body {
  padding: 10px 22px 24px;
}

.ay-programme-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ay-programme-details-main,
.ay-programme-details-description {
  min-width: 0;
}

.ay-programme-date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 22px;
}

.ay-programme-image-field {
  margin-bottom: 14px;
}

.ay-programme-image-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ay-programme-image-uploader {
  position: relative;
}

.ay-programme-image-drop {
  width: 100%;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--ay-line);
  border-radius: 14px;
  background: #fbfcfa;
  color: var(--ay-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ay-programme-image-drop:hover,
.ay-programme-image-drop:focus {
  border-color: #c8d6c4;
  background: #f6faf4;
  box-shadow: 0 0 0 3px rgba(107, 142, 103, 0.1);
  outline: none;
}

.ay-programme-image-frame {
  width: 132px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef5ea 0%, #ffffff 100%);
  border: 1px solid #dde7d9;
}

.ay-programme-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ay-programme-image-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px;
  color: var(--ay-sage);
  text-align: center;
}

.ay-programme-image-empty .material-icons-outlined {
  font-size: 28px;
}

.ay-programme-image-empty strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.ay-programme-image-empty small {
  color: var(--ay-muted);
  font-size: 11px;
}

.ay-programme-image-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ay-programme-image-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ay-ink);
  font-weight: 600;
}

.ay-programme-image-meta small {
  color: var(--ay-muted);
  font-size: 12px;
  line-height: 1.4;
}

.ay-programme-view-image {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--ay-line);
  border-radius: 16px;
  background: #fbfcfa;
  box-shadow: 0 8px 24px rgba(47, 53, 48, 0.06);
}

.ay-programme-view-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.ay-programme-view-image span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ay-ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.ay-programme-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 18px;
}

.ay-programme-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
}

.ay-date-field {
  position: relative;
}

.ay-date-field::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(107, 142, 103, 0.16);
  transition: opacity 0.15s ease;
}

.ay-date-field:focus-within::after {
  opacity: 1;
}

.ay-date-field .material-icons-outlined {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--ay-muted);
  pointer-events: none;
}

.ay-date-field .form-control {
  padding-right: 40px !important;
}

.ay-modern-date-input {
  cursor: pointer;
  background: #fff !important;
}

.ay-modern-date-input[readonly] {
  cursor: pointer;
}

.daterangepicker {
  border: 1px solid #dde4d9;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(47, 53, 48, 0.16), 0 2px 8px rgba(47, 53, 48, 0.05);
  font-family: var(--ay-font);
  overflow: hidden;
  padding: 10px;
  color: var(--ay-ink);
}

.daterangepicker::before,
.daterangepicker::after {
  display: none;
}

.daterangepicker .calendar-table {
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.daterangepicker .calendar-table table {
  border-collapse: separate;
  border-spacing: 3px;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 34px;
}

.daterangepicker th.month {
  color: var(--ay-ink);
  font-size: 14px;
  font-weight: 700;
}

.daterangepicker .calendar-table th {
  color: var(--ay-muted);
  font-weight: 600;
}

.daterangepicker .calendar-table .next span,
.daterangepicker .calendar-table .prev span {
  border-color: var(--ay-sage);
}

.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
  background: var(--ay-sage-mist);
  color: var(--ay-sage);
}

.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
  color: #c1c7bf;
  background: transparent;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker td.start-date,
.daterangepicker td.end-date {
  background: var(--ay-sage);
  color: #fff;
}

.daterangepicker select.monthselect,
.daterangepicker select.yearselect {
  width: auto;
  min-height: 30px;
  border: 1px solid var(--ay-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ay-ink);
  padding: 3px 8px;
  font-size: 13px;
}

.daterangepicker .drp-buttons {
  border-top: 1px solid var(--ay-line);
  padding: 10px 0 0;
}

.daterangepicker .drp-selected {
  color: var(--ay-muted);
  font-size: 12px;
}

.daterangepicker .ay-calendar-btn {
  border-radius: 10px !important;
  min-height: 34px;
  padding: 0 14px !important;
  font-weight: 600;
}

.daterangepicker .ay-calendar-clear {
  background: #fff !important;
  border: 1px solid var(--ay-line) !important;
  color: var(--ay-ink-soft) !important;
}

.daterangepicker .ay-calendar-apply {
  background: var(--ay-sage) !important;
  border: 1px solid var(--ay-sage) !important;
  color: #fff !important;
}

.ay-programme-description-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.ay-programme-description-head .control-label {
  margin-bottom: 4px;
}

.ay-programme-description-hint {
  margin: 0;
  color: var(--ay-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ay-programme-description-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ay-programme-description-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ay-programme-description-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
  font-size: 20px;
  text-align: center;
}

.ay-programme-description-icon.material-icons-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ay-programme-description-row .form-control {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 39px;
  border-radius: 10px !important;
}

.ay-programme-highlight-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ay-programme-highlight-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1fr) minmax(0, 1.2fr) 39px;
  gap: 10px;
  align-items: center;
}

.ay-programme-highlight-icon {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}

.ay-programme-highlight-icon-preview {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4f6f3;
  padding: 4px;
}

.ay-programme-highlight-icon-empty {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f4f6f3;
  color: #8a9a86;
}

.ay-programme-highlight-icon-empty .material-icons-outlined {
  font-size: 22px;
}

.ay-programme-highlight-icon input[type="file"] {
  font-size: 12px;
  padding: 4px;
  min-height: 32px;
}

.ay-programme-highlight-row .form-control {
  min-height: 39px;
  border-radius: 10px !important;
}

@media (max-width: 720px) {
  .ay-programme-highlight-row {
    grid-template-columns: minmax(0, 1fr) 39px;
  }

  .ay-programme-highlight-row .ay-programme-highlight-icon,
  .ay-programme-highlight-row .form-control:nth-child(2),
  .ay-programme-highlight-row .form-control:nth-child(3) {
    grid-column: 1 / 2;
  }

  .ay-programme-highlight-row .ay-programme-highlight-remove {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

.ay-programme-wyg-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ay-programme-wyg-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(60, 80, 60, 0.12);
  border-radius: 12px;
  background: #fafbf8;
}

.ay-programme-wyg-row-top {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(0, 1.1fr) minmax(110px, 0.8fr) 39px;
  gap: 10px;
  align-items: center;
}

.ay-programme-wyg-row .form-control {
  min-height: 39px;
  border-radius: 10px !important;
}

.ay-programme-wyg-row textarea.form-control {
  min-height: 78px;
  resize: vertical;
}

@media (max-width: 720px) {
  .ay-programme-wyg-row-top {
    grid-template-columns: minmax(0, 1fr) 39px;
  }

  .ay-programme-wyg-row-top .form-control:nth-child(2),
  .ay-programme-wyg-row-top .form-control:nth-child(3) {
    grid-column: 1 / 2;
  }

  .ay-programme-wyg-row-top .ay-programme-wyg-remove {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

.ay-programme-vlog-rows,
.ay-programme-who-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ay-programme-vlog-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 39px;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(60, 80, 60, 0.12);
  border-radius: 12px;
  background: #fafbf8;
}

.ay-programme-who-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 39px;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(60, 80, 60, 0.12);
  border-radius: 12px;
  background: #fafbf8;
}

/* Program Vlog — landscape thumbnail */
.ay-programme-vlog-thumb {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.ay-programme-vlog-thumb [data-file-preview] {
  width: 100%;
  max-width: 148px;
  height: 84px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f6f3;
}

.ay-programme-vlog-thumb-preview,
.ay-programme-vlog-thumb .ay-programme-vlog-thumb-preview {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  background: #f4f6f3;
  display: block;
}

.ay-programme-vlog-thumb-empty {
  width: 100%;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f4f6f3;
  color: #8a9a86;
}

.ay-programme-vlog-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ay-programme-vlog-source {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 4px;
}

.ay-programme-vlog-source-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

/* Who is this for — circular portrait */
.ay-programme-who-image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.ay-programme-who-image [data-file-preview] {
  width: 72px;
  height: 72px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: #f4f6f3;
  flex: 0 0 72px;
  align-self: flex-start;
}

.ay-programme-who-image-preview,
.ay-programme-who-image .ay-programme-who-image-preview {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  background: #f4f6f3;
  display: block;
}

.ay-programme-who-image-empty {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f4f6f3;
  color: #8a9a86;
}

.ay-programme-who-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Compact file pickers (button only — filename shown below) */
.ay-programme-vlog-thumb input[type="file"],
.ay-programme-who-image input[type="file"],
.ay-programme-highlight-icon input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 4px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}

.ay-programme-vlog-thumb input[type="file"]::file-selector-button,
.ay-programme-who-image input[type="file"]::file-selector-button,
.ay-programme-highlight-icon input[type="file"]::file-selector-button,
.ay-programme-vlog-thumb input[type="file"]::-webkit-file-upload-button,
.ay-programme-who-image input[type="file"]::-webkit-file-upload-button,
.ay-programme-highlight-icon input[type="file"]::-webkit-file-upload-button {
  margin: 0;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.ay-programme-file-name {
  display: block;
  margin-top: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #888;
  word-break: break-all;
  text-align: left;
}

.ay-programme-file-name.is-selected {
  color: #3d6b45;
  font-weight: 500;
}

.ay-programme-highlight-icon-preview,
.ay-programme-highlight-icon .ay-programme-highlight-icon-preview {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4f6f3;
  display: block;
}

@media (max-width: 720px) {
  .ay-programme-vlog-row,
  .ay-programme-who-row {
    grid-template-columns: minmax(0, 1fr) 39px;
  }

  .ay-programme-vlog-thumb,
  .ay-programme-who-image,
  .ay-programme-vlog-fields,
  .ay-programme-who-fields {
    grid-column: 1 / 2;
  }
}

.ay-programme-meet-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ay-programme-meet-image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.ay-programme-meet-image [data-file-preview] {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 50%;
  background: #f4f6f3;
}

.ay-programme-meet-image-preview,
.ay-programme-meet-image .ay-programme-meet-image-preview {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #f4f6f3;
}

.ay-programme-meet-image-empty {
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f4f6f3;
  color: #8a9a86;
}

.ay-programme-meet-image input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 4px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}

.ay-programme-meet-image input[type="file"]::file-selector-button,
.ay-programme-meet-image input[type="file"]::-webkit-file-upload-button {
  margin: 0;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.ay-programme-meet-fields .form-group {
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .ay-programme-meet-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ay-programme-description-remove {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180, 80, 80, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #b85c5c;
  cursor: pointer;
  padding: 0;
}

.ay-programme-description-remove .material-icons-outlined {
  font-size: 18px;
}

.ay-programme-description-remove:hover,
.ay-programme-description-remove:focus {
  background: #fdf2f2;
  border-color: rgba(180, 80, 80, 0.35);
  color: #9a3d3d;
}

.ay-programme-description-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #ccd8c8;
  border-radius: 10px;
  background: #f7faf5;
  color: var(--ay-sage);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.ay-programme-description-add .material-icons-outlined {
  font-size: 18px;
}

.ay-programme-description-add:hover,
.ay-programme-description-add:focus {
  background: var(--ay-sage-soft);
  color: var(--ay-sage-hover);
}

.ay-programme-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ay-sage-soft);
  color: var(--ay-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.ay-programme-info .material-icons-outlined {
  color: var(--ay-sage);
  font-size: 18px;
  margin-top: 1px;
}

.ay-session-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.ay-select-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  color: var(--ay-ink);
  cursor: pointer;
}

.ay-select-all input {
  width: 16px;
  height: 16px;
  accent-color: var(--ay-sage);
}

.ay-session-picker-search {
  position: relative;
  width: min(320px, 100%);
}

.ay-session-picker-search .material-icons-outlined {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--ay-muted);
  pointer-events: none;
}

.ay-session-picker-search .form-control {
  padding-left: 40px !important;
  min-height: 38px;
  border-radius: 9px !important;
}

.ay-session-table-wrap {
  border: 1px solid var(--ay-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ay-session-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.ay-session-table thead th {
  padding: 10px 14px;
  background: #f3f4f0;
  border-bottom: 1px solid var(--ay-line);
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ay-session-table tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--ay-line);
  vertical-align: middle;
  font-size: 14px;
  color: var(--ay-ink);
}

.ay-session-table tbody tr:last-child td {
  border-bottom: 0;
}

.ay-session-row.is-selected {
  background: rgba(107, 142, 103, 0.045);
}

.ay-col-check {
  width: 48px;
}

.ay-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
}

.ay-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ay-check span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #c9d3c8;
  background: #fff;
  position: relative;
}

.ay-session-row.is-selected .ay-check span {
  border-color: var(--ay-sage);
  background: var(--ay-sage);
}

.ay-session-row.is-selected .ay-check span::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ay-session-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ay-session-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
  flex: 0 0 auto;
}

.ay-session-icon .material-icons-outlined {
  font-size: 20px;
}

.ay-session-name strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ay-ink);
}

.ay-session-name small {
  display: block;
  margin-top: 2px;
  color: var(--ay-muted);
  font-size: 12px;
}

.ay-session-time {
  white-space: nowrap;
  color: var(--ay-ink-soft);
}

.ay-day-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ay-day-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ay-sage-mist);
  color: var(--ay-sage);
  font-size: 12px;
  font-weight: 600;
}

.ay-day-empty {
  color: var(--ay-muted);
}

.ay-trainer-select {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.ay-trainer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eee6;
  color: var(--ay-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ay-trainer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ay-trainer-initials {
  font-size: 11px;
  font-weight: 700;
  color: var(--ay-sage);
}

.ay-trainer-avatar .material-icons-outlined {
  font-size: 18px;
}

.ay-trainer-select .form-control {
  min-height: 38px;
  border-radius: 9px !important;
}

.ay-session-empty-row td {
  text-align: center;
  color: var(--ay-muted);
  padding: 28px 16px !important;
}

.ay-programme-form-actions {
  position: fixed;
  bottom: 0;
  left: var(--ay-sidebar-w);
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--ay-line);
  box-shadow: 0 -8px 24px rgba(47, 53, 48, 0.06);
}

.ay-programme-form-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ay-programme-form-actions .ay-btn-cancel,
.ay-programme-form-actions .ay-btn-draft,
.ay-programme-form-actions .ay-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 122px;
  min-height: 44px;
  border-radius: 12px !important;
  padding: 0 20px !important;
  font-weight: 600 !important;
}

.ay-programme-form-actions .ay-btn-primary {
  min-width: 220px;
}

.ay-programme-form-actions .ay-btn-primary .material-icons-outlined {
  font-size: 19px;
}

.ay-programme-form-actions .ay-btn-cancel {
  background: #fff !important;
  border: 1px solid var(--ay-line) !important;
  color: var(--ay-ink) !important;
}

.ay-programme-form-actions .ay-btn-draft {
  background: #fff !important;
  border: 1px solid var(--ay-sage) !important;
  color: var(--ay-sage) !important;
}

.ay-programme-form-actions .ay-btn-primary {
  background: var(--ay-sage) !important;
  border-color: var(--ay-sage) !important;
  color: #fff !important;
}

@media (max-width: 1199px) {
  .ay-programme-form-actions {
    left: 0;
  }
}

@media (max-width: 991px) {
  .ay-programme-details-grid,
  .ay-programme-date-grid,
  .ay-programme-grid-2,
  .ay-programme-grid-3 {
    grid-template-columns: 1fr;
  }

  .ay-session-table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ay-session-picker-search {
    width: 100%;
  }

  .ay-session-table-wrap {
    overflow-x: auto;
  }

  .ay-session-table {
    min-width: 760px;
  }
}

@media (max-width: 767px) {
  .ay-choice-grid-2,
  .ay-choice-grid-3 {
    grid-template-columns: 1fr;
  }

  .ay-session-page-head h1 {
    font-size: 26px;
  }

  .ay-form-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .ay-programme-page-head {
    flex-direction: column;
  }

  .ay-programme-page-head h1 {
    font-size: 28px;
  }

  .ay-programme-section-head,
  .ay-programme-section-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ay-programme-description-head {
    flex-direction: column;
    align-items: stretch;
  }

  .ay-programme-description-add {
    width: 100%;
  }

  .ay-programme-image-drop {
    grid-template-columns: 1fr;
  }

  .ay-programme-image-frame {
    width: 100%;
  }

  .ay-programme-form-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }

  .ay-programme-form-actions-right {
    flex-direction: column-reverse;
    width: 100%;
  }

  .ay-programme-form-actions .ay-btn-cancel,
  .ay-programme-form-actions .ay-btn-draft,
  .ay-programme-form-actions .ay-btn-primary {
    width: 100%;
  }
}

/* Package & Pricing */
.ay-plan-page {
  width: 100%;
  max-width: none;
  padding-bottom: 96px;
}

.ay-plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.ay-plan-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 8px;
}

.ay-plan-step {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.ay-plan-section-head h2 {
  margin: 2px 0 4px;
  font-family: var(--ay-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ay-ink);
}

.ay-plan-section-head p {
  margin: 0;
  color: var(--ay-muted);
  font-size: 13px;
}

.ay-desc-field {
  position: relative;
}

.ay-char-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--ay-muted);
  font-size: 12px;
  pointer-events: none;
}

.ay-desc-field .form-group {
  margin-bottom: 0;
}

.ay-desc-field textarea.form-control {
  padding-bottom: 28px;
}

.ay-plan-full-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ay-plan-full-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ay-sage-mist);
  color: var(--ay-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.ay-plan-full-note-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
  flex: 0 0 auto;
}

.ay-duration-col-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: var(--ay-ink-soft);
  cursor: pointer;
  white-space: nowrap;
}

.ay-duration-col-label input {
  accent-color: var(--ay-sage);
}

.ay-plan-col-add {
  text-align: right;
  white-space: nowrap;
}

.ay-plan-add-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--ay-sage);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.ay-plan-add-duration .material-icons-outlined {
  font-size: 18px;
}

.ay-plan-row-remove {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9aa39a;
  cursor: pointer;
}

.ay-plan-row-remove:hover {
  background: #f8ecec;
  color: var(--ay-danger);
}

.ay-plan-add-session {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed #c9d3c8;
  border-radius: 12px;
  background: #fff;
  color: var(--ay-sage);
  font-weight: 600;
  cursor: pointer;
}

.ay-plan-add-session:disabled {
  opacity: 0.5;
  cursor: default;
}

.ay-plan-add-session-select {
  margin-top: 10px;
}

.ay-plan-preview {
  position: sticky;
  top: 88px;
}

.ay-plan-preview-card {
  background: #fff;
  border: 1px solid var(--ay-line);
  border-radius: 18px;
  box-shadow: var(--ay-shadow);
  padding: 20px 18px 18px;
}

.ay-plan-preview-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ay-sage);
}

.ay-plan-preview-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ay-ink);
}

.ay-plan-preview-meta {
  margin: 0 0 16px;
}

.ay-plan-preview-meta > div {
  margin-bottom: 12px;
}

.ay-plan-preview-meta dt,
.ay-plan-preview-label {
  display: block;
  margin-bottom: 4px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 600;
}

.ay-plan-preview-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ay-ink);
}

.ay-plan-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.ay-plan-preview-tags span {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
  font-size: 12px;
  font-weight: 600;
}

#preview-sessions-wrap {
  margin-bottom: 16px;
}

.ay-preview-session-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ay-preview-session-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--ay-sage-mist);
  border: 1px solid #e4ebe3;
}

.ay-preview-session-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ay-ink);
  margin-bottom: 8px;
}

.ay-preview-session-prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ay-preview-session-prices span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.ay-preview-session-prices em {
  font-style: normal;
  color: var(--ay-muted);
  font-weight: 600;
}

.ay-preview-session-prices strong {
  color: var(--ay-sage);
  font-weight: 700;
}

.ay-preview-empty {
  margin: 0;
  color: var(--ay-muted);
  font-size: 12px;
}

.ay-plan-preview-benefits {
  padding: 12px;
  border-radius: 12px;
  background: var(--ay-sage-mist);
}

.ay-plan-preview-benefits ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ay-plan-preview-benefits li {
  position: relative;
  padding: 0 0 8px 22px;
  font-size: 13px;
  color: var(--ay-ink-soft);
  line-height: 1.4;
}

.ay-plan-preview-benefits li:last-child {
  padding-bottom: 0;
}

.ay-plan-preview-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ay-sage);
  font-weight: 700;
}

.ay-plan-preview-mark {
  margin-top: 18px;
  text-align: center;
  color: var(--ay-sage);
  opacity: 0.45;
  font-size: 22px;
}

.ay-pricing-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 0;
}

.ay-pricing-type-card {
  display: block;
  margin: 0;
  padding: 18px 16px;
  border: 1px solid var(--ay-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ay-pricing-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ay-pricing-type-card.is-selected {
  border-color: var(--ay-sage);
  background: var(--ay-sage-soft);
  box-shadow: 0 0 0 1px rgba(107, 142, 103, 0.25);
}

.ay-pricing-type-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ay-pricing-type-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage-mist);
  color: var(--ay-sage);
}

.ay-pricing-type-icon .material-icons-outlined {
  font-size: 22px;
}

.ay-pricing-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #c9d3c8;
  background: #fff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ay-pricing-check .material-icons-outlined {
  font-size: 16px;
  display: none;
}

.ay-pricing-type-card.is-selected .ay-pricing-check {
  border-color: var(--ay-sage);
  background: var(--ay-sage);
}

.ay-pricing-type-card.is-selected .ay-pricing-check .material-icons-outlined {
  display: block;
}

.ay-pricing-type-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--ay-ink);
}

.ay-pricing-type-desc {
  display: block;
  color: var(--ay-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ay-plan-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ay-ink-soft);
}

.ay-plan-info-blue {
  background: #eef5fb;
  color: #3d5a73;
}

#plan-duration-info {
  margin-bottom: 20px;
}

.ay-plan-info-blue .material-icons-outlined {
  color: #5b87ab;
  font-size: 18px;
}

.ay-plan-or {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 20px;
  position: relative;
}

.ay-plan-or::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed #d5d9d2;
}

.ay-plan-or span {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ay-rupee-field {
  position: relative;
}

.ay-full-price-edit {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 420px;
}

.ay-full-price-edit .ay-rupee-field {
  flex: 1 1 auto;
  min-width: 0;
}

.ay-full-price-edit .ay-rupee-field.is-readonly .form-control,
.ay-full-price-edit .ay-rupee-field .form-control[readonly] {
  background: #f6f7f5;
  cursor: default;
}

.ay-full-price-edit-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 14px !important;
  border: 1px solid var(--ay-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--ay-ink) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.ay-full-price-edit-btn .material-icons-outlined {
  font-size: 18px;
  color: #6b8e67;
}

.ay-full-price-edit-btn.is-active {
  border-color: #6b8e67 !important;
  background: #f3f7f2 !important;
  color: #4f6f4b !important;
}

.ay-rupee-field > span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ay-muted);
  font-weight: 600;
  z-index: 1;
}

.ay-rupee-field .form-control {
  padding-left: 34px !important;
}

.ay-rupee-field-sm {
  min-width: 110px;
}

.ay-rupee-field-sm.is-disabled {
  opacity: 0.55;
}

.ay-rupee-field-sm.is-disabled .form-control {
  background: #f3f4f2;
  color: transparent;
}

.ay-session-price-wrap {
  border: 1px solid var(--ay-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 16px;
}

.ay-session-price-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.ay-session-price-table thead th {
  padding: 12px 14px;
  background: var(--ay-surface-soft);
  border-bottom: 1px solid var(--ay-line);
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ay-session-price-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--ay-line);
  vertical-align: middle;
}

.ay-session-price-table td.has-error .form-control {
  border-color: var(--ay-danger) !important;
}

.ay-session-price-table td .help-block {
  margin-top: 6px;
  min-height: 0;
}

.ay-session-price-table td.has-error .help-block {
  color: var(--ay-danger);
}

.ay-session-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.ay-duration-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ay-duration-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ay-ink-soft);
  cursor: pointer;
  white-space: nowrap;
}

.ay-duration-check input {
  accent-color: var(--ay-sage);
}

.ay-custom-duration-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ay-custom-duration-hint {
  color: var(--ay-muted);
  font-size: 13px;
}

@media (max-width: 1199px) {
  .ay-plan-layout {
    grid-template-columns: 1fr;
  }

  .ay-plan-preview {
    position: static;
  }
}

@media (max-width: 991px) {
  .ay-pricing-type-grid,
  .ay-plan-full-grid {
    grid-template-columns: 1fr;
  }

  .ay-session-price-wrap {
    overflow-x: auto;
  }

  .ay-session-price-table {
    min-width: 860px;
  }
}

/* Package view page */
.ay-plan-view-page {
  padding-bottom: 32px;
}

.ay-plan-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.ay-plan-view-head-main h1 {
  margin: 0;
  font-family: var(--ay-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--ay-ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.ay-plan-view-head-main p {
  margin: 10px 0 0;
  color: var(--ay-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ay-plan-view-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ay-plan-back-btn,
.ay-plan-edit-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0 !important;
  padding: 11px 18px !important;
  border-radius: 12px !important;
  white-space: nowrap;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.ay-plan-back-btn .material-icons-outlined,
.ay-plan-edit-btn .material-icons-outlined {
  font-size: 18px;
}

.ay-plan-overview-section {
  margin-bottom: 20px;
}

.ay-plan-overview-top {
  padding: 22px 24px 0;
}

.ay-plan-overview-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ay-plan-overview-title h2 {
  margin: 0;
  font-family: var(--ay-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ay-sage);
  line-height: 1.2;
}

.ay-plan-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  padding: 22px 24px 26px;
}

.ay-plan-overview-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.ay-plan-overview-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ay-plan-overview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.ay-plan-field-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aa89a;
}

.ay-plan-field-icon .material-icons-outlined {
  font-size: 16px;
  line-height: 1;
}

.ay-plan-overview-value {
  color: var(--ay-ink);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.ay-plan-overview-value.is-multiline {
  color: var(--ay-ink-soft);
  font-weight: 400;
}

.ay-plan-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.ay-plan-status-badge.is-published {
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
}

.ay-plan-status-badge.is-draft {
  background: #f0f1ee;
  color: #6b7280;
}

.ay-plan-status-badge-lg {
  padding: 6px 14px;
  font-size: 12px;
}

.ay-plan-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
  max-width: 100%;
}

.ay-plan-view-section-head h2 {
  font-family: var(--ay-display);
  font-size: 20px;
}

.ay-plan-view-pricing-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 2.05fr);
  gap: 20px;
  align-items: stretch;
}

.ay-plan-view-pricing-grid.is-full-only {
  grid-template-columns: minmax(300px, 420px);
}

.ay-plan-view-pricing-grid.is-individual-only {
  grid-template-columns: 1fr;
}

.ay-plan-full-view-card,
.ay-plan-individual-view-card {
  margin-bottom: 0;
  height: 100%;
}

.ay-plan-full-price-box {
  background: #f5f6f4;
  border: 1px solid #e8ebe6;
  border-radius: 16px;
  padding: 22px 24px 24px;
  margin-bottom: 16px;
}

.ay-plan-full-price-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ay-muted);
  font-size: 13px;
  font-weight: 600;
}

.ay-plan-full-price-value {
  display: block;
  font-family: var(--ay-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ay-sage);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ay-plan-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.ay-plan-info-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aa89a;
}

.ay-plan-info-icon .material-icons-outlined {
  font-size: 18px;
  line-height: 1;
}

.ay-plan-info-muted {
  background: #f5f6f4;
  color: var(--ay-ink-soft);
}

.ay-plan-individual-body {
  padding-top: 8px;
}

.ay-plan-view-table-wrap {
  margin-bottom: 0;
  border-radius: 14px;
  overflow: hidden;
}

.ay-plan-view-price-table thead th {
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 13px 14px;
}

.ay-plan-view-price-table thead th.is-center {
  text-align: center;
}

.ay-plan-view-price-table thead th.is-price {
  text-align: right;
}

.ay-plan-view-price-table tbody td {
  padding: 15px 14px;
}

.ay-plan-view-session {
  gap: 10px;
}

.ay-plan-view-session .ay-session-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.ay-plan-view-session .ay-session-icon .material-icons-outlined {
  font-size: 18px;
}

.ay-plan-view-session strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ay-ink);
}

.ay-plan-view-durations {
  text-align: center;
}

.ay-plan-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ay-sage);
  color: #fff;
}

.ay-plan-check-icon .material-icons-outlined {
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.ay-plan-dash {
  color: #c0c7bf;
  font-weight: 500;
}

.ay-plan-view-price-cell {
  font-weight: 600;
  color: var(--ay-ink);
  white-space: nowrap;
  text-align: right;
}

.ay-plan-table-foot-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: #eef5fb;
  color: #3d5a73;
  font-size: 13px;
  line-height: 1.45;
  border-top: 1px solid #dde8f2;
}

.ay-plan-table-foot-note .ay-plan-info-icon {
  color: #5b87ab;
}

@media (max-width: 1199px) {
  .ay-plan-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .ay-plan-view-pricing-grid,
  .ay-plan-view-pricing-grid.is-full-only {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ay-plan-view-head {
    flex-direction: column;
  }

  .ay-plan-view-head-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .ay-plan-back-btn,
  .ay-plan-edit-btn {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }

  .ay-plan-overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ay-plan-view-head-main h1 {
    font-size: 30px;
  }
}

/* Plan details / performance page */
.ay-plan-details-page {
  padding-bottom: 32px;
}

.ay-plan-details-info {
  padding: 22px 24px 20px;
}

.ay-plan-details-info-grid {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr) minmax(180px, 0.7fr) minmax(0, 1.2fr);
  gap: 22px 28px;
  align-items: start;
  margin-bottom: 18px;
}

.ay-plan-details-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
}

.ay-plan-details-info-icon .material-icons-outlined {
  font-size: 26px;
}

.ay-plan-details-info-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.ay-plan-details-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 600;
}

.ay-plan-details-field strong {
  display: block;
  color: var(--ay-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.ay-plan-details-field p {
  margin: 0;
  color: var(--ay-ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.ay-plan-details-price {
  color: var(--ay-sage) !important;
  font-family: var(--ay-display);
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.ay-plan-info-sage {
  background: var(--ay-sage-mist);
  color: var(--ay-ink-soft);
}

.ay-plan-details-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.ay-plan-kpi {
  background: var(--ay-surface);
  border: 1px solid var(--ay-line);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: var(--ay-shadow);
  min-height: 148px;
  display: flex;
  flex-direction: column;
}

.ay-plan-kpi-top {
  margin-bottom: 12px;
}

.ay-plan-kpi-icon,
.ay-plan-kpi-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
}

.ay-plan-kpi-icon .material-icons-outlined {
  font-size: 18px;
}

.ay-plan-kpi-ring {
  background: conic-gradient(var(--ay-sage) calc(var(--p, 0) * 1%), #e8ebe6 0);
  position: relative;
}

.ay-plan-kpi-ring::after {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}

.ay-plan-kpi-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ay-muted);
  margin-bottom: 8px;
}

.ay-plan-kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--ay-ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ay-plan-kpi-sub {
  margin-top: 4px;
  color: var(--ay-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.ay-plan-kpi-trend {
  margin-top: auto;
  padding-top: 10px;
  color: var(--ay-sage);
  font-size: 12px;
  font-weight: 600;
}

.ay-plan-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.9fr) minmax(220px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.ay-plan-summary-grid.is-individual-only {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.9fr);
}

.ay-plan-summary-empty {
  margin: 0;
  color: var(--ay-muted);
  font-size: 13px;
}

.ay-plan-details-sessions {
  padding-top: 0;
}

.ay-plan-details-sessions h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ay-ink);
}

.ay-plan-summary-included h3,
.ay-plan-summary-durations h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ay-ink);
}

.ay-plan-summary-included ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ay-plan-summary-included li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ay-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.ay-plan-summary-price {
  background: var(--ay-sage-mist);
  border: 1px solid var(--ay-sage-soft);
  border-radius: 18px;
  padding: 28px 22px 22px;
  text-align: center;
}

.ay-plan-summary-price span:first-child {
  display: block;
  color: var(--ay-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ay-plan-summary-price strong {
  display: block;
  font-family: var(--ay-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ay-sage);
  line-height: 1.1;
}

.ay-plan-summary-price em {
  display: block;
  margin: 8px 0 16px;
  color: var(--ay-muted);
  font-size: 12px;
  font-style: normal;
}

.ay-plan-summary-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ay-sage);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
}

.ay-plan-duration-card {
  position: relative;
  border: 1px solid var(--ay-line);
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff;
  margin-bottom: 10px;
}

.ay-plan-duration-card strong {
  display: block;
  font-size: 16px;
  color: var(--ay-ink);
}

.ay-plan-duration-card span {
  display: block;
  margin-top: 2px;
  color: var(--ay-muted);
  font-size: 12px;
}

.ay-plan-duration-card em {
  display: block;
  margin-top: 8px;
  color: var(--ay-sage);
  font-style: normal;
  font-weight: 700;
}

.ay-plan-duration-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ay-sage);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ay-plan-duration-check .material-icons-outlined {
  font-size: 14px;
}

.ay-plan-customers-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 24px;
  flex-wrap: wrap;
}

.ay-plan-customers-head .ay-programme-section-head {
  padding-bottom: 0;
}

.ay-plan-customers-filters {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0 0;
}

.ay-plan-filter-dates,
.ay-plan-filter-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ay-muted);
}

.ay-plan-filter-dates-input {
  position: relative;
}

.ay-plan-filter-dates-input .form-control,
.ay-plan-filter-status .form-control {
  height: 40px;
  border-radius: 12px;
  min-width: 210px;
  padding-right: 36px;
  background: #fff;
}

.ay-plan-filter-status .form-control {
  min-width: 140px;
  padding-right: 28px;
}

.ay-plan-filter-dates-input .material-icons-outlined {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--ay-muted);
  pointer-events: none;
}

.ay-plan-filter-reset,
.ay-plan-export-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.ay-plan-filter-reset {
  border: 1px solid var(--ay-line);
  color: var(--ay-ink-soft);
  background: #fff;
}

.ay-plan-export-btn {
  background: var(--ay-sage);
  color: #fff !important;
}

.ay-plan-export-btn .material-icons-outlined {
  font-size: 18px;
}

.ay-plan-customers-table-wrap {
  border: 1px solid var(--ay-line);
  border-radius: 14px;
}

.ay-plan-cust {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ay-plan-cust-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.ay-plan-pay-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.ay-plan-pay-badge.is-paid {
  background: var(--ay-sage-soft);
  color: var(--ay-sage);
}

.ay-plan-pay-badge.is-pending {
  background: var(--ay-terracotta-soft);
  color: var(--ay-terracotta);
}

.ay-plan-progress {
  min-width: 120px;
}

.ay-plan-progress > span:first-child {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ay-ink-soft);
}

.ay-plan-progress-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #eef1ec;
  overflow: hidden;
}

.ay-plan-progress-track span {
  display: block;
  height: 100%;
  background: var(--ay-sage);
  border-radius: 999px;
}

.ay-plan-cust-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ay-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ay-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.ay-plan-cust-view .material-icons-outlined {
  font-size: 16px;
  color: var(--ay-sage);
}

.ay-plan-customers-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ay-plan-customers-foot .summary {
  margin: 0;
}

.ay-plan-customers-foot .pagination {
  margin: 0;
  justify-content: center;
}

.ay-plan-page-size {
  margin: 0;
  justify-self: end;
}

.ay-plan-page-size .form-control {
  height: 36px;
  width: 110px;
  border-radius: 10px;
}

.ay-plan-customer-modal {
  border-radius: 16px;
  overflow: hidden;
}

.ay-plan-cust-modal-head {
  margin-bottom: 18px;
}

.ay-plan-cust-modal-head span:last-child,
.ay-plan-cust-modal-head #modal-phone {
  display: block;
  color: var(--ay-muted);
  font-size: 13px;
}

.ay-plan-customer-dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.ay-plan-customer-dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
}

.ay-plan-customer-dl dt {
  margin: 0;
  color: var(--ay-muted);
  font-size: 12px;
  font-weight: 600;
}

.ay-plan-customer-dl dd {
  margin: 0;
  font-weight: 600;
}

.ay-plan-customer-note {
  margin: 16px 0 0;
  color: var(--ay-muted);
  font-size: 12px;
}

@media (max-width: 1400px) {
  .ay-plan-details-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ay-plan-details-info-grid {
    grid-template-columns: 56px 1fr 1fr;
  }

  .ay-plan-details-desc {
    grid-column: 2 / -1;
  }
}

@media (max-width: 1199px) {
  .ay-plan-summary-grid {
    grid-template-columns: 1fr;
  }

  .ay-plan-customers-foot {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .ay-plan-page-size {
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .ay-plan-details-info-grid,
  .ay-plan-details-kpis {
    grid-template-columns: 1fr;
  }

  .ay-plan-details-desc {
    grid-column: auto;
  }
}
