@font-face{font-family:Thmanyah;src:url('/assets/thmanyah-regular.woff2')}@font-face{font-family:Thmanyah;src:url('/assets/thmanyah-bold.woff2');font-weight:700}@font-face{font-family:Naskh;src:url('/assets/naskh.woff')}
.analysis-page{display:grid;gap:18px;min-width:0}.analysis-controls{padding:18px;border:1px solid #d4ddcf;border-radius:18px;background:linear-gradient(145deg,#fffdf7,#f1f5ec);box-shadow:0 16px 45px #153b2d12}.analysis-toolbar{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;align-items:end}.analysis-toolbar label,.analysis-thresholds label{display:grid;gap:5px;font-size:.78rem;color:#486152}.analysis-toolbar select,.analysis-toolbar input,.analysis-thresholds input{width:100%;min-width:0;min-height:42px;border:1px solid #c9d6c6;border-radius:10px;background:#fffdf7;color:#1f4031;padding:8px 10px;font:inherit}.analysis-thresholds{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;margin-top:14px}.threshold-field{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:8px}.threshold-field output{grid-column:1/-1;color:#5c6e62;font-size:.7rem}.analysis-themes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:14px}.analysis-themes label{position:relative;cursor:pointer}.analysis-themes input{position:absolute;opacity:0}.analysis-theme-card{display:grid;gap:5px;min-height:82px;padding:12px;border:1px solid #d1d9cf;border-radius:13px;background:#fffdf7;transition:.2s}.analysis-theme-card i{display:block;width:42px;height:7px;border-radius:20px;background:#174737}.analysis-theme-card strong{font-size:.82rem}.analysis-theme-card small{font-size:.68rem;color:#617267}.analysis-themes input:checked+.analysis-theme-card{border-color:#174737;box-shadow:0 0 0 2px #17473722;background:#edf4ec}.analysis-themes label:nth-child(2) i{background:#335d8f}.analysis-themes label:nth-child(3) i{background:#8a6531}.analysis-themes label:nth-child(4) i{background:#343434}.analysis-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid #d8dfd5}.analysis-actions .button{min-height:42px}.analysis-status{margin-inline-start:auto;color:#476252;font-size:.75rem}.analysis-status[aria-busy=true]::before{content:'';display:inline-block;width:13px;height:13px;margin-inline-end:6px;border:2px solid #8dab9a;border-top-color:#174737;border-radius:50%;animation:analysis-spin .7s linear infinite}@keyframes analysis-spin{to{transform:rotate(1turn)}}.analysis-preview-shell{min-width:0;padding:18px;border:1px solid #d7ded4;border-radius:18px;background:#dfe5dc}.analysis-preview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.analysis-preview-top h2{margin:0;font-size:1.15rem}.analysis-preview-top span{font-size:.72rem;color:#586e60}.analysis-preview-scroll{overflow:auto;max-height:76vh;scrollbar-color:#8ba08f #eef2eb}.analysis-document{display:grid;gap:18px;justify-content:center;min-width:max-content;transform-origin:top center}.analysis-print-page{--report-primary:#174737;--report-accent:#c29b46;--report-soft:#eef3eb;--report-ink:#21372d;--report-muted:#65746b;width:210mm;min-height:297mm;box-sizing:border-box;padding:10mm 12mm 12mm;background:#fffdf8;color:var(--report-ink);font:4.05mm/1.55 Naskh,Tahoma,sans-serif;display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:0 14px 42px #19382926}.analysis-print-page::before{content:'';position:absolute;inset:0 0 auto;height:3mm;background:linear-gradient(90deg,var(--report-primary) 0 70%,var(--report-accent) 70%)}.theme-academic{--report-primary:#244f79;--report-accent:#c3a055;--report-soft:#edf3f8}.theme-minimal{--report-primary:#6d512b;--report-accent:#9d7a42;--report-soft:#f5f0e6}.theme-ink{--report-primary:#242424;--report-accent:#777;--report-soft:#f2f2f2;background:#fff}.report-header{display:grid;grid-template-columns:51mm 1fr;gap:8mm;align-items:center;padding:3mm 0 4mm;border-bottom:.45mm solid var(--report-accent);min-height:25mm}.report-header img{display:block;width:51mm;height:18mm;object-fit:contain;object-position:center}.report-header>div{text-align:center;min-width:0}.report-header h1{margin:0;color:var(--report-primary);font:700 6.1mm/1.28 Thmanyah,Naskh,sans-serif;white-space:normal}.report-header span{display:block;margin-top:1mm;color:var(--report-muted);font-size:3.35mm}.report-header small{display:block;margin-top:1mm;color:var(--report-muted);font-size:3mm}.analysis-print-page>main{display:flex;flex-direction:column;gap:4mm;flex:1;padding:4mm 0 3mm;min-height:0}.report-footer{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:center;gap:3mm;border-top:.35mm solid #cad3ca;padding-top:2.2mm;color:var(--report-muted);font-size:3mm;direction:rtl}.report-footer span:nth-child(2){text-align:center;color:var(--report-primary);font-weight:700}.report-footer span:nth-child(3){text-align:left}.report-footer small{direction:ltr}.student-identity{display:grid;grid-template-columns:1.15fr 1fr;gap:4mm;padding:3.4mm;border:.35mm solid #d6ddd4;border-radius:3mm;background:linear-gradient(135deg,var(--report-soft),#fff)}.student-name-fit{display:grid;place-items:center;min-height:21mm;padding:2mm;text-align:center;color:var(--report-primary);font:700 7mm/1.3 Thmanyah,Naskh,sans-serif;overflow:hidden}.student-identity dl{display:grid;grid-template-columns:1fr 1fr;gap:2mm;margin:0}.student-identity dl div{padding:2mm;border-radius:2mm;background:#ffffffc7}.student-identity dt{color:var(--report-muted);font-size:3mm}.student-identity dd{margin:.4mm 0 0;font-weight:700;font-size:3.5mm;overflow-wrap:anywhere}.report-metrics{display:grid;gap:2.5mm}.report-metrics.six{grid-template-columns:repeat(6,1fr)}.report-metrics.four{grid-template-columns:repeat(4,1fr)}.report-metric{display:grid;align-content:center;min-height:20mm;padding:2.7mm;border:.35mm solid #d7dfd7;border-radius:2.7mm;background:#fff;text-align:center;overflow:hidden}.report-metric span{color:var(--report-muted);font-size:3mm}.report-metric strong{display:block;color:var(--report-primary);font:700 6mm/1.2 Thmanyah,Naskh,sans-serif;overflow-wrap:anywhere}.report-metric small{color:var(--report-muted);font-size:2.7mm}.report-metric.success{background:#eff7ed}.report-metric.mastery{background:#fbf1d6}.report-metric.support{background:#fbebe7}.report-metric.pending{background:#f2f2ee}.report-grid{display:grid;gap:3mm}.report-grid.two{grid-template-columns:1fr 1fr}.report-grid.three{grid-template-columns:repeat(3,1fr)}.report-panel{min-width:0;padding:3.2mm;border:.35mm solid #d6ddd5;border-radius:2.8mm;background:#fff;break-inside:avoid}.report-panel h2{margin:0 0 2.2mm;padding-bottom:1.5mm;border-bottom:.3mm solid #dde3dc;color:var(--report-primary);font:700 4.5mm/1.35 Thmanyah,Naskh,sans-serif}.report-grid.three.compact .report-panel{min-height:29mm}.report-bar{display:grid;gap:1mm;margin-bottom:2mm}.report-bar>div:first-child{display:flex;justify-content:space-between;gap:2mm;align-items:center}.report-bar span{font-size:3.15mm}.report-bar strong{color:var(--report-primary);font-size:3.3mm}.report-bar small{font-size:2.7mm;color:var(--report-muted)}.report-track{position:relative;height:2.3mm;border-radius:5mm;background:#e5eae4;overflow:visible}.report-track i{display:block;height:100%;border-radius:5mm;background:linear-gradient(90deg,var(--report-primary),#72937f)}.report-track b{position:absolute;top:-.6mm;width:.35mm;height:3.4mm;background:#b6764b}.report-track b.mastery{background:var(--report-accent)}.test-columns{direction:ltr;display:flex;align-items:end;justify-content:center;gap:7mm;height:55mm;padding-top:4mm}.test-columns>div{display:grid;grid-template-rows:auto minmax(3mm,1fr) auto auto;justify-items:center;gap:1mm;width:18mm;height:100%}.test-columns i{align-self:end;width:12mm;max-height:39mm;min-height:3mm;border-radius:2mm 2mm 0 0;background:linear-gradient(180deg,var(--report-accent),var(--report-primary));transform-origin:bottom}.test-columns strong{color:var(--report-primary);font:700 4.3mm Thmanyah,Naskh}.test-columns span{direction:rtl;text-align:center;font-size:2.9mm}.test-columns small{font-size:2.5mm;color:var(--report-muted)}.test-columns.student{height:46mm}.report-bullets{display:grid;gap:1.3mm;margin:0;padding:0 5mm 0 0;list-style:none}.report-bullets li{position:relative;font-size:3.25mm;line-height:1.65}.report-bullets li::before{content:'';position:absolute;right:-4mm;top:2.4mm;width:1.5mm;height:1.5mm;border-radius:50%;background:var(--report-accent)}.report-bullets strong{color:var(--report-primary)}.narrative{background:linear-gradient(145deg,var(--report-soft),#fff)}.report-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:3.15mm}.report-table :is(th,td){padding:1.7mm 2mm;border-bottom:.25mm solid #e2e6e0;text-align:center;overflow-wrap:anywhere}.report-table th{background:var(--report-primary);color:#fff;font-weight:700}.report-table th:first-child,.report-table td:first-child{width:45%;text-align:right}.report-table tbody tr:nth-child(even){background:var(--report-soft)}.report-status{display:inline-block;padding:.7mm 1.8mm;border-radius:8mm;background:#eee;font-size:2.7mm}.report-status.mastery{background:#f8e9b9;color:#6f5315}.report-status.success{background:#dcefdc;color:#28582d}.report-status.support{background:#f5d9d3;color:#8b3225}.report-status.pending{background:#e6e8e4;color:#5f655e}.report-empty{display:grid;place-items:center;min-height:17mm;padding:3mm;border:1px dashed #cbd4ca;border-radius:2mm;color:var(--report-muted);text-align:center;font-size:3mm}.history-line{direction:ltr;display:flex;align-items:end;gap:5mm;height:41mm;padding:3mm 2mm 0}.history-line>div{display:grid;grid-template-rows:1fr auto auto;justify-items:center;height:100%;flex:1}.history-line i{align-self:end;width:8mm;min-height:2mm;max-height:28mm;background:linear-gradient(180deg,var(--report-accent),var(--report-primary));border-radius:2mm 2mm 0 0}.history-line strong{font-size:3mm}.history-line small{direction:rtl;color:var(--report-muted);font-size:2.3mm;white-space:nowrap}.theme-ink :is(.report-track i,.test-columns i,.history-line i){background:#333}.theme-ink .report-metric,.theme-ink .report-panel,.theme-ink .student-identity{box-shadow:none}.theme-ink .report-header img{filter:grayscale(1)}
.analysis-print-page{height:297mm;max-height:297mm}.analysis-switch{display:flex;align-items:center;gap:8px;min-height:42px;padding:7px 10px;border:1px solid #c9d6c6;border-radius:10px;background:#fffdf7;color:#1f4031}.analysis-switch input{width:18px;min-height:18px;accent-color:#174737}.analysis-preview-scroll{direction:rtl}.analysis-preview-scroll>.analysis-document{direction:rtl}
@media(max-width:980px){.analysis-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-themes{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-preview-scroll{max-height:68vh}.analysis-document{transform:scale(.82);margin-bottom:-108mm}}
@media(max-width:640px){.analysis-controls{padding:13px}.analysis-toolbar,.analysis-thresholds{grid-template-columns:1fr}.analysis-themes{grid-template-columns:1fr 1fr}.analysis-actions{align-items:stretch}.analysis-actions .button{flex:1 1 calc(50% - 8px)}.analysis-status{flex-basis:100%;margin-inline-start:0}.analysis-preview-shell{padding:8px}.analysis-preview-top{padding:4px}.analysis-preview-scroll{max-height:64vh}.analysis-document{transform:scale(.46);transform-origin:top right;margin-bottom:-340mm}.analysis-print-page{box-shadow:0 8px 25px #19382925}}
@media print{@page{size:A4;margin:0}body.analysis-printing{background:#fff!important}body.analysis-printing :is(.skip-link,.portal-header,.sidebar,.page-heading,.class-strip,.analysis-controls,.analysis-preview-top,.footer-note,.toast-region){display:none!important}body.analysis-printing .workspace,body.analysis-printing .workspace-main,body.analysis-printing .page-content,body.analysis-printing .analysis-page,body.analysis-printing .analysis-preview-shell,body.analysis-printing .analysis-preview-scroll{display:block!important;max-width:none!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;background:#fff!important;box-shadow:none!important}body.analysis-printing .analysis-document{display:block!important;min-width:0!important;transform:none!important;margin:0!important}body.analysis-printing .analysis-print-page{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;margin:0!important;box-shadow:none!important;break-after:page;page-break-after:always}body.analysis-printing .analysis-print-page:last-child{break-after:auto;page-break-after:auto}}
.report-footer>a{text-align:center;color:var(--report-primary);font-weight:700;text-decoration:none}.report-footer span:nth-of-type(2){text-align:left}.comparison-student-table{font-size:3mm}.comparison-student-table :is(th,td){padding:1.1mm;line-height:1.25}.test-student-table{font-size:2.85mm}.test-student-table :is(th,td){padding:1mm;line-height:1.25}.ranking-fill{padding:2.2mm}.ranking-fill>h2{margin-bottom:1mm;padding-bottom:1mm}.ranking-fill.fill-available{display:flex;flex:1;flex-direction:column}.ranking-fill.fill-available>.comparison-student-table{height:100%}
