@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#f0f2f5,#e8ecf0);min-height:100vh;color:#1a1a1a;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body:before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at 20% 80%,rgba(99,102,241,.05) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(139,92,246,.05) 0%,transparent 50%),radial-gradient(circle at 40% 40%,rgba(59,130,246,.05) 0%,transparent 50%);z-index:-1;animation:float 30s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(.5deg)}}.glass-container{background:#fffffff2;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.8);border-radius:24px;box-shadow:0 20px 40px #00000014,0 8px 16px #0000000a,inset 0 1px #ffffffe6;transition:all .3s ease}.glass-container:hover{transform:translateY(-2px);box-shadow:0 24px 48px #0000001f,0 12px 24px #00000014,inset 0 1px #ffffffe6}.app-container{max-width:1200px;margin:0 auto;padding:24px;min-height:100vh;display:flex;flex-direction:column;gap:16px}.header{text-align:center;margin-bottom:16px}.header h1{font-size:3.5rem;font-weight:800;background:linear-gradient(135deg,#6366f1,#8b5cf6,#ec4899,#f59e0b,#10b981);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:12px;letter-spacing:-.02em;animation:gradientShift 6s ease-in-out infinite;background-size:300% 300%}@keyframes gradientShift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.header p{color:#4a5568;font-size:1.25rem;font-weight:500;max-width:600px;margin:0 auto;line-height:1.6}.medical-disclaimer{display:flex;align-items:flex-start;gap:16px;background:#fbbf241a;border:1px solid rgba(251,191,36,.3);border-radius:16px;padding:20px 24px;margin-top:24px;max-width:900px;margin-left:auto;margin-right:auto}.disclaimer-icon{font-size:1.5rem;flex-shrink:0;margin-top:2px}.disclaimer-text{color:#1a1a1a;font-size:1rem;line-height:1.6;font-weight:500}.disclaimer-text strong{color:#d97706;font-weight:700}.bottom-disclaimer{margin-top:48px;margin-bottom:24px;border-top:1px solid rgba(251,191,36,.2);background:#fbbf240d}.form-section{padding:24px}.form-group{margin-bottom:20px}.form-label{display:block;color:#1a1a1a;font-weight:600;margin-bottom:12px;font-size:1rem}.form-input,.form-textarea{width:100%;padding:20px 24px;background:#ffffffe6;border:2px solid rgba(99,102,241,.1);border-radius:16px;color:#1a1a1a;font-size:1rem;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-family:inherit;font-weight:500}.form-input::placeholder,.form-textarea::placeholder{color:#9ca3af;font-weight:400}.form-input:focus,.form-textarea:focus{outline:none;border-color:#6366f1;background:#fff;box-shadow:0 0 0 4px #6366f11a;transform:translateY(-1px)}.form-textarea{min-height:60px;resize:vertical;line-height:1.6}.query-examples{margin-top:20px;background:#fff6;border-radius:20px;padding:20px;border:2px solid rgba(99,102,241,.1)}.examples-title{color:#1a1a1a;font-size:1.1rem;font-weight:700;margin-bottom:8px;display:flex;align-items:center;gap:12px}.examples-subtitle{color:#4a5568;font-size:.9rem;font-weight:500;margin-bottom:20px}.examples-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.example-item{background:#fffc;border:2px solid rgba(99,102,241,.1);border-radius:16px;padding:20px 24px;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.example-item:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#6366f10d,#8b5cf60d);opacity:0;transition:opacity .3s ease}.example-item:hover{background:#fff;border-color:#6366f14d;transform:translateY(-3px);box-shadow:0 12px 32px #6366f126}.example-item:hover:before{opacity:1}.example-category{font-size:.85rem;font-weight:700;color:#6366f1;text-transform:uppercase;letter-spacing:.8px;margin-bottom:8px;position:relative;z-index:1}.example-text{font-size:.9rem;color:#1a1a1a;line-height:1.5;position:relative;z-index:1;font-weight:500}.example-item:hover .example-text{color:#000}.btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;padding:20px 40px;border-radius:16px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 8px 24px #6366f14d;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;font-family:inherit;min-height:60px}.btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.btn-primary:hover:before{left:100%}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px #6366f166}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.progress-section{padding:24px}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.progress-title{color:#1a1a1a;font-size:1.3rem;font-weight:700}.progress-percentage{color:#4a5568;font-size:1rem;font-weight:600}.progress-bar-container{width:100%;height:10px;background:#6366f11a;border-radius:5px;overflow:hidden;margin-bottom:16px}.progress-bar{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:6px;transition:width .5s ease;position:relative}.progress-bar:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.current-step{color:#1a1a1a;font-size:1rem;font-weight:600}.timeline{margin-top:24px}.timeline-title{color:#1a1a1a;font-size:1.1rem;font-weight:700;margin-bottom:16px}.timeline-container{max-height:400px;overflow-y:auto;padding-right:12px;scroll-behavior:smooth}.timeline-container::-webkit-scrollbar{width:6px}.timeline-container::-webkit-scrollbar-track{background:#6366f11a;border-radius:3px}.timeline-container::-webkit-scrollbar-thumb{background:#6366f14d;border-radius:3px}.timeline-item{display:flex;margin-bottom:16px;animation:slideInLeft .5s ease}@keyframes slideInLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.timeline-marker{display:none}.timeline-content{flex:1;background:#fffc;padding:16px 20px;border-radius:12px;box-shadow:0 2px 8px #0000000d}.timeline-step{color:#1a1a1a;font-weight:700;margin-bottom:4px;text-transform:capitalize;font-size:.9rem}.timeline-message{color:#4a5568;font-size:.85rem;line-height:1.5;font-weight:500}.timeline-details{margin-top:12px;padding-top:12px;border-top:1px solid rgba(99,102,241,.1)}.timeline-queries{list-style:none;margin-top:12px}.timeline-queries li{color:#4a5568;font-size:.95rem;padding:6px 0 6px 20px;position:relative;font-weight:500}.timeline-queries li:before{content:"→";position:absolute;left:0;color:#6366f1;font-weight:700}.timeline-queries li div{margin:6px 0}.timeline-queries li div strong{color:#1a1a1a;font-size:.9rem;font-weight:700}.timeline-item-important{opacity:1}.timeline-item-progress{background:#10b9810d}.timeline-item-progress .timeline-marker{display:none}.timeline-item:not(.timeline-item-important):not(.timeline-item-progress){opacity:.8}.timeline-summary{margin:8px 0;padding:10px 14px;background:#6366f10d;border-radius:10px}.timeline-summary strong{color:#1a1a1a;font-size:.9rem;font-weight:700}.timeline-queries-preview{margin-top:12px}.query-preview{background:#fffc;padding:8px 12px;margin:6px 0;border-radius:8px;font-size:.85rem;color:#1a1a1a;font-weight:500}.timeline-queries-summary{margin-top:12px}.query-more{background:#6b72801a;padding:8px 12px;border-radius:8px;margin:6px 0;font-size:.85rem;color:#6b7280;font-weight:500;font-style:italic;text-align:center;border:1px solid rgba(107,114,128,.2)}.results-section{padding:40px}.results-header{text-align:center;margin-bottom:40px}.results-title{color:#1a1a1a;font-size:2.2rem;font-weight:800;margin-bottom:12px}.results-subtitle{color:#4a5568;font-size:1.1rem;font-weight:500}.research-summary{background:#fffc;padding:32px;border-radius:20px;margin-bottom:40px;border:2px solid rgba(99,102,241,.1);box-shadow:0 8px 24px #0000000d}.summary-title{color:#1a1a1a;font-size:1.3rem;font-weight:700;margin-bottom:20px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.summary-item{text-align:center;padding:24px 20px;background:#fffc;border-radius:16px;border:2px solid rgba(99,102,241,.1);transition:all .3s ease}.summary-item:hover{transform:translateY(-2px);box-shadow:0 8px 24px #6366f11a}.summary-value{color:#6366f1;font-size:2rem;font-weight:800;display:block}.summary-label{color:#4a5568;font-size:1rem;margin-top:6px;font-weight:600}.final-answer{background:#ffffffe6;padding:40px;border-radius:20px;border:2px solid rgba(99,102,241,.1);line-height:1.8;box-shadow:0 8px 24px #0000000d}.answer-title{color:#1a1a1a;font-size:1.3rem;font-weight:700;margin-bottom:24px}.answer-content{color:#1a1a1a;font-size:1rem;line-height:1.8;font-weight:500;word-break:break-all;overflow-wrap:break-word}.answer-content h1,.answer-content h2,.answer-content h3,.answer-content h4,.answer-content h5,.answer-content h6{color:#1a1a1a;margin:32px 0 20px;font-weight:700}.answer-content h2{font-size:1.6rem;border-bottom:3px solid rgba(99,102,241,.2);padding-bottom:12px}.answer-content h3{font-size:1.2rem}.answer-content p{margin:20px 0;line-height:1.8}.answer-content a{color:#6366f1;text-decoration:none;border-bottom:2px solid rgba(99,102,241,.3);transition:all .3s ease;font-weight:600}.answer-content a:hover{color:#4f46e5;border-bottom-color:#4f46e580}.answer-content ul,.answer-content ol{margin:20px 0;padding-left:32px}.answer-content li{margin:12px 0;line-height:1.7}.answer-content blockquote{border-left:5px solid rgba(99,102,241,.5);margin:24px 0;padding:20px 24px;background:#6366f10d;border-radius:12px;font-style:italic;color:#4a5568}.answer-content code{background:#6366f11a;padding:4px 8px;border-radius:6px;font-family:Courier New,monospace;font-size:.95em;color:#1a1a1a;font-weight:600}.answer-content pre{background:#6366f10d;padding:20px;border-radius:12px;overflow-x:auto;margin:20px 0;border:1px solid rgba(99,102,241,.1)}.answer-content pre code{background:none;padding:0}.answer-content a[href*=pubmed]{background:#6366f11a;padding:4px 8px;border-radius:6px;border:1px solid rgba(99,102,241,.3);font-size:.95em;font-weight:600}.answer-content a[href*=pubmed]:hover{background:#6366f133;transform:translateY(-1px)}.ad-placeholder{background:#fff9;border:2px dashed rgba(99,102,241,.2);border-radius:16px;padding:24px;text-align:center;color:#6b7280;font-size:1rem;margin:12px 0;transition:all .3s ease;font-weight:600}.ad-placeholder:hover{background:#fffc;border-color:#6366f14d}.status-indicator{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;background:#fffc;border-radius:24px;font-size:1rem;font-weight:600;border:2px solid rgba(99,102,241,.1)}.status-dot{width:10px;height:10px;border-radius:50%;background:#10b981;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.status-running .status-dot{background:#f59e0b}.status-completed .status-dot{background:#10b981;animation:none}.status-failed .status-dot{background:#ef4444;animation:none}.loading-dots{display:inline-flex;gap:6px}.loading-dots span{width:8px;height:8px;background:#fffc;border-radius:50%;animation:loading 1.4s infinite ease-in-out}.loading-dots span:nth-child(1){animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}@keyframes loading{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@media (max-width: 768px){.app-container{padding:16px;gap:12px}.header h1{font-size:2.8rem}.header p{font-size:1.1rem}.form-section,.progress-section,.results-section{padding:20px 16px}.progress-header{flex-direction:column;align-items:flex-start;gap:12px}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.final-answer{padding:32px 24px}.timeline-container{max-height:300px}.ad-placeholder{padding:20px;margin:8px 0}.examples-grid{grid-template-columns:1fr;gap:12px}.medical-disclaimer{margin:20px 16px;padding:18px 20px}.disclaimer-text{font-size:.95rem}}@media (max-width: 480px){.app-container{padding:12px}.header h1{font-size:2.2rem}.header p{font-size:1rem}.form-section,.progress-section,.results-section{padding:18px 16px}.form-input,.form-textarea{padding:18px 20px;font-size:16px}.btn-primary{padding:18px 28px;width:100%;font-size:1.1rem}.summary-grid{grid-template-columns:1fr}.timeline-item{flex-direction:column;align-items:flex-start}.timeline-marker{display:none}.ad-placeholder{padding:16px;font-size:.9rem;margin:6px 0}.results-title{font-size:2rem}.answer-content{font-size:1rem}}@media (hover: none) and (pointer: coarse){.glass-container:hover,.btn-primary:hover{transform:none}.btn-primary:active{transform:scale(.98)}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.timeline-marker{display:none}}@media (prefers-color-scheme: light){body{background:linear-gradient(135deg,#f8fafc,#f1f5f9)}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}body:before{animation:none}.progress-bar:after{animation:none}.status-dot{animation:none}}
