.community-core-search-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 16px;
  padding: 16px;
}
.community-core-search-panel__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.community-core-search-panel__title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin: 0; }
.community-core-search-panel__description { color: #475569; font-size: 0.875rem; line-height: 1.6; margin: 0; }
.community-core-search-panel .search-form { display: flex; flex-direction: column; gap: 12px; }
.community-core-search-panel .search-form__input { border: 1px solid #cbd5e1; border-radius: 12px; font-size: 0.95rem; line-height: 1.4; min-height: 44px; padding: 10px 12px; width: 100%; }
.community-core-search-panel .search-form__input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); outline: none; }
.community-core-search-panel .search-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.community-core-search-panel .search-tabs__tab,
.community-core-search-panel .timeline-button { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 999px; color: #0f172a; cursor: pointer; font-size: 0.875rem; font-weight: 600; line-height: 1.2; min-height: 40px; padding: 8px 14px; text-decoration: none; }
.community-core-search-panel .search-tabs__tab:hover,
.community-core-search-panel .timeline-button:hover,
.community-core-search-panel .search-tabs__tab:focus-visible,
.community-core-search-panel .timeline-button:focus-visible { border-color: #2563eb; color: #1d4ed8; outline: none; }
.community-core-search-panel .search-tabs__tab--active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.community-core-search-summary { color: #475569; font-size: 0.875rem; line-height: 1.6; margin: 0 0 16px; }
.community-core-empty-state { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 16px; margin-bottom: 16px; padding: 16px; }
.community-core-empty-state__title { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.community-core-empty-state__description { color: #475569; font-size: 0.9rem; line-height: 1.7; margin: 0; }

.community-core-search-result {
  margin: 0 0 16px;
  border: 1px solid var(--community-core-search-result-border, #d9dde5);
  border-radius: 16px;
  background: var(--community-core-search-result-bg, #fff);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.community-core-search-result__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.community-core-search-result__body {
  padding: 16px;
}

.community-core-search-result__eyebrow {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.community-core-search-result__title {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.4;
}

.community-core-search-result__excerpt {
  margin: 10px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

.community-core-search-result__meta {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.community-core-search-result__profile-button.profile-button {
  width: 100%;
  min-height: 0;
}

.community-core-search-result__profile-button .profile-button__contents {
  flex: 1;
}

.community-core-search-result--user .community-core-search-result__body {
  padding: 12px 16px 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .community-core-search-result,
  .community-core-search-result__link {
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }

  .community-core-search-result:hover,
  .community-core-search-result:focus-within {
    border-color: #94a3b8;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
  }
}
