.staff-reports{--sr-green:#155c3b;--sr-border:#dfe7e3;color:#163c2b;max-width:1400px;margin:auto;font-family:inherit;min-width:0}
.staff-reports *{box-sizing:border-box}.staff-reports button,.staff-reports input,.staff-reports select{font:inherit;font-size:14px;min-height:44px;border-radius:12px}
.staff-reports button{cursor:pointer;border:1px solid var(--sr-green);background:var(--sr-green);color:white;padding:10px 16px;font-weight:600}.staff-reports button:focus-visible,.staff-reports summary:focus-visible,.staff-reports .sr-scroll:focus-visible{outline:3px solid #5aa9eb;outline-offset:3px}
.staff-reports button.sr-secondary{background:white;color:var(--sr-green);border-color:var(--sr-border)}.sr-head{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:12px}.sr-head h2{font-size:28px;margin:8px 0}.sr-head p,.sr-note{color:#61736b;font-size:14px;line-height:1.6;margin:8px 0 18px}.sr-eyebrow{font-size:12px;color:#61736b}.sr-head>button{flex-shrink:0}.sr-feedback{font-size:13px;min-height:20px;margin:8px 0;color:var(--sr-green)}
.sr-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 24px}.sr-metrics>div{background:white;border:1px solid var(--sr-border);border-radius:18px;padding:18px 22px;display:flex;flex-direction:column;gap:8px}.sr-metrics span{font-size:13px;color:#61736b}.sr-metrics strong{font-size:32px;font-variant-numeric:tabular-nums}.sr-metrics small{font-size:12px;color:#61736b}
.sr-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}.sr-controls h3{margin:0 auto 0 0;font-size:22px}.sr-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#61736b}.sr-controls input,.sr-controls select{border:1px solid var(--sr-border);padding:9px 12px;background:white;color:#163c2b;max-width:100%}
.sr-scroll{width:100%;overflow:auto;overscroll-behavior-x:contain;background:white;border:1px solid var(--sr-border);border-radius:16px}.staff-reports table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px;text-align:left}.staff-reports th,.staff-reports td{padding:14px 18px;border-bottom:1px solid #edf1ee;vertical-align:top}.staff-reports th{font-weight:600}.staff-reports thead th{background:#f3f7f4;color:#61736b;font-size:12px;white-space:nowrap}.staff-reports tbody tr:last-child>*{border-bottom:0}.staff-reports tfoot>*{background:#edf6ef;font-weight:700}.sr-number{font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap}.staff-reports button.sr-link{border:0;background:none;color:var(--sr-green);padding:0;min-width:90px;text-align:left}.sr-link span{margin-left:14px}.sr-matrix{min-width:720px}.sr-matrix th{max-width:200px;min-width:130px}.sr-matrix th:first-child{position:sticky;left:0;z-index:1;background:white;min-width:240px;max-width:300px;border-right:1px solid var(--sr-border)}.sr-matrix thead th:first-child{background:#f3f7f4;z-index:2}.sr-position{color:#8b9a92;font-size:12px;margin-right:12px}.sr-section-title{margin:30px 0 14px}
.sr-subjects{display:grid;gap:10px}.sr-subjects details{background:white;border:1px solid var(--sr-border);border-radius:14px;padding:0 16px}.staff-reports summary{cursor:pointer;min-height:48px;line-height:1.6}.sr-subjects summary{display:flex;align-items:center;gap:14px;padding:16px 0;font-weight:600}.sr-subjects summary>span:first-child{flex:1}.sr-subjects .sr-scroll{margin-bottom:16px}.sr-term-badges{display:flex;gap:20px;font-variant-numeric:tabular-nums}.sr-term-badges>span{min-width:36px;text-align:center}.sr-term-badges small{display:block;color:#8b9a92;font-size:10px;font-weight:400}.sr-type{display:inline-block;border-radius:20px;padding:5px 10px;font-size:12px;white-space:nowrap}.sr-base{background:#edf8f0;color:#166534}.sr-contract{background:#fff1e5;color:#a34407}.sr-mixed{background:#edf0ff;color:#473bad}.sr-base-text{color:#166534}.sr-contract-text{color:#a34407}.sr-assignments{list-style:none;padding:0;margin:0;font-size:12px;font-weight:400;min-width:240px}.sr-assignments li{display:flex;gap:14px;justify-content:space-between;border-top:1px solid #edf1ee;padding:10px 0}.sr-assignments strong{white-space:nowrap}
@media(max-width:640px){.sr-head{align-items:flex-start;flex-direction:column;gap:6px}.sr-head h2{font-size:24px}.sr-metrics{gap:7px}.sr-metrics>div{padding:12px 9px}.sr-metrics span{font-size:11px}.sr-metrics strong{font-size:25px}.sr-metrics small{font-size:10px}.staff-reports th,.staff-reports td{padding:12px}.sr-controls{gap:10px}.sr-controls h3{width:calc(100% - 125px)}.sr-controls label{max-width:100%}.sr-matrix th:first-child{min-width:180px;max-width:210px;font-size:12px}.sr-subjects summary{gap:8px;font-size:12px}.sr-term-badges{gap:6px}.sr-subjects details{padding:0 10px}}
.sr-downloads{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.sr-downloads button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.sr-downloads svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.staff-reports button:disabled{opacity:.65;cursor:wait}.sr-grades .sr-head{align-items:flex-start;margin-bottom:4px}.sr-grades .sr-head h2{margin:6px 0}.sr-grades .sr-head p{margin-bottom:0}.sr-grades .sr-feedback:empty{display:none}.sr-grades .sr-note{margin:8px 0 14px}.sr-grade-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 24px}.sr-grade-metrics>div{background:#fff;border:1px solid var(--sr-border);border-radius:14px;padding:14px 18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px}.sr-grade-metrics span{font-size:13px;color:#61736b}.sr-grade-metrics strong{font-size:26px;color:var(--sr-green);font-variant-numeric:tabular-nums;grid-column:2;grid-row:1/3}.sr-grade-metrics small{font-size:12px;color:#61736b}.sr-group-heading{display:flex;align-items:center;gap:16px;margin:20px 0 0}.sr-group-heading h3{font-size:26px;margin:0 0 4px}.sr-group-heading span{font-size:12px;color:#61736b}.sr-group-general{margin-left:auto;display:flex;align-items:center;gap:12px}.sr-group-general strong{font-size:26px;font-variant-numeric:tabular-nums}.sr-grades .sr-section-title{font-size:19px;margin:24px 0 4px}.sr-grades .sr-number{vertical-align:middle}.sr-general{font-weight:700;background:#f0f7f2;color:var(--sr-green)}.sr-grades .sr-link{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:14px}.sr-grades .sr-link span{margin-left:0}.sr-grades table th:first-child{min-width:165px}.sr-grades .sr-subject-summary td,.sr-grades .sr-subject-summary th{padding:8px 16px}.sr-grades .sr-subject-summary th:first-child{width:40%}.sr-grades table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sr-grades .sr-selected{background:#f0f7f2}.sr-capture{color:#61736b;font-size:12px}.sr-method{font-size:12px!important}.sr-subject-detail{margin:24px 0}.sr-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sr-detail-heading h3{font-size:21px;margin:4px 0}.sr-pupil-matrix{margin-top:24px;border:1px solid var(--sr-border);border-radius:16px;background:#fff;padding:0 18px 18px}.sr-pupil-matrix>summary{padding:16px 0;font-weight:600}.sr-pupil-matrix>summary span{display:block;font-size:12px;font-weight:400;color:#61736b;margin-left:18px}.sr-group-search{justify-content:space-between}.sr-group-search label{flex:1;max-width:340px}.sr-group-search>span{font-size:12px;color:#61736b}.sr-grades .sr-groups-table th,.sr-grades .sr-groups-table td{padding:8px 16px}
@media(max-width:800px){.sr-grades .sr-head{flex-direction:column;gap:12px}.sr-grades .sr-grade-metrics>div{display:flex;flex-direction:column;align-items:flex-start;padding:12px}.sr-grade-metrics{gap:8px}.sr-grade-metrics small{font-size:10px}.sr-grade-metrics strong{font-size:24px}.sr-group-general{flex-direction:column;gap:2px;align-items:flex-end}.sr-grades .sr-subject-summary table,.sr-grades .sr-groups-table table{min-width:520px}.sr-grades .sr-subject-summary th:first-child{width:38%}.sr-grades .sr-subject-summary th,.sr-grades .sr-subject-summary td,.sr-grades .sr-groups-table th,.sr-grades .sr-groups-table td{padding:6px 12px}.sr-grades .sr-subject-summary th:first-child,.sr-grades .sr-groups-table th:first-child{position:sticky;left:0;background:white;border-right:1px solid var(--sr-border);z-index:1}.sr-grades .sr-subject-summary thead th:first-child,.sr-grades .sr-groups-table thead th:first-child{background:#f3f7f4;z-index:2}.sr-grades .sr-head p{font-size:13px}.sr-group-heading{gap:10px}.sr-group-heading h3{font-size:23px}.sr-group-general span{max-width:80px;text-align:right}.sr-pupil-matrix{padding:0 12px 12px}.sr-detail-heading h3{font-size:19px}.sr-grades .sr-subject-detail table{min-width:450px}}
@media(max-width:640px){.sr-grades .sr-subject-summary,.sr-grades .sr-subject-detail .sr-scroll,.sr-grades .sr-groups-table{border:0;background:transparent;overflow:visible;border-radius:0}.sr-grades .sr-subject-summary table,.sr-grades .sr-subject-detail table,.sr-grades .sr-groups-table table{display:block;min-width:0}.sr-grades .sr-subject-summary thead,.sr-grades .sr-subject-detail thead,.sr-grades .sr-groups-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sr-grades .sr-subject-summary tbody,.sr-grades .sr-subject-detail tbody,.sr-grades .sr-groups-table tbody{display:grid;gap:10px}.sr-grades .sr-subject-summary tr,.sr-grades .sr-subject-detail tr,.sr-grades .sr-groups-table tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--sr-border);border-radius:14px;background:white;overflow:hidden}.sr-grades .sr-subject-summary th:first-child,.sr-grades .sr-subject-detail th:first-child,.sr-grades .sr-groups-table th:first-child{grid-column:1/-1;min-width:0;width:100%;position:static;border-right:0;padding:10px 14px;border-bottom:1px solid #edf1ee;font-size:14px}.sr-grades .sr-subject-detail th:first-child{line-height:1.5}.sr-grades .sr-subject-summary td,.sr-grades .sr-subject-detail td,.sr-grades .sr-groups-table td{padding:10px 4px;border:0;font-size:16px}.sr-grades [data-label]::before{content:attr(data-label);display:block;color:#61736b;font-size:10px;font-weight:400;margin-bottom:5px}.sr-grades .sr-capture{grid-column:1/-1;text-align:left;padding:8px 14px;font-size:12px;border-top:1px solid #edf1ee}.sr-grades .sr-capture::before{content:'Alumnos con captura';display:inline;margin-right:8px;font-size:12px}.sr-grades .sr-group-count{grid-column:1/-1;text-align:left;padding:8px 14px;font-size:12px}.sr-grades .sr-group-count::before{display:inline;margin-right:8px;font-size:12px}.sr-grades .sr-selected{border-color:#155c3b}.sr-grades .sr-downloads{width:100%}.sr-grades .sr-downloads button{flex:1;padding:10px 12px;white-space:nowrap}}
.sr-report-tabs{display:flex;gap:6px;padding:5px;background:#e8efeb;border-radius:14px;width:max-content;max-width:100%;margin:18px 0}.staff-reports .sr-report-tabs button{border:0;background:transparent}.staff-reports .sr-report-tabs [aria-pressed="true"]{background:#fff;box-shadow:0 1px 4px #123b2512}.sr-final{color:#155c3b;font-weight:700;background:#e6f3eb}.sr-year{border:1px solid var(--sr-border);background:#fff;border-radius:16px;margin:18px 0;padding:0 16px 16px}.sr-year>summary{padding:14px 0;font-weight:700}.sr-year>summary span,.sr-year-summary th small{display:block;color:#61736b;font-size:12px;font-weight:400;margin-top:4px}.sr-year .sr-subject-summary{border-radius:12px}.sr-year-summary th:first-child{min-width:160px}
@media(max-width:640px){.sr-grades .sr-final{grid-column:1/-1;text-align:left;padding:8px 14px!important;font-size:16px!important;border-top:1px solid #edf1ee!important}.sr-grades .sr-final::before{display:inline;margin-right:12px;font-size:12px}.sr-grades .sr-capture[data-label="Con tres trimestres"]::before{content:'Con tres trimestres'}.sr-year{padding:0 10px 12px}.sr-grades .sr-year-summary{background:transparent;border:0;border-radius:0;overflow:visible}.sr-grades .sr-year-summary table{display:block;min-width:0}.sr-grades .sr-year-summary thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sr-grades .sr-year-summary tbody{display:grid;gap:10px}.sr-grades .sr-year-summary tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--sr-border);border-radius:14px;background:#fff;overflow:hidden}.sr-grades .sr-year-summary th:first-child{grid-column:1/-1;width:100%;min-width:0;padding:14px;border-bottom:1px solid #edf1ee}.sr-grades .sr-year-summary td{border:0;padding:12px 4px}.sr-grades .sr-year-summary .sr-capture{padding:8px 14px}.sr-report-tabs{width:100%}.sr-report-tabs button{flex:1}.sr-grades .sr-subject-summary th:first-child{line-height:1.6}}
