/* Connect → MCP page */
.mcp-page { max-width: 1120px; }
.mcp-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.01em; }
.mcp-btn { font-weight: 600; padding: .55rem 1.1rem; border-radius: .6rem; }

.mcp-empty { border: 1px dashed #d4d4d8; border-radius: 1rem; background: #fafafa; }
.mcp-empty-icon {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 12px; background: #f1f5f9;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #475569;
}

/* One connected app */
.mcp-conn { border: 1px solid #e4e4e7; border-radius: 1rem; background: #fff; overflow: hidden; }
.mcp-conn > summary { list-style: none; cursor: pointer; padding: 1rem 1.25rem; }
.mcp-conn > summary::-webkit-details-marker { display: none; }
.mcp-conn[open] > summary { background: #fafafa; border-bottom: 1px solid #f0f0f2; }
.mcp-conn[open] .mcp-chevron { transform: rotate(180deg); }
.mcp-chevron { transition: transform .15s ease; }
.mcp-conn-body { padding: 1.25rem; margin: 0; }

.mcp-avatar {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: #fde4cf; color: #b45309; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.mcp-avatar-key { background: #e0e7ff; color: #4338ca; }
.mcp-dot {
  position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%;
  background: #a1a1aa; border: 2px solid #fff;
}
.mcp-dot.on { background: #16a34a; }

.mcp-badge {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  padding: .3rem .7rem; border-radius: 999px; background: #f4f4f5; font-size: .85rem; font-weight: 600;
}
.mcp-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #a1a1aa; }
.mcp-badge-bids { background: #dcfce7; color: #166534; }
.mcp-badge-bids .mcp-badge-dot { background: #16a34a; }

.mcp-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #52525b; }
.mcp-perm { border: 1px solid #e4e4e7; border-radius: .75rem; padding: .9rem 1rem; }
.mcp-perm-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; background: #f4f4f5;
  display: flex; align-items: center; justify-content: center; color: #3f3f46;
}
.mcp-switch { width: 2.6em !important; height: 1.4em; cursor: pointer; }

.mcp-details { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.25rem; }
.mcp-details dt { font-weight: 400; color: #52525b; }
.mcp-details dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.mcp-apikeys > summary { list-style: none; cursor: pointer; }
.mcp-apikeys > summary::-webkit-details-marker { display: none; }

.mcp-steps li { margin-bottom: .75rem; }
