.ecw-step-headline {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.ecw-step-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ecw-next);
  color: #ffffff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.ecw-root .ecw-step-title {
  margin: 0;
  font-family: "SeasonMix", Georgia, serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ecw-chosen {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ecw-chosen-label {
  color: var(--ecw-ink);
  font-family: "SeasonMix", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
}

.ecw-proof-head .ecw-perfect-cup {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ecw-proof-head .ecw-perfect-cup-lead {
  font-family: "SeasonMix", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
}

.ecw-proof-head .ecw-perfect-cup-badges {
  display: contents;
}

.ecw-chosen-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid var(--ecw-ink);
  border-radius: var(--ecw-pill);
  background: var(--ecw-ink);
  color: var(--ecw-page);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: filter 150ms ease;
}

.ecw-root .ecw-chosen-chip {
  background: var(--ecw-ink);
  color: var(--ecw-page);
}

.ecw-chosen-chip:disabled {
  cursor: default;
}

.ecw-chosen-chip:hover:not(:disabled) {
  filter: brightness(1.45);
}

.ecw-panel-footer {
  display: grid;
  flex: 0 0 auto;
  justify-items: start;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  padding-bottom: 28px;
}

.ecw-panel-footer.is-next-only {
  padding-bottom: calc(28px + 34px + 12px);
}

.ecw-root .ecw-next,
.ecw-root .ecw-back {
  width: var(--ecw-option-width);
  max-width: 100%;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition:
    filter 150ms ease,
    opacity 150ms ease;
}

.ecw-root .ecw-next {
  background: var(--ecw-next);
}

.ecw-root .ecw-back {
  background: var(--ecw-back);
}

.ecw-next:hover:not(.is-waiting),
.ecw-back:hover {
  filter: brightness(1.08);
}

.ecw-next.is-waiting {
  opacity: 0.5;
}

.ecw-next:focus-visible,
.ecw-back:focus-visible {
  outline: 2px solid var(--ecw-ink);
  outline-offset: 3px;
}

.ecw-panel-footer .ecw-start-again {
  width: var(--ecw-option-width);
  max-width: 100%;
  min-height: 34px;
  margin-bottom: 6px;
  padding: 0 10px;
  border-color: var(--ecw-ink);
  background: var(--ecw-ink);
  color: var(--ecw-page);
  font-size: 14px;
}

.ecw-panel-footer .ecw-start-again:hover {
  background: var(--ecw-ink);
  color: var(--ecw-page);
  filter: brightness(1.45);
}
