/* Public form */
.pep-wrap{max-width:520px;margin:0 auto;border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff}
.pep-wrap h2{text-align:center;margin:0 0 8px}
#pep-clock{font-size:28px;text-align:center;margin-bottom:12px;font-variant-numeric:tabular-nums}
.pep-wrap label{display:block;margin-top:8px;color:#334155}
.pep-wrap input,.pep-wrap select{width:100%;padding:8px;margin-top:4px;border:1px solid #cbd5e1;border-radius:8px}
.pep-wrap .msg{margin-top:8px}
.pep-wrap .msg.ok{color:#065f46}
.pep-wrap .msg.err{color:#b91c1c}

/* Manager dashboard */
.pep-dash{max-width:1100px;margin:0 auto}
.pep-inline{display:flex;gap:8px;align-items:center;margin:0 0 12px}
.pep-grid{display:flex;gap:16px;flex-wrap:wrap}
.card{flex:1;min-width:340px;border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff}
.card .row2{display:flex;gap:8px}
.card .row2 > div{flex:1}
.card .days label{margin-right:8px}
.msg.ok{color:#065f46}
.msg.err{color:#b91c1c}
.link-danger{color:#b91c1c}
.widefat{width:100%;border-collapse:collapse}
.widefat th, .widefat td{padding:6px;border:1px solid #e5e7eb}
.widefat thead th{background:#f1f5f9}
.rep-header{margin:8px 0;padding:8px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px}
.sign{margin:6px 0 20px}
.hr{height:1px;background:#e5e7eb;margin:10px 0}
@media print{
  .print-actions, #rep-preview, #rep-export, .pep-inline, .card h3 button, .button, .row2 button { display:none !important; }
  body{ background:#fff; }
}

/* Print: isolate report only */
@media print {
  body * { visibility: hidden !important; }
  #rep-table, #rep-table * { visibility: visible !important; }
  #rep-table { position: absolute; left: 0; top: 0; width: 100%; }
}
