:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.student-login-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center}.panel{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:2rem}.form-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:1rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;border-radius:.5rem;transition:all .15s ease-in-out;cursor:pointer;border:none}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background-color:#2563eb}.btn-primary:disabled{background-color:#9ca3af;cursor:not-allowed}.space-y-5>*+*{margin-top:1.25rem}.text-red-600{color:#dc2626}.text-sm{font-size:.875rem}.text-2xl{font-size:1.5rem;line-height:2rem}.mb-3{margin-bottom:.75rem}.mb-7{margin-bottom:1.75rem}.my-7{margin-top:1.75rem;margin-bottom:1.75rem}.text-center{text-align:center}.text-white-dark{color:#6b7280}.dark\:bg-black{background-color:#000}.relative{position:relative}.z-\[1\]{z-index:1}.inline-block{display:inline-block}.before\:w-full:before{content:"";width:100%}.before\:h-\[1px\]:before{content:"";height:1px}.before\:absolute:before{content:"";position:absolute}.before\:inset-0:before{content:"";top:0;right:0;bottom:0;left:0}.before\:m-auto:before{content:"";margin:auto}.before\:bg-\[\#ebedf2\]:before{content:"";background-color:#ebedf2}.dark\:before\:bg-\[\#253b5c\]:before{content:"";background-color:#253b5c}.student-assignments-container,.assignment-detail-container,.student-portal{min-height:100vh;background-color:#f8fafc}.header-content{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:1200px;margin:0 auto;padding:0 1rem}.user-info{display:flex;align-items:center;gap:1rem}.sign-out-button{background-color:#ef4444;color:#fff;padding:.5rem 1rem;border-radius:.375rem;border:none;font-weight:500;cursor:pointer;transition:background-color .15s ease-in-out}.sign-out-button:hover{background-color:#dc2626}.grid{display:grid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gap-6{gap:1.5rem}.gap-4{gap:1rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.bg-white{background-color:#fff}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-gray-200{border-color:#e5e7eb}.p-6{padding:1.5rem}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.mb-6{margin-bottom:1.5rem}.mb-4{margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.font-medium{font-weight:500}.text-gray-900{color:#111827}.text-gray-700{color:#374151}.text-gray-600{color:#4b5563}.text-gray-500{color:#6b7280}.text-gray-400{color:#9ca3af}.text-blue-800{color:#1e40af}.text-blue-600{color:#2563eb}.text-white{color:#fff}.bg-blue-100{background-color:#dbeafe}.bg-blue-600{background-color:#2563eb}.bg-gray-200{background-color:#e5e7eb}.bg-gray-100{background-color:#f3f4f6}.hover\:bg-blue-700:hover{background-color:#1d4ed8}.hover\:bg-gray-300:hover{background-color:#d1d5db}.hover\:bg-gray-100:hover{background-color:#f3f4f6}.hover\:text-gray-800:hover{color:#1f2937}.hover\:text-gray-600:hover{color:#4b5563}.hover\:shadow-lg:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.rounded-full{border-radius:9999px}.flex{display:flex}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.w-full{width:100%}.w-5{width:1.25rem}.w-6{width:1.5rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-32{height:8rem}.min-h-screen{min-height:100vh}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.mx-auto{margin-left:auto;margin-right:auto}.space-y-6>*+*{margin-top:1.5rem}.space-y-3>*+*{margin-top:.75rem}.space-y-2>*+*{margin-top:.5rem}.prose{color:#374151;max-width:65ch}.prose p{margin-top:1.25em;margin-bottom:1.25em}.prose p:first-child{margin-top:0}.prose p:last-child{margin-bottom:0}.max-w-none{max-width:none}.whitespace-pre-wrap{white-space:pre-wrap}.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.animate-spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cursor-pointer{cursor:pointer}.object-cover{object-fit:cover}@media (min-width: 768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:col-span-2{grid-column:span 2 / span 2}}.student-assignments-container{background:transparent;padding:40px clamp(20px,4vw,48px) 64px;max-width:1280px;margin:0 auto}.student-assignments-container>.mb-6>h1.text-3xl{font-size:36px;font-weight:800;background:linear-gradient(135deg,#5b62f0,#8b5cf6 60%,#a855f7);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.02em;position:relative;display:inline-block}.student-assignments-container>.mb-6>h1.text-3xl:after{content:"";display:block;width:56px;height:4px;margin-top:8px;background:linear-gradient(135deg,#5b62f0,#a855f7);border-radius:9999px}.student-assignments-container>.mb-6>p.text-gray-600{font-size:16px;color:#5a6178;margin-top:12px}.student-assignments-container .grid>.bg-white{border:1px solid rgba(45,49,66,.08);border-radius:20px;padding:24px;box-shadow:0 2px 6px #2d31420a;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;position:relative;overflow:hidden}.student-assignments-container .grid>.bg-white:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#5b62f0,#8b5cf6,#a855f7);opacity:.85}.student-assignments-container .grid>.bg-white:hover{transform:translateY(-3px);box-shadow:0 12px 32px #5b62f024;border-color:#5b62f02e}.student-assignments-container .grid>.bg-white h3.text-lg{font-size:18px;font-weight:700;color:#1f2937;letter-spacing:-.01em;line-height:1.35;margin-bottom:12px}.student-assignments-container .grid>.bg-white .px-2.py-1{padding:5px 12px;border-radius:9999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;display:inline-flex;align-items:center;gap:4px}.student-assignments-container .bg-blue-100{background:#e0e7ff}.student-assignments-container .text-blue-800{color:#4338ca}.student-assignments-container .bg-green-100{background:#d1fae5}.student-assignments-container .text-green-800{color:#065f46}.student-assignments-container .bg-purple-100{background:#ede9fe}.student-assignments-container .text-purple-800{color:#5b21b6}.student-assignments-container .grid>.bg-white .text-sm.text-gray-600{font-size:13px;color:#5a6178;display:flex;align-items:center;gap:6px}.student-assignments-container .grid>.bg-white .text-sm.text-gray-600 .font-medium{color:#1f2937;font-weight:600}.student-assignments-container .grid>.bg-white .text-sm.text-gray-700.mb-4{font-size:14px;color:#4b5563;line-height:1.5;padding:12px 14px;background:#f9fafc;border-radius:12px;border-left:3px solid #5B62F0}.student-assignments-container .grid>.bg-white button.bg-blue-600{background:linear-gradient(135deg,#5b62f0,#8b5cf6);border:none;border-radius:12px;padding:12px 20px;font-size:15px;font-weight:700;letter-spacing:.01em;box-shadow:0 4px 14px #5b62f047;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;cursor:pointer}.student-assignments-container .grid>.bg-white button.bg-blue-600:hover{transform:translateY(-2px);box-shadow:0 8px 22px #5b62f05c;filter:brightness(1.05)}.student-assignments-container .grid>.bg-white button.bg-blue-600:active{transform:translateY(1px);box-shadow:0 3px 10px #5b62f047}.student-assignments-container>.text-center.py-12{background:#fff;border:1px dashed rgba(45,49,66,.18);border-radius:20px;padding:56px 32px;margin-top:24px}.student-assignments-container>.text-center.py-12 .text-gray-500.text-xl{font-size:22px;font-weight:700;color:#5a6178}.student-assignments-container>.text-center.py-12 .text-gray-400{font-size:15px;color:#8a8fa3}.assignment-submission-container{max-width:1200px;margin:0 auto;padding:2rem;background-color:#f8fafc;min-height:100vh}.assignment-header{background:#fff;border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 6px #0000001a}.header-actions{margin-bottom:1rem}.back-button{background:#6b7280;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.back-button:hover{background:#4b5563;transform:translateY(-1px)}.assignment-header h1{color:#1f2937;font-size:2.5rem;font-weight:700;margin:0 0 1rem}.assignment-meta{display:flex;gap:1rem;align-items:center}.assignment-type{background:#3b82f6;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600}.teacher-name{color:#6b7280;font-size:1rem}.submission-content{display:grid;grid-template-columns:1fr;gap:2rem}.left-panel,.right-panel{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.section-header h2{color:#1f2937;font-size:1.5rem;font-weight:600;margin:0}.section-actions{display:flex;gap:.5rem}.speak-button,.view-button{padding:.5rem 1rem;border:none;border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.speak-button{background:#10b981;color:#fff}.speak-button:hover:not(:disabled){background:#059669}.speak-button:disabled{background:#9ca3af;cursor:not-allowed}.view-button{background:#6b7280;color:#fff}.view-button:hover{background:#4b5563}.instructions-text,.question-text{color:#374151;font-size:1rem;line-height:1.6;margin:0}.question-navigation{display:flex;gap:1rem;margin-top:1.5rem;justify-content:center}.nav-button{padding:.75rem 1.5rem;border:2px solid #3b82f6;background:#fff;color:#3b82f6;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.nav-button:hover:not(:disabled){background:#3b82f6;color:#fff}.nav-button:disabled{border-color:#d1d5db;color:#9ca3af;cursor:not-allowed}.language-selector{margin-bottom:1.5rem}.language-selector label{display:block;margin-bottom:.5rem;font-weight:600;color:#374151}.language-selector select{width:100%;padding:.75rem;border:2px solid #d1d5db;border-radius:8px;font-size:1rem;background:#3f3030}.language-selector select:focus{outline:none;border-color:#3b82f6}.recording-controls{display:flex;gap:1rem;margin-bottom:1.5rem}.start-button,.stop-button{flex:1;padding:1rem 2rem;border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s}.start-button{background:#10b981;color:#fff}.start-button:hover:not(:disabled){background:#059669;transform:translateY(-2px)}.stop-button{background:#ef4444;color:#fff}.stop-button:hover:not(:disabled){background:#dc2626;transform:translateY(-2px)}.start-button:disabled,.stop-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:1rem;border-radius:8px;margin-bottom:1rem}.transcription-result{margin-top:1.5rem}.transcription-result h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin:0 0 1rem}.transcript-text{background:#f3f4f6;padding:1rem;border-radius:8px;color:#374151;font-size:1rem;line-height:1.6;margin:0 0 1rem}.audio-files{margin:1.5rem 0}.audio-files h4{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 1rem}.audio-controls{display:flex;flex-direction:column;gap:1rem}.audio-file{background:#f9fafb;padding:1rem;border-radius:8px;border:1px solid #e5e7eb}.audio-file h5{color:#374151;font-size:.875rem;font-weight:600;margin:0 0 .5rem}.audio-actions{display:flex;flex-direction:column;gap:.5rem}.audio-player{width:100%;height:40px}.download-link{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#3b82f6;color:#fff;text-decoration:none;border-radius:6px;font-size:.875rem;font-weight:500;transition:all .2s;align-self:flex-start}.download-link:hover{background:#2563eb;transform:translateY(-1px)}.word-timestamps h4{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 .5rem}.words-list{display:flex;flex-wrap:wrap;gap:.5rem}.word-item{background:#e5e7eb;padding:.25rem .5rem;border-radius:4px;font-size:.875rem}.word{font-weight:600;color:#1f2937}.timestamp{color:#6b7280;margin-left:.25rem}.confidence{color:#059669;margin-left:.25rem;font-weight:500}.submission-actions{margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.submit-button{width:100%;padding:1rem 2rem;background:#3b82f6;color:#fff;border:none;border-radius:12px;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .2s}.submit-button:hover:not(:disabled){background:#2563eb;transform:translateY(-2px)}.submit-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;max-width:600px;width:90%;max-height:80vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb}.modal-header h2{color:#1f2937;font-size:1.5rem;font-weight:600;margin:0}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6b7280;padding:.5rem}.close-button:hover{color:#374151}.modal-body{padding:2rem}.modal-body p{color:#374151;font-size:1rem;line-height:1.6;margin:0 0 1.5rem}.questions-list h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin:0 0 1rem}.question-item{color:#374151;font-size:1rem;line-height:1.6;margin-bottom:.75rem}.question-item strong{color:#1f2937}@media (max-width: 768px){.submission-content{grid-template-columns:1fr}.assignment-header h1{font-size:2rem}.assignment-meta{flex-direction:column;align-items:flex-start;gap:.5rem}.recording-controls,.question-navigation{flex-direction:column}}.submit-section{background:#fff;border-radius:12px;padding:2rem;margin:1rem 0;box-shadow:0 4px 6px #0000001a;text-align:center;border:2px solid #10b981}.submit-button{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #10b9814d}.submit-button:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 6px 16px #10b98166}.submit-button:active{transform:translateY(0)}.submit-note{margin-top:1rem;color:#6b7280;font-size:.9rem}.submission-confirmation{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-radius:12px;padding:2rem;margin:1rem 0;text-align:center;border:2px solid #10b981}.submission-confirmation h3{color:#065f46;margin-bottom:1rem;font-size:1.5rem}.submission-confirmation p{color:#047857;margin-bottom:1.5rem;font-size:1.1rem}.back-button{background:#374151;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .3s ease}.back-button:hover{background:#1f2937;transform:translateY(-1px)}.group-discussion-section{background:#fff;border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 6px #0000001a}.start-discussion-button,.stop-discussion-button{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.start-discussion-button:hover{background:#059669;transform:translateY(-1px)}.start-discussion-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.loading-indicator{color:#6b7280;font-size:.875rem;font-style:italic;padding:.75rem 1.5rem}.stop-discussion-button{background:#ef4444}.stop-discussion-button:hover{background:#dc2626;transform:translateY(-1px)}.bots-list{margin:2rem 0}.bots-list h3{color:#1f2937;font-size:1.25rem;margin-bottom:1rem}.bots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.bot-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;padding:1rem;display:flex;align-items:center;gap:1rem;transition:all .2s}.bot-card.speaking{border-color:#10b981;background:#ecfdf5;box-shadow:0 0 0 3px #10b9811a}.bot-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.bot-info{flex:1;min-width:0}.bot-info h4{margin:0 0 .25rem;color:#1f2937;font-size:1rem;font-weight:600}.bot-nickname{margin:0;color:#6b7280;font-size:.875rem}.speaking-indicator{margin-top:.5rem;color:#10b981;font-size:.875rem;font-weight:600;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.conversation-messages{margin-top:2rem}.conversation-messages h3{color:#1f2937;font-size:1.25rem;margin-bottom:1rem}.messages-container{max-height:500px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;background:#f9fafb}.message{margin-bottom:1.5rem;padding:1rem;border-radius:8px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.user-message{background:#dbeafe;border-left:4px solid #3b82f6;margin-left:2rem}.bot-message{background:#f3f4f6;border-left:4px solid #6b7280;margin-right:2rem}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.message-header strong{color:#1f2937;font-size:.875rem}.message-time{color:#6b7280;font-size:.75rem}.message-text{color:#374151;line-height:1.6;margin-bottom:.5rem}.bot-audio-player{width:100%;margin-top:.5rem;height:32px}.gd-recording-section{background:#f0f9ff;border:2px solid #0ea5e9;border-radius:12px;padding:1.5rem;margin:2rem 0}.gd-recording-section h3{color:#0c4a6e;margin:0 0 1rem;font-size:1.25rem}.gd-recording-controls{display:flex;gap:1rem;margin-bottom:1rem}.gd-record-button,.gd-stop-button{flex:1;padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.gd-record-button{background:#10b981;color:#fff}.gd-record-button:hover:not(:disabled){background:#059669;transform:translateY(-1px)}.gd-record-button:disabled{background:#9ca3af;cursor:not-allowed;opacity:.6}.gd-stop-button{background:#ef4444;color:#fff}.gd-stop-button:hover:not(:disabled){background:#dc2626;transform:translateY(-1px)}.gd-stop-button:disabled{background:#9ca3af;cursor:not-allowed;opacity:.6}.recording-status{text-align:center;color:#6b7280;font-size:.875rem;margin:.5rem 0;padding:.5rem;background:#f9fafb;border-radius:6px}.recording-status.recording{color:#ef4444;font-weight:600;animation:pulse 2s infinite}.gd-transcript{margin-top:1rem;padding:1rem;background:#fff;border-radius:8px;border-left:4px solid #10b981}.gd-transcript p{margin:0;color:#1f2937;line-height:1.6}.assignment-submission-container{background:transparent;padding:32px clamp(16px,3vw,48px);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}.assignment-header{background:#fff;border-radius:18px;padding:24px 28px;margin-bottom:24px;box-shadow:0 6px 18px #2d31420f;border:1px solid rgba(45,49,66,.06);position:relative;overflow:hidden}.assignment-header:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#5b62f0,#8b5cf6,#a855f7)}.assignment-header h1{font-size:28px;font-weight:800;color:#1f2937;letter-spacing:-.02em;margin:8px 0 12px}.assignment-header .back-button{background:#5b62f01a;color:#5b62f0;font-size:14px;padding:8px 16px;border-radius:9999px;font-weight:600;border:1px solid rgba(91,98,240,.2)}.assignment-header .back-button:hover{background:#5b62f02e;color:#4338ca;transform:translateY(-1px)}.assignment-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.assignment-meta .assignment-type,.assignment-meta .multiplayer-mode,.assignment-meta .learn-mode-type{background:#e0e7ff;color:#4338ca;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:5px 12px;border-radius:9999px}.assignment-meta .multiplayer-mode{background:#ede9fe;color:#5b21b6}.assignment-meta .learn-mode-type{background:#d1fae5;color:#065f46}.assignment-meta .teacher-name{font-size:13px;color:#5a6178;font-weight:500}.left-panel,.right-panel{background:#fff;border-radius:18px;padding:24px;box-shadow:0 4px 14px #2d31420f;border:1px solid rgba(45,49,66,.06)}.section-header h2{font-size:18px;font-weight:700;color:#1f2937;letter-spacing:-.01em}.speak-button{background:linear-gradient(135deg,#10b981,#059669);font-weight:600;border-radius:9999px;padding:7px 14px;font-size:13px}.speak-button:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px)}.view-button{background:#5b62f01a;color:#5b62f0;border:1px solid rgba(91,98,240,.2);font-weight:600;border-radius:9999px;padding:7px 14px;font-size:13px}.view-button:hover{background:#5b62f02e;transform:translateY(-1px)}.instructions-text{font-size:15px;line-height:1.65;color:#374151;background:linear-gradient(180deg,#fafbff,#f4f6fb);padding:18px 20px;border-radius:14px;border-left:3px solid #5B62F0;margin-top:12px;white-space:pre-wrap;text-align:left}.assignment-submission-container.is-gd-mode{position:fixed;top:76px;left:0;right:0;bottom:0;display:flex;flex-direction:column;padding:16px clamp(12px,2vw,24px);gap:12px;min-height:0;max-width:none;margin:0;overflow:hidden;background:radial-gradient(circle at 0% 0%,rgba(118,75,162,.06),transparent 35%),radial-gradient(circle at 100% 100%,rgba(102,126,234,.06),transparent 40%),#f4f6fb}.assignment-submission-container.is-gd-mode .assignment-header{margin-bottom:0;padding:12px 20px;flex-shrink:0}.assignment-submission-container.is-gd-mode .assignment-header h1{font-size:20px;margin:0 12px 0 0;display:inline-block}.assignment-submission-container.is-gd-mode .assignment-header .header-actions{display:inline-block;margin:0 12px 0 0;vertical-align:middle}.assignment-submission-container.is-gd-mode .assignment-header h1,.assignment-submission-container.is-gd-mode .assignment-meta{display:inline-flex;vertical-align:middle}.assignment-submission-container.is-gd-mode .assignment-meta{margin-left:12px}.assignment-submission-container.is-gd-mode .submission-content{flex:1;min-height:0;display:flex;flex-direction:column}.assignment-submission-container.is-gd-mode .left-panel{flex:1;min-height:0;padding:16px;display:grid;grid-template-columns:7fr 3fr;grid-template-rows:auto 1fr;grid-template-areas:"gd submit" "gd instructions";gap:16px}.assignment-submission-container.is-gd-mode .group-discussion-section{grid-area:gd;min-height:0;min-width:0;display:flex;flex-direction:column;padding:0;margin:0;background:transparent;box-shadow:none}.assignment-submission-container.is-gd-mode .group-discussion-section>.gdc-root,.assignment-submission-container.is-gd-mode .group-discussion-section>div:first-child{flex:1;min-height:0}.assignment-submission-container.is-gd-mode .instructions-section{grid-area:instructions;background:#fff;border:1px solid rgba(45,49,66,.08);border-radius:16px;padding:16px 18px;margin-top:0;box-shadow:0 4px 14px #2d31420f;min-height:0;display:flex;flex-direction:column;overflow:hidden}.assignment-submission-container.is-gd-mode .instructions-section .section-header{margin-bottom:8px;flex-shrink:0}.assignment-submission-container.is-gd-mode .instructions-section .section-header h2{font-size:15px;letter-spacing:.01em}.assignment-submission-container.is-gd-mode .instructions-section .instructions-text{margin:0;flex:1;min-height:0;overflow-y:auto;font-size:14px;line-height:1.55;padding:12px 14px;border-radius:12px}.assignment-submission-container.is-gd-mode .learn-mode-section,.assignment-submission-container.is-gd-mode .questions-section,.assignment-submission-container.is-gd-mode .questions-list{display:none}.assignment-submission-container.is-gd-mode .gdc-root{border-radius:16px;height:100%}@media (max-width: 768px){.assignment-submission-container.is-gd-mode{height:auto;overflow:visible}.assignment-submission-container.is-gd-mode .group-discussion-section{min-height:60vh}}.assignment-submission-container.is-gd-mode .instructions-section .speak-button{display:none}.assignment-submission-container.is-gd-mode .gd-submit-container{grid-area:submit;min-width:0;margin-top:0!important;display:flex;align-items:stretch}.assignment-submission-container.is-gd-mode .gd-submit-container>.submit-section,.assignment-submission-container.is-gd-mode .gd-submit-container>.submission-confirmation{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:#fff;border:1px solid rgba(45,49,66,.08);border-radius:16px;padding:16px 18px;box-shadow:0 4px 14px #2d31420f;position:relative;overflow:hidden}.assignment-submission-container.is-gd-mode .gd-submit-container>.submit-section:before,.assignment-submission-container.is-gd-mode .gd-submit-container>.submission-confirmation:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#10b981,#14b8a6,#06b6d4)}.assignment-submission-container.is-gd-mode .gd-submit-container .submit-button{align-self:center;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;font-size:16px;font-weight:700;padding:14px 28px;border-radius:12px;cursor:pointer;width:auto!important;min-width:320px;box-shadow:0 6px 18px #10b98147;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.assignment-submission-container.is-gd-mode .gd-submit-container .submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 26px #10b98157;filter:brightness(1.05)}.assignment-submission-container.is-gd-mode .gd-submit-container .submit-button:disabled{background:#e5e7eb;color:#9ca3af;box-shadow:none;cursor:not-allowed}.assignment-submission-container.is-gd-mode .gd-submit-container .submit-note{text-align:center;font-size:14px;color:#5a6178;margin:0}.gdc-root{display:flex;flex-direction:column;background:#0f172a;border-radius:16px;overflow:hidden;font-family:system-ui,sans-serif;color:#e2e8f0;min-height:520px;border:1px solid #1e293b}.gdc-idle{display:flex;justify-content:center;align-items:center;padding:48px}.gdc-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:14px 20px;background:#1e293b;border-bottom:1px solid #334155}.gdc-header-left{display:flex;align-items:center;gap:10px;justify-self:start}.gdc-header-center{display:flex;align-items:center;justify-content:center;justify-self:center}.gdc-header-right{display:flex;align-items:center;gap:10px;justify-self:end}.gdc-timer{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:16px;font-weight:700;color:#f1f5f9;background:#0f172a;border:1px solid #334155;border-radius:8px;padding:6px 14px;letter-spacing:.5px;min-width:96px;text-align:center}.gdc-timer--warn{color:#fca5a5;border-color:#991b1b;background:#450a0a;animation:pulse-red 1s infinite}.gdc-live-badge{background:#ef4444;color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;letter-spacing:.5px;animation:pulse-red 2s infinite}@keyframes pulse-red{0%,to{opacity:1}50%{opacity:.6}}.gdc-title{font-size:15px;font-weight:600;color:#f1f5f9}.gdc-vad-status{font-size:12px;color:#94a3b8}.gdc-vad-error{font-size:12px;color:#f87171}.gdc-end-btn{background:#7f1d1d;color:#fca5a5;border:1px solid #991b1b;border-radius:8px;padding:6px 14px;font-size:13px;cursor:pointer;transition:background .15s}.gdc-end-btn:hover{background:#991b1b}.gdc-settings-btn{background:#334155;color:#e2e8f0;border:1px solid #475569;border-radius:8px;padding:6px 10px;font-size:14px;cursor:pointer;transition:background .15s}.gdc-settings-btn:hover{background:#475569}.gdc-mute-btn{background:#334155;color:#e2e8f0;border:1px solid #475569;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s,color .15s;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;min-width:80px}.gdc-mute-btn:hover{background:#475569}.gdc-mute-btn--on{background:#7f1d1d;color:#fca5a5;border-color:#991b1b;animation:pulse-red 1.5s infinite}.gdc-mute-btn--on:hover{background:#991b1b}.gdc-settings-panel{position:absolute;top:60px;left:12px;right:12px;max-height:calc(100% - 80px);z-index:30;background:#0a1628;border:1px solid #334155;border-radius:14px;box-shadow:0 18px 48px #0000008c;padding:14px 20px;font-size:12px;color:#cbd5e1;overflow-y:auto;pointer-events:auto}.gdc-popover-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#02081473;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:25;cursor:pointer}.gdc-settings-header{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:13px;color:#f1f5f9;margin:-14px -20px 10px;padding:12px 20px;position:sticky;top:-14px;background:#0a1628;z-index:1;border-bottom:1px solid rgba(51,65,85,.5)}.gdc-root{position:relative}.gdc-settings-close{background:transparent;border:1px solid #475569;color:#cbd5e1;border-radius:6px;padding:2px 8px;cursor:pointer}.gdc-settings-close:hover{background:#1e293b}.gdc-settings-provider{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 10px;margin-bottom:12px;background:#1e293b;border:1px solid #334155;border-radius:8px;font-size:12px}.gdc-settings-provider-label{font-weight:600;color:#f1f5f9}.gdc-settings-provider label{display:inline-flex;align-items:center;gap:6px;color:#cbd5e1;cursor:pointer}.gdc-settings-provider input[type=radio]{accent-color:#3b82f6;cursor:pointer}.gdc-settings-meter{margin-bottom:14px}.gdc-meter-bar{position:relative;height:14px;background:#1e293b;border-radius:7px;overflow:hidden;margin-bottom:6px}.gdc-meter-fill{height:100%;background:#475569;transition:width .06s linear}.gdc-meter-fill--active{background:linear-gradient(90deg,#4ade80,#22c55e)}.gdc-meter-thresh{position:absolute;top:0;bottom:0;width:2px;background:#fbbf24;box-shadow:0 0 4px #fbbf24}.gdc-meter-labels{display:flex;justify-content:space-between;font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;color:#94a3b8}.gdc-meter-labels strong{color:#f1f5f9;font-weight:600}.gdc-meter-trig{color:#4ade80!important;font-weight:600}.gdc-settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 20px}.gdc-settings-row{display:flex;flex-direction:column;gap:4px;cursor:pointer}.gdc-settings-row--check{flex-direction:row;align-items:center;gap:8px;grid-column:1 / -1;font-size:12px;color:#94a3b8}.gdc-settings-label{display:flex;justify-content:space-between;font-size:11px;color:#94a3b8}.gdc-settings-value{font-family:ui-monospace,SFMono-Regular,monospace;color:#f1f5f9;font-weight:600}.gdc-settings-row input[type=range]{width:100%;accent-color:#3b82f6}.gdc-settings-actions{display:flex;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #1e293b}.gdc-settings-actions button{background:#1e293b;color:#cbd5e1;border:1px solid #334155;border-radius:6px;padding:6px 12px;font-size:12px;cursor:pointer;transition:background .15s}.gdc-settings-actions button:hover{background:#334155}.gdc-status-bar{text-align:center;padding:8px 16px;font-size:13px;color:#94a3b8;background:#0f172a;border-bottom:1px solid #1e293b;min-height:34px}.gdc-error{background:#450a0a;color:#fca5a5;padding:8px 16px;font-size:13px;text-align:center}.gdc-cards{display:flex;gap:12px;padding:20px;overflow-x:auto;background:#0f172a}.gdc-card{flex:1;min-width:120px;max-width:180px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;border-radius:12px;background:#1e293b;border:2px solid #334155;transition:border-color .2s,background .2s}.gdc-card--speaking{border-color:#22c55e;background:#052e16}.gdc-card--thinking{border-color:#eab308;background:#1c1707}.gdc-card--listening{border-color:#3b82f6;background:#0c1a3a}.gdc-card--user.gdc-card--speaking{border-color:#22c55e}.gdc-avatar{font-size:36px;line-height:1;border-radius:50%;padding:8px;transition:box-shadow .2s}.gdc-avatar--speaking{box-shadow:0 0 0 3px #22c55e,0 0 0 6px #22c55e40;animation:pulse-green 1.2s infinite}.gdc-avatar--thinking{box-shadow:0 0 0 3px #eab308,0 0 0 6px #eab30833}.gdc-avatar--listening{box-shadow:0 0 0 3px #3b82f6,0 0 0 6px #3b82f633}@keyframes pulse-green{0%,to{box-shadow:0 0 0 3px #22c55e,0 0 0 6px #22c55e40}50%{box-shadow:0 0 0 5px #22c55e,0 0 0 10px #22c55e1a}}.gdc-card-name{font-size:13px;font-weight:600;color:#f1f5f9;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.gdc-badge{font-size:11px;padding:3px 8px;border-radius:999px;font-weight:500;white-space:nowrap}.gdc-badge--speaking{background:#22c55e26;color:#4ade80}.gdc-badge--thinking{background:#eab30826;color:#fbbf24}.gdc-badge--listening{background:#3b82f626;color:#60a5fa}.gdc-badge--idle{background:#64748b26;color:#94a3b8}.gdc-level-bar{width:100%;height:4px;background:#334155;border-radius:2px;overflow:hidden}.gdc-level-fill{height:100%;width:0%;background:#475569;border-radius:2px;transition:width .1s}.gdc-level-fill--active{width:100%;background:#22c55e;animation:level-pulse .8s infinite alternate}@keyframes level-pulse{0%{width:40%}to{width:100%}}.gdc-transcript{flex:1;overflow:hidden;border-top:1px solid #1e293b;background:#0a1628}.gdc-transcript-inner{height:220px;overflow-y:auto;padding:12px 16px;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin;scrollbar-color:#334155 transparent}.gdc-msg{display:flex;gap:8px;align-items:baseline;font-size:13px;line-height:1.5}.gdc-msg--bot .gdc-msg-speaker{color:#60a5fa}.gdc-msg--user .gdc-msg-speaker{color:#4ade80}.gdc-msg-speaker{font-weight:600;white-space:nowrap;flex-shrink:0}.gdc-msg-speaker:after{content:":"}.gdc-msg-text{color:#cbd5e1}.gdc-msg--live .gdc-msg-text{color:#86efac;font-style:italic}.gdc-start-btn{background:#1d4ed8;color:#fff;border:none;border-radius:12px;padding:14px 32px;font-size:16px;font-weight:600;cursor:pointer;transition:background .15s}.gdc-start-btn:hover{background:#2563eb}.is-gd-mode .gdc-root{min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.is-gd-mode .gdc-header,.is-gd-mode .gdc-status-bar,.is-gd-mode .gdc-error{flex-shrink:0}.is-gd-mode .gdc-cards{flex-shrink:0;padding:18px 20px;gap:16px}.is-gd-mode .gdc-card{min-width:173px;max-width:250px;padding:20px 18px;gap:12px}.is-gd-mode .gdc-avatar{font-size:48px}.is-gd-mode .gdc-transcript{flex:1 1 0;min-height:120px;display:flex;flex-direction:column}.is-gd-mode .gdc-transcript-inner{flex:1;height:auto;max-height:none;min-height:0;overflow-y:auto;padding:14px 20px}#root{width:100%;margin:0 auto;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}.App{text-align:center;min-height:100vh;background:radial-gradient(circle at 0% 0%,rgba(118,75,162,.08),transparent 35%),radial-gradient(circle at 100% 100%,rgba(102,126,234,.08),transparent 40%),#f4f6fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.App-header{background-color:#282c34;padding:20px;color:#fff;margin-bottom:30px}.App-header h1{margin:0;font-size:2rem}.student-portal .App-header{background:linear-gradient(135deg,#5b62f0,#8b5cf6,#a855f7);margin-bottom:0;padding:14px 32px;box-shadow:0 4px 24px #5b62f040;position:sticky;top:0;z-index:50}.student-portal .App-header .header-content{display:flex;align-items:center;justify-content:space-between;max-width:none;margin:0;gap:24px}.student-portal .App-header h1{display:none}.App-logo{display:inline-flex;align-items:center;gap:10px;background:#ffffff1f;border:1px solid rgba(255,255,255,.22);color:#fff;padding:8px 18px;border-radius:9999px;cursor:pointer;font-weight:700;font-size:20px;letter-spacing:-.01em;transition:background .15s ease,transform .15s ease;font-family:inherit}.App-logo:hover{background:#ffffff2e;transform:translateY(-1px)}.App-logo-mark{font-size:22px}.App-logo-text{letter-spacing:-.01em}.student-portal main{padding:2rem 0}.student-portal .user-info{display:flex;align-items:center;gap:16px}.welcome-pill{display:none;color:#ffffffeb;font-weight:500;font-size:14px;padding:6px 14px;background:#ffffff1a;border-radius:9999px}@media (min-width: 1100px){.welcome-pill{display:inline-block}}.header-buttons{display:flex;gap:6px;align-items:center}.nav-button{padding:9px 18px;background:#ffffff1a;border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:9999px;cursor:pointer;font-size:14px;font-weight:600;font-family:inherit;transition:background .15s ease,transform .15s ease,border-color .15s ease}.nav-button:hover{background:#fff3;border-color:#ffffff59;transform:translateY(-1px)}.nav-button.active{background:#fff;color:#5b62f0;border-color:#fff;box-shadow:0 4px 14px #00000026}.nav-button-learn{background:linear-gradient(135deg,#ffb400,#ff7e5f);border-color:transparent;color:#fff;box-shadow:0 3px 10px #ff7e5f59}.nav-button-learn:hover{background:linear-gradient(135deg,#ffc93c,#ff8e6f);border-color:transparent}.sign-out-button{padding:9px 18px;background:#ff5a5ad9;border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:9999px;cursor:pointer;font-size:14px;font-weight:600;font-family:inherit;transition:background .15s ease,transform .15s ease}.sign-out-button:hover{background:#ff4646;transform:translateY(-1px)}.components-container{margin:0 auto;padding:0 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px}.component-section{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:20px}.component-section h2{color:#333;margin-top:0;margin-bottom:20px;font-size:1.5rem}@media (max-width: 768px){.components-container{grid-template-columns:1fr}.component-section{margin-bottom:20px}}
