/* LabotKripto contrast corrections derived from exported HTML. */
/* These rules are deliberately limited to non-original palettes. */
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot .lk-footer-brand-name,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot h2,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot h3,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot strong,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-footer-brand-name,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-footer-sitemap-title {
  color:var(--lk-p-ink);
}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot p,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot li,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot li a,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot .lk-footer-sitemap-columns a,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot .lk-footer-sitemap a:not(.lk-footer-sitemap-link) {
  color:var(--lk-p-copy);
}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-foot .lk-footer-sitemap-link {color:var(--lk-p-accent);}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-register-button,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-register-link {
  color:var(--lk-p-on-accent); background:var(--lk-p-accent);border-color:var(--lk-p-accent);
}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-register-button:hover,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-register-link:hover {
  color:var(--lk-p-on-accent);background:var(--lk-p-accent);
}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"])[data-lk-theme="dark"] .lk-home-eyebrow,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"])[data-lk-theme="dark"] .lk-home-section-head h2,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"])[data-lk-theme="dark"] .lk-home h2,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"])[data-lk-theme="dark"] .lk-home h3 {
  color:var(--lk-p-ink);
}
/* Use actual palette values on inputs and on the AI analyzer's inner notes. */
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page select,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page input:not([type="checkbox"]):not([type="radio"]),
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page textarea {
  background:var(--lk-p-panel);color:var(--lk-p-ink);border-color:var(--lk-p-edge);
}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page .lk-note,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page .lk-card .lk-note {
  background:var(--lk-p-soft);color:var(--lk-p-copy);border-color:var(--lk-p-edge);
}
/* Pricing is a neutral surface, not an alert state. */
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page .lk-billing-switch-card,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page .lk-tier-card {
  background:var(--lk-p-panel); color:var(--lk-p-copy); border-color:var(--lk-p-edge);
}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page .lk-billing-switch-card h2,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page .lk-tier-card h2,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-page .lk-tier-card h3 {
  color:var(--lk-p-ink);
}
/* Semantic market gains/losses and warning states remain untouched. */
/* Ghost member-only paywall emits inline black background/text. Scoped override. */
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .gh-post-upgrade-cta-content {
  background-color:var(--lk-p-panel)!important;
  border:1px solid var(--lk-p-edge);color:var(--lk-p-ink);
}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .gh-post-upgrade-cta-content h2 {color:var(--lk-p-ink)!important;}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .gh-post-upgrade-cta-content p,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .gh-post-upgrade-cta-content small,
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .gh-post-upgrade-cta-content p a {color:var(--lk-p-copy)!important;}
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .gh-post-upgrade-cta-content .gh-btn {
  color:var(--lk-p-on-accent)!important;background:var(--lk-p-accent)!important;border-color:var(--lk-p-accent)!important;
}
/* Eyebrow labels are small: >=4.5:1 contrast in both dark palettes. */
html:is([data-lk-palette="emerald"],[data-lk-palette="midnight"]) .lk-eyebrow {
  color:var(--lk-p-ink);background:var(--lk-p-soft);border-color:var(--lk-p-edge);
}
