body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root,body,html{height:100%;margin:0;overflow:hidden;padding:0;width:100%}body{background:#f5f7fa;color:#172033;min-width:320px}button,input,textarea{font-family:inherit}.agent-chat,.agent-layout{height:100dvh;min-height:0;min-width:0;overflow:hidden}.agent-layout{background:#f5f7fa;display:flex;width:100%}.agent-sidebar{background:#fff;border-right:1px solid #e1e7ed;display:flex;flex:0 0 200px;flex-direction:column;height:100dvh;min-height:0;overflow:hidden;width:200px}.agent-sidebar-brand{align-items:center;border-bottom:1px solid #e5eaf0;color:#0f5d78;display:flex;flex:0 0 64px;font-size:17px;font-weight:750;gap:12px;height:64px;padding:0 20px;width:100%}.agent-sidebar-brand-icon{color:#0f766e;display:grid;flex:0 0 28px;font-size:19px;height:28px;place-items:center;width:28px}.agent-menu{flex:1 1 auto;min-height:0;overflow-y:auto;padding:18px 8px}.agent-menu-item{align-items:center;background:#0000;border:0;border-radius:8px;color:#334155;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:11px;height:42px;outline:none;padding:0 15px;text-align:left;transition:color .2s ease,background .2s ease;width:100%}.agent-menu-item:hover{background:#f0f7ff;color:#1677ff}.agent-menu-item:focus-visible{box-shadow:0 0 0 3px #1677ff29}.agent-menu-item-active{background:#e6f4ff;color:#1677ff}.agent-menu-item>.anticon{flex:0 0 auto;font-size:16px}.agent-main{background:#f8fafc;flex:1 1 auto;width:auto}.agent-main,.phyanim-chat{display:flex;height:100dvh;min-height:0;min-width:0;overflow:hidden}.phyanim-chat{background:#fff;border:0;border-radius:0;box-shadow:none;flex-direction:column;width:100%}.phyanim-topbar{align-items:center;background:#fff;border-bottom:1px solid #e5eaf0;display:flex;flex:0 0 auto;gap:20px;justify-content:space-between;min-height:94px;padding:20px 28px;width:100%}.phyanim-title-wrapper{align-items:center;display:flex;gap:14px;min-width:0}.phyanim-title-icon{background:linear-gradient(135deg,#2563eb,#4f46e5);border-radius:12px;box-shadow:0 8px 18px #2563eb33;color:#fff;display:grid;flex:0 0 42px;font-size:20px;height:42px;place-items:center;width:42px}.phyanim-topbar h3.ant-typography{color:#111827;font-size:23px;font-weight:750;line-height:1.25;margin:0 0 4px}.phyanim-topbar span.ant-typography{color:#718096;font-size:13px}.phyanim-topbar-actions{align-items:center;display:flex;flex:0 0 auto;gap:12px}.phyanim-status{align-items:center;background:#effcf8;border:1px solid #b9eadb;border-radius:999px;color:#07876f;display:inline-flex;font-size:13px;font-weight:650;gap:7px;height:34px;padding:0 13px;white-space:nowrap}.phyanim-status.is-loading{background:#eff6ff;border-color:#bfdbfe;color:#2563eb}.phyanim-status.is-error{background:#fef2f2;border-color:#fecaca;color:#dc2626}.phyanim-status>.anticon{font-size:14px}.phyanim-status-dot{background:#10b981;border-radius:50%;display:inline-block;flex:0 0 7px;height:7px;width:7px}.phyanim-status-dot.loading{animation:status-pulse 1.2s ease-in-out infinite;background:#3b82f6}.phyanim-status-dot.error{background:#ef4444}.phyanim-reset{border-radius:8px;color:#475569;font-size:13px;height:34px}.phyanim-reset:hover{border-color:#91caff!important;color:#1677ff!important}.phyanim-history{background:linear-gradient(90deg,#94a3b81a 1px,#0000 0),linear-gradient(180deg,#94a3b81a 1px,#0000 0),#f8fafc;background-size:34px 34px;flex:1 1 auto;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;padding:28px;scrollbar-gutter:stable}.phyanim-history::-webkit-scrollbar{width:10px}.phyanim-history::-webkit-scrollbar-track{background:#f1f5f9}.phyanim-history::-webkit-scrollbar-thumb{background:#cbd5e1;border:2px solid #f1f5f9;border-radius:999px}.phyanim-history::-webkit-scrollbar-thumb:hover{background:#94a3b8}.phyanim-history{scrollbar-color:#cbd5e1 #f1f5f9;scrollbar-width:thin}.phyanim-history-loading{align-items:center;display:flex;flex-direction:column;gap:14px;justify-content:center;min-height:360px;width:100%}.phyanim-history-loading .ant-typography{color:#64748b}.phyanim-empty{align-items:center;display:flex;flex-direction:column;gap:10px;justify-content:center;min-height:360px;text-align:center;width:100%}.phyanim-empty-visual{background:#dbeafe;border-radius:22px;color:#2563eb;display:grid;font-size:30px;height:72px;margin-bottom:5px;place-items:center;width:72px}.phyanim-empty h4.ant-typography{color:#1e293b;margin:0}.phyanim-message{align-items:flex-start;display:flex;gap:12px;margin-bottom:22px;width:100%}.phyanim-message-user{flex-direction:row-reverse}.phyanim-avatar{border-radius:13px;box-shadow:0 7px 16px #0f172a24;color:#fff;display:grid;flex:0 0 38px;font-size:17px;height:38px;place-items:center;width:38px}.phyanim-message-assistant .phyanim-avatar{background:linear-gradient(135deg,#2948e8,#4f46e5)}.phyanim-message-user .phyanim-avatar{background:linear-gradient(135deg,#0f766e,#14b8a6)}.phyanim-message-body{min-width:0;width:min(760px,calc(100% - 52px))}.phyanim-message-user .phyanim-message-body{align-items:flex-end;display:flex;flex-direction:column}.phyanim-message-meta{align-items:center;color:#64748b;display:flex;font-size:12px;font-weight:700;gap:8px;margin-bottom:7px;min-height:18px}.phyanim-message-user .phyanim-message-meta{justify-content:flex-end}.phyanim-message-meta small{align-items:center;color:#059669;display:inline-flex;font-size:11px;font-weight:650;gap:4px}.phyanim-message-meta small.is-running{color:#2563eb}.phyanim-bubble{border-radius:17px;box-shadow:0 8px 20px #0f172a12;line-height:1.72;max-width:100%;padding:14px 17px;white-space:pre-wrap;word-break:break-word}.phyanim-message-assistant .phyanim-bubble{background:#fff;border:1px solid #e1e7ed;border-top-left-radius:6px;color:#334155}.phyanim-message-user .phyanim-bubble{background:linear-gradient(135deg,#0f766e,#155e75);border-top-right-radius:6px;color:#fff}.phyanim-text{white-space:pre-wrap}.phyanim-typing-bubble{align-items:center;display:flex;gap:5px;min-height:44px;min-width:68px}.typing-dot{animation:typing-bounce 1.2s ease-in-out infinite;background:#94a3b8;display:inline-block;height:7px;width:7px}.typing-dot:nth-child(2){animation-delay:.15s}.typing-dot:nth-child(3){animation-delay:.3s}.phyanim-error{background:#fef2f2;border:1px solid #fecaca;border-radius:9px;color:#b91c1c;font-size:13px;line-height:1.5;margin:8px auto 18px;max-width:min(760px,100%);padding:9px 13px;width:fit-content}.phyanim-input-panel{grid-gap:10px 12px;align-items:end;background:#fff;border-top:1px solid #e5eaf0;display:grid;flex:0 0 auto;gap:10px 12px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;min-height:90px;padding:16px 20px;width:100%}.phyanim-quick-tags{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}.phyanim-quick-tag{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:16px;color:#475569;cursor:pointer;font-size:12px;line-height:1.5;padding:4px 12px;transition:all .2s ease;white-space:nowrap}.phyanim-quick-tag:hover:not(:disabled){background:#eef2ff;border-color:#c7d2fe;color:#667eea}.phyanim-quick-tag:active:not(:disabled){transform:scale(.96)}.phyanim-quick-tag:disabled{cursor:not-allowed;opacity:.5}.phyanim-input-panel .ant-input{background:#f8fafc;border-color:#cbd5e1;border-radius:15px;box-shadow:none;color:#172033;line-height:1.6;min-height:52px;padding:13px 14px;resize:none}.phyanim-input-panel .ant-input::placeholder{color:#a1acba}.phyanim-input-panel .ant-input:hover{border-color:#91caff}.phyanim-input-panel .ant-input-focused,.phyanim-input-panel .ant-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.phyanim-send{background:linear-gradient(135deg,#155e75,#2563eb);border:0;border-radius:14px;box-shadow:0 9px 20px #2563eb33;font-weight:700;height:48px;min-width:104px}.phyanim-send:not(:disabled):hover{background:linear-gradient(135deg,#0f766e,#1d4ed8);border:0}.phyanim-send:disabled{background:#f3f3f3;box-shadow:none;color:#a8a8a8}@keyframes typing-bounce{0%,60%,to{opacity:.45;transform:translateY(0)}30%{opacity:1;transform:translateY(-5px)}}@keyframes status-pulse{0%,to{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}@media (prefers-reduced-motion:reduce){.phyanim-status-dot.loading,.typing-dot{animation:none}}@media (max-width:900px){.agent-sidebar{flex-basis:180px;width:180px}.phyanim-topbar{padding:18px 20px}.phyanim-history{padding:22px 20px}.phyanim-input-panel{padding:14px 16px}}@media (max-width:768px){.agent-sidebar{flex-basis:170px;width:170px}.agent-sidebar-brand{font-size:15px;padding:0 15px}.agent-menu-item{font-size:13px;padding:0 12px}.phyanim-topbar{align-items:flex-start;flex-direction:column;min-height:auto}.phyanim-topbar-actions{justify-content:space-between;width:100%}.phyanim-title-wrapper{width:100%}}@media (max-width:560px){.agent-sidebar{flex-basis:58px;width:58px}.agent-sidebar-brand{justify-content:center;padding:0}.agent-sidebar-brand span{display:none}.agent-menu{padding:14px 8px}.agent-menu-item{justify-content:center;padding:0}.agent-menu-item span{display:none}.phyanim-topbar{padding:16px}.phyanim-title-icon{flex-basis:38px;font-size:18px;height:38px;width:38px}.phyanim-topbar h3.ant-typography{font-size:20px}.phyanim-topbar span.ant-typography{font-size:12px}.phyanim-history{padding:18px 12px}.phyanim-message{gap:8px;margin-bottom:18px}.phyanim-avatar{border-radius:11px;flex-basis:34px;font-size:15px;height:34px;width:34px}.phyanim-message-body{width:calc(100% - 42px)}.phyanim-bubble{border-radius:15px;font-size:14px;padding:12px 13px}.phyanim-input-panel{grid-template-columns:1fr;min-height:auto;padding:12px}.phyanim-send{width:100%}}*{box-sizing:border-box}.App{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:0}.app-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-bottom:1px solid #fff3;color:#fff;padding:20px 0;text-align:center}.app-header h1{font-size:1.8rem;font-weight:600;margin:0}.app-main{margin:0 auto;max-width:960px;padding:24px 16px}.step-indicator{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:24px}.step-item{align-items:center;display:flex;gap:6px;opacity:.5;transition:opacity .3s}.step-item.active{opacity:1}.step-item.done{opacity:.8}.step-circle{align-items:center;background:#ffffff4d;border-radius:50%;color:#fff;display:flex;font-size:14px;font-weight:600;height:28px;justify-content:center;width:28px}.step-item.active .step-circle{background:#fff;color:#764ba2}.step-item.done .step-circle{background:#4caf50;color:#fff}.step-label{color:#fff;font-size:13px}.card{background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;margin-bottom:16px;padding:28px}.card h2{color:#333;font-size:1.5rem;margin:0 0 8px}.card h3{color:#333;font-size:1.2rem;margin:0 0 12px}.card h4{color:#555;margin:0 0 12px}.subtitle{color:#888;margin:0 0 24px}.step-desc{color:#666;margin:0 0 16px}.home-card{text-align:center}.home-buttons{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}.rag-info{background:#e8f5e9;border-radius:8px;color:#2e7d32;font-size:14px;margin-top:16px;padding:8px 16px}.btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 24px;transition:all .2s}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5568d3}.btn-secondary{background:#e0e0e0;color:#333}.btn-secondary:hover:not(:disabled){background:#d0d0d0}.btn-large{font-size:16px;padding:14px 32px}.btn-row{display:flex;gap:12px;justify-content:center;margin-top:20px}.btn-link{background:none;border:none;color:#667eea;cursor:pointer;font-size:14px;padding:4px;text-decoration:underline}.text-input{border:2px solid #e0e0e0;border-radius:8px;font-size:16px;padding:12px 16px;transition:border-color .2s;width:100%}.text-input:focus{border-color:#667eea;outline:none}.config-row{display:flex;flex-wrap:wrap;gap:24px;margin-top:16px}.config-row label{align-items:center;color:#555;display:flex;font-size:14px;gap:8px}.config-row input{border:1px solid #ddd;border-radius:6px;font-size:14px;padding:6px 8px;width:60px}.error-banner{background:#ffebee;color:#c62828;margin-bottom:16px}.error-banner,.info-banner{border-radius:8px;font-size:14px;padding:12px 16px}.info-banner{background:#e3f2fd;color:#1565c0;margin-top:16px}.loading{color:#888}.empty-state,.loading{padding:24px;text-align:center}.empty-state{color:#666}.empty-state p{margin-bottom:16px}.test-list{display:flex;flex-direction:column;gap:8px}.test-item{align-items:center;border:2px solid #eee;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;padding:16px;transition:all .2s}.test-item:hover{background:#f8f9ff;border-color:#667eea}.test-item-name{color:#333;font-size:16px;font-weight:600}.test-item-meta{color:#888;font-size:13px;margin-top:4px}.test-item-action{color:#667eea;font-weight:600}.processing-card{padding:48px;text-align:center}.spinner{animation:spin 1s linear infinite;border:4px solid #e0e0e0;border-radius:50%;border-top-color:#667eea;height:48px;margin:0 auto 16px;width:48px}@keyframes spin{to{transform:rotate(1turn)}}.processing-detail{color:#888;font-size:13px;margin-top:8px}.result-view{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.result-summary{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px}.summary-item{display:flex;flex-direction:column;gap:4px}.summary-label{color:#888;font-size:12px}.summary-value{color:#333;font-size:16px;font-weight:600}.group-comparison{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.comparison-card{border:2px solid #eee;border-radius:8px;cursor:pointer;flex:1 1;min-width:140px;padding:16px;text-align:center;transition:all .2s}.comparison-card.selected{background:#f8f9ff;border-color:#667eea}.comparison-name{color:#333;font-size:18px;font-weight:700;margin-bottom:8px}.comparison-stats{color:#666;font-size:13px;line-height:1.6}.view-tabs{border-bottom:2px solid #eee;display:flex;gap:4px;margin-bottom:20px}.tab{background:none;border:none;border-bottom:2px solid #0000;color:#888;cursor:pointer;font-size:14px;margin-bottom:-2px;padding:8px 20px}.tab.active{border-bottom-color:#667eea;color:#667eea;font-weight:600}.student-list{align-items:center;display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.student-tag{background:#e8eaf6;border-radius:12px;color:#3f51b5;font-size:13px;font-weight:500;padding:4px 10px}.score-chart{margin-top:16px}.score-chart h5{color:#555;margin:0 0 12px}.score-bar-row{align-items:center;display:flex;gap:8px;margin-bottom:6px}.score-bar-label{color:#666;font-size:13px;text-align:right;width:50px}.score-bar-track{background:#f0f0f0;border-radius:10px;flex:1 1;height:20px;overflow:hidden}.score-bar-fill{background:linear-gradient(90deg,#667eea,#764ba2);border-radius:10px;height:100%;transition:width .5s ease}.score-bar-value{color:#333;font-size:13px;font-weight:600;width:50px}.avg-score-line{background:#fff3e0;border-radius:6px;color:#e65100;font-weight:600;margin-top:12px;padding:8px;text-align:center}.questions-list{display:flex;flex-direction:column;gap:16px}.question-card{background:#fafafa;border:1px solid #eee;border-radius:8px;padding:16px}.question-header{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.question-num{color:#667eea;font-weight:700}.question-answer{background:#e8f5e9;border-radius:4px;color:#2e7d32;font-size:13px;font-weight:600;padding:2px 8px}.question-difficulty{color:#888;font-size:13px}.question-content{color:#333;font-size:15px;line-height:1.6}.question-content,.question-images{margin-bottom:12px}.question-img{border-radius:8px;max-width:100%}.question-choices{display:flex;flex-direction:column;gap:6px}.choice-item{background:#fff;border:1px solid #eee;border-radius:6px;color:#555;font-size:14px;padding:8px 12px}.choice-item.correct-choice{background:#e8f5e9;border-color:#81c784;font-weight:600}.question-analysis{border-top:1px dashed #ddd;margin-top:12px;padding-top:8px}.analysis-content{background:#fffde7;border-radius:6px;color:#555;font-size:14px;line-height:1.6;margin-top:8px;padding:12px}.records-table-wrapper{overflow-x:auto}.records-table{border-collapse:collapse;font-size:14px;width:100%}.records-table td,.records-table th{border:1px solid #eee;padding:8px 12px;text-align:center}.records-table th{background:#f5f5f5;color:#555;font-weight:600}.student-id-cell{color:#333;font-weight:600;text-align:left!important}.answer-cell{font-weight:600}.answer-cell.correct{background:#e8f5e9;color:#2e7d32}.answer-cell.wrong{background:#ffebee;color:#c62828}.score-cell{color:#667eea;font-weight:700}.agent-chat{width:100%}.chat-container{background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;display:flex;flex-direction:column;height:calc(100vh - 180px);min-height:500px;overflow:hidden}.chat-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:16px 24px}.chat-header h3{color:#333;font-size:1.1rem;margin:0}.btn-sm{font-size:13px;padding:6px 14px}.chat-messages{display:flex;flex:1 1;flex-direction:column;gap:16px;overflow-y:auto;padding:24px}.chat-message{animation:fadeIn .3s ease;display:flex;gap:12px;max-width:85%}.chat-message.user{align-self:flex-end;flex-direction:row-reverse}.chat-avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;font-size:13px;font-weight:700;height:36px;justify-content:center;width:36px}.chat-message.agent .chat-avatar{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.chat-message.user .chat-avatar{background:#e0e0e0;color:#555}.chat-bubble{border-radius:12px;font-size:14px;line-height:1.6;padding:12px 16px;word-break:break-word}.chat-message.agent .chat-bubble{background:#f1f3f9;border-top-left-radius:4px;color:#333}.chat-message.user .chat-bubble{background:#667eea;border-top-right-radius:4px;color:#fff}.chat-bubble span{white-space:pre-wrap}.chat-loading{align-items:center;display:flex;gap:4px;padding:16px}.typing-dot{animation:typingBounce 1.4s ease-in-out infinite;background:#999;border-radius:50%;height:8px;width:8px}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-6px)}}.chat-input-area{background:#f8f9fa;border-top:1px solid #eee;display:flex;gap:12px;padding:16px 24px}.chat-input{border:2px solid #e0e0e0;border-radius:8px;flex:1 1;font-family:inherit;font-size:14px;max-height:120px;padding:10px 16px;resize:none;transition:border-color .2s}.chat-input:focus{border-color:#667eea;outline:none}.chat-input:disabled{background:#f5f5f5;cursor:not-allowed}
/*# sourceMappingURL=main.e28a8a57.css.map*/