/* The CP Circle artwork has independent foregrounds for light and dark surfaces. */
@font-face {
  font-family: "CPF Inter"; src:url("/static/fonts/callputfinder/inter.woff2") format("woff2");
  font-style:normal; font-weight:100 900; font-display:swap;
}
@font-face {
  font-family: "CPF Devanagari"; src:url("/static/fonts/callputfinder/noto-devanagari.woff2") format("woff2");
  font-style:normal; font-weight:100 900; font-display:swap; unicode-range:U+0900-097F,U+200C-200D;
}
:root {
  --cpf-type:"CPF Inter","CPF Devanagari","Segoe UI",sans-serif;
  --cpf-mast:#102733; --cpf-action:#206a64; --cpf-action-hover:#17534e;
}
html[data-theme] :is(.cpf-lockup,.cpf-mark) {
  display:inline-flex; align-items:center; line-height:0; background:transparent;
  border:0; border-radius:0; padding:0; box-shadow:none;
}
html[data-theme] :is(.cpf-lockup,.cpf-mark) img { display:block; max-width:100%; height:auto; object-fit:contain; }
html[data-theme] :is(.cpf-lockup-dark,.cpf-mark-dark),
html[data-theme=dark] :is(.cpf-lockup-light,.cpf-mark-light) { display:none !important; }
html[data-theme=dark] :is(.cpf-lockup-dark,.cpf-mark-dark) { display:block !important; }
/* Member and entry mastheads stay navy in both appearances. */
html[data-theme] :is(.cpf-launch-bar,.cpf-member-header) .cpf-lockup-dark { display:block !important; }
html[data-theme] :is(.cpf-launch-bar,.cpf-member-header) .cpf-lockup-light { display:none !important; }

html[data-theme] .as-product-nav.tx-primary { border-top:0 !important; font-family:var(--cpf-type); }
html[data-theme] .as-product-nav .as-product-nav__link--active { box-shadow:inset 0 -2px 0 #37978d; }

/* Accountable research attribution, shared by the dashboard and instrument pages. */
html[data-theme] body:has(.as-product-nav) > #tx-ra-attribution {
  box-sizing:border-box; flex:none; display:flex; align-items:baseline; flex-wrap:wrap;
  gap:.2rem .8rem; margin:0; padding:.42rem clamp(.75rem,1.5vw,1.5rem);
  background:var(--tx-surface); color:var(--tx-muted); border-top:1px solid var(--tx-border);
  font:500 .7rem/1.5 var(--cpf-type); letter-spacing:normal;
}
#tx-ra-attribution strong { color:var(--tx-text); font-weight:650; }
#tx-ra-attribution span:last-child { margin-inline-start:auto; }
@media (max-width:600px) {
  #tx-ra-attribution span:last-child { flex-basis:100%; margin-inline-start:0; }
}

/* Paint the approved transparent artwork directly on the navigation surface. */
html[data-theme] .as-product-nav.tx-primary .cpf-product-brand {
  background:transparent!important; border:0; border-radius:0; box-shadow:none;
}
html[data-theme] .as-product-nav.tx-primary .tx-research-brand.cpf-product-brand .cpf-nav-lockup img.cpf-lockup-light { display:block!important; }
html[data-theme] .as-product-nav.tx-primary .tx-research-brand.cpf-product-brand .cpf-nav-lockup img.cpf-lockup-dark { display:none!important; }
html[data-theme=dark] .as-product-nav.tx-primary .tx-research-brand.cpf-product-brand .cpf-nav-lockup img.cpf-lockup-light { display:none!important; }
html[data-theme=dark] .as-product-nav.tx-primary .tx-research-brand.cpf-product-brand .cpf-nav-lockup img.cpf-lockup-dark { display:block!important; }
