*{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}.parent-report-hero{border-left:6px solid #16a085}.parent-report-hero-success{border-left-color:#16a34a}.parent-report-hero-warning{border-left-color:#f59e0b}.parent-report-hero-danger{border-left-color:#dc2626}.parent-report-subtitle{font-size:1rem;color:#334155;line-height:1.35}.parent-report-score{text-align:right;min-width:150px}.parent-report-percent{font-size:3rem;font-weight:800;line-height:1;color:#1f2937}.parent-report-scoreline{font-weight:600;color:#475569}.parent-report-count{border:1px solid #e1e8ed;border-radius:8px;padding:.85rem;background:#fff;display:flex;flex-direction:column;gap:.15rem;min-height:78px}.parent-report-count strong{font-size:1.65rem;line-height:1}.parent-report-count span{font-size:.82rem;color:#64748b}.parent-report-count-good strong{color:#16a34a}.parent-report-count-bad strong{color:#dc2626}.parent-report-count-warn strong{color:#d97706}.parent-report-next-step{border-top:4px solid #2c3e50}.parent-report-chip-list{display:flex;flex-wrap:wrap;gap:.5rem}.parent-report-chip{border:1px solid #d6dce5;background:#f8fafc;border-radius:999px;padding:.45rem .7rem;font-size:.86rem;color:#334155}.parent-report-chip strong{display:inline-flex;align-items:center;justify-content:center;min-width:1.45rem;height:1.45rem;border-radius:999px;margin-left:.35rem;background:#fee2e2;color:#991b1b;font-size:.78rem}.parent-report-subject-list{display:grid;gap:.6rem}.parent-report-subject-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;border:1px solid #e1e8ed;border-radius:8px;padding:.8rem .9rem;background:#fff}.parent-report-subject-score{font-size:1.15rem;font-weight:800;color:#1f2937;white-space:nowrap}.report-collapse{overflow:hidden}.report-collapse-summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;font-weight:700;background:#fff}.report-collapse-summary::-webkit-details-marker{display:none}.report-collapse-summary .bi-chevron-down{transition:transform .2s}.report-collapse[open] .report-collapse-summary{border-bottom:1px solid #e1e8ed}.report-collapse[open] .report-collapse-summary .bi-chevron-down{transform:rotate(180deg)}@media (max-width:575.98px){.report-page{padding:.85rem}.parent-report-score{text-align:left}.parent-report-percent{font-size:2.4rem}.parent-report-count{padding:.7rem}.parent-report-count strong{font-size:1.35rem}.parent-report-subject-row{align-items:flex-start}.report-collapse-summary{padding:.9rem 1rem}}.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}.results-export-bar{display:flex;justify-content:flex-end;align-items:center;background:#fff8db;border:1px solid #f1c40f;border-radius:8px;padding:.65rem .75rem;margin-bottom:.6rem}.results-export-btn{background:#f1c40f;color:#2c3e50;border:1px solid #d4a900;font-weight:700}.results-export-btn:hover{background:#d4a900;color:#17202a}.subject-sort-header,.table-sort-header{border:0;background:0 0;color:inherit;font:inherit;font-weight:700;padding:0;cursor:pointer;white-space:nowrap}.subject-sort-header:hover,.table-sort-header:hover{text-decoration:underline}.subject-sort-indicator{font-size:.72em;margin-left:.15rem}.subject-question-info{border:0;background:rgba(255,255,255,.22);color:#fff;border-radius:999px;width:18px;height:18px;padding:0;margin-left:.25rem;display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;vertical-align:middle}.subject-question-info:hover{background:rgba(255,255,255,.34)}.student-results-table-wrap{background:#fff;border:1px solid #2f2f2f;border-radius:8px;overflow:hidden}.student-results-table-scroll{overflow:auto;-webkit-overflow-scrolling:touch}.student-results-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:1rem}.student-results-table td,.student-results-table th{border:1px solid #2f2f2f;text-align:center;padding:.62rem .85rem;white-space:nowrap;vertical-align:middle}.student-results-table thead th{background:#858585;color:#fff;font-weight:700;position:sticky;top:0;z-index:2}.student-results-table td:first-child,.student-results-table th:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:48px}.student-results-table thead th:first-child{z-index:3;background:#858585;color:#fff}.student-results-table td:nth-child(3),.student-results-table th:nth-child(3){position:sticky;left:48px;z-index:1;background:#fff;min-width:190px}.student-results-table thead th:nth-child(3){z-index:3;background:#858585;color:#fff}.student-results-name-cell{font-weight:600;text-align:left!important}.student-results-name-cell a{color:#111;text-decoration:none}.student-results-name-cell a:hover{color:#16a085;text-decoration:underline}.student-results-phone-cell{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.92em}.student-results-actions-cell{min-width:174px}.student-results-actions-cell .btn{width:31px;height:31px;padding:.25rem;display:inline-flex;align-items:center;justify-content:center}@media (max-width:575.98px){.report-page.test-results-page{padding:.75rem}.student-results-table{font-size:.86rem}.student-results-table td,.student-results-table th{padding:.5rem .55rem}.student-results-table td:first-child,.student-results-table th:first-child{min-width:42px}.student-results-table td:nth-child(3),.student-results-table th:nth-child(3){left:42px;min-width:150px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.student-results-phone-cell{font-size:.8rem;letter-spacing:0;max-width:128px;overflow:hidden;text-overflow:ellipsis}}.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-edit{border:0;background:0 0;color:inherit;font:inherit;font-weight:700;width:100%;min-width:42px;padding:.15rem .25rem;cursor:pointer}.subject-status-edit:focus-visible{outline:#111 solid 2px;outline-offset:2px}.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}.question-detail-edit{border-top:1px solid #e1e8ed;margin-top:1rem;padding-top:1rem}.question-detail-checks{display:grid;gap:.5rem}.question-detail-option-check{display:grid;grid-template-columns:22px 76px 1fr;gap:.5rem;align-items:flex-start;border:1px solid #e9ecef;border-radius:8px;padding:.65rem .75rem;margin:0;cursor:pointer}.question-detail-option-check:hover{background:#f8f9fa}.question-detail-option-text{min-width:0}.question-detail-save-message{min-height:1.2rem}@media (max-width:575.98px){.question-detail-option-check{grid-template-columns:22px 1fr}.question-detail-option-text{grid-column:2}}.audit-log-table .audit-detail-cell{white-space:normal;text-align:left;min-width:320px;max-width:520px;line-height:1.35}.question-paper-detail-page,.question-papers-page{max-width:1280px}.question-paper-questions-table th{background:#f8f9fa;color:#2c3e50;white-space:nowrap}.question-paper-questions-table td{vertical-align:top}.question-paper-question-cell{min-width:280px}.question-paper-options{min-width:260px}.question-paper-options>div{border-bottom:1px solid #edf0f2;padding:.35rem 0}.question-paper-options>div:last-child{border-bottom:0}.question-paper-option-correct{background:#e8f5f1;border-left:3px solid #16a085;padding-left:.5rem!important}.question-paper-import-preview-table{max-height:420px;overflow:auto}.question-paper-import-preview-table th{background:#f8f9fa;color:#2c3e50;position:sticky;top:0;z-index:1}.question-paper-import-preview-table td{vertical-align:top;min-width:120px}.bubble-preview-question-header{text-align:center;white-space:nowrap}.bubble-preview-answer-cell{text-align:center;font-weight:700;border-radius:4px;min-width:42px}.bubble-preview-correct{background:#d4edda!important;color:#155724}.bubble-preview-wrong{background:#f8d7da!important;color:#721c24}.bubble-preview-skipped{background:#e9ecef!important;color:#495057}.answer-key-import-dialog{max-width:860px}.answer-key-import-table-wrap{max-height:55vh;overflow:auto}.answer-key-import-table th{background:#f8f9fa;color:#2c3e50;position:sticky;top:0;z-index:1}.answer-key-import-table td,.answer-key-import-table th{white-space:nowrap}.answer-key-import-detail{background:#f8f9fa;border-radius:8px;padding:1rem}.answer-key-option-order-list{display:grid;gap:.5rem}.answer-key-option-order-row{display:grid;grid-template-columns:auto 34px 1fr;gap:.75rem;align-items:flex-start;background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:.65rem}.answer-key-option-order-actions{display:flex;gap:.25rem}.answer-key-option-order-label{background:#16a085;color:#fff;border-radius:6px;font-weight:700;text-align:center;padding:.25rem .4rem}.answer-key-option-order-text{min-width:0}.question-detail-option-order-row{grid-template-columns:auto 104px 34px 1fr}.question-detail-option-order-correct{border-color:#16a085;background:#e8f5f1}.question-detail-correct-toggle{display:flex;align-items:center;gap:.4rem;font-weight:700;color:#2c3e50;cursor:pointer}.question-detail-correct-toggle .form-check-input{margin-top:0}.question-detail-correct-summary{line-height:1.35}.question-detail-selection-mode{background:#f8f9fa}@media (max-width:575.98px){.question-detail-option-order-row{grid-template-columns:auto 1fr 34px}.question-detail-option-order-row .answer-key-option-order-text{grid-column:1/-1}.question-detail-correct-toggle{justify-content:flex-start}}.answer-key-selected-count{margin-top:.15rem}.answer-key-import-table .form-check-input{cursor:pointer}.question-paper-overwrite-dialog{max-width:1040px}.question-paper-overwrite-table-wrap{max-height:58vh;overflow:auto}.question-paper-overwrite-table th{background:#f8f9fa;color:#2c3e50;position:sticky;top:0;z-index:1}.question-paper-overwrite-table td{vertical-align:top}.question-paper-overwrite-change{border-bottom:1px solid #edf0f2;padding:.45rem 0;max-width:620px}.question-paper-overwrite-change:first-child{padding-top:0}.question-paper-overwrite-change:last-child{border-bottom:0;padding-bottom:0}.question-paper-overwrite-change .small{white-space:normal;word-break:break-word}.audit-pagination{background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:.75rem 1rem}.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}