.attendance-school-view{display:block}
html body #attendanceReportsPanel .attendance-location-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
html body #attendanceReportsPanel :is(#attendanceReportCsv,#attendanceReportPrint){display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;float:none!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:46px!important;height:46px!important;margin:0!important;padding:10px 14px!important;border-radius:13px!important;font:inherit!important;font-size:13px!important;font-weight:650!important;line-height:1.35!important;white-space:nowrap!important;text-align:center;box-shadow:none!important;background:var(--theme-background,#fff)!important;color:var(--theme-font,#24364c)!important;border:1px solid color-mix(in srgb,var(--theme-font,#24364c) 14%,transparent)!important}
html body #attendanceReportsPanel :is(#attendanceReportCsv,#attendanceReportPrint):disabled{opacity:.5;cursor:default}
html body #attendanceReportStatus:empty{display:none}

 
 html body #attendanceReportsPanel .attendance-report-panel{padding:16px!important}
 html body #attendanceReportsPanel .attendance-aggregate-table{display:none!important}
 html body .attendance-school-view{display:block;margin-top:18px;--school-line:color-mix(in srgb,var(--theme-font,#24364c) 12%,transparent);--school-soft:color-mix(in srgb,var(--theme-button,#315f9f) 6%,var(--theme-background,#fff));--school-bg:var(--theme-background,#fff);color:var(--theme-font,#24364c)}
 html body .school-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0}
 html body .school-heading h3{margin:3px 0 5px;font-size:18px}html body .school-heading small{font-size:12px;color:inherit;opacity:.75}
 html body .school-month-label{min-width:0;max-width:45%;font-size:11px}html body .school-month-label[hidden]{display:none!important}
 html body .school-scroll-note{display:flex;justify-content:space-between;gap:12px;font-size:10px;line-height:1.5;margin-bottom:12px;opacity:.8}
 html body .school-table-scroll{overflow:auto;border:1px solid var(--school-line);border-radius:15px;scrollbar-width:thin}
 html body .school-table-scroll table{width:max-content!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;margin:0!important;font-variant-numeric:tabular-nums}
 html body .school-table-scroll :is(th,td){display:table-cell!important;min-width:44px;width:44px;max-width:none!important;height:58px!important;padding:0!important;text-align:center!important;border:0!important;border-right:1px solid var(--school-line)!important;border-bottom:1px solid var(--school-line)!important;background:var(--school-bg)!important;white-space:normal!important}
 html body .school-table-scroll thead{display:table-header-group!important}html body .school-table-scroll tr{display:table-row!important;border:0!important;padding:0!important;box-shadow:none!important;background:none!important}html body .school-table-scroll td:before{display:none!important}
 html body .school-table-scroll thead th{font-size:12px;background:var(--school-soft)!important}html body .school-table-scroll th small{display:block;font-size:10px;font-weight:400;margin-top:4px;line-height:1.4}
 html body .school-table-scroll .school-name{position:sticky!important;left:0!important;z-index:2;min-width:124px!important;width:124px!important;max-width:124px!important;padding:10px 12px!important;text-align:left!important;overflow-wrap:anywhere}
 html body .school-name strong{font-size:12px;font-weight:600}
 html body .school-table-scroll :is(th,td).school-holiday{background:color-mix(in srgb,#c54552 8%,var(--school-bg))!important}html body .school-table-scroll th.school-holiday{color:#b74750!important}
 html body .school-table-scroll :is(th,td).school-collective{background:color-mix(in srgb,#bc8a27 9%,var(--school-bg))!important}
 html body .school-table-scroll td>button{display:grid!important;place-items:center;width:44px!important;min-width:44px!important;min-height:57px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;cursor:pointer}
 html body .school-table-scroll td>button[aria-pressed=true]{outline:2px solid var(--theme-button,#315f9f);outline-offset:-3px}
 html body .attendance-school-view [data-status]{display:inline-grid;place-items:center;min-width:25px;min-height:28px;padding:3px 6px;border-radius:7px;font-size:11px;font-weight:600;background:var(--school-soft)}
 html body .attendance-school-view [data-status=Hadir]{background:#e5f2e8;color:#287344}html body .attendance-school-view [data-status=Izin]{background:#fff2d9;color:#946417}html body .attendance-school-view [data-status=Sakit]{background:#eaf0fb;color:#426ab1}html body .attendance-school-view [data-status=Alpa]{background:#fde7e8;color:#b74750}html body .attendance-school-view [data-status=Libur]{background:transparent;color:#b74750}
 html body .school-legend{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 8px}html body .school-legend>span{display:flex;align-items:center;gap:5px;font-size:11px}
 html body :is(.school-empty-note,.school-calendar-note){font-size:11px;line-height:1.65;opacity:.8}
 html body .school-day-detail{margin:18px 0;padding:16px;border:1px solid var(--school-line);border-radius:15px;background:var(--school-soft)}html body .school-day-detail[hidden]{display:none!important}
 html body .school-day-detail header{display:flex;justify-content:space-between;align-items:center;gap:10px}html body .school-day-detail header small{display:block;font-size:11px;margin-top:5px}html body .school-day-detail p{font-size:12px;margin:12px 0 0}
 html body .school-day-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:14px;margin-top:14px;border-top:1px solid var(--school-line)}html body .school-day-times>div{display:grid;gap:5px}html body .school-day-times small{font-size:10px}
 html body .school-holidays{border:1px solid var(--school-line);border-radius:14px;padding:14px;margin:18px 0}html body .school-holidays summary{font-size:13px;font-weight:600;cursor:pointer}html body .school-holidays>div>button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;text-align:left;border:0;border-top:1px solid var(--school-line);background:none;color:inherit;border-radius:0;margin-top:12px;padding:12px 0}html body .school-holidays button>b{color:#b74750}html body .school-holidays small{display:block;margin-top:3px;font-size:10px}html body .school-holidays p{font-size:12px;line-height:1.7}


@media(max-width:700px){html body #attendanceReportsPanel .attendance-note,html body #attendanceReportStatus:has(.attendance-report-metric),html body #attendanceReportsPanel .attendance-history-heading>div:first-child{display:none!important}html body #attendanceReportsPanel .attendance-location-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}html body #attendanceReportsPanel .attendance-history-heading{padding:0;margin-bottom:10px}html body .attendance-school-view{margin-top:8px}html body .attendance-school-view [data-status=""]{background:transparent}}

/* A compact attendance book with balanced export actions. */
@media(max-width:700px){
 html body #attendanceReportsPanel .attendance-report-panel{padding:14px!important;border-radius:20px!important;overflow:hidden}
 html body #attendanceReportsPanel .attendance-history-heading{display:block!important;padding:0!important;margin:0 0 16px!important;border:0!important}
 html body #attendanceReportsPanel .attendance-location-actions{width:100%!important;min-width:0;gap:10px!important;margin:0!important;padding:0!important}
 html body #attendanceReportsPanel :is(#attendanceReportCsv,#attendanceReportPrint){height:46px!important;min-height:46px!important;font-size:12px!important}
 html body .attendance-school-view{margin-top:22px!important}
 html body .school-heading{padding:0!important;margin:0 0 16px;align-items:flex-start;gap:12px}
 html body .school-heading .eyebrow{font-size:10px;letter-spacing:.08em}
 html body .school-heading h3{font-size:19px;line-height:1.4;margin:6px 0!important;font-family:inherit}
 html body .school-heading small{font-size:12px;line-height:1.5}
 html body .school-scroll-note{display:flex;flex-wrap:wrap;gap:5px 12px;margin:0 0 12px!important;font-size:10px;line-height:1.6}
 html body .school-scroll-note>span:last-child{margin-left:auto;white-space:nowrap;color:var(--theme-button,#315f9f);font-weight:600}
 html body .school-table-scroll{border-radius:14px;isolation:isolate;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--theme-font,#24364c) 25%,transparent) transparent}
 html body .school-table-scroll table{min-width:0!important;width:max-content!important;font-family:inherit;line-height:1.4}
 html body .school-table-scroll :is(th,td){height:54px!important;vertical-align:middle!important;font-size:12px!important;font-weight:500;text-transform:none!important;letter-spacing:normal!important}
 html body .school-table-scroll thead th{height:58px!important;font-weight:700!important;background:var(--school-soft)!important;color:inherit}
 html body .school-table-scroll th small{font-size:10px!important;margin-top:4px;opacity:.7;text-transform:none!important;letter-spacing:normal!important}
 html body .school-table-scroll .school-name{min-width:112px!important;width:112px!important;max-width:112px!important;padding:10px!important;background:var(--school-bg)!important;border-right:1px solid var(--school-line)!important;box-shadow:3px 0 7px #00000004}
 html body .school-table-scroll thead .school-name{font-size:10px!important;font-weight:700!important;background:var(--school-soft)!important}
 html body .school-table-scroll .school-name strong{display:block;font-size:11px!important;font-weight:650!important;line-height:1.5;text-transform:none!important;letter-spacing:normal!important}
 html body .school-table-scroll tbody .school-name small{font-size:10px!important;font-weight:400;opacity:.6}
 html body .school-table-scroll td>button{width:44px!important;min-width:44px!important;height:53px!important;min-height:53px!important;max-height:53px!important;padding:0!important;transform:none!important;animation:none!important;opacity:1!important;outline:0}
 html body .school-table-scroll td>button[aria-pressed=true]{outline:0!important;box-shadow:inset 0 0 0 2px var(--theme-button,#315f9f)!important;background:color-mix(in srgb,var(--theme-button,#315f9f) 9%,transparent)!important}
 html body .school-table-scroll td>button:focus-visible{outline:2px solid var(--theme-button,#315f9f);outline-offset:-3px}
 html body .school-table-scroll [data-status=""]{color:var(--theme-font,#24364c);opacity:.4;font-weight:400;background:transparent}
 html body .school-legend{gap:8px 12px;margin:16px 0 10px!important}
 html body .school-legend>span{font-size:11px;gap:5px}
 html body .school-legend [data-status]{min-width:24px;min-height:27px;border-radius:7px;padding:3px 5px}
 html body .school-empty-note{margin:0 0 18px;font-size:11px;line-height:1.7}
 html body .school-day-detail{margin:18px 0!important;padding:16px;border-radius:15px}
 html body .school-day-detail header{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin:0;padding:0}
 html body .school-day-detail header>div{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}
 html body .school-day-detail header strong{font-size:13px;line-height:1.5}
 html body .school-day-detail header small{font-size:10px;line-height:1.6}
 html body .school-day-detail header>[data-status]{font-size:10px;min-height:26px;max-width:100%;white-space:normal}
 html body .school-day-times{gap:8px;padding-top:14px;margin-top:14px}
 html body .school-day-times>div{min-width:0;gap:6px}
 html body .school-day-times small{font-size:10px;line-height:1.5}
 html body .school-day-times strong{font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
}
@media(min-width:701px){
 html body #attendanceReportsPanel .attendance-location-actions{width:300px;max-width:100%}
 html body #attendanceReportsPanel .attendance-report-panel{padding:24px!important}
 html body .school-heading{padding:16px 0;margin-top:8px}
 html body .school-table-scroll{max-height:65dvh;overflow:auto;isolation:isolate}
 html body .school-table-scroll table{min-width:100%!important}
 html body .school-table-scroll thead th{position:sticky;top:0;z-index:3}
 html body .school-table-scroll thead .school-name{z-index:4}
 html body .school-table-scroll :is(th,td){height:54px!important;letter-spacing:normal!important;text-transform:none!important}
 html body .school-table-scroll .school-name{min-width:160px!important;width:160px!important;max-width:160px!important;background:var(--school-bg)!important}
 html body .school-table-scroll thead .school-name{background:var(--school-soft)!important}
 html body .school-table-scroll td>button{width:100%!important;min-width:44px!important;min-height:53px!important;height:53px!important;outline:0;animation:none!important;transform:none!important;opacity:1!important}
 html body .school-table-scroll td>button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--theme-button,#315f9f)!important;outline:0!important;background:color-mix(in srgb,var(--theme-button,#315f9f) 9%,transparent)!important}
 html body .school-table-scroll td>button:focus-visible{outline:2px solid var(--theme-button,#315f9f);outline-offset:-3px}
 html body .school-table-scroll [data-status=""]{opacity:.4}
 html body .school-day-detail{max-width:720px;margin:22px 0}
 html body .school-day-detail header{margin:0;padding:0}
 html body .school-legend{gap:10px 18px;margin-top:18px}
}
html body .attendance-school-view [data-status=""]{background:transparent}
