/* Desktop edition only. Existing mobile breakpoints and logo dimensions are retained. */
.directory-research-page .taxonomy-chart { display:none; }
@media (min-width: 1025px) {
  body.research-edition { --black:#111; --gray-900:#111; --green:#333; --green-dark:#222; --green-light:#f4f4f4; color:var(--gray-900); }
  [data-theme="dark"] body.research-edition { --black:#eee; --gray-900:#eee; --green:#ddd; --green-dark:#eee; --green-light:#222; }
  .research-edition .nav-link { color:var(--black); }
  html:not([data-theme="dark"]) .research-edition .nav-link { color:#000; }
  .research-edition .section-title, .research-edition .about-section-title { font-weight:600; letter-spacing:-.02em; }
  .research-edition .research-source { font-size:13px; color:var(--gray-500); line-height:1.8; margin:10px 0 0; }
  .research-edition .research-source a { text-decoration:underline; text-underline-offset:4px; color:inherit; }
  .research-edition .research-note { font-size:14px; line-height:1.85; color:var(--gray-500); }
  .research-edition .research-source-list { margin:18px 0; padding:0; list-style:none; }
  .research-edition .research-source-list li { padding:10px 0; border-bottom:1px solid var(--gray-200); font-size:14px; line-height:1.8; }
  .research-edition .research-source-list a { text-decoration:underline; text-underline-offset:4px; }

  /* Directory: keep existing fields, filter groups and card layout. */
  .directory-research-page.research-edition .page-header-title { font-size:38px; }
  .directory-research-page.research-edition .page-header-sub { font-size:16px; max-width:850px; }
  .directory-research-page.research-edition .filter-bar { border-radius:10px; border-color:var(--gray-200); padding:24px 28px; }
  .directory-research-page.research-edition .filter-btn { background:var(--white); }
  .directory-research-page.research-edition .filter-btn.active { background:var(--black); color:var(--white); }
  .directory-research-page.research-edition .firm-card { padding:26px; border-radius:10px; }
  .directory-research-page.research-edition .firm-card:hover { transform:none; box-shadow:none; }
  .directory-research-page.research-edition .firm-card-row1 { flex-wrap:wrap; align-items:center; }
  .directory-research-page.research-edition .firm-card-row1 > .tax-badges { flex-basis:100%; margin-top:8px; }
  .directory-research-page.research-edition .firm-card-line, .directory-research-page.research-edition .tax-scope { font-size:14px; }
  .directory-research-page.research-edition .analytics-grid { align-items:stretch; }
  .directory-research-page.research-edition .analytics-card { align-self:stretch; border-radius:10px; padding:28px; box-shadow:none; }
  .directory-research-page.research-edition .analytics-card.analytics-card-counts { min-height:334px; align-self:stretch; background:var(--white); }
  .directory-research-page.research-edition .taxonomy-chart { display:block; }
  .directory-research-page.research-edition .analytics-card-counts .tax-counts { display:none; }
  .directory-research-page.research-edition .taxonomy-chart .chart-legend-item button { border:0; background:none; padding:0; color:inherit; font:inherit; text-align:left; cursor:pointer; }
  .directory-research-page.research-edition .taxonomy-chart .chart-legend-item strong { font-weight:500; font-variant-numeric:tabular-nums; }
  .directory-research-page.research-edition .analytics-card-title { font-size:17px; color:var(--black); }
  .directory-research-page.research-edition :is(.analytics-card-entity,.analytics-card-funding-disclosure) .chart-legend-item:nth-child(1) i { background:#527aa3 !important; }
  .directory-research-page.research-edition :is(.analytics-card-entity,.analytics-card-funding-disclosure) .chart-legend-item:nth-child(2) i { background:#8c78ad !important; }
  .directory-research-page.research-edition :is(.analytics-card-entity,.analytics-card-funding-disclosure) .chart-legend-item:nth-child(3) i { background:#c7cdd4 !important; }
  [data-theme="dark"] .directory-research-page.research-edition :is(.analytics-card-entity,.analytics-card-funding-disclosure) .chart-legend-item:nth-child(1) i { background:#83aad1 !important; }
  [data-theme="dark"] .directory-research-page.research-edition :is(.analytics-card-entity,.analytics-card-funding-disclosure) .chart-legend-item:nth-child(2) i { background:#b5a0d0 !important; }
  [data-theme="dark"] .directory-research-page.research-edition :is(.analytics-card-entity,.analytics-card-funding-disclosure) .chart-legend-item:nth-child(3) i { background:#646d79 !important; }
  .research-edition .compare-modal-content { width:min(1160px,94vw); max-width:1160px; padding:32px; border-radius:12px; }
  .research-edition .compare-title { font-size:28px; font-weight:600; }
  .research-edition .compare-intro { max-width:880px; margin:12px 0 24px; font-size:14px; line-height:1.85; color:var(--gray-500); }
  .research-edition .compare-table-wrap { max-height:65vh; overflow:auto; border:1px solid var(--gray-200); border-radius:8px; }
  .research-edition .compare-table { border-collapse:separate; border-spacing:0; width:100%; table-layout:fixed; min-width:850px; }
  .research-edition .compare-table th, .research-edition .compare-table td { padding:18px 20px; font-size:14px; line-height:1.85; text-align:left; vertical-align:top; background:var(--white); overflow-wrap:anywhere; }
  .research-edition .compare-table thead th { position:sticky; top:0; z-index:3; background:var(--gray-50); }
  .research-edition .compare-table th:first-child { width:155px; position:sticky; left:0; z-index:2; background:var(--gray-50); }
  .research-edition .compare-table thead th:first-child { z-index:4; }
  .research-edition .compare-table .compare-field-label { font-weight:500; color:var(--gray-600); }
  .research-edition .compare-table .compare-group th { position:static; background:var(--gray-100); padding:12px 20px; color:var(--black); font-size:13px; letter-spacing:.02em; }
  .research-edition .compare-rationale { margin-top:8px; color:var(--gray-500); font-size:13px; }

  /* Profiles: retain the hero logo and upper-right website action. */
  .firm-detail.research-edition .firm-hero { max-width:1152px; padding-bottom:36px; }
  .firm-detail.research-edition .firm-breadcrumb { max-width:1152px; }
  .firm-detail.research-edition .firm-hero-summary { max-width:850px; font-size:17px; line-height:1.85; }
  .firm-detail.research-edition .firm-hero-actions .modal-website-btn { border-radius:8px; border:1px solid var(--black); background:var(--black); color:var(--white); padding:11px 20px; box-shadow:none; font-weight:500; }
  .firm-detail.research-edition .firm-reading-layout { display:grid; grid-template-columns:180px minmax(0,1fr); gap:48px; max-width:1152px; margin:0 auto; padding:0 24px; align-items:start; }
  .firm-detail.research-edition .firm-section-nav { position:sticky; top:104px; display:flex; flex-direction:column; align-items:flex-start; flex-wrap:nowrap; margin:0; padding:12px 0; gap:8px; border:0; }
  .firm-detail.research-edition .firm-section-nav a { padding:6px 0; font-size:14px; text-decoration:none; }
  .firm-detail.research-edition .firm-section-nav a:hover { text-decoration:underline; text-underline-offset:5px; }
  .firm-detail.research-edition .firm-reading-content { min-width:0; }
  .firm-detail.research-edition .firm-section { padding:0; margin:0 0 48px; max-width:none; }
  .firm-detail.research-edition .firm-section-title { font-size:24px; font-weight:600; line-height:1.5; margin:0 0 20px; }
  .firm-detail.research-edition .firm-section-text { font-size:16px; line-height:1.9; max-width:760px; }
  .firm-detail.research-edition .firm-section-compact .firm-section-title { font-size:19px; color:var(--black); }
  .firm-detail.research-edition #firm-pricing .firm-section-title { font-size:24px; color:var(--black); }
  .firm-detail.research-edition .firm-facts-grid { max-width:760px; border:0; border-top:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200); background:transparent; border-radius:0; padding:4px 0; }
  .firm-detail.research-edition .firm-facts-grid .firm-fact { margin:0; padding:16px 0; }
  .firm-detail.research-edition .firm-facts-grid > .firm-fact-team { grid-column:1 / -1; width:100%; min-width:0; max-width:none; margin:0; padding:16px 0; white-space:normal; word-break:normal; overflow-wrap:break-word; }
  .firm-detail.research-edition .profile-delivery-results { max-width:760px; margin-top:28px; }
  .firm-detail.research-edition .profile-delivery-results > h3 { font-size:19px; font-weight:600; line-height:1.6; margin:0 0 18px; }
  .firm-detail.research-edition .profile-delivery-group + .profile-delivery-group { margin-top:26px; }
  .firm-detail.research-edition .profile-delivery-group > h4 { font-size:14px; font-weight:500; line-height:1.8; color:var(--gray-500); margin:0 0 10px; }
  .firm-detail.research-edition .profile-delivery-list { list-style:none; margin:0; padding:0; }
  .firm-detail.research-edition .profile-delivery-list > li + li { margin-top:20px; }
  .firm-detail.research-edition .profile-delivery-list .firm-section-text { margin:0; }
  .firm-detail.research-edition .profile-delivery-byline { font-size:13px; line-height:1.8; color:var(--gray-500); margin:6px 0 0; }
  .firm-detail.research-edition .profile-scope { padding:16px 20px; background:var(--gray-50); margin-bottom:22px; font-size:15px; line-height:1.8; border-left:2px solid var(--gray-300); }
  .firm-detail.research-edition .profile-evidence-item { margin:24px 0; padding:0 0 24px; border-bottom:1px solid var(--gray-200); }
  .firm-detail.research-edition .profile-evidence-item:last-child { border:0; padding-bottom:0; }
  .firm-detail.research-edition .profile-evidence-item h3 { font-size:17px; font-weight:600; margin-bottom:8px; }
  .firm-detail.research-edition .profile-archive-claim { font-size:14px; line-height:1.85; color:var(--gray-500); margin-top:18px; padding:16px 18px; background:var(--gray-50); }
  .firm-detail.research-edition .firm-prevnext, .firm-detail.research-edition .firm-meta-footer { max-width:1152px; }
  .firm-detail.research-edition .firm-updates-list { max-width:760px; }
  .firm-detail.research-edition .firm-related-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }

  /* Explanatory pages: a shared reading rhythm, with an open six-question matrix. */
  .research-edition .mechanism-questions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:56px; margin-top:34px; }
  .research-edition .mechanism-question { display:grid; grid-template-columns:32px minmax(0,1fr); gap:14px; padding:25px 0; border-top:1px solid var(--gray-200); }
  .research-edition .mechanism-question .question-num { color:var(--gray-400); font-size:14px; font-variant-numeric:tabular-nums; padding-top:3px; }
  .research-edition .mechanism-question h3 { font-size:19px; font-weight:600; margin:0 0 10px; }
  .research-edition .mechanism-question p { color:var(--gray-600); font-size:16px; line-height:1.85; }
  body.about-research-page.research-edition .about-workflow-grid.service-loop { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; margin:30px 0 18px; padding:28px 0; border-top:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200); }
  .research-edition .service-loop .about-workflow-step { position:relative; min-width:0; }
  .research-edition .service-loop .about-workflow-step:not(:last-child)::after { content:'→'; position:absolute; right:-19px; top:29px; color:var(--gray-400); }
  .research-edition .service-loop .about-workflow-step h3 { display:block; font-size:16px; font-weight:600; margin-bottom:10px; }
  .research-edition .service-loop .about-workflow-step p { font-size:14px; line-height:1.8; color:var(--gray-500); }
  .research-edition .mechanism-return { text-align:right; font-size:13px; color:var(--gray-500); margin-bottom:24px; }
  .research-edition .research-comparison-table { width:100%; border-collapse:collapse; font-size:15px; line-height:1.85; margin:24px 0; }
  .research-edition .research-comparison-table th, .research-edition .research-comparison-table td { padding:18px 20px; vertical-align:top; text-align:left; border-bottom:1px solid var(--gray-200); }
  .research-edition .research-comparison-table thead th { background:var(--gray-50); font-size:13px; font-weight:500; color:var(--gray-600); }
  .research-edition .research-comparison-table tbody th { width:20%; font-weight:600; }
  .research-edition .about-section { padding-top:64px; padding-bottom:64px; }
  .research-edition .about-section-text { font-size:16px; line-height:1.85; max-width:760px; }
  .research-edition .about-cta { background:var(--white); color:var(--black); border-top:1px solid var(--gray-200); }
  .research-edition .about-cta-title { color:var(--black); }
  .research-edition .about-cta-text { color:var(--gray-500); }
  .research-edition .about-cta-btn { background:var(--black); color:var(--white); border-radius:8px; }
  .about-research-page.research-edition .about-trends { margin:28px 0 0; padding:22px 0; }
  .about-research-page.research-edition .about-definition { border-left-color:var(--gray-300); }
  .about-research-page.research-edition .about-struct-panel { background:transparent; border:0; padding:24px 0; border-top:1px solid var(--gray-200); border-radius:0; }
  .about-research-page.research-edition .about-method-details, .about-research-page.research-edition .about-boundary-details { margin-top:24px; }
  .about-research-page.research-edition .about-section-title .section-icon { color:var(--black); }
  .inhouse-research-page.research-edition .about-hero { padding:136px 24px 0; max-width:1048px; margin:0 auto; text-align:left; }
  .inhouse-research-page.research-edition .about-hero-badge { font-size:13px; color:var(--gray-500); margin-bottom:16px; }
  .inhouse-research-page.research-edition .about-hero-title { font-size:40px; font-weight:600; line-height:1.4; letter-spacing:-.03em; max-width:960px; }
  .inhouse-research-page.research-edition .about-hero-subtitle { max-width:760px; font-size:17px; line-height:1.9; color:var(--gray-600); margin:20px 0 0; }
  .inhouse-research-page.research-edition .about-container { max-width:1000px; }
  .inhouse-research-page.research-edition .about-features { grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; }
  .inhouse-research-page.research-edition .about-feature-title { font-size:18px; font-weight:600; }
  .inhouse-research-page.research-edition .about-feature-desc, .inhouse-research-page.research-edition .map-text { font-size:16px; line-height:1.85; }
  .inhouse-research-page.research-edition .map-cell.highlight { border:0; border-radius:0; background:transparent; padding:0; }
  .inhouse-research-page.research-edition .map-label { font-size:14px; color:var(--gray-600); }
  .inhouse-research-page.research-edition .map-row { gap:30px; padding:25px 0; }
  .inhouse-research-page.research-edition .map-header { gap:30px; }
  .inhouse-research-page.research-edition #inhouse-scenario { background:var(--gray-50); }
  .inhouse-research-page.research-edition .research-comparison-table thead th { background:var(--white); }
}
