.journal-profile-body {
  background: #f6f8fb;
}

.journal-profile-body .profile-topbar {
  position: sticky;
  top: 10px;
  z-index: 30;
  width: min(1180px, calc(100% - 36px));
  min-height: 66px;
  margin: 12px auto 0;
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0 18px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.journal-profile-body .journal-page {
  width: min(1180px, calc(100% - 36px));
  padding-top: 18px;
}

.journal-profile-body .journal-identity {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid #27384d;
  border-radius: 8px;
  background: #172033;
  padding: 36px;
  color: #fff;
}

.journal-profile-body .journal-identity::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #0f766e 0 42%, #2457a6 42% 76%, #9f2548 76%);
}

.journal-profile-body .journal-identity h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
}

.journal-profile-body .journal-identity-line {
  color: #c8d3df;
}

.journal-profile-body .profile-badges {
  margin-bottom: 16px;
}

.journal-profile-body .level-badge {
  border-radius: 5px;
}

.journal-profile-body .level-badge.level-core {
  border-color: rgba(125, 211, 199, 0.5);
  background: rgba(15, 118, 110, 0.28);
  color: #9de2d8;
}

.journal-profile-body .level-badge.level-index {
  border-color: rgba(139, 183, 255, 0.5);
  background: rgba(36, 87, 166, 0.32);
  color: #b7d2ff;
}

.journal-profile-body .level-badge.level-record {
  border-color: rgba(211, 218, 229, 0.45);
  background: rgba(255, 255, 255, 0.09);
  color: #e3e8ef;
}

.journal-profile-body .official-site-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 0 14px;
  color: #fff;
}

.journal-profile-body .profile-kpi-strip {
  margin-top: 12px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.05);
}

.profile-context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 12px;
  margin-top: 12px;
}

.profile-analysis-panel,
.profile-evidence-panel {
  border: 1px solid var(--profile-line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.profile-analysis-panel {
  border-left: 4px solid var(--profile-teal);
}

.profile-panel-kicker {
  margin: 0 0 6px;
  color: var(--profile-teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-analysis-panel h2,
.profile-evidence-panel h2 {
  margin: 0;
  font-size: 19px;
}

.profile-analysis-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.profile-analysis-list li {
  position: relative;
  padding-left: 18px;
  color: #344054;
  font-size: 14px;
  line-height: 1.6;
}

.profile-analysis-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--profile-teal);
}

.analysis-basis {
  margin: 16px 0 0;
  border-top: 1px solid var(--profile-line);
  padding-top: 12px;
  color: var(--profile-muted);
  font-size: 11px;
  line-height: 1.5;
}

.evidence-status-list {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}

.evidence-status-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-top: 1px solid var(--profile-line);
  padding: 11px 0;
}

.evidence-status-list dt {
  color: var(--profile-muted);
  font-size: 12px;
}

.evidence-status-list dd {
  margin: 0;
  color: var(--profile-ink);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.journal-profile-body .profile-section-nav {
  top: 88px;
  margin-top: 12px;
  border: 1px solid var(--profile-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 14px;
}

.journal-profile-body .profile-section {
  margin-top: 12px;
  border: 1px solid var(--profile-line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: none;
}

.journal-profile-body .profile-section-nav + .profile-section {
  margin-top: 12px;
}

.journal-profile-body .journal-facts {
  border-top: 0;
}

.profile-method-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid #c6d8ea;
  border-left: 4px solid var(--profile-blue);
  border-radius: 8px;
  background: #f6f9fd;
  padding: 22px 24px;
}

.profile-method-note h2 {
  margin: 0;
  font-size: 17px;
}

.profile-method-note p {
  margin: 7px 0 0;
  color: var(--profile-muted);
  font-size: 13px;
  line-height: 1.6;
}

.profile-method-note a {
  color: var(--profile-blue);
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .profile-context-grid {
    grid-template-columns: 1fr;
  }

  .journal-profile-body .journal-identity {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .journal-profile-body .profile-topbar {
    position: static;
    width: min(100% - 20px, 1180px);
  }

  .journal-profile-body .journal-page {
    width: min(100% - 20px, 1180px);
  }

  .journal-profile-body .journal-identity {
    min-height: auto;
    padding: 28px 22px;
  }

  .journal-profile-body .journal-identity h1 {
    font-size: 32px;
  }

  .journal-profile-body .profile-section-nav {
    position: static;
  }

  .journal-profile-body .profile-section,
  .profile-analysis-panel,
  .profile-evidence-panel {
    padding: 20px;
  }

  .profile-method-note {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}


/* Visual QA corrections: override the earlier shared profile treatment. */
body.journal-profile-body .journal-identity {
  border-color: #27384d;
  background: #172033;
  color: #fff;
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.16);
}

body.journal-profile-body .journal-identity h1 {
  color: #fff;
}

body.journal-profile-body .journal-identity-line {
  color: #c8d3df;
}

@media (max-width: 760px) {
  body.journal-profile-body .profile-section-nav {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  body.journal-profile-body .profile-section-nav a {
    flex: 0 0 auto;
  }

  body.journal-profile-body .profile-kpi:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}


/* Annual indicator provenance is part of the content hierarchy, not metadata fine print. */
.profile-data-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 16px;
  border-radius: 6px;
  background: #172033;
  padding: 11px 14px;
  color: #d8e2ee;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.profile-data-status strong {
  color: #7dd3c7;
  font-weight: 800;
}

.profile-data-status-separator {
  color: #8492a6;
}

@media (max-width: 520px) {
  .profile-data-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-data-status-separator {
    display: none;
  }
}
