/* One extra-bright palette for all current screens; no brightness filter on text. */
body.extra-bright{color-scheme:light}
body.extra-bright.member-shell:not(.home-reference),body.extra-bright:not(.member-shell){background:radial-gradient(at 5% 5%,var(--primary),transparent 58%),radial-gradient(at 100% 95%,var(--selected),transparent 60%),var(--bg)!important;color:var(--eb-ink)!important}
body.extra-bright.member-shell:not(.home-reference):not(.dashboard-reference) #appRoot,body.extra-bright:not(.member-shell) :is(.mobile-wrapper,.screen){background:var(--surface)!important;border-color:var(--text)!important;color:var(--eb-ink)!important}
body.extra-bright :is(button,input,select,textarea,a,summary){-webkit-tap-highlight-color:var(--effect-primary-2510)}
body.extra-bright :is(button,input,select,textarea):disabled{opacity:1!important;cursor:not-allowed}
body.extra-bright.member-shell #view-dashboard .od-shell{background:linear-gradient(180deg,var(--primary) 0,var(--primary) 180px,var(--selected) 430px,var(--surface) 640px)!important}
body.extra-bright.member-shell #view-dashboard .od-header .od-member :is(strong,small,span){color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-header-actions button{background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-balance{background:radial-gradient(at 100% 0,var(--selected),transparent 75%),linear-gradient(120deg,var(--primary),var(--primary))!important;border:1px solid var(--primary)!important;box-shadow:0 8px 24px var(--effect-primary-1882)!important}
body.extra-bright.member-shell #view-dashboard .od-balance :is(.od-balance-label,.od-balance-slot #mBalance,.od-eye-slot .balance-eye){color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-balance .od-wallet-button{background:linear-gradient(120deg,var(--primary),var(--primary))!important;color:var(--text)!important;border:1px solid var(--primary)!important;box-shadow:0 3px 9px var(--effect-primary-1451)!important}
body.extra-bright.member-shell #view-dashboard .od-totals-slot .balance-totals{border-top-color:var(--effect-border-4000)!important}
body.extra-bright.member-shell #view-dashboard .od-totals-slot .balance-totals :is(button,span,b){color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-task-grid article{background:var(--surface)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-task-grid button{background:var(--primary)!important;color:var(--text)!important;border-color:var(--text)!important;font-weight:700!important}
body.extra-bright.member-shell #view-dashboard .od-task-grid article:nth-child(1) .od-task-art{background:linear-gradient(130deg,var(--selected),var(--primary))!important}
body.extra-bright.member-shell #view-dashboard .od-task-grid article:nth-child(2) .od-task-art{background:linear-gradient(130deg,var(--selected),var(--primary))!important}
body.extra-bright.member-shell #view-dashboard .od-task-grid article:nth-child(3) .od-task-art{background:linear-gradient(130deg,var(--bg),var(--surface-soft))!important}
body.extra-bright.member-shell #view-dashboard .od-task-grid article:nth-child(4) .od-task-art{background:linear-gradient(130deg,var(--surface-soft),var(--success))!important}
body.extra-bright.member-shell #view-dashboard :is(.od-rewards>button,.od-metrics>button,.od-shortcuts-slot .member-shortcut,.od-support>button){background:var(--surface)!important;border:1px solid var(--primary)!important;color:var(--text)!important;box-shadow:0 4px 12px var(--effect-primary-627)!important}
body.extra-bright.member-shell #view-dashboard .od-rewards>button:disabled{background:var(--bg)!important;color:var(--muted)!important;opacity:1!important}
body.extra-bright.member-shell #view-dashboard .od-rewards>button :is(span,small){color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-plans-slot .member-record{background:var(--surface)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-referral-slot .member-referral{background:linear-gradient(125deg,var(--surface-soft),var(--surface-soft))!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-referral-slot .member-referral button{background:var(--primary)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .od-referral-slot .member-referral button :is(span,.mi){color:var(--text)!important;stroke:currentColor!important}
/* All account routes: history, programmes, support, profile and payment forms. */
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) :is(.screen,.member-page-heading){background:var(--surface)!important;color:var(--text)!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) :is(.glass-card,.member-record,.member-empty,.v26-panel,.subtle,.gateway,.gateway-choice){background:var(--surface)!important;border-color:var(--text)!important;color:var(--text)!important;box-shadow:0 4px 15px var(--effect-primary-706)!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) :is(.btn,.member-primary){background:linear-gradient(120deg,var(--primary),var(--primary))!important;color:var(--text)!important;border-color:var(--text)!important;font-weight:700!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) :is(.btn,.member-primary) :is(span,strong,b,.mi){color:var(--text)!important;stroke:currentColor!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) :is(.small-btn,.member-back){background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell :is(#view-deposit,#view-withdraw,#view-profile,#view-password,#view-support) :is(input,select,textarea){background:var(--surface)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-team .v26-team-hero{background:linear-gradient(125deg,var(--surface-soft),var(--primary))!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-team .v26-team-hero-totals>div{background:var(--bg)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-team .v26-metric:nth-child(1){background:var(--surface-soft)!important}
body.extra-bright.member-shell #view-team .v26-metric:nth-child(2){background:var(--surface-soft)!important}
body.extra-bright.member-shell #view-team .v26-metric:nth-child(3){background:var(--bg)!important}
body.extra-bright.member-shell #view-team .v26-metric:nth-child(4){background:var(--surface-soft)!important}
body.extra-bright.member-shell #view-team .v26-level{background:var(--bg)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-team .v26-level.selected{background:var(--primary)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-team .v26-ref-copy button{background:var(--primary)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-team .v26-ref-copy button :is(span,.mi){color:var(--text)!important;stroke:currentColor!important}
/* Authentication retains its reference-shaped card. */
body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .v26-auth-art{background:radial-gradient(at 100% 0,var(--selected),transparent 70%),linear-gradient(125deg,var(--primary),var(--primary))!important}
body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .v26-auth-art :is(h1,p),body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .auth-reference-brand :is(span,b){color:var(--text)!important}
body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .split-switch-button{background:var(--surface-soft)!important;border-color:var(--text)!important;color:var(--text)!important}
body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .v26-auth-card{background:var(--surface)!important}
body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .v26-auth-card input{background:var(--bg)!important;border-color:var(--text)!important;color:var(--text)!important}
body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .v26-auth-card button[type=submit]{background:linear-gradient(120deg,var(--primary),var(--primary))!important;color:var(--text)!important;border:1px solid var(--primary)!important}
/* Navigation and dialogs share the same bright palette. */
body.extra-bright #sideDrawer{background:var(--bg)!important;border-color:var(--text)!important}
body.extra-bright #sideDrawer .drawer-top{background:linear-gradient(125deg,var(--primary),var(--primary))!important;border-color:var(--text)!important}
body.extra-bright #sideDrawer .drawer-top :is(h3,p,small,span,strong,b,.muted){color:var(--text)!important}
body.extra-bright #sideDrawer .drawer-top .close{background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright #sideDrawer .drawer-top .close i{color:var(--text)!important}
body.extra-bright.member-shell #sideDrawer :is(.drawer-links,#userDrawerMenu){background:var(--bg)!important}
body.extra-bright.member-shell #sideDrawer #userDrawerMenu button{color:var(--text)!important}
body.extra-bright.member-shell #sideDrawer #userDrawerMenu button.menu-active{background:var(--primary)!important;border-color:var(--text)!important;color:var(--text)!important}
body.extra-bright.member-shell #sideDrawer #userDrawerMenu .nav-guest-actions button{background:var(--primary)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #bottomNav,body.extra-bright.member-shell #bottomNav button{background:var(--surface)!important;border-color:var(--text)!important;color:var(--muted)!important}
body.extra-bright.member-shell #bottomNav button.selected{background:var(--selected)!important;color:var(--text)!important}
body.extra-bright .modal .modal-card{background:var(--surface)!important;border-color:var(--text)!important;box-shadow:0 16px 48px var(--effect-text-1608)!important}
body.extra-bright .modal .modal-card :is(h2,h3,h4,strong,b,dd){color:var(--text)!important}
body.extra-bright .modal .modal-card :is(p,small,dt,.muted){color:var(--muted)!important;opacity:1!important}
body.extra-bright .modal .modal-card :is(.btn,.member-primary){background:var(--primary)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright .modal .modal-card .member-primary span{color:var(--text)!important}
/* Home hero, feature cards, FAQ, CTAs and footer. */
body.extra-bright.member-shell.home-reference #view-home .lh-blue-top{background:radial-gradient(at 90% 0,var(--selected),transparent 65%),linear-gradient(125deg,var(--primary),var(--primary))!important}
body.extra-bright.member-shell.home-reference #view-home .lh-hero-copy :is(h1,h1 em,p,.lh-kicker),body.extra-bright.member-shell.home-reference #view-home .lh-nav .lh-brand :is(span,b){color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-nav-links button{color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-nav-links.is-open{background:var(--surface-soft)!important;border-color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-payment-line :is(span,b){color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-feature-cyan{background:var(--surface-soft)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-feature-orange{background:var(--selected)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-feature-yellow{background:var(--selected)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-feature-pink{background:var(--bg)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-faq{background:linear-gradient(130deg,var(--primary),var(--selected))!important}
body.extra-bright.member-shell.home-reference #view-home .lh-faq :is(.lh-kicker,h2,h3,.lh-section-heading p){color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-faq details{background:var(--bg)!important;border-color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-faq details :is(summary,p,span){color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-faq-art{background:var(--surface-soft)!important;color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-faq-art :is(h3,p){color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-footer{background:linear-gradient(120deg,var(--primary),var(--surface-soft))!important}
body.extra-bright.member-shell.home-reference #view-home .lh-footer :is(h2,h3,h4,strong,b,p,small,span,button,.lh-footer-bottom){color:var(--text)!important;opacity:1!important}
body.extra-bright.member-shell.home-reference #view-home .lh-footer .lh-brand :is(span,b){color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-footer-bottom{border-color:var(--effect-border-4000)!important}
/* Every administrative section uses these same readable controls and cards. */
body.extra-bright:not(.member-shell) #appRoot>header.row{background:var(--surface-soft)!important;border-color:var(--text)!important}
body.extra-bright:not(.member-shell) #view-admin .glass-card.dark{background:linear-gradient(120deg,var(--selected),var(--primary))!important;border-color:var(--text)!important}
body.extra-bright:not(.member-shell) :is(.btn,.admin-tabs button.selected){background:linear-gradient(125deg,var(--primary),var(--primary))!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright:not(.member-shell) .btn :is(span,strong,b){color:var(--text)!important}
body.extra-bright:not(.member-shell) :is(.small-btn,.tab,.admin-tabs button){background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright:not(.member-shell) :is(input,select,textarea){background:var(--bg)!important;border-color:var(--text)!important;color:var(--text)!important}
body.extra-bright:not(.member-shell) .candy-blue{background:linear-gradient(130deg,var(--surface-soft),var(--info))!important}
body.extra-bright:not(.member-shell) .candy-teal{background:linear-gradient(130deg,var(--surface-soft),var(--success))!important}
body.extra-bright:not(.member-shell) .candy-pink{background:linear-gradient(130deg,var(--surface-soft),var(--surface-soft))!important}
body.extra-bright:not(.member-shell) .candy-purple{background:linear-gradient(130deg,var(--surface-soft),var(--surface-soft))!important}
body.extra-bright:not(.member-shell) .candy-gold{background:linear-gradient(130deg,var(--selected),var(--primary))!important}
body.extra-bright:not(.member-shell) #sideDrawer .drawer-links button,body.extra-bright:not(.member-shell) #sideDrawer .admin-nav-group summary{background:var(--bg)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright:not(.member-shell) #sideDrawer .drawer-links button.selected{background:var(--primary)!important;color:var(--text)!important}
body.extra-bright .request-status.pending{background:var(--selected)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright .request-status:is(.approved,.active,.enabled,.successful){background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright .request-status:is(.rejected,.blocked,.disabled){background:var(--bg)!important;color:var(--muted)!important;border-color:var(--text)!important}
body.extra-bright :is(.small-btn.danger,.btn.danger){background:var(--bg)!important;color:var(--muted)!important;border-color:var(--text)!important}
body.extra-bright :is(.small-btn.success,.btn-teal){background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .profit-cycle::before{background:linear-gradient(145deg,var(--surface-soft),var(--selected))!important;border-color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .profit-cycle .profit-digit b,body.extra-bright.member-shell #view-dashboard .profit-cycle .profit-separator{color:var(--text)!important}
body.extra-bright.member-shell #view-dashboard .profit-cycle .profit-cycle-title::after,body.extra-bright.member-shell #view-dashboard .profit-cycle .profit-cycle-amount strong{color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-button:not(.lh-white):not(.lh-login-highlight){background:linear-gradient(120deg,var(--primary),var(--primary))!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-button:not(.lh-white):not(.lh-login-highlight) span{color:var(--text)!important}
body.extra-bright.member-shell.home-reference #view-home .lh-faq-symbol{background:var(--selected)!important;color:var(--text)!important;border-color:var(--text)!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) :is(.candy,.member-balance){background:linear-gradient(120deg,var(--selected),var(--primary))!important;border-color:var(--text)!important;color:var(--text)!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) :is(.candy,.member-balance) :is(span,b,strong,p,h2,.balance){color:var(--text)!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) .logo:not(:has(img)){background:var(--primary)!important;border-color:var(--text)!important;color:var(--text)!important}
body.extra-bright.member-shell main>section.app-screen:not(#view-home):not(#view-dashboard):not(#view-auth) .logo:not(:has(img)) span{color:var(--text)!important}
body.extra-bright :is(h1,h2,h3,h4,p,small,strong,b,dt,dd,button,a){text-shadow:none!important}
body.extra-bright :is(.btn,.small-btn,.member-primary){box-shadow:0 4px 12px var(--effect-primary-1333)!important}
body.extra-bright #toastMessage{background:var(--surface-soft)!important;color:var(--text)!important;border:1px solid var(--border)!important;box-shadow:0 5px 16px var(--effect-muted-1490)!important}
body.extra-bright #toastMessage :is(span,b,strong,i){color:var(--text)!important}
body.extra-bright.member-shell .od-bottom{background:var(--surface)!important;border-color:var(--text)!important}
body.extra-bright.member-shell .od-bottom button{color:var(--text)!important}
body.extra-bright.member-shell .od-bottom button.od-selected{color:var(--muted)!important}

/* Explicit foreground/background pairs, including inherited legacy text rules. */
body.extra-bright :is(input,select,textarea){color:var(--text)!important;background:var(--surface)!important;border-color:var(--border)!important}
body.extra-bright :is(input,textarea)::placeholder{color:var(--muted)!important;opacity:1!important}
body.extra-bright :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus)!important;outline-offset:3px}
body.extra-bright.member-shell.home-reference #view-home :is(.lh-white,.lh-login-highlight){background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
body.extra-bright.member-shell.home-reference #view-home :is(.lh-white,.lh-login-highlight) span{color:var(--text)!important}
body.extra-bright :is(.btn,.small-btn,.member-primary):disabled{background:var(--surface-soft)!important;color:var(--muted)!important;border-color:var(--border)!important}
body.extra-bright .request-status:is(.approved,.active,.enabled,.successful){color:var(--success-text)!important;background:var(--success)!important}
body.extra-bright .request-status:is(.rejected,.blocked,.disabled){color:var(--danger-text)!important;background:var(--danger)!important}
/* Interpolate enhanced gradients in OKLCH without breaking older browsers. */
@supports (background:linear-gradient(120deg in oklch, red, blue)) {
 body.extra-bright.member-shell.home-reference #view-home .lh-blue-top,
 body.extra-bright.member-shell #view-dashboard .od-balance,
 body.extra-bright #sideDrawer .drawer-top,
 body.extra-bright.member-shell #view-auth .v26-auth.reference-auth .v26-auth-art{background:linear-gradient(125deg in oklch,var(--primary),var(--accent))!important}
 body.extra-bright :is(.btn,.member-primary){background:linear-gradient(120deg in oklch,var(--primary),var(--accent))!important;color:var(--on-primary)!important}
}
