/* Live-only screens (login, first password) and the saving state. Uses the prototype's tokens. */
.masuk{min-height:100dvh;display:flex;align-items:center}
.masuk .wrap{width:100%;max-width:420px;display:flex;flex-direction:column;gap:14px;padding-block:24px}
.brand{display:flex;gap:12px;align-items:center}
.brand h1{margin:0}
.masuk .seg{align-self:flex-start}
.masuk .seg button{display:inline-flex;align-items:center;gap:6px;min-height:38px}
.masuk .seg .ico{width:16px;height:16px}
body.busy{cursor:progress}
body.busy main,body.busy .sheet{opacity:.65;pointer-events:none;transition:opacity .2s}
/* Password field with show/hide button */
.pw{position:relative;display:flex}
.pw input{width:100%;padding-right:48px}
.pw-eye{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:44px;height:40px;border:0;background:none;color:var(--muted);display:grid;place-items:center;cursor:pointer;border-radius:7px;padding:0}
.pw-eye:hover{color:var(--ink)}
.pw-eye:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.pw-eye .ico{width:20px;height:20px}
/* Pengurus list: action buttons wrap under the name on narrow screens */
.li:has(.pg-aksi){flex-wrap:wrap}
.pg-aksi{flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto}
/* Sign-in colours: pengurus blue, nasabah green (the app's default palette), a shade deeper
   on the page background so the choice is obvious at a glance */
body[data-masuk]{transition:background-color .25s}
body[data-masuk="pengurus"]{--bg:#d9e2f5;--surface-2:#f1f4fb;--line:#cfd7e8;--accent:#2b4a8b;--accent-ink:#ffffff;--accent-soft:#dbe3f4}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) body[data-masuk="pengurus"]{--bg:#0d111a;--surface:#151b28;--surface-2:#1a2131;--line:#29324a;--accent:#91aaee;--accent-ink:#0a1020;--accent-soft:#1c2745}}
:root[data-theme="dark"] body[data-masuk="pengurus"]{--bg:#0d111a;--surface:#151b28;--surface-2:#1a2131;--line:#29324a;--accent:#91aaee;--accent-ink:#0a1020;--accent-soft:#1c2745}
body[data-masuk="nasabah"]{--bg:#d8eadf}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) body[data-masuk="nasabah"]{--bg:#0f1512}}
:root[data-theme="dark"] body[data-masuk="nasabah"]{--bg:#0f1512}
.masuk .brand .unit-ic{background:var(--surface);color:var(--accent)}
/* Real map */
.peta-real{height:340px;border-radius:12px;border:1px solid var(--line);overflow:hidden;background:var(--surface-2);z-index:0}
.peta-real .leaflet-container,.peta-real{font:inherit}
.pk{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font:600 11px/1 var(--f-num, ui-monospace, monospace);border:3px solid var(--surface);box-shadow:0 2px 6px rgba(0,0,0,.35)}
.pk.induk{border-radius:9px;background:#2b4a8b;color:#fff}
.pk.near{outline:4px solid color-mix(in srgb, var(--accent) 35%, transparent)}
.pk-saya{display:block;width:22px;height:22px;border-radius:50%;background:#d1453b;border:4px solid #fff;box-shadow:0 0 0 6px rgba(209,69,59,.25)}
.pp{display:flex;flex-direction:column;gap:4px;font-size:.85rem;line-height:1.4;min-width:170px}
.pp .btn{align-self:flex-start;margin-top:4px;color:var(--accent-ink)}
.leaflet-popup-content{margin:12px 14px}
.leaflet-container a.btn{color:var(--accent-ink)}
