.sux-shell {
  color: #243447;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto 48px;
  max-width: 920px;
}

.sux-shell *,
.sux-shell *::before,
.sux-shell *::after {
  box-sizing: border-box;
}

.sux-lead {
  color: #475569;
  font-size: 17px;
  margin: 0 0 20px;
}

.sux-progress {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.sux-progress li {
  background: #edf2f7;
  border-radius: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  text-align: center;
}

.sux-progress li[aria-current="step"] {
  background: #0b6da8;
  color: #fff;
}

.sux-notice,
.sux-account,
.sux-source,
.sux-success {
  background: #eef8ff;
  border: 1px solid #b8ddf4;
  border-radius: 12px;
  margin: 0 0 20px;
  padding: 18px 20px;
}

.sux-notice strong,
.sux-account strong,
.sux-source strong {
  color: #0b5f93;
}

.sux-secondary-link {
  margin-top: 10px;
}

.sux-card {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(31, 50, 73, 0.07);
  margin: 0 0 22px;
  padding: 24px;
}

.sux-card h3 {
  border: 0;
  color: #17324d;
  font-size: 21px;
  margin: 0 0 18px;
  padding: 0;
}

.sux-field {
  margin-bottom: 18px;
}

.sux-field:last-child {
  margin-bottom: 0;
}

.sux-field label,
.sux-field legend {
  color: #243447;
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
}

.sux-field fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.sux-required,
.sux-optional {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  margin-left: 7px;
  padding: 2px 8px;
  vertical-align: 2px;
}

.sux-required {
  background: #b42318;
  color: #fff;
}

.sux-optional {
  background: #e8edf2;
  color: #475569;
}

.sux-field input[type="text"],
.sux-field input[type="email"],
.sux-field input[type="tel"],
.sux-field textarea,
.sux-field select {
  background: #fff;
  border: 1px solid #9aa9b7;
  border-radius: 8px;
  display: block;
  font: inherit;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.sux-field textarea {
  min-height: 180px;
  resize: vertical;
}

.sux-name-grid,
.sux-choice-grid,
.sux-action-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sux-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sux-radio-row label {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #bdc8d3;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex: 1 1 150px;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
}

.sux-help {
  color: #64748b;
  display: block;
  font-size: 14px;
  margin-top: 6px;
}

.sux-files input[type="file"] {
  display: block;
  margin-top: 6px;
  max-width: 100%;
}

.sux-error,
.error {
  color: #b42318;
  display: block;
  font-weight: 700;
  margin: 4px 0 6px;
}

.sux-privacy {
  background: #f8fafc;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  margin: 14px 0;
  padding: 12px 14px;
}

.sux-privacy summary {
  cursor: pointer;
  font-weight: 700;
}

.sux-privacy-text {
  max-height: 240px;
  overflow: auto;
  white-space: pre-wrap;
}

.sux-check {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.sux-check input {
  margin-top: 7px;
}

.sux-primary,
.sux-secondary,
.sux-danger {
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 50px;
  padding: 13px 20px;
  text-align: center;
  text-decoration: none;
}

.sux-primary {
  background: #0b6da8;
  color: #fff;
}

.sux-secondary {
  background: #fff;
  border-color: #7790a6;
  color: #24415d;
}

.sux-danger {
  background: #fff;
  border-color: #b42318;
  color: #9f1c14;
}

.sux-primary:hover,
.sux-primary:focus {
  background: #075881;
  color: #fff;
}

.sux-summary {
  border-collapse: collapse;
  width: 100%;
}

.sux-summary th,
.sux-summary td {
  border-bottom: 1px solid #e1e7ed;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.sux-summary th {
  color: #52677a;
  width: 30%;
}

.sux-choice {
  border: 1px solid #cad5df;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
}

.sux-choice h3 {
  color: #17324d;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sux-choice .sux-primary,
.sux-choice .sux-secondary {
  margin-top: auto;
}

.sux-estimate-table {
  border-collapse: collapse;
  margin-bottom: 20px;
  width: 100%;
}

.sux-estimate-table th,
.sux-estimate-table td {
  border: 1px solid #cfd8e1;
  padding: 10px;
}

.sux-text-right {
  text-align: right;
}

@media (max-width: 700px) {
  .sux-shell {
    font-size: 15px;
  }

  .sux-progress li {
    font-size: 12px;
    padding: 8px 4px;
  }

  .sux-card {
    border-radius: 10px;
    padding: 18px 14px;
  }

  .sux-name-grid,
  .sux-choice-grid,
  .sux-action-grid {
    grid-template-columns: 1fr;
  }

  .sux-radio-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sux-summary,
  .sux-summary tbody,
  .sux-summary tr,
  .sux-summary th,
  .sux-summary td {
    display: block;
    width: 100%;
  }

  .sux-summary th {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .sux-estimate-scroll {
    overflow-x: auto;
  }

  .sux-primary,
  .sux-secondary,
  .sux-danger {
    width: 100%;
  }
}
