.submit-page {
  background: #f6f7f4;
}

.submit-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.submit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.submit-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
  margin-top: 48px;
}

.submit-copy {
  display: grid;
  gap: 14px;
  padding-top: 12px;
}

.submit-copy p:not(.eyebrow) {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.submit-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.submit-form .form-field {
  margin: 0;
}

.submit-form select {
  min-height: 36px;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
}

.submit-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.submit-actions p.success {
  color: var(--ok);
}

.submit-actions p.error {
  color: var(--danger);
}

@media (max-width: 820px) {
  .submit-layout {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .submit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-actions .primary-button {
    width: 100%;
  }
}
