/* Halaman masuk POSware (2026-10-27): pola sama dengan Finbase/Radictive — panel merek gradasi oranye + form;
   HP: kepala gradasi + lembar form dari bawah (terasa seperti aplikasi Android). Tema ikut [data-theme] / OS. */
.pl { --pl-grad: linear-gradient(140deg, #7C2D12 0%, #C2410C 40%, #E8590C 75%, #F59E0B 100%);
  --pl-utama: #E8590C; --pl-utama-2: #C94A06; --pl-ring: rgba(232,89,12,.3);
  --pl-sheet: #FFFFFF; --pl-ink: #1C1917; --pl-ink-2: #78716C; --pl-line: #E7E5E4; --pl-field: #F5F5F4; --pl-field-f: #FFFFFF;
  --pl-merah-bg: #FEF2F2; --pl-merah: #B91C1C; --pl-merah-garis: #FECACA;
  min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--pl-sheet); color: var(--pl-ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-tap-highlight-color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pl { --pl-sheet: #1A1412; --pl-ink: #F5F0EC; --pl-ink-2: #A8A29E; --pl-line: #3A2E28; --pl-field: #241C18; --pl-field-f: #2B211C; --pl-merah-bg: rgba(239,68,68,.12); --pl-merah: #FCA5A5; --pl-merah-garis: rgba(239,68,68,.35); } }
:root[data-theme="dark"] .pl { --pl-sheet: #1A1412; --pl-ink: #F5F0EC; --pl-ink-2: #A8A29E; --pl-line: #3A2E28; --pl-field: #241C18; --pl-field-f: #2B211C; --pl-merah-bg: rgba(239,68,68,.12); --pl-merah: #FCA5A5; --pl-merah-garis: rgba(239,68,68,.35); }
body.pl-body { margin: 0; padding: 0; background: #1A1412; }

.pl-hero { position: relative; overflow: hidden; background: var(--pl-grad); color: #fff; padding: clamp(2rem, 5vw, 3.2rem); display: flex; flex-direction: column; }
.pl-hero::before, .pl-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.pl-hero::before { width: 460px; height: 460px; right: -160px; top: -150px; background: radial-gradient(circle, rgba(253,224,71,.4), transparent 65%); }
.pl-hero::after { width: 380px; height: 380px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(244,63,94,.3), transparent 65%); }
.pl-merek { position: relative; display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-size: 1.5rem; letter-spacing: -.03em; }
.pl-merek .logo { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.85); }
.pl-merek span { font-weight: 500; } .pl-merek b { font-weight: 800; }
.pl-isi { position: relative; margin: auto 0; padding-block: 2rem; max-width: 32rem; }
.pl-judul { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0; text-wrap: balance; }
.pl-judul span { white-space: nowrap; padding-bottom: .1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 60 6 120 8 170 12 S 260 18 296 8' fill='none' stroke='%23FDE68A' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .28em no-repeat; }
.pl-poin { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; font-size: 1rem; color: rgba(255,255,255,.94); }
.pl-poin li { display: flex; align-items: center; gap: .7rem; }
.pl-poin i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.18); }
.pl-poin svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.pl-cuplik { position: relative; margin-top: 2rem; width: min(100%, 30rem); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.18); transform: rotate(-1.5deg); }
.pl-cuplik img { display: block; width: 100%; height: auto; }
.pl-kaki { position: relative; font-size: .82rem; color: rgba(255,255,255,.78); }

.pl-panel { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: var(--pl-sheet); }
.pl-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; }
.pl-form h1 { margin: 0; font-size: 1.8rem; font-weight: 800; letter-spacing: -.025em; color: var(--pl-ink); }
.pl-sub { margin: .35rem 0 1.5rem; color: var(--pl-ink-2); font-size: .98rem; }
.pl-label { font-size: .86rem; font-weight: 600; color: var(--pl-ink-2); margin: 0 0 .4rem; display: block; }
.pl-field { position: relative; margin-bottom: 1rem; }
.pl-field > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--pl-ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; z-index: 1; }
.pl-field:focus-within > svg { stroke: var(--pl-utama); }
.pl-field input { width: 100%; height: 54px; box-sizing: border-box; border-radius: 14px; border: 1.5px solid var(--pl-line); background: var(--pl-field); color: var(--pl-ink); font: inherit; font-size: 16px; padding: 0 50px 0 46px; outline: none; margin: 0; transition: border-color .15s, box-shadow .15s, background .15s; }
.pl-field input::placeholder { color: var(--pl-ink-2); opacity: .75; }
.pl-field input:focus { border-color: var(--pl-utama); background: var(--pl-field-f); box-shadow: 0 0 0 4px var(--pl-ring); }
.pl-field input.pl-kode { padding: 0 14px; text-align: center; font-size: 1.5rem; font-weight: 700; letter-spacing: .35em; }
.pl-mata { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--pl-ink-2); display: grid; place-items: center; cursor: pointer; }
.pl-mata svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-cek { display: inline-flex !important; align-items: center; gap: .55rem; color: var(--pl-ink-2); cursor: pointer; font-size: .92rem; margin: -.1rem 0 1rem !important; width: fit-content; font-weight: 500; }
.pl-cek input { width: 20px !important; height: 20px; accent-color: var(--pl-utama); margin: 0; }
.pl-galat { display: flex; gap: .6rem; align-items: flex-start; background: var(--pl-merah-bg); color: var(--pl-merah); border: 1px solid var(--pl-merah-garis); border-radius: 12px; padding: .75rem .9rem; font-size: .93rem; margin-bottom: 1rem; }
.pl-galat svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pl-tombol { height: 54px; width: 100%; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-size: 1.03rem; font-weight: 700; color: #fff; background: linear-gradient(180deg, #F97316, #E8590C); box-shadow: 0 12px 24px -12px rgba(232,89,12,.95); display: flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .12s, filter .12s; }
.pl-tombol svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pl-tombol:hover { filter: brightness(1.05); } .pl-tombol:active { transform: scale(.98); } .pl-tombol[disabled] { opacity: .75; cursor: progress; }
.pl-tombol:focus-visible { outline: 3px solid var(--pl-ring); outline-offset: 2px; }
.pl-apk { margin-top: .8rem; height: 48px; border-radius: 14px; border: 1.5px solid var(--pl-line); color: var(--pl-ink); text-decoration: none; display: flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 600; font-size: .95rem; }
.pl-apk svg { width: 20px; height: 20px; fill: none; stroke: var(--pl-utama); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pl-apk:hover { border-color: var(--pl-utama); }
.pl-tautan { text-align: center; margin: 1.3rem 0 0; font-size: .93rem; color: var(--pl-ink-2); }
.pl-tautan a { color: var(--pl-utama); font-weight: 700; text-decoration: none; }
.pl-mw { margin: 1.4rem 0 0; text-align: center; font-size: .8rem; color: var(--pl-ink-2); }
.pl-mw a { color: var(--pl-ink); font-weight: 600; text-decoration: none; }
.pl-catatan { text-align: center; color: var(--pl-ink-2); font-size: .88rem; margin: 1rem 0 0; }

@media (max-width: 860px) {
  .pl { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .pl-hero { padding: calc(env(safe-area-inset-top, 0px) + 22px) max(22px, env(safe-area-inset-right, 0px)) 54px max(22px, env(safe-area-inset-left, 0px)); }
  .pl-hero::before { width: 280px; height: 280px; right: -100px; top: -100px; }
  .pl-merek { font-size: 1.3rem; } .pl-merek .logo { width: 40px; height: 40px; }
  .pl-isi { margin: 0; padding-block: 1.3rem 0; }
  .pl-judul { font-size: 1.4rem; }
  .pl-poin, .pl-cuplik, .pl-kaki { display: none; }
  .pl-panel { place-items: start center; margin-top: -30px; position: relative; border-radius: 28px 28px 0 0; padding: 28px max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 -12px 30px -18px rgba(0,0,0,.45); }
  .pl-panel::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--pl-line); }
  .pl-form h1 { font-size: 1.55rem; } .pl-sub { margin-bottom: 1.2rem; }
  .pl-tombol { height: 56px; border-radius: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pl-panel { animation: pl-naik .45s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes pl-naik { from { transform: translateY(18px); opacity: .6; } to { transform: none; opacity: 1; } }
}
