*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background:#f5f7fa;min-height:100vh}#auth-screen{background:#f5f7fa}.auth-card{background:#fff;border-radius:12px;padding:3rem;max-width:450px;box-shadow:0 2px 20px rgba(0,0,0,.08);border:1px solid #e1e8ed}.card{border:1px solid #e1e8ed;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.06)}.card-header{padding:1rem 1.5rem;font-weight:600;background:#fff;border-bottom:2px solid #e1e8ed}.test-card{border:1px solid #e1e8ed;border-radius:8px;padding:1.5rem;margin-bottom:1rem;transition:.3s;background:#fff}.test-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.student-card{border:1px solid #e1e8ed;border-radius:8px;padding:1rem;margin-bottom:.75rem;display:flex;justify-content:space-between;align-items:center;background:#fff}.result-badge{padding:.5rem 1rem;border-radius:6px;font-weight:600}.correct{background:#d4edda;color:#155724}.wrong{background:#f8d7da;color:#721c24}.report-page{padding:2rem;max-width:900px;margin:0 auto}.question-item{border:1px solid #e1e8ed;border-radius:8px;padding:1.5rem;margin-bottom:1rem;background:#fff}.option-box{padding:.75rem;border-radius:6px;margin:.5rem 0}.option-correct{background:#d4edda;border:2px solid #27ae60}.option-wrong{background:#f8d7da;border:2px solid #e74c3c}.option-neutral{background:#f8f9fa;border:1px solid #dee2e6}.option-skipped{background:#fff3cd;border:2px solid #ffc107}.navbar{background:#16a085!important;box-shadow:0 2px 4px rgba(0,0,0,.1)}.hidden{display:none!important}.dataTable-input{border:1px solid #e1e8ed;border-radius:8px;padding:.45rem .75rem}.dataTable-selector{border:1px solid #e1e8ed;border-radius:8px;padding:.35rem .5rem}@media print{.dataTable-bottom,.dataTable-top,.no-print{display:none!important}}.analytics-page{max-width:1280px}.analytics-stat-card{border-top:4px solid #16a085}.analytics-stat-value{font-size:2rem;font-weight:700;color:#2c3e50;line-height:1.1}.feedback-section .btn-outline-secondary{border-color:#16a085;color:#16a085}.feedback-section .btn-outline-secondary:hover{background:#16a085;color:#fff}.feedback-section .btn-outline-secondary[aria-expanded=true] .bi-chevron-down{transform:rotate(180deg)}.feedback-section .bi-chevron-down{transition:transform .3s}.feedback-content{white-space:pre-wrap;line-height:1.6}.report-rich-text{white-space:pre-wrap;line-height:1.55}.report-rich-inline p,.report-rich-text p{margin-bottom:.35rem}.report-rich-inline p:last-child,.report-rich-text p:last-child{margin-bottom:0}.report-rich-inline p{display:inline}.ai-report-prompt-list{display:grid;gap:.75rem}.ai-report-prompt{border:1px solid #d6dce5;border-radius:8px;background:#fff;overflow:hidden}.ai-report-prompt summary{list-style:none;cursor:pointer}.ai-report-prompt summary::-webkit-details-marker{display:none}.ai-report-prompt-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.85rem 1rem}.ai-report-prompt-preview{margin:.35rem 0 0;color:#64748b;font-size:.78rem;line-height:1.35;white-space:pre-wrap;font-family:inherit}.ai-report-prompt-body{border-top:1px solid #e9ecef;padding:.85rem 1rem 1rem}.ai-report-prompt-text{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.8rem;line-height:1.45}@media (max-width:575.98px){.ai-report-prompt-summary{flex-direction:column}.ai-copy-prompt-btn{align-self:flex-start}}.report-multiselect{min-height:140px}.report-multiselect option{padding:.4rem .6rem}.report-stat-card{border-top:4px solid #16a085}.report-stat-value{font-size:2rem;font-weight:700;line-height:1.1;color:#1f2937}.report-chart-wrap{position:relative;height:360px}.question-sort{text-decoration:none;color:#2c3e50;font-weight:600}.question-sort:hover{color:#16a085}#questionsTableView td{vertical-align:top;min-width:120px}#questionsTableView td:first-child,#questionsTableView th:first-child{min-width:72px}.subject-result-actions{border-top:1px solid #e9ecef;padding-top:.85rem}.test-results-page{max-width:1400px}.subject-results-wrap{background:#fff;border:1px solid #d4d8dd;border-radius:8px;overflow:hidden}.subject-results-scroll{overflow:auto}.subject-results-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:.82rem}.subject-results-table td,.subject-results-table th{border:1px solid #2f2f2f;text-align:center;padding:.65rem .75rem;white-space:nowrap}.subject-results-table thead th{background:#858585;color:#fff;font-weight:700;position:sticky;top:0;z-index:2}.subject-results-table td:first-child,.subject-results-table th:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:136px;text-align:center}.subject-results-table thead th:first-child{z-index:3;background:#858585;color:#fff}.subject-results-table td:nth-child(2),.subject-results-table th:nth-child(2){position:sticky;left:136px;z-index:1;background:#fff;min-width:54px}.subject-results-table thead th:nth-child(2){z-index:3;background:#858585;color:#fff}.subject-question-header{border:0;background:0 0;color:inherit;font-weight:700;cursor:pointer;padding:0;min-width:28px}.subject-status-cell{color:#fff;font-weight:700;min-width:42px}.subject-status-right{background:#007a0b}.subject-status-wrong{background:#ff1710}.subject-status-skipped{background:#d9d9d9;color:#fff}.subject-status-empty{background:#f7f7f7;color:#6c757d}.subject-total-cell{background:#f7f7f7;color:#111;font-weight:500;min-width:68px}.question-detail-overlay{position:fixed;inset:0;background:rgba(15,23,42,.35);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1050}.question-detail-dialog{background:#fff;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.25);max-width:760px;width:100%;max-height:86vh;overflow:auto}.question-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid #e1e8ed}.question-detail-body{padding:1.25rem}.question-detail-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.question-detail-close{border:0;background:#f1f3f5;border-radius:6px;width:32px;height:32px;line-height:1}.question-detail-text{white-space:pre-wrap;line-height:1.55}.question-detail-inline p,.question-detail-options p,.question-detail-text p{margin-bottom:.35rem}.question-detail-inline p:last-child,.question-detail-options p:last-child,.question-detail-text p:last-child{margin-bottom:0}.calendar-view{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;min-height:400px}.calendar-header{background:#2c3e50;color:#fff;padding:10px;text-align:center;font-weight:600;border-radius:4px}.calendar-day{border:1px solid #dee2e6;border-radius:4px;min-height:100px;padding:5px;background:#fff;cursor:pointer;transition:background-color .2s}.calendar-day:hover{background:#f8f9fa}.calendar-day.other-month{background:#f8f9fa;color:#adb5bd}.calendar-day.today{background:#e8f5f1;border-color:#16a085}.calendar-day-number{font-weight:600;margin-bottom:4px;font-size:.9rem}.calendar-event{font-size:.75rem;padding:2px 4px;border-radius:3px;margin-bottom:2px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-event.event-past{background:#d1ecf1;color:#0c5460}.calendar-event.event-upcoming{background:#d4edda;color:#155724}.calendar-event.event-today{background:#fff3cd;color:#856404;font-weight:500}.calendar-nav{display:flex;justify-content:space-between;align-items:center}.calendar-month-year{font-size:1.25rem;font-weight:600;color:#2c3e50}.psed-tag{display:inline-block;padding:4px 8px;border-radius:12px;font-size:.75rem;cursor:pointer;border:2px solid transparent;transition:.2s}.psed-tag:hover{opacity:.8}.psed-tag.selected{border-color:#2c3e50;box-shadow:0 0 0 2px rgba(44,62,80,.3)}.psed-tag-personal{background:#d1ecf1;color:#0c5460}.psed-tag-social{background:#d4edda;color:#155724}.psed-tag-emotional{background:#f8d7da;color:#721c24}.psed-tag-lifeskills{background:#fff3cd;color:#856404}.event-tag{display:inline-block;font-size:.7rem;padding:1px 4px;border-radius:3px;margin-right:2px}.calendar-empty-state{grid-column:1/-1;text-align:center;padding:40px;color:#6c757d}.event-classes-badge{display:inline-block;font-size:.65rem;background:rgba(0,0,0,.1);border-radius:10px;padding:1px 6px;margin-left:4px}.calendar-week-view{grid-template-columns:repeat(7,1fr);min-height:300px}.calendar-week-view .calendar-day{min-height:200px}.calendar-week-view .calendar-day-header{background:#2c3e50;color:#fff;padding:8px;font-weight:600;text-align:center;border-radius:4px 4px 0 0;margin:-5px -5px 5px}.calendar-week-view .week-event{margin-bottom:6px;padding:6px}.calendar-week-view .event-header{font-size:.75rem;color:#6c757d;margin-bottom:2px}.calendar-week-view .event-title{font-weight:600;font-size:.85rem;margin-bottom:2px}.calendar-week-view .event-detail{font-size:.75rem;color:#495057}.calendar-week-view .event-time{background:rgba(0,0,0,.1);border-radius:4px;padding:1px 4px;font-size:.7rem}.calendar-day-view{display:block;max-width:800px;margin:0 auto}.calendar-day-view .calendar-day-card{background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:16px;margin-bottom:12px;cursor:pointer;transition:box-shadow .2s}.calendar-day-view .calendar-day-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.1)}.calendar-day-view .day-empty{text-align:center;padding:60px 20px;background:#f8f9fa;border-radius:8px}.calendar-day-view .day-card-header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.calendar-day-view .day-card-icon{font-size:1.5rem}.calendar-day-view .day-card-title{font-size:1.25rem;font-weight:600;flex:1}.calendar-day-view .day-card-type{text-transform:capitalize;background:#e9ecef;padding:2px 8px;border-radius:12px;font-size:.75rem;color:#495057}.calendar-day-view .event-details{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.calendar-day-view .detail-item{font-size:.85rem;color:#495057}.calendar-day-view .detail-item i{color:#6c757d;margin-right:4px}.calendar-day-view .event-description{font-size:.9rem;color:#212529;line-height:1.5;margin-bottom:12px;padding:10px;background:#f8f9fa;border-radius:6px}.calendar-day-view .day-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.calendar-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;flex-wrap:wrap;gap:10px}