/* PalPlus Service — V12 unified visual system
   Clean payment-first language inspired by modern Palestinian fintech interfaces.
   This layer intentionally overrides legacy page-specific styles without changing business logic. */
:root{
  --pp-brand:#20c96b;
  --pp-brand-strong:color-mix(in srgb,var(--pp-brand) 82%,#064d2a);
  --pp-brand-deep:color-mix(in srgb,var(--pp-brand) 58%,#063a22);
  --pp-brand-soft:color-mix(in srgb,var(--pp-brand) 12%,#ffffff);
  --pp-ink:#122019;
  --pp-muted:#637168;
  --pp-bg:#f5f8f6;
  --pp-surface:#ffffff;
  --pp-surface-soft:#f8faf9;
  --pp-line:#dde6e0;
  --pp-danger:#c93d3d;
  --pp-warning:#a66a08;
  --pp-info:#1767a8;
  --pp-radius:18px;
  --pp-radius-sm:12px;
  --pp-shadow:0 14px 42px rgba(17,48,31,.08);
  --pp-shadow-sm:0 7px 22px rgba(17,48,31,.06);
  --pp-focus:0 0 0 3px rgba(32,201,107,.18);
}
html{font-synthesis:none;text-rendering:optimizeLegibility}
body.pp-public,body.pp-account,body.pp-admin,body.pp-staff,body.pp-dealer,body.pp-admin-login,body.pp-staff-login{
  -webkit-font-smoothing:antialiased;
  font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;
}
body.pp-public a,body.pp-account a,body.pp-admin a,body.pp-staff a,body.pp-dealer a{text-decoration:none}
body.pp-public button,body.pp-public input,body.pp-public select,body.pp-public textarea,
body.pp-account button,body.pp-account input,body.pp-account select,body.pp-account textarea,
body.pp-admin button,body.pp-admin input,body.pp-admin select,body.pp-admin textarea,
body.pp-staff button,body.pp-staff input,body.pp-staff select,body.pp-staff textarea,
body.pp-dealer button,body.pp-dealer input,body.pp-dealer select,body.pp-dealer textarea{font:inherit}
body.pp-public :focus-visible,body.pp-account :focus-visible,body.pp-admin :focus-visible,body.pp-staff :focus-visible,body.pp-dealer :focus-visible{outline:none;box-shadow:var(--pp-focus)}

/* ---------- Public storefront ---------- */
body.pp-public{
  --brand:var(--pp-brand)!important;
  --brand-soft:color-mix(in srgb,var(--pp-brand) 12%,transparent)!important;
  --bg:var(--pp-bg)!important;
  --panel:var(--pp-surface)!important;
  --panel2:var(--pp-surface-soft)!important;
  --header:rgba(255,255,255,.93)!important;
  --input:#fff!important;
  --text:var(--pp-ink)!important;
  --muted:var(--pp-muted)!important;
  --line:var(--pp-line)!important;
  --shadow:rgba(17,48,31,.10)!important;
  --hero:#e8f8ef!important;
  background:linear-gradient(180deg,#fbfdfc 0,#f4f8f5 52%,#f8faf9 100%)!important;
  color:var(--pp-ink)!important;
}
html[data-theme="dark"] body.pp-public,html[data-theme="navy"] body.pp-public{
  --bg:#07110c!important;--panel:#0d1a12!important;--panel2:#12231a!important;--header:rgba(7,17,12,.92)!important;--input:#0a150f!important;--text:#f3faf6!important;--muted:#9eb0a5!important;--line:#294136!important;--hero:#113d25!important;
  background:radial-gradient(circle at 85% -12%,#16472b 0,transparent 32%),#07110c!important;color:var(--text)!important
}
body.pp-public .wrap{width:min(1200px,calc(100% - 40px))}
body.pp-public header.site-header,body.pp-public>header{border-bottom:1px solid var(--line)!important;box-shadow:0 6px 24px rgba(13,45,27,.04)}
body.pp-public .topbar{min-height:76px;gap:24px}
body.pp-public .brand{letter-spacing:-.02em;font-weight:850}
body.pp-public .brand img{max-height:42px}
body.pp-public .navlinks{gap:8px}
body.pp-public .navlinks>a:not(.lang),body.pp-public .mobile-menu>a{padding:9px 11px;border-radius:10px;font-weight:650}
body.pp-public .navlinks>a:not(.lang):hover{background:var(--panel2)}
body.pp-public .lang{border-color:var(--line)!important;color:var(--text)!important;background:var(--panel)!important;font-weight:750}
body.pp-public .theme-picker{border-color:var(--line)!important;background:var(--panel2)!important}
body.pp-public .btn{min-height:44px;border-radius:12px;padding:10px 17px;background:var(--brand);color:#062114;box-shadow:none;transition:.18s ease;border:1px solid transparent}
body.pp-public .btn:hover{filter:none;transform:translateY(-1px);background:var(--pp-brand-strong)}
body.pp-public .btn.outline{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
body.pp-public .btn.outline:hover{border-color:var(--brand)!important;color:var(--brand)!important}
body.pp-public .hero{gap:52px;padding:72px 0 48px}
body.pp-public .hero h1{font-size:clamp(2.35rem,5.2vw,4.6rem);letter-spacing:-.055em;line-height:1.04}
body.pp-public .hero p{font-size:1.05rem;line-height:1.95}
body.pp-public .hero-art{border:1px solid var(--line)!important;border-radius:26px!important;box-shadow:var(--pp-shadow)!important;background:linear-gradient(145deg,var(--panel),var(--brand-soft))!important}
body.pp-public .eyebrow,body.pp-public .section-label{border:0!important;background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important;font-size:.78rem;font-weight:800;letter-spacing:.02em}
body.pp-public .section{padding:48px 0}
body.pp-public .section h2{letter-spacing:-.035em}
body.pp-public .cat,body.pp-public .product-card,body.pp-public .info,body.pp-public .panel,body.pp-public .product-summary,body.pp-public .order-box,
body.pp-public .status-card,body.pp-public .transfer-card,body.pp-public .proof-upload,body.pp-public .journey-grid article,body.pp-public .faq-item{
  border-color:var(--line)!important;border-radius:var(--pp-radius)!important;background:var(--panel)!important;box-shadow:var(--pp-shadow-sm)!important
}
body.pp-public .cat:hover,body.pp-public .product-card:hover{transform:translateY(-3px);border-color:rgba(32,201,107,.52)!important;box-shadow:var(--pp-shadow)!important}
body.pp-public .cat-icon,body.pp-public .product-icon span{background:var(--panel2)!important;border-color:var(--line)!important;border-radius:14px!important}
body.pp-public .product-card{padding:18px;min-height:220px}
body.pp-public .product-card h3{font-size:1rem;line-height:1.45}
body.pp-public input,body.pp-public select,body.pp-public textarea{border:1px solid var(--line)!important;border-radius:12px!important;background:var(--input)!important;min-height:46px;padding:11px 13px!important;box-shadow:none!important}
body.pp-public input:focus,body.pp-public select:focus,body.pp-public textarea:focus{border-color:var(--brand)!important}
body.pp-public label{font-size:.86rem;font-weight:750}
body.pp-public .price-note{color:var(--muted)!important;line-height:1.7}
body.pp-public .announcement{background:#0b3f25!important;color:#fff!important;font-weight:700}

/* Payment-first checkout */
body.pp-public .pp-checkout-shell{max-width:980px;margin:34px auto 60px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.pp-public .pp-payment-header{text-align:start;padding:4px 2px 18px}
body.pp-public .pp-payment-header h1{margin:8px 0 6px;font-size:clamp(1.65rem,3vw,2.25rem);letter-spacing:-.035em}
body.pp-public .pp-payment-header p{color:var(--muted);margin:0}
body.pp-public .pp-checkout-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 18px;counter-reset:checkout}
body.pp-public .pp-checkout-step{display:flex;gap:9px;align-items:center;padding:11px 13px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:var(--muted);font-size:.82rem;font-weight:750}
body.pp-public .pp-checkout-step::before{counter-increment:checkout;content:counter(checkout);width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e5ece8;color:#627268;font-size:.72rem;font-weight:850;flex:0 0 auto}
body.pp-public .pp-checkout-step.done,body.pp-public .pp-checkout-step.current{color:var(--text)}
body.pp-public .pp-checkout-step.done::before{content:"✓";background:var(--brand);color:#062114}
body.pp-public .pp-checkout-step.current{border-color:rgba(32,201,107,.52);background:var(--brand-soft)}
body.pp-public .pp-checkout-step.current::before{background:var(--brand);color:#062114}
body.pp-public .pp-payment-summary{background:var(--panel)!important;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--pp-shadow-sm);margin-bottom:14px}
body.pp-public .pp-payment-summary .status-grid{margin-top:14px}
body.pp-public .payment-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
body.pp-public .pay{position:relative;display:flex!important;flex-direction:column;align-items:flex-start;gap:6px;min-height:145px;padding:17px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--panel)!important;box-shadow:0 4px 16px rgba(17,48,31,.035);transition:.16s ease}
body.pp-public .pay:hover{border-color:rgba(32,201,107,.55)!important;transform:translateY(-1px)}
body.pp-public .pay:has(input:checked){border-color:var(--brand)!important;box-shadow:0 0 0 3px var(--brand-soft)!important;background:linear-gradient(180deg,var(--panel),rgba(32,201,107,.045))!important}
body.pp-public .pay input[type="radio"]{position:absolute;inset-inline-end:15px;top:15px;width:18px;height:18px;min-height:0;accent-color:var(--brand)}
body.pp-public .pay b{font-size:.96rem;padding-inline-end:28px}
body.pp-public .pay small{color:var(--muted);font-weight:500;line-height:1.65}
body.pp-public .pp-card-payment{border-color:rgba(32,201,107,.42)!important;order:-10}
body.pp-public .pp-card-brands{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:10px}
body.pp-public .pp-brand-chip{height:31px;min-width:62px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#112118;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:900;letter-spacing:.05em}
body.pp-public .pp-brand-chip.visa{color:#17357b;font-style:italic;font-size:.88rem}
body.pp-public .pp-brand-chip.mastercard{color:#1a1a1a;letter-spacing:-.02em}
body.pp-public .pp-secure-payment-note{display:flex;gap:10px;align-items:flex-start;margin:14px 0;padding:13px 14px;border-radius:12px;background:#edf8f1;color:#225d38;border:1px solid #ccead7;font-size:.82rem;line-height:1.65}
html[data-theme="dark"] body.pp-public .pp-secure-payment-note,html[data-theme="navy"] body.pp-public .pp-secure-payment-note{background:#102b1b;color:#ccebd8;border-color:#285039}
body.pp-public .review-confirm{background:var(--panel2)!important;border-color:var(--line)!important;padding:13px 14px!important;font-size:.84rem}
body.pp-public #paymentContinueBtn{min-height:50px!important;font-size:.96rem;margin-top:14px!important}
body.pp-public .pp-payment-lock{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.8rem;margin:10px 0}
body.pp-public .order-number{border:1px solid rgba(32,201,107,.48)!important;background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important;font-weight:850}

/* ---------- Customer account ---------- */
body.pp-account{
  --brand:var(--pp-brand)!important;--brand-soft:color-mix(in srgb,var(--pp-brand) 12%,transparent)!important;--bg:var(--pp-bg)!important;--panel:var(--pp-surface)!important;--panel2:var(--pp-surface-soft)!important;--text:var(--pp-ink)!important;--muted:var(--pp-muted)!important;--line:var(--pp-line)!important;
  background:linear-gradient(180deg,#fbfdfc,#f3f7f4 68%,#f7faf8)!important;color:var(--pp-ink)!important
}
html[data-panel-theme="dark"] body.pp-account{--bg:#07110c!important;--panel:#0d1a12!important;--panel2:#12231a!important;--text:#f3faf6!important;--muted:#9eb0a5!important;--line:#294136!important;background:#07110c!important;color:var(--text)!important}
body.pp-account .site-header{background:rgba(255,255,255,.92)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 5px 22px rgba(17,48,31,.04)!important}
html[data-panel-theme="dark"] body.pp-account .site-header{background:rgba(7,17,12,.92)!important}
body.pp-account .main{padding-top:24px}
body.pp-account .topbar{min-height:70px}
body.pp-account .brand-logo{border-radius:12px!important;background:var(--brand)!important;color:#062114!important}
body.pp-account .head-actions .btn{border-radius:11px!important;border-color:var(--line)!important;background:var(--panel)!important;color:var(--text)!important;box-shadow:none!important}
body.pp-account .account-overview{border:1px solid var(--line)!important;background:var(--panel)!important;border-radius:20px!important;padding:18px 20px!important;box-shadow:var(--pp-shadow-sm)!important}
body.pp-account .account-identity h1{letter-spacing:-.03em}
body.pp-account .overview-avatar,body.pp-account .account-avatar,body.pp-account .avatar-fallback{border-radius:15px!important;background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important}
body.pp-account .wallet-balance-top,body.pp-account .points-balance-top{border:1px solid var(--line)!important;background:var(--panel2)!important;border-radius:15px!important;box-shadow:none!important}
body.pp-account .wallet-balance-top strong,body.pp-account .points-balance-top strong{color:var(--text)!important}
body.pp-account .account-tabs{display:flex!important;overflow-x:auto;scrollbar-width:none;gap:5px;padding:5px!important;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:15px!important;box-shadow:var(--pp-shadow-sm)!important;position:sticky;top:78px;z-index:8}
body.pp-account .account-tabs::-webkit-scrollbar{display:none}
body.pp-account .account-tabs a{flex:0 0 auto!important;white-space:nowrap;border-radius:10px!important;color:var(--muted)!important;padding:9px 12px!important;font-size:.78rem;font-weight:750}
body.pp-account .account-tabs a:hover{background:var(--panel2)!important;color:var(--text)!important}
body.pp-account .account-tabs a.active{background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important;box-shadow:none!important}
body.pp-account .account-tabs a.pp-settings-tab{margin-inline-start:auto;border:1px solid rgba(32,201,107,.28)}
body.pp-account .panel,body.pp-account .metric,body.pp-account .order-card,body.pp-account .saved-card,body.pp-account .balance-box,body.pp-account .topup-card,body.pp-account .account-social,body.pp-account .security-item{border-color:var(--line)!important;background:var(--panel)!important;border-radius:var(--pp-radius)!important;box-shadow:var(--pp-shadow-sm)!important}
body.pp-account .panel{padding:20px!important}
body.pp-account .panel h1,body.pp-account .panel h2,body.pp-account .panel h3{letter-spacing:-.025em}
body.pp-account .metric{padding:15px!important}
body.pp-account .metric b{color:var(--text)!important}
body.pp-account .referral-card{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:var(--pp-shadow-sm)!important}
body.pp-account .referral-icon{background:var(--brand-soft)!important;font-size:0!important}
body.pp-account .referral-icon::before{content:"↗";font-size:1.35rem;color:var(--pp-brand-deep);font-weight:900}
body.pp-account .points-card,body.pp-account .compact-points-card{background:linear-gradient(145deg,#fffdf7,#fff)!important;border-color:#eadcaf!important;color:var(--pp-ink)!important}
html[data-panel-theme="dark"] body.pp-account .points-card,html[data-panel-theme="dark"] body.pp-account .compact-points-card{background:#17150d!important;color:var(--text)!important;border-color:#574b22!important}
body.pp-account input,body.pp-account select,body.pp-account textarea{border:1px solid var(--line)!important;border-radius:11px!important;background:var(--panel)!important;color:var(--text)!important;min-height:45px;padding:10px 12px!important}
body.pp-account input:focus,body.pp-account select:focus,body.pp-account textarea:focus{border-color:var(--brand)!important}
body.pp-account button,body.pp-account .btn{border-radius:11px!important;min-height:43px}
body.pp-account button:not(.danger):not(.outline),body.pp-account .btn:not(.danger):not(.outline){background:var(--brand)!important;color:#062114!important}
body.pp-account .btn.outline{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
body.pp-account .profile-grid{gap:14px!important}
body.pp-account .security-grid{gap:10px!important}
body.pp-account .security-item{padding:14px!important;box-shadow:none!important}
body.pp-account .pp-security-setup{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:center;margin:12px 0}
body.pp-account .pp-qr-box{width:180px;min-height:180px;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff;display:grid;place-items:center;overflow:hidden}
body.pp-account .pp-qr-box canvas,body.pp-account .pp-qr-box svg{max-width:100%;height:auto}
body.pp-account .pp-secret-row{display:flex;gap:8px;align-items:center;margin-top:8px}
body.pp-account .pp-secret-row code{flex:1;direction:ltr;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);overflow-wrap:anywhere;color:var(--text)}
body.pp-account .pp-icon-text{display:inline-flex;align-items:center;gap:7px}
body.pp-account .mobile-account-nav i{font-style:normal;font-size:0}
body.pp-account .mobile-account-nav i::before{font-size:1rem}
body.pp-account .mobile-account-nav a:nth-child(1) i::before{content:"⌂"}
body.pp-account .mobile-account-nav a:nth-child(2) i::before{content:"▣"}
body.pp-account .mobile-account-nav a:nth-child(3) i::before{content:"◫"}
body.pp-account .mobile-account-nav a:nth-child(4) i::before{content:"◇"}
body.pp-account .mobile-account-nav a:nth-child(5) i::before{content:"⚙"}

/* ---------- Admin ---------- */
body.pp-admin{
  --brand:var(--pp-brand)!important;--green:var(--pp-brand)!important;--accent:var(--pp-brand)!important;--bg:var(--pp-bg)!important;--panel:#fff!important;--panel2:#f8faf9!important;--text:var(--pp-ink)!important;--muted:var(--pp-muted)!important;--line:var(--pp-line)!important;
  background:#f5f8f6!important;color:var(--pp-ink)!important
}
html[data-panel-theme="dark"] body.pp-admin{--bg:#07110c!important;--panel:#0d1a12!important;--panel2:#12231a!important;--text:#f3faf6!important;--muted:#9eb0a5!important;--line:#294136!important;background:#07110c!important;color:var(--text)!important}
body.pp-admin .app-topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 5px 22px rgba(17,48,31,.04)!important}
html[data-panel-theme="dark"] body.pp-admin .app-topbar{background:rgba(7,17,12,.94)!important}
body.pp-admin .brand-symbol{border-radius:12px!important;background:var(--brand)!important;color:#062114!important;box-shadow:none!important}
body.pp-admin .page-wrap{width:min(1500px,calc(100% - 34px))!important;padding-top:26px!important}
body.pp-admin .page-heading{margin-bottom:20px!important}
body.pp-admin .page-heading h1{font-size:clamp(1.65rem,2.6vw,2.35rem)!important;letter-spacing:-.04em;margin-bottom:5px!important}
body.pp-admin .page-heading p{color:var(--muted)!important}
body.pp-admin .owner-chip{display:flex!important;align-items:center;gap:9px;padding:6px 9px;border:1px solid var(--line)!important;border-radius:13px;background:var(--panel)!important;color:var(--text)!important;cursor:pointer}
body.pp-admin .owner-chip:hover{border-color:rgba(32,201,107,.45)!important}
body.pp-admin .owner-avatar{background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important}
body.pp-admin section,body.pp-admin .metric-card,body.pp-admin .bank-box,body.pp-admin .stat-card,body.pp-admin .admin-card{border-color:var(--line)!important;background:var(--panel)!important;border-radius:17px!important;box-shadow:var(--pp-shadow-sm)!important}
body.pp-admin section{padding:20px!important;margin-bottom:15px!important}
body.pp-admin .metric-grid{gap:11px!important}
body.pp-admin .metric-card{padding:16px!important;min-height:115px}
body.pp-admin .metric-value{font-size:1.65rem!important;letter-spacing:-.03em;color:var(--text)!important}
body.pp-admin .metric-note,body.pp-admin .section-help{color:var(--muted)!important;line-height:1.7}
body.pp-admin input,body.pp-admin select,body.pp-admin textarea{border:1px solid var(--line)!important;border-radius:10px!important;background:var(--panel2)!important;color:var(--text)!important;min-height:42px;padding:9px 11px!important}
body.pp-admin input:focus,body.pp-admin select:focus,body.pp-admin textarea:focus{border-color:var(--brand)!important;background:var(--panel)!important}
body.pp-admin button,body.pp-admin .soft-button,body.pp-admin .pill{border-radius:10px!important;box-shadow:none!important}
body.pp-admin button:not(.danger),body.pp-admin .soft-button.primary{background:var(--brand)!important;color:#062114!important;border-color:transparent!important}
body.pp-admin .soft-button{background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;padding:8px 11px!important;display:inline-flex;align-items:center;gap:6px}
body.pp-admin .soft-button:hover{border-color:rgba(32,201,107,.5)!important;color:var(--pp-brand-deep)!important}
body.pp-admin .admin-table-wrap{border:1px solid var(--line);border-radius:13px;overflow:auto;background:var(--panel)}
body.pp-admin table{border-collapse:separate!important;border-spacing:0!important}
body.pp-admin th{background:var(--panel2)!important;color:var(--muted)!important;font-size:.76rem!important;white-space:nowrap}
body.pp-admin td{border-bottom-color:var(--line)!important}
body.pp-admin tr:last-child td{border-bottom:0!important}
body.pp-admin .ops-tabs{display:flex!important;align-items:center;gap:6px!important;flex-wrap:wrap!important;padding:6px!important;margin:0 0 16px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--panel)!important;box-shadow:var(--pp-shadow-sm)!important;overflow:visible!important}
body.pp-admin .ops-tabs a{display:inline-flex!important;align-items:center;justify-content:center;padding:9px 12px!important;border-radius:9px!important;color:var(--muted)!important;font-size:.78rem!important;font-weight:750!important;white-space:nowrap!important;border:0!important}
body.pp-admin .ops-tabs a:hover{background:var(--panel2)!important;color:var(--text)!important}
body.pp-admin .ops-tabs a.current{background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important}
body.pp-admin .pp-module-warning{padding:14px 15px;border:1px solid #ead5aa;border-radius:13px;background:#fff9ec;color:#6f531e;margin:12px 0}
html[data-panel-theme="dark"] body.pp-admin .pp-module-warning{background:#2a2110;color:#f1dcae;border-color:#5b4820}
body.pp-admin .drawer,body.pp-admin .admin-drawer,body.pp-admin aside{border-color:var(--line)!important}

/* ---------- Auth pages ---------- */
body.pp-admin-login,body.pp-staff-login{background:linear-gradient(145deg,#f7faf8,#ecf6f0)!important;color:var(--pp-ink)!important}
body.pp-admin-login .login-shell,body.pp-admin-login .login-card,body.pp-admin-login .auth-shell,body.pp-admin-login .card,
body.pp-staff-login .login{background:#fff!important;color:var(--pp-ink)!important;border:1px solid var(--pp-line)!important;border-radius:24px!important;box-shadow:0 28px 80px rgba(13,56,31,.12)!important}
body.pp-staff-login .login{width:min(560px,calc(100% - 28px))!important;padding:30px!important}
body.pp-staff-login .logo,body.pp-admin-login .brand-symbol{background:var(--pp-brand)!important;color:#062114!important;border-radius:15px!important}
body.pp-staff-login input,body.pp-admin-login input{background:#fff!important;color:var(--pp-ink)!important;border:1px solid var(--pp-line)!important;border-radius:11px!important;min-height:46px}
body.pp-staff-login button,body.pp-admin-login button{background:var(--pp-brand)!important;color:#062114!important;border-radius:11px!important;min-height:46px}
body.pp-staff-login .muted{color:var(--pp-muted)!important}
body.pp-staff-login .secret{background:#f7faf8!important;color:#184c31!important;border-color:var(--pp-line)!important}
body.pp-staff-login .pp-staff-2fa-choices{display:grid;gap:10px;margin-top:14px}
body.pp-staff-login .pp-auth-alt{background:#fff!important;color:var(--pp-ink)!important;border:1px solid var(--pp-line)!important}
body.pp-staff-login .pp-qr-stage{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center;margin:14px 0}
body.pp-staff-login .pp-qr-box{min-height:180px;padding:10px;border:1px solid var(--pp-line);border-radius:15px;background:#fff;display:grid;place-items:center}

/* ---------- Staff ---------- */
body.pp-staff{--g:var(--pp-brand)!important;--brand:var(--pp-brand)!important;--bg:var(--pp-bg)!important;--panel:#fff!important;--panel2:#f8faf9!important;--line:var(--pp-line)!important;--muted:var(--pp-muted)!important;--text:var(--pp-ink)!important;background:#f5f8f6!important;color:var(--pp-ink)!important}
html[data-panel-theme="dark"] body.pp-staff{--bg:#07110c!important;--panel:#0d1a12!important;--panel2:#12231a!important;--line:#294136!important;--muted:#9eb0a5!important;--text:#f3faf6!important;background:#07110c!important;color:var(--text)!important}
body.pp-staff .side{background:var(--panel)!important;border-inline-end:1px solid var(--line)!important;box-shadow:none!important}
body.pp-staff .brand i{border-radius:12px!important;background:var(--brand)!important;color:#062114!important}
body.pp-staff .staff-card{background:var(--panel2)!important;border-color:var(--line)!important;border-radius:14px!important}
body.pp-staff .nav{gap:3px!important}
body.pp-staff .nav a{border-radius:9px!important;color:var(--muted)!important;padding:10px 11px!important;font-size:.82rem!important;font-weight:700}
body.pp-staff .nav a:hover{background:var(--panel2)!important;color:var(--text)!important}
body.pp-staff .nav a.active{background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important}
body.pp-staff .top{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 5px 20px rgba(17,48,31,.04)!important}
html[data-panel-theme="dark"] body.pp-staff .top{background:rgba(7,17,12,.94)!important}
body.pp-staff .content{padding:22px!important}
body.pp-staff .panel,body.pp-staff .card,body.pp-staff .bank-box{background:var(--panel)!important;border-color:var(--line)!important;border-radius:17px!important;box-shadow:var(--pp-shadow-sm)!important}
body.pp-staff input,body.pp-staff select,body.pp-staff textarea{background:var(--panel2)!important;color:var(--text)!important;border-color:var(--line)!important;border-radius:10px!important;min-height:42px}
body.pp-staff button{border-radius:10px!important;background:var(--brand)!important;color:#062114!important}

/* ---------- Dealer ---------- */
body.pp-dealer{--g:var(--pp-brand)!important;--bg:var(--pp-bg)!important;--p:#fff!important;--p2:#f8faf9!important;--line:var(--pp-line)!important;--muted:var(--pp-muted)!important;background:#f5f8f6!important;color:var(--pp-ink)!important}
body.pp-dealer .card,body.pp-dealer .panel,body.pp-dealer .box{background:#fff!important;border-color:var(--pp-line)!important;border-radius:17px!important;box-shadow:var(--pp-shadow-sm)!important;color:var(--pp-ink)!important}
body.pp-dealer input,body.pp-dealer select,body.pp-dealer textarea{background:#f8faf9!important;color:var(--pp-ink)!important;border-color:var(--pp-line)!important}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  body.pp-public .wrap{width:min(100% - 26px,1200px)}
  body.pp-public .pp-checkout-steps{grid-template-columns:1fr}
  body.pp-public .payment-methods{grid-template-columns:1fr}
  body.pp-account .account-tabs{top:68px}
  body.pp-account .pp-security-setup,body.pp-staff-login .pp-qr-stage{grid-template-columns:1fr}
  body.pp-account .pp-qr-box,body.pp-staff-login .pp-qr-box{margin-inline:auto}
  body.pp-admin .page-wrap{width:min(100% - 22px,1500px)!important}
  body.pp-admin .ops-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none}
  body.pp-admin .ops-tabs::-webkit-scrollbar{display:none}
}
@media(max-width:620px){
  body.pp-public .hero{padding:38px 0 28px}
  body.pp-public .hero h1{font-size:2.25rem}
  body.pp-public .panel{padding:18px!important;margin:22px auto!important}
  body.pp-account .main{padding-bottom:82px!important}
  body.pp-account .account-tabs{position:static!important}
  body.pp-account .head-actions .panel-theme-btn{display:none}
  body.pp-account .panel{padding:16px!important}
  body.pp-admin .top-page-title{display:none!important}
  body.pp-admin .owner-copy{display:none!important}
  body.pp-admin section{padding:15px!important}
  body.pp-staff .content{padding:14px!important}
}

/* reduced motion */
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* ---------- Recovery / receipt / offline: same PalPlus visual language ---------- */
body.pp-recovery,body.pp-receipt,body.pp-offline{
  -webkit-font-smoothing:antialiased;
  font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif!important;
  color:var(--pp-ink)!important;
  background:linear-gradient(180deg,#fbfdfc 0,#f3f8f5 100%)!important;
}
body.pp-recovery .wrap,body.pp-receipt .wrap{width:min(800px,calc(100% - 32px));margin:34px auto}
body.pp-recovery .panel,body.pp-receipt .sheet,body.pp-offline .card{
  background:#fff!important;border:1px solid var(--pp-line)!important;border-radius:22px!important;
  box-shadow:var(--pp-shadow)!important;color:var(--pp-ink)!important
}
body.pp-recovery .brand{color:var(--pp-ink)!important}
body.pp-recovery .mark,body.pp-receipt .mark,body.pp-offline .mark{background:var(--pp-brand)!important;color:#062114!important;border-radius:14px!important}
body.pp-recovery .eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--pp-brand-soft)!important;color:var(--pp-brand-deep)!important;font-size:.76rem;font-weight:800}
body.pp-recovery .muted,body.pp-receipt .muted,body.pp-offline p{color:var(--pp-muted)!important}
body.pp-recovery input,body.pp-recovery textarea{background:#fff!important;color:var(--pp-ink)!important;border-color:var(--pp-line)!important;min-height:46px}
body.pp-recovery input:focus,body.pp-recovery textarea:focus{border-color:var(--pp-brand)!important;outline:none;box-shadow:var(--pp-focus)}
body.pp-recovery button,body.pp-receipt .btn{background:var(--pp-brand)!important;color:#062114!important;border-radius:11px!important;box-shadow:none!important}
body.pp-recovery .safe,body.pp-recovery .identity{background:#f8faf9!important;color:var(--pp-ink)!important;border-color:var(--pp-line)!important}
body.pp-recovery .notice{background:#edf9f1!important;color:#175b32!important;border-color:#c9ebd4!important}
body.pp-recovery .err{background:#fff2f2!important;color:#8f2d2d!important;border-color:#efcaca!important}
body.pp-receipt .item{border-color:var(--pp-line)!important;border-radius:13px!important;background:#fbfcfb!important}
body.pp-receipt .total{background:var(--pp-brand-soft)!important;border-color:#c9ebd4!important;border-radius:15px!important}
body.pp-receipt .total strong{color:var(--pp-brand-deep)!important}
body.pp-receipt .btn.alt{background:#fff!important;color:var(--pp-ink)!important;border-color:var(--pp-line)!important}
body.pp-offline{min-height:100vh;display:grid;place-items:center}
body.pp-offline .card{width:min(520px,calc(100% - 32px));padding:34px;text-align:center}

/* Customer account: reduce playful decoration and use small structured indicators. */
body.pp-account .pp-feature-list>div{display:flex!important;align-items:center;gap:10px!important}
body.pp-account .pp-feature-dot{width:8px;height:8px;border-radius:999px;background:var(--brand);box-shadow:0 0 0 4px var(--brand-soft);flex:0 0 auto}
body.pp-account .pp-store-icon{font-family:Arial,sans-serif;font-size:1.1em;line-height:1}
body.pp-account .eyebrow{letter-spacing:.01em}

/* V12 icon primitives: crisp CSS icons instead of decorative emoji in key navigation/payment surfaces. */
body.pp-public .pp-bell-icon{position:relative;display:inline-block;width:16px;height:15px;border:2px solid currentColor;border-top-left-radius:9px;border-top-right-radius:9px;border-bottom:0;vertical-align:-2px}
body.pp-public .pp-bell-icon::before{content:"";position:absolute;width:5px;height:2px;border-radius:3px;background:currentColor;inset-inline-start:50%;bottom:-4px;transform:translateX(-50%)}
body.pp-public .pp-lock-icon{position:relative;display:inline-block;width:14px;height:12px;border:1.8px solid currentColor;border-radius:4px;flex:0 0 auto}
body.pp-public .pp-lock-icon::before{content:"";position:absolute;width:7px;height:6px;border:1.8px solid currentColor;border-bottom:0;border-radius:7px 7px 0 0;left:1.6px;top:-7px}
body.pp-public .product-meta-row{display:flex;gap:7px;flex-wrap:wrap}
body.pp-public .product-meta-row>span{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:var(--panel2);font-size:.78rem;color:var(--muted)}

/* V12 monochrome icon system — replaces decorative emoji in navigation and transactional UI. */
.pp-icon{width:1.08em;height:1.08em;display:inline-block;vertical-align:-.16em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.pp-icon.icon-lg{width:1.3em;height:1.3em}.pp-icon.icon-xl{width:1.6em;height:1.6em}
body.pp-account .mobile-account-nav .pp-icon{width:20px;height:20px}
body.pp-account .pp-section-icon{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:var(--brand-soft);color:var(--pp-brand-deep);display:grid;place-items:center}
body.pp-account .pp-section-icon .pp-icon{width:20px;height:20px}
body.pp-account .welcome-toast .pp-icon,body.pp-account .wallet-balance-top .pp-icon,body.pp-account .points-balance-top .pp-icon{margin-inline-end:6px}
body.pp-account .referral-icon{display:grid;place-items:center;color:var(--pp-brand-deep)!important;font-size:1rem!important}
body.pp-account .referral-icon .pp-icon{width:24px;height:24px}
body.pp-account .empty .pp-icon{width:30px;height:30px;color:var(--muted)}
body.pp-account .eyebrow .pp-icon{width:14px;height:14px}
body.pp-account .pp-copy-button{display:inline-flex;gap:7px;align-items:center}
body.pp-account .pp-media-fallback,body.pp-public .pp-media-fallback{display:grid;place-items:center;width:100%;height:100%;font-weight:900;color:var(--pp-brand-deep)}

/* ========================================================================== 
   V12 FINAL EXPERIENCE PASS — quiet fintech hierarchy, no playful decoration
   ========================================================================== */

/* Remove legacy decorative glyphs now that every important action has a real icon. */
body.pp-account .auth-visual::after,
body.pp-account .welcome-card::after,
body.pp-account .referral-icon::before{content:none!important;display:none!important}
body.pp-account .mobile-account-nav i{font-size:initial!important;display:grid!important;place-items:center!important}
body.pp-account .mobile-account-nav i::before{content:none!important;display:none!important}
body.pp-account .account-tabs .pp-icon{width:16px;height:16px;margin-inline-end:5px;vertical-align:-.2em}
body.pp-account .account-tabs a{display:inline-flex!important;align-items:center!important;gap:4px!important}
body.pp-account .account-tabs a.pp-settings-tab{font-weight:850!important;border-color:color-mix(in srgb,var(--brand) 36%,var(--line))!important}
body.pp-account .account-tabs a.pp-settings-tab:not(.active){background:color-mix(in srgb,var(--brand) 5%,var(--panel))!important;color:var(--text)!important}
body.pp-account .wallet-balance-top a,
body.pp-account .points-balance-top a,
body.pp-account .text-action{display:inline-flex;align-items:center;gap:6px;color:var(--pp-brand-deep)!important;font-weight:780}
body.pp-account .wallet-balance-top a .pp-icon,
body.pp-account .points-balance-top a .pp-icon,
body.pp-account .text-action .pp-icon{width:15px;height:15px}
html[dir="rtl"] body.pp-account .wallet-balance-top a .pp-icon,
html[dir="rtl"] body.pp-account .points-balance-top a .pp-icon,
html[dir="rtl"] body.pp-account .text-action .pp-icon{transform:scaleX(-1)}

/* Customer account: compact banking-dashboard structure. */
body.pp-account .main>.wrap{max-width:1180px}
body.pp-account .account-overview{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(430px,.9fr)!important;align-items:center!important;gap:22px!important;padding:22px!important;margin-bottom:14px!important}
body.pp-account .account-identity{display:flex!important;align-items:center!important;gap:14px!important;min-width:0}
body.pp-account .account-identity h1{font-size:clamp(1.45rem,2.6vw,2.15rem)!important;margin:4px 0 1px!important;line-height:1.2}
body.pp-account .account-identity small{color:var(--muted)!important;overflow-wrap:anywhere}
body.pp-account .overview-avatar{width:62px!important;height:62px!important;flex:0 0 62px!important;object-fit:cover;border:1px solid color-mix(in srgb,var(--brand) 24%,var(--line))!important;box-shadow:none!important}
body.pp-account .overview-avatar.fallback{display:grid!important;place-items:center!important;font-size:1.45rem!important;font-weight:850!important}
body.pp-account .welcome-toast{display:inline-flex!important;align-items:center!important;gap:4px!important;background:transparent!important;color:var(--muted)!important;padding:0!important;border:0!important;font-size:.76rem!important;font-weight:720!important}
body.pp-account .account-balance-pair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;min-width:0}
body.pp-account .wallet-balance-top,body.pp-account .points-balance-top{padding:15px 16px!important;min-height:118px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important}
body.pp-account .wallet-balance-top>span,body.pp-account .points-balance-top>span{font-size:.76rem!important;color:var(--muted)!important;font-weight:750!important}
body.pp-account .wallet-balance-top strong,body.pp-account .points-balance-top strong{font-size:1.55rem!important;line-height:1.2!important;margin:5px 0!important;letter-spacing:-.025em}
body.pp-account .points-balance-top small{font-size:.72rem!important;color:var(--muted)!important}
body.pp-account .wallet-balance-top a,body.pp-account .points-balance-top a{font-size:.72rem!important;margin-top:6px!important}
body.pp-account .compact-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body.pp-account .compact-metrics .metric{min-height:94px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;box-shadow:none!important}
body.pp-account .compact-metrics .metric small{font-size:.75rem!important}
body.pp-account .compact-metrics .metric b{font-size:1.45rem!important;margin-top:3px!important}
body.pp-account .dashboard-grid{align-items:start!important}
body.pp-account .panel-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}
body.pp-account .panel-heading h1,body.pp-account .panel-heading h2{margin:4px 0!important}
body.pp-account .order-card{box-shadow:none!important;transition:border-color .16s ease,background .16s ease!important}
body.pp-account .order-card:hover{border-color:color-mix(in srgb,var(--brand) 38%,var(--line))!important;background:color-mix(in srgb,var(--brand) 2%,var(--panel))!important}
body.pp-account .order-icon{font-size:0!important;background:var(--panel2)!important;border:1px solid var(--line)!important;color:var(--pp-brand-deep)!important}
body.pp-account .order-icon:has(.pp-icon){font-size:initial!important}
body.pp-account .referral-card{padding:20px!important;margin:14px 0!important}
body.pp-account .referral-copy{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:14px!important;align-items:start!important}
body.pp-account .referral-icon{width:44px!important;height:44px!important;border-radius:13px!important;background:var(--brand-soft)!important;color:var(--pp-brand-deep)!important}
body.pp-account .referral-card h2{font-size:1.25rem!important;margin:5px 0!important}
body.pp-account .referral-card p{margin:0!important;color:var(--muted)!important}
body.pp-account .referral-mini-stats .security-item{box-shadow:none!important;border-radius:12px!important;background:var(--panel2)!important}
body.pp-account .referral-link{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
body.pp-account .account-social{padding:16px 18px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;box-shadow:none!important}
body.pp-account .social-icons{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
body.pp-account .social-icon{border:1px solid var(--line)!important;border-radius:10px!important;background:var(--panel2)!important;box-shadow:none!important;min-width:42px!important}
body.pp-account .profile-danger{background:color-mix(in srgb,#c93d3d 3%,var(--panel))!important;border-color:color-mix(in srgb,#c93d3d 23%,var(--line))!important}
body.pp-account details.security-item>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.pp-account details.security-item>summary::-webkit-details-marker{display:none}
body.pp-account details.security-item>summary::after{content:"+";font-size:1.1rem;color:var(--muted);font-weight:500}
body.pp-account details.security-item[open]>summary::after{content:"−"}

/* Storefront: restrained visual language with clear hierarchy. */
body.pp-public .hero-palpay,body.pp-public .classic-hero-compact{box-shadow:none!important}
body.pp-public .hero-palpay{border:1px solid var(--line)!important;background:linear-gradient(125deg,#f8fcf9 0,#fff 62%,#edf9f2 100%)!important}
html[data-theme="dark"] body.pp-public .hero-palpay,html[data-theme="navy"] body.pp-public .hero-palpay{background:linear-gradient(125deg,#0d1a12,#0b1710 62%,#0f2a1b)!important}
body.pp-public .hero-palpay-copy>p{max-width:670px!important;color:var(--muted)!important}
body.pp-public .hero-smart-search{box-shadow:0 12px 30px rgba(19,69,39,.08)!important;border-color:color-mix(in srgb,var(--brand) 30%,var(--line))!important}
body.pp-public .hero-smart-search .pp-icon{width:20px;height:20px;color:var(--muted)}
body.pp-public .confidence-strip{border:1px solid var(--line)!important;border-radius:16px!important;background:var(--panel)!important;box-shadow:none!important;overflow:hidden}
body.pp-public .confidence-strip>div{padding:16px 18px!important}
body.pp-public .confidence-strip b{font-size:.88rem!important}
body.pp-public .confidence-strip small{font-size:.76rem!important;color:var(--muted)!important}
body.pp-public .pp-card-trust{max-width:1200px;margin:14px auto 0;padding:14px 17px;border:1px solid var(--line);border-radius:15px;background:var(--panel);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;box-shadow:none}
body.pp-public .pp-card-trust>div{display:flex;align-items:center;gap:9px}
body.pp-public .pp-card-trust p{margin:0;display:grid;line-height:1.45}
body.pp-public .pp-card-trust p small{color:var(--muted);font-size:.75rem}
body.pp-public .pp-card-trust .pp-secure{display:inline-flex;align-items:center;gap:6px;font-size:.77rem;font-weight:800;color:var(--pp-brand-deep)}
body.pp-public .pp-visa-word{font-style:italic;font-weight:950;color:#1a3e8a;letter-spacing:-.04em}
body.pp-public .pp-master-circles{position:relative;width:39px;height:22px;display:block}
body.pp-public .pp-master-circles i,body.pp-public .pp-master-circles b{position:absolute;top:2px;width:19px;height:19px;border-radius:50%}
body.pp-public .pp-master-circles i{left:2px;background:#eb001b}body.pp-public .pp-master-circles b{right:2px;background:#f79e1b;opacity:.94}
body.pp-public .category-rail .cat-v2{box-shadow:none!important;border-color:var(--line)!important}
body.pp-public .cat-v2-icon{overflow:hidden!important;display:grid!important;place-items:center!important}
body.pp-public .cat-v2-icon>.pp-icon,body.pp-public .cat-v2-icon>.pp-media-fallback .pp-icon{width:28px;height:28px;color:var(--pp-brand-deep)}
body.pp-public .cat-v2>i{display:grid!important;place-items:center!important;font-style:normal!important}
body.pp-public .cat-v2>i .pp-icon{width:16px;height:16px;color:var(--muted)}
html[dir="rtl"] body.pp-public .cat-v2>i .pp-icon,html[dir="rtl"] body.pp-public .product-card-footer .pp-icon{transform:scaleX(-1)}
body.pp-public .menu-service-icon>.pp-icon,body.pp-public .menu-mark>.pp-icon{width:20px;height:20px;color:var(--pp-brand-deep)}
body.pp-public .product-icon span>.pp-icon,body.pp-public .pp-media-fallback>.pp-icon{width:28px;height:28px;color:var(--pp-brand-deep)}
body.pp-public .delivery-chip{display:inline-flex!important;align-items:center!important;gap:5px!important;color:var(--muted)!important}
body.pp-public .delivery-chip .pp-icon{width:13px;height:13px}
body.pp-public .product-card-footer .btn .pp-icon{width:14px;height:14px}
body.pp-public .product-card{box-shadow:none!important;border-color:var(--line)!important}
body.pp-public .product-card:hover{box-shadow:0 13px 32px rgba(17,48,31,.07)!important}
body.pp-public .availability,body.pp-public .mini-tag,body.pp-public .hot-badge,body.pp-public .new-badge{box-shadow:none!important}
body.pp-public .journey-section,body.pp-public .quick-track{box-shadow:none!important;border:1px solid var(--line)!important;background:var(--panel)!important}
body.pp-public .journey-grid article{box-shadow:none!important;background:var(--panel2)!important}
body.pp-public .step-no{font-variant-numeric:tabular-nums;color:var(--pp-brand-deep)!important}
body.pp-public .why-grid article{box-shadow:none!important}

/* Payment: the method choice is a distinct, unmistakable step. */
body.pp-public .pp-payment-method-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:18px 0 10px;padding-top:5px}
body.pp-public .pp-payment-method-title h2{font-size:1.22rem;margin:4px 0;letter-spacing:-.025em}
body.pp-public .pp-payment-method-title p{margin:0;color:var(--muted);font-size:.82rem;max-width:650px;line-height:1.65}
body.pp-public .pp-payment-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--pp-brand-deep);font-size:.73rem;font-weight:850}
body.pp-public .pp-payment-kicker .pp-icon{width:14px;height:14px}
body.pp-public .pp-card-acceptance{display:flex;align-items:center;gap:6px;direction:ltr;flex:0 0 auto}
body.pp-public .pp-card-acceptance span{display:grid;place-items:center;min-height:29px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#15231a;font-size:.68rem;font-weight:900}
body.pp-public .pp-card-acceptance span:first-child{font-size:.82rem;font-style:italic;color:#193e8f}
body.pp-public .pp-card-acceptance span:nth-child(2){letter-spacing:-.03em}
body.pp-public .pp-card-acceptance span:last-child{color:#17613a}
body.pp-public .pp-secure-payment-note{border:1px solid #cfe8d8!important;box-shadow:none!important}
body.pp-public .pp-payment-summary{box-shadow:none!important}
body.pp-public .pp-final-review{border-radius:14px!important}
body.pp-public .pp-review-head{align-items:center!important}
body.pp-public .payment-methods .pay{box-shadow:none!important}
body.pp-public .payment-methods .pay b{display:flex;align-items:center;gap:6px}

/* Admin: high density without looking like a prototype. */
body.pp-admin .ops-tabs{box-shadow:none!important}
body.pp-admin .ops-tabs a{min-height:38px!important}
body.pp-admin .pp-module-warning{display:grid;gap:5px;box-shadow:none!important}
body.pp-admin .pp-module-warning b{font-size:.94rem}
body.pp-admin .pp-module-warning code{direction:ltr;display:inline-block;font-size:.75rem}
body.pp-admin .admin-table-wrap{box-shadow:none!important}
body.pp-admin .pp-recovery-actions{display:flex;gap:8px;flex-wrap:wrap}
body.pp-admin .pp-recovery-actions .ui-icon{width:17px;height:17px}
body.pp-admin .owner-chip{box-shadow:none!important}
body.pp-admin .menu-trigger,body.pp-admin .icon-button{box-shadow:none!important}
body.pp-admin .drawer-nav a,body.pp-admin .nav a{transition:background .15s ease,color .15s ease,border-color .15s ease!important}

/* Staff security onboarding: QR first, email as a clear alternative. */
body.pp-staff-login .pp-qr-stage{padding:13px;border:1px solid var(--pp-line);border-radius:16px;background:#f9fbfa}
body.pp-staff-login details.pp-auth-alt{padding:13px!important;border-radius:14px!important}
body.pp-staff-login details.pp-auth-alt>summary{cursor:pointer;font-weight:800}
body.pp-staff-login .pp-qr-box{box-shadow:none!important}
body.pp-staff-login code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}

/* Neutral empty states: no oversized emoji. */
body.pp-public .empty>span,body.pp-account .empty>span{font-size:initial!important}
body.pp-public .empty .pp-icon,body.pp-account .empty .pp-icon{width:30px;height:30px}

@media(max-width:980px){
  body.pp-account .account-overview{grid-template-columns:1fr!important}
  body.pp-account .account-balance-pair{max-width:620px;width:100%}
  body.pp-account .account-tabs a.pp-settings-tab{margin-inline-start:0}
  body.pp-public .pp-card-trust{width:min(calc(100% - 40px),1200px)}
}
@media(max-width:700px){
  body.pp-account .account-overview{padding:16px!important;gap:15px!important}
  body.pp-account .account-balance-pair{grid-template-columns:1fr 1fr!important}
  body.pp-account .wallet-balance-top,body.pp-account .points-balance-top{padding:13px!important;min-height:112px!important}
  body.pp-account .wallet-balance-top strong,body.pp-account .points-balance-top strong{font-size:1.24rem!important}
  body.pp-account .compact-metrics{grid-template-columns:1fr 1fr!important}
  body.pp-account .account-social{display:grid!important}
  body.pp-account .referral-mini-stats{grid-template-columns:1fr!important}
  body.pp-public .pp-payment-method-title{align-items:flex-start;flex-direction:column}
  body.pp-public .pp-card-acceptance{width:100%;overflow-x:auto;padding-bottom:2px}
  body.pp-public .pp-card-trust{grid-template-columns:auto 1fr;width:min(calc(100% - 26px),1200px)}
  body.pp-public .pp-card-trust .pp-secure{grid-column:1/-1;padding-top:8px;border-top:1px solid var(--line)}
}
@media(max-width:440px){
  body.pp-account .account-balance-pair{grid-template-columns:1fr!important}
  body.pp-account .wallet-balance-top,body.pp-account .points-balance-top{min-height:104px!important}
  body.pp-public .pp-checkout-steps{gap:5px}
  body.pp-public .pp-checkout-step{padding:9px 8px;font-size:.7rem}
  body.pp-public .pp-checkout-step::before{width:22px;height:22px}
}
