/* SFCHEM UI Core 0.7.0 — dark industrial shell, shared banner and typography contract. */

body.sf-ui {
  --sfv6-blue: #1565D8;
  --sfv6-blue-deep: #0E4DA4;
  --sfv6-cyan: #2BC8E6;
  --sfv6-amber: #F5A623;
  --sfv6-navy: #0A2540;
  --sfv6-ink: #081D33;
  --sfv6-bg: #F6F5F2;
  --sfv6-card: #FFFFFF;
  --sfv6-line: #DCE6F2;
  --sfv6-text: #16324B;
  --sfv6-text2: #5B7186;
  --sfv6-ok: #1FA971;
  --sfv6-danger: #E5484D;
  --sfv6-grad: linear-gradient(135deg, #1565D8, #2BC8E6);
  --sfv6-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --sfv6-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --sfv6-r-btn: 9px;
  --sfv6-r-input: 12px;
  --sfv6-r-card: 14px;
  --sfv6-shadow-1: 0 2px 8px rgba(16, 48, 86, .06);
  --sfv6-shadow-2: 0 8px 24px rgba(16, 48, 86, .1);
  --sfv6-shadow-3: 0 16px 44px rgba(16, 48, 86, .14);
  --sfv6-space-1: 4px;
  --sfv6-space-2: 8px;
  --sfv6-space-3: 12px;
  --sfv6-space-4: 16px;
  --sfv6-space-5: 24px;
  --sfv6-space-6: 32px;
  --sfv6-space-7: 48px;
  --sfv6-space-8: 64px;
  --sfv6-content-width: 1200px;
  --sfv6-reading-width: 72ch;
  --sfv6-header-offset: 96px;
  --sfv6-weight-body: 400;
  --sfv6-weight-ui: 500;
  --sfv6-weight-emphasis: 600;
  overflow-x: clip;
  background: var(--sfv6-bg);
  color: var(--sfv6-text);
  font-family: var(--sfv6-sans);
  font-size: 16px;
  font-weight: var(--sfv6-weight-body);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

html:has(body.sf-ui) {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body.sf-ui *,
body.sf-ui *::before,
body.sf-ui *::after {
  box-sizing: border-box;
}

body.sf-ui :is(.site-content, .content-area, .site-main, .inside-article, .entry-content) {
  min-width: 0;
}

body.sf-ui .container.grid-container,
body.sf-ui .site-content.grid-container {
  width: min(100% - clamp(40px, 6vw, 80px), var(--sfv6-content-width));
  max-width: var(--sfv6-content-width);
  margin-inline: auto;
}

body.sf-ui .inside-article {
  padding: 0 0 clamp(40px, 5vw, 72px);
  background: transparent;
}

body.sf-ui.sfchem-content-has-h1 :is(.entry-header, .page-header) {
  display: none;
}

body.sf-ui :where(h1, h2, h3, h4),
body.sf-ui .entry-content :where(h1, h2, h3, h4) {
  color: #102A43;
  font-family: var(--sfv6-sans);
  font-weight: var(--sfv6-weight-emphasis);
  letter-spacing: 0;
  text-wrap: balance;
}

body.sf-ui .entry-content :where(p, li, dd) {
  font-size: 16px;
  font-weight: var(--sfv6-weight-body);
  line-height: 1.75;
}

body.sf-ui .entry-content :where(strong, b) {
  font-weight: var(--sfv6-weight-emphasis);
}

body.sf-ui .entry-content h2 {
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.35;
}

body.sf-ui .entry-content h3 {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.45;
}

body.sf-ui :where(p, li, dd) {
  overflow-wrap: anywhere;
}

body.sf-ui :where(img, svg, video, iframe) {
  max-width: 100%;
}

body.sf-ui a {
  color: var(--sfv6-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.sf-ui a:hover {
  color: var(--sfv6-blue-deep);
}

body.sf-ui :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #1565D8;
}

body.sf-ui :where([id]) {
  scroll-margin-top: var(--sfv6-header-offset);
}


/* Header and GeneratePress navigation: one compact navy row on desktop. */
body.sf-ui .site-header,
body.sf-ui.sf-visual-system .site-header {
	position: relative;
	z-index: 120;
	border-bottom: 1px solid rgba(139, 184, 218, .24);
	background: #082843 !important;
	box-shadow: 0 6px 18px rgba(2, 20, 35, .18);
}

body.sf-ui .inside-header {
	width: min(100% - clamp(40px, 6vw, 80px), var(--sfv6-content-width));
	max-width: var(--sfv6-content-width);
	min-height: 76px;
	margin-inline: auto;
	padding: 11px 0;
}

body.sf-ui .site-logo,
body.sf-ui .sfchem-v6-logo-link {
  display: flex;
  align-items: center;
}

body.sf-ui .site-logo {
	position: relative;
	z-index: 140;
}

body.sf-ui .sfchem-v6-logo-link {
	position: relative;
	width: max-content;
	max-width: 100%;
	cursor: pointer;
}

body.sf-ui .sfchem-v6-brand-mark {
	position: absolute;
	top: 44px;
	/* Cube center after the r28 optical shift: (48 * 0.7917 - 3.5) / 421. */
	left: 8.1952%;
	width: max-content;
	transform: translateX(-50%);
	color: #D8E8F4;
	font-size: 9px;
	font-weight: var(--sfv6-weight-emphasis);
	line-height: 1;
	letter-spacing: .06em;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
}

body.sf-ui .sfchem-v6-brand-mark sup {
	position: absolute;
	top: 0;
	left: 100%;
	margin-left: 1px;
	font-size: 6px;
	line-height: 1;
}

body.sf-ui .sfchem-v6-logo {
	display: block;
	width: auto;
	height: 54px;
}

body.sf-ui .main-navigation {
	position: relative;
	z-index: 130;
	pointer-events: none;
	min-height: 76px;
	margin-top: -76px;
	border: 0;
	background: transparent;
}

body.sf-ui .main-navigation :is(a, button, .dropdown-menu-toggle, .sub-menu) {
	pointer-events: auto;
}

body.sf-ui .main-navigation .inside-navigation {
	width: min(100% - clamp(40px, 6vw, 80px), var(--sfv6-content-width));
	max-width: var(--sfv6-content-width);
	min-height: 76px;
	justify-content: flex-end;
	margin-inline: auto;
	padding-left: clamp(260px, 27vw, 360px);
}

body.sf-ui .main-navigation .main-nav > ul > li > a {
	min-height: 76px;
	padding-inline: clamp(11px, 1.15vw, 17px);
	background: transparent;
	color: #D8E8F4;
	font-size: 16px;
	font-weight: var(--sfv6-weight-emphasis);
	line-height: 76px;
}

body.sf-ui .main-navigation .main-nav > ul > li:hover > a,
body.sf-ui .main-navigation .main-nav > ul > li.current-menu-item > a,
body.sf-ui .main-navigation .main-nav > ul > li.current-menu-ancestor > a {
	background: transparent;
	color: #FFFFFF;
	font-weight: var(--sfv6-weight-emphasis);
	box-shadow: inset 0 -3px 0 #35BFEA;
}

body.sf-ui .main-navigation .sub-menu {
	border: 1px solid rgba(130, 174, 209, .28);
	border-top: 3px solid #35BFEA;
	background: #0B304F;
  box-shadow: var(--sfv6-shadow-2);
}

body.sf-ui .main-navigation .sub-menu a {
	color: #E6F0F8;
}

body.sf-ui .main-navigation :is(.menu-toggle, .dropdown-menu-toggle) {
	color: #E5F0F8;
}

body.sf-ui .main-navigation .main-nav > ul > li.sfchem-lang-switch {
	display: none !important;
}

body.sf-ui .main-navigation .main-nav > ul > li.sfchem-lang-switch > a {
	margin-block: 8px;
	padding: 7px 13px;
	border: 1px solid rgba(185, 206, 224, .58);
	border-radius: 999px;
	background: #F4F8FC;
	color: var(--sfv6-blue-deep);
  font-family: var(--sfv6-en);
  font-size: 13px;
  font-weight: var(--sfv6-weight-emphasis);
}

/* Search strip */
body.sf-ui .sf-site-search {
	padding: 10px max(20px, calc((100% - var(--sfv6-content-width)) / 2));
	border-bottom: 1px solid var(--sfv6-line);
	background: #EFF4F8;
  color: var(--sfv6-text);
  font-size: 15px;
}

body.sf-ui .sf-site-search__form {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 10px;
  max-width: var(--sfv6-content-width);
  margin-inline: auto;
}

body.sf-ui .sf-site-search__form label {
  font-size: 14px;
  font-weight: var(--sfv6-weight-ui);
  white-space: nowrap;
}

body.sf-ui :where(button, input, textarea, select) {
  font-family: var(--sfv6-sans);
  text-transform: none;
}

body.sf-ui :is(input, textarea, select),
body.sf-ui .sf-site-search__form input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 1px solid #B8C9D9;
  border-radius: var(--sfv6-r-input);
  background: #FFFFFF;
  color: var(--sfv6-text);
  font: inherit;
  font-weight: var(--sfv6-weight-body);
  box-shadow: none;
}

body.sf-ui .sf-site-search__form input[type="search"] {
	height: 40px;
  margin: 0;
  padding: 9px 14px;
  font-size: 15px;
}

body.sf-ui :is(input, textarea, select):focus {
  border-color: var(--sfv6-blue);
}

body.sf-ui :is(button, input[type="submit"], .button, .wp-block-button__link),
body.sf-ui .sf-site-search__form button {
  border: 0;
  border-radius: var(--sfv6-r-btn);
  background: var(--sfv6-blue);
  color: #FFFFFF;
  font-family: var(--sfv6-sans);
  font-size: 14px;
  font-weight: var(--sfv6-weight-emphasis);
  line-height: 1.4;
  text-transform: none;
}

body.sf-ui :is(button, input[type="submit"], .button, .wp-block-button__link):hover {
  background: var(--sfv6-blue-deep);
  color: #FFFFFF;
}

body.sf-ui .sf-site-search__form button {
	height: 40px;
  margin: 0;
  padding-inline: 22px;
}

body.sf-ui .sf-ui__cta--sample :is(button, .button, .wp-block-button__link) {
  background: var(--sfv6-amber);
  color: #3A2A05;
}

/* Shared home/index image banner. Copy stays in the 1200px shell; media bleeds edge to edge. */
body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  color: rgba(236, 245, 252, .9);
}

body.sf-ui .sf-ui__hero--index {
  grid-template-areas: "copy";
}

body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support)::before {
  position: absolute;
  z-index: -2;
  inset: 0 calc(50% - 50vw);
  background:
    linear-gradient(90deg, rgba(7, 31, 54, .97) 0%, rgba(10, 58, 97, .88) 48%, rgba(18, 107, 151, .58) 100%),
    linear-gradient(180deg, rgba(7, 31, 54, .08), rgba(7, 31, 54, .42));
  content: "";
}

body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support)::after {
  display: none;
  content: none;
}

body.sf-ui .sf-ui__hero-copy {
  position: relative;
  z-index: 1;
  grid-area: copy;
  width: min(100%, 760px);
  min-width: 0;
}

body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) h1 {
  margin: 0 0 18px;
  color: #FFFFFF;
  font-weight: var(--sfv6-weight-emphasis);
  letter-spacing: 0;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(2, 15, 28, .28);
}

body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) .sf-ui__hero-copy :where(p, li) {
  max-width: 65ch;
  margin: 0 0 12px;
  color: rgba(226, 239, 248, .82);
  font-size: clamp(16px, 1.2vw, 17px);
  font-weight: var(--sfv6-weight-body);
  line-height: 1.72;
}

body.sf-ui .sf-ui__hero-media {
  position: relative;
  grid-area: media;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 222, 244, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 24px 70px rgba(2, 15, 28, .28);
}

body.sf-ui .sf-ui__hero-media picture,
body.sf-ui .sf-ui__hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

body.sf-ui .sf-ui__hero-media img {
  object-fit: cover;
}

body.sf-ui .sf-ui__hero-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(5, 25, 42, .74);
  color: rgba(238, 247, 252, .86);
  font-size: 12px;
  line-height: 1.45;
}

body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) > .sf-ui__hero-media {
  position: absolute;
  z-index: -3;
  inset: 0 calc(50% - 50vw);
  width: auto;
  height: 100%;
  min-width: 100vw;
  min-height: 0;
  max-height: none;
  align-self: stretch;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #071F36;
  box-shadow: none;
  pointer-events: none;
}

body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) > .sf-ui__hero-media img {
  object-fit: cover;
  object-position: center 52%;
}

body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) > .sf-ui__hero-media figcaption {
  top: 14px;
  right: max(12px, calc((100vw - var(--sfv6-content-width)) / 2));
  bottom: auto;
}

/* Shared semantic components */
body.sf-ui .sf-ui__grid,
body.sf-ui--application .sf-ui__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: var(--sfv6-space-4);
}

body.sf-ui .sf-ui__card,
body.sf-ui .sf-ui__judgment,
body.sf-ui--application .sf-ui__facts > div {
  min-width: 0;
  border: 1px solid var(--sfv6-line);
  border-radius: var(--sfv6-r-card);
  background: var(--sfv6-card);
  box-shadow: var(--sfv6-shadow-1);
}

body.sf-ui :is(.sf-ui__card, .sf-ui__judgment) :where(p, li, dd) {
  font-size: 15px;
  font-weight: var(--sfv6-weight-body);
  line-height: 1.72;
}

body.sf-ui :is(.sf-ui__table, .wp-block-table) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.sf-ui .entry-content table {
  width: 100%;
  border: 1px solid var(--sfv6-line);
  border-collapse: collapse;
  background: #FFFFFF;
  font-size: 14.5px;
  font-weight: var(--sfv6-weight-body);
  line-height: 1.65;
}

body.sf-ui .entry-content table :is(th, td) {
  padding: 11px 14px;
  border: 1px solid var(--sfv6-line);
  color: var(--sfv6-text);
  text-align: left;
  vertical-align: top;
}

body.sf-ui .entry-content table th {
  background: #EFF5FB;
  color: #102A43;
  font-weight: var(--sfv6-weight-emphasis);
}

body.sf-ui .sf-ui__toc a.is-current,
body.sf-ui .sf-ui__toc a[aria-current="location"] {
  color: var(--sfv6-blue-deep);
  font-weight: var(--sfv6-weight-emphasis);
}

body.sf-ui .sf-reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

body.sf-ui .sf-reading-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--sfv6-blue);
}

/* Footer continues the navy shell introduced by the shared banner. */
body.sf-ui .site-footer {
  border-top: 3px solid var(--sfv6-blue);
  background: var(--sfv6-ink);
  color: #B8C9D9;
  font-size: 14px;
  font-weight: var(--sfv6-weight-body);
  line-height: 1.65;
}

body.sf-ui .site-footer :where(h2, h3, h4, .widget-title) {
  color: #FFFFFF;
  font-weight: var(--sfv6-weight-emphasis);
}

body.sf-ui .site-footer a {
  color: #D5E3EF;
}

body.sf-ui .site-footer a:hover {
  color: #FFFFFF;
}

body.sf-ui .site-footer :is(a, button, input, textarea, select, summary):focus-visible {
  outline-color: #FFFFFF;
}

body.sf-ui.sf-ui-runtime-ready .sf-ui__card {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

@media (min-width: 1025px) {
  body.sf-ui .main-navigation .menu-toggle {
    display: none;
  }

  body.sf-ui .main-navigation .menu-item-has-children:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 1024px) {
  body.sf-ui .inside-header,
  body.sf-ui .main-navigation .inside-navigation,
  body.sf-ui .container.grid-container,
  body.sf-ui .site-content.grid-container {
    width: min(100% - 32px, var(--sfv6-content-width));
  }

  body.sf-ui .inside-header {
    min-height: 68px;
    padding-block: 11px;
  }

  body.sf-ui .main-navigation {
    min-height: 0;
    margin-top: 0;
    background: #082843;
  }

  body.sf-ui .main-navigation .inside-navigation {
    display: block;
    min-height: 0;
    padding-left: 0;
  }

  body.sf-ui .main-navigation .main-nav > ul > li > a {
    min-height: 44px;
    padding-inline: 18px;
    border-top: 1px solid rgba(139, 184, 218, .2);
    background: #0B304F;
    color: #E5F0F8;
    line-height: 44px;
  }

  body.sf-ui .main-navigation .main-nav > ul > li:hover > a,
  body.sf-ui .main-navigation .main-nav > ul > li.current-menu-item > a,
  body.sf-ui .main-navigation .main-nav > ul > li.current-menu-ancestor > a {
    background: #0B304F;
    color: #FFFFFF;
    box-shadow: inset 3px 0 0 var(--sfv6-blue);
  }

  body.sf-ui .main-navigation .main-nav,
  body.sf-ui .main-navigation .main-nav > ul {
    display: block !important;
  }

  body.sf-ui .main-navigation .menu-toggle {
    display: none !important;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation .main-nav,
  body.sf-ui.sf-ui-menu-ready .main-navigation .main-nav > ul {
    display: none !important;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation .menu-toggle {
    display: flex !important;
	box-sizing: border-box;
	width: 72px;
	height: 48px;
    min-height: 48px;
	max-height: 48px;
	flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 10px 0 10px auto;
    padding: 0;
	border: 1px solid #B9CEE0;
	border-radius: 10px;
	background: rgba(8, 40, 67, .92);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: var(--sfv6-weight-emphasis);
	line-height: 1;
	text-transform: none;
	white-space: nowrap;
    cursor: pointer;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation .menu-toggle .mobile-menu {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	white-space: nowrap;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation {
    min-height: 68px;
    margin-top: -68px;
    background: transparent;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation .inside-navigation {
    min-height: 68px;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation.toggled .main-nav,
  body.sf-ui.sf-ui-menu-ready .main-navigation.toggled .main-nav > ul {
    display: block !important;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation.toggled .main-nav > ul > li {
    display: block;
    float: none;
    width: 100%;
  }

  body.sf-ui .main-navigation .main-nav ul ul {
    display: block !important;
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  body.sf-ui .main-navigation .main-nav ul ul a {
    padding: 10px 18px 10px 36px;
    background: #102F49;
  }

  body.sf-ui .main-navigation .main-nav .dropdown-menu-toggle {
    color: #E5F0F8;
  }

  body.sf-ui.sf-ui-menu-ready .main-navigation.toggled .main-nav > ul::after {
    display: none;
    content: none;
  }

  body.sf-ui .main-navigation .sub-menu {
    border: 0;
    box-shadow: none;
  }

  body.sf-ui .main-navigation .main-nav > ul > li.sfchem-lang-switch > a {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #0B304F;
    color: #E5F0F8;
  }

  body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 760px) {
  body.sf-ui .inside-header,
  body.sf-ui .main-navigation .inside-navigation,
  body.sf-ui .container.grid-container,
  body.sf-ui .site-content.grid-container {
    width: min(100% - 24px, var(--sfv6-content-width));
  }

  body.sf-ui .sfchem-v6-logo {
    height: 43px;
  }

  body.sf-ui .sfchem-v6-brand-mark {
    top: 35px;
    font-size: 7.5px;
  }

  body.sf-ui .sfchem-v6-brand-mark sup {
    font-size: 5px;
  }

  body.sf-ui .sf-site-search {
    padding: 12px;
  }

  body.sf-ui .sf-site-search__form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  body.sf-ui .sf-site-search__form label {
    grid-column: 1 / -1;
    white-space: normal;
    font-size: 14px;
  }

  body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.sf-ui .sf-ui__hero--index {
    grid-template-areas: "copy";
  }

  body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support)::after {
    display: none;
  }

  body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support)::before {
    background:
      linear-gradient(180deg, rgba(7, 31, 54, .86) 0%, rgba(10, 58, 97, .92) 62%, rgba(18, 107, 151, .82) 100%),
      linear-gradient(90deg, rgba(7, 31, 54, .32), rgba(7, 31, 54, .58));
  }

  body.sf-ui .sf-ui__hero:is(.sf-ui__hero--home, .sf-ui__hero--index, .sf-ui__hero--support) .sf-ui__hero-copy :where(p, li) {
    font-size: 16px;
    line-height: 1.7;
  }

  body.sf-ui .entry-content table {
    font-size: 14px;
  }

  body.sf-ui .entry-content table :is(th, td) {
    padding: 9px 11px;
  }

  body.sf-ui .entry-content h2 {
    font-size: clamp(24px, 7vw, 27px);
  }

  body.sf-ui .entry-content h3 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.sf-ui) {
    scroll-behavior: auto;
  }

  body.sf-ui *,
  body.sf-ui *::before,
  body.sf-ui *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* About credentials and research evidence: approved 2026-08-31 structure. */
.sf-v60831-about [id],
.sf-credentials [id],
.sf-evidence-page [id] {
	scroll-margin-top: 7rem;
}

.sf-credentials-summary,
.sf-credentials__split {
	display: grid;
	grid-template-columns: minmax(14rem, .72fr) minmax(0, 1.55fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
}

.sf-credential-figure,
.sf-tax-card {
	margin: 0;
	padding: .75rem;
	border: 1px solid rgba(61, 73, 53, .18);
	border-radius: 1rem;
	background: linear-gradient(150deg, #fffdf8, #f1f4ea);
	box-shadow: 0 .8rem 2rem rgba(40, 48, 34, .08);
}

.sf-credential-figure img,
.sf-tax-card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: .55rem;
}

.sf-credential-figure figcaption,
.sf-tax-card figcaption {
	margin-top: .7rem;
	color: #5e6658;
	font-size: .88rem;
	line-height: 1.55;
}

.sf-proof-list {
	display: grid;
	gap: .8rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sf-proof-list li {
	padding: 1rem 1.1rem;
	border-left: .24rem solid #9a6b2f;
	background: #f7f5ed;
}

.sf-proof-list strong,
.sf-proof-list span {
	display: block;
}

.sf-proof-list span {
	margin-top: .3rem;
	color: #586155;
	line-height: 1.65;
}

.sf-evidence-preview-grid,
.sf-tax-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.sf-evidence-preview-grid article {
	padding: 1.1rem;
	border: 1px solid rgba(61, 73, 53, .16);
	border-radius: .9rem;
	background: #f8f6ef;
}

.sf-evidence-type,
.sf-evidence-record__meta {
	margin: 0 0 .45rem;
	color: #8a5d27;
	font-size: .78rem;
	font-weight: var(--sfv6-weight-emphasis);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.sf-credentials,
.sf-evidence-page {
	max-width: 76rem;
	margin: 0 auto;
	padding: clamp(1rem, 3vw, 2.5rem);
}

.sf-credentials__hero,
.sf-evidence-page__hero {
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-radius: 1.35rem;
	background:
		linear-gradient(115deg, rgba(31, 73, 56, .95), rgba(53, 87, 65, .87)),
		repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.06) 18px 19px);
	color: #fff;
}

.sf-credentials__kicker,
.sf-evidence-page__kicker {
	margin: 0;
	color: #e5c995;
	font-size: .78rem;
	font-weight: var(--sfv6-weight-emphasis);
	letter-spacing: .16em;
}

.sf-credentials__hero h1,
.sf-evidence-page__hero h1 {
	margin: .5rem 0 .8rem;
	color: #fff;
}

.sf-credentials__section,
.sf-evidence-page__section {
	padding: clamp(2rem, 5vw, 4rem) 0;
	border-bottom: 1px solid rgba(61, 73, 53, .14);
}

.sf-credentials__facts,
.sf-evidence-record dl {
	display: grid;
	gap: 0;
	margin: 0;
	border-top: 1px solid rgba(61, 73, 53, .16);
}

.sf-credentials__facts div,
.sf-evidence-record dl div {
	display: grid;
	grid-template-columns: minmax(8.5rem, .45fr) minmax(0, 1.55fr);
	gap: 1rem;
	padding: .8rem 0;
	border-bottom: 1px solid rgba(61, 73, 53, .13);
}

.sf-credentials__facts dt,
.sf-evidence-record dt {
	font-weight: var(--sfv6-weight-emphasis);
	color: #334d3f;
}

.sf-credentials__facts dd,
.sf-evidence-record dd {
	margin: 0;
}

.sf-tax-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1.25rem;
}

.sf-credentials__note,
.sf-credentials__footnote,
.sf-evidence-record__boundary {
	padding: .85rem 1rem;
	border-radius: .7rem;
	background: #f3efe3;
	color: #5b543f;
	line-height: 1.65;
}

.sf-evidence-filter {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .85rem;
	margin: 1.5rem 0 0;
	padding: 1rem;
	border: 1px solid rgba(61, 73, 53, .16);
	border-radius: 1rem;
	background: #fffdf8;
}

.sf-evidence-filter label {
	display: grid;
	gap: .35rem;
	color: #334d3f;
	font-weight: var(--sfv6-weight-emphasis);
}

.sf-evidence-filter select {
	min-height: 2.8rem;
	padding: .55rem .75rem;
	border: 1px solid #9ba798;
	border-radius: .55rem;
	background: #fff;
	color: #22382d;
	font: inherit;
}

.sf-evidence-filter__status {
	grid-column: 1 / -1;
	margin: 0;
	color: #5e6658;
}

.sf-evidence-list {
	display: grid;
	gap: 1rem;
}

.sf-evidence-record {
	padding: clamp(1rem, 3vw, 1.6rem);
	border: 1px solid rgba(61, 73, 53, .16);
	border-radius: 1rem;
	background: linear-gradient(145deg, #fff, #faf8f0);
}

.sf-evidence-record[hidden] {
	display: none;
}

@media (max-width: 760px) {
	.sf-credentials-summary,
	.sf-credentials__split,
	.sf-evidence-preview-grid,
	.sf-tax-grid,
	.sf-evidence-filter {
		grid-template-columns: 1fr;
	}

	.sf-credentials__facts div,
	.sf-evidence-record dl div {
		grid-template-columns: 1fr;
		gap: .25rem;
	}

	.sf-credential-figure {
		max-width: 32rem;
	}
}
