.profile-page.dbbanner-rht {
  min-width: 0;
  height: auto;
  min-height: 100%;
  padding: clamp(16px, 4vw, 48px);
  background: #f4f4f6;
  font-family: "Lexend", system-ui, sans-serif;
}

.profile-page__content {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.profile-page h1 {
  margin: 0 0 20px;
  color: var(--color-primary);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
}

.profile-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: clamp(16px, 4vw, 32px);
}

.profile-form fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.profile-form fieldset + fieldset {
  margin-block-start: 28px;
}

.profile-form legend {
  margin-block-end: 14px;
  padding: 0;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 600;
}

.profile-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.profile-form__field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.profile-form__field--full {
  grid-column: 1 / -1;
}

.profile-form label {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

.profile-form__field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #8b93a2;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
}

.profile-form p {
  margin: 0;
  color: var(--color-field-text);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.profile-form .profile-form__hint {
  margin-block-end: 14px;
}

.profile-form .profile-form__notice {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f4f4f6;
}

.profile-form .field-error {
  color: #a92e2a;
  font-size: 14px;
}

.profile-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-block-start: 24px;
  padding-block-start: 20px;
  border-top: 1px solid var(--color-border);
}

.profile-form__actions .btn {
  min-height: 44px;
}
