/* IMARIA v16.3.2 — targeted reliability/UI corrections only */
.director-dept-panel .department-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.director-dept-panel .department-check{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:#fff;font-weight:650}
.director-dept-panel .department-check input{width:16px;height:16px;margin:0;flex:0 0 16px}
.director-dept-panel .department-check:has(input:checked){border-color:var(--gold);background:rgba(212,175,55,.08)}
.director-dept-panel .director-dept-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.project-task-list{display:grid;gap:12px}
.project-task-block{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fff}
.project-task-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.inline-checklist{margin-top:12px;border-top:1px solid var(--line);padding-top:7px}
.inline-check-item{display:flex;align-items:flex-start;gap:10px;padding:9px 4px;border-bottom:1px solid #f0f2f4;font-size:13px;font-weight:550;cursor:pointer}
.inline-check-item:last-child{border-bottom:0}.inline-check-item input{width:auto;margin:2px 0 0}.inline-check-item input:checked+span{text-decoration:line-through;color:var(--slate)}
.project-task-description{white-space:pre-wrap;margin:10px 0 0;color:var(--slate)}
@media(max-width:760px){.director-dept-panel .department-check-grid{grid-template-columns:1fr}}
.cert-related-task{margin:16px 0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(11,45,79,.035)}

/* IMARIA v16.3.3 — Bulk Certification Assignment */
.cert-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px}
.cert-bulk-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.cert-recipient-grid{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 14px}
.cert-recipient-row{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid transparent;border-radius:9px;cursor:pointer;background:#fff}
.cert-recipient-row:hover{background:rgba(11,45,79,.035)}
.cert-recipient-row:has(input:checked){border-color:var(--gold);background:rgba(212,175,55,.08)}
.cert-recipient-row input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0}
.cert-recipient-row span{display:flex;flex-direction:column;gap:2px}.cert-recipient-row small{color:var(--slate);font-weight:500}
@media(max-width:760px){.cert-recipient-grid{grid-template-columns:1fr}}
