/* Candidate only. Hold publication until actual Brave validation after unlock.
   Keep the 0–100% wash unchanged. Restrict refinements to active-tint grade and
   dictionary text; Reset automatically restores the original presentation. */

/* Pale lilac and turquoise retain the grade palette while supporting dark text. */
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .n9-grade-login {
  background:#eee6fc!important;
}
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .n9-language-en .n9-grade-circle {
  background:#e6f9fa!important;
}
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .n9-grade-journey :is(.n9-grade-kicker,.n9-grade-note) {
  color:#172d3b!important;
}

/* Keep dictionary decoration; deepen only the affected small descriptive text. */
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .dictionary-v2-hero .section-header>p,
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .dictionary-v2-language-panel-copy>span,
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .dictionary-v2-schoolwork-heading>div>:is(p,span),
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .dictionary-v2-schoolwork-card>p,
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .dictionary-v2-daily-kicker>span,
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .dictionary-v2-schoolwork-source>span {
  color:#172d3b!important;
}

/* The same 11 language hues remain, mixed with navy for robust preview text. */
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .dictionary-v2-english-preview .dictionary-v2-language-word {
  color:color-mix(in srgb,var(--dictionary-language-deep) 55%,#07172b)!important;
}

/* Term navigation uses the same pale grade palette only while tinted. */
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .n9-artwork-term-tab:nth-child(2){background:#e6f9fa!important}
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .n9-artwork-term-tab:nth-child(3){background:#eee6fc!important}
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .n9-artwork-term-tab:nth-child(4){background:#ffe8e0!important}
body:has(.n9-screen-tint-tools[data-n9-tint-active="true"]) main .n9-grade-back{color:#172d3b!important}
