/* Presentation only. Every rule is scoped to the approved article. */
body.postid-2156 {
  --a2156-text: #152f40;
  --a2156-heading: #0b1f33;
  --a2156-surface: #ffffff;
  --a2156-soft: #f1f9f6;
  --a2156-accent: #087765;
  --a2156-border: #c8e5dc;
}
html[data-finaf-theme="dark"] body.postid-2156 {
  --a2156-text: #e3eff2;
  --a2156-heading: #edf8fa;
  --a2156-surface: #102731;
  --a2156-soft: #142f3a;
  --a2156-accent: #79dfca;
  --a2156-border: #35535c;
}

/* Prevent intrinsic table width from widening the article grid. */
body.postid-2156 .affin-article-layout,
body.postid-2156 .affin-article-layout > *,
body.postid-2156 .affin-article-content,
body.postid-2156 .affin-article-aside,
body.postid-2156 .affin-article-summary,
body.postid-2156 .affin-editorial-note {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.postid-2156 .affin-article-layout {
  grid-template-columns: minmax(0, 760px) minmax(0, 290px);
}
body.postid-2156 .affin-article-content > div[style*="font-family"] {
  min-width: 0;
  max-width: 100% !important;
  box-sizing: border-box;
}
body.postid-2156 .affin-article-content :where(p, li, strong, b, em) {
  color: var(--a2156-text) !important;
}
body.postid-2156 .affin-article-content :where(h2, h3, h4) {
  color: var(--a2156-heading) !important;
  overflow-wrap: anywhere;
}
body.postid-2156 .affin-article-content div[style*="linear-gradient"] :where(p, strong, b, em, span) {
  color: #edf8fa !important;
}
body.postid-2156 .affin-article-content [style*="color: #087765" i] {
  color: var(--a2156-accent) !important;
}

/* Stored author colours remain intact; only their dark-mode rendering changes. */
html[data-finaf-theme="dark"] body.postid-2156 .affin-article-content div[style*="background-color: #ffffff" i] {
  background-color: var(--a2156-surface) !important;
  border-color: var(--a2156-border) !important;
}
html[data-finaf-theme="dark"] body.postid-2156 .affin-article-content div[style*="background-color: #f8fcfa" i],
html[data-finaf-theme="dark"] body.postid-2156 .affin-article-content div[style*="background-color: #f1f9f6" i] {
  background-color: var(--a2156-soft) !important;
  border-color: var(--a2156-border) !important;
}
html[data-finaf-theme="dark"] body.postid-2156 .affin-article-content span[style*="background-color: #e7f4f0" i] {
  background-color: #173d35 !important;
  color: #9ae8cd !important;
}
html[data-finaf-theme="dark"] body.postid-2156 .affin-article-content span[style*="background-color: #eaeff4" i] {
  background-color: #253d4c !important;
  color: #edf8fa !important;
}
html[data-finaf-theme="dark"] body.postid-2156 .affin-article-content span[style*="background-color: #fff4e5" i] {
  background-color: #432e1e !important;
  color: #ffd29a !important;
}
html[data-finaf-theme="dark"] body.postid-2156 .affin-article-content span[style*="background-color: #fde8e8" i] {
  background-color: #47272c !important;
  color: #ffc3c8 !important;
}
body.postid-2156 .affin-article-content div[style*="overflow-x: auto"] {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--a2156-accent) var(--a2156-surface);
}
body.postid-2156 .affin-article-content table :where(tr, th, td) {
  border-color: var(--a2156-border) !important;
}
@media (max-width: 900px) {
  body.postid-2156 .affin-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  body.postid-2156 .affin-article-content table {
    min-width: 380px;
  }
  body.postid-2156 .affin-article-content table:has(tr > :nth-child(3)) {
    min-width: 540px;
  }
  body.postid-2156 .affin-article-content table:has(tr > :nth-child(4)) {
    min-width: 620px;
  }
  body.postid-2156 .affin-article-content div[style*="background-color: #ffffff" i] {
    padding: 18px !important;
  }
}
