.nva{--voice-ink:#edf5ff;--voice-panel:#101a36;--voice-line:#9cbaffad;--voice-stage:#0b1127;color:var(--voice-ink);background:transparent;border:0;border-radius:0;width:min(370px,calc(100vw - 24px));max-height:calc(100dvh - 20px);padding:12px;box-sizing:border-box;box-shadow:none;overflow:visible;font:14px/1.5 system-ui,sans-serif}
.nva::backdrop{background:#050b1970;backdrop-filter:blur(7px)}
.nva[open].is-positioned{margin:0!important;inset:auto!important;left:var(--nva-left)!important;top:var(--nva-top)!important}
.nva header{cursor:grab;touch-action:none;user-select:none;gap:10px}
.nva header:active{cursor:grabbing}
.nva .nva-identity{min-width:0;flex:1}
.nva .nva-name-row{display:flex;align-items:center;gap:8px}
.nva .nva-name-row strong{margin-right:2px}
.nva .nva-name-row button{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center}
.nva .nva-name-row svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nva .nva-off-line{display:none}
.nva button[aria-pressed=true] .nva-off-line{display:block}
.nva[open]{display:flex;flex-direction:column;gap:8px;height:min(500px,calc(100dvh - 20px));margin:auto!important;inset:0!important;padding:12px;overflow:visible}
.nva[open] header{flex:0 0 auto}
.nva[open] .nva-orbit{height:auto;flex:1 1 215px;min-height:145px;max-height:230px}
.nva[open] .nva-caption{min-height:18px;max-height:58px;margin:0;flex:0 1 58px}
.nva[open] .nva-status{margin:0 auto;min-height:20px;flex:0 0 auto;font-size:13px;padding:3px 12px;border-radius:99px;background:color-mix(in srgb,var(--voice-panel) 68%,transparent);backdrop-filter:blur(12px)}
.nva[open] .nva-status{max-height:60px;overflow:auto;overflow-wrap:anywhere;line-height:1.45}
.nva[open] footer{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex:0 0 auto}
.nva[open] footer button{margin:0;min-height:32px;padding:5px 8px;font-size:12px}
.nva-quick{flex:0 0 auto;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:11px;text-shadow:0 1px 5px #0712258c}
.nva .nva-quick label{margin:0;line-height:1.4}
.nva-preferences{color:inherit;font:inherit;display:block}
.nva-preferences label{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 0;border-bottom:1px solid #899b9933}
.nva-preferences select,.nva-preferences input:not([type=checkbox]){font:inherit;color:inherit;background:transparent;border:1px solid #899b9966;border-radius:9px;padding:6px;max-width:190px}
.nva-voice-choice{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.nva-voice-choice select{min-width:120px}.nva-voice-choice button{font-size:12px;padding:6px 12px;white-space:nowrap}.nva-voice-choice button:disabled{opacity:.55;cursor:wait}
.nva-preferences input[type=range]{padding:0}.nva-preferences small,.nva-preferences p{font-size:12px;line-height:1.6;opacity:.8}.nva-preferences small{flex-basis:100%}
.nva-preferences [hidden]{display:none!important}
.nva-preferences label:has(input[type=checkbox]){flex-direction:row-reverse}
body:has(#settingsModal.is-visible) #nexoraFloat{visibility:hidden!important}
#settingsModal:has([data-settings-tab="voice"].is-active) #settingsSave,#settingsModal:has([data-settings-tab="voice"].is-active) #settingsRestore{display:none}
@media(max-height:420px){.nva[open]{gap:4px;padding:8px}.nva[open] .nva-orbit{max-height:120px;min-height:85px}.nva[open] .nva-orb{width:130px;height:130px}.nva[open] .nva-caption{max-height:28px}}
.nva select{background:var(--voice-panel);color:var(--voice-ink);border:1px solid var(--voice-line);border-radius:8px;padding:5px}.nva input[type=range]{max-width:150px;vertical-align:middle}.nva details p{font-size:11px;line-height:1.6}.nva [hidden]{display:none!important}
.nva header{display:flex;align-items:center;justify-content:space-between;text-shadow:0 2px 7px #09122c91}.nva strong{font-size:21px}.nva small{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.85;font-size:11px}
.nva button{font:inherit;color:var(--voice-ink);border:1px solid var(--voice-line);border-radius:22px;background:color-mix(in srgb,var(--voice-panel) 70%,transparent);backdrop-filter:blur(12px);box-shadow:0 5px 18px #06133126;padding:8px 12px;cursor:pointer}.nva button:focus-visible{outline:2px solid #80dcff;outline-offset:3px}.nva button[aria-pressed=true]{background:#5486a855}.nva header button{font-size:23px;padding:0;width:34px;height:34px}
.nva-orbit{height:180px;display:grid;place-items:center}
.nva[data-native-drag=true] .nva-orbit{cursor:grab;touch-action:none}
.nva-orb{width:220px;height:220px;flex:none;display:grid;place-items:center;text-align:center;font-size:11px}
.nva-settings-dialog{color:#edf5ff;background:#101a36;border:1px solid #9cbaff80;border-radius:18px;width:min(420px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:20px;box-sizing:border-box;font:14px/1.6 system-ui,sans-serif}
.nva-settings-dialog::backdrop{background:#03071399}
.nva-settings-dialog button{font:inherit;color:inherit;background:transparent;border:1px solid #899b9966;border-radius:12px;padding:7px 14px;cursor:pointer}
html[data-theme="forest-glass"] .nva-settings-dialog,html[data-home-theme="forest-glass"] .nva-settings-dialog{color:#163e37;background:#f4fffc}
.nva-orb-canvas{display:block;width:100%;height:100%}
.nva-orb-fallback{position:relative;display:block;width:86%;height:86%;overflow:hidden;border-radius:50%;background:radial-gradient(circle at 48% 12%,#5765706b,transparent 42%),linear-gradient(180deg,#263039,#11131f 56%,#321e31);box-shadow:inset 0 1px 2px #badfe18a,inset 0 -1px 2px #ef9bd078}
.nva-orb-fallback::before{content:"";position:absolute;left:-7%;right:-7%;top:44%;height:20%;border-radius:50% 20% 60% 20%;background:linear-gradient(90deg,#ffd86b,#ff7bd5 35%,#fff 49%,#82f4ff 65%,#8e6cff);filter:blur(5px);transform:rotate(-5deg)}
.nva-orb-fallback::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 13px #badfe189,inset 0 -16px 22px #0b071650}
.nva-orb[data-state="listening"] .nva-orb-fallback::before,.nva-orb[data-state="speaking"] .nva-orb-fallback::before{animation:nva-siri-wave 2.8s ease-in-out infinite alternate}
@keyframes nva-siri-wave{from{transform:translateY(-5%) rotate(-5deg)}to{transform:translateY(5%) rotate(4deg)}}
@media(prefers-reduced-motion:reduce){.nva-orb-fallback::before{animation:none!important}}
.nva-status{text-align:center;font-weight:600;min-height:22px;margin:0 0 12px}.nva-caption{line-height:1.7;max-height:100px;min-height:48px;overflow:auto;overflow-wrap:anywhere;margin:0 0 18px;opacity:.85}.nva footer{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.nva footer button{font-size:12px}.nva details{margin-top:16px;font-size:12px;opacity:.85}.nva summary{cursor:pointer}.nva label{display:block;margin-top:12px}.nva-wake-note{margin-bottom:0;font-size:11px}
html[data-theme="forest-glass"] .nva,html[data-home-theme="forest-glass"] .nva{--voice-ink:#163e37;--voice-panel:#f4fffc;--voice-line:#8dbcb5b8;--voice-stage:#fbfefd}
html[data-theme="forest-glass"] .nva header,html[data-home-theme="forest-glass"] .nva header,html[data-theme="forest-glass"] .nva-quick,html[data-home-theme="forest-glass"] .nva-quick,html[data-theme="forest-glass"] .nva-caption,html[data-home-theme="forest-glass"] .nva-caption{color:#f6fffc;text-shadow:0 2px 8px #082c2cb8}
html[data-theme="forest-glass"] .nva header button,html[data-home-theme="forest-glass"] .nva header button{color:#163e37;text-shadow:none}
@media(max-width:600px){
  .nva[open],.nva[open].is-positioned{position:fixed!important;inset:0!important;left:0!important;top:0!important;width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0!important;padding:calc(18px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));background:var(--voice-stage);overflow:auto}
  .nva::backdrop{background:var(--voice-stage);backdrop-filter:none}
  .nva[open] header{min-height:40px;text-shadow:none;gap:6px}
  .nva[open] .nva-orbit{width:100%;min-height:120px;max-height:none;flex:1 1 230px}
  .nva[open] .nva-orb{width:min(230px,64vw,32dvh);height:min(230px,64vw,32dvh)}
  .nva[open] .nva-status{max-width:100%;padding:0;background:none;backdrop-filter:none;text-align:center}
  .nva[open] .nva-caption{max-height:68px;text-align:center;overflow:auto;flex:0 0 auto}
  .nva[open] footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;margin-top:auto}
  .nva[open] footer button{min-height:44px;border-radius:99px;font-size:13px;overflow-wrap:anywhere}
  .nva[open] .nva-quick{align-items:center;font-size:12px}
  html[data-theme="forest-glass"] .nva[open] header,html[data-home-theme="forest-glass"] .nva[open] header,html[data-theme="forest-glass"] .nva[open] .nva-quick,html[data-home-theme="forest-glass"] .nva[open] .nva-quick,html[data-theme="forest-glass"] .nva[open] .nva-caption,html[data-home-theme="forest-glass"] .nva[open] .nva-caption{color:var(--voice-ink);text-shadow:none}
}
@media(max-height:520px){.nva[open]{overflow:auto}.nva[open] .nva-orbit{min-height:100px;max-height:120px}.nva[open] .nva-orb{width:100px;height:100px}.nva[open] .nva-caption{max-height:35px}}
