body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0;-webkit-user-select:none;user-select:none}.selectable,[contenteditable],input,textarea{-webkit-user-select:auto;user-select:auto}.clickable,a,button,input[type=button],input[type=submit]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}*{box-sizing:border-box}body,html{overflow-x:hidden;width:100%}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app{background-color:#f5f7fa;color:#333;display:flex;flex-direction:column;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh}.main-content{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:1200px;padding:20px;width:100%}.app-loading{align-items:center;background-color:#f5f7fa;color:#4a90e2;display:flex;font-size:20px;height:100vh;justify-content:center}.app-footer{background-color:#2c3e50;color:#ecf0f1;margin-top:40px;padding:20px 0;width:100%}.footer-content{align-items:center;display:flex;flex-direction:column;margin:0 auto;max-width:1200px;padding:0 20px;text-align:center}.footer-content p{margin-bottom:15px}.footer-links{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}.footer-links a{color:#ecf0f1;text-decoration:none;transition:color .3s}.footer-links a:hover{color:#3498db;text-decoration:underline}@media (min-width:768px){.footer-content{flex-direction:row;justify-content:space-between;text-align:left}.footer-content p{margin-bottom:0}}.text-input-container{margin:20px 0;width:100%}.text-answer-input{border:2px solid #ddd;border-radius:5px;font-size:18px;padding:15px;transition:all .3s;width:100%}.text-answer-input:focus{border-color:#4a90e2;box-shadow:0 0 5px #4a90e280;outline:none}.text-answer-input.correct{background-color:#4caf501a;border-color:#4caf50}.text-answer-input.incorrect{background-color:#f443361a;border-color:#f44336}.quiz-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;margin:0 auto;max-width:800px;padding:20px}.quiz-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:10px}.quiz-timer{color:#666;font-size:16px;font-weight:700}.quiz-question h3{font-size:22px;line-height:1.4;margin-bottom:20px}.quiz-options{margin-bottom:30px}.quiz-option{align-items:center;background-color:#f8f9fa;border:2px solid #e9ecef;border-radius:5px;cursor:pointer;display:flex;margin-bottom:10px;padding:15px;transition:all .2s}.quiz-option:hover{background-color:#e9ecef}.quiz-option.selected{background-color:#d1e7ff;border-color:#4a90e2}.quiz-option.correct{background-color:#4caf5033;border-color:#4caf50}.quiz-option.incorrect{background-color:#f4433633;border-color:#f44336}.option-letter{background-color:#e9ecef;margin-right:15px}.quiz-option.selected .option-letter{background-color:#4a90e2;color:#fff}.quiz-option.correct .option-letter{background-color:#4caf50;color:#fff}.quiz-option.incorrect .option-letter{background-color:#f44336;color:#fff}.quiz-actions{justify-content:space-between;margin-top:20px}.quiz-actions button{border:none;border-radius:5px;cursor:pointer;font-size:16px;padding:12px 24px;transition:all .3s}.hint-button{background-color:#f8f9fa;border:1px solid #6c757d!important;color:#6c757d}.hint-button:hover:not(:disabled){background-color:#e9ecef}.hint-button:disabled{cursor:not-allowed;opacity:.5}.next-button,.submit-button{background-color:#4a90e2;color:#fff}.next-button:hover,.submit-button:hover{background-color:#3a7bc8}.submit-button:disabled{opacity:.5}.quiz-hint{background-color:#fff9e6;border-left:4px solid #fc0;border-radius:4px;margin-top:20px;padding:15px}.quiz-hint h4{color:#946800;margin-top:0}.quiz-feedback{border-radius:4px;margin-top:20px;padding:15px}.quiz-feedback.correct{background-color:#4caf501a;border-left:4px solid #4caf50}.quiz-feedback.incorrect{background-color:#f443361a;border-left:4px solid #f44336}.mastery-update{margin-top:15px}.mastery-bar{margin-top:5px}.mastery-fill{background-color:#4a90e2;transition:width .5s}.student-dashboard{max-width:1000px}.dashboard-header{margin-bottom:30px}.progress-button{background-color:#4a90e2;border-radius:5px;display:inline-block;font-weight:700;margin-top:10px;padding:10px 20px;text-decoration:none}.recommendation-section{background-color:#f8f9fa;border-radius:8px;box-shadow:0 2px 5px #0000000d;margin-bottom:30px;padding:20px}.knowledge-component-info{background-color:#fff;border-radius:5px;box-shadow:0 1px 3px #0000001a;margin-bottom:20px;padding:15px}.content-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.content-card{background-color:#fff;border-radius:5px;box-shadow:0 1px 3px #0000001a;padding:15px}.content-card h4{font-size:16px;margin-bottom:10px;margin-top:0}.content-card p{color:#666;margin-bottom:15px}.content-card .button{background-color:#4a90e2;border-radius:5px;color:#fff;display:inline-block;padding:8px 15px;text-align:center;text-decoration:none;width:100%}.learning-path-section{margin-top:30px}.learning-path{margin-top:20px}.learning-path-item{align-items:center;background-color:#f8f9fa;border-radius:5px;box-shadow:0 1px 3px #0000001a;display:flex;margin-bottom:15px;padding:15px}.learning-path-item.completed{border-left:4px solid #4caf50}.learning-path-item.in-progress{border-left:4px solid #4a90e2}.learning-path-item.not-started{border-left:4px solid #9e9e9e}.path-number{align-items:center;background-color:#e9ecef;border-radius:50%;display:flex;font-weight:700;height:40px;justify-content:center;margin-right:15px;width:40px}.path-content{flex:1 1}.path-content h4{margin-bottom:5px;margin-top:0}.curriculum-code{background-color:#e9ecef;border-radius:4px;color:#666;font-size:12px;padding:4px 8px}.adaptive-recommendations{background-color:#f0f7ff;border-radius:5px;margin-top:20px;padding:15px}.recommendations-list{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr 1fr;margin-top:10px}.recommendation-item{background-color:#fff;border-radius:5px;box-shadow:0 1px 3px #0000001a;padding:10px}.recommendation-item h4{color:#4a90e2;font-size:14px;margin-top:0}@media (max-width:768px){.content-cards,.recommendations-list{grid-template-columns:1fr}}.student-dashboard-container{animation:gradientShift 15s ease infinite;background:linear-gradient(135deg,#fafbff,#f7f8fc 20%,#fef7ff 40%,#fff5f8 60%,#f0f9ff 80%,#f0fffe);background-size:400% 400%;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;overflow-x:hidden;padding:24px;position:relative}.student-dashboard-container:before{animation:float 8s ease-in-out infinite;content:"⭐";font-size:2.5rem;right:18%;top:12%}.student-dashboard-container:after,.student-dashboard-container:before{filter:drop-shadow(0 4px 8px rgba(0,0,0,.1));opacity:.15;position:absolute}.student-dashboard-container:after{animation:float 10s ease-in-out infinite reverse;bottom:15%;content:"🌟";font-size:2rem;left:12%}.student-dashboard{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffff2;border:1px solid #fff3;border-radius:24px;box-shadow:0 20px 60px #0000001a;margin:0 auto;max-width:1200px;padding:32px;position:relative}.student-dashboard:before{animation:gentle-bounce 2s ease-in-out infinite;background:url(/static/media/newlogo.c357cadc03e163518fcc.png) 50%/contain no-repeat;background-color:#fffffff2;border-radius:50%;box-shadow:0 8px 24px #00000026;content:"";height:60px;left:-12px;padding:8px;position:absolute;top:-12px;width:60px;z-index:10}@keyframes mascotPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.view-controls{align-items:center;gap:24px;justify-content:space-between;margin-bottom:24px;padding:16px 0}.color-theme-selector{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffe6;border:1px solid #0000001a;border-radius:20px;box-shadow:0 4px 16px #0000001a;display:flex;gap:12px;padding:12px 16px}.theme-label{color:#2d3748;font-size:.9rem;font-weight:600;margin-right:8px}.theme-buttons{display:flex;gap:8px}.theme-btn{border:2px solid #0000;border-radius:50%;box-shadow:0 2px 8px #0000001a;cursor:pointer;height:28px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:28px}.theme-btn:hover{box-shadow:0 4px 16px #0003;transform:scale(1.2)}.theme-btn.active{border-color:#2d3748;box-shadow:0 0 0 3px #2d37484d;transform:scale(1.15)}.theme-btn.active:after{color:#fff;content:"✓";font-size:14px;font-weight:700;left:50%;position:absolute;text-shadow:0 2px 4px #0009;top:50%;transform:translate(-50%,-50%)}.accessibility-toggle{background:linear-gradient(135deg,#fff3cd,#fef3c7);border:1px solid #f59e0b;border-radius:20px;box-shadow:0 4px 12px #f59e0b33;padding:12px}.toggle-btn{align-items:center;background:#fff;border:2px solid #f59e0b;border-radius:16px;color:#92400e;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:8px;padding:12px 20px;transition:all .3s cubic-bezier(.4,0,.2,1)}.toggle-btn.active{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b4d;color:#fff;transform:scale(1.05)}.toggle-btn:hover{box-shadow:0 6px 20px #f59e0b4d;transform:translateY(-2px)}.dashboard-header{background:linear-gradient(135deg,#f8f9ff,#f5f7ff);border:1px solid #c8c8c84d;border-radius:24px;box-shadow:0 12px 32px #00000014;color:#1a202c;margin-bottom:32px;overflow:hidden;padding:40px}.dashboard-header:before{animation:shimmer 3s ease-in-out infinite;background:linear-gradient(45deg,#0000,#ffffff1a,#0000);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}.dashboard-header.orange-theme{background:linear-gradient(135deg,#fff9f5,#fef3e2);border:1px solid #f9731633;box-shadow:0 12px 32px #f973161a}.dashboard-header.blue-theme{background:linear-gradient(135deg,#f0f7ff,#e6f3ff);border:1px solid #3b82f633;box-shadow:0 12px 32px #3b82f61a}.dashboard-header.green-theme{background:linear-gradient(135deg,#f0fdf8,#e6fdf4);border:1px solid #05966933;box-shadow:0 12px 32px #0596691a}.dashboard-header.peach-theme{background:linear-gradient(135deg,#fef7f7,#fef1f2);border:1px solid #fb718533;box-shadow:0 12px 32px #fb71851a}.dashboard-header.purple-theme{background:linear-gradient(135deg,#faf5ff,#f5f1ff);border:1px solid #8b5cf633;box-shadow:0 12px 32px #8b5cf61a}.dashboard-header.teal-theme{background:linear-gradient(135deg,#f0fdff,#e6fffe);border:1px solid #06b6d433;box-shadow:0 12px 32px #06b6d41a}.messages-icon{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #3b82f64d;border-radius:20px;box-shadow:0 4px 16px #0000001a;color:#2d3748;cursor:pointer;display:flex;flex-direction:column;font-size:.85rem;min-width:80px;padding:12px 16px;position:absolute;right:20px;top:20px;transition:all .3s cubic-bezier(.4,0,.2,1);z-index:5}.messages-icon:hover{background:#fff;border-color:#3b82f6;box-shadow:0 8px 24px #3b82f64d;transform:translateY(-4px) scale(1.05)}.icon-emoji{font-size:1.6rem;margin-bottom:4px}.icon-label{color:#2d3748;font-size:.75rem;font-weight:600}.notification-badge{align-items:center;animation:pulse 2s infinite;background:linear-gradient(135deg,#ef4444,#dc2626);border:2px solid #fff;border-radius:50%;box-shadow:0 2px 8px #ef444466;color:#fff;display:flex;font-size:11px;font-weight:700;height:24px;justify-content:center;position:absolute;right:-6px;top:-6px;width:24px}.dashboard-header h1{color:#1a202c;font-size:2.8rem;font-weight:800;letter-spacing:-.5px}.dashboard-header .subtitle,.dashboard-header h1{margin-bottom:16px;position:relative;text-shadow:none;z-index:1}.dashboard-header .subtitle{color:#2d3748;font-size:1.3rem;font-weight:600}.encouragement-text{color:#2d3748;font-style:italic;font-weight:500;margin-bottom:24px;text-shadow:none}.encouragement-text,.progress-button{font-size:1.2rem;position:relative;z-index:1}.progress-button{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:2px solid #ffffff4d;border-radius:24px;box-shadow:0 8px 24px #10b98166;color:#fff;cursor:pointer;display:flex;font-weight:800;gap:12px;margin:0 auto;overflow:hidden;padding:16px 32px;text-transform:none;transition:all .3s cubic-bezier(.4,0,.2,1)}.progress-button:before{background:linear-gradient(90deg,#0000,#ffffff4d,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.progress-button:hover:before{left:100%}.progress-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 12px 32px #10b98180;transform:translateY(-4px) scale(1.05)}.orange-theme .progress-button{background:linear-gradient(135deg,#ff9f43,#f39c12);box-shadow:0 8px 24px #ff9f4366}.orange-theme .progress-button:hover{background:linear-gradient(135deg,#f39c12,#e67e22);box-shadow:0 12px 32px #ff9f4380}.blue-theme .progress-button{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 8px 24px #3b82f666}.blue-theme .progress-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 12px 32px #3b82f680}.green-theme .progress-button{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 8px 24px #10b98166}.green-theme .progress-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 12px 32px #10b98180}.peach-theme .progress-button{background:linear-gradient(135deg,#fb7185,#f43f5e);box-shadow:0 8px 24px #fb718566}.peach-theme .progress-button:hover{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 12px 32px #fb718580}.purple-theme .progress-button{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 8px 24px #8b5cf666}.purple-theme .progress-button:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 12px 32px #8b5cf680}.teal-theme .progress-button{background:linear-gradient(135deg,#06b6d4,#0891b2);box-shadow:0 8px 24px #06b6d466}.teal-theme .progress-button:hover{background:linear-gradient(135deg,#0891b2,#0e7490);box-shadow:0 12px 32px #06b6d480}.button-icon{font-size:1.4rem}.button-text{font-weight:700}.learning-path-focus{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffffe6;border:1px solid #10b98133;border-radius:24px;box-shadow:0 12px 32px #10b98126;margin:32px 0;overflow:hidden;padding:40px;position:relative;text-align:center}.learning-path-focus:before{background:linear-gradient(135deg,#10b981,#059669);content:"";height:4px;left:0;position:absolute;right:0;top:0}.orange-theme .learning-path-focus{border:1px solid #ff9f4333;box-shadow:0 12px 32px #ff9f4326}.orange-theme .learning-path-focus:before{background:linear-gradient(135deg,#ff9f43,#f39c12)}.blue-theme .learning-path-focus{border:1px solid #3b82f633;box-shadow:0 12px 32px #3b82f626}.blue-theme .learning-path-focus:before{background:linear-gradient(135deg,#3b82f6,#2563eb)}.green-theme .learning-path-focus{border:1px solid #05966933;box-shadow:0 12px 32px #05966926}.green-theme .learning-path-focus:before{background:linear-gradient(135deg,#059669,#047857)}.peach-theme .learning-path-focus{border:1px solid #fb718533;box-shadow:0 12px 32px #fb718526}.peach-theme .learning-path-focus:before{background:linear-gradient(135deg,#fb7185,#f43f5e)}.purple-theme .learning-path-focus{border:1px solid #8b5cf633;box-shadow:0 12px 32px #8b5cf626}.purple-theme .learning-path-focus:before{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.teal-theme .learning-path-focus{border:1px solid #06b6d433;box-shadow:0 12px 32px #06b6d426}.teal-theme .learning-path-focus:before{background:linear-gradient(135deg,#06b6d4,#0891b2)}.activities-section{background:#ffffffe6;border:1px solid #8b5cf633;box-shadow:0 12px 32px #8b5cf626}.activities-section:before{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.focus-header h2{align-items:center;color:#1a202c;display:flex;font-size:2.2rem;font-weight:800;gap:16px;justify-content:center;letter-spacing:-.5px;margin-bottom:16px}.number-blocks{font-size:1.6rem;margin-right:8px}.adventure-icon{animation:rocket 4s ease-in-out infinite;font-size:2.2rem}@keyframes rocket{0%,to{transform:translateY(0) rotate(0deg)}25%{transform:translateY(-8px) rotate(-3deg)}75%{transform:translateY(-5px) rotate(3deg)}}.games-icon{font-size:2rem;margin-right:8px}.focus-header p{color:#2d3748;font-size:1.2rem;font-weight:600;margin-bottom:24px}.focus-card{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 8px 24px #00000014;display:flex;flex-direction:column;margin-top:24px;padding:32px;transition:all .3s cubic-bezier(.4,0,.2,1)}.focus-card:hover{border-color:#3b82f6;box-shadow:0 16px 40px #0000001f;transform:translateY(-6px)}.focus-emoji{animation:wiggle 5s ease-in-out infinite;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1));font-size:4rem;margin-bottom:20px}@keyframes wiggle{0%,to{transform:rotate(0deg)}25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}.focus-content h3{color:#1a202c;font-size:1.8rem;font-weight:700;margin-bottom:16px}.focus-description{color:#2d3748;font-size:1.2rem;font-weight:500;line-height:1.6;margin-bottom:24px;max-width:600px}.focus-details{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-around;margin-bottom:32px;width:100%}.detail-item{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:1px solid #e2e8f0;border-radius:16px;flex:1 1;min-width:140px;padding:20px 24px;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1)}.detail-item:hover{border-color:#3b82f6;box-shadow:0 8px 24px #0000001a;transform:translateY(-4px)}.detail-label{color:#374151;font-size:.85rem;font-weight:700;letter-spacing:.8px;margin-bottom:8px;text-transform:uppercase}.detail-value{color:#1a202c;font-size:1.4rem;font-weight:800}.action-buttons{flex-wrap:wrap;gap:24px;justify-content:center;margin-top:32px}.action-button{-webkit-tap-highlight-color:transparent;border:2px solid;box-shadow:0 8px 24px #0000001a;flex-direction:column;font-size:1rem;font-weight:700;gap:8px;max-width:240px;min-height:140px;min-width:200px;overflow:hidden;padding:28px 24px;touch-action:manipulation}.action-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);height:100%;left:-100%;top:0;transition:left .5s;width:100%}.action-button:hover:before{left:100%}.action-button:hover{transform:translateY(-6px) scale(1.05)}.button-emoji{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));flex-shrink:0;font-size:2.4rem;margin-bottom:8px}.button-text{flex-shrink:0;font-size:1.1rem;font-weight:800;line-height:1.3}.button-subtitle,.button-text{margin:0 8px;text-align:center}.button-subtitle{font-size:.8rem;font-weight:600;line-height:1.4;max-width:100%;opacity:.9;text-shadow:0 1px 2px #0000001a}.play-icon{font-size:1.6rem;margin-right:8px}.practice-button{background:linear-gradient(135deg,#10b981,#059669);border-color:#047857;box-shadow:0 8px 24px #10b9814d}.practice-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 12px 32px #10b98166;color:#fff}.orange-theme .practice-button{border-color:#e67e22;box-shadow:0 8px 24px #ff9f434d}.orange-theme .practice-button:hover{box-shadow:0 12px 32px #ff9f4366}.blue-theme .practice-button{border-color:#1d4ed8;box-shadow:0 8px 24px #3b82f64d}.blue-theme .practice-button:hover{box-shadow:0 12px 32px #3b82f666}.green-theme .practice-button{border-color:#047857;box-shadow:0 8px 24px #10b9814d}.green-theme .practice-button:hover{box-shadow:0 12px 32px #10b98166}.peach-theme .practice-button{border-color:#e11d48;box-shadow:0 8px 24px #fb71854d}.peach-theme .practice-button:hover{box-shadow:0 12px 32px #fb718566}.purple-theme .practice-button{border-color:#6d28d9;box-shadow:0 8px 24px #8b5cf64d}.purple-theme .practice-button:hover{box-shadow:0 12px 32px #8b5cf666}.teal-theme .practice-button{border-color:#0e7490;box-shadow:0 8px 24px #06b6d44d}.teal-theme .practice-button:hover{box-shadow:0 12px 32px #06b6d466}.challenge-button{background:linear-gradient(135deg,#ef4444,#dc2626);border-color:#b91c1c;box-shadow:0 8px 24px #ef44444d;color:#fff}.challenge-button:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 12px 32px #ef444466;color:#fff}.stories-button{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-color:#6d28d9;box-shadow:0 8px 24px #8b5cf64d;color:#fff}.stories-button:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 12px 32px #8b5cf666;color:#fff}.orange-theme .challenge-button{background:linear-gradient(135deg,#ff9f43,#f39c12);border-color:#e67e22;box-shadow:0 8px 24px #ff9f434d}.orange-theme .challenge-button:hover{background:linear-gradient(135deg,#f39c12,#e67e22);box-shadow:0 12px 32px #ff9f4366}.orange-theme .stories-button{background:linear-gradient(135deg,#ff9f43,#f39c12);border-color:#e67e22;box-shadow:0 8px 24px #ff9f434d}.orange-theme .stories-button:hover{background:linear-gradient(135deg,#f39c12,#e67e22);box-shadow:0 12px 32px #ff9f4366}.blue-theme .challenge-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#1d4ed8;box-shadow:0 8px 24px #3b82f64d}.blue-theme .challenge-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 12px 32px #3b82f666}.blue-theme .stories-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#1d4ed8;box-shadow:0 8px 24px #3b82f64d}.blue-theme .stories-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 12px 32px #3b82f666}.green-theme .challenge-button{background:linear-gradient(135deg,#10b981,#059669);border-color:#047857;box-shadow:0 8px 24px #10b9814d}.green-theme .challenge-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 12px 32px #10b98166}.green-theme .stories-button{background:linear-gradient(135deg,#10b981,#059669);border-color:#047857;box-shadow:0 8px 24px #10b9814d}.green-theme .stories-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 12px 32px #10b98166}.peach-theme .challenge-button{background:linear-gradient(135deg,#fb7185,#f43f5e);border-color:#e11d48;box-shadow:0 8px 24px #fb71854d}.peach-theme .challenge-button:hover{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 12px 32px #fb718566}.peach-theme .stories-button{background:linear-gradient(135deg,#fb7185,#f43f5e);border-color:#e11d48;box-shadow:0 8px 24px #fb71854d}.peach-theme .stories-button:hover{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 12px 32px #fb718566}.purple-theme .challenge-button{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-color:#6d28d9;box-shadow:0 8px 24px #8b5cf64d}.purple-theme .challenge-button:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 12px 32px #8b5cf666}.purple-theme .stories-button{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-color:#6d28d9;box-shadow:0 8px 24px #8b5cf64d}.purple-theme .stories-button:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 12px 32px #8b5cf666}.teal-theme .challenge-button{background:linear-gradient(135deg,#06b6d4,#0891b2);border-color:#0e7490;box-shadow:0 8px 24px #06b6d44d}.teal-theme .challenge-button:hover{background:linear-gradient(135deg,#0891b2,#0e7490);box-shadow:0 12px 32px #06b6d466}.teal-theme .stories-button{background:linear-gradient(135deg,#06b6d4,#0891b2);border-color:#0e7490;box-shadow:0 8px 24px #06b6d44d}.teal-theme .stories-button:hover{background:linear-gradient(135deg,#0891b2,#0e7490);box-shadow:0 12px 32px #06b6d466}.progress-button-alt{background:linear-gradient(135deg,#f59e0b,#d97706);border-color:#b45309;box-shadow:0 8px 24px #f59e0b4d;color:#fff}.progress-button-alt:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 12px 32px #f59e0b66;color:#fff}.quick-stats{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin:32px 0}.stat-card{border:1px solid;border-radius:20px;box-shadow:0 8px 24px #00000014;overflow:hidden;padding:28px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.stat-card:before{background:currentColor;content:"";height:4px;left:0;position:absolute;right:0;top:0}.stat-card:hover{box-shadow:0 16px 40px #0000001f;transform:translateY(-6px) scale(1.02)}.stat-card.completed{background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border-color:#10b981}.stat-card.completed:before{background:linear-gradient(135deg,#10b981,#059669)}.stat-card.streak{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#f59e0b}.stat-card.streak:before{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-card.progress{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#3b82f6}.stat-card.progress:before{background:linear-gradient(135deg,#3b82f6,#2563eb)}.stat-card.goal{background:linear-gradient(135deg,#faf5ff,#f3e8ff);border-color:#8b5cf6}.stat-card.goal:before{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.stars-display{align-items:center;display:flex;flex-wrap:wrap;gap:4px;justify-content:center;margin-bottom:12px}.earned-star{animation:sparkle 3s ease-in-out infinite;filter:drop-shadow(0 2px 4px rgba(255,193,7,.3));font-size:1.4rem}.earned-star:nth-child(odd){animation-delay:.5s}.more-indicator{color:#374151;font-size:1rem;font-weight:700;margin-left:6px}.stat-icon{animation:bob 4s ease-in-out infinite;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1));font-size:2.8rem;margin-bottom:16px}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.stat-value{color:#1a202c;font-weight:800;line-height:1;margin-bottom:8px}.stat-label{color:#2d3748;font-weight:600;letter-spacing:normal;text-transform:none}.progress-stats{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;border-radius:20px;box-shadow:0 8px 24px #f59e0b33;margin:32px auto;max-width:600px;padding:32px}.streak-container{align-items:center;display:flex;gap:20px;justify-content:center;margin-bottom:24px}.streak-icon{animation:pulse 3s infinite;filter:drop-shadow(0 4px 8px rgba(245,158,11,.3));font-size:3rem}.streak-count{background:#fff;box-shadow:0 4px 16px #f59e0b33;color:#92400e;font-size:1.6rem;font-weight:800;padding:12px 24px}.progress-bar,.streak-count{border:2px solid #f59e0b;border-radius:20px}.progress-bar{background:#fed7aa;box-shadow:inset 0 2px 4px #0000001a;height:32px;margin:20px 0}.progress-fill{background:linear-gradient(90deg,#f59e0b,#d97706);border-radius:18px;transition:width 1s cubic-bezier(.4,0,.2,1)}.progress-fill:after{content:"⭐";font-size:1.2rem;right:12px;top:50%;transform:translateY(-50%)}.progress-text{color:#92400e;font-size:1.2rem;font-weight:700;margin-top:12px}.student-dashboard-container.compact .dashboard-header{padding:24px}.student-dashboard-container.compact .dashboard-header h1{font-size:2.2rem;margin-bottom:12px}.student-dashboard-container.compact .learning-path-focus{margin:24px 0;padding:24px}.student-dashboard-container.compact .focus-card{padding:24px}.student-dashboard-container.compact .focus-emoji{font-size:3rem;margin-bottom:16px}.student-dashboard-container.compact .quick-stats{gap:20px;grid-template-columns:repeat(2,1fr);margin:24px 0}.student-dashboard-container.compact .stat-card{padding:24px}.student-dashboard-container.compact .stat-icon{font-size:2.4rem;margin-bottom:12px}.student-dashboard-container.compact .stat-value{font-size:1.8rem}.student-dashboard-container.compact .action-buttons{gap:20px}.student-dashboard-container.compact .action-button{font-size:.95rem;max-width:200px;min-height:120px;min-width:180px;padding:24px 20px}@media (max-width:768px){.student-dashboard{border-radius:20px;margin:12px;padding:20px}.dashboard-header{padding:24px 20px}.dashboard-header h1{font-size:2.4rem}.focus-header h2{flex-direction:column;font-size:1.8rem;gap:12px}.action-buttons{align-items:center;flex-direction:column}.action-button{max-width:320px;min-height:140px;padding:28px 24px;width:100%}.focus-details{flex-direction:column}.quick-stats{grid-template-columns:repeat(2,1fr)}.view-controls{align-items:center;flex-direction:column;gap:16px}.color-theme-selector{order:1;padding:16px 20px}.theme-btn{height:32px;width:32px}.accessibility-toggle{order:2}.messages-icon{margin:12px auto 24px;position:relative;right:auto;top:auto}}.loading{align-items:center;color:#374151;display:flex;flex-direction:column;justify-content:center;min-height:60vh}.loading h2{color:#1a202c;font-weight:700;margin-bottom:16px}.loading-animation{animation:spin 2s linear infinite;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1));font-size:3.5rem;margin-top:24px}.error-container{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #ef4444;border-radius:24px;box-shadow:0 12px 32px #ef444433;color:#b91c1c;padding:48px}.error-container h2{color:#b91c1c;font-weight:700;margin-bottom:16px}.error-container button{background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:16px;margin-top:24px;padding:16px 32px}.error-container button:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 8px 24px #ef44444d}.action-button:focus-visible,.messages-icon:focus-visible,.progress-button:focus-visible,.toggle-btn:focus-visible{outline:3px solid #3b82f6;outline-offset:4px}.practice-quiz{margin:0 auto;max-width:800px;padding:2rem}.quiz-header{margin-bottom:2rem;text-align:center}.quiz-header h2{color:#2c3e50;margin-bottom:.5rem}.quiz-progress{color:#7f8c8d;font-size:1.1rem;margin-bottom:.5rem}.question-difficulty{background-color:#f8f9fa;border-radius:15px;color:#7f8c8d;display:inline-block;font-size:.9rem;margin-top:.5rem;padding:.3rem .8rem}.question-container{background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;padding:2rem}.question-container h3{color:#2c3e50;font-size:1.3rem;line-height:1.4;margin-bottom:1.5rem}.question-image{margin:1rem 0;text-align:center}.question-image img{border-radius:8px;max-height:300px;max-width:100%}.options-container{grid-gap:1rem;display:grid;gap:1rem;margin:1.5rem 0}.option{border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;padding:1rem;transition:all .2s ease}.option:hover:not(.selected){background:#f7f9fc;border-color:#3498db}.option.selected{background:#ebf5fb;border-color:#3498db}.option.correct{background:#eafaf1;border-color:#2ecc71}.option.incorrect{background:#fdedec;border-color:#e74c3c}.option-letter{align-items:center;background:#3498db;border-radius:50%;color:#fff;display:flex;font-weight:700;height:30px;justify-content:center;margin-right:1rem;width:30px}.option-text{color:#2c3e50;flex:1 1}.feedback{border-radius:8px;margin:1.5rem 0;padding:1rem}.correct-feedback{color:#27ae60;font-weight:700}.incorrect-feedback{color:#c0392b;font-weight:700}.explanation{color:#7f8c8d;font-style:italic;margin-top:.5rem}.quiz-actions{display:flex;justify-content:center;margin-top:2rem}.next-button,.submit-button{border:none;border-radius:50px;cursor:pointer;font-size:1rem;font-weight:700;padding:.8rem 2rem;transition:all .2s ease}.submit-button{background-color:#3498db}.submit-button:hover{background-color:#2980b9}.submit-button:disabled{background-color:#bdc3c7}.next-button{background-color:#2ecc71;color:#fff}.next-button:hover{background-color:#27ae60}.fill-in-container{margin:1.5rem 0}.fill-in-input{border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;padding:1rem;transition:all .2s ease;width:100%}.fill-in-input:focus{border-color:#3498db;outline:none}.fill-in-input.correct{background:#eafaf1;border-color:#2ecc71}.fill-in-input.incorrect{background:#fdedec;border-color:#e74c3c}.quiz-completion{margin:0 auto;max-width:800px;padding:2rem;text-align:center}.quiz-completion h2{color:#2c3e50;margin-bottom:1.5rem}.kc-info{background-color:#f8f9fa;border-radius:10px;margin-bottom:1.5rem;padding:1rem}.kc-info h3{color:#2c3e50;margin-bottom:.5rem}.kc-info p{color:#7f8c8d}.quiz-summary{background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;padding:2rem}.summary-card{background:#f8f9fa;margin-bottom:1.5rem}.score-display,.summary-card h3{margin-bottom:1rem}.score-display{align-items:center}.score-circle{background:#3498db;color:#fff;height:80px;margin-right:1rem;width:80px}.score-number{font-size:2rem;font-weight:700}.score-total{font-size:.9rem}.score-percentage{color:#2c3e50;font-size:2rem;font-weight:700}.time-display{color:#7f8c8d;font-size:.9rem}.feedback-section{margin-bottom:2rem}.feedback-section h3{color:#2c3e50;margin-bottom:1rem}.perfect-score p{color:#27ae60;font-weight:700}.good-score p{color:#3498db;font-weight:700}.average-score p{color:#f39c12;font-weight:700}.needs-practice p{color:#e74c3c;font-weight:700}.action-buttons{justify-content:space-around;margin-top:2rem}.back-button,.retry-button{border:none;border-radius:50px;cursor:pointer;font-size:1rem;font-weight:700;padding:.8rem 1.5rem;transition:all .2s ease}.back-button{background-color:#7f8c8d}.back-button:hover{background-color:#6c7a89}.retry-button{background-color:#3498db}.retry-button:hover{background-color:#2980b9}.error-container,.loading-container{margin:0 auto;max-width:800px;padding:2rem}.error-container h2,.loading-container h2{color:#2c3e50;margin-bottom:1rem}.error-container p,.loading-container p{color:#7f8c8d;margin-bottom:1.5rem}.error-container button{background-color:#3498db;border-radius:50px;font-weight:700;transition:all .2s ease}.error-container button:hover{background-color:#2980b9}@media (max-width:768px){.error-container,.loading-container,.practice-quiz,.quiz-completion{padding:1rem}.question-container{padding:1.5rem}.action-buttons{gap:1rem}.action-buttons,.score-display{flex-direction:column}.score-circle{margin-bottom:1rem;margin-right:0}}.enhanced-quiz{animation:gradientShift 15s ease infinite;background:linear-gradient(135deg,#fafbff,#f7f8fc 20%,#fef7ff 40%,#fff5f8 60%,#f0f9ff 80%,#f0fffe);background-size:400% 400%;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:.5rem;position:relative}@keyframes gradientShift{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.enhanced-quiz.orange-theme{background:linear-gradient(135deg,#fff9f5,#fef7f0 20%,#fff5eb 40%,#fef3e8 60%,#fdf2e4 80%,#fcf1e0)}.enhanced-quiz.blue-theme{background:linear-gradient(135deg,#f0f7ff,#eef4ff 20%,#ecf2ff 40%,#eaf0ff 60%,#e8eeff 80%,#e6ecff)}.enhanced-quiz.green-theme{background:linear-gradient(135deg,#f0fdf8,#eefcf4 20%,#ecfaf0 40%,#eaf9ec 60%,#e8f7e8 80%,#e6f6e4)}.enhanced-quiz.peach-theme{background:linear-gradient(135deg,#fef7f7,#fef5f5 20%,#fef3f3 40%,#fef1f1 60%,#feefef 80%,#feedee)}.enhanced-quiz.purple-theme{background:linear-gradient(135deg,#faf5ff,#f8f3ff 20%,#f6f1ff 40%,#f4efff 60%,#f2edff 80%,#f0ebff)}.enhanced-quiz.teal-theme{background:linear-gradient(135deg,#f0fdff,#eefcff 20%,#ecfaff 40%,#eaf9ff 60%,#e8f7ff 80%,#e6f6ff)}.enhanced-quiz .quiz-header{animation:slideInDown .6s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 8px 32px #0000001f,inset 0 1px 0 #fffc,0 0 0 1px #fff3;margin-bottom:1.5rem;overflow:hidden;padding:1.5rem;position:relative}.enhanced-quiz .quiz-header:before{background:radial-gradient(circle at 50% 0,#ffffff4d 0,#0000 50%);border-radius:inherit;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.quiz-header-main{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:.5rem}.enhanced-quiz .quiz-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:1.6rem;font-weight:700;margin:0;text-shadow:0 2px 4px #0000001a}.topic-toggle-btn{background:linear-gradient(135deg,#4facfe,#00f2fe);border:none;border-radius:20px;box-shadow:0 3px 12px #4facfe4d;color:#fff;cursor:pointer;font-size:.8rem;font-weight:600;overflow:hidden;padding:.4rem 1rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.topic-toggle-btn:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.topic-toggle-btn:hover:before{left:100%}.topic-toggle-btn:hover{box-shadow:0 6px 20px #4facfe66;transform:translateY(-2px)}.topic-toggle-btn:active{transform:translateY(0)}.enhanced-kc-info{animation:slideInUp .5s ease-out;background:linear-gradient(135deg,#f093fb,#f5576c);border-radius:12px;box-shadow:0 6px 20px #f5576c4d;color:#fff;margin:.5rem 0;overflow:hidden;padding:1rem;position:relative;text-align:center}.enhanced-kc-info:before{animation:float 6s ease-in-out infinite;background:radial-gradient(circle,#ffffff1a 0,#0000 70%);content:"";height:200%;left:-50%;position:absolute;top:-50%;width:200%}.enhanced-kc-info h3{font-size:1.1rem;font-weight:700;margin:0 0 .3rem;position:relative;text-shadow:0 2px 4px #0003;z-index:1}.enhanced-kc-info .kc-code{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:15px;font-size:.75rem;font-weight:600;padding:.2rem .6rem;position:relative;z-index:1}.enhanced-kc-info .kc-description{font-size:.85rem;margin-top:.5rem;opacity:.9;position:relative;z-index:1}.enhanced-quiz .quiz-progress{margin:.5rem 0;text-align:center}.progress-text{display:block;font-size:.95rem;margin-bottom:.3rem}.progress-bar{background:#0000001a;border-radius:8px;box-shadow:inset 0 1px 3px #0000001a;position:relative}.progress-fill{background:linear-gradient(90deg,#4facfe,#00f2fe);overflow:hidden;position:relative;transition:width .6s cubic-bezier(.4,0,.2,1)}.progress-fill:after{animation:shimmer 2s infinite;background:linear-gradient(90deg,#0000,#ffffff4d,#0000);content:"";height:100%;left:0;position:absolute;top:0;width:100%}.enhanced-quiz .question-difficulty{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffc;border-radius:15px;box-shadow:0 3px 12px #0000001a;display:flex;gap:.3rem;justify-content:center;margin-top:.5rem;padding:.3rem .8rem}.difficulty-stars{animation:sparkle 2s ease-in-out infinite;font-size:1rem}.difficulty-text{color:#2c3e50;font-size:.8rem;font-weight:600}.enhanced-quiz .question-container{animation:slideInUp .7s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 10px 40px #00000026,inset 0 1px 0 #fffc,0 0 0 1px #fff3;overflow:hidden;padding:2rem 2rem 120px;position:relative}.enhanced-quiz .question-container:after{background:radial-gradient(circle at 50% 0,#fff3 0,#0000 60%);border-radius:inherit;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.enhanced-quiz .question-container:before{border-radius:20px 20px 0 0;content:"";height:4px;left:0;position:absolute;right:0;top:0;z-index:1}.enhanced-quiz .question-container:before,.enhanced-quiz.orange-theme .question-container:before{background:linear-gradient(90deg,#ff9f43,#f39c12)}.enhanced-quiz.blue-theme .question-container:before{background:linear-gradient(90deg,#3b82f6,#2563eb)}.enhanced-quiz.green-theme .question-container:before{background:linear-gradient(90deg,#10b981,#059669)}.enhanced-quiz.peach-theme .question-container:before{background:linear-gradient(90deg,#fb7185,#f43f5e)}.enhanced-quiz.purple-theme .question-container:before{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}.enhanced-quiz.teal-theme .question-container:before{background:linear-gradient(90deg,#06b6d4,#0891b2)}.enhanced-quiz .question-container h3{color:#2c3e50;font-size:1.2rem;font-weight:600;line-height:1.5;margin-bottom:1rem;text-shadow:0 1px 2px #0000001a}.enhanced-quiz .option{-webkit-tap-highlight-color:transparent;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#fffffff2;border:2px solid #667eea26;border-radius:16px;box-shadow:0 4px 16px #00000014,inset 0 1px 0 #fff9;cursor:pointer;margin-bottom:1rem;overflow:hidden;padding:1.2rem;position:relative;touch-action:manipulation;transition:all .3s cubic-bezier(.4,0,.2,1)}.enhanced-quiz .option:before{background:linear-gradient(90deg,#0000,#667eea1a,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.enhanced-quiz .option:hover:before{left:100%}.enhanced-quiz .option:hover{border-color:#667eea80;box-shadow:0 8px 25px #667eea33;transform:translateY(-3px)}.enhanced-quiz .option.selected{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#0000;box-shadow:0 8px 25px #667eea4d;color:#fff;transform:translateY(-2px)}.enhanced-quiz .option.correct{animation:correctPulse .6s ease-out;background:linear-gradient(135deg,#56ab2f,#a8e6cf);border-color:#0000;color:#fff}.enhanced-quiz .option.incorrect{animation:shake .6s ease-out;background:linear-gradient(135deg,#ff416c,#ff4b2b);border-color:#0000;color:#fff}.enhanced-quiz .option-letter{align-items:center;background:linear-gradient(135deg,#4facfe,#00f2fe);border-radius:50%;box-shadow:0 3px 8px #4facfe4d;color:#fff;display:flex;font-size:.9rem;font-weight:700;height:30px;justify-content:center;margin-right:.8rem;transition:all .3s ease;width:30px}.enhanced-quiz .option.selected .option-letter{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff4d}.enhanced-quiz .fill-in-input{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffe6;border:2px solid #667eea4d;border-radius:12px;box-shadow:0 3px 12px #0000000d;box-sizing:border-box;font-size:1rem;padding:.8rem;transition:all .3s cubic-bezier(.4,0,.2,1);width:100%}.enhanced-quiz .fill-in-input:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea33,0 4px 15px #0000001a;outline:none;transform:translateY(-2px)}.enhanced-quiz .hint-button,.enhanced-quiz .next-button,.enhanced-quiz .submit-button{border:2px solid #fff3;border-radius:30px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;margin:.5rem;overflow:hidden;padding:1rem 2rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.enhanced-quiz .hint-button,.enhanced-quiz .next-button,.enhanced-quiz .submit-button,.enhanced-quiz.orange-theme .hint-button,.enhanced-quiz.orange-theme .next-button,.enhanced-quiz.orange-theme .submit-button{background:linear-gradient(135deg,#ff9f43,#f39c12);box-shadow:0 6px 20px #ff9f434d,inset 0 1px 0 #fff3}.enhanced-quiz.blue-theme .hint-button,.enhanced-quiz.blue-theme .next-button,.enhanced-quiz.blue-theme .submit-button{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 6px 20px #3b82f64d,inset 0 1px 0 #fff3}.enhanced-quiz.green-theme .hint-button,.enhanced-quiz.green-theme .next-button,.enhanced-quiz.green-theme .submit-button{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 6px 20px #10b9814d,inset 0 1px 0 #fff3}.enhanced-quiz.peach-theme .hint-button,.enhanced-quiz.peach-theme .next-button,.enhanced-quiz.peach-theme .submit-button{background:linear-gradient(135deg,#fb7185,#f43f5e);box-shadow:0 6px 20px #fb71854d,inset 0 1px 0 #fff3}.enhanced-quiz.purple-theme .hint-button,.enhanced-quiz.purple-theme .next-button,.enhanced-quiz.purple-theme .submit-button{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 6px 20px #8b5cf64d,inset 0 1px 0 #fff3}.enhanced-quiz.teal-theme .hint-button,.enhanced-quiz.teal-theme .next-button,.enhanced-quiz.teal-theme .submit-button{background:linear-gradient(135deg,#06b6d4,#0891b2);box-shadow:0 6px 20px #06b6d44d,inset 0 1px 0 #fff3}.enhanced-quiz .hint-button:before,.enhanced-quiz .next-button:before,.enhanced-quiz .submit-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.enhanced-quiz .hint-button:hover:before,.enhanced-quiz .next-button:hover:before,.enhanced-quiz .submit-button:hover:before{left:100%}.enhanced-quiz .hint-button:hover,.enhanced-quiz .next-button:hover,.enhanced-quiz .submit-button:hover{box-shadow:0 10px 30px #667eea66;transform:translateY(-3px)}.enhanced-quiz .hint-button{background:linear-gradient(135deg,#f093fb,#f5576c);box-shadow:0 6px 20px #f5576c4d}.enhanced-quiz .hint-button:hover{box-shadow:0 10px 30px #f5576c66}.enhanced-quiz .next-button{animation:pulse 2s infinite;background:linear-gradient(135deg,#56ab2f,#a8e6cf);box-shadow:0 6px 20px #56ab2f4d}.enhanced-quiz .next-button:hover{animation:none;box-shadow:0 10px 30px #56ab2f66}.enhanced-quiz .quiz-actions{align-items:center;background:#fffffff2;border-radius:20px;bottom:20px;box-shadow:0 -4px 20px #0000001a;display:flex;justify-content:center;margin-top:2rem;min-height:80px;position:sticky;z-index:10}.enhanced-quiz .feedback,.enhanced-quiz .quiz-actions{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:1.5rem}.enhanced-quiz .feedback{animation:slideInUp .5s ease-out;background:#ffffffe6;border-radius:15px;box-shadow:0 8px 25px #0000001a;margin:1.5rem 0}.enhanced-quiz .correct-feedback{color:#27ae60;font-size:1.2rem;font-weight:700}.enhanced-quiz .incorrect-feedback{color:#e74c3c;font-size:1.2rem;font-weight:700}.enhanced-quiz .hint-container{animation:slideInUp .5s ease-out;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:15px;box-shadow:0 8px 25px #667eea4d;color:#fff;margin:1.5rem 0;overflow:hidden;padding:1.5rem;position:relative}.enhanced-quiz .hint-container:before{animation:float 4s ease-in-out infinite;background:radial-gradient(circle,#ffffff1a 0,#0000 70%);content:"";height:200%;left:-50%;position:absolute;top:-50%;width:200%}.enhanced-quiz .hint-container h4{font-size:1.1rem;margin:0 0 .5rem;position:relative;z-index:1}.enhanced-quiz .hint-container p{line-height:1.6;margin:0;position:relative;z-index:1}.enhanced-quiz .error-container,.enhanced-quiz .loading-container{animation:slideInUp .6s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffff2;border-radius:20px;box-shadow:0 10px 40px #0000001a;padding:3rem 2rem;text-align:center}@keyframes slideInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes sparkle{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@keyframes correctPulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@media (max-width:768px){.enhanced-quiz{padding:.3rem}.enhanced-quiz .quiz-header{padding:.8rem}.quiz-header-main{flex-direction:column;gap:.3rem;text-align:center}.enhanced-quiz .quiz-header h2{font-size:1.4rem;margin-bottom:.5rem}.topic-toggle-btn{font-size:.75rem;padding:.3rem .8rem}.enhanced-kc-info h3{font-size:1rem}.enhanced-quiz .question-container{padding:1rem}.enhanced-quiz .question-container h3{font-size:1.1rem}.enhanced-quiz .option{margin-bottom:.4rem;padding:.6rem}.enhanced-quiz .option-letter{font-size:.8rem;height:25px;margin-right:.6rem;width:25px}.enhanced-quiz .hint-button,.enhanced-quiz .next-button,.enhanced-quiz .submit-button{font-size:.9rem;margin:.2rem;padding:.6rem 1.2rem}}@media (max-width:480px){.enhanced-quiz .quiz-header h2{font-size:1.2rem}.enhanced-quiz .question-container{padding:.8rem}.enhanced-quiz .quiz-actions{bottom:10px;flex-direction:column;gap:.3rem;margin-top:1.5rem;padding:1rem;position:sticky}.enhanced-quiz .hint-button,.enhanced-quiz .next-button,.enhanced-quiz .submit-button{font-size:1rem;max-width:300px;min-height:48px;padding:.8rem 1.2rem;width:100%}.enhanced-quiz{overflow-x:hidden}.enhanced-quiz .question-container{margin:.5rem}.progress-container{padding:.5rem}}@media (hover:none) and (pointer:coarse){.enhanced-quiz .option:hover{box-shadow:none;transform:none}.enhanced-quiz .hint-button:active,.enhanced-quiz .next-button:active,.enhanced-quiz .option:active,.enhanced-quiz .submit-button:active{transform:scale(.98);transition:transform .1s}.enhanced-quiz .option,.enhanced-quiz button{-webkit-user-select:none;user-select:none}.enhanced-quiz .option{min-height:48px}.enhanced-quiz button{min-height:44px;min-width:44px}}@media (max-width:768px) and (orientation:landscape){.enhanced-quiz,.enhanced-quiz .quiz-header{padding:.5rem}.enhanced-quiz .quiz-header h2{font-size:1.2rem}.question-image img{max-height:200px}.enhanced-quiz .quiz-actions{flex-direction:row;padding:.5rem}}@media (prefers-contrast:high){.enhanced-quiz{background:#fff}.enhanced-quiz .question-container,.enhanced-quiz .quiz-header{background:#fff;border:2px solid #000}.enhanced-quiz .option{border:2px solid #000}.enhanced-quiz .option.selected{background:#000;color:#fff}}.enhanced-completion{animation:slideInUp .8s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffff2;border:1px solid #fff3;border-radius:25px;box-shadow:0 15px 50px #0000001a;margin:1rem auto;max-width:900px;overflow:hidden;padding:2rem;position:relative}.enhanced-completion:before{animation:shimmer 3s infinite;background:linear-gradient(90deg,#667eea,#764ba2 50%,#f093fb);content:"";height:6px;left:0;position:absolute;right:0;top:0}.completion-header{margin-bottom:2rem;position:relative;text-align:center}.completion-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:800;margin:0 0 1rem;text-shadow:0 2px 4px #0000001a}.completion-badge{animation:pulse 2s infinite;background:linear-gradient(135deg,#f093fb,#f5576c);border-radius:25px;box-shadow:0 4px 15px #f5576c4d;display:inline-flex;font-weight:600;gap:.5rem;padding:.5rem 1.5rem}.badge-icon{animation:sparkle 2s ease-in-out infinite;font-size:1.2rem}.enhanced-summary-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#ffffffe6,#f7fafce6);border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 8px 30px #00000014;overflow:hidden;padding:2rem;position:relative}.enhanced-summary-card:before{animation:float 8s ease-in-out infinite;background:radial-gradient(circle,#667eea0d 0,#0000 70%);content:"";height:200%;left:-50%;position:absolute;top:-50%;width:200%}.enhanced-summary-card h3{color:#2c3e50;font-size:1.8rem;font-weight:700;margin-bottom:1.5rem;position:relative;text-align:center;z-index:1}.enhanced-score-display{flex-wrap:wrap;gap:2rem;margin-bottom:2rem;z-index:1}.enhanced-score-circle,.enhanced-score-display{align-items:center;display:flex;justify-content:center;position:relative}.score-inner{align-items:center;display:flex;flex-direction:column;justify-content:center;position:absolute;z-index:2}.score-inner .score-number{color:#2c3e50;font-size:2.5rem;font-weight:800;line-height:1}.score-inner .score-total{color:#7f8c8d;font-size:1.2rem;font-weight:600}.progress-ring{filter:drop-shadow(0 4px 8px rgba(0,0,0,.1));transform:rotate(-90deg)}.progress-ring-progress{stroke-linecap:round;transition:stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1)}.score-details{text-align:center}.enhanced-percentage{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#56ab2f,#a8e6cf);-webkit-background-clip:text;background-clip:text;font-size:3rem;font-weight:800;line-height:1;margin-bottom:.5rem}.score-status{color:#2c3e50;font-size:1.2rem;font-weight:600;letter-spacing:1px;text-transform:uppercase}.metrics-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-top:1.5rem;position:relative;z-index:1}.metric-item{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffc;border:1px solid #ffffff4d;border-radius:15px;box-shadow:0 4px 15px #0000000d;padding:1rem;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1)}.metric-item:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px)}.metric-label{letter-spacing:.5px}.metric-value{display:block}.enhanced-feedback{margin:2rem 0;position:relative;z-index:1}.topic-progress{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#667eea1a,#764ba21a);border:1px solid #667eea33;border-radius:15px;gap:1rem;padding:1.5rem}.topic-icon{font-size:2rem;opacity:.8}.topic-details h4{color:#2c3e50;font-size:1.3rem;font-weight:700;margin:0 0 .5rem}.status-text{color:#667eea;font-size:1.1rem;font-weight:600}.unlock-message{align-items:center;animation:pulse 2s infinite;color:#27ae60;display:flex;font-weight:600;gap:.5rem;margin-top:.5rem}.unlock-icon{font-size:1.2rem}.enhanced-actions{margin:2rem 0;position:relative;z-index:1}.enhanced-primary-actions{gap:1rem;margin-bottom:1.5rem}.enhanced-primary-actions,.loading-next-topic{align-items:center;display:flex;flex-direction:column}.loading-next-topic{animation:pulse 2s infinite;background:linear-gradient(135deg,#f39c12,#e67e22);border-radius:20px;box-shadow:0 8px 25px #f39c124d;color:#fff;min-width:280px;padding:1.5rem}.loading-spinner{border:4px solid #ffffff4d;border-top-color:#fff;margin-bottom:.8rem}.enhanced-continue-btn,.enhanced-retry-btn{align-items:center;background:linear-gradient(135deg,#27ae60,#2ecc71);border:none;border-radius:50px;box-shadow:0 8px 25px #27ae604d;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;font-weight:700;gap:.8rem;justify-content:center;min-width:280px;overflow:hidden;padding:1.2rem 2.5rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.enhanced-retry-btn{background:linear-gradient(135deg,#3498db,#5dade2);box-shadow:0 8px 25px #3498db4d;min-width:220px}.enhanced-continue-btn:before,.enhanced-retry-btn:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.enhanced-continue-btn:hover:before,.enhanced-retry-btn:hover:before{left:100%}.enhanced-continue-btn:hover,.enhanced-retry-btn:hover{box-shadow:0 12px 35px #27ae6066;transform:translateY(-3px)}.enhanced-retry-btn:hover{box-shadow:0 12px 35px #3498db66}.btn-icon{font-size:1.3rem}.enhanced-nav-buttons{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.enhanced-nav-btn{align-items:center;background:linear-gradient(135deg,#6c757d,#8b939d);border:none;border-radius:25px;box-shadow:0 6px 20px #6c757d4d;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;overflow:hidden;padding:1rem 1.8rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.progress-btn{background:linear-gradient(135deg,#8e44ad,#9b59b6);box-shadow:0 6px 20px #8e44ad4d}.enhanced-nav-btn:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.enhanced-nav-btn:hover:before{left:100%}.enhanced-nav-btn:hover{box-shadow:0 8px 25px #6c757d66;transform:translateY(-2px)}.progress-btn:hover{box-shadow:0 8px 25px #8e44ad66}.encouragement-section{margin:2rem 0;position:relative;z-index:1}.quote-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#f093fb1a,#f5576c1a);border:1px solid #f093fb33;border-radius:20px;padding:1.5rem;text-align:center}.quote-icon{display:block;font-size:1.5rem;margin-bottom:.5rem}.encouragement-quote{color:#2c3e50;font-size:1.2rem;font-style:italic;font-weight:500;line-height:1.6;margin:0}.struggling-kcs-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#ffc1071a,#ffeb3b1a);border:1px solid #ffc1074d;border-radius:15px;margin:1.5rem 0;padding:1.5rem;position:relative;z-index:1}.struggling-kcs-section h4{color:#f39c12;font-size:1.2rem;font-weight:700;margin:0 0 1rem}.recommendations-list{display:flex;flex-direction:column;gap:.8rem}.recommendation-item{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffc;border:1px solid #ffffff4d;border-radius:10px}.recommendation-item:hover{box-shadow:0 4px 15px #0000001a;transform:translateX(5px)}.rec-name{color:#2c3e50;font-weight:600}.rec-mastery{color:#7f8c8d;font-size:.9rem;font-weight:500}.question-breakdown{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffe6;border:1px solid #ffffff4d;border-radius:15px;box-shadow:0 8px 25px #0000000d;margin:2rem 0;padding:1.5rem;position:relative;z-index:1}.breakdown-toggle{align-items:center;border-radius:10px;color:#2c3e50;cursor:pointer;display:flex;font-size:1.1rem;font-weight:700;gap:.5rem;list-style:none;padding:.5rem;transition:all .3s ease}.breakdown-toggle:hover{background:#667eea1a;transform:translateX(5px)}.breakdown-content{margin-top:1rem}.breakdown-item{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid;border-radius:15px;margin:1rem 0;padding:1.5rem;transition:all .3s ease}.breakdown-item.correct{background:linear-gradient(135deg,#27ae601a,#2ecc711a);border-color:#27ae60}.breakdown-item.incorrect{background:linear-gradient(135deg,#e74c3c1a,#c0392b1a);border-color:#e74c3c}.breakdown-item:hover{box-shadow:0 8px 25px #0000001a;transform:translateY(-2px)}.breakdown-item h4{color:#2c3e50;font-size:1.2rem;font-weight:700;margin:0 0 1rem}.breakdown-item p{line-height:1.6;margin:.5rem 0}.breakdown-item ul{list-style:none;margin:1rem 0;padding-left:0}.breakdown-item li{background:#ffffff80;border-radius:8px;margin:.5rem 0;padding:.8rem;transition:all .3s ease}.breakdown-item li:hover{background:#fffc}@media (max-width:768px){.enhanced-completion{margin:.5rem;padding:1.5rem}.completion-header h2{font-size:2rem}.enhanced-score-display{flex-direction:column;gap:1rem}.metrics-row{gap:.8rem;grid-template-columns:1fr}.enhanced-nav-buttons{align-items:center;flex-direction:column}.enhanced-nav-btn{justify-content:center;max-width:280px;width:100%}.enhanced-continue-btn,.enhanced-retry-btn{max-width:300px;width:100%}}@media (max-width:480px){.completion-header h2{font-size:1.8rem}.enhanced-percentage{font-size:2.5rem}.score-inner .score-number{font-size:2rem}.enhanced-summary-card{padding:1.5rem}.recommendation-item,.topic-progress{flex-direction:column;text-align:center}.recommendation-item{gap:.5rem}}@media (prefers-reduced-motion:reduce){.enhanced-quiz *{animation:none!important;transition:none!important}}.quiz-completion.enhanced{background:#f8f9fa;border-radius:20px;box-shadow:0 10px 30px #00000026;font-family:Comic Sans MS,Bubblegum Sans,cursive;margin:0 auto;max-width:900px;overflow:hidden;padding:0}.achievement-header{color:#fff;overflow:hidden;padding:3rem 2rem;position:relative;text-align:center}.achievement-content{position:relative;z-index:2}.achievement-title{font-size:2.8rem;font-weight:700;margin:0 0 1rem;text-shadow:2px 2px 4px #0000004d}.achievement-emoji{animation:bounce 2s infinite;font-size:4rem;margin:1rem 0}.achievement-message{font-size:1.4rem;margin:0;text-shadow:1px 1px 2px #0003}.confetti-container{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.confetti{animation:confetti-fall 3s linear infinite;height:10px;position:absolute;width:10px}@keyframes confetti-fall{0%{top:-10px;transform:rotate(0deg)}to{top:100%;transform:rotate(2turn)}}.stats-section{background:#fff;padding:2rem}.main-stats{grid-gap:2rem;align-items:center;display:grid;gap:2rem;grid-template-columns:auto 1fr;margin-bottom:2rem}.score-circle,.score-display{display:flex;justify-content:center}.score-circle{align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:6px solid #3498db;border-radius:50%;box-shadow:0 5px 15px #0000001a;flex-direction:column;height:150px;width:150px}.score-label{color:#6c757d;font-size:.9rem;margin-bottom:.5rem}.score-count{color:#2c3e50;font-size:1.8rem;font-weight:700;line-height:1}.score-percentage{color:#3498db;font-size:1.2rem;font-weight:600;margin-top:.5rem}.performance-metrics{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr)}.metric{background:#f8f9fa;border:2px solid #e9ecef;border-radius:12px;padding:1rem;transition:transform .3s}.metric:hover{border-color:#3498db;transform:translateY(-3px)}.metric-icon{display:block;font-size:1.5rem;margin-bottom:.5rem}.metric-label{font-size:.9rem;margin-bottom:.3rem}.mastery-progress{margin-top:1.5rem}.progress-label{align-items:center;color:#2c3e50;display:flex;font-weight:600;justify-content:space-between;margin-bottom:.5rem}.mastery-badge{border-radius:15px;padding:.3rem .8rem;text-transform:uppercase}.progress-bar{border-radius:10px;height:20px}.progress-fill{border-radius:10px;transition:width 1s ease}.progress-text{color:#2c3e50;font-size:1.1rem;font-weight:600;text-align:center}.action-section{background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:2rem}.next-topic-loading{padding:2rem;text-align:center}.loading-spinner{height:40px;width:40px}.completion-message,.default-actions,.next-topic-card,.perfect-score-actions{background:#fff;border-radius:15px;box-shadow:0 5px 15px #0000001a;margin-bottom:2rem;padding:2rem;text-align:center}.completion-message h3,.next-topic-card h3,.perfect-score-actions h3{color:#2c3e50;font-size:1.5rem;margin:0 0 1rem}.celebration-message h3{color:#e67e22;font-size:1.6rem}.continue-button,.retry-button{align-items:center;background:linear-gradient(135deg,#27ae60,#2ecc71);border:none;border-radius:25px;color:#fff;cursor:pointer;display:inline-flex;font-size:1.1rem;font-weight:600;gap:.5rem;margin:.5rem;padding:1rem 2rem;transition:all .3s ease}.continue-button:hover,.retry-button:hover{box-shadow:0 8px 20px #27ae604d;transform:translateY(-3px)}.continue-button.champion{background:linear-gradient(135deg,#f39c12,#e67e22)}.continue-button.champion:hover{box-shadow:0 8px 20px #f39c124d}.retry-button{background:linear-gradient(135deg,#3498db,#5dade2)}.retry-button:hover{box-shadow:0 8px 20px #3498db4d}.button-arrow,.button-icon{font-size:1.2rem}.button-arrow{transition:transform .3s}.continue-button:hover .button-arrow{transform:translateX(3px)}.navigation-buttons{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.dashboard-button,.progress-button{align-items:center;background:linear-gradient(135deg,#6c757d,#8b939d);border:none;border-radius:20px;color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:500;gap:.5rem;padding:.8rem 1.5rem;transition:all .3s ease}.dashboard-button:hover,.progress-button:hover{box-shadow:0 5px 15px #6c757d4d;transform:translateY(-2px)}.progress-button{background:linear-gradient(135deg,#8e44ad,#9b59b6)}.progress-button:hover{box-shadow:0 5px 15px #8e44ad4d}.motivation-section{background:#fff;padding:1.5rem 2rem}.quote-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:15px;color:#fff;padding:1.5rem;position:relative;text-align:center}.quote-icon{font-size:2rem;margin-bottom:1rem}.quote-text{font-size:1.1rem;font-style:italic;line-height:1.4;margin:0}.recommendations-section{background:#fff3cd;border-top:1px solid #ffeaa7;padding:2rem}.recommendations-section h4{color:#856404;font-size:1.3rem;margin:0 0 1rem}.recommendation-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:1rem}.recommendation-card{align-items:center;border:2px solid #ffeaa7;border-radius:10px;display:flex;gap:1rem;padding:1rem}.rec-icon{flex-shrink:0;font-size:2rem}.rec-content h5{color:#856404;margin:0 0 .5rem}.rec-progress{align-items:center;display:flex;gap:.5rem}.rec-progress-bar{background:#e9ecef;border-radius:4px;flex:1 1;height:8px;overflow:hidden}.rec-progress-fill{background:linear-gradient(90deg,#e67e22,#f39c12);height:100%;transition:width .5s ease}.rec-progress span{color:#856404;font-size:.9rem;font-weight:500}.breakdown-section{background:#fff;border-top:1px solid #e9ecef;padding:2rem}.breakdown-title{align-items:center;color:#2c3e50;display:flex;font-size:1.5rem;gap:.5rem;margin:0 0 1.5rem}.breakdown-icon{font-size:1.8rem}.breakdown-summary{margin-bottom:2rem}.summary-stats{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center}.stat-item{border-radius:12px;min-width:100px;padding:1rem;text-align:center}.stat-item.correct{background:linear-gradient(135deg,#d5f4e6,#c3f0d8);border:2px solid #27ae60}.stat-item.incorrect{background:linear-gradient(135deg,#fadbd8,#f5c6cb);border:2px solid #e74c3c}.stat-item.total{background:linear-gradient(135deg,#d6eaf8,#aed6f1);border:2px solid #3498db}.stat-number{color:#2c3e50;display:block;font-size:2rem;font-weight:700}.learning-insights{margin-bottom:2rem}.learning-insights h4{color:#2c3e50;font-size:1.3rem;margin:0 0 1rem}.insight-card{background:linear-gradient(135deg,#fff8e1,#fffbf0);border:2px solid #ffd54f;padding:1rem}.insight-header{align-items:center;color:#f57f17;display:flex;font-weight:600;gap:.5rem;margin-bottom:.5rem}.insight-icon{font-size:1.2rem}.insight-tip{color:#6d4c41;font-style:italic;margin:0}.questions-details{background:#f8f9fa;border-radius:12px;overflow:hidden}.details-toggle{align-items:center;background:#e9ecef;border:none;color:#2c3e50;cursor:pointer;display:flex;font-weight:600;gap:.5rem;padding:1rem;transition:background .3s;width:100%}.details-toggle:hover{background:#dee2e6}.toggle-icon{font-size:1.2rem}.toggle-arrow{margin-left:auto;transition:transform .3s}.questions-details[open] .toggle-arrow{transform:rotate(180deg)}.questions-list{padding:1rem}.question-card{background:#fff;border-left:4px solid #e9ecef;border-radius:10px;margin-bottom:1rem;padding:1rem}.question-card.correct{background:linear-gradient(135deg,#eafaf1,#f0fff4);border-left-color:#27ae60}.question-card.incorrect{background:linear-gradient(135deg,#fdedec,#fdf2f2);border-left-color:#e74c3c}.question-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1rem}.question-info h4{color:#2c3e50;margin:0 0 .5rem}.topic-tag{background:#e9ecef;border-radius:10px;color:#6c757d;font-size:.8rem;padding:.2rem .5rem}.result-badge{border-radius:15px;font-size:.8rem;font-weight:700;padding:.3rem .8rem}.result-badge.correct{background:#d5f4e6;color:#27ae60}.result-badge.incorrect{background:#fadbd8;color:#e74c3c}.question-content{text-align:left}.question-text{color:#2c3e50;margin-bottom:1rem}.options-list ul{list-style:none;margin:.5rem 0;padding:0}.option{align-items:center;border-radius:5px;justify-content:space-between;margin:.3rem 0;padding:.5rem}.option.selected{background:#e3f2fd;border:1px solid #2196f3}.option.correct{background:#e8f5e9;border:1px solid #4caf50}.tag{border-radius:8px;font-size:.7rem;font-weight:700;padding:.2rem .5rem}.tag.your-answer{background:#e3f2fd;color:#1976d2}.tag.correct-answer{background:#e8f5e9;color:#388e3c}.fill-in-answers{display:flex;flex-direction:column;gap:.5rem}.answer-row{align-items:center;display:flex;gap:.5rem}.answer{border-radius:15px;font-weight:700;padding:.3rem .8rem}.answer.correct{background:#e8f5e9;color:#27ae60}.answer.incorrect{background:#fadbd8;color:#e74c3c}@media (max-width:768px){.achievement-title{font-size:2.2rem}.achievement-emoji{font-size:3rem}.main-stats{text-align:center}.main-stats,.performance-metrics{grid-template-columns:1fr}.score-circle{height:120px;width:120px}.summary-stats{align-items:center;flex-direction:column}.insights-grid{grid-template-columns:1fr}.navigation-buttons{align-items:center;flex-direction:column}}@media (max-width:480px){.quiz-completion.enhanced{border-radius:0;margin:0}.achievement-header{padding:2rem 1rem}.action-section,.breakdown-section,.stats-section{padding:1rem}.achievement-title{font-size:1.8rem}.continue-button,.retry-button{justify-content:center;width:100%}}.enhanced-action-card{border-radius:15px;box-shadow:0 5px 15px #0003;color:#fff;margin-bottom:1rem;padding:1.5rem;text-align:center}.enhanced-action-card h3{font-size:1.3rem;margin:0 0 1rem}.enhanced-action-card p{margin:0 0 1.5rem;opacity:.9}.enhanced-action-button{align-items:center!important;background:#fff3!important;border:2px solid #fff!important;border-radius:25px!important;color:#fff!important;cursor:pointer!important;display:inline-flex!important;font-size:1.1rem!important;font-weight:700!important;gap:.5rem!important;padding:12px 24px!important;transition:all .3s ease!important}.enhanced-action-button:hover{background:#ffffff4d!important;transform:translateY(-2px)!important}.perfect-score-card{background:linear-gradient(135deg,gold,orange)!important}.excellent-score-card{background:linear-gradient(135deg,#27ae60,#2ecc71)!important}.good-score-card{background:linear-gradient(135deg,#3498db,#5dade2)!important}.retry-card{background:linear-gradient(135deg,#e67e22,#f39c12)!important}.well-done-card{background:linear-gradient(135deg,#9b59b6,#8e44ad)!important}.loading-spinner-inline{animation:spin 1s linear infinite;border:4px solid #e9ecef;border-radius:50%;border-top-color:#3498db;height:40px;margin:0 auto 1rem;width:40px}.quiz-complete-motivational{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:15px;color:#fff;margin:1rem 0;padding:1.5rem;text-align:center}.quiz-complete-motivational p{font-size:1.1rem;font-style:italic;line-height:1.4;margin:0}.primary-actions{margin:1.5rem 0}.continue-to-next-button:hover{box-shadow:0 6px 20px #27ae6066!important;transform:translateY(-2px)!important}.retry-quiz-button:hover{box-shadow:0 5px 15px #3498db66!important;transform:translateY(-2px)!important}.nav-button:hover{opacity:.9;transform:translateY(-2px)}.loading-container{animation:pulse 2s ease-in-out infinite}.module-practice-section{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:2px solid #dee2e6;border-radius:15px;margin-top:1.5rem;padding:1.5rem}.module-practice-section h5{color:#495057;font-size:1.3rem;font-weight:700;margin:0 0 1rem;text-align:center}.module-buttons-container{display:flex;flex-direction:column;gap:1rem}.module-practice-card{align-items:center;background:#fff;border:2px solid #e9ecef;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;padding:1.2rem;transition:all .3s ease}.module-practice-card:hover{border-color:#007bff;box-shadow:0 4px 16px #00000026;transform:translateY(-2px)}.module-info{flex:1 1;margin-right:1rem;text-align:left}.module-info h6{color:#343a40;font-size:1.1rem;font-weight:700;margin:0 0 .5rem}.avg-mastery,.module-kcs{margin:.3rem 0}.module-kcs small{color:#6c757d;font-size:.85rem;line-height:1.3}.avg-mastery small{color:#17a2b8;font-size:.85rem;font-weight:600}.module-practice-button{align-items:center;background:linear-gradient(135deg,#007bff,#0056b3);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:700;gap:.5rem;justify-content:center;min-width:180px;padding:.8rem 1.5rem;transition:all .3s ease}.module-practice-button:hover{background:linear-gradient(135deg,#0056b3,#003d82);box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}.module-practice-button:active{box-shadow:0 2px 6px #007bff33;transform:translateY(0)}.module-practice-button .btn-icon{font-size:1.1rem}@media (max-width:768px){.module-practice-card{align-items:stretch;flex-direction:column;gap:1rem}.module-info{margin-right:0;text-align:center}.module-practice-button{width:100%}}.sound-toggle-btn{align-items:center;background:#fff;border:1px solid #ddd;border-radius:8px;cursor:pointer;display:flex;font-size:14px;gap:5px;padding:5px 10px;transition:all .2s ease}.sound-toggle-btn:hover{background:#f5f5f5;border-color:#ccc;box-shadow:0 2px 4px #0000001a}.sound-toggle-btn:active{transform:scale(.98)}.sound-toggle-btn .btn-icon{font-size:16px}.sound-on .btn-icon{animation:pulse 1.5s infinite;color:#4caf50}.quiz-completion .sound-toggle-btn{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff26;border:1px solid #ffffff4d;color:#fff;padding:8px 15px;text-shadow:0 1px 2px #0003}.quiz-completion .sound-toggle-btn:hover{background:#ffffff40;border-color:#fff6}.kid-friendly-sound-toggle{background:linear-gradient(145deg,#ffd54f,#ffb74d);border:3px solid #ffa726;border-radius:50px;box-shadow:0 4px 8px #0003;font-family:Comic Sans MS,cursive;padding:10px 15px}.kid-friendly-sound-toggle:hover{background:linear-gradient(145deg,#ffb74d,#ffa726);transform:translateY(-2px)}@media (max-width:768px){.sound-toggle-btn{padding:8px}.sound-toggle-btn span:not(.btn-icon){display:none}}.student-progress{background-color:#f9f9f9;border-radius:15px;box-shadow:0 5px 15px #0000001a;font-family:Comic Sans MS,Bubblegum Sans,cursive;margin:0 auto;max-width:1000px;padding:25px}.progress-header{background:linear-gradient(135deg,gold,orange);border-bottom:3px solid #4a90e2;border-radius:15px;margin-bottom:30px;padding:20px;position:relative;text-align:center}.orange-theme .progress-header{background:linear-gradient(135deg,#ff9f43,#f39c12);border-bottom:3px solid #e67e22}.blue-theme .progress-header{background:linear-gradient(135deg,#3b82f6,#2563eb);border-bottom:3px solid #1d4ed8}.green-theme .progress-header{background:linear-gradient(135deg,#10b981,#059669);border-bottom:3px solid #047857}.peach-theme .progress-header{background:linear-gradient(135deg,#fb7185,#f43f5e);border-bottom:3px solid #e11d48}.purple-theme .progress-header{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-bottom:3px solid #6d28d9}.teal-theme .progress-header{background:linear-gradient(135deg,#06b6d4,#0891b2);border-bottom:3px solid #0e7490}.progress-header h1{color:#fff;font-size:2.5em;font-weight:700;margin-bottom:10px;text-shadow:2px 2px 4px #0003}.progress-header h1:before{content:"📊";font-size:32px;margin-right:10px}.progress-header p{color:#fff;font-size:1.2em}.progress-summary{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:40px}.summary-card{background-color:#fff;border:2px solid #e9ecef;border-radius:15px;box-shadow:0 4px 10px #0000001a;padding:20px;transition:transform .3s,box-shadow .3s}.summary-card:hover{border-color:#4a90e2;box-shadow:0 8px 15px #00000026}.summary-card h3{color:#2c3e50;font-size:1.5em;margin-bottom:15px}.summary-card:first-child h3:before{content:"��";margin-right:8px}.summary-card:nth-child(2) h3:before{content:"📚";margin-right:8px}.summary-card:nth-child(3) h3:before{content:"🎯";margin-right:8px}.mastery-percentage{color:#4a90e2;display:block;font-size:2.5em;margin:15px 0}.topics-count{color:#27ae60}.activity-count,.topics-count{display:block;font-size:36px;font-weight:700;margin:15px 0}.activity-count{color:#f39c12}.summary-card p{font-size:16px}.mastery-bar{border-radius:10px;height:20px;margin:10px 0}.mastery-fill{background:linear-gradient(90deg,#4a90e2,#357abd);border-radius:10px}.mastery-chart{background:#fff;border-radius:15px;box-shadow:0 4px 10px #0000001a;margin-bottom:40px;padding:25px}.mastery-chart h2{color:#2c3e50;font-size:1.8em;margin-bottom:20px;text-align:center}.mastery-chart h2:before{content:"📈";margin-right:10px}.chart-container{height:400px;margin:20px 0}.filter-controls{background:#fff;border-radius:15px;box-shadow:0 4px 10px #0000001a;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:30px;padding:20px}.filter-controls,.filter-group{align-items:center;display:flex}.filter-group{gap:10px}.filter-group label{color:#2c3e50;font-size:1em;font-weight:600}.filter-select{background:#fff;border:2px solid #e9ecef;border-radius:8px;color:#2c3e50;font-size:1em;padding:8px 12px;transition:border-color .3s}.filter-select:focus{border-color:#4a90e2;outline:none}.filter-group input[type=checkbox]{accent-color:#4a90e2;height:18px;width:18px}.results-info{color:#6c757d;font-size:.95em;font-style:italic}.topic-cards-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin:20px 0}.topic-card{border:2px solid #0000;box-shadow:0 4px 15px #0000001a;padding:20px}.topic-card:hover{border-color:#4a90e2;box-shadow:0 8px 25px #00000026}.topic-card.not-started{background:linear-gradient(135deg,#f8f9fa,#fff);border-color:#e9ecef}.topic-card.not-started:before{background:#f39c12;border-radius:10px;color:#fff;content:"NEW";font-size:.7em;font-weight:700;padding:2px 8px;position:absolute;right:10px;top:10px}.topic-header{align-items:flex-start;gap:15px;margin-bottom:20px}.topic-emoji{flex-shrink:0;font-size:2.5em}.topic-title{flex:1 1}.topic-title h4{color:#2c3e50;font-size:1.2em;font-weight:600;line-height:1.3;margin:0 0 5px}.curriculum-code{border-radius:12px;color:#6c757d;font-size:.8em;font-weight:500;padding:2px 8px}.topic-progress{align-items:center;display:flex;gap:20px;margin-bottom:20px}.progress-circle{flex-shrink:0;height:80px;width:80px}.circular-chart{display:block;margin:0 auto;max-height:80px;max-width:80px}.circle-bg{stroke:#eee}.circle,.circle-bg{fill:none;stroke-width:2.8}.circle{stroke-linecap:round;transition:stroke-dasharray .6s ease}.circular-chart .percentage{fill:#2c3e50;text-anchor:middle;font-family:Comic Sans MS,sans-serif;font-size:.4em;font-weight:700}.mastery-status{color:#2c3e50;flex:1 1;font-size:1em;font-weight:600;text-align:center}.topic-actions{margin-bottom:15px;text-align:center}.practice-button,.start-button{border:none;border-radius:25px;cursor:pointer;display:inline-block;font-size:.95em;font-weight:600;min-width:140px;padding:10px 20px;text-decoration:none;transition:all .3s ease}.practice-button{background:linear-gradient(135deg,#4a90e2,#357abd);color:#fff}.practice-button:hover{background:linear-gradient(135deg,#357abd,#2968a3);box-shadow:0 4px 15px #4a90e24d;transform:translateY(-2px)}.start-button{background:linear-gradient(135deg,#27ae60,#219a52);color:#fff}.start-button:hover{background:linear-gradient(135deg,#219a52,#1e8449);box-shadow:0 4px 15px #27ae604d;transform:translateY(-2px)}.orange-theme .practice-button{background:linear-gradient(135deg,#ff9f43,#f39c12)}.orange-theme .practice-button:hover{background:linear-gradient(135deg,#f39c12,#e67e22);box-shadow:0 4px 15px #ff9f434d}.orange-theme .start-button{background:linear-gradient(135deg,#ff9f43,#f39c12)}.orange-theme .start-button:hover{background:linear-gradient(135deg,#f39c12,#e67e22);box-shadow:0 4px 15px #ff9f434d}.blue-theme .practice-button{background:linear-gradient(135deg,#3b82f6,#2563eb)}.blue-theme .practice-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 15px #3b82f64d}.blue-theme .start-button{background:linear-gradient(135deg,#3b82f6,#2563eb)}.blue-theme .start-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 15px #3b82f64d}.green-theme .practice-button{background:linear-gradient(135deg,#10b981,#059669)}.green-theme .practice-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 15px #10b9814d}.green-theme .start-button{background:linear-gradient(135deg,#10b981,#059669)}.green-theme .start-button:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 15px #10b9814d}.peach-theme .practice-button{background:linear-gradient(135deg,#fb7185,#f43f5e)}.peach-theme .practice-button:hover{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 4px 15px #fb71854d}.peach-theme .start-button{background:linear-gradient(135deg,#fb7185,#f43f5e)}.peach-theme .start-button:hover{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 4px 15px #fb71854d}.purple-theme .practice-button{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.purple-theme .practice-button:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 15px #8b5cf64d}.purple-theme .start-button{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.purple-theme .start-button:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 15px #8b5cf64d}.teal-theme .practice-button{background:linear-gradient(135deg,#06b6d4,#0891b2)}.teal-theme .practice-button:hover{background:linear-gradient(135deg,#0891b2,#0e7490);box-shadow:0 4px 15px #06b6d44d}.teal-theme .start-button{background:linear-gradient(135deg,#06b6d4,#0891b2)}.teal-theme .start-button:hover{background:linear-gradient(135deg,#0891b2,#0e7490);box-shadow:0 4px 15px #06b6d44d}.topic-description{border-top:1px solid #e9ecef;color:#6c757d;font-size:.9em;line-height:1.4;padding-top:15px}.chart-toggle{margin:20px 0;text-align:center}.toggle-chart-btn{background:#6c757d;border:none;border-radius:25px;color:#fff;cursor:pointer;font-size:.9em;padding:10px 20px;transition:all .3s ease}.toggle-chart-btn:hover{background:#5a6268;transform:translateY(-2px)}.pagination-controls{align-items:center;display:flex;gap:20px;justify-content:center;margin-top:20px}.pagination-button{background:#4a90e2;border:none;border-radius:25px;color:#fff;font-size:1em;padding:10px 20px}.pagination-button:hover:not(:disabled){background:#357abd;transform:translateY(-2px)}.pagination-button:disabled{background:#ccc}.page-indicator{color:#2c3e50;font-size:1.1em}.curriculum-areas{margin-bottom:40px}.curriculum-areas h2{color:#2c3e50;font-size:1.8em;margin-bottom:20px;text-align:center}.curriculum-areas h2:before{content:"��";margin-right:10px}.area-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.area-card{background:#fff;border-radius:15px;box-shadow:0 4px 10px #0000001a;padding:20px;text-align:center;transition:transform .3s}.area-card:hover{transform:translateY(-5px)}.area-header{margin-bottom:15px}.area-emoji{font-size:2em;margin-right:10px}.area-header h3{color:#2c3e50;font-size:1.3em;margin:10px 0}.area-chart-container{height:150px;margin:0 auto;position:relative;width:150px}.doughnut-center{left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.doughnut-percentage{color:#2c3e50;font-size:1.8em;font-weight:700}.area-details{margin-top:15px}.area-details p{color:#2c3e50;margin:5px 0}.mastery-label{font-size:1.1em;font-weight:700}.recent-activity{background:#fff;border-radius:15px;box-shadow:0 4px 10px #0000001a;padding:25px}.recent-activity h2{color:#2c3e50;font-size:1.8em;margin-bottom:20px;text-align:center}.recent-activity h2:before{content:"��";margin-right:10px}.activity-list{display:flex;flex-direction:column;gap:15px}.activity-item{align-items:center;border-radius:10px;justify-content:space-between;padding:15px;transition:transform .3s}.activity-item:hover{transform:translateX(5px)}.activity-content h4{color:#2c3e50;font-size:1.1em;margin:0 0 5px}.activity-content p{color:#6c757d;margin:0}.activity-result{border-radius:15px;font-weight:700;padding:5px 15px}.activity-result.correct{background:#e8f5e9;color:#2e7d32}.activity-result.incorrect{background:#ffebee;color:#c62828}.no-activity{color:#6c757d;font-style:italic;text-align:center}.progress-actions{margin-top:30px;text-align:center}.button{background:linear-gradient(135deg,#4a90e2,#357abd);border-radius:25px;font-size:1.1em;padding:12px 30px;transition:all .3s ease}.button:hover{box-shadow:0 4px 15px #4a90e24d}.error-container,.loading{font-size:1.2em;padding:50px}.error-container h2,.loading h2{color:#2c3e50;margin-bottom:15px}.error-container button{background:#4a90e2;font-size:1em;margin-top:15px;padding:10px 20px}.error-container button:hover{background:#357abd}@media (max-width:768px){.student-progress{padding:15px}.progress-header h1{font-size:2em}.progress-header p{font-size:1em}.chart-container{height:300px}.area-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.filter-controls{align-items:flex-start;flex-direction:column;gap:15px}.topic-cards-grid{grid-template-columns:1fr}.topic-progress{flex-direction:column;gap:10px;text-align:center}.progress-circle{height:60px;width:60px}.circular-chart{max-height:60px;max-width:60px}}@media (max-width:480px){.progress-header h1{font-size:1.8em}.summary-card{padding:15px}.mastery-percentage{font-size:2em}.area-chart-container{height:120px;width:120px}.doughnut-percentage{font-size:1.5em}.topic-card{padding:15px}.topic-header{gap:10px}.topic-emoji{font-size:2em}.filter-select{min-width:120px}}.student-profile{font-family:Comic Sans MS,Bubblegum Sans,cursive;margin:0 auto;max-width:800px;padding:20px}.profile-header{background:linear-gradient(135deg,gold,orange);border-radius:20px;box-shadow:0 4px 15px #0000001a;margin-bottom:30px;padding:20px;text-align:center}.profile-header h1{color:#fff;font-size:2.5em;margin-bottom:10px;text-shadow:2px 2px 4px #0003}.profile-header p{color:#fff;font-size:1.2em}.profile-content{background:#fff;border-radius:20px;box-shadow:0 4px 15px #0000001a;padding:30px}.profile-avatar-section{margin-bottom:30px;text-align:center}.profile-avatar-section h3{color:#2c3e50;font-size:1.5em;margin-bottom:15px}.avatar-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(5,1fr);margin-bottom:20px}.avatar-option{background:#fff;border:3px solid #e0e0e0;border-radius:15px;cursor:pointer;font-size:2em;padding:15px;transition:all .3s ease}.avatar-option.selected,.avatar-option:hover{border-color:#4a90e2;transform:scale(1.1)}.avatar-option.selected{background:#e8f4ff}.profile-form{margin:0 auto;max-width:600px}.form-group label{font-size:1.1em}.form-group input,.form-group select{border:2px solid #e0e0e0;border-radius:10px;font-family:inherit;font-size:1em;padding:12px;transition:border-color .3s ease;width:100%}.form-group input:focus,.form-group select:focus{border-color:#4a90e2;outline:none}.color-options{display:flex;flex-wrap:wrap;gap:15px}.color-option{border:3px solid #e0e0e0;border-radius:50%;cursor:pointer;height:40px;transition:all .3s ease;width:40px}.color-option:hover{transform:scale(1.1)}.color-option.selected{border-color:#2c3e50;transform:scale(1.1)}.error-message{background:#ffebee;border-radius:10px;color:#c62828}.success-message{background:#e8f5e9;border-radius:10px;color:#2e7d32;margin-bottom:20px}.form-actions{margin-top:30px;text-align:center}.save-button{background:linear-gradient(135deg,#4a90e2,#357abd);border:none;border-radius:25px;color:#fff;cursor:pointer;font-family:inherit;font-size:1.1em;padding:12px 30px;transition:all .3s ease}.save-button:hover{box-shadow:0 4px 15px #4a90e24d;transform:translateY(-2px)}.save-button:disabled{background:#ccc;box-shadow:none;cursor:not-allowed;transform:none}.profile-loading{font-family:inherit;padding:50px;text-align:center}.profile-loading h2{color:#2c3e50;margin-bottom:15px}.profile-loading p{color:#7f8c8d}@media (max-width:768px){.student-profile{padding:15px}.avatar-grid{grid-template-columns:repeat(3,1fr)}.profile-header h1{font-size:2em}.profile-header p{font-size:1em}}@media (max-width:480px){.avatar-grid{grid-template-columns:repeat(2,1fr)}.profile-header h1{font-size:1.8em}.color-options{justify-content:center}}.deped-module-dashboard{background:linear-gradient(135deg,#f8f9fa,#e9ecef);margin:0 auto;max-width:1400px;min-height:100vh;padding:2rem}.dashboard-header{margin-bottom:2.5rem}.dashboard-header h1{font-weight:700}.dashboard-header p{font-size:1.2rem;margin:0 auto;max-width:600px}.quarter-navigation{grid-gap:1rem;background:#fff;border-radius:15px;box-shadow:0 4px 12px #0000001a;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2.5rem;padding:1rem}.quarter-tab{background:#f8f9fa;border:2px solid #e9ecef;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;min-height:100px;padding:1rem;position:relative;text-align:left;transition:all .3s ease}.quarter-tab:hover{border-color:#007bff;box-shadow:0 6px 16px #007bff26;transform:translateY(-2px)}.quarter-tab.active{background:linear-gradient(135deg,#007bff,#0056b3);border-color:#0056b3;box-shadow:0 8px 20px #007bff4d;color:#fff;transform:translateY(-2px)}.quarter-number{display:block;font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.quarter-title{display:block;font-size:.9rem;line-height:1.3;margin-bottom:.75rem;opacity:.8}.quarter-progress{border-radius:3px;height:6px;margin-bottom:.5rem;overflow:hidden;position:relative}.quarter-progress,.quarter-tab.active .quarter-progress{background:#ffffff4d}.quarter-tab:not(.active) .quarter-progress{background:#e9ecef}.quarter-progress-bar{background:#28a745;border-radius:3px;height:100%;transition:width .3s ease}.quarter-tab.active .quarter-progress-bar{background:#fff}.quarter-percentage{font-size:.8rem;font-weight:700;opacity:.9}.quarter-content{background:#fff;border-radius:15px;box-shadow:0 4px 12px #0000001a;padding:2rem}.quarter-header{border-bottom:2px solid #e9ecef;margin-bottom:2rem;padding-bottom:1rem}.quarter-header h2{color:#2c3e50;font-size:1.8rem;margin:0}.quarter-stats{align-items:center;display:flex;gap:1.5rem}.quarter-stats span{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;color:#495057;font-size:.9rem;padding:.5rem 1rem}.modules-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));padding:1rem 0}.module-card{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 4px 8px #0000001a;overflow:hidden;padding:1.5rem;position:relative;transition:all .3s ease}.module-card:hover{border-color:#007bff;box-shadow:0 8px 20px #00000026;transform:translateY(-4px)}.module-card.completed{background:linear-gradient(135deg,#fff,#f8fff9);border-left:5px solid #28a745}.module-card.locked{background:#f8f9fa;border-color:#e9ecef;opacity:.6}.module-card.locked:hover{border-color:#e9ecef;transform:none}.module-header{margin-bottom:1rem}.module-number{background:linear-gradient(135deg,#007bff,#0056b3);border-radius:20px;color:#fff;font-size:.9rem;font-weight:700;padding:.4rem 1rem}.module-melc-count{background:#e9ecef;border-radius:15px;color:#495057;font-size:.8rem;font-weight:500;padding:.3rem .8rem}.module-content{margin-bottom:1.5rem}.module-title{-webkit-line-clamp:2;color:#2c3e50;font-size:1.1rem;font-weight:600;line-height:1.4;margin:0 0 .75rem}.module-description,.module-title{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.module-description{-webkit-line-clamp:3;color:#6c757d;font-size:.9rem;line-height:1.5;margin-bottom:1rem}.module-metrics{grid-gap:.75rem;background:#f8f9fa;border-radius:8px;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));margin-bottom:1rem;padding:1rem}.metric.progress{background:#28a7451a;border-radius:6px;padding:.5rem}.metric-label{color:#6c757d;display:block;font-size:.75rem;font-weight:500;margin-bottom:.25rem}.metric-value{font-size:1rem}.metric.progress .metric-value{color:#28a745}.module-stats{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.stat{background:#e3f2fd;border-radius:12px;color:#1976d2;font-size:.8rem;font-weight:500;padding:.25rem .75rem}.stat.accuracy{background:#e8f5e8;color:#2e7d32}.last-activity{color:#6c757d;font-size:.8rem;font-style:italic;margin-bottom:.5rem}.module-actions{text-align:center}.start-module-button{align-items:center;background:linear-gradient(135deg,#28a745,#20c997);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:700;gap:.5rem;justify-content:center;padding:.75rem 1.5rem;transition:all .3s ease;width:100%}.start-module-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1ea88a);box-shadow:0 4px 12px #28a7454d;transform:translateY(-2px)}.start-module-button:disabled{background:#6c757d;box-shadow:none;cursor:not-allowed;transform:none}.start-module-button .continue-icon,.start-module-button .lock-icon,.start-module-button .review-icon,.start-module-button .start-icon{font-size:1rem}.completion-badge{align-items:center;background:#28a745;border-radius:15px;color:#fff;display:flex;font-size:.8rem;font-weight:700;gap:.3rem;padding:.3rem .8rem;position:absolute;right:1rem;top:1rem}.check-icon{font-size:.9rem}.error-container,.loading-container{color:#2c3e50;padding:4rem 2rem;text-align:center}.loading-spinner{margin:0 auto 1.5rem}.error-container button{background:#dc3545;border-radius:8px;font-weight:500;padding:.75rem 1.5rem;transition:background-color .3s ease}.error-container button:hover{background:#c82333}.no-modules-message{background:#fff;border-radius:15px;box-shadow:0 4px 12px #0000001a;padding:3rem;text-align:center}.no-modules-message h3{color:#2c3e50;margin-bottom:1rem}.no-modules-message p{color:#6c757d;font-size:1.1rem}@media (max-width:768px){.deped-module-dashboard{padding:1rem}.dashboard-header h1{font-size:2rem}.dashboard-header p{font-size:1rem}.quarter-navigation{gap:.75rem;grid-template-columns:1fr}.quarter-tab{min-height:80px;padding:.75rem}.quarter-header{gap:1rem}.quarter-header,.quarter-stats{align-items:flex-start;flex-direction:column}.quarter-stats{gap:.5rem}.modules-grid{gap:1rem;grid-template-columns:1fr}.module-card{padding:1rem}.module-header{align-items:flex-start;flex-direction:column;gap:.5rem}.module-metrics{grid-template-columns:1fr 1fr}.module-stats{flex-direction:column;gap:.25rem}}.module-learning-container{background:linear-gradient(135deg,#f8f9fa,#e9ecef);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0 auto;max-width:1000px;min-height:100vh;padding:2rem}.module-header{background:#fff;border-radius:15px;box-shadow:0 4px 12px #0000001a;margin-bottom:2rem;padding:2rem}.back-button{background:#6c757d;color:#fff;font-weight:500;margin-bottom:1.5rem;padding:.75rem 1.5rem;transition:background-color .3s ease}.back-button:hover{background:#5a6268}.module-title-section h1{color:#2c3e50;font-size:2rem;font-weight:700;margin-bottom:1rem}.progress-info{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.lesson-badge{background:linear-gradient(135deg,#007bff,#0056b3)}.lesson-badge,.melc-badge{border-radius:20px;color:#fff;font-size:.9rem;font-weight:500;padding:.5rem 1rem}.melc-badge{background:#28a745}.overall-progress{align-items:center;display:flex;gap:1rem}.progress-bar{flex:1 1}.progress-fill{background:linear-gradient(135deg,#28a745,#20c997)}.progress-text{color:#6c757d;font-size:.9rem;font-weight:500;white-space:nowrap}.learning-content{background:#fff;border-radius:15px;box-shadow:0 4px 12px #0000001a;min-height:500px;padding:2.5rem}.step-container{margin:0 auto;max-width:800px}.step-header{border-bottom:2px solid #e9ecef;margin-bottom:2rem;padding-bottom:1rem;text-align:center}.step-type{background:#f8f9fa;border-radius:15px;color:#495057;display:inline-block;font-size:.8rem;font-weight:700;margin-bottom:.5rem;padding:.3rem 1rem;text-transform:uppercase}.step-header h2{color:#2c3e50;font-size:1.8rem;font-weight:600;margin:0}.visual-element{margin-bottom:1.5rem;text-align:center}.visual-icon{animation:gentle-bounce 2s ease-in-out infinite;display:inline-block;font-size:4rem}.content-text{color:#495057;line-height:1.6}.explanation p{font-size:1.1rem;margin-bottom:1rem}.explanation strong{color:#2c3e50}.example-section{background:#f8f9fa;border-left:4px solid #007bff;border-radius:12px;margin:1.5rem 0;padding:1.5rem}.example-section h3{color:#007bff;font-size:1.3rem;margin-bottom:1rem}.example-breakdown{grid-gap:.75rem;display:grid;gap:.75rem}.breakdown-item{align-items:center;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d;display:flex;gap:1rem;padding:.75rem 1rem}.item-visual{font-size:1.5rem;min-width:60px;text-align:center}.item-text{color:#2c3e50;flex:1 1;font-weight:500}.full-words{background:linear-gradient(135deg,#28a745,#20c997);border-radius:8px;color:#fff;margin-top:1rem;padding:1rem;text-align:center}.interactive-section{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:2px solid #ffc107;border-radius:12px;margin-top:2rem;padding:2rem}.question-box h3{color:#856404;font-size:1.4rem;margin-bottom:1.5rem;text-align:center}.options-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1.5rem}.option-button{background:#fff;border:2px solid #dee2e6;border-radius:8px;color:#495057;cursor:pointer;font-size:1.1rem;font-weight:500;padding:1rem;transition:all .3s ease}.option-button:hover{background:#f8f9fa;border-color:#007bff;transform:translateY(-2px)}.option-button.selected{background:#007bff;border-color:#0056b3;box-shadow:0 4px 12px #007bff4d;color:#fff;transform:translateY(-2px)}.answer-input{border:2px solid #dee2e6;border-radius:8px;font-size:1.2rem;font-weight:500;margin-bottom:1.5rem;padding:1rem;text-align:center;width:100%}.answer-input:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.submit-button{background:linear-gradient(135deg,#28a745,#20c997);border-radius:8px;font-size:1.1rem;margin-bottom:1rem;padding:1rem 2rem;transition:all .3s ease}.submit-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1ea88a);box-shadow:0 4px 12px #28a7454d;transform:translateY(-2px)}.submit-button:disabled{background:#6c757d;box-shadow:none;transform:none}.hint-section{align-items:flex-start;background:#fffc;border-radius:8px;display:flex;gap:.75rem;margin-top:1rem;padding:1rem}.hint-icon{font-size:1.2rem;margin-top:.1rem}.hint-text{color:#856404;font-style:italic;line-height:1.4;margin:0}.feedback-box{animation:fade-in .5s ease;border-radius:8px;font-size:1.1rem;font-weight:500;margin-top:1rem;padding:1.5rem;text-align:center}.feedback-box.correct{background:linear-gradient(135deg,#d4edda,#c3e6cb);border:2px solid #28a745;color:#155724}.feedback-box.incorrect{background:linear-gradient(135deg,#f8d7da,#f1b0b7);border:2px solid #dc3545;color:#721c24}@keyframes fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.navigation-controls{align-items:center;border-top:2px solid #e9ecef;display:flex;justify-content:space-between;margin-top:3rem;padding-top:2rem}.nav-button{background:#007bff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .3s ease}.nav-button:hover:not(:disabled){background:#0056b3;transform:translateY(-2px)}.nav-button:disabled{background:#6c757d;cursor:not-allowed;transform:none}.nav-button.prev{background:#6c757d}.nav-button.prev:hover:not(:disabled){background:#5a6268}.complete-button{animation:pulse 2s infinite;background:linear-gradient(135deg,#28a745,#20c997);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;padding:1rem 2rem;transition:all .3s ease}.complete-button:hover{background:linear-gradient(135deg,#218838,#1ea88a);box-shadow:0 4px 12px #28a7454d;transform:translateY(-2px)}.loading-spinner{border:4px solid #e9ecef;border-top-color:#007bff;margin:0 auto 1rem}.error-message{background:#fff;border-radius:15px;box-shadow:0 4px 12px #0000001a;padding:3rem}.error-message h2{color:#dc3545;margin-bottom:1rem}.error-message p{color:#6c757d;margin-bottom:1.5rem}.error-message button{background:#007bff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:.75rem 1.5rem}.error-message button:hover{background:#0056b3}@media (max-width:768px){.module-learning-container{padding:1rem}.learning-content,.module-header{padding:1.5rem}.step-header h2{font-size:1.5rem}.visual-icon{font-size:3rem}.options-grid{grid-template-columns:1fr}.navigation-controls{flex-direction:column;gap:1rem}.complete-button,.nav-button{width:100%}.overall-progress,.progress-info{flex-direction:column;gap:.5rem}.overall-progress{align-items:stretch}}.mastery-dashboard{background:linear-gradient(135deg,#f6f9fc,#e9f2f9);font-family:Comic Sans MS,Segoe UI,sans-serif;min-height:100vh;padding:2rem}.dashboard-header{border-radius:20px;box-shadow:0 4px 15px #0000001a;padding:1.5rem;text-align:center}.dashboard-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(45deg,#3498db,#2ecc71);-webkit-background-clip:text;color:#2c3e50;font-size:2.5rem;margin-bottom:1rem;text-shadow:2px 2px 4px #0000001a}.stats-container{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;margin:1.5rem 0}.stat-item{background:#fff;border-radius:15px;box-shadow:0 4px 10px #0000000d;min-width:200px;padding:1rem 1.5rem;transition:transform .3s ease}.stat-item:hover{transform:translateY(-5px)}.stat-label{font-size:1rem;margin-bottom:.5rem}.stat-value{font-size:1.5rem}.daily-goal{background:linear-gradient(135deg,#f1c40f,#f39c12)}.daily-goal .stat-label,.daily-goal .stat-value{color:#fff}.goal-progress{margin-top:.5rem}.progress-bar{background:#ffffff4d;border-radius:5px;height:10px;margin-bottom:.5rem}.progress-fill{background:#fff;border-radius:5px}.goal-text{color:#fff;font-size:.9rem}.overall-mastery{margin:2rem 0}.mastery-circle,.overall-mastery{display:flex;justify-content:center}.mastery-circle{align-items:center;background:#fff;border:8px solid;border-radius:50%;box-shadow:0 4px 15px #0000001a;flex-direction:column;height:150px;transition:transform .3s ease;width:150px}.mastery-circle:hover{transform:scale(1.05)}.mastery-percentage{font-size:2.5rem}.mastery-label{font-size:1rem;margin-top:.5rem}.topics-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin:2rem 0}.topic-card{background:#fff;border-left:5px solid;border-radius:15px;box-shadow:0 4px 10px #0000000d;cursor:pointer;overflow:hidden;padding:1.5rem;position:relative;transition:all .3s ease}.topic-card:before{background:linear-gradient(45deg,#0000,#ffffff1a,#0000);content:"";height:100%;left:0;position:absolute;top:0;transform:translateX(-100%);transition:transform .6s ease;width:100%}.topic-card:hover{box-shadow:0 8px 20px #0000001a;transform:translateY(-5px)}.topic-card:hover:before{transform:translateX(100%)}.topic-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.topic-header h3{color:#2c3e50;font-size:1.2rem;margin:0}.mastery-emoji{font-size:1.5rem}.mastery-bar{background:#f0f0f0;height:10px;margin:1rem 0}.mastery-bar,.mastery-fill{border-radius:5px}.mastery-percentage{font-size:1.2rem}.difficulty-badge{background:#f0f0f0;border-radius:20px;color:#2c3e50;display:inline-block;font-size:.9rem;font-weight:700;padding:.3rem .8rem}.mastery-message{color:#7f8c8d;font-size:.9rem;margin:.5rem 0 0}.dashboard-actions{margin-top:2rem;text-align:center}.start-challenge-button{background:linear-gradient(45deg,#3498db,#2ecc71);border:none;border-radius:30px;box-shadow:0 4px 15px #0000001a;color:#fff;cursor:pointer;font-size:1.2rem;padding:1rem 2rem;transition:all .3s ease}.start-challenge-button:hover{box-shadow:0 6px 20px #00000026;transform:translateY(-3px)}.topic-details-modal{align-items:center;background:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.modal-content{border-radius:20px;box-shadow:0 4px 20px #0003;max-width:500px;width:90%}.close-button{color:#7f8c8d;position:absolute;right:1rem;top:1rem;transition:color .3s ease}.close-button:hover{color:#2c3e50}.topic-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr;margin:1.5rem 0}.practice-topic-button{background:linear-gradient(45deg,#3498db,#2ecc71);border:none;border-radius:25px;color:#fff;cursor:pointer;font-size:1rem;margin-top:1rem;padding:.8rem 1.5rem;transition:all .3s ease;width:100%}.practice-topic-button:hover{box-shadow:0 4px 15px #0000001a;transform:translateY(-2px)}.congratulations-modal{align-items:center;background:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.congratulations-modal .modal-content{animation:bounce .5s ease;text-align:center}.badge-animation{animation:float 2s ease-in-out infinite;font-size:4rem;margin:1rem 0}.loading-container{padding:2rem}.loading-animation{animation:spin 1s linear infinite;font-size:3rem}.error-container{background:#fff;border-radius:20px;box-shadow:0 4px 15px #0000001a;margin:2rem auto;max-width:500px;padding:2rem}.error-container button{background:linear-gradient(45deg,#3498db,#2ecc71);border-radius:25px;font-size:1rem;padding:.8rem 1.5rem;transition:all .3s ease}.error-container button:hover{box-shadow:0 4px 15px #0000001a}@media (max-width:768px){.mastery-dashboard{padding:1rem}.dashboard-header h1{font-size:2rem}.stats-container{align-items:center;flex-direction:column}.stat-item{max-width:300px;width:100%}.topics-grid{grid-template-columns:1fr}.mastery-circle{height:120px;width:120px}.mastery-percentage{font-size:2rem}}.student-inbox{margin:0 auto;max-width:1000px;padding:20px}.inbox-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.inbox-header h1{color:#4a6fa5;margin:0}.message-list{background-color:#fff;border-radius:8px;box-shadow:0 2px 5px #0000001a;overflow:hidden}.message-item{border-bottom:1px solid #eee;cursor:pointer;padding:15px 20px;transition:background-color .2s}.message-item:hover{background-color:#f9f9f9}.message-item:last-child{border-bottom:none}.message-item.unread{background-color:#f0f7ff;font-weight:500}.message-info{display:flex;justify-content:space-between;margin-bottom:5px}.message-from{align-items:center;display:flex}.unread-badge{background-color:#4a6fa5;border-radius:10px;color:#fff;font-size:.7rem;margin-left:10px;padding:2px 8px}.message-date{color:#666;font-size:.85rem}.message-preview{color:#555;font-size:.9rem}.no-messages{box-shadow:0 2px 5px #0000001a;color:#666;padding:40px;text-align:center}.modal-content,.no-messages{background-color:#fff;border-radius:8px}.modal-content{box-shadow:0 4px 15px #0003;max-height:90vh;width:550px}.modal-header{border-bottom:1px solid #eee;padding:15px 20px}.modal-header h2{color:#4a6fa5;font-size:1.2rem}.close-button{color:#666}.message-metadata{border-bottom:1px solid #eee;margin-bottom:15px;padding-bottom:15px}.message-metadata p{color:#555;margin:5px 0}.message-content{line-height:1.5}.message-content p{margin:0 0 10px}.modal-footer{border-top:1px solid #eee;padding:15px 20px}.modal-footer button{background-color:#4a6fa5;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:8px 16px}.loading-container{padding:50px}.loading-spinner{border:3px solid #f3f3f3;border-top-color:#4a6fa5;height:30px;width:30px}.error-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 5px #0000001a}.error-container button{margin-top:20px;padding:8px 16px}.app-header{background:linear-gradient(135deg,#fefcf5,#fffdfa);box-shadow:0 3px 8px #005a9c26;color:#2c3e50;overflow:hidden;padding:15px 0;position:relative}.app-header .logo{font-size:24px;font-weight:700}.app-header .logo a{align-items:flex-start;color:#2c3e50;display:flex;flex-direction:column;text-decoration:none}.logo-main{align-items:center;display:flex;gap:16px}.logo-icon{animation:gentle-bounce 2s ease-in-out infinite;display:inline-block;height:56px;object-fit:contain;width:56px}.logo-title{animation:subtle-glow 3s ease-in-out infinite;color:#2c3e50;font-size:24px;font-weight:700;text-shadow:0 1px 2px #0000001a}.logo-subtitle{color:#005a9c;font-size:15px;font-weight:600;letter-spacing:.3px;line-height:1.3;margin-top:0;opacity:1;text-shadow:0 1px 2px #005a9c1a;white-space:nowrap}@keyframes subtle-glow{0%,to{text-shadow:0 1px 2px #0000001a}50%{text-shadow:0 1px 4px #005a9c4d,0 1px 2px #0000001a}}.app-header .main-nav{align-items:center;display:flex;gap:20px;margin-top:15px}.app-header .main-nav a{border-radius:6px;color:#005a9c;font-weight:500;padding:8px 12px;position:relative;text-decoration:none;transition:all .3s ease}.app-header .main-nav a:hover{background-color:#005a9c1a;color:#005a9c;transform:translateY(-1px)}.app-header .main-nav a.active{background-color:#005a9c;color:#fff;font-weight:600}.app-header .main-nav a.active:after{background-color:#fff;border-radius:1px;bottom:2px;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:20px}.logout-button{background:linear-gradient(135deg,#e74c3c,#c0392b);border:none;border-radius:6px;box-shadow:0 2px 4px #e74c3c4d;color:#fff;cursor:pointer;font-weight:500;margin-left:auto;padding:8px 16px;transition:all .3s ease}.logout-button:hover{background:linear-gradient(135deg,#c0392b,#a93226);box-shadow:0 3px 6px #e74c3c4d;transform:translateY(-1px)}.mobile-menu-toggle{background:none;border:none;cursor:pointer;display:none;padding:10px;position:relative;z-index:1001}.hamburger-line{background-color:#005a9c;border-radius:2px;display:block;height:3px;margin:5px 0;transition:.3s;width:28px}.mobile-menu-toggle:hover .hamburger-line{background-color:#003d6b}@media (min-width:768px){.app-header{padding:0}.app-header .container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1200px;padding:15px 20px}.app-header .logo{margin-bottom:0}.app-header .main-nav{margin-top:0}}@media (max-width:767px){.mobile-menu-toggle{display:block;position:fixed;right:15px;top:15px}.main-nav{align-items:stretch;background:linear-gradient(135deg,#fefcf5,#fffdfa);box-shadow:-2px 0 10px #0000001a;flex-direction:column;gap:5px;height:100vh;overflow-y:auto;padding:80px 20px 20px;position:fixed;right:-100%;top:0;transition:right .3s ease;width:280px;z-index:1000}.main-nav.mobile-open{right:0}.main-nav a{border-radius:8px;display:block;font-size:16px;margin-bottom:5px;padding:15px 20px;text-align:left;width:100%}.main-nav a:active{background-color:#005a9c33}.logout-button{font-size:16px;margin-top:20px;padding:12px 20px;width:100%}.app-header{padding:15px;position:relative}.app-header .container{padding-right:60px}.logo-main{align-items:flex-start;flex-direction:column;gap:8px}.logo-icon{height:42px;width:42px}.logo-subtitle{font-size:12px;letter-spacing:.2px;line-height:1.2;margin-top:0;white-space:normal}.main-nav.mobile-open:before{background:#0000004d;bottom:0;content:"";left:0;position:fixed;right:0;top:0;z-index:-1}.logout-button,.main-nav a{align-items:center;display:flex;min-height:44px}.app-header{-webkit-user-select:none;user-select:none}.logout-button:active,.main-nav a:active{transform:scale(.98)}}@media (max-width:767px) and (orientation:landscape){.main-nav{padding-top:60px}.logo-icon{height:36px;width:36px}}.login-container{align-items:center;background:linear-gradient(135deg,#00539c,#07c);display:flex;font-family:Comic Sans MS,Chalkboard SE,cursive;justify-content:center;min-height:100vh;padding:20px}.login-card{animation:float 3s ease-in-out infinite;background-color:#fff;border:3px solid #ffd100;border-radius:20px;box-shadow:0 15px 35px #00539c33;max-width:500px;padding:40px;transition:transform .3s ease;width:100%}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-10px)}to{transform:translateY(0)}}.login-card:hover{transform:translateY(-5px)}.login-header{margin-bottom:30px;text-align:center}.login-header h1{color:#00539c;font-size:36px;margin-bottom:15px;text-shadow:2px 2px 4px #00539c1a}.login-header p{color:#4a4a4a;font-size:20px}.form-group,.login-form{margin-bottom:25px}.form-group label{color:#00539c;font-size:18px;margin-bottom:12px}.label-icon{font-size:20px;margin-right:8px}.child-friendly-input{background-color:#fff9e6;border:3px solid #ffd100;border-radius:12px;font-size:18px;padding:15px;transition:all .3s ease;width:100%}.child-friendly-input:focus{border-color:#00539c;box-shadow:0 0 0 3px #00539c33;outline:none}.error-message{background-color:#fff5f5;border-left:4px solid #e31837;border-radius:12px;color:#e31837;font-size:16px;gap:10px}.error-icon,.login-button{font-size:20px}.login-button{background-color:#00539c;border:none;border-radius:12px;color:#fff;cursor:pointer;font-weight:700;letter-spacing:1px;padding:15px;text-transform:uppercase;transition:all .3s ease;width:100%}.login-button:hover{background-color:#07c;transform:scale(1.02)}.login-button:disabled{background-color:#b0c4de;cursor:not-allowed;transform:none}.login-footer{color:#4a4a4a;font-size:16px;margin-top:25px;text-align:center}.signup-link{color:#00539c;font-weight:700;text-decoration:none;transition:color .3s}.signup-link:hover{color:#07c;text-decoration:underline}.demo-accounts{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;margin-top:30px;padding:15px}.demo-accounts h3{color:#4a5568;font-size:16px;margin-bottom:10px}.account-list{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.account-item{background-color:#fff;border:1px solid #e2e8f0;border-radius:5px;font-size:14px;padding:10px}.account-role{color:#4a90e2;font-weight:600;margin-bottom:3px}.account-email{color:#4a5568}.account-password{color:#718096;font-family:monospace;margin-top:3px}@media (max-width:480px){.login-card{padding:30px}.login-header h1{font-size:28px}.login-header p{font-size:18px}.form-group label{font-size:16px}.child-friendly-input{font-size:16px;padding:12px}.login-button{font-size:18px;padding:12px}}.login-improved-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;font-family:Nunito,Comic Sans MS,Arial,sans-serif;justify-content:center;min-height:100vh;overflow:hidden;padding:20px;position:relative}.login-improved-container:after,.login-improved-container:before{animation:float-bg 20s ease-in-out infinite;background:#ffffff1a;border-radius:50%;content:"";position:absolute}.login-improved-container:before{height:300px;right:-150px;top:-150px;width:300px}.login-improved-container:after{animation-delay:10s;bottom:-200px;height:400px;left:-200px;width:400px}@keyframes float-bg{0%,to{transform:translate(0)}33%{transform:translate(30px,-30px)}66%{transform:translate(-20px,20px)}}.login-improved-card{animation:card-entrance .5s ease-out;background-color:#fff;border-radius:24px;box-shadow:0 20px 40px #00000026;max-width:600px;padding:40px;position:relative;width:100%;z-index:1}.login-improved-header{margin-bottom:40px;text-align:center}.login-logo{animation:gentle-bounce 2s ease-in-out infinite;background:#fff;border-radius:50%;box-shadow:0 8px 24px #00000026;display:block;height:100px;margin:0 auto 20px;object-fit:contain;padding:12px;transition:transform .3s ease;width:100px}.login-logo:hover{transform:translateY(-3px) scale(1.05)}.login-improved-header h1{color:#2d3748;font-size:2.5rem;font-weight:800;margin-bottom:10px}.login-improved-header p{color:#718096;font-size:1.1rem;font-weight:500}.login-form-container{animation:slide-in .3s ease-out;background:#0000;position:relative;width:100%;z-index:10}.back-button{background:#667eea1a!important;border:2px solid #667eea!important;box-shadow:0 2px 4px #667eea33!important;color:#667eea!important;display:inline-flex!important;font-family:Nunito,Comic Sans MS,Arial,sans-serif!important;font-size:1rem!important;font-weight:700!important;gap:6px;height:auto!important;line-height:1.4!important;min-height:40px;opacity:1!important;outline:none!important;padding:12px 20px;position:relative;text-decoration:none!important;visibility:visible!important;white-space:nowrap;width:auto!important;z-index:100}.back-button:hover{background:#667eea33!important;border-color:#4c51bf!important;box-shadow:0 4px 8px #667eea4d!important;color:#4c51bf!important}.back-button:active,.back-button:focus{background:#667eea26!important;border-color:#4c51bf!important;color:#4c51bf!important}.login-improved-container .login-improved-card .login-form-container .back-button{background:#667eea1a!important;border:2px solid #667eea!important;color:#667eea!important;display:inline-flex!important;font-size:1rem!important;font-weight:700!important;opacity:1!important;padding:12px 20px!important;visibility:visible!important;z-index:1000!important}.login-improved-container .login-improved-card .login-form-container .back-button:hover{background:#667eea33!important;color:#4c51bf!important}.selected-role-icon{animation:bounce 2s infinite}.login-improved-form{margin-bottom:20px}.form-group{margin-bottom:24px}.login-button-improved{align-items:center;background-color:#667eea;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:1.1rem;font-weight:700;gap:8px;justify-content:center;overflow:hidden;padding:16px;position:relative;transition:all .3s ease;width:100%}.login-button-improved:before{background:#ffffff4d;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0}.login-button-improved:hover:before{height:300px;width:300px}.login-button-improved:hover{box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}.login-button-improved:disabled{background-color:#cbd5e0;cursor:not-allowed;transform:none}.forgot-password-link{background:none;border:none;color:#667eea;cursor:pointer;display:block;font-size:.9rem;margin-top:12px;padding:4px;text-align:center;text-decoration:underline;transition:color .2s ease;width:100%}.forgot-password-link:hover{color:#5a67d8}.login-improved-footer{border-top:1px solid #e2e8f0;color:#718096;font-size:1rem;margin-top:30px;padding-top:20px;text-align:center}.signup-link-improved{color:#667eea;font-weight:700;margin-left:6px;text-decoration:none;transition:color .2s ease}.signup-link-improved:hover{color:#5a67d8;text-decoration:underline}.student-help{background-color:#f0f9ff;border:1px solid #90cdf4;border-radius:8px;margin-top:20px;padding:12px 16px;text-align:center}.help-text{align-items:center;color:#2b6cb0;display:flex;font-size:.9rem;gap:8px;justify-content:center;margin:0}.help-icon{font-size:1.2rem}@media (max-width:640px){.login-improved-card{padding:30px 20px}.login-improved-header h1{font-size:2rem}.role-buttons{gap:15px;grid-template-columns:1fr}.role-button{padding:20px 15px}.role-icon{font-size:2.5rem}.selected-role-icon{font-size:2rem}.selected-role-header h2{font-size:1.5rem}}@media (prefers-contrast:high){.friendly-input{border-width:3px}.role-button{border-width:4px}.login-button-improved{font-weight:800}}.back-button:focus-visible,.friendly-input:focus-visible,.login-button-improved:focus-visible,.role-button:focus-visible{outline:3px solid #4299e1;outline-offset:2px}.signup-container{background-color:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px #0000001a;margin:40px auto;max-width:500px;padding:30px;transition:all .3s ease}.signup-container h2{color:#333;font-weight:700;margin-bottom:25px;text-align:center}.form-group{margin-bottom:18px}.signup-container label{color:#555;display:block;font-weight:600;margin-bottom:8px}.form-input,.form-select{border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:1rem;padding:12px;transition:border-color .3s,box-shadow .3s;width:100%}.form-input:focus,.form-select:focus{border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233;outline:none}.input-error{background-color:#fff8f8;border-color:#d9534f}.input-error:focus{box-shadow:0 0 0 2px #d9534f33}.error-text{color:#d9534f}.error-text,.signup-container small{display:block;font-size:.85rem;margin-top:5px}.signup-container small{color:#666}.submit-button{background-color:#4a90e2;font-weight:700;margin-top:20px;padding:12px;transition:background-color .3s ease;width:100%}.submit-button:hover:not(:disabled){background-color:#3a7bc8}.submit-button:disabled{background-color:#a0c3e8}.error-message{background-color:#f2dede;border:1px solid #ebccd1;color:#d9534f}.success-message{background-color:#dff0d8;border:1px solid #d6e9c6;border-radius:4px;color:#5cb85c;margin-bottom:15px;padding:10px;text-align:center}.login-link{color:#555;margin-top:20px;text-align:center}.login-link a{color:#4a90e2;font-weight:600;text-decoration:none;transition:color .3s ease}.login-link a:hover{color:#3a7bc8;text-decoration:underline}.teacher-classroom-setup{border-top:1px solid #eee;margin-top:20px;padding-top:15px}.teacher-classroom-setup h4,.teacher-classroom-setup h5{color:#444;margin-bottom:10px}.classroom-input-group{align-items:center;display:flex;gap:10px;margin-bottom:15px}.classroom-input-group input{flex-grow:1}.classroom-button{background-color:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:10px 15px;transition:background-color .3s ease;white-space:nowrap}.classroom-button:hover:not(:disabled){background-color:#5a6268}.classroom-button:disabled{background-color:#adb5bd;cursor:not-allowed}.teacher-classroom-setup ul{list-style:none;margin-top:10px;padding-left:0}.teacher-classroom-setup li{align-items:center;background-color:#f8f9fa;border-radius:4px;display:flex;font-size:.9rem;justify-content:space-between;margin-bottom:5px;padding:8px 12px}.remove-button{background:none;border:none;color:#dc3545;cursor:pointer;font-size:1rem;padding:0 5px;transition:color .2s}.remove-button:hover{color:#bd2130}@media (max-width:576px){.signup-container{margin:20px auto;padding:20px 15px;width:90%}.classroom-input-group{flex-direction:column;gap:5px}.classroom-button{margin-top:5px;width:100%}.teacher-classroom-setup h4{font-size:1.1rem}.teacher-classroom-setup h5{font-size:.95rem}}.success-message{animation:fadeIn .5s ease-in-out}.signup-improved-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;font-family:Nunito,Comic Sans MS,Arial,sans-serif;justify-content:center;min-height:100vh;padding:20px}.signup-improved-card{animation:card-entrance .5s ease-out;background-color:#fff;border-radius:24px;box-shadow:0 20px 40px #00000026;max-width:700px;padding:40px;width:100%}.success-card{max-width:500px;text-align:center}.success-content{padding:40px 20px}.success-icon{animation:bounce 1s ease-out;display:block;font-size:4rem;margin-bottom:20px}.success-content h2{color:#2d3748;font-size:2rem;margin-bottom:15px}.success-content p{color:#718096;font-size:1.1rem;margin-bottom:10px}.redirect-text{animation:pulse 1.5s infinite;color:#667eea;font-style:italic}.signup-improved-header{margin-bottom:40px;text-align:center}.signup-logo{animation:gentle-bounce 2s ease-in-out infinite;background:#fff;border-radius:50%;box-shadow:0 8px 24px #00000026;display:block;height:100px;margin:0 auto 20px;object-fit:contain;padding:12px;transition:transform .3s ease;width:100px}.signup-logo:hover{transform:translateY(-3px) scale(1.05)}@keyframes gentle-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.signup-improved-header h1{color:#2d3748;font-size:2.5rem;font-weight:800;margin-bottom:10px}.signup-improved-header p{color:#718096;font-size:1.1rem;font-weight:500}.signup-form-container{animation:slide-in .3s ease-out}.back-button{align-items:center;background:none;border:none;border-radius:8px;color:#667eea;cursor:pointer;display:inline-flex;font-size:1rem;gap:4px;margin-bottom:20px;padding:8px 16px;transition:all .2s ease}.back-button:hover{background-color:#f7fafc;transform:translateX(-3px)}.selected-role-header{align-items:center;display:flex;gap:15px;justify-content:center;margin-bottom:30px;text-align:center}.selected-role-icon{font-size:2.5rem}.selected-role-header h2{color:#2d3748;font-size:1.8rem;font-weight:700;margin:0}.form-group,.signup-improved-form{margin-bottom:20px}.form-group label{color:#4a5568;font-weight:600;margin-bottom:8px}.label-icon{font-size:1.2rem;margin-right:6px}.friendly-input{background-color:#f7fafc;border:2px solid #e2e8f0;border-radius:12px;font-family:inherit;font-size:1rem;padding:14px 16px;transition:all .3s ease;width:100%}.student-input{background-color:#fff8dc;border-color:gold;font-size:1.1rem;padding:16px 18px}.friendly-input:focus{background-color:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.student-input:focus{border-color:orange;box-shadow:0 0 0 3px #ffa50033}select.friendly-input{cursor:pointer}.input-hint{color:#718096;display:block;font-size:.85rem;font-style:italic;margin-top:6px}.class-code-section{background-color:#f7fafc;border:2px dashed #e2e8f0;border-radius:12px;margin:20px 0;padding:15px}.class-code-toggle{background:none;border:none;border-radius:6px;color:#667eea;cursor:pointer;display:block;font-size:1rem;font-weight:600;margin:0 auto;padding:8px 12px;transition:all .2s ease}.class-code-toggle:hover{background-color:#e6efff}.class-code-input{font-size:1.1rem;letter-spacing:2px;margin-top:15px;text-align:center;text-transform:uppercase}.error-message-improved{align-items:center;animation:shake .5s ease-out;background-color:#fff5f5;border-left:4px solid #e53e3e;border-radius:8px;color:#e53e3e;display:flex;font-size:.95rem;gap:8px;margin-bottom:20px;padding:12px 16px}.signup-button-improved{align-items:center;background-color:#667eea;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:1.1rem;font-weight:700;gap:8px;justify-content:center;overflow:hidden;padding:16px;position:relative;transition:all .3s ease;width:100%}.signup-button-improved:before{background:#ffffff4d;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0}.signup-button-improved:hover:before{height:300px;width:300px}.signup-button-improved:hover{box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}.signup-button-improved:disabled{background-color:#cbd5e0;cursor:not-allowed;transform:none}.signup-improved-footer{border-top:1px solid #e2e8f0;color:#718096;font-size:1rem;margin-top:30px;padding-top:20px;text-align:center}.login-link-improved{color:#667eea;font-weight:700;margin-left:6px;text-decoration:none;transition:color .2s ease}.login-link-improved:hover{color:#5a67d8;text-decoration:underline}@keyframes card-entrance{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}.role-selection{text-align:center}.role-selection h2{color:#2d3748;font-size:1.8rem;font-weight:700;margin-bottom:10px}.role-instruction{color:#718096;font-size:1rem;margin-bottom:30px}.role-buttons{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:20px}.role-button{align-items:center;background:#fff;border:3px solid #e2e8f0;border-radius:16px;cursor:pointer;display:flex;flex-direction:column;gap:12px;overflow:hidden;padding:30px 20px;position:relative;transition:all .3s ease}.role-button:before{background:var(--role-color);bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.role-button:hover{border-color:var(--role-color);box-shadow:0 10px 30px #00000026;transform:translateY(-5px)}.role-button:hover:before{opacity:.1}.role-icon{display:block;font-size:3rem}.role-title{color:#2d3748;display:block;font-size:1.2rem;font-weight:700}.role-description{color:#718096;display:block;font-size:.9rem}@media (max-width:640px){.signup-improved-card{padding:30px 20px}.signup-improved-header h1{font-size:2rem}.role-buttons{gap:15px;grid-template-columns:1fr}.role-button{padding:20px 15px}.selected-role-icon{font-size:2rem}.selected-role-header h2{font-size:1.5rem}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-contrast:high){.friendly-input{border-width:3px}.role-button{border-width:4px}}.back-button:focus-visible,.friendly-input:focus-visible,.role-button:focus-visible,.signup-button-improved:focus-visible{outline:3px solid #4299e1;outline-offset:2px}.create-classroom-modal{max-height:90vh;max-width:650px;overflow-y:auto;width:90%}.modal-header h2{font-weight:700}.close-button{padding:.25rem}.classroom-form{display:flex;flex-direction:column;gap:1.5rem}.form-section{border:1px solid #e9ecef}.form-section h3{font-weight:600}.form-group label{font-size:1rem}.form-group input,.form-group textarea{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .2s,box-shadow .2s;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db33;outline:none}.error-message{border:1px solid #f8d7da}.info-message,.loading-message{align-items:center;border-radius:4px;display:flex;gap:.5rem;padding:1rem}.loading-message{background-color:#e8f4fd;border:1px solid #bce8f1;color:#31708f}.info-message{background-color:#e8f5e9;border:1px solid #a5d6a7;color:#2e7d32}.student-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin:1rem 0;max-height:200px;overflow-y:auto;padding:.5rem}.student-checkbox-item,.student-grid{background:#fff;border:1px solid #e9ecef;border-radius:4px}.student-checkbox-item{cursor:pointer;padding:.75rem;transition:all .2s}.student-checkbox-item:hover{background:#f8f9fa;border-color:#3498db}.student-checkbox-item input[type=checkbox]{accent-color:#3498db;margin-right:.75rem;transform:scale(1.2);width:auto}.student-checkbox-item label{flex-direction:column;font-weight:400;gap:.25rem;margin-bottom:0}.student-name{font-weight:500}.student-grade{font-size:.875rem}.selected-count{align-items:center;background:#e8f5e9;border:1px solid #a5d6a7;border-radius:4px;color:#2e7d32;display:flex;font-weight:500;gap:.5rem;margin-top:1rem;padding:.75rem}.classroom-preview{background:#fff;border:2px solid #3498db;border-radius:8px;margin-top:1rem;padding:1.5rem}.preview-header{align-items:center;display:flex;gap:1rem;margin-bottom:1rem}.preview-icon{font-size:2rem}.preview-name{color:#2c3e50;font-size:1.2rem;font-weight:600;margin-bottom:.25rem}.preview-description{color:#7f8c8d;font-size:.9rem}.preview-students{border-top:1px solid #ecf0f1;margin-top:1rem;padding-top:1rem}.preview-students strong{color:#2c3e50;font-size:.9rem}.preview-student-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.preview-student-tag{background:#3498db;border-radius:12px;color:#fff;font-size:.875rem;font-weight:500;padding:.25rem .75rem}.cancel-button,.submit-button{font-weight:500}.submit-button{min-width:150px}@media (max-width:768px){.create-classroom-modal{margin:20px;width:95%}.student-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.cancel-button,.submit-button{width:100%}}.modal-overlay{background-color:#0009}.modal-content.assign-practice-modal{background-color:#fff;border-radius:8px;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;max-height:80vh;max-width:600px;overflow-y:auto;padding:25px;width:90%}.assign-practice-modal h3{border-bottom:1px solid #eee;color:#333;margin-bottom:15px;margin-top:0;padding-bottom:10px}.assign-practice-modal .error-message{background-color:#f2dede;border:1px solid #ebccd1;border-radius:4px;color:#d9534f;margin-bottom:15px;padding:10px}.kcs-selection{margin-bottom:20px}.kcs-selection h4{color:#555;margin-bottom:10px}.kc-item{background-color:#f9f9f9;border:1px solid #ddd;border-radius:4px;margin-bottom:15px;padding:10px}.kc-item h5{color:#337ab7;margin-bottom:8px;margin-top:0}.content-item-list{border:1px solid #eee;border-radius:3px;list-style-type:none;max-height:200px;overflow-y:auto;padding:5px}.content-item-list li{border-bottom:1px solid #f0f0f0;padding:5px 0}.content-item-list li:last-child{border-bottom:none}.content-item-list label{align-items:center;cursor:pointer;display:flex;font-weight:400}.content-item-list input[type=checkbox]{margin-right:8px}.modal-actions{border-top:1px solid #eee;gap:10px;justify-content:flex-end;margin-top:auto;padding-top:15px}.modal-actions button{border:none;border-radius:4px;cursor:pointer;font-size:1rem;padding:10px 15px}.modal-actions button:disabled{background-color:#ccc;cursor:not-allowed}.modal-actions .button-secondary{background-color:#6c757d;color:#fff}.modal-actions .button-secondary:hover{background-color:#5a6268}.modal-actions button:not(.button-secondary):not(:disabled){background-color:#007bff;color:#fff}.modal-actions button:not(.button-secondary):not(:disabled):hover{background-color:#0056b3}.modal-content.confirm-assign-modal{background-color:#fff;border-radius:8px;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;max-height:80vh;max-width:500px;overflow-y:auto;padding:25px;width:90%}.confirm-assign-modal h3{border-bottom:1px solid #eee;color:#333;margin-bottom:15px;margin-top:0;padding-bottom:10px}.assignment-summary{background-color:#f9f9f9;border:1px solid #eee;border-radius:4px;margin-bottom:15px;padding:10px}.assignment-summary h4{color:#555;margin-bottom:8px;margin-top:0}.assignment-summary ul{font-size:.9rem;list-style-type:disc;margin:0;padding-left:20px}.assignment-summary li{margin-bottom:4px}.notes-section{margin-bottom:20px}.notes-section label{color:#555;display:block;font-weight:700;margin-bottom:5px}.notes-section textarea{border:1px solid #ccc;border-radius:4px;font-size:.95rem;min-height:80px;padding:8px;resize:vertical;width:100%}.confirm-assign-modal .modal-actions{border-top:1px solid #eee;display:flex;gap:10px;justify-content:flex-end;margin-top:auto;padding-top:15px}.confirm-assign-modal .modal-actions button{border:none;border-radius:4px;cursor:pointer;font-size:1rem;padding:10px 15px}.confirm-assign-modal .modal-actions button:disabled{background-color:#ccc;cursor:not-allowed;opacity:.7}.confirm-assign-modal .modal-actions .button-secondary{background-color:#6c757d;color:#fff}.confirm-assign-modal .modal-actions .button-secondary:hover:not(:disabled){background-color:#5a6268}.confirm-assign-modal .modal-actions button:not(.button-secondary):not(:disabled){background-color:#28a745;color:#fff}.confirm-assign-modal .modal-actions button:not(.button-secondary):not(:disabled):hover{background-color:#218838}.teacher-dashboard{background:#fff;font-family:Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,sans-serif;line-height:1.6;margin:0 auto;max-width:1400px;min-height:100vh;padding:24px}.dashboard-header{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 16px #00000014;color:#1f2937;margin-bottom:24px;padding:24px;position:relative}.header-content{flex-wrap:wrap;gap:2rem;position:relative;z-index:1}.header-text{flex:1 1;min-width:300px}.header-text h1{color:#1f2937;font-size:2rem;font-weight:700;letter-spacing:-.5px;margin:0 0 .5rem}.header-text p{color:#6b7280;font-size:1rem;font-weight:400;margin:0}.header-actions{align-items:flex-start;flex-wrap:wrap;gap:1rem}.action-button{border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 4px 12px #00000014;display:inline-flex;gap:.5rem;padding:.7rem 1.2rem;white-space:nowrap}.action-button span{font-size:1rem;margin-right:.2rem}.action-button.primary{background:#fff;border:2px solid #3b82f6;color:#3b82f6}.action-button.primary:hover{background:#3b82f6;border-color:#3b82f6;box-shadow:0 6px 16px #3b82f640;color:#fff}.action-button.secondary{background:#fff;border:2px solid #e5e7eb;color:#4b5563}.action-button.secondary:hover{background:#f9fafb;border-color:#4b5563;box-shadow:0 6px 16px #0000001a}.dashboard-summary{grid-gap:24px;gap:24px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:32px}.summary-card{border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;overflow:hidden;padding:32px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.summary-card:before{background:linear-gradient(135deg,#3b82f6,#6366f1);content:"";height:4px;left:0;position:absolute;right:0;top:0}.summary-card:hover{box-shadow:0 12px 32px #0000001f;transform:translateY(-6px)}.summary-card h3{color:#64748b;font-size:1.1rem;font-weight:600;letter-spacing:.8px;margin:0 0 1rem;text-transform:uppercase}.summary-card .count{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#3b82f6,#6366f1);background-clip:text;-webkit-background-clip:text;color:#1e293b;font-size:3.5rem;font-weight:800;line-height:1;margin:0}.section-header{border-bottom:3px solid #e2e8f0;padding-bottom:16px}.section-header h2{color:#1e293b;font-size:2rem}.classrooms-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;margin-bottom:32px;padding:32px}.classrooms-section .section-header{align-items:center;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:24px;padding-bottom:16px}.classrooms-section .section-header h2{color:#1e293b;font-size:1.75rem;font-weight:700;margin:0}.classrooms-section .add-button{background:linear-gradient(135deg,#3b82f6,#6366f1);border:none;border-radius:12px;box-shadow:0 4px 12px #3b82f64d;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 24px;transition:all .3s cubic-bezier(.4,0,.2,1)}.classrooms-section .add-button:hover{background:linear-gradient(135deg,#2563eb,#4f46e5);box-shadow:0 8px 24px #3b82f666;transform:translateY(-2px)}.classrooms-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.classroom-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;display:flex;flex-direction:column;min-height:360px;padding:28px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.classroom-card:before{background:linear-gradient(135deg,#3b82f6,#6366f1);border-radius:16px 16px 0 0;content:"";height:4px;left:0;position:absolute;right:0;top:0}.classroom-card:hover{border-color:#3b82f6;box-shadow:0 12px 32px #0000001f;transform:translateY(-6px)}.classroom-card h3{border-bottom:2px solid #e2e8f0;color:#1e293b;font-size:1.4rem;font-weight:700;margin:0 0 24px;padding-bottom:12px}.classroom-stats{grid-gap:16px;display:grid;flex:1 1;gap:16px;grid-template-columns:repeat(3,1fr);margin-bottom:24px}.classroom-stats .stat{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;justify-content:center;min-height:80px;padding:16px 8px;text-align:center;transition:all .2s ease}.classroom-stats .stat:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0)}.classroom-stats .stat-value{color:#1e293b;display:block;font-size:1.5rem;font-weight:800;line-height:1.2;margin-bottom:4px}.classroom-stats .stat-label{word-wrap:break-word;color:#64748b;display:block;font-size:.75rem;font-weight:600;letter-spacing:.5px;line-height:1.2;text-transform:uppercase}.classroom-actions{grid-gap:12px;border-top:1px solid #e2e8f0;display:grid;gap:12px;grid-template-columns:1fr 1fr;margin-top:auto;padding-top:20px}.classroom-actions .button{align-items:center;border-radius:12px;box-shadow:0 4px 12px #00000014;display:flex;font-size:.95rem;font-weight:600;justify-content:center;padding:14px 18px;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1)}.classroom-actions .button:first-child{background:#fff;border:2px solid #3b82f6;color:#3b82f6}.classroom-actions .button:first-child:hover{background:#3b82f6;box-shadow:0 6px 16px #3b82f640;color:#fff;transform:translateY(-2px)}.classroom-actions .button.secondary{background:#fff;border:1px solid #e2e8f0;color:#64748b}.classroom-actions .button.secondary:hover{background:#f8fafc;border-color:#cbd5e1}.classroom-actions .button.secondary.small{background:#fff;border:2px solid #16a34a;color:#16a34a}.classroom-actions .button.secondary.small:hover{background:#16a34a;box-shadow:0 6px 16px #16a34a40;color:#fff;transform:translateY(-2px)}.intervention-section{background:#fff;margin-bottom:32px;padding:32px}.intervention-dropdown,.intervention-section{border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014}.intervention-dropdown{background-color:#fff;overflow:hidden}.intervention-header{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;padding:24px 32px}.intervention-summary{display:flex;flex-direction:column;gap:12px}.intervention-count{color:#1e293b;font-size:1.3rem;font-weight:700}.priority-counts{display:flex;gap:16px}.priority-count{border-radius:20px;font-size:.9rem;font-weight:600;padding:6px 12px}.priority-count.high{background:linear-gradient(135deg,#fecaca,#fca5a5);color:#dc2626}.priority-count.medium{background:linear-gradient(135deg,#fed7aa,#fdba74);color:#ea580c}.priority-count.low{background:linear-gradient(135deg,#bbf7d0,#86efac);color:#16a34a}.expand-button{background:#fff;border:2px solid #3b82f6;border-radius:12px;box-shadow:0 4px 12px #00000014;color:#3b82f6;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 24px;transition:all .3s cubic-bezier(.4,0,.2,1)}.expand-button:hover{background:#3b82f6;box-shadow:0 6px 16px #3b82f640;color:#fff;transform:translateY(-2px)}.intervention-list{max-height:0;overflow:hidden;transition:max-height .3s ease-out}.intervention-list.expanded{max-height:2000px;transition:max-height .5s ease-in}.intervention-item{border-bottom:1px solid #e2e8f0;border-left:4px solid #0000;display:flex;flex-direction:column;gap:16px;padding:24px 32px;transition:background-color .2s}.intervention-item:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.intervention-item:last-child{border-bottom:none}.intervention-item.priority-high{background:linear-gradient(135deg,#fca5a51a,#fecaca1a);border-left-color:#dc2626}.intervention-item.priority-medium{background:linear-gradient(135deg,#fdba741a,#fed7aa1a);border-left-color:#ea580c}.intervention-item.priority-low{background:linear-gradient(135deg,#86efac1a,#bbf7d01a);border-left-color:#16a34a}.intervention-details{flex:1 1}.intervention-details h3{color:#1e293b;font-size:1.1rem;font-weight:700;margin:0 0 8px}.intervention-details p{color:#475569;font-size:.9rem;line-height:1.5;margin:6px 0}.intervention-stats{grid-gap:16px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:grid;gap:16px;grid-template-columns:repeat(2,1fr);margin:16px 0;padding:20px}.stat-item{flex-direction:column;gap:4px}.stat-item .stat-label{color:#64748b;font-size:.8rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.stat-item .stat-value{color:#1e293b;font-size:1.2rem;font-weight:800}.stat-item .stat-value.below-threshold{color:#dc2626}.intervention-priority{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:flex;gap:16px;padding:16px 20px}.priority-label{color:#475569;font-size:.95rem;font-weight:700}.priority-value{align-items:center;border-radius:20px;display:inline-flex;font-size:.9rem;font-weight:700;padding:8px 16px;text-transform:capitalize;white-space:nowrap}.intervention-item.priority-high .priority-value{background:linear-gradient(135deg,#dc2626,#ef4444);color:#fff}.intervention-item.priority-medium .priority-value{background:linear-gradient(135deg,#ea580c,#f97316);color:#fff}.intervention-item.priority-low .priority-value{background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff}.intervention-reasons{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;margin-top:12px;padding:16px}.intervention-reasons h4{color:#1e293b;font-size:1rem;font-weight:700;margin-bottom:12px;margin-top:0}.intervention-reasons ul{list-style:none;margin:0;padding:0}.intervention-reasons li{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;font-size:.9rem;line-height:1.5;margin-bottom:12px;padding:12px}.intervention-reasons li:last-child{margin-bottom:0}.intervention-reasons strong{color:#1e293b;font-weight:700;margin-right:8px}.intervention-actions{flex-direction:column;gap:12px;margin-top:auto;padding-top:16px}.quick-actions{display:flex;gap:12px;justify-content:flex-end;margin-bottom:8px}.action-button{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:12px;display:flex;height:44px;justify-content:center;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:44px}.action-button:hover{background:#f8fafc;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f633;transform:translateY(-2px)}.action-button .icon{color:#64748b;font-size:1.3rem}.action-button:after{background:#1e293b;border-radius:8px;bottom:120%;color:#fff;content:attr(title);font-size:.8rem;margin-bottom:8px;padding:8px 12px;white-space:nowrap}.action-button:after,.action-button:before{left:50%;opacity:0;pointer-events:none;position:absolute;transform:translateX(-50%);transition:opacity .3s ease;z-index:10}.action-button:before{border:6px solid #0000;border-top-color:#1e293b;bottom:110%;content:""}.action-button:hover:after,.action-button:hover:before{opacity:1}.content-item-section,.knowledge-components-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;margin-bottom:32px;padding:32px}.content-item-section{border-top:4px solid #3b82f6}.content-item-section h2{color:#1e293b;font-size:1.75rem;font-weight:700;margin:0 0 16px}.error-container,.loading{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;margin:32px auto;padding:48px 32px}.error-container button{background:linear-gradient(135deg,#3b82f6,#6366f1);border-radius:12px;font-weight:600;margin-top:16px;padding:12px 24px;transition:all .3s cubic-bezier(.4,0,.2,1)}.error-container button:hover{background:linear-gradient(135deg,#2563eb,#4f46e5);box-shadow:0 4px 12px #3b82f64d;transform:translateY(-2px)}.button{background:linear-gradient(135deg,#3b82f6,#6366f1);border-radius:12px;box-shadow:0 4px 12px #3b82f64d;font-size:.95rem;padding:12px 24px;transition:all .3s cubic-bezier(.4,0,.2,1)}.button:hover{background:linear-gradient(135deg,#2563eb,#4f46e5);box-shadow:0 8px 24px #3b82f666;transform:translateY(-2px)}.button.secondary{background:#fff;border:2px solid #e2e8f0;box-shadow:0 2px 8px #0000000d;color:#64748b}.button.secondary:hover{background:#f8fafc;border-color:#cbd5e1;color:#475569}.button.secondary.small{font-size:.9rem;padding:8px 16px}.button.small{font-size:.85rem;padding:8px 16px}.add-button{background:linear-gradient(135deg,#16a34a,#22c55e);border-radius:12px;box-shadow:0 4px 12px #16a34a4d;padding:12px 24px;transition:all .3s cubic-bezier(.4,0,.2,1)}.add-button:hover{background:linear-gradient(135deg,#15803d,#16a34a);box-shadow:0 8px 24px #16a34a66;transform:translateY(-2px)}.mastery-bar{background:#e2e8f0;margin:8px 0}.mastery-fill{background:linear-gradient(135deg,#3b82f6,#6366f1);transition:width .5s cubic-bezier(.4,0,.2,1)}.mastery-percentage{color:#3b82f6}.chart-container{margin:24px 0}.priority-high{color:#dc2626}.priority-medium{color:#ea580c}.priority-low{color:#16a34a}.priority-badge{display:inline-block;letter-spacing:.5px;padding:6px 12px}.priority-badge.high{background:linear-gradient(135deg,#dc2626,#ef4444)}.priority-badge.medium{background:linear-gradient(135deg,#ea580c,#f97316)}.priority-badge.low{background:linear-gradient(135deg,#16a34a,#22c55e)}.no-intervention{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;font-style:italic;padding:32px}.knowledge-components-overview{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;margin-bottom:32px;padding:32px}.knowledge-components-overview h2{color:#1e293b;font-size:2rem;font-weight:700;margin-bottom:24px;margin-top:0}.quarter-section{margin-bottom:24px}.quarter-header{align-items:center;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #e0f2fe;border-radius:12px;box-shadow:0 2px 8px #00000014;cursor:pointer;display:flex;justify-content:space-between;padding:16px 20px;transition:all .3s cubic-bezier(.4,0,.2,1)}.quarter-header:hover{background:linear-gradient(135deg,#e0f2fe,#bae6fd);box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.quarter-header h3{color:#0369a1;font-size:1.3rem;font-weight:700;margin:0}.modules-container{padding:0 16px}.module-section{margin:20px 0}.module-header{align-items:center;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #0000000d;cursor:pointer;display:flex;justify-content:space-between;padding:12px 20px;transition:all .3s cubic-bezier(.4,0,.2,1)}.module-header:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);box-shadow:0 4px 12px #00000014;transform:translateY(-1px)}.module-header h4{color:#475569;font-size:1.1rem;font-weight:600;margin:0}.expand-icon{color:#64748b;font-size:.9rem;font-weight:600}.kc-list{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));margin-top:16px}.kc-item{border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:20px;transition:all .3s cubic-bezier(.4,0,.2,1)}.kc-item:hover{border-left-color:#2563eb;box-shadow:0 8px 24px #0000001f;transform:translateY(-4px)}.kc-icon{color:#3b82f6;font-size:2rem;margin-right:16px;min-width:32px;text-align:center}.kc-info{flex:1 1;min-width:0}.kc-header{margin-bottom:8px}.kc-code{background:#f1f5f9;color:#64748b;font-family:monospace;font-size:.8rem}.kc-difficulty{color:#f59e0b;font-size:.75rem;font-weight:600;letter-spacing:-1px}.kc-name{color:#1e293b;display:block;font-size:1rem;margin-bottom:8px;white-space:nowrap}.kc-details{color:#64748b;display:flex;font-size:.85rem;gap:16px}.kc-content,.kc-students{font-weight:500;white-space:nowrap}.kc-mastery{align-items:center;display:flex;flex-direction:column;justify-content:center;min-width:100px;padding-left:16px}.mastery-badge{background:linear-gradient(135deg,#3b82f6,#6366f1);font-size:.9rem;font-weight:700;margin-bottom:8px;min-width:60px}.view-details-link{border-radius:6px;color:#3b82f6;font-size:.85rem;font-weight:600;padding:4px 8px;text-decoration:none;transition:all .2s ease;white-space:nowrap}.view-details-link:hover{background:#f0f9ff;text-decoration:underline}.no-kcs-message{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;padding:32px;text-align:center}.no-kcs-message ul{margin-top:16px;padding-left:24px;text-align:left}.no-kcs-message li{line-height:1.6;margin-bottom:8px}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a99;padding:24px}.modal-content{animation:modalSlideIn .3s cubic-bezier(.4,0,.2,1);border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 20px 40px #00000040;padding:32px;position:relative}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}@media (max-width:768px){.teacher-dashboard{padding:16px}.dashboard-header{margin-bottom:24px;padding:24px}.header-content{align-items:stretch;flex-direction:column;gap:20px}.header-text{min-width:auto;text-align:center}.header-text h1{font-size:1.8rem}.header-text p{font-size:1rem}.header-actions{flex-direction:column;gap:12px}.action-button{font-size:.875rem;min-width:auto;padding:.75rem 1rem;width:100%}.dashboard-summary{gap:16px;grid-template-columns:1fr;margin-bottom:24px}.summary-card{padding:24px}.classrooms-grid{grid-template-columns:1fr}.classroom-stats{grid-template-columns:repeat(2,1fr)}.kc-list{grid-template-columns:1fr}.intervention-header,.intervention-item{padding:20px}.intervention-stats{grid-template-columns:1fr}.priority-counts{flex-direction:column;gap:8px}.quick-actions{justify-content:center}}@media (max-width:480px){.dashboard-header{margin-bottom:20px;padding:20px}.header-text h1{font-size:1.6rem;margin-bottom:8px}.action-button,.header-text p{font-size:.95rem}.action-button{padding:14px 20px}.action-button span{font-size:1.1rem}.classroom-actions,.classroom-stats{grid-template-columns:1fr}.knowledge-components-overview h2,.section-header h2{font-size:1.5rem}.quarter-header h3{font-size:1.1rem}.kc-item{padding:16px}.kc-details{flex-direction:column;gap:8px}}.view-all{color:#64748b;font-weight:500;margin-top:24px;text-align:center}.below-threshold{color:#dc2626;font-weight:700}.intervention-recommendation{font-size:.95rem;line-height:1.6;margin-top:12px}.intervention-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 16px #00000014;margin-top:20px;overflow-x:auto}.intervention-table{border-collapse:collapse;font-size:.9rem;width:100%}.intervention-table thead{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:2px solid #e2e8f0}.intervention-table th{color:#475569;font-size:.85rem;font-weight:700;letter-spacing:.8px;padding:16px;text-align:left;text-transform:uppercase}.intervention-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background-color .2s ease}.intervention-table tbody tr:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.intervention-table tbody tr.priority-high{background:linear-gradient(135deg,#fca5a51a,#fecaca1a)}.intervention-table tbody tr.priority-medium{background:linear-gradient(135deg,#fdba741a,#fed7aa1a)}.intervention-table tbody tr.priority-low{background:linear-gradient(135deg,#86efac1a,#bbf7d01a)}.intervention-table td{padding:12px 16px;vertical-align:middle}.student-name{color:#1e293b}.student-grade{text-align:center;width:60px}.student-classroom{color:#64748b;font-size:.85rem}.mastery-display{flex-direction:column;gap:6px;width:80px}.mastery-percentage{font-size:.9rem}.mastery-percentage.low{color:#dc2626}.mastery-percentage.medium{color:#ea580c}.mastery-percentage.high{color:#16a34a}.mastery-bar-mini{background:#e2e8f0;border-radius:3px;height:6px;overflow:hidden;width:100%}.mastery-fill-mini{background:linear-gradient(135deg,#3b82f6,#6366f1);height:100%;transition:width .5s cubic-bezier(.4,0,.2,1)}.action-buttons-compact{display:flex;gap:6px;justify-content:center}.action-buttons-compact .icon-button{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;box-shadow:0 2px 8px #0000000a;color:#64748b;cursor:pointer;display:inline-flex;font-size:1.1rem;height:40px;justify-content:center;padding:0;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1);width:40px}.action-buttons-compact .icon-button:hover{background:#f8fafc;border-color:#3b82f6;box-shadow:0 6px 16px #3b82f633;color:#3b82f6;transform:translateY(-3px)}.no-activity,.no-content,.no-data,.no-interventions,.no-misconceptions,.no-path{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;font-style:italic;margin:16px 0;padding:32px;text-align:center}.create-student-modal{max-height:90vh;max-width:600px;overflow-y:auto;width:90%}.modal-header{border-bottom:2px solid #f0f0f0;margin-bottom:1.5rem;padding-bottom:1rem}.modal-header h2{font-size:1.8rem}.close-button{color:#95a5a6;font-size:2rem;transition:color .2s}.close-button:hover{color:#e74c3c}.student-form{display:flex;flex-direction:column;gap:1.5rem}.form-section{background:#f8f9fa;border-radius:8px;padding:1.5rem}.form-section h3{color:#34495e;font-size:1.2rem;margin:0 0 1rem}.form-group{margin-bottom:1rem}.form-group:last-child{margin-bottom:0}.form-group label{color:#2c3e50}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:.75rem;transition:border-color .2s;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db33;outline:none}.form-group small{color:#7f8c8d;display:block;font-size:.875rem;margin-top:.25rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.input-with-button{display:flex;gap:.5rem}.input-with-button input{flex:1 1}.generate-btn{background-color:#3498db;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;padding:.75rem 1rem;transition:background-color .2s;white-space:nowrap}.generate-btn:hover{background-color:#2980b9}.error-message{align-items:center;background-color:#fee;color:#c33;display:flex;gap:.5rem;margin-bottom:1rem;padding:1rem}.form-actions{border-top:1px solid #e0e0e0;gap:1rem;margin-top:1.5rem;padding-top:1.5rem}.cancel-button{background-color:#ecf0f1;border:none;border-radius:4px;color:#2c3e50;cursor:pointer;font-size:1rem;padding:.75rem 1.5rem;transition:background-color .2s}.cancel-button:hover{background-color:#bdc3c7}.submit-button{background-color:#27ae60;border:none;border-radius:4px;cursor:pointer;font-size:1rem;padding:.75rem 1.5rem;transition:background-color .2s}.submit-button:hover{background-color:#229954}.submit-button:disabled{background-color:#95a5a6}.credentials-preview{background-color:#e8f5e9;border:1px solid #a5d6a7;border-radius:4px;margin-top:1rem;padding:1rem}.credentials-preview h4{color:#2e7d32;margin:0 0 .5rem}.credential-item{font-family:monospace;margin:.25rem 0}.credential-item span{display:inline-block;font-weight:700;min-width:80px}.radio-group{display:flex;flex-direction:column;gap:10px;margin-bottom:15px}.radio-option{align-items:center;border:2px solid #e1e5e9;border-radius:8px;cursor:pointer;display:flex;gap:8px;padding:8px 12px;transition:all .2s ease}.radio-option:hover{background-color:#f7fafc;border-color:#667eea}.radio-option input[type=radio]{cursor:pointer;margin:0}.radio-option input[type=radio]:checked+span{color:#667eea;font-weight:600}.radio-option:has(input[type=radio]:checked){background-color:#f0f4ff;border-color:#667eea}.login-method{background-color:#e6f7ff;border-left:4px solid #1890ff;border-radius:4px;font-style:italic;padding:8px 12px}@media (max-width:768px){.form-row{grid-template-columns:1fr}.create-student-modal{width:95%}}.add-student-modal{display:flex;flex-direction:column;max-height:80vh;max-width:600px;width:90%}.modal-header{border-bottom:1px solid #e9ecef;padding:20px}.modal-header h2{color:#2c3e50}.close-button{border-radius:50%;transition:all .2s ease}.close-button:hover{background-color:#f8f9fa;color:#495057}.modal-body{flex:1 1;min-height:300px;overflow-y:auto;padding:20px}.search-bar{display:flex;gap:10px;margin-bottom:20px}.search-input{border-radius:8px;flex:1 1;transition:border-color .2s ease}.search-input:focus{border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.select-all-button{background-color:#f8f9fa;border:1px solid #ced4da;border-radius:6px;color:#495057;cursor:pointer;font-size:.9rem;font-weight:500;padding:8px 16px;transition:all .2s ease;white-space:nowrap}.select-all-button:hover{background-color:#e9ecef;border-color:#adb5bd}.students-list{max-height:400px;padding-right:5px}.student-item{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;cursor:pointer;gap:12px;transition:all .2s ease}.student-item:hover{background-color:#e9ecef;border-color:#ced4da}.student-item.selected{background-color:#e7f3ff;border-color:#3498db}.student-item input[type=checkbox]{cursor:pointer;flex-shrink:0;height:18px;width:18px}.student-info{flex:1 1;gap:2px}.selection-summary{background-color:#d1ecf1;border-radius:6px;color:#0c5460;font-weight:500;margin-top:15px;padding:10px 15px;text-align:center}.no-results,.no-students{color:#6c757d;padding:40px 20px;text-align:center}.no-students p{margin:5px 0}.loading{font-size:1.1rem;padding:40px 20px}.error-message{border-radius:6px;margin-bottom:15px;padding:15px}.modal-footer{border-top:1px solid #e9ecef;gap:10px;padding:20px}.modal-footer .button{border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;min-width:100px;padding:10px 20px;transition:all .2s ease}.modal-footer .button.primary{background-color:#3498db;color:#fff}.modal-footer .button.primary:hover:not(:disabled){background-color:#2980b9;box-shadow:0 4px 8px #3498db33;transform:translateY(-1px)}.modal-footer .button.secondary{background-color:#6c757d;color:#fff}.modal-footer .button.secondary:hover:not(:disabled){background-color:#5a6268}.modal-footer .button:disabled{cursor:not-allowed;opacity:.6;transform:none}.students-list::-webkit-scrollbar{width:6px}.students-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.students-list::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.students-list::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width:600px){.add-student-modal{max-height:90vh;width:95%}.modal-header h2{font-size:1.25rem}.search-bar{flex-direction:column}.select-all-button{width:100%}}.intervention-dashboard{background-color:#f5f6fa;border-radius:8px;margin-top:2rem;padding:2rem}.intervention-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.intervention-header h2{color:#2c3e50;font-size:1.8rem;margin:0}.intervention-controls{display:flex;flex-wrap:wrap;gap:1rem}.filter-group,.sort-group{align-items:center;display:flex;gap:.5rem}.filter-group label,.sort-group label{color:#7f8c8d;font-weight:500}.filter-group select,.sort-group select{background-color:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:.5rem 1rem}.intervention-summary{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:2rem}.summary-card{background:#fff;transition:transform .2s}.summary-card:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-2px)}.summary-card h3{font-size:2rem;font-weight:700;margin:0}.summary-card p{color:#7f8c8d;font-size:.9rem;margin:.5rem 0 0}.summary-card.high h3{color:#e74c3c}.summary-card.medium h3{color:#f39c12}.summary-card.low h3{color:#27ae60}.summary-card.inactive h3{color:#95a5a6}.intervention-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.intervention-card{background:#fff;border-left:4px solid #0000;border-radius:8px;box-shadow:0 2px 4px #0000001a;cursor:pointer;padding:1.5rem;transition:all .3s}.intervention-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.intervention-card.priority-high{border-left-color:#e74c3c}.intervention-card.priority-medium{border-left-color:#f39c12}.intervention-card.priority-low{border-left-color:#27ae60}.card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.card-header h3{color:#2c3e50;font-size:1.2rem;margin:0}.priority-badge{border-radius:20px;color:#fff;font-size:.75rem;font-weight:700;padding:.25rem .75rem}.card-stats{grid-gap:1rem;border-bottom:1px solid #ecf0f1;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-bottom:1rem;padding-bottom:1rem}.card-stats .stat{text-align:center}.stat-label{display:block;font-size:.75rem;margin-bottom:.25rem}.stat-value{font-size:1.1rem}.card-reasons{margin-bottom:1rem}.card-reasons h4{color:#7f8c8d;font-size:.9rem;margin:0 0 .5rem}.card-reasons ul{color:#34495e;font-size:.85rem;margin:0;padding-left:1.5rem}.card-reasons li{margin-bottom:.25rem}.card-actions{margin-top:1rem}.card-actions h4{color:#7f8c8d;font-size:.9rem;margin:0 0 .5rem}.action-btn{background-color:#ecf0f1;border-radius:4px;padding:.5rem;transition:all .2s}.action-btn:hover{transform:scale(1.1)}.action-btn.practice{background-color:#3498db}.action-btn.session{background-color:#9b59b6}.action-btn.message{background-color:#1abc9c}.action-btn.review{background-color:#e67e22}.intervention-detail{max-height:90vh;max-width:700px;overflow-y:auto;width:90%}.intervention-detail-content{padding:1rem 0}.detail-section{margin-bottom:2rem}.detail-section h3{color:#2c3e50;font-size:1.3rem;margin:0 0 1rem}.overview-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-item{background-color:#f8f9fa;border-radius:4px;padding:.75rem}.stat-item label{color:#7f8c8d;font-weight:500}.stat-item span{font-size:1.1rem;font-weight:700}.struggling-topics{display:flex;flex-direction:column;gap:.5rem}.topic-item{align-items:center;background-color:#fee;border-left:3px solid #e74c3c;border-radius:4px;display:flex;justify-content:space-between;padding:.75rem}.topic-name{color:#2c3e50;font-weight:500}.topic-mastery{color:#e74c3c;font-weight:700}.recommendations{display:flex;flex-direction:column;gap:1rem}.recommendation-item{align-items:center;background-color:#e8f5e9;border-left:3px solid #27ae60;border-radius:4px;justify-content:space-between;padding:1rem}.recommendation-item h4{color:#2c3e50;font-size:1rem;margin:0}.action-button.primary{background-color:#27ae60;border:none;border-radius:4px;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.action-button.primary:hover{background-color:#229954}@media (max-width:768px){.intervention-header{align-items:flex-start;flex-direction:column}.card-stats,.intervention-grid{grid-template-columns:1fr}.card-stats{gap:.5rem}}.classroom-enhanced{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.classroom-enhanced,.classroom-enhanced-header{background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.classroom-enhanced-header{border-radius:24px;box-shadow:0 12px 40px #00000014;color:#2c3e50;margin-bottom:32px;overflow:hidden;padding:32px;position:relative}.classroom-enhanced-header:before{animation:shimmer 3s infinite;background:linear-gradient(45deg,#0000,#ffffff1a,#0000);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@keyframes shimmer{to{transform:translateX(100%)}}.header-content{align-items:flex-start;margin-bottom:20px}.classroom-title h1{font-size:2.8rem;font-weight:800;letter-spacing:-.5px;margin:0 0 12px;position:relative;text-shadow:0 3px 6px #0000004d;z-index:1}.classroom-subtitle{align-items:center;display:flex;font-size:1.2rem;font-weight:500;gap:16px;opacity:.95;position:relative;z-index:1}.live-indicator{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0000000d;border:1px solid #0000001a;border-radius:24px;color:#495057;display:flex;font-size:.95rem;font-weight:600;gap:6px;padding:8px 16px}.indicator-dot{animation:pulse 2s infinite;background:#2ecc71;border-radius:50%;height:8px;width:8px}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.header-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(4,1fr);min-width:400px}.stat-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff;border:1px solid #0000001a;border-radius:15px;box-shadow:0 4px 12px #0000000d;padding:20px;text-align:center;transition:transform .3s ease,background .3s ease}.stat-card:hover{background:#00000005;transform:translateY(-5px)}.stat-icon{margin-bottom:10px}.stat-icon,.stat-value{display:block;font-size:2rem}.stat-value{margin-bottom:5px}.stat-label{font-size:.9rem;opacity:.9}.header-actions{justify-content:space-between}.view-controls{display:flex;gap:10px}.view-toggle{background:#fff;border:1px solid #0000001a;border-radius:25px;color:#495057;cursor:pointer;font-size:.95rem;font-weight:600;overflow:hidden;padding:12px 24px;position:relative;transition:all .3s ease}.view-toggle:hover{background:#00000008;box-shadow:0 6px 20px #00000014;transform:translateY(-2px)}.view-toggle.overview-btn{background:#fff;border:1px solid #0000001a;color:#3b82f6}.view-toggle.overview-btn:hover{background:#3b82f60d;box-shadow:0 6px 20px #3b82f61a}.view-toggle.detailed-btn{background:#fff;border:1px solid #0000001a;color:#f43f5e}.view-toggle.detailed-btn:hover{background:#f43f5e0d;box-shadow:0 6px 20px #f43f5e1a}.back-button{background:#fff;border:1px solid #0000001a;border-radius:25px;color:#495057;font-weight:600;padding:12px 24px;text-decoration:none;transition:all .3s ease}.back-button:hover{background:#00000008;color:#2c3e50;transform:translateY(-2px)}.classroom-enhanced-error,.classroom-enhanced-loading{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:60vh;text-align:center}.loading-spinner{border:4px solid #e3f2fd;border-top-color:#3498db;height:60px;width:60px}.error-icon{font-size:4rem}.retry-button{background:#3498db;border:none;border-radius:25px;color:#fff;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .3s ease}.retry-button:hover{background:#2980b9;transform:translateY(-2px)}.urgent-alerts-section{margin-bottom:30px}.section-header{background:#0000;border:none;border-radius:0;box-shadow:none;padding:16px 0}.section-header.critical{background:#0000;border:none;color:#ef4444}.section-header h2{font-size:1.75rem;letter-spacing:-.5px}.section-header.critical h2{color:#ef4444;text-shadow:none}.alert-count{background:#ef44441a;border:1px solid #ef44444d;border-radius:24px;color:#ef4444;font-size:.9rem;font-weight:700;padding:10px 18px}.urgent-interventions-grid{grid-gap:20px;gap:20px;grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.urgent-intervention-card{border-left:5px solid #e74c3c;border-radius:15px;box-shadow:0 4px 15px #e74c3c33;padding:20px}.urgent-intervention-card:hover{box-shadow:0 8px 25px #e74c3c4d;transform:translateY(-5px)}.student-info h3{font-size:1.3rem;margin:0 0 10px}.urgency-score{color:#7f8c8d;font-size:.9rem}.urgency-score .score{color:#e74c3c;font-size:1.1rem;font-weight:700}.urgency-details{margin:15px 0}.mastery-display{gap:10px;margin-bottom:10px}.mastery-label{color:#34495e}.mastery-value{font-size:1.1rem}.urgency-reasons{gap:5px}.urgency-reason{background:#fff;border:1px solid #fecaca;border-radius:8px;font-size:.9rem;padding:5px 10px}.intervention-actions{gap:10px;margin-top:15px}.action-button{border:none;border-radius:20px;cursor:pointer;font-size:.9rem;font-weight:600;padding:8px 16px;text-decoration:none;transition:all .3s ease}.action-button.primary{background:#3498db;color:#fff}.action-button.primary:hover{background:#2980b9;transform:translateY(-2px)}.action-button.secondary{background:#ecf0f1;color:#2c3e50}.action-button.secondary:hover{background:#bdc3c7;transform:translateY(-2px)}.insights-section{margin-bottom:32px}.insights-grid{grid-gap:20px;gap:20px}.insight-card{border-radius:15px;box-shadow:0 4px 15px #0000001a;padding:20px;transition:all .3s ease}.insight-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-5px)}.insight-card.critical{border-left:5px solid #e74c3c}.insight-card.warning{border-left:5px solid #f39c12}.insight-card.success{border-left:5px solid #27ae60}.insight-icon{font-size:2rem;margin-bottom:10px}.insight-content h3{color:#2c3e50;font-size:1.2rem;margin:0 0 10px}.insight-content p{color:#7f8c8d;line-height:1.5;margin-bottom:15px}.insight-action{background:#fff;border:1px solid #e9ecef;border-radius:8px;color:#495057;font-size:.9rem;padding:10px}.analytics-dashboard{margin-bottom:32px}.analytics-grid{grid-gap:24px;gap:24px}.analytics-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;padding:28px}.card-header{margin-bottom:24px}.card-header h3{color:#1e293b;font-size:1.4rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px}.chart-info{color:#64748b;font-size:.95rem;font-weight:500;line-height:1.4}.priority-list{display:flex;flex-direction:column;gap:15px}.priority-item{background:#fff;border:1px solid #e9ecef;border-radius:10px;padding:15px;transition:all .3s ease}.priority-item:hover{box-shadow:0 4px 15px #0000001a;transform:translateX(5px)}.priority-item.high{background:#fdf2f2;border-left:5px solid #e74c3c}.priority-item.medium{background:#fef9e7;border-left:5px solid #f39c12}.priority-item.low{background:#f0f9f0;border-left:5px solid #27ae60}.priority-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.kc-code{font-weight:700}.priority-badge{border-radius:15px;font-size:.8rem;font-weight:600;padding:4px 12px;text-transform:uppercase}.priority-badge.high{background:#e74c3c;color:#fff}.priority-badge.medium{background:#f39c12;color:#fff}.priority-badge.low{background:#27ae60;color:#fff}.kc-name{color:#34495e;font-size:.9rem;margin-bottom:10px}.priority-stats{display:flex;gap:20px;margin-bottom:10px}.stat{display:flex;flex-direction:column;gap:2px}.stat-label{color:#7f8c8d;font-size:.8rem;font-weight:500}.stat-value{font-weight:700}.view-details-btn{color:#3498db;font-size:.9rem;font-weight:600;text-decoration:none;transition:color .3s ease}.view-details-btn:hover{color:#2980b9}.urgent-alerts-section{margin-bottom:24px}.urgent-interventions-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.urgent-intervention-card{background:#fff;border-left:4px solid #e74c3c;border-radius:12px;box-shadow:0 3px 12px #e74c3c26;padding:16px;transition:all .3s ease}.urgent-intervention-card:hover{box-shadow:0 6px 20px #e74c3c40;transform:translateY(-3px)}.student-info h3{color:#2c3e50;font-size:1.1rem;font-weight:700;margin:0 0 8px}.urgency-details{margin:12px 0}.mastery-display{align-items:center;display:flex;gap:8px;margin-bottom:8px}.urgency-reasons{display:flex;flex-direction:column;gap:4px}.urgency-reason{background:#fdf2f2;border-left:3px solid #e74c3c;border-radius:6px;color:#e74c3c;font-size:.85rem;padding:4px 8px}.intervention-actions{display:flex;gap:8px;margin-top:12px}.intervention-actions .action-button{border-radius:16px;font-size:.85rem;padding:6px 12px}.student-management-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;margin-bottom:32px;padding:24px}.management-controls{position:relative}.add-student-btn{background:#27ae60;border:none;border-radius:25px;color:#fff;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .3s ease}.add-student-btn:hover{background:#229954;transform:translateY(-2px)}.add-student-modal{background:#fff;border-radius:15px;box-shadow:0 10px 30px #0003;max-width:500px;min-width:400px;padding:20px;position:absolute;right:0;top:50px;z-index:1000}.modal-header{border-bottom:1px solid #ecf0f1;margin-bottom:15px;padding-bottom:10px}.modal-header h3{color:#2c3e50;margin:0}.close-btn{background:none;border:none;color:#95a5a6;cursor:pointer;font-size:1.5rem}.close-btn:hover{color:#7f8c8d}.students-list{border:1px solid #ecf0f1;border-radius:8px;margin-bottom:15px;max-height:200px;padding:10px}.student-checkbox-item{align-items:center;border-bottom:1px solid #f8f9fa;display:flex;gap:10px;padding:8px}.student-checkbox-item:last-child{border-bottom:none}.student-checkbox-item label{cursor:pointer;display:flex;justify-content:space-between;width:100%}.student-grade{color:#7f8c8d;font-size:.9rem}.modal-actions{align-items:center;display:flex;justify-content:space-between}.selection-count{color:#7f8c8d;font-size:.9rem}.action-buttons{gap:10px}.confirm-btn{background:#27ae60;border:none;border-radius:20px;color:#fff;cursor:pointer;font-weight:600;padding:8px 16px;transition:all .3s ease}.confirm-btn:hover:not(:disabled){background:#229954;transform:translateY(-2px)}.confirm-btn:disabled{background:#bdc3c7;cursor:not-allowed}.cancel-btn{background:#ecf0f1;border:none;border-radius:20px;color:#2c3e50;cursor:pointer;font-weight:600;padding:8px 16px;transition:all .3s ease}.cancel-btn:hover{background:#bdc3c7;transform:translateY(-2px)}.enhanced-student-table{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;overflow:hidden}.table-header{grid-gap:16px;border-bottom:2px solid #e9ecef;display:grid;font-size:.85rem;font-weight:700;gap:16px;grid-template-columns:2fr 1.5fr 1fr 1.5fr 1fr;letter-spacing:.8px;padding:24px;text-transform:uppercase}.table-body{display:flex;flex-direction:column}.student-row{grid-gap:16px;align-items:center;border-bottom:1px solid #e2e8f0;display:grid;gap:16px;grid-template-columns:2fr 1.5fr 1fr 1.5fr 1fr;padding:20px;transition:all .3s ease}.student-row:hover{background:#f8f9fa;transform:translateX(6px)}.student-row.needs-intervention{background:#fff5f5;border-left:4px solid #ef4444}.student-info{gap:5px}.student-name{font-size:1.1rem;font-weight:700}.student-details{color:#7f8c8d;font-size:.9rem}.inactive-warning{color:#e74c3c;font-size:.8rem;font-weight:600}.mastery-display-enhanced{display:flex;flex-direction:column;gap:8px}.mastery-value{border-radius:8px;font-size:1.2rem;font-weight:700;padding:4px 8px;text-align:center}.mastery-value.critical{background:#fff;border:2px solid #e74c3c;color:#e74c3c}.mastery-value.warning{background:#fff;border:2px solid #f39c12;color:#f39c12}.mastery-value.good{background:#fff;border:2px solid #27ae60;color:#27ae60}.mastery-bar{background:#ecf0f1;border-radius:3px;height:6px;width:100%}.mastery-fill{background:linear-gradient(90deg,#e74c3c,#f39c12 50%,#27ae60);transition:width .5s ease}.mastery-label{color:#7f8c8d;font-size:.8rem;font-weight:600;text-align:center}.activity-info{gap:5px}.activity-date{color:#2c3e50;font-weight:600}.activity-status{border-radius:10px;font-size:.8rem;font-weight:600;padding:2px 8px;text-align:center}.activity-status.recent{background:#fff;border:1px solid #27ae60;color:#27ae60}.activity-status.moderate{background:#fff;border:1px solid #f39c12;color:#f39c12}.activity-status.old{background:#fff;border:1px solid #e74c3c;color:#e74c3c}.activity-status.never{background:#2c3e50;border:1px solid #34495e;color:#fff;font-weight:700}.activity-type{background:#fff3;border-radius:4px;font-size:.9em;margin-left:8px;padding:2px 6px}.activity-type.quiz{background:#28a74533;color:#28a745}.activity-type.session{background:#007bff33;color:#007bff}.no-activity-warning{background:#ecf0f1;border:1px solid #bdc3c7;border-radius:6px;color:#2c3e50;font-size:.8rem;font-weight:700;padding:4px 8px;text-align:center}.intervention-status{display:flex;flex-direction:column;gap:5px}.intervention-priority{border-radius:15px;font-size:.9rem;font-weight:700;padding:4px 12px;text-align:center;text-transform:uppercase}.intervention-status.high .intervention-priority{background:#e74c3c;color:#fff}.intervention-status.low .intervention-priority,.intervention-status.medium .intervention-priority{background:#f39c12;color:#fff}.intervention-reason{color:#7f8c8d;font-size:.8rem;text-align:center}.no-intervention{color:#27ae60;font-weight:600;text-align:center}.action-buttons-enhanced{display:flex;gap:8px;justify-content:center}.action-btn{-webkit-tap-highlight-color:transparent;align-items:center;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:1.2rem;height:40px;justify-content:center;min-height:44px;min-width:44px;text-decoration:none;touch-action:manipulation;transition:all .3s ease;width:40px}.action-btn.view{background:#3498db;color:#fff}.action-btn.view:hover{background:#2980b9;transform:scale(1.1)}.action-btn.parent{background:#f39c12;color:#fff}.action-btn.parent:hover{background:#e67e22;transform:scale(1.1)}.action-btn.remove{background:#e74c3c;color:#fff}.action-btn.remove:hover{background:#c0392b;transform:scale(1.1)}.kc-analysis-section{margin-bottom:32px}.auto-refresh-indicator{align-items:center;color:#7f8c8d;display:flex;font-size:.9rem;gap:8px}.refresh-dot{animation:pulse 2s infinite;background:#27ae60;border-radius:50%;height:8px;width:8px}.kc-analysis-grid{grid-gap:20px;align-items:start;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.kc-analysis-card{word-wrap:break-word;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 16px #00000014;display:flex;flex-direction:column;max-height:400px;min-height:320px;overflow:hidden;padding:20px;transition:all .3s ease;word-break:break-word}.kc-analysis-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-5px)}.kc-analysis-card.priority-high{border-left:5px solid #e74c3c}.kc-analysis-card.priority-medium{border-left:5px solid #f39c12}.kc-analysis-card.priority-low{border-left:5px solid #27ae60}.kc-header{margin-bottom:16px;max-height:90px;min-height:70px;overflow:hidden}.kc-title{word-wrap:break-word;display:flex;flex:1 1;flex-direction:column;justify-content:flex-start;margin-right:12px;max-height:80px;min-height:60px;overflow:hidden;word-break:break-word}.kc-code{background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#2c3e50;display:inline-block;font-family:Segoe UI,monospace;font-size:.9rem;font-weight:800;margin-bottom:6px;max-width:100%;padding:4px 8px;white-space:nowrap;width:fit-content}.kc-code,.kc-name{overflow:hidden;text-overflow:ellipsis}.kc-name{-webkit-line-clamp:3;-webkit-box-orient:vertical;word-wrap:break-word;color:#334155;display:-webkit-box;font-size:.85rem;font-weight:600;height:3.6em;-webkit-hyphens:auto;hyphens:auto;line-height:1.4;margin-top:4px;word-break:break-word}.priority-indicator{border-radius:16px;flex-shrink:0;font-size:.7rem;font-weight:700;letter-spacing:.3px;max-width:90px;min-width:70px;overflow:hidden;padding:6px 12px;text-align:center;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.priority-indicator.high{background:#e74c3c;color:#fff}.priority-indicator.medium{background:#f39c12;color:#fff}.priority-indicator.low{background:#27ae60;color:#fff}.kc-metrics{grid-gap:12px;display:grid;flex:1 1;gap:12px;grid-template-columns:repeat(3,1fr);margin-bottom:16px;max-height:100px;min-height:80px}.metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;justify-content:center;padding:10px 6px;text-align:center}.metric,.metric-label{word-wrap:break-word;overflow:hidden}.metric-label{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#64748b;display:-webkit-box;font-size:.7rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;letter-spacing:.2px;line-height:1.1;text-overflow:ellipsis;text-transform:uppercase}.metric-value{font-size:1.1rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metric-value.critical{color:#e74c3c}.metric-value.warning{color:#f39c12}.metric-value.good{color:#27ae60}.kc-distribution{flex-shrink:0;margin-bottom:12px;margin-top:auto}.distribution-bar{background:#ecf0f1;height:12px;width:100%}.dist-segment{height:100%;transition:width .5s ease}.dist-segment.very-low{background:#e74c3c}.dist-segment.low{background:#f39c12}.dist-segment.medium{background:#f1c40f}.dist-segment.high{background:#2ecc71}.dist-segment.very-high{background:#27ae60}.kc-actions{align-items:center;border-top:1px solid #e2e8f0;display:flex;flex-shrink:0;justify-content:center;margin-top:auto;min-height:50px;padding-top:12px;text-align:center}.kc-detail-btn{background:#fff;border:2px solid #3b82f6;border-radius:20px;color:#3b82f6;display:inline-block;font-size:.85rem;font-weight:600;max-width:100%;overflow:hidden;padding:8px 16px;text-decoration:none;text-overflow:ellipsis;transition:all .3s ease;white-space:nowrap}.kc-detail-btn:hover{background:#3b82f6;box-shadow:0 6px 20px #3b82f64d;color:#fff;transform:translateY(-3px)}.error-notification{animation:slideIn .3s ease;position:fixed;right:20px;top:20px;z-index:2000}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.error-content{align-items:center;background:#e74c3c;border-radius:10px;box-shadow:0 4px 15px #e74c3c4d;color:#fff;display:flex;gap:10px;padding:15px 20px}.error-icon{font-size:1.2rem}.error-message{flex:1 1;font-weight:600}.error-close{align-items:center;background:none;border:none;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;height:20px;justify-content:center;padding:0;width:20px}.error-close:hover{opacity:.8}.kc-analysis-card *{word-wrap:break-word;box-sizing:border-box;max-width:100%;overflow-wrap:break-word;word-break:break-word}.kc-analysis-card h1,.kc-analysis-card h2,.kc-analysis-card h3,.kc-analysis-card h4,.kc-analysis-card h5,.kc-analysis-card h6{-webkit-hyphens:auto;hyphens:auto;overflow:hidden;text-overflow:ellipsis}.kc-analysis-card div,.kc-analysis-card p,.kc-analysis-card span{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word;word-break:break-word}.kc-analysis-card .kc-code,.kc-analysis-card .kc-name,.kc-analysis-card .metric-label,.kc-analysis-grid>.kc-analysis-card{max-width:100%;overflow:hidden}@media (max-width:1200px){.analytics-grid{grid-template-columns:1fr}.header-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.classroom-enhanced{padding:15px}.classroom-enhanced-header{padding:20px}.header-content{flex-direction:column;gap:20px}.header-stats{grid-template-columns:repeat(2,1fr);min-width:auto}.header-actions{flex-direction:column;gap:15px}.view-controls{order:2}.student-row,.table-header{gap:10px;grid-template-columns:1fr}.student-row>div:not(:first-child),.table-header>div:not(:first-child){display:none}.insights-grid,.kc-analysis-grid,.urgent-interventions-grid{grid-template-columns:1fr}.add-student-modal{left:50%;max-width:400px;position:fixed;right:auto;top:50%;transform:translate(-50%,-50%);width:90vw}}@media (max-width:480px){.classroom-title h1{font-size:2rem}.header-stats,.kc-metrics{grid-template-columns:1fr}.action-buttons-enhanced{flex-direction:column;gap:8px}.action-btn{height:48px;min-height:48px;min-width:48px;width:48px}.enhanced-student-table{-webkit-overflow-scrolling:touch;overflow-x:auto}.analytics-card,.insight-card,.kc-analysis-card,.urgent-intervention-card{margin-bottom:16px}}@media (hover:none) and (pointer:coarse){.action-btn:hover{background:inherit;transform:none}.action-btn.view:hover{background:#3498db}.action-btn.parent:hover{background:#f39c12}.action-btn.remove:hover{background:#e74c3c}.action-btn:active{transform:scale(.95);transition:transform .1s}.analytics-card:hover,.insight-card:hover,.kc-analysis-card:hover,.urgent-intervention-card:hover{transform:none}.action-btn,.enhanced-student-table td,.enhanced-student-table th{-webkit-user-select:none;user-select:none}}@media (max-width:1024px) and (orientation:landscape){.insights-grid,.kc-analysis-grid,.urgent-interventions-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.enhanced-student-table:after{bottom:-25px;color:#7f8c8d;content:"← Swipe to see more →";font-size:.8rem;left:50%;position:absolute;text-align:center;transform:translateX(-50%)}.enhanced-student-table{padding-bottom:30px;position:relative}.analytics-card,.insight-card,.kc-analysis-card,.urgent-intervention-card{border-radius:12px;padding:20px}.action-buttons-enhanced{align-items:center;flex-direction:column;gap:12px}.action-btn{font-size:1.4rem;height:50px;min-height:50px;min-width:50px;width:50px}}.classroom-enhanced h1,.classroom-enhanced h2,.classroom-enhanced h3,.classroom-enhanced h4,.classroom-enhanced h5,.classroom-enhanced h6{color:#2c3e50}.classroom-enhanced div:not(.live-indicator),.classroom-enhanced p:not(.classroom-subtitle):not(.chart-info),.classroom-enhanced span:not(.stat-value):not(.stat-label):not(.indicator-dot){color:#495057}.classroom-enhanced .analytics-dashboard,.classroom-enhanced .insights-section,.classroom-enhanced .kc-analysis-section,.classroom-enhanced .student-management-section,.classroom-enhanced .urgent-alerts-section{background:#0000}.classroom-enhanced .analytics-card,.classroom-enhanced .enhanced-student-table,.classroom-enhanced .insight-card,.classroom-enhanced .kc-analysis-card,.classroom-enhanced .urgent-intervention-card{background:#fff;border:1px solid #e9ecef;box-shadow:0 2px 8px #0000000d}.link-parent-modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0003;display:flex;flex-direction:column;max-height:85vh;max-width:650px;overflow:hidden;width:100%}.student-info-section{background:#f0f7ff;border:1px solid #d0e2ff;border-radius:8px;margin-bottom:20px;padding:15px 25px}.student-info-section p{color:#2d3748;margin:5px 0}.no-parents{background:#f8f9fa;border-radius:8px;color:#6c757d;font-style:italic;padding:20px;text-align:center}.linked-parent{align-items:center;background:#e8f4f8;border:1px solid #b8daff;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:8px;padding:12px 15px}.parent-info{display:flex;flex-direction:column;gap:4px}.parent-name{color:#2d3748;font-size:.95rem;font-weight:600}.parent-email{color:#6c757d;font-size:.85rem}.parents-list{display:flex;flex-direction:column;gap:8px;max-height:250px;overflow-y:auto;padding-right:5px}.parent-item{align-items:center;background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;display:flex;justify-content:space-between;padding:12px 15px;transition:all .2s}.parent-item:hover{background:#e9ecef}.parent-item.linked{background:#e8f4f8;border-color:#b8daff}.no-results{color:#6c757d;font-style:italic;padding:20px;text-align:center}.info-section{background:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;margin-top:20px;padding:15px}.info-text{color:#856404;font-size:.9rem;line-height:1.4;margin:0}.link-parent-modal .modal-header{background:#e8f4f8;border-bottom-color:#b8daff}.link-parent-modal .done-button{background:#17a2b8}.link-parent-modal .done-button:hover{background:#138496}@media (max-width:768px){.link-parent-modal{max-height:90vh}.student-info-section{padding:12px 20px}.parents-list{max-height:200px}}.modal-overlay{animation:fadeIn .3s ease-out;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b3;z-index:1050}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.overview-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:95vh;max-width:95vw;min-height:600px;overflow:visible;width:95%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem}.modal-header-content h2{font-size:2rem;font-weight:700;margin:0 0 .5rem}.classroom-name{font-size:1.2rem;font-weight:500;margin:0;opacity:.9}.modal-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .2s ease;width:40px}.modal-close:hover{background:#ffffff4d;transform:scale(1.1)}.modal-close svg{height:20px;width:20px}.modal-content{max-height:calc(95vh - 140px);min-height:500px;overflow-x:auto}.metrics-grid{grid-gap:1.5rem;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem;width:100%}.metric-card{border-left:4px solid;border-radius:12px;box-shadow:0 4px 12px #0000001a;gap:1rem;padding:1.5rem;transition:transform .2s ease}.metric-card:hover{transform:translateY(-2px)}.metric-card.primary{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-left-color:#3498db}.metric-card.success{background:linear-gradient(135deg,#e8f5e8,#c8e6c8);border-left-color:#27ae60}.metric-card.warning{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border-left-color:#f39c12}.metric-card.info{background:linear-gradient(135deg,#f3e5f5,#e1bee7);border-left-color:#9b59b6}.metric-icon{font-size:2rem;opacity:.8}.metric-content h3{color:#2c3e50;font-size:2.2rem;font-weight:700;margin:0}.metric-content p{color:#5a6c7d;font-size:1rem;font-weight:500;margin:.25rem 0 0}.distribution-section{background:#f8f9fa;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.distribution-section h3{color:#2c3e50;font-size:1.4rem;font-weight:600;margin:0 0 1.5rem}.distribution-chart{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:1rem}.distribution-bar{border:1px solid #dee2e6;border-radius:6px;display:flex;height:40px;margin-bottom:1rem;overflow:hidden}.dist-segment{align-items:center;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;justify-content:center;position:relative;transition:all .3s ease}.dist-segment:hover{filter:brightness(1.1);transform:scaleY(1.05);z-index:2}.dist-segment.excellent{background:linear-gradient(135deg,#27ae60,#2ecc71)}.dist-segment.good{background:linear-gradient(135deg,#3498db,#5dade2)}.dist-segment.average{background:linear-gradient(135deg,#f39c12,#f5b041)}.dist-segment.needs-help{background:linear-gradient(135deg,#e67e22,#f0ad4e)}.dist-segment.struggling{background:linear-gradient(135deg,#e74c3c,#ec7063)}.distribution-legend{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.legend-item{align-items:center;color:#5a6c7d;display:flex;font-size:.85rem;gap:.5rem}.legend-color{border-radius:3px;height:16px;width:16px}.legend-item.excellent .legend-color{background:linear-gradient(135deg,#27ae60,#2ecc71)}.legend-item.good .legend-color{background:linear-gradient(135deg,#3498db,#5dade2)}.legend-item.average .legend-color{background:linear-gradient(135deg,#f39c12,#f5b041)}.legend-item.needs-help .legend-color{background:linear-gradient(135deg,#e67e22,#f0ad4e)}.legend-item.struggling .legend-color{background:linear-gradient(135deg,#e74c3c,#ec7063)}.insights-grid{grid-gap:1.5rem;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:2rem;min-height:200px;width:100%}.insight-card{background:#fff;border-left:4px solid;border-radius:12px;box-shadow:0 4px 12px #0000001a;padding:1.5rem}.insight-card.success{background:linear-gradient(135deg,#e8f5e8,#f0f8f0);border-left-color:#27ae60}.insight-card.warning{background:linear-gradient(135deg,#fdf2f2,#fef5f5);border-left-color:#e74c3c}.insight-card h4{color:#2c3e50;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.kc-list{display:flex;flex-direction:column;gap:.75rem}.kc-item{align-items:center;background:#fff;border:1px solid #e9ecef;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem;transition:transform .2s ease}.kc-item:hover{box-shadow:0 2px 8px #0000001a;transform:translateX(4px)}.kc-code{background:#e9ecef;border-radius:4px;color:#495057;font-size:.85rem;font-weight:600;padding:.25rem .5rem}.kc-mastery{color:#2c3e50;font-size:1rem;font-weight:700}.no-data{color:#6c757d;font-style:italic;margin:1rem 0;text-align:center}.quick-actions{background:#f8f9fa;border-radius:12px;padding:1.5rem}.quick-actions h4{color:#2c3e50;font-size:1.2rem;font-weight:600;margin:0 0 1rem}.action-items{display:flex;flex-direction:column;gap:.75rem}.action-item{align-items:center;border-left:4px solid;border-radius:8px;display:flex;font-weight:500;gap:.75rem;padding:.75rem 1rem}.action-item.urgent{background:#fdf2f2;border-left-color:#e74c3c;color:#721c24}.action-item.important{background:#fff3e0;border-left-color:#f39c12;color:#8e5a00}.action-item.moderate{background:#e3f2fd;border-left-color:#3498db;color:#1565c0}.action-item.positive{background:#e8f5e8;border-left-color:#27ae60;color:#155724}.action-icon{font-size:1.2rem}.no-data-state{align-items:center;color:#6c757d;display:flex;flex-direction:column;justify-content:center;min-height:300px}.no-data-state h3{color:#495057;font-size:1.5rem;margin-bottom:1rem}.no-data-state p{line-height:1.6;margin:.5rem 0;max-width:600px}@media (max-width:1200px){.overview-modal{max-width:95vw;min-height:500px;width:95%}.modal-content{min-height:400px;padding:1.5rem}.insights-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}@media (max-width:768px){.overview-modal{max-height:95vh;max-width:95vw;min-height:400px;width:95%}.modal-header{padding:1.5rem}.modal-header-content h2{font-size:1.6rem}.modal-content{min-height:300px;padding:1.5rem}.metrics-grid{gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.insights-grid{gap:1rem;grid-template-columns:1fr}.distribution-legend{align-items:flex-start;flex-direction:column;gap:.5rem}.metric-card{padding:1rem}.metric-content h3{font-size:1.8rem}}@media (max-width:480px){.modal-header{flex-direction:column;gap:1rem;padding:1rem;text-align:center}.modal-content{padding:1rem}.distribution-bar{height:30px}.dist-segment{font-size:.8rem}.insight-card,.quick-actions{padding:1rem}}.detailed-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:95vh;max-width:1200px;overflow:hidden;width:98%}.modal-tabs{background:#f8f9fa;border-bottom:1px solid #dee2e6;display:flex}.tab-button{background:#0000;flex:1 1;padding:1rem 1.5rem;transition:all .2s ease}.tab-button:hover{background:#6c757d1a;color:#495057}.tab-button.active{background:#fff;border-bottom-color:#667eea;color:#2c3e50;font-weight:600}.modal-content{padding:2rem}.tab-header{margin-bottom:2rem;text-align:center}.tab-header h3{color:#2c3e50;font-size:1.5rem;font-weight:600;margin:0 0 .5rem}.tab-header p{color:#6c757d;font-size:1rem;margin:0}.students-detailed-table{background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;overflow:hidden}.table-header-detailed{grid-gap:1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:grid;font-size:.9rem;font-weight:600;gap:1rem;grid-template-columns:2fr 1.5fr 1.5fr 1fr 1fr 1fr;padding:1rem 1.5rem}.table-body-detailed{max-height:600px;overflow-y:auto}.student-detailed-row{grid-gap:1rem;align-items:center;border-bottom:1px solid #e9ecef;display:grid;gap:1rem;grid-template-columns:2fr 1.5fr 1.5fr 1fr 1fr 1fr;padding:1.5rem;transition:all .2s ease}.student-detailed-row:hover{background:#f8f9fa}.student-detailed-row:last-child{border-bottom:none}.student-info{gap:1rem}.student-rank{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:.85rem;font-weight:700;height:32px;justify-content:center;width:32px}.student-details{display:flex;flex-direction:column;gap:.25rem}.student-name{color:#2c3e50;font-size:1rem}.mastery-info{align-items:center;display:flex;flex-direction:column;gap:.5rem}.mastery-badge{font-size:.8rem;min-width:80px;padding:.25rem .75rem;text-align:center}.mastery-badge.excellent{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff}.mastery-badge.good{background:linear-gradient(135deg,#3498db,#5dade2);color:#fff}.mastery-badge.average{background:linear-gradient(135deg,#f39c12,#f5b041);color:#fff}.mastery-badge.needs-help{background:linear-gradient(135deg,#e67e22,#f0ad4e);color:#fff}.mastery-badge.struggling{background:linear-gradient(135deg,#e74c3c,#ec7063);color:#fff}.mastery-percentage{color:#2c3e50;font-size:1.1rem}.progress-visual{display:flex;flex-direction:column;gap:.5rem}.progress-bar-detailed{background:#e9ecef;border-radius:4px;height:8px;overflow:hidden;width:100%}.progress-fill{transition:width .3s ease}.progress-fill.excellent{background:linear-gradient(90deg,#27ae60,#2ecc71)}.progress-fill.good{background:linear-gradient(90deg,#3498db,#5dade2)}.progress-fill.average{background:linear-gradient(90deg,#f39c12,#f5b041)}.progress-fill.needs-help{background:linear-gradient(90deg,#e67e22,#f0ad4e)}.progress-fill.struggling{background:linear-gradient(90deg,#e74c3c,#ec7063)}.progress-stats{color:#6c757d;font-size:.8rem;text-align:center}.activity-info{display:flex;flex-direction:column;gap:.25rem;text-align:center}.last-active{color:#2c3e50;font-size:.9rem;font-weight:500}.activity-streak{color:#6c757d;font-size:.8rem}.intervention-badge{border-radius:12px;font-size:.75rem;font-weight:600;padding:.25rem .5rem;text-align:center;text-transform:uppercase}.intervention-badge.high{background:#dc3545;color:#fff}.intervention-badge.medium{background:#fd7e14;color:#fff}.intervention-badge.low{background:#28a745;color:#fff}.intervention-badge.none{background:#e9ecef;color:#6c757d}.student-status{align-items:center;display:flex;flex-direction:column;gap:.5rem}.status-indicator{border-radius:50%;height:16px;width:16px}.status-indicator.excellent,.status-indicator.good{background:#27ae60}.status-indicator.average{background:#f39c12}.status-indicator.needs-help,.status-indicator.struggling{background:#e74c3c}.status-text{color:#6c757d;font-size:.8rem;text-align:center}.kc-chart-container{background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;height:400px;margin-bottom:2rem;padding:1.5rem}.kc-detailed-list{display:flex;flex-direction:column;gap:1rem}.kc-detailed-item{grid-gap:1.5rem;align-items:center;background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;display:grid;gap:1.5rem;grid-template-columns:auto 2fr 1fr 2fr;padding:1.5rem;transition:transform .2s ease}.kc-detailed-item:hover{box-shadow:0 8px 24px #00000026;transform:translateY(-2px)}.kc-rank{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:1rem;font-weight:700;height:40px;justify-content:center;width:40px}.kc-info-detailed{display:flex;flex-direction:column;gap:.5rem}.kc-header{align-items:center}.kc-code-detailed{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;font-size:.85rem;font-weight:700;padding:.25rem .75rem}.kc-mastery-detailed{color:#2c3e50;font-size:1.2rem;font-weight:700}.kc-name-detailed{color:#2c3e50;font-size:1rem;font-weight:600}.kc-description{font-size:.9rem;line-height:1.4}.kc-stats-detailed{display:flex;flex-direction:column;gap:.5rem}.stat-item{align-items:center;background:#f8f9fa;border-radius:6px;display:flex;font-size:.85rem;justify-content:space-between;padding:.25rem .5rem}.stat-label{color:#6c757d}.stat-value{color:#2c3e50;font-weight:600}.kc-progress-detailed{display:flex;flex-direction:column;gap:.75rem}.kc-progress-bar{background:#e9ecef;border-radius:6px;height:12px;overflow:hidden;width:100%}.kc-progress-fill{background:linear-gradient(90deg,#e74c3c,#f39c12 25%,#f1c40f 50%,#27ae60 75%,#2ecc71);border-radius:6px;height:100%;transition:width .3s ease}.mastery-distribution-mini{border-radius:3px;display:flex;height:6px;overflow:hidden}.mini-dist{height:100%;transition:width .3s ease}.mini-dist.very-low{background:#e74c3c}.mini-dist.low{background:#fd7e14}.mini-dist.medium{background:#f1c40f}.mini-dist.high{background:#27ae60}.mini-dist.very-high{background:#2ecc71}.analytics-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr;margin-bottom:2rem}.analytics-chart{height:400px}.analytics-chart,.analytics-insights{background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;padding:1.5rem}.analytics-insights h4{color:#2c3e50;font-size:1.2rem;font-weight:600;margin:0 0 1.5rem}.insight-list{display:flex;flex-direction:column;gap:1rem}.insight-item{align-items:center;background:#f8f9fa;border-left:4px solid #667eea;border-radius:8px;gap:1rem;padding:1rem}.insight-icon{font-size:1.5rem}.insight-content{color:#2c3e50;flex:1 1;font-size:.95rem}.recommendations-section{background:#f8f9fa;border-radius:12px;padding:1.5rem}.recommendations-section h4{color:#2c3e50;font-size:1.2rem;font-weight:600;margin:0 0 1.5rem}.recommendation-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.recommendation-card{background:#fff;border-left:4px solid;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.recommendation-card.immediate{border-left-color:#e74c3c}.recommendation-card.short-term{border-left-color:#f39c12}.recommendation-card.long-term{border-left-color:#27ae60}.recommendation-card h5{color:#2c3e50;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.recommendation-card ul{color:#495057;margin:0;padding-left:1.5rem}.recommendation-card li{line-height:1.4;margin-bottom:.5rem}@media (max-width:1024px){.detailed-modal{max-height:90vh;width:95%}.student-detailed-row,.table-header-detailed{gap:.5rem;grid-template-columns:1fr;text-align:center}.table-header-detailed{display:none}.student-detailed-row{background:#fff;border:1px solid #dee2e6;border-radius:8px;margin-bottom:1rem}.kc-detailed-item{gap:1rem;text-align:center}.analytics-grid,.kc-detailed-item,.recommendation-grid{grid-template-columns:1fr}}@media (max-width:768px){.modal-content{padding:1rem}.tab-button{font-size:.9rem;padding:.75rem 1rem}.analytics-chart{height:300px}.kc-chart-container{height:300px;padding:1rem}}@media (max-width:480px){.detailed-modal{max-height:95vh;width:98%}.modal-header{flex-direction:column;gap:1rem;padding:1rem;text-align:center}.tab-button{font-size:.85rem;padding:.5rem .75rem}.modal-content{padding:.75rem}.kc-detailed-item,.student-detailed-row{padding:1rem}}.knowledge-component-view{background-color:#f8f9fa;min-height:100vh;padding:20px}.kc-header{align-items:flex-start;background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;margin-bottom:30px;padding:30px}.header-content h1{color:#2c3e50;font-size:2rem;margin:0 0 10px}.curriculum-code{background:#e9ecef;border-radius:20px;color:#495057;display:inline-block;font-weight:600;margin-bottom:15px;padding:5px 15px}.kc-description{color:#6c757d;font-size:1.1rem;margin-bottom:20px}.kc-stats{display:flex;gap:30px;margin-top:20px}.kc-stats .stat{text-align:center}.kc-stats .stat-value{color:#4a6fa5;display:block;font-size:2rem;font-weight:700}.kc-stats .stat-label{color:#6c757d;font-size:.9rem;margin-top:5px}.header-actions{gap:10px}.kc-content{display:flex;flex-direction:column;gap:30px}.kc-info-section{grid-gap:30px;display:grid;gap:30px;grid-template-columns:1fr 1fr}.kc-details,.mastery-distribution{background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;padding:25px}.kc-details h2,.mastery-distribution h2{color:#2c3e50;font-size:1.5rem;margin:0 0 20px}.details-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.detail-item h3{color:#6c757d;font-size:.9rem;font-weight:400;margin:0 0 5px}.detail-item p{color:#2c3e50;font-weight:600;margin:0}.no-data-message{align-items:center;color:#6c757d;display:flex;font-style:italic;height:100%;justify-content:center}.student-performance-section{background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;padding:25px}.student-performance-section h2{color:#2c3e50;font-size:1.5rem;margin:0 0 20px}.performance-table{overflow-x:auto}.table-header,.table-row{grid-gap:15px;align-items:center;display:grid;gap:15px;grid-template-columns:2fr 1.5fr 1.5fr 1fr 1.5fr;padding:15px}.table-header{background:#f8f9fa;border-radius:5px;color:#495057;font-weight:600;margin-bottom:10px}.table-row{border-bottom:1px solid #e9ecef;transition:background-color .2s}.table-row:hover{background-color:#f8f9fa}.col-name{color:#2c3e50;font-weight:600}.mastery-percentage{font-weight:600;margin-bottom:5px}.mastery-bar{background:#e9ecef}.mastery-fill{background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease}.response-count{color:#6c757d;display:block;font-size:.8rem}.content-items-section{background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;padding:25px}.section-header{margin-bottom:20px}.section-header h2{font-size:1.5rem;margin:0}.add-button{background:#4a6fa5;border:none;border-radius:5px;color:#fff;cursor:pointer;font-weight:600;padding:10px 20px;transition:background-color .2s}.add-button:hover{background:#3a5f95}.content-tabs{margin-top:20px}.tab-headers{border-bottom:2px solid #e9ecef;display:flex;gap:10px;margin-bottom:20px}.tab-button{background:none;border-bottom:3px solid #0000;color:#6c757d;font-weight:600;padding:10px 20px;transition:all .2s}.tab-button:hover{color:#4a6fa5}.tab-button.active{border-bottom-color:#4a6fa5;color:#4a6fa5}.content-list{display:flex;flex-direction:column;gap:15px}.content-item{border:1px solid #e9ecef;border-radius:8px;padding:20px;transition:box-shadow .2s}.content-item:hover{box-shadow:0 4px 8px #0000001a}.content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.content-header h3{color:#2c3e50;font-size:1.2rem;margin:0}.difficulty{background:#e9ecef;border-radius:15px;color:#495057;font-size:.9rem;padding:5px 10px}.content-body{margin-bottom:15px}.content-body p{color:#495057;margin:0 0 10px}.options-list{margin-top:10px;padding-left:20px}.option{display:flex;gap:10px;margin-bottom:5px}.option-label{color:#4a6fa5;font-weight:600}.option-text{color:#495057}.content-footer{align-items:center;display:flex;justify-content:space-between}.content-stats{color:#6c757d;display:flex;font-size:.9rem;gap:20px}.content-actions{display:flex;gap:10px}.misconceptions-section{background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;padding:25px}.misconceptions-section h2{color:#2c3e50;font-size:1.5rem;margin:0 0 20px}.misconceptions-list{display:flex;flex-direction:column;gap:20px}.misconception-item{background:#fefefe;border:1px solid #e9ecef;border-radius:8px;padding:20px}.misconception-item h3{color:#2c3e50;font-size:1.2rem;margin:0 0 10px}.misconception-item p{color:#495057;margin:0 0 15px}.misconception-stats{color:#6c757d;display:flex;font-size:.9rem;gap:20px;margin-bottom:15px}.remediation{background:#f8f9fa;border-radius:5px;margin-top:15px;padding:15px}.remediation h4{color:#2c3e50;font-size:1rem;margin:0 0 10px}.remediation p{color:#495057;margin:0}.no-content,.no-data,.no-misconceptions{color:#6c757d;font-style:italic;padding:40px 20px;text-align:center}.button{border-radius:5px;font-weight:600;padding:10px 20px;transition:all .2s}.button.secondary{background:#e9ecef;color:#495057}.button.secondary:hover{background:#dee2e6}.button.small{font-size:.9rem;padding:5px 15px}@media (max-width:768px){.kc-header{flex-direction:column;gap:20px}.kc-info-section,.table-header,.table-row{grid-template-columns:1fr}.table-header,.table-row{gap:10px}.table-header>div,.table-row>div{display:flex;justify-content:space-between}.table-header>div:before,.table-row>div:before{color:#6c757d;content:attr(data-label);font-weight:600}}.modal-overlay{background:#00000080;height:100%;width:100%}.modal-content{background:#fff;border-radius:10px;box-shadow:0 10px 30px #0000004d;max-height:90%;max-width:90%}.error-container,.loading{margin:2rem auto;max-width:800px;padding:2rem;text-align:center}.error-container button{margin-top:1rem}.button,.error-container button{background-color:#4a6fa5;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:.5rem 1rem}.button{display:inline-block;font-size:.9rem;text-align:center;text-decoration:none}.button.primary{background-color:#4a6fa5}.button.secondary{background-color:#6c757d}.button.text{background-color:initial;color:#4a6fa5;padding:0;text-decoration:underline}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.mastery-bar{background-color:#e9ecef;border-radius:4px;height:8px;margin:.25rem 0;overflow:hidden}.mastery-fill{background-color:#4a6fa5;border-radius:4px;height:100%}.mastery-percentage{color:#4a6fa5;font-weight:700}.chart-container{margin:1rem 0}.positive{color:#28a745}.negative{color:#dc3545}.neutral{color:#6c757d}.no-achievements,.no-activity,.no-data,.no-path,.no-recommendations,.no-upcoming-content{color:#6c757d;font-style:italic;padding:2rem;text-align:center}.parent-dashboard{margin:0 auto;max-width:1200px;padding:1rem}.parent-dashboard.fullwidth{max-width:100%;padding:2rem}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{color:#343a40;font-size:1.75rem;margin-bottom:.5rem}.dashboard-header p{color:#6c757d;font-size:1.1rem}.dashboard-summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2.5rem}.summary-card{background-color:#f8f9fa;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem;text-align:center;transition:transform .2s ease}.summary-card:hover{box-shadow:0 5px 15px #0000001a;transform:translateY(-5px)}.summary-card h3{color:#6c757d;font-size:1rem;margin-top:0}.summary-card .count{color:#4a6fa5;font-size:2.5rem;font-weight:700;margin:.5rem 0}.children-section{margin-bottom:3rem}.children-section h2{border-bottom:2px solid #f8f9fa;color:#343a40;font-size:1.5rem;margin-bottom:1.5rem;padding-bottom:.75rem}.children-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.child-card{background-color:#fff;border-radius:12px;box-shadow:0 3px 8px #0000001a;padding:1.5rem}.child-card.enhanced{border-top:4px solid #4a6fa5;display:flex;flex-direction:column;overflow:hidden;position:relative;transition:transform .3s,box-shadow .3s}.child-card.enhanced:before{background:linear-gradient(135deg,#4a6fa51a,#fff0 60%);border-radius:0 12px 0 100%;content:"";height:100px;position:absolute;right:0;top:0;width:100px;z-index:0}.child-card.enhanced:hover{box-shadow:0 10px 20px #0000001f;transform:translateY(-5px)}.child-header-enhanced{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem;position:relative;z-index:1}.child-info{flex:1 1}.child-info h3{color:#343a40;font-size:1.3rem;margin:0}.child-info p{color:#6c757d;font-size:.9rem;margin:.25rem 0 0}.child-avatar{height:48px;margin-left:1rem;position:relative;width:48px}.avatar-placeholder{align-items:center;background-color:#4a6fa5;border-radius:50%;color:#fff;display:flex;font-size:1.5rem;font-weight:700;height:100%;justify-content:center;width:100%}.child-stats-enhanced{background-color:#f8f9fa;border-radius:8px;display:flex;justify-content:space-between;margin:.5rem 0 1.25rem;padding:1rem;position:relative;z-index:1}.child-stats-enhanced .stat{flex:1 1;text-align:center}.trend-indicator{font-size:1.1rem;margin-left:.25rem}.activity-summary{border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;margin:1rem 0 1.5rem;padding-bottom:1rem;position:relative;z-index:1}.activity-summary .summary-item{flex:1 1;text-align:center}.activity-summary h4{color:#343a40;font-size:1.1rem;margin:0}.activity-summary p{color:#6c757d;font-size:.8rem;margin:.25rem 0 0}.recent-activity-preview{background-color:#f8f9fa;border-radius:8px;margin:1rem 0 1.5rem;padding:1rem;position:relative;z-index:1}.recent-activity-preview h4{color:#343a40;font-size:1rem;margin-bottom:1rem;margin-top:0}.recent-item{align-items:flex-start;display:flex;margin-bottom:.5rem}.activity-result-badge{align-items:center;background-color:#6c757d;background-color:var(--badge-color,#6c757d);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.9rem;font-weight:700;height:24px;justify-content:center;margin-right:.75rem;width:24px}.activity-result-badge[title=Correct]{--badge-color:#28a745}.activity-result-badge[title=Incorrect]{--badge-color:#dc3545}.activity-brief{flex:1 1}.activity-content-preview{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#343a40;display:-webkit-box;font-size:.9rem;margin:0 0 .25rem;overflow:hidden;text-overflow:ellipsis}.activity-meta{font-size:.75rem;margin:0}.recent-activity-count{color:#4a6fa5;cursor:pointer;font-size:.8rem;margin-top:.5rem;text-align:right}.learning-focus{background-color:#4a6fa514;border-left:3px solid #4a6fa5;margin:1rem 0 1.5rem;padding:.75rem;position:relative;z-index:1}.learning-focus h4{color:#4a6fa5;font-size:.9rem;margin:0 0 .25rem}.learning-focus p{color:#343a40;font-size:.9rem;margin:0}.child-actions{display:flex;gap:.75rem;margin-top:1.5rem;position:relative;z-index:1}.child-actions .button{border-radius:6px;flex:1 1;font-weight:500;padding:.75rem;text-align:center}.resources-section{margin-bottom:2rem}.resources-section h2{border-bottom:2px solid #f8f9fa;color:#343a40;font-size:1.5rem;margin-bottom:1.5rem;padding-bottom:.75rem}.resources-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.resource-card{background-color:#fff;border-radius:12px;box-shadow:0 3px 8px #0000001a;display:flex;flex-direction:column;padding:1.75rem;transition:transform .2s ease}.resource-card:hover{box-shadow:0 8px 16px #0000001f;transform:translateY(-5px)}.resource-card h3{color:#343a40;font-size:1.25rem;margin-bottom:.75rem;margin-top:0}.resource-card p{color:#6c757d;flex-grow:1;margin-bottom:1.5rem}.resource-card .button{align-self:flex-start}@media (max-width:1200px){.children-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}@media (max-width:768px){.parent-dashboard.fullwidth{overflow-x:hidden;padding:1rem}.children-grid,.dashboard-summary,.resources-grid{grid-template-columns:1fr}.child-card.enhanced{min-height:200px;padding:1.25rem}.child-card button,.dashboard-actions button,.resource-card button{-webkit-tap-highlight-color:transparent;font-size:1rem;min-height:44px;min-width:44px;padding:12px 20px;touch-action:manipulation}.learning-stats,.mastery-insights,.progress-overview{margin-bottom:1.5rem}.insight-card{padding:1.5rem}.insight-card,.practice-suggestion{flex-direction:column;text-align:center}.practice-icon{margin-bottom:1rem;margin-right:0}}@media (max-width:480px){.parent-dashboard.fullwidth{padding:.75rem}.dashboard-header h1{font-size:1.8rem}.insights-grid{grid-template-columns:1fr}.child-card.enhanced{padding:1rem}.child-card button,.dashboard-actions button,.resource-card button{margin-bottom:8px;min-height:48px;width:100%}}@media (hover:none) and (pointer:coarse){.child-card.enhanced:hover,.insight-card:hover,.resource-card:hover{box-shadow:inherit;transform:none}.child-card.enhanced:active,.insight-card:active,.resource-card:active{transform:scale(.98);transition:transform .1s}.child-card button:active,.dashboard-actions button:active,.resource-card button:active{transform:scale(.95)}.child-card,.insight-card,.resource-card,button{-webkit-user-select:none;user-select:none}}.mastery-insights h3{color:#343a40;font-size:1.3rem;margin-bottom:1.5rem}.insights-summary{background-color:#f8f9fa;border-left:4px solid #4a6fa5;border-radius:8px;margin-bottom:1.5rem;padding:1.25rem}.insight-overview p{color:#343a40;font-size:1.1rem;line-height:1.5;margin:0}.practice-suggestion{align-items:flex-start;background-color:#e8f4f8;border-radius:8px;box-shadow:0 2px 4px #0000000d;display:flex;margin-top:2rem;padding:1.25rem}.practice-icon{flex-shrink:0;font-size:2rem;margin-right:1.25rem}.practice-content h4{color:#17a2b8;font-size:1.1rem;margin:0 0 .75rem}.practice-content p{color:#343a40;line-height:1.5;margin:0}.insights-grid{grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1rem}.insight-card{-webkit-tap-highlight-color:transparent;align-items:flex-start;background-color:#fff;border-radius:8px;border-top:3px solid #0000;box-shadow:0 2px 4px #00000014;display:flex;padding:1.25rem;touch-action:manipulation;transition:transform .2s,box-shadow .2s}.insight-card:first-child{border-top-color:#4a6fa5}.insight-card:nth-child(2){border-top-color:#28a745}.insight-card:nth-child(3){border-top-color:#17a2b8}.insight-card:nth-child(4){border-top-color:#ffc107}.insight-card:hover{box-shadow:0 5px 15px #0000001a;transform:translateY(-3px)}.insight-icon{flex-shrink:0;font-size:1.75rem;margin-right:1rem}@media (max-width:768px){.insights-grid{grid-template-columns:1fr}.practice-suggestion{flex-direction:column}.practice-icon{margin-bottom:1rem;text-align:center;width:100%}}.mastery-section.enhanced{padding-bottom:2rem}.mastery-trend-container{margin-bottom:2rem}.line-chart{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #00000014;margin:1rem 0;padding:1rem}.highlight-card{align-items:center;background-color:#f8f9fa;border-left:4px solid #4a6fa5;border-radius:8px;display:flex;margin-top:1.5rem;padding:1.25rem}.highlight-icon{font-size:2rem;margin-right:1.25rem}.highlight-content h4{color:#343a40;margin:0 0 .5rem}.highlight-content p{color:#343a40;margin:0}.highlight-content strong{font-weight:700}.subject-areas.enhanced{grid-template-columns:repeat(auto-fill,minmax(450px,1fr))}.subject-area-card.enhanced{border-top:4px solid #4a6fa5;display:flex;flex-direction:column;gap:1.25rem;padding:1.5rem}.skill-breakdown{margin-top:.5rem}.skill-breakdown h4{color:#343a40;font-size:1rem;margin:0 0 1rem;text-align:center}.radar-chart{height:250px;padding:.5rem}.topic-count{color:#6c757d;font-size:.9rem;margin-top:.5rem;text-align:center}@media (max-width:768px){.charts-container,.subject-areas.enhanced{grid-template-columns:1fr}.summary-cards{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}@media print{.weekly-report-view{font-size:12px}.achievements-section,.activity-section,.mastery-section.enhanced,.recommendations-section,.upcoming-content-section{border-top:1px solid #eee;margin-top:20px;padding-top:20px;page-break-inside:avoid}.highlight-card,.insight-card,.subject-area-card.enhanced{border:1px solid #eee;box-shadow:none}.chart-container{height:200px!important}}.no-children-container{margin:3rem auto;max-width:600px;padding:0 1rem}.no-children-card{background:#fff;border:2px solid #e9ecef;border-radius:16px;box-shadow:0 8px 24px #0000001a;padding:3rem;text-align:center}.no-children-icon{filter:grayscale(20%);font-size:4rem;margin-bottom:1.5rem}.no-children-card h2{color:#2d3748;font-size:1.8rem;font-weight:600;margin-bottom:1rem}.no-children-message{color:#4a5568;font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.link-child-instructions{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;margin:2rem 0;padding:2rem;text-align:left}.link-child-instructions h3{color:#2d3748;font-size:1.2rem;font-weight:600;margin-bottom:1rem}.link-child-instructions ol{color:#4a5568;margin:0;padding-left:1.5rem}.link-child-instructions li{font-size:1rem;line-height:1.6;margin-bottom:.75rem}.contact-info{border-top:1px solid #e9ecef;color:#6c757d;font-size:.95rem;margin-top:2rem;padding-top:2rem}@media (max-width:768px){.no-children-card{padding:2rem 1.5rem}.no-children-icon{font-size:3rem}.no-children-card h2{font-size:1.5rem}.link-child-instructions{padding:1.5rem}}.child-progress-enhanced{background:#f8f9fa;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.child-progress-enhanced .loading-container{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;min-height:60vh;text-align:center}.child-progress-enhanced .loading-spinner{animation:spin 1s linear infinite;border:4px solid #e3e3e3;border-radius:50%;border-top-color:#4caf50;height:50px;margin-bottom:20px;width:50px}.child-progress-enhanced .error-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:60vh;padding:40px;text-align:center}.child-progress-enhanced .error-icon{font-size:64px;margin-bottom:20px}.btn-back,.btn-retry{border:none;border-radius:8px;cursor:pointer;font-weight:600;padding:12px 24px;text-decoration:none;transition:all .3s ease}.btn-back:hover{background:#e1e1e1;transform:translateY(-2px)}.progress-header{background:#fff;border-radius:0 0 24px 24px;box-shadow:0 4px 20px #0000001a;padding:32px}.header-content,.progress-header{margin-bottom:32px}.student-info{align-items:center;gap:20px}.student-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;box-shadow:0 8px 24px #667eea4d;color:#fff;display:flex;font-size:36px;font-weight:700;height:80px;justify-content:center;width:80px}.student-details h1{color:#2c3e50;font-size:32px;font-weight:700;margin:0}.student-meta{color:#7f8c8d;font-size:16px;margin:8px 0 0}.header-actions{align-items:center}.btn-primary,.btn-secondary{border:none;border-radius:12px;font-size:14px;font-weight:600;padding:12px 24px;text-decoration:none;transition:all .3s ease}.metrics-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin:0 auto;max-width:1200px}.metric-card{align-items:center;background:#fff;border-left:4px solid #e9ecef;border-radius:16px;box-shadow:0 4px 16px #0000001a;display:flex;gap:16px;padding:24px;transition:all .3s ease}.metric-card:hover{box-shadow:0 8px 24px #00000026;transform:translateY(-4px)}.child-progress-enhanced .metric-card.primary{background:#fff;border:1px solid #e8f5e8}.metric-label{margin-top:4px}.progress-content{margin:0 auto;max-width:1200px;padding:0 32px 32px}.content-section{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin-bottom:32px;padding:32px}.content-section.full-width{width:100%}.section-header{margin-bottom:24px;text-align:left}.section-header h2{color:#2c3e50;font-size:24px;font-weight:700;margin:0 0 8px}.section-header h3{color:#2c3e50;font-size:20px;font-weight:600;margin:0 0 8px}.section-header p{color:#7f8c8d;font-size:16px;margin:0}.chart-container{margin-top:16px}.charts-grid{grid-gap:32px;display:grid;gap:32px;grid-template-columns:1fr 1fr;margin-bottom:32px}.chart-section{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;padding:24px}.insights-grid{grid-gap:32px;display:grid;gap:32px;grid-template-columns:1fr 1fr}.insights-column,.recommendations-column{background:#f8f9fa;border-radius:12px;padding:24px}.insights-column h3,.recommendations-column h3{color:#2c3e50;font-size:18px;font-weight:600;margin:0 0 20px}.insights-list,.recommendations-list{display:flex;flex-direction:column;gap:16px}.insight-item{align-items:flex-start;background:#fff;border-left:4px solid #e9ecef;border-radius:12px;display:flex;gap:12px;padding:16px}.child-progress-enhanced .insight-item.positive{background:#fff;border:1px solid #e8f5e8}.child-progress-enhanced .insight-item.attention{background:#fff;border:1px solid #fef3cd}.child-progress-enhanced .insight-item.neutral{background:#fff;border:1px solid #cdf3f8}.insight-icon{font-size:24px;min-width:24px}.insight-content h4{color:#2c3e50;font-size:16px;font-weight:600;margin:0 0 4px}.insight-content p{color:#495057;font-size:14px;line-height:1.4;margin:0}.recommendation-item{align-items:flex-start;background:#fff;border:1px solid #e9ecef;border-radius:12px;display:flex;gap:12px;padding:16px;transition:all .3s ease}.recommendation-item:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a}.recommendation-icon{font-size:24px;min-width:24px}.recommendation-content h4{color:#2c3e50;font-size:16px;font-weight:600;margin:0 0 4px}.recommendation-content p{color:#495057;font-size:14px;line-height:1.4;margin:0}.subjects-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.subject-card{background:#f8f9fa;border-radius:12px;padding:20px;transition:all .3s ease}.subject-card:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px)}.subject-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.subject-header h3{color:#2c3e50;font-size:18px;font-weight:600;margin:0}.mastery-badge{border-radius:20px;color:#fff;font-size:14px;font-weight:600;padding:6px 12px}.mastery-badge.excellent{background:#28a745}.mastery-badge.good{background:#17a2b8}.mastery-badge.needs-work{background:#ffc107;color:#212529}.progress-bar{height:8px;margin-bottom:12px}.progress-bar,.progress-fill{border-radius:4px}.subject-stats{align-items:center;color:#6c757d;display:flex;font-size:14px;justify-content:space-between}.trend{font-weight:600}.trend.positive{color:#28a745}.trend.attention{color:#ffc107}.trend.neutral{color:#17a2b8}.activity-item{align-items:flex-start;background:#f8f9fa;border-left:4px solid #e9ecef;border-radius:12px;display:flex;gap:16px;padding:16px}.activity-indicator{align-items:center;border-radius:50%;display:flex;font-size:16px;height:32px;justify-content:center;min-width:32px;width:32px}.activity-indicator.correct{background:#d4edda;border:2px solid #28a745}.activity-indicator.incorrect{background:#f8d7da;border:2px solid #dc3545}.activity-content{flex:1 1}.activity-question{color:#2c3e50;font-weight:600;line-height:1.4;margin-bottom:8px}.activity-meta{color:#6c757d;display:flex;font-size:13px;gap:16px}.activity-meta span{background:#fff;border-radius:6px;padding:4px 8px}@media (max-width:768px){.progress-header{padding:20px}.header-content{flex-direction:column;gap:20px;text-align:center}.progress-content{padding:0 20px 20px}.metrics-grid{gap:16px;grid-template-columns:1fr 1fr}.charts-grid,.insights-grid{gap:20px;grid-template-columns:1fr}.subjects-grid{grid-template-columns:1fr}.header-actions{flex-direction:column;width:100%}.btn-primary,.btn-secondary{text-align:center;width:100%}.student-details h1{font-size:24px}.content-section{padding:20px}.chart-container{height:250px}.chart-container.large{height:300px}}.weekly-report-enhanced{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);color:#2c3e50;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh}.loading-container{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;min-height:60vh;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #e3e3e3;border-radius:50%;border-top-color:#4caf50;height:50px;margin-bottom:20px;width:50px}.error-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:60vh;padding:40px;text-align:center}.error-icon{font-size:64px;margin-bottom:20px}.error-actions{display:flex;gap:16px;margin-top:24px}.btn-back,.btn-primary,.btn-retry,.btn-secondary{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;text-decoration:none;transition:all .3s ease}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 16px #667eea4d;color:#fff}.btn-primary:hover{box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.btn-secondary{background:#f8f9fa;border:1px solid #dee2e6;color:#495057}.btn-secondary:hover{background:#e9ecef;transform:translateY(-2px)}.btn-retry{background:#4caf50;color:#fff}.btn-retry:hover{background:#45a049;transform:translateY(-2px)}.btn-back{background:#f1f1f1;color:#333}.report-header{background:#fff;border-radius:0 0 24px 24px;box-shadow:0 4px 20px #0000001a;margin-bottom:32px;padding:32px}.header-content{justify-content:space-between;margin-bottom:24px;margin-left:auto;margin-right:auto;max-width:1200px}.header-content,.report-title{align-items:center;display:flex}.report-title{gap:20px}.report-icon{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;box-shadow:0 8px 24px #667eea4d;display:flex;font-size:36px;height:80px;justify-content:center;width:80px}.title-content h1{color:#2c3e50;font-size:32px;font-weight:700;margin:0}.title-content p{color:#7f8c8d;font-size:16px;margin:8px 0 4px}.report-period{background:#e8f4fd;border-radius:12px;color:#1976d2;font-size:12px;font-weight:600;padding:4px 12px}.weekly-grade{text-align:center}.grade-card{background:#fff;border-left:6px solid #4caf50;border-radius:16px;box-shadow:0 4px 16px #0000001a;min-width:120px;padding:24px}.grade-value{font-size:48px;font-weight:700;line-height:1;margin-bottom:4px}.grade-percentage{color:#666;font-size:18px;font-weight:600;margin-bottom:4px}.grade-label{color:#888;font-size:12px;letter-spacing:1px;text-transform:uppercase}.header-actions{display:flex;gap:16px;margin:0 auto;max-width:1200px}.executive-summary{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin:0 32px 32px;padding:32px}.executive-summary h2{color:#2c3e50;font-size:24px;font-weight:700;margin:0 0 24px}.summary-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.summary-metric{align-items:center;background:#f8f9fa;border-left:4px solid #e9ecef;border-radius:12px;display:flex;gap:16px;padding:24px;transition:all .3s ease}.summary-metric:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px)}.summary-metric.excellent{background:linear-gradient(135deg,#f8fff8,#e8f5e8);border-left-color:#4caf50}.metric-icon{align-items:center;background:#fffc;border-radius:12px;display:flex;font-size:32px;height:60px;justify-content:center;width:60px}.metric-content{flex:1 1}.metric-value{color:#2c3e50;font-size:28px;font-weight:700;line-height:1;margin-bottom:4px}.metric-label{color:#7f8c8d;font-size:14px;margin-bottom:4px}.metric-change{border-radius:10px;display:inline-block;font-size:12px;font-weight:600;padding:2px 8px}.metric-change.positive{background:#d4edda;color:#155724}.metric-trend{color:#6c757d;font-size:12px;font-weight:500}.charts-section{margin:0 32px 32px}.chart-row{grid-gap:24px;display:grid;gap:24px;margin-bottom:24px}.chart-row:first-child{grid-template-columns:1fr}.chart-row:nth-child(2),.chart-row:nth-child(3){grid-template-columns:1fr 1fr}.chart-container{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;height:300px;padding:24px;position:relative}.chart-container.large{height:400px}.insights-summary{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;padding:24px}.insights-summary h3{color:#2c3e50;font-size:18px;font-weight:600;margin:0 0 20px}.insights-quick{display:flex;flex-direction:column;gap:16px}.insight-quick{align-items:flex-start;border-left:3px solid #e9ecef;border-radius:8px;display:flex;gap:12px;padding:12px}.insight-quick.excellent{background:#f8fff8;border-left-color:#28a745}.insight-quick.good{background:#f0fdff;border-left-color:#17a2b8}.insight-quick.needs-attention{background:#fffbf0;border-left-color:#ffc107}.insight-icon{font-size:20px;min-width:20px}.insight-text strong{color:#2c3e50;display:block;font-size:14px;margin-bottom:4px}.insight-text p{color:#6c757d;font-size:12px;line-height:1.4;margin:0}.detailed-analysis{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin:0 32px 32px;padding:32px}.detailed-analysis h2{color:#2c3e50;font-size:24px;font-weight:700;margin:0 0 24px}.analysis-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.analysis-card{border-left:4px solid #e9ecef;border-radius:12px;padding:20px;transition:all .3s ease}.analysis-card:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px)}.analysis-card.excellent{background:linear-gradient(135deg,#f8fff8,#e8f5e8);border-left-color:#28a745}.analysis-card.good{background:linear-gradient(135deg,#f0fdff,#cdf3f8);border-left-color:#17a2b8}.analysis-card.needs-attention{background:linear-gradient(135deg,#fffbf0,#fef3cd);border-left-color:#ffc107}.analysis-card.neutral{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-left-color:#6c757d}.analysis-header{align-items:flex-start;display:flex;gap:12px;margin-bottom:16px}.analysis-icon{font-size:24px;min-width:24px}.analysis-title{flex:1 1}.analysis-title h3{color:#2c3e50;font-size:16px;font-weight:600;margin:0 0 4px}.analysis-category{color:#6c757d;font-size:12px}.analysis-category,.impact-badge{letter-spacing:.5px;text-transform:uppercase}.impact-badge{border-radius:10px;font-size:10px;font-weight:600;padding:4px 8px}.impact-badge.high{background:#dc3545;color:#fff}.impact-badge.medium{background:#ffc107;color:#212529}.impact-badge.low{background:#6c757d;color:#fff}.analysis-content{color:#495057}.analysis-message{font-size:14px;line-height:1.5;margin:0 0 16px}.analysis-recommendation{background:#ffffffb3;border-left:3px solid #17a2b8;border-radius:8px;padding:12px}.analysis-recommendation strong{color:#2c3e50;font-size:12px}.analysis-recommendation p{font-size:13px;line-height:1.4;margin:4px 0 0}.goals-section{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin:0 32px 32px;padding:32px}.goals-section h2{color:#2c3e50;font-size:24px;font-weight:700;margin:0 0 24px}.goals-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.goal-card{align-items:flex-start;background:#f8f9fa;border-left:4px solid #4caf50;border-radius:12px;display:flex;gap:16px;padding:20px;transition:all .3s ease}.goal-card:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px)}.goal-icon{align-items:center;background:#fff;border-radius:10px;display:flex;font-size:24px;height:48px;justify-content:center;min-width:48px;width:48px}.goal-content{flex:1 1}.goal-content h3{color:#2c3e50;font-size:16px;font-weight:600;margin:0 0 8px}.goal-content p{color:#495057;font-size:14px;margin:0 0 12px}.goal-progress{display:flex;flex-direction:column;gap:4px}.progress-bar{background:#e9ecef;border-radius:3px;height:6px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#4caf50,#8bc34a);border-radius:3px;height:100%;transition:width .5s ease}.goal-progress span{color:#6c757d;font-size:12px}.activity-detail{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin:0 32px 32px;padding:32px}.activity-detail h2{color:#2c3e50;font-size:24px;font-weight:700;margin:0 0 24px}.activity-timeline{display:flex;flex-direction:column;gap:16px}.activity-session{align-items:center;background:#f8f9fa;border-left:4px solid #e9ecef;border-radius:12px;display:flex;gap:16px;padding:16px}.session-time{color:#6c757d;font-size:12px;font-weight:500;min-width:100px}.session-content{align-items:center;display:flex;flex:1 1;gap:12px}.session-result{align-items:center;border-radius:50%;display:flex;font-size:16px;height:32px;justify-content:center;min-width:32px;width:32px}.session-result.correct{background:#d4edda;border:2px solid #28a745}.session-result.incorrect{background:#f8d7da;border:2px solid #dc3545}.session-details{flex:1 1}.session-question{color:#2c3e50;font-weight:600;line-height:1.4;margin-bottom:4px}.session-meta{color:#6c757d;font-size:12px}.action-items{background:#fff;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin:0 32px 32px;padding:32px}.action-items h2{color:#2c3e50;font-size:24px;font-weight:700;margin:0 0 24px}.action-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.action-item{border-left:4px solid #e9ecef;border-radius:12px;padding:20px;position:relative;transition:all .3s ease}.action-item:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px)}.action-item.priority-high{background:linear-gradient(135deg,#fff5f5,#fed7d7);border-left-color:#dc3545}.action-item.priority-medium{background:linear-gradient(135deg,#fffbf0,#fef3cd);border-left-color:#ffc107}.action-item.priority-low{background:linear-gradient(135deg,#f8fff8,#e8f5e8);border-left-color:#28a745}.action-priority{background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000001a;font-size:10px;font-weight:600;letter-spacing:.5px;padding:4px 8px;position:absolute;right:16px;text-transform:uppercase;top:-8px}.action-item h3{color:#2c3e50;font-size:16px;font-weight:600;margin:8px 0 12px}.action-item p{color:#495057;font-size:14px;line-height:1.5;margin:0 0 16px}.action-steps{display:flex;flex-direction:column;gap:4px}.action-steps span{color:#6c757d;font-size:12px;padding-left:8px}@media (max-width:768px){.weekly-report-enhanced{font-size:14px}.report-header{padding:20px}.header-content{flex-direction:column;gap:20px;text-align:center}.charts-section{margin:0 20px 20px}.chart-row{grid-template-columns:1fr!important}.chart-container{height:250px}.chart-container.large{height:300px}.action-items,.activity-detail,.detailed-analysis,.executive-summary,.goals-section{margin:0 20px 20px;padding:20px}.summary-grid{gap:16px;grid-template-columns:1fr 1fr}.action-grid,.analysis-grid,.goals-grid{grid-template-columns:1fr}.header-actions{flex-direction:column;width:100%}.btn-primary,.btn-secondary{text-align:center;width:100%}.title-content h1{font-size:24px}.grade-value{font-size:36px}.metric-value{font-size:20px}}@media print{.weekly-report-enhanced{background:#fff}.header-actions{display:none}.chart-container{height:250px}.action-item,.analysis-card,.chart-container,.goal-card{page-break-inside:avoid}}.admin-dashboard{background-color:#f9f9f9;border-radius:8px;box-shadow:0 2px 10px #0000000d;margin:0 auto;max-width:1200px;padding:20px}.admin-dashboard h1{border-bottom:2px solid #4a90e2;color:#333;font-size:28px;margin-bottom:20px;padding-bottom:10px}.admin-dashboard h2{color:#444;font-size:22px;margin-bottom:15px}.dashboard-tabs{border-bottom:1px solid #ddd;display:flex;flex-wrap:wrap;gap:5px;margin-bottom:20px;overflow-x:auto}.tab-button{-webkit-tap-highlight-color:transparent;background:#f5f7fa;border:none;border-radius:5px 5px 0 0;color:#434a54;cursor:pointer;font-weight:500;margin-right:5px;min-height:44px;padding:12px 20px;touch-action:manipulation;transition:all .3s ease}.tab-button:hover{background:#e9ecef}.tab-button.active{background:#4a90e2;border-bottom:3px solid #4a90e2;color:#fff}.review-link-button{-webkit-tap-highlight-color:transparent;background:#f5f7fa;border:none;border-radius:5px 5px 0 0;color:#434a54;cursor:pointer;display:inline-block;font-weight:500;min-height:44px;padding:12px 20px;text-decoration:none;touch-action:manipulation;transition:all .3s ease}.review-link-button:hover{background:#e9ecef}.admin-button{-webkit-tap-highlight-color:transparent;background-color:#4a90e2;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;margin-bottom:15px;margin-right:10px;min-height:40px;padding:10px 15px;touch-action:manipulation;transition:background-color .3s}.admin-button:hover{background-color:#3a7bc8}.admin-button.secondary{background-color:#6c757d}.admin-button.secondary:hover{background-color:#5a6268}.admin-button.danger{background-color:#dc3545}.admin-button.danger:hover{background-color:#c82333}.admin-table{background-color:#fff;border-collapse:collapse;border-radius:5px;box-shadow:0 1px 3px #0000001a;margin-bottom:20px;overflow:hidden;width:100%}.admin-table th{background-color:#f8f9fa;border-bottom:2px solid #dee2e6;color:#495057;font-weight:600;padding:12px 15px;text-align:left}.admin-table td{border-bottom:1px solid #e9ecef;padding:12px 15px;vertical-align:middle}.admin-table tr:last-child td{border-bottom:none}.admin-table tr:hover{background-color:#f8f9fa}.admin-form{background-color:#fff;border-radius:5px;box-shadow:0 1px 3px #0000001a;margin-bottom:20px;padding:20px}.form-group{margin-bottom:15px}.form-group label{color:#495057;font-weight:500;margin-bottom:5px}.form-control{border:1px solid #ced4da;font-size:14px;padding:10px}.form-control:focus{box-shadow:0 0 0 2px #4a90e240}.form-actions{display:flex;justify-content:flex-end;margin-top:20px}.admin-section{margin-bottom:30px;padding-bottom:20px}.error-message{background-color:#dc35451a;border-left:3px solid #dc3545;margin:10px 0}.loading{color:#6c757d;padding:20px;text-align:center}.csv-upload-container{background-color:#f8f9fa;border:2px dashed #4a90e2;border-radius:8px;margin-top:20px;padding:20px;text-align:center}.csv-upload-container h3{color:#333;margin-top:0}.csv-dropzone{cursor:pointer;padding:20px;transition:all .3s ease}.csv-dropzone.active,.csv-dropzone:hover{background-color:#e3f2fd}.csv-upload-icon{color:#4a90e2;font-size:48px;margin-bottom:10px}.csv-template-link{color:#4a90e2;cursor:pointer;display:inline-block;margin-top:10px;text-decoration:underline}.csv-upload-status{margin-top:15px}.csv-results{margin-top:20px;text-align:left}.csv-results h4{color:#333;margin-bottom:10px}.csv-error-list{color:#dc3545;list-style-type:none;padding-left:0}.csv-success-message{background-color:#28a7451a;border-left:3px solid #28a745;color:#28a745}.csv-error-message,.csv-success-message{border-radius:4px;margin-bottom:15px;padding:10px}.csv-error-message{background-color:#dc35451a;border-left:3px solid #dc3545;color:#dc3545}.csv-buttons{display:flex;gap:10px;justify-content:center;margin-top:20px}.csv-file-info{color:#6c757d;font-style:italic;margin-top:10px}@media (max-width:1200px){.admin-dashboard{max-width:100%;padding:15px}}@media (max-width:768px){.admin-dashboard{border-radius:0;margin:0;padding:10px}.admin-dashboard h1{font-size:24px;margin-bottom:15px;text-align:center}.admin-dashboard h2{font-size:20px;margin-bottom:12px}.dashboard-tabs{border-bottom:none;flex-direction:column;gap:8px}.review-link-button,.tab-button{border-radius:8px;font-size:16px;margin-bottom:0;margin-right:0;padding:15px;text-align:center;width:100%}.tab-button.active{border-bottom:none}.admin-table{display:block;font-size:14px;overflow-x:auto}.admin-table td,.admin-table th{padding:8px 6px;white-space:nowrap}.admin-button{-webkit-tap-highlight-color:transparent;font-size:14px;margin-bottom:8px;margin-right:5px;min-height:44px;padding:12px 16px;touch-action:manipulation}.admin-section{padding:15px 0}}@media (max-width:480px){.admin-dashboard{padding:8px}.admin-dashboard h1{font-size:20px}.admin-dashboard h2{font-size:18px}.review-link-button,.tab-button{-webkit-tap-highlight-color:transparent;font-size:16px;min-height:48px;padding:16px;touch-action:manipulation}.admin-table{font-size:12px}.admin-table td,.admin-table th{padding:6px 4px}.admin-button{display:block;font-size:14px;margin-bottom:8px;margin-right:0;min-height:48px;padding:12px 16px;width:100%}.admin-table td:last-child{min-width:120px}}@media (hover:none) and (pointer:coarse){.admin-button:hover,.review-link-button:hover,.tab-button:hover{background:inherit}.review-link-button:hover,.tab-button:hover{background:#f5f7fa}.admin-button:hover{background-color:#4a90e2}.admin-button.secondary:hover{background-color:#6c757d}.admin-button:active,.review-link-button:active,.tab-button:active{transform:scale(.98);transition:transform .1s}.admin-button,.admin-table td,.admin-table th,.review-link-button,.tab-button{-webkit-user-select:none;user-select:none}.admin-table{-webkit-overflow-scrolling:touch}}.admin-content-management{background-color:#f9f9f9;border-radius:5px;box-shadow:0 1px 3px #0000001a;padding:1rem}.content-filters{align-items:center;background-color:#fff;border-radius:5px;box-shadow:0 1px 2px #0000000d;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;padding:1rem}.filter-input,.filter-select{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px}.filter-select{background-color:#fff;min-width:150px}.filter-select option{padding:8px}.create-button{background-color:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:700;padding:8px 16px;transition:background-color .3s ease}.create-button:hover{background-color:#218838}.show-all-button{background-color:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:700;padding:8px 16px;transition:all .3s ease}.show-all-button:hover{background-color:#5a6268}.show-all-button.active{background-color:#495057;box-shadow:inset 0 2px 4px #0000001a}.content-table{background-color:#fff;border-collapse:collapse;box-shadow:0 1px 3px #0000001a;margin-top:1rem;width:100%}.content-table td,.content-table th{border:1px solid #ddd;padding:.75rem;text-align:left}.content-table th{background-color:#f2f2f2;font-weight:700}.content-table tr:nth-child(2n){background-color:#f9f9f9}.content-table tr:hover{background-color:#f5f5f5}.content-preview{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-feature{font-weight:700;text-align:center}.action-buttons{display:flex;gap:.5rem}.content-table td.action-buttons{border:none}.delete-button,.edit-button{border:none;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.25rem .5rem}.edit-button{background-color:#4a90e2;color:#fff}.edit-button:hover{background-color:#3a7bc8}.delete-button{background-color:#e74c3c;color:#fff}.delete-button:hover{background-color:#c0392b}.pagination{align-items:center;display:flex;gap:10px;justify-content:center;margin:20px 0}.pagination-button{background-color:#fff;border:2px solid #007bff;border-radius:4px;color:#007bff;cursor:pointer;font-weight:700;padding:8px 16px;transition:all .3s ease}.pagination-button:hover:not(:disabled){background-color:#007bff;color:#fff}.pagination-button:disabled{border-color:#ccc;color:#ccc;cursor:not-allowed}.pagination-info{color:#666;font-size:14px;margin:0 10px}.first-page{background-color:#e3f2fd}.prev-page{background-color:#e8f5e9}.next-page{background-color:#fff3e0}.last-page{background-color:#fce4ec}.admin-content-form{background-color:#fff;border-radius:5px;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;font-weight:700;margin-bottom:.5rem}.form-control{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:.5rem;width:100%}.form-control:focus{border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233;outline:none}textarea.form-control{min-height:100px;resize:vertical}.help-text{color:#666;display:block;font-size:.85rem;margin-top:.25rem}.image-preview{border:1px dashed #ddd;border-radius:4px;display:inline-block;margin-top:1rem;padding:1rem}.remove-image-button{background-color:#e74c3c;border:none;border-radius:4px;color:#fff;cursor:pointer;display:block;margin-top:.5rem;padding:.25rem .5rem}.remove-image-button:hover{background-color:#c0392b}.form-buttons{display:flex;gap:1rem;margin-top:1.5rem}.cancel-button,.submit-button{border:none;border-radius:4px;cursor:pointer;font-weight:700;padding:.5rem 1rem}.submit-button{background-color:#4caf50;color:#fff}.submit-button:hover:not(:disabled){background-color:#45a049}.submit-button:disabled{cursor:not-allowed;opacity:.7}.cancel-button{background-color:#e74c3c;color:#fff}.cancel-button:hover:not(:disabled){background-color:#c0392b}.error-message,.loading-message,.no-items-message{border-radius:4px;margin:1rem 0;padding:1rem}.loading-message{background-color:#f8f9fa;border-left:4px solid #4a90e2}.error-message{background-color:#fdf7f7;border-left:4px solid #e74c3c;color:#e74c3c}.no-items-message{background-color:#f8f9fa;border-left:4px solid #f39c12;color:#666}.content-filters button{margin-left:auto}.content-filters .show-all-button{margin-right:10px}.pdf-content-uploader{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;margin:0 auto;max-width:1200px;padding:20px;width:100%}.error-message{background-color:#fae3e3;border-left:4px solid #d32f2f;border-radius:4px;color:#d32f2f;margin-bottom:20px;padding:12px 16px}.pdf-upload-container{align-items:center;display:flex;flex-direction:column;width:100%}.file-input-container{margin:20px 0;width:100%}.file-input-container input[type=file]{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px;z-index:-1}.file-input-label{background-color:#f5f7fa;border:2px dashed #ccd1d9;border-radius:8px;color:#656d78;cursor:pointer;display:block;font-weight:500;padding:40px 20px;text-align:center;transition:all .3s ease;width:100%}.file-input-label:hover{background-color:#e6f3ff;border-color:#4a89dc;color:#4a89dc}.selected-file{align-items:center;color:#434a54;display:flex;flex-direction:column;margin:10px 0 20px}.upload-button{background-color:#4a89dc;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:background-color .3s ease}.upload-button:hover:not(:disabled){background-color:#3a7bd5}.upload-button:disabled{background-color:#aab2bd;cursor:not-allowed}.processing-indicator{align-items:center;display:flex;flex-direction:column;margin-top:30px}.spinner{animation:spin 1s linear infinite;border:4px solid #4a89dc33;border-left-color:#4a89dc;border-radius:50%;height:40px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.previous-uploads{border-top:1px solid #e6e9ed;margin-top:40px;padding-top:20px;width:100%}.uploads-list{margin-top:15px}.upload-item{align-items:center;background-color:#f5f7fa;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:8px;padding:12px 16px}.status{border-radius:20px;font-size:12px;font-weight:600;padding:4px 8px}.status-uploaded{background-color:#ffce54;color:#8a6d3b}.status-processing{background-color:#5d9cec;color:#2b5a94}.status-processed{background-color:#a0d468;color:#587028}.status-kcs_created{background-color:#48cfad;color:#256f5b}.status-content_items_created{background-color:#4fc1e9;color:#1f5a7a}.status-error{background-color:#ed5565;color:#a12833}.pdf-content-container,.pdf-review-container{width:100%}.extraction-summary{grid-gap:10px;background-color:#f5f7fa;border-radius:8px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin:20px 0;padding:16px}.extracted-content-section{margin:30px 0}.select-actions{display:flex;gap:10px;margin-bottom:15px}.select-actions button{background-color:#f5f7fa;border:1px solid #ccd1d9;border-radius:4px;cursor:pointer;font-size:14px;padding:8px 12px;transition:all .2s ease}.select-actions button:hover{background-color:#e6e9ed}.extracted-items-list{border:1px solid #e6e9ed;border-radius:4px;display:flex;flex-direction:column;gap:10px;max-height:500px;overflow-y:auto;padding:10px}.extracted-item{background-color:#f9fafc;border-radius:6px;box-shadow:0 1px 3px #0000000d;display:flex;padding:15px;transition:all .2s ease}.extracted-item:hover{background-color:#f5f7fa}.error-item{border-left:4px solid #ed5565}.checkbox-container{align-items:flex-start;cursor:pointer;display:flex;margin-right:15px;padding-top:3px;position:relative;-webkit-user-select:none;user-select:none}.checkbox-container input{cursor:pointer;height:0;opacity:0;position:absolute;width:0}.checkmark{background-color:#fff;border:2px solid #ccd1d9;border-radius:3px;height:20px;position:relative;width:20px}.checkbox-container:hover input~.checkmark{border-color:#4a89dc}.checkbox-container input:checked~.checkmark{background-color:#4a89dc;border-color:#4a89dc}.checkmark:after{content:"";display:none;position:absolute}.checkbox-container input:checked~.checkmark:after{display:block}.checkbox-container .checkmark:after{border:solid #fff;border-width:0 2px 2px 0;height:10px;left:6px;top:2px;transform:rotate(45deg);width:5px}.item-details{flex:1 1}.item-name{color:#434a54;font-size:16px;font-weight:600;margin-bottom:5px}.item-description{color:#656d78;font-size:14px;margin-bottom:5px}.item-score{color:#8cc152;font-size:12px;font-weight:600}.item-type{background-color:#4a89dc;border-radius:20px;color:#fff;display:inline-block;font-size:12px;margin-bottom:5px;padding:2px 8px}.item-content{color:#434a54;font-size:14px;margin-bottom:5px}.item-difficulty{color:#656d78;font-size:12px}.item-error{color:#da4453;font-size:12px;font-weight:500}.review-actions{display:flex;justify-content:space-between;margin-top:30px}.primary-button,.secondary-button{border-radius:4px;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.primary-button{background-color:#4a89dc;border:none;color:#fff}.primary-button:hover:not(:disabled){background-color:#3a7bd5}.primary-button:disabled{background-color:#aab2bd;cursor:not-allowed}.secondary-button{background-color:#fff;border:1px solid #ccd1d9;color:#434a54}.secondary-button:hover{background-color:#f5f7fa}.pdf-complete-container{text-align:center;width:100%}.completion-message{margin:30px 0}.completion-summary{align-items:flex-start;background-color:#f9fafc;border-radius:8px;display:flex;flex-direction:column;margin:20px auto;max-width:500px;padding:20px}.summary-item{margin-bottom:15px}.summary-icon,.summary-item{align-items:center;display:flex}.summary-icon{background-color:#8cc152;border-radius:50%;color:#fff;font-size:14px;height:24px;justify-content:center;margin-right:15px;width:24px}.summary-text{color:#434a54;font-size:16px}.completion-actions{display:flex;gap:20px;justify-content:center;margin-top:30px}@media (max-width:768px){.extraction-summary{grid-template-columns:1fr}.completion-actions,.review-actions{flex-direction:column;gap:10px}.primary-button,.secondary-button{width:100%}}.modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.link-modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0003;display:flex;flex-direction:column;max-height:80vh;max-width:700px;overflow:hidden;width:100%}.modal-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;padding:20px 25px}.modal-header h2{color:#2d3748;font-size:1.5rem;margin:0}.close-button{align-items:center;background:none;border:none;border-radius:4px;color:#6c757d;cursor:pointer;display:flex;font-size:1.5rem;height:30px;justify-content:center;padding:0;transition:background-color .2s;width:30px}.close-button:hover{background-color:#e9ecef}.error-message{border-bottom:1px solid #f5c6cb;color:#721c24;font-size:.9rem;padding:12px 25px}.modal-content{flex:1 1;overflow-y:auto;padding:25px}.linked-section{margin-bottom:30px}.available-section h3,.linked-section h3{color:#2d3748;font-size:1.1rem;font-weight:600;margin-bottom:15px}.no-children{background:#f8f9fa;border-radius:8px;color:#6c757d;font-style:italic;padding:20px;text-align:center}.linked-list{display:flex;flex-direction:column;gap:10px}.linked-student{align-items:center;background:#e8f4f8;border:1px solid #b8daff;border-radius:8px;display:flex;justify-content:space-between;padding:12px 15px}.student-info{display:flex;flex-direction:column;gap:4px}.student-name{color:#2d3748;font-weight:600}.student-details,.student-grade{color:#6c757d;font-size:.85rem}.unlink-button{background:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.85rem;padding:6px 16px;transition:background-color .2s}.unlink-button:hover:not(:disabled){background:#c82333}.unlink-button:disabled{cursor:not-allowed;opacity:.6}.search-input{border:1px solid #ced4da;border-radius:6px;font-size:1rem;margin-bottom:15px;padding:10px 15px;width:100%}.search-input:focus{border-color:#4a6fa5;box-shadow:0 0 0 .2rem #4a6fa540;outline:none}.students-list{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto}.student-item{align-items:center;background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;display:flex;justify-content:space-between;padding:12px 15px;transition:all .2s}.student-item:hover{background:#e9ecef}.student-item.linked{background:#e8f4f8;border-color:#b8daff}.link-button{background:#4a6fa5;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.85rem;min-width:80px;padding:6px 20px;transition:all .2s}.link-button:hover:not(:disabled){background:#3a5a95}.link-button.linked{background:#28a745}.link-button.linked:hover:not(:disabled){background:#218838}.link-button:disabled{cursor:not-allowed;opacity:.6}.modal-footer{background:#f8f9fa;border-top:1px solid #dee2e6;display:flex;justify-content:flex-end;padding:15px 25px}.done-button{background:#4a6fa5;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:10px 30px;transition:background-color .2s}.done-button:hover{background:#3a5a95}.modal-content::-webkit-scrollbar,.students-list::-webkit-scrollbar{width:8px}.modal-content::-webkit-scrollbar-track,.students-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.modal-content::-webkit-scrollbar-thumb,.students-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.modal-content::-webkit-scrollbar-thumb:hover,.students-list::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width:768px){.link-modal{max-height:90vh}.modal-header h2{font-size:1.25rem}.modal-content{padding:20px}.students-list{max-height:250px}}.pdf-review-list-container{background-color:#f9f9f9;border:1px solid #ccc;border-radius:8px;font-family:sans-serif;margin:20px auto;max-width:800px;padding:20px}.pdf-review-list-container h2{color:#333;margin-bottom:25px;text-align:center}.review-list{list-style:none;padding:0}.review-list-item{align-items:center;background-color:#fff;border:1px solid #ddd;border-radius:5px;display:flex;justify-content:space-between;margin-bottom:15px;padding:15px;transition:box-shadow .2s ease-in-out}.review-list-item:hover{box-shadow:0 2px 5px #0000001a}.review-item-info{flex-grow:1;line-height:1.5;margin-right:20px}.review-item-info strong{color:#555}.review-item-actions{flex-shrink:0}.review-button{background-color:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9em;padding:8px 15px;text-decoration:none;transition:background-color .2s ease}.review-button:hover{background-color:#0056b3}.error-message{background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:5px;color:#dc3545;padding:10px;text-align:center}.review-item{background-color:#fff;border:1px solid #e0e0e0;border-radius:5px;margin-bottom:15px;padding:15px;position:relative;transition:box-shadow .2s ease-in-out}.review-item:hover{box-shadow:0 1px 4px #00000014}.review-item.editing{background-color:#f8faff;border-color:#007bff}.item-details{color:#444;font-size:.9em;line-height:1.5;margin-bottom:10px}.item-details strong{color:#000;margin-right:5px}.item-content-display{word-wrap:break-word;background-color:#f9f9f9;border:1px solid #eee;border-radius:3px;margin-top:5px;max-height:100px;overflow-y:auto;padding:8px;white-space:pre-wrap}.item-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:10px}.item-actions button{border:1px solid #0000;border-radius:4px;cursor:pointer;font-size:.85em;padding:5px 12px}.item-actions button:disabled{cursor:not-allowed;opacity:.6}.item-actions .approve-button,.item-actions button:first-of-type{background-color:#28a745;border-color:#28a745;color:#fff}.item-actions .approve-button:hover:not(:disabled),.item-actions button:first-of-type:hover:not(:disabled){background-color:#218838;border-color:#1e7e34}.item-actions .reject-button{background-color:#dc3545;border-color:#dc3545;color:#fff}.item-actions .reject-button:hover:not(:disabled){background-color:#c82333;border-color:#bd2130}.item-actions button:last-of-type:not(.reject-button):not(.approve-button){background-color:#6c757d;border-color:#6c757d;color:#fff}.item-actions button:last-of-type:not(.reject-button):not(.approve-button):hover:not(:disabled){background-color:#5a6268;border-color:#545b62}.item-editor{gap:12px}.item-editor,.item-editor label{display:flex;flex-direction:column}.item-editor label{color:#333;font-size:.9em}.item-editor label span{font-weight:700;margin-bottom:4px}.item-editor input[type=number],.item-editor input[type=text],.item-editor select,.item-editor textarea{border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:.95em;padding:8px;width:100%}.item-editor textarea{min-height:60px;resize:vertical}.item-error{background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#dc3545;font-size:.85em;margin-top:5px;padding:8px}:root{--react-pdf-annotation-layer:1;--annotation-unfocused-field-background:url('data:image/svg+xml;charset=utf-8,<svg width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" style="fill:rgba(0,54,255,.13)"/></svg>');--input-focus-border-color:Highlight;--input-focus-outline:1px solid Canvas;--input-unfocused-border-color:#0000;--input-disabled-border-color:#0000;--input-hover-border-color:#000;--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 .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .textWidgetAnnotation :is(input,textarea):required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{left:0;pointer-events:none;position:absolute;top:0;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translateX(-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{height:100%;position:absolute;width:100%}.annotationLayer section{box-sizing:border-box;margin:0;pointer-events:auto;position:absolute;text-align:left;text-align:initial;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:none;outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{font-size:1em;height:100%;left:0;position:absolute;top:0;width:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{background:#ff0;box-shadow:0 2px 10px #ff0;opacity:.2}.annotationLayer .textAnnotation img{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .textWidgetAnnotation :is(input,textarea){background-image:url('data:image/svg+xml;charset=utf-8,<svg width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" style="fill:rgba(0,54,255,.13)"/></svg>');background-image:var(--annotation-unfocused-field-background);border:2px solid #0000;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 .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .textWidgetAnnotation :is(input,textarea):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 .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled]{background:none;border:2px solid #0000;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .textWidgetAnnotation :is(input,textarea):hover{border:2px solid #000;border:2px solid var(--input-hover-border-color)}.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .textWidgetAnnotation :is(input,textarea):hover{border-radius:2px}.annotationLayer .choiceWidgetAnnotation select:focus,.annotationLayer .textWidgetAnnotation :is(input,textarea):focus{background:none;border:2px solid Highlight;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:1px solid Canvas;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-color:initial;background-image:none}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid Highlight;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:1px solid Canvas;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid Highlight;border:2px solid var(--input-focus-border-color);outline:1px solid Canvas;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{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{appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{font-size:calc(9px*var(--scale-factor));min-width:calc(180px*var(--scale-factor));pointer-events:none;position:absolute;width:100%}.annotationLayer .popup{word-wrap:break-word;background-color:#ff9;border-radius:calc(2px*var(--scale-factor));box-shadow:0 calc(2px*var(--scale-factor)) calc(5px*var(--scale-factor)) #888;cursor:pointer;font:message-box;margin-left:calc(5px*var(--scale-factor));max-width:calc(180px*var(--scale-factor));padding:calc(6px*var(--scale-factor));pointer-events:auto;position:absolute;white-space:normal}.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 #333;margin-top:calc(2px*var(--scale-factor));padding-top:calc(2px*var(--scale-factor))}.annotationLayer .richText>*{font-size:calc(9px*var(--scale-factor));white-space:pre-wrap}.annotationLayer .caretAnnotation,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .fileAttachmentAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .highlightAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .lineAnnotation svg line,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .squareAnnotation svg rect,.annotationLayer .squigglyAnnotation,.annotationLayer .stampAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .underlineAnnotation{cursor:pointer}.annotationLayer section svg{height:100%;left:0;position:absolute;top:0;width:100%}.annotationLayer .annotationTextContent{color:#0000;height:100%;opacity:0;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;width:100%}.annotationLayer .annotationTextContent span{display:inline-block;width:100%}:root{--react-pdf-text-layer:1;--highlight-bg-color:#b400aa;--highlight-selected-bg-color:#006400}@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) translateX(-100%)}.textLayer{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;inset:0;line-height:1;overflow:hidden;text-align:left;text-align:initial;z-index:2}.textLayer,.textLayer :is(span,br){position:absolute;transform-origin:0 0}.textLayer :is(span,br){color:#0000;cursor:text;margin:0;white-space:pre}.textLayer span.markedContent{height:0;top:0}.textLayer .highlight{background-color:#b400aa;background-color:var(--highlight-bg-color);border-radius:4px;margin:-1px;padding:1px}.textLayer .highlight.appended{position:static}.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:#006400;background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:#0000}.textLayer .endOfContent{cursor:default;display:block;inset:100% 0 0;position:absolute;-webkit-user-select:none;user-select:none;z-index:-1}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{display:none;height:0;left:0;position:absolute;top:0;width:0}.review-detail-container{font-family:sans-serif;padding:20px}.review-detail-container h2{color:#333;margin-bottom:10px;text-align:center}.review-detail-container>p{color:#666;font-size:.9em;margin-bottom:25px;text-align:center}.review-layout{display:flex;gap:20px;margin-bottom:20px}.pdf-viewer-section{background-color:#f8f8f8;border:1px solid #ccc;border-radius:5px;display:flex;flex:1 1;flex-direction:column;min-width:400px;padding:15px}.pdf-viewer-section h3{color:#444;margin-bottom:15px;margin-top:0;text-align:center}.pdf-document-view{background-color:#fff;border:1px solid #eee;display:flex;flex-grow:1;justify-content:center;margin-bottom:15px;overflow:auto}.react-pdf__Page__canvas{height:auto!important;max-width:100%}.pdf-pagination{margin-top:10px;text-align:center}.pdf-pagination button{cursor:pointer;margin:0 10px;padding:5px 10px}.pdf-pagination button:disabled{cursor:not-allowed;opacity:.5}.review-items-section{display:flex;flex:1 1;gap:15px}.review-column{background-color:#fdfdfd;border:1px solid #ccc;border-radius:5px;flex:1 1;max-height:70vh;overflow-y:auto;padding:15px}.review-column h3{border-bottom:1px solid #eee;color:#444;margin-bottom:15px;margin-top:0;padding-bottom:10px;text-align:center}.review-item-placeholder{background-color:#fff;border:1px dashed #ddd;border-radius:4px;font-size:.9em;line-height:1.4;margin-bottom:10px;padding:10px}.review-item-placeholder strong{color:#333;display:block;margin-bottom:5px}.review-item-placeholder button{cursor:pointer;font-size:.8em;margin-right:5px;margin-top:8px;padding:3px 8px}.add-manual-button{background-color:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;display:block;margin-top:15px;padding:8px;width:100%}.add-manual-button:disabled{background-color:#ccc;cursor:not-allowed}.add-manual-button:hover:not(:disabled){background-color:#218838}.review-actions-footer{border-top:1px solid #eee;margin-top:30px;padding-top:20px;text-align:center}.complete-review-button{background-color:#17a2b8;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:1.1em;padding:10px 25px;transition:background-color .2s ease}.complete-review-button:hover:not(:disabled){background-color:#138496}.complete-review-button:disabled{background-color:#ccc;cursor:not-allowed}.review-detail-error,.review-detail-loading{font-size:1.2em;padding:40px;text-align:center}.error-message.review-detail-error{margin:20px auto;max-width:600px}
/*# sourceMappingURL=main.83d7d9b6.css.map*/