.analytics-container{display:flex;flex-direction:column;gap:1.25rem}.analytics-controls-card{background:#fff;border:1px solid var(--border-light);border-radius:var(--radius-lg);padding:.85rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;box-shadow:0 1px 3px #0000000d}.teacher-picker-wrap{display:flex;align-items:center;gap:.85rem;flex:1}.picker-label{display:flex;align-items:center;gap:.4rem;font-size:.825rem;font-weight:700;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.analytics-actions{display:flex;align-items:center;gap:.75rem}.btn-pdf-export{border-color:#fecdd3;color:#9f1239;background:#fff1f2;font-weight:700}.btn-pdf-export:hover:not(:disabled){background:#ffe4e6;border-color:#fda4af;color:#881337}.analytics-profile-card{background:linear-gradient(135deg,#fff,#f0fdf4);border:1px solid #bbf7d0;border-radius:var(--radius-lg);padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;box-shadow:0 4px 12px #1b8b3b0f}.profile-left{display:flex;align-items:center;gap:1.1rem}.profile-avatar{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#1b8b3b,#14532d);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:800;border:3px solid #ffffff;box-shadow:0 3px 8px #0000001f;flex-shrink:0;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-name{font-size:1.35rem;font-weight:800;color:#0f172a;line-height:1.2;margin:0 0 .35rem;letter-spacing:-.01em}.profile-meta{display:flex;align-items:center;gap:.5rem;font-size:.825rem;color:#64748b;flex-wrap:wrap}.dot-divider{color:#cbd5e1}.profile-id-badge{background:#dcfce7;color:#166534;padding:.15rem .5rem;border-radius:4px;font-weight:700;font-size:.75rem}.session-tag{background:#14532d;color:#fff;padding:.35rem .85rem;border-radius:20px;font-weight:700;font-size:.8rem;letter-spacing:.02em}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}.kpi-card{background:#fff;border:1px solid var(--border-light);border-radius:var(--radius-md);padding:1rem 1.25rem;display:flex;align-items:center;gap:1rem;box-shadow:0 1px 3px #0000000a;transition:transform .2s ease,box-shadow .2s ease}.kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 10px #00000012}.kpi-icon-wrap{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.kpi-body{display:flex;flex-direction:column}.kpi-number{font-size:1.45rem;font-weight:800;line-height:1.1;color:#0f172a}.kpi-title{font-size:.75rem;font-weight:700;color:#64748b;text-transform:uppercase;margin-top:.25rem;letter-spacing:.03em}.kpi-emerald{border-left:4px solid #16a34a}.kpi-emerald .kpi-icon-wrap{background:#ecfdf5;color:#16a34a}.kpi-emerald .kpi-number{color:#15803d}.kpi-indigo{border-left:4px solid #4f46e5}.kpi-indigo .kpi-icon-wrap{background:#eef2ff;color:#4f46e5}.kpi-indigo .kpi-number{color:#4338ca}.kpi-amber{border-left:4px solid #d97706}.kpi-amber .kpi-icon-wrap{background:#fffbeb;color:#d97706}.kpi-amber .kpi-number{color:#b45309}.kpi-slate{border-left:4px solid #059669}.kpi-slate .kpi-icon-wrap{background:#f0fdf4;color:#059669}.kpi-slate .kpi-number{color:#047857}.analytics-section-card{background:#fff;border:1px solid var(--border-light);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:0 1px 3px #0000000d}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;padding-bottom:.65rem;border-bottom:1px solid #f1f5f9}.section-title-wrap{display:flex;align-items:center;gap:.5rem}.section-title-wrap h3{font-size:1.05rem;font-weight:800;color:#0f172a;margin:0}.section-caption{font-size:.775rem;color:#64748b;font-weight:500}.table-responsive{overflow-x:auto}.analytics-table{width:100%;border-collapse:collapse;font-size:.825rem}.analytics-table th{background:#f8fafc;color:#475569;font-weight:700;padding:.65rem .85rem;border-bottom:2px solid #e2e8f0;text-align:left;font-size:.775rem;text-transform:uppercase;letter-spacing:.03em}.analytics-table td{padding:.65rem .85rem;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#334155}.analytics-table tbody tr:hover{background:#f8fafc}.row-evaluated{background:#fff}.row-pending{background:#fafafa}.cell-num{font-family:monospace;font-size:.85rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.text-muted{color:#94a3b8}.text-xs{font-size:.72rem}.text-rose{color:#be123c}.text-indigo{color:#4338ca}.status-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:4px;font-size:.72rem;font-weight:700}.status-evaluated{background:#dcfce7;color:#166534}.status-pending{background:#f1f5f9;color:#64748b}.pct-badge{display:inline-block;padding:.2rem .55rem;border-radius:4px;font-weight:800;font-size:.775rem}.pct-badge.tone-high{background:#ecfdf5;color:#15803d}.pct-badge.tone-mid{background:#fffbeb;color:#b45309}.pct-badge.tone-low{background:#fef2f2;color:#b91c1c}.rank-pill{display:inline-block;background:#fef3c7;color:#92400e;border:1px solid #fde68a;padding:.15rem .5rem;border-radius:12px;font-weight:800;font-size:.75rem}.perf-bar-wrap{display:flex;align-items:center;gap:.75rem}.perf-bar-bg{flex:1;max-width:160px;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.perf-bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.perf-bar-txt{font-weight:800;font-size:.775rem;width:45px}.analytics-loading-box,.analytics-error-box,.analytics-empty-box{background:#fff;border:1px solid var(--border-light);border-radius:var(--radius-lg);padding:4rem 2rem;text-align:center;color:var(--text-secondary)}.analytics-error-box{display:flex;flex-direction:column;align-items:center;gap:.75rem;color:#dc2626}:root{--bg-primary: #f8fafc;--bg-secondary: #ffffff;--text-primary: #0f172a;--text-secondary: #475569;--text-muted: #94a3b8;--accent-primary: #1b8b3b;--accent-hover: #15803d;--accent-light: #e8f5e9;--accent-dark: #14532d;--accent-blue: #0284c7;--accent-amber: #d97706;--accent-rose: #e11d48;--border-light: #e2e8f0;--border-subtle: #cbd5e1;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--radius-xl: 24px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .05);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .05);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .05);--font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--heading-font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{min-height:100%;width:100%}body{font-family:var(--font-family);background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-size:13px}.app-header{background:#fff;border-bottom:2px solid var(--accent-primary);box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:100}.header-inner{max-width:100%;padding:.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.header-brand-group{display:flex;align-items:center;gap:1.25rem;flex-shrink:0}.header-nav-divider{width:1px;height:28px;background:#cbd5e1;flex-shrink:0}.brand-section{display:flex;align-items:center;gap:.85rem;flex-shrink:0}.brand-logo-img{width:44px;height:44px;border-radius:50%;object-fit:cover;box-shadow:0 2px 8px #0000001f;border:2px solid #ffffff;background:#fff;flex-shrink:0}.brand-icon-box{width:44px;height:44px;background:linear-gradient(135deg,var(--accent-primary),var(--accent-dark));border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 4px 10px #1b8b3b40}.brand-text h1{font-family:var(--heading-font);font-size:1.15rem;font-weight:800;color:var(--text-primary);line-height:1.2;letter-spacing:-.01em}.brand-text p{font-size:.75rem;color:var(--accent-primary);font-weight:600;text-transform:uppercase;letter-spacing:.05em}.view-mode-toggle{display:inline-flex;align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:var(--radius-md);padding:3px;gap:3px;flex-shrink:0}.view-tab-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .85rem;border-radius:6px;border:none;background:transparent;color:#64748b;font-size:.825rem;font-weight:700;cursor:pointer;transition:all .18s cubic-bezier(.4,0,.2,1);font-family:inherit;outline:none;white-space:nowrap}.view-tab-btn:hover:not(.active){background:#e2e8f0;color:#0f172a}.view-tab-btn.active{background:#14532d;color:#fff;box-shadow:0 2px 6px #14532d40}.header-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-left:auto;justify-content:flex-end}.filter-group{display:flex;align-items:center;gap:.5rem;background:var(--bg-primary);padding:.35rem .65rem;border-radius:var(--radius-md);border:1px solid var(--border-light)}.filter-group label{font-size:.75rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.03em}.select-input{font-family:inherit;font-size:.825rem;font-weight:600;color:var(--text-primary);background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);padding:.3rem .6rem;cursor:pointer;outline:none;transition:border-color .15s ease}.select-input:focus{border-color:var(--accent-primary)}.btn{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .9rem;font-size:.825rem;font-weight:600;border-radius:var(--radius-md);cursor:pointer;transition:all .2s ease;border:1px solid transparent;outline:none}.btn-primary{background:var(--accent-primary);color:#fff;box-shadow:0 2px 4px #1b8b3b33}.btn-primary:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.btn-secondary{background:#fff;color:var(--text-primary);border-color:var(--border-subtle)}.btn-secondary:hover:not(:disabled){background:var(--bg-primary);border-color:var(--text-secondary)}.btn-danger{background:#fee2e2;color:#b91c1c;border-color:#fecaca}.btn-danger:hover{background:#fecaca}.btn-icon{padding:.45rem;border-radius:var(--radius-sm)}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.main-content{padding:1.25rem 1.5rem;max-width:100%}.badge{display:inline-flex;align-items:center;padding:.15rem .45rem;font-size:.7rem;font-weight:700;border-radius:4px;line-height:1}.badge-na{background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1}.badge-rank-1{background:#fef3c7;color:#b45309;border:1px solid #fde68a}.badge-rank-2{background:#e2e8f0;color:#475569;border:1px solid #cbd5e1}.badge-rank-3{background:#ffedd5;color:#c2410c;border:1px solid #fed7aa}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-card{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);width:100%;max-width:720px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;animation:modalEnter .2s ease-out}@keyframes modalEnter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-header{padding:1.1rem 1.5rem;border-bottom:1px solid var(--border-light);display:flex;align-items:center;justify-content:space-between;background:var(--bg-primary)}.modal-header h2{font-family:var(--heading-font);font-size:1.15rem;font-weight:700;color:var(--text-primary)}.modal-body{padding:1.25rem 1.5rem;overflow-y:auto;flex:1}.modal-footer{padding:1rem 1.5rem;border-top:1px solid var(--border-light);display:flex;align-items:center;justify-content:flex-end;gap:.75rem;background:var(--bg-primary)}.toast-notice{position:fixed;bottom:2rem;right:2rem;background:#1e293b;color:#fff;padding:.85rem 1.25rem;border-radius:var(--radius-md);box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:.65rem;font-weight:600;font-size:.85rem;z-index:2000;animation:slideUp .25s ease-out}.toast-notice.success{background:#14532d;border-left:4px solid #22c55e}.toast-notice.error{background:#7f1d1d;border-left:4px solid #ef4444}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.custom-dropdown-container{display:inline-block;-webkit-user-select:none;user-select:none}.custom-dropdown-trigger{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:.4rem .75rem;display:flex;align-items:center;justify-content:space-between;gap:.65rem;cursor:pointer;transition:all .2s ease;width:100%;font-family:inherit;box-shadow:0 1px 2px #0000000a}.custom-dropdown-trigger:hover{border-color:var(--accent-primary);background:#fbfcfe}.custom-dropdown-trigger.dropdown-open{border-color:var(--accent-primary);box-shadow:0 0 0 3px #1b8b3b26;background:#fff}.dropdown-current-value{font-weight:700;color:var(--text-primary);font-size:.85rem;white-space:nowrap}.dropdown-chevron{color:#64748b;transition:transform .2s cubic-bezier(.4,0,.2,1);flex-shrink:0}.dropdown-chevron.chevron-rotated{transform:rotate(180deg);color:var(--accent-primary)}.custom-dropdown-menu{position:absolute;top:calc(100% + 5px);left:0;min-width:100%;z-index:1000;background:#fff;border:1px solid var(--border-light);border-radius:var(--radius-md);box-shadow:0 10px 25px -5px #0000001f,0 8px 10px -6px #00000014;overflow:hidden;animation:dropdownFadeIn .15s ease-out}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.custom-dropdown-list{max-height:250px;overflow-y:auto;padding:4px;scrollbar-width:thin}.custom-dropdown-item{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;border-radius:6px;cursor:pointer;font-size:.825rem;font-weight:600;color:#334155;transition:all .12s ease;white-space:nowrap}.custom-dropdown-item:hover{background:#f1f5f9;color:#0f172a}.custom-dropdown-item.item-selected{background:var(--accent-light);color:var(--accent-primary);font-weight:700}.matrix-container{background:#fff;border-radius:var(--radius-lg);border:1px solid var(--border-light);box-shadow:0 4px 20px -2px #0000000f;display:flex;flex-direction:column;overflow:hidden}.matrix-toolbar{padding:.9rem 1.25rem;border-bottom:1px solid var(--border-light);display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:#fff}.search-box{position:relative;min-width:280px}.search-box input{width:100%;padding:.5rem .85rem .5rem 2.3rem;font-family:inherit;font-size:.85rem;border:1px solid var(--border-subtle);border-radius:var(--radius-md);outline:none;background:#f8fafc;transition:all .2s ease}.search-box input:focus{border-color:var(--accent-primary);background:#fff;box-shadow:0 0 0 3px #1b8b3b1f}.search-box svg{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--text-muted)}.toolbar-stats{display:flex;align-items:center;gap:1.5rem;font-size:.825rem;color:var(--text-secondary)}.toolbar-stats strong{color:var(--text-primary)}.table-scroll-wrapper{overflow-x:auto;overflow-y:auto;max-height:calc(100vh - 180px);position:relative;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.table-scroll-wrapper::-webkit-scrollbar{height:9px;width:9px}.table-scroll-wrapper::-webkit-scrollbar-track{background:#f8fafc}.table-scroll-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}.table-scroll-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.matrix-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.825rem;text-align:center;background:#fff}.matrix-table thead tr.row-thead-numbers th{background:#14532d!important;color:#fff!important;font-weight:800;font-size:.72rem;padding:.35rem .2rem;border-bottom:1px solid #166534;border-right:1px solid rgba(255,255,255,.15);position:sticky;top:0;z-index:25;-webkit-user-select:none;user-select:none;height:28px}.matrix-table thead tr.row-thead-numbers th.sticky-col-1,.matrix-table thead tr.row-thead-numbers th.sticky-col-2{background:#14532d!important;color:#fff!important;z-index:45!important}.matrix-table thead tr.row-thead-numbers th.col-sticky-out-of{background:#881337!important;color:#ffe4e6!important;z-index:45!important}.matrix-table thead tr.row-thead-numbers th.col-sticky-total{background:#312e81!important;color:#e0e7ff!important;z-index:45!important}.matrix-table thead tr.row-thead-numbers th.col-sticky-pct{background:#064e3b!important;color:#d1fae5!important;z-index:45!important}.matrix-table thead tr.row-thead-numbers th.col-sticky-rank{background:#78350f!important;color:#fef3c7!important;z-index:45!important}.matrix-table thead tr.row-thead-numbers th.col-sticky-actions{background:#14532d!important;color:#fff!important;z-index:45!important}.matrix-table thead tr.row-thead-titles th{background:#1b8b3b!important;color:#fff!important;font-weight:700;font-size:.8rem;padding:.5rem .4rem;border-bottom:2px solid #0f5132;border-right:1px solid rgba(255,255,255,.2);position:sticky;top:28px;z-index:25;-webkit-user-select:none;user-select:none;vertical-align:middle}.matrix-table thead tr.row-thead-titles th.sticky-col-1,.matrix-table thead tr.row-thead-titles th.sticky-col-2{background:#1b8b3b!important;color:#fff!important;z-index:45!important}.matrix-table thead tr.row-thead-titles th.th-criteria{font-size:.74rem;line-height:1.25;min-width:96px;max-width:112px;word-wrap:break-word;white-space:normal;padding:.6rem .35rem;vertical-align:bottom;height:92px;background:#1b8b3b!important}.criteria-header-title{color:#fff;font-weight:700}.criteria-header-limit{font-size:.65rem;color:#bbf7d0;margin-top:3px;font-weight:700;letter-spacing:.03em}.matrix-table thead tr.row-thead-titles th.col-sticky-out-of{background:#be123c!important;color:#fff!important;font-size:.85rem;font-weight:800;z-index:45!important}.matrix-table thead tr.row-thead-titles th.col-sticky-total{background:#4338ca!important;color:#fff!important;font-size:.85rem;font-weight:800;z-index:45!important}.matrix-table thead tr.row-thead-titles th.col-sticky-pct{background:#059669!important;color:#fff!important;font-size:.85rem;font-weight:800;z-index:45!important}.matrix-table thead tr.row-thead-titles th.col-sticky-rank{background:#d97706!important;color:#fff!important;font-size:.85rem;font-weight:800;z-index:45!important}.matrix-table thead tr.row-thead-titles th.col-sticky-actions{background:#15803d!important;color:#fff!important;font-size:.8rem;font-weight:700;z-index:45!important}.matrix-table td{padding:.35rem .3rem;border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;vertical-align:middle}.matrix-table tbody tr:nth-child(2n){background-color:#fbfcfe}.matrix-table tbody tr:hover{background-color:#f0fdf4!important}.sticky-col-1{position:sticky;left:0;z-index:15;background:#fff;width:44px;min-width:44px;max-width:44px;border-right:1px solid #cbd5e1;text-align:center}.sticky-col-2{position:sticky;left:44px;z-index:15;background:#fff;width:290px;min-width:290px;max-width:290px;text-align:left!important;padding:.5rem .75rem!important;border-right:2px solid #94a3b8!important;box-shadow:4px 0 8px -2px #00000014}th.sticky-col-1,th.sticky-col-2{z-index:40!important;background:#f1f5f9!important}.matrix-table tbody tr:nth-child(2n) .sticky-col-1,.matrix-table tbody tr:nth-child(2n) .sticky-col-2{background-color:#fbfcfe}.matrix-table tbody tr:hover .sticky-col-1,.matrix-table tbody tr:hover .sticky-col-2{background-color:#f0fdf4!important}.col-sticky-out-of{position:sticky;right:304px;z-index:15;width:68px;min-width:68px;max-width:68px;background:#ffe4e6!important;color:#9f1239!important;font-weight:800!important;border-left:2px solid #94a3b8!important;box-shadow:-4px 0 10px -2px #00000014}.col-sticky-total{position:sticky;right:236px;z-index:15;width:68px;min-width:68px;max-width:68px;background:#e0e7ff!important;color:#3730a3!important;font-weight:800!important}.col-sticky-pct{position:sticky;right:150px;z-index:15;width:86px;min-width:86px;max-width:86px;background:#dcfce7!important;color:#14532d!important;font-weight:800!important}.col-sticky-rank{position:sticky;right:84px;z-index:15;width:66px;min-width:66px;max-width:66px;background:#fef3c7!important;color:#b45309!important;font-weight:800!important}.col-sticky-actions{position:sticky;right:0;z-index:15;width:84px;min-width:84px;max-width:84px;background:#fff!important;border-left:1px solid #cbd5e1}.matrix-table tbody tr:nth-child(2n) .col-sticky-actions{background:#fbfcfe!important}.matrix-table tbody tr:hover .col-sticky-actions{background:#f0fdf4!important}th.col-sticky-out-of,th.col-sticky-total,th.col-sticky-pct,th.col-sticky-rank,th.col-sticky-actions{z-index:40!important}th.col-sticky-actions{background:#f8fafc!important}.score-cell{position:relative;display:flex;align-items:center;justify-content:center}.score-input{width:44px;height:30px;text-align:center;font-family:inherit;font-size:.875rem;font-weight:800;border-radius:var(--radius-sm);border:1px solid transparent;outline:none;transition:all .18s ease;cursor:text}.score-input:hover{box-shadow:0 0 0 2px #cbd5e1;background:#fff}.score-input:focus{border-color:var(--accent-primary)!important;background:#fff!important;box-shadow:0 0 0 3px #1b8b3b40!important;color:#0f172a!important}.score-val-3{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.score-val-2{color:#0284c7;background:#f0f9ff;border-color:#bae6fd}.score-val-1{color:#b45309;background:#fffbeb;border-color:#fde68a}.score-val-0{color:#e11d48;background:#fff1f2;border-color:#fecdd3}.score-val-na{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;font-weight:700;font-size:.775rem}.score-val-empty{color:#cbd5e1;background:transparent}.na-toggle-btn{background:#e2e8f0;border:1px solid #cbd5e1;font-size:.6rem;font-weight:700;color:#475569;cursor:pointer;padding:1px 3px;border-radius:3px;position:absolute;right:1px;top:1px;opacity:0;transition:opacity .15s ease,background .15s ease;line-height:1}.score-cell:hover .na-toggle-btn{opacity:1}.na-toggle-btn:hover{background:#cbd5e1;color:#0f172a}.teacher-col-info{display:flex;align-items:center;gap:.6rem}.teacher-avatar-sm{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#e2e8f0,#cbd5e1);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800;color:#334155;overflow:hidden;flex-shrink:0;border:1px solid #ffffff;box-shadow:0 1px 3px #0000001a}.teacher-avatar-sm img{width:100%;height:100%;object-fit:cover}.teacher-name-txt{color:#0f172a;font-weight:700;font-size:.88rem;line-height:1.25;white-space:normal;word-break:keep-all}.teacher-name-clickable{cursor:pointer;transition:color .15s ease}.teacher-name-clickable:hover{color:var(--accent-primary);text-decoration:underline}.rank-badge{display:inline-flex;align-items:center;justify-content:center;gap:3px;padding:.2rem .5rem;font-size:.78rem;font-weight:800;border-radius:9999px;line-height:1}.rank-gold{background:#fef3c7;color:#b45309;border:1px solid #fcd34d;box-shadow:0 1px 2px #b4530926}.rank-silver{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1}.rank-bronze{background:#ffedd5;color:#9a3412;border:1px solid #fdba74}.rank-other{background:#fff;color:#475569;border:1px solid #e2e8f0}.scorecard-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172abf;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;overflow-y:auto}.scorecard-container{background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-xl);max-width:650px;width:100%;max-height:94vh;display:flex;flex-direction:column;overflow:hidden}.scorecard-actions-bar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;background:#f8fafc;border-bottom:1px solid var(--border-light)}.scorecard-scroll-area{padding:1.5rem;overflow-y:auto;flex:1;display:flex;justify-content:center;background:#e2e8f0}.scorecard-wrapper{width:100%;max-width:540px;background:#fff;padding:4px;box-shadow:0 4px 15px #0003;display:flex;justify-content:center}.excel-scorecard-table{width:100%;border-collapse:collapse;border:3px double #000000;font-family:Arial,Helvetica,sans-serif;color:#000;background:#fff}.excel-scorecard-table .row-school-title th{border:1px solid #000000;font-size:13pt;font-weight:900;text-align:center;padding:6px 4px 3px;letter-spacing:.04em;color:#000;background:#fff}.excel-scorecard-table .row-school-subtitle th{border:1px solid #000000;font-size:10pt;font-weight:700;text-align:center;padding:3px 4px 6px;color:#000;background:#fff}.excel-scorecard-table .cell-meta-label{border:1px solid #000000;font-size:9.5pt;font-weight:700;color:#000;background:#fff;padding:6px 8px;white-space:nowrap;vertical-align:middle}.excel-scorecard-table .cell-teacher-name{border:1px solid #000000;font-size:11pt;font-weight:800;color:#000;background:#a4c2f4;padding:6px 10px;vertical-align:middle}.excel-scorecard-table .cell-month-val{border:1px solid #000000;font-size:10.5pt;font-weight:800;color:#000;background:#a4c2f4;padding:6px 10px;vertical-align:middle}.excel-scorecard-table .cell-teacher-photo{border:1px solid #000000;text-align:center;vertical-align:middle;padding:3px;background:#fff;width:95px}.excel-scorecard-table .photo-img{width:100%;height:90px;object-fit:cover;border:1px solid #000000;border-radius:2px;display:block}.excel-scorecard-table .photo-placeholder{width:100%;height:90px;background:#f1f5f9;border:1px dashed #94a3b8;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.7rem;color:#64748b;font-weight:600}.excel-scorecard-table .row-table-headers th{border:1px solid #000000;background:#bdd7ee;padding:4px;font-size:10pt;font-weight:800;vertical-align:middle}.excel-scorecard-table .th-sr-no{color:#c00000!important;text-align:center}.excel-scorecard-table .th-topic,.excel-scorecard-table .th-points{color:#000;text-align:center}.excel-scorecard-table .row-topic-item td{border:1px solid #000000;background:#e2efda;padding:2.5px 6px;vertical-align:middle}.excel-scorecard-table .td-sr-no{text-align:center;font-weight:800;font-size:9.5pt;color:#000}.excel-scorecard-table .td-topic-title{text-align:left;font-weight:700;font-size:9pt;color:#3c148c;padding-left:8px!important}.excel-scorecard-table .td-points-val{text-align:center;font-weight:800;font-size:9.5pt;color:#000}.excel-scorecard-table .cell-summary-label{border:1px solid #000000;text-align:center;font-weight:800;font-size:10pt;letter-spacing:.05em;padding:4px;color:#000}.excel-scorecard-table .cell-summary-val{border:1px solid #000000;text-align:center;font-weight:800;font-size:10pt;padding:4px;color:#000}.excel-scorecard-table .row-sum-total td{background:#5b9bd5!important}.excel-scorecard-table .row-sum-out-of td{background:#ea5a5a!important}.excel-scorecard-table .row-sum-pct td{background:#70d68a!important}.excel-scorecard-table .row-sum-rank td{background:#f5a623!important}.excel-scorecard-table .row-signatures td{border:1px solid #000000;background:#fce4d6;padding:0}.excel-scorecard-table .signatures-inner{height:80px;display:flex;justify-content:space-between;align-items:flex-end;padding:8px 18px}.excel-scorecard-table .sig-item{font-weight:800;font-size:9.5pt;color:#000}@media print{@page{size:A4 portrait;margin:6mm 8mm}body{background:#fff!important;padding:0!important}.app-header,.matrix-container,.scorecard-actions-bar,.modal-overlay:not(.print-active),.scorecard-modal-backdrop:not(.print-active),.no-print{display:none!important}.scorecard-modal-backdrop.print-active{position:static!important;background:none!important;padding:0!important;display:block!important}.scorecard-container{max-width:100%!important;box-shadow:none!important;border:none!important;max-height:none!important}.scorecard-scroll-area{padding:0!important;background:transparent!important}.scorecard-wrapper{max-width:100%!important;box-shadow:none!important;padding:0!important;page-break-inside:avoid;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.excel-scorecard-table{border:3px double #000000!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.excel-scorecard-table td,.excel-scorecard-table th{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.excel-scorecard-table .row-topic-item td{padding:2px 5px!important}}
