/* InterfaceNetworld day/night theme: accessible palette & neon accents */
:root{color-scheme:light;--theme-page:#fffef8;--theme-cream:#fbf6e9;--theme-eggshell:#f3eee0;--theme-ink:#1b2a20;--theme-secondary:#506652;--theme-border:rgba(35,111,52,.21);--theme-neon:#73e827;--theme-glow:0 0 22px rgba(91,241,31,.20)}
html[data-inw-theme="night"]{color-scheme:dark;--theme-page:#030504;--theme-cream:#090e0b;--theme-eggshell:#101711;--theme-ink:#eef7e9;--theme-secondary:#a2b5a3;--theme-border:rgba(133,255,68,.28);--theme-neon:#a6ff55;--theme-glow:0 0 28px rgba(113,255,48,.24)}
body.interface-ux,body[data-page=apps],body:has(.native-shell),body:has(.account-shell),body:has(.auth-layout),body:has(.section-wrap),body[data-page=operations]{background:radial-gradient(circle at 85% 12%,rgba(103,255,52,.085),transparent 34%),var(--theme-page)!important;color:var(--theme-ink)!important;transition:background-color .25s,color .25s}
.ux-header,.ux-side,.ux-card,.ux-sheet,.ux-bottom,.nh-brand-bar,.nh-launcher-feature,.nh-launcher-preview a,body[data-page=apps] .app-tile,body:has(.native-shell) .native-side,body:has(.native-shell) .n-card,body[data-page=operations] .op-card,.account-card,.account-widgets article,.topbar,.auth-topbar,.auth-card{background:var(--theme-cream)!important;color:var(--theme-ink)!important;border-color:var(--theme-border)!important}
.ux-side a,.ux-nav a,.ux-action,button.ux-action,.nh-brand-bar a,.nh-launcher-preview a,body[data-page=apps] .launcher-filters button,body[data-page=apps] #appSearch,body:has(.native-shell) .native-nav a,.ux-bottom a,.nh-launcher-feature p,.ux-card p,.ux-muted,.ux-card label{color:var(--theme-ink)!important}
.ux-action,button.ux-action,.ux-nav a,.nh-brand-bar a,body[data-page=apps] .launcher-filters button,body[data-page=apps] #appSearch{background:var(--theme-eggshell)!important;border-color:var(--theme-border)!important}
.ux-nav a[aria-current=page],.ux-action.primary,body[data-page=apps] .launcher-filters button[aria-pressed=true]{background:linear-gradient(130deg,#dfff9d,#83e849)!important;color:#071307!important;box-shadow:var(--theme-glow)}
.ux-side a:hover,.ux-side a[aria-current=page],body:has(.native-shell) .native-nav a:hover,body:has(.native-shell) .native-nav a.active{background:rgba(98,230,35,.15)!important;color:var(--theme-ink)!important}
.ux-muted,.ux-card p,.nh-launcher-feature p,body[data-page=apps] .app-tile p{color:var(--theme-secondary)!important}
.ux-bottom,.ux-header,.topbar{backdrop-filter:blur(17px)}
.ux-sheet{box-shadow:0 -12px 75px rgba(0,0,0,.24)}
.ux-kicker,.ux-status{color:#668d16!important}html[data-inw-theme=night] .ux-kicker,html[data-inw-theme=night] .ux-status{color:#f3cb75!important}
html[data-inw-theme=night] .ux-side,html[data-inw-theme=night] .ux-card,html[data-inw-theme=night] body[data-page=apps] .app-tile{box-shadow:inset 0 1px rgba(158,255,84,.08),var(--theme-glow)}
html[data-inw-theme=night] body:has(.native-shell) .native-side{background:#050806!important}
html[data-inw-theme=night] .ux-bottom{background:#050805!important}
html[data-inw-theme=night] .ux-action,html[data-inw-theme=night] button.ux-action,html[data-inw-theme=night] .ux-nav a{color:#e9fbe2!important}
html[data-inw-theme=night] .ux-nav a[aria-current=page],html[data-inw-theme=night] .ux-action.primary{color:#061306!important}
html[data-inw-theme=night] body[data-page=apps] .app-tile{background:linear-gradient(155deg,#102619,#030906)!important}
html:not([data-inw-theme=night]) body[data-page=apps] .app-tile{background:linear-gradient(155deg,#fffefa,#f2efdf)!important}
html:not([data-inw-theme=night]) .ux-bottom{background:#fffef7!important}
html:not([data-inw-theme=night]) .ux-header{background:#fffdf4!important}
html:not([data-inw-theme=night]) body:has(.native-shell) .native-side{background:#f6f3e9!important}
html:not([data-inw-theme=night]) body:has(.native-shell){--n-bg:#fffdf7;--n-panel:#fffaf0;--n-panel2:#f1efdf;--n-text:#142918;--n-muted:#4a614e;--n-line:rgba(32,114,43,.2)}
#uxThemeChoice{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
#uxThemeChoice label{display:flex;align-items:center;gap:8px;padding:12px 16px;background:var(--theme-eggshell);border:1px solid var(--theme-border);border-radius:14px;cursor:pointer}
#uxThemeChoice label:has(input:checked){border-color:#62c63c;box-shadow:var(--theme-glow)}
#uxThemeChoice input{accent-color:#5acb25}
@media(prefers-reduced-motion:reduce){body.interface-ux,body[data-page=apps]{transition:none!important}}
