.app--card-profile .main {
  padding-bottom: 48px;
}

.app--card-profile input,
.app--card-profile select {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--surface);
  color: var(--ink);
}

.profile-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #98c9cd;
  border-radius: 10px;
  background: var(--teal-soft);
  padding: 16px 18px;
}

.profile-guide strong {
  display: block;
  color: var(--ink);
}

.profile-guide p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-guide .button {
  flex: 0 0 auto;
}

.profile-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.profile-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.profile-steps li > span {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.profile-steps small,
.profile-panel__help {
  color: var(--muted);
  line-height: 1.5;
}

.profile-panel__help {
  margin: 0 0 14px;
}

.profile-form .field__hint {
  max-width: none;
  overflow: visible;
  line-height: 1.5;
  text-overflow: clip;
  white-space: normal;
}

.status-text {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
  margin-top: 18px;
}

.profile-panel {
  min-width: 0;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field--wide {
  grid-column: 1 / -1;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: var(--ink);
  font-weight: 800;
}

.check-field input {
  width: 18px;
  min-height: 18px;
}

.profile-list {
  display: grid;
  gap: 10px;
}

.profile-item {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.profile-item__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.profile-item__title {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.profile-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 0 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-item__body {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-actions .button {
  min-height: 34px;
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #f8fbfb;
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .profile-grid,
  .profile-form,
  .profile-steps {
    grid-template-columns: 1fr;
  }

  .profile-guide {
    align-items: stretch;
    flex-direction: column;
  }

  .field--wide {
    grid-column: auto;
  }
}
