/* R9.7.10 — perubahan hanya untuk PKKM, bukan PKG */
body[data-route="pkkm-detail"] .r9710-score-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:9px 12px;border:1px solid #d5e6dd;border-radius:11px;background:#f5faf7}
body[data-route="pkkm-detail"] .r9710-score-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
body[data-route="pkkm-detail"] .r9710-cycle-tag{font-size:12px;color:#16653b;font-weight:650}
body[data-route="pkkm-detail"] .r9710-identity,body[data-route="pkkm-detail"] .r9710-notes{margin-top:13px}
.r9710-identity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.r9710-identity-fields label,.r9710-notes label{display:grid;gap:5px;font-size:12px;font-weight:650;min-width:0}.r9710-identity-fields .input,.r9710-notes .input{border:1.5px solid #a4c5b2!important;min-width:0}
.r9710-notes{display:grid;gap:12px}.r9710-notes-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.r9710-notes-head h3{margin:0}
@media(min-width:981px){body[data-route="pkkm-detail"] .pkkm-assessment-grid{height:min(74vh,calc(100dvh - 170px))!important;min-height:420px!important;overflow:visible!important;align-items:stretch!important;grid-template-columns:minmax(0,1fr) minmax(250px,300px)!important}body[data-route="pkkm-detail"] .pkkm-score-main{max-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable}body[data-route="pkkm-detail"] .pkkm-score-side{position:sticky!important;top:8px!important;max-height:100%!important;align-self:start!important;overflow-y:auto!important}body[data-route="pkkm-detail"] .pkkm-live-summary{position:relative!important;top:auto!important}}
@media(max-width:980px){body[data-route="pkkm-detail"] .pkkm-score-side{order:-1!important;position:sticky!important;top:60px!important;max-height:142px!important;overflow:auto!important;z-index:12!important}body[data-route="pkkm-detail"] .pkkm-assessment-grid{height:auto!important;overflow:visible!important}}
@media(max-width:600px){.r9710-identity-fields{grid-template-columns:1fr}.r9710-score-toolbar{padding:8px!important}.r9710-score-actions .btn{min-height:36px}body[data-route="pkkm-detail"] .pkkm-score-side{max-height:125px!important;top:56px!important}}
@media print{.r9710-score-toolbar,.r9710-notes button,.r9710-identity button{display:none!important}}

/* Kamad: toolbar Kembali + List/Kartu satu baris; kartu ringkas tidak mencolok */
body[data-route="pkkm-kamad"] #r979PageBack{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;min-height:42px!important;padding:2px 4px!important;margin:0 0 6px!important;background:transparent!important}
body[data-route="pkkm-kamad"] #r979PageBack .hybrid-switch{margin:0 0 0 auto!important;padding:3px!important;border:0!important;display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;flex:0 1 auto!important;background:transparent!important}
body[data-route="pkkm-kamad"] .r976-counters>div{padding:8px 10px!important;min-height:52px!important;border-radius:9px!important;box-shadow:none!important}
body[data-route="pkkm-kamad"] .r976-counters>div:nth-child(1){background:#edf6f8!important;border-color:#c7dde2!important}
body[data-route="pkkm-kamad"] .r976-counters>div:nth-child(2){background:#eff8f1!important;border-color:#cce3d1!important}
body[data-route="pkkm-kamad"] .r976-counters>div:nth-child(3){background:#faf6e9!important;border-color:#e8dfc3!important}
body[data-route="pkkm-kamad"] .r976-counters b{font-size:18px!important;line-height:1.2!important;color:#265b43!important}
body[data-route="pkkm-kamad"] .r976-counters small{font-size:11px!important;line-height:1.15!important;color:#5a6d62!important}
body[data-route="pkkm-kamad"] .r976-counters{gap:8px!important;margin:7px 0 12px!important}
@media(max-width:520px){body[data-route="pkkm-kamad"] #r979PageBack .hybrid-switch-title{display:none!important}body[data-route="pkkm-kamad"] .r976-counters{gap:5px!important}body[data-route="pkkm-kamad"] .r976-counters>div{padding:7px!important;min-height:52px!important}body[data-route="pkkm-kamad"] .r976-counters small{font-size:10px!important}body[data-route="pkkm-kamad"] .r976-counters b{font-size:16px!important}}

.r9710-status-panel{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#edf7f1;border:1px solid #d1e9da;border-radius:9px;padding:9px 12px;margin:-3px 0 10px;font-size:12px;color:#1b5836}.r9710-status-panel[hidden]{display:none!important}
