/* page-organization-detail.css — Organization detail as its own page.
 *
 * The detail body (Details grid, Contacts, Deals, Activities, Notes, danger
 * zone) reuses the shared .org-* classes defined in page-organizations.css —
 * those styles are global, so the page inherits the exact look the drawer
 * had. This file only styles the page shell: the back link and page-header
 * title. Mirrors page-deal-detail.css. All new rules are scoped under
 * .organization-detail-page / .dd-*. */

.organization-detail-page {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 4px 4px 32px;
}

.organization-detail-page .dd-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 0.85rem;
}
.organization-detail-page .dd-back:hover { color: var(--color-primary, #4f46e5); }

.organization-detail-page .dd-header { margin-bottom: 0.9rem; }

.organization-detail-page .dd-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
}

.organization-detail-page .dd-notfound {
  text-align: center;
  padding: 3rem 1rem;
}
.organization-detail-page .dd-notfound .dd-title { justify-content: center; }
.organization-detail-page .dd-notfound-msg {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin: 0.6rem 0 1.4rem;
}

@media (max-width: 640px) {
  .organization-detail-page { padding-left: 2px; padding-right: 2px; }
  .organization-detail-page .dd-title { font-size: 1.35rem; }
}
