.question-generator{min-height:600px;padding:0}.qg-container{grid-gap:0;display:grid;gap:0;grid-template-columns:1fr 1fr;height:100%;min-height:600px}.qg-left-panel{background:#fff;border-right:1px solid #eee;overflow-y:auto}.input-section{padding:2rem}.input-section h2{color:#2c3e50;margin-bottom:1rem}.qg-form{gap:1.5rem;margin-bottom:2rem}.form-group,.qg-form{display:flex;flex-direction:column}.form-group{gap:.5rem}.form-group label{color:#2c3e50;font-size:.95rem;font-weight:600}.form-input{border:2px solid #e0e0e0;border-radius:8px;font-family:inherit;font-size:1rem;padding:.75rem 1rem;transition:border-color .3s ease}.form-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-input:disabled{background:#f5f5f5;cursor:not-allowed}.btn-primary{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;padding:.85rem 1.5rem;transition:all .3s ease}.btn-primary:hover:not(:disabled){box-shadow:0 8px 16px #667eea66;transform:translateY(-2px)}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.btn-primary.loading{background:linear-gradient(135deg,#667eea,#764ba2)}.btn-secondary{background:#f5f5f5;border:2px solid #667eea;border-radius:8px;color:#667eea;cursor:pointer;font-size:.95rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.btn-secondary:hover:not(:disabled){background:#667eea;color:#fff}.btn-secondary:disabled{cursor:not-allowed;opacity:.5}.loading-spinner{align-items:center;display:flex;gap:.5rem}.alert{align-items:flex-start;border-radius:8px;display:flex;gap:1rem;padding:1rem}.alert-icon{flex-shrink:0;font-size:1.2rem}.alert-error{background:#ffebee;border-left:4px solid #c62828;color:#c62828}.alert-info{background:#e3f2fd;border-left:4px solid #1565c0;color:#1565c0}.questions-list{margin-top:2rem}.questions-list h3{color:#2c3e50;margin-bottom:1rem}.question-item{align-items:center;background:#f9f9f9;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;font-size:.95rem;gap:1rem;margin-bottom:.75rem;padding:1rem;text-align:left;transition:all .3s ease;width:100%}.question-item:hover:not(:disabled){background:#f0f3ff;border-color:#667eea;transform:translateX(5px)}.question-item:disabled{cursor:not-allowed;opacity:.6}.question-item.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#0000;color:#fff}.question-number{align-items:center;border-radius:50%;display:flex;flex-shrink:0;font-weight:600;height:32px;justify-content:center;width:32px}.question-item.active .question-number,.question-number{background:#fff;color:#667eea}.question-text{flex:1 1}.question-arrow{flex-shrink:0;font-size:1.2rem}.qg-right-panel{background:#fff}.chat-section,.qg-right-panel{display:flex;flex-direction:column}.chat-section{height:100%;padding:2rem}.chat-section h2{color:#2c3e50;margin-bottom:1rem}.chat-ask-form{display:flex;gap:.75rem;margin-bottom:1rem}.chat-question-input{border:2px solid #e0e0e0;border-radius:8px;flex:1 1;font-family:inherit;font-size:.95rem;padding:.75rem 1rem}.chat-question-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.chat-question-input:disabled{background:#f5f5f5;cursor:not-allowed}.messages-container{display:flex;flex:1 1;flex-direction:column;gap:1rem;overflow-y:auto;padding:1rem 0}.empty-state{height:100%;justify-content:center}.empty-state p{margin:.5rem 0}.empty-state p:first-child{color:#666;font-size:1.1rem;font-weight:500}.messages-list{display:flex;flex-direction:column;gap:1rem}.message{align-items:flex-start;animation:slideIn .3s ease;display:flex;gap:1rem}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-icon{flex-shrink:0;font-size:1.3rem}.message-content{word-wrap:break-word;background:#f5f5f5;border-radius:8px;flex:1 1;padding:1rem}.message-user .message-content{background:#e3f2fd;color:#1565c0}.message-assistant .message-content{background:#f5f5f5;color:#666}.message-question{font-weight:600}.message-question .message-content{background:#fff9e6;border-left:4px solid #fbc02d;color:#f57f17}.message-answer .message-content{background:#f1f8e9;color:#33691e}.message-error .message-content{background:#ffebee;color:#c62828}.message-loading .message-content{background:#0000}.formatted-answer{display:flex;flex-direction:column;gap:.5rem}.answer-line{line-height:1.5;margin:0}.pulse-animation{animation:pulse-text 1.5s ease-in-out infinite}@keyframes pulse-text{0%,to{opacity:1}50%{opacity:.5}}@media (max-width:1024px){.qg-container{grid-template-columns:1fr;min-height:auto}.qg-left-panel{border-bottom:1px solid #eee;border-right:none;max-height:400px}.qg-right-panel{min-height:300px}}@media (max-width:768px){.chat-section,.input-section{padding:1.5rem}.chat-ask-form{flex-direction:column}.question-item{gap:.5rem;padding:.75rem}.message{gap:.75rem}.message-content{padding:.75rem}.message-icon{font-size:1rem}}.pdf-summarizer{min-height:600px;padding:0}.ps-container{display:flex;flex-direction:column;gap:2rem;height:100%;padding:2rem}.upload-section h2{color:#2c3e50;margin-bottom:.5rem}.section-subtitle{color:#666;font-size:1rem;margin-bottom:1.5rem}.ps-form{gap:1.5rem}.ps-form,.upload-area{display:flex;flex-direction:column}.upload-area{gap:1rem}.upload-zone{align-items:center;background:#f9faff;border:2px dashed #667eea;border-radius:12px;cursor:pointer;display:flex;justify-content:center;min-height:200px;padding:2rem;text-align:center;transition:all .3s ease}.upload-zone:hover{background:#f0f3ff;border-color:#764ba2}.upload-zone.drag-over{background:#e3f2fd;border-color:#764ba2;transform:scale(1.02)}.upload-zone.has-file{background:#f1f8e9;border-color:#4caf50;border-style:solid}.upload-prompt{display:flex;flex-direction:column;gap:.5rem;width:100%}.upload-icon{display:block;font-size:2.5rem}.upload-prompt p{color:#666;margin:0}.upload-prompt p:first-of-type{color:#2c3e50;font-size:1.1rem;font-weight:600}.upload-subtext{color:#999!important;font-size:.9rem}.file-selected{align-items:center;display:flex;flex-direction:column;gap:.75rem;width:100%}.file-icon{display:block;font-size:2rem}.file-name{color:#2c3e50;font-size:1rem;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{color:#999;font-size:.85rem}.summary-section-container{display:flex;flex-direction:column;gap:1.5rem;margin-top:2rem}.summary-section-container h2{color:#2c3e50}.summary-card{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:12px;max-height:600px;overflow-y:auto;padding:2rem}.summary-content{display:flex;flex-direction:column;gap:1.5rem}.summary-section{line-height:1.8}.summary-section h3{color:#667eea;font-size:1.1rem;margin-bottom:.75rem}.summary-section p{color:#555;margin:0 0 .5rem}.bullet-list{list-style:none;margin:0;padding:0}.bullet-list li{color:#555;line-height:1.6;padding:.5rem 0 .5rem 1.5rem;position:relative}.bullet-list li:before{color:#667eea;content:"•";font-weight:700;left:0;position:absolute}.section-text{color:#555;line-height:1.8}.summary-actions{display:flex;gap:1rem;justify-content:center}.empty-state-section{align-items:center;display:flex;flex:1 1;justify-content:center;min-height:300px}.empty-state{align-items:center;color:#999;display:flex;flex-direction:column;gap:1rem;text-align:center}.empty-icon{display:block;font-size:3rem}.empty-state p{color:#666;margin:0}.empty-state p:first-of-type{color:#2c3e50;font-size:1.2rem;font-weight:600}.empty-subtitle{font-size:.95rem;max-width:300px}@media (max-width:768px){.ps-container,.upload-zone{padding:1.5rem}.upload-zone{min-height:150px}.upload-icon{font-size:2rem}.summary-card{max-height:400px;padding:1.5rem}.summary-section h3{font-size:1rem}.bullet-list li{font-size:.9rem;padding:.4rem 0 .4rem 1.2rem}.summary-actions{flex-direction:column}.btn-secondary{width:100%}}@media print{.btn-secondary,.summary-actions,.upload-area{display:none}.summary-card{background:#fff;border:none;padding:0}}.study-shorts{padding:2rem}.shorts-header h2{color:#1f2937;margin:0}.shorts-header p{color:#4b5563;margin:.5rem 0 1.25rem}.shorts-form{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr auto;margin-bottom:1rem}.shorts-input{border:2px solid #e5e7eb;border-radius:10px;font-size:1rem;padding:.8rem 1rem}.shorts-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26;outline:none}.shorts-button{background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:10px;color:#fff;cursor:pointer;font-weight:600;padding:.8rem 1.25rem}.shorts-button:disabled{cursor:not-allowed;opacity:.6}.shorts-error{background:#fef2f2;border-left:4px solid #dc2626;border-radius:8px;color:#991b1b;margin-bottom:1rem;padding:.75rem 1rem}.video-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.video-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 6px 16px #11182714;overflow:hidden}.video-thumbnail{display:block;height:160px;object-fit:cover;width:100%}.video-player-wrap{background:#111827;padding-bottom:56.25%;position:relative;width:100%}.video-player-wrap iframe{border:0;height:100%;inset:0;position:absolute;width:100%}.video-card h3{color:#111827;font-size:.95rem;line-height:1.4;margin:0;padding:.75rem}@media (max-width:768px){.study-shorts{padding:1.25rem}.shorts-form{grid-template-columns:1fr}}.app-container{display:flex;flex-direction:column;min-height:100vh}.app-container,.app-header{background:linear-gradient(135deg,#667eea,#764ba2)}.app-header{box-shadow:0 4px 6px #0000001a;color:#fff;padding:2rem}.header-content{margin:0 auto;max-width:1200px}.app-header h1{color:#fff;font-size:2.5rem;margin-bottom:.5rem}.app-header p{color:#ffffffe6;font-size:1.1rem;margin-bottom:1rem}.server-status{align-items:center;background:#fff3;border-radius:20px;color:#fff;display:inline-flex;font-size:.9rem;gap:.5rem;padding:.5rem 1rem}.status-dot{animation:pulse 2s infinite;border-radius:50%;display:inline-block;height:10px;width:10px}.status-dot.connected{background:#4caf50}.status-dot.error{background:#ff9800}.status-dot.checking{background:#2196f3}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.app-main{display:flex;flex:1 1;flex-direction:column;gap:1.5rem;margin:0 auto;max-width:1200px;padding:2rem;width:100%}.tab-navigation{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;display:flex;gap:1rem;padding:.5rem}.tab-button{align-items:center;background:#0000;border:none;border-radius:8px;color:#666;cursor:pointer;display:flex;flex:1 1;font-size:1rem;font-weight:500;gap:.5rem;justify-content:center;padding:1rem;transition:all .3s ease}.tab-button:hover{background:#f5f5f5}.tab-button.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 12px #667eea66;color:#fff}.tab-icon{font-size:1.3rem}.tab-content{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;min-height:500px;overflow:hidden}.app-footer{background:#0000001a;border-top:1px solid #ffffff1a;color:#fff;padding:2rem;text-align:center}.app-footer p{font-size:.95rem;margin:.3rem 0}@media (max-width:768px){.app-header h1{font-size:1.8rem}.app-main{padding:1rem}.tab-button{flex-direction:column;font-size:.85rem;gap:.3rem}.tab-navigation{gap:.5rem;padding:.25rem}}*{box-sizing:border-box;margin:0;padding:0}body{background:linear-gradient(135deg,#667eea,#764ba2);color:#333;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;min-height:100vh}#root,body,html{height:100%}h1,h2,h3,h4,h5,h6{color:#2c3e50;font-weight:600}a{color:#667eea;text-decoration:none;transition:color .3s ease}a:hover{color:#764ba2}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#667eea;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#764ba2}
/*# sourceMappingURL=main.815c4489.css.map*/