.edcf {
  --edcf-accent: #0ca961;
  --edcf-accent-deep: #07844b;
  --edcf-ink: #011f19;
  --edcf-highlight: #9af5cc;
  --edcf-mint: #e8fbf2;
  --edcf-cloud: #f5f8f7;
  --edcf-line: #dbe7e2;
  --edcf-muted: #536963;
  --edcf-white: #fff;
  --edcf-shadow: 0 22px 60px rgba(1, 31, 25, 0.12);
  --edcf-radius: 24px;
  position: relative;
  width: 100%;
  color: var(--edcf-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.edcf *,
.edcf *::before,
.edcf *::after {
  box-sizing: border-box;
}

.edcf [hidden] {
  display: none !important;
}

.edcf button,
.edcf input,
.edcf select {
  font: inherit;
}

.edcf button,
.edcf summary,
.edcf select {
  cursor: pointer;
}

.edcf a,
.edcf button,
.edcf input,
.edcf select,
.edcf summary {
  -webkit-tap-highlight-color: transparent;
}

.edcf :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--edcf-highlight) 85%, #fff);
  outline-offset: 3px;
}

.edcf h2,
.edcf h3,
.edcf p {
  margin-top: 0;
}

.edcf h2,
.edcf h3 {
  color: var(--edcf-ink);
  font-family: "Barlow Semi Condensed", "Arial Narrow", Inter, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.edcf-live-source {
  position: absolute !important;
  left: -100000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.edcf-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.edcf-loading {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: var(--edcf-cloud);
  border: 1px solid var(--edcf-line);
  border-radius: var(--edcf-radius);
  color: var(--edcf-muted);
}

.edcf-loading__mark {
  width: 48px;
  height: 48px;
  border: 4px solid var(--edcf-line);
  border-top-color: var(--edcf-accent);
  border-radius: 50%;
  animation: edcf-spin 0.9s linear infinite;
}

@keyframes edcf-spin {
  to { transform: rotate(360deg); }
}

.edcf-hero {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, 0.5fr);
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
  border-radius: 30px 30px 14px 14px;
  color: var(--edcf-white);
  background:
    radial-gradient(circle at 8% 15%, rgba(244, 201, 93, 0.2), transparent 28%),
    linear-gradient(128deg, var(--edcf-ink) 0%, #174f67 52%, var(--edcf-accent) 100%);
  isolation: isolate;
}

.edcf-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -55%;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  z-index: -1;
}

.edcf-hero__glow {
  position: absolute;
  inset: auto auto -100px -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.3);
  filter: blur(20px);
  z-index: -1;
}

.edcf-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.edcf-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #ddfff7;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.edcf-eyebrow > span {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--edcf-highlight);
}

.edcf-eyebrow--ink {
  color: var(--edcf-accent);
}

.edcf-hero h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--edcf-white);
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -0.045em;
}

.edcf-hero__intro {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
}

.edcf-hero__art {
  position: relative;
  width: min(260px, 22vw);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.edcf-dancer-mark {
  position: relative;
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 48% 52% 56% 44% / 56% 44% 54% 46%;
  color: var(--edcf-white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.11);
  font-size: 4rem;
  font-weight: 300;
  font-style: italic;
  backdrop-filter: blur(8px);
  transform: rotate(-8deg);
}

.edcf-orbit {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 46% 54% 45% 55%;
  animation: edcf-float 10s ease-in-out infinite;
}

.edcf-orbit--two {
  inset: -2%;
  border-color: rgba(244, 201, 93, 0.35);
  transform: rotate(70deg);
  animation-delay: -4s;
}

@keyframes edcf-float {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(9deg) scale(1.04); }
}

.edcf-feed-status {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px clamp(20px, 4vw, 40px);
  border: 1px solid var(--edcf-line);
  border-top: 0;
  color: var(--edcf-muted);
  background: var(--edcf-white);
  font-size: 0.88rem;
}

.edcf-feed-status > span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d59d11;
  box-shadow: 0 0 0 5px rgba(213, 157, 17, 0.12);
}

.edcf-feed-status.is-live > span {
  background: #168b64;
  box-shadow: 0 0 0 5px rgba(22, 139, 100, 0.13);
}

.edcf-feed-status.is-fallback > span {
  background: #b87813;
}

.edcf-feed-status strong {
  color: var(--edcf-ink);
}

.edcf-feed-status small::before {
  content: "·";
  padding-right: 10px;
}

.edcf-wizard {
  overflow: hidden;
  border: 1px solid var(--edcf-line);
  border-top: 0;
  border-radius: 0 0 var(--edcf-radius) var(--edcf-radius);
  background: var(--edcf-white);
  box-shadow: var(--edcf-shadow);
}

.edcf-wizard__top {
  padding: 24px clamp(22px, 5vw, 56px) 18px;
  background: var(--edcf-cloud);
  border-bottom: 1px solid var(--edcf-line);
}

.edcf-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
  color: var(--edcf-muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edcf-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #dbe9e5;
}

.edcf-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--edcf-accent), #2bb39e);
  transition: width 350ms ease;
}

.edcf-step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.edcf-step-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #80908c;
  font-size: 0.82rem;
  font-weight: 700;
}

.edcf-step-list li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd8d5;
  border-radius: 50%;
  color: #72817d;
  background: var(--edcf-white);
  font-size: 0.72rem;
}

.edcf-step-list li.is-current,
.edcf-step-list li.is-done {
  color: var(--edcf-ink);
}

.edcf-step-list li.is-current > span,
.edcf-step-list li.is-done > span {
  border-color: var(--edcf-accent);
  color: var(--edcf-white);
  background: var(--edcf-accent);
}

.edcf-wizard__body {
  min-height: 410px;
  display: grid;
  place-items: center;
  padding: clamp(34px, 6vw, 72px);
}

.edcf-question {
  width: min(880px, 100%);
}

.edcf-step-kicker {
  margin-bottom: 10px;
  color: var(--edcf-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edcf-question > h3 {
  max-width: 750px;
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.edcf-question > p:not(.edcf-step-kicker) {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--edcf-muted);
  font-size: 1rem;
}

.edcf-age-picker {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  padding: 18px 20px;
  border: 1px solid var(--edcf-line);
  border-radius: 16px;
  background: var(--edcf-cloud);
}

.edcf-age-picker label {
  flex: 0 0 auto;
  color: var(--edcf-ink);
  font-weight: 750;
}

.edcf-age-picker select,
.edcf-toolbar select,
.edcf-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbdad6;
  border-radius: 10px;
  color: var(--edcf-ink);
  background: var(--edcf-white);
}

.edcf-age-picker select,
.edcf-toolbar select {
  appearance: none;
  padding: 9px 38px 9px 12px;
  background-image: linear-gradient(45deg, transparent 50%, var(--edcf-ink) 50%), linear-gradient(135deg, var(--edcf-ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.edcf-skip-choice,
.edcf-text-button {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--edcf-accent);
  background: transparent;
  font-weight: 750;
}

.edcf-skip-choice {
  margin-top: 20px;
}

.edcf-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.edcf-choice-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edcf-choice {
  position: relative;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 19px 42px 19px 19px;
  border: 1px solid var(--edcf-line);
  border-radius: 14px;
  text-align: left;
  color: var(--edcf-ink);
  background: var(--edcf-white);
  box-shadow: 0 6px 16px rgba(23, 54, 93, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.edcf-choice:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--edcf-accent) 50%, var(--edcf-line));
  box-shadow: 0 12px 24px rgba(23, 54, 93, 0.09);
}

.edcf-choice.is-selected {
  border-color: var(--edcf-accent);
  background: var(--edcf-mint);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--edcf-accent) 18%, transparent);
}

.edcf-choice strong {
  font-size: 0.98rem;
}

.edcf-choice small {
  color: var(--edcf-muted);
  line-height: 1.35;
}

.edcf-choice__check {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  border: 1px solid #b9cac6;
  border-radius: 50%;
  background: var(--edcf-white);
}

.edcf-choice.is-selected .edcf-choice__check {
  border-color: var(--edcf-accent);
  background: var(--edcf-accent);
}

.edcf-choice.is-selected .edcf-choice__check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.edcf-day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.edcf-day-grid .edcf-choice {
  min-height: 90px;
}

.edcf-choice-label {
  margin: 24px 0 10px;
  color: var(--edcf-ink);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edcf-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.edcf-time-grid .edcf-choice {
  min-height: 92px;
}

.edcf-schedule-selects {
  display: none;
}

.edcf-wizard__actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px clamp(22px, 5vw, 56px);
  border-top: 1px solid var(--edcf-line);
  background: var(--edcf-cloud);
}

.edcf-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 0.93rem;
  font-weight: 790;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.edcf-button--primary {
  color: #fff !important;
  background: var(--edcf-accent);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--edcf-accent) 24%, transparent);
}

.edcf-button--primary:hover {
  color: #fff;
  background: var(--edcf-accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--edcf-accent) 28%, transparent);
}

.edcf-button--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.edcf-button--ghost {
  border-color: #bfcfcb;
  color: var(--edcf-ink);
  background: var(--edcf-white);
}

.edcf-button--ghost:hover {
  border-color: var(--edcf-accent);
  color: var(--edcf-accent);
}

.edcf-button--disabled {
  border-color: #d6dfdd;
  color: #6d7b78;
  background: #eef2f1;
  cursor: default;
}

.edcf-results {
  padding-top: clamp(54px, 8vw, 90px);
}

.edcf-results__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.edcf-results__heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.edcf-results__heading p:last-child {
  margin-bottom: 0;
  color: var(--edcf-muted);
}

.edcf-match-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.edcf-match-summary span,
.edcf-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #cce3dd;
  border-radius: 999px;
  color: var(--edcf-accent-deep);
  background: var(--edcf-mint);
  font-size: 0.73rem;
  font-weight: 760;
}

.edcf-toolbar {
  position: relative;
  z-index: 5;
  margin-bottom: 25px;
  padding: 17px;
  border: 1px solid var(--edcf-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(23, 54, 93, 0.07);
}

.edcf-search {
  position: relative;
  margin-bottom: 12px;
}

.edcf-search > span {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #6f827e;
  border-radius: 50%;
  transform: translateY(-56%);
  pointer-events: none;
}

.edcf-search > span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #6f827e;
  transform: rotate(45deg);
}

.edcf-search input {
  padding: 10px 16px 10px 44px;
}

.edcf-filter-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.edcf-filter-row label {
  color: var(--edcf-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edcf-filter-row select {
  display: block;
  margin-top: 5px;
  color: var(--edcf-ink);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.edcf-toolbar__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.edcf-view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--edcf-line);
  border-radius: 999px;
  background: var(--edcf-cloud);
}

.edcf-view-toggle button {
  min-width: 62px;
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  color: var(--edcf-muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 750;
}

.edcf-view-toggle button.is-active {
  color: #fff;
  background: var(--edcf-ink);
}

.edcf-class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.edcf-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--edcf-line);
  border-radius: 20px;
  color: var(--edcf-ink);
  background: var(--edcf-white);
  box-shadow: 0 10px 28px rgba(23, 54, 93, 0.07);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.edcf-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--edcf-accent) 35%, var(--edcf-line));
  box-shadow: 0 20px 42px rgba(23, 54, 93, 0.12);
}

.edcf-card__accent {
  height: 5px;
  background: linear-gradient(90deg, var(--edcf-accent), #43b8a6 72%, var(--edcf-highlight));
}

.edcf-card[data-program="Early Childhood"] .edcf-card__accent {
  background: linear-gradient(90deg, #e0a72c, #f4c95d, #ef9777);
}

.edcf-card[data-program="Homeschool"] .edcf-card__accent {
  background: linear-gradient(90deg, #527fc1, #7bb7d9, #62b8a8);
}

.edcf-card[data-program="Competition"] .edcf-card__accent {
  background: linear-gradient(90deg, #7b4f9e, #c05b9b, #f0a46e);
}

.edcf-card[data-program="Adaptive"] .edcf-card__accent {
  background: linear-gradient(90deg, #178070, #65b98f, #efcf67);
}

.edcf-card[data-program="Adult"] .edcf-card__accent {
  background: linear-gradient(90deg, #17365d, #4c6483, #b17f9f);
}

.edcf-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 18px 0;
}

.edcf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.edcf-tags span:nth-child(2) {
  border-color: #dce1ea;
  color: var(--edcf-ink);
  background: #f3f5f8;
}

.edcf-availability {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.edcf-availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.edcf-availability--open {
  color: #08754e;
  background: #e5f7ef;
}

.edcf-availability--low {
  color: #94600a;
  background: #fff3d5;
}

.edcf-availability--full {
  color: #a24144;
  background: #fbe8e8;
}

.edcf-availability--unknown {
  color: #5b6e69;
  background: #edf2f1;
}

.edcf-card__body {
  flex: 1 1 auto;
  padding: 16px 18px 0;
}

.edcf-card__body > h3 {
  margin-bottom: 8px;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
}

.edcf-age {
  margin-bottom: 20px;
  color: var(--edcf-accent);
  font-size: 0.86rem;
  font-weight: 750;
}

.edcf-card__facts {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 10px;
  margin-bottom: 15px;
}

.edcf-card__facts > div {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border-radius: 12px;
  background: var(--edcf-cloud);
}

.edcf-fact-icon {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--edcf-accent);
  background: var(--edcf-mint);
  font-size: 0.78rem;
  font-weight: 850;
}

.edcf-card__facts p {
  min-width: 0;
  margin: 0;
}

.edcf-card__facts small,
.edcf-card__facts strong,
.edcf-card__facts p > span {
  display: block;
}

.edcf-card__facts small {
  margin-bottom: 2px;
  color: var(--edcf-muted);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edcf-card__facts strong {
  color: var(--edcf-ink);
  font-size: 0.85rem;
  line-height: 1.25;
}

.edcf-card__facts strong small {
  display: inline;
  margin-left: 2px;
  letter-spacing: 0;
  text-transform: none;
}

.edcf-card__facts p > span {
  overflow-wrap: anywhere;
  color: var(--edcf-muted);
  font-size: 0.77rem;
}

.edcf-details {
  border-top: 1px solid var(--edcf-line);
}

.edcf-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 1px;
  color: var(--edcf-ink);
  font-size: 0.85rem;
  font-weight: 780;
  list-style: none;
}

.edcf-details summary::-webkit-details-marker {
  display: none;
}

.edcf-details summary i {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--edcf-mint);
}

.edcf-details summary i::before,
.edcf-details summary i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--edcf-accent);
}

.edcf-details summary i::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.edcf-details[open] summary i::after {
  transform: rotate(0deg);
}

.edcf-details__content {
  padding: 0 0 16px;
  color: var(--edcf-muted);
  font-size: 0.87rem;
}

.edcf-details__content > p {
  line-height: 1.65;
}

.edcf-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.edcf-detail-grid p {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--edcf-line);
  border-radius: 9px;
}

.edcf-detail-grid strong,
.edcf-detail-grid span {
  display: block;
}

.edcf-detail-grid strong {
  color: var(--edcf-ink);
  font-size: 0.69rem;
  text-transform: uppercase;
}

.edcf-card__footer {
  padding: 16px 18px 18px;
}

.edcf-card__footer .edcf-button {
  width: 100%;
}

.edcf-class-grid--list {
  grid-template-columns: 1fr;
}

.edcf-class-grid--list .edcf-card {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) minmax(200px, 0.33fr);
}

.edcf-class-grid--list .edcf-card__accent {
  height: auto;
  grid-row: 1 / span 3;
}

.edcf-class-grid--list .edcf-card__top {
  grid-column: 2;
}

.edcf-class-grid--list .edcf-card__body {
  grid-column: 2;
  padding-bottom: 16px;
}

.edcf-class-grid--list .edcf-card__footer {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  padding: 24px;
  border-left: 1px solid var(--edcf-line);
  background: var(--edcf-cloud);
}

.edcf-class-grid--list .edcf-card__facts {
  grid-template-columns: repeat(2, minmax(170px, 250px));
}

.edcf-empty {
  grid-column: 1 / -1;
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 40px;
  border: 1px dashed #b9ceca;
  border-radius: 20px;
  text-align: center;
  background: var(--edcf-cloud);
}

.edcf-empty > span {
  margin-bottom: 10px;
  color: var(--edcf-accent);
  font-size: 3rem;
}

.edcf-empty h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.edcf-empty p {
  max-width: 500px;
  color: var(--edcf-muted);
}

/* Emerald Dance 1.1 — brand-led, conversion-focused experience */
.edcf-hero {
  min-height: 600px;
  display: block;
  padding: 0;
  border-radius: 32px 32px 16px 16px;
  background-image:
    linear-gradient(90deg, rgba(1, 23, 19, 0.96) 0%, rgba(1, 31, 25, 0.88) 48%, rgba(1, 31, 25, 0.54) 100%),
    var(--edcf-hero-image);
  background-color: #011f19;
  background-position: center;
  background-size: cover;
  box-shadow: 0 26px 70px rgba(1, 31, 25, 0.2);
}

.edcf-hero::after {
  right: -16%;
  bottom: -48%;
  width: 58%;
  border-color: rgba(154, 245, 204, 0.22);
  z-index: 0;
}

.edcf-hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: repeating-linear-gradient(112deg, transparent 0 28px, rgba(154, 245, 204, 0.2) 29px, transparent 30px 57px);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}

.edcf-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(32px, 5.5vw, 66px);
}

.edcf-hero__brand {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  padding: 9px 16px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(1, 31, 25, 0.5);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.edcf-hero__logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  object-position: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.96);
}

.edcf-hero__monogram {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--edcf-accent);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-style: italic;
}

.edcf-hero__brand div > span,
.edcf-hero__brand div > small {
  display: block;
}

.edcf-hero__brand div > span {
  color: #fff;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edcf-hero__brand div > small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.edcf-hero__copy {
  max-width: 800px;
}

.edcf-hero h2 {
  max-width: 790px;
  margin-bottom: 20px;
  font-family: "Barlow Semi Condensed", "Arial Narrow", Inter, sans-serif;
  font-size: clamp(2.75rem, 6.4vw, 5.65rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.edcf-hero .edcf-eyebrow {
  color: var(--edcf-highlight);
}

.edcf-hero .edcf-eyebrow > span {
  background: var(--edcf-accent);
}

.edcf-hero__intro {
  max-width: 650px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.edcf-hero__promise {
  margin: 0;
  color: #fff;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.edcf-hero__proof {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  list-style: none;
  backdrop-filter: blur(12px);
}

.edcf-hero__proof li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 15px 18px;
  color: #fff;
  background: rgba(1, 31, 25, 0.6);
}

.edcf-hero__proof i {
  flex: 0 0 auto;
  color: var(--edcf-highlight);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.edcf-hero__proof span {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.edcf-feed-status {
  position: relative;
  z-index: 3;
  width: calc(100% - clamp(24px, 6vw, 74px));
  margin: -23px auto 0;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 13px 32px rgba(1, 31, 25, 0.12);
}

.edcf-wizard {
  margin-top: -23px;
  padding-top: 23px;
  border-top: 0;
  border-radius: 0 0 26px 26px;
}

.edcf-wizard__top {
  padding-top: 38px;
}

.edcf-question > h3,
.edcf-results__heading h2,
.edcf-card__body > h3 {
  font-family: "Barlow Semi Condensed", "Arial Narrow", Inter, sans-serif;
}

.edcf-progress > span {
  background: linear-gradient(90deg, var(--edcf-accent-deep), var(--edcf-accent), var(--edcf-highlight));
}

.edcf-results__actions,
.edcf-toolbar__actions,
.edcf-toolbar__lead {
  display: flex;
  align-items: center;
  gap: 14px;
}

.edcf-results__actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.edcf-toolbar {
  position: sticky;
  top: 12px;
  padding: 18px;
  border-color: rgba(219, 231, 226, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 15px 40px rgba(1, 31, 25, 0.09);
  backdrop-filter: blur(18px);
}

.edcf-toolbar__lead .edcf-search {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.edcf-filter-toggle {
  display: none;
  min-height: 46px;
  padding: 9px 15px;
  border: 1px solid var(--edcf-line);
  border-radius: 12px;
  color: var(--edcf-ink);
  background: var(--edcf-cloud);
  font-size: 0.82rem;
  font-weight: 780;
}

.edcf-toolbar-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--edcf-line);
  border-radius: 999px;
  color: var(--edcf-ink);
  background: var(--edcf-cloud);
  font-size: 0.78rem;
  font-weight: 760;
}

.edcf-toolbar-button span {
  color: var(--edcf-accent);
  font-size: 1rem;
}

.edcf-toolbar-button b {
  min-width: 19px;
  min-height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--edcf-ink);
  font-size: 0.67rem;
}

.edcf-toolbar-button.is-active {
  border-color: var(--edcf-accent);
  color: #fff;
  background: var(--edcf-accent);
}

.edcf-toolbar-button.is-active span,
.edcf-toolbar-button.is-active b {
  color: #fff;
}

.edcf-card {
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(1, 31, 25, 0.08);
}

.edcf-card:hover {
  box-shadow: 0 24px 54px rgba(1, 31, 25, 0.14);
}

.edcf-card__accent,
.edcf-card[data-program] .edcf-card__accent {
  height: 6px;
  background: linear-gradient(90deg, var(--edcf-accent-deep), var(--edcf-accent) 66%, var(--edcf-highlight));
}

.edcf-save {
  flex: 0 0 auto;
  min-width: 52px;
  min-height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px 8px;
  border: 1px solid var(--edcf-line);
  border-radius: 12px;
  color: var(--edcf-muted);
  background: var(--edcf-cloud);
}

.edcf-save span {
  color: var(--edcf-accent);
  font-size: 1.15rem;
  line-height: 1;
}

.edcf-save small {
  font-size: 0.62rem;
  font-weight: 750;
}

.edcf-save.is-saved {
  border-color: #a8e5c4;
  color: var(--edcf-accent-deep);
  background: var(--edcf-mint);
}

.edcf-card__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 18px 0;
}

.edcf-fit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--edcf-accent-deep);
  font-size: 0.68rem;
  font-weight: 760;
}

.edcf-fit i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--edcf-accent);
  font-size: 0.65rem;
  font-style: normal;
}

.edcf-button--dark {
  color: #fff !important;
  background: var(--edcf-ink);
  box-shadow: 0 8px 20px rgba(1, 31, 25, 0.18);
}

.edcf-button--dark:hover {
  color: #fff;
  background: #043a2f;
  transform: translateY(-1px);
}

.edcf-enroll {
  min-height: 50px;
  border-radius: 11px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.edcf-concierge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 0%, rgba(12, 169, 97, 0.35), transparent 38%),
    var(--edcf-ink);
}

.edcf-concierge > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.edcf-concierge > div > span {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--edcf-highlight);
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.edcf-concierge p,
.edcf-concierge small {
  display: block;
  margin: 0;
}

.edcf-concierge strong {
  color: #fff;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: 1.18rem;
}

.edcf-concierge small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.edcf-concierge .edcf-button--dark {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.edcf-concierge .edcf-button--dark:hover {
  border-color: var(--edcf-accent);
  background: var(--edcf-accent);
}

.edcf-shortlist-bar {
  position: sticky;
  z-index: 15;
  bottom: 14px;
  width: min(880px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px auto 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #fff;
  background: rgba(1, 31, 25, 0.94);
  box-shadow: 0 20px 55px rgba(1, 31, 25, 0.28);
  backdrop-filter: blur(18px);
}

.edcf-shortlist-bar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.edcf-shortlist-bar__heart {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--edcf-accent);
}

.edcf-shortlist-bar p,
.edcf-shortlist-bar strong,
.edcf-shortlist-bar small {
  display: block;
  margin: 0;
}

.edcf-shortlist-bar strong {
  color: #fff;
}

.edcf-shortlist-bar small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
}

.edcf-shortlist-bar .edcf-text-button {
  color: rgba(255, 255, 255, 0.78);
}

.edcf-shortlist-bar .edcf-button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.78rem;
}

.edcf-toast {
  position: fixed;
  z-index: 99999;
  right: 22px;
  bottom: 22px;
  max-width: min(340px, calc(100vw - 44px));
  padding: 13px 17px;
  border-radius: 12px;
  color: #fff;
  background: var(--edcf-ink);
  box-shadow: 0 16px 42px rgba(1, 31, 25, 0.24);
  font-size: 0.86rem;
  font-weight: 700;
}

.edcf-noscript,
.edcf-admin-message {
  padding: 16px 18px;
  border: 1px solid #e5cf87;
  border-radius: 10px;
  color: #604b15;
  background: #fff8dc;
}

@media (max-width: 1050px) {
  .edcf-choice-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edcf-filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edcf-class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .edcf-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 42px 24px 48px;
    border-radius: 22px 22px 10px 10px;
  }

  .edcf-hero__art {
    position: absolute;
    right: -30px;
    bottom: -46px;
    width: 180px;
    opacity: 0.42;
  }

  .edcf-hero h2 {
    max-width: 570px;
  }

  .edcf-feed-status {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .edcf-feed-status small {
    flex-basis: 100%;
    padding-left: 19px;
  }

  .edcf-feed-status small::before {
    content: none;
  }

  .edcf-step-list li {
    justify-content: center;
    font-size: 0;
  }

  .edcf-step-list li > span {
    font-size: 0.72rem;
  }

  .edcf-wizard__body {
    min-height: 390px;
    padding: 38px 22px;
  }

  .edcf-choice-grid,
  .edcf-choice-grid--compact,
  .edcf-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edcf-age-picker {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .edcf-results__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .edcf-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edcf-class-grid {
    grid-template-columns: 1fr;
  }

  .edcf-class-grid--list .edcf-card {
    display: flex;
  }

  .edcf-class-grid--list .edcf-card__accent {
    width: auto;
    height: 5px;
  }

  .edcf-class-grid--list .edcf-card__footer {
    display: block;
    padding: 16px 18px 18px;
    border-top: 0;
    border-left: 0;
    background: var(--edcf-white);
  }
}

@media (max-width: 480px) {
  .edcf-hero h2 {
    font-size: 2.05rem;
  }

  .edcf-choice-grid,
  .edcf-choice-grid--compact {
    grid-template-columns: 1fr;
  }

  .edcf-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edcf-choice {
    min-height: 88px;
  }

  .edcf-wizard__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .edcf-wizard__actions .edcf-button {
    width: 100%;
  }

  .edcf-filter-row {
    grid-template-columns: 1fr;
  }

  .edcf-toolbar__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .edcf-card__top {
    flex-direction: column;
  }

  .edcf-card__facts {
    grid-template-columns: 1fr;
  }

  .edcf-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .edcf-hero {
    min-height: 640px;
    padding: 0;
    border-radius: 22px 22px 12px 12px;
    background-image:
      linear-gradient(180deg, rgba(1, 24, 20, 0.78) 0%, rgba(1, 31, 25, 0.9) 56%, rgba(1, 31, 25, 0.98) 100%),
      var(--edcf-hero-image);
    background-position: center;
  }

  .edcf-hero__inner {
    min-height: 640px;
    gap: 26px;
    padding: 24px 20px 35px;
  }

  .edcf-hero__brand {
    max-width: 100%;
    padding: 7px 13px 7px 7px;
    border-radius: 14px;
  }

  .edcf-hero__logo {
    width: 56px;
    height: 56px;
  }

  .edcf-hero__brand div > span {
    font-size: 0.77rem;
  }

  .edcf-hero__brand div > small {
    font-size: 0.65rem;
  }

  .edcf-hero h2 {
    max-width: 570px;
    font-size: clamp(2.45rem, 12.5vw, 3.65rem);
    line-height: 0.98;
  }

  .edcf-hero__intro {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .edcf-hero__promise {
    font-size: 0.72rem;
    letter-spacing: 0.11em;
  }

  .edcf-hero__proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edcf-hero__proof li {
    min-width: 0;
    min-height: 70px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 10px;
  }

  .edcf-hero__proof span {
    font-size: 0.61rem;
    letter-spacing: 0.02em;
  }

  .edcf-feed-status {
    width: calc(100% - 20px);
    margin-top: -19px;
    padding: 11px 14px;
    border-radius: 15px;
  }

  .edcf-wizard {
    margin-top: -28px;
    padding-top: 28px;
  }

  .edcf-wizard__top {
    padding-top: 42px;
  }

  .edcf-results__actions {
    justify-content: flex-start;
  }

  .edcf-toolbar {
    top: 7px;
    padding: 12px;
    border-radius: 15px;
  }

  .edcf-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .edcf-filter-row {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--edcf-line);
  }

  .edcf-filter-row.is-mobile-open {
    display: grid;
  }

  .edcf-toolbar__foot {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .edcf-toolbar__actions {
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

  .edcf-card__top {
    align-items: flex-start;
    flex-direction: row;
  }

  .edcf-concierge {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .edcf-concierge .edcf-button {
    width: 100%;
  }

  .edcf-shortlist-bar {
    bottom: 8px;
    width: calc(100% - 16px);
    padding: 10px;
    border-radius: 15px;
  }

  .edcf-shortlist-bar > div:last-child {
    margin-left: auto;
  }

  .edcf-shortlist-bar [data-action="print-saved"],
  .edcf-shortlist-bar [data-action="clear-saved"] {
    display: none;
  }

  .edcf-shortlist-bar .edcf-button {
    min-height: 42px;
  }

  .edcf-toast {
    right: 12px;
    bottom: 78px;
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 430px) {
  .edcf-filter-row,
  .edcf-filter-row.is-mobile-open {
    grid-template-columns: 1fr;
  }

  .edcf-hero__brand div > span {
    display: none;
  }

  .edcf-shortlist-bar__heart {
    display: none;
  }
}

/* Emerald Dance 1.2 — family decision tools */
.edcf-filter-toggle b {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--edcf-accent);
  font-size: 0.66rem;
}

.edcf-empty--near {
  min-height: 0;
  padding: 28px;
  border-style: solid;
  background: linear-gradient(135deg, var(--edcf-mint), #fff);
}

.edcf-empty--near > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--edcf-accent);
  font-size: 1.35rem;
}

.edcf-card--near {
  border-color: color-mix(in srgb, var(--edcf-accent) 35%, var(--edcf-line));
}

.edcf-card--near .edcf-card__accent {
  background: linear-gradient(90deg, #c8971d, #f4c95d, var(--edcf-highlight));
}

.edcf-fit--near {
  color: #7c5a08;
}

.edcf-fit--near i {
  background: #c8971d;
}

.edcf-modal-open {
  overflow: hidden;
}

.edcf-compare-backdrop {
  position: fixed;
  z-index: 99998;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 20, 17, 0.76);
  backdrop-filter: blur(10px);
}

.edcf-compare-dialog {
  width: min(1160px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  color: var(--edcf-ink);
  background: #f7faf9;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.3);
}

.edcf-compare-dialog > header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 30px 22px;
  border-bottom: 1px solid var(--edcf-line);
  background: rgba(247, 250, 249, 0.95);
  backdrop-filter: blur(16px);
}

.edcf-compare-dialog > header h2 {
  margin: 2px 0 5px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  text-transform: uppercase;
}

.edcf-compare-dialog > header p:last-child {
  margin: 0;
  color: var(--edcf-muted);
}

.edcf-dialog-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--edcf-line);
  border-radius: 50%;
  color: var(--edcf-ink);
  background: #fff;
  font-size: 1.75rem;
  line-height: 1;
}

.edcf-compare-content {
  padding: 26px 30px 30px;
}

.edcf-compare-alert,
.edcf-compare-ok {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
}

.edcf-compare-alert {
  border: 1px solid #ecd898;
  background: #fff8dd;
}

.edcf-compare-alert strong,
.edcf-compare-alert p,
.edcf-compare-ok p,
.edcf-compare-ok strong,
.edcf-compare-ok small {
  display: block;
  margin: 0;
}

.edcf-compare-alert strong {
  flex: 0 0 auto;
  color: #795806;
}

.edcf-compare-alert p {
  color: #685b34;
  font-size: 0.88rem;
}

.edcf-compare-ok {
  border: 1px solid #bde8d1;
  background: var(--edcf-mint);
}

.edcf-compare-ok > span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--edcf-accent);
}

.edcf-compare-ok small {
  color: var(--edcf-muted);
  font-size: 0.76rem;
}

.edcf-compare-grid {
  display: grid;
  grid-template-columns: repeat(var(--edcf-compare-count, 3), minmax(0, 1fr));
  gap: 14px;
}

.edcf-compare-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--edcf-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(1, 31, 25, 0.07);
}

.edcf-compare-card__top {
  min-height: 170px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--edcf-ink), #0b513e);
}

.edcf-compare-card__top > span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--edcf-highlight);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.edcf-compare-card__top h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.45rem;
}

.edcf-compare-card__top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.82rem;
}

.edcf-compare-card dl {
  flex: 1 1 auto;
  margin: 0;
  padding: 4px 20px 0;
}

.edcf-compare-card dl > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--edcf-line);
}

.edcf-compare-card dt {
  color: var(--edcf-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edcf-compare-card dd {
  margin: 0;
  color: var(--edcf-ink);
  font-size: 0.86rem;
  font-weight: 760;
}

.edcf-compare-card dd small {
  display: block;
  margin-top: 2px;
  color: var(--edcf-muted);
  font-weight: 500;
}

.edcf-compare-card .edcf-availability {
  white-space: normal;
}

.edcf-compare-card__cta {
  padding: 18px 20px 20px;
}

.edcf-compare-card__cta .edcf-button {
  width: 100%;
}

.edcf-compare-note {
  margin: 16px 0 0;
  color: var(--edcf-muted);
  text-align: center;
  font-size: 0.78rem;
}

.edcf-compare-dialog > footer {
  position: sticky;
  z-index: 3;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 30px;
  border-top: 1px solid var(--edcf-line);
  background: rgba(247, 250, 249, 0.96);
  backdrop-filter: blur(16px);
}

@media (max-width: 760px) {
  .edcf-schedule-selects {
    display: grid;
    gap: 14px;
    margin-top: 24px;
  }

  .edcf-schedule-selects label {
    color: var(--edcf-ink);
    font-size: 0.75rem;
    font-weight: 820;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .edcf-schedule-selects select {
    width: 100%;
    min-height: 56px;
    display: block;
    margin-top: 7px;
    padding: 11px 42px 11px 14px;
    border: 1px solid #c7d9d4;
    border-radius: 13px;
    color: var(--edcf-ink);
    background-color: var(--edcf-cloud);
    background-image: linear-gradient(45deg, transparent 50%, var(--edcf-ink) 50%), linear-gradient(135deg, var(--edcf-ink) 50%, transparent 50%);
    background-position: calc(100% - 18px) 25px, calc(100% - 13px) 25px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    appearance: none;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
  }

  .edcf-schedule-cards {
    display: none;
  }

  .edcf-time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edcf-compare-backdrop {
    align-items: end;
    padding: 0;
  }

  .edcf-compare-dialog {
    width: 100%;
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
  }

  .edcf-compare-dialog > header {
    gap: 16px;
    padding: 22px 18px 17px;
  }

  .edcf-compare-dialog > header h2 {
    font-size: 2rem;
  }

  .edcf-compare-content {
    padding: 18px 0 22px;
  }

  .edcf-compare-alert,
  .edcf-compare-ok {
    align-items: flex-start;
    margin: 0 16px 15px;
  }

  .edcf-compare-alert {
    flex-direction: column;
  }

  .edcf-compare-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 84vw);
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 10px;
    scroll-padding-left: 16px;
    scroll-snap-type: x mandatory;
  }

  .edcf-compare-card {
    scroll-snap-align: start;
  }

  .edcf-compare-dialog > footer {
    justify-content: stretch;
    flex-wrap: wrap;
    padding: 13px 16px calc(13px + env(safe-area-inset-bottom));
  }

  .edcf-compare-dialog > footer .edcf-text-button {
    flex: 1 1 100%;
    justify-content: center;
    margin-bottom: 2px;
  }

  .edcf-compare-dialog > footer .edcf-button {
    flex: 1 1 50%;
    padding-inline: 12px;
  }

  .edcf-compare-note {
    padding: 0 18px;
  }
}

@media (max-width: 430px) {
  .edcf-shortlist-bar p small {
    display: none;
  }

  .edcf-shortlist-bar .edcf-button {
    padding-inline: 11px;
  }
}

/* Emerald Dance 1.3 — readable cards and unmistakable interaction states */
.edcf {
  --edcf-action: #067746;
  --edcf-action-hover: #055f38;
  --edcf-focus: #064d31;
  --edcf-description-bg: #f0faf5;
  --edcf-description-border: #b8ddcb;
}

.edcf :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--edcf-focus) !important;
}

.edcf .edcf-button,
.edcf .edcf-filter-toggle,
.edcf .edcf-toolbar-button,
.edcf .edcf-view-toggle button,
.edcf .edcf-save,
.edcf .edcf-details summary {
  min-height: 44px;
}

.edcf .edcf-button--primary {
  color: #fff !important;
  background: var(--edcf-action);
  box-shadow: 0 9px 20px rgba(6, 119, 70, 0.24);
}

.edcf .edcf-button--primary:hover {
  color: #fff !important;
  background: var(--edcf-action-hover);
  box-shadow: 0 13px 28px rgba(5, 95, 56, 0.28);
}

.edcf .edcf-button:not(:disabled):active,
.edcf .edcf-filter-toggle:active,
.edcf .edcf-toolbar-button:active,
.edcf .edcf-view-toggle button:active,
.edcf .edcf-save:active,
.edcf .edcf-choice:active {
  transform: translateY(0) scale(0.985);
}

.edcf .edcf-button--ghost:hover,
.edcf .edcf-text-button,
.edcf .edcf-skip-choice,
.edcf .edcf-step-kicker,
.edcf .edcf-eyebrow--ink {
  color: var(--edcf-action);
}

.edcf .edcf-step-list li.is-current > span,
.edcf .edcf-step-list li.is-done > span,
.edcf .edcf-hero__monogram {
  border-color: var(--edcf-action);
  color: #fff;
  background: var(--edcf-action);
}

.edcf .edcf-concierge .edcf-button--dark:hover {
  border-color: #fff;
  background: var(--edcf-action);
}

.edcf .edcf-age-picker select,
.edcf .edcf-toolbar select,
.edcf .edcf-search input,
.edcf .edcf-schedule-selects select {
  border-color: #b8cbc5;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.edcf .edcf-age-picker select:hover,
.edcf .edcf-toolbar select:hover,
.edcf .edcf-search input:hover,
.edcf .edcf-schedule-selects select:hover {
  border-color: var(--edcf-action);
}

.edcf .edcf-age-picker select:focus,
.edcf .edcf-toolbar select:focus,
.edcf .edcf-search input:focus,
.edcf .edcf-schedule-selects select:focus {
  border-color: var(--edcf-action);
  background-color: #fff;
}

.edcf .edcf-choice:hover {
  transform: none;
}

.edcf .edcf-choice.is-selected {
  border-color: var(--edcf-action);
  background: linear-gradient(135deg, #e9f8f0, #f8fcfa);
  box-shadow: inset 4px 0 0 var(--edcf-action), 0 0 0 2px rgba(6, 119, 70, 0.14);
}

.edcf .edcf-choice.is-selected .edcf-choice__check {
  border-color: var(--edcf-action);
  background: var(--edcf-action);
}

.edcf .edcf-toolbar-button,
.edcf .edcf-filter-toggle,
.edcf .edcf-view-toggle button,
.edcf .edcf-save {
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.edcf .edcf-toolbar-button span,
.edcf .edcf-save span,
.edcf .edcf-age,
.edcf .edcf-fact-icon {
  color: var(--edcf-action);
}

.edcf .edcf-toolbar-button.is-active {
  border-color: var(--edcf-action);
  color: #fff;
  background: var(--edcf-action);
  box-shadow: 0 6px 16px rgba(6, 119, 70, 0.2);
}

.edcf .edcf-filter-toggle b,
.edcf .edcf-fit i,
.edcf .edcf-shortlist-bar__heart,
.edcf .edcf-empty--near > span,
.edcf .edcf-compare-ok > span {
  color: #fff;
  background: var(--edcf-action);
}

.edcf .edcf-card {
  border-color: #d4e1dc;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(1, 31, 25, 0.09);
  transform: none;
}

.edcf .edcf-card:hover {
  transform: none;
}

.edcf .edcf-card:focus-within {
  border-color: var(--edcf-action);
  box-shadow: 0 22px 52px rgba(1, 31, 25, 0.16), 0 0 0 2px rgba(6, 119, 70, 0.14);
}

.edcf .edcf-card__body {
  padding-top: 14px;
}

.edcf .edcf-card__body > h3 {
  margin-bottom: 7px;
  font-size: clamp(1.28rem, 2vw, 1.58rem);
  line-height: 1.08;
  text-wrap: balance;
}

.edcf .edcf-age {
  margin-bottom: 17px;
  font-weight: 800;
}

.edcf .edcf-card__facts > div {
  border: 1px solid #e2ece8;
  background: #f7faf9;
}

.edcf .edcf-card__description {
  margin: 4px 0 16px;
  padding: 15px 16px 16px;
  border: 1px solid var(--edcf-description-border);
  border-left: 4px solid var(--edcf-action);
  border-radius: 13px;
  background: var(--edcf-description-bg);
}

.edcf .edcf-card__description > span {
  display: block;
  margin-bottom: 6px;
  color: var(--edcf-action);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edcf .edcf-card__description p {
  margin: 0;
  color: #29463e;
  font-size: 0.9rem;
  line-height: 1.62;
}

.edcf .edcf-details {
  border-top-color: #d4e1dc;
}

.edcf .edcf-details summary {
  margin: 0 -4px;
  padding: 13px 12px;
  border-radius: 11px;
  color: #173b31;
  transition: color 160ms ease, background-color 160ms ease;
}

.edcf .edcf-details[open] summary {
  color: var(--edcf-action-hover);
  background: #f0f7f4;
}

.edcf .edcf-details summary i {
  flex: 0 0 auto;
  background: #e0f4ea;
}

.edcf .edcf-details summary i::before,
.edcf .edcf-details summary i::after {
  background: var(--edcf-action);
}

.edcf .edcf-details__content {
  padding-top: 10px;
}

.edcf .edcf-details__description {
  margin: 0 0 12px;
  color: #29463e;
  line-height: 1.62;
}

.edcf .edcf-detail-grid p {
  border-color: #d6e4df;
  background: #fbfdfc;
}

.edcf .edcf-detail-grid span {
  margin-top: 2px;
  color: #3e5952;
  line-height: 1.35;
}

.edcf .edcf-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #edf2f0;
}

.edcf .edcf-card__footer .edcf-button {
  min-height: 52px;
}

.edcf .edcf-card__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
  color: #536963;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

.edcf .edcf-card__trust i {
  width: 16px;
  height: 16px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--edcf-action);
  background: #e3f6ec;
  font-size: 0.59rem;
  font-style: normal;
}

.edcf .edcf-compare-swipe-hint {
  display: none;
}

.edcf .edcf-dialog-close:hover,
.edcf .edcf-filter-toggle:hover,
.edcf .edcf-toolbar-button:hover,
.edcf .edcf-view-toggle button:hover,
.edcf .edcf-save:hover,
.edcf .edcf-details summary:hover {
  border-color: #8abca6;
  color: var(--edcf-action-hover);
  background-color: #eaf7f0;
}

.edcf .edcf-save.is-saved {
  border-color: #79b999;
  color: var(--edcf-action-hover);
  background: #e3f6ec;
  box-shadow: inset 0 0 0 1px rgba(6, 119, 70, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .edcf .edcf-card:hover {
    transform: translateY(-4px);
    border-color: #8abca6;
    box-shadow: 0 25px 58px rgba(1, 31, 25, 0.16);
  }

  .edcf .edcf-choice:hover {
    transform: translateY(-2px);
    border-color: #8abca6;
    background: #fbfefc;
    box-shadow: 0 12px 26px rgba(1, 31, 25, 0.1);
  }

  .edcf .edcf-button:not(:disabled):hover,
  .edcf .edcf-filter-toggle:hover,
  .edcf .edcf-toolbar-button:hover,
  .edcf .edcf-save:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 760px) {
  .edcf .edcf-hero,
  .edcf .edcf-hero__inner {
    min-height: 600px;
  }

  .edcf .edcf-results {
    padding-top: 48px;
  }

  .edcf .edcf-class-grid {
    gap: 15px;
  }

  .edcf .edcf-card__top {
    padding: 16px 16px 0;
  }

  .edcf .edcf-card__status {
    padding: 11px 16px 0;
  }

  .edcf .edcf-card__body {
    padding: 14px 16px 0;
  }

  .edcf .edcf-card__footer,
  .edcf .edcf-class-grid--list .edcf-card__footer {
    padding: 13px 16px 16px;
  }

  .edcf .edcf-card__description {
    padding: 14px;
  }

  .edcf .edcf-card__description p {
    font-size: 0.91rem;
    line-height: 1.58;
  }

  .edcf .edcf-compare-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin: 0 16px 10px;
    color: var(--edcf-action);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .edcf .edcf-compare-swipe-hint span {
    font-size: 1rem;
  }

  .edcf .edcf-compare-grid {
    overscroll-behavior-x: contain;
    scrollbar-color: #8abca6 transparent;
    scrollbar-width: thin;
  }

  .edcf .edcf-filter-toggle,
  .edcf .edcf-toolbar-button,
  .edcf .edcf-view-toggle button {
    min-height: 44px;
  }

  .edcf .edcf-toolbar select,
  .edcf .edcf-search input {
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  .edcf .edcf-card__facts {
    grid-template-columns: minmax(0, 1.25fr) minmax(112px, 0.75fr);
  }

  .edcf .edcf-card__facts > div {
    padding: 11px 10px;
  }

  .edcf .edcf-card__body > h3 {
    font-size: 1.42rem;
  }

  .edcf .edcf-details summary {
    padding-block: 14px;
  }
}

@media (max-width: 359px) {
  .edcf .edcf-card__facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edcf *,
  .edcf *::before,
  .edcf *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
	.edcf-hero,
  .edcf-feed-status,
  .edcf-wizard,
  .edcf-toolbar,
	.edcf-concierge,
	.edcf-shortlist-bar,
	.edcf-toast,
	.edcf-compare-backdrop,
	.edcf-save,
  .edcf-card__footer,
  .edcf-results__heading .edcf-text-button {
    display: none !important;
  }

  .edcf-class-grid,
  .edcf-class-grid--list {
    display: block;
  }

  .edcf-card,
  .edcf-class-grid--list .edcf-card {
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    box-shadow: none;
  }
}
