.landing{min-height:100vh;background-color:#fff}.landing-nav{background-color:#fff;box-shadow:0 1px 3px #0000001a;position:-webkit-sticky;position:sticky;top:0;z-index:1000;width:100%;transition:background-color .3s ease,backdrop-filter .3s ease}.landing-nav.scrolled{background-color:#fffffff2;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.landing-nav-content{max-width:1200px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center}.landing-logo h2{background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-size:1.5rem;font-weight:700}.landing-nav-links{display:flex;gap:1rem;align-items:center}.nav-btn{padding:.625rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none;font-family:inherit}.nav-btn-secondary{background-color:transparent;color:#667eea;border:2px solid #667eea}.nav-btn-secondary:hover{background-color:#f3f4ff}.nav-btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none}.nav-btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.landing-nav-menu{display:flex;gap:2rem;align-items:center;flex:1;justify-content:center}.nav-menu-item,.nav-menu-item.dropdown{position:relative}.nav-menu-link{color:#374151;font-size:.95rem;font-weight:500;cursor:pointer;text-decoration:none;display:flex;align-items:center;gap:.25rem;transition:color .2s ease}.nav-menu-link:hover{color:#667eea}.dropdown-arrow{margin-left:.25rem;transition:transform .2s ease}.dropdown:hover .dropdown-arrow{transform:rotate(180deg)}.dropdown-menu{position:absolute;top:calc(100% + .5rem);left:50%;transform:translate(-50%);background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026;padding:1.5rem;min-width:600px;z-index:2000;animation:fadeIn .2s ease}.dropdown-menu:before{content:"";position:absolute;top:-.5rem;left:0;right:0;height:.5rem;background:transparent}@keyframes fadeIn{0%{opacity:0;transform:translate(-50%) translateY(-10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.dropdown-content-columns{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.dropdown-column{display:flex;flex-direction:column;gap:.25rem}.dropdown-column-header{font-size:.75rem;font-weight:700;color:#9ca3af;letter-spacing:.05em;margin-bottom:.75rem;padding:0 .75rem}.dropdown-item{display:flex;align-items:flex-start;gap:1rem;padding:.75rem;border-radius:8px;cursor:pointer;transition:background-color .2s ease}.dropdown-item:hover{background-color:#f9fafb}.dropdown-icon{font-size:1.5rem;flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.dropdown-text{flex:1}.dropdown-title{font-size:.95rem;font-weight:600;color:#1f2937;margin-bottom:.25rem}.dropdown-description{font-size:.85rem;color:#6b7280;line-height:1.4}.hero{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:6rem 2rem;text-align:center}.hero-content{max-width:800px;margin:0 auto}.hero-title{font-size:3.5rem;font-weight:800;line-height:1.2;margin-bottom:1.5rem}.rotating-text{display:inline-block;background:linear-gradient(120deg,#fff,#e0e7ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;border-bottom:3px solid rgba(255,255,255,.5);padding-bottom:2px;transition:opacity .5s ease-in-out;white-space:nowrap}.rotating-text.fade-out{opacity:0}.rotating-text.fade-in{opacity:1}.hero-subtitle{font-size:1.25rem;line-height:1.7;opacity:.95;margin-bottom:2.5rem;transition:opacity .5s ease-in-out;min-height:4em}.hero-subtitle.fade-out{opacity:0}.hero-subtitle.fade-in{opacity:.95}.hero-proposition{font-size:1.15rem;font-weight:600;line-height:1.6;opacity:1;margin-bottom:2rem;margin-top:1rem;color:#fff;text-align:center}.cta-button{background-color:#fff;color:#667eea;padding:1rem 2.5rem;font-size:1.1rem;font-weight:700;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;gap:.5rem;box-shadow:0 4px 20px #00000026}.cta-button:hover{transform:translateY(-2px);box-shadow:0 6px 30px #0003}.cta-arrow{width:20px;height:20px;transition:transform .3s ease}.cta-button:hover .cta-arrow{transform:translate(4px)}.hero-note{margin-top:1.5rem;font-size:.9rem;opacity:.85}.features{padding:5rem 2rem;background-color:#f9fafb}.features-content{max-width:1200px;margin:0 auto}.section-title{font-size:2.5rem;font-weight:700;text-align:center;color:#1f2937;margin-bottom:1rem}.section-subtitle{font-size:1.1rem;text-align:center;color:#6b7280;margin-bottom:3rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.feature-card{background-color:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #00000014;transition:all .3s ease}.feature-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #667eea26}.feature-icon{width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem}.feature-icon svg{width:28px;height:28px;color:#fff}.feature-card h3{font-size:1.25rem;font-weight:700;color:#1f2937;margin-bottom:.75rem}.feature-card p{font-size:1rem;line-height:1.6;color:#6b7280}.benefits{padding:5rem 2rem;background-color:#fafafa;position:relative}.benefits-content{max-width:1200px;margin:0 auto}.benefits-title{font-size:2.75rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem;line-height:1.2}.benefits-subtitle{font-size:1.1rem;line-height:1.7;color:#6b7280;max-width:700px;margin-bottom:3.5rem}.benefits-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:3rem;position:relative;z-index:1}.benefit-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:2.5rem;position:relative;overflow:hidden;transition:all .3s ease}.benefit-card:hover{box-shadow:0 4px 20px #00000014;transform:translateY(-2px)}.benefit-card:nth-child(1){border-color:#bfdbfe}.benefit-card:nth-child(2){border-color:#fde68a}.benefit-card:nth-child(3){border-color:#a7f3d0}.benefit-card:nth-child(4){border-color:#e9d5ff}.benefit-card:after{content:"";position:absolute;width:200px;height:200px;background:radial-gradient(circle,rgba(229,231,235,.4) 0%,transparent 70%);border-radius:50%;right:-50px;bottom:-50px;z-index:0}.benefit-card>*{position:relative;z-index:1}.benefit-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem}.benefit-icon svg{width:24px;height:24px}.benefit-icon-blue{background-color:#dbeafe;color:#3b82f6}.benefit-icon-yellow{background-color:#fef3c7;color:#f59e0b}.benefit-icon-green{background-color:#d1fae5;color:#10b981}.benefit-icon-purple{background-color:#e9d5ff;color:#a855f7}.benefit-card h3{font-size:1.4rem;font-weight:700;color:#1f2937;margin-bottom:1rem;line-height:1.3}.benefit-card p{font-size:1rem;line-height:1.7;color:#6b7280}.cta-section{background:linear-gradient(135deg,#667eea,#764ba2);padding:5rem 2rem;text-align:center;color:#fff}.cta-content{max-width:700px;margin:0 auto}.cta-title{font-size:2.5rem;font-weight:800;margin-bottom:1rem}.cta-text{font-size:1.2rem;line-height:1.7;opacity:.95;margin-bottom:2.5rem}.cta-button-large{font-size:1.2rem;padding:1.25rem 3rem}.landing-footer{background-color:#1f2937;color:#fff;padding:2rem;text-align:center}.footer-content{max-width:1200px;margin:0 auto}.footer-content p{font-size:.9rem;opacity:.7}@media (max-width: 768px){.landing-nav-content{padding:1rem;flex-wrap:wrap;gap:1rem}.landing-nav-menu{display:none}.landing-logo{flex:1}.landing-nav-links{flex-shrink:0}.dropdown-menu{min-width:90vw;left:5vw;transform:none}.dropdown-content-columns{grid-template-columns:1fr;gap:1rem}.hero{padding:4rem 1.5rem}.hero-title,.rotating-text{font-size:2.5rem}.hero-subtitle{font-size:1.1rem;min-height:5em}.hero-proposition{font-size:1.05rem}.section-title{font-size:2rem}.features-grid,.benefits-grid{grid-template-columns:1fr;gap:1.5rem}.benefits-title{font-size:2rem}.benefits-subtitle{font-size:1rem}.benefit-card{padding:2rem}.cta-title{font-size:2rem}.cta-text{font-size:1.1rem}.cta-button{padding:.875rem 2rem;font-size:1rem}.cta-button-large{padding:1rem 2rem;font-size:1.1rem}}@media (max-width: 480px){.hero-title{font-size:2rem}.rotating-text{font-size:1.75rem;border-bottom:2px solid rgba(255,255,255,.5);white-space:normal;display:inline}.hero-subtitle{font-size:1rem;min-height:6em}.hero-proposition{font-size:.95rem}.nav-btn{padding:.5rem 1rem;font-size:.875rem}}.templates-page{min-height:100vh;background-color:#fff}.nav-menu-link.active{color:#667eea;font-weight:600}.templates-hero{text-align:center;padding:2rem 2rem 1.5rem;max-width:900px;margin:0 auto}.templates-hero-title{font-size:3rem;font-weight:800;color:#1f2937;margin-bottom:1rem;line-height:1.1}.templates-hero-subtitle{font-size:1.05rem;color:#6b7280;margin-bottom:1.5rem;line-height:1.6}.templates-hero-buttons{display:flex;gap:1rem;justify-content:center;align-items:center}.templates-btn{padding:1rem 2.5rem;font-size:1rem;font-weight:600;border-radius:8px;cursor:pointer;transition:all .2s ease;border:none;font-family:inherit}.templates-btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.templates-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea4d}.templates-btn-secondary{background-color:transparent;color:#667eea;border:2px solid #667eea}.templates-btn-secondary:hover{background-color:#f3f4ff}.templates-filters{max-width:1200px;margin:0 auto;padding:2rem 2rem 1.5rem;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}.filters-title{font-size:1.25rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem}.filter-group{margin-bottom:1rem;display:flex;align-items:center;gap:1rem}.filter-group:last-child{margin-bottom:0}.filter-label{font-size:.75rem;font-weight:700;letter-spacing:.05em;color:#6b7280;text-transform:uppercase;white-space:nowrap;min-width:100px}.filter-buttons{display:flex;flex-wrap:wrap;gap:.75rem;flex:1}.filter-btn{padding:.625rem 1.5rem;font-size:.95rem;font-weight:500;border-radius:24px;cursor:pointer;transition:all .2s ease;border:1px solid #d1d5db;background-color:#fff;color:#374151;font-family:inherit}.filter-btn:hover{border-color:#9ca3af;background-color:#f9fafb}.filter-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea}.filter-btn.active:hover{box-shadow:0 2px 8px #667eea4d}.templates-grid{max-width:1200px;margin:0 auto;padding:2rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.template-card{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:16px;overflow:hidden;transition:all .3s ease;cursor:pointer;display:flex;flex-direction:column}.template-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.template-card-header{padding:2rem 1.75rem 1.25rem}.template-icon-container{display:flex;gap:.875rem}.template-icon{width:48px;height:48px;background-color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;box-shadow:0 2px 8px #00000014;color:#0ea5e9}.template-card-content{padding:0 1.75rem 2rem;flex:1;display:flex;flex-direction:column}.template-card-title{font-size:1.25rem;font-weight:700;color:#1f2937;margin-bottom:.75rem;line-height:1.3}.template-card-description{font-size:.95rem;line-height:1.6;color:#6b7280;flex:1}.no-templates{grid-column:1 / -1;text-align:center;padding:4rem 2rem;color:#9ca3af;font-size:1.1rem}@media (max-width: 1024px){.templates-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.templates-hero{padding:1.5rem 2rem 1rem}.templates-hero-title{font-size:2.25rem}.templates-hero-buttons{flex-direction:column;width:100%}.templates-btn{width:100%;max-width:300px}.templates-grid{grid-template-columns:1fr;gap:1.25rem}.filter-group{flex-direction:column;align-items:flex-start;gap:.75rem}.filter-label{min-width:auto}.filter-buttons{gap:.5rem}.filter-btn{padding:.5rem 1.25rem;font-size:.875rem}}@media (max-width: 480px){.templates-hero{padding:1.5rem 1.5rem 1rem}.templates-hero-title{font-size:1.875rem}.templates-hero-subtitle{font-size:.95rem}.templates-filters{padding:1.5rem 1.5rem 1rem}.templates-grid{padding:1.5rem}}.chat-sidebar{width:280px;height:100%;background:#f8f9fa;border-right:1px solid #e0e0e0;display:flex;flex-direction:column;position:relative;transition:width .3s ease}.chat-sidebar.collapsed{width:50px}.sidebar-header{padding:1.25rem 1rem;border-bottom:1px solid #e0e0e0}.sidebar-header h2{margin:0;font-size:1.1rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sidebar-actions{padding:1rem;border-bottom:1px solid #e0e0e0}.sidebar-btn{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;border:1px solid #e0e0e0;border-radius:8px;color:#333;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease}.sidebar-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none}.sidebar-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.sidebar-btn.primary:hover{opacity:.95}.btn-icon{font-size:1.1rem}.sidebar-section{flex:1;display:flex;flex-direction:column;overflow:hidden}.section-title{padding:1rem 1rem .5rem;margin:0;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#666}.conversations-list{flex:1;overflow-y:auto;padding:0 .5rem 1rem}.conversation-item{display:flex;align-items:center;gap:.5rem;padding:.75rem;margin:.25rem 0;background:#fff;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s ease}.conversation-item:hover{background:#f0f4ff;border-color:#667eea;transform:translate(2px)}.conversation-item.active{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-color:#667eea;border-width:2px}.conversation-content{flex:1;min-width:0}.conversation-title{font-size:.9rem;font-weight:500;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:.25rem}.conversation-meta{font-size:.75rem;color:#999}.conversation-actions{display:flex;gap:.25rem;opacity:0;transition:opacity .2s ease}.conversation-item:hover .conversation-actions{opacity:1}.action-btn{background:none;border:none;padding:.25rem .5rem;cursor:pointer;font-size:1rem;color:#666;transition:all .2s ease;border-radius:4px}.action-btn:hover{background:#0000000d;color:#333}.action-btn.delete:hover{background:#ff44441a;color:#f44}.empty-state{padding:2rem 1rem;text-align:center;color:#999;font-size:.9rem}.collapse-toggle{position:absolute;top:1.5rem;right:-12px;width:24px;height:24px;background:#fff;border:1px solid #e0e0e0;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.7rem;color:#666;transition:all .2s ease;z-index:10}.collapse-toggle:hover{background:#667eea;color:#fff;border-color:#667eea;transform:scale(1.1)}.conversations-list::-webkit-scrollbar{width:6px}.conversations-list::-webkit-scrollbar-track{background:transparent}.conversations-list::-webkit-scrollbar-thumb{background:#e0e0e0;border-radius:3px}.conversations-list::-webkit-scrollbar-thumb:hover{background:#ccc}@media (max-width: 768px){.chat-sidebar{position:fixed;left:0;top:0;z-index:1000;transform:translate(-100%);box-shadow:2px 0 12px #0000001a}.chat-sidebar:not(.collapsed){transform:translate(0)}.collapse-toggle{right:-40px;width:32px;height:32px;font-size:.9rem}}.chat-layout{display:flex;height:100%;overflow:hidden}.chat-interface{display:flex;flex-direction:column;flex:1;height:100%;background-color:#fff;overflow:hidden}.messages-container{flex:1;overflow-y:auto;padding:2rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:1rem;min-height:0}.welcome-message{text-align:center;padding:2rem 2rem 3rem;color:#666;margin-top:auto;margin-bottom:auto}.welcome-message h2{color:#333;margin-bottom:.5rem}.example-queries{margin-top:2rem;text-align:left;max-width:700px;margin-left:auto;margin-right:auto}.example-queries-label{font-size:.95rem;color:#666;margin-bottom:1rem;font-weight:500}.example-queries-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.example-query-card{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#f5f7fa,#fff);border:2px solid #e8e8e8;border-radius:12px;cursor:pointer;transition:all .25s ease;text-align:left;font-size:.95rem;color:#333;box-shadow:0 2px 4px #0000000d}.example-query-card:hover{background:linear-gradient(135deg,#fff,#f5f7fa);border-color:#667eea;transform:translateY(-3px);box-shadow:0 4px 12px #667eea26}.example-query-card:active{transform:translateY(-1px)}.example-icon{font-size:1.5rem;flex-shrink:0;filter:drop-shadow(0 1px 2px rgba(0,0,0,.1))}.example-text{flex:1;line-height:1.4}@media (max-width: 768px){.example-queries-grid{grid-template-columns:1fr}.example-query-card{padding:.875rem 1rem;font-size:.9rem}.example-icon{font-size:1.3rem}}.message{display:flex;flex-direction:column;max-width:80%;animation:slideIn .3s ease-out}.message.user{align-self:flex-end}.message.assistant{align-self:flex-start}.message-content{padding:1rem;border-radius:12px;word-wrap:break-word}.message.user .message-content{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.message.assistant .message-content{background-color:#f0f0f0;color:#333}.message-content.loading{font-style:italic;opacity:.7}.message-timestamp{font-size:.75rem;color:#999;margin-top:.25rem;padding:0 .5rem}.citation-link{color:#667eea;font-weight:700;cursor:pointer;text-decoration:none;font-size:.75em;vertical-align:super;line-height:0;padding:.15rem .35rem;border-radius:4px;transition:all .15s;display:inline-block;margin:0 .15rem;background-color:#667eea1a}.citation-link:hover{background-color:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 2px 4px #667eea4d}.input-form{display:flex;gap:.5rem;padding:1rem 1.5rem;border-top:1px solid #e0e0e0;background-color:#fff}.chat-input{flex:1;padding:.75rem 1rem;border:1px solid #e0e0e0;border-radius:24px;font-size:1rem;outline:none;transition:border-color .2s}.chat-input:focus{border-color:#667eea}.send-button{padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:24px;font-size:1rem;cursor:pointer;transition:opacity .2s}.send-button:hover:not(:disabled){opacity:.9}.send-button:disabled{opacity:.5;cursor:not-allowed}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-content{overflow-x:auto;max-width:100%}.message-content .markdown-table{width:100%;min-width:450px;border-collapse:separate;border-spacing:0;margin:1rem 0;background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;border:1px solid #e5e7eb}.message-content .markdown-thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.message-content .markdown-th{padding:.875rem 1rem;text-align:left;font-weight:600;font-size:.8125rem;text-transform:uppercase;letter-spacing:.05em;border:none;white-space:nowrap}.message-content .markdown-tbody .markdown-tr{border-bottom:1px solid #e5e7eb;transition:background-color .15s ease}.message-content .markdown-tbody .markdown-tr:last-child{border-bottom:none}.message-content .markdown-tbody .markdown-tr:hover{background-color:#f3f4f6}.message-content .markdown-td{padding:.75rem 1rem;font-size:.875rem;color:#1f2937;border:none;line-height:1.5}.message-content .markdown-tbody .markdown-tr:nth-child(odd){background-color:#fff}.message-content .markdown-tbody .markdown-tr:nth-child(2n){background-color:#f9fafb}.message-content .markdown-tbody .markdown-tr:nth-child(2n):hover{background-color:#f3f4f6}.message-content h2{font-size:1.25rem;font-weight:600;margin-top:1rem;margin-bottom:.75rem;color:#1f2937}.message-content h3{font-size:1.1rem;font-weight:600;margin-top:.875rem;margin-bottom:.5rem;color:#374151}.message-content ul,.message-content ol{margin:.75rem 0;padding-left:1.5rem}.message-content li{margin:.25rem 0;line-height:1.6}.message-content blockquote{border-left:4px solid #667eea;padding-left:1rem;margin:1rem 0;font-style:italic;color:#6b7280}.message-content code{background-color:#f3f4f6;padding:.2rem .4rem;border-radius:3px;font-family:Courier New,monospace;font-size:.875rem}.message-content p{margin:.75rem 0;line-height:1.6}.document-viewer{display:flex;flex-direction:column;height:100%;background-color:#fff}.document-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1.5rem;border-bottom:1px solid #e0e0e0;background-color:#fafafa}.citation-badge{display:flex;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.badge-label,.badge-page{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.badge-label{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.badge-page{background-color:#f0f0f0;color:#666}.document-info h2{font-size:1.15rem;margin-bottom:.5rem;color:#333}.document-title{font-size:.9rem;color:#666;margin-bottom:.75rem}.document-meta{display:flex;gap:1rem;flex-wrap:wrap}.document-meta span{font-size:.85rem;padding:.25rem .75rem;border-radius:12px;background-color:#fff;border:1px solid #e0e0e0}.asx-code{color:#667eea;font-weight:600}.category{color:#666}.date{color:#999}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:.5rem;line-height:1;transition:color .2s}.close-button:hover{color:#333}.chunk-preview{padding:1.25rem 1.5rem;background:linear-gradient(135deg,#fff9e6,#fffbf0);border-bottom:2px solid #f0e68c;max-height:180px;overflow-y:auto}.chunk-label{font-size:.8rem;font-weight:700;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.75rem;display:flex;align-items:center}.chunk-label:before{content:"📝";margin-right:.5rem;font-size:1rem}.chunk-hint{font-size:.7rem;font-weight:400;color:#999;text-transform:none;letter-spacing:normal;margin-left:.5rem}.chunk-text{font-size:.925rem;line-height:1.6;color:#2c3e50;padding:1rem;background-color:#fff;border-left:4px solid #667eea;border-radius:6px;box-shadow:0 1px 3px #00000014}.document-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.loading-state,.error-state{text-align:center;color:#666;padding:2rem}.error-state{color:#d32f2f}.document-iframe{width:100%;height:100%;border:none}.pdf-controls{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem;background-color:#f5f5f5;border-bottom:1px solid #e0e0e0}.page-nav-button{padding:.5rem 1rem;background-color:#667eea;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;transition:all .2s}.page-nav-button:hover:not(:disabled){background-color:#5568d3;transform:translateY(-1px)}.page-nav-button:disabled{background-color:#ccc;cursor:not-allowed;opacity:.6}.page-info{font-size:.875rem;color:#666;font-weight:500;min-width:120px;text-align:center}.pdf-container{flex:1;overflow-y:auto;overflow-x:auto;display:flex;justify-content:center;padding:1rem;background-color:#f9f9f9}.pdf-page{box-shadow:0 2px 8px #0000001a;background-color:#fff}.pdf-page mark{background-color:#ffeb3b!important;padding:2px!important;border-radius:2px}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}.app{display:flex;flex-direction:column;height:100vh;background-color:#fff}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem 2rem;box-shadow:0 2px 4px #0000001a}.app-header h1{font-size:1.8rem;margin-bottom:.25rem}.app-header p{font-size:.9rem;opacity:.9}.app-content{display:flex;flex:1;overflow:hidden;position:relative}.chat-section{flex:1;min-width:400px;display:flex;flex-direction:column;transition:all .3s ease}.document-section{display:none}.app-content.document-open{flex-direction:row}.app-content.document-open .document-section{display:flex;flex-shrink:0;background-color:#fafafa;overflow:hidden}.app-content.document-open .chat-section{flex-shrink:0;overflow:hidden}.resize-handle{width:8px;background-color:#e0e0e0;cursor:col-resize;position:relative;flex-shrink:0;transition:background-color .2s;display:flex;align-items:center;justify-content:center}.resize-handle:hover{background-color:#667eea}.resize-handle:active{background-color:#5568d3}.resize-handle-line{width:2px;height:40px;background-color:#ffffff80;border-radius:2px;pointer-events:none}@media (max-width: 768px){.app-content.document-open{flex-direction:column}.app-content.document-open .document-section{width:100%!important;height:60%;border-bottom:1px solid #e0e0e0}.resize-handle{display:none}.app-content.document-open .chat-section{width:100%!important;height:40%;order:2}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-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-color:#f5f5f5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{width:100%;height:100vh}
