.seri-rph-wrap,
.seri-rph-admin {
  font-family: inherit;
}
.seri-rph-hero {
  background: linear-gradient(135deg, #f6f7fb, #ffffff);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  margin: 0 0 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.seri-rph-hero h2 { margin: 0 0 8px; font-size: 28px; }
.seri-rph-hero p { margin: 0; color: #475569; }
.seri-rph-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.seri-rph-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.seri-rph-card strong { display: block; font-size: 30px; line-height: 1; margin-bottom: 8px; }
.seri-rph-card span { color: #64748b; font-size: 14px; }
.seri-rph-box,
.seri-rph-alert {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
}
.seri-rph-alert.success { border-color: #86efac; background: #f0fdf4; }
.seri-rph-alert.error { border-color: #fca5a5; background: #fef2f2; }
.seri-rph-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.seri-rph-button,
.seri-rph-form button.seri-rph-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #fff !important;
  padding: 11px 16px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.seri-rph-button.secondary { background: #475569; }
.seri-rph-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.seri-rph-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.seri-rph-form label { display: block; font-weight: 600; margin-bottom: 14px; }
.seri-rph-form input,
.seri-rph-form select,
.seri-rph-form textarea {
  width: 100%;
  display: block;
  margin-top: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}
.seri-rph-table-wrap { overflow-x: auto; margin: 16px 0; }
.seri-rph-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
.seri-rph-table th,
.seri-rph-table td { padding: 12px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.seri-rph-table th { background: #f8fafc; font-weight: 700; }
.seri-rph-status { display: inline-block; border-radius: 999px; background: #eef2ff; padding: 5px 10px; font-size: 13px; }
@media (max-width: 760px) {
  .seri-rph-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seri-rph-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .seri-rph-cards { grid-template-columns: 1fr; }
}
.seri-rph-button.small { padding: 6px 10px; border-radius: 9px; font-size: 13px; margin: 2px; }
.seri-rph-button.print { background: #065f46; }
.seri-rph-inline-review { margin-top: 8px; display: grid; gap: 6px; min-width: 220px; }
.seri-rph-inline-review textarea { width: 100%; min-height: 54px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 8px; }
.seri-rph-print-header { text-align: center; margin: 0 0 18px; }
.seri-rph-print-header h2, .seri-rph-print-header h3 { margin: 4px 0; }
.seri-rph-print-table { width: 100%; border-collapse: collapse; background: #fff; }
.seri-rph-print-table th, .seri-rph-print-table td { border: 1px solid #111827; padding: 10px; vertical-align: top; text-align: left; }
.seri-rph-print-table th { width: 30%; background: #f8fafc; }
@media print {
  body * { visibility: hidden !important; }
  .seri-rph-print-area, .seri-rph-print-area * { visibility: visible !important; }
  .seri-rph-print-area { position: absolute; left: 0; top: 0; width: 100%; color: #000; }
  .no-print, .no-print * { display: none !important; }
  .seri-rph-print-table th, .seri-rph-print-table td { border: 1px solid #000; }
}
.seri-rph-section { border: 1px solid #eef2f7; border-radius: 16px; padding: 16px; margin: 14px 0; background: #fcfcfd; }
.seri-rph-section h3 { margin-top: 0; }
.seri-rph-helper { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 10px 12px; margin: 10px 0 14px; color: #1e3a8a; }
.seri-rph-choice-bank { max-height: 260px; overflow-y: auto; border: 1px solid #e5e7eb; background: #fff; border-radius: 14px; padding: 10px; margin-bottom: 10px; }
.seri-rph-choice { display: block; padding: 9px 10px; border-bottom: 1px solid #f1f5f9; font-weight: 500 !important; }
.seri-rph-choice:last-child { border-bottom: 0; }
.seri-rph-choice input { display: inline-block; width: auto; margin-right: 7px; }
.seri-rph-choice small { display: block; color: #64748b; margin: 4px 0 0 24px; }
.seri-rph-alert.warning { border-color: #fde68a; background: #fffbeb; }
.seri-rph-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px; margin: 14px 0; }
.seri-rph-filter label { font-weight: 600; }
.seri-rph-filter input, .seri-rph-filter select { display: block; min-width: 180px; margin-top: 5px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 8px; }
.seri-rph-status.draft { background: #f1f5f9; }
.seri-rph-status.dihantar-untuk-semakan { background: #dbeafe; }
.seri-rph-status.perlu-pembetulan { background: #ffedd5; }
.seri-rph-status.diluluskan { background: #dcfce7; }
