.dashboard-card,
.shell-dashboard-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.card-intro,
.dashboard-header,
.account-section-heading,
.shell-dashboard-header,
.shell-section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.settings-category-nav,
.shell-panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.settings-category-nav a,
.shell-panel-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 221, 231, 0.88);
  background: #f7f9fc;
  color: #31404f;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.settings-category-nav a[data-active="true"],
.shell-panel-tab.is-active,
.shell-panel-tab[aria-pressed="true"] {
  border-color: rgba(20, 99, 226, 0.24);
  background: rgba(20, 99, 226, 0.12);
  color: #1158c8;
}

.pill-row,
.shell-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.role-chip,
.status-pill.small,
.shell-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(214, 221, 231, 0.88);
  background: #f6f9fc;
  color: #31404f;
  font-size: 0.88rem;
  font-weight: 700;
}

.account-section,
.shell-section {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.settings-section-card,
.shell-settings-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(214, 221, 231, 0.88);
  border-radius: 8px;
  background: #fafcff;
}

.settings-section-card .detail-kicker,
.shell-settings-card .detail-kicker,
.shell-settings-card .shell-kicker {
  margin-bottom: 0;
}

.nested-card,
.shell-nested-card {
  padding: 20px;
}

.list-stack,
.shell-list-stack,
.summary-block,
.shell-summary-block {
  display: grid;
  gap: 12px;
}

.overview-metric-grid,
.overview-quick-grid,
.shell-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.overview-metric-card,
.overview-link-card,
.shell-metric-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(214, 221, 231, 0.88);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.overview-metric-card p,
.overview-metric-card strong,
.overview-metric-card span,
.overview-link-card strong,
.overview-link-card span,
.shell-metric-card p,
.shell-metric-card strong,
.shell-metric-card span {
  margin: 0;
}

.detail-kicker,
.shell-kicker {
  margin: 0 0 8px;
  color: #1463e2;
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.shell-surface {
  border: 1px solid rgba(214, 221, 231, 0.88);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

@media (max-width: 760px) {
  .overview-metric-grid,
  .overview-quick-grid,
  .shell-metric-grid {
    grid-template-columns: 1fr;
  }

  .card-intro,
  .dashboard-header,
  .account-section-heading,
  .shell-dashboard-header,
  .shell-section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
