/* ============================================================
   Peo Pay V1 — Peo-style redesign (2026-12-04)
   Design language: Peo Developer — primary blue #2563eb
   (white text on it: 5.17:1), dark slate sidebar, clean white
   cards, soft shadows, centred card contents, 12px radii.
   FLAT colours only — no gradients anywhere (user rule).
   Mobile-first; breakpoints: xs <576 / sm 576 / md 768 /
   lg 992 / xl 1200 / xxl 1400 (min-width queries).
   Cards: hover lift + icon micro-animation, staggered fade-in
   on load, 200–300ms ease-out; all disabled under
   prefers-reduced-motion.
   The "Secure checkout" block at the end is kept identical to
   the original: pay.php (checkout) must not change visually.
   ============================================================ */
/* ROUND 10 (2026-12-05, user: "outlines are excessive in many places"):
   the round-5/round-8 fixes overshot — cards everywhere carried a
   2px #64748b border + heavy shadows, and --line itself (#93a5bb)
   is a dark slate, so EVERY bordered thing (cards, chips, tables,
   header controls, checkout methods) looked heavy. New system:
   --line is now a SOFT neutral (light #cbd5e1 / dark #475569) and
   every card border is 1px. Cards stay clearly defined WITHOUT a
   heavy outline because the card body (#f8fafc light / #223150
   dark) already differs from the page (#d8e1ec light / #0a1120
   dark), plus a soft shadow. The round-5 invisible-border bug
   cannot come back: body-vs-page contrast defines the card even
   if a border rule ever fails. Focus rings, error outlines and
   the Most Popular blue highlight are untouched. */
:root{
  --ink:#0f172a; --muted:#47596e; --bg:#d8e1ec; --card:#fff; --line:#cbd5e1;
  --link:#2563eb; --input-bg:#fff; --hover-bg:#eef2f7; --th-bg:#eef2f7;
  --brand:#2563eb; --brand-dark:#1d4ed8; --brand-soft:#eff6ff; --brand-ring:rgba(37,99,235,.15);
  --accent:#f59e0b; --accent-ink:#451a03;
  --sidebar-bg:#0f172a; --sidebar-text:#94a3b8; --sidebar-active:#fff;
  --success:#15803d; --success-bg:#dcfce7;
  --warning:#b45309; --warning-bg:#fef3c7;
  --danger:#b91c1c; --danger-bg:#fee2e2;
  --shadow-sm:0 1px 2px rgba(15,23,42,.08),0 4px 12px rgba(15,23,42,.07);
  --shadow-md:0 8px 18px rgba(15,23,42,.14);
  --shadow-lg:0 25px 50px -12px rgba(15,23,42,.28);
  --shadow-lift:0 14px 28px rgba(15,23,42,.12);
  --radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
/* ROUND 8 (2026-12-05): theme-switch grey flash — the <html> element had
   NO background (only <body> did), so when data-theme flips, the canvas
   behind the page repaints grey/white for a frame. The themed background
   now lives on <html> too, and html/body cross-fade their background
   colour in 0.2s instead of a hard repaint. */
html{background:var(--bg);transition:background-color .2s ease}
body{margin:0;font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink);line-height:1.6;overflow-x:hidden;transition:background-color .2s ease}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.3;margin:0 0 12px}
h3{font-size:1.05rem}
img{max-width:100%}
::selection{background:var(--brand);color:#fff}

/* ---------- logo ---------- */
.logo{display:flex;align-items:center;gap:10px;color:inherit;font-size:20px;font-weight:800;letter-spacing:-.01em}
.logo:hover{text-decoration:none}
.logo img{height:34px}
.mark{background:var(--brand);color:#fff;border-radius:10px;width:36px;height:36px;display:grid;place-items:center;font-weight:800;font-size:19px;flex-shrink:0;box-shadow:0 4px 10px rgba(37,99,235,.35)}

/* ---------- buttons ---------- */
.btn{display:inline-block;background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:12px;padding:11px 20px;font:600 15px inherit;font-family:inherit;cursor:pointer;text-align:center;transition:background .2s,box-shadow .2s,transform .2s,filter .2s;box-shadow:0 4px 12px rgba(37,99,235,.22)}
.btn:hover{background:var(--brand-dark);border-color:var(--brand-dark);text-decoration:none;transform:translateY(-1px);filter:brightness(1.05)}
.btn:active{transform:translateY(1px)}
.btn.alt{background:var(--card);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.btn.alt:hover{background:var(--hover-bg);border-color:#cbd5e1}
.btn.gold{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);box-shadow:0 4px 12px rgba(245,158,11,.3)}
.btn.gold:hover{background:#d97706;border-color:#d97706;color:var(--accent-ink)}
.btn.danger{background:#dc2626;border-color:#dc2626;box-shadow:0 4px 12px rgba(220,38,38,.22)}
.btn.danger:hover{background:#b91c1c;border-color:#b91c1c}
.btn.sm{padding:6px 12px;font-size:13px;border-radius:9px}
.btn.block{width:100%}
.btn:disabled{opacity:.55;cursor:not-allowed}

/* ---------- forms ---------- */
input,select,textarea{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;font:inherit;background:var(--input-bg);margin:4px 0 14px;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring)}
input::placeholder,textarea::placeholder{color:#64748b}
input[type=checkbox],input[type=radio]{width:auto;margin:0 6px 0 0;accent-color:var(--brand)}
input[type=color]{padding:4px;height:46px;cursor:pointer}
input[type=file]{padding:9px 12px}
label{font-weight:600;font-size:14px;color:var(--ink)}
textarea{resize:vertical;min-height:90px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:18px;box-shadow:var(--shadow-sm)}
html[data-theme="light"] .card{background:#fff;border-color:#cbd5e1;box-shadow:0 1px 2px rgba(15,23,42,.08),0 4px 14px rgba(15,23,42,.08)}
html[data-theme="dark"] .card{background:#223150;border-color:#475569;box-shadow:0 1px 2px rgba(0,0,0,.4),0 4px 14px rgba(0,0,0,.35)}
.card h3{margin-bottom:10px}
.grid{display:grid;gap:18px;grid-template-columns:1fr;align-items:stretch}
.grid>*{min-width:0}
.grid.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid>.card,.grid>form.card{display:flex;flex-direction:column}
.grid>.card .form-actions,.grid>form.card .form-actions{margin-top:auto;padding-top:14px}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
/* ROUND 12 (2026-12-05): the old 640px / 460px caps made every settings
   + profile + add-fund form a narrow card on the left with a huge empty
   space on the right. Forms are full panel width now, fields in 2
   columns (.form-2col). The classes stay as no-ops so any leftover
   usage can never go narrow again. */
.form-narrow{max-width:none}
.form-narrow-sm{max-width:none}

/* ---------- card motion: hover lift + icon micro-animation + load stagger ---------- */
/* ROUND 8 (2026-12-05): background-color is part of the transition so a
   theme switch cross-fades the cards instead of flashing. */
.card,.step,.method-chip{transition:transform .25s ease-out,box-shadow .25s ease-out,border-color .25s ease-out,background-color .2s ease}
.card:hover,.step:hover,.method-chip:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift)}
/* Card outline (user 2026-12-04, softened round 10 2026-12-05): 1px
   soft --line outline (light grey in light mode, muted slate in
   dark); on hover the outline turns blue. */
.card:hover{border-color:#2563eb}
.step:hover,.method-chip:hover{border-color:#2563eb}
@keyframes cardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.grid>*:nth-child(1){animation:cardIn .45s ease-out 0s backwards}
.grid>*:nth-child(2){animation:cardIn .45s ease-out .06s backwards}
.grid>*:nth-child(3){animation:cardIn .45s ease-out .12s backwards}
.grid>*:nth-child(4){animation:cardIn .45s ease-out .18s backwards}
.grid>*:nth-child(5){animation:cardIn .45s ease-out .24s backwards}
.grid>*:nth-child(6){animation:cardIn .45s ease-out .3s backwards}
.grid>*:nth-child(7){animation:cardIn .45s ease-out .36s backwards}
.grid>*:nth-child(8){animation:cardIn .45s ease-out .42s backwards}
.section .methods>*:nth-child(1),.steps>*:nth-child(1){animation:cardIn .45s ease-out 0s backwards}
.section .methods>*:nth-child(2),.steps>*:nth-child(2){animation:cardIn .45s ease-out .08s backwards}
.section .methods>*:nth-child(3),.steps>*:nth-child(3){animation:cardIn .45s ease-out .16s backwards}
.section .methods>*:nth-child(4){animation:cardIn .45s ease-out .24s backwards}
.section .methods>*:nth-child(5){animation:cardIn .45s ease-out .32s backwards}
.section .methods>*:nth-child(6){animation:cardIn .45s ease-out .4s backwards}

/* ---------- Peo-style ON/OFF switch (48x26, blue ON, grey OFF, white knob) ---------- */
.switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-weight:600}
.switch input{position:absolute;opacity:0;width:0;height:0;margin:0}
.switch .sw{position:relative;width:48px;height:26px;flex-shrink:0;border-radius:999px;background:#475569;transition:background .25s}
.switch .sw::before{content:attr(data-off);position:absolute;right:6px;top:50%;transform:translateY(-50%);color:#fff;font-size:9px;font-weight:800;letter-spacing:.02em}
.switch .sw::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .25s}
.switch input:checked + .sw{background:#3b82f6}
.switch input:checked + .sw::before{content:attr(data-on);right:auto;left:7px}
.switch input:checked + .sw::after{transform:translateX(22px)}
.switch input:focus-visible + .sw{outline:2px solid var(--brand);outline-offset:2px}

/* ---------- stat cards: centred label + value ---------- */
.stat{text-align:center;align-items:center;justify-content:center}
.stat .muted{display:block;font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px}
.stat b{display:block;font-size:clamp(20px,2.2vw,28px);line-height:1.15;letter-spacing:-.02em;overflow-wrap:break-word}
.muted{color:var(--muted)}

/* ---------- alerts ---------- */
.alert{padding:12px 16px;border-radius:10px;margin-bottom:14px;background:#e3f6ea;color:#14663a}
.alert.err{background:#fdecea;color:#9c2b20}

/* ---------- auth pages (login / register / install): theme-aware
   background (light in light mode, dark in dark mode) so the page
   follows the theme toggle — never dark navy in both modes. ---------- */
.auth{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:20px;background:var(--bg)}
.auth .card{width:100%;max-width:440px}
.auth-card{border-radius:20px;padding:24px 20px 20px;box-shadow:var(--shadow-lg);border:1px solid var(--line)}
.auth-logo{display:flex;justify-content:center;margin-bottom:14px}
.auth-logo .logo{font-size:22px}
.auth-card h2{text-align:center;font-size:1.35rem;margin-bottom:4px}
.auth-sub{text-align:center;color:var(--muted);font-size:.88rem;margin:0 0 20px}
.auth-card .field{position:relative}
.auth-card .field svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#64748b;pointer-events:none}
.auth-card .field input{padding-left:42px}
.auth-card form .btn{margin-top:6px;padding:13px 20px;font-size:15.5px;border-radius:12px}
.auth-foot{text-align:center;color:var(--muted);font-size:.9rem;margin:16px 0 0}
.auth-foot a{font-weight:600}
.or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.82rem;margin:16px 0}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.google-btn{display:flex!important;align-items:center;justify-content:center;gap:10px;font-weight:600}
.google-btn .g-mark{width:20px;height:20px;flex-shrink:0}
.meter{height:8px;background:var(--line);border-radius:9px;margin:-8px 0 6px;overflow:hidden}
.meter i{display:block;height:100%;width:0;transition:.25s}
#strength{display:block;min-height:1.2em;font-size:.82rem}
.install-card{max-width:520px!important}
.install-section{border-top:1px solid var(--line);padding-top:14px;margin-top:16px}
.install-section:first-of-type{border-top:0;padding-top:0;margin-top:0}
.install-section h3{display:flex;align-items:center;gap:8px;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:12px}
.install-section h3 .step-n{width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;display:inline-grid;place-items:center;font-size:.72rem;font-weight:700;letter-spacing:0}

/* ---------- panel shell: dark sidebar + light content (Peo admin) ---------- */
.shell{display:flex;min-height:100vh}
/* ROUND 9 (2026-12-05, user desktop screenshot): a thin red line at
   the far LEFT edge. Pixel forensics on the screenshot: the line is
   1px wide, pure red (#D10001), x=0, y 168–477 only — a colour used
   NOWHERE in this codebase (the only reds are #dc2626 danger buttons,
   the bell dot and required asterisks, none at the viewport edge),
   and it appears in exactly 1 of the user's ~10 captures and in no
   video frame of the live site, so it is almost certainly a capture /
   annotation artifact on the user's machine, not a site element.
   Defensive hardening anyway: the off-canvas sidebar's right edge
   sits exactly at x=0 when closed (translateX(-100%)), and subpixel
   rounding can show a 1px sliver there — so a closed sidebar is now
   visibility:hidden (visible when open, and always visible ≥992px
   where it is sticky in-flow). html/body carry no border/outline. */
/* ROUND 11 (2026-12-05, user CONFIRMED: mobile drawer does not scroll
   to Logout): ROOT CAUSE — the drawer was height:100vh. On a real
   phone 100vh is the LARGE viewport (URL bar collapsed), TALLER than
   the visible viewport while the URL bar is showing, so the drawer
   itself stuck out below the screen and even at maximum internal
   scroll the last ~30–100px (Logout) stayed below the visible edge
   (reproduced in the browser: drawer 740px in a 640px viewport,
   Logout bottom 669 at max scroll = unreachable; with 100dvh,
   Logout bottom 569 = visible). Fix: height tracks the VISIBLE
   viewport (100dvh, 100vh fallback), max-height caps it, touch
   scrolling is explicit, scroll chaining to the page behind is
   blocked, and bottom safe-area padding keeps Logout off the home
   indicator. Body scroll is locked while the drawer is open
   (app.js toggles body.no-scroll). */
aside{width:260px;background:var(--sidebar-bg);color:#fff;padding:20px 14px calc(20px + env(safe-area-inset-bottom,0px));flex-shrink:0;display:flex;flex-direction:column;position:fixed;z-index:90;inset:0 auto 0 0;transform:translateX(-100%);height:100vh;height:100dvh;max-height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;transition:transform .25s,visibility .25s;box-shadow:var(--shadow-lg);visibility:hidden}
body.no-scroll{overflow:hidden}
aside.open{transform:none;visibility:visible}
aside .logo{justify-content:center;padding:6px 8px 16px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:14px;color:#fff}
aside nav{display:flex;flex-direction:column;gap:2px;flex:1}
aside nav a{display:flex;align-items:center;gap:11px;color:var(--sidebar-text);padding:9px 12px;border-radius:11px;font-size:.9rem;font-weight:500;transition:background .2s,color .2s}
aside nav a svg{width:18px;height:18px;flex-shrink:0}
aside nav a:hover{background:rgba(59,130,246,.08);color:var(--sidebar-active);text-decoration:none}
aside nav a.on{background:rgba(59,130,246,.16);border-left:3px solid #3b82f6;color:#fff;padding-left:9px;box-shadow:0 4px 14px rgba(59,130,246,.14)}
aside nav a.on svg{color:#60a5fa}
aside small{display:block;margin:18px 12px 6px;color:#8f9bb3;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em}
aside .side-foot{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);color:#8f9bb3;font-size:.75rem;text-align:center}
main{flex:1;padding:16px;min-width:0;max-width:1440px}
main header{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
main header h1{margin:0;font-size:19px;font-weight:800;letter-spacing:-.02em}
/* ROUND 11 (2026-12-05, user: the blue icon tile next to the panel
   title looks bad in EVERY section): the decorative .hdr-ic tile is
   REMOVED from the panel header (layout.php + admin_layout.php no
   longer render it). Header is now clean: burger, title + subtitle,
   search, theme toggle, user chip. The .hdr-ic rules are deleted. */
.hdr-t{flex:1;min-width:140px}
.hdr-t small{display:block;color:var(--muted);font-size:.82rem;line-height:1.3}
.hdr-search{flex:1 1 200px;max-width:340px;display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:30px;padding:6px 14px;margin:0}
.hdr-search svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}
.hdr-search input{border:0;padding:0;margin:0;flex:1;min-width:0;font-size:.9rem}
.hdr-search input:focus{box-shadow:none}
main h3{margin-top:20px}
.chip{background:var(--card);border:1px solid var(--line);border-radius:30px;padding:6px 8px 6px 6px;font-size:13.5px;font-weight:600;display:inline-flex;align-items:center;gap:8px}
.chip .avatar{width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;display:inline-grid;place-items:center;font-size:.75rem;font-weight:700}
.avatar.sm{width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;display:inline-grid;place-items:center;font-size:.68rem;font-weight:700;flex-shrink:0}
.burger{display:inline-flex;border:1px solid var(--line);background:var(--card);border-radius:12px;padding:8px 12px;font-size:18px;cursor:pointer;color:var(--ink);align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0}

/* ---------- section cards + settings groups ---------- */
.sec-card{padding:0;overflow:hidden}
.sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px 0;flex-wrap:wrap}
.sec-head h3{margin:0}
.sec-head .count{font-size:.82rem;color:var(--muted);font-weight:600}
.sec-card .table{border:0;box-shadow:none;margin:0;border-radius:0}
.set-sec{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.set-sec:first-child{border-top:0;padding-top:0;margin-top:0}
.set-sec h3{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.gw-logo{height:40px;width:auto;object-fit:contain;display:block;margin-bottom:10px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:4px}
.slide-thumb{width:100%;height:130px;object-fit:cover;border-radius:12px;margin-bottom:12px;display:block}
.slide-thumb-ph{height:130px;border-radius:12px;background:var(--brand-soft);color:var(--link);display:grid;place-items:center;margin-bottom:12px}
.slide-thumb-ph svg{width:32px;height:32px}

/* ---------- tables & badges ---------- */
/* ROUND 11 (2026-12-05, user: filter pills + table card outlines on
   the Transactions page): the table loses its outer border in BOTH
   themes — background + soft shadow defines it, the row dividers
   (th/td border-bottom) keep the structure. Same selective call as
   the .bare dashboard tables in round 10c, now applied to every
   table site-wide. */
.table{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:thin;background:var(--card);border:0;border-radius:var(--radius);margin-bottom:18px;box-shadow:var(--shadow-sm)}
.table::-webkit-scrollbar{height:8px}
.table::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:10px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}
th{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:var(--th-bg)}
tr:last-child td{border-bottom:0}
tbody tr{transition:background .2s}
tbody tr:hover{background:var(--hover-bg)}
td.amt{font-weight:700;white-space:nowrap}
.badge{padding:3px 11px;border-radius:20px;font-size:12px;font-weight:600;background:#e2e8f0;color:#334155;white-space:nowrap}
.badge.completed,.badge.paid,.badge.active{background:var(--success-bg);color:var(--success)}
.badge.pending,.badge.unpaid{background:var(--warning-bg);color:var(--warning)}
.badge.rejected,.badge.banned{background:var(--danger-bg);color:var(--danger)}
.inline{display:inline}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
main code,.section code,.card code{background:#f1f5f9;border:1px solid var(--line);border-radius:6px;padding:1px 6px;font-size:.85em;word-break:break-all}
pre{background:#0d201c;color:#d8f3e9;padding:16px;border-radius:12px;overflow:auto;font-size:13px}
details.card summary{cursor:pointer;font-weight:600;list-style:none;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
details.card summary::-webkit-details-marker{display:none}
details.card summary::after{content:"";margin-left:auto;flex-shrink:0;width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .2s}
details.card[open ] summary::after{transform:rotate(225deg)}
details.card form{margin-top:16px}

/* ---------- public homepage: sticky nav + announcement bar ---------- */
.announce{display:flex;align-items:center;justify-content:center;gap:10px;background:#0f172a;color:#fff;padding:9px 16px;font-size:.9rem;font-weight:600;text-align:center}
.announce svg{width:17px;height:17px;flex-shrink:0;color:#fbbf24}
.nav{display:flex;justify-content:space-between;align-items:center;padding:10px 4vw;background:var(--card);backdrop-filter:blur(12px);color:var(--ink);flex-wrap:wrap;gap:10px;position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line)}
.nav a{color:var(--ink);margin-left:8px;font-weight:600;font-size:.92rem;padding:8px 12px;border-radius:10px}
.nav a:hover{color:var(--link);text-decoration:none;background:var(--brand-soft)}
.nav .logo{margin:0;padding:0}
.nav .logo:hover{background:none}
.nav-links{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.nav-links .btn{margin-left:10px;padding:9px 18px}

/* ---------- hero slider (Peo pattern: track + arrows + dots) ---------- */
.hero-slider{position:relative;width:100%;overflow:hidden;background:#1d4ed8}
/* ROUND 8 (2026-12-05, scroll ghost ~11-14s, video 2): will-change:transform
   keeps a permanent compositor layer for the whole track — in Chrome that
   layer can paint a STALE copy of a section while scrolling (the doubled
   "Our Plans" ghost). Removed: the 0.6s transform transition does not
   need a permanent layer. (No duplicate markup exists — index.php has
   exactly one "Our Plans" h2 — so the ghost was a repaint artifact,
   not doubled DOM.) */
.slider-track{display:flex;transition:transform .6s cubic-bezier(.25,.46,.45,.94)}
.slider-slide{flex:0 0 100%;min-width:100%;position:relative;display:flex;align-items:center;justify-content:center}
.slider-slide.has-bg{background-size:cover;background-position:center;background-color:#1d4ed8}
.slide-overlay{position:absolute;inset:0;background:rgba(10,15,26,.62);z-index:0}
.slide-inner{width:100%;max-width:880px;margin:0 auto;text-align:center;color:#fff;padding:48px 16px 66px;position:relative;z-index:1}
/* ROUND 8 (2026-12-05, third video ~5-6s and ~12-13s): during the 0.6s
   track slide BOTH slides' titles were visible at once (outgoing sliding
   left, incoming from right) — garbled overlap. Gate the text on the
   active class: outgoing text fades out in 0.25s, incoming text waits
   0.3s (track mid-slide) then fades in — so there is at most a brief
   moment with NO text, never two texts. The images still slide (normal
   carousel motion); only the text is gated. */
.slider-slide .slide-inner{opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s}
.slider-slide.active .slide-inner{opacity:1;visibility:visible;transition:opacity .4s ease .3s,visibility 0s}
.slide-inner h1,.slide-title{font-size:clamp(28px,4.6vw,52px);font-weight:800;letter-spacing:-.02em;line-height:1.15;margin:0 auto 16px;max-width:780px;color:#fff}
.slide-inner p{font-size:clamp(15px,1.4vw,18px);color:rgba(255,255,255,.92);max-width:640px;margin:0 auto 26px;line-height:1.65}
.slide-badge{display:inline-block;padding:5px 14px;border-radius:999px;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);color:#fff;margin-bottom:16px}
.slide-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.slide-actions .btn{padding:12px 26px;font-size:15px}
.slide-actions .btn.alt{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.35);box-shadow:none}
.slide-actions .btn.alt:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.5)}
/* Slider CTA: white button + dark-blue text on the blue slide — never
   the same colour as the slide background, in either theme. */
.slide-actions .btn.gold{background:#fff;border-color:#fff;color:#1d4ed8;box-shadow:0 6px 16px rgba(15,23,42,.28)}
.slide-actions .btn.gold:hover{background:#dbeafe;border-color:#dbeafe;color:#1e40af}
.slide-points{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:0 auto 26px;max-width:640px}
.slide-points span{display:inline-flex;align-items:center;gap:7px;font-size:.9rem;font-weight:600;color:rgba(255,255,255,.94)}
.slide-points svg{width:17px;height:17px;color:#bfdbfe;flex-shrink:0}
@keyframes slideUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.slider-slide.active .slide-inner>*{animation:slideUp .5s ease-out backwards}
.slider-slide.active .slide-inner>*:nth-child(1){animation-delay:.02s}
.slider-slide.active .slide-inner>*:nth-child(2){animation-delay:.1s}
.slider-slide.active .slide-inner>*:nth-child(3){animation-delay:.18s}
.slider-slide.active .slide-inner>*:nth-child(4){animation-delay:.26s}
.slider-slide.active .slide-inner>*:nth-child(5){animation-delay:.34s}
.slider-slide.active .slide-inner>*:nth-child(6){animation-delay:.42s}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;background:rgba(15,23,42,.55);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.25);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10;transition:background .25s,transform .25s;padding:0}
.slider-arrow svg{width:18px;height:18px}
.slider-arrow:hover{background:var(--brand);transform:translateY(-50%) scale(1.08)}
.slider-arrow.prev{left:8px}
.slider-arrow.next{right:8px}
.slider-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:10}
.slider-dot{width:8px;height:8px;border-radius:9999px;background:rgba(255,255,255,.45);border:none;cursor:pointer;padding:0;transition:all .25s}
.slider-dot.active{background:#fff;width:26px}

/* ---------- homepage sections ---------- */
.hero{background:#1d4ed8;color:#fff;text-align:center;padding:80px 6vw 100px}
.hero h1{font-size:clamp(30px,5vw,54px);max-width:850px;margin:0 auto 18px;color:#fff}
.hero p{color:rgba(255,255,255,.92);max-width:640px;margin:0 auto 26px}
.section{padding:44px 5vw;max-width:1200px;margin:auto}
.section>h2{text-align:center;font-size:26px;margin-bottom:10px;letter-spacing:-.02em}
.section>.sub{text-align:center;color:var(--muted);max-width:640px;margin:0 auto 34px;font-size:1rem;font-weight:500}
.section .card{text-align:center}
.section .card h3{margin-bottom:6px}
.section .card p{margin:0}
/* Accept Payments: strict even grid — 2 cols on small screens (never
   one tall card per row), 3 cols ≥768, 6 cols ≥1200 (6 items divide
   evenly everywhere, no orphan card). Every chip the same height.
   ROUND 6 (2026-12-04, user screenshot): the bKash wordmark has BLACK
   "kash" text on a transparent PNG — on a dark card it vanished. So
   every logo sits on a SOLID WHITE tile in BOTH themes (white tile
   behind the logo, like a real payment badge): dark logo text is
   always readable, never on a dark background. The tile spans the
   full card width and the logo fills it (never cropped, never
   stretched); the <img> itself also carries a white background so
   the logo reads even if the tile rule ever fails to load. */
.section .methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.method-chip{display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 8px;box-shadow:var(--shadow-sm);font-weight:700;font-size:.85rem;text-align:center;height:100%;overflow:hidden}
/* ROUND 10: the old per-theme .method-chip overrides (2px #64748b
   light / #64748b dark) are deleted — the base rule + the grouped
   light-mode rule below now define the chip in both themes. */
/* ROUND 8 (2026-12-05, user screenshots + videos, pixel-proved): in LIGHT
   mode the home cards read as floating tiles — a white card body on a
   white page with a 1.5px #93a5bb border is too faint to see, and the
   live light page itself sampled pure white (stale/cached stylesheet in
   the user's long-lived tab), so the card vanished entirely: no border
   pixels at the card edge. Fix at the theme level: light-mode cards get
   a distinct off-white body (#f8fafc), a 1px soft #cbd5e1 border
   (round 10: was 2px #64748b — too heavy)
   (4.76:1 vs white, ~2.9:1 vs the #d8e1ec page) and a stronger shadow,
   so the card is unmistakable on ANY page colour. This grouped rule
   (0,2,1) also covers .plan (pinned below at lower specificity) — the
   Most Popular blue outline is re-pinned right after .plan.popular.
   Dark mode is unchanged: it already reads as a card.
   ROUND 10 (2026-12-05): 2px #64748b was TOO heavy — every home
   card looked outlined in dark slate. Now 1px soft #cbd5e1 with a
   soft shadow: the card is still unmistakable (off-white #f8fafc
   body on the #d8e1ec page + shadow) but reads clean, not boxed. */
html[data-theme="light"] .card,html[data-theme="light"] .step,html[data-theme="light"] .method-chip{background:#f8fafc;border:1px solid #cbd5e1;box-shadow:0 1px 2px rgba(15,23,42,.08),0 4px 14px rgba(15,23,42,.08)}
/* ROUND 10b (2026-12-05, user: "decide place by place, card by
   card") — SELECTIVE borders in LIGHT mode: an outline ONLY where
   it looks good. These cards are already defined by their
   illustration / icon / big number, so the border adds nothing but
   a grey frame: .step (16:9 illustration), What You Get feature
   cards (same), .stat tiles (blue icon + big number). They lose the
   border and get a slightly stronger soft shadow instead, so they
   still read as cards. Method chips, plans, auth cards, section
   cards, tables and plain panel cards KEEP their 1px border — they
   genuinely need the edge (white logo tile / pricing structure /
   form container). */
html[data-theme="light"] .step,html[data-theme="light"] .grid.features>.card,html[data-theme="light"] .stat{border:0;box-shadow:0 1px 3px rgba(15,23,42,.10),0 8px 24px rgba(15,23,42,.12)}
/* Payment logo tile: spans the FULL card width so the logo is BIG and
   fills its area (no tiny logo lost in a big empty card). Logo is
   centred with object-fit:contain — fully visible, never cropped,
   never stretched. Tall logos (Upay, Bangla QR) are height-limited,
   wide logos (bKash, Nagad) width-limited — each as large as its own
   shape allows.
   ROUND 7 (2026-12-04, user feedback): the tile must BLEED to the
   card's outer edges at the top — left edge to right edge, no dark
   gaps on the sides — with the method name centred below. It uses an
   explicit calc() width, NOT negative margins alone: negative margins
   only SHIFT a box, they never widen its border box, so width:100%
   + margin:-14px -8px left a 16px dark gap on the right (the same
   root cause as the step/feature illustrations). max-width:none is
   required because the global img{max-width:100%} rule would cap the
   calc() width back to 100%. .method-chip has overflow:hidden so the
   bleed clips exactly at the card edge.
   ROUND 9 (2026-12-05): ONE border per card only — the tile's old
   inset box-shadow drew a SECOND rounded rectangle inside the card
   (double border). Removed; the tile now blends into the card and
   ends with a single subtle 1px bottom divider (var(--line)) that
   completes the image panel on all four sides: top/left/right from
   the card's own outer border, bottom from this divider. */
.m-logo{width:calc(100% + 16px);max-width:none;flex-shrink:0;height:92px;border-radius:14px 14px 0 0;background:#fff;display:grid;place-items:center;padding:8px;margin:-14px -8px 8px;border-bottom:1px solid var(--line)}
.m-logo img{max-width:92%;max-height:76px;width:auto;height:auto;object-fit:contain;display:block;background:#fff;border-radius:8px;padding:4px}
.method-chip .m-ic{width:38px;height:38px;border-radius:10px;background:var(--brand-soft);color:var(--link);display:grid;place-items:center}
.method-chip .m-ic svg{width:20px;height:20px}
.steps{display:grid;gap:18px;grid-template-columns:1fr}
.step{position:relative;overflow:hidden;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow-sm)}
/* ROOT CAUSE (round 7, user phone screenshot 2026-12-04): the step
   illustration sat INSIDE the card with a dark gap on the RIGHT only
   (top + left looked flush). Negative margins only SHIFT a box — they
   never widen its border box: width:100% + margin:-20px -20px left the
   image's right edge 40px short of the card edge (2× the padding).
   Fix: an explicit calc() width (content width + BOTH paddings) AND
   max-width:none — the global img{max-width:100%} rule would otherwise
   cap the calc() width back to 100%. Same fix for .feat-ill and
   .m-logo. The hover scale is removed: scaling a bleed image can
   shimmer a hairline gap at the card edge. */
.step-ill{width:calc(100% + 40px);max-width:none;flex-shrink:0;aspect-ratio:16/9;height:auto;display:block;background:#eff6ff;border-radius:15px 15px 0 0;padding:8px;margin:-20px -20px 14px;border-bottom:1px solid var(--line)}
/* Numbered circle: blue-tinted tile + dark-blue number in light mode,
   darker tint + light number in dark mode — never white-on-white. */
.step-n{width:44px;height:44px;border-radius:50%;background:#dbeafe;color:#1d4ed8;display:inline-grid;place-items:center;font-weight:800;font-size:1.15rem;margin-bottom:12px;border:1px solid #bfdbfe;position:relative;z-index:1}
html[data-theme="dark"] .step-n{background:#1e3a8a;color:#dbeafe;border-color:#1e40af}
.step h3{margin-bottom:6px}
.step p{margin:0;color:var(--muted);font-size:.92rem}
.price{font-size:clamp(28px,3vw,38px);font-weight:800;letter-spacing:-.02em;display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:0 8px}
.price s{font-size:18px;color:var(--muted);margin-right:8px;font-weight:600}
.plan{text-align:center}
.plan ul{list-style:none;padding:0;margin:0 0 18px}
.plan ul li{display:flex;align-items:center;justify-content:center;gap:8px;padding:5px 0;color:var(--muted);font-size:.93rem;border-bottom:1px solid var(--line)}
.plan ul li svg{width:16px;height:16px;color:var(--link);flex-shrink:0}
.plan ul li:last-child{border-bottom:0}
.plan form{margin-top:auto}
/* Plans — professional SaaS pattern (researched 2026-12-04: Notion /
   Stripe / Slack pricing pages, layout ideas only, no copied copy):
   clear hierarchy — plan name, big price + struck-through old price
   + billing period, feature list with check icons in the same order
   on every card, one solid CTA pinned to the bottom, equal heights.
   ONE plan highlighted (Business = "Most Popular"): blue 1px outline
   (round 10: was 2px — softened)
   + badge + solid-blue icon tile + heavier shadow, readable in both
   themes. On mobile the popular card surfaces first (order:-1 below
   768px). Icon in a blue-tinted tile + solid blue CTA with white text
   in BOTH themes — pinned as hex, not variables, so a stale/variable
   failure can never turn them white-on-white. */
#plans .grid{grid-template-columns:1fr}
.plan{position:relative;background:#fff;border:1px solid #cbd5e1;box-shadow:0 1px 2px rgba(15,23,42,.08),0 6px 18px rgba(15,23,42,.08)}
html[data-theme="dark"] .plan{background:#223150;border-color:#475569;box-shadow:0 1px 2px rgba(0,0,0,.4),0 6px 18px rgba(0,0,0,.35)}
.plan .btn{margin-top:auto;background:#2563eb;border-color:#2563eb;color:#fff}
.plan .btn:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
/* Highlighted ("Most Popular") plan: blue outline, badge straddling
   the top edge, solid-blue icon tile, heavier shadow — the same blue
   as the CTA, so the eye lands on one plan. */
.plan.popular{border:1px solid #2563eb;box-shadow:0 10px 24px rgba(37,99,235,.16)}
/* ROUND 8: the grouped light-mode card rule above (0,2,1) would otherwise
   beat .plan.popular (0,2,0) — re-pin the blue Most Popular outline. */
html[data-theme="light"] .plan.popular{border:1px solid #2563eb;box-shadow:0 10px 24px rgba(37,99,235,.16)}
/* ROUND 10: same re-pin for dark — the dark .plan override (0,2,1)
   otherwise beats .plan.popular (0,2,0), so the highlight had NO blue
   outline at all in dark mode (badge + blue icon only). Now the blue
   outline shows in both themes. */
html[data-theme="dark"] .plan.popular{border:1px solid #2563eb;box-shadow:0 10px 24px rgba(37,99,235,.25)}
/* ROUND 10b — SELECTIVE borders in DARK mode. Every card body
   (#223150) already stands well clear of the page (#0a1120 /
   #0b1220), so the 1px #475569 border reads as a light-grey frame
   around every card — the "bad outline" the user sees. Display
   cards therefore lose the border entirely in dark and are defined
   by body colour + soft shadow instead. Kept on purpose: the Most
   Popular blue outline (re-pinned above — higher specificity, so
   this rule cannot remove it), .bell-drop (sits on the
   same-colour header), checkout .method buttons, .co-head, inputs,
   .btn.alt, .chip, .hdr-search, icon buttons, and all dividers /
   focus rings — controls and structural lines, not display cards.
   The white gateway logo tile (.gw-logo) loses its grey frame too:
   white on dark needs no border. */
html[data-theme="dark"] .card,html[data-theme="dark"] .step,html[data-theme="dark"] .method-chip,html[data-theme="dark"] .plan,html[data-theme="dark"] .table,html[data-theme="dark"] .sec-card,html[data-theme="dark"] .auth-card{border:0}
html[data-theme="dark"] .gw-logo{border:0}
/* ROUND 10c (2026-12-05, user video: user dashboard dark+light + empty
   user-panel pages) — (a) .bare: the dashboard notice bars + Recent
   Payments table still showed a 1px outline in LIGHT mode (in dark they
   were already borderless). Per-card decision: these display cards look
   cleaner with NO outline — body colour + soft shadow defines them.
   Light only; dark needs no rule (see the dark removal above). Form
   cards, auth-card, method-chip and plan keep their light border.
   (b) Brands page: forms stack full-width (.one-col) with 2-col fields
   (.form-2col) — no empty grid column on wide screens. (c) Download App:
   lower cards sit side by side (.cols-2) and the hero gets more air. */
html[data-theme="light"] .card.bare,html[data-theme="light"] .sec-card.bare{border:0;box-shadow:0 1px 3px rgba(15,23,42,.10),0 8px 24px rgba(15,23,42,.12)}
.grid.one-col{grid-template-columns:1fr}
.grid.cols-2{grid-template-columns:1fr}
.form-2col{display:grid;gap:0 18px}
.form-2col>*{min-width:0}
.form-2col>.span-2{grid-column:1/-1}
@media(min-width:768px){.form-2col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dl-hero{padding:48px 24px}}
.plan-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:#2563eb;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:5px 14px;border-radius:999px;box-shadow:0 4px 10px rgba(37,99,235,.35);white-space:nowrap}
.price-per{font-size:.85rem;color:var(--muted);font-weight:600}
@media(max-width:767px){#plans .grid .plan.popular{order:-1}}
#plans{scroll-margin-top:84px}
/* ---------- footer (Peo Developer style): own grid — 1 col mobile
   (centred), 2 cols ≥576px, 4 cols ≥992px. Never the shared .grid. ---------- */
footer{background:#0f172a;color:#cbd5e1;padding:44px 6vw 20px}
footer a{color:#cbd5e1;display:block;padding:3px 0}
footer a:hover{color:#fff;text-decoration:none}
footer h3{color:#fff;font-size:.95rem;margin-bottom:10px}
footer .logo{color:#fff}
.footer-grid{max-width:1200px;margin:0 auto;display:grid;gap:28px;grid-template-columns:1fr;text-align:center}
.footer-brand .logo{justify-content:center}
.footer-brand p{margin:10px 0 0;font-size:.9rem}
.footer-brand p a{display:inline;padding:0}
footer .copy{border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:16px;text-align:center;font-size:.85rem;color:#94a3b8}
footer .copy a{display:inline;padding:0}
@media(min-width:576px){
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:992px){
  .footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ---------- responsive: sm ≥576 ----------
   Card-count map (fix round 4 — every grid even, no orphans):
   Accept Payments: xs 2 / sm 2 / md 3 / lg 3 / xl 6 / xxl 6
   Our Plans:       xs 1 / sm 1 / md+ 3 (popular first on mobile)
   How It Works:    xs 1 / sm 2 / md+ 3
   What You Get:    xs 1 / sm 2 / lg+ 4 */
@media(min-width:576px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid.features{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section .methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .method-chip{padding:18px 12px;gap:10px;font-size:.92rem}
  .m-logo{width:calc(100% + 24px);max-width:none;margin:-18px -12px 10px}
  .feat-ill{width:calc(100% + 40px);max-width:none;margin:-20px -20px 14px}
  .plan-ill{width:calc(100% + 40px);max-width:none;margin:-20px -20px 14px}
  .nav-links .btn{padding:9px 18px;font-size:.92rem}
  .auth-card{padding:28px 28px 24px}
  .card{padding:20px}
}
/* ---------- responsive: md ≥768 ----------
   ROUND 9 (2026-12-05, user desktop screenshot): the How It Works
   steps stayed 2-per-row at EVERY desktop width — the md rule below
   used the bare .steps selector (0,1,0), which LOSES to the sm rule
   ".section .steps" (0,2,0), so the 2-col rule won forever and the
   3rd step wrapped below. The md rule must use the same .section
   .steps specificity. */
@media(min-width:768px){
  main{padding:22px 26px}
  main header h1{font-size:22px}
  .section .steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  #plans .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .section .methods{grid-template-columns:repeat(3,minmax(0,1fr))}
  th,td{padding:12px 14px}
  .slider-arrow{width:42px;height:42px}
  .slider-arrow.prev{left:14px}
  .slider-arrow.next{right:14px}
  .nav{padding:14px 6vw}
  .section{padding:56px 6vw}
  .section>h2{font-size:32px}
}
/* ---------- responsive: lg ≥992 (sidebar becomes static) ---------- */
@media(min-width:992px){
  aside{position:sticky;top:0;transform:none;box-shadow:none;visibility:visible}
  .burger{display:none}
  main{padding:26px 28px}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid.features{grid-template-columns:repeat(4,minmax(0,1fr))}
  .grid.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .slide-inner{padding:64px 20px 76px}
}
/* ---------- responsive: xl ≥1200 ----------
   ROUND 9 (2026-12-05): the 1200px container cap left ~360px of
   empty grey-blue on EACH side at 1920px. Widen every centred
   container in step (1320 / 1440 / 1600) so large screens are
   actually used; section headings/subtitles stay centred and
   max-width capped so text lines never stretch endlessly. */
@media(min-width:1200px){
  .grid.features{grid-template-columns:repeat(4,minmax(0,1fr))}
  .section .methods{grid-template-columns:repeat(6,minmax(0,1fr))}
  .section{padding:64px 6vw}
  .section,.topbar-inner,.site-header-inner,.footer-grid{max-width:1320px}
}
/* ---------- responsive: xxl ≥1400 ---------- */
@media(min-width:1400px){
  main{max-width:1440px}
  .section,.topbar-inner,.site-header-inner,.footer-grid{max-width:1440px}
}
/* ---------- responsive: xxxl ≥1600 ---------- */
@media(min-width:1600px){
  .section,.topbar-inner,.site-header-inner,.footer-grid{max-width:1600px}
  main{max-width:1640px}
}
@media print{aside,main header,.noprint{display:none!important}body{background:#fff}}

/* ---------- reduced motion: everything static, fully visible ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  html{scroll-behavior:auto}
  .slider-track{transition:none}
}

.checkout{max-width:440px;margin:24px auto;padding:0 14px}
.methods{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.method{border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);padding:14px;cursor:pointer;font:700 15px inherit}
.method img{height:30px;display:block;margin:0 auto 4px}
.paybox{color:#fff;border-radius:14px;padding:18px;margin-bottom:14px}
.paybox input{color:var(--ink)}
.big{font-size:26px;font-weight:700;letter-spacing:1px}
.timer{font-size:30px;font-weight:700;text-align:center}
/* ============================================================
   Secure checkout (Mobile Banking) — KEPT IDENTICAL to the
   original stylesheet. pay.php must not change visually.
   ============================================================ */
.co-head{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:14px}
.co-head img.co-brand-logo{height:36px}
.co-brand{flex:1;min-width:0}
.co-brand b{display:block;font-size:16px;line-height:1.3}
.co-brand span{color:var(--muted);font-size:13px;word-break:break-all}
.co-home{font-size:13px;font-weight:600;white-space:nowrap}
.co-x{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);color:var(--muted);font-size:15px;flex-shrink:0;background:var(--card)}
.co-amount{text-align:center}
.method.sel{border-color:var(--mc,#0f766e);box-shadow:0 0 0 1px var(--mc,#0f766e)}
.method .method-mark{display:grid;place-items:center;height:40px;width:40px;margin:0 auto 6px;border-radius:12px;color:#fff;font-weight:800;font-size:20px}
.method img{height:40px;object-fit:contain}
#payNow:disabled{opacity:.45;cursor:not-allowed}
.co-method{border-top:2px solid var(--mc,#0f766e)}
.co-method-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.co-method-head img{height:38px;object-fit:contain;max-width:130px}
.co-method-head h3{flex:1;margin:0}
.co-kv{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:14px}
.co-kv code{word-break:break-all;font-size:12px}
.co-num{display:flex;align-items:center;gap:10px;margin:12px 0}
.co-num .big{flex:1}

/* ============================================================
   Peo Pay public frontend (V1) — appended 2026-12-04
   - Dark / light themes (default dark, pre-paint script in
     layout.php sets data-theme before CSS loads: no flash).
   - Thin top bar with RTL scrolling announcement ticker.
   - Slim sticky header, hamburger on mobile, bell + theme toggle.
   - Hero slider: image is a real <img>, FULL WIDTH edge-to-edge,
     full image, NO cropping ever (the image keeps its own height so
     it reaches both screen edges with no letterbox bars); text sits
     BELOW the image, never over it.
   - Flat brand colours only, no gradients anywhere.
   ============================================================ */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{
  --ink:#f1f5f9; --muted:#c3d2e6; --bg:#0a1120; --card:#223150; --line:#475569;
  --link:#60a5fa; --input-bg:#0f172a; --hover-bg:#243449; --th-bg:#16213a;
  --brand-soft:#16294d; --brand-ring:rgba(59,130,246,.4);
  --sidebar-bg:#0b1220; --sidebar-text:#94a3b8;
  --success:#86efac; --success-bg:#14532d;
  --warning:#fcd34d; --warning-bg:#451a03;
  --danger:#fca5a5; --danger-bg:#450a0a;
  --shadow-sm:0 1px 2px rgba(0,0,0,.4),0 4px 12px rgba(0,0,0,.35);
  --shadow-md:0 8px 18px rgba(0,0,0,.55);
  --shadow-lg:0 25px 50px -12px rgba(0,0,0,.6);
  --shadow-lift:0 14px 28px rgba(0,0,0,.45);
}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border-color:#475569}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#94a3b8}
html[data-theme="dark"] .auth-card .field svg{color:#94a3b8}
html[data-theme="dark"] .btn.alt:hover{border-color:#475569}
html[data-theme="dark"] .auth{background:#0b1220}
html[data-theme="dark"] main code,html[data-theme="dark"] .section code,html[data-theme="dark"] .card code{background:#0f172a;border-color:var(--line)}
html[data-theme="dark"] .plan ul li{border-color:var(--line)}
html[data-theme="dark"] .or::before,html[data-theme="dark"] .or::after{background:var(--line)}
html[data-theme="dark"] .install-section{border-color:var(--line)}
html[data-theme="dark"] .set-sec{border-color:var(--line)}

/* ---------- theme-aware logo (assets/logo.svg = dark, logo-light.svg = light) ---------- */
.logo .logo-dark{display:none}
.logo .logo-light{display:block}
html[data-theme="dark"] .logo .logo-dark{display:block}
html[data-theme="dark"] .logo .logo-light{display:none}
.logo-on-dark .logo-dark{display:block!important}
.logo-on-dark .logo-light{display:none!important}
.logo img{height:34px;width:auto}
/* Header logo ~190px wide (Peo Developer proportion); max-width +
   max-height ONLY (width/height auto) so the PNG can never stretch or
   squash — the browser scales it down preserving its aspect ratio. */
.site-header .logo img{max-width:190px;max-height:40px;width:auto;height:auto}
.footer-brand .logo img{max-width:170px;max-height:40px;width:auto;height:auto}

/* ---------- generic icon button (bell, theme toggle) ---------- */
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer;flex-shrink:0;padding:0;transition:background .2s,border-color .2s}
.icon-btn:hover{background:var(--hover-bg);text-decoration:none}
.icon-btn svg{width:20px;height:20px}
.theme-toggle .ic-sun{display:none}
.theme-toggle .ic-moon{display:block}
html[data-theme="dark"] .theme-toggle .ic-sun{display:block}
html[data-theme="dark"] .theme-toggle .ic-moon{display:none}

/* ---------- thin top bar + RTL announcement ticker ---------- */
.topbar{background:#0f172a;color:#fff;font-size:.85rem}
.topbar-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:0 12px;height:38px;min-height:38px}
.ticker{flex:1;min-width:0;display:flex;align-items:center;gap:8px;overflow:hidden}
.ticker-track{display:inline-block;white-space:nowrap;animation:ticker 40s linear infinite;will-change:transform;color:#e2e8f0}
@keyframes ticker{0%{transform:translateX(100vw)}88%{transform:translateX(-100%)}100%{transform:translateX(-100%)}}
.ticker:hover .ticker-track,.ticker:focus-within .ticker-track,.ticker.paused .ticker-track{animation-play-state:paused}
/* Ticker pause: SOLID opaque brand-blue circular button (~30px) sitting
   OUTSIDE the scrolling track (see layout.php) so it can never overlap
   the text. Solid in BOTH themes — never translucent, never blending
   into the top bar. Paused state is solid slate (still opaque). */
.ticker-btn{background:#2563eb;border:1px solid #2563eb;color:#fff;border-radius:50%;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;padding:0;transition:background .2s,border-color .2s;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.ticker-btn:hover{background:#1d4ed8;border-color:#1d4ed8}
.ticker-btn[aria-pressed="true"]{background:#334155;border-color:#475569}
.ticker-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.ticker-btn svg{width:14px;height:14px}
.topbar-right{display:flex;align-items:center;gap:12px;flex-shrink:0}
.topbar-right a{color:#cbd5e1;display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:600}
.topbar-right a:hover{color:#fff;text-decoration:none}
.topbar-right svg{width:16px;height:16px}

/* ---------- slim sticky header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);transition:background-color .2s ease,border-color .2s ease}
.site-header-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:8px 16px;min-height:64px;flex-wrap:wrap}
.site-header .logo{flex-shrink:0}
.site-nav{display:flex;align-items:center;gap:2px;margin-left:auto;flex-wrap:wrap}
.site-nav a{color:var(--ink);font-weight:600;font-size:.92rem;padding:8px 12px;border-radius:10px;white-space:nowrap}
.site-nav a:hover{color:var(--link);text-decoration:none;background:var(--brand-soft)}
.site-nav .btn{margin-left:8px;padding:9px 18px;color:#fff;background:#2563eb;border-color:#2563eb}
.site-nav .btn:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
html[data-theme="dark"] .site-header{background:#1e293b}
/* Header right-cluster order — menu → theme toggle → bell on EVERY
   screen, both themes (user instruction 2026-12-05). The DOM order
   in layout.php public_header() is already hamburger, theme, bell,
   so these flex orders just restate it: no breakpoint ever swaps
   the order. The hamburger is hidden on desktop (the inline nav
   links show instead), so the visible desktop cluster is
   theme → bell — the same relative order. */
.site-header-inner .nav-toggle{order:1;flex-shrink:0}
.site-header-inner .theme-toggle{order:2;flex-shrink:0}
.site-header-inner .bell-wrap{order:3;flex-shrink:0}
.nav-toggle{display:none;border:1px solid var(--line);background:var(--card);border-radius:10px;width:40px;height:40px;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;padding:0;margin-left:auto}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--ink);margin:2.5px 0;border-radius:2px;transition:transform .2s,opacity .2s}
/* Hamburger bars: pinned per theme so the icon can never be invisible
   (dark bars on the light header, light bars on the dark header). */
html[data-theme="light"] .nav-toggle span{background:#0f172a}
html[data-theme="dark"] .nav-toggle span{background:#f1f5f9}
html[data-theme="light"] .nav-toggle{background:#fff}
html[data-theme="dark"] .nav-toggle{background:#1e293b}
.nav-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* ---------- notification bell ---------- */
.bell-wrap{position:relative}
.bell-btn{position:relative}
.bell-dot{position:absolute;top:7px;right:7px;width:9px;height:9px;border-radius:50%;background:#dc2626;border:2px solid var(--card)}
.bell-drop{position:absolute;right:0;top:calc(100% + 10px);width:min(320px,86vw);max-width:calc(100vw - 24px);max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:16px;z-index:80;color:var(--ink);transition:background-color .2s ease,border-color .2s ease}
html[data-theme="dark"] .bell-drop{background:#1e293b}
.bell-drop .btn{background:#2563eb;border-color:#2563eb;color:#fff}
.bell-drop .btn:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.bell-drop h4{margin:0 0 6px;font-size:.95rem}
.bell-item{border-top:1px solid var(--line);padding:10px 0}
.bell-item:first-of-type{border-top:0}
.bell-item b{font-size:.92rem}
.bell-item p{margin:4px 0 0;color:var(--muted);font-size:.88rem}
.bell-ver{display:inline-block;background:var(--brand-soft);color:var(--link);border-radius:6px;padding:1px 7px;font-size:.72rem;font-weight:700}
.bell-date{display:block;color:var(--muted);font-size:.75rem;margin-top:2px}
.bell-empty{margin:6px 0 12px}
.bell-drop .btn{margin-top:6px}

/* ---------- hero slider: FULL WIDTH edge-to-edge, full image, never
   cropped; text below. The slider is NOT capped at 1920px and is NOT
   inside any max-width wrapper — it spans the whole screen, left edge
   to right edge, at every breakpoint.
   ROUND 7 (2026-12-04): every slide image file is now EXACTLY
   1920x1080 (16:9) — slide-1 centre-cropped from 1920x908 and
   upscaled 1.19x, slide-2 cropped 72px off the bottom, slide-3
   cropped 80 top / 120 bottom, all Lanczos, no distortion — so the
   display is a FIXED 16:9 box (aspect-ratio on .slide-media,
   object-fit:cover can never crop a true-16:9 source) and every
   slide renders at the SAME height (56.25vw), no letterbox bars, no
   per-slide height jumps. Admin uploads are normalised to 1920x1080
   on save (helpers.php normalize_slide_image, GD) so a future upload
   cannot break the uniform height. Arrows are centred on the image
   by JS (placeArrows in app.js); the CSS top below (100vw*9/32) is
   now exactly the centre of a full-width 16:9 box. ---------- */
.hero-slider{width:100%;max-width:none;margin:0}
.slider-slide{flex-direction:column;align-items:stretch;justify-content:flex-start}
.slide-media{margin:0;width:100%;aspect-ratio:16/9;background:#0b1e3f;display:block;overflow:hidden}
.slide-media img{width:100%;height:100%;object-fit:cover;display:block}
.slide-text{background:#1d4ed8;width:100%}
.slide-inner{padding:32px 16px 20px}
.slider-dots{position:static;transform:none;background:#1d4ed8;padding:0 0 18px;justify-content:center}
.slider-arrow{top:calc(100vw*9/32)}

/* ---------- feature illustrations (flat SVG, light canvas in both themes) ---------- */
/* What You Get illustration: bleeds edge-to-edge across the card top
   (explicit calc() width = content + BOTH paddings, max-width:none —
   see the .step-ill root-cause note: negative margins alone leave a
   gap on the right). Top corners match the card radius. No hover
   scale. Native ratio is 16:10, kept as-is: the drawing fills its
   canvas exactly, no gaps, no crop. .grid.features>.card gets
   overflow:hidden so the bleed clips exactly at the card edge (safe
   here — the popular-plan badge that must stick out lives on plan
   cards, not feature cards). */
.grid.features>.card{overflow:hidden}
.feat-ill{width:calc(100% + 36px);max-width:none;flex-shrink:0;height:auto;display:block;margin:-18px -18px 14px;background:#eff6ff;border-radius:15px 15px 0 0;padding:8px;border-bottom:1px solid var(--line)}
/* ---------- plan illustrations (ROUND 11): same treatment as the
   What You Get illustrations — a flat SVG on a light panel, bleeding
   edge-to-edge with a divider below. The panel stays #eff6ff in both
   themes, so the art is identical (and identically crisp) in dark
   and light mode. SVG is vector, so it is sharp at every size and
   can never blur. Illustration is picked from the plan title
   (premium / business / starter, starter as the default). */
.plan-ill{width:calc(100% + 36px);max-width:none;flex-shrink:0;height:auto;display:block;margin:-18px -18px 14px;background:#eff6ff;border-radius:15px 15px 0 0;padding:8px;border-bottom:1px solid var(--line)}
/* ---------- plan custom image (ROUND 13): admin-uploaded image on
   the same light panel as the SVG. aspect-ratio 8:5 + object-fit:
   contain shows the WHOLE image — any uploaded aspect fits without
   cropping or stretching; the panel stays #eff6ff in both themes. */
.plan-ill-img{aspect-ratio:8/5;object-fit:contain;padding:8px}
/* ---------- homepage content images (ROUND 13): an admin-uploaded
   raster image on a feature/step card uses object-fit:contain, so
   any aspect shows whole — never stretched, never cropped. The
   built-in SVG illustrations keep their own intrinsic ratio. */
.feat-ill-img,.step-ill-img{object-fit:contain}
.m-logo b{font-size:28px;color:#2563eb;line-height:1}
.plan-thumb{display:block;width:100%;max-width:320px;aspect-ratio:8/5;object-fit:contain;background:#eff6ff;border:1px solid var(--line);border-radius:12px;padding:6px;margin:4px 0 8px}

/* ---------- header ≤991px (mobile + tablet): ONE row, no wrap — logo
   left, then hamburger, theme toggle, bell LAST at the far-right
   corner (that left-to-right cluster order IS the DOM order, so visual
   order = tab order); the nav drops down as a full-width panel
   below the header. WHY 991 and not 767: at 768–991px the inline nav
   links + the cluster do NOT fit one row, so the header wrapped to
   two rows with theme/bell stranded at the bottom-left. The hamburger
   menu is therefore used up to the lg breakpoint (991px) — the
   standard tablet pattern — and the inline nav returns at ≥992px
   where it fits. Width check at 360px: logo 140 + hamburger 36
   + theme 36 + bell 36 + 3×12 gaps + 2×16 padding = 316px < 360px,
   so nothing wraps or is cut off. The bell dropdown is anchored to
   the sticky header (right:16px, max 100vw-32px) so it can never go
   off-screen. ---------- */
@media(max-width:991px){
  .site-header-inner{flex-wrap:nowrap}
  .site-header .logo img{max-width:140px;max-height:34px;width:auto;height:auto}
  .nav-toggle{display:inline-flex;width:36px;height:36px;margin-left:auto}
  .nav-toggle span{width:18px}
  .site-header-inner .icon-btn{width:36px;height:36px}
  .site-header-inner .icon-btn svg{width:18px;height:18px}
  .site-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;margin-left:0;padding:6px 16px 14px;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow-lg);max-height:calc(100dvh - 64px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  html[data-theme="dark"] .site-nav{background:#1e293b}
  .site-nav.open{display:flex}
  .site-nav a{padding:11px 6px;border-top:1px solid var(--line);border-radius:0}
  .site-nav a:first-child{border-top:0}
  .site-nav .btn{display:block;width:100%;margin:8px 0 0;text-align:center}
  /* Bell dropdown on small screens: anchored to the sticky header
     (not the bell), right-aligned to the viewport with 16px margins,
     so it can never overflow the left or right edge. */
  .bell-wrap{position:static}
  .bell-drop{position:absolute;top:calc(100% + 10px);right:16px;left:auto;width:min(320px,calc(100vw - 32px))}
}
@media(max-width:575px){
  .topbar-right a:not(.topbar-mail){display:none}
  .topbar-mail span{display:none}
  .topbar-inner{height:36px;min-height:36px}
  .slide-inner{padding:24px 14px 16px}
  .slider-arrow{width:32px;height:32px}
}
@media(min-width:768px){
  .site-header-inner{padding:10px 24px;min-height:68px}
}
@media(min-width:992px){
  .slide-inner{padding:40px 20px 24px}
  /* How It Works connector: thin line joining the numbered circles on
     desktop. The segments live on the circles themselves (not a fixed
     px offset) so the image height above them cannot misalign it;
     the card clips each segment at its own edge. */
  .step-n::before{content:"";position:absolute;top:50%;right:100%;width:1000px;height:1px;margin-top:-1px;background:var(--line)}
  .step-n::after{content:"";position:absolute;top:50%;left:100%;width:1000px;height:1px;margin-top:-1px;background:var(--line)}
  .step:first-child .step-n::before{display:none}
  .step:last-child .step-n::after{display:none}
}
@media (prefers-reduced-motion: reduce){
  .ticker-track{animation:none}
  .slider-track{transition:none}
}

/* ============================================================
   Download-app page: big download hero + numbered install steps.
   These rules live HERE (not admin.css) because user pages load
   style.css only — in admin.css they never applied to the user
   Download App page at all.
   ============================================================ */
.dl-hero{text-align:center;padding:32px 16px}
.dl-hero .btn{font-size:17px;padding:14px 28px}
.dl-hero .dl-ver{margin-top:12px;color:var(--muted)}
/* Numbered install steps: an <ol>/<ul class="steps"> is a numbered
   list with blue counter circles — NOT the How It Works
   <div class="steps"> grid (that rule still applies to div.steps). */
ol.steps,ul.steps{counter-reset:step;list-style:none;padding:0;margin:0;display:grid;gap:10px;grid-template-columns:minmax(0,1fr)}
ol.steps li,ul.steps li{counter-increment:step;display:flex;gap:12px;align-items:flex-start;text-align:left}
/* ROUND 13 text fix: a step's content must be ONE flex child — the
   ::before number circle is the other. Without this wrapper, a step
   with several block children (Download App step 2's credential
   rows) laid them out side-by-side in columns and blew the page
   past 360px. The wrapper flexes and shrinks so the copy-boxes
   inside it scroll internally instead of widening the page. */
ol.steps li>div,ul.steps li>div{flex:1;min-width:0}
ol.steps li::before,ul.steps li::before{content:counter(step);flex-shrink:0;width:26px;height:26px;border-radius:50%;background:#2563eb;color:#fff;font-weight:700;font-size:13px;display:inline-grid;place-items:center}
/* ROUND 10c: code chips inside a step (server URL, account email) must
   never split mid-word across lines — keep each chip whole; the
   sentence wraps around whole chips instead. */
ol.steps code,ul.steps code{white-space:nowrap}

/* ============================================================
   ROUND 11 (2026-12-05, user: the cron endpoint URL on admin
   Transactions "cannot be read or copied"): copy-box — long
   values (cron URL, API / secret keys) render in a proper box:
   the value scrolls horizontally inside the box on ONE line
   (never wraps mid-token, never overflows the card) and a Copy
   button next to it copies the full value in one tap (the shared
   [data-copy] handler in app.js). Theme-aware: card background
   + line border in both themes. The value inside is mono so
   tokens stay readable. Used by admin/payments.php (cron URL)
   and user/brands.php (API + secret keys).
   ============================================================ */
.copy-box{display:flex;gap:8px;align-items:stretch}
.copy-box code,.copy-box input{flex:1;min-width:0}
.copy-box code{display:block;overflow-x:auto;white-space:nowrap;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:9px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em;color:var(--ink);word-break:normal}
.copy-box .btn{flex-shrink:0;align-self:center}
.copy-box-label{font-size:.85rem;color:var(--muted);margin-bottom:6px}
/* ---------- error pages (ROUND 13): big code number, centred card. */
.err-code{font-size:56px;font-weight:800;color:var(--muted);line-height:1;margin-bottom:8px}
/* ---------- credential rows (ROUND 13 text audit): a label above a
   copy-box, never an inline <code> chip inside a sentence — long
   URLs/emails wrapped mid-sentence and read like nonsense. Used on
   Download App (step 2) and Devices. */
.cred-row{margin:10px 0}
.cred-row>span{display:block;font-size:.85rem;color:var(--muted);margin-bottom:4px}
.cred-row>p{margin:0}

/* ============================================================
   Worker C — Peo Pay checkout Manual / Auto tabs (pay.php).
   Scoped to .pay-tabs / .pay-tab-panel / .method-badge only, so
   nothing else on the site is affected. pay.php is a standalone
   page that loads no external CSS, so the same rules are also
   inlined in pay.php itself; this copy keeps them in the shared
   stylesheet for any page that loads it. Mobile-first, 360px–
   1600px, no horizontal scroll; theme-aware via the site vars.
   ============================================================ */
.pay-tabs{display:flex;gap:8px;width:100%;margin:4px 0 16px;background:var(--brand-soft);border:1px solid var(--line);border-radius:12px;padding:6px}
.pay-tab{flex:1;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 12px;border-radius:9px;font-weight:600;font-size:15px;color:var(--ink);text-decoration:none;text-align:center}
.pay-tab:hover{background:var(--hover-bg);text-decoration:none}
.pay-tab.active{background:var(--brand);color:#fff;box-shadow:0 4px 12px -4px rgba(37,99,235,.5)}
.pay-tab:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.pay-tab-panel{display:none;width:100%}
.pay-tab-panel.active{display:block;animation:fadeIn .25s ease}
.pay-group-title{font-size:15px;font-weight:600;color:var(--ink);margin:4px 0 12px}
.pay-group-title+.bank-grid{margin-bottom:8px}
.method-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.method-badge{display:inline-block;padding:2px 8px;border-radius:9999px;font-size:11px;font-weight:700;letter-spacing:.03em;line-height:1.6}
.method-badge.auto{background:var(--success-bg);color:var(--success)}
.method-badge.api{background:var(--brand);color:#fff}
.method-badge.instant{background:var(--warning-bg);color:var(--warning)}
.manual-amount{background:var(--brand-soft);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px;color:var(--ink);margin-bottom:4px}
#manual-form .req{color:var(--danger)}
#manual-form select.field-input{cursor:pointer}
#manual-submit{display:block;width:100%;background:var(--brand);color:#fff;border:1px solid var(--brand-dark);box-shadow:0 8px 20px -8px var(--brand-dark);padding:14px 16px;border-radius:10px;font-weight:600;min-height:50px;cursor:pointer;margin-top:10px}
#manual-submit:hover{background:var(--brand-dark)}
@media (max-width:360px){.pay-tab{font-size:14px;padding:10px 8px}.pay-tabs{gap:6px;padding:4px}}
@media (prefers-reduced-motion:reduce){.pay-tab-panel.active{animation:none}}

/* In-site confirm / alert modal (standing rule: no native confirm() /
   alert() anywhere). Same overlay as the admin .pp-modal so the dialog
   looks identical on user pages; the card reuses .card for theming. */
.pp-modal{display:none;position:fixed;inset:0;z-index:60;background:rgba(15,23,42,.55);align-items:flex-start;justify-content:center;padding:16px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.pp-modal.open{display:flex}
.pp-modal .modal-card{width:100%;max-width:520px;max-height:90vh;overflow:auto;margin:auto}
.pp-modal .modal-card h3{margin-top:0}
.pp-modal .form-actions .btn:last-child{margin-left:auto}
