/* SuccessLCD article reading system — 2026-10-10.
 * Load after the release/theme CSS. Post-only scope includes all language routes.
 * No stored copy, IDs, URLs, metadata or schema are changed.
 */
/* English title presentation only; case-sensitive tokens are protected in JS. */
html:lang(en) body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(h1, h2, h3, h4, h5, h6, summary),
html:lang(en) body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is([role="heading"], .successlcd-article-title, .sil-visual-title, .sil-toc-title, .sil-ws-step-title),
html:lang(en) body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .successlcd-procurement-guide > p:first-child > strong:only-child,
html:lang(en) body:is(.single-post, .sl-editorial-page) main .entry-title,
html:lang(en) body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.slac-toc, .sl-article-toc) a,
html:lang(en) body:is(.single-post, .sl-editorial-page, .sl-knowledge-library) #site-footer :is(h1, h2, h3, h4, h5, h6) {
  text-transform: capitalize !important;
}
html:lang(en) body:is(.single-post, .sl-editorial-page, .sl-knowledge-library) :is(.sl-preserved-content, .entry-content, .slkh[data-resource-library], #site-footer) :is(.sl-case-sensitive, code, abbr),
html:lang(en) body:is(.single-post, .sl-editorial-page) main .entry-title :is(.sl-case-sensitive, code, abbr) {
  text-transform: none !important;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) {
  --sl-article-ink: #193449;
  --sl-article-muted: #486276;
  --sl-article-link: #00649c;
  --sl-article-line: #c8d6e0;
  --sl-article-soft: #f2f7fa;
  --sl-article-navy: #10314b;
  --sl-article-on-dark: #fff;
  --sl-article-dark-link: #b9e3ff;
  --sl-article-measure: 72ch;
  color: var(--sl-article-ink);
  font-size: 1.0625rem;
  line-height: 1.72;
  overflow-wrap: break-word;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content .sl-preserved-copy, .entry-content) {
  font-size: inherit;
  line-height: inherit;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content .sl-preserved-copy, .entry-content) :is(p, li, dd) {
  font-size: inherit;
  line-height: inherit;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--sl-article-ink) !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
  scroll-margin-top: 8rem;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) h1 {
  max-width: 30ch;
  font-size: clamp(2rem, 3.1vw, 2.875rem) !important;
  margin-block: 0 1.5rem !important;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) h2 {
  max-width: 44ch;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem) !important;
  margin-block: 2.5rem 1rem !important;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) h3 {
  font-size: 1.25rem !important;
  margin-block: 1.75rem .75rem !important;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(p, ul, ol, dl) {
  max-width: var(--sl-article-measure);
  margin-block: 0 1.25rem;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(ul, ol) {
  padding-inline-start: 1.4em;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) li { margin-block: .5rem; }
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) a {
  color: var(--sl-article-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) a:hover {
  color: #00446b;
  text-decoration-thickness: 2px;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--sl-article-link);
  outline-offset: 4px;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) ::selection {
  color: #10314b;
  background: #b9e3ff;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(figcaption, .sl-content-meta, .article-date) {
  color: var(--sl-article-muted);
  line-height: 1.6;
}
/* Existing photo hero is an independently audited dark article surface. */
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sil-mipi-hero, .sl-article-dark) {
  --sl-article-ink: #fff;
  --sl-read-ink: #fff;
  --sl-article-link: #b9e3ff;
  color: #fff;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sil-mipi-hero, .sl-article-dark) :is(h1, h2, h3, p) { color: #fff !important; }
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sil-mipi-hero .sil-mipi-btn {
  color: #10314b !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* An explicit list of audited CTA families; anchors named “cta” are not panels. */
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content)
  :is(.sil-qual__download, .lcd-sourcing-guide .cta, .sil-array .cta, .sil-solutions-cta, .sil-resources-cta, .sil-qual__cta,
      .sil-medical__cta, .sil-ws-cta, .sil-esd-cta, .sil-cta, .sil-dim__cta,
      .lcd-fpc-guide .cta, .sil-b02__cta, .sil-b01__cta, .sl-retention-cta,
      .sl-cta, .sil-post-rfq-cta, .sil-hmi-cta, .engineering-cta,
      .sil-five-mask__cta, .sil-eolr__cta, .final-cta, .sil-mipi-cta,
      .sil-ob__cta, .sil-risk-cta, .sl-article-cta):not(a):not(button) {
  --sl-read-ink: #fff;
  --sl-read-blue: #b9e3ff;
  --sl-article-ink: #fff;
  --sl-article-link: #b9e3ff;
  color: var(--sl-article-on-dark) !important;
  background: var(--sl-article-navy) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: clamp(1.25rem, 3vw, 2rem) !important;
  margin-block: 2.5rem 0 !important;
  break-inside: avoid;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content)
  :is(.sil-qual__download, .lcd-sourcing-guide .cta, .sil-array .cta, .sil-solutions-cta, .sil-resources-cta, .sil-qual__cta,
      .sil-medical__cta, .sil-ws-cta, .sil-esd-cta, .sil-cta, .sil-dim__cta,
      .lcd-fpc-guide .cta, .sil-b02__cta, .sil-b01__cta, .sl-retention-cta,
      .sl-cta, .sil-post-rfq-cta, .sil-hmi-cta, .engineering-cta,
      .sil-five-mask__cta, .sil-eolr__cta, .final-cta, .sil-mipi-cta,
      .sil-ob__cta, .sil-risk-cta, .sl-article-cta):not(a):not(button)
  :is(h1, h2, h3, h4, h5, h6, p, li, strong, em, span) {
  color: var(--sl-article-on-dark) !important;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content)
  :is(.sil-qual__download, .lcd-sourcing-guide .cta, .sil-array .cta, .sil-solutions-cta, .sil-resources-cta, .sil-qual__cta,
      .sil-medical__cta, .sil-ws-cta, .sil-esd-cta, .sil-cta, .sil-dim__cta,
      .lcd-fpc-guide .cta, .sil-b02__cta, .sil-b01__cta, .sl-retention-cta,
      .sl-cta, .sil-post-rfq-cta, .sil-hmi-cta, .engineering-cta,
      .sil-five-mask__cta, .sil-eolr__cta, .final-cta, .sil-mipi-cta,
      .sil-ob__cta, .sil-risk-cta, .sl-article-cta):not(a):not(button)
  :is(h2, h3) { margin-block: 0 1rem !important; }
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content)
  :is(.sil-qual__download, .lcd-sourcing-guide .cta, .sil-array .cta, .sil-solutions-cta, .sil-resources-cta, .sil-qual__cta,
      .sil-medical__cta, .sil-ws-cta, .sil-esd-cta, .sil-cta, .sil-dim__cta,
      .lcd-fpc-guide .cta, .sil-b02__cta, .sil-b01__cta, .sl-retention-cta,
      .sl-cta, .sil-post-rfq-cta, .sil-hmi-cta, .engineering-cta,
      .sil-five-mask__cta, .sil-eolr__cta, .final-cta, .sil-mipi-cta,
      .sil-ob__cta, .sil-risk-cta, .sl-article-cta):not(a):not(button) a {
  color: var(--sl-article-dark-link) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  text-decoration: underline !important;
  text-underline-offset: .22em;
}
/* Normalize actual action links, including legacy anchors with no button class.
 * Mail and body links keep underlines and a light foreground. */
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content)
  :is(.sil-qual__download, .lcd-sourcing-guide .cta, .sil-array .cta, .sil-solutions-cta, .sil-resources-cta, .sil-qual__cta,
      .sil-medical__cta, .sil-ws-cta, .sil-esd-cta, .sil-cta, .sil-dim__cta,
      .lcd-fpc-guide .cta, .sil-b02__cta, .sil-b01__cta, .sl-retention-cta,
      .sl-cta, .sil-post-rfq-cta, .sil-hmi-cta, .engineering-cta,
      .sil-five-mask__cta, .sil-eolr__cta, .final-cta, .sil-mipi-cta,
      .sil-ob__cta, .sil-risk-cta, .sl-article-cta):not(a):not(button)
  :is(a[class*="button"], a[class*="btn"], a[data-sil-cta], a[data-cta-location],
      .sl-retention-cta > a, .sil-post-rfq-cta > a, .final-cta > a, .sil-cta > a, .cta > a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  max-width: 100%;
  padding: .75rem 1.125rem;
  color: #10314b !important;
  background: #fff !important;
  border: 1px solid #fff !important;
  border-radius: 0;
  font-size: 1rem !important;
  font-weight: 650 !important;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content)
  :is(.sil-qual__download, .lcd-sourcing-guide .cta, .sil-array .cta, .sil-solutions-cta, .sil-resources-cta, .sil-qual__cta,
      .sil-medical__cta, .sil-ws-cta, .sil-esd-cta, .sil-cta, .sil-dim__cta,
      .lcd-fpc-guide .cta, .sil-b02__cta, .sil-b01__cta, .sl-retention-cta,
      .sl-cta, .sil-post-rfq-cta, .sil-hmi-cta, .engineering-cta,
      .sil-five-mask__cta, .sil-eolr__cta, .final-cta, .sil-mipi-cta,
      .sil-ob__cta, .sil-risk-cta, .sl-article-cta):not(a):not(button)
  :is(a, button):focus-visible { outline-color: #b9e3ff; }

/* Tables retain native table semantics and scroll only within their own region. */
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: #486276 #e7eff5;
  margin-block: 1.25rem 1.75rem;
  border: 1px solid var(--sl-article-line);
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) table {
  display: table !important;
  width: 100% !important;
  min-width: 35rem !important;
  margin: 0 !important;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) :is(th, td) {
  display: table-cell !important;
  color: #193449 !important;
  background: #fff;
  font-size: .9375rem !important;
  line-height: 1.6 !important;
  padding: .875rem 1rem !important;
  vertical-align: top;
  text-align: start;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) tr { display: table-row !important; }
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) tbody { display: table-row-group !important; }
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) thead {
  display: table-header-group !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  overflow: visible !important;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) td::before { display: none !important; }
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) th {
  background: #eef4f8 !important;
  font-weight: 650;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-table-hint {
  color: #486276;
  font-size: .875rem;
  margin-block: -.875rem 1.5rem;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-table-hint[hidden] { display: none; }

/* The optional replacement TOC uses native details; all article text stays open. */
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-toc {
  color: #193449;
  background: #f2f7fa;
  border-block: 1px solid #c8d6e0;
  padding: .5rem 1.25rem;
  margin-block: 1.75rem 2.25rem;
  max-width: 72ch;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-toc summary {
  min-height: 2.75rem;
  padding-block: .625rem;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-toc ol {
  columns: 2;
  column-gap: 2rem;
  margin-block: .5rem .875rem;
  padding: 0;
  list-style: none;
}
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-toc li { margin: 0; break-inside: avoid; }
body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-toc a {
  display: block;
  padding-block: .625rem;
  line-height: 1.5;
  font-size: .9375rem;
}
@media (max-width: 760px) {
  body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) { font-size: 1rem; line-height: 1.75; }
  body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) h2 { margin-block-start: 2rem !important; }
  body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-toc ol { columns: 1; }
  body:is(.single-post, .sl-editorial-page) .sl-preserved-content .sl-content-neighbours { grid-template-columns: 1fr; }
}
@media print {
  body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) { --sl-article-ink: #000; --sl-article-link: #000; }
  body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) .sl-article-table { overflow: visible; }
  body:is(.single-post, .sl-editorial-page) :is(.sl-preserved-content, .entry-content) :is(.sl-article-table, .sl-content-table) table { min-width: 0 !important; }
}
