
/* V12.7 stronger light/dark mode */
html.light, html[data-theme="light"], body.light, body[data-theme="light"]{
  background:#f8fbff!important;color:#0f172a!important;color-scheme:light!important;
}
html.dark, html[data-theme="dark"], body.dark, body[data-theme="dark"]{
  background:#071421!important;color:#f8fafc!important;color-scheme:dark!important;
}
html.light .sch-tool-page,html[data-theme="light"] .sch-tool-page,
html.light main,html[data-theme="light"] main{
  background:linear-gradient(135deg,#f8fbff 0%,#eef7ff 50%,#effdf7 100%)!important;color:#0f172a!important;
}
html.dark .sch-tool-page,html[data-theme="dark"] .sch-tool-page,
html.dark main,html[data-theme="dark"] main{
  background:linear-gradient(135deg,#172b56 0%,#071421 50%,#07352f 100%)!important;color:#f8fafc!important;
}
html.light .sch-card,html.light .sch-tool-hero,html.light .tool-card,html.light .v17-card,html.light .v123-guide,html.light .category-section,
html[data-theme="light"] .sch-card,html[data-theme="light"] .sch-tool-hero,html[data-theme="light"] .tool-card,html[data-theme="light"] .v17-card,html[data-theme="light"] .v123-guide,html[data-theme="light"] .category-section{
  background:rgba(255,255,255,.94)!important;color:#0f172a!important;border-color:rgba(15,23,42,.14)!important;
}
html.dark .sch-card,html.dark .sch-tool-hero,html.dark .tool-card,html.dark .v17-card,html.dark .v123-guide,
html[data-theme="dark"] .sch-card,html[data-theme="dark"] .sch-tool-hero,html[data-theme="dark"] .tool-card,html[data-theme="dark"] .v17-card,html[data-theme="dark"] .v123-guide{
  background:rgba(15,23,42,.72)!important;color:#f8fafc!important;border-color:rgba(148,163,184,.28)!important;
}
html.light h1,html.light h2,html.light h3,html.light h4,html.light label,html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] h4,html[data-theme="light"] label{color:#0f172a!important}
html.light p,html.light li,html.light summary,html[data-theme="light"] p,html[data-theme="light"] li,html[data-theme="light"] summary{color:#334155!important}
html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark label,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4,html[data-theme="dark"] label{color:#f8fafc!important}
html.dark p,html.dark li,html.dark summary,html[data-theme="dark"] p,html[data-theme="dark"] li,html[data-theme="dark"] summary{color:#dbeafe!important}
html.light input,html.light textarea,html.light select,html.light .sch-output,html[data-theme="light"] input,html[data-theme="light"] textarea,html[data-theme="light"] select,html[data-theme="light"] .sch-output{
  background:#fff!important;color:#0f172a!important;border-color:rgba(15,23,42,.18)!important;
}
html.dark input,html.dark textarea,html.dark select,html.dark .sch-output,html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select,html[data-theme="dark"] .sch-output{
  background:rgba(2,6,23,.72)!important;color:#f8fafc!important;border-color:rgba(148,163,184,.28)!important;
}
