/* ========================================
   Spehre Search — People + Posts
   Contextual depth: command bar, match reasons,
   relevance bars, skeletons, landing, facets.
   ======================================== */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sr-main {
  padding: 24px 32px 48px;
  max-width: 1200px;
}

/* ── Command Bar ─────────────────────────────────────────── */
.sr-cmd {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 20px 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 8px;
  z-index: 20;
}
.sr-cmd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sr-cmd-input-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
}
.sr-cmd-icon {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}
.sr-cmd-input {
  width: 100%;
  padding: 14px 100px 14px 46px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
}
.sr-cmd-input::placeholder { color: #94a3b8; font-weight: 400; }
.sr-cmd-input:focus {
  border-color: #0085FF;
  box-shadow: 0 0 0 4px rgba(0, 133, 255, 0.12);
}
.sr-cmd-clear {
  position: absolute;
  right: 52px;
  width: 28px; height: 28px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}
.sr-cmd-clear:hover { background: #e2e8f0; color: #0f172a; }
.sr-cmd-kbd {
  position: absolute;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.sr-intent-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0085FF;
  background: rgba(0, 133, 255, 0.08);
  border: 1px solid rgba(0, 133, 255, 0.2);
  border-radius: 10px;
  white-space: nowrap;
}
.sr-intent-pill i { font-size: 0.8rem; }
.sr-cmd-meta {
  margin-top: 10px;
  color: #94a3b8;
  font-size: 0.76rem;
}
.sr-cmd-hint kbd {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 2px 6px;
  margin: 0 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Tabs + Summary ──────────────────────────────────────── */
.sr-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.sr-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.sr-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  font-family: inherit;
}
.sr-tab:hover:not(.active) { background: #f8fafc; color: #0f172a; }
.sr-tab.active {
  background: linear-gradient(135deg, #0085FF 0%, #0066CC 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 133, 255, 0.28);
}
.sr-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
  border-radius: 6px;
}
.sr-tab.active .sr-tab-count {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.sr-summary {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
}
.sr-summary-count { color: #0f172a; font-weight: 700; }
.sr-summary-ms { color: #94a3b8; font-size: 0.78rem; }
.sr-summary-intent { color: #0085FF; font-weight: 600; }

/* ── Active chips ────────────────────────────────────────── */
.sr-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.sr-active-chips:empty { display: none; }
.sr-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0085FF;
  background: rgba(0, 133, 255, 0.08);
  border: 1px solid rgba(0, 133, 255, 0.2);
  border-radius: 8px;
}
.sr-active-chip-x {
  width: 20px; height: 20px;
  border: none;
  background: transparent;
  color: #0085FF;
  border-radius: 5px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
}
.sr-active-chip-x:hover { background: rgba(0, 133, 255, 0.16); }

/* ── Results container ───────────────────────────────────── */
.sr-results {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sr-section { display: flex; flex-direction: column; gap: 14px; }
.sr-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sr-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sr-section-head h2 i { color: #0085FF; font-size: 1rem; }
.sr-section-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 6px;
}
.sr-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0085FF;
  background: transparent;
  border: 1px solid rgba(0, 133, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  font-family: inherit;
}
.sr-see-all:hover { background: rgba(0, 133, 255, 0.08); }

/* Bucket headings (posts: best/more) */
.sr-bucket-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  padding: 6px 0;
  margin-bottom: -6px;
}
.sr-bucket-head i { color: #0085FF; }
.sr-bucket-more {
  color: #64748b;
  font-weight: 600;
  margin-top: 12px;
}
.sr-bucket-more i { color: #94a3b8; }

/* ── People grid ─────────────────────────────────────────── */
.sr-people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* ── PERSON CARD (preserved — do not modify visual identity) ── */
.sr-person-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.sr-person-card:hover {
  border-color: #0085FF;
  box-shadow: 0 8px 24px rgba(0, 133, 255, 0.12);
  transform: translateY(-2px);
}
.sr-person-link {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.sr-person-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
}
.sr-person-body { flex: 1; min-width: 0; }
.sr-person-name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-person-headline {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sr-person-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sr-person-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.sr-skill-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 6px;
}
.sr-person-actions {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.sr-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  font-family: inherit;
  border: 1px solid transparent;
}
.sr-btn-ghost {
  background: transparent;
  color: #475569;
  border-color: #e2e8f0;
}
.sr-btn-ghost:hover { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }
.sr-btn-primary {
  background: linear-gradient(135deg, #0085FF 0%, #0066CC 100%);
  color: #fff;
  border: none;
}
.sr-btn-primary:hover { box-shadow: 0 4px 12px rgba(0, 133, 255, 0.32); }
.sr-btn-primary:disabled { opacity: 0.65; cursor: default; box-shadow: none; }

/* ── Post card ───────────────────────────────────────────── */
.sr-posts-list { display: flex; flex-direction: column; gap: 14px; }
.sr-post-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.sr-post-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.sr-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.sr-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1;
}
.sr-post-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sr-post-author-text { min-width: 0; }
.sr-post-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-post-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
}
.sr-post-sub i { font-size: 0.74rem; }
.sr-dot { color: #cbd5e1; }
.sr-post-head-right { flex-shrink: 0; }
.sr-post-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 7px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.sr-t-post { background: rgba(100, 116, 139, 0.12); color: #475569; }
.sr-t-achievement { background: rgba(234, 179, 8, 0.14); color: #a16207; }
.sr-t-insight { background: rgba(168, 85, 247, 0.12); color: #7c3aed; }
.sr-t-project { background: rgba(0, 133, 255, 0.12); color: #0066CC; }
.sr-t-story { background: rgba(236, 72, 153, 0.12); color: #be185d; }

/* Match reasons + relevance */
.sr-reasons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(0,133,255,0.04) 0%, rgba(0,133,255,0) 100%);
  border-left: 3px solid rgba(0, 133, 255, 0.4);
  border-radius: 6px;
}
.sr-reasons-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sr-reason {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #0066CC;
  background: #fff;
  border: 1px solid rgba(0, 133, 255, 0.2);
  border-radius: 6px;
}
.sr-reason i { font-size: 0.7rem; }
.sr-reason-score { margin-left: auto; min-width: 100px; }
.sr-rel-bar {
  position: relative;
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
}
.sr-rel-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.sr-rel-hi span { background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%); }
.sr-rel-md span { background: linear-gradient(90deg, #0085FF 0%, #0066CC 100%); }
.sr-rel-lo span { background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 100%); }

.sr-post-snippet {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
  word-wrap: break-word;
}
.sr-post-snippet mark {
  background: rgba(234, 179, 8, 0.22);
  color: #0f172a;
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 600;
}

.sr-post-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}
.sr-media-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}
.sr-media-video {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.sr-media-video i { font-size: 1.2rem; color: #0085FF; }

.sr-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sr-tag-chip {
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #0066CC;
  background: rgba(0, 133, 255, 0.08);
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
}
.sr-tag-chip:hover {
  background: rgba(0, 133, 255, 0.16);
  border-color: rgba(0, 133, 255, 0.3);
}
.sr-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}
.sr-tool-chip i { font-size: 0.68rem; color: #64748b; }

.sr-post-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 0.82rem;
}
.sr-post-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.sr-post-stat i { font-size: 0.82rem; }
.sr-post-foot-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sr-icon-btn {
  width: 30px; height: 30px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.sr-icon-btn:hover { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
.sr-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0085FF;
  text-decoration: none;
  border-radius: 7px;
  transition: background 0.18s ease;
}
.sr-open-btn:hover { background: rgba(0, 133, 255, 0.08); }

/* ── Empty state ─────────────────────────────────────────── */
.sr-empty {
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
  padding: 48px 32px;
  text-align: center;
  color: #64748b;
}
.sr-empty i {
  font-size: 2.4rem;
  color: #cbd5e1;
  margin-bottom: 14px;
  display: block;
}
.sr-empty h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 700;
}
.sr-empty p { margin: 0 0 18px; font-size: 0.88rem; }
.sr-empty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sr-empty-actions .sr-btn { flex: 0 0 auto; }
.sr-query {
  font-weight: 700;
  color: #0f172a;
}

/* ── Landing (no query) ──────────────────────────────────── */
.sr-landing {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sr-landing-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}
.sr-landing-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0085FF 0%, #0066CC 100%);
  color: #fff;
  border-radius: 16px;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 133, 255, 0.32);
}
.sr-landing-hero h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #0f172a;
  font-weight: 700;
}
.sr-landing-hero p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}
.sr-landing-hero kbd {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0066CC;
  background: rgba(0, 133, 255, 0.1);
  border: 1px solid rgba(0, 133, 255, 0.22);
  border-radius: 5px;
  padding: 2px 7px;
  margin: 0 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.sr-landing-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
}
.sr-landing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sr-landing-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sr-landing-head h3 i { color: #0085FF; font-size: 0.9rem; }
.sr-text-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: inherit;
}
.sr-text-btn:hover { background: #f1f5f9; color: #0f172a; }
.sr-sugg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  font-family: inherit;
}
.sr-sugg-chip i { font-size: 0.72rem; color: #94a3b8; transform: rotate(45deg); }
.sr-sugg-chip:hover {
  background: #fff;
  border-color: #0085FF;
  color: #0066CC;
}
.sr-sugg-chip:hover i { color: #0085FF; }
.sr-landing-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.sr-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
}
.sr-tip kbd {
  min-width: 26px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0066CC;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Skeletons ───────────────────────────────────────────── */
@keyframes sr-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.sr-skel {
  background: linear-gradient(90deg, #f1f5f9 0%, #f8fafc 50%, #f1f5f9 100%);
  background-size: 800px 100%;
  animation: sr-shimmer 1.4s infinite linear;
  border-radius: 14px;
}
.sr-skel-person { height: 180px; }
.sr-skel-post { height: 220px; margin-bottom: 12px; }

/* ── Filter panel ────────────────────────────────────────── */
.sr-filter-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.sr-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.filter-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-title i { color: #0085FF; }
.sr-clear-btn {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: inherit;
}
.sr-clear-btn:hover { background: #f1f5f9; color: #0f172a; }
.sr-filter-section {
  margin-bottom: 20px;
}
.sr-filter-section:last-child { margin-bottom: 0; }
.sr-filter-label {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sr-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sr-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
}
.sr-chip i { font-size: 0.72rem; }
.sr-chip:hover:not(.active) { background: #fff; border-color: #cbd5e1; color: #0f172a; }
.sr-chip.active {
  background: linear-gradient(135deg, #0085FF 0%, #0066CC 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(0, 133, 255, 0.28);
}
.sr-empty-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  font-style: italic;
}
.sr-check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 6px;
  font-size: 0.84rem;
  color: #334155;
  font-weight: 500;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.18s ease;
}
.sr-check-row:hover { background: #f8fafc; }
.sr-check-row input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: #0085FF;
  cursor: pointer;
}
.sr-author-stack { display: flex; flex-direction: column; gap: 8px; }
.sr-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  background: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.sr-author-row:hover { background: #f1f5f9; }
.sr-author-row img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sr-author-text { min-width: 0; flex: 1; }
.sr-author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-author-count {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes sr-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: sr-fade-up 0.4s ease-out both; }
.delay-1 { animation-delay: 0.06s; }
.delay-2 { animation-delay: 0.12s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sr-main { padding: 20px 24px 40px; }
  .sr-filter-panel { position: static; max-height: none; }
}
@media (max-width: 768px) {
  .sr-main { padding: 16px 16px 32px; }
  .sr-cmd { padding: 14px 14px 12px; border-radius: 14px; }
  .sr-cmd-input {
    padding: 12px 84px 12px 42px;
    font-size: 0.95rem;
  }
  .sr-cmd-kbd { display: none; }
  .sr-cmd-clear { right: 12px; }
  .sr-cmd-input { padding-right: 48px; }
  .sr-tabs-wrap { flex-direction: column; align-items: stretch; }
  .sr-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sr-people-grid { grid-template-columns: 1fr; }
  .sr-post-foot { flex-wrap: wrap; }
  .sr-post-foot-right { margin-left: 0; width: 100%; justify-content: flex-end; }
  .sr-reasons { flex-direction: column; align-items: flex-start; }
  .sr-reason-score { margin-left: 0; width: 100%; min-width: 0; }
  .sr-landing-hero { padding: 28px 20px; }
  .sr-landing-hero h2 { font-size: 1.2rem; }
}
/* ── Cmd tools / saved-search / help buttons ─────────────── */
.sr-cmd-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sr-cmd-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sr-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
}
.sr-tool-btn i { font-size: 0.82rem; }
.sr-tool-btn:hover { background: #fff; color: #0f172a; border-color: #cbd5e1; }
.sr-tool-btn.is-on {
  background: rgba(0, 133, 255, 0.08);
  color: #0066CC;
  border-color: rgba(0, 133, 255, 0.22);
}
.sr-tool-btn:disabled { cursor: default; opacity: 0.8; }
#srSavedCount {
  min-width: 14px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #b45309;
}
#srSavedListBtn i { color: #f59e0b; }

/* Filter presets row */
.sr-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.sr-presets-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.sr-presets-label i { color: #0085FF; font-size: 0.76rem; }
.sr-preset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.sr-preset i { font-size: 0.76rem; color: #64748b; }
.sr-preset:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.sr-preset.active {
  background: linear-gradient(135deg, #0085FF 0%, #0066CC 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 133, 255, 0.28);
}
.sr-preset.active i { color: #fff; }

/* Saved searches popover */
.sr-saved-pop {
  position: absolute;
  right: 20px;
  top: calc(100% + 8px);
  width: 340px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  z-index: 50;
  padding: 10px;
  animation: sr-fade-up 0.18s ease-out;
}
.sr-saved-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}
.sr-saved-head i { color: #f59e0b; margin-right: 5px; }
.sr-saved-empty {
  padding: 20px 14px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
  font-style: italic;
}
.sr-saved-empty i { color: #f59e0b; margin: 0 2px; }
.sr-saved-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 8px;
}
.sr-saved-row:hover { background: #f8fafc; }
.sr-saved-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  font-family: inherit;
}
.sr-saved-main > i { color: #94a3b8; font-size: 0.78rem; flex-shrink: 0; }
.sr-saved-q {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.sr-saved-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  flex-shrink: 0;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 5px;
}
.sr-saved-rm {
  width: 26px; height: 26px;
  border: none;
  background: transparent;
  color: #94a3b8;
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem;
  flex-shrink: 0;
}
.sr-saved-rm:hover { background: #fee2e2; color: #dc2626; }

/* Engagement pulse badge */
.sr-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  animation: sr-pulse-glow 2.2s ease-in-out infinite;
}
.sr-pulse i { font-size: 0.72rem; }
.sr-pulse-hot {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.32);
}
.sr-pulse-rising {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.28);
}
.sr-pulse-fresh {
  background: rgba(0, 133, 255, 0.1);
  color: #0066CC;
  border: 1px solid rgba(0, 133, 255, 0.22);
}
.sr-pulse-new {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.22);
}
@keyframes sr-pulse-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.sr-post-head-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sr-post-name-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sr-verified { color: #0085FF; font-size: 0.86rem; }
.sr-readtime { display: inline-flex; align-items: center; gap: 4px; }

/* Expand button */
.sr-expand {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  margin-top: -4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0066CC;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease;
}
.sr-expand:hover { background: rgba(0, 133, 255, 0.08); }
.sr-expand i { font-size: 0.72rem; transition: transform 0.18s ease; }
.sr-post-snippet.is-open {
  white-space: pre-wrap;
}

/* Bookmark on */
.sr-icon-btn.is-on {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.32);
  color: #d97706;
}
.sr-icon-btn.is-on:hover { background: rgba(245, 158, 11, 0.18); }

/* Share menu */
.sr-share-wrap { position: relative; }
.sr-share-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  min-width: 180px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 4px;
  z-index: 30;
  animation: sr-fade-up 0.16s ease-out;
}
.sr-share-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.sr-share-menu button:hover { background: #f8fafc; color: #0f172a; }
.sr-share-menu button i { width: 16px; color: #64748b; font-size: 0.88rem; }

/* Related searches */
.sr-related {
  margin-top: 8px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.sr-related-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.sr-related-head i { color: #0085FF; }

/* Help modal */
.sr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  animation: sr-fade-up 0.18s ease-out;
}
.sr-modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: sr-modal-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes sr-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sr-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
}
.sr-modal-head h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sr-modal-head h3 i { color: #0085FF; }
.sr-modal-x {
  width: 32px; height: 32px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sr-modal-x:hover { background: #e2e8f0; color: #0f172a; }
.sr-modal-body {
  padding: 22px;
  overflow-y: auto;
}
.sr-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 18px;
}
.sr-help-col h4 {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sr-help-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.86rem;
  color: #334155;
}
.sr-help-row kbd {
  min-width: 28px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0066CC;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  box-shadow: 0 1px 0 #e2e8f0;
}
.sr-help-row span { flex: 1; }
.sr-help-ex {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: #0066CC;
  background: rgba(0, 133, 255, 0.08);
  padding: 3px 8px;
  border-radius: 5px;
}
.sr-help-tip {
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 100%);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.55;
}
.sr-help-tip i { color: #f59e0b; margin-right: 4px; }

@media (max-width: 520px) {
  .sr-help-grid { grid-template-columns: 1fr; gap: 18px; }
  .sr-saved-pop { right: 10px; left: 10px; width: auto; }
  .sr-cmd-meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .sr-post-card { padding: 14px; }
  .sr-post-head { flex-wrap: wrap; }
  .sr-person-card { padding: 14px; }
  .sr-person-actions { flex-direction: column; }
  .sr-btn { width: 100%; }
}

/* ================================================================
   REBUILD (2026-04-19) — full-width layout, pill filters,
   section accents, feed-style post, searchable select popover
   ================================================================ */

.sr-main-full { max-width: 980px; margin: 0 auto; }

/* Distinct section accents */
.sr-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 22px 24px; margin-bottom: 22px; box-shadow: 0 2px 10px rgba(15,23,42,.03); position: relative; overflow: hidden; }
.sr-section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.sr-section-people::before { background: linear-gradient(90deg, #0085FF, #7cc6ff); }
.sr-section-posts::before  { background: linear-gradient(90deg, #8b5cf6, #f59e0b); }
.sr-section-people { background: linear-gradient(180deg, #f7faff 0%, #ffffff 60%); }
.sr-section-posts  { background: linear-gradient(180deg, #faf8ff 0%, #ffffff 60%); }

.sr-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 14px; }
.sr-section-title { display:flex; align-items:center; gap: 10px; }
.sr-section-title h2 { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin: 0; }
.sr-section-badge { width: 34px; height: 34px; border-radius: 10px; display:inline-flex; align-items:center; justify-content:center; color:#fff; font-size:.95rem; }
.sr-section-people .sr-section-badge { background: linear-gradient(135deg,#0085FF,#56a8ff); box-shadow: 0 4px 12px rgba(0,133,255,.28); }
.sr-section-posts  .sr-section-badge { background: linear-gradient(135deg,#8b5cf6,#ec8a2d); box-shadow: 0 4px 12px rgba(139,92,246,.28); }
.sr-section .sr-section-count { background: #f1f5f9; color:#64748b; padding: 2px 10px; border-radius: 999px; font-size:.78rem; font-weight:700; }

/* Pill filter bar inside People section */
.sr-pill-bar { display:flex; flex-wrap:wrap; align-items:center; gap: 8px; padding: 10px 12px; margin-bottom: 14px; background: #fff; border:1px solid #e2e8f0; border-radius: 14px; }
.sr-pill-label { font-size:.78rem; font-weight:700; color:#64748b; display:inline-flex; align-items:center; gap:6px; margin-right: 4px; }
.sr-pill-label i { color:#0085FF; }
.sr-pill { display:inline-flex; align-items:center; gap: 7px; padding: 8px 14px; font-size:.86rem; font-weight:600; color:#334155; background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 999px; cursor: pointer; transition: all .18s; }
.sr-pill:hover { border-color:#0085FF; background:#eff6ff; color:#0085FF; }
.sr-pill.is-active { background: linear-gradient(135deg,#0085FF,#3ca0ff); color:#fff; border-color: transparent; box-shadow: 0 4px 10px rgba(0,133,255,.25); }
.sr-pill.is-active i:not(.sr-pill-caret) { color:#fff; }
.sr-pill.is-active b { font-weight:700; }
.sr-pill-caret { font-size:.7rem; opacity:.85; }

/* Searchable Select popover */
.sr-ss-pop { position: absolute; z-index: 200; width: 320px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 20px 40px rgba(15,23,42,.12); overflow: hidden; }
.sr-ss-head { display:flex; align-items:center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; }
.sr-ss-head i.fa-magnifying-glass { color:#94a3b8; font-size:.85rem; }
.sr-ss-head input { flex:1; border:none; outline:none; font-size:.9rem; padding: 4px 0; background: transparent; color:#0f172a; }
.sr-ss-close { background:none; border:none; color:#94a3b8; cursor:pointer; padding: 4px 6px; border-radius: 6px; }
.sr-ss-close:hover { background:#f1f5f9; color:#ef4444; }
.sr-ss-list { max-height: 300px; overflow-y: auto; padding: 6px; }
.sr-ss-item { width:100%; display:flex; align-items:center; gap:10px; padding: 8px 10px; border: none; background: transparent; border-radius: 8px; font-size:.86rem; color:#334155; cursor:pointer; text-align:left; }
.sr-ss-item:hover { background:#f1f5f9; }
.sr-ss-item.is-sel { background:#eff6ff; color:#0085FF; font-weight:600; }
.sr-ss-item i { color:#0085FF; font-size:.85rem; width: 14px; }
.sr-ss-empty { padding: 14px; color:#64748b; font-size:.82rem; text-align:center; }
.sr-ss-foot { padding: 8px 12px; border-top: 1px solid #f1f5f9; display:flex; justify-content:flex-end; }
.sr-ss-clear { background:none; border:none; color:#ef4444; font-size:.82rem; font-weight:600; cursor:pointer; padding: 6px 10px; border-radius: 6px; }
.sr-ss-clear:hover { background:#fef2f2; }

/* People grid (cleaner 6-card grid) */
.sr-section-people .sr-people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.sr-section-people .sr-person-card { padding: 14px; border-radius: 14px; background: #fff; border:1px solid #e2e8f0; display:flex; align-items:flex-start; gap: 12px; transition: all .18s; }
.sr-section-people .sr-person-card:hover { border-color:#0085FF; box-shadow: 0 6px 18px rgba(0,133,255,.12); transform: translateY(-1px); }
.sr-section-people .sr-person-link { display:flex; align-items:flex-start; gap: 12px; flex:1; text-decoration:none; color:inherit; min-width: 0; }
.sr-section-people .sr-person-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sr-section-people .sr-person-body { flex:1; min-width: 0; }
.sr-section-people .sr-person-name { font-size: .95rem; font-weight: 700; color:#0f172a; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-section-people .sr-person-headline { font-size: .8rem; color: #64748b; margin: 0 0 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Suggestion-style meta line (ported from user-profile) */
.sug-meta-line { font-size:.74rem; color:#64748b; display:inline-flex; align-items:center; gap: 5px; padding: 2px 8px; background:#f8fafc; border-radius: 999px; }
.sug-meta-line i { font-size:.7rem; color:#94a3b8; }
.sug-meta-line.is-status { font-weight:600; }
.sug-meta-line.is-status.ok { background:#ecfdf5; color:#059669; }
.sug-meta-line.is-status.ok .sml-dot { background:#10b981; }
.sug-meta-line.is-status.soon { background:#fff7ed; color:#d97706; }
.sug-meta-line.is-status.soon .sml-dot { background:#f59e0b; }
.sug-meta-line.is-status.muted { background:#f1f5f9; color:#64748b; }
.sug-meta-line .sml-dot { width: 7px; height: 7px; border-radius: 50%; display:inline-block; }
.sug-meta-line.is-reason i { color:#0085FF; }

.sug-connect-btn { width: 36px; height: 36px; border-radius: 50%; background: #eff6ff; border: 1.5px solid #bfdbfe; color: #0085FF; display:inline-flex; align-items:center; justify-content:center; cursor: pointer; transition: all .18s; flex-shrink: 0; }
.sug-connect-btn:hover { background:#0085FF; color:#fff; border-color:#0085FF; transform: scale(1.05); }
.sug-connect-btn.is-pending { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; cursor: default; }
.sug-connect-btn:disabled { opacity: .8; cursor: default; }

/* Feed-style post card */
.sr-posts-list { display:flex; flex-direction:column; gap: 14px; }
.sr-fp-card { background:#fff; border:1px solid #e2e8f0; border-radius: 16px; padding: 18px 20px; transition: all .18s; }
.sr-fp-card:hover { border-color:#cbd5e1; box-shadow: 0 4px 14px rgba(15,23,42,.06); }
.sr-fp-head { display:flex; align-items:flex-start; gap: 12px; margin-bottom: 12px; }
.sr-fp-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sr-fp-head-mid { flex: 1; min-width: 0; }
.sr-fp-name-row { display:flex; align-items:center; flex-wrap:wrap; gap: 8px; }
.sr-fp-name { font-size: .95rem; font-weight: 700; color:#0f172a; text-decoration: none; }
.sr-fp-name:hover { color: #0085FF; }
.sr-fp-type { display:inline-flex; align-items:center; gap: 4px; padding: 2px 9px; background:#f8fafc; border:1px solid #e2e8f0; border-radius: 999px; font-size:.7rem; font-weight: 700; }
.sr-fp-degree { font-size:.68rem; color:#94a3b8; font-weight:600; border:1px solid #e2e8f0; border-radius: 999px; padding: 1px 7px; }
.sr-fp-headline { font-size:.78rem; color:#64748b; margin-top: 2px; }
.sr-fp-sub { font-size:.72rem; color:#94a3b8; display:flex; align-items:center; gap: 8px; margin-top: 2px; }
.sr-fp-time i { margin-right: 3px; }
.sr-fp-body { margin: 8px 0; }
.sr-fp-content { font-size: .92rem; color: #0f172a; white-space: pre-wrap; margin: 0; line-height: 1.55; }
.sr-fp-more { background:none; border:none; color:#0085FF; font-size:.82rem; font-weight:600; cursor:pointer; padding: 4px 0; margin-top: 4px; }
.sr-fp-more:hover { text-decoration: underline; }
.sr-fp-media { margin-top: 10px; border-radius: 12px; overflow: hidden; background:#f8fafc; text-align:center; }
.sr-fp-media img, .sr-fp-media video { max-width: 100%; max-height: 500px; display: inline-block; }
.sr-fp-tags { display:flex; flex-wrap:wrap; gap: 6px; margin-top: 10px; }
.sr-fp-tag { font-size:.75rem; color:#0085FF; background:#eff6ff; padding: 3px 10px; border-radius: 999px; font-weight:600; }
.sr-fp-meta-bar { display:flex; flex-wrap:wrap; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #f1f5f9; font-size:.75rem; color:#64748b; }
.sr-fp-meta-item { display:inline-flex; align-items:center; gap: 5px; }
.sr-fp-meta-item i { color:#94a3b8; }
.sr-fp-reactions { display:flex; align-items:center; gap: 6px; padding: 8px 0; margin-top: 8px; border-top:1px solid #f1f5f9; }
.sr-fp-rx-icons { display:flex; }
.sr-fp-rx-icons span { font-size: .9rem; margin-right: -4px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.08)); }
.sr-fp-rx-count { font-size: .78rem; color: #64748b; }
.sr-fp-rx-sep { color:#cbd5e1; margin: 0 2px; }
.sr-fp-actions { display:flex; align-items:center; gap: 4px; padding-top: 10px; margin-top: 10px; border-top: 1px solid #f1f5f9; }
.sr-fp-act { flex: 1; background: transparent; border: none; color: #64748b; font-size: .82rem; font-weight: 600; padding: 8px; border-radius: 8px; cursor: pointer; display:inline-flex; align-items:center; justify-content:center; gap: 6px; transition: all .15s; }
.sr-fp-act:hover { background:#f1f5f9; color:#0085FF; }

/* Show more button */
.sr-more-wrap { display:flex; justify-content:center; margin-top: 16px; }
.sr-more-btn { background: #fff; border: 1.5px solid #e2e8f0; color: #0085FF; font-weight: 600; font-size: .86rem; padding: 10px 22px; border-radius: 999px; cursor: pointer; display:inline-flex; align-items:center; gap: 8px; transition: all .18s; }
.sr-more-btn:hover:not(:disabled) { background:#eff6ff; border-color:#0085FF; transform: translateY(-1px); }
.sr-more-btn:disabled { opacity: .7; cursor: default; }

/* Tabs accents per scope */
.sr-tab-people.active { background: linear-gradient(135deg,#0085FF,#56a8ff); color:#fff; border-color: transparent; }
.sr-tab-posts.active  { background: linear-gradient(135deg,#8b5cf6,#ec8a2d); color:#fff; border-color: transparent; }
.sr-tab-all.active    { background: linear-gradient(135deg,#0f172a,#334155); color:#fff; border-color: transparent; }
.sr-tab-people.active .sr-tab-count,
.sr-tab-posts.active .sr-tab-count,
.sr-tab-all.active .sr-tab-count { background: rgba(255,255,255,.22); color:#fff; }

/* Inline empty */
.sr-inline-empty { padding: 28px 20px; text-align:center; color:#94a3b8; font-size:.9rem; background: #f8fafc; border: 1px dashed #e2e8f0; border-radius: 12px; }
.sr-inline-empty i { font-size: 1.3rem; margin-right: 8px; color:#cbd5e1; }

/* Landing grid */
.sr-landing-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.sr-landing-tile { background:#fff; border:1px solid #e2e8f0; border-radius: 14px; padding: 18px; display:flex; flex-direction:column; gap: 6px; transition: all .2s; }
.sr-landing-tile:hover { border-color:#0085FF; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,133,255,.12); }
.sr-landing-tile i { font-size: 1.4rem; color:#0085FF; margin-bottom: 6px; }
.sr-landing-tile b { font-size: .95rem; color:#0f172a; }
.sr-landing-tile span { font-size:.8rem; color:#64748b; }

/* Summary */
.sr-summary { font-size:.82rem; color:#64748b; white-space: nowrap; }
.sr-sum-count { font-weight: 700; color:#0f172a; }
.sr-sum-ms { color:#94a3b8; }

@media (max-width: 720px) {
  .sr-main-full { padding: 16px 14px 32px; }
  .sr-section { padding: 16px 14px; }
  .sr-ss-pop { width: calc(100vw - 32px); left: 16px !important; }
  .sr-fp-card { padding: 14px; }
}
