.ec-mv {
  display: grid;
  gap: 1rem;
}
.ec-mv__hero {
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
}
.ec-mv__hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1rem;
}
.ec-mv__panel--form {
  max-width: 52rem;
}
.ec-mv__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

/* —— Classic registration page —— */
.ec-mv--register {
  gap: 0;
}
.ec-mv-reg {
  --mv-ink: #0f172a;
  --mv-green: #166534;
  --mv-gold: #b45309;
  --mv-line: rgba(148, 163, 184, 0.28);
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}
.ec-mv-reg__masthead {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.25rem 1.35rem;
  border-radius: 1.15rem;
  overflow: hidden;
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(202, 138, 4, 0.14), transparent 45%),
    linear-gradient(160deg, #eff6ff 0%, #dbeafe 45%, #bfdbfe 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
}
.ec-mv-reg__masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6 45%, #ca8a04 100%);
}
.ec-mv-reg__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: #1e3a8a;
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ec-mv-reg__back svg {
  width: 1rem;
  height: 1rem;
}
.ec-mv-reg__back:hover {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.55);
}
.ec-mv-reg__masthead-core {
  padding-right: 4.5rem;
}
.ec-mv-reg__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d4ed8;
}
.ec-mv-reg__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #0f172a;
}
.ec-mv-reg__lede {
  margin: 0.55rem 0 0;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #334155;
}
.ec-mv-reg__logo {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 3.75rem;
  height: 3.75rem;
  object-fit: contain;
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.28rem;
  border: 1px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}
.dark .ec-mv-reg__masthead {
  color: #eff6ff;
  background:
    linear-gradient(135deg, rgba(202, 138, 4, 0.16), transparent 45%),
    linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 48%, #1e40af 100%);
  border-color: rgba(147, 197, 253, 0.28);
}
.dark .ec-mv-reg__back {
  border-color: rgba(191, 219, 254, 0.35);
  background: rgba(15, 23, 42, 0.28);
  color: #eff6ff;
}
.dark .ec-mv-reg__back:hover {
  background: rgba(15, 23, 42, 0.45);
}
.dark .ec-mv-reg__eyebrow {
  color: #fde68a;
}
.dark .ec-mv-reg__title {
  color: #fff;
}
.dark .ec-mv-reg__lede {
  color: rgba(239, 246, 255, 0.88);
}
.dark .ec-mv-reg__logo {
  border-color: rgba(191, 219, 254, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.ec-mv-reg__sheet {
  border-radius: 1.15rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--mv-line);
}
.ec-mv-reg__form {
  gap: 0;
}
.ec-mv-reg__section {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border-bottom: 1px solid var(--mv-line);
}
.ec-mv-reg__section:last-of-type {
  border-bottom: 0;
}
.ec-mv-reg__section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.15rem;
}
.ec-mv-reg__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--mv-green);
  background: rgba(22, 101, 52, 0.1);
  border: 1px solid rgba(22, 101, 52, 0.18);
}
.dark .ec-mv-reg__num {
  color: #86efac;
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.22);
}
.ec-mv-reg__section-head h2 {
  margin: 0;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ec-mv-reg__section-head p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.68;
}
.ec-mv-reg__form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.ec-mv-reg__form input,
.ec-mv-reg__form select,
.ec-mv-reg__form textarea {
  margin-top: 0.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(248, 250, 252, 0.72);
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.dark .ec-mv-reg__form input,
.dark .ec-mv-reg__form select,
.dark .ec-mv-reg__form textarea {
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(148, 163, 184, 0.28);
}
.ec-mv-reg__form input:focus,
.ec-mv-reg__form select:focus,
.ec-mv-reg__form textarea:focus {
  outline: none;
  border-color: rgba(22, 101, 52, 0.65);
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.14);
  background: #fff;
}
.dark .ec-mv-reg__form input:focus,
.dark .ec-mv-reg__form select:focus,
.dark .ec-mv-reg__form textarea:focus {
  background: rgba(15, 23, 42, 0.55);
}
.ec-mv-reg__form select:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  background: rgba(22, 101, 52, 0.06);
  border-style: dashed;
}
.ec-mv-reg__footer {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.3rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(22, 101, 52, 0.04), transparent 55%),
    rgba(15, 23, 42, 0.02);
  border-top: 1px solid var(--mv-line);
}
.dark .ec-mv-reg__footer {
  background:
    linear-gradient(180deg, rgba(22, 101, 52, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.15);
}
.ec-mv-reg__footnote {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  opacity: 0.65;
}
.ec-mv-reg__footer .ec-mv__form-actions {
  margin: 0;
  justify-content: flex-end;
}
.ec-mv__btn--primary {
  min-width: 9.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(180deg, #1a7a3e, #166534);
  box-shadow: 0 8px 18px rgba(22, 101, 52, 0.28);
}
.ec-mv__btn--primary:hover {
  filter: brightness(1.05);
}
.ec-mv--register .ec-mv-drop__surface {
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(202, 138, 4, 0.08), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.55), rgba(22, 101, 52, 0.05));
}
.dark .ec-mv--register .ec-mv-drop__surface {
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(202, 138, 4, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(22, 101, 52, 0.14), rgba(15, 23, 42, 0.2));
}
@media (max-width: 640px) {
  .ec-mv-reg__masthead-core {
    padding-right: 0;
  }
  .ec-mv-reg__logo {
    position: static;
    margin-top: 0.25rem;
  }
  .ec-mv-reg__footer .ec-mv__form-actions {
    justify-content: stretch;
  }
  .ec-mv-reg__footer .ec-mv__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
.ec-mv__stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .ec-mv__stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.ec-mv__stat {
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
}
.ec-mv__stat span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.ec-mv__stat strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.4rem;
}
.ec-mv__grid {
  display: grid;
  gap: 1rem;
}
.ec-mv__grid--list {
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .ec-mv__grid,
  .ec-mv__grid--list {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
.ec-mv__panel {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.ec-mv__form {
  display: grid;
  gap: 0.75rem;
}
.ec-mv__form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
}
.ec-mv__form input,
.ec-mv__form select,
.ec-mv__form textarea {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.03);
  padding: 0.55rem 0.7rem;
}
.dark .ec-mv__form input,
.dark .ec-mv__form select,
.dark .ec-mv__form textarea {
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}
.ec-mv__row2 {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .ec-mv__row2 {
    grid-template-columns: 1fr 1fr;
  }
}
.ec-mv__btn {
  border-radius: 0.7rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
  background: #166534;
  color: #fff;
}
.ec-mv__btn--ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: inherit;
}
.ec-mv__list {
  display: grid;
  gap: 0.65rem;
  max-height: 34rem;
  overflow: auto;
}
.ec-mv__item {
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  cursor: pointer;
  text-align: left;
}
.ec-mv__item.is-active {
  border-color: #ca8a04;
}
.ec-mv__detail img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 0.7rem;
}
.ec-mv__badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}
.ec-mv__err {
  color: #b91c1c;
  font-size: 0.85rem;
}

.ec-mv__uploads {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .ec-mv__uploads {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ec-mv-drop {
  position: relative;
  min-height: 11.5rem;
}
.ec-mv-drop__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ec-mv-drop__surface {
  height: 100%;
  min-height: 11.5rem;
  border-radius: 1rem;
  border: 1.5px dashed rgba(22, 101, 52, 0.35);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(202, 138, 4, 0.1), transparent 55%),
    linear-gradient(160deg, rgba(22, 101, 52, 0.07), rgba(15, 23, 42, 0.02));
  padding: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.dark .ec-mv-drop__surface {
  border-color: rgba(74, 222, 128, 0.28);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(202, 138, 4, 0.12), transparent 55%),
    linear-gradient(160deg, rgba(22, 101, 52, 0.16), rgba(15, 23, 42, 0.15));
}
.ec-mv-drop__surface:hover,
.ec-mv-drop__surface:focus-visible {
  border-color: #166534;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.12);
}
.ec-mv-drop.is-dragover .ec-mv-drop__surface {
  border-color: #ca8a04;
  border-style: solid;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(202, 138, 4, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(22, 101, 52, 0.14), rgba(15, 23, 42, 0.03));
}
.ec-mv-drop.is-filled .ec-mv-drop__surface {
  border-style: solid;
  border-color: rgba(22, 101, 52, 0.45);
}
.ec-mv-drop.is-invalid .ec-mv-drop__surface {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}
.ec-mv-drop__idle {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  min-height: 9.4rem;
  padding: 0.35rem;
}
.ec-mv-drop__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  margin-bottom: 0.2rem;
  color: #166534;
  background: rgba(22, 101, 52, 0.12);
}
.ec-mv-drop__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.dark .ec-mv-drop__icon {
  color: #86efac;
  background: rgba(74, 222, 128, 0.12);
}
.ec-mv-drop.is-dragover .ec-mv-drop__icon {
  color: #a16207;
  background: rgba(202, 138, 4, 0.18);
  transform: translateY(-2px);
}
.ec-mv-drop__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}
.ec-mv-drop__hint {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.72;
  line-height: 1.35;
}
.ec-mv-drop__meta {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  opacity: 0.65;
}
.ec-mv-drop__meta span {
  color: #166534;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dark .ec-mv-drop__meta span {
  color: #86efac;
}
.ec-mv-drop__preview {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  min-height: 9.4rem;
}
.ec-mv-drop__preview img {
  width: 100%;
  height: 7.2rem;
  object-fit: cover;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.08);
}
.ec-mv-drop__preview-meta {
  display: grid;
  gap: 0.15rem;
}
.ec-mv-drop__clear {
  justify-self: start;
  margin-top: 0.25rem;
  border: 0;
  background: transparent;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ec-mv-drop__clear:hover {
  color: #92400e;
}
