/* AJIDS home only: black reading text with restrained journal accents. */
body.jp-preview.jp-home{--home-navy:#092b40;--home-teal:#006d76;--home-teal-hover:#004f57;--home-mint:#edf6f4;--home-amber:#765615}

/* Keep paragraphs and ordinary labels black; distinguish headings and emphasis. */
body.jp-preview.jp-home :is(h1,h2,h3,h4,strong,b),
body.jp-preview.jp-home :is(h1,h2,h3,h4,strong,b) *{color:var(--home-navy)!important}
body.jp-preview.jp-home :is(strong,b){font-weight:700}
body.jp-preview.jp-home a,
body.jp-preview.jp-home a *{color:var(--home-teal)!important}
body.jp-preview.jp-home a:hover,
body.jp-preview.jp-home a:hover *{color:var(--home-teal-hover)!important}
body.jp-preview.jp-home :is(.jp-publisher-brand,.footer-publisher),
body.jp-preview.jp-home :is(.jp-publisher-brand,.footer-publisher) *{color:var(--home-navy)!important}
body.jp-preview.jp-home :is(.jp-kicker,.eyebrow,.card-number,.card-link,.jp-slogan em),
body.jp-preview.jp-home :is(.jp-kicker,.eyebrow,.card-number,.card-link,.jp-slogan em) *{color:var(--home-teal)!important}
body.jp-preview.jp-home .link-card :is(h2,h3),
body.jp-preview.jp-home .link-card :is(h2,h3) *{color:var(--home-navy)!important}
body.jp-preview.jp-home .link-card p,
body.jp-preview.jp-home .link-card p *{color:#000!important}

/* Navigation uses teal only for the active section and interactive states. */
body.jp-preview.jp-home :is(.jp-nav-item,.jp-nav-group>summary){color:var(--home-navy)!important}
body.jp-preview.jp-home :is(.jp-nav-item.is-active,.jp-nav-item:hover,.jp-nav-group[open]>summary,.jp-nav-group>summary:hover,.jp-tabs button[aria-selected=true],.jp-tabs button:hover){color:var(--home-teal)!important;border-bottom-color:var(--home-teal)}
body.jp-preview.jp-home .jp-tabs button[aria-selected=true]{background:var(--home-mint)}
body.jp-preview.jp-home .jp-menu a:hover{background:var(--home-mint)}
body.jp-preview.jp-home .jp-nav-group>summary::after{color:inherit!important}

/* High-contrast actions; their icons and bold labels share the button colour. */
body.jp-preview.jp-home :is(.jp-submit,.button-primary){background:var(--home-teal)!important;border-color:var(--home-teal)!important}
body.jp-preview.jp-home :is(.jp-submit,.button-primary),
body.jp-preview.jp-home :is(.jp-submit,.button-primary) *{color:#fff!important}
body.jp-preview.jp-home :is(.jp-submit,.button-primary):hover{background:var(--home-teal-hover)!important;border-color:var(--home-teal-hover)!important}
body.jp-preview.jp-home :is(.jp-submit,.button-primary):hover,
body.jp-preview.jp-home :is(.jp-submit,.button-primary):hover *{color:#fff!important}
body.jp-preview.jp-home button.jp-search-button{background:var(--home-navy)!important;border-color:var(--home-navy)!important}
body.jp-preview.jp-home .jp-search-button,
body.jp-preview.jp-home .jp-search-button *{color:#fff!important}
body.jp-preview.jp-home button.jp-search-button:hover{background:var(--home-teal)!important;border-color:var(--home-teal)!important}
body.jp-preview.jp-home .jp-guide-link{border-color:#7fa7a8;background:#fff}
body.jp-preview.jp-home .jp-guide-link:hover{background:var(--home-mint)}

/* Subtle section surfaces and clear preparation status. */
body.jp-preview.jp-home .jp-masthead{background:#edf2f3}
body.jp-preview.jp-home :is(.jp-author-card,.jp-progress-card){border-top-color:var(--home-teal)}
body.jp-preview.jp-home :is(.jp-side-note,.section-navy){background:var(--home-mint)}
body.jp-preview.jp-home .jp-preparation-label,
body.jp-preview.jp-home .jp-preparation-label *{color:var(--home-amber)!important}
body.jp-preview.jp-home .jp-preparation-label{background:#fff6da}
body.jp-preview.jp-home .jp-dialog-status>strong{color:var(--home-amber)!important}
body.jp-preview.jp-home .jp-dialog-close{color:var(--home-navy)!important}

@media print{
  body.jp-preview.jp-home#top *,body.jp-preview.jp-home#top *::before,body.jp-preview.jp-home#top *::after{color:#000!important}
  body.jp-preview.jp-home#top :is(.jp-submit,.button-primary){background:#fff!important;border-color:#000!important}
}
