@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #6366f1;--primary-dark: #4f46e5;--primary-light: #818cf8;--secondary: #8b5cf6;--background: #0f0f1e;--surface: #1a1a2e;--surface-light: #252540;--text-primary: #ffffff;--text-secondary: #a0a0b8;--border: #2d2d44;--success: #10b981;--error: #ef4444;--shadow: rgba(0, 0, 0, .3)}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--background);color:var(--text-primary);overflow-x:hidden;overflow-y:scroll;font-feature-settings:"ss01" on,"ss02" on,"cv11" on}code{font-family:Fira Code,Courier New,monospace}#root{width:100%;min-height:100vh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--background)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--primary)}::selection{background:var(--primary);color:#fff}*:focus-visible{outline:2px solid var(--primary);outline-offset:2px}button,input,textarea{font-family:inherit}.app-header{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-content{max-width:1400px;margin:0 auto;padding:.75rem 1.2rem;display:flex;align-items:center;justify-content:space-between}.logo-section{display:flex;align-items:center;gap:1rem}.logo-img{width:48px;height:48px}.logo-text{display:flex;flex-direction:column;gap:.25rem}.logo-title{font-size:1.2rem;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.logo-subtitle{font-size:.78rem;color:var(--text-secondary);font-weight:500}.profile-button{padding:.75rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px;color:var(--text-secondary);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.profile-button:hover{background:var(--surface);color:var(--text-primary);border-color:var(--primary)}.beta-button{padding:.5rem;border-radius:999px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid rgba(255,255,255,.25);color:#ffffffb3}.beta-button:hover{background:#6366f126;border-color:#6366f199;color:#fff}@media(max-width:768px){.header-content{padding:1rem}.logo-title{font-size:1.25rem}.logo-img{width:40px;height:40px}}.homepage{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#0f0f1e;color:#fff;overflow-x:hidden}.homepage .container{max-width:1300px;margin:0 auto;padding:0 2rem}.homepage nav{position:fixed;top:0;width:100%;z-index:1000;background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.homepage nav .container{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:.75rem 1.2rem}.homepage .logo{display:flex;align-items:center;gap:1rem;cursor:pointer}.homepage .logo-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center}.homepage .logo-icon svg,.homepage .logo-icon img{width:48px;height:48px}.homepage .logo-text{display:flex;flex-direction:column;gap:.25rem}.homepage .logo-title{font-size:1.2rem;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.homepage .logo-subtitle{font-size:.78rem;color:var(--text-secondary);font-weight:500}.homepage .nav-links{display:flex;gap:2.5rem;list-style:none}.homepage .nav-links a{color:#fff;text-decoration:none;font-size:.9rem;font-weight:500;transition:opacity .3s}.homepage .nav-links a:hover{opacity:.7;color:#818cf8}.homepage .profile-button{padding:.75rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px;color:var(--text-secondary);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.homepage .profile-button:hover{background:var(--surface);color:var(--text-primary);border-color:var(--primary)}.homepage .beta-button{padding:.5rem;border-radius:999px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid rgba(255,255,255,.25);color:#ffffffb3}.homepage .beta-button:hover{background:#6366f126;border-color:#6366f199;color:#fff}.homepage .hero{min-height:100vh;display:flex;align-items:center;padding-top:100px;padding-bottom:4rem}.homepage .hero-content{text-align:center;max-width:900px;margin:0 auto}.homepage .hero h1{font-size:clamp(2.5rem,5vw,4rem);font-weight:700;line-height:1.15;margin-bottom:1.5rem;color:#fff;letter-spacing:-1.5px}.homepage .hero p{font-size:1.15rem;line-height:1.7;color:#a0a0b8;margin-bottom:3rem;max-width:700px;margin-left:auto;margin-right:auto}.homepage .flow-diagram{position:relative;max-width:1100px;margin:4rem auto 0;padding:3rem 0}.homepage .flow-container{display:grid;grid-template-columns:200px 1fr 200px;gap:0;align-items:center;position:relative;min-height:400px}.homepage .sources-column{display:flex;flex-direction:column;gap:3rem;padding-right:2rem}.homepage .source-item{display:flex;flex-direction:column;align-items:center;gap:.5rem;position:relative}.homepage .source-icon{font-size:3rem;filter:grayscale(.3);transition:all .3s;display:block;line-height:1;width:auto;height:auto;color:inherit}.homepage .source-item:hover .source-icon{filter:grayscale(0);transform:scale(1.1)}.homepage .source-label{font-size:.85rem;font-weight:600;color:#a0a0b8}.homepage .capsule-column{display:flex;justify-content:center;align-items:center;position:relative}.homepage .capsule-wrapper{position:relative;width:220px;height:220px}.homepage .capsule-main{width:100%;height:100%;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 20px 60px #6366f14d;position:relative;z-index:10;animation:float-capsule 3s ease-in-out infinite}@keyframes float-capsule{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.homepage .capsule-icon{font-size:3.5rem;margin-bottom:.5rem}.homepage .capsule-title{font-size:1.3rem;font-weight:700;color:#fff;margin-bottom:.3rem}.homepage .capsule-subtitle{font-size:.75rem;color:#ffffffe6}.homepage .capsule-ring{position:absolute;width:260px;height:260px;top:50%;left:50%;transform:translate(-50%,-50%);border:2px dashed rgba(99,102,241,.3);border-radius:50%;animation:rotate-ring 20s linear infinite}@keyframes rotate-ring{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.homepage .agents-column{display:flex;flex-direction:column;gap:3rem;padding-left:2rem}.homepage .agent-item{display:flex;flex-direction:column;align-items:center;gap:.5rem;position:relative}.homepage .agent-icon{font-size:3rem;position:relative}.homepage .agent-icon:before{content:"✓";position:absolute;top:-8px;right:-8px;background:#10b981;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;box-shadow:0 2px 8px #10b98166;animation:check-pulse 2s ease-in-out infinite}@keyframes check-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.homepage .agent-label{font-size:.85rem;font-weight:600;color:#a0a0b8}.homepage .flow-svg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.homepage .flow-path{fill:none;stroke:#6366f1;stroke-width:2;stroke-dasharray:8 4;animation:flow-dash 2s linear infinite}@keyframes flow-dash{to{stroke-dashoffset:-12}}.homepage .particle{fill:#6366f1;animation:move-particle 3s ease-in-out infinite}.homepage .particle:nth-child(1){animation-delay:0s}.homepage .particle:nth-child(2){animation-delay:.5s}.homepage .particle:nth-child(3){animation-delay:1s}.homepage .section-label{font-size:clamp(.75rem,2vw,.95rem);font-weight:700;text-transform:uppercase;letter-spacing:1.5px;background:linear-gradient(90deg,#6366f1,#8b5cf6);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 2px 8px rgba(139,92,246,.25);pointer-events:none}@media(min-width:769px){.homepage .section-label{position:absolute;top:20px}.homepage .label-sources{left:8%}.homepage .label-capsule{left:50%;transform:translate(-50%)}.homepage .label-agents{right:8%}}@media(max-width:768px){.homepage .section-label{position:static;display:block;text-align:center;margin:6px 0}}.homepage .features{padding:6rem 0;background:#1a1a2e}.homepage .section-header{text-align:center;margin-bottom:4rem}.homepage .section-header h2{font-size:clamp(2rem,4vw,3rem);font-weight:700;margin-bottom:1rem;color:#fff;letter-spacing:-1px}.homepage .section-header p{font-size:1.1rem;color:#a0a0b8;max-width:600px;margin:0 auto}.homepage .feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:2rem}.homepage .feature-card{padding:2.5rem;background:#252540;border-radius:16px;transition:all .3s;border:1px solid #2d2d44}.homepage .feature-card:hover{transform:translateY(-5px);box-shadow:0 10px 40px #6366f133;border-color:#6366f1}.homepage .feature-icon{font-size:2.5rem;margin-bottom:1.5rem;display:block}.homepage .feature-card h3{font-size:1.3rem;margin-bottom:1rem;color:#fff;font-weight:600}.homepage .feature-card p{color:#a0a0b8;line-height:1.7;font-size:.95rem}.homepage .how-it-works{padding:6rem 0;background:#1c1c48}.homepage .steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-top:3rem}.homepage .step-card{text-align:center;padding:2rem}.homepage .step-number{width:50px;height:50px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin:0 auto 1.5rem;font-size:1.3rem}.homepage .step-card h3{font-size:1.3rem;margin-bottom:1rem;color:#fff;font-weight:600}.homepage .step-card p{color:#a0a0b8;line-height:1.7;font-size:.95rem}.homepage .waitlist-section{padding:6rem 0;background:linear-gradient(135deg,#6366f1,#8b5cf6);text-align:center;color:#fff}.homepage .waitlist-section h2{font-size:clamp(2rem,4vw,3rem);font-weight:700;margin-bottom:1rem;letter-spacing:-1px}.homepage .waitlist-section p{font-size:1.1rem;margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto;opacity:.95}.homepage .waitlist-form{max-width:500px;margin:0 auto;display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}.homepage .waitlist-input{flex:1;min-width:250px;padding:1rem 1.5rem;border:2px solid rgba(255,255,255,.3);border-radius:10px;font-size:1rem;background:#ffffff1a;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s}.homepage .waitlist-input::placeholder{color:#ffffffb3}.homepage .waitlist-input:focus{outline:none;border-color:#fff;background:#fff3}.homepage .waitlist-button{padding:1rem 2.5rem;background:#fff;color:#6366f1;border:none;border-radius:10px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s;min-width:150px}.homepage .waitlist-button:hover{transform:translateY(-2px);box-shadow:0 10px 30px #0003}.homepage .success-message{margin-top:1.5rem;padding:1rem;background:#fff3;border-radius:10px;display:none}.homepage .success-message.show{display:block;animation:fadeIn .5s}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.homepage .security-section{padding:6rem 0;background:linear-gradient(135deg,#0f0f1e,#1a0f2e,#0f0f1e);border-top:1px solid #252540;border-bottom:1px solid #252540;position:relative}.homepage .security-section:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 50%,rgba(239,68,68,.1) 0%,transparent 50%),radial-gradient(circle at 80% 50%,rgba(99,102,241,.1) 0%,transparent 50%);pointer-events:none}.homepage .security-content{max-width:900px;margin:0 auto;text-align:center;position:relative;z-index:1}.homepage .security-content h2{font-size:clamp(2rem,4vw,3rem);font-weight:700;margin-bottom:1.5rem;color:#fff;letter-spacing:-1px}.homepage .security-content p{font-size:1.1rem;line-height:1.8;color:#a0a0b8;margin-bottom:2rem}.homepage .security-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.homepage .security-card{padding:2.5rem;background:#252540;border-radius:16px;border:1px solid #2d2d44;text-align:left;transition:all .3s}.homepage .security-card:hover{transform:translateY(-5px);box-shadow:0 10px 40px #6366f133;border-color:#6366f1}.homepage .shield-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:8px;vertical-align:middle}.homepage .shield-badge img{width:100%;height:100%}.homepage .security-card h3{font-size:1.3rem;margin-bottom:1rem;color:#fff;font-weight:600}.homepage .security-card p{font-size:.95rem;line-height:1.7;color:#a0a0b8;margin-bottom:1rem}.homepage .security-card a{color:#818cf8;text-decoration:none;font-weight:500;transition:color .3s}.homepage .security-card a:hover{color:#6366f1}.homepage .kepsule-quote{margin-top:3rem;padding:2.5rem;background:linear-gradient(135deg,#6366f126,#8b5cf626);border-left:4px solid #6366f1;border-radius:12px;text-align:left}.homepage .kepsule-quote p{font-size:1.2rem;line-height:1.8;color:#fff;font-style:italic;margin:0}.homepage footer{padding:3rem 0;background:#0a0a0a;color:#fff;text-align:center}.homepage footer p{color:#999;font-size:.9rem}@media(max-width:968px){.homepage .flow-container{grid-template-columns:1fr;gap:3rem}.homepage .sources-column,.homepage .agents-column{padding:0;flex-direction:row;justify-content:space-around}.homepage .capsule-column{padding:2rem 0}.homepage .flow-svg{display:none}}@media(max-width:768px){.homepage nav .container{padding:1rem}.homepage .logo-title{font-size:1.25rem}.homepage .logo-icon{width:40px;height:40px}.homepage .logo-icon svg,.homepage .logo-icon img{width:40px;height:40px}.homepage .nav-links{display:none}.homepage .feature-grid,.homepage .steps-grid{grid-template-columns:1fr}.homepage .waitlist-form{flex-direction:column}.homepage .waitlist-input{min-width:100%}}.capsule-management{max-width:1400px;margin:0 auto;padding:2rem 2rem 6rem;min-height:calc(100vh - 100px)}.management-tabs{display:flex;gap:1rem;margin-bottom:2rem}.tab-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:none;border:none;border-radius:8px;color:var(--text-secondary);font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease}.tab-button.active{background:var(--surface-light);color:var(--text-primary)}.tab-button:hover{color:var(--text-primary);background:var(--surface)}.tab-icon{width:16px;height:16px}.tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;background:var(--primary);color:#fff;font-size:.75rem;font-weight:600;border-radius:10px}.search-container{position:relative;margin-bottom:2rem}.search-icon{position:absolute;left:1.5rem;top:50%;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none;width:20px;height:20px}.search-input-full{width:100%;padding:1.25rem 1.25rem 1.25rem 3.5rem;background:var(--surface-light);border:1px solid var(--border);border-radius:16px;font-size:1rem;color:var(--text-primary);transition:all .2s}.search-input-full:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a;background:var(--surface)}.search-input-full::placeholder{color:var(--text-secondary)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;min-height:400px}.empty-icon{color:var(--text-secondary);opacity:.3;margin-bottom:1.5rem}.empty-state h3{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin:0 0 .5rem}.empty-state p{font-size:1rem;color:var(--text-secondary);margin:0 0 2rem;max-width:400px}.empty-state .btn-primary{margin-top:1rem}.capsules-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem;margin-bottom:6rem}.capsule-card-enhanced{background:var(--surface);border:1px solid var(--border);border-radius:20px;overflow:hidden;transition:all .3s ease;cursor:pointer;display:flex;flex-direction:column}.capsule-card-enhanced:hover{transform:translateY(-4px);box-shadow:0 12px 40px #0006;border-color:var(--primary-light)}.capsule-header{position:relative;height:100px;padding:1rem;display:flex;align-items:flex-end}.capsule-header-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.3) 100%)}.capsule-name-header{position:relative;z-index:1;font-size:1.5rem;font-weight:700;color:#fff;margin:0;text-shadow:0 2px 8px rgba(0,0,0,.2);letter-spacing:-.02em}.capsule-body{padding:1rem}.capsule-description{font-size:.875rem;color:var(--text-secondary);line-height:1.5;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1rem}.stat-box{background:var(--surface-light);border-radius:8px;padding:.75rem}.stat-label{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--text-secondary);margin-bottom:.25rem}.stat-icon{width:14px;height:14px}.stat-value{font-size:1.25rem;font-weight:700;color:var(--text-primary)}.badges-container{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.status-badge{padding:.4rem .75rem;border-radius:8px;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;gap:.25rem}.status-ready{background:#10b98126;color:#10b981}.status-indexing{background:#3b82f626;color:#3b82f6}.status-pending{background:#fb923c26;color:#fb923c}.security-badge{padding:.4rem .75rem;border-radius:8px;font-size:.75rem;font-weight:600;display:inline-flex;align-items:center;gap:.35rem}.security-badge.pii{background:#8b5cf626;color:#8b5cf6}.security-badge.ssn{background:#ec489926;color:#ec4899}.security-badge.email{background:#22c55e26;color:#22c55e}.feature-badge{padding:.4rem .75rem;border-radius:8px;font-size:.75rem;font-weight:600;display:inline-flex;align-items:center;gap:.35rem;background:#6366f126;color:#6366f1}.capsule-footer{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--border)}.footer-info{display:flex;align-items:center;gap:.75rem;font-size:.75rem;color:var(--text-secondary)}.visibility-badge{display:flex;align-items:center;gap:.25rem}.visibility-badge.public{color:var(--success)}.visibility-icon{width:12px;height:12px}.size-text{font-weight:500}.footer-actions{display:flex;gap:.5rem}.detail-button,.query-button{padding:.5rem .75rem;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease}.detail-button{background:var(--surface-light);color:var(--text-secondary)}.detail-button:hover{background:var(--border);color:var(--text-primary)}.query-button{display:flex;align-items:center;gap:.25rem;background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff}.query-button:hover{box-shadow:0 4px 12px #6366f166}.query-icon{width:14px;height:14px}.fab{position:fixed;bottom:2rem;right:2rem;background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;border:none;border-radius:50px;padding:1rem 1.75rem;font-size:1rem;font-weight:600;cursor:pointer;box-shadow:0 8px 24px #6366f166;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;z-index:50}.fab:hover{transform:translateY(-2px);box-shadow:0 12px 32px #6366f180}.fab-icon{font-size:1.5rem;line-height:1}.fab-text{font-weight:600}.modal-overlay{position:fixed;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;overflow-y:auto}.modal-content{background:var(--surface);border-radius:24px;border:1px solid var(--border);max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000080;animation:modalSlideIn .3s ease-out}.modal-content.large{max-width:900px}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:2rem;border-bottom:1px solid var(--border)}.modal-title-section{display:flex;gap:1rem;align-items:flex-start}.modal-icon{width:48px;height:48px;background:linear-gradient(135deg,var(--primary),var(--secondary));border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-icon .icon{width:24px;height:24px;color:#fff}.modal-title{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin:0;letter-spacing:-.02em}.modal-subtitle{font-size:.95rem;color:var(--text-secondary);margin:.25rem 0 0}.close-button{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s;display:flex;align-items:center;justify-content:center}.close-button:hover{background:var(--surface-light);color:var(--text-primary)}.close-button .icon{width:24px;height:24px}.modal-body{padding:2rem}.modal-footer{padding:1.5rem 2rem;border-top:1px solid var(--border);display:flex;gap:1rem;justify-content:flex-end}.form-group{margin-bottom:1.5rem}.form-label{display:block;font-size:.95rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.form-help-text{font-size:.85rem;color:var(--text-secondary);margin-top:.25rem;margin-bottom:.75rem}.form-input,.form-textarea,.policy-select{width:100%;padding:.875rem 1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px;font-size:.95rem;color:var(--text-primary);transition:all .2s;font-family:inherit}.form-input:focus,.form-textarea:focus,.policy-select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a;background:var(--surface)}.form-textarea{resize:vertical;min-height:100px}.domain-input-group{display:flex;gap:.5rem;margin-bottom:.75rem}.domain-input-group .form-input{flex:1}.btn-remove{background:var(--surface-light);border:1px solid var(--border);border-radius:10px;padding:.5rem;cursor:pointer;color:var(--text-secondary);transition:all .2s;display:flex;align-items:center;justify-content:center}.btn-remove:hover{background:#ef444426;border-color:#ef4444;color:#ef4444}.btn-add-domain{background:var(--surface-light);border:1px dashed var(--border);border-radius:12px;padding:.75rem 1rem;color:var(--text-secondary);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;width:100%;margin-top:.5rem}.btn-add-domain:hover{background:var(--surface);border-color:var(--primary);color:var(--primary)}.upload-button{width:100%;padding:1.25rem;background:var(--surface-light);border:2px dashed var(--border);border-radius:16px;color:var(--text-secondary);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.upload-button:hover{background:var(--surface);border-color:var(--primary);color:var(--primary)}.upload-icon{width:20px;height:20px}.connectors-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.connector-button{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:16px;cursor:pointer;transition:all .2s;text-align:left;position:relative}.connector-button:hover:not(:disabled){background:var(--surface);border-color:var(--primary);transform:translateY(-2px)}.connector-button.connector-connected{background:#10b9811a;border-color:#10b981;cursor:not-allowed}.connector-button:disabled{opacity:.8;cursor:not-allowed}.connector-check-icon{color:#10b981;position:absolute;top:.75rem;right:.75rem}.connector-icon-wrapper{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(135deg,var(--primary),var(--secondary))}.connector-icon{width:24px;height:24px;color:#fff}.connector-info{flex:1}.connector-name{font-size:.95rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.connector-desc{font-size:.8rem;color:var(--text-secondary)}.connector-connected .connector-desc{color:#10b981;font-weight:600}.rag-config-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.rag-option{padding:1.5rem 1rem;background:var(--surface-light);border:2px solid var(--border);border-radius:16px;cursor:pointer;transition:all .2s;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.5rem}.rag-option:hover{border-color:var(--primary);transform:translateY(-2px)}.rag-option.rag-active{background:linear-gradient(135deg,#6366f126,#8b5cf626);border-color:var(--primary);box-shadow:0 4px 12px #6366f133}.rag-icon{width:28px;height:28px;color:var(--primary)}.rag-label{font-size:1rem;font-weight:700;color:var(--text-primary)}.rag-desc{font-size:.8rem;color:var(--text-secondary)}.documents-list{display:flex;flex-direction:column;gap:.75rem;max-height:300px;overflow-y:auto}.document-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px}.document-icon-wrapper{width:40px;height:40px;background:linear-gradient(135deg,var(--primary),var(--secondary));border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.source-icon{width:20px;height:20px;color:#fff}.document-name{font-size:.9rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.document-meta{font-size:.8rem;color:var(--text-secondary)}.remove-doc-button{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s;display:flex;align-items:center;justify-content:center}.remove-doc-button:hover{background:#ef444426;color:#ef4444}.remove-doc-button .icon{width:20px;height:20px}.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.feature-card{position:relative;padding:1.25rem;background:var(--surface-light);border:2px solid var(--border);border-radius:16px;cursor:pointer;transition:all .2s;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.5rem}.feature-card:hover{border-color:var(--primary);transform:translateY(-2px)}.feature-card.feature-active{background:linear-gradient(135deg,#6366f126,#8b5cf626);border-color:var(--primary)}.feature-icon{width:24px;height:24px;color:var(--primary)}.feature-card.feature-primary .feature-icon{color:#6366f1}.feature-card.feature-blue .feature-icon{color:#3b82f6}.feature-card.feature-purple .feature-icon{color:#8b5cf6}.feature-card.feature-green .feature-icon{color:#10b981}.feature-card.feature-orange .feature-icon{color:#f97316}.feature-card.feature-teal .feature-icon{color:#14b8a6}.feature-card.feature-yellow .feature-icon{color:#eab308}.feature-card.feature-pink .feature-icon{color:#ec4899}.feature-card.feature-indigo .feature-icon{color:#6366f1}.feature-label{font-size:.9rem;font-weight:600;color:var(--text-primary)}.feature-desc{font-size:.75rem;color:var(--text-secondary)}.feature-check{position:absolute;top:.5rem;right:.5rem;width:24px;height:24px;background:var(--primary);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.security-policies{display:flex;flex-direction:column;gap:1rem}.policy-checkbox{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px;cursor:pointer;transition:all .2s}.policy-checkbox:hover{background:var(--surface);border-color:var(--primary)}.policy-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer}.policy-info{flex:1}.policy-title{font-size:.95rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.policy-desc{font-size:.8rem;color:var(--text-secondary)}.policy-field{padding:1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px}.policy-field-label{display:block;font-size:.9rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.btn-primary,.btn-secondary{padding:.875rem 1.75rem;border-radius:12px;font-size:1rem;font-weight:600;border:none;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:.5rem}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6366f166}.btn-secondary{background:var(--surface-light);color:var(--text-secondary);border:1px solid var(--border)}.btn-secondary:hover{background:var(--surface);color:var(--text-primary);border-color:var(--primary)}.detail-header{position:relative;padding:3rem 2rem;background:linear-gradient(135deg,var(--primary),var(--secondary))}.detail-header-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.3) 100%)}.close-button-white{position:absolute;top:1rem;right:1rem;background:#fff3;border:none;color:#fff;cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s;display:flex;align-items:center;justify-content:center;z-index:10}.close-button-white:hover{background:#ffffff4d}.close-button-white .icon{width:24px;height:24px}.detail-header-content{position:relative;z-index:1}.detail-title{font-size:2rem;font-weight:700;color:#fff;margin:0;margin-bottom:.5rem;text-shadow:0 2px 8px rgba(0,0,0,.2);letter-spacing:-.02em}.detail-subtitle{font-size:1rem;color:#ffffffe6;margin:0}.detail-body{padding:2rem}.detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:2rem}.detail-stat{text-align:center;padding:1.5rem;background:var(--surface-light);border:1px solid var(--border);border-radius:16px}.detail-stat-label{font-size:.85rem;color:var(--text-secondary);font-weight:600;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.05em}.detail-stat-value{font-size:2rem;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.detail-stat-text{font-size:1.25rem;font-weight:600;color:var(--text-secondary)}.security-section{margin-bottom:2rem}.section-heading{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center}.security-features{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.security-feature{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--surface-light);border:1px solid var(--border);border-radius:16px}.security-feature-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.security-feature-icon.encryption-icon{background:#ec489926;color:#ec4899}.security-feature-icon.pii-icon{background:#8b5cf626;color:#8b5cf6}.security-feature-icon.audit-icon{background:#3b82f626;color:#3b82f6}.security-feature-info{flex:1}.security-feature-title{font-size:.95rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.security-feature-desc{font-size:.85rem;color:var(--text-secondary)}.security-status{padding:.5rem 1rem;border-radius:8px;font-size:.85rem;font-weight:600}.security-status.active{background:#10b98126;color:#10b981}.compliance-badges{padding:1.25rem;background:var(--surface-light);border:1px solid var(--border);border-radius:16px}.compliance-title{font-size:.85rem;color:var(--text-secondary);font-weight:600;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.05em}.compliance-grid{display:flex;gap:.75rem;flex-wrap:wrap}.compliance-badge{padding:.5rem 1rem;background:#6366f126;color:var(--primary-light);border-radius:8px;font-size:.85rem;font-weight:600}.analytics-section{margin-bottom:2rem}.analytics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.analytics-card{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:var(--surface-light);border:1px solid var(--border);border-radius:16px;transition:all .2s}.analytics-card:hover{border-color:var(--primary);transform:translateY(-2px)}.analytics-icon-wrapper{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.analytics-icon-wrapper.avg-time{background:#3b82f626;color:#3b82f6}.analytics-icon-wrapper.tokens{background:#10b98126;color:#10b981}.analytics-icon-wrapper.cache{background:#a855f726;color:#a855f7}.analytics-content{flex:1}.analytics-label{font-size:.85rem;color:var(--text-secondary);font-weight:600;margin-bottom:.5rem}.analytics-value{font-size:1.75rem;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.features-section{margin-bottom:2rem}.enabled-features-grid{display:flex;flex-wrap:wrap;gap:.75rem}.enabled-feature{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px;transition:all .2s}.enabled-feature:hover{border-color:var(--primary);transform:translateY(-2px)}.enabled-feature.feature-primary{background:#6366f11a;border-color:#6366f1;color:#6366f1}.enabled-feature.feature-green{background:#10b9811a;border-color:#10b981;color:#10b981}.enabled-feature-label{font-size:.9rem;font-weight:600}.detail-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:1.5rem}.action-btn{padding:1rem;border-radius:12px;font-size:.95rem;font-weight:600;border:1px solid var(--border);background:var(--surface-light);color:var(--text-secondary);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.action-btn:hover{background:var(--surface);border-color:var(--primary);color:var(--text-primary)}.action-btn.primary{background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;border:none}.action-btn.primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6366f166}.action-icon{width:18px;height:18px}.top-queries{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}.top-queries-label{font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.top-queries-list{display:flex;flex-direction:column;gap:.5rem}.top-query-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:var(--background);border:1px solid var(--border);border-radius:8px;transition:all .2s ease}.top-query-item:hover{background:var(--surface-light);border-color:var(--primary)}.query-rank{width:24px;height:24px;background:var(--primary);color:#fff;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.query-text{font-size:.875rem;color:var(--text-primary);flex:1}.recent-documents{margin-top:1.5rem}.recent-documents .section-heading{margin-bottom:1rem}.documents-list{display:flex;flex-direction:column;gap:.5rem;max-height:320px;overflow-y:auto;padding-right:.5rem}.documents-list::-webkit-scrollbar{width:6px}.documents-list::-webkit-scrollbar-track{background:var(--surface-light);border-radius:3px}.documents-list::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.documents-list::-webkit-scrollbar-thumb:hover{background:var(--primary)}.document-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--surface-light);border-radius:8px;transition:all .2s ease}.document-item:hover{background:var(--border)}.document-icon-wrapper{width:40px;height:40px;border-radius:8px;background:#6366f133;display:flex;align-items:center;justify-content:center;flex-shrink:0}.document-icon{width:20px;height:20px;color:var(--primary-light)}.document-info{flex:1}.document-name{font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.document-size{font-size:.75rem;color:var(--text-secondary);font-weight:500}.share-link-section{margin-bottom:1rem}.share-link-box{display:flex;gap:.5rem;margin-top:.5rem}.share-link-input{flex:1;padding:.875rem 1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px;font-size:.9rem;color:var(--text-primary);font-family:Courier New,monospace}.copy-link-button{padding:.875rem 1.5rem;background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;border:none;border-radius:12px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem}.copy-link-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6366f166}.copy-link-button.copied{background:#10b981}.button-icon{width:16px;height:16px}.share-note{font-size:.85rem;color:var(--text-secondary);margin-top:.5rem}.info-modal{max-width:450px}.info-modal .modal-header{flex-direction:row;align-items:center;justify-content:space-between}.info-modal .modal-title{font-size:1.25rem}.info-message{font-size:.95rem;color:var(--text-secondary);line-height:1.6;white-space:pre-line;margin:0}.info-modal .modal-footer{justify-content:center}.info-modal .btn-primary{min-width:120px}.fetching-modal{max-width:450px;text-align:center}.fetching-modal .modal-body{padding:3rem 2rem}.fetching-icon{width:80px;height:80px;margin:0 auto 1.5rem;background:linear-gradient(135deg,var(--primary),var(--secondary));border-radius:50%;display:flex;align-items:center;justify-content:center}.fetching-icon .icon{color:#fff}.fetching-title{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin:0 0 1rem}.fetching-step{font-size:.95rem;color:var(--text-secondary);margin:0 0 1rem;min-height:24px}.current-file-info{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;background:var(--surface-light);border:1px solid var(--border);border-radius:8px;margin-bottom:1.5rem;font-size:.875rem;color:var(--text-primary)}.current-file-info .file-icon{color:var(--primary);flex-shrink:0}.current-file-info .file-name{font-weight:500;flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-file-info .file-counter{color:var(--text-secondary);font-size:.8rem;flex-shrink:0}.progress-bar{width:100%;height:8px;background:var(--surface-light);border-radius:4px;overflow:hidden;margin-bottom:.75rem}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary),var(--secondary));border-radius:4px;transition:width .3s ease-out}.progress-text{font-size:.9rem;font-weight:600;color:var(--primary);margin:0}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.loading-state p{color:var(--text-secondary);font-size:1rem}@media(max-width:1200px){.capsules-grid,.features-grid{grid-template-columns:repeat(2,1fr)}.rag-config-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:768px){.capsule-management{padding:1rem}.capsules-grid{grid-template-columns:1fr;gap:1.5rem}.stats-grid,.connectors-grid,.rag-config-grid,.features-grid{grid-template-columns:1fr}.detail-stats{grid-template-columns:1fr 1fr}.analytics-grid{grid-template-columns:1fr}.detail-actions{grid-template-columns:repeat(2,1fr)}.fab{bottom:1rem;right:1rem}.fab-text{display:none}.modal-content{margin:1rem;max-width:100%}.modal-header,.modal-body,.modal-footer{padding:1.5rem}}.streaming-text{white-space:pre-wrap;word-break:break-word}.cursor{display:inline-block;animation:blink 1s steps(2) infinite;color:var(--primary);margin-left:2px}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}.search-interface{display:flex;flex-direction:column;height:100%;background:var(--surface);border-radius:16px;overflow:hidden}.search-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-bottom:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0;z-index:10}.back-button{display:flex;align-items:center;gap:.5rem;background:none;border:none;color:var(--text-secondary);font-size:.95rem;cursor:pointer;padding:.5rem 0;margin-bottom:1rem;transition:color .2s ease}.back-button:hover{color:var(--primary)}.back-icon{width:18px;height:18px}.capsule-info{display:flex;flex-direction:column;gap:.25rem}.capsule-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:0}.capsule-subtitle{font-size:.9rem;color:var(--text-secondary);display:flex;align-items:center;gap:.25rem;margin:0}.security-toggle{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text-secondary);font-size:.875rem;cursor:pointer;transition:all .2s ease}.security-toggle:hover{background:var(--surface-light);border-color:var(--primary);color:var(--text-primary)}.security-toggle.active{background:#6366f11a;border-color:var(--primary);color:var(--primary)}.toggle-label{font-weight:500}.messages-container{flex:1;overflow-y:auto;padding:2rem}.capsule-details-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1.5rem;text-align:center}.empty-icon{width:64px;height:64px;color:var(--primary);opacity:.5}.empty-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:0}.empty-subtitle{font-size:1rem;color:var(--text-secondary);max-width:500px;margin:0}.suggested-queries{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:1rem}.suggestion-chip{padding:.75rem 1.25rem;background:var(--surface-light);border:1px solid var(--border);border-radius:12px;color:var(--text-primary);font-size:.9rem;cursor:pointer;transition:all .2s ease}.suggestion-chip:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.messages-list{display:flex;flex-direction:column;gap:1.5rem}.message{display:flex;gap:1rem;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-avatar{font-size:1.5rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--surface-light);flex-shrink:0}.message-content{flex:1;display:flex;flex-direction:column;gap:.5rem}.message-header{display:flex;align-items:center;gap:.75rem}.message-role{font-weight:600;color:var(--text-primary);font-size:.9rem}.message-time{font-size:.8rem;color:var(--text-secondary)}.message-text{color:var(--text-primary);line-height:1.6;word-break:break-word}.user-message-content{background:linear-gradient(135deg,#6366f10d,#8b5cf60d);padding:1rem 1.25rem;border-radius:12px;border-left:3px solid var(--primary)}.formatted-response{display:flex;flex-direction:column;gap:1rem}.response-header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:linear-gradient(135deg,#6366f114,#8b5cf614);border-radius:10px;border-left:3px solid var(--primary);margin-top:.5rem}.response-header svg{color:var(--primary);flex-shrink:0}.response-header h4{margin:0;font-size:1rem;font-weight:600;color:var(--text-primary)}.response-text{margin:0;color:var(--text-primary);line-height:1.7;padding-left:.5rem}.response-list{display:flex;flex-direction:column;gap:.6rem;padding-left:.5rem}.response-list-item{display:flex;align-items:flex-start;gap:.75rem;padding:.6rem 1rem;background:var(--surface-light);border-radius:8px;transition:all .2s ease}.response-list-item:hover{background:#6366f10d;transform:translate(4px)}.response-list-item .list-icon{color:#10b981;flex-shrink:0;margin-top:2px}.response-list-item span{flex:1;line-height:1.6}.response-bullet-bold{display:flex;flex-direction:column;gap:.25rem;padding:.75rem 1rem;background:var(--surface-light);border-radius:8px;border-left:3px solid #8b5cf6;margin-left:.5rem}.response-bullet-bold .bullet-label{font-weight:600;color:var(--primary);font-size:.95rem}.response-bullet-bold .bullet-detail{color:var(--text-secondary);font-size:.9rem;line-height:1.6}.response-spacer{height:.5rem}.loading-dots-container{display:flex;flex-direction:column;align-items:center;padding:2rem;gap:1rem}.thinking-text{font-size:.95rem;color:var(--text-secondary);font-weight:500}.loading-dots{display:flex;gap:.5rem;align-items:center}.loading-dots .dot{width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--secondary));animation:pulse 1.5s ease-in-out infinite}.loading-dots .dot:nth-child(1){animation-delay:0s}.loading-dots .dot:nth-child(2){animation-delay:.3s}.loading-dots .dot:nth-child(3){animation-delay:.6s}@keyframes pulse{0%,to{transform:scale(1);opacity:.6}50%{transform:scale(1.3);opacity:1}}.search-input-container{padding:1.5rem 2rem;border-top:1px solid var(--border);background:var(--surface)}.input-wrapper{display:flex;align-items:center;gap:.75rem;background:var(--surface-light);border:2px solid var(--border);border-radius:12px;padding:.75rem 1rem;transition:all .2s ease}.input-wrapper:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a}.search-icon-input{width:20px;height:20px;color:var(--text-secondary);flex-shrink:0}.search-input{flex:1;background:none;border:none;color:var(--text-primary);font-size:1rem;outline:none}.search-input::placeholder{color:var(--text-secondary)}.send-button{width:36px;height:36px;border-radius:8px;background:var(--primary);border:none;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0}.send-button:hover:not(:disabled){background:var(--primary-dark);transform:scale(1.05)}.send-button:disabled{opacity:.5;cursor:not-allowed}.send-icon{width:18px;height:18px}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem}.spinner{width:48px;height:48px;border:4px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p{color:var(--text-secondary);font-size:1rem;margin:0}@media(max-width:768px){.search-header{padding:1rem;flex-direction:column;align-items:flex-start;gap:1rem}.capsule-title{font-size:1.25rem}.messages-container{padding:1rem}.message-content{max-width:85%}.empty-icon{width:48px;height:48px}.empty-title{font-size:1.25rem}.suggestion-chip{font-size:.85rem;padding:.6rem 1rem}.search-input-container{padding:1rem}}.profile-container{width:100%;max-width:1400px;margin:0 auto;display:flex;justify-content:center;align-items:center;min-height:70vh}.profile-card{background:#fff;border-radius:20px;padding:3rem;max-width:600px;width:100%;box-shadow:0 8px 32px #0000001a}.profile-signin{text-align:center}.profile-icon{width:64px;height:64px;margin:0 auto 1.5rem}.profile-icon img{width:100%;height:100%}.profile-signin h1{font-size:2rem;color:#1f2937;margin-bottom:.5rem}.profile-subtitle{color:#6b7280;margin-bottom:2rem;font-size:1.1rem}#google-signin-button{display:flex;justify-content:center;margin:2rem auto}.profile-note{color:#9ca3af;font-size:.875rem;margin-top:1.5rem}.profile-content{display:flex;flex-direction:column;gap:2rem}.profile-header{display:flex;align-items:center;gap:1.5rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}.profile-avatar{width:80px;height:80px;border-radius:50%;border:3px solid #667eea}.profile-info h2{font-size:1.5rem;color:#1f2937;margin-bottom:.25rem}.profile-email{color:#6b7280;font-size:.95rem}.profile-section{display:flex;flex-direction:column;gap:1rem}.profile-section h3{color:#1f2937;font-size:1.125rem;margin-bottom:.5rem}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.info-item{display:flex;flex-direction:column;gap:.5rem}.info-item label{font-size:.875rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.info-item p{color:#1f2937;font-size:1rem;margin:0}.actions-grid{display:flex;flex-direction:column;gap:1rem}.action-btn{background:#f3f4f6;color:#667eea;border:1px solid #e5e7eb;padding:1rem;border-radius:12px;font-weight:600;cursor:pointer;transition:all .2s;text-align:left}.action-btn:hover{background:#667eea;color:#fff;border-color:#667eea;transform:translate(4px)}.btn-logout{background:#fee2e2;color:#dc2626;border:1px solid #fecaca;padding:.75rem 1.5rem;border-radius:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s;margin-top:1rem}.btn-logout:hover{background:#dc2626;color:#fff;border-color:#dc2626}@media(max-width:768px){.profile-card{padding:2rem}.info-grid{grid-template-columns:1fr}.profile-header{flex-direction:column;text-align:center}}.app-container{min-height:100vh;display:flex;flex-direction:column;background:var(--background)}.main-content{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-purple-500{--tw-gradient-from: #a855f7;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0))}.to-pink-500{--tw-gradient-to: #ec4899}.from-blue-500{--tw-gradient-from: #3b82f6;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0))}.to-cyan-500{--tw-gradient-to: #06b6d4}.from-green-500{--tw-gradient-from: #10b981;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0))}.to-emerald-500{--tw-gradient-to: #10b981}.from-orange-500{--tw-gradient-from: #f97316;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 115, 22, 0))}.to-red-500{--tw-gradient-to: #ef4444}.from-violet-500{--tw-gradient-from: #8b5cf6;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0))}.from-teal-500{--tw-gradient-from: #14b8a6;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(20, 184, 166, 0))}.from-indigo-500{--tw-gradient-from: #6366f1;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0))}.from-yellow-500{--tw-gradient-from: #eab308;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(234, 179, 8, 0))}.to-amber-500{--tw-gradient-to: #f59e0b}@media(max-width:768px){.main-content{padding:1rem}}
