.auth-page{display:flex;justify-content:center;align-items:center;min-height:calc(100vh - var(--header-height) - 50px);padding:20px}.auth-form-container{background-color:#fff;padding:30px;border-radius:8px;box-shadow:0 4px 8px #0000001a;width:100%;max-width:400px}.auth-form-container h2{text-align:center;color:var(--primary-color);margin-bottom:20px}.form-group{margin-bottom:15px}.form-group label{display:block;font-weight:700;margin-bottom:5px;color:#333}.form-group input[type=email],.form-group input[type=password],.form-group input[type=text]{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:1em}.form-group input:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 2px #007bff40}.auth-button{width:100%;padding:12px;background-color:var(--primary-color);color:#fff;border:none;border-radius:4px;font-size:1.1em;font-weight:700;cursor:pointer;transition:background-color .3s ease}.auth-button:hover{opacity:.9}.auth-button:disabled{background-color:#ccc;cursor:not-allowed}.error-message{color:red;background-color:#ffebee;border:1px solid red;padding:10px;border-radius:4px;margin-bottom:15px;text-align:center}.auth-switch-prompt{text-align:center;margin-top:20px;font-size:.9em}.auth-switch-prompt a{color:var(--primary-color);font-weight:700;text-decoration:none}.auth-switch-prompt a:hover{text-decoration:underline}.dashboard-page{padding:20px}.dashboard-header{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #eee}.dashboard-header h1{color:var(--primary-color);margin-bottom:5px}.dashboard-header p{font-size:1.1em;color:var(--secondary-color)}.dashboard-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.summary-card{background-color:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000000d;transition:transform .2s ease-in-out}.summary-card:hover{transform:translateY(-5px)}.summary-card h2{font-size:1.3em;color:var(--primary-color);margin-top:0;margin-bottom:10px}.summary-card p{font-size:1.2em;color:#333;font-weight:700;margin-bottom:5px}.quick-actions{margin-bottom:30px;padding:20px;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d}.quick-actions h2{margin-top:0;margin-bottom:15px;color:var(--primary-color)}.quick-actions button{background-color:var(--primary-color);color:#fff;border:none;padding:10px 15px;margin-right:10px;margin-bottom:10px;border-radius:4px;cursor:pointer;font-size:1em;transition:background-color .2s ease}.quick-actions button:hover{opacity:.9}.role-switcher{background:white;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9;margin-bottom:30px}.role-switcher h3{margin:0 0 15px;color:#2c3e50;font-size:1.2rem}.view-buttons{display:flex;gap:10px;flex-wrap:wrap}.view-button{background:#f8f9fa;color:#495057;border:2px solid #e9ecef;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease}.view-button:hover{background:#e9ecef;border-color:#667eea}.view-button.active{background:#667eea;color:#fff;border-color:#667eea}.action-group{margin-bottom:25px;padding:20px;background:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.action-group h4{margin:0 0 15px;color:#2c3e50;font-size:1.1rem;font-weight:600}.action-group button{margin-right:15px;margin-bottom:10px;background:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s ease}.action-group button:hover{background:#5a6fd8}@media (max-width: 768px){.view-buttons{flex-direction:column}.view-button{width:100%;text-align:center}.action-group button{width:100%;margin-right:0}}.templates-page{padding:0;max-width:none;width:100%;margin:0}.create-template-button,.edit-button,.delete-button,.view-button,.submit-button,.add-button,.remove-button,.add-button-small,.remove-button-small,.remove-button-xsmall{background-color:var(--primary-color);color:#fff;border:none;padding:10px 15px;border-radius:4px;cursor:pointer;text-decoration:none;font-size:1em;transition:opacity .2s ease}.assessment-preview-container{border:2px solid #e0e0e0;border-radius:8px;padding:20px;background-color:#fafafa;max-height:calc(100vh - 300px);overflow-y:auto;font-family:Arial,sans-serif}.assessment-header{border-bottom:2px solid #ddd;padding-bottom:15px;margin-bottom:20px}.assessment-header h2{margin:0 0 10px;color:#333;font-size:1.5em}.assessment-description{margin:0;color:#666;font-style:italic}.section-preview{margin-bottom:25px;padding:15px;background:white;border-radius:6px;border:1px solid #e0e0e0}.section-preview h4{margin:0 0 15px;color:#444;font-size:1.2em;border-bottom:1px solid #eee;padding-bottom:8px}.question-preview-item{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:4px;border-left:4px solid #007bff}.question-preview-item:last-child{margin-bottom:0}.no-content-message{text-align:center;color:#666;font-style:italic;padding:40px}.preview-question{font-size:.9em}.add-button{background-color:#28a745;color:#fff;margin-top:10px;margin-bottom:10px}.template-form .remove-button,.template-section .remove-button{background-color:#dc3545;color:#fff;border:none;padding:10px 15px;border-radius:4px!important;cursor:pointer;font-size:1em;width:auto!important;height:auto!important;display:inline-block!important}.add-button-small{font-size:.9em;padding:5px 10px;background-color:#28a745;color:#fff;margin-top:5px}.remove-button-small{font-size:.9em;padding:5px 10px;background-color:#6c757d;color:#fff}.remove-button-xsmall{font-size:.8em;padding:3px 8px;background-color:#6c757d;color:#fff;margin-left:5px}.create-template-button:hover,.edit-button:hover,.delete-button:hover,.view-button:hover,.submit-button:hover,.add-button:hover,.remove-button:hover,.add-button-small:hover,.remove-button-small:hover,.remove-button-xsmall:hover{opacity:.85}.loading-message,.error-message,.info-message,.no-templates-message{text-align:center;padding:20px;font-size:1.1em}.no-templates-message{color:var(--secondary-color)}.templates-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.template-card{background-color:#fff;border:1px solid #ddd;border-radius:8px;padding:20px;box-shadow:0 2px 5px #0000000d}.template-card h3{margin-top:0;color:var(--primary-color)}.template-card p{font-size:.95em;line-height:1.5;color:#555;margin-bottom:15px}.template-meta{font-size:.85em;color:#777;margin-bottom:15px}.template-meta span{margin-right:15px}.template-actions{display:flex;gap:10px}.template-form-page .page-header{margin-bottom:20px}.template-form-page{max-width:none;width:100%;padding:0}.template-form .form-group{margin-bottom:15px}.template-form label{font-weight:700;display:block;margin-bottom:5px}.template-form input[type=text],.template-form textarea,.template-form select{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.template-form textarea{min-height:100px}.template-section{border:1px solid #e0e0e0;border-radius:6px;padding:20px;margin-bottom:20px;background-color:#f9f9f9}.section-header h3{margin:0;color:var(--primary-color)}.template-question{border:1px dashed #ccc;border-radius:4px;padding:15px;margin-bottom:15px;background-color:#fff}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.question-header p{margin:0;font-weight:700}.options-group{margin-top:10px;padding-left:15px}.option-item{display:flex;align-items:flex-start;margin-bottom:12px;padding:8px;border:1px solid #e0e0e0;border-radius:4px;background-color:#fafafa}.option-item .option-content-editor{flex:1;margin-right:12px}.option-item .option-controls{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:120px}.option-item .option-correct-label{display:flex;align-items:center;gap:4px;font-size:12px;margin:0}.option-item .option-correct-label input[type=checkbox]{margin:0}.option-item input[type=text]{width:auto;flex-grow:1;margin-right:8px}.form-divider{margin:30px 0;border:0;border-top:1px solid #eee}.submit-button{width:100%;padding:12px;font-size:1.1em}.template-view-page .page-header .header-actions{display:flex;gap:10px}.template-description{font-size:1.1em;line-height:1.6;color:#333;background-color:#f9f9f9;padding:15px;border-radius:4px;margin-bottom:20px}.template-content h2{margin-bottom:10px;border-bottom:1px solid #eee;padding-bottom:5px}.template-section-view{margin-bottom:20px;padding:15px;background-color:#fff;border:1px solid #ddd;border-radius:6px}.template-section-view h3{margin-top:0;color:var(--primary-color)}.questions-list{list-style:none;padding-left:0}.question-item-view{margin-bottom:10px;padding-bottom:10px;border-bottom:1px dotted #eee}.question-item-view:last-child{border-bottom:none}.question-item-view p strong{font-size:1.05em}.options-list-view{list-style:disc;padding-left:30px;margin-top:5px;font-size:.95em}.options-list-view li{margin-bottom:3px}.template-metadata-view{margin-top:30px;padding-top:15px;border-top:1px solid #eee;font-size:.9em;color:#555}.template-metadata-view p{margin:5px 0}.back-link{display:inline-block;margin-top:20px;color:var(--primary-color);text-decoration:none}.back-link:hover{text-decoration:underline}.skills-management-section{margin-top:30px;padding:20px;background-color:#fdfdfd;border:1px solid #e0e0e0;border-radius:6px}.skills-management-section h2{color:var(--primary-color);margin-top:0;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #eee}.add-skill-form{display:flex;gap:10px;align-items:center;margin-bottom:20px}.add-skill-form label{font-weight:400;margin-bottom:0}.add-skill-form input[type=text]{flex-grow:1}.add-skill-form .add-button-small{margin-top:0;white-space:nowrap}.skills-list{list-style:none;padding:0}.skill-item{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;border:1px solid #eee;border-radius:4px;margin-bottom:10px;background-color:#fff}.skill-name{font-weight:500;flex-grow:1}.skill-meta{font-size:.85em;color:#555;margin:0 15px;min-width:150px}.skill-actions{display:flex;gap:8px;flex-shrink:0}.skill-actions .button-small,.skill-actions .remove-button-small{padding:6px 10px}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background-color:#fff;padding:25px;border-radius:8px;box-shadow:0 5px 15px #0000004d;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal.modal-large{max-width:1200px;width:95%;max-height:95vh}.modal.curriculum-linker-modal{max-width:1400px;width:95%;max-height:95vh;padding:30px}.modal h3{margin-top:0;color:var(--primary-color);margin-bottom:20px}.modal .form-group{margin-bottom:15px}.modal .modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:15px;border-top:1px solid #eee}.modal .button-primary,.modal .button-secondary{padding:10px 15px;border:none;border-radius:4px;cursor:pointer}.modal .button-primary{background-color:var(--primary-color);color:#fff}.modal .button-secondary{background-color:#6c757d;color:#fff}.modal .button-primary:hover,.modal .button-secondary:hover{opacity:.85}.curriculum-strand-list{max-height:var(--curriculum-strand-list-max-height, 600px);overflow-y:auto;border:1px solid #eee;padding:10px;border-radius:4px;margin-top:10px;margin-bottom:15px}.curriculum-strand-item{display:flex;align-items:flex-start;padding:8px 0;border-bottom:1px solid #f5f5f5}.curriculum-strand-item:last-child{border-bottom:none}.curriculum-strand-item input[type=checkbox]{margin-right:10px;margin-top:4px}.curriculum-strand-item label{font-weight:400;font-size:.95em;flex-grow:1}.curriculum-strand-item label .strand-description{font-size:.9em;color:#555;margin-top:3px;padding-left:5px}.minimal-section{padding:15px;background-color:#f9f9f980}.minimal-section .section-header h3{font-size:1.1em}.form-hint{font-size:.9em;color:#555;margin-bottom:15px;background-color:#eef;padding:8px;border-radius:4px;border-left:3px solid var(--primary-color)}.multi-select-skills{min-height:100px}.form-hint-small{font-size:.85em;color:#666;margin-top:5px}.react-resizable-handle{position:absolute;width:10px;height:100%;background:#ddd;cursor:ew-resize;right:0;top:0}.field-help{display:block;margin-top:4px;font-size:.875rem;color:#6b7280;font-style:italic}.form-group .field-help{margin-top:4px}.form-section{margin:20px 0;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.form-section h3{margin:0 0 15px;color:var(--primary-color);font-size:1.1em}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:15px}.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:400;cursor:pointer}.checkbox-label input[type=checkbox]{margin:0;cursor:pointer}.color-input-group{display:flex;align-items:center;gap:8px}.color-input-group input[type=color]{width:50px;height:40px;border:1px solid #ced4da;border-radius:4px;cursor:pointer}.color-input-group input[type=text]{flex:1;padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-family:monospace;font-size:14px}.field-help{display:block;margin-top:4px;font-size:.85em;color:#6c757d;font-style:italic}.form-divider{margin:30px 0;border:none;border-top:2px solid #e9ecef}.branding-info{background:#e7f3ff;border:1px solid #b3d8ff;border-radius:6px;padding:15px;margin-bottom:20px}.branding-info p{margin:0;color:#1e40af;font-size:.9em;line-height:1.4}.branding-info strong{color:#1e3a8a}.preview-cover-page{page-break-after:always;background:white;border:2px solid #e9ecef;border-radius:8px;padding:40px;margin-bottom:30px;text-align:center;min-height:400px;display:flex;flex-direction:column;justify-content:center}.cover-page-header{margin-bottom:40px}.cover-logo{margin-bottom:20px}.school-name{font-size:2.5em;font-weight:700;color:var(--primary-color);margin:20px 0}.cover-page-content{flex:1;display:flex;flex-direction:column;justify-content:center}.assessment-title{font-size:2em;margin:20px 0;color:#333}.assessment-subtitle{font-size:1.2em;color:#666;margin:10px 0;font-style:italic}.cover-meta{margin-top:40px;font-size:.9em;color:#666}.cover-meta p{margin:5px 0}.preview-assessment-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:#f8f9fa;border-bottom:2px solid #e9ecef;margin-bottom:20px;border-radius:4px}.header-content{display:flex;align-items:center;gap:15px}.header-content.left{justify-content:flex-start}.header-content.center{justify-content:center}.header-content.right{justify-content:flex-end}.header-logo{max-height:40px;max-width:120px}.header-school-name{font-weight:700;color:var(--primary-color);font-size:1.1em}.page-number{font-size:.9em;color:#666;font-weight:500}.chart-table-display{width:100%;border-collapse:collapse;margin:10px 0}.chart-table-display table{width:100%;border:1px solid #ddd;border-collapse:collapse}.chart-table-display th,.chart-table-display td{border:1px solid #ddd;padding:8px 12px;text-align:left}.chart-table-display th{background-color:#f8f9fa;font-weight:700;color:#333}.chart-table-display tr:nth-child(2n){background-color:#f9f9f9}.chart-table-display tr:hover{background-color:#f5f5f5}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(/assets/KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(/assets/KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(/assets/KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(/assets/KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(/assets/KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.22"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.equation-editor-container{border:1px solid #ccc;padding:10px;border-radius:4px}.editor-controls{margin-bottom:10px;display:flex;justify-content:flex-end}.mode-toggle{display:flex;border:1px solid #ccc;border-radius:4px;overflow:hidden}.mode-btn{padding:6px 12px;border:none;background-color:#f8f9fa;color:#495057;cursor:pointer;font-size:12px;font-weight:500;transition:all .2s ease;border-right:1px solid #ccc}.mode-btn:last-child{border-right:none}.mode-btn:hover{background-color:#e9ecef}.mode-btn.active{background-color:#007bff;color:#fff}.equation-toolbar-container{margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #eee}.equation-preview-container{margin-top:8px;padding:10px;border:1px dashed #ddd;min-height:40px;background-color:#f9f9f9}.subject-mode-selector-container{margin-bottom:8px;font-style:italic;color:#555}.toolbar-button{margin-right:5px;padding:8px 12px;border:1px solid #666;background-color:#fff;color:#333;cursor:pointer;border-radius:4px;font-weight:500;font-size:14px;box-shadow:0 1px 2px #0000001a;transition:all .2s ease}.toolbar-button:hover{background-color:#f8f9fa;border-color:#007bff;box-shadow:0 2px 4px #00000026}.toolbar-button:active{background-color:#e9ecef;transform:translateY(1px);box-shadow:0 1px 2px #0000001a}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}.image-gallery-icon{color:#fff;transition:all .3s ease-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:0;cursor:pointer;outline:none;position:absolute;z-index:4;filter:drop-shadow(0 2px 2px rgb(25.5,25.5,25.5))}@media (hover: hover)and (pointer: fine){.image-gallery-icon:hover{color:#337ab7}.image-gallery-icon:hover .image-gallery-svg{transform:scale(1.1)}}.image-gallery-icon:focus{outline:2px solid #337ab7}.image-gallery-using-mouse .image-gallery-icon:focus{outline:none}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:20px}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:28px;width:28px}@media (max-width: 768px){.image-gallery-fullscreen-button,.image-gallery-play-button{padding:15px}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:24px;width:24px}}@media (max-width: 480px){.image-gallery-fullscreen-button,.image-gallery-play-button{padding:10px}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:16px;width:16px}}.image-gallery-fullscreen-button{right:0}.image-gallery-play-button{left:0}.image-gallery-top-nav,.image-gallery-bottom-nav{padding:10px;left:50%;transform:translate(-50%)}.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:120px;width:90px}@media (max-width: 768px){.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:72px;width:48px}}@media (max-width: 480px){.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:48px;width:36px}}.image-gallery-top-nav[disabled],.image-gallery-bottom-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-top-nav{top:0}.image-gallery-bottom-nav{bottom:0}.image-gallery-left-nav,.image-gallery-right-nav{padding:50px 10px;top:50%;transform:translateY(-50%)}.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:120px;width:60px}@media (max-width: 768px){.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:72px;width:36px}}@media (max-width: 480px){.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:48px;width:24px}}.image-gallery-left-nav[disabled],.image-gallery-right-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-left-nav{left:0}.image-gallery-right-nav{right:0}.image-gallery{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.image-gallery.fullscreen-modal{background:#000;bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:5}.image-gallery.fullscreen-modal .image-gallery-content{top:50%;transform:translateY(-50%)}.image-gallery-content{position:relative;line-height:0;top:0}.image-gallery-content.fullscreen{background:#000}.image-gallery-content .image-gallery-slide .image-gallery-image{max-height:calc(100vh - 80px)}.image-gallery-content.image-gallery-thumbnails-left .image-gallery-slide .image-gallery-image,.image-gallery-content.image-gallery-thumbnails-right .image-gallery-slide .image-gallery-image{max-height:100vh}.image-gallery-slide-wrapper{position:relative}.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{display:inline-block;width:calc(100% - 110px)}@media (max-width: 768px){.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{width:calc(100% - 87px)}}.image-gallery-slide-wrapper.image-gallery-rtl{direction:rtl}.image-gallery-slides{line-height:0;overflow:hidden;position:relative;white-space:nowrap;text-align:center;touch-action:none}.image-gallery-slide{left:0;position:absolute;top:0;width:100%}.image-gallery-slide.image-gallery-center{position:relative}.image-gallery-slide .image-gallery-image{width:100%;object-fit:contain}.image-gallery-slide .image-gallery-description{background:rgba(0,0,0,.4);bottom:70px;color:#fff;left:0;line-height:1;padding:10px 20px;position:absolute;white-space:normal}@media (max-width: 768px){.image-gallery-slide .image-gallery-description{bottom:45px;font-size:.8em;padding:8px 15px}}.image-gallery-bullets{bottom:20px;left:0;margin:0 auto;position:absolute;right:0;width:80%;z-index:4}.image-gallery-bullets .image-gallery-bullets-container{margin:0;padding:0;text-align:center}.image-gallery-bullets .image-gallery-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:1px solid #fff;border-radius:50%;box-shadow:0 2px 2px #1a1a1a;cursor:pointer;display:inline-block;margin:0 5px;outline:none;padding:5px;transition:all .2s ease-out}@media (max-width: 768px){.image-gallery-bullets .image-gallery-bullet{margin:0 3px;padding:3px}}@media (max-width: 480px){.image-gallery-bullets .image-gallery-bullet{padding:2.7px}}.image-gallery-bullets .image-gallery-bullet:focus{transform:scale(1.2);background:#337ab7;border:1px solid #337ab7}.image-gallery-bullets .image-gallery-bullet.active{transform:scale(1.2);border:1px solid #fff;background:#fff}@media (hover: hover)and (pointer: fine){.image-gallery-bullets .image-gallery-bullet:hover{background:#337ab7;border:1px solid #337ab7}.image-gallery-bullets .image-gallery-bullet.active:hover{background:#337ab7}}.image-gallery-bullets.image-gallery-bullets-vertical{left:20px;right:auto;bottom:auto;width:auto;top:50%;transform:translateY(-50%)}.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{display:block;margin:12px 0}@media (max-width: 768px){.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{margin:6px 0;padding:3px}}@media (max-width: 480px){.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{padding:2.7px}}.image-gallery-thumbnails-wrapper{position:relative}.image-gallery-thumbnails-wrapper.thumbnails-swipe-horizontal{touch-action:pan-y}.image-gallery-thumbnails-wrapper.thumbnails-swipe-vertical{touch-action:pan-x}.image-gallery-thumbnails-wrapper.thumbnails-wrapper-rtl{direction:rtl}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{display:inline-block;vertical-align:top;width:100px}@media (max-width: 768px){.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{width:81px}}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails{height:100%;width:100%;left:0;padding:0;position:absolute;top:0}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails .image-gallery-thumbnail,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails .image-gallery-thumbnail{display:block;margin-right:0;padding:0}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails .image-gallery-thumbnail+.image-gallery-thumbnail,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails .image-gallery-thumbnail+.image-gallery-thumbnail{margin-left:0;margin-top:2px}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{margin:0 5px}@media (max-width: 768px){.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{margin:0 3px}}.image-gallery-thumbnails{overflow:hidden;padding:5px 0}@media (max-width: 768px){.image-gallery-thumbnails{padding:3px 0}}.image-gallery-thumbnails .image-gallery-thumbnails-container{cursor:pointer;text-align:center;white-space:nowrap}.image-gallery-thumbnail{display:inline-block;border:4px solid rgba(0,0,0,0);transition:border .3s ease-out;width:100px;background:rgba(0,0,0,0);padding:0}@media (max-width: 768px){.image-gallery-thumbnail{border:3px solid rgba(0,0,0,0);width:81px}}.image-gallery-thumbnail+.image-gallery-thumbnail{margin-left:2px}.image-gallery-thumbnail .image-gallery-thumbnail-inner{display:block;position:relative}.image-gallery-thumbnail .image-gallery-thumbnail-image{vertical-align:middle;width:100%;line-height:0}.image-gallery-thumbnail.active,.image-gallery-thumbnail:focus{outline:none;border:4px solid #337ab7}@media (max-width: 768px){.image-gallery-thumbnail.active,.image-gallery-thumbnail:focus{border:3px solid #337ab7}}@media (hover: hover)and (pointer: fine){.image-gallery-thumbnail:hover{outline:none;border:4px solid #337ab7}}@media (hover: hover)and (pointer: fine)and (max-width: 768px){.image-gallery-thumbnail:hover{border:3px solid #337ab7}}.image-gallery-thumbnail-label{box-sizing:border-box;color:#fff;font-size:1em;left:0;line-height:1em;padding:5%;position:absolute;top:50%;text-shadow:0 2px 2px hsl(0,0%,10%);transform:translateY(-50%);white-space:normal;width:100%}@media (max-width: 768px){.image-gallery-thumbnail-label{font-size:.8em;line-height:.8em}}.image-gallery-index{background:rgba(0,0,0,.4);color:#fff;line-height:1;padding:10px 20px;position:absolute;right:0;top:0;z-index:4}@media (max-width: 768px){.image-gallery-index{font-size:.8em;padding:5px 10px}}.image-editor{border:1px solid #ccc;padding:15px;border-radius:5px;background-color:#f9f9f9;font-family:sans-serif}.image-editor h3,.image-editor h4{margin-top:0;color:#333}.image-uploader{border:2px dashed #007bff;padding:20px;text-align:center;cursor:pointer;background-color:#fff;color:#007bff;border-radius:5px;margin-bottom:15px;transition:background-color .2s ease-in-out,border-color .2s ease-in-out}.image-uploader.active{border-color:#28a745;background-color:#e9f7ef}.image-uploader.disabled{border-color:#ced4da;background-color:#e9ecef;color:#6c757d;cursor:not-allowed}.image-uploader p{margin:0}.image-cropper{margin-top:15px;margin-bottom:15px;display:flex;flex-direction:column;align-items:center}.image-cropper .ReactCrop{max-width:100%;display:flex;justify-content:center;border:1px solid #ddd;background-color:#f0f0f0}.image-cropper .ReactCrop img{display:block;max-width:100%;object-fit:contain}.crop-actions{margin-top:10px;text-align:center;display:flex;gap:10px;justify-content:center}.crop-actions button{padding:8px 15px;cursor:pointer;border-radius:4px;border:1px solid transparent;font-weight:500;outline:none}.crop-actions button:focus-visible{outline:2px solid #007bff;outline-offset:2px}.image-editor-actions button{padding:8px 12px;cursor:pointer;border-radius:4px;border:1px solid;font-weight:500;transition:background-color .15s ease-in-out,border-color .15s ease-in-out;outline:none;background-color:#6c757d;color:#fff;border-color:#6c757d}.image-editor-actions button:hover:not(:disabled){background-color:#5a6268;border-color:#545b62}.image-editor-actions button:focus-visible{outline:2px solid #007bff;outline-offset:2px}.image-editor-actions button.confirm-action{background-color:#28a745;border-color:#28a745}.image-editor-actions button.confirm-action:hover:not(:disabled){background-color:#218838;border-color:#1e7e34}.image-editor-actions button.crop-action{background-color:#ffc107;border-color:#ffc107;color:#212529}.image-editor-actions button.crop-action:hover:not(:disabled){background-color:#e0a800;border-color:#d39e00}.image-editor-actions button:disabled{background-color:#adb5bd;border-color:#adb5bd;color:#e9ecef;cursor:not-allowed;opacity:.65}.crop-actions button:disabled{background-color:#adb5bd;border-color:#adb5bd;color:#fff;cursor:not-allowed}.crop-actions button:first-of-type{background-color:#28a745;color:#fff;border-color:#28a745}.crop-actions button:first-of-type:hover:not(:disabled){background-color:#218838}.crop-actions .cancel-button{background-color:#6c757d;color:#fff;border-color:#6c757d}.crop-actions .cancel-button:hover:not(:disabled){background-color:#5a6268}.image-positioner{margin:15px 0;padding:10px;background-color:#e9ecef;border-radius:4px;display:flex;align-items:center;gap:10px}.image-positioner label{margin:0;font-weight:500}.image-positioner select{padding:5px 8px;border-radius:4px;border:1px solid #ced4da;outline:none}.image-positioner select:focus-visible{outline:2px solid #007bff;outline-offset:1px;border-color:#80bdff}.image-positioner.disabled p{margin:0;color:#495057;font-style:italic}.image-preview-container{margin-top:15px;padding:10px;border:1px dashed #6c757d;border-radius:4px;min-height:50px;text-align:center;background-color:#fff}.image-preview-container.inline{display:inline-block;border:1px dashed #ced4da;padding:5px;vertical-align:middle}.image-preview-container img{border:1px solid #eee}.image-preview-container>p:first-child{color:#6c757d;margin:0}.image-preview-container .caption{font-size:.9em;color:#495057;margin-top:5px;clear:both}.image-toolbar{margin-top:20px;padding-top:15px;border-top:1px solid #dee2e6;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}.image-toolbar button{padding:8px 12px;cursor:pointer;border-radius:4px;border:1px solid;font-weight:500;transition:background-color .15s ease-in-out,border-color .15s ease-in-out;outline:none}.image-toolbar button:focus-visible{outline:2px solid #007bff;outline-offset:2px}.image-toolbar button.confirm-button:disabled,.image-toolbar button.crop-button:disabled,.image-toolbar button.delete-button:disabled,.image-toolbar button:disabled{background-color:#adb5bd;border-color:#adb5bd;color:#e9ecef;cursor:not-allowed;opacity:.65}.image-toolbar .confirm-button{background-color:#007bff;border-color:#007bff;color:#fff}.image-toolbar .confirm-button:hover:not(:disabled){background-color:#0056b3;border-color:#0056b3}.image-toolbar .crop-button{background-color:#ffc107;border-color:#ffc107;color:#212529}.image-toolbar .crop-button:hover:not(:disabled){background-color:#e0a800;border-color:#d39e00}.image-toolbar .delete-button{background-color:#dc3545;border-color:#dc3545;color:#fff}.image-toolbar .delete-button:hover:not(:disabled){background-color:#c82333;border-color:#bd2130}.image-editor .form-group{margin-bottom:10px}.image-editor .form-group label{display:block;margin-bottom:5px;font-weight:500;color:#495057}.image-editor .form-group input[type=text]{width:100%;padding:8px;border:1px solid #ced4da;border-radius:4px;box-sizing:border-box;outline:none}.image-editor .form-group input[type=text]:focus{border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40}.image-editor .form-group input[type=text]:focus-visible{border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40;outline:2px solid #007bff;outline-offset:1px}.image-editor-error-display{color:#721c24;background-color:#f8d7da;border:1px solid #f5c6cb;padding:10px 15px;margin-top:10px;border-radius:4px;font-size:.9em}.image-editor-error-display .error-message{margin:0;padding:0}.image-editor-error-display .error-message+.error-message{margin-top:8px}.image-editor-error-display .error-filename{font-weight:700}``` .input-mode-toggle{display:flex;border:1px solid #ced4da;border-radius:4px;overflow:hidden;margin-bottom:8px;width:fit-content;background-color:#fff}.toggle-btn{display:flex;align-items:center;gap:6px;padding:8px 12px;border:none;background:#f8f9fa;cursor:pointer;transition:all .2s ease;font-size:14px;font-weight:500;color:#495057;border-right:1px solid #ced4da}.toggle-btn:last-child{border-right:none}.toggle-btn:hover:not(:disabled):not(.active){background:#e9ecef;color:#343a40}.toggle-btn.active{background:#007bff;color:#fff;box-shadow:inset 0 1px 2px #0000001a}.toggle-btn:disabled{cursor:not-allowed;opacity:.6;background:#f8f9fa;color:#6c757d}.toggle-icon{font-size:16px;line-height:1}.toggle-btn:focus{outline:none;box-shadow:0 0 0 2px #007bff40}.toggle-btn:focus:not(:focus-visible){box-shadow:none}.toggle-btn:focus-visible{box-shadow:0 0 0 2px #007bff40}.question-text-input-container{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.input-controls{display:flex;align-items:center;gap:16px;padding:8px 0;border-bottom:1px solid #e0e0e0;margin-bottom:8px}.subject-selector-container{display:flex;align-items:center;gap:8px}.subject-label{font-size:14px;font-weight:500;color:#333;margin:0}.subject-selector{padding:6px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background-color:#fff;color:#333;cursor:pointer;transition:border-color .2s ease}.subject-selector:hover{border-color:#007bff}.subject-selector:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.subject-selector:disabled{background-color:#f5f5f5;color:#666;cursor:not-allowed}.input-field-container{position:relative}.question-text-textarea{width:100%;min-height:80px;padding:12px;border:1px solid #ddd;border-radius:4px;font-size:14px;font-family:inherit;line-height:1.5;resize:vertical;transition:border-color .2s ease,box-shadow .2s ease}.question-text-textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.question-text-textarea.error{border-color:#dc3545;box-shadow:0 0 0 2px #dc354540}.question-text-textarea:disabled{background-color:#f5f5f5;color:#666;cursor:not-allowed}.equation-editor-wrapper{border:1px solid #ddd;border-radius:4px;background-color:#fff;transition:border-color .2s ease,box-shadow .2s ease}.equation-editor-wrapper:focus-within{border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.image-editor-wrapper{border:1px solid #ddd;border-radius:4px;background-color:#fff;transition:border-color .2s ease,box-shadow .2s ease}.image-editor-wrapper:focus-within{border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.image-attachment-indicator{margin-top:8px;padding:8px 12px;background-color:#d1ecf1;border:1px solid #bee5eb;border-radius:4px;display:flex;align-items:center;justify-content:space-between}.attachment-status{display:flex;align-items:center;gap:8px;flex:1}.attachment-icon{font-size:16px;color:#0c5460}.attachment-text{font-size:14px;color:#0c5460;font-weight:500}.clear-attachment-btn{background:none;border:none;color:#0c5460;cursor:pointer;font-size:16px;padding:4px;border-radius:2px;transition:background-color .2s ease;line-height:1}.clear-attachment-btn:hover{background-color:#0c54601a}.clear-attachment-btn:disabled{color:#6c757d;cursor:not-allowed}.clear-attachment-btn:disabled:hover{background-color:transparent}.validation-error{display:flex;align-items:flex-start;gap:8px;padding:8px 12px;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#721c24;font-size:13px;line-height:1.4;margin-top:4px}.validation-error:before{content:"⚠";flex-shrink:0;font-weight:700}.latex-help,.image-help{margin-top:8px}.latex-help-details,.image-help-details{border:1px solid #e0e0e0;border-radius:4px;background-color:#f8f9fa}.latex-help-details summary,.image-help-details summary{padding:8px 12px;cursor:pointer;font-size:13px;font-weight:500;color:#495057;-webkit-user-select:none;user-select:none;border-radius:4px;transition:background-color .2s ease}.latex-help-details summary:hover,.image-help-details summary:hover{background-color:#e9ecef}.latex-help-details[open] summary,.image-help-details[open] summary{border-bottom:1px solid #e0e0e0;border-radius:4px 4px 0 0}.latex-help-content,.image-help-content{padding:12px;font-size:13px;line-height:1.5}.latex-help-content p,.image-help-content p{margin:0 0 8px}.latex-help-content p:last-child,.image-help-content p:last-child{margin-bottom:0}.latex-help-content ul,.image-help-content ul{margin:8px 0;padding-left:20px}.latex-help-content li,.image-help-content li{margin-bottom:4px}.latex-help-content code,.image-help-content code{background-color:#e9ecef;padding:2px 4px;border-radius:2px;font-family:Courier New,monospace;font-size:12px}@media (max-width: 768px){.input-controls{flex-direction:column;align-items:flex-start;gap:12px}.subject-selector-container{width:100%}.subject-selector{flex:1;min-width:150px}}@media (prefers-contrast: high){.question-text-textarea,.subject-selector,.equation-editor-wrapper{border-width:2px}.validation-error{border-width:2px;font-weight:500}}.inline-content-editor-container{display:flex;flex-direction:column;gap:8px}.inline-content-textarea{border:1px solid #ddd;border-radius:4px;padding:12px;background-color:#fff;font-family:inherit;font-size:14px;line-height:1.5;resize:vertical;outline:none;transition:border-color .2s ease}.inline-content-textarea:focus{border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.inline-content-textarea:disabled{background-color:#f8f9fa;cursor:not-allowed}.inline-editor-help{margin-top:8px;padding:8px 12px;background-color:#e7f3ff;border:1px solid #b3d8ff;border-radius:4px;font-size:12px;color:#1e40af;text-align:center}.inline-editor-help kbd{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:3px;padding:2px 4px;font-size:11px;font-family:monospace;color:#495057}.latex-helper-section{margin-top:16px;border:1px solid #e0e0e0;border-radius:8px;background-color:#f8f9fa;overflow:hidden}.latex-helper-header{padding:12px 16px;background-color:#fff;border-bottom:1px solid #e0e0e0}.latex-helper-header h4{margin:0 0 4px;color:#2563eb;font-size:14px;font-weight:600}.latex-helper-header p{margin:0;font-size:12px;color:#6b7280;line-height:1.4}.equation-editor-wrapper{padding:16px;background-color:#fff}.latex-helper-actions{display:flex;gap:8px;padding:12px 16px;background-color:#f9fafb;border-top:1px solid #e0e0e0}.insert-latex-button,.clear-latex-button{padding:8px 16px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.insert-latex-button{background-color:#2563eb;color:#fff;border-color:#2563eb}.insert-latex-button:hover:not(:disabled){background-color:#1d4ed8;border-color:#1d4ed8}.insert-latex-button:disabled{background-color:#e5e7eb;border-color:#e5e7eb;color:#9ca3af;cursor:not-allowed}.clear-latex-button{background-color:#fff;color:#6b7280}.clear-latex-button:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.clear-latex-button:disabled{color:#d1d5db;cursor:not-allowed}.charts-editor-section{margin-top:16px;border:1px solid #e0e0e0;border-radius:8px;background-color:#f8f9fa;overflow:hidden}.charts-editor-header{padding:12px 16px;background-color:#fff;border-bottom:1px solid #e0e0e0}.charts-editor-header h4{margin:0 0 4px;color:#2563eb;font-size:14px;font-weight:600}.charts-editor-header p{margin:0;font-size:12px;color:#6b7280;line-height:1.4}.charts-editor-wrapper{padding:16px;background-color:#fff}.chart-actions{display:flex;gap:8px;padding:12px 16px;background-color:#f9fafb;border-top:1px solid #e0e0e0}.insert-chart-button,.clear-chart-button{padding:8px 16px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.insert-chart-button{background-color:#2563eb;color:#fff;border-color:#2563eb}.insert-chart-button:hover:not(:disabled){background-color:#1d4ed8;border-color:#1d4ed8}.insert-chart-button:disabled{background-color:#e5e7eb;border-color:#e5e7eb;color:#9ca3af;cursor:not-allowed}.clear-chart-button{background-color:#fff;color:#6b7280}.clear-chart-button:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.clear-chart-button:disabled{color:#d1d5db;cursor:not-allowed}.image-editor-section{margin-top:16px;border:1px solid #e0e0e0;border-radius:8px;background-color:#f8f9fa;overflow:hidden}.image-editor-header{padding:12px 16px;background-color:#fff;border-bottom:1px solid #e0e0e0}.image-editor-header h4{margin:0 0 4px;color:#2563eb;font-size:14px;font-weight:600}.image-editor-header p{margin:0;font-size:12px;color:#6b7280;line-height:1.4}.image-editor-wrapper{padding:16px;background-color:#fff}.image-actions{display:flex;gap:8px;padding:12px 16px;background-color:#f9fafb;border-top:1px solid #e0e0e0}.clear-image-button{padding:8px 16px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;background-color:#fff;color:#6b7280}.clear-image-button:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.clear-image-button:disabled{color:#d1d5db;cursor:not-allowed}.secondary-button{padding:6px 12px;border:1px solid #d1d5db;border-radius:4px;background-color:#fff;color:#6b7280;cursor:pointer;font-size:13px;transition:all .2s ease;margin-right:8px}.secondary-button:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af;color:#374151}.secondary-button:disabled{color:#d1d5db;cursor:not-allowed}.attachments-summary{margin-top:8px;padding:8px 12px;background-color:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px}.attachment-indicator{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b7280}.attachment-icon{font-size:16px}.attachment-text{flex:1;font-weight:500}.edit-attachment-btn{padding:4px 8px;border:1px solid #d1d5db;border-radius:4px;background-color:#fff;color:#6b7280;cursor:pointer;font-size:12px;transition:all .2s ease}.edit-attachment-btn:hover:not(:disabled){background-color:#f3f4f6;border-color:#9ca3af;color:#374151}.edit-attachment-btn:disabled{color:#d1d5db;cursor:not-allowed}.clickable-chart{cursor:pointer;transition:opacity .2s ease;border-radius:4px;padding:8px}.clickable-chart:hover{opacity:.8;background-color:#2563eb0d;border:1px solid rgba(37,99,235,.2)}@media (prefers-reduced-motion: reduce){.question-text-textarea,.subject-selector,.equation-editor-wrapper,.latex-help-details summary{transition:none}}._editorLayout_1wkau_2{display:flex;flex-direction:column;gap:1rem;padding:1rem;border:1px solid #ccc;border-radius:4px;background-color:#fff}._mainArea_1wkau_12{display:flex;gap:1rem;flex-wrap:wrap}._controls_1wkau_18{flex:2;min-width:300px;display:flex;flex-direction:column;gap:1rem}._preview_1wkau_26{flex:1;min-width:250px;padding:1rem;border:1px dashed #ddd;min-height:200px;background-color:#f9f9f9;border-radius:4px}._toolbar_1wkau_37{display:flex;gap:.5rem;padding-bottom:1rem;border-bottom:1px solid #e0e0e0;flex-wrap:wrap}._toolbarButton_1wkau_46{padding:.5rem 1rem;border:1px solid #ccc;background-color:#f7f7f7;cursor:pointer;border-radius:4px;font-size:.9em;display:flex;align-items:center;color:#333}._active_1wkau_59{background-color:#e0e0f0;font-weight:700;border-color:#a0a0d0;color:#333}._toolbarButton_1wkau_46:disabled{background-color:#f5f5f5;color:#aaa;cursor:not-allowed;border-color:#e0e0e0}._toolbarButton_1wkau_46:hover:not(:disabled){background-color:#e8e8e8}._validationError_1wkau_79{color:#d9534f;font-size:.9em;padding:.5rem;border:1px solid #d9534f;border-radius:4px;background-color:#f2dede}._helpStub_1wkau_88{font-size:.9em;color:#666;border-top:1px solid #eee;padding-top:1rem;margin-top:1rem}._blankModeToggle_1wkau_97{padding:.5rem 0;font-size:.9em}._blankModeToggle_1wkau_97 label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.curriculum-hierarchy-display{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#ffffff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.curriculum-hierarchy-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#666}.loading-spinner{width:32px;height:32px;border:3px solid #e3e3e3;border-top:3px solid #2196F3;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.curriculum-hierarchy-error{display:flex;flex-direction:column;align-items:center;padding:40px 20px;color:#d32f2f;background:#ffeaea;border:1px solid #ffcdd2;margin:16px;border-radius:8px}.error-icon{font-size:24px;margin-bottom:12px}.retry-button{margin-top:16px;padding:8px 16px;background:#2196F3;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .2s}.retry-button:hover{background:#1976D2}.modal.curriculum-linker-modal{max-width:1300px!important;width:92%!important;max-height:95vh!important;min-height:80vh!important;padding:30px!important}.modal.curriculum-linker-modal .curriculum-strand-list,.modal.curriculum-linker-modal .curriculum-tree-container,.modal.curriculum-linker-modal .curriculum-hierarchy-display{max-height:1000px!important}.curriculum-controls{padding:16px;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.search-control{position:relative;flex:1;min-width:200px;max-width:400px}.search-input{width:100%;padding:10px 40px 10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .2s,box-shadow .2s}.search-input:focus{outline:none;border-color:#2196f3;box-shadow:0 0 0 3px #2196f31a}.clear-search{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;color:#666;cursor:pointer;padding:4px;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:14px;transition:background-color .2s}.clear-search:hover{background:#f0f0f0}.filter-controls{display:flex;gap:8px;flex-wrap:wrap}.year-level-filter,.element-type-filter{padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;background:white;min-width:140px}.year-level-filter:focus,.element-type-filter:focus{outline:none;border-color:#2196f3}.curriculum-tree-container{max-height:1200px;overflow-y:auto;overflow-x:hidden;background:white}.curriculum-tree-container::-webkit-scrollbar{width:8px}.curriculum-tree-container::-webkit-scrollbar-track{background:#f1f1f1}.curriculum-tree-container::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.curriculum-tree-container::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.curriculum-tree-level{position:relative}.curriculum-tree-level.level-1{margin-left:20px}.curriculum-tree-level.level-2{margin-left:40px}.curriculum-tree-level.level-3{margin-left:60px}.curriculum-tree-node{position:relative;margin:2px 0}.node-header{display:flex;align-items:center;padding:8px 12px;margin:1px 0;border-radius:6px;transition:all .2s ease;cursor:default;position:relative}.node-header:hover{background:#f8f9fa}.node-header.selectable{cursor:pointer}.node-header.selectable:hover{background:#e3f2fd;box-shadow:0 1px 3px #0000001a}.node-header.selected{background:#bbdefb;border:1px solid #2196F3;box-shadow:0 2px 4px #2196f333}.curriculum-tree-node.learning_area .node-header{background:linear-gradient(135deg,#e8f5e8 0%,#f0f8f0 100%);border-left:4px solid #4caf50;font-weight:600}.curriculum-tree-node.learning_area .node-header.selected{background:linear-gradient(135deg,#c8e6c9 0%,#dcedc8 100%);border-left:4px solid #388e3c}.curriculum-tree-node.strand .node-header{background:linear-gradient(135deg,#fff3e0 0%,#fef9e7 100%);border-left:4px solid #ff9800;font-weight:500}.curriculum-tree-node.strand .node-header.selected{background:linear-gradient(135deg,#ffe0b2 0%,#ffecb3 100%);border-left:4px solid #f57c00}.curriculum-tree-node.content_descriptor .node-header{background:linear-gradient(135deg,#f3e5f5 0%,#fce4ec 100%);border-left:4px solid #9c27b0}.curriculum-tree-node.content_descriptor .node-header.selected{background:linear-gradient(135deg,#e1bee7 0%,#f8bbd9 100%);border-left:4px solid #7b1fa2}.expand-toggle{background:none;border:none;color:#666;cursor:pointer;padding:4px;margin-right:8px;border-radius:3px;font-size:12px;line-height:1;transition:all .2s ease;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.expand-toggle:hover{background:#e0e0e0;color:#333}.expand-toggle.expanded{transform:rotate(0)}.expand-toggle.collapsed{transform:rotate(-90deg)}.element-icon{font-size:16px;margin-right:8px;display:flex;align-items:center;justify-content:center;width:20px;height:20px}.node-content{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.node-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.element-name{font-size:14px;color:#333;font-weight:500;word-break:break-word;line-height:1.3}.element-code{font-size:12px;color:#666;font-family:Monaco,Menlo,Ubuntu Mono,monospace;background:rgba(0,0,0,.05);padding:2px 6px;border-radius:3px}.child-count{font-size:11px;color:#666;background:#f0f0f0;padding:2px 6px;border-radius:10px;white-space:nowrap}.year-levels{font-size:11px;color:#666;font-style:italic;background:#e3f2fd;padding:2px 6px;border-radius:3px;white-space:nowrap}.selection-indicator{margin-left:8px;width:20px;height:20px;border:2px solid #ddd;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;transition:all .2s ease}.selection-indicator.selected{background:#2196F3;border-color:#2196f3;color:#fff}.node-children{position:relative;margin-top:4px}.node-children:before{content:"";position:absolute;left:-8px;top:0;bottom:0;width:1px;background:#ddd}.selection-summary{padding:16px;background:#f8f9fa;border-top:1px solid #e9ecef}.selection-summary h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#333}.selected-items{display:flex;flex-direction:column;gap:8px;max-height:200px;overflow-y:auto}.selected-item{display:flex;align-items:center;gap:8px;padding:8px 12px;background:white;border:1px solid #ddd;border-radius:6px;transition:all .2s ease}.selected-item:hover{box-shadow:0 2px 4px #0000001a}.selected-item.learning_area{border-left:4px solid #4caf50}.selected-item.strand{border-left:4px solid #ff9800}.selected-item.content_descriptor{border-left:4px solid #9c27b0}.remove-selection{margin-left:auto;background:#f44336;color:#fff;border:none;border-radius:50%;width:20px;height:20px;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.remove-selection:hover{background:#d32f2f}.no-results{text-align:center;padding:40px 20px;color:#666;font-style:italic}@media (max-width: 768px){.curriculum-controls{flex-direction:column;align-items:stretch}.search-control{max-width:none}.filter-controls{justify-content:stretch}.year-level-filter,.element-type-filter{flex:1;min-width:0}.curriculum-tree-container{max-height:800px}.node-header{padding:12px 8px}.element-name{font-size:13px}.selected-items{max-height:150px}}@media (max-width: 480px){.curriculum-tree-level.level-1{margin-left:16px}.curriculum-tree-level.level-2{margin-left:32px}.curriculum-tree-level.level-3{margin-left:48px}.node-title{flex-direction:column;align-items:flex-start;gap:4px}.element-code,.child-count,.year-levels{font-size:10px}}@media (prefers-reduced-motion: reduce){.node-header,.expand-toggle,.selection-indicator,.selected-item{transition:none}.loading-spinner{animation:none}}.curriculum-tree-node:focus-within .node-header{outline:2px solid #2196F3;outline-offset:2px}@media (prefers-contrast: high){.node-header{border:2px solid transparent}.node-header.selected{border-color:#000}.curriculum-tree-node.learning_area .node-header,.curriculum-tree-node.strand .node-header,.curriculum-tree-node.content_descriptor .node-header{background:white;border-left-width:6px}}.curriculum-tree-node{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.node-children{animation:slideDown .2s ease-out;transform-origin:top}@keyframes slideDown{0%{opacity:0;transform:scaleY(.8)}to{opacity:1;transform:scaleY(1)}}.selection-indicator{transform:scale(1);transition:all .2s cubic-bezier(.4,0,.2,1)}.selection-indicator.selected{animation:selectionPulse .3s ease-out}@keyframes selectionPulse{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.curriculum-linker-enhanced{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#ffffff;border-radius:12px;box-shadow:0 4px 12px #0000001a;overflow:hidden;max-width:1200px;margin:0 auto}.curriculum-linker-header{padding:20px 24px;background:linear-gradient(135deg,#2563eb 0%,#1e40af 100%);color:#fff;position:relative}.curriculum-linker-header h3{margin:0 0 8px;font-size:24px;font-weight:600;color:#fff}.item-info{margin:0;opacity:.95;font-size:14px;color:#fffffff2}.unsaved-changes-warning{position:absolute;top:20px;right:24px;background:#f59e0b;color:#1f2937;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:.9}50%{opacity:1}}.version-selector-section{padding:20px 24px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.version-selector-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.version-selector-header label{font-weight:600;color:#1f2937;font-size:14px}.advanced-options-toggle{background:white;border:1px solid #d1d5db;padding:6px 12px;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s;color:#374151;font-weight:500}.advanced-options-toggle:hover{background:#f3f4f6;border-color:#9ca3af;color:#1f2937}.version-select{width:100%;padding:12px 16px;border:2px solid #d1d5db;border-radius:8px;font-size:14px;background:white;color:#1f2937;transition:border-color .2s,box-shadow .2s}.version-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.version-warning{margin-top:12px;padding:12px;background:#fef3c7;border:1px solid #f59e0b;border-radius:6px;color:#92400e;font-size:13px;font-weight:500}.advanced-options{margin-top:16px;padding:16px;background:white;border:1px solid #e5e7eb;border-radius:8px}.option-group{margin-bottom:12px}.option-group:last-child{margin-bottom:0}.option-group label{display:block;font-weight:600;color:#1f2937;font-size:13px;margin-bottom:8px}.selection-types{display:flex;gap:8px;flex-wrap:wrap}.selection-type-badge{padding:4px 8px;background:#dbeafe;color:#1d4ed8;border-radius:4px;font-size:12px;font-weight:600;text-transform:capitalize}.quick-actions{padding:16px 24px;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.quick-action-button{padding:8px 16px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s}.quick-action-button:hover{background:#f3f4f6;border-color:#9ca3af;color:#1f2937}.quick-action-button:disabled{opacity:.5;cursor:not-allowed}.quick-action-button.clear:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626}.selection-stats{margin-left:auto;font-size:13px;color:#374151;display:flex;align-items:center;gap:8px;font-weight:500}.max-reached{color:#dc2626;font-weight:600}.curriculum-display-section{border-bottom:1px solid #e9ecef}.no-version-selected{padding:40px 24px;text-align:center;color:#6b7280;background:#f9fafb;font-weight:500}.selection-summary-detailed{padding:20px 24px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.selection-summary-detailed h4{margin:0 0 16px;font-size:16px;font-weight:600;color:#1f2937}.stats-overview{display:flex;gap:16px;margin-bottom:16px;flex-wrap:wrap}.stat-item{display:flex;flex-direction:column;gap:4px;padding:12px 16px;background:white;border:1px solid #e5e7eb;border-radius:8px;min-width:120px}.stat-label{font-size:12px;color:#6b7280;font-weight:500}.stat-value{font-size:18px;font-weight:600;color:#1f2937}.selection-quality{padding:12px;border-radius:6px;font-size:13px;font-weight:500}.quality-good{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.quality-moderate{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.quality-high{color:#dc2626;background:#fef2f2;border:1px solid #fca5a5}.curriculum-linker-actions{padding:20px 24px;background:white;display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.save-button{padding:12px 24px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #2563eb33}.save-button:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 8px #2563eb4d}.save-button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none;background:#9ca3af}.cancel-button{padding:12px 24px;background:white;color:#374151;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.cancel-button:hover{background:#f9fafb;border-color:#9ca3af;color:#1f2937}.curriculum-linker-help{padding:16px 24px;background:#f9fafb;border-top:1px solid #e5e7eb}.curriculum-linker-help details summary{cursor:pointer;font-weight:500;color:#2563eb;font-size:14px;padding:8px 0}.curriculum-linker-help details summary:hover{color:#1d4ed8}.help-content{margin-top:12px;padding:16px;background:white;border:1px solid #e5e7eb;border-radius:6px;font-size:13px;line-height:1.5;color:#374151}.help-content p{margin:0 0 12px}.help-content ul{margin:0;padding-left:20px}.help-content li{margin-bottom:6px}.curriculum-linker-loading,.curriculum-linker-error{padding:40px 24px;text-align:center;background:#f9fafb}.curriculum-linker-error{color:#dc2626}.curriculum-linker-loading{color:#6b7280}.curriculum-linker-error .error-icon{font-size:32px;margin-bottom:16px}@media (max-width: 768px){.curriculum-linker-enhanced{margin:0;border-radius:0}.curriculum-linker-header{padding:16px 20px}.curriculum-linker-header h3{font-size:20px}.unsaved-changes-warning{position:static;margin-top:12px;text-align:center}.version-selector-section,.quick-actions,.selection-summary-detailed,.curriculum-linker-actions,.curriculum-linker-help{padding:16px 20px}.version-selector-header{flex-direction:column;align-items:flex-start;gap:8px}.quick-actions{flex-direction:column;align-items:stretch}.selection-stats{margin-left:0;justify-content:center}.stats-overview{flex-direction:column;gap:8px}.stat-item{min-width:0}.curriculum-linker-actions{flex-direction:column-reverse}.save-button,.cancel-button{width:100%;justify-content:center}}@media (max-width: 480px){.curriculum-linker-header,.version-selector-section,.quick-actions,.selection-summary-detailed,.curriculum-linker-actions,.curriculum-linker-help{padding:12px 16px}.selection-types{flex-direction:column}.selection-type-badge{text-align:center}}@media (prefers-color-scheme: dark){.curriculum-linker-enhanced{background:#1e1e1e;color:#e0e0e0}.version-selector-section,.quick-actions,.selection-summary-detailed,.curriculum-linker-help{background:#2a2a2a;border-color:#404040}.version-select,.quick-action-button,.stat-item,.help-content{background:#333;border-color:#404040;color:#e0e0e0}.version-warning{background:#4a3c1d;border-color:#5d4e2a;color:#ffd54f}.no-version-selected{background:#2a2a2a;color:#aaa}}@media (prefers-reduced-motion: reduce){.save-button,.quick-action-button,.advanced-options-toggle,.cancel-button{transition:none}.save-button:hover:not(:disabled){transform:none}.unsaved-changes-warning{animation:none}}.version-select:focus,.quick-action-button:focus,.advanced-options-toggle:focus,.save-button:focus,.cancel-button:focus{outline:2px solid #2563eb;outline-offset:2px}@media (prefers-contrast: high){.curriculum-linker-enhanced{border:2px solid #000}.version-select,.quick-action-button,.save-button,.cancel-button{border-width:2px}}.modal.curriculum-linker-modal{max-width:1300px!important;width:92%!important;max-height:90vh!important;min-height:75vh!important}.modal.curriculum-linker-modal .curriculum-hierarchy-display,.modal.curriculum-linker-modal .curriculum-tree-container{max-height:65vh!important;min-height:500px!important}.curriculum-content{display:inline;line-height:1.5;max-width:none;word-wrap:break-word;overflow-wrap:break-word}.curriculum-content.latex-enabled{line-height:1.6;max-width:none}.curriculum-content .text-segment{display:inline}.math-loading{font-style:italic;color:#666;background:#f5f5f5;padding:2px 6px;border-radius:3px;font-size:.9em}.curriculum-content .katex{font-size:1em!important}.curriculum-content .katex-display{margin:.5em 0!important;text-align:left!important}.curriculum-content .katex-html{display:inline-block;vertical-align:middle}.curriculum-content .katex-error{color:#d32f2f!important;border-bottom:1px dashed #d32f2f;background:rgba(211,47,47,.1);padding:1px 3px;border-radius:2px}.node-content .curriculum-content{max-width:100%;word-wrap:break-word;overflow-wrap:break-word;white-space:pre-wrap;-webkit-hyphens:auto;hyphens:auto;line-height:1.4}.element-name{max-width:none!important;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;line-height:1.4}@media (max-width: 768px){.curriculum-content .katex{font-size:.9em!important}.curriculum-content .katex-display{margin:.3em 0!important}.node-content .curriculum-content{white-space:pre-wrap;word-break:break-word}}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}._errorContainer_2i8y8_2{padding:20px;border:1px solid #dc2626;margin:10px;background-color:#fef2f2;border-radius:8px;color:#991b1b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}._errorContainer_2i8y8_2 h2{color:#991b1b;margin-top:0;margin-bottom:12px;font-size:1.25rem;font-weight:600}._errorContainer_2i8y8_2 p{margin-bottom:16px;line-height:1.5;color:#7f1d1d}._errorDetails_2i8y8_26{margin-top:20px;border:1px solid #f87171;border-radius:6px;background-color:#fff5f5}._errorDetails_2i8y8_26 summary{cursor:pointer;font-weight:600;padding:12px 16px;background-color:#fee2e2;border-radius:6px 6px 0 0;-webkit-user-select:none;user-select:none;color:#991b1b}._errorDetails_2i8y8_26 summary:hover{background-color:#fecaca}._errorDetails_2i8y8_26 summary:focus{outline:2px solid #f87171;outline-offset:2px}._errorDetails_2i8y8_26[open] summary{border-bottom:1px solid #f87171;border-radius:6px 6px 0 0}._errorText_2i8y8_57{padding:16px;border-bottom:1px solid #f87171;font-family:Courier New,Consolas,Monaco,monospace;font-size:.875rem;color:#7f1d1d;background-color:#fff}._errorText_2i8y8_57 strong{color:#991b1b;font-weight:600}._stackTrace_2i8y8_71{padding:16px;background-color:#fff}._stackTrace_2i8y8_71 strong{color:#991b1b;font-weight:600;display:block;margin-bottom:8px}._stackTrace_2i8y8_71 pre{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;padding:12px;font-family:Courier New,Consolas,Monaco,monospace;font-size:.75rem;line-height:1.4;color:#374151;overflow-x:auto;margin:0;white-space:pre-wrap;word-break:break-all}@media (max-width: 768px){._errorContainer_2i8y8_2{margin:5px;padding:16px}._errorText_2i8y8_57,._stackTrace_2i8y8_71{padding:12px}._stackTrace_2i8y8_71 pre{font-size:.7rem;padding:8px}}._rendererLayout_cg8ic_2{display:flex;flex-direction:column;gap:1rem;padding:1rem;border:1px solid #e0e0e0;border-radius:4px}._subTypeSelector_cg8ic_11{display:flex;gap:.5rem;margin-bottom:1rem}._subTypeButton_cg8ic_17{padding:.4rem .8rem;border:1px solid #ccc;background-color:#f9f9f9;cursor:pointer;border-radius:4px}._subTypeButton_cg8ic_17._active_cg8ic_25{background-color:#e0e0f0;font-weight:700;border-color:#a0a0d0}._dataInputArea_cg8ic_31,._configArea_cg8ic_32,._csvArea_cg8ic_33{display:flex;flex-direction:column;gap:.5rem;padding:.5rem;border:1px solid #f0f0f0;border-radius:4px}._dataInputArea_cg8ic_31 h4,._configArea_cg8ic_32 h4,._csvArea_cg8ic_33 h4{margin-top:0;margin-bottom:.5rem;font-size:1em;font-weight:700}._dataRow_cg8ic_51{display:flex;gap:.5rem;align-items:center}._dataRow_cg8ic_51 input{width:100%;padding:.3rem;border:1px solid #ccc;border-radius:3px;flex-grow:1}._dataRow_cg8ic_51 input:focus{outline:2px solid #007bff;border-color:#007bff}._configItem_cg8ic_70{display:flex;flex-direction:column;gap:.25rem}._configItem_cg8ic_70 label{font-size:.9em;color:#333}._configItem_cg8ic_70 input[type=text],._configItem_cg8ic_70 input[type=color],._configItem_cg8ic_70 input[type=number]{padding:.4rem;border:1px solid #ccc;border-radius:3px;max-width:250px}._csvTextarea_cg8ic_90{width:100%;min-height:80px;padding:.5rem;border:1px solid #ccc;border-radius:3px;font-family:monospace;resize:vertical}._actionButtons_cg8ic_100{display:flex;gap:.5rem;margin-top:.5rem}._actionButtons_cg8ic_100 button{padding:.4rem .8rem;border:1px solid #007bff;background-color:#007bff;color:#fff;cursor:pointer;border-radius:4px}._actionButtons_cg8ic_100 button:hover{background-color:#0056b3}._actionButtons_cg8ic_100 button._secondary_cg8ic_119{background-color:#6c757d;border-color:#6c757d}._actionButtons_cg8ic_100 button._secondary_cg8ic_119:hover{background-color:#545b62}._actionButtons_cg8ic_100 button[disabled]{opacity:.5;cursor:not-allowed}._previewArea_cg8ic_133{margin-top:1rem;padding:1rem;border:1px dashed #ccc;background-color:#f8f9fa;min-height:300px;display:flex;justify-content:center;align-items:center}._validationError_cg8ic_144{color:#d9534f;font-size:.9em;padding:.5rem;border:1px solid #d9534f;border-radius:4px;background-color:#f2dede;margin-top:.5rem}._dataPointLimit_cg8ic_154{font-size:.8em;color:#666;margin-top:5px}.students-classes-page{padding:20px;max-width:1000px;margin:auto}.create-button,.edit-button,.delete-button,.view-button{margin-left:5px}.create-button{background-color:var(--primary-color);color:#fff;padding:10px 15px;border-radius:4px;text-decoration:none}.edit-button{background-color:#ffc107;color:#212529}.delete-button{background-color:#dc3545;color:#fff}.view-button{background-color:#17a2b8;color:#fff}.loading-message,.error-message,.empty-list-message{text-align:center;padding:20px;font-size:1.1em}.error-message{color:red;background-color:#ffebee;border:1px solid red}.empty-list-message{color:var(--secondary-color)}.data-table{width:100%;border-collapse:collapse;margin-top:20px;box-shadow:0 2px 8px #0000000d}.data-table th,.data-table td{border:1px solid #ddd;padding:12px 15px;text-align:left;vertical-align:middle}.data-table thead th{background-color:#f8f9fa;color:var(--primary-color);font-weight:700}.data-table tbody tr:nth-child(2n){background-color:#f9f9f9}.data-table tbody tr:hover{background-color:#f1f1f1}.actions-cell{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions-cell .button{padding:6px 10px;font-size:.9em}.student-details-grid,.class-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:20px}.detail-card{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000000d}.detail-card h2{color:var(--primary-color);margin-bottom:15px}.detail-card p{margin-bottom:10px}.detail-card strong{color:#555}.enrollment-list,.student-list{list-style:none;padding:0}.enrollment-list li,.student-list li{padding:8px 0;border-bottom:1px dotted #eee}.enrollment-list li:last-child,.student-list li:last-child{border-bottom:none}.manage-students-section h3{margin-top:20px;margin-bottom:10px}.manage-students-section .form-group{max-width:400px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-header h3{margin:0}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:white;border-radius:8px;width:90%;max-width:600px;max-height:80vh;overflow-y:auto;box-shadow:0 4px 20px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e9ecef}.modal-header h3{margin:0;color:var(--primary-color)}.modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#6c757d;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#495057}.modal-body{padding:20px}.modal-footer{padding:20px;border-top:1px solid #e9ecef;display:flex;justify-content:flex-end;gap:10px}.import-instructions{margin-bottom:20px}.import-instructions h4{margin-bottom:10px;color:var(--primary-color)}.import-instructions ul{margin:10px 0;padding-left:20px}.import-instructions li{margin-bottom:5px}.import-instructions em{color:#6c757d;font-size:.9em}.import-results{margin-top:20px;padding:15px;background:#f8f9fa;border-radius:4px}.import-results h4,.import-results h5{margin-top:0;margin-bottom:10px;color:var(--primary-color)}.results-summary p{margin:5px 0}.error-list{margin-top:15px;padding:10px;background:#ffebee;border:1px solid #f44336;border-radius:4px}.error-list ul{margin:0;padding-left:20px}.error-list li{color:#c62828;margin-bottom:3px}.form-page-container{max-width:800px;margin:2rem auto;padding:2rem;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #0000001a}.data-form .form-group{margin-bottom:1.5rem}.data-form label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.data-form input[type=text],.data-form input[type=email],.data-form input[type=password],.data-form input[type=date],.data-form input[type=number],.data-form textarea,.data-form select{width:100%;padding:.75rem;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:1rem}.data-form textarea{min-height:100px;resize:vertical}.data-form .form-group-checkbox{display:flex;align-items:center}.data-form .form-group-checkbox input[type=checkbox]{width:auto;margin-right:.75rem}.form-actions{margin-top:2rem;display:flex;gap:1rem;justify-content:flex-start}.button-primary,.button-secondary{padding:.75rem 1.5rem;border:none;border-radius:4px;font-size:1rem;cursor:pointer;text-decoration:none;display:inline-block;text-align:center}.button-primary{background-color:#007bff;color:#fff}.button-primary:hover{background-color:#0056b3}.button-secondary{background-color:#6c757d;color:#fff}.button-secondary:hover{background-color:#545b62}.error-message{color:#d9534f;background-color:#f8d7da;border:1px solid #f5c6cb;padding:.75rem;border-radius:4px;margin-bottom:1rem}.success-message{color:#28a745;background-color:#d4edda;border:1px solid #c3e6cb;padding:.75rem;border-radius:4px;margin-bottom:1rem}.data-form input:disabled,.data-form textarea:disabled,.data-form select:disabled,.button-primary:disabled,.button-secondary:disabled{background-color:#e9ecef;opacity:.7;cursor:not-allowed}.results-page{padding:20px;max-width:1000px;margin:auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:15px;border-bottom:1px solid #eee}.loading-message,.error-message,.success-message,.info-message{text-align:center;padding:15px;margin:15px 0;border-radius:4px;font-size:1.05em}.success-message{color:#155724;background-color:#d4edda;border:1px solid #c3e6cb}.info-message{color:#0c5460;background-color:#d1ecf1;border:1px solid #bee5eb}.results-form .selection-row{display:flex;gap:20px;margin-bottom:20px;flex-wrap:wrap}.results-form .selection-row .form-group{flex:1;min-width:250px}.results-form label{font-weight:700;display:block;margin-bottom:5px}.results-form select,.results-form input[type=text],.results-form textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.instance-actions{margin-top:10px;padding:15px;background-color:#f8f9fa;border-radius:6px;border:1px solid #dee2e6}.instance-actions .info-message-small{margin:0 0 15px;font-size:.95em}.results-entry-grid{margin-top:20px}.results-entry-grid h2{margin-bottom:15px;color:var(--primary-color)}.student-selector-container{margin:20px 0;padding:15px;background-color:#f5f8fa;border-radius:8px;border:1px solid #e1e8ed}.student-selector-container h3{margin-top:0;margin-bottom:15px;color:var(--secondary-color)}.student-search-container{position:relative;margin-bottom:15px}.student-search-input{width:100%;padding:10px 15px;border:1px solid #ccc;border-radius:4px;font-size:16px;box-shadow:0 1px 3px #0000001a}.student-dropdown{max-height:300px;overflow-y:auto;border:1px solid #ddd;border-radius:4px;background-color:#fff;box-shadow:0 2px 5px #00000026}.student-option{padding:10px 15px;cursor:pointer;border-bottom:1px solid #eee}.student-option:hover{background-color:#f0f7ff}.student-option.selected{background-color:#e3f2fd;font-weight:500}.no-students-found{padding:15px;text-align:center;color:#666;font-style:italic}.selected-student-info{margin-top:10px;padding:10px;background-color:#e8f5e9;border-radius:4px;border-left:4px solid var(--primary-color)}.student-results-section{margin-bottom:30px;padding:20px;border:1px solid #e0e0e0;border-radius:6px;background-color:#f9f9f9}.student-results-section h3{margin-top:0;margin-bottom:15px;color:var(--secondary-color);border-bottom:1px solid #eee;padding-bottom:10px}.section-entry{margin-bottom:20px;padding-left:10px}.section-entry h4{font-style:italic;color:#555;margin-bottom:10px}.question-entry{margin-bottom:15px}.question-entry label{font-weight:400;color:#333}.question-entry .option-input{display:flex;align-items:center;margin-top:5px}.question-entry .option-input input[type=radio],.question-entry .option-input input[type=checkbox]{width:auto;margin-right:8px}.question-entry .option-input label{font-weight:400;margin-bottom:0}.results-submit-button{width:100%;padding:12px;font-size:1.1em;margin-top:20px;background-color:var(--primary-color);color:#fff}.results-submit-button:disabled{background-color:#ccc}.question-input{margin-top:15px;padding:10px;background-color:#f8f9fa;border-radius:6px;border:1px solid #e9ecef}.question-input.marks-input{padding:8px 12px}.question-input.marks-input .marks-row{display:flex;align-items:center;gap:10px}.question-input label{font-weight:700;color:#495057;margin:0;white-space:nowrap}.question-input .marks-input-field{width:60px;padding:6px 8px;border:1px solid #ced4da;border-radius:4px;font-size:14px;text-align:center}.question-input .max-marks{font-weight:700;color:#6c757d;white-space:nowrap}.question-input .student-answer-section{margin-top:8px}.question-input .answer-details{border:none;background:none}.question-input .answer-summary{cursor:pointer;font-size:12px;color:#6c757d;margin:4px 0;padding:2px 0;border:none;background:none;font-weight:400}.question-input .answer-summary:hover{color:#495057}.question-input .student-answer-textarea{width:100%;padding:6px 8px;border:1px solid #ced4da;border-radius:3px;font-size:13px;resize:vertical;min-height:50px;margin-top:4px}.question-input .marks-comment{margin-top:8px}.question-input .comment-textarea{width:100%;padding:4px 6px;border:1px solid #ced4da;border-radius:3px;font-size:12px;resize:vertical;min-height:24px}.question-input.text-input{margin-top:15px;padding:12px;background-color:#f8f9fa;border-radius:6px;border:1px solid #dee2e6}.question-input.text-input .text-input-label{display:block;font-weight:700;color:#495057;margin-bottom:8px;font-size:14px}.question-input.text-input .text-input-field{width:100%;padding:10px;border:1px solid #ced4da;border-radius:4px;font-size:14px;line-height:1.4;resize:vertical;min-height:80px;background-color:#fff;font-family:inherit}.question-input.text-input .text-input-field:focus{outline:none;border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40}.question-input.text-input-preview{margin-top:20px;padding:0}.question-input.text-input-preview .answer-space-container{border:2px solid #6c757d;border-radius:8px;background-color:#fff;padding:0;overflow:hidden}.question-input.text-input-preview .answer-space-header{background-color:#f8f9fa;padding:8px 12px;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;align-items:center}.question-input.text-input-preview .answer-label{font-weight:700;color:#495057;font-size:14px}.question-input.text-input-preview .lines-hint{font-size:12px;color:#6c757d;font-style:italic}.question-input.text-input-preview .answer-space{padding:15px;min-height:200px;position:relative}.question-input.text-input-preview .writing-line{border-bottom:1px solid #dee2e6;height:24px;margin-bottom:8px;width:100%}.question-input.text-input-preview .writing-line:last-child{margin-bottom:0}.question-input.text-input-preview .extra-space{height:40px;border-bottom:1px solid #dee2e6;margin-top:10px}.results-message{text-align:center;padding:40px 20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.results-message p{margin:10px 0;color:#6c757d}.results-view-page .results-filters{background-color:#fff;padding:20px;border-radius:8px;margin-bottom:25px;box-shadow:0 2px 4px #0000000d}.results-view-page .results-filters h3{margin-top:0;margin-bottom:15px}.results-view-page .filter-options{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.results-view-page .filter-options select{min-width:200px;padding:10px;border-radius:4px;border:1px solid #ccc}.results-view-page .filter-button{padding:10px 15px;background-color:var(--primary-color);color:#fff}.results-display-area{margin-top:20px}.results-display-area h2{margin-bottom:15px}.result-group{background-color:#fff;padding:20px;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 4px #0000000d}.result-group h4{margin-top:0;margin-bottom:15px;color:var(--primary-color)}.result-item{padding:8px 0;border-bottom:1px dotted #eee}.result-item:last-child{border-bottom:none}.result-item p{margin:5px 0}.result-item .comment{font-size:.9em;color:#555;padding-left:15px}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.results-header h2{margin:0;color:var(--primary-color)}.view-mode-toggle{display:flex;gap:10px}.toggle-btn{padding:8px 16px;border:1px solid #ddd;background:white;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s ease}.question-options{margin-top:15px}.question-option{display:flex;align-items:flex-start;margin-bottom:8px;padding:8px;background-color:#f8f9fa;border-radius:4px;border:1px solid #e9ecef}.option-label{font-weight:700;color:#495057;margin-right:8px;min-width:20px}.option-content{flex:1}.option-text{margin-bottom:8px}.correct-indicator{color:#28a745;font-weight:700;margin-left:8px}.toggle-btn:hover{background:#f8f9fa}.toggle-btn.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.results-table-container{background:white;border-radius:8px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.results-table-header{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#f8f9fa;border-bottom:1px solid #e9ecef}.results-table-header h3{margin:0;color:#495057}.results-table-actions{display:flex;gap:10px}.export-button{background:#007bff;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.export-button:hover{background:#0056b3}.results-table-wrapper{max-height:70vh;overflow-y:auto}.results-table{width:100%;border-collapse:collapse;font-size:14px}.results-table th,.results-table td{padding:12px 8px;text-align:center;border-bottom:1px solid #e9ecef}.results-table th{background:#f8f9fa;font-weight:600;color:#495057;position:sticky;top:0;z-index:10}.student-column{text-align:left;min-width:200px;position:sticky;left:0;background:#f8f9fa;z-index:20}.question-column{min-width:80px;max-width:120px}.results-table-row:hover{background:#f8f9fa}.student-cell{text-align:left;background:white;position:sticky;left:0;z-index:15}.student-info{display:flex;flex-direction:column;gap:2px}.student-name{font-weight:500;color:#495057}.student-id{font-size:12px;color:#6c757d}.question-cell{background:white}.result-input{width:100%;padding:6px 8px;border:1px solid #ced4da;border-radius:4px;text-align:center;font-size:14px}.result-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.result-value{font-weight:500;color:#495057}.total-cell,.percentage-cell,.grade-cell{font-weight:600;background:#e9ecef}.total-cell{color:#28a745}.percentage-cell{color:#007bff}.grade-cell{color:#6f42c1}@media (max-width: 1200px){.results-table th,.results-table td{padding:8px 4px;font-size:12px}.student-column{min-width:150px}.question-column{min-width:60px;max-width:80px}}.results-table-loading{text-align:center;padding:40px;color:#6c757d}.report-page{padding:20px;max-width:900px;margin:auto}.page-header{margin-bottom:25px;padding-bottom:15px;border-bottom:1px solid #eee}.page-header h1{margin:0;color:var(--primary-color)}.report-section{background-color:#fff;padding:20px;border-radius:8px;margin-bottom:30px;box-shadow:0 2px 4px #0000000d}.report-section h2{margin-top:0;margin-bottom:20px;color:var(--primary-color);font-size:1.4em;border-bottom:1px solid #f0f0f0;padding-bottom:10px}.loading-message,.error-message{text-align:center;padding:15px;margin:10px 0;border-radius:4px}.error-message{color:#721c24;background-color:#f8d7da;border:1px solid #f5c6cb}.loading-message{color:#0c5460;background-color:#d1ecf1;border:1px solid #bee5eb}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.stat-item{background-color:#f9f9f9;padding:15px;border-radius:6px;border:1px solid #eee;text-align:center}.stat-item strong{display:block;margin-bottom:8px;color:var(--secondary-color);font-size:.95em}.stat-item span{font-size:1.5em;font-weight:700;color:var(--primary-color)}.filter-controls{display:flex;gap:15px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.filter-controls select{padding:10px;border-radius:4px;border:1px solid #ccc;min-width:200px}.filter-controls .button{padding:10px 15px}.class-average-display{margin-top:15px;padding:15px;background-color:#f9f9f9;border-radius:6px;border:1px solid #eee}.class-average-display h3{margin-top:0;margin-bottom:10px;color:var(--secondary-color)}.class-average-display p{font-size:1.1em;margin-bottom:10px}.class-average-display p strong{color:var(--primary-color)}.class-average-display ul{list-style:disc;padding-left:25px}.class-average-display ul li{margin-bottom:5px;font-size:1em}.latex-test-page{max-width:1400px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f8fafc;min-height:100vh}.page-header{text-align:center;margin-bottom:40px;padding:30px;background:white;border-radius:12px;box-shadow:0 2px 8px #0000001a}.page-header h1{color:#1e293b;margin-bottom:10px;font-size:2.5rem}.page-description{color:#64748b;font-size:1.1rem;margin-bottom:20px}.controls{display:flex;justify-content:center;gap:20px;margin-top:20px;flex-wrap:wrap}.debug-toggle{display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer}.debug-toggle input{transform:scale(1.2)}.custom-input-section{background:white;border-radius:12px;padding:30px;margin-bottom:30px;box-shadow:0 2px 8px #0000001a}.custom-input-section h2{color:#1e293b;margin-bottom:20px;font-size:1.5rem}.input-group{display:flex;gap:10px;margin-bottom:20px}.custom-textarea{flex:1;padding:12px;border:2px solid #e2e8f0;border-radius:8px;font-family:Monaco,Menlo,monospace;font-size:14px;resize:vertical;min-height:80px;transition:border-color .2s}.custom-textarea:focus{outline:none;border-color:#3b82f6}.clear-button{padding:12px 20px;background:#ef4444;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.clear-button:hover:not(:disabled){background:#dc2626}.clear-button:disabled{background:#9ca3af;cursor:not-allowed}.custom-result{background:#f1f5f9;border-radius:8px;padding:20px;border-left:4px solid #3b82f6}.renderer-comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:15px 0}.renderer-comparison.single-renderer{grid-template-columns:1fr}.renderer-section{padding:15px;border-radius:8px;border:2px solid transparent;transition:border-color .2s}.renderer-section.old-renderer{background:#fef2f2;border-color:#fca5a5}.renderer-section.new-renderer{background:#f0fdf4;border-color:#86efac}.renderer-section h4{margin:0 0 10px;color:#374151;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:8px}.renderer-section.old-renderer h4{color:#dc2626}.renderer-section.new-renderer h4{color:#16a34a}.result-container{margin-bottom:15px}.result-input{padding:15px;background:white;border-radius:6px;border:1px solid #e2e8f0;margin-bottom:15px}.result-input code{background:#f8fafc;padding:4px 8px;border-radius:4px;font-family:monospace;font-size:13px}.result-output,.rendered-output{background:white;padding:12px;border-radius:6px;border:1px solid #e2e8f0;min-height:40px;font-size:14px;line-height:1.6}.test-cases-section{margin-bottom:30px}.test-cases-section h2{color:#1e293b;margin-bottom:20px;font-size:1.5rem}.legend{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:25px;padding:15px;background:white;border-radius:8px;border:1px solid #e2e8f0}.legend-item{font-size:14px;font-weight:500;padding:5px 10px;border-radius:4px}.legend-item--failing{background:#fee2e2;color:#dc2626}.legend-item--partial{background:#fef3c7;color:#d97706}.legend-item--working{background:#dcfce7;color:#16a34a}.legend-item--prototype{background:#dbeafe;color:#2563eb}.test-cases-grid{display:grid;gap:25px}.test-case{background:white;border-radius:12px;padding:25px;box-shadow:0 2px 8px #0000001a;border-left:4px solid #e2e8f0;transition:transform .2s,box-shadow .2s}.test-case:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.test-case--failing{border-left-color:#dc2626}.test-case--partial{border-left-color:#d97706}.test-case--working{border-left-color:#16a34a}.test-case--prototype{border-left-color:#2563eb}.test-case__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.test-case__header h3{color:#1e293b;margin:0;font-size:1.2rem}.status-badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge--failing{background:#fee2e2;color:#dc2626}.status-badge--partial{background:#fef3c7;color:#d97706}.status-badge--working{background:#dcfce7;color:#16a34a}.status-badge--prototype{background:#dbeafe;color:#2563eb}.test-case__description{color:#64748b;margin-bottom:20px;font-style:italic}.test-case__content{margin-bottom:20px}.input-section{background:#f8fafc;padding:15px;border-radius:8px;border:1px solid #e2e8f0;margin-bottom:15px}.input-section h4{margin:0 0 10px;color:#374151;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.raw-input{background:#1e293b;color:#e2e8f0;padding:12px;border-radius:6px;font-family:Monaco,Menlo,monospace;font-size:13px;line-height:1.4;word-break:break-all;display:block;width:100%;box-sizing:border-box}.debug-info{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:15px;margin-top:15px}.debug-info h4{color:#1e293b;margin:0 0 10px;font-size:14px}.debug-stats{display:flex;gap:15px;margin-bottom:15px;font-size:13px;flex-wrap:wrap}.debug-stats span{background:white;padding:4px 8px;border-radius:4px;border:1px solid #e2e8f0;font-weight:500}.matches-section{margin-bottom:15px}.matches-section h5{color:#374151;margin:0 0 8px;font-size:13px;font-weight:600}.match-item{background:white;padding:8px 12px;border-radius:4px;border:1px solid #e2e8f0;margin-bottom:5px;font-size:12px;font-family:monospace}.match-item strong{color:#1e293b}.match-item code{background:#f1f5f9;padding:2px 4px;border-radius:2px;margin:0 4px}.match-content{color:#059669;font-weight:500;background:#ecfdf5;padding:2px 4px;border-radius:2px;margin-left:4px}.no-matches{background:#fef2f2;color:#dc2626;padding:10px;border-radius:4px;border:1px solid #fecaca;font-weight:500;text-align:center}.technical-notes{background:white;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a}.technical-notes h2{color:#1e293b;margin-bottom:20px;font-size:1.5rem}.notes-content h3{color:#374151;margin:20px 0 10px;font-size:1.1rem}.notes-content ul{color:#4b5563;line-height:1.6}.notes-content li{margin-bottom:8px}.notes-content code{background:#f1f5f9;color:#1e293b;padding:2px 6px;border-radius:4px;font-family:Monaco,Menlo,monospace;font-size:13px}@media (max-width: 768px){.latex-test-page{padding:15px}.renderer-comparison{grid-template-columns:1fr;gap:15px}.legend{flex-direction:column;gap:8px}.input-group{flex-direction:column}.clear-button{align-self:flex-start}.controls{flex-direction:column;gap:10px}.debug-stats{flex-direction:column;gap:8px}}@media print{.latex-test-page{background:white;color:#000}.test-case{box-shadow:none;border:1px solid #ccc;page-break-inside:avoid;margin-bottom:20px}.debug-info,.controls,.custom-input-section{display:none}}.performance-indicator{position:relative;display:inline-block}.performance-indicator:after{content:"";position:absolute;top:-2px;right:-2px;width:8px;height:8px;border-radius:50%;background:#10b981;border:2px solid white;box-shadow:0 0 0 1px #10b981}.performance-indicator.slow:after{background:#f59e0b;box-shadow:0 0 0 1px #f59e0b}.performance-indicator.error:after{background:#ef4444;box-shadow:0 0 0 1px #ef4444}.latex-test-renderer{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.6}.latex-test-renderer.inline{display:inline}.latex-test-renderer.block{display:block}.latex-content{margin-bottom:15px}.latex-loading{color:#6b7280;font-style:italic;background:#f3f4f6;padding:2px 6px;border-radius:3px;font-size:.9em}.latex-error-segment{background:#fef2f2;color:#dc2626;padding:2px 6px;border-radius:3px;border:1px solid #fecaca;cursor:help}.latex-unknown-segment{background:#fef3c7;color:#d97706;padding:2px 6px;border-radius:3px;border:1px solid #fde68a}.debug-source{font-size:10px;color:#6b7280;background:#f3f4f6;padding:1px 4px;border-radius:2px;margin-left:4px;cursor:help;font-family:Monaco,Menlo,monospace}.latex-debug-info{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:15px;margin-top:15px;font-size:14px}.latex-debug-info h4{margin:0 0 12px;color:#1e293b;font-size:16px;border-bottom:1px solid #e2e8f0;padding-bottom:8px}.latex-debug-info h5{margin:12px 0 8px;color:#374151;font-size:14px;font-weight:600}.debug-stats{display:flex;gap:20px;margin-bottom:15px;flex-wrap:wrap}.stat-item{background:white;padding:8px 12px;border-radius:6px;border:1px solid #e2e8f0;font-size:13px}.stat-item strong{color:#374151}.debug-metrics{background:white;padding:12px;border-radius:6px;border:1px solid #e2e8f0;margin-bottom:15px}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:8px;font-size:13px;font-family:Monaco,Menlo,monospace}.metrics-grid>div{background:#f8fafc;padding:6px 10px;border-radius:4px;border:1px solid #f1f5f9}.debug-segments{background:white;padding:12px;border-radius:6px;border:1px solid #e2e8f0}.segment-detail{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:8px 10px;margin-bottom:6px;font-size:13px;font-family:Monaco,Menlo,monospace}.segment-detail:last-child{margin-bottom:0}.segment-detail--text{border-left:3px solid #6b7280}.segment-detail--inline{border-left:3px solid #3b82f6}.segment-detail--display{border-left:3px solid #8b5cf6}.segment-type{font-weight:600;color:#374151;margin-left:8px;padding:2px 6px;background:#e2e8f0;border-radius:3px;font-size:11px}.segment-source{color:#059669;margin-left:8px;font-size:11px;background:#ecfdf5;padding:2px 6px;border-radius:3px}.segment-content{display:block;margin-top:6px;padding:6px 8px;background:#1e293b;color:#e2e8f0;border-radius:3px;font-size:12px;word-break:break-all;overflow-wrap:break-word}.segment-debug{margin-top:6px;padding-top:6px;border-top:1px solid #e2e8f0;font-size:11px;color:#6b7280}.segment-debug code{background:#f1f5f9;padding:2px 4px;border-radius:2px;margin-left:4px}.debug-error{background:#fef2f2;color:#dc2626;padding:10px;border-radius:6px;border:1px solid #fecaca;font-weight:500}@media (max-width: 768px){.debug-stats{flex-direction:column;gap:8px}.metrics-grid{grid-template-columns:1fr}.latex-debug-info{padding:12px;font-size:13px}}@keyframes segmentHighlight{0%{background-color:#fef3c7}to{background-color:transparent}}.latex-content .latex-text-segment,.latex-content .katex{animation:segmentHighlight .3s ease-out}@media print{.latex-debug-info,.debug-source{display:none}}.admin-dashboard,.admin-school-settings,.admin-users{max-width:1200px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.admin-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:30px;border-radius:12px;margin-bottom:30px;box-shadow:0 4px 12px #0000001a}.admin-header h1{margin:0 0 10px;font-size:2.5rem;font-weight:600}.admin-header p{margin:0;font-size:1.1rem;opacity:.9}.school-info{margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2)}.school-info h2{margin:0 0 5px;font-size:1.5rem}.school-info p{margin:0;opacity:.8}.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:white;padding:25px;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9;text-align:center;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.stat-card h3{margin:0 0 10px;color:#2c3e50;font-size:1.2rem}.stat-number{font-size:2.5rem;font-weight:700;color:#667eea;margin:10px 0}.stat-link{background:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s ease}.stat-link:hover{background:#5a6fd8}.admin-actions{margin-bottom:30px}.admin-actions h2{color:#2c3e50;margin-bottom:20px;font-size:1.8rem}.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.action-card{background:white;padding:25px;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9;transition:transform .2s ease,box-shadow .2s ease}.action-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.action-card h3{margin:0 0 10px;color:#2c3e50;font-size:1.3rem}.action-card p{color:#6c757d;margin-bottom:20px;line-height:1.5}.action-button{background:#28a745;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:background-color .2s ease;width:100%}.action-button:hover:not(:disabled){background:#218838}.action-button:disabled{background:#6c757d;cursor:not-allowed}.settings-form{background:white;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9}.settings-section{padding:30px;border-bottom:1px solid #e1e5e9}.settings-section h2{margin:0 0 20px;color:#2c3e50;font-size:1.5rem;border-bottom:2px solid #667eea;padding-bottom:10px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#2c3e50;font-weight:500}.form-group select,.form-group input[type=number]{width:100%;padding:12px;border:1px solid #ced4da;border-radius:6px;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.form-group select:focus,.form-group input[type=number]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.checkbox-group label{display:flex;align-items:center;cursor:pointer}.checkbox-group input[type=checkbox]{margin-right:12px;width:18px;height:18px;cursor:pointer}.custom-subjects-list{border:1px solid #e1e5e9;border-radius:6px;padding:15px;background:#f8f9fa}.custom-subject-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:white;border-radius:4px;margin-bottom:8px;border:1px solid #e1e5e9}.custom-subject-item:last-of-type{margin-bottom:12px}.remove-button{background:#dc3545;color:#fff;border:none;width:24px;height:24px;border-radius:50%;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center}.remove-button:hover{background:#c82333}.add-button{background:#667eea;color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s ease}.add-button:hover{background:#5a6fd8}.form-actions{padding:20px 30px;background:#f8f9fa;border-top:1px solid #e1e5e9;border-radius:0 0 12px 12px}.save-button{background:#28a745;color:#fff;border:none;padding:15px 30px;border-radius:6px;cursor:pointer;font-size:1.1rem;font-weight:500;transition:background-color .2s ease}.save-button:hover:not(:disabled){background:#218838}.save-button:disabled{background:#6c757d;cursor:not-allowed}.error-message{background:#f8d7da;color:#721c24;padding:15px;border-radius:6px;border:1px solid #f5c6cb;margin-bottom:20px}.success-message{background:#d4edda;color:#155724;padding:15px;border-radius:6px;border:1px solid #c3e6cb;margin-bottom:20px}.loading-message{text-align:center;padding:40px;color:#6c757d;font-size:1.1rem}.recent-activity{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9}.recent-activity h2{margin:0 0 20px;color:#2c3e50;font-size:1.5rem}.activity-feed{color:#6c757d;line-height:1.6}.users-actions{margin-bottom:30px;display:flex;gap:15px;flex-wrap:wrap}.users-list{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9}.users-list ul{color:#6c757d;line-height:1.8}.users-list li{margin-bottom:8px}@media (max-width: 768px){.admin-dashboard,.admin-school-settings,.admin-users{padding:15px}.admin-header{padding:20px}.admin-header h1{font-size:2rem}.admin-stats,.action-grid{grid-template-columns:1fr}.users-actions{flex-direction:column}.action-button{width:100%}}.admin-school-settings{max-width:1200px;margin:0 auto;padding:20px;background:#f8fafc;min-height:100vh}.settings-form{background:#ffffff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:0;margin-top:20px}.settings-section{padding:24px;border-bottom:1px solid #e2e8f0}.settings-section:last-child{border-bottom:none}.settings-section h2{margin:0 0 20px;color:#1e293b;font-size:1.25rem;font-weight:600;border-bottom:2px solid #e2e8f0;padding-bottom:8px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:16px}.form-group{display:flex;flex-direction:column;margin-bottom:16px}.form-group label{font-weight:500;color:#374151;margin-bottom:6px;font-size:.875rem}.form-group input,.form-group select,.form-group textarea{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:border-color .2s,box-shadow .2s;background:#ffffff}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.help-text{color:#6b7280;font-size:.75rem;margin-top:4px;line-height:1.4}.checkbox-group{flex-direction:row;align-items:center;margin-bottom:12px}.checkbox-group input[type=checkbox]{width:auto;margin-right:8px;margin-bottom:0}.checkbox-group label{margin-bottom:0;font-weight:400;cursor:pointer;display:flex;align-items:center}.custom-subjects-list,.domain-list{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.custom-subject-item,.domain-item{display:flex;align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:4px 8px;font-size:.875rem}.custom-subject-item span,.domain-item span{margin-right:6px;color:#475569}.remove-button-small,.add-button-small,.view-details-button,.create-custom-button,.save-button,.create-set-button,.cancel-button{all:unset;display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;box-sizing:border-box;line-height:1;white-space:nowrap}.remove-button-small{background:#ef4444;color:#fff;padding:2px 6px;font-size:.875rem;border-radius:3px;min-width:20px;min-height:20px}.remove-button-small:hover{background:#dc2626}.add-button-small{background:#10b981;color:#fff;padding:6px 12px;margin-top:8px}.add-button-small:hover{background:#059669}.view-details-button{background:#3b82f6;color:#fff;padding:6px 12px}.view-details-button:hover{background:#2563eb}.create-custom-button{background:#8b5cf6;color:#fff;padding:6px 12px}.create-custom-button:hover{background:#7c3aed}.save-button{background:#059669;color:#fff;padding:12px 24px;font-size:.875rem;font-weight:600}.save-button:hover:not(:disabled){background:#047857}.save-button:disabled{background:#9ca3af;cursor:not-allowed}.create-set-button{background:#059669;color:#fff;padding:8px 16px}.create-set-button:hover:not(:disabled){background:#047857}.create-set-button:disabled{background:#9ca3af;cursor:not-allowed}.cancel-button{background:#6b7280;color:#fff;padding:8px 16px}.cancel-button:hover{background:#4b5563}.select-with-view,.select-with-actions{display:flex;gap:12px;align-items:flex-end}.select-with-view select,.select-with-actions select{flex:1;min-width:0}.action-buttons{display:flex;gap:8px;flex-shrink:0}.logo-upload-area{display:flex;flex-direction:column;gap:12px}.logo-preview{width:100px;height:100px;border:2px dashed #d1d5db;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f9fafb}.logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.color-input-group{display:flex;gap:8px;align-items:center}.color-input-group input[type=color]{width:40px;height:32px;padding:0;border:1px solid #d1d5db;border-radius:4px;cursor:pointer}.color-input-group input[type=text]{flex:1;font-family:monospace;font-size:.875rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:white;border-radius:8px;max-width:800px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 25px #0000004d}.modal-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.modal-header h3{margin:0;color:#1e293b;font-size:1.125rem;font-weight:600}.modal-close{all:unset;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;cursor:pointer;color:#6b7280;font-size:1.25rem;font-weight:700;transition:all .2s}.modal-close:hover{background:#e5e7eb;color:#374151}.modal-body{padding:24px;overflow-y:auto;flex:1}.modal-footer{padding:16px 24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px;background:#f8fafc}.boundary-table,.boundary-editor-table{width:100%;border-collapse:collapse;margin-top:12px}.boundary-table th,.boundary-table td,.boundary-editor-table th,.boundary-editor-table td{padding:8px 12px;text-align:left;border-bottom:1px solid #e2e8f0}.boundary-table th,.boundary-editor-table th{background:#f8fafc;font-weight:600;color:#374151;font-size:.875rem}.boundary-editor-table input{width:100%;padding:4px 8px;border:1px solid #d1d5db;border-radius:3px;font-size:.875rem}.boundary-editor-table input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.subject-list{columns:2;column-gap:20px;list-style:none;padding:0;margin:12px 0}.subject-list li{padding:4px 0;border-bottom:1px solid #f1f5f9;break-inside:avoid;font-size:.875rem;color:#374151}.form-actions{padding:24px;background:#f8fafc;border-top:1px solid #e2e8f0;text-align:right}.success-message{background:#d1fae5;border:1px solid #a7f3d0;color:#065f46;padding:12px 16px;border-radius:6px;margin-bottom:20px;font-size:.875rem}.error-message{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b;padding:12px 16px;border-radius:6px;margin-bottom:20px;font-size:.875rem}.validation-error{color:#dc2626;font-size:.875rem;margin-top:4px;margin-bottom:0;font-weight:500}@media (max-width: 768px){.admin-school-settings{padding:12px}.form-row{grid-template-columns:1fr;gap:16px}.select-with-view,.select-with-actions{flex-direction:column;align-items:stretch}.action-buttons{justify-content:flex-start}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.boundary-table,.boundary-editor-table{font-size:.75rem}.subject-list{columns:1}}.loading-message{text-align:center;padding:40px;color:#6b7280;font-size:1rem}.form-group input:focus,.form-group select:focus,.form-group textarea:focus,button:focus{outline:2px solid #3b82f6;outline-offset:2px}button{min-height:32px;border:none;font-family:inherit}.admin-school-settings button{background:unset!important;color:unset!important;border-radius:unset!important;padding:unset!important}.admin-school-settings .remove-button-small{background:#ef4444!important;color:#fff!important;border-radius:3px!important;padding:2px 6px!important}.admin-school-settings .add-button-small{background:#10b981!important;color:#fff!important;border-radius:4px!important;padding:6px 12px!important}.admin-school-settings .view-details-button{background:#3b82f6!important;color:#fff!important;border-radius:4px!important;padding:6px 12px!important}.admin-school-settings .create-custom-button{background:#8b5cf6!important;color:#fff!important;border-radius:4px!important;padding:6px 12px!important}.admin-school-settings .save-button{background:#059669!important;color:#fff!important;border-radius:4px!important;padding:12px 24px!important}.admin-school-settings .create-set-button{background:#059669!important;color:#fff!important;border-radius:4px!important;padding:8px 16px!important}.admin-school-settings .cancel-button{background:#6b7280!important;color:#fff!important;border-radius:4px!important;padding:8px 16px!important}.app-header{background-color:var(--primary-color);color:#fff;padding:0 20px;height:var(--header-height);display:flex;align-items:center;box-shadow:0 2px 4px #0000001a;position:fixed;top:0;left:0;width:100%;z-index:1000}.header-container{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:1200px;margin:0 auto}.logo{font-size:1.5em;font-weight:700;color:#fff;text-decoration:none}.app-header nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center}.app-header nav ul li{margin-left:20px}.app-header nav ul li a{color:#fff;text-decoration:none;font-size:1em}.app-header nav ul li a:hover,.app-header nav ul li a.active{text-decoration:underline}.logout-button{background-color:var(--secondary-color);color:#fff;border:none;padding:8px 12px;border-radius:4px;cursor:pointer;font-size:.9em}.logout-button:hover{opacity:.9}.dropdown{position:relative;display:inline-block}.dropbtn{background-color:transparent;color:#fff;border:none;cursor:pointer;font-size:1em;padding:8px 12px;border-radius:4px}.dropbtn:hover{background-color:#ffffff1a}.dropdown-content{display:none;position:absolute;background-color:#fff;min-width:160px;box-shadow:0 8px 16px #0003;z-index:1001;border-radius:4px;top:100%;left:0}.dropdown-content a{color:var(--primary-color);padding:12px 16px;text-decoration:none;display:block;border-radius:0}.dropdown-content a:hover{background-color:#f8f9fa}.dropdown:hover .dropdown-content{display:block}.app-footer{background-color:#e9ecef;color:var(--secondary-color);padding:20px;text-align:center;border-top:1px solid #dee2e6;margin-top:auto}.footer-container{max-width:1200px;margin:0 auto}.app-footer p{margin:0 0 10px;font-size:.9em}.app-footer nav ul{list-style:none;padding:0;margin:0;display:flex;justify-content:center;gap:15px}.app-footer nav ul li a{color:var(--secondary-color);text-decoration:none;font-size:.9em}.app-footer nav ul li a:hover{color:var(--primary-color);text-decoration:underline}.app-container{display:flex;flex-direction:column;min-height:100vh}.main-content{flex-grow:1;padding-top:20px;padding-bottom:20px}.container{width:90%;max-width:1200px;margin:auto;padding:20px}:root{--primary-color: #007bff;--secondary-color: #6c757d;--background-color: #f8f9fa;--text-color: #212529;--font-family: Arial, sans-serif;--header-height: 60px}body{font-family:var(--font-family);color:var(--text-color);background-color:var(--background-color);margin:0;padding-top:var(--header-height)}h1,h2,h3,h4,h5,h6{color:var(--primary-color)}body{margin:0;font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--background-color);color:var(--text-color)}#root{display:flex;flex-direction:column;min-height:calc(100vh - var(--header-height))}main{flex-grow:1;padding:20px}a{color:var(--primary-color);text-decoration:none}a:hover{text-decoration:underline}button,.button{background-color:var(--primary-color);color:#fff;border:none;padding:10px 15px;border-radius:4px;cursor:pointer;font-size:1em}button:hover,.button:hover{opacity:.9}input[type=text],input[type=email],input[type=password],input[type=number],textarea,select{width:100%;padding:10px;margin-bottom:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}label{display:block;margin-bottom:5px;font-weight:700}.container{max-width:1200px;margin:0 auto;padding:0 20px}.text-center{text-align:center}.error-message{color:red;margin-bottom:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
