/* Connected apps — Strava, Teams, food, rides */

.int-section-hdr {
  margin-bottom: 16px;
}
.int-section-title {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.int-section-sub {
  font-size: 12px;
  color: var(--t3);
  line-height: 1.45;
  margin: 0;
}

.int-cat-block {
  margin-bottom: 18px;
}
.int-cat-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.int-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.int-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.15s;
}
.int-card--on {
  border-color: rgba(45, 106, 79, 0.45);
  background: linear-gradient(135deg, var(--brand-dim) 0%, var(--surface) 60%);
}
.int-card--soon {
  opacity: 0.72;
}

.int-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.int-emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.int-card-meta {
  flex: 1;
  min-width: 0;
}
.int-name {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.int-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--t4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.int-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--s2);
  color: var(--t3);
  flex-shrink: 0;
}
.int-badge--on {
  background: var(--brand);
  color: #fff;
}
.int-badge--pending {
  background: rgba(122, 80, 32, 0.14);
  color: var(--amber);
}
.int-badge--setup {
  background: rgba(160, 72, 8, 0.12);
  color: var(--coral);
}

.int-blurb {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.45;
  margin: 0 0 6px;
}
.int-status-note {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 8px;
}
.int-features {
  font-size: 11px;
  color: var(--t4);
  margin: 0 0 10px;
  line-height: 1.4;
}

.int-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.int-btn {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.int-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.int-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.int-btn--mini {
  padding: 6px 9px;
  font-size: 10px;
  border-radius: 10px;
}
.int-calendar-panel {
  margin: 10px 0 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(var(--brand-rgb), 0.08);
  border: 1px solid var(--border);
}
.int-calendar-title,
.int-calendar-empty {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--t3);
}
.int-calendar-title {
  color: var(--brand);
  margin-bottom: 8px;
}
.int-calendar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.int-calendar-item:first-of-type {
  border-top: none;
  padding-top: 0;
}
.int-calendar-meta {
  min-width: 0;
}
.int-calendar-meta strong {
  display: block;
  font-size: 12px;
  color: var(--text);
  line-height: 1.25;
}
.int-calendar-meta span {
  display: block;
  font-size: 10px;
  color: var(--t4);
  margin-top: 2px;
}

.int-task-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(45, 106, 79, 0.15);
  color: var(--brand);
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#profile-integrations-slot {
  margin-top: 4px;
}
