/* RC166: high contrast profile education hero for light, dim and dark modes. */
html body .sk-shell[data-sk-l10n-surface="profile"] > .sk-hero{
  background:linear-gradient(110deg,#163751 0%,#15384c 54%,#285267 100%)!important;
  border:1px solid #466c80!important;color:#f7fbff!important;
  box-shadow:0 14px 35px rgba(12,36,59,.15)!important;
}
html body .sk-shell[data-sk-l10n-surface="profile"] > .sk-hero :is(h1,h2,h3,strong){
  color:#ffffff!important;opacity:1!important;text-shadow:none!important;
}
html body .sk-shell[data-sk-l10n-surface="profile"] > .sk-hero :is(p,small,span,.sk-kicker){
  color:#e0ecf7!important;opacity:1!important;
}
/* This card is never a giant dark layer with dark headings in day mode. */
html:not(.lessonsky-dark):not(.lessonsky-dim) body .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card{
  background:#fafcff!important;color:#152b43!important;border-color:#cbd9e8!important;
}
html:not(.lessonsky-dark):not(.lessonsky-dim) body .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card :is(h2,h3,legend,strong,label){
  color:#15304c!important;
}
html:not(.lessonsky-dark):not(.lessonsky-dim) body .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card :is(p,small,.sk-hint){
  color:#40566f!important;opacity:1!important;
}
:is(html.lessonsky-dim body,body.lessonsky-dim) .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card{
  background:#e9eef5!important;color:#172e49!important;border-color:#aabbd0!important;
}
:is(html.lessonsky-dim body,body.lessonsky-dim) .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card :is(h2,h3,legend,strong,label){color:#183450!important}
:is(html.lessonsky-dim body,body.lessonsky-dim) .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card :is(p,small,.sk-hint){color:#405875!important}
:is(html.lessonsky-dark body,body.lessonsky-dark) .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card{
  background:#192d47!important;color:#f0f6ff!important;border-color:#496585!important;
}
:is(html.lessonsky-dark body,body.lessonsky-dark) .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card :is(h2,h3,legend,strong,label){color:#f1f7ff!important;opacity:1!important}
:is(html.lessonsky-dark body,body.lessonsky-dark) .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card :is(p,small,.sk-hint){color:#c9d8ed!important;opacity:1!important}
:is(html.lessonsky-dark body,body.lessonsky-dark) .sk-shell[data-sk-l10n-surface="profile"] .sk-form > .sk-card :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#10243d!important;color:#f0f7ff!important;border-color:#7390af!important}
/* QR / grade QA overlay: a three-theme icon sits BESIDE Test Modu, never underneath it. */
#sk-qa-overlay.sk146-root .sk146-launcher .sk117-quick-theme.sk166-theme-qa-docked{
  position:relative!important;inset:auto!important;display:inline-flex!important;
  width:44px!important;height:44px!important;flex:0 0 44px!important;
  margin:0 2px 0 0!important;pointer-events:auto!important;z-index:4!important;
}
#sk-qa-overlay.sk146-root .sk146-launcher .sk117-quick-theme.sk166-theme-qa-docked button{
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  border-radius:14px!important;pointer-events:auto!important;
}
#sk-qa-overlay.sk146-root .sk146-launcher{max-width:calc(100vw - 16px);gap:6px!important;flex-wrap:nowrap!important}
#sk-qa-overlay.sk146-root .sk146-launcher .sk146-return-mini{max-width:112px;white-space:normal;text-align:center}
/* Reminder only on synthetic QA preview. No account preference is saved. */
.sk166-qa-readonly{
  margin:10px 0 16px;padding:11px 15px;border-radius:13px;
  border:1px solid #a7c2df;background:#eaf3ff;color:#183c65;
  font-size:13px;font-weight:700;line-height:1.55;
}
:is(html.lessonsky-dark body,body.lessonsky-dark) .sk166-qa-readonly{
  background:#1d3c5b;border-color:#628bb6;color:#eff7ff;
}
:is(html.lessonsky-dim body,body.lessonsky-dim) .sk166-qa-readonly{
  background:#dce8f6;border-color:#a1b9d4;color:#1c3b5d;
}
.sk166-qa-feedback{
  position:fixed;z-index:2147483100;left:50%;top:95px;transform:translateX(-50%);
  width:min(610px,calc(100vw - 24px));padding:14px 17px;border-radius:13px;
  background:#fff0f2;color:#891a35;border:1px solid #ec8fa2;
  box-shadow:0 14px 45px rgba(44,15,26,.22);font-size:14px;font-weight:750;
}
:is(html.lessonsky-dark body,body.lessonsky-dark) .sk166-qa-feedback{background:#471f34;color:#ffe9ef;border-color:#b65d80}
.sk166-qa-feedback:focus{outline:2px solid #4792e5;outline-offset:3px}
.sk166-recovery-code{font-size:13px;font-weight:700;overflow-wrap:anywhere}
.sk166-recovery-tech code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border:1px solid #aac2dd;border-radius:10px}
@media(max-width:700px){
  #sk-qa-overlay.sk146-root .sk146-launcher .sk117-quick-theme.sk166-theme-qa-docked,
  #sk-qa-overlay.sk146-root .sk146-launcher .sk117-quick-theme.sk166-theme-qa-docked button{
    width:36px!important;min-width:36px!important;height:38px!important;min-height:38px!important;flex-basis:36px!important;
  }
  .sk166-qa-feedback{top:70px;font-size:12px}
}
@media(forced-colors:active){.sk166-qa-readonly,.sk166-qa-feedback{forced-color-adjust:auto;background:Canvas;color:CanvasText;border:1px solid CanvasText}}
