/* Plant daily checks (MCWP / MEWP) */
.pc-warn {
    border-left: 4px solid #b91c1c;
    background: #fef2f2;
    color: #7f1d1d;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.pc-competency {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}
.pc-competency.ok { background: #dcfce7; color: #166534; }
.pc-competency.blocked { background: #fee2e2; color: #991b1b; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pc-table th {
    text-align: left;
    background: #0c1248;
    color: #fff;
    padding: 8px 6px;
    font-weight: 600;
}
.pc-table td { border-bottom: 1px solid #e2e8f0; padding: 6px; vertical-align: top; }
.pc-table tr:nth-child(even) td { background: #f8fafc; }
.pc-num { width: 2rem; color: #64748b; font-weight: 700; }
.pc-cat { width: 8rem; color: #475569; font-size: 0.8rem; }
.pc-ans-cell { white-space: nowrap; width: 7.5rem; }
body[data-plant-kind="pasma"] .pc-ans-cell { width: 11.5rem; }
.pc-ans {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 6px;
    padding: 4px 10px;
    margin-right: 4px;
    cursor: pointer;
    font-weight: 600;
}
.pc-ans.active.yes { background: #dcfce7; border-color: #86efac; color: #166534; }
.pc-ans.active.no { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.pc-ans.active.na { background: #e2e8f0; border-color: #94a3b8; color: #475569; }
.pc-comment { width: 100%; min-width: 8rem; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 6px; }
.pc-locked { opacity: 0.55; pointer-events: none; }
.pc-lock-hint { color: #991b1b; font-weight: 600; font-size: 0.85rem; margin: 8px 0; }
.pc-verdict {
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    background: #f1f5f9;
    color: #334155;
}
.pc-verdict.ok { background: #dcfce7; color: #166534; }
.pc-verdict.bad { background: #fee2e2; color: #991b1b; }
.pc-progress { margin-left: 10px; color: #64748b; font-size: 0.85rem; }
.pc-ro { background: #f8fafc; }

.pc-sign-as {
    margin: 0 0 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}
.pc-sign-as.has-name { color: #0f172a; }
.pc-sig-wrap #sigPad {
    display: block;
    width: 100%;
    max-width: 640px;
    height: 160px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    touch-action: none;
    cursor: crosshair;
}
.pc-sig-done {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    border-radius: 8px;
    padding: 10px 12px;
}
.pc-sig-done img {
    display: block;
    max-width: 320px;
    max-height: 100px;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}
