/* R9.7.20 — Rekap Kompetensi bertingkat, laporan A4 dan pratinjau mobile */
.r9720-crumb{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:4px 0 12px}
.r9720-crumb button{background:transparent;border:0;padding:4px 5px;color:#165833;text-decoration:underline;cursor:pointer;font-weight:650}
.r9720-stats{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.r9720-stats span{padding:7px 11px;background:#edf5e9;border:1px solid #dde8d7;border-radius:9px;font-size:12px}
.r9720-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.r9720-group{background:#fbfcf5;border:1px solid #d9e5d5;text-align:left;border-radius:11px;min-height:105px;padding:13px;display:flex;flex-direction:column;gap:5px;cursor:pointer;color:#173a2b}
.r9720-group:hover{border-color:#278456;background:#f0faee}.r9720-group small{color:#586b5d;font-size:12px}.r9720-group span{color:#146438;margin-top:auto;align-self:end;font-weight:700;font-size:12px}
.r9720-sub{display:block;color:#68766b}.r9720-actions{display:flex;gap:6px;white-space:nowrap}
.r9720-preview{max-height:70vh;overflow-y:auto;padding:12px;background:#fff}
.r9720-report{font-family:Arial,Helvetica,sans-serif;color:#17271e;font-size:11px;line-height:1.38;background:white;max-width:900px;margin:auto}
.r9720-head{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;text-align:center;border-bottom:2px solid #23583e;padding:9px 0 12px;margin-bottom:14px}
.r9720-head img{width:56px;height:56px;object-fit:contain}.r9720-head h1{font-family:Arial,sans-serif;font-size:17px;margin:0;font-weight:800}.r9720-head h2{font-size:12px;margin:5px 0 3px}.r9720-head p{font-size:10px;margin:0}
.r9720-report section{margin:12px 0}.r9720-report section>h3{font-size:12px;letter-spacing:.2px;background:#eef3eb;padding:6px;margin:0 0 6px}
.r9720-report .r9720-meta{width:100%;border-collapse:collapse}.r9720-report .r9720-meta td{border:0;padding:3px 6px}
/* RAPIIKAN IDENTITAS GURU DAN PERIODE PENILAIAN */

/* Struktur tabel identitas */
.r9720-report .r9720-meta {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

/* Kolom nama field */
.r9720-report .r9720-meta .r9720-label {
    width: 180px !important;
    white-space: nowrap;
    font-weight: 500;
}

/* Nilai identitas */
.r9720-report .r9720-meta td:nth-child(2) {
    text-align: left;
    padding-left: 5px;
    overflow-wrap: anywhere;
}

/* Tampilan HP */
@media (max-width: 600px) {
    .r9720-report .r9720-meta .r9720-label {
        width: 135px !important;
        white-space: normal;
    }
}

.r9720-report .r9720-scores{width:100%;border-collapse:collapse}.r9720-report .r9720-scores td,.r9720-report .r9720-scores th{border:1px solid #a9b8ad;padding:5px 6px;vertical-align:top}.r9720-report .r9720-scores th{background:#e7f0e8}
.r9720-report .r9720-section td{background:#f0f3eb;font-weight:bold}.r9720-report .r9720-scores small{display:block;font-size:9px;color:#53655c;margin-top:2px}
.r9720-total{padding:8px 10px;border:1px solid #c8d7c9;margin:8px 0}.r9720-total div{padding:2px 0}.r9720-note{font-size:9px;color:#59645f;line-height:1.55}
.r9720-legal{break-inside:avoid;page-break-inside:avoid}.r9720-signers{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;text-align:center;margin-top:15px}.r9720-signer{display:flex;flex-direction:column;align-items:center;min-width:0;font-size:10px}.r9720-signer strong{min-height:28px}.r9720-signer small{margin-top:4px}.r9720-space{height:43px}
@media(max-width:767px){.r9720-cards{grid-template-columns:1fr}.r9720-preview{padding:4px;max-height:65vh}.r9720-report{font-size:10px}.r9720-head{grid-template-columns:42px 1fr}.r9720-head img{width:40px;height:40px}.r9720-head h1{font-size:12px}.r9720-head h2{font-size:10px}.r9720-signer strong{font-size:9px}.r9720-signers{gap:6px}.r9720-report .r9720-scores td,.r9720-report .r9720-scores th{padding:3px 2px}}
@media print{@page{size:A4 portrait;margin:12mm}.r9720-report{max-width:none;font-size:10px;line-height:1.28}.r9720-report .r9720-scores tr{break-inside:avoid;page-break-inside:avoid}.r9720-preview{max-height:none;overflow:visible}.r9720-head h1{font-size:16px}}
/* Compact A4 print: align with single-sheet Lampiran I C whenever practical. */
@media print{
 @page{size:A4 portrait;margin:9mm}
 .r9720-report{font-size:9px;line-height:1.18}
 .r9720-head{padding:2px 0 6px;margin-bottom:5px;grid-template-columns:42px 1fr}
 .r9720-head img{width:39px;height:39px}.r9720-head h1{font-size:13px}.r9720-head h2{font-size:10px}
 .r9720-report section{margin:5px 0}.r9720-report section>h3{font-size:10px;margin-bottom:3px;padding:3px 5px}
 .r9720-report .r9720-meta td{padding:1px 4px}
 .r9720-report .r9720-scores td,.r9720-report .r9720-scores th{padding:2px 4px}
 .r9720-total{margin:4px 0;padding:4px 6px}.r9720-total div{padding:0}
 .r9720-note{font-size:8px;line-height:1.2;margin:4px 0}
 .r9720-signers{margin-top:5px}.r9720-space{height:30px}
}

/* R9.7.21.5 — align score values in every preview and printed A4 document. */
.r9720-report .r9720-scores thead th:first-child,
.r9720-report .r9720-scores thead th:nth-child(3),
.r9720-report .r9720-scores thead th:nth-child(4),
.r9720-report .r9720-scores thead th:nth-child(5),
.r9720-report .r9720-scores tbody tr:not(.r9720-section) > td:first-child,
.r9720-report .r9720-scores tbody tr:not(.r9720-section) > td:nth-child(3),
.r9720-report .r9720-scores tbody tr:not(.r9720-section) > td:nth-child(4),
.r9720-report .r9720-scores tbody tr:not(.r9720-section) > td:nth-child(5){
 text-align:center;
 vertical-align:middle;
 font-variant-numeric:tabular-nums;
}
/* Rata tengah No, Terisi, Capaian, dan Nilai 1–4 */
.r9720-report .r9720-scores th:nth-child(1),
.r9720-report .r9720-scores th:nth-child(3),
.r9720-report .r9720-scores th:nth-child(4),
.r9720-report .r9720-scores th:nth-child(5),

.r9720-report .r9720-scores tbody tr:not(.r9720-section) td:nth-child(1),
.r9720-report .r9720-scores tbody tr:not(.r9720-section) td:nth-child(3),
.r9720-report .r9720-scores tbody tr:not(.r9720-section) td:nth-child(4),
.r9720-report .r9720-scores tbody tr:not(.r9720-section) td:nth-child(5) {
    text-align: center !important;
    vertical-align: middle !important;
}