.vuf-wrapper {
  --vuf-text: var(--konkurs-text, #272727);
  --vuf-muted: var(--konkurs-muted, #626262);
  --vuf-border: var(--konkurs-border, #e5e5e5);
  --vuf-border-strong: var(--konkurs-border-2, #d9d9d9);
  --vuf-dark: var(--konkurs-navy, #272727);
  --vuf-dark-soft: var(--konkurs-navy-3, #44403b);
  --vuf-accent: var(--konkurs-red, #e73938);
  --vuf-accent-hover: #c8282b;
  --vuf-surface: #fff;
  --vuf-surface-muted: var(--konkurs-paper-light, #f7f7f7);
  --vuf-surface-selected: #fff1f1;
  --vuf-error: #b42318;
  --vuf-radius-xs: var(--konkurs-radius-xs, 8px);
  --vuf-radius-sm: var(--konkurs-radius-sm, 12px);
  --vuf-radius-md: var(--konkurs-radius-md, 16px);
  --vuf-radius-lg: var(--konkurs-radius-lg, 22px);
  --vuf-radius-xl: var(--konkurs-radius-xl, 30px);
  --vuf-radius-pill: var(--konkurs-radius-pill, 999px);
  --vuf-radius-circle: var(--konkurs-radius-circle, 50%);
  --vuf-panel-inline: clamp(20px, 4vw, 48px);
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: visible;
  color: var(--vuf-text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.55;
}

.vuf-wrapper,
.vuf-wrapper * {
  box-sizing: border-box;
}

.vuf-form {
  display: grid;
  gap: 0;
  counter-reset: vuf-section;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--vuf-surface);
  border: 0;
  border-radius: var(--vuf-radius-xl);
  box-shadow: none;
}

.vuf-form[hidden],
.vuf-progress[hidden],
.vuf-message[hidden],
.vuf-success[hidden],
.vuf-state-card[hidden],
.vuf-conditional-field[hidden],
.vuf-photo-selection[hidden],
.vuf-platform-chip[hidden] {
  display: none;
}

.vuf-form-intro {
  position: relative;
  margin-bottom: clamp(22px, 2.5vw, 32px);
  padding: clamp(30px, 4.5vw, 48px) var(--vuf-panel-inline);
  background: var(--vuf-dark);
}

.vuf-form-intro::after {
  position: absolute;
  left: var(--vuf-panel-inline);
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: var(--vuf-radius-pill);
  background: var(--vuf-accent);
  content: "";
}

.vuf-wrapper .vuf-form-intro h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.vuf-wrapper .vuf-form-intro p {
  max-width: 66ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.vuf-fieldset,
.vuf-choice-group {
  display: grid;
  min-width: 0;
  margin: 0;
}

.vuf-fieldset {
  gap: 22px;
  counter-increment: vuf-section;
  margin-inline: var(--vuf-panel-inline);
  padding: clamp(32px, 4vw, 46px) 0;
  border: 0;
}

.vuf-fieldset + .vuf-fieldset {
  border-top: 1px solid var(--vuf-border);
}

.vuf-fieldset > legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: 100%;
  margin: 0 0 4px;
  padding: 0;
  color: var(--vuf-dark);
  font-family: inherit;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.vuf-fieldset > legend::before {
  display: inline-grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--vuf-accent);
  border: 0;
  border-radius: var(--vuf-radius-md);
  content: counter(vuf-section, decimal-leading-zero);
}

.vuf-field,
.vuf-choice-group {
  gap: 8px;
}

.vuf-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vuf-label,
.vuf-choice-group > legend {
  color: var(--vuf-text);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.45;
}

.vuf-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.vuf-required {
  color: var(--vuf-error);
}

.vuf-optional,
.vuf-character-count {
  margin-left: 3px;
  color: var(--vuf-muted);
  font-size: 12px;
  font-weight: 600;
}

.vuf-input,
.vuf-file-input {
  width: 100%;
  color: var(--vuf-text);
  font: inherit;
  background: var(--vuf-surface);
  border: 1px solid var(--vuf-border-strong);
  border-radius: var(--vuf-radius-sm);
  box-shadow: none;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    outline-color 0.18s ease;
}

.vuf-input {
  min-height: 52px;
  padding: 12px 15px;
}

.vuf-file-input {
  min-height: 56px;
  padding: 7px;
  cursor: pointer;
}

.vuf-file-input::file-selector-button {
  min-height: 40px;
  margin-right: 12px;
  padding: 8px 16px;
  color: var(--vuf-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: var(--vuf-surface-muted);
  border: 0;
  border-radius: var(--vuf-radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.vuf-file-input::file-selector-button:hover {
  background: #ededed;
}

.vuf-input:hover,
.vuf-file-input:hover {
  border-color: #bdbdbd;
  background: var(--vuf-surface);
}

.vuf-input:focus-visible,
.vuf-file-input:focus-visible {
  outline: 3px solid var(--vuf-dark);
  outline-offset: 2px;
  border-color: var(--vuf-dark);
  background: var(--vuf-surface);
  box-shadow: none;
}

.vuf-input::placeholder {
  color: #707070;
  opacity: 1;
}

.vuf-textarea {
  min-height: 124px;
  resize: vertical;
}

.vuf-textarea-compact {
  min-height: 96px;
}

.vuf-fieldset--participant {
  padding-bottom: clamp(22px, 2.5vw, 30px);
}

.vuf-fieldset--participant + .vuf-fieldset--work {
  padding-top: clamp(26px, 3vw, 34px);
}

.vuf-field-has-error .vuf-input,
.vuf-field-has-error .vuf-file-input,
.vuf-input[aria-invalid="true"],
.vuf-file-input[aria-invalid="true"] {
  border-color: var(--vuf-error);
  background: #fffafa;
}

.vuf-field-has-error .vuf-input:focus,
.vuf-field-has-error .vuf-file-input:focus,
.vuf-input[aria-invalid="true"]:focus,
.vuf-file-input[aria-invalid="true"]:focus {
  outline-color: rgba(180, 35, 24, 0.16);
}

.vuf-wrapper .vuf-hint,
.vuf-wrapper .vuf-field-error {
  margin: 0;
  line-height: 1.5;
}

.vuf-wrapper .vuf-hint {
  color: var(--vuf-muted);
  font-size: 12px;
  font-weight: 500;
}

.vuf-wrapper .vuf-field-error {
  color: var(--vuf-error);
  font-size: 14px;
  font-weight: 700;
}

.vuf-choice-group {
  padding: clamp(16px, 2.2vw, 20px);
  background: var(--vuf-surface-muted);
  border: 0;
  border-radius: var(--vuf-radius-lg);
}

.vuf-choice-group > legend {
  width: auto;
  padding: 0 6px;
}

.vuf-choice-list,
.vuf-statement-list {
  display: grid;
  gap: 10px;
}

.vuf-choice-list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vuf-choice {
  position: relative;
  display: block;
  min-width: 170px;
}

.vuf-choice input,
.vuf-statement input {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--vuf-accent);
}

.vuf-choice label,
.vuf-statement label {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 15px 14px 46px;
  color: var(--vuf-text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  background: var(--vuf-surface);
  border: 0;
  border-radius: var(--vuf-radius-md);
  cursor: pointer;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.vuf-choice label:hover,
.vuf-statement label:hover {
  background: #f0f0f0;
}

.vuf-choice input:checked + label,
.vuf-statement input:checked + label {
  color: var(--vuf-dark);
  background: var(--vuf-surface-selected);
}

.vuf-choice input:focus-visible,
.vuf-statement input:focus-visible {
  outline: 3px solid var(--vuf-dark);
  outline-offset: 3px;
}

.vuf-platform-chip {
  justify-self: start;
  margin: 0;
  padding: 6px 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: var(--vuf-accent);
  border: 0;
  border-radius: var(--vuf-radius-pill);
}

.vuf-photo-selection {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  background: var(--vuf-surface-muted);
  border: 0;
  border-radius: var(--vuf-radius-md);
}

.vuf-photo-selection img {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  object-fit: cover;
  background: #ededed;
  border-radius: var(--vuf-radius-sm);
}

.vuf-photo-selection span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--vuf-muted);
  font-size: 12px;
  font-weight: 600;
}

.vuf-consents {
  margin: 0 var(--vuf-panel-inline) clamp(32px, 4vw, 46px);
  padding: clamp(20px, 3vw, 28px);
  background: var(--vuf-surface-muted);
  border: 0;
  border-radius: var(--vuf-radius-lg);
}

.vuf-consents > legend {
  padding-inline: 6px;
}

.vuf-statement {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
}

.vuf-form > .vuf-field,
.vuf-form > .vuf-progress,
.vuf-form > .vuf-message,
.vuf-form > .vuf-actions {
  margin-inline: var(--vuf-panel-inline);
}

.vuf-hp {
  position: fixed;
  inset-inline-start: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.vuf-progress {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.vuf-progress-track {
  height: 8px;
  overflow: hidden;
  background: #e8e8e8;
  border-radius: var(--vuf-radius-pill);
}

.vuf-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--vuf-accent);
  border-radius: inherit;
  transition: width 0.2s ease;
}

.vuf-progress-status {
  margin: 0;
  color: var(--vuf-muted);
  font-size: 12px;
  font-weight: 600;
}

.vuf-message {
  margin-bottom: 18px;
  padding: 16px 18px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.55;
  border-radius: var(--vuf-radius-md);
}

.vuf-message-error {
  color: var(--vuf-error);
  background: #fff1ef;
  border: 0;
}

.vuf-actions {
  display: flex;
  padding-bottom: clamp(32px, 4vw, 46px);
}

.vuf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 28px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  background: var(--vuf-accent);
  border: 0;
  border-radius: var(--vuf-radius-md);
  box-shadow: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.vuf-submit:hover {
  transform: translateY(-2px);
  background: var(--vuf-accent-hover);
  box-shadow: none;
}

.vuf-submit:active {
  transform: translateY(0) scale(0.985);
}

.vuf-submit:focus-visible {
  outline: 3px solid var(--vuf-dark);
  outline-offset: 3px;
}

.vuf-submit:disabled,
.vuf-submit.vuf-is-sending {
  color: #fff;
  transform: none;
  background: #777;
  box-shadow: none;
  cursor: not-allowed;
}

.vuf-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: var(--vuf-radius-circle);
  animation: vuf-spin 0.7s linear infinite;
}

.vuf-submit.vuf-is-sending .vuf-submit-spinner {
  display: inline-block;
}

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

.vuf-success {
  display: grid;
  gap: 18px;
  align-content: center;
  justify-items: center;
  margin: 0 0 14px;
  padding: clamp(34px, 6vw, 68px);
  text-align: center;
  background: var(--vuf-surface-muted);
  border: 0;
  border-radius: var(--vuf-radius-xl);
  box-shadow: none;
  animation: vuf-reveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vuf-wrapper .vuf-success-text p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
}

.vuf-wrapper .vuf-success-text p:last-child {
  margin-bottom: 0;
}

.vuf-wrapper .vuf-success-text ul {
  margin: 4px 0 22px;
  padding-left: 24px;
}

.vuf-wrapper .vuf-success-text li {
  margin: 0 0 7px;
  color: var(--vuf-text);
  font-size: 15px;
  line-height: 1.65;
}

.vuf-wrapper .vuf-success-text li:last-child {
  margin-bottom: 0;
}

.vuf-wrapper .vuf-success-text a {
  color: var(--vuf-accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vuf-success-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #fff;
  background: var(--vuf-accent);
  border: 0;
  border-radius: var(--vuf-radius-md);
  box-shadow: none;
}

.vuf-success-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--vuf-dark);
  font-family: inherit;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

.vuf-success-title:focus,
.vuf-success-title:focus-visible,
.vuf-state-card__title:focus,
.vuf-state-card__title:focus-visible {
  outline: 3px solid var(--vuf-dark);
  outline-offset: 5px;
  box-shadow: none;
}

.vuf-success-text {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 2px 0 0;
  padding: clamp(20px, 3vw, 26px);
  color: var(--vuf-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
  text-align: left;
  background: var(--vuf-surface);
  border: 0;
  border-radius: var(--vuf-radius-lg);
}

.vuf-state-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.6fr);
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  color: var(--vuf-text);
  background: var(--vuf-surface-muted);
  border: 0;
  border-radius: var(--vuf-radius-xl);
  box-shadow: none;
  animation: vuf-reveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vuf-state-card__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: clamp(32px, 5vw, 54px) 26px;
  color: #fff;
  text-align: center;
  background: var(--vuf-dark);
}

.vuf-state-card--upcoming .vuf-state-card__visual {
  background: var(--vuf-accent);
}

.vuf-state-card__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: var(--vuf-radius-lg);
}

.vuf-state-card__badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.vuf-state-card__body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(36px, 6vw, 68px);
}

.vuf-wrapper .vuf-state-card__eyebrow {
  margin: 0;
  color: var(--vuf-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.vuf-state-card__title {
  max-width: 18ch;
  margin: 0;
  color: var(--vuf-dark);
  font-family: inherit;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.vuf-wrapper .vuf-state-card__text {
  max-width: 56ch;
  margin: 2px 0 0;
  color: #555;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.vuf-wrapper .vuf-state-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 56ch;
  margin: 14px 0 0;
  padding-top: 18px;
  color: var(--vuf-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  border-top: 1px solid var(--vuf-border);
}

.vuf-state-card__meta[hidden] {
  display: none;
}

.vuf-state-card__meta svg {
  flex: 0 0 auto;
  color: var(--vuf-accent);
}

@keyframes vuf-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .vuf-form-intro {
    padding-block: 28px 32px;
  }

  .vuf-wrapper .vuf-form-intro h2 {
    font-size: 30px;
  }

  .vuf-fieldset {
    gap: 20px;
  }

  .vuf-fieldset > legend {
    font-size: 21px;
  }

  .vuf-field-grid {
    grid-template-columns: 1fr;
  }

  .vuf-label-row {
    align-items: flex-start;
  }

  .vuf-choice-list-inline {
    display: grid;
  }

  .vuf-choice {
    min-width: 0;
  }

  .vuf-consents {
    padding: 18px;
  }

  .vuf-actions {
    display: grid;
  }

  .vuf-submit {
    width: 100%;
    min-height: 56px;
  }

  .vuf-success {
    min-height: 300px;
    padding: 32px 22px;
  }

  .vuf-success-title {
    font-size: clamp(28px, 9vw, 35px);
  }

  .vuf-success-text {
    padding: 20px;
    font-size: 14px;
  }

  .vuf-state-card {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .vuf-state-card__visual {
    flex-direction: row;
    gap: 16px;
    min-height: 116px;
    padding: 24px;
    text-align: left;
  }

  .vuf-state-card__icon {
    width: 58px;
    height: 58px;
    border-radius: var(--vuf-radius-md);
  }

  .vuf-state-card__icon svg {
    width: 30px;
    height: 30px;
  }

  .vuf-state-card__body {
    padding: 32px 24px 36px;
  }

  .vuf-state-card__title {
    max-width: 22ch;
    font-size: clamp(27px, 8vw, 35px);
  }
}

@media (max-width: 420px) {
  .vuf-wrapper {
    --vuf-panel-inline: 16px;
  }

  .vuf-form,
  .vuf-success,
  .vuf-state-card {
    border-radius: var(--vuf-radius-lg);
  }

  .vuf-choice-group {
    padding: 14px;
    border-radius: var(--vuf-radius-md);
  }

  .vuf-fieldset > legend::before {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .vuf-file-input::file-selector-button {
    margin-right: 8px;
    padding-inline: 11px;
  }
}

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

@media (forced-colors: active) {
  .vuf-form,
  .vuf-success,
  .vuf-state-card,
  .vuf-choice-group,
  .vuf-consents,
  .vuf-success-text {
    color: CanvasText;
    background: Canvas;
    border: 1px solid CanvasText;
    box-shadow: none;
  }

  .vuf-success-title,
  .vuf-success-text,
  .vuf-state-card__title,
  .vuf-state-card__text,
  .vuf-state-card__eyebrow,
  .vuf-state-card__meta,
  .vuf-state-card__visual,
  .vuf-state-card__badge,
  .vuf-success-icon,
  .vuf-state-card__icon {
    color: CanvasText;
  }
}
