/* ==========================================================================
   PAFNS Portal Keahlian — sistem reka bentuk
   Langit malam (navy) + emas hilal, kertas sejuk, Plex Sans + Source Serif.
   Semua gaya diskop kepada .pp-body / .pp-embed supaya tidak mengganggu tema.
   ========================================================================== */

:root {
	--pp-night: #0b1f3a;
	--pp-night-2: #12305a;
	--pp-blue: #1e4e8c;
	--pp-blue-2: #2a64ad;
	--pp-gold: #c9a24b;
	--pp-gold-2: #e4c578;
	--pp-gold-soft: #f6efdc;
	--pp-paper: #f4f6f9;
	--pp-card: #ffffff;
	--pp-line: #dde3ec;
	--pp-line-2: #eef1f6;
	--pp-ink: #142033;
	--pp-muted: #5a6b82;
	--pp-ok: #157a55;
	--pp-ok-soft: #e3f3ec;
	--pp-bad: #b4232c;
	--pp-bad-soft: #fbe9ea;
	--pp-warn: #9a6210;
	--pp-warn-soft: #fbf1df;
	--pp-info-soft: #e8f0fa;
	--pp-r-lg: 14px;
	--pp-r: 10px;
	--pp-r-sm: 7px;
	--pp-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pp-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--pp-shadow: 0 1px 2px rgba(11, 31, 58, .05), 0 6px 18px rgba(11, 31, 58, .05);
	--pp-side-w: 268px;
}

/* ---------- Asas ---------- */
.pp-body, .pp-embed { font-family: var(--pp-sans); color: var(--pp-ink); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.pp-body *, .pp-body *::before, .pp-body *::after, .pp-embed *, .pp-embed *::before, .pp-embed *::after { box-sizing: border-box; }
.pp-body { margin: 0; min-height: 100vh; background: var(--pp-paper); }
.pp-body a { color: var(--pp-blue); text-decoration: none; }
.pp-body a:hover { text-decoration: underline; }
.pp-body img { max-width: 100%; }
.pp-body h1, .pp-body h2, .pp-body h3, .pp-body h4 { margin: 0; color: var(--pp-ink); line-height: 1.25; }
.pp-body p { margin: 0 0 10px; }
.pp-body code { font-family: var(--pp-sans); font-feature-settings: "tnum"; font-size: 13px; font-weight: 600; color: var(--pp-night-2); background: var(--pp-line-2); padding: 2px 6px; border-radius: 5px; }
.pp-body :focus-visible { outline: 3px solid rgba(201, 162, 75, .55); outline-offset: 2px; }
.pp-i { flex: 0 0 auto; vertical-align: middle; }
.pp-muted { color: var(--pp-muted); }
.pp-help { display: block; margin-top: 5px; color: var(--pp-muted); font-size: 12.5px; line-height: 1.45; }
.pp-small { font-size: 12.5px; }
.pp-r, .pp-table .pp-r { text-align: right; }
.pp-eyebrow { display: block; color: var(--pp-gold); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .pp-body *, .pp-body *::before { animation: none !important; transition: none !important; } }

/* ---------- Butang ---------- */
.pp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--pp-r); font: 600 14px/1 var(--pp-sans); cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.pp-btn .pp-i { width: 18px; height: 18px; }
.pp-btn--primary { background: var(--pp-blue); color: #fff !important; }
.pp-btn--primary:hover { background: var(--pp-night-2); }
.pp-btn--navy { background: var(--pp-night); color: #fff !important; }
.pp-btn--navy:hover { background: var(--pp-night-2); }
.pp-btn--gold { background: var(--pp-gold); color: var(--pp-night) !important; }
.pp-btn--gold:hover { background: var(--pp-gold-2); }
.pp-btn--ghost { background: #fff; border-color: var(--pp-line); color: var(--pp-ink) !important; }
.pp-btn--ghost:hover { border-color: var(--pp-blue); color: var(--pp-blue) !important; }
.pp-btn--light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #fff !important; }
.pp-btn--light:hover { background: rgba(255, 255, 255, .2); }
.pp-btn--danger { background: #fff; border-color: #efc4c7; color: var(--pp-bad) !important; }
.pp-btn--danger:hover { background: var(--pp-bad-soft); }
.pp-btn--link { min-height: 0; padding: 0; background: none; color: var(--pp-blue) !important; font-size: 13px; }
.pp-btn--link:hover { text-decoration: underline !important; }
.pp-btn--sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: var(--pp-r-sm); }
.pp-btn--sm .pp-i { width: 16px; height: 16px; }
.pp-btn--lg { min-height: 52px; padding: 0 24px; font-size: 15px; }
.pp-btn--block { display: flex; width: 100%; }
.pp-btn--icon { width: 34px; padding: 0; }
.pp-btn--icon span:empty { display: none; }
.pp-btn[disabled] { opacity: .6; cursor: not-allowed; }
.pp-link-btn { padding: 0; border: 0; background: none; color: var(--pp-blue); font: 600 13px var(--pp-sans); cursor: pointer; }
.pp-link-btn:hover { text-decoration: underline; }
.pp-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-sm); background: #fff; color: var(--pp-muted); cursor: pointer; }
.pp-icon-btn:hover { color: var(--pp-bad); border-color: #efc4c7; }

/* ---------- Borang ---------- */
.pp-form { margin: 0; }
.pp-field { margin: 0 0 16px; min-width: 0; }
.pp-field > label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--pp-ink); }
.pp-field > label b { color: var(--pp-bad); font-weight: 600; }
.pp-body input[type=text], .pp-body input[type=email], .pp-body input[type=tel], .pp-body input[type=password], .pp-body input[type=number], .pp-body input[type=date], .pp-body input[type=time], .pp-body input[type=datetime-local], .pp-body input[type=search], .pp-body select, .pp-body textarea,
.pp-embed input[type=text], .pp-embed input[type=search] {
	width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid #cfd7e3; border-radius: var(--pp-r-sm); background: #fff; color: var(--pp-ink); font: 400 15px/1.4 var(--pp-sans); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.pp-body select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235a6b82' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.pp-body textarea { min-height: 90px; resize: vertical; }
.pp-body input:focus, .pp-body select:focus, .pp-body textarea:focus, .pp-embed input:focus { outline: none; border-color: var(--pp-blue); box-shadow: 0 0 0 3px rgba(30, 78, 140, .14); }
.pp-body input[disabled] { background: var(--pp-line-2); color: var(--pp-muted); }
.pp-body input[type=color] { width: 64px; height: 44px; padding: 4px; border: 1px solid #cfd7e3; border-radius: var(--pp-r-sm); background: #fff; }
.pp-body input[type=file] { width: 100%; font: 400 13px var(--pp-sans); color: var(--pp-muted); }
.pp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pp-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-row--between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -2px 0 18px; font-size: 14px; }
.pp-check { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.pp-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pp-blue); }
.pp-check--sm { font-size: 12.5px; }
.pp-field > label.pp-check { display: inline-flex; margin: 12px 0 0; font-weight: 400; font-size: 14px; }
.pp-check--sm input { width: 15px; height: 15px; }
.pp-narrow { max-width: 460px; }
.pp-formbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.pp-formbar--sticky { position: sticky; bottom: 0; z-index: 5; padding: 14px 0; background: linear-gradient(rgba(244, 246, 249, 0), var(--pp-paper) 35%); }
.pp-pass { position: relative; }
.pp-pass input { padding-right: 48px; }
.pp-pass button { position: absolute; top: 0; right: 0; width: 46px; height: 44px; border: 0; background: none; color: var(--pp-muted); cursor: pointer; }
.pp-file { position: relative; overflow: hidden; }
.pp-file input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Makluman / lencana ---------- */
.pp-alert { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 13px 16px; border: 1px solid; border-radius: var(--pp-r); font-size: 14px; line-height: 1.5; }
.pp-alert .pp-i { margin-top: 1px; }
.pp-alert a { font-weight: 600; }
.pp-alert--success { background: var(--pp-ok-soft); border-color: #bfe2d2; color: #0f5a3f; }
.pp-alert--error { background: var(--pp-bad-soft); border-color: #f1c6c9; color: #8c1b22; }
.pp-alert--warn { background: var(--pp-warn-soft); border-color: #f0dbb2; color: #7a4d0c; }
.pp-alert--info { background: var(--pp-info-soft); border-color: #cddcf0; color: #1d3f6d; }

.pp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; background: var(--pp-line-2); color: var(--pp-muted); }
.pp-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pp-badge--aktif, .pp-badge--st-disahkan, .pp-badge--st-selesai, .pp-badge--pay-dibayar, .pp-badge--prog-buka, .pp-badge--cer-disahkan, .pp-badge--res-nampak { background: var(--pp-ok-soft); color: var(--pp-ok); }
.pp-badge--tamat, .pp-badge--gantung, .pp-badge--st-batal, .pp-badge--pay-batal, .pp-badge--cer-ditolak { background: var(--pp-bad-soft); color: var(--pp-bad); }
.pp-badge--belum_bayar, .pp-badge--menunggu, .pp-badge--pay-belum, .pp-badge--st-baru, .pp-badge--cer-baru, .pp-badge--res-awan { background: var(--pp-warn-soft); color: var(--pp-warn); }
.pp-badge--st-proses, .pp-badge--prog-tutup, .pp-badge--res-tidak { background: var(--pp-info-soft); color: var(--pp-blue); }
.pp-badge--pay-percuma, .pp-badge--prog-selesai { background: var(--pp-gold-soft); color: #7b5c16; }
.pp-badge--audit-login, .pp-badge--audit-logout { background: var(--pp-info-soft); color: var(--pp-blue); }
.pp-badge--audit-aktif, .pp-badge--audit-bayaran { background: var(--pp-ok-soft); color: var(--pp-ok); }
.pp-badge--audit-login_gagal, .pp-badge--audit-bayaran_batal { background: var(--pp-bad-soft); color: var(--pp-bad); }
.pp-table--audit .pp-audit-device { min-width: 150px; max-width: 220px; line-height: 1.4; }
.pp-table--audit .pp-audit-loc { min-width: 120px; max-width: 190px; line-height: 1.4; }
.pp-table--audit td[data-label="IP"] { white-space: nowrap; }
.pp-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border: 1px solid var(--pp-line); border-radius: 999px; background: #fff; color: var(--pp-muted); font-size: 12px; font-weight: 500; }
.pp-pill .pp-i { width: 13px; height: 13px; }
.pp-pill--gold { border-color: #ead9ae; background: var(--pp-gold-soft); color: #7b5c16; }

/* ---------- Kad & grid ---------- */
.pp-card { margin: 0 0 20px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: var(--pp-card); box-shadow: var(--pp-shadow); min-width: 0; }
.pp-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--pp-line-2); }
.pp-card__head h2 { font-family: var(--pp-serif); font-size: 18px; font-weight: 600; }
.pp-card__actions { display: flex; gap: 8px; }
.pp-card__body { padding: 20px; }
.pp-card--muted { background: #fafbfd; box-shadow: none; }
.pp-card--head .pp-card__body { padding: 22px 24px; }
.pp-grid { display: grid; gap: 20px; margin-bottom: 0; }
.pp-grid > .pp-card, .pp-grid > div > .pp-card:last-child { margin-bottom: 0; }
.pp-grid > div > .pp-card { margin-bottom: 20px; }
.pp-grid + .pp-grid, .pp-grid + .pp-card, .pp-card + .pp-grid, .pp-actbar + .pp-card, .pp-grid + .pp-actbar, .pp-cta + .pp-home, .pp-home + .pp-grid { margin-top: 20px; }
.pp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pp-grid--side { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.pp-grid--detail { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); align-items: start; }
.pp-grid--member { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }

.pp-stat { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 16px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; box-shadow: var(--pp-shadow); color: var(--pp-ink) !important; text-decoration: none !important; overflow: hidden; }
.pp-stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pp-night); }
.pp-stat--gold::before { background: var(--pp-gold); }
.pp-stat--green::before { background: var(--pp-ok); }
.pp-stat--red::before { background: var(--pp-bad); }
.pp-stat--blue::before { background: var(--pp-blue-2); }
a.pp-stat:hover { border-color: #c4cfde; }
.pp-stat--grey::before { background: #6b7a8f; }
.pp-stat__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-stat__pair a { display: flex; flex-direction: column; gap: 2px; color: var(--pp-ink) !important; text-decoration: none !important; border-radius: 8px; }
.pp-stat__pair a + a { padding-left: 10px; border-left: 1px solid var(--pp-line); }
.pp-stat__pair a:hover .pp-stat__note { color: var(--pp-ink); text-decoration: underline; }
.pp-stat__icon { position: absolute; top: 16px; right: 16px; color: #b3bfcf; }
.pp-stat__label { color: var(--pp-muted); font-size: 13px; font-weight: 500; }
.pp-stat__value { font-family: var(--pp-serif); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; font-feature-settings: "tnum", "lnum"; }
.pp-stat__note { color: var(--pp-muted); font-size: 12.5px; }

.pp-dl { margin: 0; display: grid; gap: 0; }
.pp-dl > div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--pp-line-2); }
.pp-dl > div:last-child { border-bottom: 0; }
.pp-dl dt { color: var(--pp-muted); font-size: 13px; }
.pp-dl dd { margin: 0; font-weight: 600; font-size: 14px; word-break: break-word; }

.pp-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 16px; color: var(--pp-muted); }
.pp-empty .pp-i { width: 30px; height: 30px; color: #b3bfcf; margin-bottom: 4px; }
.pp-empty strong { color: var(--pp-ink); font-size: 15px; }
.pp-empty p { max-width: 420px; font-size: 13.5px; margin: 0; }

.pp-avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: var(--pp-line-2); }
.pp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-avatar--initials { background: #e3e9f2; color: var(--pp-night-2); font-weight: 700; letter-spacing: .02em; }

/* ---------- Jadual ---------- */
.pp-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-table th { padding: 10px 12px; border-bottom: 1px solid var(--pp-line); color: var(--pp-muted); font-size: 12.5px; font-weight: 600; text-align: left; white-space: nowrap; background: #fafbfd; }
.pp-table td { padding: 12px; border-bottom: 1px solid var(--pp-line-2); vertical-align: top; }
.pp-table tr:last-child td { border-bottom: 0; }
.pp-table tbody tr:hover td { background: #fafbfd; }
.pp-table td small { display: block; margin-top: 3px; color: var(--pp-muted); font-size: 12.5px; }
.pp-table td strong { font-weight: 600; }
.pp-table tr.is-void td { opacity: .55; text-decoration: line-through; text-decoration-color: rgba(180, 35, 44, .5); }
.pp-table tr.is-legacy td { background: #fbfaf5; }
.pp-card__body > .pp-table-wrap { margin: 0 -20px; width: calc(100% + 40px); }
.pp-card__body > .pp-table-wrap .pp-table th:first-child, .pp-card__body > .pp-table-wrap .pp-table td:first-child { padding-left: 20px; }
.pp-card__body > .pp-table-wrap .pp-table th:last-child, .pp-card__body > .pp-table-wrap .pp-table td:last-child { padding-right: 20px; }
.pp-actions { white-space: nowrap; text-align: right; }
.pp-actions > * { vertical-align: middle; }
.pp-actions .pp-btn + .pp-btn, .pp-actions .pp-inline + .pp-btn, .pp-actions .pp-btn + .pp-inline { margin-left: 6px; }
.pp-inline { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.pp-inline select, .pp-inline input[type=text] { width: auto; min-height: 34px !important; padding-top: 5px !important; padding-bottom: 5px !important; font-size: 13px !important; }
.pp-inline--stack { flex-direction: column; align-items: flex-start; }
.pp-inline--stack input[type=text] { width: 100%; min-width: 180px; }
.pp-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--pp-line); border-radius: 50%; background: #fff; color: #b3bfcf; cursor: pointer; }
.pp-toggle.is-on { border-color: #a9d9c3; background: var(--pp-ok-soft); color: var(--pp-ok); }
.pp-person { display: flex; align-items: center; gap: 11px; color: var(--pp-ink) !important; text-decoration: none !important; }
.pp-person strong { display: block; }
.pp-person small { margin-top: 1px !important; }
.pp-person:hover strong { color: var(--pp-blue); }

/* ---------- Penapis / tab / penomboran ---------- */
.pp-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.pp-filters > input, .pp-filters > .pp-field select, .pp-filters select { width: auto !important; min-width: 150px; }
.pp-filters .pp-field { margin: 0; }
.pp-filters__q, .pp-filters > input[type=search] { flex: 1 1 260px; min-width: 220px; }
.pp-tabs { display: flex; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--pp-line); overflow-x: auto; }
.pp-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 2px solid transparent; color: var(--pp-muted); font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none !important; margin-bottom: -1px; }
.pp-tabs a.is-active { color: var(--pp-night); border-bottom-color: var(--pp-gold); }
.pp-tabs em { font-style: normal; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--pp-line-2); color: var(--pp-muted); }
.pp-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; color: var(--pp-muted); font-size: 13px; }
.pp-pager div { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-pager a { display: inline-flex; align-items: center; gap: 4px; min-width: 34px; height: 34px; padding: 0 10px; justify-content: center; border: 1px solid var(--pp-line); border-radius: var(--pp-r-sm); background: #fff; color: var(--pp-ink); font-weight: 600; text-decoration: none !important; }
.pp-pager a.is-current { background: var(--pp-night); border-color: var(--pp-night); color: #fff; }
.pp-pager .pp-i { width: 15px; height: 15px; }
.pp-actbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 20px; }
.pp-actbar form { margin: 0; }
.pp-card .pp-actbar { margin: 16px 0 0; }
.pp-sumbar { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 16px; padding: 12px 16px; border-radius: var(--pp-r); background: var(--pp-gold-soft); }
.pp-sumbar span { display: block; color: #7b5c16; font-size: 12.5px; }
.pp-sumbar b { font-family: var(--pp-serif); font-size: 20px; font-weight: 600; color: var(--pp-night); font-feature-settings: "tnum"; }

/* ---------- Senarai kecil / suapan ---------- */
.pp-mini { list-style: none; margin: 0; padding: 0; }
.pp-mini li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--pp-line-2); }
.pp-mini li:last-child { border-bottom: 0; }
.pp-mini li > a, .pp-mini li > div { flex: 1; min-width: 0; color: var(--pp-ink) !important; text-decoration: none !important; }
.pp-mini strong { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-mini span { display: block; color: var(--pp-muted); font-size: 12.5px; }
.pp-mini b { font-family: var(--pp-serif); font-weight: 600; white-space: nowrap; font-feature-settings: "tnum"; }
.pp-mini a:hover strong { color: var(--pp-blue); }
.pp-mini li.is-void { opacity: .5; }
.pp-mini .pp-mini__date, .pp-prog__date { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 52px; border-radius: var(--pp-r-sm); background: var(--pp-night); color: var(--pp-gold-2) !important; font-size: 11px; font-weight: 600; line-height: 1.1; }
.pp-mini .pp-mini__date b, .pp-prog__date b { font-family: var(--pp-serif); font-size: 20px; color: #fff; }
.pp-feed { list-style: none; margin: 0; padding: 0; }
.pp-feed li { position: relative; display: flex; gap: 12px; padding: 0 0 14px; }
.pp-feed li::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 0; width: 1px; background: var(--pp-line); }
.pp-feed li:last-child::before { display: none; }
.pp-feed__dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--pp-gold); box-shadow: 0 0 0 3px var(--pp-gold-soft); }
.pp-feed strong { display: block; font-size: 13.5px; font-weight: 500; }
.pp-feed span { color: var(--pp-muted); font-size: 12px; }
.pp-bars { list-style: none; margin: 0; padding: 0; }
.pp-bars li a { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 12px; padding: 6px 0; color: var(--pp-ink) !important; text-decoration: none !important; font-size: 13.5px; }
.pp-bars i { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--pp-blue), var(--pp-night-2)); }
.pp-bars li:first-child i { background: linear-gradient(90deg, var(--pp-gold), #b38a36); }
.pp-bars b { text-align: right; font-feature-settings: "tnum"; }
.pp-bars a:hover span { color: var(--pp-blue); }
.pp-split { display: grid; gap: 12px; }
.pp-split > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 6px; column-gap: 10px; align-items: baseline; }
.pp-split b { font-family: var(--pp-serif); font-size: 20px; font-weight: 600; font-feature-settings: "tnum"; }
.pp-split span { color: var(--pp-muted); font-size: 13px; }
.pp-split i { grid-column: 1 / -1; height: 6px; margin-top: 4px; border-radius: 999px; background: var(--pp-blue); }
.pp-split--aktif i { background: var(--pp-ok); }
.pp-split--tamat i { background: var(--pp-bad); }
.pp-split--belum_bayar i { background: var(--pp-gold); }
.pp-checks { list-style: none; margin: 0; padding: 0; }
.pp-checks li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pp-line-2); }
.pp-checks li:last-child { border-bottom: 0; }
.pp-checks li > .pp-i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; }
.pp-checks li.is-ok > .pp-i { background: var(--pp-ok-soft); color: var(--pp-ok); }
.pp-checks li.is-bad > .pp-i { background: var(--pp-warn-soft); color: var(--pp-warn); }
.pp-checks strong { display: block; font-size: 14px; }
.pp-checks span { display: block; color: var(--pp-muted); font-size: 13px; }
.pp-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pp-tools form { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border: 1px dashed var(--pp-line); border-radius: var(--pp-r); }
.pp-tools small { color: var(--pp-muted); font-size: 12.5px; }
.pp-ticks { margin: 0; padding: 0 0 0 4px; list-style: none; }
.pp-ticks li { position: relative; padding: 6px 0 6px 24px; font-size: 14px; }
.pp-ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--pp-gold); border-bottom: 2px solid var(--pp-gold); transform: rotate(-45deg); }
.pp-prose { font-size: 14.5px; line-height: 1.7; }
.pp-prose p { margin: 0 0 12px; }
.pp-prose ul, .pp-prose ol { margin: 0 0 12px; padding-left: 20px; }
.pp-month { margin: 22px 0 10px !important; font-family: var(--pp-serif); font-size: 17px !important; color: var(--pp-night-2) !important; }
.pp-month:first-child { margin-top: 0 !important; }

/* ==========================================================================
   Kerangka aplikasi (portal & konsol)
   ========================================================================== */
.pp-shell { display: flex; min-height: 100vh; }
.pp-side { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--pp-side-w); display: flex; overflow: hidden; flex-direction: column; color: #cfd9e8; background:
	radial-gradient(1px 1px at 22% 18%, rgba(255,255,255,.7), transparent 60%),
	radial-gradient(1px 1px at 68% 9%, rgba(255,255,255,.55), transparent 60%),
	radial-gradient(1.5px 1.5px at 84% 32%, rgba(255,255,255,.45), transparent 60%),
	radial-gradient(1px 1px at 12% 58%, rgba(255,255,255,.4), transparent 60%),
	radial-gradient(1px 1px at 52% 74%, rgba(255,255,255,.35), transparent 60%),
	linear-gradient(185deg, var(--pp-night) 0%, #0d2647 55%, #102d55 100%); }
.pp-side::after { content: ""; position: absolute; left: -60px; bottom: -150px; width: 300px; height: 300px; border-radius: 50%; box-shadow: inset 10px -6px 0 -2px rgba(201, 162, 75, .55); transform: rotate(-20deg); pointer-events: none; opacity: .65; }
.pp-side__brand { display: flex; align-items: center; gap: 12px; padding: 22px 20px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pp-side__logo { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; }
.pp-side__brand strong { display: block; color: #fff; font-family: var(--pp-serif); font-size: 19px; letter-spacing: .02em; }
.pp-side__brand span { display: block; color: var(--pp-gold-2); font-size: 12.5px; }
.pp-nav { flex: 1; overflow-y: auto; padding: 10px 12px 20px; position: relative; z-index: 1; }
.pp-nav__group { margin: 16px 10px 6px; color: #7f93b3; font-size: 12px; font-weight: 600; }
.pp-nav a { position: relative; display: flex; align-items: center; gap: 11px; margin: 1px 0; padding: 9px 12px; border-radius: var(--pp-r-sm); color: #cfd9e8 !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.pp-nav a .pp-i { width: 19px; height: 19px; color: #8ea3c2; }
.pp-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.pp-nav a.is-active { background: rgba(201, 162, 75, .14); color: #fff !important; }
.pp-nav a.is-active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pp-gold); }
.pp-nav a.is-active .pp-i { color: var(--pp-gold-2); }
.pp-nav__count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--pp-gold); color: var(--pp-night); font-style: normal; font-size: 11.5px; font-weight: 700; text-align: center; }
.pp-side__foot { position: relative; z-index: 1; padding: 14px 16px 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pp-side__user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-width: 0; }
.pp-side__user > div { min-width: 0; }
.pp-side__user > div > strong { display: block; overflow: hidden; color: #fff; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.pp-side__user > div > span { display: block; color: #8ea3c2; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-side__user .pp-avatar--initials { background: rgba(255, 255, 255, .14); color: #fff; }
.pp-side__logout { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--pp-r-sm); color: #cfd9e8 !important; font-size: 13.5px; text-decoration: none !important; }
.pp-side__logout:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.pp-main { flex: 1; min-width: 0; margin-left: var(--pp-side-w); display: flex; flex-direction: column; }
.pp-top { display: flex; align-items: center; gap: 16px; padding: 22px 32px 18px; background: var(--pp-paper); }
.pp-top__title { flex: 1; min-width: 0; }
.pp-top__title h1 { font-family: var(--pp-serif); font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.pp-top__title p { margin: 4px 0 0; color: var(--pp-muted); font-size: 14px; }
.pp-top__back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; color: var(--pp-muted) !important; font-size: 13px; font-weight: 500; }
.pp-top__back .pp-i { width: 16px; height: 16px; }
.pp-top__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.pp-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-sm); background: #fff; color: var(--pp-ink); cursor: pointer; align-items: center; justify-content: center; }
.pp-content { flex: 1; padding: 6px 32px 32px; max-width: 1320px; width: 100%; }
.pp-foot { padding: 18px 32px 26px; color: #8a98ac; font-size: 12.5px; }
.pp-scrim { display: none; }

/* ---------- Portal: utama ---------- */
.pp-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 20px; padding: 18px 22px; border-radius: var(--pp-r-lg); background: var(--pp-night); color: #fff; }
.pp-cta > div { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.pp-cta > div > .pp-i { width: 26px; height: 26px; margin-top: 2px; color: var(--pp-gold-2); }
.pp-cta > div > div > strong { display: block; font-family: var(--pp-serif); font-size: 18px; font-weight: 600; color: #fff; }
.pp-cta > div > div > span { display: block; margin-top: 2px; color: #c8d3e3; font-size: 14px; }
.pp-cta--gold { background: var(--pp-gold-soft); color: var(--pp-ink); border: 1px solid #ead9ae; }
.pp-cta--gold > div > div > strong { color: var(--pp-night); }
.pp-cta--gold > div > div > span { color: #6b5a33; }
.pp-cta--gold > div > .pp-i { color: #9a7424; }
.pp-cta--red { background: linear-gradient(120deg, #5a0f16, #8c1b22); }
.pp-cta--navy { background: linear-gradient(120deg, var(--pp-night), var(--pp-night-2)); }
.pp-home { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.pp-home__card { padding: 18px 18px 6px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; box-shadow: var(--pp-shadow); }
.pp-statusbox { padding: 20px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; box-shadow: var(--pp-shadow); }
.pp-statusbox__label { display: block; margin-bottom: 8px; color: var(--pp-muted); font-size: 13px; }
.pp-statusbox > .pp-badge { font-size: 14px; padding: 6px 14px; margin-bottom: 10px; }
.pp-statusbox .pp-dl { margin-bottom: 14px; }
.pp-verifybox { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--pp-r); background: var(--pp-paper); }
.pp-verifybox svg { flex: 0 0 auto; border-radius: 6px; }
.pp-verifybox strong { display: block; font-size: 14px; }
.pp-verifybox span { display: block; color: var(--pp-muted); font-size: 12.5px; line-height: 1.45; }
.pp-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.pp-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 1px solid var(--pp-line); border-radius: var(--pp-r); background: #fff; color: var(--pp-ink) !important; font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none !important; }
.pp-quick a .pp-i { color: var(--pp-blue); }
.pp-quick a:hover { border-color: var(--pp-gold); }
.pp-pay__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pp-pay__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pp-night); color: var(--pp-gold-2); font-family: var(--pp-serif); font-weight: 700; }
.pp-pay__head h2 { font-family: var(--pp-serif); font-size: 22px; font-weight: 600; }
.pp-pay__price { margin-left: auto; font-family: var(--pp-serif); font-size: 30px; font-weight: 700; color: var(--pp-night); font-feature-settings: "tnum"; }
.pp-pay > p { color: var(--pp-muted); }
.pp-pay .pp-dl { margin: 6px 0 20px; }
.pp-photo-edit { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.pp-photo-edit .pp-avatar { box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--pp-line); }

/* Pengumuman / dokumen */
.pp-notices { list-style: none; margin: 0; padding: 0; }
.pp-notices > li { padding: 16px 0; border-bottom: 1px solid var(--pp-line-2); }
.pp-notices > li:first-child { padding-top: 0; }
.pp-notices > li:last-child { border-bottom: 0; padding-bottom: 0; }
.pp-notices__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.pp-notices__meta time { color: var(--pp-muted); font-size: 12.5px; }
.pp-notices h3 { font-family: var(--pp-serif); font-size: 18px; font-weight: 600; margin-bottom: 6px !important; }
.pp-notices--compact h3 { font-family: var(--pp-sans); font-size: 14.5px; }
.pp-notices--compact p { color: var(--pp-muted); font-size: 13px; margin: 0; }
.pp-notices--compact > li { padding: 11px 0; }
.pp-docs { list-style: none; margin: 0 0 6px; padding: 0; }
.pp-docs li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--pp-line-2); }
.pp-docs li:last-child { border-bottom: 0; }
.pp-docs li > div { flex: 1; min-width: 0; }
.pp-docs strong { display: block; font-size: 14.5px; }
.pp-docs span { color: var(--pp-muted); font-size: 12.5px; }
.pp-docs p { margin: 3px 0 0; color: var(--pp-muted); font-size: 13px; }
.pp-docs__ext { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 52px; border-radius: 6px 14px 6px 6px; background: var(--pp-info-soft); color: var(--pp-blue) !important; font-size: 11px !important; font-weight: 700; }
.pp-docs li.is-locked { opacity: .65; }
.pp-reports { list-style: none; margin: 0; padding: 0; }
.pp-reports li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--pp-line-2); }
.pp-reports li:last-child { border-bottom: 0; }
.pp-reports li > div { flex: 1; min-width: 0; }
.pp-reports strong { display: block; font-size: 14px; }
.pp-reports span { display: block; color: var(--pp-muted); font-size: 12.5px; }
.pp-reports em { display: block; margin-top: 3px; color: var(--pp-blue); font-size: 12.5px; font-style: normal; }
.pp-reports__icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pp-line-2); color: var(--pp-muted); }
.pp-res-nampak { background: var(--pp-night); color: var(--pp-gold-2); }
.pp-res-awan { background: var(--pp-warn-soft); color: var(--pp-warn); }
.pp-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pp-choice { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 10px; border: 1px solid var(--pp-line); border-radius: var(--pp-r); background: #fff; font-size: 13.5px; font-weight: 600; text-align: center; cursor: pointer; }
.pp-choice input { position: absolute; opacity: 0; }
.pp-choice:has(input:checked) { border-color: var(--pp-blue); background: var(--pp-info-soft); color: var(--pp-night); box-shadow: 0 0 0 2px rgba(30, 78, 140, .15); }
.pp-choice--nampak:has(input:checked) { border-color: var(--pp-gold); background: var(--pp-gold-soft); }
.pp-choice:focus-within { outline: 3px solid rgba(201, 162, 75, .55); outline-offset: 2px; }
.pp-report-photo { display: block; max-width: 100%; margin-top: 16px; border-radius: var(--pp-r); border: 1px solid var(--pp-line); }

/* Konsol: ahli */
.pp-memberhead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pp-memberhead__main { flex: 1; min-width: 220px; }
.pp-memberhead h2 { font-family: var(--pp-serif); font-size: 24px; font-weight: 600; }
.pp-memberhead__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; color: var(--pp-muted); font-size: 13.5px; }
.pp-memberhead__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pp-memberhead__meta .pp-i { width: 16px; height: 16px; }
.pp-memberhead__status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pp-memberhead__status .pp-badge { font-size: 13.5px; padding: 6px 14px; }
.pp-memberhead__status small { color: var(--pp-muted); font-size: 12.5px; }
.pp-mini-profile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; padding: 12px 14px; border-radius: var(--pp-r); background: var(--pp-paper); }
.pp-mini-profile > div { flex: 1; min-width: 0; }
.pp-mini-profile > div > strong { display: block; font-size: 14.5px; }
.pp-mini-profile > div > span { display: block; color: var(--pp-muted); font-size: 12.5px; }
.pp-thumb { display: block; max-width: 220px; max-height: 130px; margin-bottom: 8px; border-radius: var(--pp-r-sm); border: 1px solid var(--pp-line); object-fit: cover; }
.pp-thumb--wide { max-width: 320px; }
.pp-builder__rows { display: grid; gap: 8px; margin-bottom: 12px; }
.pp-builder__row { display: grid; grid-template-columns: minmax(0, 1.3fr) 170px minmax(0, 1.3fr) auto 36px; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--pp-line-2); border-radius: var(--pp-r); background: #fafbfd; }
.pp-builder__row input, .pp-builder__row select { min-height: 38px !important; padding-top: 7px !important; padding-bottom: 7px !important; font-size: 13.5px !important; }



/* Kata laluan sementara */
.pp-newpass { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 4px 0 6px; padding: 16px 18px; border: 1px dashed #bfe2d2; border-radius: var(--pp-r); background: #f4fbf8; }
.pp-newpass > div > span { display: block; color: var(--pp-muted); font-size: 12.5px; }
.pp-newpass > div > strong { font-size: 16px; font-feature-settings: "tnum"; }
.pp-newpass__pw { font-family: var(--pp-serif); font-size: 22px !important; letter-spacing: .06em; color: var(--pp-night); user-select: all; }
.pp-pwset { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--pp-line-2); }
.pp-pwset input[name=new_pass] { font-feature-settings: "tnum"; letter-spacing: .05em; }

/* Status mod sistem */
.pp-golive { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 18px 20px; border-radius: var(--pp-r-lg); }
.pp-golive form { margin: 0; }
.pp-golive strong { display: block; font-family: var(--pp-serif); font-size: 18px; }
.pp-golive span { display: block; margin-top: 2px; font-size: 13.5px; }
.pp-golive--on { background: var(--pp-ok-soft); border: 1px solid #bfe2d2; color: #0f5a3f; }
.pp-golive--off { background: var(--pp-night); color: #fff; }
.pp-golive--off span { color: #c3cfe1; }
.pp-golive--off strong { color: var(--pp-gold-2); }

/* ==========================================================================
   Halaman log masuk / daftar
   ========================================================================== */
.pp-auth-wrap { display: grid; grid-template-columns: minmax(360px, 44%) 1fr; min-height: 100vh; }
.pp-auth-wrap--register { grid-template-columns: minmax(320px, 36%) 1fr; }
.pp-auth__hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(170deg, #081830 0%, var(--pp-night) 45%, #143561 100%); }
.pp-stars { position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(1.2px 1.2px at 12% 14%, #fff, transparent 60%), radial-gradient(1px 1px at 28% 32%, rgba(255,255,255,.7), transparent 60%),
	radial-gradient(1.6px 1.6px at 46% 12%, rgba(255,255,255,.9), transparent 60%), radial-gradient(1px 1px at 64% 26%, rgba(255,255,255,.6), transparent 60%),
	radial-gradient(1.2px 1.2px at 82% 16%, rgba(255,255,255,.8), transparent 60%), radial-gradient(1px 1px at 90% 44%, rgba(255,255,255,.5), transparent 60%),
	radial-gradient(1px 1px at 18% 56%, rgba(255,255,255,.55), transparent 60%), radial-gradient(1.4px 1.4px at 38% 70%, rgba(255,255,255,.7), transparent 60%),
	radial-gradient(1px 1px at 58% 52%, rgba(255,255,255,.45), transparent 60%), radial-gradient(1px 1px at 74% 66%, rgba(255,255,255,.5), transparent 60%),
	radial-gradient(1.2px 1.2px at 8% 82%, rgba(255,255,255,.6), transparent 60%), radial-gradient(1px 1px at 50% 88%, rgba(255,255,255,.4), transparent 60%); }
.pp-stars::after { content: ""; position: absolute; right: -38%; bottom: -34%; width: 96%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 26px -16px 0 -6px rgba(228, 197, 120, .85), inset 34px -22px 30px -8px rgba(228, 197, 120, .18); transform: rotate(-24deg); }
.pp-auth__hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 100%; max-width: 520px; margin: 0 auto; padding: 56px 48px; }
.pp-auth__logo img { width: 92px; height: 92px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.pp-auth__hero .pp-eyebrow { margin: 28px 0 8px; color: var(--pp-gold-2); font-size: 15px; }
.pp-auth__hero h1 { color: #fff; font-family: var(--pp-serif); font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
.pp-auth__hero p { margin: 16px 0 0; color: #c3cfe1; font-size: 15.5px; max-width: 420px; }
.pp-auth__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pp-auth__chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(228, 197, 120, .35); border-radius: 999px; color: #f3e6c5; font-size: 13.5px; font-weight: 500; }
.pp-auth__chips .pp-i { width: 17px; height: 17px; color: var(--pp-gold-2); }
.pp-auth__notices { display: grid; gap: 10px; margin-top: 30px; }
.pp-auth__notices div { padding: 12px 14px; border-left: 2px solid var(--pp-gold); background: rgba(255, 255, 255, .05); border-radius: 0 var(--pp-r-sm) var(--pp-r-sm) 0; }
.pp-auth__notices strong { display: block; color: #fff; font-size: 14px; }
.pp-auth__notices span { display: block; color: #aebcd2; font-size: 13px; }
.pp-auth__foot { margin-top: 40px; color: #7f93b3; font-size: 12.5px; }
.pp-auth__panel { display: flex; align-items: flex-start; justify-content: center; padding: 48px 32px; overflow-y: auto; }
.pp-auth__panel-inner { width: 100%; max-width: 460px; margin: auto 0; }
.pp-auth-wrap--register .pp-auth__panel-inner { max-width: 760px; }
.pp-auth__card { margin-bottom: 20px; padding: 30px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; box-shadow: var(--pp-shadow); }
.pp-auth__card h2 { font-family: var(--pp-serif); font-size: 26px; font-weight: 600; margin-bottom: 6px !important; }
.pp-auth__card > .pp-muted { margin-bottom: 22px; font-size: 14px; }
.pp-auth__alt { margin-top: 18px; color: var(--pp-muted); font-size: 14px; text-align: center; }
.pp-auth__alt a { font-weight: 600; }
.pp-auth__semak .pp-card__body { padding: 24px; }
.pp-reg-head { margin-bottom: 8px; }
.pp-reg-head .pp-muted { font-size: 14px; }
.pp-step { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--pp-line-2); }
.pp-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 18px; }
.pp-step > span { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--pp-night); color: var(--pp-gold-2); font-family: var(--pp-serif); font-size: 14px; font-weight: 700; }
.pp-step strong { display: block; font-size: 15px; }
.pp-step small { display: block; color: var(--pp-muted); font-size: 13px; }
.pp-photo-pick { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.pp-photo-pick__preview { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 96px; height: 120px; overflow: hidden; border: 2px dashed #cfd7e3; border-radius: var(--pp-r); background: var(--pp-paper); color: #a6b3c5; }
.pp-photo-pick__preview img { width: 100%; height: 100%; object-fit: cover; }
.pp-consent { margin: 8px 0 20px; padding: 14px 16px; border-radius: var(--pp-r); background: var(--pp-paper); font-size: 13.5px; }

/* Semak status */
.pp-semak__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.pp-semak__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--pp-night); color: var(--pp-gold-2); }
.pp-semak__head h3 { font-family: var(--pp-serif); font-size: 20px; font-weight: 600; margin: 2px 0 2px !important; color: var(--pp-ink); }
.pp-semak__head p { margin: 0; color: var(--pp-muted); font-size: 13.5px; }
.pp-semak__head .pp-eyebrow { font-size: 12.5px; }
.pp-semak__form { display: flex; gap: 10px; }
.pp-semak__form input { flex: 1; min-width: 0; font-feature-settings: "tnum"; letter-spacing: .02em; }
.pp-semak__result { margin-top: 16px; }
.pp-semak__card { padding: 16px; border: 1px solid var(--pp-line); border-radius: var(--pp-r); background: #fafbfd; }
.pp-semak__card--aktif { border-color: #bfe2d2; background: #f4fbf8; }
.pp-semak__card--tamat, .pp-semak__card--tidak_aktif { border-color: #f1c6c9; background: #fdf6f6; }
.pp-semak__name { margin-bottom: 8px; }
.pp-semak__name strong { display: block; font-size: 15px; }
.pp-semak__name span { color: var(--pp-muted); font-size: 13px; }
.pp-semak__card .pp-dl { margin-top: 10px; }
.pp-semak__none { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border-radius: var(--pp-r); background: var(--pp-paper); }
.pp-semak__none > div { flex: 1; min-width: 180px; }
.pp-semak__none strong { display: block; }
.pp-semak__none span { color: var(--pp-muted); font-size: 13px; }
.pp-semak > .pp-help { margin-top: 10px; }
.pp-embed .pp-semak { max-width: 640px; margin: 0 auto; padding: 24px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; }
.pp-embed .pp-btn { color: #fff; }

/* ==========================================================================
   Halaman awam: Program & Qiblati
   ========================================================================== */
.pp-public { background: var(--pp-paper); }
.pp-pubbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 28px; background: var(--pp-night); }
.pp-pubbar__brand { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; }
.pp-pubbar__brand img { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; }
.pp-pubbar__brand strong { display: block; font-family: var(--pp-serif); font-size: 18px; }
.pp-pubbar__brand em { display: block; color: var(--pp-gold-2); font-size: 12.5px; font-style: normal; }
.pp-pubhero { position: relative; overflow: hidden; padding: 46px 28px 56px; background: linear-gradient(175deg, var(--pp-night), #143561); }
.pp-pubhero .pp-stars::after { width: 30%; right: -6%; bottom: -120%; box-shadow: inset 12px -8px 0 -4px rgba(228, 197, 120, .75), inset 18px -12px 26px -8px rgba(228, 197, 120, .15); }
.pp-pubhero__inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.pp-pubhero h1 { margin-top: 6px !important; color: #fff !important; font-family: var(--pp-serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.015em; max-width: 820px; }
.pp-pubmain { max-width: 1120px; margin: -24px auto 0; padding: 0 24px 40px; position: relative; z-index: 2; }
.pp-pubfoot { padding: 22px; color: #8a98ac; font-size: 12.5px; text-align: center; }
.pp-credit { display: block; margin-top: 4px; font-size: 11.5px; color: #a3afc0; }
.pp-credit a { color: inherit !important; text-decoration: underline; }
.pp-progs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.pp-progs--compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pp-prog { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; box-shadow: var(--pp-shadow); color: var(--pp-ink) !important; text-decoration: none !important; transition: border-color .15s; }
.pp-prog:hover { border-color: var(--pp-gold); }
.pp-prog__cover { position: relative; display: flex; align-items: flex-start; justify-content: space-between; height: 140px; padding: 14px; background: linear-gradient(160deg, var(--pp-night), #1a3c6b) center / cover no-repeat; }
.pp-prog__cover .pp-badge { background: rgba(255, 255, 255, .92); }
.pp-prog__body { padding: 16px 18px 18px; }
.pp-prog__body h3 { font-family: var(--pp-serif); font-size: 18px; font-weight: 600; margin-bottom: 6px !important; }
.pp-prog__body p { color: var(--pp-muted); font-size: 13.5px; }
.pp-prog__meta { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; color: var(--pp-muted); font-size: 13px; }
.pp-prog__meta li { display: flex; align-items: center; gap: 8px; }
.pp-prog__meta .pp-i { width: 16px; height: 16px; color: var(--pp-blue); }
.pp-prog-detail { overflow: hidden; }
.pp-prog-detail__cover { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.pp-prog-detail .pp-dl { margin-bottom: 18px; }
.pp-feebox { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 16px; padding: 14px 16px; border-radius: var(--pp-r); background: var(--pp-gold-soft); }
.pp-feebox span { color: #7b5c16; font-size: 13px; }
.pp-feebox strong { font-family: var(--pp-serif); font-size: 24px; color: var(--pp-night); font-feature-settings: "tnum"; }
.pp-feebox em { margin-left: auto; color: var(--pp-ok); font-style: normal; font-size: 12.5px; font-weight: 600; }
.pp-ticket { max-width: 640px; margin: 0 auto; overflow: hidden; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; box-shadow: var(--pp-shadow); }
.pp-ticket__head { padding: 22px 24px; background: var(--pp-night); color: #fff; }
.pp-ticket__head h2 { color: #fff !important; font-family: var(--pp-serif); font-size: 22px; font-weight: 600; margin-top: 4px !important; }
.pp-ticket__head p { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: #c3cfe1; font-size: 13.5px; }
.pp-ticket__head .pp-i { width: 16px; height: 16px; }
.pp-ticket__body { padding: 22px 24px; border-top: 2px dashed var(--pp-line); }
.pp-ticket__status { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pp-ticket__body > .pp-btn { margin-top: 6px; }
.pp-ticket__qr { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px; border-radius: var(--pp-r); background: var(--pp-paper); color: var(--pp-muted); font-size: 13px; }
.pp-checkin { max-width: 480px; margin: 0 auto; padding: 28px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; box-shadow: var(--pp-shadow); text-align: center; }
.pp-checkin h2 { font-family: var(--pp-serif); font-size: 22px; margin: 4px 0 14px !important; }
.pp-checkin .pp-form { text-align: left; }
.pp-checkin__ok { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; }
.pp-checkin__ok .pp-i { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--pp-ok-soft); color: var(--pp-ok); }
.pp-checkin__ok strong { font-size: 18px; }
.pp-qrscreen { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 100vh; justify-content: center; padding: 30px; text-align: center; color: #fff; }
.pp-qrscreen__logo { width: 70px; height: 70px; border-radius: 50%; background: #fff; padding: 3px; }
.pp-qrscreen h1 { color: #fff !important; font-family: var(--pp-serif); font-size: clamp(26px, 3vw, 40px); max-width: 800px; margin-bottom: 10px !important; }
.pp-qrscreen svg { width: min(70vh, 80vw); height: auto; padding: 14px; border-radius: 18px; background: #fff; }
.pp-qrscreen p { color: #aebcd2; font-size: 13px; word-break: break-all; }

/* Langit gelap untuk halaman plain */
.pp-sky { background: linear-gradient(170deg, #081830 0%, var(--pp-night) 50%, #143561 100%); }

/* Pengesahan QR */
.pp-verify { max-width: 460px; margin: 0 auto; padding: 32px 18px; }
.pp-verify__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #fff; }
.pp-verify__brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; }
.pp-verify__brand strong { display: block; font-size: 14px; line-height: 1.3; }
.pp-verify__brand span { display: block; color: var(--pp-gold-2); font-size: 13px; }
.pp-verify__card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 24px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.pp-verify__card.is-ok { border-top: 6px solid var(--pp-ok); }
.pp-verify__card.is-bad { border-top: 6px solid var(--pp-bad); }
.pp-verify__card > .pp-i { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--pp-bad-soft); color: var(--pp-bad); }
.pp-verify__card h1 { font-family: var(--pp-serif); font-size: 22px; margin-top: 8px !important; }
.pp-verify__no { font-weight: 700; color: var(--pp-night-2); font-feature-settings: "tnum"; letter-spacing: .03em; }
.pp-verify__status { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.is-ok .pp-verify__status { background: var(--pp-ok-soft); color: var(--pp-ok); }
.is-bad .pp-verify__status { background: var(--pp-bad-soft); color: var(--pp-bad); }
.pp-verify__card p { margin: 0; color: var(--pp-muted); }
.pp-verify__card small { color: #97a4b6; font-size: 12px; }
.pp-verify__card .pp-semak { width: 100%; text-align: left; }
.pp-verify__foot { margin-top: 20px; text-align: center; }
.pp-verify__foot a { color: #aebcd2 !important; font-size: 13px; }

/* ==========================================================================
   Resit & sijil (cetak)
   ========================================================================== */
.pp-print { background: #e9edf3; }
.pp-print-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 18px; }
.pp-receipt { position: relative; max-width: 760px; margin: 0 auto 40px; padding: 40px 44px; overflow: hidden; background: #fff; box-shadow: 0 10px 40px rgba(11, 31, 58, .12); }
.pp-receipt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--pp-night), var(--pp-blue) 70%, var(--pp-gold)); }
.pp-receipt__head { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--pp-line); }
.pp-receipt__head img { width: 72px; height: 72px; object-fit: contain; }
.pp-receipt__head strong { display: block; font-family: var(--pp-serif); font-size: 17px; color: var(--pp-night); }
.pp-receipt__head span { display: block; color: var(--pp-muted); font-size: 12.5px; }
.pp-receipt__title { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 30px; margin: 24px 0 18px; }
.pp-receipt__title h1 { flex: 1; min-width: 180px; font-family: var(--pp-serif); font-size: 28px; letter-spacing: .06em; color: var(--pp-night); }
.pp-receipt__title span { display: block; color: var(--pp-muted); font-size: 12px; }
.pp-receipt__title strong { font-size: 15px; font-feature-settings: "tnum"; }
.pp-receipt__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-receipt__table th, .pp-receipt__table td { padding: 11px 0; border-bottom: 1px solid var(--pp-line-2); text-align: left; vertical-align: top; }
.pp-receipt__table th { width: 34%; color: var(--pp-muted); font-weight: 500; }
.pp-receipt__table td { font-weight: 600; }
.pp-receipt__total { display: flex; align-items: center; justify-content: space-between; margin: 20px 0; padding: 16px 20px; background: var(--pp-night); color: #fff; }
.pp-receipt__total span { font-size: 14px; color: #c3cfe1; }
.pp-receipt__total strong { font-family: var(--pp-serif); font-size: 28px; color: var(--pp-gold-2); font-feature-settings: "tnum"; }
.pp-receipt__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 10px; color: var(--pp-muted); font-size: 12.5px; }
.pp-receipt__foot p { margin: 0; }
.pp-receipt__void { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); padding: 6px 40px; border: 6px solid rgba(180, 35, 44, .55); color: rgba(180, 35, 44, .55); font-family: var(--pp-serif); font-size: 72px; font-weight: 700; letter-spacing: .1em; pointer-events: none; }

.pp-cert-stage { padding: 0 18px 40px; }
.pp-cert { position: relative; width: 100%; max-width: 1123px; aspect-ratio: 1123 / 794; margin: 0 auto; overflow: hidden; background: #fff; box-shadow: 0 14px 50px rgba(11, 31, 58, .18); container-type: inline-size; }
.pp-cert__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.pp-cert__name-abs { position: absolute; left: 6%; right: 6%; transform: translateY(-50%); font-family: var(--pp-serif); font-weight: 700; text-align: center; line-height: 1.15; }
.pp-cert__no-abs { position: absolute; left: 0; right: 0; bottom: 3.2%; color: #5a6b82; font-size: 1.05cqw; text-align: center; letter-spacing: .05em; }
.pp-cert__frame { position: absolute; inset: 2.6%; display: flex; flex-direction: column; align-items: center; padding: 3.4% 7% 3%; border: .3cqw solid var(--pp-gold); outline: .12cqw solid var(--pp-gold); outline-offset: -1.1cqw; text-align: center; background:
	radial-gradient(circle at 100% 100%, rgba(201, 162, 75, .12) 0 18%, transparent 18.2%),
	radial-gradient(circle at 0 0, rgba(11, 31, 58, .05) 0 22%, transparent 22.2%), #fff; }
.pp-cert__logo { width: 9cqw; height: 9cqw; object-fit: contain; }
.pp-cert__org { margin-top: 1.2cqw; color: var(--pp-night); font-size: 1.35cqw; font-weight: 600; letter-spacing: .14em; }
.pp-cert__title { margin-top: 2.2cqw; color: var(--pp-night); font-family: var(--pp-serif); font-size: 5.2cqw; font-weight: 700; line-height: 1; }
.pp-cert__lead { margin-top: 2cqw; color: var(--pp-muted); font-size: 1.5cqw; font-style: italic; font-family: var(--pp-serif); }
.pp-cert__name { margin-top: 1.2cqw; padding: 0 2cqw .6cqw; border-bottom: .12cqw solid var(--pp-gold); color: var(--pp-night); font-family: var(--pp-serif); font-size: 3.4cqw; font-weight: 700; line-height: 1.15; }
.pp-cert__program { margin-top: 1cqw; color: var(--pp-blue); font-size: 2.2cqw; font-weight: 600; max-width: 80%; line-height: 1.25; }
.pp-cert__meta { margin-top: .8cqw; color: var(--pp-muted); font-size: 1.4cqw; }
.pp-cert__foot { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; margin-top: auto; }
.pp-cert__sign { display: flex; flex-direction: column; align-items: center; min-width: 26%; }
.pp-cert__line { display: block; width: 100%; height: 0; margin-bottom: .6cqw; border-top: .1cqw solid #7c8aa0; }
.pp-cert__sign strong { color: var(--pp-ink); font-size: 1.35cqw; }
.pp-cert__sign em { color: var(--pp-muted); font-size: 1.15cqw; font-style: normal; }
.pp-cert__verify { display: flex; flex-direction: column; align-items: center; gap: .3cqw; }
.pp-cert__verify svg { width: 7cqw; height: 7cqw; }
.pp-cert__verify span { color: var(--pp-muted); font-size: .95cqw; letter-spacing: .04em; }

/* ==========================================================================
   Kad ahli PNG — templat penuh; kedudukan elemen datang daripada Tetapan (gaya inline)
   ========================================================================== */
.pafns-idcard-wrap, .pafns-idcard-wrap * { box-sizing: border-box; }
.pafns-idcard-wrap { width: 100%; max-width: 720px; min-width: 0; margin: 0 auto; padding: 4px 0 16px; background: transparent; }
.pafns-idcard-viewport { display: block; width: 100%; position: relative; aspect-ratio: 1586 / 992; height: auto; padding: 0; margin: 0 auto; overflow: hidden; border-radius: 18px; background: transparent; box-shadow: 0 14px 35px rgba(15, 23, 42, .12); isolation: isolate; container-type: inline-size; }
.pafns-idcard { display: block; position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; }
.pafns-idcard__bg { display: block; position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: fill; z-index: 1; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.pafns-idcard__avatar { display: flex; position: absolute; left: 11.9%; top: 38.3%; width: 26.1%; height: auto; aspect-ratio: 1 / 1; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background: transparent; z-index: 5; }
.pafns-avatar-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: #8a8f98; font-family: Poppins, Arial, sans-serif; font-size: 1.9cqw; font-weight: 500; line-height: 1.2; z-index: 1; pointer-events: none; }
.pafns-idcard__avatar .pafns-avatar-image { display: block; position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; border-radius: 50%; z-index: 3; }
.pafns-idcard__avatar.has-photo .pafns-avatar-placeholder { opacity: 0; }
.pafns-idcard__value { display: block; position: absolute; left: 64%; top: 58%; width: 31%; transform: translateY(-50%); color: #fff; font-family: Poppins, Arial, sans-serif; font-size: 2.3cqw; font-weight: 800; line-height: 1.15; letter-spacing: .035em; text-align: left; text-transform: uppercase; white-space: normal; overflow-wrap: break-word; text-shadow: 0 2px 7px rgba(0, 0, 0, .65); margin: 0; padding: 0; z-index: 20; pointer-events: none; }
.pafns-card-active .pafns-idcard__status { color: #8cf2ad; }
.pafns-card-inactive .pafns-idcard__status { color: #ff8585; }
.pafns-idcard__qr { position: absolute; z-index: 15; aspect-ratio: 1; }
.pafns-idcard__qr[hidden] { display: none; }
.pafns-idcard__qr svg { display: block; width: 100%; height: 100%; border-radius: 4px; }

/* Bayaran manual: pindahan bank / DuitNow QR (gaya IQC) */
.pp-manual { margin-top: 18px; border: 1px solid #e8dcc0; border-radius: var(--pp-r-lg); background: #fbf8f1; }
.pp-manual > summary { display: flex; align-items: center; gap: 8px; padding: 15px 18px; cursor: pointer; list-style: none; color: var(--pp-night); font-weight: 700; font-size: 15px; }
.pp-manual > summary::-webkit-details-marker { display: none; }
.pp-manual > summary::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--pp-night); transform: rotate(-90deg); transition: transform .15s ease; }
.pp-manual[open] > summary::before { transform: none; }
.pp-manual__grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 0; margin: 0 14px 14px; overflow: hidden; border-radius: var(--pp-r); background: #fff; }
.pp-manual__bank { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: linear-gradient(160deg, var(--pp-night), #17386a); color: #fff; }
.pp-manual__eyebrow { color: var(--pp-gold-2); font-size: 12.5px; }
.pp-manual__bankname { color: #fff; font-size: 17px; }
.pp-manual__acc { color: var(--pp-gold-2); font-family: var(--pp-serif); font-size: 24px; font-weight: 700; letter-spacing: .04em; font-feature-settings: "tnum"; word-break: break-word; }
.pp-manual__holder { color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.4; }
.pp-manual__qr { margin: 12px 0 0; padding: 10px; border-radius: var(--pp-r-sm); background: #fff; text-align: center; }
.pp-manual__qr img { display: block; width: 100%; max-width: 230px; height: auto; margin: 0 auto; }
.pp-manual__qr figcaption { margin-top: 4px; color: var(--pp-muted); font-size: 11.5px; }
.pp-manual__amount { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .18); }
.pp-manual__amount span { color: rgba(255, 255, 255, .75); font-size: 12.5px; }
.pp-manual__amount b { color: #fff; font-family: var(--pp-serif); font-size: 20px; }
.pp-manual__form { padding: 18px 20px; }
.pp-manual__form .pp-row { grid-template-columns: 1fr; gap: 0; }
.pp-manual-wait { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid #e8dcc0; border-radius: var(--pp-r); background: var(--pp-gold-soft); }
.pp-manual-wait > .pp-i { flex: 0 0 auto; color: var(--pp-warn); }
.pp-manual-wait strong { display: block; color: var(--pp-night); }
.pp-manual-wait span { display: block; color: #6f5a2b; font-size: 13px; }

/* Kategori peserta, baki tunai, pengesahan */
.pp-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pp-cat { position: relative; display: block; cursor: pointer; }
.pp-cat input { position: absolute; opacity: 0; pointer-events: none; }
.pp-cat > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--pp-line); border-radius: var(--pp-r); background: #fff; transition: border-color .12s ease, box-shadow .12s ease; }
.pp-cat strong { color: var(--pp-ink); font-size: 14px; }
.pp-cat em { color: var(--pp-blue); font-style: normal; font-weight: 700; font-size: 15px; }
.pp-cat input:checked + span { border-color: var(--pp-gold); background: var(--pp-gold-soft); box-shadow: 0 0 0 3px rgba(201, 162, 75, .18); }
.pp-cat input:focus-visible + span { outline: 2px solid var(--pp-blue); outline-offset: 2px; }
.pp-cashnote { display: flex; gap: 10px; margin: -6px 0 16px; padding: 12px 14px; border-radius: var(--pp-r); background: var(--pp-info-soft); color: #23436e; font-size: 13.5px; line-height: 1.5; }
.pp-cashnote > .pp-i { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }
.pp-consent { margin: 4px 0 16px; padding: 12px 14px; border: 1px solid var(--pp-line); border-radius: var(--pp-r); background: var(--pp-paper); font-size: 13.5px; }

/* Halaman status: bayaran */
.pp-paybox { margin: 18px 0 8px; padding: 16px; border: 1px solid var(--pp-line); border-radius: var(--pp-r-lg); background: #fff; }
.pp-paybox__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.pp-paybox__head span { color: var(--pp-muted); font-size: 13.5px; }
.pp-paybox__head b { font-family: var(--pp-serif); font-size: 26px; color: var(--pp-night); font-feature-settings: "tnum"; }
.pp-paybox .pp-manual { margin-top: 14px; }
.pp-paybox .pp-manual__grid { grid-template-columns: 1fr; }
.pp-reglist { display: grid; gap: 10px; margin: 16px 0; padding: 0; list-style: none; }
.pp-reglist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--pp-line-2); border-radius: var(--pp-r); background: var(--pp-paper); }
.pp-reglist strong { display: block; font-size: 14.5px; }
.pp-reglist small { display: block; color: var(--pp-muted); font-size: 12.5px; }
.pp-reglist__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pp-reglist__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* ==========================================================================
   Borang awam /qiblati/ & /program/ — mengikut borang lama permohonan.pafns.my
   ========================================================================== */
.pp-pubhero .pp-pubhero__sub { max-width: 680px; margin: 10px 0 0; color: rgba(255, 255, 255, .78); font-size: 15.5px; line-height: 1.6; }
.pp-pubmain.pp-pubmain--flat { margin-top: 0; padding-top: 30px; }

/* Medan */
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.pf-field { min-width: 0; }
.pf-field.is-full { grid-column: 1 / -1; }
.pf-field > label { display: block; margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 700; }
.pf-field > label span { color: #dc3545; }
.pp-body .pf-field input, .pp-body .pf-field textarea, .pp-body .pf-field select { min-height: 48px; padding: 12px 13px; border: 1px solid #d3dce6; border-radius: 9px; font-size: 14px; }
.pp-body .pf-field textarea { min-height: 100px; }
.pp-body .pf-field input:focus, .pp-body .pf-field textarea:focus, .pp-body .pf-field select:focus, .pp-body .pg-other input:focus { border-color: #0b87ba; box-shadow: 0 0 0 3px rgba(11, 135, 186, .1); }
.pf-field .pp-field { margin: 0; }
.pf-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; color: #5f6977; font-size: 13px; line-height: 1.6; cursor: pointer; }
.pf-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #0b6fa8; }

/* Qiblati */
.pq { max-width: 860px; margin: 0 auto; color: #102a56; }
.pq-about { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; margin: 0 0 22px; padding: 26px 28px; border: 1px solid #dce5ef; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(23, 49, 81, .06); }
.pq-about__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: #e5f2fa; color: #0b6fa8; }
.pq-about__icon svg { width: 40px; height: 40px; }
.pp-body .pq-about__body h3 { margin: 4px 0 10px; color: #0b315a; font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.pp-body .pq-about__body h4 { margin: 18px 0 6px; color: #0b5b91; font-size: 14px; font-weight: 800; }
.pp-body .pq-about__body p { margin: 0 0 8px; color: #4b5d70; font-size: 14.5px; line-height: 1.7; }
.pq-about__body ul { display: grid; gap: 6px; margin: 6px 0 12px; padding: 0; list-style: none; }
.pq-about__body li { position: relative; padding-left: 22px; color: #4b5d70; font-size: 14px; line-height: 1.6; }
.pq-about__body li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #0b87ba; }
.pq-about__body a { font-weight: 700; }
.pq-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 18px; background: linear-gradient(135deg, #0b3d78, #1299cf); color: #fff; box-shadow: 0 12px 30px rgba(13, 75, 128, .16); }
.pq-kicker { margin-bottom: 7px; color: #bfefff; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.pp-body .pq-hero h2 { margin: 0 0 8px; color: #fff; font-size: 28px; font-weight: 800; line-height: 1.25; }
.pp-body .pq-hero p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.65; }
.pq-price { flex: 0 0 auto; min-width: 145px; padding: 15px 18px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 14px; background: rgba(255, 255, 255, .09); text-align: center; }
.pq-price span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.pq-price strong { display: block; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.2; }
.pq-note { display: grid; gap: 5px; margin: 18px 0; padding: 16px 19px; border: 1px solid #d8e9f4; border-radius: 13px; background: #f5fbff; }
.pq-note strong { color: #0b5b91; font-size: 13.5px; }
.pq-note span { color: #697888; font-size: 13px; line-height: 1.65; }
.pq-form { padding: 27px; border: 1px solid #dce5ef; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(23, 49, 81, .07); }
.pq-form--closed { text-align: center; }
.pq-title { margin-bottom: 18px; color: #0b315a; font-size: 15px; font-weight: 800; letter-spacing: .03em; }
.pq-premise { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border: 1px solid #d9e8f3; border-radius: 10px; background: #f7fbfe; }
.pq-premise__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: #e5f2fa; color: #0b6fa8; font-size: 22px; font-weight: 900; }
.pq-premise strong { display: block; color: #0b315a; font-size: 13.5px; }
.pq-premise small { display: block; margin-top: 2px; color: #788596; font-size: 12px; }
.pq-summary { margin: 22px 0 15px; padding: 18px; border: 1px solid #dce9f6; border-radius: 12px; background: #f5f9ff; }
.pq-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 6px 0; color: #617083; font-size: 13.5px; }
.pq-summary > div strong { color: #243b56; text-align: right; font-feature-settings: "tnum"; }
.pq-summary .is-total-service { margin-top: 8px; padding-top: 12px; border-top: 1px solid #dce6ef; font-weight: 700; }
.pq-summary .is-pay-now { margin-top: 5px; padding-top: 12px; border-top: 1px solid #dce6ef; color: #243b56; font-size: 16px; font-weight: 800; }
.pq-summary .is-pay-now strong { color: #07869d; font-size: 23px; }
.pq-payinfo { display: grid; gap: 4px; margin: 0 0 18px; padding: 14px 15px; border-left: 4px solid #0b87ba; border-radius: 8px; background: #f7fbfe; }
.pq-payinfo strong { color: #0b315a; font-size: 12.5px; }
.pq-payinfo span { color: #667085; font-size: 12.5px; line-height: 1.6; }
.pq-submit { width: 100%; min-height: 55px; padding: 14px 20px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #087f73, #0b87ba); color: #fff; font: 800 14px/1.25 var(--pp-sans); letter-spacing: .04em; cursor: pointer; box-shadow: 0 8px 18px rgba(8, 127, 115, .15); transition: transform .15s, box-shadow .15s; }
.pq-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(8, 127, 115, .2); }

/* Program PAFNS */
.pg { max-width: 860px; margin: 0 auto; color: #102a56; }
.pg-form { padding: 30px; border: 1px solid #dce5ee; border-radius: 18px; background: #fff; box-shadow: 0 10px 34px rgba(11, 31, 58, .08); }
.pg-badge { display: inline-flex; margin-bottom: 10px; padding: 7px 12px; border-radius: 20px; background: #edf4ff; color: #174ea6; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.pp-body .pg-intro h3 { margin: 0 0 7px; color: #102a56; font-size: 25px; font-weight: 800; }
.pp-body .pg-intro p { margin: 0; color: #667085; font-size: 14px; line-height: 1.6; }
.pg-focus { display: flex; gap: 16px; margin: 20px 0 0; padding: 16px; border: 1px solid #dfebf8; border-radius: 12px; background: #f7faff; }
.pg-focus img { flex: 0 0 auto; width: 120px; height: 90px; border-radius: 9px; object-fit: cover; }
.pg-focus strong { display: block; color: #173d70; font-size: 15px; }
.pg-focus small { display: block; margin: 2px 0 6px; color: #6a7787; font-size: 12.5px; }
.pg-focus .pp-prose, .pp-body .pg-focus p { color: #53657a; font-size: 13.5px; }
.pg-sec { margin: 26px 0 12px; color: #102a56; font-size: 15px; font-weight: 800; letter-spacing: .03em; }
.pg-sec span { color: #dc3545; }
.pg-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pg-cat { position: relative; display: block; cursor: pointer; }
.pg-cat > input { position: absolute; opacity: 0; pointer-events: none; }
.pg-cat__box { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 74px; padding: 16px 18px; border: 1px solid #d9e2ef; border-radius: 13px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.pg-cat:hover .pg-cat__box { border-color: #2f67c7; }
.pg-cat > input:checked + .pg-cat__box { border-color: #235fc1; background: #eef5ff; box-shadow: 0 0 0 2px rgba(35, 95, 193, .12); }
.pg-cat > input:focus-visible + .pg-cat__box { outline: 2px solid #235fc1; outline-offset: 2px; }
.pg-cat > input:disabled + .pg-cat__box { opacity: .6; cursor: not-allowed; }
.pg-cat__name { color: #26384d; font-size: 14.5px; font-weight: 700; }
.pg-cat__amt { color: #1557b0; font-size: 20px; font-weight: 800; text-align: right; white-space: nowrap; font-feature-settings: "tnum"; }
.pg-cat__amt small { display: block; margin-top: 2px; color: #738196; font-size: 10px; font-weight: 700; }
.pg-feenote { display: grid; gap: 4px; margin-top: 12px; padding: 14px 16px; border: 1px solid #dfebf8; border-radius: 10px; background: #f7faff; color: #53657a; font-size: 12.5px; line-height: 1.6; }
.pg-feenote strong { color: #173d70; }
.pg-list { display: grid; gap: 10px; }
.pg-opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: flex-start; gap: 12px; padding: 15px 16px; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .18s, box-shadow .18s, background .18s; }
.pg-opt:hover:not(.is-off) { border-color: #2b67c3; box-shadow: 0 5px 16px rgba(25, 72, 130, .08); }
.pg-opt:has(> input:checked) { border-color: #2161bc; background: #f3f8ff; box-shadow: 0 0 0 2px rgba(33, 97, 188, .08); }
.pg-opt > input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #155fc1; }
.pg-opt.is-off { background: #f7f8fa; cursor: not-allowed; }
.pg-opt.is-off .pg-opt__title { color: #8a94a3; }
.pg-opt__main { display: block; min-width: 0; }
.pg-opt__title { display: block; color: #26384d; font-size: 13.5px; font-weight: 700; line-height: 1.55; }
.pg-opt__close { display: block; margin-top: 5px; color: #8a5b15; font-size: 11.5px; font-weight: 700; }
.pg-opt__fee { display: block; margin-top: 4px; color: #6f5a2b; font-size: 12px; }
.pg-opt__links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 7px; }
.pp-body .pg-opt__links a { color: #1557b0; font-size: 12px; font-weight: 700; }
.pp-body .pg-opt__links a.pg-opt__wa { color: #087e6a; }
.pg-opt__tag { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; padding: 5px 9px; border-radius: 999px; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; white-space: nowrap; }
.pg-opt__tag.is-open { background: #eaf8f3; color: #087b5e; }
.pg-opt__tag.is-closed { background: #f0f2f5; color: #7c8490; }
.pg-empty, .pg-closed { padding: 16px; border: 1px dashed #cbd8e7; border-radius: 11px; background: #fafcff; color: #53657a; font-size: 13.5px; text-align: center; }
.pg-closed { margin-top: 18px; }
.pg-other { margin-top: 12px; padding: 16px; border: 1px dashed #cbd8e7; border-radius: 11px; background: #fafcff; }
.pg-other[hidden] { display: none; }
.pg-other label { display: block; margin-bottom: 7px; color: #303c49; font-size: 13px; font-weight: 700; }
.pg-other label span { color: #dc3545; }
.pg-card { padding: 23px; border: 1px solid #dce5ee; border-radius: 15px; background: #fff; box-shadow: 0 7px 25px rgba(23, 49, 81, .07); }
.pg-sec small { color: #6b7a8f; font-size: 12.5px; font-weight: 600; letter-spacing: 0; }
.pg-fam__intro { margin: 0 0 14px; color: #5b6978; font-size: 13.5px; line-height: 1.6; }
.pg-fam__list { display: grid; gap: 10px; }
.pg-fam__list:empty { display: none; }
.pg-fam__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(140px, 200px) 40px; gap: 10px; align-items: center; }
.pg-fam__no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #eef3f9; color: #102a56; font-size: 12.5px; font-weight: 700; }
.pg-fam__row input, .pg-fam__row select { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #d5dee8; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: #243b56; box-sizing: border-box; }
.pg-fam__row input:focus, .pg-fam__row select:focus { outline: none; border-color: #2a6fdb; box-shadow: 0 0 0 3px rgba(42, 111, 219, .12); }
.pg-fam__del { width: 40px; height: 40px; border: 1px solid #f0d0d4; border-radius: 10px; background: #fff; color: #b42335; font-size: 20px; line-height: 1; cursor: pointer; }
.pg-fam__del:hover { background: #fdf2f3; }
.pg-fam__add { margin-top: 14px; min-height: 44px; padding: 0 18px; border: 1px dashed #9db3cf; border-radius: 10px; background: #f6f9fd; color: #102a56; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pg-fam__add:hover { background: #eef3f9; border-color: #6d8bb3; }
.pg-fam__add[hidden] { display: none; }
.pg-fam__max { display: block; margin-top: 10px; color: #8a5a00; font-size: 12.5px; }
.pg-fam__max[hidden] { display: none; }
.pg-summary__people { margin: 4px 0 6px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .6); border: 1px dashed #d5dee8; }
.pg-summary__people[hidden] { display: none; }
.pg-summary__people > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: #5b6978; font-size: 13px; }
.pg-summary__people small { color: #8593a3; }
.pg-summary__people b { color: #243b56; font-feature-settings: "tnum"; white-space: nowrap; }
.pg-notes { margin-top: 20px; padding: 19px 21px; border: 1px solid #f0dfb8; border-radius: 13px; background: #fffaf0; color: #544a36; font-size: 13px; line-height: 1.7; }
.pg-notes__title { margin-bottom: 8px; color: #7a5a14; font-weight: 800; letter-spacing: .03em; }
.pg-notes ol { margin: 0; padding-left: 21px; }
.pg-notes li + li { margin-top: 6px; }
.pg-summary { margin: 20px 0; padding: 20px; border: 1px solid #dce9f8; border-radius: 13px; background: #f5f9ff; }
.pg-summary__title { margin-bottom: 10px; color: #153968; font-size: 14px; font-weight: 800; letter-spacing: .03em; }
.pg-summary__row, .pg-summary__total { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 7px 0; }
.pg-summary__row { color: #5b6978; font-size: 13.5px; }
.pg-summary__row strong { color: #243b56; text-align: right; font-feature-settings: "tnum"; }
.pg-summary__total { margin-top: 8px; padding-top: 14px; border-top: 1px solid #dce6f0; color: #1d3044; font-size: 16px; font-weight: 800; }
.pg-summary__total strong { color: #155fc1; font-size: 23px; font-feature-settings: "tnum"; }
.pg-submit { width: 100%; min-height: 54px; border: 0; border-radius: 9px; background: #155fc1; color: #fff; font: 800 14px/1.2 var(--pp-sans); letter-spacing: .06em; cursor: pointer; transition: background .15s; }
.pg-submit:hover { background: #104d9e; }
.pp-body .pg-paynote { margin: 10px 0 0; color: #6a7787; font-size: 12.5px; text-align: center; }
@media (max-width: 767px) {
	.pp-pubmain.pp-pubmain--flat { padding-top: 18px; }
	.pf-grid { grid-template-columns: 1fr; }
	.pq-about { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
	.pq-about__icon { width: 52px; height: 52px; }
	.pq-hero { display: block; padding: 22px; }
	.pp-body .pq-hero h2 { font-size: 23px; }
	.pq-price { width: 100%; margin-top: 18px; }
	.pq-form { padding: 19px; }
	.pq-summary > div { align-items: flex-start; }
	.pq-summary > div strong { max-width: 58%; }
	.pg-form { padding: 20px 16px; border-radius: 14px; }
	.pp-body .pg-intro h3 { font-size: 21px; }
	.pg-cats { grid-template-columns: 1fr; }
	.pg-opt { grid-template-columns: 22px minmax(0, 1fr); }
	.pg-opt__tag { grid-column: 2; justify-self: start; }
	.pg-card { padding: 17px; }
	.pg-fam__row { grid-template-columns: 28px minmax(0, 1fr) 40px; }
	.pg-fam__row select { grid-column: 2 / 3; }
	.pg-focus { flex-direction: column; }
}

/* Peringatan emel: contoh */
.pp-mailpreview { margin: 0; padding: 16px 18px; border: 1px solid var(--pp-line); border-radius: var(--pp-r); background: var(--pp-paper); color: var(--pp-ink); font: 400 13.5px/1.65 var(--pp-sans); white-space: pre-wrap; word-break: break-word; }

/* Semak status */
.pp-lookup-card { max-width: 720px; margin: 22px auto 0; }
.pp-body .pf-lookup-link { margin: 18px 0 0; color: #6a7787; font-size: 13.5px; text-align: center; }
.pp-body .pf-lookup-link a { font-weight: 700; }
.pp-lookup { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-lookup input { flex: 1 1 200px; }

/* Konsol: semak bukti */
.pp-proofs__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-proofs td small { display: block; }
.pp-warn-text { color: var(--pp-warn) !important; font-weight: 600; }
.pp-tabs a em { padding: 1px 7px; border-radius: 999px; background: var(--pp-line-2); color: var(--pp-muted); font-style: normal; font-size: 11.5px; }
.pp-tabs a.is-active em { background: var(--pp-gold-soft); color: #7b5c16; }
@media (max-width: 760px) {
	.pp-manual__grid { grid-template-columns: 1fr; }
	.pp-manual__acc { font-size: 21px; }
}

/* Staf melihat portal ahli (paparan sahaja) */
.pp-viewas { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 32px; background: linear-gradient(90deg, var(--pp-night), var(--pp-night-2)); color: #fff; border-bottom: 2px solid var(--pp-gold); }
.pp-viewas > .pp-i { flex: 0 0 auto; width: 22px; height: 22px; color: var(--pp-gold-2); }
.pp-viewas > div { flex: 1; min-width: 0; }
.pp-viewas strong { display: block; color: #fff; font-size: 14.5px; }
.pp-viewas span { display: block; color: rgba(255, 255, 255, .78); font-size: 12.5px; }
.pp-shell--viewas .pp-content form { opacity: .6; }
.pp-shell--viewas .pp-content form, .pp-shell--viewas .pp-content a[href*="pafnsp_pay"], .pp-shell--viewas .pp-content a[href*="order-pay"], .pp-shell--viewas .pp-content a[href*="pay_for_order"] { pointer-events: none; }
.pp-shell--viewas .pp-content a[href*="pafnsp_pay"], .pp-shell--viewas .pp-content a[href*="order-pay"] { opacity: .55; }
@media (max-width: 1020px) { .pp-viewas { padding: 10px 18px; flex-wrap: wrap; } }

/* Pelaras kedudukan kad (Tetapan) */
.pp-cardedit { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--pp-line-2); }
.pp-cardedit__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.pp-cardedit__head strong { display: block; font-size: 15px; }
.pp-cardedit__head > div > span { display: block; max-width: 560px; color: var(--pp-muted); font-size: 13px; }
.pp-seg { display: inline-flex; padding: 3px; border: 1px solid var(--pp-line); border-radius: 999px; background: var(--pp-paper); }
.pp-seg button { appearance: none; border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; color: var(--pp-muted); font: 600 13px var(--pp-sans); cursor: pointer; }
.pp-seg button.is-active { background: var(--pp-night); color: #fff; box-shadow: 0 1px 3px rgba(11, 31, 58, .25); }
.pp-cardedit__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 22px; align-items: start; }
.pp-cardedit__grid[hidden] { display: none; }
.pp-cardedit__stage .pafns-idcard-wrap { max-width: none; padding: 0; }
.pp-cardedit .pafns-idcard [data-pp-el] { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; outline: 1.5px dashed rgba(255, 255, 255, .8); outline-offset: 2px; }
.pp-cardedit .pafns-idcard [data-pp-el] * { pointer-events: none; }
.pp-cardedit .pafns-idcard [data-pp-el]::before { content: attr(data-pp-label); position: absolute; left: -2px; bottom: calc(100% + 4px); padding: 1px 6px; border-radius: 4px; background: rgba(11, 31, 58, .85); color: var(--pp-gold-2); font: 600 10px/1.5 var(--pp-sans); letter-spacing: .02em; text-transform: none; text-shadow: none; white-space: nowrap; }
.pp-cardedit .pafns-idcard__avatar[data-pp-el] { overflow: visible; }
.pp-cardedit .pafns-idcard__avatar[data-pp-el]::before { left: 50%; bottom: auto; top: -18px; transform: translateX(-50%); }
.pp-cardedit .pafns-idcard [data-pp-el].is-on, .pp-cardedit .pafns-idcard [data-pp-el]:hover { outline: 2px solid var(--pp-gold-2); }
.pp-cardedit .pafns-idcard [data-pp-el].is-drag { cursor: grabbing; }
.pp-cardedit__table { display: grid; gap: 6px; margin-bottom: 10px; }
.pp-cardedit__row { display: grid; grid-template-columns: 74px repeat(4, minmax(0, 1fr)); gap: 6px; align-items: center; padding: 6px 8px; border: 1px solid var(--pp-line-2); border-radius: var(--pp-r-sm); background: #fff; }
.pp-cardedit__row[hidden] { display: none; }
.pp-cardedit__row.is-on { border-color: var(--pp-gold); background: var(--pp-gold-soft); }
.pp-cardedit__row > span:first-child { font-size: 13px; font-weight: 600; }
.pp-cardedit__row--head { padding-top: 0; padding-bottom: 0; border: 0; background: transparent; }
.pp-cardedit__row--head span { color: var(--pp-muted); font-size: 11.5px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pp-body .pp-cardedit__row input[type=number] { width: 100%; min-height: 34px; padding: 4px 6px; font-size: 13.5px; text-align: center; }
.pp-body .pp-cardedit__row input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.pp-body .pp-cardedit__row input[type=number]::-webkit-inner-spin-button, .pp-body .pp-cardedit__row input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pp-cardedit__na { color: #b7c0cd; text-align: center; }
.pp-details { margin-top: 16px; }
.pp-details > summary { cursor: pointer; color: var(--pp-muted); font-size: 13px; font-weight: 600; }
.pp-details[open] > summary { margin-bottom: 10px; }
@media (max-width: 1180px) { .pp-cardedit__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.pp-cardedit__row { grid-template-columns: 56px repeat(4, minmax(0, 1fr)); gap: 4px; padding: 5px 6px; }
	.pp-cardedit__row > span:first-child { font-size: 12px; }
	.pp-cardedit__row--head span { font-size: 10px !important; letter-spacing: 0; }
	.pp-body .pp-cardedit__row input[type=number] { padding: 4px 2px; font-size: 13px; }
	.pp-cardedit .pafns-idcard [data-pp-el]::before { display: none; }
}
.pafns-idcard-actions { display: flex; align-items: center; justify-content: center; margin-top: 16px; }
.pafns-idcard-download { appearance: none; border: 0; cursor: pointer; min-height: 46px; padding: 0 26px; border-radius: 999px; background: var(--pp-night, #0b1f3a); color: #fff; font: 600 13.5px/1 var(--pp-sans, Poppins, sans-serif); letter-spacing: .02em; }
.pafns-idcard-download:hover { background: var(--pp-night-2, #12305a); }
.pafns-idcard-download:disabled { opacity: .65; cursor: progress; }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1180px) {
	.pp-grid--4, .pp-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pp-grid--5 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.pp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pp-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
	.pp-side { transform: translateX(-100%); transition: transform .22s ease; visibility: hidden; }
	.pp-menu-open .pp-side { transform: none; visibility: visible; box-shadow: 10px 0 40px rgba(0, 0, 0, .25); }
	.pp-menu-open .pp-scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(8, 20, 40, .45); }
	.pp-main { margin-left: 0; }
	.pp-burger { display: inline-flex; }
	.pp-top { position: sticky; top: 0; z-index: 20; padding: 12px 18px; background: rgba(244, 246, 249, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pp-line); flex-wrap: wrap; }
	.pp-top__title h1 { font-size: 21px; }
	.pp-top__title p { font-size: 13px; }
	.pp-top__actions { width: 100%; justify-content: flex-start; }
	.pp-top__actions:empty { display: none; }
	.pp-content { padding: 18px 18px 26px; }
	.pp-foot { padding: 14px 18px 22px; }
	.pp-grid--side, .pp-grid--detail, .pp-grid--member, .pp-home { grid-template-columns: 1fr; }
	.pp-auth-wrap, .pp-auth-wrap--register { grid-template-columns: 1fr; }
	.pp-auth__hero-inner { padding: 30px 22px 34px; min-height: 0; }
	.pp-auth__logo img { width: 64px; height: 64px; }
	.pp-auth__hero .pp-eyebrow { margin-top: 16px; }
	.pp-auth__notices, .pp-auth__foot { display: none; }
	.pp-auth__chips { margin-top: 18px; }
	.pp-stars::after { width: 60%; right: -18%; bottom: -46%; }
	.pp-auth__panel { padding: 22px 16px 40px; }
}
@media (max-width: 720px) {
	.pp-body { font-size: 14.5px; }
	.pp-grid--4, .pp-grid--3, .pp-grid--2, .pp-row, .pp-row--3, .pp-row--4, .pp-tools { grid-template-columns: 1fr; }
	.pp-grid--4, .pp-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pp-stat { padding: 14px 14px 12px; }
	.pp-stat__value { font-size: 23px; }
	.pp-stat__icon { display: none; }
	.pp-card__head { padding: 14px 16px; }
	.pp-card__body { padding: 16px; }
	.pp-card__body > .pp-table-wrap { margin: 0 -16px; width: calc(100% + 32px); }
	.pp-auth__card { padding: 22px 18px; }
	.pp-cta { flex-direction: column; align-items: stretch; }
	.pp-cta .pp-btn { width: 100%; }
	.pp-quick { grid-template-columns: repeat(2, 1fr); }
	.pp-choices { grid-template-columns: 1fr; }
	.pp-semak__form { flex-direction: column; }
	.pp-filters > input, .pp-filters select, .pp-filters > .pp-field select, .pp-filters .pp-field { flex: 1 1 100%; width: 100% !important; min-width: 0; }
	.pp-filters .pp-btn { flex: 1; }
	.pp-bars li a { grid-template-columns: 100px 1fr 36px; }
	.pp-builder__row { grid-template-columns: 1fr 1fr; }
	.pp-builder__row input[type=text]:first-of-type { grid-column: 1 / -1; }
	.pp-memberhead__status { align-items: flex-start; }
	.pp-pubbar { padding: 10px 16px; }
	.pp-pubbar__brand em { display: none; }
	.pp-pubhero { padding: 30px 18px 44px; }
	.pp-pubmain { padding: 0 14px 30px; }
	.pp-receipt { padding: 28px 20px; }
	.pp-receipt__head img { width: 54px; height: 54px; }
	.pp-receipt__foot { flex-direction: column; align-items: flex-start; }
	/* Jadual -> kad bertindan */
	.pp-table thead { display: none; }
	.pp-table, .pp-table tbody, .pp-table tr, .pp-table td { display: block; width: 100%; }
	.pp-table tr { padding: 12px 16px; border-bottom: 1px solid var(--pp-line); }
	.pp-table td { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 5px 0 !important; border: 0; text-align: left; }
	.pp-table td::before { content: attr(data-label); flex: 0 0 34%; color: var(--pp-muted); font-size: 12px; font-weight: 600; }
	.pp-table td[data-label] > small { flex-basis: 100%; margin: 0 0 0 calc(34% + 10px) !important; }
	.pp-table td[data-label] > form { flex: 1 1 60%; }
	.pp-table td:not([data-label]) { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px !important; }
	.pp-table td:not([data-label])::before { display: none; }
	.pp-table td.pp-r { text-align: left; }
	.pp-table td[data-label="Ahli"], .pp-table td[data-label="Pemohon"], .pp-table td[data-label="Program"] { display: block; }
	.pp-table td[data-label="Ahli"]::before, .pp-table td[data-label="Pemohon"]::before, .pp-table td[data-label="Program"]::before { display: none; }
	.pp-actions { text-align: left; }
	.pp-tabs a { padding: 9px 11px; font-size: 13.5px; }
}

@media print {
	.pp-print-actions, .pp-side, .pp-top, .pp-foot { display: none !important; }
	.pp-print, .pp-body { background: #fff !important; }
	.pp-receipt { box-shadow: none; margin: 0 auto; }
	.pp-cert-page .pp-cert-stage { padding: 0; }
	.pp-cert { box-shadow: none; max-width: none; }
	@page { margin: 10mm; }
	.pp-cert-page { }
}
@media print { .pp-cert-page { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .pp-receipt, .pp-receipt * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Status: meninggal dunia */
.pp-badge--meninggal { background: #2b2f38; color: #fff; }
.pp-semak__card--meninggal { border-color: #b42318; }
.pafns-idcard__void { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; z-index: 30; }
.pafns-idcard__void svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pafns-idcard__void span { position: relative; padding: .35em 1.1em; background: rgba(255, 255, 255, .94); border: .35cqw solid #b42318; color: #b42318; font-weight: 800; letter-spacing: .12em; font-size: 3.6cqw; transform: rotate(-9deg); border-radius: 1.2cqw; box-shadow: 0 .6cqw 2cqw rgba(0, 0, 0, .25); white-space: nowrap; }
.pafns-card-deceased .pafns-idcard__bg { filter: grayscale(.85) brightness(.92); }
.pp-subhead { margin: 18px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pp-muted); }
.pp-subhead:first-child { margin-top: 0; }

.pp-badge--ditamatkan { background: var(--pp-bad-soft); color: var(--pp-bad); }
.pp-statusform { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--pp-line-2); }
.pp-intent { border: 1px solid var(--pp-line-2); border-radius: 14px; background: #fff; padding: 20px 22px; margin: 0 0 18px; }
.pp-intent h3 { margin: 0 0 4px; font-size: 17px; }
.pp-intent > p { margin: 0 0 14px; color: var(--pp-muted); font-size: 14px; }
.pp-intent__opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--pp-line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; }
.pp-intent__opt input { margin-top: 3px; }
.pp-intent__opt strong { display: block; font-size: 14.5px; }
.pp-intent__opt span { font-size: 13px; color: var(--pp-muted); }
.pp-intent__opt:has(input:checked) { border-color: var(--pp-navy); background: #f5f8fd; }
.pp-intent__reason { margin: 4px 0 12px; }
.pp-intent__reason[hidden] { display: none; }
.pp-intent__now { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; }

.pp-pager--top { margin: 4px 0 14px; justify-content: flex-end; }
.pp-pager--top > span { margin-right: auto; }

/* 1.2.9: ahli baharu menunggu pengesahan & padam akaun */
.pafns-card-pending .pafns-idcard__member { color: #ffd27a; white-space: nowrap; letter-spacing: .02em; }
.pafns-idcard-note { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--pp-warn-soft, #fff4dc); color: var(--pp-warn, #9a6a00); font-size: 13px; line-height: 1.45; text-align: center; }
.pp-verifyask { margin-bottom: 16px; }
.pp-verifyask form { margin-top: 10px; }
.pp-card--danger { border-color: #efc4c7; }
.pp-card--danger .pp-card__head h2 { color: var(--pp-bad); }
#pp-padam-akaun { scroll-margin-top: 90px; }
