/* Consistent readable contrast for light/dark themes across core forms and admin content. */
html[data-theme="light"] body{color:#172033}
html[data-theme="light"] body.admin-page #adminContent :is(h1,h2,h3,h4,h5,b,strong,label,th,td){color:#1c293c}
html[data-theme="light"] body.admin-page #adminContent :is(p,small,.muted,.hint,.help-text){color:#59677b!important}
html[data-theme="light"] body.admin-page #adminContent :is(input:not([type=checkbox]):not([type=radio]),select,textarea){color:#1b283a;background:#fff;border-color:#ccd5e1}
html[data-theme="light"] body.admin-page #adminContent :is(input,textarea,select)::placeholder{color:#68768a;opacity:1}
html[data-theme="light"] body.admin-page #adminContent .panel,html[data-theme="light"] body.admin-page #adminContent .card{background:#fff;border-color:#dce3ec}
html[data-theme="light"] body.admin-page #adminContent .table th{background:#f0f3f8;color:#344256}
html[data-theme="dark"] body.admin-page #adminContent :is(h1,h2,h3,h4,h5,b,strong,label,th,td){color:#edf2fa}
html[data-theme="dark"] body.admin-page #adminContent :is(p,small,.muted,.hint,.help-text){color:#b6c2d2!important}
html[data-theme="dark"] body.admin-page #adminContent :is(input:not([type=checkbox]):not([type=radio]),select,textarea){color:#f1f5fb;background:#111a27;border-color:#39475a}
html[data-theme="dark"] body.admin-page #adminContent :is(input,textarea,select)::placeholder{color:#9eacbf;opacity:1}
html[data-theme="dark"] body.admin-page #adminContent .panel,html[data-theme="dark"] body.admin-page #adminContent .card{background:#182231;border-color:#334155}
html[data-theme="dark"] body.admin-page #adminContent .table th{background:#202d3f;color:#f2f5fa}
html[data-theme="light"] body.home-page :is(.section-title h2,.card h1,.card h2,.card h3,.tool-main h3,.tool-side h3){color:#1b283a}
html[data-theme="light"] body.home-page :is(.card p,.card small,.muted,.hint){color:#59677b!important}
html[data-theme="light"] body.home-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){color:#1b283a;background:#fff;border-color:#cbd5e1}
html[data-theme="light"] body.home-page :is(input,textarea,select)::placeholder{color:#66758a;opacity:1}
html[data-theme="dark"] body.home-page :is(.section-title h2,.card h1,.card h2,.card h3,.tool-main h3,.tool-side h3){color:#f2f5fb}
html[data-theme="dark"] body.home-page :is(.card p,.card small,.muted,.hint){color:#b7c2d1!important}
html[data-theme="dark"] body.home-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){color:#f1f5fb;background:#111a27;border-color:#3a485c}
html[data-theme="dark"] body.home-page :is(input,textarea,select)::placeholder{color:#a7b4c6;opacity:1}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
