.vr-ai-popup,.vr-cache-confirm{position:fixed;inset:0;margin:auto;padding:0;border:1px solid #dce5f1;border-radius:19px;background:#fff;color:#18263b;box-shadow:0 25px 75px #0a1a3060;width:min(640px,calc(100vw - 20px));max-width:100%;max-height:min(92dvh,900px);overflow:auto;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.vr-ai-popup::backdrop,.vr-cache-confirm::backdrop{background:rgba(15,28,49,.6);backdrop-filter:blur(4px)}.vr-ai-feature [hidden],.vr-ai-popup [hidden],.vr-cache-confirm [hidden]{display:none!important}.vr-ai-popup .dialog-body,.vr-cache-confirm .dialog-body{padding:24px;display:grid;gap:15px}.vr-ai-popup .dialog-head,.vr-cache-confirm .dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.vr-ai-popup .bulk-cache-header small,.vr-ai-popup .dialog-head small,.vr-cache-confirm .dialog-head small{font-size:10px;letter-spacing:.11em;color:#4375c8;font-weight:800}.vr-ai-popup h2,.vr-cache-confirm h2{font-size:22px;line-height:1.2;margin:5px 0 0;color:#15243d}.vr-ai-popup h3{font-size:14px;line-height:1.3;color:#203657;margin:0}.vr-ai-popup p,.vr-cache-confirm p{margin:0;line-height:1.55}.vr-ai-popup .icon-btn,.vr-cache-confirm .icon-btn{display:grid;place-items:center;flex:none;width:35px;height:35px;background:#f1f5fb;border:1px solid #e0e9f6;border-radius:9px;color:#50647f;font-size:23px;cursor:pointer}.vr-ai-popup .model-disclosure{display:flex;align-items:flex-start;gap:13px;padding:14px 15px;background:#f1f6ff;border:1px solid #dbe8ff;border-radius:12px}.vr-ai-popup .model-disclosure>span{display:grid;place-items:center;flex:none;background:#dbeaff;border-radius:9px;color:#2d63d8;font-size:18px;width:32px;height:32px}.vr-ai-popup .model-disclosure strong{font-size:13px}.vr-ai-popup .model-disclosure p{color:#62738e;font-size:12px;margin-top:4px}.vr-ai-popup .setup-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;list-style:none;margin:0;padding:0}.vr-ai-popup .setup-steps li{font-size:11px;font-weight:700;color:#667b98;border:1px solid #e3eaf4;border-radius:8px;background:#f9fbfe;text-align:center;padding:9px 4px}.vr-ai-popup .setup-steps li.active,.vr-ai-popup .setup-steps li.done{background:#eaf1ff;border-color:#97b8f7;color:#245ccd}.vr-ai-popup .field-label{font-weight:750;color:#263e60;font-size:12px;margin-bottom:-11px}.vr-ai-popup select{border:1px solid #ccd8ea;background:#fff;color:#1a2b48;border-radius:10px;padding:12px 11px;font:inherit;width:100%;max-width:100%}.vr-ai-popup .model-description{color:#657893;font-size:12px;margin-top:-9px}.vr-ai-popup .ai-recovery,.vr-ai-popup .model-bulk-clean,.vr-ai-popup .model-resources{border:1px solid #dee7f5;background:#fafcff;border-radius:13px;padding:15px;display:grid;gap:12px}.vr-ai-popup .resource-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.vr-ai-popup .resource-hint{font-size:11px;color:#7890ac}.vr-ai-popup .resource-item{display:grid;gap:5px}.vr-ai-popup .resource-label{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:12px}.vr-ai-popup .resource-label strong{font-size:12px}.vr-ai-popup .resource-label span{color:#4d6480;font-size:11px}.vr-ai-popup .resource-meter{position:relative;overflow:hidden;height:11px;background:#e8eef8;border-radius:100px}.vr-ai-popup .resource-meter>span{display:block;width:0%;height:100%;border-radius:100px;background:linear-gradient(90deg,#4288f6,#275bde);transition:width .2s}.vr-ai-popup .resource-meter.resource-unknown>span{width:100%;background:repeating-linear-gradient(110deg,#d9e4f5 0 9px,#eaf0f9 9px 17px)}.vr-ai-popup .resource-note,.vr-ai-popup .setting-caption{font-size:11px;color:#63758f}.vr-ai-popup .dialog-actions,.vr-ai-popup .recovery-actions,.vr-ai-popup .resource-refresh-actions,.vr-cache-confirm .dialog-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.vr-ai-popup .resource-refresh-actions{padding-top:7px;border-top:1px solid #e5ecf7}.vr-ai-popup button.btn,.vr-cache-confirm button.btn{border-radius:9px;padding:10px 12px;font:700 12px/1.35 system-ui,sans-serif;cursor:pointer;background:#f0f5fd;border:1px solid #d8e3f3;color:#315580;min-height:38px}.vr-ai-popup button.btn.primary{background:#2865de;color:#fff;border-color:#2865de;box-shadow:0 6px 13px #235cd623}.vr-ai-popup #vr-connect-model{flex:1;min-width:170px;font-size:13px;padding:12px 15px;min-height:45px}.vr-ai-popup button.btn.danger,.vr-cache-confirm button.btn.danger{color:#b32734;border:1px solid #facad0;background:#fff5f5}.vr-ai-popup button.btn:disabled,.vr-cache-confirm button.btn:disabled{opacity:.52;cursor:not-allowed}.vr-ai-popup .model-bulk-clean{border-color:#e1e8f4;background:#fff}.vr-ai-popup .bulk-cache-header h3{font-size:15px;margin-top:3px}.vr-ai-popup .model-download-help,.vr-ai-popup .recovery-advanced,.vr-ai-popup .vr-ai-qa{background:#f8fafe;border:1px solid #e2eaf5;border-radius:10px;padding:12px;font-size:12px;color:#576d8b}.vr-ai-popup summary{font-weight:750;color:#304f80;cursor:pointer}.vr-ai-popup details p{margin:10px 0}.vr-ai-popup .capability,.vr-ai-popup .device-diagnostics{border-left:3px solid #8aaaea;background:#f5f8ff;padding:9px 12px;font-size:12px;color:#4f698c}.vr-ai-popup .capability.warn{border-color:#dc7d79;color:#a5222c;background:#fff4f4}.vr-ai-popup .ai-recovery{background:#fffaf9;border-color:#f2d5d1}.vr-ai-popup .ai-recovery-head{display:flex;justify-content:space-between;gap:8px}.vr-ai-popup .recovery-stage{font-size:11px;color:#a44832}.vr-ai-popup .recovery-danger,.vr-cache-confirm .recovery-danger{color:#a32d3a;background:#fff4f4;border:1px solid #ffdcdf;border-radius:8px;padding:10px;font-size:12px}.vr-ai-popup .progress-wrap{padding:11px;border:1px solid #dce7f8;border-radius:10px;background:#f8fbff}.vr-ai-popup .progress-status{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;color:#2f4b70}.vr-ai-popup .progress-spinner{width:13px;height:13px;border:2px solid #abc5ef;border-top-color:#2865de;border-radius:50%;animation:ccspin 1s linear infinite}@keyframes ccspin{to{transform:rotate(360deg)}}.vr-ai-popup .progress-track{height:7px;border-radius:20px;background:#e3ebfa;margin:9px 0;overflow:hidden}.vr-ai-popup #vr-progress-bar{height:100%;width:0%;border-radius:20px;background:#3076e8}.vr-ai-popup #vr-progress-label,.vr-ai-popup .progress-hint{color:#667e98;font-size:11px}.vr-ai-popup .vr-popup-footer{border-top:1px solid #e9eef7;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding-top:12px}.vr-ai-popup .vr-popup-footer span{font-size:11px;color:#74839b}.vr-cache-confirm{width:min(540px,calc(100vw - 20px));z-index:2147480001}.vr-cache-confirm .cache-confirm-check{display:flex;gap:9px;align-items:start;font-size:13px;font-weight:650;color:#24354d}.vr-ai-feature{margin-bottom:14px}.vr-ai-feature .tools{display:grid;gap:8px}.vr-ai-feature .vr-review-output{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:430px;overflow:auto;background:#f5f8ff;border:1px solid #dde6f7;color:#28415e;border-radius:10px;padding:13px;font-size:12px;line-height:1.55;margin:10px 0 0}.vr-ai-feature .vr-review-output:empty{display:none}.vr-ai-feature .vr-ai-qa{font-size:11px;color:#687b94}.vr-ai-feature .vr-ai-qa summary{cursor:pointer}.vr-ai-feature .vr-ai-qa pre{white-space:pre-wrap;overflow-wrap:anywhere}#vr-startup-error button{background:#2865de;color:#fff;border:0;border-radius:8px;padding:9px 14px;cursor:pointer}@media(max-width:520px){.vr-ai-popup,.vr-cache-confirm{max-height:95dvh;border-radius:13px}.vr-ai-popup .dialog-body,.vr-cache-confirm .dialog-body{padding:15px;gap:12px}.vr-ai-popup h2{font-size:19px}.vr-ai-popup .setup-steps{grid-template-columns:repeat(2,1fr)}.vr-ai-popup .recovery-actions button,.vr-ai-popup .resource-refresh-actions button{flex:1}.vr-ai-popup .dialog-actions button{flex:1}.vr-ai-popup #vr-connect-model{min-width:100%}.vr-ai-popup .resource-label{display:grid}}@media(prefers-reduced-motion:reduce){.vr-ai-popup *,.vr-cache-confirm *{animation:none!important;transition:none!important}}.vr-ai-feature{border:1px solid #d6e7fd;background:linear-gradient(145deg,#f8fbff,#fff);border-radius:14px;padding:16px;margin-top:18px;display:grid;gap:11px}.vr-ai-feature h4{margin:0;color:#1a3767;font-size:16px}.vr-ai-feature p{margin:0;color:#526986;font-size:12px;line-height:1.55}.vr-ai-feature .vr-ai-actions{display:flex;flex-wrap:wrap;gap:7px}.vr-ai-feature .vr-ai-actions button{font-size:12px}.vr-ai-feature .vr-ai-output{font:12px/1.65 system-ui,sans-serif;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;max-height:390px;min-height:42px;background:#fff;border:1px solid #e1e8f1;border-radius:10px;padding:12px;color:#2c3b52;margin:0}.vr-ai-feature .vr-ai-output:empty{display:none}.vr-ai-feature .vr-ai-qa{font-size:12px;color:#506481}.vr-ai-feature .vr-ai-qa pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto}.vr-startup-error{position:sticky;top:8px;z-index:100;background:#fff0f0;color:#8a2130;border:2px solid #ef8e9a;padding:15px;border-radius:12px;margin:12px auto;max-width:980px}.vr-startup-error p{margin:4px 0 8px}@media(max-width:620px){.vr-ai-feature{padding:12px}.vr-ai-feature .vr-ai-actions button{flex:1}}.vr-whisper-options{border:1px solid #cbddee;background:#f5faff;padding:13px;border-radius:12px;display:grid;gap:8px}.vr-whisper-options p{font-size:12px;color:#526885;margin:0}.vr-whisper-options button{justify-self:start}.vr-whisper-options h3{margin:0;font-size:14px}