/* v68: in the light theme the header is white, so it no longer merges with the dark top band of each page */
html:root[data-theme=light]:not(#v68) :is(.util-bar, .site-head) {
  color-scheme: light;
  --u-bg: #FFFFFF; --u-bg-2: #F3F6F9; --u-surface: #F6F8FB; --u-surface-2: #E8EEF4; --u-rule: #CBD6E0; --u-rule-2: #DFE6ED;
  --u-ink: #0B1724; --u-ink-2: #22364A; --u-muted: #4A6074; --u-acc: #00787A;
  --tpl-band: #FFFFFF;
}
html:root[data-theme=light]:not(#v68) .util-bar { background: #F1F4F7 !important; color: #22364A !important; border-bottom: 1px solid #E1E7ED !important; }
html:root[data-theme=light]:not(#v68) .util-bar a { color: #22364A !important; }
html:root[data-theme=light]:not(#v68) .util-bar a.util-hot { color: #9A5A00 !important; }
html:root[data-theme=light]:not(#v68) .util-bar a.util-atlas { color: #00666A !important; }
html:root[data-theme=light]:not(#v68) .site-head { background: #FFFFFF !important; color: #0B1724 !important; border-bottom: 1px solid #DFE6ED !important; box-shadow: 0 1px 0 rgba(11, 23, 36, .04), 0 6px 18px rgba(11, 23, 36, .05) !important; }
html:root[data-theme=light]:not(#v68) .site-head .brand .logo-light { display: block !important; }
html:root[data-theme=light]:not(#v68) .site-head .brand .logo-dark { display: none !important; }
html:root[data-theme=light]:not(#v68) .site-head :is(.site-nav a.top, .nav-list > li > a, .sub-toggle, .brand) { color: #0B1724 !important; }
html:root[data-theme=light]:not(#v68) .site-head :is(.site-nav a.top:hover, .nav-list > li > a:hover, .nav-list > li > a[aria-current]) { color: #00666A !important; }
html:root[data-theme=light]:not(#v68) .site-head :is(.theme-btn, .search-btn, .nav-toggle) { color: #0B1724 !important; background: #FFFFFF !important; border: 1px solid #CBD6E0 !important; }
html:root[data-theme=light]:not(#v68) .site-head :is(.theme-btn, .search-btn, .nav-toggle):hover { background: #F3F6F9 !important; }
html:root[data-theme=light]:not(#v68) .site-head .nav-toggle .bars, html:root[data-theme=light]:not(#v68) .site-head .nav-toggle .bars::before, html:root[data-theme=light]:not(#v68) .site-head .nav-toggle .bars::after { background: #0B1724 !important; }
html:root[data-theme=light]:not(#v68) .site-head .nav-extra .btn.primary { background: #00787A !important; border-color: #00787A !important; color: #FFFFFF !important; }
html:root[data-theme=light]:not(#v68) .site-head .nav-extra .btn.primary:hover { background: #005E60 !important; }
/* v68 typography: one professional system, replacing the stacked display faces (Bai Jamjuree, Archivo, Fira, Montserrat, Hanken) */
html:root:not(#v68), html:root:not(#v68) :is(body,.page-root,[data-area],.util-bar,.site-head,.site-head .menu,.tpl-cta,.site-foot) {
  --f-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
  --f-fig: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace !important;
}
html:not(#v68) body { font-family: var(--f-body) !important; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* every text element takes the body face unless it is a heading, code, math or a figure label */
html:not(#v68) body :is(p, li, dd, dt, td, th, a, span, button, input, select, textarea, label, summary, figcaption, small, b, strong, em, blockquote, caption, legend, nav, div):not(.eq, .eq *, .math, .math *, code, kbd, samp, .mono, .num, .kicker, .hz-eyebrow) { font-family: var(--f-body) !important; }
html:not(#v68) body :is(h1, h2, h3, .cx-h1, .cx-h2, .cx-h3, .fig-title, .menu-blurb > a) { font-family: var(--f-display) !important; font-weight: 600 !important; letter-spacing: -.025em !important; }
html:not(#v68) body :is(h4, h5, h6) { font-family: var(--f-body) !important; font-weight: 600 !important; letter-spacing: 0 !important; }
html:not(#v68) body :is(h1, .cx-h1) { line-height: 1.08 !important; }
html:not(#v68) body :is(.kicker, .hz-eyebrow, .cx-kicker, .cx-idx, .util-bar, .crumbs, .breadcrumb) { letter-spacing: .06em !important; }
html:not(#v68) body :is(.kicker, .hz-eyebrow, .cx-kicker, .cx-idx) { font-family: var(--f-mono) !important; font-weight: 500 !important; font-size: .78rem !important; }
html:not(#v68) body .site-nav :is(a.top, .top) { font-family: var(--f-body) !important; font-weight: 500 !important; letter-spacing: .01em !important; text-transform: none !important; font-size: .94rem !important; }
html:not(#v68) body :is(main p, main li) { line-height: 1.62; }
html:not(#v68) body :is(h1, h2, h3, .cx-h1, .cx-h2, .cx-h3) :is(span, a, b, em, strong, i) { font-family: inherit !important; }
/* v68: chart labels. Halos were drawn in the rule color (a mid grey), which blurred the text; draw them in the page color */
html:not(#v68) :is(.at-uv .rl, .at-plot .lab, .fp-row text, .ls-lab, .ls-95t, .hb-msvg .al, .eit-svg .nm, .eit-svg .sb, .eit-svg .lb) { stroke: var(--u-bg, #FFFFFF) !important; stroke-width: 3px !important; stroke-opacity: .85 !important; }
html:not(#v68) :is(.ls-lab) { fill: var(--u-ink) !important; }
/* selection states dimmed labeled boxes until the text could not be read; keep them legible */
html:not(#v68) .si-arch.has-sel :is(.si-ab:not(.on), .si-fam:not(.on)) { opacity: .55 !important; }
html:not(#v68) .aj-n.aj-off { opacity: .55 !important; }
html:not(#v68) body[data-page=technologies-analytical] .cm-int.has-on .cm-row:not(.on) { opacity: .55 !important; }
html:not(#v68) #cfr-atlas .ca-off { opacity: .5 !important; }
html:not(#v68) body[data-page=regulatory-pathways] .pw-sieve.has-path :is(.pw-tr, .pw-ex) { opacity: .55 !important; }
html:not(#v68) #academy-history-of-botanical-medicine svg.dg .hx-dim { opacity: .45 !important; }
/* home chapter numbers were outline-only text; draw them solid */
html:not(#v68) body[data-page=home] .h8-chn { -webkit-text-fill-color: currentColor !important; -webkit-text-stroke: 0 !important; background: none !important; color: var(--u-acc, #00787A) !important; }

/* v68: plain-English summary box */
.v68-plain { margin: 0 auto; max-width: 1180px; padding: 0 max(20px, env(safe-area-inset-left, 0px)); }
.v68-plain > div { margin: 22px 0 6px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--u-surface, #F6F8FB); border: 1px solid var(--u-rule-2, #DFE6ED); border-left: 4px solid var(--u-acc, #00787A); border-radius: 10px; padding: 16px 18px; }
.v68-plain svg { width: 44px; height: 44px; }
.v68-plain h2 { font: 600 1.02rem/1.3 var(--f-body) !important; letter-spacing: 0 !important; margin: 0 0 4px !important; color: var(--u-ink, #0B1724) !important; }
.v68-plain p { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--u-ink-2, #22364A); max-width: 75ch; }
.v68-plain p + p { margin-top: 6px; }
.v68-plain a { color: var(--u-acc, #00787A); font-weight: 600; }

/* v68: home bands (plain English and the calculator) */
.v68-band { padding: 44px max(20px, env(safe-area-inset-left, 0px)) 40px; background: var(--u-bg-2, #F3F6F9); border-top: 1px solid var(--u-rule-2, #DFE6ED); border-bottom: 1px solid var(--u-rule-2, #DFE6ED); }
.v68-band.alt { background: var(--u-bg, #FFFFFF); }
.v68-band .in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; }
.v68-band .k { font: 500 .78rem/1.3 var(--f-mono) !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--u-acc, #00787A); margin: 0 0 10px; }
.v68-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem) !important; line-height: 1.15 !important; margin: 0 0 12px !important; color: var(--u-ink, #0B1724) !important; }
.v68-band p { font-size: 1.08rem; line-height: 1.6; color: var(--u-ink-2, #22364A); margin: 0 0 10px; max-width: 60ch; }
.v68-band ul.ex { margin: 6px 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.v68-band ul.ex li { padding-left: 22px; position: relative; color: var(--u-ink-2, #22364A); line-height: 1.5; }
.v68-band ul.ex li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--u-acc, #00787A); }
.v68-band .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.v68-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none !important; border: 1px solid var(--u-acc, #00787A); color: var(--u-acc, #00787A) !important; background: transparent; }
.v68-btn.pri { background: #00787A; border-color: #00787A; color: #FFFFFF !important; }
.v68-btn.pri:hover { background: #005E60; }
.v68-band .note { font-size: .86rem; color: var(--u-muted, #4A6074); margin-top: 10px; }
.v68-band figure { margin: 0; }
.v68-band figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--u-rule-2, #DFE6ED); background: #FFFFFF; display: block; }
@media (max-width: 860px) { .v68-band .in { grid-template-columns: minmax(0, 1fr); gap: 20px; } .v68-band { padding: 32px 16px; } }

/* v68: start page */
.v68-start .cx-sec .cx-wrap > figure { margin: 18px 0 8px; }
.v68-tbl { width: 100%; border-collapse: collapse; font-size: .98rem; }
.v68-tbl th, .v68-tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--u-rule-2, #DFE6ED); line-height: 1.5; }
.v68-tbl thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--u-muted, #4A6074); border-bottom: 2px solid var(--u-rule, #CBD6E0); }
.v68-tbl tbody th { font-weight: 600; color: var(--u-ink, #0B1724); white-space: nowrap; }
.v68-tbl tr.us { background: color-mix(in srgb, var(--u-acc, #00787A) 9%, transparent); }
.v68-tbl .tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; border: 1px solid currentColor; white-space: nowrap; }
.v68-tbl .tag.std { color: #2F6B3A; } .v68-tbl .tag.rare { color: #9A5A00; } .v68-tbl .tag.new { color: #B13A45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .v68-tbl .tag.std { color: #7FD08C; } :root:not([data-theme=light]) .v68-tbl .tag.rare { color: #FFB547; } :root:not([data-theme=light]) .v68-tbl .tag.new { color: #FF9AA2; } }
:root[data-theme=dark] .v68-tbl .tag.std { color: #7FD08C; } :root[data-theme=dark] .v68-tbl .tag.rare { color: #FFB547; } :root[data-theme=dark] .v68-tbl .tag.new { color: #FF9AA2; }
@media (max-width: 760px) {
  .v68-tbl.stack thead { display: none; }
  .v68-tbl.stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--u-rule, #CBD6E0); }
  .v68-tbl.stack th, .v68-tbl.stack td { display: block; border: 0; padding: 4px 4px; white-space: normal; }
  .v68-tbl.stack td[data-l]::before { content: attr(data-l) ": "; font-weight: 600; color: var(--u-muted, #4A6074); }
}
.v68-src { font-size: .86rem; color: var(--u-muted, #4A6074); line-height: 1.55; }
.v68-src li { margin-bottom: 4px; }
/* util bar links added in v68 */
.util-bar a.v68-u { font-weight: 600; }
/* util bar: one line; the long site description gives way first */
html:not(#v68) .util-bar :is(a, span) { white-space: nowrap !important; }
html:not(#v68) .util-bar .util-in { flex-wrap: nowrap !important; gap: 18px !important; }
html:not(#v68) .util-bar .util-r { flex-wrap: nowrap !important; gap: 18px !important; margin-left: auto !important; }
html:not(#v68) .util-bar .util-l { min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; }
@media (max-width: 1400px) { html:not(#v68) .util-bar .util-l > a:first-child { display: none !important; } }
@media (max-width: 1100px) { html:not(#v68) .util-bar .util-l { display: none !important; } }
/* dark theme: secondary text was #9FBACF (about 4:1 on the dark cards); lift it to pass 4.5:1 */
html:root[data-theme=dark]:not(#v68), html:root[data-theme=dark]:not(#v68) :is(body, .page-root, [data-area], main, .panel, .cx-sec) { --cx-muted: #B9CCDC !important; --u-muted: #B9CCDC !important; --muted: #B9CCDC !important; }

/* v69: diagram fills that matched their own labels */
html:not(#v69) .mx-svg :is(.mx-z, .mx-bl) { fill: var(--u-surface-2, #EEF3F6) !important; stroke: var(--u-rule, #CBD6E0) !important; }
html:not(#v69) .mx-svg .mx-pill { fill: var(--u-bg, #FFFFFF) !important; stroke: var(--u-ink-2, #22364A) !important; stroke-width: 1.5 !important; }
html:not(#v69) .mx-svg :is(.mx-tx, .mx-zt) { fill: var(--u-ink, #0B1724) !important; }
html:not(#v69) .mx-svg .mx-sm { fill: var(--u-ink-2, #22364A) !important; }
html:not(#v69) .mx-svg .mx-ar { stroke: var(--u-ink-2, #22364A) !important; }
html:not(#v69) .un-svg text { fill: var(--u-ink, #0B1724) !important; stroke: var(--u-bg, #FFFFFF) !important; stroke-width: 3px !important; stroke-opacity: .9 !important; }
html:not(#v69) .un-ftn { stroke: var(--u-bg, #FFFFFF) !important; }
html:not(#v69) .at-uv .ctr { fill: var(--u-surface-2, #EEF3F6) !important; }
html:not(#v69) .eit-svg .ax line.one, html:not(#v69) .eit-svg .mk-us { stroke: var(--u-ink-2, #22364A) !important; }

/* v69: the calculator page on phones */
.v69-fold { margin: 14px 0 6px; border: 1px solid var(--u-rule, #CBD6E0); border-radius: 10px; background: var(--u-surface, #F6F8FB); }
.v69-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-weight: 600; color: var(--u-ink, #0B1724); }
.v69-fold > summary::-webkit-details-marker { display: none; }
.v69-fold > summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--u-acc, #00787A); color: var(--u-acc, #00787A); font-weight: 700; }
.v69-fold[open] > summary::after { content: "\2212"; }
.v69-fold > summary small { display: block; font-weight: 400; color: var(--u-muted, #4A6074); font-size: .86rem; margin-top: 2px; }
.v69-fold > .v69-body { padding: 0 16px 16px; }
@media (max-width: 640px) {
  .eit-list li { display: flex !important; flex-wrap: wrap; gap: 8px 10px; }
  .eit-list li > div:first-of-type, .eit-list li > :nth-child(2) { flex: 1 1 calc(100% - 26px); min-width: 0; }
  .eit-tbl, .eit-tbl tbody { display: block; width: 100% !important; }
  .eit-tbl thead { display: none; }
  .eit-tbl tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 12px 2px; border-bottom: 1px solid var(--u-rule, #CBD6E0); }
  .eit-tbl td { display: block; border: 0 !important; padding: 0 !important; min-width: 0; }
  .eit-tbl tr > :first-child { grid-column: 1 / -1; font-weight: 600; font-size: 1rem; color: var(--u-ink, #0B1724); border: 0 !important; padding: 0 !important; text-align: left; }
  .eit-tbl caption { display: block; text-align: left; }
  .eit-tbl tr > :last-child { grid-column: 1 / -1; color: var(--u-muted, #4A6074); }
  .eit-tbl td[data-l]:not(:first-child)::before { content: attr(data-l); display: block; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--u-muted, #4A6074); margin-bottom: 2px; }
  .eit-tbl td[colspan] { grid-column: 1 / -1; }
}
.v69-fold.v69-auto { margin: 10px 0 4px; }
@media (min-width: 720px) { .v69-fold.v69-auto { border: 0; background: none; } }
body[data-page=home] #home.h8 .h8-sxp .m-more { display: block; margin: 0 0 8px; }
.v69-fold { min-width: 0; max-width: 100%; }
.v69-fold > .v69-body { min-width: 0; max-width: 100%; overflow-x: auto; }
.mx-fig { max-width: 100%; overflow-x: auto; }
.v69-fold.v69-auto { grid-column: 1 / -1; width: 100%; box-sizing: border-box; }
.v69-fold.v69-auto > .v69-body { width: 100%; box-sizing: border-box; }

/* v70: readability of text colors */

/* "Atlas" in the header was the dark-theme teal (#5FE8DA, 1.5:1 on the white light-theme header) */
html:root[data-theme=light]:not(#v70) .site-head .at-w2, html:root:not([data-theme=dark]):not(#v70) .site-head .at-w2 { color: #00787A !important; }

/* Selection and filter states faded whole groups, labels included, until the labels could not be read.
   Keep the fade on the shapes and keep the labels readable. */
html:not(#v70) :is(
  .si-arch.has-sel .si-ab:not(.on), .si-arch.has-sel .si-fam:not(.on),
  body[data-page=technologies-process-engineering] .pf-pfd.has-on .pf-u:not(.on):not(.hint),
  body[data-page=technologies-process-engineering] .pf-pfd.has-on .pf-s:not(.in):not(.out),
  body[data-page=regulatory-pathways] .pw-sieve.has-path .pw-tr,
  body[data-page=regulatory-pathways] .pw-sieve.has-path .pw-ex,
  #particles svg .pa-morphG:not(.on),
  .aj-n.aj-off,
  body[data-page=technologies-analytical] .cm-int.has-on .cm-row:not(.on),
  #cfr-atlas .ca-off,
  #academy-history-of-botanical-medicine svg.dg .hx-dim,
  body[data-page=home] .wh-tracks.has-sel .wh-tk:not(.is-on)
) { opacity: 1 !important; }
html:not(#v70) :is(
  .si-arch.has-sel .si-ab:not(.on), .si-arch.has-sel .si-fam:not(.on),
  body[data-page=technologies-process-engineering] .pf-pfd.has-on .pf-u:not(.on):not(.hint),
  body[data-page=technologies-process-engineering] .pf-pfd.has-on .pf-s:not(.in):not(.out),
  body[data-page=regulatory-pathways] .pw-sieve.has-path .pw-tr,
  body[data-page=regulatory-pathways] .pw-sieve.has-path .pw-ex,
  #particles svg .pa-morphG:not(.on),
  .aj-n.aj-off,
  body[data-page=technologies-analytical] .cm-int.has-on .cm-row:not(.on),
  #cfr-atlas .ca-off,
  #academy-history-of-botanical-medicine svg.dg .hx-dim
) :is(rect, path, circle, ellipse, line, polyline, polygon, use, image) { opacity: .4 !important; }
html:not(#v70) body[data-page=home] .wh-tracks.has-sel .wh-tk:not(.is-on) { opacity: .35 !important; }
html:not(#v70) :is(
  .si-arch.has-sel .si-ab:not(.on), .si-arch.has-sel .si-fam:not(.on),
  body[data-page=technologies-process-engineering] .pf-pfd.has-on .pf-u:not(.on):not(.hint),
  body[data-page=technologies-process-engineering] .pf-pfd.has-on .pf-s:not(.in):not(.out),
  #particles svg .pa-morphG:not(.on),
  .aj-n.aj-off,
  body[data-page=technologies-analytical] .cm-int.has-on .cm-row:not(.on),
  #cfr-atlas .ca-off,
  #academy-history-of-botanical-medicine svg.dg .hx-dim
) :is(text, tspan) { opacity: .85 !important; }
html:not(#v70) body[data-page=regulatory-pathways] .pw-sieve.has-path .pw-gate:not(.exit) .pw-out { opacity: .4 !important; }
html:not(#v70) body[data-page=regulatory-pathways] .pw-sieve.has-path .pw-gate:not(.exit) .pw-ot { opacity: .85 !important; }
html:not(#v70) .at-gf label.off, html:not(#v70) body[data-page=technologies-process-cfd] .explorer label.cf-off, html:not(#v70) .eit-pr.off { opacity: .7 !important; }

/* Letters on colored badges: white on the darker light-theme fills, dark navy on the brighter dark-theme fills */
html:not(#v70) #evidence-explorer :is(.ee-g.gB, .ee-g.gC, .ee-g.gX) { color: var(--u-on-acc) !important; }
html:not(#v70) #quality-standards .qs-m { color: var(--u-on-acc) !important; }
html:not(#v70) body[data-page=home] .cr-n.on .cr-k { color: var(--u-on-acc) !important; }
html:not(#v70) body[data-page=engine] .eg-col.on .eg-nt { fill: var(--u-on-acc) !important; }
html:not(#v70) body[data-page=applications-global-ingredients] .gn-pn { color: #00172C !important; }

/* v72: home band for /innovation/ */
.v72-inv .v72-ideas { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.v72-inv .v72-ideas a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 2px 8px; padding: 8px 0; border-top: 1px solid var(--u-rule); color: var(--u-ink); text-decoration: none; }
.v72-inv .v72-ideas a:hover b, .v72-inv .v72-ideas a:focus-visible b { color: var(--u-acc-ink); text-decoration: underline; }
.v72-inv .v72-ideas i { font: 600 .8rem/1.6 'IBM Plex Mono', ui-monospace, monospace; font-style: normal; color: var(--u-acc-ink); }
.v72-inv .v72-ideas b { font-size: .98rem; line-height: 1.35; }
.v72-inv .v72-ideas span { grid-column: 2; font-size: .86rem; color: var(--u-ink-2); }
.v72-inv .in { grid-template-columns: minmax(0, 1fr) !important; }
@media (max-width: 719px) { .v72-inv .v72-ideas { grid-template-columns: minmax(0, 1fr); } }

/* v73: site-wide kit from the /innovation/ format: at-a-glance cards, calculator frames, limit boxes */
.kit-glance { margin: 28px 0 8px; grid-column: 1 / -1; min-width: 0; max-width: 100%; box-sizing: border-box; }
.kit-glance-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 12px; }
.kit-glance-h b { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--u-ink); letter-spacing: -.01em; }
.kit-glance-h span { font-size: .9rem; color: var(--u-muted); }
.kit-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kit-cards > li { min-width: 0; }
.kit-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 14px 15px; border: 1px solid var(--u-rule); border-radius: 12px; background: var(--u-bg); color: var(--u-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.kit-cards a:hover, .kit-cards a:focus-visible { border-color: var(--u-acc); transform: translateY(-2px); outline: none; }
.kit-cards a:focus-visible { box-shadow: 0 0 0 3px var(--u-acc-wash); }
.kit-n { font: 600 .78rem/1 'IBM Plex Mono', ui-monospace, monospace; color: var(--u-acc-ink); }
.kit-cards b { font-size: .98rem; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.kit-cards .kit-d { font-size: .86rem; line-height: 1.45; color: var(--u-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kit-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }
.kit-chip { display: inline-block; font: 600 .72rem/1.2 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.kit-chip.c-int { background: var(--u-d2); color: var(--u-on-acc); }
.kit-chip.c-fig { background: var(--u-acc); color: var(--u-on-acc); }
.kit-chip.c-tbl { background: var(--u-d5); color: var(--u-on-acc); }
.kit-chip.c-prop { background: var(--u-gold-wash); color: var(--u-ink); box-shadow: inset 0 0 0 1px var(--u-gold); }
.kit-chip.c-src { background: var(--u-surface-2); color: var(--u-ink-2); box-shadow: inset 0 0 0 1px var(--u-rule); }
.kit-more a { justify-content: center; align-items: flex-start; background: var(--u-surface); border-style: dashed; }
.kit-more b { color: var(--u-acc-ink); }

/* calculator frame: dark tag on top of each interactive explorer */
.kit-demo-h { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 !important; padding: 10px 14px; border-bottom: 1px solid var(--u-rule); border-radius: var(--r, 12px) var(--r, 12px) 0 0; background: var(--u-surface); font-size: .9rem; line-height: 1.4; color: var(--u-ink-2); max-width: none !important; }
.kit-tag { display: inline-block; font: 600 .72rem/1 'IBM Plex Mono', ui-monospace, monospace; text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 4px; background: var(--u-ink); color: var(--u-bg); }
html:not(#v73) .explorer:has(> .kit-demo-h) { border-radius: 14px; overflow: hidden; }
html:not(#v73) .explorer:has(> .kit-demo-h) > .kit-demo-h { border-radius: 0; }

/* limit and status boxes, as in "What it cannot do" */
html:not(#v73) .status-note { background: var(--u-gold-wash); border: 0; border-left: 4px solid var(--u-gold); border-radius: 6px; color: var(--u-ink); padding: 12px 16px; }
html:not(#v73) .status-note b { color: var(--u-ink); }
html:not(#v73) .cx-on-navy .status-note, html:not(#v73) .page-hero.cx-hero .status-note { background: rgba(255, 181, 71, .14); color: inherit; }

@media (max-width: 1000px) { .kit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 719px) {
  .kit-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .kit-cards > li { flex: 0 0 78%; scroll-snap-align: start; }
  .kit-glance-h span.kit-swipe::after { content: " · swipe for more"; }
}

/* v75: the compound-evidence band from the v74 redesign, added alone to the v73 look (founder decision, Nov 12, 2026) */
/* ---------- 3. Instrument bands: near-black in both themes ---------- */
html:not(#v74a):not(#v74b) .v74-night {
  color-scheme: dark;
  --u-bg: #060B11; --u-bg-2: #0B121A; --u-surface: #0E1720; --u-surface-2: #15212C;
  --u-rule: #24323F; --u-rule-2: #18232D; --u-ink: #EAF0F3; --u-ink-2: #BFCAD3; --u-muted: #93A4B1;
  --u-acc: #45D3C7; --u-acc-ink: #6FE0D6; --u-on-acc: #04201E; --u-acc-wash: #0C2624;
  --u-btn: #45D3C7; --u-btn-h: #6FE0D6; --u-on-btn: #04201E;
  --u-gold: #F2B54E; --u-gold-ink: #F5C473; --u-on-gold: #1C1404; --u-gold-wash: #241C0D;
  --u-d2: #6EA8FE; --u-d2-ink: #9CC3FF; --u-d4: #F07C6C; --u-d4-ink: #F6A397; --u-d5: #B49CF5; --u-d5-ink: #CDBDF8; --u-d6: #F2B54E; --u-d6-ink: #F5C473;
  --ink: #EAF0F3; --ink-2: #BFCAD3; --muted: #93A4B1; --rule: #24323F; --rule-2: #18232D; --surface: #0E1720; --bg: #060B11; --bg-alt: #0B121A;
  background: #060B11 !important; background-image: none !important; color: var(--u-ink-2);
}
/* v74 fix: legacy color variables are resolved at :root and inherited as values,
   so each scoped band must redeclare them (generated from the measured dark theme) */
html:not(#v74a):not(#v74b) .v74-night {
  --amber: #FFC874;
  --amber-wash: #2A2210;
  --an-black: #0B121A;
  --an-blue: #4DA3FF;
  --an-gold: #FFB547;
  --an-gold-2: #FFB547;
  --an-head: #EAF0F3;
  --an-ink: #EAF0F3;
  --at-brass: #FFC874;
  --at-brass-l: #FFB547;
  --at-green: #6FE0D6;
  --at-green-2: #EAF0F3;
  --at-ink: #EAF0F3;
  --at-ivory: #0E1720;
  --at-link-h: #EAF0F3;
  --at-muted: #93A4B1;
  --at-on-teal: #04201E;
  --at-paper: #060B11;
  --at-rule: #24323F;
  --at-rule-2: #18232D;
  --at-surface: #0E1720;
  --at-teal: #45D3C7;
  --at-text: #BFCAD3;
  --at-turq: #6FE0D6;
  --bg: #060B11;
  --bg-alt: #0E1720;
  --brand: #45D3C7;
  --brand-ink: #6FE0D6;
  --brand-wash: #0C2624;
  --bz-grey: #93A4B1;
  --bz-hatch: #24323F;
  --bz-navy: #EAF0F3;
  --bz-navy-2: #BFCAD3;
  --bz-pale: #0E1720;
  --bz-sky: #86C1FF;
  --bz-text: #BFCAD3;
  --c1: #45D3C7;
  --c2: #FFB020;
  --c3: #A3A3FF;
  --c4: #FF6B81;
  --c5: #4DA3FF;
  --c6: #FFB547;
  --copper: #FFC65C;
  --cx-copper: #FFC874;
  --cx-graphite: #BFCAD3;
  --cx-muted: #93A4B1;
  --cx-navy: #EAF0F3;
  --cx-on-navy: #060B11;
  --cx-paper: #060B11;
  --cx-paper-2: #0E1720;
  --cx-rule: #24323F;
  --cx-rule-2: #18232D;
  --cx-steel: #86C1FF;
  --cx-teal: #45D3C7;
  --cx-teal-ink: #6FE0D6;
  --g-A: #45D3C7;
  --g-B: #4DA3FF;
  --g-C: #FFB547;
  --g-D: #93A4B1;
  --g-X: #FF98A8;
  --g-on: #04201E;
  --gold: #FFB547;
  --gold-2: #FFB547;
  --gold-ink: #FFC874;
  --grid: #18232D;
  --hz-bg: #060B11;
  --hz-c1: #FFC874;
  --hz-c2: #6FE0D6;
  --hz-c3: #86C1FF;
  --hz-c4: #FF98A8;
  --hz-c5: #C2C2FF;
  --hz-c6: #FFC65C;
  --hz-deep: #0B121A;
  --hz-deep-2: #0E1720;
  --hz-dtext: #6FE0D6;
  --hz-ink: #EAF0F3;
  --hz-ivory-2: #0E1720;
  --hz-line: #24323F;
  --hz-line-2: #18232D;
  --hz-muted: #93A4B1;
  --hz-ochre: #FFC874;
  --hz-on-deep: #EAF0F3;
  --hz-on-deep-2: #BFCAD3;
  --hz-paper: #0E1720;
  --hz-saffron: #FFB547;
  --hz-t1: #2A2210;
  --hz-t2: #0C2624;
  --hz-t3: #0E2440;
  --hz-t4: #2E1520;
  --hz-t5: #1B1C3E;
  --hz-t6: #2A2210;
  --hz-text: #BFCAD3;
  --ink: #EAF0F3;
  --ink-2: #BFCAD3;
  --ivory: #0E1720;
  --ivory-2: #15212C;
  --line: #BFCAD3;
  --line-art: #BFCAD3;
  --muted: #93A4B1;
  --navy: #0A2A40;
  --navy-2: #0E3550;
  --navy-band: #0B121A;
  --navy-line: #24323F;
  --on-band: #BFCAD3;
  --on-mark: #04201E;
  --on-navy: #E6EEF2;
  --on-navy-2: #B4C6D1;
  --on-navy-3: #A9BFCC;
  --p-band: #0B121A;
  --p-band-2: #0E1720;
  --red: #FF98A8;
  --red-wash: #2E1520;
  --royal: #4DA3FF;
  --royal-1: #4DA3FF;
  --royal-2: #4DA3FF;
  --royal-3: #4DA3FF;
  --rule: #24323F;
  --rule-2: #18232D;
  --sec: #45D3C7;
  --sec-deep: #6FE0D6;
  --sec-dk: #45D3C7;
  --sec-ink: #6FE0D6;
  --sec-tint: #6FE0D6;
  --sec-wash: #0C2624;
  --sec-wash-dk: #0C2624;
  --steel: #86C1FF;
  --sunk: #15212C;
  --surface: #0E1720;
  --tur: #6FE0D6;
}
.v74-b1 { display: inline-flex; align-items: center; gap: 8px; background: var(--u-ink); color: var(--v-paper) !important; font-weight: 600; font-size: 1rem; padding: 13px 20px; border-radius: 6px; text-decoration: none !important; }
.v74-b1:hover { background: var(--u-ink-2); }
/* instrument band */
.v74-night { padding-block: clamp(44px, 5vw, 72px) 0; }
.v74-band-g { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.v74-night .k0 { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--u-acc-ink); margin: 0 0 14px; }
html:not(#v74a):not(#v74b) .v74-night h2 { color: var(--u-ink) !important; margin: 0 0 16px; font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem) !important; }
.v74-night p { color: var(--u-ink-2); }
.v74-night .v74-b1 { background: var(--u-acc); color: var(--u-on-acc) !important; margin-top: 8px; }
.v74-night .v74-b1:hover { background: var(--u-acc-ink); }
.v74-cf-fig { margin: 0; position: relative; min-width: 0; }
.v74-cf { display: block; width: 100%; height: auto; }
.v74-cf .gl { stroke: #1A2631; stroke-width: 1; }
.v74-cf .ax { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; fill: #93A4B1; }
.v74-cf .al { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.5px; letter-spacing: .06em; fill: #93A4B1; }
.v74-cf .lg { font-family: Inter, sans-serif; font-size: 12.5px; fill: #BFCAD3; }
.v74-cf .lb { font-family: Inter, sans-serif; font-size: 13px; font-weight: 500; fill: #EAF0F3; }
.v74-cf .ll { stroke: #93A4B1; stroke-width: 1; }
.v74-cf circle.pt { stroke: #060B11; stroke-width: 1.2; cursor: pointer; }
.v74-cf circle.pt.on { stroke: #EAF0F3; stroke-width: 2.2; }
/* categorical palette checked for deuteranopia and protanopia (min OKLab distance 9.8) and 4.5:1 contrast on #060B11 */
.v74-cf .k0f { fill: #55D7B8; } .v74-cf .k1f { fill: #789EF9; } .v74-cf .k2f { fill: #FFCD18; } .v74-cf .k3f { fill: #E4C7FF; } .v74-cf .k4f { fill: #599900; } .v74-cf .k5f { fill: #F97B70; } .v74-cf .k6f { fill: #637C93; }
.v74-ro { position: absolute; right: 12px; bottom: 64px; width: min(270px, 60%); border: 1px solid #24323F; background: rgba(9, 15, 22, .94); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .78rem; line-height: 1.7; color: #BFCAD3; padding: 12px 14px; }
.v74-ro b { display: block; font-family: Inter, sans-serif; font-size: .95rem; font-weight: 600; color: #EAF0F3; line-height: 1.3; margin-bottom: 2px; }
.v74-ro .cl { display: block; color: #93A4B1; margin-bottom: 6px; font-size: .74rem; }
.v74-ro .r { display: flex; justify-content: space-between; gap: 12px; }
.v74-ro .r span:last-child { color: #F2B54E; }
.v74-ro a { display: inline-block; margin-top: 8px; color: #6FE0D6; }
.v74-src { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .74rem; color: #93A4B1; margin: 10px 0 0; line-height: 1.6; max-width: none !important; }
.v74-num { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #18232D; }
.v74-num li { padding: 22px 0 26px 22px; border-left: 1px solid #18232D; }
.v74-num li:first-child { border-left: 0; padding-left: 0; }
.v74-num b { display: block; font-weight: 300; font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); letter-spacing: -.03em; line-height: 1; color: #EAF0F3; }
.v74-num span { display: block; margin-top: 10px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #93A4B1; }
@media (max-width: 960px) {
  .v74-band-g { grid-template-columns: minmax(0, 1fr); }
  .v74-ro { position: static; width: auto; margin-top: 10px; }
  .v74-num { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v74-num li:nth-child(3) { border-left: 0; padding-left: 0; }
  .v74-num li:nth-child(n+3) { border-top: 1px solid #18232D; }
}
html:not(#v74a):not(#v74b) main :is(.v74-src, .k0, .v74-num span) { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace !important; }
html:not(#v74a):not(#v74b) main .k0 { font-size: .76rem !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--u-acc-ink) !important; font-weight: 500 !important; }
html:not(#v74a):not(#v74b) main .v74-src { font-size: .74rem !important; line-height: 1.6 !important; color: #93A4B1 !important; }
html:not(#v74a):not(#v74b) main .v74-night h2 { font-weight: 340 !important; letter-spacing: -.025em !important; line-height: 1.12 !important; font-size: clamp(1.75rem, 1.15rem + 1.6vw, 2.6rem) !important; text-wrap: balance; font-family: Inter, system-ui, sans-serif !important; text-transform: none !important; }
html:not(#v74a):not(#v74b) .v74-night h2 { color: #EAF0F3 !important; }
html:not(#v74a):not(#v74b) .v74-night p:not(.k0):not(.v74-src) { color: #BFCAD3 !important; }
.v74-cf-plot { position: relative; }
html:not(#v74a):not(#v74b) .v74-ro { bottom: 15%; right: 2%; }
@media (max-width: 960px) { html:not(#v74a):not(#v74b) .v74-ro { position: static; } }
.v74-cf .lb { paint-order: stroke; stroke: #060B11; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.v74-cf .ll { pointer-events: none; }
html:not(#v74a):not(#v74b) .v74-night .k0 { color: #45D3C7 !important; }
html:not(#v74a):not(#v74b) .v74-night p:not(.k0):not(.v74-src) { max-width: 60ch; }
html:not(#v74a):not(#v74b) .v74-night p + p { margin-top: 14px; }

/* v75b: band uses the site's own navy section background (same gradient and 48 px grid as .cx-on-navy),
   not a separate near-black, so the home page has one dark color. Founder feedback, Nov 12, 2026. */
html:not(#v74a):not(#v74b) .v74-night {
  --u-ink: #FFFFFF; --u-ink-2: #DCE8F3; --u-muted: #B2C8DC; --u-acc: #2FD6C6; --u-acc-ink: #5FE8DA; --u-on-acc: #00172C;
  --u-rule: rgba(255,255,255,.26); --u-rule-2: rgba(255,255,255,.14);
  background: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 48px 48px,
              linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 48px 48px,
              linear-gradient(135deg, #001326, #00264A 58%, #003D4C) !important;
  color: #DCE8F3;
}
html:not(#v74a):not(#v74b) .v74-night h2 { color: #FFFFFF !important; }
html:not(#v74a):not(#v74b) .v74-night p:not(.k0):not(.v74-src) { color: #DCE8F3 !important; }
html:not(#v74a):not(#v74b) .v74-night .k0 { color: #5FE8DA !important; }
html:not(#v74a):not(#v74b) main .v74-night .v74-src { color: #B2C8DC !important; }
html:not(#v74a):not(#v74b) .v74-night .v74-b1 { background: #2FD6C6 !important; color: #00172C !important; }
html:not(#v74a):not(#v74b) .v74-night .v74-b1:hover { background: #5FE8DA !important; }
.v74-night .v74-cf .gl { stroke: rgba(255,255,255,.14); }
.v74-night .v74-cf :is(.ax, .al) { fill: #B2C8DC; }
.v74-night .v74-cf .lg { fill: #DCE8F3; }
.v74-night .v74-cf .lb { fill: #FFFFFF; stroke: #00213F; }
.v74-night .v74-cf .ll { stroke: #B2C8DC; }
.v74-night .v74-cf circle.pt { stroke: #00213F; }
.v74-night .v74-cf circle.pt.on { stroke: #FFFFFF; }
/* palette re-checked on this navy: deuteranopia and protanopia min OKLab distance 9.8, normal 16.4;
   at least 3.3:1 against the lightest gradient stop #003D4C */
.v74-night .v74-cf .k0f { fill: #87CDB9; } .v74-night .v74-cf .k1f { fill: #8777F5; } .v74-night .v74-cf .k2f { fill: #E1D72F; }
.v74-night .v74-cf .k3f { fill: #E7CDFF; } .v74-night .v74-cf .k4f { fill: #469900; } .v74-night .v74-cf .k5f { fill: #E98472; } .v74-night .v74-cf .k6f { fill: #01A0C1; }
html:not(#v74a):not(#v74b) .v74-night .v74-ro { background: rgba(0, 25, 50, .95); border-color: rgba(255,255,255,.24); color: #DCE8F3; }
.v74-night .v74-ro b { color: #FFFFFF; }
.v74-night .v74-ro .cl { color: #B2C8DC; }
.v74-night .v74-ro .r span:last-child { color: #FFCD5C; }
.v74-night .v74-ro a { color: #5FE8DA; }
.v74-night .v74-num { border-top-color: rgba(255,255,255,.16); }
.v74-night .v74-num li { border-left-color: rgba(255,255,255,.16); }
.v74-night .v74-num b { color: #FFFFFF; }
.v74-night .v74-num span { color: #B2C8DC; }
@media (max-width: 960px) { .v74-night .v74-num li:nth-child(n+3) { border-top-color: rgba(255,255,255,.16); } }
/* chart text at 14 user units so it stays at least 10.5 px on desktop and core.js does not make the chart scroll there */
.v74-night .v74-cf .ax, .v74-night .v74-cf .al { font-size: 14px; }
.v74-night .v74-cf .al { letter-spacing: .03em; }
.v74-night .v74-cf .lg, .v74-night .v74-cf .lb { font-size: 14px; }
@media (max-width: 1180px) {
  .v74-night .v74-band-g { grid-template-columns: minmax(0, 1fr); }
  .v74-night .v74-band-g > div:first-child p:not(.k0) { max-width: 64ch; }
}
