/* ---------- Connectors ---------- */

.search-pill.wide {
  width: 100%;
  height: 40px;
  flex: none;
  background: #e9e9ed;
  border: 0;
  box-shadow: none;
  color: var(--text-2);
}
.search-pill.wide input::placeholder { color: var(--text-3); }
.search-pill.wide svg { width: 18px; height: 18px; }
.search-pill.wide input { font-size: 0.9375rem; }

.connector-groups { display: flex; flex-direction: column; gap: 18px; }
.connector-groups .group-label { margin-bottom: -10px; }

.crow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 6px 16px 6px 12px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  position: relative;
}
.crow + .crow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 54px;
  right: 0;
  height: 1px;
  background: var(--border);
}
.crow:hover { background: #fafafa; }
.crow .name { flex: 1; min-width: 0; }
.crow .name small { display: block; font-size: 0.75rem; color: var(--text-2); margin-top: 1px; }
.crow.connected::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-3);
  border-top: 2px solid var(--text-3);
  transform: rotate(45deg);
  flex: none;
  margin-right: 4px;
}
.crow .connect { color: var(--accent); font-weight: 500; font-size: 0.875rem; }
.crow .soon { color: var(--text-3); font-size: 0.8125rem; }

.app-tile {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 16px;
  line-height: 1;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
}
.app-tile.filled { box-shadow: none; color: #fff; font-weight: 700; font-size: 13px; }
.app-tile svg { width: 18px; height: 18px; }
.connector-empty { padding: 18px 20px; color: var(--text-3); text-align: center; }

/* ---------- Connector intro sheet ("Level up with Calendar") ---------- */

.intro-backdrop { z-index: 34; padding: 0; }
.intro-panel {
  width: min(560px, 100%);
  max-height: calc(100% - 44px - env(safe-area-inset-top));
  overflow-y: auto;
  background: #fff;
  border-radius: 28px 28px 0 0;
  position: relative;
  padding: 30px 24px calc(16px + env(safe-area-inset-bottom));
  animation: sheet-up 0.32s cubic-bezier(0.3, 0.8, 0.25, 1);
  scrollbar-width: none;
}
.intro-panel::-webkit-scrollbar { display: none; }
.intro-backdrop.closing .intro-panel { animation: sheet-down 0.26s cubic-bezier(0.4, 0, 1, 1) forwards; }
@media (min-width: 700px) {
  .intro-backdrop { align-items: center; padding: 24px; }
  .intro-panel { border-radius: 28px; }
}
.intro-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 0 18px; }
.intro-tile { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--border); margin-bottom: 8px; }
.intro-tile img { width: 100%; height: 100%; display: block; }
.intro-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.intro-tagline { font-size: 0.9375rem; color: var(--text-2); }
.intro-points { list-style: none; display: flex; flex-direction: column; gap: 18px; padding: 6px 4px 20px; }
.intro-points li { display: flex; gap: 16px; align-items: flex-start; }
.intro-points svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.intro-points strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.intro-points small { display: block; font-size: 0.875rem; line-height: 1.4; color: var(--text-2); margin-top: 2px; }
.intro-legal { border-top: 1px solid var(--border); padding: 16px 0 18px; font-size: 0.8125rem; color: var(--text-3); text-align: center; }
.intro-legal a { color: var(--accent); text-decoration: none; }
.intro-continue {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--imessage-blue);
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
}
.intro-continue:disabled { opacity: 0.6; }
.intro-cancel { width: 100%; height: 44px; margin-top: 6px; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: var(--text); cursor: pointer; }
