
/* V11.1 Theme Fix */
html,body{background:#071421;color:#f8fafc}
html.light,body.light,html[data-theme="light"],body[data-theme="light"],[data-theme="light"]{color-scheme:light}
html.dark,body.dark,html[data-theme="dark"],body[data-theme="dark"],[data-theme="dark"]{color-scheme:dark}

html.light,
body.light,
html[data-theme="light"],
body[data-theme="light"]{
  background:#f8fbff!important;
  color:#0f172a!important;
}

html.light .sch-tool-page,
body.light .sch-tool-page,
html[data-theme="light"] .sch-tool-page,
body[data-theme="light"] .sch-tool-page,
[data-theme="light"] .sch-tool-page{
  background:linear-gradient(135deg,#f8fbff 0%,#eef7ff 48%,#effdf7 100%)!important;
  color:#0f172a!important;
}

html.dark .sch-tool-page,
body.dark .sch-tool-page,
html[data-theme="dark"] .sch-tool-page,
body[data-theme="dark"] .sch-tool-page,
[data-theme="dark"] .sch-tool-page{
  background:linear-gradient(135deg,#172b56 0%,#071421 48%,#07352f 100%)!important;
  color:#f8fafc!important;
}

html.light .sch-tool-hero,
body.light .sch-tool-hero,
html[data-theme="light"] .sch-tool-hero,
body[data-theme="light"] .sch-tool-hero,
[data-theme="light"] .sch-tool-hero,
html.light .sch-card,
body.light .sch-card,
html[data-theme="light"] .sch-card,
body[data-theme="light"] .sch-card,
[data-theme="light"] .sch-card{
  background:rgba(255,255,255,.92)!important;
  color:#0f172a!important;
  border-color:rgba(15,23,42,.14)!important;
}

html.light .sch-tool-badge,
body.light .sch-tool-badge,
html[data-theme="light"] .sch-tool-badge,
body[data-theme="light"] .sch-tool-badge,
[data-theme="light"] .sch-tool-badge,
html.light .sch-related a,
body.light .sch-related a,
html[data-theme="light"] .sch-related a,
body[data-theme="light"] .sch-related a,
[data-theme="light"] .sch-related a,
html.light .sch-btn.secondary,
body.light .sch-btn.secondary,
html[data-theme="light"] .sch-btn.secondary,
body[data-theme="light"] .sch-btn.secondary,
[data-theme="light"] .sch-btn.secondary{
  background:#fff!important;
  color:#0f172a!important;
  border-color:rgba(15,23,42,.16)!important;
}

html.light .sch-tool-hero h1,
body.light .sch-tool-hero h1,
html[data-theme="light"] .sch-tool-hero h1,
body[data-theme="light"] .sch-tool-hero h1,
[data-theme="light"] .sch-tool-hero h1,
html.light .sch-card h2,
body.light .sch-card h2,
html[data-theme="light"] .sch-card h2,
body[data-theme="light"] .sch-card h2,
[data-theme="light"] .sch-card h2,
html.light .sch-card h3,
body.light .sch-card h3,
html[data-theme="light"] .sch-card h3,
body[data-theme="light"] .sch-card h3,
[data-theme="light"] .sch-card h3{
  color:#0f172a!important;
}

html.light .sch-tool-hero p,
body.light .sch-tool-hero p,
html[data-theme="light"] .sch-tool-hero p,
body[data-theme="light"] .sch-tool-hero p,
[data-theme="light"] .sch-tool-hero p,
html.light .sch-card p,
body.light .sch-card p,
html[data-theme="light"] .sch-card p,
body[data-theme="light"] .sch-card p,
[data-theme="light"] .sch-card p,
html.light .sch-card li,
body.light .sch-card li,
html[data-theme="light"] .sch-card li,
body[data-theme="light"] .sch-card li,
[data-theme="light"] .sch-card li,
html.light .sch-card label,
body.light .sch-card label,
html[data-theme="light"] .sch-card label,
body[data-theme="light"] .sch-card label,
[data-theme="light"] .sch-card label{
  color:#334155!important;
}

html.light .sch-tool-ui textarea,
body.light .sch-tool-ui textarea,
html[data-theme="light"] .sch-tool-ui textarea,
body[data-theme="light"] .sch-tool-ui textarea,
[data-theme="light"] .sch-tool-ui textarea,
html.light .sch-tool-ui input,
body.light .sch-tool-ui input,
html[data-theme="light"] .sch-tool-ui input,
body[data-theme="light"] .sch-tool-ui input,
[data-theme="light"] .sch-tool-ui input,
html.light .sch-tool-ui select,
body.light .sch-tool-ui select,
html[data-theme="light"] .sch-tool-ui select,
body[data-theme="light"] .sch-tool-ui select,
[data-theme="light"] .sch-tool-ui select,
html.light .sch-output,
body.light .sch-output,
html[data-theme="light"] .sch-output,
body[data-theme="light"] .sch-output,
[data-theme="light"] .sch-output{
  background:#fff!important;
  color:#0f172a!important;
  border-color:rgba(15,23,42,.16)!important;
}

html.light .sch-faq details,
body.light .sch-faq details,
html[data-theme="light"] .sch-faq details,
body[data-theme="light"] .sch-faq details,
[data-theme="light"] .sch-faq details{
  background:rgba(255,255,255,.92)!important;
  color:#0f172a!important;
  border-color:rgba(15,23,42,.16)!important;
}

html.light main,
body.light main,
html[data-theme="light"] main,
body[data-theme="light"] main,
[data-theme="light"] main{
  color:#0f172a!important;
}

html.light .nav,
body.light .nav,
html[data-theme="light"] .nav,
body[data-theme="light"] .nav,
[data-theme="light"] .nav{
  background:rgba(255,255,255,.88)!important;
  color:#0f172a!important;
}
