/* Shared member surfaces use the same persisted theme, including utility pages. */
html[data-lumina-theme=dark] body{background:#211b20!important;color:#fff1e8}
html[data-lumina-theme=dark] body :is(.lml-language-shell,.lm-language-page,.lms-app,.lsd-workspace,.lsd-page,.lsd-workspace-main,.lsd-main){background:var(--lmc-bg,#211b20)!important;color:var(--lmc-ink,#fff1e8)!important}
html[data-lumina-theme=dark] body :is(.lml-language-card,.lms-hero,.lms-empty,.lms-guide,.lms-guide-grid article,.lf-identity-panel,.lsd-card,.lsd-notice,.lsd-success,.lsd-form,.lsd-intro,.lsd-hero,.lsd-guide,.lsd-workspace-sidebar){background:var(--lmc-card,#30272e)!important;border-color:var(--lmc-line,#57444e)!important;color:var(--lmc-ink,#fff1e8)!important;box-shadow:none!important}
html[data-lumina-theme=dark] body :is(.lml-language-shell,.lms-app,.lsd-page,.lsd-workspace) :is(h1,h2,h3,h4,p,label,small,summary,legend,li,strong,span,figcaption){color:var(--lmc-ink,#fff1e8)!important}
html[data-lumina-theme=dark] body :is(.lm-language-page,.lms-app,.lsd-page,.lsd-workspace) :is(input,select,textarea){background:#211b20!important;color:#fff1e8!important;border-color:#79636e!important;box-shadow:none!important}
html[data-lumina-theme=dark] body :is(.lml-language-shell,.lms-app,.lsd-page,.lsd-workspace) a:not(.lf-button):not(.lsd-button):not(.lmc-link){color:#f4c9da!important}
html[data-lumina-theme=dark] body :is(.lf-member-header,.lf-public-header,dialog#lumina-mobile-navigation){background:#30272e!important;color:#fff1e8!important;border-color:#57444e!important}
html[data-lumina-theme=dark] body :is(.lf-member-header,.lf-public-header) :is(a,summary,button){color:#fff1e8!important}
html[data-lumina-theme=dark] body :is(.lf-member-header,.lf-public-header) .lf-brand{background:#fff9f2!important;border-radius:12px;padding:5px 9px;box-sizing:border-box}
html[data-lumina-theme=dark] body .lf-language-panel,html[data-lumina-theme=dark] body .lf-native-language-list{background:#30272e!important;color:#fff1e8!important}
html[data-lumina-theme=dark] body .lf-native-language-choice{background:#30272e!important;color:#fff1e8!important;border-color:#57444e!important}
html[data-lumina-theme=dark] body .lf-native-language-choice[aria-pressed=true]{background:#63404c!important}
html[data-lumina-theme=dark] body dialog#lumina-mobile-navigation :is(.lmc-link,.lf-menu-close){color:#fff1e8!important;background:transparent!important}
html[data-lumina-theme=dark] body dialog#lumina-mobile-navigation .lmc-logout{color:#ff9d9d!important}
html body .lf-member-header dialog#lumina-mobile-navigation #pd-navigation.lmc-nav,html body.lms-page .lms-sidebar #pd-navigation.lmc-nav{display:flex!important;flex-direction:column!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
html body .lf-member-header dialog#lumina-mobile-navigation #pd-navigation.lmc-nav a{width:100%!important;grid-column:1/-1!important}
html body.lms-page .lms-sidebar #pd-navigation[hidden]{display:none!important}
.gtranslate_wrapper{display:none!important}
html[data-lumina-theme=dark] body .lml-language-art span,html[data-lumina-theme=dark] body .lms-chips span{background:#493440!important;color:#fff1e8!important;border-color:#79636e!important}
html[data-lumina-theme=dark] body:has(.lml-language-shell,.lms-app,.lsd-page) :is(#content,.lumina-community,.lms-app>.lumina-admin){background:#211b20!important;color:#fff1e8!important}
html[data-lumina-theme=dark] body .lml-language-card :is(button,a.lumina-secondary){color:#fff1e8!important}
/* Contrast corrections for legacy high-specificity cards and header controls. */
html[data-lumina-theme=dark] body .lms-app .lms-sidebar.lmc-sidebar,html[data-lumina-theme=dark] body .lsd-safety-shell .lsd-workspace-sidebar.lmc-sidebar{background:#30272e!important;color:#fff1e8!important;border-color:#57444e!important}
html[data-lumina-theme=dark] body :is(.lsd-intake-hero,.lsd-report-form,.lsd-intake-guide,.lsd-safety-content,.lsd-safety-shell){background:#30272e!important;color:#fff1e8!important;border-color:#57444e!important;box-shadow:none!important}
html[data-lumina-theme=dark] body :is(.lsd-intake-hero,.lsd-report-form,.lsd-intake-guide) :is(h1,h2,h3,p,small,label,span,strong,li){color:#fff1e8!important}
html[data-lumina-theme=dark] body .lumina-community .lm-language-page .lml-language-card :is(select,input){background:#211b20!important;color:#fff1e8!important;border-color:#79636e!important;box-shadow:none!important}
html[data-lumina-theme=dark] body .lumina-community .lm-language-page .lml-language-card a.lumina-secondary{background:#493440!important;color:#fff1e8!important;border:1px solid #79636e!important;box-shadow:none!important;padding:12px 18px!important}
html[data-lumina-theme=dark] body .lf-public-header .lf-header-actions>a.lf-button,html[data-lumina-theme=dark] body .lf-member-header nav[aria-label="Account actions"]>a,html[data-lumina-theme=dark] body .lf-member-header a.lsd-alert{background:#493440!important;color:#fff1e8!important;border:1px solid #79636e!important;box-shadow:none!important}
html[data-lumina-theme=dark] body .lf-member-header nav[aria-label="Account actions"]>a svg{stroke:#fff1e8!important}
html[data-lumina-theme=dark] body .lml-language-card button{background:#63404c!important;color:#fff1e8!important;border:1px solid #79636e!important;box-shadow:none!important}
html[data-lumina-theme=dark] body .lf-member-header dialog#lumina-mobile-navigation .lml-drawer-sidebar .lmc-nav .lmc-link[aria-current=page]{background:#63404c!important;color:#fff1e8!important}
html[data-lumina-theme=dark] body .lf-member-header dialog#lumina-mobile-navigation .lf-mobile-menu-top>span{color:#fff1e8!important}
html[data-lumina-theme=dark] body .lf-member-header dialog#lumina-mobile-navigation button.lf-drawer-close{background:#63404c!important;color:#fff1e8!important;border:1px solid #ad8194!important;box-shadow:none!important}
html[data-lumina-theme=dark] body .pd-app .pd-sidebar.lmc-sidebar,html[data-lumina-theme=dark] body .lumina-member .lm-sidebar.lmc-sidebar,html[data-lumina-theme=dark] body .lml-language-shell .pd-sidebar.lmc-sidebar{background:#30272e!important;color:#fff1e8!important}
html[data-lumina-theme=dark] body #pd-main .lf-plan-catalog .lf-plan-card{background:#30272e!important;border-color:#79636e!important;color:#fff1e8!important;box-shadow:none!important}
html[data-lumina-theme=dark] body #pd-main .lf-plan-catalog .lf-plan-platinum{background:#4b2636!important}
html[data-lumina-theme=dark] body #pd-main .lf-plan-card :is(p,h2,h3,li,span,strong,small){color:#fff1e8!important}
html[data-lumina-theme=dark] body #pd-main .lf-plan-card button{background:#63404c!important;color:#fff1e8!important;border:1px solid #ad8194!important;box-shadow:none!important}
html[data-lumina-theme=dark] body #pd-main .pd-membership-hero,html[data-lumina-theme=dark] body #pd-main .pd-features>*{background:#30272e!important;border-color:#79636e!important;color:#fff1e8!important;box-shadow:none!important}
html[data-lumina-theme=dark] body #pd-main :is(.pd-membership-hero,.pd-features) :is(h1,h2,h3,p,span,strong,small,li){color:#fff1e8!important}

/* Flat dark-mode controls: no glossy gradients or inset highlights. */
html[data-lumina-theme="dark"] body :is(button,.lf-button,.la-button,.pd-button,.lmd-button,[role="button"],input[type="submit"]),html[data-lumina-theme="dark"] body :is(button,.lf-button,.la-button,.pd-button,.lmd-button,[role="button"],input[type="submit"]):is(:hover,:focus,:active){box-shadow:none!important;text-shadow:none!important;background-image:none!important;filter:none!important}
html[data-lumina-theme="dark"] body :is(button,.lf-button,.la-button,.pd-button,.lmd-button,[role="button"])::before,html[data-lumina-theme="dark"] body :is(button,.lf-button,.la-button,.pd-button,.lmd-button,[role="button"])::after{box-shadow:none!important;background-image:none!important;filter:none!important}
