.a1j-funnel,
.a1j-funnel * {
  box-sizing: border-box;
}

/* Affichage autonome EmploiPress France Travail. */
.melt-ep-results {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 70px;
  color: #151827;
}

.melt-ep-results__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.melt-ep-results__head h2 {
  margin: 3px 0 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
}

.melt-ep-results__head p {
  max-width: 520px;
  margin: 0;
  color: #5e6375;
}

.melt-ep-results__eyebrow {
  color: #e5007d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.melt-ep-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3e4ea;
  border-top: 5px solid var(--melt-ep-sector, #e5007d);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 31, 45, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.melt-ep-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(30, 31, 45, .12);
}

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

.melt-ep-card__logo {
  display: grid;
  width: 72px;
  height: 58px;
  flex: 0 0 72px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ececf1;
  border-radius: 10px;
  background: #fff;
  color: var(--melt-ep-sector, #e5007d);
  font-size: 20px;
  font-weight: 900;
}

.melt-ep-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.melt-ep-card__badges {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.melt-ep-card__badges span {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0f8;
  background: color-mix(in srgb, var(--melt-ep-sector, #e5007d) 13%, white);
  color: #252837;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.melt-ep-card__body {
  flex: 1;
  padding: 16px 18px 18px;
}

.melt-ep-card__body h3 {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.22;
}

.melt-ep-card__body h3 a {
  color: #151827;
  text-decoration: none;
}

.melt-ep-card__body h3 a:hover {
  color: #e5007d;
}

.melt-ep-card__company {
  margin: 0 0 16px;
  color: #5e6375;
  font-weight: 700;
}

.melt-ep-card__facts {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.melt-ep-card__facts li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  color: #4d5263;
  font-size: 13px;
}

.melt-ep-card__facts strong {
  color: #151827;
}

.melt-ep-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  border-top: 1px solid #ececf1;
  background: #fafafd;
  color: #686d7e;
  font-size: 12px;
}

.melt-ep-card__footer a {
  color: #e5007d;
  font-weight: 800;
  text-decoration: none;
}

body.melt-ep-modal-open {
  overflow: hidden;
}

.melt-ep-modal {
  width: min(900px, calc(100vw - 32px));
  max-width: 900px;
  max-height: min(88vh, 900px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #151827;
  box-shadow: 0 28px 80px rgba(12, 14, 25, .32);
}

.melt-ep-modal::backdrop {
  background: rgba(18, 20, 31, .7);
  backdrop-filter: blur(4px);
}

.melt-ep-modal[open] {
  animation: melt-ep-modal-enter .2s ease-out;
}

.melt-ep-modal__panel {
  display: flex;
  max-height: min(88vh, 900px);
  flex-direction: column;
}

.melt-ep-modal__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid #e8e8ee;
}

.melt-ep-modal__header h2 {
  margin: 4px 0 6px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.14;
}

.melt-ep-modal__header p {
  margin: 0;
  color: #5e6375;
  font-weight: 700;
}

.melt-ep-modal__eyebrow {
  color: #e5007d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.melt-ep-modal__close {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #d8d9e0;
  border-radius: 9px;
  background: #fff;
  color: #3e4252;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.melt-ep-modal__close:hover,
.melt-ep-modal__close:focus-visible {
  border-color: #e5007d;
  color: #e5007d;
}

.melt-ep-modal__scroll {
  min-height: 0;
  padding: 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.melt-ep-modal__description {
  color: #303443;
  line-height: 1.65;
}

.melt-ep-modal__description h3,
.melt-ep-modal .melt-ep-single__requirements h3 {
  margin: 0 0 12px;
  color: #151827;
  font-size: 21px;
}

.melt-ep-modal__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  padding: 17px 28px;
  border-top: 1px solid #e8e8ee;
  background: #fafafd;
}

.melt-ep-modal__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.melt-ep-modal__apply {
  background: #e5007d;
  color: #fff;
}

.melt-ep-modal__apply:hover,
.melt-ep-modal__apply:focus-visible {
  background: #8120cc;
  color: #fff;
}

.melt-ep-modal__page {
  color: #5e6375;
}

.melt-ep-modal__page:hover,
.melt-ep-modal__page:focus-visible {
  color: #e5007d;
}

@keyframes melt-ep-modal-enter {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.melt-ep-empty {
  padding: 48px 24px;
  border: 1px dashed #c9cad2;
  border-radius: 16px;
  text-align: center;
}

.melt-ep-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.melt-ep-pagination a,
.melt-ep-pagination span {
  display: grid;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid #dedfe6;
  border-radius: 9px;
  background: #fff;
  color: #252837;
  text-decoration: none;
}

.melt-ep-pagination .current {
  border-color: #e5007d;
  background: #e5007d;
  color: #fff;
  font-weight: 800;
}

.melt-ep-single {
  max-width: 900px;
  margin: 0 auto;
}

.melt-ep-single__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid #e1e2e8;
  border-radius: 14px;
  background: #e1e2e8;
}

.melt-ep-single__summary div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  background: #fff;
}

.melt-ep-single__summary strong {
  color: #696e7d;
  font-size: 12px;
  text-transform: uppercase;
}

.melt-ep-single__requirements {
  margin-top: 28px;
  padding: 22px;
  border-radius: 14px;
  background: #fff4fa;
}

.melt-ep-single__requirements h2 {
  margin-top: 0;
}

.melt-ep-single__apply a {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 22px;
  border-radius: 10px;
  background: #e5007d;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.melt-ep-single__apply a:hover {
  background: #8120cc;
  color: #fff;
}

.melt-ep-single__source {
  margin-top: 22px;
  color: #6b7080;
  font-size: 13px;
}

@media (max-width: 940px) {
  .melt-ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .melt-ep-results { width: min(100% - 24px, 1180px); }
  .melt-ep-results__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .melt-ep-grid { grid-template-columns: 1fr; }
  .melt-ep-single__summary { grid-template-columns: 1fr; }
  .melt-ep-modal { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 14px; }
  .melt-ep-modal__panel { max-height: calc(100vh - 16px); }
  .melt-ep-modal__header { gap: 12px; padding: 18px 18px 15px; }
  .melt-ep-modal__header h2 { font-size: 23px; }
  .melt-ep-modal__scroll { padding: 18px; }
  .melt-ep-modal__actions { align-items: stretch; flex-direction: column; padding: 14px 18px; }
  .melt-ep-modal__actions a { width: 100%; }
}

.a1j-funnel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  border-style: solid;
  border-color: var(--a1j-panel-border);
  background: var(--a1j-panel-bg);
  color: var(--a1j-text);
  border-radius: var(--a1j-panel-radius, 20px) !important;
}

.a1j-funnel::before,
.a1j-funnel::after {
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.a1j-funnel::before {
  top: -155px;
  right: -70px;
  background: color-mix(in srgb, var(--a1j-primary) 11%, transparent);
}

.a1j-funnel::after {
  bottom: -155px;
  left: -75px;
  background: color-mix(in srgb, var(--a1j-secondary) 10%, transparent);
}

.a1j-funnel__head {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
}

.a1j-funnel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--a1j-primary) 24%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--a1j-panel-bg) 85%, white);
  color: var(--a1j-primary);
  font-size: 12px;
  font-weight: 800;
}

.a1j-funnel__eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--a1j-primary);
  content: "";
}

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

.a1j-funnel h2 {
  margin-bottom: 0;
  color: var(--a1j-text);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-underline-offset: 5px;
}

.a1j-funnel__intro {
  max-width: 680px;
  margin: 11px auto 0;
  color: var(--a1j-muted);
  line-height: 1.55;
}

.a1j-funnel__information {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 13px 16px;
  border-left: 4px solid var(--a1j-primary);
  border-radius: 10px;
  background: color-mix(in srgb, var(--a1j-primary) 8%, var(--a1j-panel-bg));
  color: var(--a1j-text);
  font-size: .9em;
  line-height: 1.5;
}

.a1j-funnel__information p {
  margin-bottom: 0;
}

.a1j-funnel__head[style*="left"] .a1j-funnel__intro,
.a1j-funnel__head[style*="right"] .a1j-funnel__intro {
  margin-right: 0;
  margin-left: 0;
}

.a1j-funnel__progress {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.a1j-funnel__progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--a1j-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.a1j-funnel__track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--a1j-muted) 15%, transparent);
}

.a1j-funnel__bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--a1j-primary), var(--a1j-secondary));
  transition: width var(--a1j-transition) ease;
}

.a1j-funnel__step {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}

.a1j-funnel__step[hidden] {
  display: none;
}

.a1j-funnel__step.is-entering {
  animation: a1j-enter .32s ease both;
}

.a1j-funnel__step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.a1j-funnel__number {
  display: grid;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  background: var(--a1j-text);
  color: var(--a1j-panel-bg);
  font-size: 14px;
  font-weight: 900;
}

.a1j-funnel__step-title {
  margin: 0;
  color: var(--a1j-text);
  line-height: 1.18;
}

.a1j-funnel__step-text {
  margin: 3px 0 0;
  color: var(--a1j-muted);
  font-size: .875em;
}

.a1j-funnel__choices {
  display: grid;
  gap: var(--a1j-card-gap);
}

.a1j-funnel__choices--contracts {
  grid-template-columns: repeat(var(--a1j-contract-cols), minmax(0, 1fr));
}

.a1j-funnel__choices--sectors {
  grid-template-columns: repeat(var(--a1j-sector-cols), minmax(0, 1fr));
}

.a1j-choice {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 9px;
  border-style: solid;
  border-color: var(--a1j-card-border);
  background: var(--a1j-card-bg);
  box-shadow: 0 5px 13px rgba(35, 20, 42, .045);
  color: var(--a1j-card-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform var(--a1j-transition) ease, border-color var(--a1j-transition) ease, background var(--a1j-transition) ease, color var(--a1j-transition) ease, box-shadow var(--a1j-transition) ease;
}

.a1j-funnel .a1j-choice {
  border-radius: var(--a1j-card-radius, 12px) !important;
}

.a1j-funnel .a1j-choice[hidden] {
  display: none !important;
}

.a1j-choice:hover {
  border-color: var(--a1j-hover-border);
  background: var(--a1j-hover-bg);
  box-shadow: 0 10px 22px rgba(35, 20, 42, .10);
  color: var(--a1j-hover-text);
}

.a1j-choice:focus-visible,
.a1j-funnel button:focus-visible,
.a1j-funnel a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--a1j-focus) 30%, transparent);
  outline-offset: 3px;
}

.a1j-choice.is-selected,
.a1j-choice[aria-pressed="true"] {
  border-color: var(--a1j-selected-border);
  background: var(--a1j-selected-bg);
  box-shadow: 0 9px 21px color-mix(in srgb, var(--a1j-selected-bg) 22%, transparent);
  color: var(--a1j-selected-text);
}

.a1j-choice__icon {
  display: grid;
  overflow: hidden;
  flex-shrink: 0;
  place-items: center;
  background: color-mix(in srgb, var(--a1j-card-icon) 11%, transparent);
  color: var(--a1j-card-icon);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.a1j-funnel .a1j-choice__icon {
  border-radius: var(--a1j-icon-radius, 10px) !important;
}

.a1j-choice:hover .a1j-choice__icon {
  background: color-mix(in srgb, var(--a1j-hover-icon) 13%, transparent);
  color: var(--a1j-hover-icon);
}

.a1j-choice.is-selected .a1j-choice__icon,
.a1j-choice[aria-pressed="true"] .a1j-choice__icon {
  background: rgba(255, 255, 255, .17);
  color: var(--a1j-selected-icon);
}

.a1j-choice__icon img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.a1j-choice__copy {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.a1j-choice--contract {
  justify-content: center;
  text-align: center;
}

.a1j-choice--contract .a1j-choice__copy {
  flex: 0 1 auto;
}

.a1j-choice__label {
  display: -webkit-box;
  overflow: hidden;
  max-width: 100%;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
  -webkit-box-orient: vertical;
  text-underline-offset: 3px;
}

.a1j-choice__availability {
  display: inline-grid;
  flex: 0 0 auto;
  min-width: 25px;
  height: 25px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent);
  color: currentColor;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.a1j-choice__hint {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--a1j-muted);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a1j-choice:hover .a1j-choice__hint,
.a1j-choice.is-selected .a1j-choice__hint,
.a1j-choice[aria-pressed="true"] .a1j-choice__hint {
  color: currentColor;
  opacity: .78;
}

/* Couleurs propres aux secteurs */
.a1j-sector-mode-soft .a1j-choice--sector {
  border-color: var(--a1j-sector);
  background: var(--a1j-sector-soft);
  color: var(--a1j-text);
}

.a1j-sector-mode-outline .a1j-choice--sector {
  border-color: var(--a1j-sector);
  background: var(--a1j-card-bg);
  color: var(--a1j-card-text);
}

.a1j-sector-mode-solid .a1j-choice--sector {
  border-color: var(--a1j-sector);
  background: var(--a1j-sector);
  color: var(--a1j-sector-contrast);
}

.a1j-choice--sector:hover {
  border-color: var(--a1j-sector-hover);
  background: var(--a1j-sector-hover);
  color: var(--a1j-sector-contrast);
}

.a1j-funnel .a1j-choice--sector.is-selected,
.a1j-funnel .a1j-choice--sector[aria-pressed="true"],
.a1j-funnel .a1j-choice--sector[data-a1j-selected="1"],
.a1j-funnel .a1j-choice--sector.is-selected:hover,
.a1j-funnel .a1j-choice--sector[aria-pressed="true"]:hover,
.a1j-funnel .a1j-choice--sector[data-a1j-selected="1"]:hover {
  border-color: var(--a1j-selected-border) !important;
  background: var(--a1j-selected-bg) !important;
  box-shadow: 0 8px 19px color-mix(in srgb, var(--a1j-selected-bg) 28%, transparent);
  color: var(--a1j-selected-text) !important;
}

.a1j-icon-color-sector .a1j-sector-icon {
  color: var(--a1j-sector);
}

.a1j-icon-color-custom .a1j-sector-icon {
  color: var(--a1j-sector-icon-custom);
}

.a1j-icon-color-contrast .a1j-sector-icon {
  color: var(--a1j-sector-contrast);
}

.a1j-icon-color-sector .a1j-choice--sector:hover .a1j-sector-icon,
.a1j-icon-color-sector .a1j-choice--sector.is-selected .a1j-sector-icon,
.a1j-icon-color-sector .a1j-choice--sector[aria-pressed="true"] .a1j-sector-icon,
.a1j-icon-color-contrast .a1j-choice--sector:hover .a1j-sector-icon,
.a1j-icon-color-contrast .a1j-choice--sector.is-selected .a1j-sector-icon,
.a1j-icon-color-contrast .a1j-choice--sector[aria-pressed="true"] .a1j-sector-icon {
  color: var(--a1j-sector-contrast);
}

.a1j-icon-color-custom .a1j-choice--sector.is-selected .a1j-sector-icon,
.a1j-icon-color-custom .a1j-choice--sector[aria-pressed="true"] .a1j-sector-icon,
.a1j-icon-color-custom .a1j-choice--sector:hover .a1j-sector-icon {
  color: var(--a1j-sector-icon-selected-custom);
}

.a1j-funnel .a1j-choice--sector.is-selected .a1j-sector-icon,
.a1j-funnel .a1j-choice--sector[aria-pressed="true"] .a1j-sector-icon,
.a1j-funnel .a1j-choice--sector[data-a1j-selected="1"] .a1j-sector-icon,
.a1j-funnel .a1j-choice--sector.is-selected:hover .a1j-sector-icon,
.a1j-funnel .a1j-choice--sector[aria-pressed="true"]:hover .a1j-sector-icon,
.a1j-funnel .a1j-choice--sector[data-a1j-selected="1"]:hover .a1j-sector-icon {
  color: var(--a1j-selected-icon) !important;
}

.a1j-icon-bg-none .a1j-sector-icon {
  background: transparent;
}

.a1j-icon-bg-soft .a1j-sector-icon {
  background: var(--a1j-sector-soft);
}

.a1j-icon-bg-solid .a1j-sector-icon {
  background: var(--a1j-sector);
  color: var(--a1j-sector-contrast);
}

.a1j-choice--sector:hover .a1j-sector-icon,
.a1j-choice--sector.is-selected .a1j-sector-icon,
.a1j-choice--sector[aria-pressed="true"] .a1j-sector-icon {
  background: rgba(255, 255, 255, .2);
}

.a1j-funnel__selection-count {
	display: flex;
	width: fit-content;
	min-height: 38px;
	align-items: center;
	margin: 14px 0 0 auto;
	padding: 8px 13px;
	border: 2px solid color-mix(in srgb, var(--a1j-primary) 35%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--a1j-primary) 11%, var(--a1j-panel-bg));
	box-shadow: 0 7px 18px color-mix(in srgb, var(--a1j-primary) 12%, transparent);
	color: var(--a1j-primary);
	font-size: 14px;
	font-weight: 900;
	text-align: right;
}

.a1j-funnel__limit-message {
  margin: 10px 0 0;
  padding: 8px 11px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--a1j-primary) 10%, white);
  color: var(--a1j-primary);
  font-size: 12px;
  font-weight: 700;
}

.a1j-funnel__availability-message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--a1j-muted) 9%, white);
  color: var(--a1j-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.a1j-funnel__availability-message[hidden] {
  display: none;
}

.a1j-funnel__city-filter {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--a1j-muted) 16%, transparent);
}

.a1j-funnel__city-control {
  display: block;
  width: min(100%, 560px);
  margin-bottom: 7px;
}

.a1j-funnel__city-control > span {
  color: var(--a1j-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.a1j-funnel__city-combobox {
  width: min(100%, 560px);
}

.a1j-funnel__city-input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: var(--a1j-card-border-width, 1px) solid var(--a1j-card-border);
  border-radius: var(--a1j-card-radius, 12px);
  background-color: var(--a1j-card-bg);
  color: var(--a1j-card-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--a1j-transition) ease, background var(--a1j-transition) ease, box-shadow var(--a1j-transition) ease;
}

.a1j-funnel__city-input::placeholder {
  color: var(--a1j-muted);
  opacity: .8;
}

.a1j-funnel__city-input:hover {
  border-color: var(--a1j-hover-border);
  background-color: var(--a1j-hover-bg);
  color: var(--a1j-hover-text);
}

.a1j-funnel__city-input:focus-visible {
  border-color: var(--a1j-focus);
  outline: 3px solid color-mix(in srgb, var(--a1j-focus) 30%, transparent);
  outline-offset: 3px;
}

.a1j-funnel__city-suggestions {
  display: grid;
  gap: 3px;
  max-height: 350px;
  margin-top: 6px;
  padding: 5px;
  overflow-y: auto;
  border: 1px solid var(--a1j-card-border);
  border-radius: var(--a1j-card-radius, 12px);
  background: var(--a1j-card-bg);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--a1j-text) 14%, transparent);
}

.a1j-funnel__city-suggestions[hidden] {
  display: none;
}

.a1j-funnel__city-option {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px;
  border: 0;
  border-radius: max(7px, calc(var(--a1j-card-radius, 12px) - 4px));
  background: transparent;
  color: var(--a1j-card-text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.a1j-funnel__city-option:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--a1j-focus) 30%, transparent);
  outline-offset: 1px;
}

.a1j-funnel__city-option small {
  flex: 0 0 auto;
  color: var(--a1j-muted);
  font-size: 11px;
  font-weight: 800;
}

.a1j-funnel__city-option:hover,
.a1j-funnel__city-option.is-active,
.a1j-funnel__city-option[aria-selected="true"] {
  background: var(--a1j-hover-bg);
  color: var(--a1j-hover-text);
}

.a1j-funnel__city-option:hover small,
.a1j-funnel__city-option.is-active small,
.a1j-funnel__city-option[aria-selected="true"] small {
  color: currentColor;
}

.a1j-funnel__city-empty {
  margin: 0;
  padding: 11px;
  color: var(--a1j-muted);
  font-size: 13px;
}

.a1j-funnel__city-help {
  width: min(100%, 560px);
  margin: 7px 0 0;
  color: var(--a1j-muted);
  font-size: 12px;
}

.a1j-funnel__city-error {
  width: min(100%, 560px);
  margin: 7px 0 0;
  color: var(--a1j-primary);
  font-size: 12px;
  font-weight: 700;
}

.a1j-funnel__city-error[hidden] {
  display: none;
}

.a1j-funnel__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--a1j-muted) 16%, transparent);
}

.a1j-funnel__back {
  border: 0;
  background: transparent;
  color: var(--a1j-muted);
  font-family: inherit;
  cursor: pointer;
  text-underline-offset: 4px;
}

.a1j-funnel__reset {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 0;
  border-radius: 10px;
  background: var(--a1j-button-bg);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--a1j-button-bg) 22%, transparent);
  color: var(--a1j-button-text);
  font-family: inherit;
  text-decoration: none !important;
  transition: transform var(--a1j-transition) ease, background var(--a1j-transition) ease, color var(--a1j-transition) ease;
}

.a1j-funnel__reset:hover,
.a1j-funnel__reset:focus-visible {
  background: var(--a1j-button-hover-bg);
  color: var(--a1j-button-hover-text);
  transform: translateY(-2px);
}

.a1j-funnel__submit {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 0;
  border-radius: 12px;
  background: var(--a1j-button-bg);
  box-shadow: 0 9px 20px color-mix(in srgb, var(--a1j-button-bg) 24%, transparent);
  color: var(--a1j-button-text);
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--a1j-transition) ease, background var(--a1j-transition) ease, color var(--a1j-transition) ease;
}

.a1j-funnel__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--a1j-button-hover-bg);
  color: var(--a1j-button-hover-text);
}

.a1j-funnel__submit:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: .42;
}

.a1j-funnel__result {
  display: flex;
  max-width: 1100px;
  align-items: center;
  justify-content: center;
  gap: 18px;
	margin: 20px auto 0;
	padding: 16px 18px;
	border: 2px solid color-mix(in srgb, var(--a1j-primary) 45%, transparent);
	border-radius: 14px;
	background: color-mix(in srgb, var(--a1j-primary) 10%, var(--a1j-panel-bg));
	box-shadow: 0 12px 28px color-mix(in srgb, var(--a1j-primary) 13%, transparent);
	color: var(--a1j-text);
	font-size: 17px;
	font-weight: 900;
  text-align: center;
}

.a1j-funnel__result strong {
  font: inherit;
}

.a1j-funnel__empty {
  padding: 18px;
  border-radius: 12px;
  background: #fff0f4;
  color: #8b203f;
  text-align: center;
}

.a1j-results-anchor {
  scroll-margin-top: 120px;
}

@keyframes a1j-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .a1j-funnel__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .a1j-funnel__submit {
    width: 100%;
  }

  .a1j-funnel__back,
  .a1j-funnel__reset {
    text-align: center;
  }

  .a1j-funnel__selection-count {
    margin-right: auto;
    text-align: center;
  }

  .a1j-funnel__result {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .melt-ep-modal[open],
  .a1j-funnel *,
  .a1j-funnel *::before,
  .a1j-funnel *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
