/* ENA Nexo V14 — global day/night and language controls */
.nexo-preferences{display:flex;align-items:center;gap:7px;padding-right:3px}
.nexo-pref-btn{height:40px;min-width:40px;padding:0 11px;border:1px solid rgba(255,255,255,.13);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:rgba(255,255,255,.055);color:#fff;font-size:10px;font-weight:800;letter-spacing:.05em;transition:.22s}
.nexo-pref-btn:hover{transform:translateY(-2px);border-color:rgba(185,255,102,.42);background:rgba(185,255,102,.08)}
.nexo-pref-btn [data-theme-icon]{font-size:15px;line-height:1}.nexo-pref-btn [data-theme-text]{font-size:9px}
.nexo-lang-btn{min-width:42px;color:var(--nx-lime)}
html[data-theme="light"]{--nx-bg:#eaf1f7;--nx-bg-2:#f5f8fb;--nx-surface:#fff;--nx-surface-2:#edf4f8;--nx-paper:#f4f7fa;--nx-ink:#0b1d2f;--nx-muted:#526476;--nx-line:rgba(10,37,63,.12);--nx-line-light:rgba(10,37,63,.12);color-scheme:light;background:#f4f7fa}
html[data-theme="light"] body{color:#0b1d2f!important;background:#f4f7fa!important}
html[data-theme="light"] .nova-noise{opacity:.018}
html[data-theme="light"] .nova-nav{color:#10283e;background:rgba(255,255,255,.86);border-color:rgba(15,51,83,.12);box-shadow:0 18px 60px rgba(36,72,105,.12)}
html[data-theme="light"] .nova-header.is-scrolled .nova-nav{background:rgba(255,255,255,.95);border-color:rgba(15,51,83,.1);box-shadow:0 18px 55px rgba(36,72,105,.16)}
html[data-theme="light"] .primary-nav a{color:rgba(10,37,61,.7)!important}html[data-theme="light"] .primary-nav a:hover,html[data-theme="light"] .primary-nav a.active{color:#09263c!important;background:rgba(20,73,108,.07)!important}
html[data-theme="light"] .nova-help{color:#123149;border-color:rgba(18,49,73,.12)}html[data-theme="light"] .nova-help span{color:#60798c}html[data-theme="light"] .menu-toggle{color:#123149!important;background:rgba(14,53,83,.06)!important;border-color:rgba(14,53,83,.12)!important}
html[data-theme="light"] .nexo-pref-btn{color:#14354d;background:rgba(14,53,83,.055);border-color:rgba(14,53,83,.12)}html[data-theme="light"] .nexo-lang-btn{color:#087e73}
html[data-theme="light"] .nova-hero{color:#0d2235;background:radial-gradient(circle at 78% 30%,rgba(41,215,200,.16),transparent 30%),radial-gradient(circle at 15% 72%,rgba(143,145,255,.13),transparent 32%),linear-gradient(142deg,#eef6fa 0%,#f8fbfd 52%,#e9f3f7 100%)}
html[data-theme="light"] .nova-hero::before{background-image:linear-gradient(rgba(9,45,71,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(9,45,71,.035) 1px,transparent 1px)}
html[data-theme="light"] .nova-eyebrow{color:#557082}html[data-theme="light"] .nova-hero h1{color:#0b2237!important}html[data-theme="light"] .nova-hero-copy>p{color:#526d80}html[data-theme="light"] .nova-hero h1 em{background:linear-gradient(96deg,#3b9200,#0d9488 52%,#1576a8);background-clip:text;-webkit-background-clip:text}
html[data-theme="light"] .nova-cta.primary{background:#0c382f;color:#fff}html[data-theme="light"] .nova-cta.ghost{border-color:rgba(14,53,83,.16);background:rgba(255,255,255,.6);color:#123149}html[data-theme="light"] .nova-proof-row>div{border-color:rgba(14,53,83,.15)}html[data-theme="light"] .nova-proof-row strong{color:#10283e}html[data-theme="light"] .nova-proof-row span{color:#61798b}
html[data-theme="light"] .nova-app-dock{border-color:rgba(20,60,89,.12);background:linear-gradient(140deg,rgba(255,255,255,.92),rgba(236,245,249,.88));box-shadow:0 30px 80px rgba(35,73,105,.14)}html[data-theme="light"] .app-dock-copy h2{color:#0d263d}html[data-theme="light"] .app-dock-copy>p{color:#5a7183}html[data-theme="light"] .nova-store-buttons button,html[data-theme="light"] .nova-store-buttons a{color:#10283e;background:rgba(255,255,255,.82);border-color:rgba(15,51,83,.13)}html[data-theme="light"] .nova-store-buttons small{color:#6c7d8b}
html[data-theme="light"] .nova-experience,html[data-theme="light"] .nova-console,html[data-theme="light"] .nova-map-section,html[data-theme="light"] .nova-ai-story,html[data-theme="light"] .nova-compliance{color:#10283e;background:#edf4f8}
html[data-theme="light"] .nova-experience h2,html[data-theme="light"] .nova-console h2,html[data-theme="light"] .nova-map-section h2,html[data-theme="light"] .nova-ai-story h2,html[data-theme="light"] .nova-compliance h2{color:#0b2237!important}
html[data-theme="light"] .experience-copy>p,html[data-theme="light"] .console-copy>p,html[data-theme="light"] .nova-map-heading>div>p,html[data-theme="light"] .ai-story-copy>p,html[data-theme="light"] .compliance-line p{color:#5d7283!important}
html[data-theme="light"] .experience-stack article,html[data-theme="light"] .console-panel>button,html[data-theme="light"] .console-history,html[data-theme="light"] .compliance-detail-grid article{background:rgba(255,255,255,.82);border-color:rgba(11,47,75,.1);box-shadow:0 15px 40px rgba(26,66,98,.06)}
html[data-theme="light"] .experience-stack h3,html[data-theme="light"] .console-panel b,html[data-theme="light"] .console-history-head b,html[data-theme="light"] .compliance-detail-grid h3{color:#10283e}html[data-theme="light"] .experience-stack p,html[data-theme="light"] .console-panel small,html[data-theme="light"] .console-history-head small,html[data-theme="light"] .compliance-detail-grid p{color:#64798a}
html[data-theme="light"] .console-security{background:#fff;border-color:rgba(11,47,75,.1)}html[data-theme="light"] .console-security b{color:#10283e}html[data-theme="light"] .console-security span{color:#667b8c}html[data-theme="light"] .console-history-preview>div{background:#f0f5f8;border-color:rgba(11,47,75,.08)}html[data-theme="light"] .console-history-preview span{color:#64798a}html[data-theme="light"] .console-history-preview b{color:#10283e}html[data-theme="light"] .console-history>button{color:#0c382f!important;background:#e4f4ed!important;border-color:#b9dace!important}
html[data-theme="light"] .nova-compliance .compliance-pills span{color:#435e70;background:#fff;border-color:rgba(11,47,75,.1)}
html[data-theme="light"] .nova-footer{color:#153249;background:#e4edf3}html[data-theme="light"] .nova-footer-top,html[data-theme="light"] .nova-footer-bottom{border-color:rgba(11,47,75,.1)}html[data-theme="light"] .nova-footer-top>p,html[data-theme="light"] .nova-footer-grid a,html[data-theme="light"] .nova-footer-grid span,html[data-theme="light"] .nova-footer-bottom{color:#5c7283}html[data-theme="light"] .nova-footer-grid h3{color:#8293a0}html[data-theme="light"] .complete-footer-grid button{color:#5c7283}
html[data-theme="dark"] .chat-panel.ena-chat{background:#0c1825!important;border-color:rgba(255,255,255,.1)!important}html[data-theme="dark"] .ena-chat-messages{background:linear-gradient(180deg,#0d1c2a,#101f2d 50%,#0b1723)!important}html[data-theme="dark"] .ena-chat-privacy{background:#2a2418!important;color:#e8c978!important;border-color:#4b4028!important}html[data-theme="dark"] .ena-chat-shortcuts-toggle,html[data-theme="dark"] .ena-chat-composer,html[data-theme="dark"] .ena-chat-footer,html[data-theme="dark"] .ena-chat-library{background:#101f2d!important;color:#d7e4eb!important;border-color:#24384a!important}html[data-theme="dark"] .ena-chat-composer textarea{background:#0b1723!important;color:#fff!important;border-color:#2b4050!important}html[data-theme="dark"] .ena-chat-mic{background:#172b39!important;color:#9edcca!important}
html[data-theme="dark"] .modal-card{background:#0f1d2a!important;border-color:rgba(255,255,255,.1)!important;color:#d9e5ec!important}html[data-theme="dark"] .modal-card h2{color:#fff!important}html[data-theme="dark"] .modal-card p,html[data-theme="dark"] .modal-card label{color:#aebdc8!important}html[data-theme="dark"] .modal-card input,html[data-theme="dark"] .modal-card select{background:#0a1621!important;color:#fff!important;border-color:#2a3c4a!important}html[data-theme="dark"] .history-modal-list article{background:#132432;border-color:#284050}html[data-theme="dark"] .history-modal-list span{color:#91a5b3}html[data-theme="dark"] .history-modal-list b{color:#fff}html[data-theme="dark"] .history-modal-list strong{color:var(--nx-lime)}
html[data-lang="en"] .primary-nav-inner{gap:3px!important}html[data-lang="en"] .primary-nav a{padding-inline:10px!important;font-size:11px!important}
@media(max-width:1180px){.nexo-pref-btn [data-theme-text]{display:none}.nexo-pref-btn{padding:0;min-width:38px}.nova-help{display:none}}
@media(max-width:760px){.nexo-preferences{position:absolute;right:68px}.nexo-pref-btn{height:38px}.nexo-lang-btn{min-width:38px}.nova-nav-actions{gap:5px}}
