/**
 * Neutral launcher primitives — safe for any demand-side global panel.
 * No business rules; presentation only.
 */
.idsa-launcher-section {
  margin-bottom: clamp(1.25rem, 4vw, 2rem);
}
.idsa-launcher-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
@media (max-width: 520px) {
  .idsa-launcher-section__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .idsa-launcher-section__hint {
    text-align: left;
    max-width: none;
  }
}
.idsa-launcher-section__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}
.idsa-launcher-section__hint {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.55;
  max-width: 36ch;
  text-align: right;
}

.idsa-launcher-card-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(100%, var(--idsa-launcher-col-min, 280px)), 1fr)
  );
  gap: clamp(12px, 2.5vw, 18px);
  align-content: start;
  min-width: 0;
  width: 100%;
}

.idsa-launcher-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  min-width: 0;
  /* Touch-friendly minimum; keeps grid alignment without changing business behavior */
  min-height: 96px;
  border-radius: var(--idsa-radius, 12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--idsa-surface, #1a2332);
  color: var(--idsa-text, #e8eef7);
  text-decoration: none;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.idsa-launcher-card:hover,
.idsa-launcher-card:focus-visible {
  border-color: var(--idsa-accent, #3d8bfd);
  box-shadow: 0 0 0 1px rgba(61, 139, 253, 0.25);
  outline: 2px solid color-mix(in srgb, var(--idsa-accent, #3d8bfd) 55%, transparent);
  outline-offset: 2px;
}
.idsa-launcher-card--quiet {
  cursor: default;
  opacity: 0.92;
}
.idsa-launcher-card--quiet:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.idsa-launcher-card__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.55;
}
/* Destination badge — Live user panel vs MyAccount (launcher cards only). */
.idsa-launcher-card__kicker--dest {
  opacity: 0.88;
  color: color-mix(in srgb, var(--idsa-accent, #3d8bfd) 72%, var(--idsa-text, #e8eef7));
}
.idsa-launcher-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.idsa-launcher-card__meta {
  font-size: 0.88rem;
  line-height: 1.35;
  opacity: 0.78;
}

.idsa-launcher-empty {
  padding: clamp(20px, 5vw, 28px);
  border-radius: var(--idsa-radius, 12px);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}
.idsa-launcher-empty__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(61, 139, 253, 0.12);
  border: 1px solid rgba(61, 139, 253, 0.25);
}
.idsa-launcher-empty__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}
.idsa-launcher-empty__text {
  margin: 0 auto;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.78;
}

.idsa-launcher-trust {
  margin-top: clamp(1.5rem, 5vw, 2.25rem);
  padding: 14px 18px;
  border-radius: var(--idsa-radius, 12px);
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.idsa-launcher-trust strong {
  font-weight: 700;
  opacity: 0.95;
}
.idsa-launcher-trust--muted {
  opacity: 0.62;
}
/* Dashboard: single combined safety note (full-width rhythm). */
.idsa-launcher-trust--combined {
  margin-top: clamp(0.75rem, 3vw, 1.25rem);
}
