/* ITM IDM header styles (moved out of components/IDMHeader.dc.html unchanged). */
.sc-host[data-sc-name="IDMHeader"] { display: contents; }
html[data-itheme="dark"] {
  color-scheme: dark;
  --surface-page: #0E0D18; --surface-cream: #121019; --surface-card: #1a1722; --surface-sunken: #24202c; --surface-dark: #08070f; --surface-ink: #08070f;
  --text-strong: #F8F3EC; --text-body: rgba(248,243,236,0.82); --text-muted: rgba(248,243,236,0.64); --text-faint: rgba(248,243,236,0.45); --text-brand: #D4567F; --italic-on-light: #D4567F; --on-brand: #ffffff;
  --border: rgba(255,255,255,0.14); --border-strong: rgba(255,255,255,0.28); --divider: rgba(255,255,255,0.1);
  --brand-subtle: rgba(212,86,127,0.16); --brand-subtle-2: rgba(212,86,127,0.26); --crimson-50: rgba(212,86,127,0.2); --crimson-100: rgba(212,86,127,0.3); --rule-tint: rgba(212,86,127,0.3);
}
html[data-itheme="dark"] body { background: #0E0D18 !important; color: #F8F3EC !important; }
html[data-itheme="dark"] a { color: #D4567F; }
html[data-itheme="dark"] a:hover { color: #eb9bbd; }
html[data-itheme="dark"] :is(.avfx-navlink, [class*="scp"]):hover { color: #eb9bbd !important; }
html[data-itheme="dark"] .avfx-cta-light:hover { background: #F8F3EC !important; color: #0E0D18 !important; }
html[data-itheme="dark"] [style*="--inst-ink"] { --inst-ink: var(--accent-design) !important; }
/* hard-coded light surfaces */
html[data-itheme="dark"] :is([style*="background: rgb(248, 243, 236)"], [style*="background-color: rgb(248, 243, 236)"]) { background-color: #121019 !important; }
html[data-itheme="dark"] :is([style*="background: rgb(255, 255, 255)"], [style*="background-color: rgb(255, 255, 255)"]) { background-color: #1a1722 !important; }
html[data-itheme="dark"] :is([style*="background: rgb(239, 233, 224)"], [style*="background-color: rgb(239, 233, 224)"], [style*="background: rgb(246, 242, 238)"], [style*="background-color: rgb(246, 242, 238)"]) { background-color: #24202c !important; }
html[data-itheme="dark"] :is([style*="background: rgb(225, 217, 207)"], [style*="background-color: rgb(225, 217, 207)"], [style*="background: rgb(233, 225, 214)"], [style*="background-color: rgb(233, 225, 214)"]) { background-color: #2d2933 !important; }
html[data-itheme="dark"] :is([style*="background: rgb(14, 13, 24)"], [style*="background-color: rgb(14, 13, 24)"]) { background-color: #08070f !important; }
/* hard-coded ink */
html[data-itheme="dark"] :is([style^="color: rgb(14, 13, 24)"], [style*="; color: rgb(14, 13, 24)"]) { color: #F8F3EC !important; }
html[data-itheme="dark"] :is([style^="color: rgb(45, 41, 51)"], [style*="; color: rgb(45, 41, 51)"]) { color: rgba(248,243,236,0.82) !important; }
html[data-itheme="dark"] :is([style^="color: rgb(111, 101, 95)"], [style*="; color: rgb(111, 101, 95)"]) { color: rgba(248,243,236,0.64) !important; }
html[data-itheme="dark"] :is([style^="color: rgb(155, 144, 137)"], [style*="; color: rgb(155, 144, 137)"]) { color: rgba(248,243,236,0.45) !important; }
html[data-itheme="dark"] :is([style^="color: rgb(170, 0, 79)"], [style*="; color: rgb(170, 0, 79)"], [style^="color: rgb(141, 0, 66)"], [style*="; color: rgb(141, 0, 66)"]) { color: #D4567F !important; }
/* hard-coded hairlines */
html[data-itheme="dark"] :is([style*="solid rgb(225, 217, 207)"], [style*="solid rgb(239, 233, 224)"], [style*="solid rgba(14, 13, 24"]) { border-color: rgba(255,255,255,0.14) !important; }
html[data-itheme="dark"] [style*="solid rgb(201, 191, 180)"] { border-color: rgba(255,255,255,0.28) !important; }
/* accent fills keep dark ink */
html[data-itheme="dark"] :is([style*="background: rgb(215, 218, 94)"], [style*="background-color: rgb(215, 218, 94)"], [style*="background: var(--inst)"], [style*="background: var(--accent-design)"]) { color: #0E0D18 !important; }
/* logos */
html[data-itheme="dark"] img[src$="idm-black-w.png"] { content: url("../assets/idm-white-w.png"); }
html[data-itheme="dark"] img[src$=".png"]:is([src*="/rec/"], [src*="/logos/"], [src*="partner-"]) { filter: brightness(0) invert(1) !important; opacity: 0.88; }
html { --space-7: 28px; --space-9: 36px; }
@media (min-width: 1025px) { section[id] { scroll-margin-top: 124px !important; } }
@media (max-width: 1024px) { section[id] { scroll-margin-top: 84px !important; } }
.idm-hdr * { box-sizing: border-box; }
.idm-hdr a { color: inherit; }
.idm-hdr :focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 3px; }
.itm-skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--surface-brand); color: #fff !important; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0; font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--fw-semibold); text-decoration: none; }
.itm-skip:focus { left: 0; }
@keyframes itmDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(9%,-7%) scale(1.18); } 66% { transform: translate(-8%,7%) scale(0.9); } }
.itm-blobwrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.itm-blob { position: absolute; border-radius: 50%; will-change: transform; }
.itm-b1 { animation: itmDrift1 15s ease-in-out infinite, itmPulse 7s ease-in-out infinite; }
@keyframes itmPulse { 0%,100% { opacity: 0.62; } 50% { opacity: 1; } }
.idm-hdr[data-itheme="dark"] .itm-blob { mix-blend-mode: screen; }
.idm-hdr header button { transition: transform .14s var(--ease-standard); }
.idm-hdr header button:active { transform: scale(0.93); }
.idm-hdr[data-itheme="dark"] {
  --surface-page: #0E0D18; --surface-cream: #1a1218; --surface-card: #251a22; --surface-sunken: #32232c; --surface-ink: #08070f;
  --text-body: rgba(248,243,236,0.82); --text-strong: #F8F3EC; --text-muted: rgba(248,243,236,0.62); --text-faint: rgba(248,243,236,0.42); --text-on-dark-mut: rgba(248,243,236,0.62);
  --border: rgba(255,255,255,0.16); --border-strong: rgba(255,255,255,0.32); --crimson-50: rgba(212,86,127,0.22); --italic-on-light: #D4567F;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.45); --shadow-md: 0 6px 18px rgba(0,0,0,.5); --shadow-lg: 0 16px 36px rgba(0,0,0,.55); --shadow-xl: 0 26px 64px rgba(0,0,0,.6); --shadow-brand: 0 8px 24px rgba(170,0,79,.45);
}
.idm-hdr a, .idm-hdr button, .idm-hdr [role="button"] { transition: color var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.idm-hdr button:active, .idm-hdr a:active { transform: translateY(1px); }
.idm-hdr a svg, .idm-hdr button svg { transition: transform var(--dur-base) var(--ease-standard); }
.idm-hdr a:hover > svg:last-child, .idm-hdr button:hover > svg:last-child { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .idm-hdr *, .idm-hdr *::before, .idm-hdr *::after { animation: none !important; transition: none !important; } }
.itm-hamburger { display: none; }
.itm-navlink{color:var(--text-body)}.itm-navlink:hover,.itm-navlink:focus-visible{color:var(--acc-ink)}
.itm-mi-label{color:var(--text-strong);transition:color var(--dur-base) var(--ease-standard)}
.itm-mi:hover .itm-mi-label,.itm-mi:focus-visible .itm-mi-label{color:var(--acc-ink)}
@keyframes itmFadeUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.itm-specs,.itm-fade{animation:itmFadeUp var(--dur-base) var(--ease-out)}
@keyframes itmGlow{0%,100%{box-shadow:0 4px 14px rgba(170,0,79,.30),0 0 0 0 rgba(170,0,79,0)}50%{box-shadow:0 6px 24px rgba(170,0,79,.55),0 0 0 4px rgba(170,0,79,.10)}}
.itm-henq{cursor:pointer;animation:itmGlow 2.8s ease-in-out infinite}
.itm-henq:hover{animation:none;box-shadow:0 8px 30px rgba(170,0,79,.62),0 0 0 4px rgba(170,0,79,.14)}
.idm-hdr[data-itheme="dark"] .itm-henq:hover{box-shadow:0 8px 30px rgba(212,86,127,.6),0 0 0 4px rgba(212,86,127,.18)}
@media (max-width: 1024px) { .ba-subnav { display: none !important; } }
@media (max-width: 720px) { .ann-dots { display: none !important; } }
.ba-sections::-webkit-scrollbar { height: 0; }
@media (max-width: 640px) {
  .itm-ubar, .itm-hbar { padding-left: var(--space-5) !important; padding-right: var(--space-5) !important; gap: var(--space-3) !important; }
  .itm-hbar { height: 64px !important; }
  .itm-hbar > div { gap: var(--space-2) !important; min-width: 0; }
  .itm-hbar img { height: 38px !important; width: auto !important; }
  .itm-uopt, .itm-hopt { display: none !important; }
  .itm-ubar { padding-left: var(--space-4) !important; padding-right: var(--space-4) !important; gap: var(--space-3) !important; }
  .itm-hbar > a { flex: 0 1 auto !important; min-width: 0; }
  .itm-hbar img { max-width: 100%; object-fit: contain; object-position: left center; }
  .itm-hopt, .itm-hamburger { width: 44px !important; height: 44px !important; flex: none; }
  .itm-henq button { padding-left: 14px !important; padding-right: 14px !important; min-height: 44px; }
}
.itm-mtools{display:none}
@media (max-width: 760px) { .itm-utheme { height: 30px !important; } }
@media (max-width: 420px) { .itm-ulabel { display: none; } .itm-utheme { padding: 0 8px !important; } }
@media (max-width: 640px) { .itm-mtools { display: flex !important; } }
.cta-s { display: none; }
@media (max-width: 420px) {
  .cta-l { display: none; } .cta-s { display: inline; }
  .itm-henq button svg { display: none; }
}
@media (max-width: 380px) {
  .itm-hbar img { height: 30px !important; }
  .itm-henq button { padding-left: 12px !important; padding-right: 12px !important; }
}
@media (max-width: 1024px) {
  .idm-hdr header nav[aria-label="Primary"] { display: none !important; }
  .itm-hamburger { display: inline-flex !important; }
}
