*{box-sizing:border-box;margin:0;padding:0}body{background:linear-gradient(135deg,#667eea,#764ba2)}.App,body{min-height:100vh}.App{color:#333;display:flex;height:100vh;width:100vw}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.container{background:#fff;display:flex;flex:1 1;overflow:hidden;width:100%}.sidebar{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;flex:0 0 300px;max-height:calc(100vh - 200px);overflow-y:auto;padding:1.5rem}.sidebar h3{color:#667eea;margin-bottom:1rem}.tool-card{background:#f8f9fa;border-left:4px solid #667eea;margin-bottom:1rem;padding:1rem}.tool-card strong{color:#333;display:block;margin-bottom:.5rem}.tool-card p{color:#666;font-size:.9rem;margin-bottom:.5rem}.stats{display:flex;flex-wrap:wrap;font-size:.8rem;gap:.5rem}.stats span{background:#667eea;border-radius:4px;color:#fff;padding:.2rem .5rem}.main{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;flex:1 1;padding:2rem}form{margin-bottom:2rem}form input[type=text]{border:2px solid #e0e0e0;border-radius:8px;font-size:1.1rem;margin-bottom:1rem;padding:1rem;transition:border-color .3s;width:100%}form input[type=text]:focus{border-color:#667eea;outline:none}.controls{justify-content:space-between}.actions,.controls{align-items:center;display:flex}.actions{gap:.75rem}.controls label,.voice-actions{display:flex;gap:.5rem}.controls label{align-items:center;cursor:pointer}button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;padding:.8rem 2rem;transition:transform .2s}button:hover:not(:disabled){transform:translateY(-2px)}button:disabled{cursor:not-allowed;opacity:.6}.voice-button,.voice-button.start{background:#111827}.voice-button.stop{background:#ef4444}.voice-hint{color:#6b7280;font-size:.85rem;margin-top:.5rem}.voice-error{color:#b91c1c;font-size:.9rem;margin-top:.75rem}.steps{max-height:calc(100vh - 400px);overflow-y:auto}.result-container{margin-bottom:2rem}.final-answer-box{background:linear-gradient(135deg,#11998e,#38ef7d);border-radius:12px;box-shadow:0 8px 24px #11998e4d;color:#fff;margin-bottom:1rem;padding:2.5rem}.final-answer-box h2{font-size:1.5rem;font-weight:600;margin-bottom:1rem;opacity:.95}.final-answer-box p{font-size:1.3rem;line-height:1.6;margin-bottom:1rem}.confidence-badge{background:#fff3;border-radius:20px;display:inline-block;font-size:.95rem;font-weight:500;padding:.5rem 1rem}.execution-details{background:#f8f9fa;border-radius:8px;cursor:pointer;padding:1rem}.execution-details summary{color:#667eea;font-weight:500;-webkit-user-select:none;user-select:none}.feedback-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.feedback-btn{align-items:center;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;font-size:.95rem;font-weight:500;gap:.5rem;padding:.75rem 1.25rem;transition:all .2s ease}.feedback-btn:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.feedback-btn.helpful{background:linear-gradient(135deg,#11998e,#38ef7d);color:#fff}.feedback-btn.helpful:hover{box-shadow:0 4px 12px #11998e4d}.feedback-btn.not-helpful{background:#f59e0b;color:#fff}.feedback-btn.not-helpful:hover{box-shadow:0 4px 12px #f59e0b4d}.feedback-btn.wrong{background:#ef4444;color:#fff}.feedback-btn.wrong:hover{box-shadow:0 4px 12px #ef44444d}.feedback-btn.deeper{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.feedback-btn.deeper:hover{box-shadow:0 4px 12px #667eea4d}.teaching-mode{background:linear-gradient(135deg,#ffeaa7,#fdcb6e);border-radius:12px;box-shadow:0 4px 12px #fdcb6e4d;margin-top:1.5rem;padding:1.5rem}.teaching-mode h3{color:#2d3436;font-size:1.3rem;margin-bottom:.5rem}.teaching-hint{color:#636e72;font-size:.95rem;margin-bottom:1rem}.correction-input{border:2px solid #fdcb6e;border-radius:8px;font-family:inherit;font-size:1rem;margin-bottom:1rem;padding:1rem;resize:vertical;transition:border-color .2s ease;width:100%}.correction-input:focus{border-color:#f39c12;box-shadow:0 0 0 3px #fdcb6e33;outline:none}.teaching-actions{display:flex;gap:.75rem}.submit-correction{background:linear-gradient(135deg,#00b894,#00cec9);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease}.submit-correction:hover{box-shadow:0 4px 12px #00b8944d;transform:translateY(-2px)}.cancel-correction{background:#b2bec3;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease}.cancel-correction:hover{background:#636e72;transform:translateY(-2px)}.knowledge-graph-btn{background:linear-gradient(135deg,#f093fb,#f5576c);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:500;margin-top:1rem;padding:.75rem 1.5rem;transition:all .2s ease}.knowledge-graph-btn:hover{box-shadow:0 4px 12px #f5576c4d;transform:translateY(-2px)}.modal-overlay{background:#000000b3}.modal-content{border-radius:16px;box-shadow:0 12px 40px #0000004d;max-width:90vw;padding:2rem;position:relative}.knowledge-graph-modal{max-width:1000px}.modal-close{background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1.2rem;height:36px;position:absolute;right:1rem;top:1rem;transition:all .2s ease;width:36px}.modal-close:hover{background:#dc2626;transform:scale(1.1)}.knowledge-graph-modal h2{color:#667eea;font-size:2rem;margin-bottom:1.5rem}.graph-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:2rem}.stat-card{padding:1.5rem}.stat-value{font-size:2.5rem;margin-bottom:.5rem}.stat-label{font-size:.9rem}.graph-nodes h3{color:#2d3436;font-size:1.5rem;margin-bottom:1rem}.nodes-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin-bottom:2rem}.node-card{background:#f8f9fa;border-left:4px solid #667eea;border-radius:10px;padding:1rem;transition:all .2s ease}.node-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.node-card.topic{background:linear-gradient(135deg,#11998e0d,#38ef7d0d);border-left-color:#11998e}.node-card.tool{background:linear-gradient(135deg,#f093fb0d,#f5576c0d);border-left-color:#f5576c}.node-label{color:#2d3436;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.node-meta{color:#636e72;display:flex;flex-direction:column;font-size:.85rem;gap:.25rem}.highlight-card{background:linear-gradient(135deg,#ffeaa7,#fdcb6e);border-radius:12px;margin-bottom:1rem;padding:1.5rem}.highlight-card h4{color:#2d3436;font-size:1.2rem;margin-bottom:.5rem}.highlight-card p{color:#2d3436;font-size:1rem;margin:0}.steps-list{flex-wrap:wrap;gap:.5rem;margin-top:1rem}.mini-step{background:#fff;border-radius:6px;font-size:.9rem;gap:.5rem;padding:.5rem 1rem}.mini-step,.mini-step-num{align-items:center;display:flex}.mini-step-num{background:#667eea;border-radius:50%;color:#fff;font-size:.8rem;font-weight:700;height:24px;justify-content:center;width:24px}.mini-step-tool{color:#666;font-family:monospace}.step{background:#f8f9fa;border-left:4px solid #667eea;border-radius:8px;margin-bottom:1rem;padding:1.5rem}.error-step{background:#fee;border-left-color:#ef4444}.composite-result{background:#f0fdf4;border-left-color:#10b981}.composite-result .subgoals-summary ul{margin:.5rem 0;padding-left:1.5rem}.composite-result .synthesis{background:#fff;border-radius:4px;margin-top:1rem;padding:1rem}.composite-result .effectiveness{color:#059669;font-weight:700;margin-top:.5rem}.observation pre{background:#f3f4f6;border-radius:4px;font-size:.85rem;overflow-x:auto;padding:.5rem}.step-header{align-items:center;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.5rem}.step-num{color:#667eea;font-weight:700}.step-status{border-radius:20px;font-size:.9rem;padding:.3rem .8rem}.step-status.done{background:#4caf50;color:#fff}.step-status.running{background:#ff9800;color:#fff}.step-content>div{margin-bottom:.8rem}.thought{color:#555;font-style:italic}.decision{background:#e3f2fd;color:#1976d2}.decision,.observation{border-radius:4px;padding:.5rem}.observation{background:#fff3e0;color:#e65100}.reflection{background:#f3e5f5;border-radius:4px;color:#6a1b9a;padding:.8rem}.reflection>div{font-size:.9rem;margin-bottom:.3rem}.confidence{color:#667eea;font-weight:700;text-align:right}.demo-panel{background:#fff;border-radius:16px;box-shadow:0 8px 24px #00000014;margin-bottom:2rem;padding:1.5rem}.demo-header h2{font-size:1.6rem;margin-bottom:.25rem}.demo-header p{color:#666;margin-bottom:1rem}.demo-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.demo-actions.inline{margin-bottom:.5rem;margin-top:.5rem}.demo-actions button{background:#667eea;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:.6rem 1rem}.demo-actions button:disabled{cursor:not-allowed;opacity:.6}.demo-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-bottom:1rem}.demo-card{background:#f8f9ff;border:1px solid #e3e6ff;border-radius:12px;padding:1rem}.demo-card.full{margin-top:1rem}.demo-output{background:#0f172a;border-radius:8px;color:#e2e8f0;font-size:.85rem;max-height:240px;overflow-x:auto;padding:.75rem}.demo-empty{color:#888;font-style:italic}.demo-split{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-top:1rem}.demo-textarea{background:#fff;border:1px solid #d0d7ff;border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;min-height:200px;padding:.75rem;width:100%}.demo-textarea.notes{margin-top:.5rem;min-height:80px}.demo-section{margin-top:1rem}.demo-status{color:#2e7d32;font-weight:600;margin-top:.5rem}.tab-navigation{background:#fff;border-bottom:2px solid #e5e7eb;box-shadow:0 2px 4px #0000000d;display:flex;gap:12px;margin:0 auto;max-width:1200px;padding:16px 20px;width:100%}.tab-button{background:#0000;border:2px solid #0000;border-radius:8px;color:#6b7280;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;position:relative;transition:all .2s ease}.tab-button:hover{background:#f3f4f6;color:#374151}.tab-button.active{background:#f5f7ff;border-bottom-color:#667eea;color:#667eea}.tab-button.active:after{background:linear-gradient(90deg,#667eea,#764ba2);border-radius:1px;bottom:-18px;content:"";height:2px;left:0;position:absolute;right:0}@media (max-width:768px){.tab-navigation{gap:8px;padding:12px}.tab-button{font-size:13px;padding:8px 12px}}.login-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:row;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;gap:60px;height:100vh;justify-content:center;padding:40px;width:100%}.buddy-image-hero{filter:drop-shadow(0 8px 24px rgba(0,0,0,.3));flex-shrink:0;height:auto;max-width:500px;object-fit:contain;width:100%}.login-box{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;flex-shrink:0;max-width:420px;padding:50px;width:100%}.login-box h2{color:#333;font-size:28px;font-weight:600;margin:0 0 30px;text-align:center}.login-box form{display:flex;flex-direction:column;gap:16px}.login-input{background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:16px;padding:14px 16px;transition:all .3s ease;width:100%}.login-input:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.login-input:disabled{cursor:not-allowed;opacity:.6}.login-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:10px;justify-content:center;padding:14px 20px;transition:all .3s ease;width:100%}.login-button:hover:not(:disabled){box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{cursor:not-allowed;opacity:.75}.spinner{border:3px solid #ffffff4d;border-top-color:#fff;display:inline-block;height:14px;width:14px}.login-note{color:#666;font-size:13px;margin-top:16px;text-align:center}.error-message{background-color:#fee;border-left:4px solid #c33;border-radius:6px;color:#c33;font-size:14px;margin-bottom:20px;padding:12px}@media (max-width:992px){.login-container{flex-direction:column;gap:40px;padding:40px 20px}.buddy-image-hero{max-width:350px}.login-box{max-width:400px}}@media (max-width:768px){.login-container{gap:30px;padding:20px}.buddy-image-hero{max-width:280px}.login-box{padding:30px 24px}.login-box h2{font-size:24px}}@media (max-width:480px){.login-container{gap:20px;padding:15px}.buddy-image-hero{max-width:220px}.login-box{padding:24px 20px}.login-box h2{font-size:22px}.login-button{font-size:14px;padding:12px 16px}}.unified-chat-shell{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;gap:1.5rem;height:100vh;min-width:0;overflow:hidden;padding:1.5rem;width:100%}.sessions-sidebar{background:#0000;color:#e2e8f0;display:flex;flex:1 1;flex-direction:column;gap:12px;padding:0;width:100%}.sidebar-header{align-items:center;display:flex;justify-content:space-between}.sidebar-header h2{font-size:16px;font-weight:700;margin:0}.header-buttons{display:flex;gap:8px}.new-session-btn{background:#fffffff2;border:none;border-radius:6px;box-shadow:0 4px 12px #00000026;color:#1f2937;cursor:pointer;font-size:.85rem;font-weight:600;padding:.5rem 1.25rem;transition:all .2s}.new-session-btn:hover{background:#fff;box-shadow:0 6px 16px #0003;transform:translateY(-2px)}.insights-btn{align-items:center;background:#fffffff2;border:2px solid #667eea;border-radius:6px;box-shadow:0 4px 12px #667eea33;color:#667eea;cursor:pointer;display:flex;font-size:.85rem;font-weight:600;gap:6px;padding:.5rem 1rem;position:relative;transition:all .3s}.insights-btn:hover{background:#667eea;box-shadow:0 6px 16px #667eea66;color:#fff;transform:translateY(-2px)}.insights-btn:active{transform:translateY(0)}.insights-badge{align-items:center;animation:pulse 2s infinite;background:#ef4444;border-radius:50%;color:#fff;display:flex;font-size:11px;font-weight:700;height:18px;justify-content:center;min-width:18px;padding:0 4px}.sidebar-toggle{color:#cbd5f5;font-size:12px}.sidebar-toggle label{align-items:center;display:flex;gap:8px}.sessions-list{display:flex;flex:1 1;flex-direction:column;gap:8px;overflow-y:auto;padding-right:4px}.session-item{background:#ffffff1a;border:1px solid #0000;border-radius:10px;cursor:pointer;padding:10px}.session-item.active{background:#fff3;border-color:#fff6}.session-item.archived{opacity:.7}.session-title{align-items:center;color:#f8fafc;display:flex;font-size:13px;font-weight:600;gap:8px;justify-content:space-between}.session-title input{background:#0003;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:12px;padding:4px 6px;width:100%}.session-count{background:#ffffff26;border-radius:10px;color:#fff;font-size:11px;padding:2px 6px}.session-source{color:#ffffffb3;font-size:10px;letter-spacing:.3px;text-transform:uppercase}.session-actions{display:flex;gap:6px;margin-top:6px}.session-actions button{background:#ffffff26;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px;padding:4px 6px}.session-actions button:hover{background:#ffffff40}.dialog-overlay{background:#00000080;bottom:0;right:0;z-index:1000}.dialog-overlay,.knowledge-modal-overlay{align-items:center;display:flex;justify-content:center;left:0;position:fixed;top:0}.knowledge-modal-overlay{background:#000000b3;height:100%;width:100%;z-index:2000}.knowledge-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:85vh;max-width:900px;overflow:hidden;width:90%}.knowledge-modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:24px}.knowledge-modal-header h2{font-size:24px;font-weight:700;margin:0}.close-btn{background:#fff3;border-radius:50%;color:#fff;font-size:20px;height:36px;transition:all .2s ease;width:36px}.close-btn:hover{background:#ffffff4d;transform:scale(1.1)}.knowledge-modal-content{flex:1 1;overflow-y:auto;padding:24px}.knowledge-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:32px}.stat-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-align:center}.stat-label{font-size:14px;margin-bottom:8px;opacity:.9}.stat-value{font-size:32px}.knowledge-skills h3{color:#1f2937;font-size:18px;font-weight:700;margin:0 0 16px}.skills-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.skill-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.skill-name{color:#1f2937;font-weight:600;margin-bottom:8px}.skill-confidence{align-items:center;display:flex;gap:8px}.skill-bar{background:linear-gradient(90deg,#10b981,#34d399);border-radius:4px;flex:1 1;height:8px;transition:width .5s ease}.skill-confidence span{color:#6b7280;font-size:12px;font-weight:600;min-width:35px}.loading{color:#6b7280;font-size:16px;padding:40px}.dialog-box{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-width:400px;padding:24px;width:90%}.dialog-box h2{color:#1f2937;font-size:18px;font-weight:700;margin:0 0 16px}.dialog-input{margin-bottom:12px}.dialog-input,.dialog-textarea{border:1px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:14px;padding:10px 12px;width:100%}.dialog-textarea{margin-bottom:16px;resize:none}.dialog-actions{display:flex;gap:8px;justify-content:flex-end}.dialog-btn-create{background:#667eea;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:10px 16px}.dialog-btn-create:hover{background:#5568d3}.dialog-btn-cancel{background:#e5e7eb;border:none;border-radius:8px;color:#1f2937;cursor:pointer;font-weight:600;padding:10px 16px}.dialog-btn-cancel:hover{background:#d1d5db}.buddy-panel{align-items:center;background:#0000;border-radius:12px;color:#fff;display:flex;flex-direction:column;flex-shrink:0;gap:20px;max-width:30vw;overflow-x:hidden;overflow-y:auto;padding:1.5rem 1rem;width:300px}.buddy-name{color:#fff;font-size:36px;font-weight:800;letter-spacing:-1px;margin:0;text-align:center}.buddy-container{align-items:center;gap:16px;text-align:center}.buddy-container,.main-navigation{display:flex;flex-direction:column}.main-navigation{border-top:1px solid #ffffff1a;gap:12px;margin-top:auto;padding:20px 10px;width:100%}.nav-link{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#f3f4f6;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:8px;justify-content:center;padding:.75rem 1rem;text-decoration:none;transition:all .2s}.nav-link:hover{background:#fff3;border-color:#fff6;transform:translateX(2px)}.nav-link.logout-link{background:#ef44441a;border-color:#ef44444d;color:#fca5a5}.nav-link.logout-link:hover{background:#ef444433;border-color:#ef444480}.buddy-avatar-large{cursor:pointer;height:280px;object-fit:contain;transition:transform .2s ease;width:280px}.buddy-avatar-large:hover{transform:scale(1.05)}.knowledge-bar-button{background:#ffffff26;border-radius:12px;cursor:help;margin-top:auto;overflow:hidden;padding:16px;position:relative;transition:all .3s ease}.knowledge-bar-button:hover{background:#fff3;transform:translateY(-2px)}.knowledge-bar-fill{background:linear-gradient(90deg,#10b981,#34d399);height:100%;left:0;opacity:.3;position:absolute;top:0;transition:width .5s ease}.knowledge-bar-label{color:#fff;display:block;font-size:14px;font-weight:600;position:relative;text-align:center;z-index:1}.unified-chat{background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026;display:flex;flex:1 1;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin:70px 0 0;min-width:0;overflow:hidden;position:relative}.presentation-layer{overflow-y:auto;padding:16px 24px 0}.chat-header{background:#0000;border-bottom:1px solid #ffffff1a;box-shadow:none;color:#fff;height:auto;padding:1rem 2rem;position:relative;z-index:20}.chat-header,.header-content{align-items:center;display:flex;justify-content:flex-start}.header-content{gap:16px;text-align:left}.chat-title{color:#fff;font-size:22px;font-weight:700;letter-spacing:-.5px;margin:0}.buddy-branding{align-items:center;display:flex;gap:12px}.buddy-emoji{animation:wave 2s ease-in-out infinite;font-size:42px}@keyframes wave{0%,to{transform:rotate(0deg)}25%{transform:rotate(15deg)}75%{transform:rotate(-15deg)}}.buddy-title{-webkit-text-fill-color:#0000;animation:shimmer 3s ease-in-out infinite;background:linear-gradient(45deg,#fff,gold,#fff);-webkit-background-clip:text;background-clip:text;background-size:200% 200%;font-size:32px;font-weight:800;letter-spacing:-1px;margin:0}@keyframes shimmer{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.buddy-tagline{animation:pulse 2s ease-in-out infinite;font-size:14px;font-weight:500;opacity:.95}.buddy-header-image{filter:drop-shadow(0 4px 10px rgba(0,0,0,.25));height:48px;object-fit:contain;width:48px}.header-actions{gap:12px}.header-actions,.nav-btn{align-items:center;display:flex}.nav-btn{background:#667eea26;border:1px solid #ffffff4d;border-radius:6px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;gap:6px;padding:.5rem 1rem;transition:all .2s}.nav-btn:hover{background:#667eea4d;border-color:#ffffff80;transform:translateY(-1px)}.logout-btn{background:#fffffff2;border:none;border-radius:6px;box-shadow:0 4px 12px #00000026;color:#1f2937;cursor:pointer;font-size:.95rem;font-weight:600;padding:.5rem 1.25rem;transition:all .2s}.logout-btn:hover{background:#fff;box-shadow:0 6px 16px #0003;transform:translateY(-2px)}.chat-header h1{font-size:24px;font-weight:700;letter-spacing:-.5px;margin:0}.chat-header p{font-size:13px;margin:4px 0 12px;opacity:.9}.confidence-bar{background:#fff3;border-radius:2px;height:4px;margin:0 auto;max-width:300px;position:relative;width:100%}.confidence-fill{background:#10b981;border-radius:2px}.confidence-label{display:block;font-size:11px;margin-top:4px;opacity:.8}.messages-container{display:flex;flex:1 1;flex-direction:column;gap:16px;max-width:100%;overflow-y:auto;padding:2rem;scroll-behavior:smooth}.messages-container::-webkit-scrollbar{width:6px}.messages-container::-webkit-scrollbar-track{background:#0000}.messages-container::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.messages-container::-webkit-scrollbar-thumb:hover{background:#9ca3af}.message{animation:slideIn .3s ease-out;display:flex;gap:12px;max-width:95%}.message-avatar{align-items:center;background:#f0f4ff;border-radius:50%;display:flex;flex-shrink:0;font-size:24px;height:32px;justify-content:center;margin-top:4px;width:32px}.message-avatar img{border-radius:50%;height:100%;object-fit:cover;width:100%}.message-user{align-self:flex-end;flex-direction:row-reverse;margin-left:auto;max-width:95%}.message-body{display:flex;flex-direction:column;gap:4px}.message-text{word-wrap:break-word;background:#f3f4f6;border-radius:12px;color:#374151;font-size:14px;line-height:1.6;padding:12px 16px;white-space:pre-wrap}.message-user .message-text{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.message-time{color:#9ca3af;font-size:11px;opacity:.6;padding:0 12px}.message-source{color:#9ca3af;font-size:10px;padding:0 12px;text-transform:uppercase}.message[data-source=intelligence]{border-left:3px solid #667eea;padding-left:12px}.message[data-source=intelligence] .message-text{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:1px solid #667eea33}.interactive-elements{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:10px;padding:10px 12px}.interactive-elements-title{color:#64748b;font-size:11px;font-weight:600;letter-spacing:.05em;margin-bottom:8px;text-transform:uppercase}.interactive-elements-list{display:flex;flex-wrap:wrap;gap:8px}.interactive-button{background:#111827;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:8px 12px}.interactive-button:hover{background:#1f2937}.interactive-link{background:#e0ecff;border-radius:8px;color:#2563eb;font-size:12px;font-weight:600;padding:8px 12px;text-decoration:none}.interactive-link:hover{text-decoration:underline}.interactive-expandable{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px 10px;width:100%}.interactive-expandable summary{color:#111827;cursor:pointer;font-weight:600}.interactive-expandable-content{color:#374151;font-size:12px;margin-top:8px;white-space:pre-wrap}.interactive-progress{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px 10px;width:100%}.interactive-progress-header{color:#111827;display:flex;font-size:12px;font-weight:600;justify-content:space-between;margin-bottom:6px}.interactive-progress-track{background:#e5e7eb;border-radius:999px;height:6px;overflow:hidden}.interactive-progress-fill{background:#10b981;height:100%}.message-actions{display:flex;flex-wrap:wrap;gap:8px;padding:4px 12px 8px}.message-actions .action-button{border:none;border-radius:6px;cursor:pointer;font-size:12px;padding:6px 12px}.message-actions .action-primary{background:#6366f1;color:#fff}.message-actions .action-secondary{background:#e5e7eb;color:#111827}.message-actions .action-danger{background:#ef4444;color:#fff}.message-actions .action-link{color:#2563eb;font-size:12px;text-decoration:none}.message-actions .action-expandable{font-size:12px;width:100%}.message-actions .action-progress{align-items:center;display:flex;font-size:12px;gap:8px}.message.thinking{opacity:.6}.thinking-dots{display:flex;gap:4px;padding:8px 12px}.thinking-dots span{animation:bounce 1.4s infinite;background:#667eea;border-radius:50%;height:6px;width:6px}.thinking-dots span:nth-child(2){animation-delay:.2s}.thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,60%,to{opacity:1;transform:translateY(0)}30%{transform:translateY(-10px)}}.message-todos{background:#f9fafb;border-left:3px solid #667eea;border-radius:4px;cursor:pointer;margin-top:8px;padding:8px 12px}.message-todos summary{color:#6b7280;font-size:12px;font-weight:600;outline:none;-webkit-user-select:none;user-select:none}.message-todos summary:hover{color:#667eea}.todos-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}.todo-item{display:flex;font-size:12px;gap:8px;padding:4px 0}.todo-icon{align-items:center;border-radius:50%;display:flex;flex-shrink:0;font-size:11px;height:16px;justify-content:center;width:16px}.todo-complete .todo-icon{background:#d1fae5;color:#10b981}.todo-in_progress .todo-icon{animation:spin 1s infinite;background:#fef3c7;color:#f59e0b}.todo-failed .todo-icon{background:#fee2e2;color:#ef4444}.todo-default .todo-icon{background:#f3f4f6;color:#9ca3af}.todo-task{color:#374151}.inline-preview{animation:slideIn .3s ease-out;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 12px #0000000d;margin:8px 0;overflow:hidden}.execution-result-inline{margin:12px 0 16px}.preview-header{background:linear-gradient(135deg,#f5f7fa,#f9fafb);border-bottom:1px solid #e5e7eb;padding:16px}.preview-header h3{color:#111827;font-size:16px;margin:0 0 4px}.preview-header p{color:#6b7280;font-size:13px;margin:0}.preview-content{align-items:center;background:#fff;display:flex;justify-content:center;min-height:400px;padding:32px}.generated-preview-iframe{background:#fff;border:none;border-radius:8px;height:500px;width:100%}.inline-preview .browser-view{border:none;border-radius:8px;height:500px;margin:0}.preview-component{max-width:800px;min-height:350px;width:100%}.dark-mode-demo{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.dark-mode-demo.light{background:#fff;color:#374151}.dark-mode-demo.dark{background:#1f2937;color:#f3f4f6}.demo-header{align-items:center;border-bottom:1px solid;border-color:#e5e7eb;border-color:var(--border-color,#e5e7eb);display:flex;justify-content:space-between;padding:16px}.demo-header h2{font-size:18px;margin:0}.toggle-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:1px solid;border-radius:6px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 16px;transition:all .2s}.toggle-btn:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.demo-content{min-height:200px;padding:24px}.demo-card{border:1px solid #e5e7eb;border-color:var(--border-color,#e5e7eb);border-radius:8px;margin-top:16px;padding:20px}.dark-mode-demo.light .demo-card{background:#f9fafb}.dark-mode-demo.dark .demo-card{background:#111827;border-color:#374151}.demo-card h3{font-size:14px;margin:0 0 8px}.demo-card p{font-size:13px;margin:0;opacity:.8}.keyboard-shortcuts-demo{width:100%}.keyboard-shortcuts-demo h3{color:#111827;font-size:16px;margin:0 0 12px}.shortcuts-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.shortcut-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;display:flex;flex-direction:column;gap:6px;padding:12px}.shortcut-item kbd{background:#667eea;border-radius:4px;color:#fff;display:inline-block;font-family:monospace;font-size:11px;font-weight:600;padding:4px 8px}.shortcut-item span{color:#6b7280;font-size:12px}.default-preview{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center;min-height:300px;padding:40px 20px;text-align:center}.default-preview h3{color:#667eea;font-size:24px;font-weight:700;margin:0}.default-preview p{color:#6b7280;font-size:15px;margin:0;max-width:500px}.demo-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;min-width:200px;padding:16px 32px;transition:all .2s}.demo-button:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.demo-button:active{transform:translateY(0)}.demo-text{color:#9ca3af;font-size:12px;margin:0}.preview-actions{background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:center;padding:16px}.preview-actions button{background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;padding:10px 24px;transition:all .2s}.action-approve{background:linear-gradient(135deg,#10b981,#059669);border:none;color:#fff}.action-approve:hover{box-shadow:0 4px 12px #10b9814d;transform:translateY(-2px)}.action-reject{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;color:#fff}.action-reject:hover{box-shadow:0 4px 12px #f59e0b4d;transform:translateY(-2px)}.chat-input-form{background:#fff;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;gap:12px;padding:1rem 2rem}.chat-input-form textarea{border:1px solid #d1d5db;border-radius:8px;flex:1 1;font-family:inherit;font-size:14px;line-height:1.5;max-height:150px;padding:12px;resize:none;transition:all .2s}.chat-input-form textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.chat-input-form textarea:disabled{background:#f9fafb;color:#d1d5db}.chat-input-form button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;flex-shrink:0;font-size:16px;height:-webkit-fit-content;height:fit-content;margin-top:2px;padding:10px 16px;transition:all .2s}.chat-input-form button:hover:not(:disabled){box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.chat-input-form button:disabled{cursor:not-allowed;opacity:.5}@media (max-width:768px){.unified-chat-shell{flex-direction:column}.sessions-sidebar{height:220px;overflow-x:auto;width:100%}.buddy-panel{flex-direction:row;height:180px;padding:16px;width:100%}.buddy-container{flex-direction:row;text-align:left}.buddy-avatar-large{height:120px;width:120px}.chat-header{padding:16px}.chat-header h1{font-size:20px}.messages-container{gap:12px;padding:12px}.message{max-width:95%}.message-text{font-size:13px;padding:10px 12px}.inline-preview{margin:4px 0}.preview-content{min-height:150px;padding:12px}.preview-actions{flex-wrap:wrap;gap:8px}.preview-actions button{flex:1 1;font-size:13px;padding:8px 12px}.chat-input-form{gap:8px;padding:12px}.chat-input-form textarea{font-size:13px;padding:10px}.chat-input-form button{font-size:14px;padding:8px 12px}.shortcuts-grid{grid-template-columns:1fr}}.tool-results{background:#f5f5f5;border-radius:8px;margin-top:12px;overflow:hidden}.tool-results>details{cursor:pointer}.tool-results>details>summary{background:#e8e8e8;color:#333;font-size:13px;font-weight:600;padding:10px 12px;-webkit-user-select:none;user-select:none}.tool-results>details>summary:hover{background:#ddd}.tool-results-list{display:flex;flex-direction:column;gap:6px;padding:8px}.tool-result{align-items:center;background:#fff;border-left:4px solid #ccc;border-radius:6px;display:flex;font-size:12px;gap:8px;padding:8px 10px}.tool-result-success{background:#f1f8f4;border-left-color:#4caf50}.tool-result-failure{background:#fdeaea;border-left-color:#f44336}.tool-status{font-size:14px;font-weight:700;min-width:20px}.tool-result-success .tool-status{color:#4caf50}.tool-result-failure .tool-status{color:#f44336}.tool-name{color:#333;flex-grow:1}.tool-error{color:#d32f2f}.tool-error,.tool-output{font-size:11px;margin-top:4px;padding-left:10px;width:100%}.tool-output{color:#666}@media (max-width:480px){.unified-chat{height:auto;min-height:100vh}.chat-header{padding:12px}.chat-header h1{font-size:18px}.messages-container{padding:8px}.message{max-width:100%}.message-text{font-size:12px}.confidence-bar{max-width:200px}.preview-content{padding:8px}.chat-input-form{flex-direction:column}.chat-input-form button{margin-top:0;width:100%}}.browser-view{background:#f5f5f5;border:1px solid #ddd;border-radius:8px;display:flex;flex-direction:column;height:100%;overflow:hidden}.browser-view-empty{align-items:center;background:#f9f9f9;border:2px dashed #ddd;border-radius:8px;display:flex;height:400px;justify-content:center}.empty-state{color:#666}.empty-state p{font-size:14px;margin:0}.browser-header{background:#fff;border-bottom:1px solid #e0e0e0;padding:8px 12px}.browser-controls{align-items:center;display:flex;gap:8px;margin-bottom:6px}.browser-url-bar{align-items:center;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;display:flex;flex:1 1;gap:6px;padding:6px 8px}.browser-icon{font-size:14px}.url-input{background:#0000;border:none;color:#333;flex:1 1;font-family:Monaco,Courier New,monospace;font-size:12px;outline:none}.url-input::-webkit-input-placeholder{color:#999}.browser-buttons{align-items:center;display:flex;gap:6px}.toggle-overlay-btn{background:#f0f0f0;border:1px solid #ccc;border-radius:3px;cursor:pointer;font-size:12px;padding:6px 10px;transition:all .2s}.toggle-overlay-btn:hover{background:#e0e0e0;border-color:#999}.toggle-overlay-btn:active{background:#d0d0d0}.loading-indicator{animation:pulse 1s infinite;color:#666;font-size:12px}.browser-title{color:#666;font-size:12px;max-height:18px;overflow:hidden;padding:4px 8px;text-overflow:ellipsis;white-space:nowrap}.browser-viewport{align-items:flex-start;background:#fff;display:flex;flex:1 1;justify-content:center;overflow:auto;padding:12px}.screenshot-container{max-height:100%;max-width:100%;position:relative}.screenshot{border:1px solid #ddd;border-radius:4px;box-shadow:0 2px 8px #0000001a;cursor:pointer;display:block;height:auto;width:100%}.element-overlay{height:100%;left:0;pointer-events:auto;position:absolute;top:0;width:100%}.element-rect{fill:#0000;stroke:#3b82f6;stroke-width:2;cursor:pointer;pointer-events:auto;transition:all .15s}.element-rect:hover{fill:#3b82f61a;stroke:#1e40af;stroke-width:2.5}.label-background{fill:#1e40af;stroke:none;rx:2}.element-label{fill:#fff;text-anchor:start;dominant-baseline:middle;font-size:11px;font-weight:500;pointer-events:none}.browser-footer{align-items:center;background:#f9f9f9;border-top:1px solid #e0e0e0;color:#666;display:flex;font-size:12px;justify-content:space-between;padding:8px 12px}.footer-info{display:flex;flex-wrap:wrap;gap:12px}.info-badge{background:#e8f1fe;border-radius:3px;color:#1e40af;font-size:11px;padding:2px 6px}@media (max-width:768px){.browser-controls{flex-direction:column;gap:6px}.browser-url-bar{flex:1 1;width:100%}.browser-viewport{padding:8px}.toggle-overlay-btn{font-size:11px;padding:4px 8px}}@media (prefers-color-scheme:dark){.browser-view{background:#2a2a2a}.browser-header{background:#1e1e1e;border-bottom-color:#3a3a3a}.browser-controls{background:#2a2a2a}.browser-url-bar{background:#3a3a3a;border-color:#4a4a4a}.url-input{color:#e0e0e0}.browser-title{color:#b0b0b0}.browser-viewport{background:#1e1e1e}.browser-footer{background:#2a2a2a;border-top-color:#3a3a3a}}.mission-visualizer{background:#0f1624;border:1px solid #23324a;border-radius:12px;color:#e6f0ff;margin:10px 0 16px;padding:14px}.mv-header{align-items:center;display:flex;justify-content:space-between}.mv-title{font-weight:700}.mv-status{font-size:12px;opacity:.8;text-transform:uppercase}.mv-objective{color:#b7c7e6;margin-top:6px}.mv-progress{align-items:center;display:flex;gap:8px;margin-top:8px}.mv-bar{background:#1b2840;border-radius:6px;flex:1 1;height:8px;overflow:hidden}.mv-fill{background:linear-gradient(90deg,#43e6a3,#39b8ff);height:100%}.mv-step,.mv-tool{color:#cfe1ff;margin-top:6px}.mv-preview{background:#0b111c;border:1px solid #1d2a40;border-radius:8px;margin-top:10px;min-height:80px;padding:10px}.mv-section{border-bottom:1px solid #1d2a40;padding:8px}.mv-section-title{font-weight:600}.mv-section-text{color:#b6c7e8;font-size:13px}.mv-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.mv-actions button{background:#1c2f4b;border:1px solid #2e4668;border-radius:8px;color:#e6f0ff;cursor:pointer;padding:8px 10px}.mv-list{list-style:none;margin:0;padding:0}.mv-list-title{font-weight:600}.mv-list-snippet{color:#b6c7e8;font-size:13px}.mv-calc{align-items:center;display:flex;gap:8px}.mv-json,.mv-nav{color:#b6c7e8}.mv-json{font-size:12px;white-space:pre-wrap}.mv-empty{color:#7f93b5}.mv-note{background:#1b2840;border-left:3px solid #43e6a3;border-radius:4px;color:#b7c7e6;font-size:13px;margin-top:12px;padding:8px 12px}.table-artifact-viewer{background-color:#fff;border:1px solid #e0e0e0;border-radius:8px;margin:12px 0;overflow:hidden}.table-artifact-viewer .artifact-header{align-items:center;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;gap:12px;justify-content:space-between;padding:12px 16px}.table-artifact-viewer .artifact-title{color:#333;flex:1 1;font-size:16px;font-weight:600;margin:0}.empty-table{color:#999;font-style:italic;padding:24px;text-align:center}@media (prefers-color-scheme:dark){.table-artifact-viewer{background-color:#1e1e1e;border-color:#404040}.table-artifact-viewer .artifact-header{background-color:#252525;border-bottom-color:#404040}.table-artifact-viewer .artifact-title{color:#e0e0e0}.artifact-meta{background-color:#404040;color:#b0b0b0}.empty-table{color:grey}.artifact-footer{background-color:#252525;border-top-color:#404040}.metadata{color:#b0b0b0}}.document-artifact-viewer{background-color:#fff;border:1px solid #e0e0e0;border-radius:8px;margin:12px 0;overflow:hidden}.document-artifact-viewer .artifact-header{align-items:center;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;gap:12px;justify-content:space-between;padding:12px 16px}.document-artifact-viewer .artifact-title{color:#333;flex:1 1;font-size:16px;font-weight:600;margin:0}@media (prefers-color-scheme:dark){.document-artifact-viewer{background-color:#1e1e1e;border-color:#404040}.document-artifact-viewer .artifact-header{background-color:#252525;border-bottom-color:#404040}.document-artifact-viewer .artifact-title{color:#e0e0e0}.artifact-meta{background-color:#404040;color:#b0b0b0}}.code-artifact-viewer{background-color:#fff;border:1px solid #e0e0e0;border-radius:8px;margin:12px 0;overflow:hidden}.code-artifact-viewer .artifact-header{background-color:#f8f9fa;border-bottom:1px solid #e0e0e0;padding:12px 16px}.code-artifact-viewer .artifact-title{color:#333;font-size:16px;font-weight:600;margin:0}@media (prefers-color-scheme:dark){.code-artifact-viewer{background-color:#1e1e1e;border-color:#404040}.code-artifact-viewer .artifact-header{background-color:#252525;border-bottom-color:#404040}.code-artifact-viewer .artifact-title{color:#e0e0e0}}.chart-artifact-viewer{background-color:#fff;border:1px solid #e0e0e0;border-radius:8px;margin:12px 0;overflow:hidden}.chart-artifact-viewer .artifact-header{align-items:center;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;gap:12px;justify-content:space-between;padding:12px 16px}.chart-artifact-viewer .artifact-title{color:#333;flex:1 1;font-size:16px;font-weight:600;margin:0}.artifact-meta{background-color:#e8e8e8;border-radius:3px}.chart-container{align-items:center;background-color:#fafafa;display:flex;justify-content:center;padding:20px}.empty-chart{color:#999;font-style:italic;padding:48px 24px;text-align:center}.artifact-footer{background-color:#fafafa;border-top:1px solid #e0e0e0;font-size:12px;padding:12px 16px}.metadata{color:#666;display:flex;flex-wrap:wrap;gap:16px}.metadata span{align-items:center;display:flex;gap:4px}@media (prefers-color-scheme:dark){.chart-artifact-viewer{background-color:#1e1e1e;border-color:#404040}.chart-artifact-viewer .artifact-header{background-color:#252525;border-bottom-color:#404040}.chart-artifact-viewer .artifact-title{color:#e0e0e0}.artifact-meta{background-color:#404040;color:#b0b0b0}.chart-container{background-color:#252525}.empty-chart{color:grey}.artifact-footer{background-color:#252525;border-top-color:#404040}.metadata{color:#b0b0b0}}.unified-proposal-viewer{background:#fff;border:1px solid #e0e0e0;border-radius:10px;overflow:hidden}.unified-proposal-viewer .artifact-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:12px 16px}.unified-proposal-viewer .artifact-title{color:#333;font-size:16px;font-weight:600;margin:0}.unified-proposal-viewer .artifact-meta{background:#eef2f7;border-radius:6px;color:#666;font-size:12px;padding:4px 8px}.proposal-body{padding:16px}.proposal-summary{color:#444;margin:0 0 16px}.proposal-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:16px}.proposal-card{background:#fafafa;border:1px solid #edf2f7;border-radius:8px;padding:12px}.proposal-card h4{color:#2d3748;font-size:14px;margin:0 0 10px}.proposal-row{color:#4a5568;display:flex;font-size:13px;gap:12px;justify-content:space-between;padding:4px 0}.suggestions-card{margin-top:8px}.suggestion-list{display:flex;flex-direction:column;gap:10px}.suggestion-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:12px;justify-content:space-between;padding:10px 12px}.suggestion-title{color:#2d3748;font-weight:600;margin-bottom:4px}.suggestion-meta{color:#718096;display:flex;flex-direction:column;font-size:12px;gap:4px}.suggestion-actions{align-items:center;display:flex;gap:8px}.btn-primary{border-radius:6px;padding:6px 10px}.btn-link,.btn-primary{font-size:12px;text-decoration:none}.btn-link{color:#2b6cb0}.empty-state{font-size:13px}.tool-alternatives-viewer{background:#f8f9fa;border:1px solid #e0e7ff;border-radius:8px;margin:20px 0;padding:20px}.alternatives-header{margin-bottom:20px}.alternatives-header h3{color:#1a1a1a;font-size:18px;font-weight:600;margin:0 0 8px}.alternatives-header p{color:#666;font-size:14px;margin:0}.tools-grid{grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:20px}.tool-card{background:#fff;border:2px solid #ddd;border-radius:8px;cursor:pointer;padding:16px;position:relative;transition:all .3s ease}.tool-card:hover{border-color:#2b6cb0;box-shadow:0 4px 12px #2b6cb01a}.tool-card.selected{background:#f0f5ff;border-color:#2b6cb0;box-shadow:0 4px 12px #2b6cb033}.tool-card.primary{background:#f1f8f4;border-color:#4caf50}.tool-card.primary:hover{border-color:#45a049;box-shadow:0 4px 12px #4caf5026}.tool-header{align-items:center;display:flex;gap:8px;justify-content:space-between;margin-bottom:12px}.tool-name{color:#1a1a1a;font-size:16px}.badge{border-radius:4px;font-size:11px;font-weight:600;padding:4px 8px;white-space:nowrap}.badge-primary{background-color:#4caf50;color:#fff}.badge-fast{background-color:#ff9800;color:#fff}.badge-cheap{background-color:#2196f3;color:#fff}.tool-metrics{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.metric{align-items:flex-start;font-size:13px;gap:8px;justify-content:space-between}.metric-label{color:#666;flex:1 1}.metric-value{color:#1a1a1a;white-space:nowrap}.metric-note{color:#999;display:block;font-size:12px;font-style:italic;margin-top:2px;text-align:right}.tool-reasoning{background-color:#f5f5f5;border-radius:4px;color:#666;line-height:1.4;padding:10px}.tool-failures,.tool-reasoning{font-size:12px;margin-bottom:12px}.failures-label{color:#d32f2f;display:block;font-weight:600;margin-bottom:4px}.failures-list{color:#d32f2f;margin:0;padding-left:16px}.failures-list li{margin:2px 0}.tool-select{align-items:center;border-top:1px solid #eee;display:flex;gap:8px;padding-top:12px}.tool-radio{cursor:pointer;height:18px;margin:0;width:18px}.tool-label{color:#2b6cb0;cursor:pointer;flex:1 1;font-size:13px;font-weight:600;margin:0}.selection-reason{background:#fff;border:1px solid #e0e7ff;border-radius:8px;margin-bottom:20px;padding:16px}.selection-reason label{color:#1a1a1a;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.reason-select{background-color:#fff;border:1px solid #ddd;border-radius:4px;color:#1a1a1a;cursor:pointer;font-size:13px;padding:8px 12px;transition:border-color .3s ease;width:100%}.reason-select:hover{border-color:#2b6cb0}.reason-select:focus{border-color:#2b6cb0;box-shadow:0 0 0 2px #2b6cb01a;outline:none}.alternatives-note{background-color:#e3f2fd;border-left:4px solid #2196f3;border-radius:4px;color:#1565c0;font-size:13px;padding:12px 16px}.alternatives-note p{line-height:1.5;margin:0}@media (max-width:768px){.tools-grid{grid-template-columns:1fr}.tool-card{padding:12px}.tool-header{align-items:flex-start;flex-direction:column}.tool-metrics{gap:6px}.metric{flex-direction:column;gap:2px}.metric-value{font-size:14px}}.artifact-viewer{border-radius:8px;margin:12px 0;overflow:hidden}.artifact-viewer.empty{background-color:#f5f5f5;color:#888;font-style:italic;padding:16px;text-align:center}.artifact-viewer.unknown-type{background-color:#fafafa;border:1px solid #e0e0e0}.artifact-header{align-items:center;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:12px 16px}.artifact-header h3{color:#333;font-size:16px;font-weight:600;margin:0}.artifact-meta{background-color:#e8f4f8;border-radius:4px;color:#666;font-size:12px;padding:4px 8px}.artifact-body{padding:16px}.artifact-body p{color:#666;margin:0}.governance-badge{border-left:4px solid;border-radius:8px;margin:12px 0;padding:12px 16px}.governance-badge.auto-approve{background-color:#e8f5e9;border-left-color:#4caf50}.governance-badge.require-approval{background-color:#fff3e0;border-left-color:#ff9800}.governance-badge.reject{background-color:#ffebee;border-left-color:#f44336}.governance-badge.unknown{background-color:#f5f5f5;border-left-color:#999}.badge-header{align-items:center;display:flex;font-size:14px;font-weight:600;gap:12px;margin-bottom:8px}.decision-icon{font-size:18px;font-weight:700;min-width:24px;text-align:center}.governance-badge.auto-approve .decision-icon{color:#4caf50}.governance-badge.require-approval .decision-icon{color:#ff9800}.governance-badge.reject .decision-icon{color:#f44336}.decision-label{color:#333;flex:1 1}.confidence-score{color:#555;font-size:16px;font-weight:700;min-width:50px;text-align:right}.confidence-bar{background-color:#0000001a;border-radius:3px;height:6px;margin:8px 0;overflow:hidden}.confidence-fill{height:100%;transition:width .3s ease}.checks-breakdown{border-top:1px solid #0000001a;display:flex;flex-direction:column;font-size:12px;gap:6px;margin-top:12px;padding-top:12px}.check-item{align-items:center;color:#555;display:flex;gap:8px}.check-icon{font-size:14px;font-weight:700;min-width:16px;text-align:center}.check-item .check-icon{color:#4caf50}.check-item:has(.check-icon:contains("✕")) .check-icon{color:#f44336}.check-name{color:#666}.execution-result-display{background-color:#fff;border-radius:8px;overflow:hidden}.execution-result.empty{background-color:#f9f9f9;border:1px dashed #ddd;color:#999;font-style:italic;padding:24px;text-align:center}.execution-summary{background-color:#f9f9f9;border-bottom:1px solid #e0e0e0;color:#555;font-size:14px;line-height:1.6;padding:16px}.execution-summary p{margin:0}.governance-section{background-color:#fafafa;border-bottom:1px solid #e0e0e0;padding:16px}.artifacts-section{background-color:#fff;padding:16px}.artifacts-title{align-items:center;color:#333;display:flex;font-size:16px;font-weight:600;gap:8px;margin:0 0 12px}.artifacts-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr}@media (min-width:900px){.artifacts-grid{grid-template-columns:1fr 1fr}}@media (min-width:1400px){.artifacts-grid{grid-template-columns:repeat(3,1fr)}}.artifact-item{border:1px solid #e0e0e0;overflow:hidden}.execution-metadata{background-color:#f5f5f5;border-top:1px solid #e0e0e0;color:#666;display:flex;flex-wrap:wrap;font-size:12px;gap:16px;padding:12px 16px}.meta-item{align-items:center;gap:4px}.mission-reference{background-color:#e8f4f8;border-top:1px solid #d0dce0;color:#666;padding:8px 16px;text-align:right}.mission-reference small{font-family:Courier New,monospace;font-size:11px}.execution-timeline-section{background-color:#fafbfc;border-bottom:1px solid #e0e0e0;padding:20px}.timeline-title{align-items:center;color:#333;display:flex;font-size:16px;font-weight:600;gap:8px;margin:0 0 16px}.timeline-title:before{content:"📊";font-size:18px}.execution-result-display{position:relative}@media (prefers-color-scheme:dark){.execution-result-display{background-color:#1e1e1e}.execution-summary{color:#d4d4d4}.execution-summary,.execution-timeline-section{background-color:#252525;border-bottom-color:#404040}.timeline-title{color:#e0e0e0}.governance-section{background-color:#2a2a2a;border-bottom-color:#404040}.artifacts-section{background-color:#1e1e1e}.artifacts-title{color:#e0e0e0}.artifact-item{border-color:#404040}.execution-metadata{background-color:#252525;border-top-color:#404040;color:#b0b0b0}.mission-reference{background-color:#1a3a4a;border-top-color:#2a5a6a;color:#b0b0b0}.execution-result.empty{background-color:#252525;border-color:#404040;color:grey}}.whiteboard-container{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100vh;min-width:0;overflow:hidden;width:100%}.whiteboard-header{align-items:center;-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000;border-bottom:none;display:flex;justify-content:space-between;padding:1rem 2rem}.back-button{background:#fffffff2;border:none;border-radius:6px;box-shadow:0 4px 12px #00000026;color:#1f2937;font-size:.95rem;padding:.5rem 1.25rem}.back-button:hover{background:#fff;box-shadow:0 6px 16px #0003;transform:translateY(-2px)}.whiteboard-layout{display:flex;flex:1 1;gap:0;min-width:0;overflow:hidden;width:100%}.whiteboard-sidebar{align-items:center;background:#0000;border-right:none;box-shadow:none;display:flex;flex-direction:column;flex-shrink:0;gap:0;overflow-x:hidden;overflow-y:auto;padding:1.5rem 1rem;width:280px}.buddy-section{display:none}.buddy-avatar-image{border-radius:12px;cursor:pointer;height:280px;margin:1rem 0;object-fit:contain;transition:transform .2s ease;width:280px}.buddy-avatar-image:hover{transform:scale(1.05)}.avatar-circle-fallback{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;box-shadow:0 4px 12px #667eea33;color:#fff;cursor:pointer;display:flex;font-size:4rem;height:280px;justify-content:center;margin:.75rem 0;transition:transform .2s ease;width:280px}.avatar-circle-fallback:hover{transform:scale(1.05)}.whiteboard-title{color:#fff;flex:1 1;font-size:28px;font-weight:800;letter-spacing:-1px;margin:0;text-align:left}.whiteboard-nav{border-top:1px solid #fff3;display:flex;flex:1 1;flex-direction:column;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;width:100%}.nav-item{background:#ffffff1a;border:1px solid #0000;border-radius:8px;color:#ffffffd9;cursor:pointer;font-size:.95rem;font-weight:500;overflow:hidden;padding:.75rem 1rem;text-align:left;text-overflow:ellipsis;transition:all .2s;white-space:nowrap}.nav-item:hover{background:#ffffff26;border-color:#fff3;color:#fffffff2}.nav-item.active{background:#fff3;border-color:#fff6;box-shadow:none;color:#fff}.date-range-selector{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;display:flex;gap:.75rem;margin-top:1rem;padding:.75rem 1rem;width:100%}.date-range-selector label{color:#ffffffd9;font-size:.9rem;font-weight:500;white-space:nowrap}.days-dropdown{background:#fffffff2;border:1px solid #ffffff4d;border-radius:6px;color:#374151;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:500;padding:.5rem .75rem;transition:all .2s}.days-dropdown:hover{background:#fff;border-color:#ffffff80}.days-dropdown:focus{border-color:#fff;box-shadow:0 0 0 3px #ffffff1a;outline:none}.loading-screen{color:#667eea;flex-direction:column;font-size:1.2rem;min-height:60vh}.content-loading,.loading-screen{align-items:center;display:flex;justify-content:center}.content-loading{color:#6b7280;font-size:1rem;min-height:400px}.spinner{animation:spin 1s linear infinite;border:5px solid #667eea33;border-top-color:#667eea;height:50px;margin-bottom:1rem;width:50px}.whiteboard-main{align-items:center;background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026;display:flex;flex:1 1;flex-direction:column;margin:1.5rem;min-width:0;overflow-y:auto;padding:2rem}.refresh-btn:disabled{cursor:not-allowed;opacity:.6}.last-updated{color:#6b7280;font-size:.875rem}.error-banner{background:#fef2f2;border:2px solid #fca5a5;margin-bottom:1rem;padding:1rem}.whiteboard-grid{display:block;margin:0 auto;max-width:1200px;width:100%}.panel{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;margin:0 auto 2rem;max-width:900px;padding:2.5rem;transition:transform .2s,box-shadow .2s;width:100%}.panel h2{color:#1f2937;font-size:1.75rem;font-weight:600;margin:0 0 2rem}.section-header{align-items:center;display:flex;flex-wrap:wrap;gap:2rem;justify-content:space-between;margin-bottom:2rem}.section-header h2{flex:1 1;margin:0;min-width:200px}.date-range-selector-inline{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:.75rem;padding:.75rem 1rem;white-space:nowrap}.date-range-selector-inline label{color:#6b7280;font-size:.9rem;font-weight:500}.days-dropdown-inline{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem .75rem;transition:all .2s}.days-dropdown-inline:hover{background:#f9fafb;border-color:#9ca3af}.days-dropdown-inline:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.no-data{color:#6b7280;font-style:italic;padding:2rem}.stats-row{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-bottom:2rem}.stat-box{background:#f9fafb;border-radius:8px;padding:1.5rem;text-align:center}.stat-value{font-size:2rem}.stat-label{font-size:.875rem;margin-top:.25rem}.data-table{border-collapse:collapse;width:100%}.data-table thead{background:#f9fafb}.data-table th{border-bottom:2px solid #e5e7eb;color:#4b5563;font-weight:600;padding:.75rem;text-align:left}.data-table td{border-bottom:1px solid #f3f4f6;padding:.75rem}.data-table tr:hover{background:#f9fafb}.endpoint-path{color:#4b5563;font-family:Courier New,monospace;font-size:.875rem}.endpoint-breakdown{border-top:2px solid #e5e7eb;margin-top:2rem;padding-top:2rem}.endpoint-breakdown h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin:0 0 1.5rem}.request-count{color:#667eea;font-weight:600}.methods-list{background:#f3f4f6;border-radius:4px;color:#4b5563;display:inline-block;font-family:Courier New,monospace;font-size:.75rem;padding:.25rem .5rem}.data-table tr.high-traffic{background:#f0f4ff}.data-table tr.high-traffic:hover{background:#e7ecff}.data-table tr.high-traffic td:first-child{color:#667eea;font-weight:600}.companies-accordion{display:flex;flex-direction:column;gap:1rem}.company-card{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;transition:box-shadow .2s}.company-card:hover{box-shadow:0 4px 12px #00000014}.company-header{align-items:center;background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-bottom:1px solid #e5e7eb;cursor:pointer;display:flex;justify-content:space-between;padding:1.25rem;transition:background .2s}.company-header:hover{background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}.company-name{align-items:center;color:#1f2937;display:flex;font-size:1rem;gap:.75rem}.toggle-icon{color:#667eea;display:inline-block;font-size:.9rem;text-align:center;transition:transform .2s;width:20px}.company-stats{align-items:center;display:flex;gap:1.5rem}.company-stats .stat{color:#6b7280;font-size:.9rem;font-weight:500}.company-stats .stat.cost{color:#10b981;font-weight:600}.request-types-container{background:#fafbfc;border-top:1px solid #e5e7eb;padding:1.5rem}.request-types-table{border-collapse:collapse;font-size:.9rem;width:100%}.request-types-table thead{background:#f0f1f3}.request-types-table th{border-bottom:2px solid #e5e7eb;color:#4b5563;font-weight:600;padding:.75rem;text-align:left}.request-types-table td{border-bottom:1px solid #e5e7eb;padding:.75rem}.request-types-table tbody tr:hover{background:#fff}.req-type{color:#667eea;font-family:Courier New,monospace;font-weight:500}.req-count{color:#1f2937;font-weight:600}.req-latency{color:#6b7280}.req-cost{color:#10b981;font-weight:600}.cost-summary{margin-bottom:1.5rem}.cost-total{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:2.5rem;font-weight:700;padding:1.5rem;text-align:center}.cost-label{display:block;font-size:.875rem;margin-top:.5rem;opacity:.9}.cost-breakdown{display:flex;flex-direction:column;gap:.75rem}.cost-item{background:#f9fafb;border-radius:8px;display:flex;justify-content:space-between;padding:1rem}.cost-service,.cost-value{font-weight:600}.cost-value{color:#667eea}.income-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.income-card{background:#f9fafb;border-radius:8px;padding:1.5rem 1rem;text-align:center}.income-value{color:#667eea;font-size:2rem;font-weight:700}.income-label{color:#6b7280;font-size:.875rem;margin-top:.5rem}.latency-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.latency-card{background:#f9fafb;border-radius:8px;padding:1.5rem 1rem;text-align:center}.latency-value{color:#10b981;font-size:2rem;font-weight:700}.latency-label{color:#6b7280;font-size:.875rem;margin-top:.5rem}.artifacts-list{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.artifact-item{background:#f9fafb;border-radius:8px;display:flex;justify-content:space-between;padding:1rem 1.25rem}.artifact-type{font-weight:500;text-transform:capitalize}.artifact-count{color:#667eea;font-weight:600}.llm-stats{display:flex;flex-direction:column;gap:1.25rem}.stat-item{align-items:center;background:#f9fafb;border-radius:8px;display:flex;justify-content:space-between;padding:1rem 1.25rem}.stat-label{color:#6b7280;font-weight:500}.stat-value{color:#667eea;font-size:1.1rem;font-weight:600}.models-breakdown{background:#f9fafb;border-radius:8px;display:flex;flex-direction:column;gap:.5rem;padding:1rem}.model-list{list-style:none;margin:.5rem 0 0;padding:0}.model-list li{color:#555;font-size:.9rem;padding:.5rem}.tools-accordion{display:flex;flex-direction:column;gap:1rem}.tool-category{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.category-header{background:linear-gradient(135deg,#667eea15,#764ba215);cursor:pointer;font-weight:500;padding:.75rem 1rem;transition:background .2s}.category-header:hover{background:linear-gradient(135deg,#667eea25,#764ba225)}.category-count{background:#667eea;border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.tools-in-category{display:flex;flex-direction:column;gap:.75rem;padding:.75rem}.tool-item{background:#f9fafb;border-left:3px solid #667eea;border-radius:6px;padding:.75rem}.tool-name{font-weight:500;margin-bottom:.5rem}.tool-metrics{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr 1fr}.metric{display:flex;flex-direction:column;gap:.25rem}.metric-label{color:#6b7280;font-size:.75rem;font-weight:500}.metric-value{color:#667eea;font-size:1rem;font-weight:600}.section-description{font-size:.9rem;font-style:italic;margin:0 0 1rem}.coming-soon{color:#9ca3af;font-style:italic;padding:2rem 1rem;text-align:center}\n.whiteboard-footer{display:none}@media (max-width:1024px){.whiteboard-layout{flex-direction:row}.whiteboard-sidebar{width:260px}.whiteboard-main{padding:1.5rem}.panel{max-width:100%;padding:2rem}}.function-test-panel{max-width:800px}.test-info{background:#f0f4ff;border-left:4px solid #667eea;border-radius:8px;margin-bottom:2.5rem;padding:2rem}.info-description{color:#374151;font-size:.95rem;line-height:1.6;margin:0 0 1.25rem}.info-description:last-child{margin-bottom:0}.test-action-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;margin-bottom:2rem;padding:1rem 2rem;transition:all .2s}.test-action-button:hover:not(:disabled){box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.test-action-button:active:not(:disabled){transform:translateY(0)}.test-action-button:disabled{cursor:not-allowed;opacity:.7}.test-results-area{background:#f9fafb;border:1px dashed #e5e7eb;border-radius:8px;min-height:200px;padding:1.5rem}.test-results{animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.test-error{background:#fee2e2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;padding:1rem}.test-header{border-bottom:2px solid #e5e7eb;margin-bottom:1.5rem;padding-bottom:1rem}.test-header h3{color:#1f2937;font-size:1.3rem;margin:0 0 .5rem}.test-timestamp{color:#6b7280;font-size:.85rem;margin:0}.test-summary{background:#fff;border:1px solid #e5e7eb;border-radius:6px;gap:2rem;margin-bottom:2rem;padding:1rem}.summary-item{align-items:center;display:flex;flex-direction:column}.summary-item.passed{color:#059669}.summary-item.failed{color:#dc2626}.summary-item.rate{color:#667eea}.summary-label{color:#6b7280;font-size:.85rem;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.summary-value{font-size:1.5rem;font-weight:700}.test-steps{margin-top:1.5rem}.test-steps h4{color:#1f2937;font-size:1.1rem;margin:0 0 1rem}.steps-list{display:flex;flex-direction:column;gap:.75rem;list-style:none;margin:0;padding:0}.steps-list .step{align-items:flex-start;background:#fff;border-left:4px solid #e5e7eb;border-radius:6px;display:flex;flex:1 1;gap:.75rem;padding:.75rem 1rem}.steps-list .step.passed{background:#f0fdf4;border-left-color:#059669}.steps-list .step.failed{background:#fef2f2;border-left-color:#dc2626}.steps-list .step.unknown{background:#f3f4f6;border-left-color:#6b7280}.step-icon{align-items:center;border-radius:50%;display:inline-flex;flex-shrink:0;font-weight:700;height:24px;justify-content:center;width:24px}.steps-list .step.passed .step-icon{background:#059669;color:#fff;font-size:.85rem}.steps-list .step.failed .step-icon{background:#dc2626;color:#fff;font-size:.85rem}.steps-list .step.unknown .step-icon{background:#d1d5db;color:#6b7280}.step-content{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.step-detail,.step-message{display:block;font-size:.85rem}.step-message{color:#6b7280;margin-top:.25rem}@media (max-width:768px){.whiteboard-sidebar{padding:1.5rem 1rem;width:220px}.whiteboard-title{font-size:28px}.avatar-circle-fallback,.buddy-avatar-image{height:180px;width:180px}.avatar-circle-fallback{font-size:4rem}.whiteboard-main{padding:1rem}.panel{max-width:100%;padding:1.5rem}.stat-box{padding:1rem}}.error-banner{align-items:center;background:#fee2e2;border-left:4px solid #dc2626;border-radius:8px;color:#991b1b;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding:1rem 1.5rem}.error-banner button{background:#dc2626;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.error-banner button:hover{background:#991b1b}.whiteboard-footer{display:none}.tool-confidence-panel{background:#fff;border-radius:12px;padding:2rem}.tools-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:2rem}.tool-category{background:linear-gradient(135deg,#f8f9fa,#f0f4f8);border:1px solid #e0e7ff;border-radius:10px;box-shadow:0 2px 8px #0000000d;padding:1.5rem}.category-title{align-items:center;color:#1f2937;display:flex;font-size:1.1rem;font-weight:700;gap:.5rem;margin:0 0 .5rem}.category-desc{color:#6b7280;font-size:.85rem;font-style:italic;margin:0 0 1rem}.tools-list{flex-direction:column;gap:.75rem}.tool-item{align-items:center;background:#fff;border-left:3px solid #e5e7eb;border-radius:8px;display:flex;gap:1rem;padding:.75rem 1rem;transition:all .2s ease}.tool-item:hover{box-shadow:0 2px 6px #00000014;transform:translateX(4px)}.tool-item.low-risk{border-left-color:#10b981}.tool-item.medium-risk{border-left-color:#f59e0b}.tool-item.high-risk{border-left-color:#ef4444}.tool-item.neutral{border-left-color:#8b5cf6}.tool-name{color:#1f2937;flex:1 1;font-family:Courier New,monospace;font-size:.9rem;font-weight:600}.tool-risk{border-radius:4px;font-size:.75rem;font-weight:700;min-width:60px;padding:.25rem .75rem;text-align:center;white-space:nowrap}.tool-item.low-risk .tool-risk{background:#d1fae5;color:#065f46}.tool-item.medium-risk .tool-risk{background:#fef3c7;color:#92400e}.tool-item.high-risk .tool-risk{background:#fee2e2;color:#991b1b}.tool-item.neutral .tool-risk{background:#ede9fe;color:#5b21b6}.tool-desc{color:#6b7280;flex:0.8 1;font-size:.8rem;text-align:right}.tools-legend{background:#f3f4f6;border-radius:8px;display:flex;flex-wrap:wrap;gap:2rem;margin-top:2rem;padding:1.5rem}.legend-item{align-items:center;color:#374151;display:flex;font-size:.9rem;gap:.75rem}.risk-badge{border-radius:4px;font-size:.75rem;font-weight:700;padding:.25rem .75rem;white-space:nowrap}.risk-badge.low-risk{background:#d1fae5;color:#065f46}.risk-badge.medium-risk{background:#fef3c7;color:#92400e}.risk-badge.high-risk{background:#fee2e2;color:#991b1b}.live-agents-panel{background:#fff;border-radius:12px;padding:2rem}.agents-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));margin-top:1.5rem}.analytics-card{background:linear-gradient(135deg,#f8f9fa,#f0f4f8);border:1px solid #e0e7ff;border-radius:10px;box-shadow:0 2px 8px #0000000d;padding:1.5rem}.analytics-card h3{align-items:center;color:#1f2937;display:flex;font-size:1.1rem;font-weight:700;gap:.5rem;margin:0 0 1rem}.agents-list{display:flex;flex-direction:column;gap:.75rem}.agent-item{align-items:center;background:#fff;border-left:3px solid #10b981;border-radius:8px;display:flex;justify-content:space-between;padding:.875rem 1rem;transition:all .2s ease}.agent-item:hover{box-shadow:0 2px 6px #00000014;transform:translateX(4px)}.agent-info{display:flex;flex-direction:column;gap:.35rem}.agent-name{color:#1f2937;font-size:.95rem;font-weight:600}.agent-stats{color:#6b7280;display:flex;font-size:.8rem;gap:1rem}.agent-stats span{white-space:nowrap}.agent-status{border-radius:6px;font-size:.75rem;font-weight:700;letter-spacing:.5px;padding:.35rem .875rem;text-transform:uppercase}.agent-status.online{background:#d1fae5;color:#065f46}.agent-status.offline{background:#fee2e2;color:#991b1b}.capacity-list{display:flex;flex-direction:column;gap:1rem}.capacity-item{background:#fff;border-radius:8px;padding:.875rem 1rem}.capacity-label{color:#1f2937;display:flex;font-size:.9rem;font-weight:600;justify-content:space-between;margin-bottom:.5rem}.capacity-bar{background:#e5e7eb;border-radius:6px;height:24px;overflow:hidden;position:relative;width:100%}.capacity-fill{align-items:center;background:linear-gradient(90deg,#10b981,#059669);color:#fff;display:flex;font-size:.75rem;font-weight:700;height:100%;justify-content:center;transition:width .3s ease}.bottleneck-warning{color:#f59e0b;font-size:.8rem;font-weight:500;margin-top:.5rem}.pipeline-stats{display:flex;flex-direction:column;gap:1rem}.pipeline-breakdown{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.breakdown-item{align-items:center;background:#fff;border-left:3px solid #e5e7eb;border-radius:6px;display:flex;justify-content:space-between;padding:.5rem .875rem}.breakdown-item.success{border-left-color:#10b981}.breakdown-item.failed{border-left-color:#ef4444}.breakdown-label{color:#6b7280;font-size:.85rem}.breakdown-value{color:#1f2937;font-size:1rem;font-weight:700}.empty-state{background:#fff;border:2px dashed #e5e7eb;border-radius:8px;color:#9ca3af;font-style:italic;padding:2rem}.system-learning-panel{background:#fff;border-radius:12px;padding:2rem}.confidence-distribution{margin-bottom:2rem}.confidence-distribution h3{color:#1f2937;font-size:1.1rem;font-weight:700;margin:0 0 1rem}.tool-profiles{margin-top:2rem}.tool-profiles h3{color:#1f2937;font-size:1.1rem;font-weight:700;margin:0 0 1rem}.tool-profiles .tools-grid{gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.tool-profile-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;gap:.5rem;padding:1rem;transition:all .2s ease}.tool-profile-item:hover{border-color:#667eea;box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.tool-profile-item .tool-name{color:#1f2937;flex:initial;font-family:Courier New,monospace;font-size:.85rem;font-weight:600}.tool-profile-item .tool-stats{color:#6b7280;display:flex;font-size:.75rem;gap:.5rem}.confidence-badge{border-radius:4px;font-size:.75rem;font-weight:700;letter-spacing:.5px;padding:.25rem .75rem;text-align:center;text-transform:uppercase}.confidence-badge.confidence-high{background:#d1fae5;color:#065f46}.confidence-badge.confidence-medium{background:#fef3c7;color:#92400e}.confidence-badge.confidence-low{background:#fee2e2;color:#991b1b}.api-usage-summary,.cost-summary{background:linear-gradient(135deg,#f8f9fa,#f0f4f8);border:1px solid #e0e7ff;border-radius:10px;margin:2rem 0;padding:1.5rem}.api-usage-summary h3,.cost-summary h3{color:#1f2937;font-size:1.1rem;font-weight:700;margin:0 0 1rem!important}.stat-box.warning .stat-label{color:#f59e0b}.monitor-panel{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;box-shadow:0 4px 6px #00000012;margin:24px 0;padding:24px}.monitor-header{border-bottom:1px solid #0000001a;padding-bottom:16px}.monitor-header h2{color:#1f2937;font-size:20px;font-weight:600;margin:0}.monitor-controls{display:flex;gap:12px}.monitor-btn{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.monitor-btn:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.monitor-btn:disabled{cursor:not-allowed;opacity:.6}.test-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff}.test-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.overall-health{margin-bottom:24px}.health-indicator{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:16px;margin-bottom:12px;padding:16px}.health-light{animation:pulse 2s infinite;border-radius:50%;box-shadow:0 0 12px currentColor;flex-shrink:0;height:24px;width:24px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.health-text{flex:1 1}.health-status{color:#1f2937;font-size:16px;font-weight:600;margin-bottom:4px}.health-summary{color:#6b7280;font-size:13px}.status-decoder{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-wrap:wrap;gap:2rem;padding:12px 16px}.decoder-item{align-items:center;display:flex;gap:8px}.decoder-circle{border-radius:50%;box-shadow:0 0 6px currentColor;flex-shrink:0;height:12px;width:12px}.decoder-label{color:#6b7280;font-size:13px;font-weight:500}.decoder-count{color:#1f2937;font-size:14px;font-weight:600;min-width:20px;text-align:right}.systems-grid{margin-bottom:24px}.grid-title{color:#374151;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.systems-accordion{display:flex;flex-direction:column;gap:2rem;margin-bottom:24px}.category-header{align-items:center;background:#0000;border:none;color:#1f2937;display:flex;font-size:15px;font-weight:600;justify-content:space-between;margin:0 0 1rem;padding:0}.category-name{color:#1f2937}.systems-list{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);width:100%}.tool-readiness{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;padding:16px}.tool-readiness-header{align-items:baseline;display:flex;gap:16px;justify-content:space-between;margin-bottom:12px}.tool-readiness-header h3{color:#1f2937;font-size:16px;font-weight:600;margin:0}.tool-readiness-summary{color:#6b7280;display:flex;flex-wrap:wrap;font-size:12px;gap:12px}.tool-readiness-details{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(3,1fr)}.tool-readiness-list h4{color:#374151;font-size:13px;font-weight:600;margin:0 0 8px}.tool-readiness-items{display:flex;flex-wrap:wrap;gap:6px}.tool-readiness-tag{background:#f3f4f6;border-radius:999px;color:#374151;font-size:11px;font-weight:600;padding:4px 8px}.tool-readiness-tag.blocked{background:#fee2e2;color:#991b1b}.tool-readiness-tag.mock{background:#fef3c7;color:#92400e}.tool-readiness-tag.noncallable{background:#e5e7eb;color:#111827}.tool-readiness-empty{color:#9ca3af;font-size:12px}.system-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:12px;padding:12px 16px;transition:all .2s ease}.system-item:hover{background:#fff;border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.system-status{border-radius:50%;box-shadow:0 0 8px currentColor;flex-shrink:0;height:12px;margin-top:4px;width:12px}.system-info{flex:1 1;min-width:0}.system-name{color:#1f2937;font-size:14px;font-weight:600;margin-bottom:4px}.system-detail{color:#6b7280;font-size:13px;line-height:1.4}.accordion-toggle{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px;transition:all .2s ease;width:100%}.accordion-toggle:hover{background:#f9fafb;border-color:#9ca3af}.toggle-arrow{display:inline-block;font-size:12px;transition:transform .2s ease}.toggle-text{flex:1 1;text-align:left}.test-results{background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-top:24px;padding:16px}.test-title{color:#1f2937;font-size:14px;font-weight:600;margin:0 0 16px}.test-summary{border-bottom:1px solid #e5e7eb;display:flex;gap:24px;margin-bottom:16px;padding-bottom:16px}.test-stat{display:flex;flex-direction:column}.test-label{color:#6b7280;font-size:12px;font-weight:500;margin-bottom:4px}.test-value{color:#1f2937;font-size:18px;font-weight:600}.test-value.passed{color:#10b981}.test-value.failed{color:#ef4444}.test-steps{display:flex;flex-direction:column;gap:8px}.test-step{align-items:flex-start;display:flex;gap:12px;padding:8px 0}.step-status{align-items:center;border-radius:4px;color:#fff;display:flex;flex-shrink:0;font-size:12px;font-weight:600;height:20px;justify-content:center;width:20px}.step-status.passed{background:#10b981}.step-status.failed{background:#ef4444}.step-info{flex:1 1;min-width:0}.step-name{color:#1f2937;font-size:13px;font-weight:600;margin-bottom:2px}.step-detail{color:#6b7280;font-size:12px;line-height:1.4}.monitor-metadata{border-top:1px solid #0000000d;margin-top:16px;padding-top:12px;text-align:right}.monitor-metadata small{color:#9ca3af;font-size:12px}.monitor-loading{color:#6b7280;font-size:14px;padding:24px;text-align:center}@media (max-width:1200px){.systems-list{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.monitor-panel{padding:16px}.systems-list,.tool-readiness-details{grid-template-columns:1fr}.category-header{font-size:14px}}@media (max-width:480px){.systems-list{grid-template-columns:1fr}.category-header{align-items:flex-start;flex-direction:column;gap:8px}.category-count{align-self:flex-start}}.monitor-trackers-grid{margin:24px 0;padding:0}.trackers-title{color:#1f2937;font-size:16px;font-weight:600;letter-spacing:.5px;margin:0 0 16px;padding:0 4px;text-transform:uppercase}.trackers-container{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin-bottom:32px}.tracker-card{background:#fff;border:1px solid #e5e7eb;border-left:4px solid;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:8px;min-height:100px;padding:16px;transition:all .2s ease}.tracker-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.tracker-status{align-items:center;display:flex;gap:8px}.tracker-status-dot{border-radius:50%;flex-shrink:0;height:12px;width:12px}.tracker-label{color:#6b7280;font-size:12px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}.tracker-name{color:#1f2937;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tracker-message{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#6b7280;display:-webkit-box;font-size:13px;line-height:1.3;overflow:hidden}@media (max-width:1200px){.systems-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width:768px){.systems-list{grid-template-columns:1fr}}.billing-dashboard{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;margin:0 auto;max-width:1200px;padding:2rem}.billing-dashboard h1{color:#1a1a1a;font-size:2rem;font-weight:600;margin-bottom:2rem}.billing-dashboard.error,.billing-dashboard.loading,.billing-dashboard.no-subscription{padding:4rem 2rem;text-align:center}.billing-dashboard.loading{color:#666}.billing-dashboard.error{color:#d32f2f}.billing-dashboard.error button{background:#d32f2f;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;margin-top:1rem;padding:.75rem 1.5rem}.error-message,.success-message{border-radius:6px;font-weight:500;margin-bottom:1.5rem;padding:1rem 1.5rem}.success-message{background:#e8f5e9;border:1px solid #81c784;color:#2e7d32}.error-message{background:#ffebee;border:1px solid #ef9a9a;color:#c62828}.billing-section{margin-bottom:2.5rem}.billing-section h2{color:#333;font-size:1.5rem;font-weight:600;margin-bottom:1rem}.payment-card,.plan-card,.usage-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000000d;padding:1.5rem}.plan-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.plan-header h3{color:#1a1a1a;font-size:1.25rem;font-weight:600;margin:0 0 .5rem}.status-badge{border-radius:12px;display:inline-block;font-size:.875rem;padding:.25rem .75rem;text-transform:uppercase}.status-active{background:#e8f5e9;color:#2e7d32}.status-trialing{background:#e3f2fd;color:#1565c0}.status-past-due{background:#fff3e0;color:#ef6c00}.status-canceled{background:#ffebee;color:#c62828}.plan-details{display:flex;flex-direction:column;gap:.75rem}.detail-item{display:flex;justify-content:space-between;padding:.5rem 0}.detail-item .label{color:#666;font-weight:500}.detail-item .value{color:#1a1a1a}.cancellation-notice{background:#fff3e0;border:1px solid #ffb74d;border-radius:6px;color:#e65100;font-weight:500;margin-top:1rem;padding:.75rem 1rem}.payment-details{justify-content:space-between}.card-info,.payment-details{align-items:center;display:flex}.card-info{gap:1rem}.card-brand{background:#f5f5f5;border-radius:6px;color:#1a1a1a;font-weight:600;padding:.5rem 1rem}.card-number{color:#333;font-family:Courier New,monospace;font-size:1.1rem}.card-expiry{color:#666;font-size:.9rem}.no-payment-method{padding:1rem 0;text-align:center}.no-payment-method p,.usage-card .period{color:#666;margin-bottom:1rem}.usage-card .period{font-size:.9rem}.usage-items{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.usage-item{background:#f9f9f9;border-left:3px solid #1976d2;border-radius:6px;padding:1rem}.usage-description{color:#1a1a1a;font-weight:600;margin-bottom:.5rem}.usage-quantity{color:#666;font-size:.95rem}.usage-overage{background:#fff3e0;border-radius:4px;color:#ef6c00;font-size:.9rem;margin-top:.5rem;padding:.5rem}.no-usage{color:#999;padding:2rem;text-align:center}.upcoming-invoice{background:#e3f2fd;border-radius:6px;color:#1565c0;padding:1rem;text-align:center}.invoices-list{background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.invoices-table{border-collapse:collapse;width:100%}.invoices-table thead{background:#f5f5f5}.invoices-table th{color:#666;font-size:.875rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.invoices-table td{border-top:1px solid #e0e0e0;color:#333;padding:1rem}.invoices-table tbody tr:hover{background:#fafafa}.invoice-link{color:#1976d2;font-weight:500;text-decoration:none}.invoice-link:hover{text-decoration:underline}.no-invoices{color:#999;padding:2rem;text-align:center}.button-danger,.button-primary,.button-secondary{border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.button-primary{background:#1976d2;color:#fff}.button-primary:hover{background:#1565c0}.button-primary:disabled{background:#ccc;cursor:not-allowed}.button-secondary{background:#fff;border:1px solid #1976d2;color:#1976d2}.button-secondary:hover{background:#f5f5f5}.button-danger{background:#d32f2f;color:#fff}.button-danger:hover{background:#c62828}.danger-zone{background:#fff5f5;border:1px solid #ffcdd2;border-radius:8px;padding:1.5rem}.danger-zone h3{color:#c62828;font-size:1.1rem;margin:0 0 .5rem}.danger-zone p{color:#666;margin-bottom:1rem}.modal-overlay{background:#00000080;padding:1rem}.modal-content{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-height:90vh;max-width:600px;overflow-y:auto;width:100%}.modal-header{border-bottom:1px solid #e0e0e0;padding:1.5rem}.modal-header h2{color:#1a1a1a;font-size:1.5rem}.close-button{align-items:center;background:none;border:none;color:#999;cursor:pointer;display:flex;font-size:2rem;height:2rem;justify-content:center;padding:0;transition:color .2s;width:2rem}.close-button:hover{color:#333}.modal-body{padding:1.5rem}.modal-body form{display:flex;flex-direction:column;gap:1rem}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.proration-info{border-radius:6px;margin:1rem 0;padding:1rem}.proration-info.upgrade{background:#e3f2fd;border:1px solid #90caf9;color:#1565c0}.proration-info.downgrade{background:#e8f5e9;border:1px solid #81c784;color:#2e7d32}.next-invoice{background:#f5f5f5;border-radius:6px;margin-top:1rem;padding:.75rem;text-align:center}@media (max-width:768px){.billing-dashboard{padding:1rem}.payment-details,.plan-header{gap:1rem}.card-info,.payment-details,.plan-header{align-items:flex-start;flex-direction:column}.card-info{gap:.5rem}.invoices-table{font-size:.875rem}.invoices-table td,.invoices-table th{padding:.75rem .5rem}.modal-content{margin:1rem}}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.api-key-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;width:90%}.modal-header{align-items:center;border-bottom:2px solid #e1e4e8;display:flex;justify-content:space-between;padding:24px 28px}.modal-header h2{color:#1a202c;font-size:22px;font-weight:700;margin:0}.close-btn{align-items:center;background:none;border:none;border-radius:8px;color:#a0aec0;cursor:pointer;display:flex;font-size:32px;height:32px;justify-content:center;line-height:1;padding:0;transition:all .2s;width:32px}.close-btn:hover{background:#f7fafc;color:#2d3748}.modal-body{gap:20px;padding:28px}.info-section,.modal-body{display:flex;flex-direction:column}.info-section{gap:8px}.info-item{display:flex;font-size:14px;gap:12px}.info-label{color:#718096;min-width:80px}.info-value{color:#2d3748}.signup-card{background:#ebf8ff;border-left:4px solid #3182ce;border-radius:8px;padding:16px}.signup-card p{color:#2c5282;font-size:14px;margin:0 0 8px}.signup-link{color:#2b6cb0;font-size:14px;font-weight:600;text-decoration:none}.signup-link:hover{text-decoration:underline}.api-key-input{border:2px solid #e1e4e8;border-radius:8px;font-family:Monaco,Courier New,monospace;font-size:15px;padding:12px 16px;transition:all .2s}.api-key-input:focus{border-color:#2b6cb0;box-shadow:0 0 0 3px #2b6cb01a;outline:none}.test-result{align-items:flex-start;border-radius:8px;display:flex;gap:12px;padding:16px}.test-result.success{background:#c6f6d5;border:2px solid #68d391}.test-result.error{background:#fed7d7;border:2px solid #fc8181}.result-icon{font-size:20px;font-weight:700}.test-result.success .result-icon{color:#22543d}.test-result.error .result-icon{color:#742a2a}.test-result strong{display:block;font-size:14px;margin-bottom:4px}.test-result.success strong{color:#22543d}.test-result.error strong{color:#742a2a}.test-result p{color:#4a5568;font-size:13px;margin:0}.response-time{color:#718096;display:block;font-size:12px;margin-top:4px}.modal-footer{border-top:2px solid #e1e4e8;display:flex;gap:12px;justify-content:flex-end;padding:20px 28px}.btn-primary,.btn-secondary{border:2px solid #0000;border-radius:8px;cursor:pointer;font-size:15px;font-weight:600;padding:10px 20px;transition:all .2s}.btn-primary{border-color:#2b6cb0}.btn-primary:hover:not(:disabled){background:#2c5282;border-color:#2c5282}.btn-primary:disabled{cursor:not-allowed;opacity:.5}.btn-secondary{background:#fff;border-color:#e1e4e8;color:#2b6cb0}.btn-secondary:hover:not(:disabled){background:#f7fafc;border-color:#cbd5e0}.btn-secondary:disabled{cursor:not-allowed;opacity:.5}.oauth-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:650px;overflow-y:auto;width:90%}.existing-connections{margin-bottom:24px}.existing-connections h3{color:#1a202c;font-size:16px;font-weight:600;margin:0 0 12px}.connection-card{align-items:center;background:#f7fafc;border:2px solid #e1e4e8;border-radius:8px;display:flex;gap:16px;justify-content:space-between;margin-bottom:8px;padding:16px}.connection-info{display:flex;flex-direction:column;gap:4px}.connection-email{color:#2d3748;font-size:15px;font-weight:600}.connection-status{font-size:13px;font-weight:500}.connection-status.active{color:#22543d}.connection-status.expired{color:#c53030}.connection-actions{display:flex;gap:8px}.btn-disconnect,.btn-test{border:2px solid #0000;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;padding:6px 14px;transition:all .2s}.btn-test{background:#fff;border-color:#e1e4e8;color:#2b6cb0}.btn-test:hover{background:#f7fafc;border-color:#cbd5e0}.btn-disconnect{background:#fff;border-color:#feb2b2;color:#c53030}.btn-disconnect:hover{background:#fff5f5;border-color:#fc8181}.oauth-form{margin-bottom:24px}.oauth-form h3{color:#1a202c;font-size:16px;font-weight:600;margin:0 0 16px}.oauth-steps{justify-content:space-between;margin-bottom:24px}.oauth-steps,.step{align-items:center;display:flex}.step{flex:1 1;flex-direction:column;gap:6px}.step-number{align-items:center;background:#e1e4e8;border-radius:50%;color:#718096;display:flex;font-size:15px;font-weight:700;height:36px;justify-content:center;transition:all .3s;width:36px}.step.active .step-number{background:#2b6cb0;color:#fff}.step.completed .step-number{background:#48bb78;color:#fff}.step-label{color:#718096;font-size:12px;font-weight:500}.step.active .step-label{color:#2d3748;font-weight:600}.step-divider{background:#e1e4e8;flex:1 1;height:2px;margin:0 8px;max-width:60px}.email-input{border:2px solid #e1e4e8;border-radius:8px;font-size:15px;padding:12px 16px;transition:all .2s;width:100%}.email-input:focus{border-color:#2b6cb0;box-shadow:0 0 0 3px #2b6cb01a;outline:none}.form-hint{font-size:13px}.btn-connect{background:#2b6cb0;border:2px solid #2b6cb0;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;margin-top:16px;padding:14px;transition:all .2s;width:100%}.btn-connect:hover:not(:disabled){background:#2c5282;border-color:#2c5282}.btn-connect:disabled{cursor:not-allowed;opacity:.5}.auth-status{background:#f7fafc;border-radius:8px;padding:32px;text-align:center}.auth-spinner{animation:spin .8s linear infinite;border:4px solid #e1e4e8;border-radius:50%;border-top-color:#2b6cb0;height:48px;margin:0 auto 16px;width:48px}.auth-status p{color:#4a5568;margin:4px 0}.auth-status.success{background:#c6f6d5}.auth-status.error{background:#fed7d7}.error-icon,.success-icon{display:block;font-size:48px;margin-bottom:16px}.success-icon{color:#22543d}.error-icon{color:#742a2a}.btn-retry{background:#2b6cb0;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-top:16px;padding:10px 24px}.btn-retry:hover{background:#2c5282}.oauth-info{background:#ebf8ff;border-left:4px solid #3182ce;border-radius:8px;padding:16px}.oauth-info p{color:#2c5282;font-size:13px;margin:0 0 8px}.oauth-info p:last-child{margin-bottom:0}.oauth-info strong{font-weight:600}.usage-panel{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:800px;overflow-y:auto;width:90%}.period-selector{margin-bottom:24px}.period-btn{background:#fff;border:2px solid #e1e4e8;border-radius:8px;color:#4a5568;flex:1 1;font-size:14px;padding:10px;transition:all .2s}.period-btn:hover{background:#f7fafc;border-color:#cbd5e0}.period-btn.active{border-color:#2b6cb0}.loading-usage{padding:60px 20px;text-align:center}.loading-usage .spinner{animation:spin .8s linear infinite;border:4px solid #e1e4e8;border-radius:50%;border-top-color:#2b6cb0;height:40px;margin:0 auto 20px;width:40px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:32px}.stat-card{background:#f7fafc;border:2px solid #e1e4e8;display:flex;flex-direction:column;gap:6px;padding:20px}.stat-label{font-size:13px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.stat-value{color:#1a202c;font-size:28px}.stat-subtitle{color:#a0aec0;font-size:12px}.chart-section{margin-bottom:24px}.chart-section h3{color:#1a202c;font-size:16px;font-weight:600;margin:0 0 16px}.simple-chart{align-items:flex-end;background:#f7fafc;border:2px solid #e1e4e8;border-radius:8px;display:flex;gap:4px;height:200px;padding:20px}.chart-bar{align-items:center;display:flex;flex:1 1;flex-direction:column;height:100%;justify-content:flex-end}.bar-fill{background:linear-gradient(180deg,#4299e1,#2b6cb0);border-radius:4px 4px 0 0;min-height:4px;transition:all .3s;width:100%}.chart-bar:hover .bar-fill{background:linear-gradient(180deg,#63b3ed,#3182ce)}.bar-label{color:#718096;font-size:10px;margin-top:8px;transform:rotate(180deg);writing-mode:vertical-rl}.export-section{background:#ebf8ff;border-radius:8px;padding:20px;text-align:center}.export-section p{color:#2c5282;font-weight:500;margin:0 0 12px}.btn-export{background:#2b6cb0;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 24px;transition:all .2s}.btn-export:hover:not(:disabled){background:#2c5282}.btn-export:disabled{cursor:not-allowed;opacity:.5}.no-data{color:#718096;padding:60px 20px;text-align:center}@media (max-width:768px){.stats-grid{grid-template-columns:1fr 1fr}.period-selector{flex-direction:column}}.budget-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;width:90%}.budget-info{background:#ebf8ff;border-left:4px solid #3182ce;border-radius:8px;margin-bottom:24px;padding:16px}.budget-info p{color:#2c5282;font-size:14px;margin:0}.form-section{margin-bottom:28px}.form-section h3{border-bottom:2px solid #e1e4e8;color:#1a202c;font-size:16px;font-weight:600;margin:0 0 16px;padding-bottom:12px}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.form-group{display:flex;flex-direction:column;gap:8px}.form-group input[type=number],.form-group input[type=text]{border:2px solid #e1e4e8;border-radius:8px;font-size:15px;padding:12px 16px;transition:all .2s}.form-group input:focus{border-color:#2b6cb0;box-shadow:0 0 0 3px #2b6cb01a;outline:none}.input-with-prefix{align-items:center;display:flex;position:relative}.input-prefix{color:#718096;font-size:15px;font-weight:600;left:16px;position:absolute}.input-with-prefix input{padding-left:36px!important}.form-hint{color:#718096;font-size:12px}input[type=range]{-webkit-appearance:none;background:#e1e4e8;border-radius:3px;height:6px;outline:none;width:100%}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#2b6cb0;border-radius:50%;box-shadow:0 2px 4px #0003;cursor:pointer;height:20px;width:20px}input[type=range]::-moz-range-thumb{background:#2b6cb0;border:none;border-radius:50%;box-shadow:0 2px 4px #0003;cursor:pointer;height:20px;width:20px}.threshold-markers{display:flex;justify-content:space-between;margin-top:4px}.threshold-markers span{color:#a0aec0;font-size:11px;font-weight:600}.current-usage{background:#f7fafc;border:2px solid #e1e4e8;border-radius:8px;padding:20px}.current-usage h3{color:#1a202c;font-size:14px;font-weight:600;margin:0 0 16px}.usage-bars{gap:16px}.usage-bar-item,.usage-bars{display:flex;flex-direction:column}.usage-bar-item{gap:6px}.usage-label{color:#4a5568;font-size:13px;font-weight:600}.usage-bar{background:#e1e4e8;border-radius:6px;height:12px;overflow:hidden;width:100%}.usage-fill{background:linear-gradient(90deg,#48bb78,#38a169);height:100%;transition:width .3s}.usage-text{color:#718096;font-size:12px}.btn-danger{background:#fff;border:2px solid #fc8181;border-radius:8px;color:#c53030;cursor:pointer;font-size:15px;font-weight:600;margin-right:auto;padding:10px 20px;transition:all .2s}.btn-danger:hover{background:#fff5f5;border-color:#f56565}@media (max-width:768px){.form-row{grid-template-columns:1fr}}.approval-center{margin:0 auto;max-width:1200px}.approval-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.approval-header h2{color:#1a202c;font-size:24px;font-weight:700;margin:0 0 6px}.approval-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.approval-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px #0000000a;padding:24px}.approval-card h3{font-size:18px;font-weight:600;margin:0 0 16px}.form-group{margin-bottom:16px}.form-group label{color:#2d3748;display:block;font-size:14px;font-weight:600;margin-bottom:6px}.form-group input,.form-group select{border:1px solid #e2e8f0;border-radius:8px;font-size:14px;padding:10px 12px;width:100%}.form-group.checkbox{align-items:center;display:flex;gap:8px}.form-group.checkbox label{font-weight:500;margin:0}.form-actions{margin-top:12px}.pending-list{display:flex;flex-direction:column;gap:16px}.pending-item{background:#f7fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.pending-title{font-weight:600;margin-bottom:6px}.pending-meta{color:#718096;display:flex;flex-wrap:wrap;font-size:13px;gap:10px;margin-bottom:8px}.pending-reason{color:#4a5568;font-size:14px}.pending-actions{display:flex;gap:10px;margin-top:12px}.alert{margin-bottom:16px;padding:10px 12px}.alert.error{background:#fff5f5;border:1px solid #feb2b2;color:#c53030}.alert.success{background:#f0fff4;border:1px solid #9ae6b4;color:#2f855a}.empty-state{padding:18px;text-align:center}.btn-danger,.btn-primary,.btn-secondary{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px}.btn-primary{background:#2b6cb0;color:#fff}.btn-secondary{background:#edf2f7;color:#2d3748}.btn-danger{background:#c53030;color:#fff}.btn-primary:disabled,.btn-secondary:disabled{cursor:not-allowed;opacity:.6}.integration-dashboard{width:100%}.dashboard-header{margin-bottom:32px}.header-top{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.dashboard-header h1{color:#1a202c;font-size:32px;font-weight:700;margin:0}.header-stats{display:flex;gap:24px}.header-stats .stat{color:#718096;font-size:14px}.header-stats .stat strong{color:#2d3748;font-size:18px;font-weight:700}.header-subtitle{color:#718096;font-size:16px;margin:0 0 24px}.dashboard-filters{display:flex;flex-direction:column;gap:16px}.search-box{align-items:center;background:#fff;border:2px solid #e1e4e8;border-radius:12px;display:flex;gap:12px;max-width:400px;padding:12px 16px}.search-icon{font-size:18px}.search-box input{border:none;color:#2d3748;flex:1 1;font-size:15px;outline:none}.search-box input::placeholder{color:#a0aec0}.category-filters{display:flex;flex-wrap:wrap;gap:8px}.category-filter{background:#fff;border:2px solid #e1e4e8;border-radius:8px;color:#4a5568;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s}.category-filter:hover{background:#f7fafc;border-color:#cbd5e0}.category-filter.active{background:#2b6cb0;border-color:#2b6cb0;color:#fff}.integrations-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}.integration-card{background:#fff;border:2px solid #e1e4e8;border-radius:12px;display:flex;flex-direction:column;gap:16px;padding:20px;transition:all .2s}.integration-card:hover{border-color:#cbd5e0;box-shadow:0 4px 12px #00000014}.card-header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.integration-info h3{color:#1a202c;font-size:18px;font-weight:600;margin:0 0 4px}.integration-category{color:#718096;font-size:13px;font-weight:500}.status-badge{border-radius:6px;font-size:13px;font-weight:600;padding:4px 12px;white-space:nowrap}.status-badge.connected{background:#c6f6d5;color:#22543d}.status-badge.not-configured{background:#fed7d7;color:#742a2a}.card-body{flex:1 1;gap:12px}.card-body,.integration-meta{display:flex;flex-direction:column}.integration-meta{gap:6px}.meta-item{display:flex;font-size:13px;gap:8px}.meta-label{color:#718096;font-weight:500;min-width:70px}.meta-value{color:#2d3748}.integration-note{background:#ebf8ff;border-left:3px solid #3182ce;border-radius:4px;color:#2c5282;font-size:13px;padding:8px 12px}.integration-tools{display:flex;flex-direction:column;gap:6px}.tools-label{color:#718096;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.tools-list{display:flex;flex-wrap:wrap;gap:6px}.tool-tag{background:#edf2f7;border-radius:4px;color:#4a5568;font-family:Monaco,Courier New,monospace;font-size:11px;font-weight:500;padding:4px 8px}.tool-tag.more{background:#e2e8f0;color:#718096}.card-actions{display:flex;flex-wrap:wrap;gap:8px}.action-btn{border:2px solid #0000;border-radius:8px;cursor:pointer;display:inline-block;font-size:14px;font-weight:600;padding:8px 16px;text-align:center;text-decoration:none;transition:all .2s}.action-btn.primary{background:#2b6cb0;border-color:#2b6cb0;color:#fff}.action-btn.primary:hover{background:#2c5282;border-color:#2c5282}.action-btn.secondary{background:#fff;border-color:#e1e4e8;color:#2b6cb0}.action-btn.secondary:hover{background:#f7fafc;border-color:#cbd5e0}.action-btn.text{background:#0000;border:none;color:#718096;padding:8px 12px}.action-btn.text:hover{background:#f7fafc;color:#2b6cb0}.empty-state,.loading-state{grid-column:1/-1;padding:80px 20px;text-align:center}.spinner{animation:spin .8s linear infinite;border:4px solid #e1e4e8;border-radius:50%;border-top-color:#2b6cb0;height:40px;margin:0 auto 20px;width:40px}@keyframes spin{to{transform:rotate(1turn)}}.empty-state p,.loading-state p{color:#718096;font-size:16px}.empty-icon{display:block;font-size:64px;margin-bottom:16px}.empty-state h3{color:#2d3748;font-size:20px;margin:0 0 8px}@media (max-width:1200px){.integrations-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media (max-width:768px){.integrations-grid{grid-template-columns:1fr}.header-top{align-items:flex-start;flex-direction:column;gap:12px}.search-box{max-width:100%}}.usage-monitor{margin:0 auto;max-width:1200px}.monitor-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.monitor-header h2{color:#1a202c;font-size:24px;font-weight:700;margin:0 0 6px}.subtext{color:#718096;margin:0}.period-selector{display:flex;gap:8px}.period-btn{background:#edf2f7;border:none;border-radius:999px;color:#2d3748;cursor:pointer;font-size:13px;font-weight:600;padding:6px 12px}.period-btn.active{background:#2b6cb0;color:#fff}.alert-list{gap:10px;margin-bottom:20px}.alert,.alert-list{display:flex;flex-direction:column}.alert{border-radius:8px;font-size:14px;gap:4px;padding:10px 14px}.alert.warning{background:#fffaf0;border:1px solid #f6ad55;color:#c05621}.alert.critical{background:#fff5f5;border:1px solid #fc8181;color:#c53030}.stats-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:24px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.stat-label{color:#718096;display:block;font-size:12px;margin-bottom:6px}.stat-value{color:#2d3748;font-size:20px;font-weight:700}.budget-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:24px}.budget-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.budget-card h3{font-size:16px;font-weight:600;margin:0 0 12px}.budget-row,.provider-row{color:#4a5568;display:flex;font-size:14px;justify-content:space-between;padding:8px 0}.provider-list{display:flex;flex-direction:column}.recent-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.recent-card h3{font-size:16px;font-weight:600;margin:0 0 12px}.recent-list{display:flex;flex-direction:column;gap:10px}.recent-row{align-items:center;background:#f7fafc;border:1px solid #edf2f7;border-radius:10px;display:flex;justify-content:space-between;padding:10px 12px}.recent-provider{color:#2d3748;font-weight:600}.recent-meta{color:#718096;font-size:12px}.recent-right{align-items:center;display:flex;gap:12px}.status{font-size:12px;font-weight:700;text-transform:uppercase}.status.completed{color:#2f855a}.status.failed{color:#c53030}.status.pending{color:#d69e2e}.recent-amount{color:#2d3748;font-weight:600}.empty-state{color:#718096;font-size:14px;padding:8px 0}.loading{color:#718096;text-align:center}.phone-settings-panel{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:12px;box-shadow:0 10px 40px #00000026;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;margin:0 auto;max-width:900px;padding:30px}.phone-settings-panel.error,.phone-settings-panel.loading{align-items:center;color:#666;display:flex;font-size:18px;justify-content:center;min-height:300px}.phone-settings-panel.error{background:#fee;color:#c00}.phone-settings-panel h2{color:#2c3e50;font-size:28px;font-weight:600;margin:0 0 30px;text-align:center}.settings-section{background:#fff;border-left:4px solid #3b82f6;border-radius:8px;box-shadow:0 2px 8px #00000014;margin-bottom:30px;padding:25px}.settings-section h3{color:#2c3e50;font-size:18px;font-weight:600;margin:0 0 15px}.settings-section .description{color:#7f8c8d;font-size:14px;font-style:italic;margin:0 0 15px}.radio-group{display:flex;flex-direction:column;gap:15px}.radio-option{align-items:flex-start;background:#f8fafc;border:2px solid #e2e8f0;border-radius:6px;cursor:pointer;display:flex;gap:12px;padding:15px;transition:all .3s ease}.radio-option input[type=radio]{cursor:pointer;flex-shrink:0;height:18px;margin-top:4px;width:18px}.radio-option input[type=radio]:checked+.radio-label{color:#3b82f6}.radio-option:hover{background:#f0f8ff;border-color:#3b82f6}.radio-option:has(input[type=radio]:checked){background:#f0f8ff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.radio-label{display:flex;flex:1 1;flex-direction:column;gap:4px}.radio-label strong{color:#2c3e50;font-size:15px}.radio-label .cost{color:#10b981;font-size:12px;font-weight:500}.radio-label .features{color:#7f8c8d;font-size:12px}.voice-selector{display:flex;flex-direction:column;gap:8px}.voice-selector label{color:#2c3e50;font-size:14px;font-weight:600}.voice-selector select{background:#fff;border:2px solid #e2e8f0;border-radius:6px;color:#2c3e50;cursor:pointer;font-size:14px;padding:10px 12px;transition:border-color .3s ease}.voice-selector select:hover{border-color:#3b82f6}.voice-selector select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.voice-selector small{color:#7f8c8d;font-size:12px;margin-top:4px}.voice-tuning{border-top:1px solid #e2e8f0;margin-top:20px;padding-top:20px}.slider-group{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.slider-group:last-child{margin-bottom:0}.slider-group label{color:#2c3e50;font-size:14px;font-weight:600}.slider{-webkit-appearance:none;appearance:none;background:#e2e8f0;border-radius:3px;cursor:pointer;height:6px;outline:none;width:100%}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#3b82f6;border-radius:50%;box-shadow:0 2px 4px #3b82f666;cursor:pointer;height:20px;-webkit-transition:all .3s ease;transition:all .3s ease;width:20px}.slider::-webkit-slider-thumb:hover{box-shadow:0 4px 8px #3b82f699;transform:scale(1.2)}.slider::-moz-range-thumb{background:#3b82f6;border:none;border-radius:50%;box-shadow:0 2px 4px #3b82f666;cursor:pointer;height:20px;-moz-transition:all .3s ease;transition:all .3s ease;width:20px}.slider::-moz-range-thumb:hover{box-shadow:0 4px 8px #3b82f699;transform:scale(1.2)}.slider-group small{color:#7f8c8d;font-size:12px}.voice-test{display:flex;flex-direction:column;gap:12px}.voice-test textarea{border:2px solid #e2e8f0;border-radius:6px;font-family:inherit;font-size:14px;min-height:80px;padding:12px;resize:vertical;transition:border-color .3s ease}.voice-test textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.test-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:6px;box-shadow:0 4px 12px #3b82f64d;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease}.test-button:hover:not(:disabled){box-shadow:0 6px 16px #3b82f666;transform:translateY(-2px)}.test-button:active:not(:disabled){transform:translateY(0)}.test-button:disabled{cursor:not-allowed;opacity:.6}.checkbox-option{align-items:center;background:#f8fafc;border-radius:6px;cursor:pointer;display:flex;gap:12px;margin-bottom:10px;padding:12px;transition:all .3s ease;-webkit-user-select:none;user-select:none}.checkbox-option:hover{background:#f0f8ff}.checkbox-option input[type=checkbox]{accent-color:#3b82f6;cursor:pointer;flex-shrink:0;height:18px;width:18px}.checkbox-option span{color:#2c3e50;font-size:14px;font-weight:500}.privacy-note{background:#ecfdf5;border-left:3px solid #10b981;border-radius:4px;color:#047857;display:block;font-size:13px;line-height:1.5;margin-top:15px;padding:12px}@media (max-width:768px){.phone-settings-panel{padding:20px}.phone-settings-panel h2{font-size:24px;margin-bottom:20px}.settings-section{margin-bottom:20px;padding:18px}.settings-section h3{font-size:16px;margin-bottom:12px}.radio-option{gap:10px;padding:12px}.radio-option input[type=radio]{margin-top:2px}.voice-test{flex-direction:column}.test-button{width:100%}}.settings-page-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,sans-serif;height:100vh}.settings-page-container,.settings-sidebar-left{background:linear-gradient(135deg,#667eea,#764ba2);display:flex}.settings-sidebar-left{border-right:1px solid #ffffff1a;color:#fff;flex-direction:column;overflow-y:auto;padding:20px;width:300px}.back-button{align-items:center;background:#ffffff26;border:1px solid #ffffff4d;border-radius:8px;color:#f3f4f6;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:6px;justify-content:center;margin-bottom:20px;padding:10px 16px;transition:all .2s}.back-button:hover{background:#ffffff40;border-color:#ffffff80}.buddy-container-settings{margin-bottom:24px;text-align:center}.buddy-avatar-settings{filter:drop-shadow(0 4px 12px rgba(0,0,0,.1));height:220px;object-fit:contain;width:220px}.settings-title{border-bottom:1px solid #fff3;color:#fff;font-size:24px;font-weight:700;margin:0 0 24px;padding-bottom:16px}.settings-nav{display:flex;flex-direction:column;gap:8px}.settings-nav-item{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fffc;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:12px;padding:12px 16px;text-align:left;transition:all .2s;width:100%}.settings-nav-item:hover:not(:disabled){background:#fff3;border-color:#fff6;color:#fff;transform:translateX(4px)}.settings-nav-item.active{background:#ffffff40;border-color:#ffffff80;color:#fff;font-weight:700}.settings-nav-item:disabled{cursor:not-allowed;opacity:.5}.nav-icon{flex-shrink:0;font-size:18px;text-align:center;width:20px}.nav-label{flex:1 1}.settings-main-content{background:#f8f9fa;flex:1 1;overflow-y:auto;padding:40px 50px}.settings-section{margin:0 auto;max-width:1200px}.section-header{margin-bottom:32px}.section-header h2{color:#1f2937;font-size:28px;font-weight:700;margin:0 0 8px}.section-description{color:#6b7280;font-size:15px;margin:0}.settings-cards{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:32px}.settings-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;transition:all .2s}.settings-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #0000001a}.card-header{background:#fafbfc;border-bottom:1px solid #f3f4f6;padding:20px}.card-header h3{color:#1f2937;font-size:18px;font-weight:600;margin:0}.card-content{padding:20px}.info-row{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;font-size:14px;justify-content:space-between;padding:12px 0}.info-row:last-child{border-bottom:none}.info-label{color:#6b7280;flex-basis:150px;font-weight:600}.info-value{color:#1f2937;font-weight:500}.verified-badge{background:#d1fae5;border-radius:4px;color:#065f46;font-size:12px;font-weight:600;margin-left:8px;padding:2px 8px}.setting-toggle{align-items:center;color:#374151;cursor:pointer;display:flex;font-size:14px;gap:10px;padding:10px 0}.setting-toggle input[type=checkbox]{accent-color:#667eea;cursor:pointer;height:18px;width:18px}.setting-toggle:hover{color:#111827}.billing-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}@media (max-width:1024px){.settings-page-container{flex-direction:column}.settings-sidebar-left{align-items:center;border-bottom:1px solid #ffffff1a;border-right:none;flex-direction:row;gap:20px;padding:16px 20px;width:100%}.buddy-avatar-settings{height:120px;width:120px}.buddy-container-settings{margin-bottom:0}.settings-title{border-bottom:none;flex:1 1;margin:0;padding:0}.settings-nav{flex:2 1;flex-direction:row;flex-wrap:wrap;gap:10px;order:3;width:100%}.settings-nav-item{flex:1 1;font-size:13px;min-width:140px;padding:10px 12px}.settings-main-content{padding:24px 20px}.settings-cards{grid-template-columns:1fr}}@media (max-width:768px){.settings-nav,.settings-sidebar-left{flex-direction:column}.settings-nav{width:100%}.settings-nav-item{min-width:auto}.settings-main-content{padding:16px}.section-header h2{font-size:20px}.settings-cards{gap:16px}}
/*# sourceMappingURL=main.9e6e456b.css.map*/