

/* --------------------------------------------------
   Profile helper modal
-------------------------------------------------- */

.modal--profile-help .modal__dialog {
  width: min(1180px, calc(100% - 24px));
}


.pm-wrap {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.pm-intro {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.pm-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.pm-card {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;

  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;

  padding: 12px;

  display: grid;
  gap: 8px;

  text-align: left;
  cursor: default;

  overflow-wrap: anywhere;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.pm-card:hover {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: none;
  transform: none;
}

.pm-card.is-active {
  border-color: var(--ui-accent);
  background: var(--ui-accent-extrasoft);
}

.pm-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;

  gap: 10px;
  align-items: start;

  min-width: 0;
}

.pm-card-head > div {
  min-width: 0;
}

.pm-card-head strong {
  display: block;

  font-size: 14px;
  color: #0f172a;
  line-height: 1.3;

  white-space: normal;
  overflow-wrap: anywhere;
}

.pm-current {
  display: inline-flex;

  margin-top: 5px;

  padding: 2px 7px;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 700;

  color: #0E47CB;
  background: #dbeafe;
}

.pm-version {
  flex: 0 0 auto;

  max-width: 120px;

  font-size: 11px;
  color: #64748b;

  background: #f1f5f9;

  border-radius: 999px;

  padding: 2px 8px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-description {
  min-width: 0;

  font-size: 13px;
  color: #475569;
  line-height: 1.5;

  white-space: normal;
  overflow-wrap: anywhere;
}

.pm-footer {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}