/* LessonSky RC112: application readability for light/dark themes, no external resources. */
/* Controls get explicit foreground/background pairs; selectors exclude radios, buttons and swatches. */
html:not(.lessonsky-dark) body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),textarea,select){background-color:#fff!important;color:#142a43!important;border-color:#a5b8cd!important;caret-color:#142a43!important}
html:not(.lessonsky-dark) body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(input,textarea)::placeholder{color:#51657a!important;opacity:1!important}
html.lessonsky-dark body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),textarea,select){background-color:#111e30!important;color:#f3f7ff!important;border-color:#7c94af!important;caret-color:#f3f7ff!important}
html.lessonsky-dark body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(input,textarea)::placeholder{color:#bdcde0!important;opacity:1!important}
/* Normal flat cards and native tables can retain legible secondary labels without changing accent palettes. */
html:not(.lessonsky-dark) body :is(.sk-profile-center,.sk-learn-library-shell,.sk103-placement,.sk-habit-recovery) :is(.hint,.sk-muted,small,figcaption){color:#43566e!important;opacity:1!important}
html.lessonsky-dark body :is(.sk-profile-center,.sk-learn-library-shell,.sk103-placement,.sk-habit-recovery) :is(.hint,.sk-muted,small,figcaption){color:#c7d7e8!important;opacity:1!important}
html.lessonsky-dark body :is(.sk103-placement,.sk-learn-library-shell) :is(.sk-table,table){color:#edf4ff;border-color:#526a84}
html.lessonsky-dark body :is(.sk103-placement,.sk-learn-library-shell) :is(th,td){color:#e5eefb!important;border-color:#526a84!important}
/* A consistent keyboard ring works with mouse-free use and the system contrast option. */
html:not(.lessonsky-dark) body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(a,button,input,select,textarea,[role=button]):focus-visible{outline:3px solid #164e97!important;outline-offset:3px!important}
html.lessonsky-dark body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(a,button,input,select,textarea,[role=button]):focus-visible{outline:3px solid #a6d4ff!important;outline-offset:3px!important}
/* Avoid horizontal clipping of long labels and prevent iOS Safari zoom on input focus. */
@media(max-width:760px){body :is(.sk-shell,.sk-profile-center,.sk103-placement){min-width:0;max-width:100%}body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=url],textarea,select){font-size:max(16px,1rem);max-width:100%;box-sizing:border-box}body .sk103-placement :is(.sk103-overflow,.sk103-search){max-width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){body :is(.sk-profile-center,.sk-learn-library-shell,.sk103-placement) :is(a,button,input,select,textarea){scroll-behavior:auto!important;transition-duration:0.01ms!important}}
@media(forced-colors:active){body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(input,textarea,select){background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important}body :is(.sk-shell,.sk-profile-center,.sk103-placement) :is(a,button,input,select,textarea):focus-visible{outline-color:Highlight!important}}
