@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";:root{--primary:#6366f1;--primary-hover:#4f46e5;--bg-color:#f8fafc;--card-bg:#fff;--text-main:#0f172a;--text-muted:#64748b;--border:#e2e8f0;--shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-color);color:var(--text-main);font-family:Inter,sans-serif;line-height:1.5}.app-layout{flex-direction:column;height:100vh;display:flex;overflow:hidden}.app-header{background:var(--card-bg);border-bottom:1px solid var(--border);box-shadow:var(--shadow);z-index:10;padding:1rem 2rem}.app-header h1{color:var(--primary);margin:0;font-size:1.25rem;font-weight:600}.main-content{flex:1;display:flex;overflow:hidden}.left-panel{border-right:1px solid var(--border);background:#f1f5f9;flex:2;display:block;position:relative;overflow:hidden}.right-panel{background:var(--bg-color);flex-direction:column;flex:1;gap:1.5rem;min-width:350px;max-width:450px;padding:1.5rem;display:flex;overflow-y:auto}.top-inputs{flex-direction:column;gap:1rem;display:flex}.input-panel-card,.inspector-panel,.gemini-response{background:var(--card-bg);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:.5rem;padding:1.25rem;transition:all .2s}.input-panel-card h3,.inspector-panel h3{margin-bottom:.75rem;font-size:1rem;font-weight:600}.upload-form{align-items:center;gap:.5rem;display:flex}.text-input-area{border:1px solid var(--border);resize:vertical;border-radius:.375rem;width:100%;min-height:80px;margin-bottom:.75rem;padding:.75rem;font-family:inherit}.text-input-area:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #6366f133}button{background:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:.375rem;padding:.5rem 1rem;font-family:inherit;font-weight:500;transition:background .2s}button:hover{background:var(--primary-hover)}button:disabled{cursor:not-allowed;background:#cbd5e1}.inspector-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.badge{color:var(--primary);background:#e0e7ff;border-radius:9999px;padding:.25rem .5rem;font-size:.75rem;font-weight:600}.action-btn{width:100%;margin-top:1rem}.gemini-response h4{color:var(--primary);margin-bottom:.5rem;font-size:.875rem}.gemini-response p{color:var(--text-muted);font-size:.875rem}.inspector-panel.empty{color:var(--text-muted);text-align:center;border:2px dashed var(--border);min-height:150px;box-shadow:none;background:0 0;flex-direction:column;justify-content:center;align-items:center;display:flex}.mic-button{width:100%;color:var(--text-main);border:1px solid var(--border);background:#f1f5f9}.mic-button:hover{background:#e2e8f0}.mic-button.active{color:#fff;background:#ef4444;animation:2s infinite pulse}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.02)}to{transform:scale(1)}}.voice-hint{color:var(--text-muted);text-align:center;margin-top:.75rem;font-size:.75rem}.processing-overlay{z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff2;justify-content:center;align-items:center;animation:.3s overlayFadeIn;display:flex;position:fixed;inset:0}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.processing-content{background:#fff;border:1px solid #f1f5f9;border-radius:16px;flex-direction:column;align-items:center;gap:1.5rem;width:100%;max-width:480px;padding:2.5rem;display:flex;box-shadow:0 20px 40px #00000014,0 1px 3px #0000000d}.processing-loader-wrapper{margin-bottom:.5rem}.simple-spinner{border:4px solid #e0e7ff;border-top-color:var(--primary);border-radius:50%;width:48px;height:48px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.processing-title{color:#0f172a;text-align:center;margin:0;font-size:1.25rem;font-weight:700}.processing-subtitle{color:#64748b;text-align:center;margin:0;font-size:.9rem}.processing-feature-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:1rem;width:100%;padding:1rem 1.25rem;animation:.4s cardSlide;display:flex}@keyframes cardSlide{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.feature-icon{font-size:2rem}.feature-title{color:#1e293b;font-size:.95rem;font-weight:700}.feature-desc{color:#64748b;margin-top:2px;font-size:.85rem;line-height:1.4}.feature-dots{justify-content:center;gap:8px;margin-top:.5rem;display:flex}.dot{background:#cbd5e1;border-radius:50%;width:8px;height:8px;transition:all .3s}.dot.active{background:var(--primary);transform:scale(1.2)}.view-mode-bar{align-items:center;gap:.4rem;margin-left:auto;display:flex}.view-mode-btn{color:var(--text-muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:.375rem;padding:.35rem .75rem;font-size:.8rem;transition:all .15s}.view-mode-btn:hover{color:var(--text-main);background:#f1f5f9}.view-mode-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.vr-root{z-index:9000;background:#000;display:flex;position:fixed;inset:0}.vr-eye{flex:1;position:relative;overflow:hidden}.vr-divider{background:#111;flex-shrink:0;width:4px}.vr-camera-overlay{z-index:10;background:#000;border:1.5px solid #ffffff40;border-radius:12px;width:140px;height:105px;position:absolute;bottom:2rem;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 8px 16px #0006}.camera-pip{z-index:1;background:#000;position:absolute;inset:0}.app-layout[data-view=mobile] .left-panel{z-index:5;position:relative}.app-layout[data-view=mobile] .graph-view-container{background:0 0!important}.app-layout[data-view=mobile] .camera-pip{z-index:0;position:absolute;inset:0}.vr-exit-btn{z-index:9100;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000008c;border:1px solid #fff3;border-radius:8px;padding:.5rem 1rem;font-size:.85rem;transition:background .2s;position:fixed;top:1.5rem;right:1.5rem}.vr-exit-btn:hover{background:#dc2626cc}.camera-capture{background:#000;border-radius:8px;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.camera-preview{object-fit:cover;width:100%;height:100%}.camera-toggle-btn{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;border:1px solid #ffffff4d;border-radius:9999px;padding:.3rem .7rem;font-size:.75rem;position:absolute;bottom:.5rem;right:.5rem}.camera-error{color:#ef4444;text-align:center;justify-content:center;align-items:center;height:100%;padding:1rem;font-size:.85rem;display:flex}.camera-pip{z-index:50;border:2px solid #6366f199;border-radius:10px;width:180px;height:135px;position:absolute;bottom:1.5rem;right:1.5rem;overflow:hidden;box-shadow:0 4px 20px #0000004d}.camera-mobile-full{z-index:1;background:#000;position:absolute;inset:0}@media (width<=768px){.app-header{flex-wrap:wrap;gap:.5rem;padding:.75rem 1rem}.app-header h1{font-size:1rem}.main-content{flex-direction:column;overflow-y:auto}.left-panel{border-right:none;border-bottom:1px solid var(--border);flex:none;height:70vh;min-height:350px}.right-panel{min-width:unset;max-width:unset;flex:none;gap:1rem;padding:1rem}button{padding:.6rem 1rem;font-size:.9rem}.view-mode-bar{margin-top:.5rem;margin-left:0}.camera-pip{width:120px;height:90px;bottom:.5rem;right:.5rem}}
