/* ERI v10 - editorial reading layout. Load AFTER report-details-v8.css.
   No checkout, form, header, footer, or existing sidebar changes. */
body .report-body-modern .enr-editorial-briefing {
  --eri-editorial-ink: #1c324b;
  --eri-editorial-muted: #55687d;
  --eri-editorial-border: #dce5f1;
  display: block !important;
  max-width: 100% !important;
  margin: 0 0 28px !important;
  padding: clamp(18px, 2.4vw, 28px) !important;
  background: linear-gradient(140deg, #f7faff, #fff 48%, #fbfcff) !important;
  border: 1px solid var(--eri-editorial-border) !important;
  border-radius: 17px !important;
  box-shadow: 0 7px 24px rgba(40, 64, 97, .045) !important;
  color: var(--eri-editorial-ink) !important;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body .report-body-modern .enr-editorial-briefing__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin: 0 0 20px;
}
body .report-body-modern .enr-editorial-kicker {
  margin: 0 0 7px !important; font-weight: 750 !important;
  letter-spacing: .11em !important; font-size: 11px !important; color: #446b99 !important;
}
body .report-body-modern .enr-editorial-title {
  margin: 0 0 8px !important; padding: 0 !important;
  border: 0 !important; background: none !important; font-size: clamp(20px, 2.1vw, 26px) !important;
  font-weight: 750 !important; letter-spacing: -.035em !important; line-height: 1.2 !important;
  color: #1b334e !important;
}
body .report-body-modern .enr-editorial-subtitle {
  max-width: 60ch; margin: 0 !important; color: #607084 !important;
  font-size: 14px !important; line-height: 1.6 !important;
}
body .report-body-modern .enr-editorial-read-tag {
  white-space: nowrap; padding: 7px 11px; background: #eef2ff; color: #4d5d96;
  border: 1px solid #e1e5fa; border-radius: 30px;
  font-size: 11px; font-weight: 700;
}
body .report-body-modern .enr-editorial-findings {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 0 0 20px;
}
body .report-body-modern .enr-editorial-finding {
  min-width: 0; padding: 15px 16px !important;
  border: 1px solid #e5ebf4 !important; border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(18, 40, 70, .018);
}
body .report-body-modern .enr-editorial-finding__number {
  display: inline-block; color: #5879a5; font-weight: 800; font-size: 12px;
  letter-spacing: .07em; margin-bottom: 8px;
}
body .report-body-modern .enr-editorial-finding__text {
  margin: 0 !important; color: #23394e !important; font-size: 14px !important;
  line-height: 1.6 !important; font-weight: 450 !important; overflow-wrap: anywhere;
}
body .report-body-modern .enr-editorial-shortcuts {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 9px; margin: 0 !important; padding: 16px 0 0 !important;
  border-top: 1px solid #e5ebf3;
}
body .report-body-modern .enr-editorial-shortcuts__label {
  font-size: 12px; font-weight: 750; color: #60738b; margin-right: 4px;
}
body .report-body-modern .enr-editorial-shortcut {
  display: inline-flex; min-height: 34px; align-items: center;
  color: #295a8c !important; font-size: 12px !important; font-weight: 700 !important;
  text-decoration: none !important; border: 1px solid #d8e6f3;
  background: #f6faff !important; border-radius: 8px; padding: 7px 11px !important;
}
body .report-body-modern .enr-editorial-shortcut:hover,
body .report-body-modern .enr-editorial-shortcut:focus-visible {
  color: #123f6b !important; border-color: #9dbddc; background: #eaf4ff !important;
}
body .report-body-modern .enr-editorial-regions {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid #e5ebf3;
}
body .report-body-modern .enr-editorial-regions__heading {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 6px 15px; margin: 0 0 12px;
}
body .report-body-modern .enr-editorial-regions__heading h3 {
  margin: 0 !important; color: #244563 !important; font-size: 17px !important;
  font-weight: 750 !important; line-height: 1.35 !important;
}
body .report-body-modern .enr-editorial-regions__heading p {
  margin: 0 !important; font-size: 12px !important;
  color: #66798c !important; line-height: 1.5 !important;
}
body .report-body-modern .enr-editorial-regions__scroll { overflow-x: auto; width: 100%; }
body .report-body-modern .enr-editorial-regions__table {
  border-collapse: separate !important; border-spacing: 0 !important;
  border: 1px solid #e0e7f0 !important; background: #fff !important;
  width: 100% !important; margin: 0 !important; font-size: 12px;
  border-radius: 10px; overflow: hidden;
}
body .report-body-modern .enr-editorial-regions__table :is(th,td) {
  background: #fff !important; border: 0 !important; border-bottom: 1px solid #e9eef5 !important;
  padding: 12px !important; color: #30455c !important; font-size: 12px !important;
  line-height: 1.6 !important; vertical-align: top !important;
}
body .report-body-modern .enr-editorial-regions__table thead th {
  background: #eef4fa !important; color: #365372 !important;
  font-size: 11px !important; font-weight: 750 !important;
}
body .report-body-modern .enr-editorial-regions__table tbody tr:nth-child(even) :is(th,td) { background: #fbfcff !important; }
body .report-body-modern .enr-editorial-regions__table tbody tr:last-child :is(th,td) { border-bottom: 0 !important; }
body .report-body-modern .enr-editorial-regions__table tbody th {
  min-width: 115px; width: 20%; color: #244b74 !important; font-weight: 750 !important;
}
body .report-body-modern .enr-editorial-regions__table tbody td:last-child { width: 115px; white-space: nowrap; }
body .report-body-modern .enr-editorial-table-link { color: #1f65a1 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
body .report-body-modern .enr-editorial-evidence {
  margin: 15px 0 0 !important; padding-top: 12px;
  border-top: 1px solid #e5ebf3; color: #6e7b8a !important;
  font-size: 12px !important; line-height: 1.6 !important;
}
/* Make important source qualifications visibly different from ordinary paragraphs.
   These are not hidden and original text is preserved. */
body #overview-article p[data-enr-research-note="true"] {
  display: block; margin: 18px 0 !important; padding: 14px 17px !important;
  border-left: 3px solid #8ca7ca !important; border-radius: 0 8px 8px 0 !important;
  background: #f6f8fc !important; color: #3e5268 !important;
  font-size: 14px !important; line-height: 1.65 !important;
}
body #overview-article p[data-enr-research-note="true"]::before {
  display: block; content: 'Research context';
  text-transform: uppercase; font-weight: 800; letter-spacing: .08em;
  color: #54769e; font-size: 10px; margin-bottom: 6px;
}
body .report-body-modern #overview-article [data-enr-report-section="true"] :is(p,li) {
  max-width: 82ch;
}
body .report-body-modern #overview-article :is(h2,h3,h4) {
  scroll-margin-top: 135px;
}
@media (max-width: 767px) {
  body .report-body-modern .enr-editorial-briefing { padding: 18px !important; margin-bottom: 19px !important; }
  body .report-body-modern .enr-editorial-briefing__top { gap: 10px; }
  body .report-body-modern .enr-editorial-read-tag { display: none; }
  body .report-body-modern .enr-editorial-findings { grid-template-columns: minmax(0,1fr); }
  body .report-body-modern .enr-editorial-shortcut { font-size: 11px !important; }
  body .report-body-modern .enr-editorial-regions__table { min-width: 550px; }
}
@media (prefers-reduced-motion: reduce) {
  body .report-body-modern .enr-editorial-briefing * { scroll-behavior: auto !important; }
}
