.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem}.login-container{width:100%;max-width:400px}.login-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border:1px solid rgba(255,255,255,.2)}.login-header{text-align:center;margin-bottom:2rem}.login-title{font-size:1.875rem;font-weight:700;color:#1f2937;margin-top:1rem;margin-bottom:.5rem}.login-subtitle{font-size:.875rem;color:#6b7280;margin:0}.login-form{space-y:1.5rem}.form-group{margin-bottom:1.5rem}.form-label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.5rem}.form-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;transition:all .2s ease-in-out;background-color:#fff;box-sizing:border-box}.form-input:focus{outline:none;border-color:#667eea;ring:2px;ring-color:rgba(102,126,234,.2);box-shadow:0 0 0 3px #667eea1a}.form-input::placeholder{color:#9ca3af}.password-input-container{position:relative}.password-input{padding-right:2.5rem}.password-toggle{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;color:#6b7280;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:color .2s ease-in-out}.password-toggle:focus{outline:none;color:#667eea}.login-button{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease-in-out;margin-top:1.5rem}.login-button:hover:not(:disabled){background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-1px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.login-loader{width:20px;height:20px;animation:spin 1s linear infinite}.login-footer{margin-top:2rem;text-align:center}.demo-credentials{padding:1rem;background-color:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.demo-title{font-size:.75rem;font-weight:600;color:#475569;margin:0 0 .25rem;text-transform:uppercase;letter-spacing:.05em}.demo-info{font-size:.875rem;color:#64748b;margin:0}.demo-info strong{color:#1e293b;font-weight:600}@media (max-width: 480px){.login-page{padding:.5rem}.login-card{padding:1.5rem}.login-title{font-size:1.5rem}}.login-card{animation:slideUp .5s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.form-input:focus,.login-button:focus,.password-toggle:focus{outline:2px solid transparent;outline-offset:2px}.form-input.error{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.form-input.error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef444433}.link-button{background:none;border:none;color:#667eea;text-decoration:underline;cursor:pointer;font-size:inherit;padding:0 0 0 5px}.link-button:hover{color:#5a67d8}.text-red-500{color:#ef4444}.text-xs{font-size:.75rem;line-height:1rem}.mt-1{margin-top:.25rem}.mr-1{margin-right:.25rem}.inline{display:inline;vertical-align:middle}.form-label svg{display:inline-block;vertical-align:middle;margin-right:.25rem}.form-input:disabled,.login-button:disabled,.link-button:disabled{opacity:.6;cursor:not-allowed}.password-toggle{background:none;border:none;cursor:pointer;padding:.5rem;color:#6b7280;transition:color .2s}.password-toggle:hover{color:#374151}.password-toggle:focus{outline:none;color:#1f2937}.form-group p{margin-top:.25rem;font-size:.75rem;color:#6b7280;line-height:1.2}.multi-upload-page{display:flex;min-height:100vh;width:100%;flex-direction:column;align-items:center;justify-content:center;padding:1rem;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.upload-page-header{padding:3rem;padding-bottom:0;left:1rem;top:1rem;border:none;display:flex;justify-content:space-between}.upload-page-header img{width:45px;height:45px;object-fit:contain}.profile-avatar-img1{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%}.upload-page-main{bottom:2rem;display:flex;width:100%;flex-direction:column;align-items:center;text-align:center}.upload-page-features{margin-top:1.5rem;max-width:42rem;list-style-type:none;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}@media (max-width: 768px){.upload-page-features{grid-template-columns:1fr}}.upload-page-feature-item{display:flex;align-items:flex-start;gap:.5rem}.upload-page-feature-icon{margin-top:.25rem;height:1rem;width:1rem;flex-shrink:0;color:var(--primary)}.upload-cards-container{margin-top:2.5rem;width:100%;max-width:75rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}@media (max-width: 768px){.upload-cards-container{grid-template-columns:1fr;max-width:28rem}}.upload-card{position:relative;cursor:pointer;transition:all .3s ease-in-out;border:2px solid var(--border);border-radius:1rem;background:#fff;overflow:hidden}.upload-card:hover{border-color:var(--primary);box-shadow:0 8px 25px #2435f11a;transform:translateY(-2px)}.upload-card.dragging{border-color:var(--primary);box-shadow:0 0 0 4px #2435f11a;background:#2435f105}.upload-card.has-files{border-color:#22c55e;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.upload-card.error{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.upload-input{display:none}.upload-card-header{padding:1.5rem 1.5rem 0;border-bottom:1px solid rgba(0,0,0,.05)}.upload-card-title{font-size:1.125rem;font-weight:600;color:var(--foreground);margin:0;display:flex;align-items:center;gap:.25rem}.required-indicator{color:#ef4444;font-size:1rem}.upload-card-description{margin:.5rem 0 0;font-size:.875rem;color:var(--muted-foreground)}.upload-card-content{padding:1.5rem 1rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;min-height:160px}.upload-icon-text{display:flex;gap:2rem;justify-content:center}.upload-icon-container{display:flex;height:3rem;width:3rem;align-items:center;justify-content:center;border-radius:50%;border:2px dashed #2435F1;background-color:#2435f10d;position:relative;top:15px}.upload-icon{height:1.5rem;width:1.5rem;color:#2435f1}.upload-text-container{text-align:left;width:50%;display:flex;justify-content:center}.upload-text-container p{margin:0;font-size:.9rem;color:var(--muted-foreground)}.max-files-text{font-size:.75rem!important;color:var(--muted-foreground);opacity:.7;margin-top:.25rem!important}.uploaded-files{width:100%;display:flex;flex-direction:column;gap:.75rem}.uploaded-file{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#22c55e1a;border:1px solid rgba(34,197,94,.2);border-radius:.5rem;transition:all .2s ease}.uploaded-file:hover{background:#22c55e26}.file-info{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.success-icon{height:1rem;width:1rem;color:#22c55e;flex-shrink:0}.file-name{font-size:.875rem;font-weight:500;color:var(--foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.file-size{font-size:.75rem;color:var(--muted-foreground);flex-shrink:0}.remove-file-btn{padding:.25rem;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:.25rem;color:#ef4444;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.remove-file-btn:hover{background:#ef444433}.add-more-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;background:#2435f10d;border:2px dashed rgba(36,53,241,.3);border-radius:.5rem;color:#2435f1;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500}.add-more-btn:hover{background:#2435f11a;border-color:#2435f180}.upload-error{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;color:#ef4444;background:#ef44441a;padding:.5rem;border-radius:.375rem;border:1px solid rgba(239,68,68,.2)}.upload-error-icon{height:1rem;width:1rem;flex-shrink:0}.upload-summary{margin-top:2.5rem;display:flex;flex-direction:column;align-items:center;gap:1rem;padding:1.5rem;background:#fff;border:1px solid var(--border);border-radius:1rem;box-shadow:0 4px 6px -1px #0000001a}.upload-summary-text{margin:0;font-size:.875rem;color:var(--muted-foreground);text-align:center}.continue-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 2rem;background:linear-gradient(135deg,#2435f1,#1e40af);color:#fff;border:none;border-radius:9999px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:200px}.continue-button.enabled:hover{background:linear-gradient(135deg,#1e40af,#1d4ed8);transform:translateY(-1px);box-shadow:0 10px 25px #2435f14d}.continue-button.disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.continue-button.disabled:hover{background:#9ca3af;transform:none;box-shadow:none}.loader{height:1rem;width:1rem;animation:spin 1s linear infinite}.app-item{text-align:center;transition:transform .2s ease;cursor:pointer;background:none;border:none;padding:0;outline:none;display:flex;flex-direction:column;align-items:center}.app-item:hover{transform:scale(1.05)}.app-modal{transition:transform .2s ease}.app-modal:hover{transform:scale(1.05)}.upload-grid{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width: 640px){.upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.upload-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 1024px){.upload-cards-container{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width: 640px){.multi-upload-page{padding:.5rem}.upload-page-main{max-width:100%}.upload-cards-container{margin-top:1.5rem;gap:1rem}.upload-card-content{padding:1rem;min-height:140px}.upload-icon-container{height:3rem;width:3rem}.upload-icon{height:1.5rem;width:1.5rem}}html,body{overflow-x:hidden!important}.upload-page{width:100%;max-width:100%;overflow-x:hidden!important}.animated-bg{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;z-index:-1;overflow:hidden;pointer-events:none}.gradient-layer{position:absolute;top:50%;left:50%;width:200vw;height:40vh;background:linear-gradient(135deg,#81feeb,#81feebd4,#81feeb 60%,#81feebd4,#81feeb);filter:blur(10px) brightness(1);opacity:.7;transform-origin:center;transform:translate(-85%,-50%) rotate(90deg);animation:gradientMove 2s ease-out forwards,gradientPulse 5s ease-in-out 2.2s infinite}@keyframes gradientMove{0%{transform:translate(-85%,-50%) rotate(90deg);height:70vh;filter:blur(80px) brightness(1.3) hue-rotate(0deg);opacity:.75}50%{transform:translate(-60%,-50%) rotate(55deg);height:20vh;filter:blur(80px) brightness(1.5) hue-rotate(15deg);opacity:.6}to{transform:translate(-45%,-50%) rotate(25deg);height:25vh;filter:blur(80px) brightness(1) hue-rotate(0deg);opacity:.75}}@keyframes gradientPulse{0%,to{filter:blur(80px) brightness(1) hue-rotate(0deg);opacity:.75}50%{filter:blur(80px) brightness(1.15) hue-rotate(8deg);opacity:.7}}.profile-button:hover{transform:scale(1.05)}.project-section{display:flex;justify-content:center;margin-top:2rem}.project-card{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 4px 6px #0000001a;max-width:600px;width:100%}.project-card-header{display:flex;gap:1.5rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #f3f4f6}.project-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:linear-gradient(135deg,#75afbb,#5a8c99);border-radius:1rem;color:#fff;flex-shrink:0}.project-info h2{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.project-description{color:#6b7280;font-size:.875rem}.project-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2rem}.stat-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:.5rem}.stat-item svg{color:#75afbb}.stat-value{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0}.stat-label{font-size:.875rem;color:#6b7280;margin:0}.project-actions{display:flex;gap:1rem;margin-bottom:1.5rem}.btn-primary,.btn-secondary{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary{background:#75afbb;color:#fff}.btn-primary:hover{background:#5a8c99;transform:translateY(-1px)}.btn-primary:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.btn-secondary{background:#f3f4f6;color:#1f2937}.btn-secondary:hover{background:#e5e7eb}.project-meta{display:flex;justify-content:space-between;padding-top:1rem;border-top:1px solid #f3f4f6}.project-meta p{font-size:.875rem;color:#6b7280;margin:0}.text-xs{font-size:.75rem}.text-gray-500{color:#6b7280}.mt-2{margin-top:.5rem}@property --glow-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}.chat-window{display:flex;height:100%;flex-direction:column;background-color:#fff;overflow:hidden}.header{padding:1rem;border-bottom:none}.chat-header{display:flex;height:3.3rem;flex-shrink:0;align-items:center;justify-content:end;padding:0 1rem;z-index:10;border-bottom:none}.chat-header-1{display:flex;height:3.3rem;flex-shrink:0;align-items:center;justify-content:between;padding:0 1rem;z-index:10;border-bottom:none}.chat-header-logo{display:flex;align-items:center;gap:.5rem;animation:fadeInLogo .3s ease-out}@keyframes fadeInLogo{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.header-logo-img{height:30px;object-fit:contain}.header-logo-text{display:flex;flex-direction:column}.header-brand-name{font-weight:700;font-size:1.1rem;color:#1f2937;line-height:1.2}.header-brand-tag{font-size:.7rem;color:#479c9b;font-weight:500}.chat-header-spacer{flex:1}.mode-dropdown{position:relative;display:inline-block}.mode-dropdown-trigger{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:.5rem;cursor:pointer;font-size:.875rem;font-weight:500;color:#495057;transition:all .2s ease}.mode-dropdown-trigger:hover{background-color:#e9ecef;border-color:#dee2e6}.mode-dropdown-label{min-width:2rem;text-align:left}.mode-dropdown-chevron{transition:transform .2s ease}.mode-dropdown-chevron.rotated{transform:rotate(180deg)}.mode-dropdown-menu{position:absolute;top:100%;left:0;right:0;margin-top:.25rem;background-color:#fff;border:1px solid #e9ecef;border-radius:.5rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;z-index:50;overflow:hidden}.mode-dropdown-item{display:flex;align-items:center;justify-content:space-between;padding:.9rem;font-size:.875rem;cursor:pointer;transition:background-color .2s ease}.mode-dropdown-item:not(.disabled):hover{background-color:#f8f9fa}.mode-dropdown-item.selected{background-color:#e3f2fd;color:#1976d2;font-weight:500}.mode-dropdown-item.disabled{cursor:not-allowed;color:#6c757d;opacity:.6}.coming-soon-badge{font-size:.54rem;padding:.4rem .35rem;background-color:#ffc107;color:#212529;border-radius:9999px;font-weight:800}.pro{display:flex;flex-direction:column}.chat-content{position:relative;flex:1;display:flex;flex-direction:column;overflow:hidden;background-color:#f7f9fc;border:1px solid #e5e7eb;border-radius:15px}.chat-scroll-area{flex:1;overflow-y:auto;padding-bottom:1rem}.chat-messages{padding:1rem;display:flex;flex-direction:column;gap:1rem;padding-bottom:120px}.chat-message{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;width:fit-content;max-width:90%}.chat-message.user{margin-left:auto}.chat-message.assistant{margin-right:auto}.chat-message-content{border-radius:1rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.5}.chat-message-content.user{background-color:#7a7a7a26;color:#000;border-bottom-right-radius:.25rem}.chat-message-content.assistant{background-color:#d6f3f4;color:#000;border-bottom-left-radius:.25rem}.chat-message.active-pulse .chat-message-content.assistant,.thinking-bubble.active-pulse{background:linear-gradient(180deg,#73dedd,#d6f9ff,#73dedd 66%,#d6f9ff);background-size:100% 300%;animation:flowingGradient 2.5s linear infinite}@keyframes flowingGradient{0%{background-position:0% 100%}to{background-position:0% 0%}}.chat-message-content p{white-space:pre-wrap;margin:0}.credits-info-box{margin-top:.75rem;padding:.625rem .875rem;background-color:#73dedd59;border-radius:.5rem;font-size:.8125rem}.credits-row{color:#1f2937;font-weight:500}.credits-row+.credits-row{margin-top:.25rem}.annotation-suggestion-separator{margin:.75rem 0;border:none;height:1px;background-color:#00000014}.annotation-suggestion{display:flex;align-items:center;gap:.5rem}.annotation-suggestion-icon{height:1rem;width:1rem;color:#007bffcc}.annotation-suggestion-title{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;margin:0}.annotation-suggestion-text{white-space:pre-wrap;font-size:.75rem;margin-top:.5rem}.mto-download-cards{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem;width:100%}.mto-download-card{background:#73dedd26;border:1px solid rgba(115,222,221,.3);border-radius:.75rem;padding:.875rem 1rem;cursor:pointer;transition:all .2s ease}.mto-download-card:hover{background:#73dedd40;border-color:#73dedd80;transform:translateY(-1px)}.mto-download-content{display:flex;align-items:center;gap:.75rem}.mto-download-icon-container{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#fff;border-radius:.5rem;border:1px solid rgba(115,222,221,.3);flex-shrink:0}.mto-download-icon{color:#122466;width:20px;height:20px}.mto-download-info{flex:1;min-width:0}.mto-download-filename{font-weight:500;color:#000;margin:0;font-size:.875rem;line-height:1.3;word-break:break-word}.mto-download-meta{color:#7a7a7a;font-size:.75rem;margin:.125rem 0 0}.mto-download-arrow{display:flex;align-items:center;justify-content:center;flex-shrink:0}.mto-download-arrow-icon{color:#122466;width:18px;height:18px}.thinking-indicator{display:flex;align-items:center;gap:.75rem;justify-content:flex-start}.thinking-bubble{max-width:80%;background-color:#d6f3f4;padding:.75rem 1rem;font-size:.875rem;border-radius:1rem 1rem 1rem .25rem}.thinking-text-container{display:flex;align-items:center;gap:.3rem;color:#374151}.thinking-text{font-size:.8125rem;margin:0;color:#000}.thinking-dot{height:.25rem;width:.25rem;border-radius:50%;background-color:#000000e8;animation:dotPulse 3s infinite}@keyframes dotPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}.progress-bar{width:100%;height:4px;background:#ffffff4d;border-radius:2px;margin-top:8px;overflow:hidden}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#73dedd,#5162b7);transition:width .3s ease;border-radius:2px}.chat-input-container{position:absolute;left:0;right:0;padding:1rem;transition:all .3s ease-out;z-index:10}.chat-input-container.center{top:50%;transform:translateY(-50%)}.chat-input-container.bottom{bottom:0;background:linear-gradient(to top,white 80%,transparent);padding-top:2rem}.chat-input-form-container{display:flex;flex-direction:column;align-items:center;margin:0 .25rem}.chat-logo-container{display:flex;flex-direction:column;align-items:center;margin-bottom:1.5rem;transition:all .3s ease-out}.chat-logo-container.hidden{opacity:0;height:0;margin-bottom:0;transform:scale(.8);overflow:hidden}.chat-logo{height:25px;object-fit:contain;margin-bottom:.75rem}.chat-greeting{font-size:.95rem;color:#7a7a7a;margin:0;text-align:center}.chat-input-form{position:relative;width:100%}.chat-input-wrapper{position:relative;display:flex;align-items:center;border-radius:9999px;background:#fff;border:1px solid #c0c0c0bb}.chat-input-wrapper:before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:9999px;background:conic-gradient(from var(--glow-angle, 0deg),#0ef7ff 0deg,#0ef7ff 90deg,#9669ff 180deg,#9669ff 270deg,#0ef7ff 360deg);filter:blur(25px);opacity:.25;z-index:-1;animation:rotateShadowGlow 4s linear infinite}@keyframes rotateShadowGlow{0%{--glow-angle: 0deg}to{--glow-angle: 360deg}}@supports not (--glow-angle: 0deg){.chat-input-wrapper:before{background:conic-gradient(#73dedd,#73dedd,#5162b7,#5162b7,#73dedd 360deg);animation:fallbackRotate 5s linear infinite}@keyframes fallbackRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}}.chat-input-field{flex:1;min-height:44px;border:1px solid none;border-radius:9999px;background:#fff;padding:.3rem 5.5rem .3rem 1.2rem;font-size:.9rem;color:#374151;outline:none}.chat-input-field::placeholder{color:#b3b3b3}.chat-input-field:disabled{background:#f9fafb}.chat-input-actions{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:.25rem}.mic-button{display:flex;align-items:center;justify-content:center;width:45px;height:45px;background:transparent;color:#a0a0a0;border:none;cursor:pointer;border-radius:50%;transition:all .2s ease}.mic-button:hover{color:#122466}.send-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#73dedd;border:none;cursor:pointer;color:#122466;border-radius:50%;transition:all .2s ease}.send-button:hover:not(:disabled){transform:scale(1.05);box-shadow:0 2px 8px #73dedd66}.send-button:disabled{opacity:.5;cursor:not-allowed}.quick-action-chips-container{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem .5rem;margin-top:.5rem}.quick-action-chip{display:flex;align-items:center;gap:.5rem;padding:.5rem .875rem;background:#fff;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;font-size:.8125rem;font-weight:500;color:#374151;transition:all .2s ease;font-family:inherit;filter:drop-shadow(.1rem .15rem .05rem rgba(0,0,0,.075))}.quick-action-chip:hover{background:#f8fafc;border-color:#006999dc;transform:translateY(-1px)}.chat-input-field:focus{border:1px solid #006a9bcb}.quick-action-chip:active{transform:translateY(0)}.quick-action-chip:focus{outline:none;border-color:#004e71;box-shadow:0 0 0 2px #73dedd33}.chip-icon{width:16px;height:16px;flex-shrink:0;object-fit:contain}.chip-label{white-space:nowrap;color:#5a5a5a}@keyframes chipFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.quick-action-chip{animation:chipFadeIn .3s ease forwards}.quick-action-chip:nth-child(1){animation-delay:.05s}.quick-action-chip:nth-child(2){animation-delay:.1s}.quick-action-chip:nth-child(3){animation-delay:.15s}.quick-action-chip:nth-child(4){animation-delay:.2s}.quick-action-chip:nth-child(5){animation-delay:.25s}.quick-action-chip:nth-child(6){animation-delay:.3s}.analysis-source{display:inline-flex;align-items:center;gap:.25rem;margin-top:.5rem;font-size:.6875rem;color:#6b7280;padding:.25rem .5rem;background:#0000000a;border-radius:.25rem}@media (max-width: 768px){.chat-messages{padding-bottom:140px}.chat-input-form-container{padding:0 .5rem}.quick-action-chips-container{gap:.375rem}.quick-action-chip{padding:.375rem .75rem;font-size:.75rem}.chat-greeting{font-size:.9rem}}.mic-button.mic-listening{color:#122466;position:relative}@keyframes micButtonPulse{0%,to{box-shadow:0 0 #73dedd66}50%{box-shadow:0 0 0 8px #ef444400}}.mic-button.mic-disabled{opacity:.4;cursor:not-allowed}.mic-button.mic-disabled:hover{color:#a0a0a0;transform:none}.mic-button,.chat-input-form{position:relative}.chat-input-form:has(.voice-input-preview) .chat-input-wrapper{border-radius:0 0 9999px 9999px}@supports not selector(:has(*)){.chat-input-wrapper{border-radius:9999px}}.card{border-radius:.75rem;border:1px solid #e5e7eb;background-color:#fff;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;width:100%}.card-header{display:flex;flex-direction:column;gap:.375rem;padding:1.5rem}.card-title{font-size:1.5rem;font-weight:600;line-height:1;letter-spacing:-.025em;margin:0;color:#1f2937}.card-content{padding:1.5rem;padding-top:0}@media (max-width: 768px){.card-header,.card-content{padding:1rem}.card-content{padding-top:0}.card-title{font-size:1.25rem}}.badge{display:inline-flex;align-items:center;border-radius:9999px;padding:.125rem .625rem;font-size:.75rem;font-weight:600;line-height:1;transition:all .2s ease}.badge-default{color:#fff}.badge-destructive{background-color:#ef4444;color:#fff}.badge-outline{border:1px solid #d1d5db;background-color:transparent;color:#374151}.badge-secondary{background-color:#f3f4f6;color:#1f2937}.badge-destructive:hover{background-color:#dc2626}.badge-outline:hover{background-color:#f9fafb;border-color:#9ca3af}.badge-secondary:hover{background-color:#e5e7eb}@media (max-width: 768px){.badge{font-size:.6875rem;padding:.125rem .5rem}}.progress-container{position:relative;height:.5rem;width:100%;overflow:hidden;border-radius:9999px;background-color:#e5e7eb}.progress-bar{height:100%;background-color:#3b82f6;transition:width .3s ease-in-out;border-radius:9999px}.progress-container.gradient .progress-bar{background:linear-gradient(90deg,#2563eb,#3b82f6,#60a5fa)}.progress-container.success .progress-bar{background-color:#10b981}.progress-container.warning .progress-bar{background-color:#f59e0b}.progress-container.danger .progress-bar{background-color:#ef4444}.progress-container.animated .progress-bar{animation:progressPulse 2s ease-in-out infinite}@keyframes progressPulse{0%,to{opacity:1}50%{opacity:.8}}@media (max-width: 768px){.progress-container{height:.375rem}}.credit-display-loading{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.credit-display-loading-skeleton{height:5rem;background-color:#e5e7eb;border-radius:.5rem}.credit-display-compact{display:flex;align-items:center;gap:.5rem}.credit-display-amount{font-weight:600;font-size:1.05rem;display:flex;align-items:center;gap:.25rem;color:#122466}.credit-icon{width:1.35rem;height:1.35rem;object-fit:contain}.credit-card{width:100%;max-width:28rem}.credit-card-header{padding-bottom:.75rem}.credit-card-title{display:flex;align-items:center;justify-content:space-between}.credit-title-left{display:flex;align-items:center}.credit-coins-icon{height:1.25rem;width:1.25rem;margin-right:.5rem;color:#eab308}.credit-card-content{display:flex;flex-direction:column;gap:1rem}.credit-progress-section{display:flex;flex-direction:column;gap:.5rem}.credit-progress-labels{display:flex;justify-content:space-between;font-size:.875rem;color:#4b5563}.credit-progress-bar{height:.5rem}.credit-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;padding-top:.5rem}.credit-stat-item{text-align:center}.credit-stat-value{font-size:1.5rem;font-weight:700}.credit-stat-value-available{color:#16a34a}.credit-stat-value-used{color:#4b5563}.credit-stat-label{font-size:.75rem;color:#6b7280}.credit-warning{background-color:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;padding:.75rem}.credit-warning-content{display:flex;align-items:center}.credit-warning-icon{height:1rem;width:1rem;color:#ef4444;margin-right:.5rem}.credit-warning-text{font-size:.875rem;color:#b91c1c}.voice-input-preview{position:absolute;bottom:100%;left:0;right:0;background:#d6f3f4;border:1px solid rgba(115,222,221,.4);border-bottom:none;border-radius:12px 12px 0 0;padding:12px 16px;margin-bottom:-1px;box-shadow:0 -4px 20px #73dedd26;animation:slideUpFadeIn .2s ease-out;z-index:15}@keyframes slideUpFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.voice-preview-content{display:flex;align-items:center;gap:12px}.voice-preview-indicator{flex-shrink:0}.voice-mic-pulse{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#73dedd;border-radius:50%;color:#122466;position:relative;animation:micPulse 1.5s ease-in-out infinite}.voice-mic-pulse:before{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border-radius:50%;border:2px solid rgba(115,222,221,.4);animation:pulseRing 1.5s ease-out infinite}@keyframes micPulse{0%,to{transform:scale(1);box-shadow:0 0 #ef444466}50%{transform:scale(1.05);box-shadow:0 0 20px 5px #ef444433}}@keyframes pulseRing{0%{transform:scale(1);opacity:1}to{transform:scale(1.4);opacity:0}}.voice-preview-text-container{flex:1;min-width:0;overflow:hidden}.voice-preview-text{display:block;font-size:.9rem;line-height:1.4;color:#1f2937;word-wrap:break-word;max-height:60px;overflow-y:auto}.voice-text-final{color:#1f2937;font-weight:500}.voice-text-interim{color:#6b7280;font-style:italic}.voice-preview-placeholder{color:#7a7a7a;font-size:.9rem;animation:breathe 2s ease-in-out infinite}@keyframes breathe{0%,to{opacity:.6}50%{opacity:1}}.voice-preview-error{color:#ef4444;font-size:.85rem}.voice-preview-cancel{flex-shrink:0;display:flex;align-items:center;justify-content:center;background-color:transparent;width:32px;height:32px;border:none;border-radius:50%;color:#6b7280;cursor:pointer;transition:all .2s ease}.voice-preview-cancel:hover{color:#122466}.voice-waveform{display:flex;align-items:center;justify-content:center;gap:3px;margin-top:10px;height:20px}.wave-bar{width:3px;height:8px;background:linear-gradient(180deg,#73dedd,#73dedd);border-radius:2px;animation:waveAnimation .8s ease-in-out infinite}@keyframes waveAnimation{0%,to{height:8px}50%{height:20px}}@media (max-width: 768px){.voice-input-preview{padding:10px 12px}.voice-mic-pulse{width:32px;height:32px}.voice-preview-text{font-size:.85rem}}: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}.status-header{display:flex;align-items:center;gap:.75rem}.status-subtitle{font-size:.7rem;color:#6b7280;margin:.125rem 0 0;font-weight:400}.status-progress-container{display:flex;align-items:center;justify-content:center;gap:.5rem;flex-shrink:0}.status-progress-bar{width:120px;height:6px;background-color:#b3b3b3;border-radius:10px;overflow:hidden;flex-shrink:0}.status-progress-bar-fill{height:100%;background-color:#479c9b;border-radius:3px;transition:width .3s ease}.status-percentage{font-size:.875rem;font-weight:600;color:#479c9b;min-width:36px;text-align:right}.final-stats{border-top:1px solid #f3f4f6;padding-top:.75rem;margin-top:.75rem}@media (max-width: 768px){.pdf-tabs-container{padding:0 .5rem}.pdf-tab{min-width:70px;max-width:120px;padding:.5rem .75rem;font-size:.8125rem}.pdf-viewer{padding:.5rem}.pdf-viewer-controls{bottom:1rem;right:1rem}.pdf-viewer-controls-container{flex-direction:column;gap:.25rem;padding:.375rem}.pdf-viewer-control-button{width:2rem;height:2rem}.always-visible-status-panel{margin:.5rem;padding:.75rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.25rem}.status-progress-bar{width:40px}}@media (max-width: 480px){.pdf-tab{min-width:60px;max-width:100px;padding:.375rem .5rem}.always-visible-status-panel{margin:.25rem;padding:.5rem}.stats-grid{grid-template-columns:1fr}.status-progress-bar{width:30px}}@media (prefers-reduced-motion: reduce){.pdf-tab,.pdf-viewer-control-button{transition:none}.pdf-viewer-control-button:hover{transform:none}.pdf-viewer-thinking-dot,.skeleton,.status-icon.processing{animation:none}.status-progress-bar-fill{transition:none}}.status-subtitle{font-size:.7rem;color:#6b7280;margin:.125rem 0 0;font-weight:500}.logs-content{max-height:180px}.pdf-viewer-container{display:flex;flex-direction:column;height:100%;background:#fff}.pdf-viewer-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6b7280;gap:1rem}.empty-icon{color:#9ca3af}.pdf-viewer.is-loading{overflow:hidden}.pdf-tabs-wrapper{position:relative;background:#fff}.pdf-tabs-container{background:#fff;padding:0 .75rem;display:flex;gap:.25rem;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.pdf-tabs-container::-webkit-scrollbar{display:none}.pdf-tab{position:relative;display:flex;align-items:center;padding:.75rem 2.5rem;background:transparent;border:none;cursor:pointer;transition:all .2s ease;border-radius:.5rem .5rem 0 0;min-width:80px;max-width:150px;font-size:.875rem;font-weight:500;color:#6b7280}.pdf-tab:hover{background:#f3f4f6;color:#374151}.pdf-tab.active{background:#fff;color:#1f2937;font-weight:600}.pdf-tab.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#73dedd,#5162b7);border-radius:2px 2px 0 0}.pdf-viewer{position:relative;flex:1;overflow:auto;background:#f7f9fc;display:flex;flex-direction:column;align-items:center;padding:1rem;margin-top:.75rem;margin-right:.75rem;border:1px solid #e5e7eb;border-radius:15px}.pdf-viewer-loading-overlay{position:absolute;top:0;left:0;width:100%;height:100%;min-height:100%;background:#ffffffe6;display:flex;align-items:center;justify-content:center;z-index:10}.pdf-viewer-thinking-indicator{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem;background:#fff;border-radius:.5rem;box-shadow:0 4px 6px -1px #0000001a}.pdf-viewer-thinking-text{font-size:.875rem;color:#6b7280;margin:0}.pdf-viewer-thinking-dot{width:.375rem;height:.375rem;background:#73dedd;border-radius:50%;animation:pulse 1s infinite}.pdf-viewer-control-button{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;transition:all .2s ease;color:#479c9b;filter:drop-shadow(0 0 .15rem rgba(0,0,0,.295))}.pdf-viewer-control-button:hover{background:#479c9b1a;border-color:#479c9b;color:#479c9b;transform:translateY(-1px)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.pdf-viewer-document{display:flex;flex-direction:column;align-items:center;gap:1rem;border-radius:15px}.pdf-viewer-page{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border-radius:.375rem;overflow:hidden;background:#fff}.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.pdf-viewer-controls{position:fixed;display:flex;flex-direction:column;gap:.75rem;z-index:20;bottom:33%}.pdf-viewer-controls-container{display:flex;gap:.5rem;background:#fff;padding:.5rem;border-radius:.75rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border:1px solid #e5e7eb}.pdf-zoom-indicator{background:#fff;padding:.5rem .75rem;border-radius:.5rem;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e7eb;font-size:.875rem;font-weight:600;color:#374151;text-align:center;min-width:4rem}.always-visible-status-panel{background:#f7f9fc;border:1px solid #e5e7eb;border-radius:.75rem;padding:.75rem;margin:.75rem .75rem 0rem 0rem;box-shadow:0 2px 4px #0000000d;font-family:system-ui,-apple-system,sans-serif;flex-shrink:0;display:flex;flex-direction:column}.status-icon.idle{color:#6b7280}.logs-container{margin-top:.75rem;flex:1;min-height:150px;display:flex;flex-direction:column}.logs-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.875rem;font-weight:600;color:#374151;border-bottom:1px solid #f3f4f6;padding-bottom:.5rem}.logs-content{flex:1;background:#f8fafc;border-radius:.5rem;padding:.75rem;overflow-y:auto;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.75rem;line-height:1.4;max-height:150px}.log-entry{display:flex;gap:.5rem;margin-bottom:.25rem;color:#374151}.log-timestamp{color:#6b7280;font-size:.6875rem;min-width:65px;flex-shrink:0}.log-message{flex:1;word-break:break-word}.status-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.status-icon-container{display:flex;align-items:center;justify-content:center}.status-icon.success{color:#10b981}.status-icon.processing{color:#479c9b;animation:statusPulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes statusPulse{0%,to{opacity:1}50%{opacity:.5}}.status-text-container{flex:1}.status-title{font-size:.875rem;font-weight:600;margin:0;color:#000}.status-subtitle{font-size:.75rem;color:#7a7a7a;margin:.25rem 0 0}.progress-bar-container{width:100%;height:.5rem;background-color:#f3f4f6;border-radius:.25rem;overflow:hidden;margin-bottom:1rem}.progress-bar{height:100%;background:linear-gradient(90deg,#73dedd,#5162b7);border-radius:.25rem;transition:width .3s ease}.final-stats{border-top:1px solid #f3f4f6;padding-top:.75rem}.stats-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.stats-icon{color:#16a34a}.stats-title{font-size:.875rem;font-weight:600;color:#16a34a}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem}.stat-item{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;padding:.375rem .5rem;background:#f0fdf4;border-radius:.375rem}.stat-item.error{background:#fef3c7}.stat-label{color:#374151;font-weight:500}.stat-value{color:#059669;font-weight:600}.stat-item.error .stat-value{color:#d97706}@media (max-width: 768px){.pdf-tabs-container{padding:0 .5rem}.pdf-tab{min-width:70px;max-width:120px;padding:.5rem .75rem;font-size:.8125rem}.pdf-viewer{padding:.5rem}.pdf-viewer-controls{bottom:1rem;right:1rem}.pdf-viewer-controls-container{flex-direction:column;gap:.25rem;padding:.375rem}.pdf-viewer-control-button{width:2rem;height:2rem}.always-visible-status-panel{margin:.5rem;padding:.75rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.25rem}}@media (max-width: 480px){.pdf-tab{min-width:60px;max-width:100px;padding:.375rem .5rem}.always-visible-status-panel{margin:.25rem;padding:.5rem}.stats-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion: reduce){.pdf-tab,.pdf-viewer-control-button{transition:none}.pdf-viewer-control-button:hover{transform:none}.pdf-viewer-thinking-dot,.skeleton,.status-icon.processing{animation:none}.progress-bar{transition:none}}.status-subtitle{font-size:.75rem;color:#6b7280;margin:.125rem 0 0;font-weight:500}.log-entry{display:flex;gap:.5rem;margin-bottom:.375rem;color:#374151;padding:.125rem 0}.log-entry:last-child{margin-bottom:0}.log-message{flex:1;word-break:break-word;line-height:1.4}.log-message:has-text("═══"),.log-entry .log-message{font-weight:500}.logs-content::-webkit-scrollbar{width:4px}.logs-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.logs-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:2px}.logs-content::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.logs-content{max-height:150px}.workspace-page{display:flex;height:100vh;width:100vw;flex-direction:column;background-color:var(--background)}.workspace-header{display:flex;height:4.5rem;flex-shrink:0;align-items:center;justify-content:space-between;padding:0 1.5rem;border-bottom:none}.header-left{display:flex;align-items:center;gap:3rem}.header-left img{width:45px;height:45px;object-fit:contain}.project-info{display:flex;flex-direction:column;gap:.15rem}.project-info-top{display:flex;align-items:center;gap:.75rem}.project-name{font-size:1rem;font-weight:600;color:#122466}.project-id{font-size:.8rem;color:#7a7a7a;font-weight:400}.info-icon-btn{display:flex;align-items:center;justify-content:center;background-color:#fff;border:white;cursor:pointer;color:#7a7a7a;transition:all .2s ease}.info-icon-wrapper{position:absolute;border:none;background-color:transparent}.files-info-dropdown{position:absolute;top:2.5rem;left:10%;min-width:220px;background:#fff;border:1px solid #e4e6e9;border-radius:.75rem;box-shadow:0 10px 25px #0000001a;z-index:100;overflow:hidden;padding:.5rem 0}.files-info-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;font-weight:600;font-size:.875rem;color:#122466}.close-dropdown-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;cursor:pointer;color:#6b7280;border-radius:4px;transition:all .2s ease}.close-dropdown-btn:hover{background:#f3f4f6;color:#374151}.files-list{padding:.5rem}.file-item{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem .75rem;font-size:.8125rem;border-radius:.375rem}.file-item:hover{background:#f9fafb}.file-type{font-weight:600;color:#000;min-width:35px}.file-name{color:#000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.add-files-wrapper{display:flex;justify-content:center;align-items:center}.add-files-wrapper img{height:1rem;width:1rem}.add-files-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:.5rem;padding:.65rem 1rem;background:#f8f9fa;border:2px solid #479c9b;border-radius:22px;color:#000;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s ease}.add-files-btn:hover{background-color:#479c9b1f}.header-right{display:flex;align-items:center;gap:3rem}.reupload-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:9999px;background-color:#fff;padding:.5rem 1rem;border:1px solid #122466;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;filter:drop-shadow(0 0 .05rem black)}.reupload-button:hover{background-color:#f3f4f6;border-color:#9ca3af}.profile-wrapper{position:relative}.profile-avatar-btn{display:flex;align-items:center;justify-content:center;background:transparent;border:none;cursor:pointer;padding:0}.profile-avatar{width:45px;height:45px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:1rem;transition:transform .2s ease,box-shadow .2s ease;overflow:hidden;position:relative}.profile-avatar:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026}.profile-avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-avatar-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.profile-dropdown{position:absolute;top:calc(100% + 14px);right:0;min-width:200px;background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 10px 25px #0000001a;z-index:100;overflow:hidden}.profile-info{display:flex;flex-direction:column;padding:1rem}.profile-name{font-weight:600;color:#1f2937;font-size:.9rem}.profile-email{font-size:.75rem;color:#6b7280;margin-top:.25rem}.logout-menu-btn{display:flex;align-items:center;gap:.75rem 12px;width:90%;padding:.875rem 1rem;background:transparent;border:none;cursor:pointer;background-color:#75afbb;font-size:.875rem;font-weight:600;color:#fff;margin:.5rem;border-radius:8px}.logout-menu-btn:hover{background-color:#5a8c99}.workspace-main{display:flex;flex-grow:1;flex-direction:column;overflow:hidden}@media (min-width: 768px){.workspace-main{flex-direction:row}}.pdf-viewer-section{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.pdf-viewer-container{flex-grow:1;overflow:auto}.separator{display:none}@media (min-width: 768px){.separator{display:block}}.chat-window-container{height:50%;width:100%;flex-shrink:0}@media (min-width: 768px){.chat-window-container{height:100%;width:450px;border-top:0}}@media (min-width: 1024px){.chat-window-container{width:550px}}@media (max-width: 768px){.workspace-header{padding:0 1rem}.project-info{padding:.375rem .5rem}.project-name{font-size:.8125rem}.reupload-button span{display:none}.reupload-button{padding:.5rem}}.skeleton{border-radius:.375rem;background-color:#e5e7eb;animation:skeletonPulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes skeletonPulse{0%,to{opacity:1}50%{opacity:.5}}.skeleton.wave{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:skeletonWave 1.5s infinite}@keyframes skeletonWave{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton.circle{border-radius:50%}.skeleton.text{height:1rem;margin-bottom:.5rem}.skeleton.text:last-child{width:80%}.skeleton.title{height:2rem;margin-bottom:1rem}.skeleton.avatar{width:2.5rem;height:2.5rem;border-radius:50%}.skeleton.button{height:2.5rem;width:6rem;border-radius:.375rem}@media (prefers-reduced-motion: reduce){.skeleton{animation:none}}:root{--background: #ffffff;--foreground: #000000;--muted-foreground: #6c757d;--primary: #007bff;--primary-50: rgba(0, 123, 255, .5);--border: #dee2e6;--destructive: #dc3545}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:0;background-color:var(--background);color:var(--foreground);overflow-x:hidden}#root{display:flex;flex-direction:column;min-height:100vh}header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--border)}main{flex-grow:1;padding:1rem}footer{padding:1rem;border-top:1px solid var(--border);text-align:center}.button{background-color:var(--primary);color:#fff;padding:.5rem 1rem;border:none;border-radius:.25rem;cursor:pointer}.buttons{background-color:#2435f1;color:#fff;padding:1rem 1.5rem;border:none;border-radius:2rem;cursor:pointer}.buttonss{background-color:#2435f1;color:#fff;padding:.5rem 1rem;border:none;border-radius:50%;cursor:pointer}.button:hover{background-color:#0056b3}input,textarea{width:100%;padding:.5rem;border:1px solid var(--border);border-radius:.25rem}.text-center{text-align:center}.text-red{color:var(--destructive)}
