.portal-link {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

/* Header */
.portal-link__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.portal-link__page-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text-1);
}

.portal-link__page-sub {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-4);
  max-width: 44rem;
}

/* Link account card */
.portal-link__card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.portal-link__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.portal-link__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-5);
}

.portal-link__title {
  margin: 0.125rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-1);
}

.portal-link__form,
.portal-link__register {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-link__form-actions,
.portal-link__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

/* Instances section */
.portal-link__instances {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.portal-link__section-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-1);
}

.portal-link__section-sub {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--color-text-4);
  max-width: 44rem;
}

.portal-link__skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Table cells */
.portal-link__cell-stack {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.portal-link__cell-strong {
  font-weight: 600;
  color: var(--color-text-1);
}

.portal-link__device-id {
  font-size: 0.6875rem;
  color: var(--color-text-5);
  font-variant-numeric: tabular-nums;
}

.portal-link__muted {
  color: var(--color-text-4);
  font-size: 0.8125rem;
}
